-
aggregation.limit
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/ui-ngx/src/app/shared/components/time/timewindow-panel.component.scss b/ui-ngx/src/app/shared/components/time/timewindow-panel.component.scss
index 6b25d0b1a7..fd8cb0f331 100644
--- a/ui-ngx/src/app/shared/components/time/timewindow-panel.component.scss
+++ b/ui-ngx/src/app/shared/components/time/timewindow-panel.component.scss
@@ -13,6 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+@import "../../../../scss/constants";
+
:host {
width: 100%;
height: 100%;
@@ -40,21 +42,29 @@
}
.limit-slider-container {
- >:first-child {
- margin-right: 16px;
- }
- >:last-child {
+ .limit-slider-value {
margin-left: 16px;
- }
- >:first-child, >:last-child {
min-width: 25px;
- max-width: 42px;
+ max-width: 80px;
}
mat-form-field input[type=number] {
text-align: center;
}
}
+ @media #{$mat-gt-sm} {
+ .history-time-input {
+ min-width: 364px;
+ }
+ .limit-slider-container {
+ > label {
+ margin-right: 16px;
+ width: min-content;
+ max-width: 40%;
+ }
+ }
+ }
+
}
:host ::ng-deep {
diff --git a/ui-ngx/src/app/shared/models/resource.models.ts b/ui-ngx/src/app/shared/models/resource.models.ts
index 805a046673..154f3c65f9 100644
--- a/ui-ngx/src/app/shared/models/resource.models.ts
+++ b/ui-ngx/src/app/shared/models/resource.models.ts
@@ -59,3 +59,8 @@ export interface Resource extends ResourceInfo {
data: string;
fileName: string;
}
+
+export interface Resources extends ResourceInfo {
+ data: string|string[];
+ fileName: string|string[];
+}
diff --git a/ui-ngx/src/app/shared/shared.module.ts b/ui-ngx/src/app/shared/shared.module.ts
index 02cd3b93d4..15d36d6753 100644
--- a/ui-ngx/src/app/shared/shared.module.ts
+++ b/ui-ngx/src/app/shared/shared.module.ts
@@ -141,6 +141,7 @@ import { FileSizePipe } from '@shared/pipe/file-size.pipe';
import { WidgetsBundleSearchComponent } from '@shared/components/widgets-bundle-search.component';
import { SelectableColumnsPipe } from '@shared/pipe/selectable-columns.pipe';
import { QuickTimeIntervalComponent } from '@shared/components/time/quick-time-interval.component';
+import { MAT_DATE_LOCALE } from '@angular/material/core';
@NgModule({
providers: [
@@ -154,6 +155,10 @@ import { QuickTimeIntervalComponent } from '@shared/components/time/quick-time-i
{
provide: FlowInjectionToken,
useValue: Flow
+ },
+ {
+ provide: MAT_DATE_LOCALE,
+ useValue: 'en-GB'
}
],
declarations: [
diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json
index bbd7f7b61d..c720981fc6 100644
--- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json
+++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json
@@ -1943,7 +1943,7 @@
"selected-rulechains": "已选择 { count, plural, 1 {# 个规则链} other {# 个规则链} }",
"set-root": "设置为根规则链",
"set-root-rulechain-text": "确认之后,规则链将变为根规格链,并将处理所有传入的传输消息。",
- "set-root-rulechain-title": "您确定要生成规则链'{{RuleChainName}}'根吗?",
+ "set-root-rulechain-title": "您确定要生成规则链'{{ruleChainName}}'根吗?",
"system": "系统"
},
"rulenode": {