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 9a51aa26a1..68cfa079ef 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 @@ -17,51 +17,51 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SharedModule } from '@app/shared/shared.module'; -import { AddEntityDialogComponent } from './entity/add-entity-dialog.component'; -import { EntitiesTableComponent } from './entity/entities-table.component'; -import { DetailsPanelComponent } from './details-panel.component'; -import { EntityDetailsPanelComponent } from './entity/entity-details-panel.component'; -import { ContactComponent } from './contact.component'; -import { AuditLogDetailsDialogComponent } from './audit-log/audit-log-details-dialog.component'; -import { AuditLogTableComponent } from './audit-log/audit-log-table.component'; +import { AddEntityDialogComponent } from '@home/components/entity/add-entity-dialog.component'; +import { EntitiesTableComponent } from '@home/components/entity/entities-table.component'; +import { DetailsPanelComponent } from '@home/components/details-panel.component'; +import { EntityDetailsPanelComponent } from '@home/components/entity/entity-details-panel.component'; +import { ContactComponent } from '@home/components/contact.component'; +import { AuditLogDetailsDialogComponent } from '@home/components/audit-log/audit-log-details-dialog.component'; +import { AuditLogTableComponent } from '@home/components/audit-log/audit-log-table.component'; import { EventTableHeaderComponent } from '@home/components/event/event-table-header.component'; import { EventTableComponent } from '@home/components/event/event-table.component'; import { RelationTableComponent } from '@home/components/relation/relation-table.component'; -import { RelationDialogComponent } from './relation/relation-dialog.component'; +import { RelationDialogComponent } from '@home/components/relation/relation-dialog.component'; import { AlarmTableHeaderComponent } from '@home/components/alarm/alarm-table-header.component'; import { AlarmTableComponent } from '@home/components/alarm/alarm-table.component'; import { AttributeTableComponent } from '@home/components/attribute/attribute-table.component'; -import { AddAttributeDialogComponent } from './attribute/add-attribute-dialog.component'; -import { EditAttributeValuePanelComponent } from './attribute/edit-attribute-value-panel.component'; +import { AddAttributeDialogComponent } from '@home/components/attribute/add-attribute-dialog.component'; +import { EditAttributeValuePanelComponent } from '@home/components/attribute/edit-attribute-value-panel.component'; import { DashboardComponent } from '@home/components/dashboard/dashboard.component'; import { WidgetComponent } from '@home/components/widget/widget.component'; -import { WidgetComponentService } from './widget/widget-component.service'; +import { WidgetComponentService } from '@home/components/widget/widget-component.service'; import { LegendComponent } from '@home/components/widget/legend.component'; import { AliasesEntitySelectPanelComponent } from '@home/components/alias/aliases-entity-select-panel.component'; import { AliasesEntitySelectComponent } from '@home/components/alias/aliases-entity-select.component'; import { WidgetConfigComponent } from '@home/components/widget/widget-config.component'; import { EntityAliasesDialogComponent } from '@home/components/alias/entity-aliases-dialog.component'; -import { EntityFilterViewComponent } from './entity/entity-filter-view.component'; -import { EntityAliasDialogComponent } from './alias/entity-alias-dialog.component'; -import { EntityFilterComponent } from './entity/entity-filter.component'; -import { RelationFiltersComponent } from './relation/relation-filters.component'; -import { EntityAliasSelectComponent } from './alias/entity-alias-select.component'; +import { EntityFilterViewComponent } from '@home/components/entity/entity-filter-view.component'; +import { EntityAliasDialogComponent } from '@home/components/alias/entity-alias-dialog.component'; +import { EntityFilterComponent } from '@home/components/entity/entity-filter.component'; +import { RelationFiltersComponent } from '@home/components/relation/relation-filters.component'; +import { EntityAliasSelectComponent } from '@home/components/alias/entity-alias-select.component'; import { DataKeysComponent } from '@home/components/widget/data-keys.component'; -import { DataKeyConfigDialogComponent } from './widget/data-key-config-dialog.component'; -import { DataKeyConfigComponent } from './widget/data-key-config.component'; -import { LegendConfigPanelComponent } from './widget/legend-config-panel.component'; -import { LegendConfigComponent } from './widget/legend-config.component'; -import { ManageWidgetActionsComponent } from './widget/action/manage-widget-actions.component'; -import { WidgetActionDialogComponent } from './widget/action/widget-action-dialog.component'; -import { CustomActionPrettyResourcesTabsComponent } from './widget/action/custom-action-pretty-resources-tabs.component'; -import { CustomActionPrettyEditorComponent } from './widget/action/custom-action-pretty-editor.component'; -import { CustomDialogService } from './widget/dialog/custom-dialog.service'; -import { CustomDialogContainerComponent } from './widget/dialog/custom-dialog-container.component'; -import { ImportExportService } from './import-export/import-export.service'; -import { ImportDialogComponent } from './import-export/import-dialog.component'; -import { AddWidgetToDashboardDialogComponent } from './attribute/add-widget-to-dashboard-dialog.component'; -import { ImportDialogCsvComponent } from './import-export/import-dialog-csv.component'; -import { TableColumnsAssignmentComponent } from './import-export/table-columns-assignment.component'; +import { DataKeyConfigDialogComponent } from '@home/components/widget/data-key-config-dialog.component'; +import { DataKeyConfigComponent } from '@home/components/widget/data-key-config.component'; +import { LegendConfigPanelComponent } from '@home/components/widget/legend-config-panel.component'; +import { LegendConfigComponent } from '@home/components/widget/legend-config.component'; +import { ManageWidgetActionsComponent } from '@home/components/widget/action/manage-widget-actions.component'; +import { WidgetActionDialogComponent } from '@home/components/widget/action/widget-action-dialog.component'; +import { CustomActionPrettyResourcesTabsComponent } from '@home/components/widget/action/custom-action-pretty-resources-tabs.component'; +import { CustomActionPrettyEditorComponent } from '@home/components/widget/action/custom-action-pretty-editor.component'; +import { CustomDialogService } from '@home/components/widget/dialog/custom-dialog.service'; +import { CustomDialogContainerComponent } from '@home/components/widget/dialog/custom-dialog-container.component'; +import { ImportExportService } from '@home/components/import-export/import-export.service'; +import { ImportDialogComponent } from '@home/components/import-export/import-dialog.component'; +import { AddWidgetToDashboardDialogComponent } from '@home/components/attribute/add-widget-to-dashboard-dialog.component'; +import { ImportDialogCsvComponent } from '@home/components/import-export/import-dialog-csv.component'; +import { TableColumnsAssignmentComponent } from '@home/components/import-export/table-columns-assignment.component'; import { EventContentDialogComponent } from '@home/components/event/event-content-dialog.component'; import { SharedHomeComponentsModule } from '@home/components/shared-home-components.module'; diff --git a/ui-ngx/src/app/shared/shared.module.ts b/ui-ngx/src/app/shared/shared.module.ts index 8135d33587..45c980e986 100644 --- a/ui-ngx/src/app/shared/shared.module.ts +++ b/ui-ngx/src/app/shared/shared.module.ts @@ -16,10 +16,10 @@ import { NgModule } from '@angular/core'; import { CommonModule, DatePipe } from '@angular/common'; -import { FooterComponent } from './components/footer.component'; -import { LogoComponent } from './components/logo.component'; -import { TbSnackBarComponent, ToastDirective } from './components/toast.directive'; -import { BreadcrumbComponent } from '@app/shared/components/breadcrumb.component'; +import { FooterComponent } from '@shared/components/footer.component'; +import { LogoComponent } from '@shared/components/logo.component'; +import { TbSnackBarComponent, ToastDirective } from '@shared/components/toast.directive'; +import { BreadcrumbComponent } from '@shared/components/breadcrumb.component'; import { NgxFlowModule, FlowInjectionToken } from '@flowjs/ngx-flow'; import { NgxFlowchartModule } from 'ngx-flowchart/dist/ngx-flowchart'; import Flow from '@flowjs/flow.js'; @@ -62,7 +62,7 @@ import { HotkeyModule } from 'angular2-hotkeys'; import { ColorPickerModule } from 'ngx-color-picker'; import { NgxHmCarouselModule } from 'ngx-hm-carousel'; import { UserMenuComponent } from '@shared/components/user-menu.component'; -import { NospacePipe } from './pipe/nospace.pipe'; +import { NospacePipe } from '@shared/pipe/nospace.pipe'; import { TranslateModule } from '@ngx-translate/core'; import { TbCheckboxComponent } from '@shared/components/tb-checkbox.component'; import { HelpComponent } from '@shared/components/help.component'; @@ -80,42 +80,42 @@ import { FullscreenDirective } from '@shared/components/fullscreen.directive'; import { HighlightPipe } from '@shared/pipe/highlight.pipe'; import { DashboardAutocompleteComponent } from '@shared/components/dashboard-autocomplete.component'; import { EntitySubTypeAutocompleteComponent } from '@shared/components/entity/entity-subtype-autocomplete.component'; -import { EntitySubTypeSelectComponent } from './components/entity/entity-subtype-select.component'; -import { EntityAutocompleteComponent } from './components/entity/entity-autocomplete.component'; +import { EntitySubTypeSelectComponent } from '@shared/components/entity/entity-subtype-select.component'; +import { EntityAutocompleteComponent } from '@shared/components/entity/entity-autocomplete.component'; import { EntityListComponent } from '@shared/components/entity/entity-list.component'; -import { EntityTypeSelectComponent } from './components/entity/entity-type-select.component'; -import { EntitySelectComponent } from './components/entity/entity-select.component'; +import { EntityTypeSelectComponent } from '@shared/components/entity/entity-type-select.component'; +import { EntitySelectComponent } from '@shared/components/entity/entity-select.component'; import { DatetimeComponent } from '@shared/components/time/datetime.component'; -import { EntityKeysListComponent } from './components/entity/entity-keys-list.component'; -import { SocialSharePanelComponent } from './components/socialshare-panel.component'; +import { EntityKeysListComponent } from '@shared/components/entity/entity-keys-list.component'; +import { SocialSharePanelComponent } from '@shared/components/socialshare-panel.component'; import { RelationTypeAutocompleteComponent } from '@shared/components/relation/relation-type-autocomplete.component'; -import { EntityListSelectComponent } from './components/entity/entity-list-select.component'; -import { JsonObjectEditComponent } from './components/json-object-edit.component'; +import { EntityListSelectComponent } from '@shared/components/entity/entity-list-select.component'; +import { JsonObjectEditComponent } from '@shared/components/json-object-edit.component'; import { FooterFabButtonsComponent } from '@shared/components/footer-fab-buttons.component'; -import { CircularProgressDirective } from './components/circular-progress.directive'; +import { CircularProgressDirective } from '@shared/components/circular-progress.directive'; import { MatSpinner } from '@angular/material/progress-spinner'; -import { FabToolbarComponent, FabActionsDirective, FabTriggerDirective } from './components/fab-toolbar.component'; +import { FabToolbarComponent, FabActionsDirective, FabTriggerDirective } from '@shared/components/fab-toolbar.component'; import { DashboardSelectPanelComponent } from '@shared/components/dashboard-select-panel.component'; import { DashboardSelectComponent } from '@shared/components/dashboard-select.component'; -import { WidgetsBundleSelectComponent } from './components/widgets-bundle-select.component'; -import { KeyboardShortcutPipe } from './pipe/keyboard-shortcut.pipe'; -import { TbErrorComponent } from './components/tb-error.component'; -import { EntityTypeListComponent } from './components/entity/entity-type-list.component'; -import { EntitySubTypeListComponent } from './components/entity/entity-subtype-list.component'; -import { TruncatePipe } from './pipe/truncate.pipe'; -import { ColorPickerDialogComponent } from './components/dialog/color-picker-dialog.component'; -import { MatChipDraggableDirective } from './components/mat-chip-draggable.directive'; -import { ColorInputComponent } from './components/color-input.component'; -import { JsFuncComponent } from './components/js-func.component'; -import { JsonFormComponent } from './components/json-form/json-form.component'; +import { WidgetsBundleSelectComponent } from '@shared/components/widgets-bundle-select.component'; +import { KeyboardShortcutPipe } from '@shared/pipe/keyboard-shortcut.pipe'; +import { TbErrorComponent } from '@shared/components/tb-error.component'; +import { EntityTypeListComponent } from '@shared/components/entity/entity-type-list.component'; +import { EntitySubTypeListComponent } from '@shared/components/entity/entity-subtype-list.component'; +import { TruncatePipe } from '@shared/pipe/truncate.pipe'; +import { ColorPickerDialogComponent } from '@shared/components/dialog/color-picker-dialog.component'; +import { MatChipDraggableDirective } from '@shared/components/mat-chip-draggable.directive'; +import { ColorInputComponent } from '@shared/components/color-input.component'; +import { JsFuncComponent } from '@shared/components/js-func.component'; +import { JsonFormComponent } from '@shared/components/json-form/json-form.component'; import { MaterialIconsDialogComponent } from '@shared/components/dialog/material-icons-dialog.component'; import { MaterialIconSelectComponent } from '@shared/components/material-icon-select.component'; -import { ImageInputComponent } from './components/image-input.component'; -import { FileInputComponent } from './components/file-input.component'; +import { ImageInputComponent } from '@shared/components/image-input.component'; +import { FileInputComponent } from '@shared/components/file-input.component'; import { NodeScriptTestDialogComponent } from '@shared/components/dialog/node-script-test-dialog.component'; -import { MessageTypeAutocompleteComponent } from './components/message-type-autocomplete.component'; -import { JsonContentComponent } from './components/json-content.component'; -import { KeyValMapComponent } from './components/kv-map.component'; +import { MessageTypeAutocompleteComponent } from '@shared/components/message-type-autocomplete.component'; +import { JsonContentComponent } from '@shared/components/json-content.component'; +import { KeyValMapComponent } from '@shared/components/kv-map.component'; import { TbCheatSheetComponent } from '@shared/components/cheatsheet.component'; import { TbHotkeysDirective } from '@shared/components/hotkeys.directive'; import { NavTreeComponent } from '@shared/components/nav-tree.component';