Browse Source

folder rearranging

pull/8337/head
Maksym Dudnik 3 years ago
parent
commit
625712ad0e
  1. 2
      ui-ngx/src/app/modules/common/modules-map.ts
  2. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/device-gateway-command.component.html
  3. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/device-gateway-command.component.ts
  4. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-configuration.component.html
  5. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-configuration.component.scss
  6. 2
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-configuration.component.ts
  7. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.html
  8. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.scss
  9. 2
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.ts
  10. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.html
  11. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.scss
  12. 2
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts
  13. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-remote-configuration-dialog.html
  14. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-remote-configuration-dialog.ts
  15. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.html
  16. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.scss
  17. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.ts
  18. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-statistics.component.html
  19. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-statistics.component.scss
  20. 0
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-statistics.component.ts
  21. 21
      ui-ngx/src/app/modules/home/components/widget/widget-components.module.ts
  22. 3
      ui-ngx/src/app/shared/shared.module.ts

2
ui-ngx/src/app/modules/common/modules-map.ts

@ -300,7 +300,6 @@ import * as QueueFormComponent from '@home/components/queue/queue-form.component
import * as AssetProfileComponent from '@home/components/profile/asset-profile.component'; import * as AssetProfileComponent from '@home/components/profile/asset-profile.component';
import * as AssetProfileDialogComponent from '@home/components/profile/asset-profile-dialog.component'; import * as AssetProfileDialogComponent from '@home/components/profile/asset-profile-dialog.component';
import * as AssetProfileAutocompleteComponent from '@home/components/profile/asset-profile-autocomplete.component'; import * as AssetProfileAutocompleteComponent from '@home/components/profile/asset-profile-autocomplete.component';
import * as GatewayRemoteConfigurationDialogComponent from '@shared/components/dialog/gateway-remote-configuration-dialog';
import * as RuleChainSelectComponent from '@shared/components/rule-chain/rule-chain-select.component'; import * as RuleChainSelectComponent from '@shared/components/rule-chain/rule-chain-select.component';
import { IModulesMap } from '@modules/common/modules-map.models'; import { IModulesMap } from '@modules/common/modules-map.models';
@ -408,7 +407,6 @@ class ModulesMap implements IModulesMap {
'@shared/components/help.component': HelpComponent, '@shared/components/help.component': HelpComponent,
'@shared/components/help-markdown.component': HelpMarkdownComponent, '@shared/components/help-markdown.component': HelpMarkdownComponent,
'@shared/components/help-popup.component': HelpPopupComponent, '@shared/components/help-popup.component': HelpPopupComponent,
'@shared/components/device/gateway-remote-configuration-dialog': GatewayRemoteConfigurationDialogComponent,
'@shared/components/tb-checkbox.component': TbCheckboxComponent, '@shared/components/tb-checkbox.component': TbCheckboxComponent,
'@shared/components/toast.directive': TbToast, '@shared/components/toast.directive': TbToast,
'@shared/components/tb-error.component': TbErrorComponent, '@shared/components/tb-error.component': TbErrorComponent,

0
ui-ngx/src/app/modules/home/components/widget/lib/device/device-gateway-command.component.html → ui-ngx/src/app/modules/home/components/widget/lib/gateway/device-gateway-command.component.html

0
ui-ngx/src/app/modules/home/components/widget/lib/device/device-gateway-command.component.ts → ui-ngx/src/app/modules/home/components/widget/lib/gateway/device-gateway-command.component.ts

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-configuration.component.html → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-configuration.component.html

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-configuration.component.scss → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-configuration.component.scss

2
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-configuration.component.ts → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-configuration.component.ts

@ -26,7 +26,7 @@ import { AttributeScope } from '@shared/models/telemetry/telemetry.models';
import { import {
GatewayRemoteConfigurationDialogComponent, GatewayRemoteConfigurationDialogComponent,
GatewayRemoteConfigurationDialogData GatewayRemoteConfigurationDialogData
} from '@shared/components/dialog/gateway-remote-configuration-dialog'; } from '@home/components/widget/lib/gateway/gateway-remote-configuration-dialog';
import { DeviceService } from '@core/http/device.service'; import { DeviceService } from '@core/http/device.service';
import { of } from 'rxjs'; import { of } from 'rxjs';
import { mergeMap } from 'rxjs/operators'; import { mergeMap } from 'rxjs/operators';

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-connectors.component.html → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.html

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-connectors.component.scss → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.scss

2
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-connectors.component.ts → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.ts

@ -34,7 +34,7 @@ import { MatSort } from '@angular/material/sort';
import { tap } from 'rxjs/operators'; import { tap } from 'rxjs/operators';
import { TelemetryWebsocketService } from '@core/ws/telemetry-websocket.service'; import { TelemetryWebsocketService } from '@core/ws/telemetry-websocket.service';
import { MatTableDataSource } from '@angular/material/table'; import { MatTableDataSource } from '@angular/material/table';
import { GatewayLogLevel } from '@home/components/widget/lib/device/gateway-configuration.component'; import { GatewayLogLevel } from '@home/components/widget/lib/gateway/gateway-configuration.component';
import { ActionNotificationShow } from '@core/notification/notification.actions'; import { ActionNotificationShow } from '@core/notification/notification.actions';
import { DialogService } from '@core/services/dialog.service'; import { DialogService } from '@core/services/dialog.service';
import { WidgetContext } from '@home/models/widget-component.models'; import { WidgetContext } from '@home/models/widget-component.models';

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-logs.component.html → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.html

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-logs.component.scss → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.scss

2
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-logs.component.ts → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-logs.component.ts

@ -30,7 +30,7 @@ import { AttributeDatasource } from "@home/models/datasource/attribute-datasourc
import { Direction, SortOrder } from "@shared/models/page/sort-order"; import { Direction, SortOrder } from "@shared/models/page/sort-order";
import { MatSort } from '@angular/material/sort'; import { MatSort } from '@angular/material/sort';
import { MatTableDataSource } from '@angular/material/table'; import { MatTableDataSource } from '@angular/material/table';
import { GatewayLogLevel } from '@home/components/widget/lib/device/gateway-configuration.component'; import { GatewayLogLevel } from '@home/components/widget/lib/gateway/gateway-configuration.component';
import { DialogService } from '@core/services/dialog.service'; import { DialogService } from '@core/services/dialog.service';
import { WidgetContext } from '@home/models/widget-component.models'; import { WidgetContext } from '@home/models/widget-component.models';

0
ui-ngx/src/app/shared/components/dialog/gateway-remote-configuration-dialog.html → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-remote-configuration-dialog.html

0
ui-ngx/src/app/shared/components/dialog/gateway-remote-configuration-dialog.ts → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-remote-configuration-dialog.ts

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-service-rpc.component.html → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.html

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-service-rpc.component.scss → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.scss

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-service-rpc.component.ts → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-service-rpc.component.ts

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-statistics.component.html → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-statistics.component.html

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-statistics.component.scss → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-statistics.component.scss

0
ui-ngx/src/app/modules/home/components/widget/lib/device/gateway-statistics.component.ts → ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-statistics.component.ts

21
ui-ngx/src/app/modules/home/components/widget/widget-components.module.ts

@ -43,12 +43,15 @@ import { HomePageWidgetsModule } from '@home/components/widget/lib/home-page/hom
import { WIDGET_COMPONENTS_MODULE_TOKEN } from '@home/components/tokens'; import { WIDGET_COMPONENTS_MODULE_TOKEN } from '@home/components/tokens';
import { FlotWidgetComponent } from '@home/components/widget/lib/flot-widget.component'; import { FlotWidgetComponent } from '@home/components/widget/lib/flot-widget.component';
import { LegendComponent } from '@home/components/widget/lib/legend.component'; import { LegendComponent } from '@home/components/widget/lib/legend.component';
import { GatewayConnectorComponent } from '@home/components/widget/lib/device/gateway-connectors.component'; import { GatewayConnectorComponent } from '@home/components/widget/lib/gateway/gateway-connectors.component';
import { GatewayLogsComponent } from '@home/components/widget/lib/device/gateway-logs.component'; import { GatewayLogsComponent } from '@home/components/widget/lib/gateway/gateway-logs.component';
import { GatewayStatisticsComponent } from '@home/components/widget/lib/device/gateway-statistics.component'; import { GatewayStatisticsComponent } from '@home/components/widget/lib/gateway/gateway-statistics.component';
import { GatewayServiceRPCComponent } from '@home/components/widget/lib/device/gateway-service-rpc.component'; import { GatewayServiceRPCComponent } from '@home/components/widget/lib/gateway/gateway-service-rpc.component';
import { DeviceGatewayCommandComponent } from '@home/components/widget/lib/device/device-gateway-command.component'; import { DeviceGatewayCommandComponent } from '@home/components/widget/lib/gateway/device-gateway-command.component';
import { GatewayConfigurationComponent } from '@home/components/widget/lib/device/gateway-configuration.component'; import { GatewayConfigurationComponent } from '@home/components/widget/lib/gateway/gateway-configuration.component';
import {
GatewayRemoteConfigurationDialogComponent
} from '@home/components/widget/lib/gateway/gateway-remote-configuration-dialog';
@NgModule({ @NgModule({
declarations: declarations:
@ -78,7 +81,8 @@ import { GatewayConfigurationComponent } from '@home/components/widget/lib/devic
GatewayStatisticsComponent, GatewayStatisticsComponent,
GatewayServiceRPCComponent, GatewayServiceRPCComponent,
DeviceGatewayCommandComponent, DeviceGatewayCommandComponent,
GatewayConfigurationComponent GatewayConfigurationComponent,
GatewayRemoteConfigurationDialogComponent
], ],
imports: [ imports: [
CommonModule, CommonModule,
@ -112,7 +116,8 @@ import { GatewayConfigurationComponent } from '@home/components/widget/lib/devic
GatewayStatisticsComponent, GatewayStatisticsComponent,
GatewayServiceRPCComponent, GatewayServiceRPCComponent,
DeviceGatewayCommandComponent, DeviceGatewayCommandComponent,
GatewayConfigurationComponent GatewayConfigurationComponent,
GatewayRemoteConfigurationDialogComponent
], ],
providers: [ providers: [
{provide: WIDGET_COMPONENTS_MODULE_TOKEN, useValue: WidgetComponentsModule } {provide: WIDGET_COMPONENTS_MODULE_TOKEN, useValue: WidgetComponentsModule }

3
ui-ngx/src/app/shared/shared.module.ts

@ -177,7 +177,6 @@ import { NotificationComponent } from '@shared/components/notification/notificat
import { TemplateAutocompleteComponent } from '@shared/components/notification/template-autocomplete.component'; import { TemplateAutocompleteComponent } from '@shared/components/notification/template-autocomplete.component';
import { SlackConversationAutocompleteComponent } from '@shared/components/slack-conversation-autocomplete.component'; import { SlackConversationAutocompleteComponent } from '@shared/components/slack-conversation-autocomplete.component';
import { DateAgoPipe } from '@shared/pipe/date-ago.pipe'; import { DateAgoPipe } from '@shared/pipe/date-ago.pipe';
import { GatewayRemoteConfigurationDialogComponent } from '@shared/components/dialog/gateway-remote-configuration-dialog';
import { import {
TbBreakPointsProvider, TbBreakPointsProvider,
MdLgLayoutDirective, MdLgLayoutDirective,
@ -264,7 +263,6 @@ export const MarkedOptionsFactory = (markedOptionsService: MarkedOptionsService)
HelpComponent, HelpComponent,
HelpMarkdownComponent, HelpMarkdownComponent,
HelpPopupComponent, HelpPopupComponent,
GatewayRemoteConfigurationDialogComponent,
TbCheckboxComponent, TbCheckboxComponent,
TbSnackBarComponent, TbSnackBarComponent,
TbErrorComponent, TbErrorComponent,
@ -443,7 +441,6 @@ export const MarkedOptionsFactory = (markedOptionsService: MarkedOptionsService)
HelpComponent, HelpComponent,
HelpMarkdownComponent, HelpMarkdownComponent,
HelpPopupComponent, HelpPopupComponent,
GatewayRemoteConfigurationDialogComponent,
TbCheckboxComponent, TbCheckboxComponent,
TbErrorComponent, TbErrorComponent,
TbCheatSheetComponent, TbCheatSheetComponent,

Loading…
Cancel
Save