|
|
|
@ -14,9 +14,9 @@ |
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
import {Injectable} from '@angular/core'; |
|
|
|
import { Injectable } from '@angular/core'; |
|
|
|
|
|
|
|
import {ActivatedRouteSnapshot, Router} from '@angular/router'; |
|
|
|
import { ActivatedRouteSnapshot, Router } from '@angular/router'; |
|
|
|
import { |
|
|
|
CellActionDescriptor, |
|
|
|
checkBoxCell, |
|
|
|
@ -26,20 +26,20 @@ import { |
|
|
|
GroupActionDescriptor, |
|
|
|
HeaderActionDescriptor |
|
|
|
} from '@home/models/entity/entities-table-config.models'; |
|
|
|
import {TranslateService} from '@ngx-translate/core'; |
|
|
|
import {DatePipe} from '@angular/common'; |
|
|
|
import {EntityType, entityTypeResources, entityTypeTranslations} from '@shared/models/entity-type.models'; |
|
|
|
import {EntityAction} from '@home/models/entity/entity-component.models'; |
|
|
|
import {forkJoin, Observable, of} from 'rxjs'; |
|
|
|
import {select, Store} from '@ngrx/store'; |
|
|
|
import {selectAuthUser} from '@core/auth/auth.selectors'; |
|
|
|
import {map, mergeMap, take, tap} from 'rxjs/operators'; |
|
|
|
import {AppState} from '@core/core.state'; |
|
|
|
import {Authority} from '@app/shared/models/authority.enum'; |
|
|
|
import {CustomerService} from '@core/http/customer.service'; |
|
|
|
import {Customer} from '@app/shared/models/customer.model'; |
|
|
|
import {MatDialog} from '@angular/material/dialog'; |
|
|
|
import {DialogService} from '@core/services/dialog.service'; |
|
|
|
import { TranslateService } from '@ngx-translate/core'; |
|
|
|
import { DatePipe } from '@angular/common'; |
|
|
|
import { EntityType, entityTypeResources, entityTypeTranslations } from '@shared/models/entity-type.models'; |
|
|
|
import { EntityAction } from '@home/models/entity/entity-component.models'; |
|
|
|
import { forkJoin, Observable, of } from 'rxjs'; |
|
|
|
import { select, Store } from '@ngrx/store'; |
|
|
|
import { selectAuthUser } from '@core/auth/auth.selectors'; |
|
|
|
import { map, mergeMap, take, tap } from 'rxjs/operators'; |
|
|
|
import { AppState } from '@core/core.state'; |
|
|
|
import { Authority } from '@app/shared/models/authority.enum'; |
|
|
|
import { CustomerService } from '@core/http/customer.service'; |
|
|
|
import { Customer } from '@app/shared/models/customer.model'; |
|
|
|
import { MatDialog } from '@angular/material/dialog'; |
|
|
|
import { DialogService } from '@core/services/dialog.service'; |
|
|
|
import { |
|
|
|
AddEntitiesToCustomerDialogComponent, |
|
|
|
AddEntitiesToCustomerDialogData |
|
|
|
@ -52,8 +52,8 @@ import { |
|
|
|
isCurrentPublicDashboardCustomer, |
|
|
|
isPublicDashboard |
|
|
|
} from '@app/shared/models/dashboard.models'; |
|
|
|
import {DashboardService} from '@app/core/http/dashboard.service'; |
|
|
|
import {DashboardFormComponent} from '@modules/home/pages/dashboard/dashboard-form.component'; |
|
|
|
import { DashboardService } from '@app/core/http/dashboard.service'; |
|
|
|
import { DashboardFormComponent } from '@modules/home/pages/dashboard/dashboard-form.component'; |
|
|
|
import { |
|
|
|
ManageDashboardCustomersActionType, |
|
|
|
ManageDashboardCustomersDialogComponent, |
|
|
|
@ -63,16 +63,16 @@ import { |
|
|
|
MakeDashboardPublicDialogComponent, |
|
|
|
MakeDashboardPublicDialogData |
|
|
|
} from '@modules/home/pages/dashboard/make-dashboard-public-dialog.component'; |
|
|
|
import {DashboardTabsComponent} from '@home/pages/dashboard/dashboard-tabs.component'; |
|
|
|
import {ImportExportService} from '@shared/import-export/import-export.service'; |
|
|
|
import {EdgeService} from '@core/http/edge.service'; |
|
|
|
import { DashboardTabsComponent } from '@home/pages/dashboard/dashboard-tabs.component'; |
|
|
|
import { ImportExportService } from '@shared/import-export/import-export.service'; |
|
|
|
import { EdgeService } from '@core/http/edge.service'; |
|
|
|
import { |
|
|
|
AddEntitiesToEdgeDialogComponent, |
|
|
|
AddEntitiesToEdgeDialogData |
|
|
|
} from '@home/dialogs/add-entities-to-edge-dialog.component'; |
|
|
|
import {HomeDialogsService} from '@home/dialogs/home-dialogs.service'; |
|
|
|
import {Widget} from '@shared/models/widget.models'; |
|
|
|
import {EntityAliases} from '@shared/models/alias.models'; |
|
|
|
import { HomeDialogsService } from '@home/dialogs/home-dialogs.service'; |
|
|
|
import { Widget } from '@shared/models/widget.models'; |
|
|
|
import { EntityAliases } from '@shared/models/alias.models'; |
|
|
|
import { |
|
|
|
EntityAliasesDialogComponent, |
|
|
|
EntityAliasesDialogData |
|
|
|
@ -81,7 +81,7 @@ import { |
|
|
|
DashboardInfoDialogData, |
|
|
|
ImportDashboardFileDialogComponent |
|
|
|
} from "@home/pages/dashboard/import-dashboard-file-dialog.component"; |
|
|
|
import {PageLink} from "@shared/models/page/page-link"; |
|
|
|
import { PageLink } from "@shared/models/page/page-link"; |
|
|
|
|
|
|
|
@Injectable() |
|
|
|
export class DashboardsTableConfigResolver { |
|
|
|
|