diff --git a/ui-ngx/src/app/core/http/component-descriptor.service.ts b/ui-ngx/src/app/core/http/component-descriptor.service.ts index 3d77d39d75..1475be4c5e 100644 --- a/ui-ngx/src/app/core/http/component-descriptor.service.ts +++ b/ui-ngx/src/app/core/http/component-descriptor.service.ts @@ -21,7 +21,7 @@ import { defaultHttpOptionsFromConfig, RequestConfig } from '@core/http/http-uti import { Observable, of } from 'rxjs'; import { map } from 'rxjs/operators'; import { RuleNodeType } from '@shared/models/rule-node.models'; -import { RuleChainType } from "@shared/models/rule-chain.models"; +import { RuleChainType } from '@shared/models/rule-chain.models'; @Injectable({ providedIn: 'root' diff --git a/ui-ngx/src/app/core/http/device-profile.service.ts b/ui-ngx/src/app/core/http/device-profile.service.ts index 16f6edb512..27a023be20 100644 --- a/ui-ngx/src/app/core/http/device-profile.service.ts +++ b/ui-ngx/src/app/core/http/device-profile.service.ts @@ -24,7 +24,7 @@ import { DeviceProfile, DeviceProfileInfo, DeviceTransportType } from '@shared/m import { isDefinedAndNotNull } from '@core/utils'; import { ObjectLwM2M, ServerSecurityConfig -} from "../../modules/home/components/profile/device/lwm2m/profile-config.models"; +} from '../../modules/home/components/profile/device/lwm2m/profile-config.models'; @Injectable({ providedIn: 'root' diff --git a/ui-ngx/src/app/core/http/edge.service.ts b/ui-ngx/src/app/core/http/edge.service.ts index cdc896e5db..9c87f449fc 100644 --- a/ui-ngx/src/app/core/http/edge.service.ts +++ b/ui-ngx/src/app/core/http/edge.service.ts @@ -21,9 +21,9 @@ import { HttpClient } from '@angular/common/http'; import { PageLink, TimePageLink } from '@shared/models/page/page-link'; import { PageData } from '@shared/models/page/page-data'; import { EntitySubtype } from '@app/shared/models/entity-type.models'; -import { Edge, EdgeEvent, EdgeInfo, EdgeSearchQuery } from "@shared/models/edge.models"; -import { EntityId } from "@shared/models/id/entity-id"; -import { EdgeId } from "@shared/models/id/edge-id"; +import { Edge, EdgeEvent, EdgeInfo, EdgeSearchQuery } from '@shared/models/edge.models'; +import { EntityId } from '@shared/models/id/entity-id'; + @Injectable({ providedIn: 'root' }) diff --git a/ui-ngx/src/app/core/http/rule-chain.service.ts b/ui-ngx/src/app/core/http/rule-chain.service.ts index f4b5d8b0e7..7a04d388d2 100644 --- a/ui-ngx/src/app/core/http/rule-chain.service.ts +++ b/ui-ngx/src/app/core/http/rule-chain.service.ts @@ -44,7 +44,7 @@ import { TranslateService } from '@ngx-translate/core'; import { EntityType } from '@shared/models/entity-type.models'; import { deepClone, snakeCase } from '@core/utils'; import { DebugRuleNodeEventBody } from '@app/shared/models/event.models'; -import { Edge } from "@shared/models/edge.models"; +import { Edge } from '@shared/models/edge.models'; @Injectable({ providedIn: 'root' diff --git a/ui-ngx/src/app/core/services/menu.service.ts b/ui-ngx/src/app/core/services/menu.service.ts index 9859530eee..8d3599092f 100644 --- a/ui-ngx/src/app/core/services/menu.service.ts +++ b/ui-ngx/src/app/core/services/menu.service.ts @@ -18,13 +18,13 @@ import { Injectable } from '@angular/core'; import { AuthService } from '../auth/auth.service'; import { select, Store } from '@ngrx/store'; import { AppState } from '../core.state'; -import { selectAuth, selectAuthUser, selectIsAuthenticated } from '../auth/auth.selectors'; +import { selectAuth, selectIsAuthenticated } from '../auth/auth.selectors'; import { take } from 'rxjs/operators'; import { HomeSection, MenuSection } from '@core/services/menu.models'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { Authority } from '@shared/models/authority.enum'; import { guid } from '@core/utils'; -import { AuthState } from "@core/auth/auth.models"; +import { AuthState } from '@core/auth/auth.models'; @Injectable({ providedIn: 'root' diff --git a/ui-ngx/src/app/modules/home/components/edge/edge-downlink-table-config.ts b/ui-ngx/src/app/modules/home/components/edge/edge-downlink-table-config.ts index 9877d1c1f6..a972a19ddc 100644 --- a/ui-ngx/src/app/modules/home/components/edge/edge-downlink-table-config.ts +++ b/ui-ngx/src/app/modules/home/components/edge/edge-downlink-table-config.ts @@ -43,16 +43,15 @@ import { EventContentDialogData } from '@home/components/event/event-content-dialog.component'; import { sortObjectKeys } from '@core/utils'; -import { RuleChainService } from "@core/http/rule-chain.service"; -import { AttributeService } from "@core/http/attribute.service"; -import { AttributeScope } from "@shared/models/telemetry/telemetry.models"; -import { EdgeDownlinkTableHeaderComponent } from "@home/components/edge/edge-downlink-table-header.component"; -import { EdgeService } from "@core/http/edge.service"; -import { map } from "rxjs/operators"; -import { AssetService } from "@core/http/asset.service"; -import { DeviceService } from "@core/http/device.service"; -import { EntityViewService } from "@core/http/entity-view.service"; -import { actionTypeTranslations } from "@shared/models/audit-log.models"; +import { RuleChainService } from '@core/http/rule-chain.service'; +import { AttributeService } from '@core/http/attribute.service'; +import { AttributeScope } from '@shared/models/telemetry/telemetry.models'; +import { EdgeDownlinkTableHeaderComponent } from '@home/components/edge/edge-downlink-table-header.component'; +import { EdgeService } from '@core/http/edge.service'; +import { map } from 'rxjs/operators'; +import { AssetService } from '@core/http/asset.service'; +import { DeviceService } from '@core/http/device.service'; +import { EntityViewService } from '@core/http/entity-view.service'; export class EdgeDownlinkTableConfig extends EntityTableConfig { diff --git a/ui-ngx/src/app/modules/home/components/edge/edge-downlink-table.component.ts b/ui-ngx/src/app/modules/home/components/edge/edge-downlink-table.component.ts index 373c95564c..e69ea12cff 100644 --- a/ui-ngx/src/app/modules/home/components/edge/edge-downlink-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/edge/edge-downlink-table.component.ts @@ -22,12 +22,12 @@ import { EntityId } from '@shared/models/id/entity-id'; import { EntitiesTableComponent } from '@home/components/entity/entities-table.component'; import { EdgeDownlinkTableConfig } from './edge-downlink-table-config'; import { DialogService } from '@core/services/dialog.service'; -import { RuleChainService } from "@core/http/rule-chain.service"; -import { AttributeService } from "@core/http/attribute.service"; -import { EdgeService } from "@core/http/edge.service"; -import { DeviceService } from "@core/http/device.service"; -import { AssetService } from "@core/http/asset.service"; -import { EntityViewService } from "@core/http/entity-view.service"; +import { RuleChainService } from '@core/http/rule-chain.service'; +import { AttributeService } from '@core/http/attribute.service'; +import { EdgeService } from '@core/http/edge.service'; +import { DeviceService } from '@core/http/device.service'; +import { AssetService } from '@core/http/asset.service'; +import { EntityViewService } from '@core/http/entity-view.service'; @Component({ selector: 'tb-edge-downlink-table', diff --git a/ui-ngx/src/app/modules/home/components/home-components.module.ts b/ui-ngx/src/app/modules/home/components/home-components.module.ts index f37cc63c10..33ac6deb30 100644 --- a/ui-ngx/src/app/modules/home/components/home-components.module.ts +++ b/ui-ngx/src/app/modules/home/components/home-components.module.ts @@ -119,7 +119,7 @@ import { AwsSnsProviderConfigurationComponent } from '@home/components/sms/aws-s import { TwilioSmsProviderConfigurationComponent } from '@home/components/sms/twilio-sms-provider-configuration.component'; import { CopyDeviceCredentialsComponent } from '@home/components/device/copy-device-credentials.component'; import { Lwm2mProfileComponentsModule } from '@home/components/profile/device/lwm2m/lwm2m-profile-components.module'; -import { EdgeDownlinkTableComponent } from "@home/components/edge/edge-downlink-table.component"; +import { EdgeDownlinkTableComponent } from '@home/components/edge/edge-downlink-table.component'; @NgModule({ declarations: diff --git a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-config-server.component.ts b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-config-server.component.ts index 9f1fed9bc9..55f3c45a90 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-config-server.component.ts +++ b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-config-server.component.ts @@ -14,12 +14,12 @@ /// limitations under the License. /// -import { Component, forwardRef, Inject, Input, OnInit } from "@angular/core"; +import { Component, forwardRef, Inject, Input, OnInit } from '@angular/core'; import { ControlValueAccessor, FormBuilder, FormGroup, NG_VALUE_ACCESSOR, NgModel, Validators -} from "@angular/forms"; +} from '@angular/forms'; import { SECURITY_CONFIG_MODE, SECURITY_CONFIG_MODE_NAMES, @@ -32,11 +32,11 @@ import { DEFAULT_PORT_SERVER_NO_SEC, DEFAULT_CLIENT_HOLD_OFF_TIME, DEFAULT_ID_SERVER -} from "./profile-config.models"; -import { Store } from "@ngrx/store"; -import { AppState } from "@core/core.state"; -import { coerceBooleanProperty } from "@angular/cdk/coercion"; -import { WINDOW } from "../../../../../../core/services/window.service"; +} from './profile-config.models'; +import { Store } from '@ngrx/store'; +import { AppState } from '@core/core.state'; +import { coerceBooleanProperty } from '@angular/cdk/coercion'; +import { WINDOW } from '../../../../../../core/services/window.service'; import { pairwise, startWith } from 'rxjs/operators'; import { DeviceProfileService } from '@core/http/device-profile.service'; diff --git a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.ts b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.ts index d724a25332..4652049bcf 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.ts +++ b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.ts @@ -34,10 +34,10 @@ import { OBSERVE_ATTR, TELEMETRY, ObjectLwM2M, getDefaultProfileConfig, KEY_NAME, Instance -} from "./profile-config.models"; -import { DeviceProfileService } from "../../../../../../core/http/device-profile.service"; -import { deepClone, isUndefined } from "../../../../../../core/utils"; -import { WINDOW } from "../../../../../../core/services/window.service"; +} from './profile-config.models'; +import { DeviceProfileService } from '../../../../../../core/http/device-profile.service'; +import { deepClone, isUndefined } from '../../../../../../core/utils'; +import { WINDOW } from '../../../../../../core/services/window.service'; import { JsonObject } from '@angular/compiler-cli/ngcc/src/packages/entry_point'; import { isNotNullOrUndefined } from 'codelyzer/util/isNotNullOrUndefined'; diff --git a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-add-instances-list.component.ts b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-add-instances-list.component.ts index 20a72d8dcd..aaecca4690 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-add-instances-list.component.ts +++ b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-add-instances-list.component.ts @@ -21,23 +21,23 @@ import { OnInit, ViewChild, ElementRef, -} from "@angular/core"; +} from '@angular/core'; import { ControlValueAccessor, FormBuilder, - FormGroup, NG_VALIDATORS, + FormGroup, NG_VALUE_ACCESSOR, Validators -} from "@angular/forms"; -import { coerceBooleanProperty } from "@angular/cdk/coercion"; -import { Store } from "@ngrx/store"; -import { AppState } from "../../../../../../core/core.state"; +} from '@angular/forms'; +import { coerceBooleanProperty } from '@angular/cdk/coercion'; +import { Store } from '@ngrx/store'; +import { AppState } from '../../../../../../core/core.state'; import { MatChipList } from '@angular/material/chips'; import { INSTANCES_ID_VALUE_MAX, INSTANCES_ID_VALUE_MIN -} from "./profile-config.models"; -import { TranslateService } from "@ngx-translate/core"; -import { DeviceProfileService } from "../../../../../../core/http/device-profile.service"; +} from './profile-config.models'; +import { TranslateService } from '@ngx-translate/core'; +import { DeviceProfileService } from '../../../../../../core/http/device-profile.service'; @Component({ selector: 'tb-profile-lwm2m-object-add-instances-list', diff --git a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-list.component.ts b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-list.component.ts index b0f9ea4ebf..2d8e5fb0be 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-list.component.ts +++ b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-list.component.ts @@ -23,25 +23,25 @@ import { ElementRef, Output, EventEmitter -} from "@angular/core"; +} from '@angular/core'; import { ControlValueAccessor, FormBuilder, FormGroup, NG_VALUE_ACCESSOR, Validators -} from "@angular/forms"; -import {coerceBooleanProperty} from "@angular/cdk/coercion"; -import {Store} from "@ngrx/store"; -import {AppState} from "../../../../../../core/core.state"; +} from '@angular/forms'; +import {coerceBooleanProperty} from '@angular/cdk/coercion'; +import {Store} from '@ngrx/store'; +import {AppState} from '../../../../../../core/core.state'; import {MatChipList} from '@angular/material/chips'; -import {MatAutocomplete} from "@angular/material/autocomplete"; -import {Observable} from "rxjs"; +import {MatAutocomplete} from '@angular/material/autocomplete'; +import {Observable} from 'rxjs'; import {filter, map, mergeMap, share, tap} from 'rxjs/operators'; -import {ObjectLwM2M} from "./profile-config.models"; -import {TranslateService} from "@ngx-translate/core"; -import {DeviceProfileService} from "../../../../../../core/http/device-profile.service"; -import {PageLink} from "../../../../../../shared/models/page/page-link"; -import {Direction} from "../../../../../../shared/models/page/sort-order"; +import {ObjectLwM2M} from './profile-config.models'; +import {TranslateService} from '@ngx-translate/core'; +import {DeviceProfileService} from '../../../../../../core/http/device-profile.service'; +import {PageLink} from '../../../../../../shared/models/page/page-link'; +import {Direction} from '../../../../../../shared/models/page/sort-order'; @Component({ selector: 'tb-profile-lwm2m-object-list', diff --git a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-observe-attr-telemetry-resource.component.ts b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-observe-attr-telemetry-resource.component.ts index f94cd589ae..2cab88f28d 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-observe-attr-telemetry-resource.component.ts +++ b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-observe-attr-telemetry-resource.component.ts @@ -14,13 +14,13 @@ /// limitations under the License. /// -import { Component, EventEmitter, forwardRef, Input, OnInit, Output, ViewChild } from "@angular/core"; +import { Component, forwardRef, Input, OnInit } from '@angular/core'; import { ControlValueAccessor, FormArray, FormBuilder, FormGroup, NG_VALUE_ACCESSOR, Validators -} from "@angular/forms"; +} from '@angular/forms'; import { CAMEL_CASE_REGEXP, ResourceLwM2M diff --git a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-observe-attr-telemetry.component.ts b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-observe-attr-telemetry.component.ts index 8482fde97a..a5e348832d 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-observe-attr-telemetry.component.ts +++ b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-observe-attr-telemetry.component.ts @@ -15,7 +15,7 @@ /// -import { Component, forwardRef, Input, OnInit, Output } from "@angular/core"; +import { Component, forwardRef, Input, OnInit, Output } from '@angular/core'; import { AbstractControl, ControlValueAccessor, @@ -24,10 +24,10 @@ import { FormGroup, NG_VALUE_ACCESSOR, Validators -} from "@angular/forms"; -import { Store } from "@ngrx/store"; -import { AppState } from "@core/core.state"; -import { coerceBooleanProperty } from "@angular/cdk/coercion"; +} from '@angular/forms'; +import { Store } from '@ngrx/store'; +import { AppState } from '@core/core.state'; +import { coerceBooleanProperty } from '@angular/cdk/coercion'; import { ATTR, Instance, @@ -35,7 +35,7 @@ import { OBSERVE, ResourceLwM2M, TELEMETRY -} from "./profile-config.models"; +} from './profile-config.models'; import { isNotNullOrUndefined } from 'codelyzer/util/isNotNullOrUndefined'; import { deepClone, isUndefined } from '@core/utils'; import { MatDialog } from '@angular/material/dialog'; diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/edges-overview-widget.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/edges-overview-widget.component.ts index f8011bfb58..edacb1bb97 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/edges-overview-widget.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/edges-overview-widget.component.ts @@ -33,14 +33,14 @@ import { EntityNodeData, EntityNodeDatasource } from '@home/components/widget/lib/edges-overview-widget.models'; -import { EdgeService } from "@core/http/edge.service"; -import { EntityService } from "@core/http/entity.service"; -import { TranslateService } from "@ngx-translate/core"; -import { PageLink } from "@shared/models/page/page-link"; -import { BaseData, HasId } from "@shared/models/base-data"; -import { EntityId } from "@shared/models/id/entity-id"; -import { getCurrentAuthUser } from "@core/auth/auth.selectors"; -import { Authority } from "@shared/models/authority.enum"; +import { EdgeService } from '@core/http/edge.service'; +import { EntityService } from '@core/http/entity.service'; +import { TranslateService } from '@ngx-translate/core'; +import { PageLink } from '@shared/models/page/page-link'; +import { BaseData, HasId } from '@shared/models/base-data'; +import { EntityId } from '@shared/models/id/entity-id'; +import { getCurrentAuthUser } from '@core/auth/auth.selectors'; +import { Authority } from '@shared/models/authority.enum'; @Component({ selector: 'tb-edges-overview-widget', diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/edges-overview-widget.models.ts b/ui-ngx/src/app/modules/home/components/widget/lib/edges-overview-widget.models.ts index ca561b8693..a74ed6b9ff 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/edges-overview-widget.models.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/edges-overview-widget.models.ts @@ -17,8 +17,8 @@ import { NavTreeNode } from '@shared/components/nav-tree.component'; import { Datasource } from '@shared/models/widget.models'; import { EntityType } from '@shared/models/entity-type.models'; -import { TranslateService } from "@ngx-translate/core"; -import { BaseData, HasId } from "@shared/models/base-data"; +import { TranslateService } from '@ngx-translate/core'; +import { BaseData, HasId } from '@shared/models/base-data'; export interface EntityNodeDatasource extends Datasource { nodeId: string; diff --git a/ui-ngx/src/app/modules/home/components/widget/widget-components.module.ts b/ui-ngx/src/app/modules/home/components/widget/widget-components.module.ts index f2390d099a..8213dc71aa 100644 --- a/ui-ngx/src/app/modules/home/components/widget/widget-components.module.ts +++ b/ui-ngx/src/app/modules/home/components/widget/widget-components.module.ts @@ -35,7 +35,7 @@ import { TripAnimationComponent } from './trip-animation/trip-animation.componen import { PhotoCameraInputWidgetComponent } from './lib/photo-camera-input.component'; import { GatewayFormComponent } from './lib/gateway/gateway-form.component'; import { ImportExportService } from '@home/components/import-export/import-export.service'; -import { EdgesOverviewWidgetComponent } from "@home/components/widget/lib/edges-overview-widget.component"; +import { EdgesOverviewWidgetComponent } from '@home/components/widget/lib/edges-overview-widget.component'; @NgModule({ declarations: diff --git a/ui-ngx/src/app/modules/home/dialogs/add-entities-to-customer-dialog.component.ts b/ui-ngx/src/app/modules/home/dialogs/add-entities-to-customer-dialog.component.ts index 720a2d0771..7e2d9e0112 100644 --- a/ui-ngx/src/app/modules/home/dialogs/add-entities-to-customer-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/dialogs/add-entities-to-customer-dialog.component.ts @@ -28,7 +28,7 @@ import { EntityViewService } from '@core/http/entity-view.service'; import { DashboardService } from '@core/http/dashboard.service'; import { DialogComponent } from '@shared/components/dialog.component'; import { Router } from '@angular/router'; -import { EdgeService } from "@core/http/edge.service"; +import { EdgeService } from '@core/http/edge.service'; export interface AddEntitiesToCustomerDialogData { customerId: string; diff --git a/ui-ngx/src/app/modules/home/dialogs/add-entities-to-edge-dialog.component.ts b/ui-ngx/src/app/modules/home/dialogs/add-entities-to-edge-dialog.component.ts index 6a01d08f3f..2bcc6be99c 100644 --- a/ui-ngx/src/app/modules/home/dialogs/add-entities-to-edge-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/dialogs/add-entities-to-edge-dialog.component.ts @@ -21,7 +21,7 @@ import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; import { DeviceService } from '@core/http/device.service'; -import { EdgeService } from "@core/http/edge.service"; +import { EdgeService } from '@core/http/edge.service'; import { EntityType } from '@shared/models/entity-type.models'; import { forkJoin, Observable } from 'rxjs'; import { AssetService } from '@core/http/asset.service'; @@ -29,8 +29,8 @@ import { EntityViewService } from '@core/http/entity-view.service'; import { DashboardService } from '@core/http/dashboard.service'; import { DialogComponent } from '@shared/components/dialog.component'; import { Router } from '@angular/router'; -import { RuleChainService } from "@core/http/rule-chain.service"; -import { ruleChainType } from "@shared/models/rule-chain.models"; +import { RuleChainService } from '@core/http/rule-chain.service'; +import { ruleChainType } from '@shared/models/rule-chain.models'; export interface AddEntitiesToEdgeDialogData { edgeId: string; diff --git a/ui-ngx/src/app/modules/home/dialogs/assign-to-customer-dialog.component.ts b/ui-ngx/src/app/modules/home/dialogs/assign-to-customer-dialog.component.ts index 1f3d6e8521..b29393804b 100644 --- a/ui-ngx/src/app/modules/home/dialogs/assign-to-customer-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/dialogs/assign-to-customer-dialog.component.ts @@ -28,7 +28,7 @@ import { AssetService } from '@core/http/asset.service'; import { EntityViewService } from '@core/http/entity-view.service'; import { DialogComponent } from '@shared/components/dialog.component'; import { Router } from '@angular/router'; -import { EdgeService } from "@core/http/edge.service"; +import { EdgeService } from '@core/http/edge.service'; export interface AssignToCustomerDialogData { entityIds: Array; diff --git a/ui-ngx/src/app/modules/home/dialogs/home-dialogs.module.ts b/ui-ngx/src/app/modules/home/dialogs/home-dialogs.module.ts index 609937149f..24c6589f58 100644 --- a/ui-ngx/src/app/modules/home/dialogs/home-dialogs.module.ts +++ b/ui-ngx/src/app/modules/home/dialogs/home-dialogs.module.ts @@ -20,7 +20,7 @@ import { SharedModule } from '@app/shared/shared.module'; import { AssignToCustomerDialogComponent } from '@modules/home/dialogs/assign-to-customer-dialog.component'; import { AddEntitiesToCustomerDialogComponent } from '@modules/home/dialogs/add-entities-to-customer-dialog.component'; import { HomeDialogsService } from './home-dialogs.service'; -import { AddEntitiesToEdgeDialogComponent } from "@home/dialogs/add-entities-to-edge-dialog.component"; +import { AddEntitiesToEdgeDialogComponent } from '@home/dialogs/add-entities-to-edge-dialog.component'; @NgModule({ declarations: diff --git a/ui-ngx/src/app/modules/home/pages/asset/assets-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/asset/assets-table-config.resolver.ts index c715fc945c..6b6bbb2572 100644 --- a/ui-ngx/src/app/modules/home/pages/asset/assets-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/asset/assets-table-config.resolver.ts @@ -58,11 +58,11 @@ import { AssetId } from '@app/shared/models/id/asset-id'; import { AssetTabsComponent } from '@home/pages/asset/asset-tabs.component'; import { HomeDialogsService } from '@home/dialogs/home-dialogs.service'; import { DeviceInfo } from '@shared/models/device.models'; -import { EdgeService } from "@core/http/edge.service"; +import { EdgeService } from '@core/http/edge.service'; import { AddEntitiesToEdgeDialogComponent, AddEntitiesToEdgeDialogData -} from "@home/dialogs/add-entities-to-edge-dialog.component"; +} from '@home/dialogs/add-entities-to-edge-dialog.component'; @Injectable() export class AssetsTableConfigResolver implements Resolve> { diff --git a/ui-ngx/src/app/modules/home/pages/customer/customer-routing.module.ts b/ui-ngx/src/app/modules/home/pages/customer/customer-routing.module.ts index 27988c70c6..bfe63e2426 100644 --- a/ui-ngx/src/app/modules/home/pages/customer/customer-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/customer/customer-routing.module.ts @@ -27,7 +27,7 @@ import { DashboardsTableConfigResolver } from '@modules/home/pages/dashboard/das import { DashboardPageComponent } from '@home/pages/dashboard/dashboard-page.component'; import { BreadCrumbConfig } from '@shared/components/breadcrumb'; import { dashboardBreadcumbLabelFunction, DashboardResolver } from '@home/pages/dashboard/dashboard-routing.module'; -import { EdgesTableConfigResolver } from "@home/pages/edge/edges-table-config.resolver"; +import { EdgesTableConfigResolver } from '@home/pages/edge/edges-table-config.resolver'; const routes: Routes = [ { diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-page.component.ts b/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-page.component.ts index f76f3a45df..c1def84c75 100644 --- a/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-page.component.ts +++ b/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-page.component.ts @@ -99,7 +99,7 @@ import { ImportExportService } from '@home/components/import-export/import-expor import { AuthState } from '@app/core/auth/auth.models'; import { FiltersDialogComponent, FiltersDialogData } from '@home/components/filter/filters-dialog.component'; import { Filters } from '@shared/models/query/query.models'; -import { AliasEntityType, EntityType } from "@shared/models/entity-type.models"; +import { AliasEntityType, EntityType } from '@shared/models/entity-type.models'; // @dynamic @Component({ diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/dashboards-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/dashboard/dashboards-table-config.resolver.ts index ccef49ec98..299d75c2af 100644 --- a/ui-ngx/src/app/modules/home/pages/dashboard/dashboards-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/dashboard/dashboards-table-config.resolver.ts @@ -64,11 +64,11 @@ import { } from '@modules/home/pages/dashboard/make-dashboard-public-dialog.component'; import { DashboardTabsComponent } from '@home/pages/dashboard/dashboard-tabs.component'; import { ImportExportService } from '@home/components/import-export/import-export.service'; -import { EdgeService } from "@core/http/edge.service"; +import { EdgeService } from '@core/http/edge.service'; import { AddEntitiesToEdgeDialogComponent, AddEntitiesToEdgeDialogData -} from "@home/dialogs/add-entities-to-edge-dialog.component"; +} from '@home/dialogs/add-entities-to-edge-dialog.component'; @Injectable() export class DashboardsTableConfigResolver implements Resolve> { diff --git a/ui-ngx/src/app/modules/home/pages/device/device.module.ts b/ui-ngx/src/app/modules/home/pages/device/device.module.ts index 54c02f447b..d5858acf15 100644 --- a/ui-ngx/src/app/modules/home/pages/device/device.module.ts +++ b/ui-ngx/src/app/modules/home/pages/device/device.module.ts @@ -26,7 +26,7 @@ import { HomeComponentsModule } from '@modules/home/components/home-components.m import { DeviceTabsComponent } from '@home/pages/device/device-tabs.component'; import { SecurityConfigComponent } from '@home/pages/device/lwm2m/security-config.component'; // TODO: @nickAS21 move to device profile -import {SecurityConfigServerComponent} from "@home/pages/device/lwm2m/security-config-server.component"; +import { SecurityConfigServerComponent } from '@home/pages/device/lwm2m/security-config-server.component'; import { DefaultDeviceConfigurationComponent } from './data/default-device-configuration.component'; import { DeviceConfigurationComponent } from './data/device-configuration.component'; import { DeviceDataComponent } from './data/device-data.component'; diff --git a/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts index f3471a0c87..b64dba5b17 100644 --- a/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts @@ -64,11 +64,11 @@ import { HomeDialogsService } from '@home/dialogs/home-dialogs.service'; import { DeviceWizardDialogComponent } from '@home/components/wizard/device-wizard-dialog.component'; import { BaseData, HasId } from '@shared/models/base-data'; import { isDefinedAndNotNull } from '@core/utils'; -import { EdgeService } from "@core/http/edge.service"; +import { EdgeService } from '@core/http/edge.service'; import { AddEntitiesToEdgeDialogComponent, AddEntitiesToEdgeDialogData -} from "@home/dialogs/add-entities-to-edge-dialog.component"; +} from '@home/dialogs/add-entities-to-edge-dialog.component'; @Injectable() export class DevicesTableConfigResolver implements Resolve> { diff --git a/ui-ngx/src/app/modules/home/pages/device/lwm2m/security-config-server.component.ts b/ui-ngx/src/app/modules/home/pages/device/lwm2m/security-config-server.component.ts index d60ff447c6..b39d664cce 100644 --- a/ui-ngx/src/app/modules/home/pages/device/lwm2m/security-config-server.component.ts +++ b/ui-ngx/src/app/modules/home/pages/device/lwm2m/security-config-server.component.ts @@ -14,12 +14,12 @@ /// limitations under the License. /// -import {Component, forwardRef, Inject, Input, OnInit, ViewChild} from "@angular/core"; +import {Component, forwardRef, Inject, Input, OnInit, ViewChild} from '@angular/core'; import { ControlValueAccessor, FormBuilder, FormGroup, NG_VALUE_ACCESSOR, Validators -} from "@angular/forms"; +} from '@angular/forms'; import { SECURITY_CONFIG_MODE, SECURITY_CONFIG_MODE_NAMES, @@ -28,12 +28,12 @@ import { DeviceCredentialsDialogLwm2mData, LEN_MAX_PSK, LEN_MAX_PRIVATE_KEY, LEN_MAX_PUBLIC_KEY_RPK, KEY_PRIVATE_REGEXP, LEN_MAX_PUBLIC_KEY_X509, KEY_PUBLIC_REGEXP_X509 -} from "@home/pages/device/lwm2m/security-config.models"; -import {Store} from "@ngrx/store"; -import {AppState} from "@core/core.state"; -import {MAT_DIALOG_DATA, MatDialogRef} from "@angular/material/dialog"; -import {PageComponent} from "@shared/components/page.component"; -import {MatPaginator} from "@angular/material/paginator"; +} from '@home/pages/device/lwm2m/security-config.models'; +import {Store} from '@ngrx/store'; +import {AppState} from '@core/core.state'; +import {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog'; +import {PageComponent} from '@shared/components/page.component'; +import {MatPaginator} from '@angular/material/paginator'; import { TranslateService } from '@ngx-translate/core'; @Component({ diff --git a/ui-ngx/src/app/modules/home/pages/device/lwm2m/security-config.component.ts b/ui-ngx/src/app/modules/home/pages/device/lwm2m/security-config.component.ts index a43f21431a..3647b69a84 100644 --- a/ui-ngx/src/app/modules/home/pages/device/lwm2m/security-config.component.ts +++ b/ui-ngx/src/app/modules/home/pages/device/lwm2m/security-config.component.ts @@ -41,10 +41,10 @@ import { getDefaultClientSecurityConfigType, LEN_MAX_PSK, LEN_MAX_PUBLIC_KEY_RPK -} from "./security-config.models"; -import {WINDOW} from "@core/services/window.service"; -import {MatTabChangeEvent, MatTabGroup} from "@angular/material/tabs"; -import {MatTab} from "@angular/material/tabs/tab"; +} from './security-config.models'; +import {WINDOW} from '@core/services/window.service'; +import {MatTabChangeEvent, MatTabGroup} from '@angular/material/tabs'; +import {MatTab} from '@angular/material/tabs/tab'; @Component({ diff --git a/ui-ngx/src/app/modules/home/pages/edge/edge-routing.module.ts b/ui-ngx/src/app/modules/home/pages/edge/edge-routing.module.ts index be6227c5dd..bfa48160b4 100644 --- a/ui-ngx/src/app/modules/home/pages/edge/edge-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/edge/edge-routing.module.ts @@ -15,27 +15,27 @@ /// import { NgModule } from '@angular/core'; -import { RouterModule, Routes } from "@angular/router"; -import { EntitiesTableComponent } from "@home/components/entity/entities-table.component"; -import { Authority } from "@shared/models/authority.enum"; -import { EdgesTableConfigResolver } from "@home/pages/edge/edges-table-config.resolver" -import { AssetsTableConfigResolver } from "@home/pages/asset/assets-table-config.resolver"; -import { DevicesTableConfigResolver } from "@home/pages/device/devices-table-config.resolver"; -import { EntityViewsTableConfigResolver } from "@home/pages/entity-view/entity-views-table-config.resolver"; -import { DashboardsTableConfigResolver } from "@home/pages/dashboard/dashboards-table-config.resolver"; -import { RuleChainsTableConfigResolver } from "@home/pages/rulechain/rulechains-table-config.resolver"; -import { DashboardPageComponent } from "@home/pages/dashboard/dashboard-page.component"; -import { dashboardBreadcumbLabelFunction, DashboardResolver } from "@home/pages/dashboard/dashboard-routing.module"; -import { BreadCrumbConfig } from "@shared/components/breadcrumb"; -import { RuleChainPageComponent } from "@home/pages/rulechain/rulechain-page.component"; -import { ConfirmOnExitGuard } from "@core/guards/confirm-on-exit.guard"; -import { ruleChainType } from "@shared/models/rule-chain.models"; +import { RouterModule, Routes } from '@angular/router'; +import { EntitiesTableComponent } from '@home/components/entity/entities-table.component'; +import { Authority } from '@shared/models/authority.enum'; +import { EdgesTableConfigResolver } from '@home/pages/edge/edges-table-config.resolver' +import { AssetsTableConfigResolver } from '@home/pages/asset/assets-table-config.resolver'; +import { DevicesTableConfigResolver } from '@home/pages/device/devices-table-config.resolver'; +import { EntityViewsTableConfigResolver } from '@home/pages/entity-view/entity-views-table-config.resolver'; +import { DashboardsTableConfigResolver } from '@home/pages/dashboard/dashboards-table-config.resolver'; +import { RuleChainsTableConfigResolver } from '@home/pages/rulechain/rulechains-table-config.resolver'; +import { DashboardPageComponent } from '@home/pages/dashboard/dashboard-page.component'; +import { dashboardBreadcumbLabelFunction, DashboardResolver } from '@home/pages/dashboard/dashboard-routing.module'; +import { BreadCrumbConfig } from '@shared/components/breadcrumb'; +import { RuleChainPageComponent } from '@home/pages/rulechain/rulechain-page.component'; +import { ConfirmOnExitGuard } from '@core/guards/confirm-on-exit.guard'; +import { ruleChainType } from '@shared/models/rule-chain.models'; import { importRuleChainBreadcumbLabelFunction, ResolvedRuleChainMetaDataResolver, ruleChainBreadcumbLabelFunction, RuleChainImportGuard, RuleChainResolver, RuleNodeComponentsResolver -} from "@home/pages/rulechain/rulechain-routing.module"; +} from '@home/pages/rulechain/rulechain-routing.module'; const routes: Routes = [ { diff --git a/ui-ngx/src/app/modules/home/pages/edge/edge-table-header.component.ts b/ui-ngx/src/app/modules/home/pages/edge/edge-table-header.component.ts index c0a27b2385..636f02e972 100644 --- a/ui-ngx/src/app/modules/home/pages/edge/edge-table-header.component.ts +++ b/ui-ngx/src/app/modules/home/pages/edge/edge-table-header.component.ts @@ -15,11 +15,11 @@ /// import { Component } from '@angular/core'; -import { EntityTableHeaderComponent } from "@home/components/entity/entity-table-header.component"; -import { EntityType } from "@shared/models/entity-type.models"; -import { Store } from "@ngrx/store"; -import { AppState } from "@core/core.state"; -import { EdgeInfo } from "@shared/models/edge.models"; +import { EntityTableHeaderComponent } from '@home/components/entity/entity-table-header.component'; +import { EntityType } from '@shared/models/entity-type.models'; +import { Store } from '@ngrx/store'; +import { AppState } from '@core/core.state'; +import { EdgeInfo } from '@shared/models/edge.models'; @Component({ selector: 'tb-edge-table-header', diff --git a/ui-ngx/src/app/modules/home/pages/edge/edge-tabs.component.ts b/ui-ngx/src/app/modules/home/pages/edge/edge-tabs.component.ts index fb83ac5c34..9cc9c497d9 100644 --- a/ui-ngx/src/app/modules/home/pages/edge/edge-tabs.component.ts +++ b/ui-ngx/src/app/modules/home/pages/edge/edge-tabs.component.ts @@ -15,10 +15,10 @@ /// import { Component } from '@angular/core'; -import { Store } from "@ngrx/store"; -import { AppState } from "@core/core.state"; -import { EdgeInfo } from "@shared/models/edge.models"; -import { EntityTabsComponent } from "@home/components/entity/entity-tabs.component"; +import { Store } from '@ngrx/store'; +import { AppState } from '@core/core.state'; +import { EdgeInfo } from '@shared/models/edge.models'; +import { EntityTabsComponent } from '@home/components/entity/entity-tabs.component'; @Component({ selector: 'tb-edge-tabs', diff --git a/ui-ngx/src/app/modules/home/pages/edge/edge.component.ts b/ui-ngx/src/app/modules/home/pages/edge/edge.component.ts index 27b816d366..393fa0556b 100644 --- a/ui-ngx/src/app/modules/home/pages/edge/edge.component.ts +++ b/ui-ngx/src/app/modules/home/pages/edge/edge.component.ts @@ -16,17 +16,17 @@ import { Component, Inject } from '@angular/core'; import { Store } from '@ngrx/store'; -import { AppState } from "@core/core.state"; -import { EntityComponent } from "@home/components/entity/entity.component"; -import { FormBuilder, FormGroup, Validators } from "@angular/forms"; -import { EntityType } from "@shared/models/entity-type.models"; -import { EdgeInfo } from "@shared/models/edge.models"; -import { TranslateService } from "@ngx-translate/core"; -import { NULL_UUID } from "@shared/models/id/has-uuid"; -import { ActionNotificationShow } from "@core/notification/notification.actions"; -import { guid, isUndefined } from "@core/utils"; -import { EntityTableConfig } from "@home/models/entity/entities-table-config.models"; -import { WINDOW } from "@core/services/window.service"; +import { AppState } from '@core/core.state'; +import { EntityComponent } from '@home/components/entity/entity.component'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { EntityType } from '@shared/models/entity-type.models'; +import { EdgeInfo } from '@shared/models/edge.models'; +import { TranslateService } from '@ngx-translate/core'; +import { NULL_UUID } from '@shared/models/id/has-uuid'; +import { ActionNotificationShow } from '@core/notification/notification.actions'; +import { guid, isUndefined } from '@core/utils'; +import { EntityTableConfig } from '@home/models/entity/entities-table-config.models'; +import { WINDOW } from '@core/services/window.service'; @Component({ selector: 'tb-edge', diff --git a/ui-ngx/src/app/modules/home/pages/edge/edge.module.ts b/ui-ngx/src/app/modules/home/pages/edge/edge.module.ts index 89018a58b4..499f19d8c4 100644 --- a/ui-ngx/src/app/modules/home/pages/edge/edge.module.ts +++ b/ui-ngx/src/app/modules/home/pages/edge/edge.module.ts @@ -17,12 +17,12 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SharedModule } from '@shared/shared.module'; -import { HomeDialogsModule } from "@home/dialogs/home-dialogs.module"; -import { HomeComponentsModule } from "@home/components/home-components.module"; -import { EdgeRoutingModule } from "@home/pages/edge/edge-routing.module"; +import { HomeDialogsModule } from '@home/dialogs/home-dialogs.module'; +import { HomeComponentsModule } from '@home/components/home-components.module'; +import { EdgeRoutingModule } from '@home/pages/edge/edge-routing.module'; import { EdgeComponent } from '@modules/home/pages/edge/edge.component'; -import { EdgeTableHeaderComponent } from "@home/pages/edge/edge-table-header.component"; -import { EdgeTabsComponent } from "@home/pages/edge/edge-tabs.component"; +import { EdgeTableHeaderComponent } from '@home/pages/edge/edge-table-header.component'; +import { EdgeTabsComponent } from '@home/pages/edge/edge-tabs.component'; @NgModule({ declarations: [ diff --git a/ui-ngx/src/app/modules/home/pages/edge/edges-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/edge/edges-table-config.resolver.ts index 67bbd08048..f175a25e9e 100644 --- a/ui-ngx/src/app/modules/home/pages/edge/edges-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/edge/edges-table-config.resolver.ts @@ -51,13 +51,13 @@ import { AddEntitiesToCustomerDialogData } from '../../dialogs/add-entities-to-customer-dialog.component'; import { HomeDialogsService } from '@home/dialogs/home-dialogs.service'; -import { Edge, EdgeInfo } from "@shared/models/edge.models"; -import { EdgeService } from "@core/http/edge.service"; -import { EdgeComponent } from "@home/pages/edge/edge.component"; -import { EdgeTableHeaderComponent } from "@home/pages/edge/edge-table-header.component"; -import { EdgeId } from "@shared/models/id/edge-id"; -import { EdgeTabsComponent } from "@home/pages/edge/edge-tabs.component"; -import { ActionNotificationShow } from "@core/notification/notification.actions"; +import { Edge, EdgeInfo } from '@shared/models/edge.models'; +import { EdgeService } from '@core/http/edge.service'; +import { EdgeComponent } from '@home/pages/edge/edge.component'; +import { EdgeTableHeaderComponent } from '@home/pages/edge/edge-table-header.component'; +import { EdgeId } from '@shared/models/id/edge-id'; +import { EdgeTabsComponent } from '@home/pages/edge/edge-tabs.component'; +import { ActionNotificationShow } from '@core/notification/notification.actions'; @Injectable() export class EdgesTableConfigResolver implements Resolve> { diff --git a/ui-ngx/src/app/modules/home/pages/entity-view/entity-views-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/entity-view/entity-views-table-config.resolver.ts index b8fe0ff81a..620e6d8c94 100644 --- a/ui-ngx/src/app/modules/home/pages/entity-view/entity-views-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/entity-view/entity-views-table-config.resolver.ts @@ -56,11 +56,11 @@ import { EntityViewComponent } from '@modules/home/pages/entity-view/entity-view import { EntityViewTableHeaderComponent } from '@modules/home/pages/entity-view/entity-view-table-header.component'; import { EntityViewId } from '@shared/models/id/entity-view-id'; import { EntityViewTabsComponent } from '@home/pages/entity-view/entity-view-tabs.component'; -import { EdgeService } from "@core/http/edge.service"; +import { EdgeService } from '@core/http/edge.service'; import { AddEntitiesToEdgeDialogComponent, AddEntitiesToEdgeDialogData -} from "@home/dialogs/add-entities-to-edge-dialog.component"; +} from '@home/dialogs/add-entities-to-edge-dialog.component'; @Injectable() export class EntityViewsTableConfigResolver implements Resolve> { diff --git a/ui-ngx/src/app/modules/home/pages/home-pages.module.ts b/ui-ngx/src/app/modules/home/pages/home-pages.module.ts index 44c1533030..b69eb36b24 100644 --- a/ui-ngx/src/app/modules/home/pages/home-pages.module.ts +++ b/ui-ngx/src/app/modules/home/pages/home-pages.module.ts @@ -34,7 +34,7 @@ import { MODULES_MAP } from '@shared/public-api'; import { modulesMap } from '../../common/modules-map'; import { DeviceProfileModule } from './device-profile/device-profile.module'; import { ApiUsageModule } from '@home/pages/api-usage/api-usage.module'; -import { EdgeModule } from "@home/pages/edge/edge.module"; +import { EdgeModule } from '@home/pages/edge/edge.module'; @NgModule({ exports: [ diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts index 08cdc434c2..12df352427 100644 --- a/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts @@ -38,17 +38,17 @@ import { DialogService } from '@core/services/dialog.service'; import { RuleChainTabsComponent } from '@home/pages/rulechain/rulechain-tabs.component'; import { ImportExportService } from '@home/components/import-export/import-export.service'; import { ItemBufferService } from '@core/services/item-buffer.service'; -import { EdgeService } from "@core/http/edge.service"; -import { forkJoin, Observable } from "rxjs"; +import { EdgeService } from '@core/http/edge.service'; +import { forkJoin, Observable } from 'rxjs'; import { AddEntitiesToEdgeDialogComponent, AddEntitiesToEdgeDialogData -} from "@home/dialogs/add-entities-to-edge-dialog.component"; -import { MatDialog } from "@angular/material/dialog"; -import { isUndefined } from "@core/utils"; -import { PageLink } from "@shared/models/page/page-link"; -import { Edge } from "@shared/models/edge.models"; -import { mergeMap } from "rxjs/operators"; +} from '@home/dialogs/add-entities-to-edge-dialog.component'; +import { MatDialog } from '@angular/material/dialog'; +import { isUndefined } from '@core/utils'; +import { PageLink } from '@shared/models/page/page-link'; +import { Edge } from '@shared/models/edge.models'; +import { mergeMap } from 'rxjs/operators'; @Injectable() export class RuleChainsTableConfigResolver implements Resolve> { diff --git a/ui-ngx/src/app/modules/home/pages/widget/widgets-bundles-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/widget/widgets-bundles-table-config.resolver.ts index 13a5ff9da1..ebc563c2c4 100644 --- a/ui-ngx/src/app/modules/home/pages/widget/widgets-bundles-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/widget/widgets-bundles-table-config.resolver.ts @@ -37,8 +37,8 @@ import { getCurrentAuthState, getCurrentAuthUser } from '@app/core/auth/auth.sel import { Authority } from '@shared/models/authority.enum'; import { DialogService } from '@core/services/dialog.service'; import { ImportExportService } from '@home/components/import-export/import-export.service'; -import { Direction } from "@shared/models/page/sort-order"; -import { map } from "rxjs/operators"; +import { Direction } from '@shared/models/page/sort-order'; +import { map } from 'rxjs/operators'; @Injectable() export class WidgetsBundlesTableConfigResolver implements Resolve> { diff --git a/ui-ngx/src/app/shared/components/entity/entity-subtype-autocomplete.component.ts b/ui-ngx/src/app/shared/components/entity/entity-subtype-autocomplete.component.ts index 0a10bf4778..17283d9942 100644 --- a/ui-ngx/src/app/shared/components/entity/entity-subtype-autocomplete.component.ts +++ b/ui-ngx/src/app/shared/components/entity/entity-subtype-autocomplete.component.ts @@ -27,7 +27,7 @@ import { BroadcastService } from '@app/core/services/broadcast.service'; import { coerceBooleanProperty } from '@angular/cdk/coercion'; import { AssetService } from '@core/http/asset.service'; import { EntityViewService } from '@core/http/entity-view.service'; -import { EdgeService } from "@core/http/edge.service"; +import { EdgeService } from '@core/http/edge.service'; @Component({ selector: 'tb-entity-subtype-autocomplete', diff --git a/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts b/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts index ca149b5d61..577deb4635 100644 --- a/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts +++ b/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.ts @@ -27,7 +27,7 @@ import { MatChipInputEvent, MatChipList } from '@angular/material/chips'; import { coerceBooleanProperty } from '@angular/cdk/coercion'; import { AssetService } from '@core/http/asset.service'; import { DeviceService } from '@core/http/device.service'; -import { EdgeService } from "@core/http/edge.service"; +import { EdgeService } from '@core/http/edge.service'; import { EntityViewService } from '@core/http/entity-view.service'; import { BroadcastService } from '@core/services/broadcast.service'; import { COMMA, ENTER, SEMICOLON } from '@angular/cdk/keycodes'; diff --git a/ui-ngx/src/app/shared/components/entity/entity-subtype-select.component.ts b/ui-ngx/src/app/shared/components/entity/entity-subtype-select.component.ts index 4642255c8f..0b1c013dc3 100644 --- a/ui-ngx/src/app/shared/components/entity/entity-subtype-select.component.ts +++ b/ui-ngx/src/app/shared/components/entity/entity-subtype-select.component.ts @@ -25,7 +25,7 @@ import { DeviceService } from '@core/http/device.service'; import { EntitySubtype, EntityType } from '@app/shared/models/entity-type.models'; import { BroadcastService } from '@app/core/services/broadcast.service'; import { AssetService } from '@core/http/asset.service'; -import { EdgeService } from "@core/http/edge.service"; +import { EdgeService } from '@core/http/edge.service'; import { EntityViewService } from '@core/http/entity-view.service'; @Component({ diff --git a/ui-ngx/src/app/shared/components/widgets-bundle-select.component.ts b/ui-ngx/src/app/shared/components/widgets-bundle-select.component.ts index 97542d8012..38baf05ef9 100644 --- a/ui-ngx/src/app/shared/components/widgets-bundle-select.component.ts +++ b/ui-ngx/src/app/shared/components/widgets-bundle-select.component.ts @@ -25,7 +25,7 @@ import { WidgetsBundle } from '@shared/models/widgets-bundle.model'; import { WidgetService } from '@core/http/widget.service'; import { isDefined } from '@core/utils'; import { NULL_UUID } from '@shared/models/id/has-uuid'; -import { getCurrentAuthState } from "@core/auth/auth.selectors"; +import { getCurrentAuthState } from '@core/auth/auth.selectors'; @Component({ selector: 'tb-widgets-bundle-select', diff --git a/ui-ngx/src/app/shared/models/edge.models.ts b/ui-ngx/src/app/shared/models/edge.models.ts index bf09216df9..07048d9ef2 100644 --- a/ui-ngx/src/app/shared/models/edge.models.ts +++ b/ui-ngx/src/app/shared/models/edge.models.ts @@ -19,9 +19,9 @@ import { TenantId } from '@shared/models/id/tenant-id'; import { CustomerId } from '@shared/models/id/customer-id'; import { EdgeId } from '@shared/models/id/edge-id'; import { EntitySearchQuery } from '@shared/models/relation.models'; -import { RuleChainId } from "@shared/models/id/rule-chain-id"; -import { BaseEventBody } from "@shared/models/event.models"; -import { EventId } from "@shared/models/id/event-id"; +import { RuleChainId } from '@shared/models/id/rule-chain-id'; +import { BaseEventBody } from '@shared/models/event.models'; +import { EventId } from '@shared/models/id/event-id'; export interface Edge extends BaseData { tenantId?: TenantId;