diff --git a/ui-ngx/src/app/modules/home/components/entity/add-entity-dialog.component.ts b/ui-ngx/src/app/modules/home/components/entity/add-entity-dialog.component.ts index 9793c1de92..2a39250872 100644 --- a/ui-ngx/src/app/modules/home/components/entity/add-entity-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/entity/add-entity-dialog.component.ts @@ -29,7 +29,6 @@ import { EntityTableConfig } from '@home/models/entity/entities-table-config.mod import { AddEntityDialogData } from '@home/models/entity/entity-component.models'; import { DialogComponent } from '@shared/components/dialog.component'; import { Router } from '@angular/router'; -import { Observable } from 'rxjs'; @Component({ selector: 'tb-add-entity-dialog', diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-page.component.html b/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-page.component.html index 8c85c92606..76a59242a9 100644 --- a/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-page.component.html +++ b/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-page.component.html @@ -23,9 +23,39 @@ 'tb-dashboard-toolbar-closed': !toolbarOpened }"> -
-
+ + +
+ + +
+ + +
+
-
- - -
- - -
- - -
diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/states/default-state-controller.component.scss b/ui-ngx/src/app/modules/home/pages/dashboard/states/default-state-controller.component.scss index 091a7132dd..919fbbf16f 100644 --- a/ui-ngx/src/app/modules/home/pages/dashboard/states/default-state-controller.component.scss +++ b/ui-ngx/src/app/modules/home/pages/dashboard/states/default-state-controller.component.scss @@ -14,6 +14,8 @@ * limitations under the License. */ :host { + width: min-content; //for Safari + mat-select.default-state-controller { margin: 0; } diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/states/entity-state-controller.component.html b/ui-ngx/src/app/modules/home/pages/dashboard/states/entity-state-controller.component.html index 7d32c49051..5d03bcd107 100644 --- a/ui-ngx/src/app/modules/home/pages/dashboard/states/entity-state-controller.component.html +++ b/ui-ngx/src/app/modules/home/pages/dashboard/states/entity-state-controller.component.html @@ -15,7 +15,7 @@ limitations under the License. --> -
+
diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/states/entity-state-controller.component.scss b/ui-ngx/src/app/modules/home/pages/dashboard/states/entity-state-controller.component.scss index ffe6591fea..6aa314c46d 100644 --- a/ui-ngx/src/app/modules/home/pages/dashboard/states/entity-state-controller.component.scss +++ b/ui-ngx/src/app/modules/home/pages/dashboard/states/entity-state-controller.component.scss @@ -14,12 +14,12 @@ * limitations under the License. */ :host { + overflow: hidden; + .entity-state-controller { .state-divider { - padding-right: 15px; - padding-left: 15px; + padding: 0 15px; overflow: hidden; - font-size: 18px; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/states/manage-dashboard-states-dialog.component.html b/ui-ngx/src/app/modules/home/pages/dashboard/states/manage-dashboard-states-dialog.component.html index c4d0fb61dc..857f0c2565 100644 --- a/ui-ngx/src/app/modules/home/pages/dashboard/states/manage-dashboard-states-dialog.component.html +++ b/ui-ngx/src/app/modules/home/pages/dashboard/states/manage-dashboard-states-dialog.component.html @@ -28,8 +28,8 @@
-
-
+
+
@@ -78,13 +78,13 @@ - {{ 'dashboard.state-name' | translate }} + {{ 'dashboard.state-name' | translate }} {{ state.name }} - {{ 'dashboard.state-id' | translate }} + {{ 'dashboard.state-id' | translate }} {{ state.id }} diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/states/manage-dashboard-states-dialog.component.ts b/ui-ngx/src/app/modules/home/pages/dashboard/states/manage-dashboard-states-dialog.component.ts index 40d9cd0d6f..ad32146f87 100644 --- a/ui-ngx/src/app/modules/home/pages/dashboard/states/manage-dashboard-states-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/pages/dashboard/states/manage-dashboard-states-dialog.component.ts @@ -16,19 +16,14 @@ import { AfterViewInit, Component, ElementRef, Inject, OnInit, SkipSelf, ViewChild } from '@angular/core'; import { ErrorStateMatcher } from '@angular/material/core'; -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { MAT_DIALOG_DATA, MatDialog, MatDialogRef } from '@angular/material/dialog'; import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms'; import { Router } from '@angular/router'; import { DialogComponent } from '@app/shared/components/dialog.component'; import { DashboardState } from '@app/shared/models/dashboard.models'; -import { MatDialog } from '@angular/material/dialog'; import { PageLink } from '@shared/models/page/page-link'; -import { - WidgetActionDescriptorInfo, - WidgetActionsDatasource -} from '@home/components/widget/action/manage-widget-actions.component.models'; import { DashboardStateInfo, DashboardStatesDatasource @@ -40,10 +35,6 @@ import { fromEvent, merge } from 'rxjs'; import { debounceTime, distinctUntilChanged, tap } from 'rxjs/operators'; import { TranslateService } from '@ngx-translate/core'; import { DialogService } from '@core/services/dialog.service'; -import { - WidgetActionDialogComponent, - WidgetActionDialogData -} from '@home/components/widget/action/widget-action-dialog.component'; import { deepClone } from '@core/utils'; import { DashboardStateDialogComponent, diff --git a/ui-ngx/src/app/modules/home/pages/widget/save-widget-type-as-dialog.component.html b/ui-ngx/src/app/modules/home/pages/widget/save-widget-type-as-dialog.component.html index 1bb2f1a3ec..c611d82bc1 100644 --- a/ui-ngx/src/app/modules/home/pages/widget/save-widget-type-as-dialog.component.html +++ b/ui-ngx/src/app/modules/home/pages/widget/save-widget-type-as-dialog.component.html @@ -15,9 +15,8 @@ limitations under the License. --> -
- + +

widget.save-widget-type-as

+