@c8y/ngx-components 1022.8.0 → 1022.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alarms/index.d.ts +1 -0
- package/alarms/index.d.ts.map +1 -1
- package/context-dashboard/context-dashboard.component.d.ts +1 -3
- package/context-dashboard/context-dashboard.component.d.ts.map +1 -1
- package/core/core.module.d.ts.map +1 -1
- package/core/index.d.ts +1 -0
- package/core/index.d.ts.map +1 -1
- package/core/preview-feature/feature-cache.service.d.ts +3 -1
- package/core/preview-feature/feature-cache.service.d.ts.map +1 -1
- package/core/preview-feature/preview-feature-button.component.d.ts +3 -2
- package/core/preview-feature/preview-feature-button.component.d.ts.map +1 -1
- package/core/preview-feature/preview-feature-query-param.factory.d.ts +24 -0
- package/core/preview-feature/preview-feature-query-param.factory.d.ts.map +1 -0
- package/core/preview-feature/preview-feature-show-notification.service.d.ts +4 -1
- package/core/preview-feature/preview-feature-show-notification.service.d.ts.map +1 -1
- package/core/preview-feature/preview-feature.component.d.ts +2 -0
- package/core/preview-feature/preview-feature.component.d.ts.map +1 -1
- package/core/preview-feature/preview-feature.model.d.ts +1 -1
- package/core/preview-feature/preview-feature.model.d.ts.map +1 -1
- package/core/preview-feature/preview-feature.providers.d.ts.map +1 -1
- package/core/query-param-handler/index.d.ts +5 -0
- package/core/query-param-handler/index.d.ts.map +1 -0
- package/core/query-param-handler/query-param-bottom-drawer.service.d.ts +48 -0
- package/core/query-param-handler/query-param-bottom-drawer.service.d.ts.map +1 -0
- package/core/query-param-handler/query-param-handler.service.d.ts +31 -0
- package/core/query-param-handler/query-param-handler.service.d.ts.map +1 -0
- package/core/query-param-handler/query-param-modal-handler.service.d.ts +79 -0
- package/core/query-param-handler/query-param-modal-handler.service.d.ts.map +1 -0
- package/datapoint-explorer/view/datapoint-explorer.component.d.ts +3 -2
- package/datapoint-explorer/view/datapoint-explorer.component.d.ts.map +1 -1
- package/datapoint-explorer/view/datapoint-explorer.service.d.ts +2 -0
- package/datapoint-explorer/view/datapoint-explorer.service.d.ts.map +1 -1
- package/datapoint-explorer/view/send-as-widget-to-dashboard-modal/send-as-widget-to-dashboard-modal.component.d.ts +24 -0
- package/datapoint-explorer/view/send-as-widget-to-dashboard-modal/send-as-widget-to-dashboard-modal.component.d.ts.map +1 -0
- package/datapoint-explorer/view/send-as-widget-to-report-modal/send-as-widget-to-report-modal.component.d.ts +1 -1
- package/echart/charts.component.d.ts.map +1 -1
- package/echart/services/y-axis.service.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs +4 -20
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +121 -39
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +9 -6
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-sensor-phone.mjs +331 -8
- package/fesm2022/c8y-ngx-components-sensor-phone.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +25 -17
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +415 -99
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/de.po +29 -3
- package/locales/es.po +29 -3
- package/locales/fr.po +29 -3
- package/locales/ja_JP.po +28 -3
- package/locales/ko.po +29 -3
- package/locales/locales.pot +17 -3
- package/locales/nl.po +29 -3
- package/locales/pl.po +29 -3
- package/locales/pt_BR.po +29 -3
- package/locales/zh_CN.po +29 -3
- package/locales/zh_TW.po +29 -3
- package/package.json +1 -1
- package/sensor-phone/sensor-phone.module.d.ts.map +1 -1
- package/widgets/implementations/datapoints-graph/datapoints-graph-view/datapoints-graph-widget-view.component.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-query-param-modal-handler.mjs +0 -115
- package/fesm2022/c8y-ngx-components-query-param-modal-handler.mjs.map +0 -1
- package/query-param-modal-handler/c8y-ngx-components-query-param-modal-handler.d.ts.map +0 -1
- package/query-param-modal-handler/index.d.ts +0 -2
- package/query-param-modal-handler/index.d.ts.map +0 -1
- package/query-param-modal-handler/query-param-modal-handler.service.d.ts +0 -77
- package/query-param-modal-handler/query-param-modal-handler.service.d.ts.map +0 -1
package/alarms/index.d.ts
CHANGED
|
@@ -24,4 +24,5 @@ export * from './audit-changes-message.pipe';
|
|
|
24
24
|
export * from './ng1-smart-rules-upgrade.service';
|
|
25
25
|
export * from './alarms-date-filter.component';
|
|
26
26
|
export * from './alarms-activity-tracker.service';
|
|
27
|
+
export * from './alarms-type-filter.component';
|
|
27
28
|
//# sourceMappingURL=index.d.ts.map
|
package/alarms/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../alarms/index.ts"],"names":[],"mappings":"AAAA,cAAc,yDAAyD,CAAC;AACxE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yDAAyD,CAAC;AACxE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../alarms/index.ts"],"names":[],"mappings":"AAAA,cAAc,yDAAyD,CAAC;AACxE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yDAAyD,CAAC;AACxE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { ActionBarService, AlertService, BottomDrawerService, BreadcrumbItem, DashboardChange, DashboardChildChange, DashboardCopyPermission, DynamicComponentDefinition, GainsightService, ModalService, RevertChangeType, Widget, WidgetChange, WidgetsDashboardComponent } from '@c8y/ngx-components';
|
|
4
|
-
import { QueryParamModalHandlerService } from '@c8y/ngx-components/query-param-modal-handler';
|
|
5
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
5
|
import { CanDeactivateComponent, ContextDashboard, ContextDashboardConfig, ContextDashboardManagedObject, DashboardChildrenState, DashboardHistoryDescription } from './context-dashboard.model';
|
|
7
6
|
import { ContextDashboardService } from './context-dashboard.service';
|
|
@@ -28,7 +27,6 @@ export declare class ContextDashboardComponent implements OnInit, OnDestroy, Can
|
|
|
28
27
|
private translateService;
|
|
29
28
|
private modal;
|
|
30
29
|
editModeService: DashboardEditModeService;
|
|
31
|
-
private queryParamHandler;
|
|
32
30
|
name: string;
|
|
33
31
|
childrenClasses: string;
|
|
34
32
|
context: any;
|
|
@@ -62,7 +60,7 @@ export declare class ContextDashboardComponent implements OnInit, OnDestroy, Can
|
|
|
62
60
|
private dataSub;
|
|
63
61
|
private hasPermissionToEditDashboard;
|
|
64
62
|
private destroy$;
|
|
65
|
-
constructor(route: ActivatedRoute, router: Router, contextDashboardService: ContextDashboardService, alert: AlertService, renderer: Renderer2, moduleConfig: ContextDashboardConfig, widgetService: WidgetService, bottomDrawerService: BottomDrawerService, gainsightService: GainsightService, actionBarService: ActionBarService, translateService: TranslateService, modal: ModalService, editModeService: DashboardEditModeService
|
|
63
|
+
constructor(route: ActivatedRoute, router: Router, contextDashboardService: ContextDashboardService, alert: AlertService, renderer: Renderer2, moduleConfig: ContextDashboardConfig, widgetService: WidgetService, bottomDrawerService: BottomDrawerService, gainsightService: GainsightService, actionBarService: ActionBarService, translateService: TranslateService, modal: ModalService, editModeService: DashboardEditModeService);
|
|
66
64
|
ngOnInit(): void;
|
|
67
65
|
beforeUnloadHandler($event: BeforeUnloadEvent): Promise<void>;
|
|
68
66
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-dashboard.component.d.ts","sourceRoot":"","sources":["../../context-dashboard/context-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,SAAS,EACT,MAAM,EACN,SAAS,EAEV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,cAAc,EAEd,eAAe,EACf,oBAAoB,EAEpB,uBAAuB,EACvB,0BAA0B,EAC1B,gBAAgB,EAGhB,YAAY,EACZ,gBAAgB,EAEhB,MAAM,EACN,YAAY,EACZ,yBAAyB,EAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"context-dashboard.component.d.ts","sourceRoot":"","sources":["../../context-dashboard/context-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,SAAS,EACT,MAAM,EACN,SAAS,EAEV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,cAAc,EAEd,eAAe,EACf,oBAAoB,EAEpB,uBAAuB,EACvB,0BAA0B,EAC1B,gBAAgB,EAGhB,YAAY,EACZ,gBAAgB,EAEhB,MAAM,EACN,YAAY,EACZ,yBAAyB,EAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,OAAO,EACL,sBAAsB,EAEtB,gBAAgB,EAChB,sBAAsB,EACtB,6BAA6B,EAE7B,sBAAsB,EACtB,2BAA2B,EAG5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;;AAEjD;;;;GAIG;AACH,qBA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AG,OAAO,CAAC,IAAI,CAAC;IAYzD;;;;OAIG;IACG,YAAY,CAAC,MAAM,KAAA;IAWzB;;;;OAIG;IACG,YAAY,CAAC,MAAM,EAAE,YAAY;IAuBvC;;;OAGG;IACH,uBAAuB;IAMvB;;;OAGG;IACH,4BAA4B;IAMtB,MAAM,CAAC,eAAe,CAAC,EAAE,OAAO;IA2ChC,gBAAgB,CAAC,aAAa,EAAE,gBAAgB;IAgBhD,eAAe,CAAC,WAAW,EAAE,6BAA6B;YAMlD,UAAU;IAqBxB,OAAO,CAAC,oBAAoB;IAkB5B;;;OAGG;IACH,OAAO,CAAC,yBAAyB;IAMjC,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,kBAAkB;IAe1B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,0BAA0B;IAOlC,OAAO,CAAC,+BAA+B;IAkBvC,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,yBAAyB;IA+BjC,OAAO,CAAC,4BAA4B;YActB,eAAe;YA4Bf,aAAa;IAwC3B,OAAO,CAAC,2BAA2B;YASrB,mBAAmB;yCAxtBtB,yBAAyB;2CAAzB,yBAAyB;CAguBrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.module.d.ts","sourceRoot":"","sources":["../../core/core.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAY,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"core.module.d.ts","sourceRoot":"","sources":["../../core/core.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAY,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsD9D,qBAuDa,UAAU;IACrB,MAAM,CAAC,OAAO,IAAI,mBAAmB,CAAC,UAAU,CAAC;yCADtC,UAAU;0CAAV,UAAU;0CAAV,UAAU;CAkBtB"}
|
package/core/index.d.ts
CHANGED
|
@@ -57,5 +57,6 @@ export * from './color-input/index';
|
|
|
57
57
|
export * from './aggregation/index';
|
|
58
58
|
export * from './preview-feature/index';
|
|
59
59
|
export * from './change-icon/index';
|
|
60
|
+
export * from './query-param-handler/index';
|
|
60
61
|
export * from './asset-property/index';
|
|
61
62
|
//# sourceMappingURL=index.d.ts.map
|
package/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../core/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kCAAkC,CAAC;AACjD,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AA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@
|
|
|
1
1
|
import { FeatureService } from '@c8y/client';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { AppStateService } from '../common';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class FeatureCacheService {
|
|
5
6
|
private featureService;
|
|
7
|
+
private appState;
|
|
6
8
|
private refreshTrigger;
|
|
7
9
|
private features$;
|
|
8
|
-
constructor(featureService: FeatureService);
|
|
10
|
+
constructor(featureService: FeatureService, appState: AppStateService);
|
|
9
11
|
/**
|
|
10
12
|
* Needed for the angularJS implmentation to show/hide some old features.
|
|
11
13
|
* Returns a promise
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-cache.service.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/feature-cache.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAkB,MAAM,aAAa,CAAC;AAC7D,OAAO,
|
|
1
|
+
{"version":3,"file":"feature-cache.service.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/feature-cache.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAkB,MAAM,aAAa,CAAC;AAC7D,OAAO,EAA0C,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1E,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;;AAC5C,qBACa,mBAAmB;IAa5B,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,QAAQ;IAblB,OAAO,CAAC,cAAc,CAAwC;IAC9D,OAAO,CAAC,SAAS,CAQf;gBAGQ,cAAc,EAAE,cAAc,EAC9B,QAAQ,EAAE,eAAe;IAGnC;;;OAGG;IACH,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIrD;;;;OAIG;IACH,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC;IAI/C,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC;IASjD,iBAAiB,IAAI,IAAI;YAIX,YAAY;yCA/Cf,mBAAmB;6CAAnB,mBAAmB;CAwD/B"}
|
|
@@ -5,10 +5,11 @@ export declare class PreviewFeatureButtonComponent implements OnDestroy {
|
|
|
5
5
|
open$: Observable<boolean>;
|
|
6
6
|
hasUnseenFeatures$: Observable<boolean>;
|
|
7
7
|
private readonly previewService;
|
|
8
|
-
private readonly bottomDrawerService;
|
|
9
8
|
private readonly headerService;
|
|
9
|
+
private readonly router;
|
|
10
|
+
private readonly route;
|
|
10
11
|
private destroy$;
|
|
11
|
-
ngOnInit(): void
|
|
12
|
+
ngOnInit(): Promise<void>;
|
|
12
13
|
openPreviewFeature(): Promise<void>;
|
|
13
14
|
ngOnDestroy(): void;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<PreviewFeatureButtonComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-feature-button.component.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,SAAS,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"preview-feature-button.component.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,SAAS,EAAE,MAAM,eAAe,CAAC;AAG7D,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;;AAK3C,qBAMa,6BAA8B,YAAW,SAAS;IAC7D,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC3B,kBAAkB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACxC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA0B;IACzD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAyB;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAChD,OAAO,CAAC,QAAQ,CAAuB;IAEjC,QAAQ;IAKR,kBAAkB;IAUxB,WAAW,IAAI,IAAI;yCAxBR,6BAA6B;2CAA7B,6BAA6B;CA4BzC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ExtensionFactory } from '../common/extension-hooks';
|
|
2
|
+
import { OptionsService } from '../common/options.service';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { PreviewService } from './preview-feature.service';
|
|
5
|
+
import { Permissions } from '../common/permissions.service';
|
|
6
|
+
import { PreviewFeatureComponent } from './preview-feature.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class PreviewFeatureQueryParamDrawerFactory implements ExtensionFactory<any> {
|
|
9
|
+
private options;
|
|
10
|
+
private previewService;
|
|
11
|
+
private permissions;
|
|
12
|
+
protected queryParamConfig: {
|
|
13
|
+
queryParam: string;
|
|
14
|
+
closeOnNavigation: boolean;
|
|
15
|
+
disableClickOutside: boolean;
|
|
16
|
+
component: typeof PreviewFeatureComponent;
|
|
17
|
+
};
|
|
18
|
+
constructor(options: OptionsService, previewService: PreviewService, permissions: Permissions);
|
|
19
|
+
get(): Observable<any[] | any>;
|
|
20
|
+
private shouldShowPreviewFeature$;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreviewFeatureQueryParamDrawerFactory, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PreviewFeatureQueryParamDrawerFactory>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=preview-feature-query-param.factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preview-feature-query-param.factory.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature-query-param.factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAiB,UAAU,EAAE,MAAM,MAAM,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;;AAEtE,qBACa,qCAAsC,YAAW,gBAAgB,CAAC,GAAG,CAAC;IAS/E,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,WAAW;IAVrB,SAAS,CAAC,gBAAgB;;;;;MAKxB;gBAGQ,OAAO,EAAE,cAAc,EACvB,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,WAAW;IAGlC,GAAG,IAAI,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,CAAC;IAY9B,OAAO,CAAC,yBAAyB;yCA1BtB,qCAAqC;6CAArC,qCAAqC;CA+CjD"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { AppStateService, Permissions } from '../common';
|
|
1
2
|
import { PreviewService } from './preview-feature.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class PreviewFeatureShowNotification implements CumulocityServiceRegistry.NotificationServiceProvider {
|
|
4
5
|
private previewService;
|
|
6
|
+
private permissions;
|
|
7
|
+
private appState;
|
|
5
8
|
shouldShowNotification$: import("rxjs").Observable<boolean>;
|
|
6
|
-
constructor(previewService: PreviewService);
|
|
9
|
+
constructor(previewService: PreviewService, permissions: Permissions, appState: AppStateService);
|
|
7
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<PreviewFeatureShowNotification, never>;
|
|
8
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<PreviewFeatureShowNotification>;
|
|
9
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-feature-show-notification.service.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature-show-notification.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;;AAE3D,qBACa,8BACX,YAAW,yBAAyB,CAAC,2BAA2B;
|
|
1
|
+
{"version":3,"file":"preview-feature-show-notification.service.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature-show-notification.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;;AAE3D,qBACa,8BACX,YAAW,yBAAyB,CAAC,2BAA2B;IAgB9D,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,QAAQ;IAhBlB,uBAAuB,qCAWrB;gBAGQ,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,eAAe;yCAnBxB,8BAA8B;6CAA9B,8BAA8B;CAqB1C"}
|
|
@@ -9,6 +9,8 @@ export declare class PreviewFeatureComponent {
|
|
|
9
9
|
private resolveClose;
|
|
10
10
|
private readonly previewFeatureService;
|
|
11
11
|
private readonly markdownToHtmlPipe;
|
|
12
|
+
private readonly router;
|
|
13
|
+
private readonly route;
|
|
12
14
|
features$: Observable<PreviewFeature[]>;
|
|
13
15
|
constructor();
|
|
14
16
|
ngOnInit(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-feature.component.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,IAAI,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAkB,UAAU,EAAE,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"preview-feature.component.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,IAAI,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAkB,UAAU,EAAE,MAAM,MAAM,CAAC;;AAQnE,qBAQa,uBAAuB;IAClC,eAAe,EAAE,cAAc,CAAC;IAChC,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IAC9B,YAAY,EAAE,eAAe,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CACrD;IAC1B,OAAO,CAAC,YAAY,CAAmD;IAEvE,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAA0B;IAChE,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA8B;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAEhD,SAAS,EAAE,UAAU,CAAC,cAAc,EAAE,CAAC,CAAsD;;IAQvF,QAAQ;IAMR,qBAAqB,CAAC,OAAO,EAAE,cAAc;IAK7C,iBAAiB;IAUvB,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;IAInE,QAAQ,CAAC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;IAKpE,KAAK;yCAlDM,uBAAuB;2CAAvB,uBAAuB;CAkEnC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const SHOW_PREVIEW_FEATURES = "showPreviewFeatures";
|
|
4
4
|
export type PreviewFeature = PreviewFeatureCustom | PreviewFeatureDefault;
|
|
5
5
|
export interface PreviewFeatureCustom extends BasePreviewFeature {
|
|
6
6
|
key?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-feature.model.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"preview-feature.model.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,eAAO,MAAM,qBAAqB,wBAAwB,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG,qBAAqB,CAAC;AAC1E,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB;IAC9D,GAAG,CAAC,EAAE,KAAK,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB;IAC/D,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE;QACT,MAAM,CAAC,EAAE,OAAO,CAAC;KAClB,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-feature.providers.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature.providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"preview-feature.providers.d.ts","sourceRoot":"","sources":["../../../core/preview-feature/preview-feature.providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQzC,eAAO,MAAM,yBAAyB,EAAE,QAAQ,EAI/C,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './query-param-modal-handler.service';
|
|
2
|
+
export * from './query-param-bottom-drawer.service';
|
|
3
|
+
export * from './query-param-handler.service';
|
|
4
|
+
export declare const QUERY_PARAM_HANDLER_PROVIDERS: (import("@angular/core").ValueProvider | import("@angular/core").ExistingProvider | import("@angular/core").ClassProvider | import("@angular/core").EnvironmentProviders)[];
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/query-param-handler/index.ts"],"names":[],"mappings":"AAKA,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAE9C,eAAO,MAAM,6BAA6B,6KAOzC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { InjectionToken, Injector } from '@angular/core';
|
|
2
|
+
import { ComponentType } from '@angular/cdk/overlay';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ExtensionFactory, ExtensionPointWithoutStateForPlugins, GenericHookOptions, GenericHookType } from '../common';
|
|
5
|
+
import { BottomDrawerService } from '../bottom-drawer';
|
|
6
|
+
import { QueryParamConfig } from './query-param-handler.service';
|
|
7
|
+
import { PluginsResolveService } from '../plugins';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export interface QueryParamBottomDrawerConfig {
|
|
10
|
+
/**
|
|
11
|
+
* The name of the query parameter to observe.
|
|
12
|
+
*/
|
|
13
|
+
queryParam: string;
|
|
14
|
+
/**
|
|
15
|
+
* Defines whether the drawer should be closed when navigation start is detected. Defaults to <code>true</code>.
|
|
16
|
+
*/
|
|
17
|
+
closeOnNavigation: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Defines whether it should be possible to click outside of the drawer to close the drawer.
|
|
20
|
+
*/
|
|
21
|
+
disableClickOutside: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The component to display in the bottom drawer.
|
|
24
|
+
*/
|
|
25
|
+
component: ComponentType<any>;
|
|
26
|
+
/**
|
|
27
|
+
* The injector to use. If not set, the default root injector will be used.
|
|
28
|
+
*/
|
|
29
|
+
injector?: Injector;
|
|
30
|
+
}
|
|
31
|
+
export declare const HOOK_QUERY_PARAM_BOTTOM_DRAWER: InjectionToken<QueryParamBottomDrawerConfig[]>;
|
|
32
|
+
export declare function hookQueryParamBottomDrawer(config: GenericHookType<QueryParamBottomDrawerConfig>, options?: Partial<GenericHookOptions>): import("@angular/core").ValueProvider | import("@angular/core").ExistingProvider | import("@angular/core").ClassProvider;
|
|
33
|
+
export declare class QueryParamBottomDrawerStateService extends ExtensionPointWithoutStateForPlugins<QueryParamBottomDrawerConfig> {
|
|
34
|
+
constructor(rootInjector: Injector, pluginService: PluginsResolveService);
|
|
35
|
+
protected setupItemsObservable(): Observable<QueryParamBottomDrawerConfig[]>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryParamBottomDrawerStateService, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryParamBottomDrawerStateService>;
|
|
38
|
+
}
|
|
39
|
+
export declare class QueryParamBottomDrawerFactory implements ExtensionFactory<QueryParamConfig> {
|
|
40
|
+
private readonly queryParamBottomDrawerStateService;
|
|
41
|
+
private readonly bottomDrawerService;
|
|
42
|
+
constructor(queryParamBottomDrawerStateService: QueryParamBottomDrawerStateService, bottomDrawerService: BottomDrawerService);
|
|
43
|
+
get(): Observable<QueryParamConfig[]>;
|
|
44
|
+
handleQueryParamBottomDrawer(config: QueryParamBottomDrawerConfig): Promise<void>;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryParamBottomDrawerFactory, never>;
|
|
46
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryParamBottomDrawerFactory>;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=query-param-bottom-drawer.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-param-bottom-drawer.service.d.ts","sourceRoot":"","sources":["../../../core/query-param-handler/query-param-bottom-drawer.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,cAAc,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EACL,gBAAgB,EAChB,oCAAoC,EAEpC,kBAAkB,EAClB,eAAe,EAGhB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;;AAEnD,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,eAAO,MAAM,8BAA8B,gDAE1C,CAAC;AAEF,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,eAAe,CAAC,4BAA4B,CAAC,EACrD,OAAO,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,4HAGtC;AAED,qBAGa,kCAAmC,SAAQ,oCAAoC,CAAC,4BAA4B,CAAC;gBAC5G,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,qBAAqB;IAKxE,SAAS,CAAC,oBAAoB,IAAI,UAAU,CAAC,4BAA4B,EAAE,CAAC;yCANjE,kCAAkC;6CAAlC,kCAAkC;CAe9C;AAED,qBAGa,6BAA8B,YAAW,gBAAgB,CAAC,gBAAgB,CAAC;IAEpF,OAAO,CAAC,QAAQ,CAAC,kCAAkC;IACnD,OAAO,CAAC,QAAQ,CAAC,mBAAmB;gBADnB,kCAAkC,EAAE,kCAAkC,EACtE,mBAAmB,EAAE,mBAAmB;IAG3D,GAAG,IAAI,UAAU,CAAC,gBAAgB,EAAE,CAAC;IAiB/B,4BAA4B,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC;yCAvB5E,6BAA6B;6CAA7B,6BAA6B;CAsCzC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { InjectionToken, Injector } from '@angular/core';
|
|
2
|
+
import { ExtensionPointWithoutStateForPlugins, GenericHookOptions, GenericHookType } from '../common';
|
|
3
|
+
import { PluginsResolveService } from '../plugins';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface QueryParamConfig {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the query parameter to observe.
|
|
10
|
+
*/
|
|
11
|
+
queryParam: string;
|
|
12
|
+
/**
|
|
13
|
+
* This function will be called when the query parameter is present in the URL.
|
|
14
|
+
*/
|
|
15
|
+
trigger: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* The injector to use. If not set, the default root injector will be used.
|
|
18
|
+
*/
|
|
19
|
+
injector?: Injector;
|
|
20
|
+
}
|
|
21
|
+
export declare const HOOK_QUERY_PARAM: InjectionToken<QueryParamConfig[]>;
|
|
22
|
+
export declare function hookQueryParam(config: GenericHookType<QueryParamConfig>, options?: Partial<GenericHookOptions>): import("@angular/core").ValueProvider | import("@angular/core").ExistingProvider | import("@angular/core").ClassProvider;
|
|
23
|
+
export declare class QueryParamHandlerService extends ExtensionPointWithoutStateForPlugins<QueryParamConfig> {
|
|
24
|
+
private router;
|
|
25
|
+
private activatedRoute;
|
|
26
|
+
constructor(rootInjector: Injector, router: Router, pluginService: PluginsResolveService, activatedRoute: ActivatedRoute);
|
|
27
|
+
protected setupItemsObservable(): Observable<QueryParamConfig[]>;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryParamHandlerService, [null, null, null, { optional: true; }]>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryParamHandlerService>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=query-param-handler.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-param-handler.service.d.ts","sourceRoot":"","sources":["../../../core/query-param-handler/query-param-handler.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,cAAc,EACd,QAAQ,EAGT,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,oCAAoC,EAEpC,kBAAkB,EAClB,eAAe,EAGhB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAA8C,UAAU,EAAoB,MAAM,MAAM,CAAC;AAChG,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;;AAEzD,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,oCAA6D,CAAC;AAE3F,wBAAgB,cAAc,CAC5B,MAAM,EAAE,eAAe,CAAC,gBAAgB,CAAC,EACzC,OAAO,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,4HAGtC;AAED,qBAGa,wBAAyB,SAAQ,oCAAoC,CAAC,gBAAgB,CAAC;IAGhG,OAAO,CAAC,MAAM;IAEF,OAAO,CAAC,cAAc;gBAHlC,YAAY,EAAE,QAAQ,EACd,MAAM,EAAE,MAAM,EACtB,aAAa,EAAE,qBAAqB,EAChB,cAAc,EAAE,cAAc;IA0CpD,SAAS,CAAC,oBAAoB,IAAI,UAAU,CAAC,gBAAgB,EAAE,CAAC;yCA/CrD,wBAAwB;6CAAxB,wBAAwB;CAqDpC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { InjectionToken, Injector } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
4
|
+
import { ModalOptions } from 'ngx-bootstrap/modal/modal-options.class';
|
|
5
|
+
import { ComponentType } from '@angular/cdk/overlay';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { ExtensionFactory, ExtensionPointWithoutStateForPlugins, GenericHookOptions, GenericHookType } from '../common';
|
|
8
|
+
import { QueryParamConfig } from './query-param-handler.service';
|
|
9
|
+
import { PluginsResolveService } from '../plugins';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export interface QueryParamModalConfig {
|
|
12
|
+
/**
|
|
13
|
+
* The name of the query parameter to observe.
|
|
14
|
+
*/
|
|
15
|
+
queryParam: string;
|
|
16
|
+
/**
|
|
17
|
+
* The component to display in the modal.
|
|
18
|
+
*/
|
|
19
|
+
component: ComponentType<any>;
|
|
20
|
+
/**
|
|
21
|
+
* Optional configuration settings for the modal.
|
|
22
|
+
*/
|
|
23
|
+
modalConfig?: ModalOptions;
|
|
24
|
+
/**
|
|
25
|
+
* The injector to use. If not set, the default root injector will be used.
|
|
26
|
+
*/
|
|
27
|
+
injector?: Injector;
|
|
28
|
+
}
|
|
29
|
+
export declare const HOOK_QUERY_PARAM_MODAL: InjectionToken<QueryParamModalConfig[]>;
|
|
30
|
+
export declare function hookQueryParamModal(config: GenericHookType<QueryParamModalConfig>, options?: Partial<GenericHookOptions>): import("@angular/core").ValueProvider | import("@angular/core").ExistingProvider | import("@angular/core").ClassProvider;
|
|
31
|
+
/**
|
|
32
|
+
* Service to manage the display of modals based on URL query parameter.
|
|
33
|
+
*
|
|
34
|
+
* This service listens for specific query parameters in the URL and opens corresponding modals when detected.
|
|
35
|
+
* It automatically cleans up the query parameters from the URL when the modal is closed or query parameter value passed as 'false'.
|
|
36
|
+
*/
|
|
37
|
+
export declare class QueryParamModalStateService extends ExtensionPointWithoutStateForPlugins<QueryParamModalConfig> {
|
|
38
|
+
constructor(rootInjector: Injector, pluginService: PluginsResolveService);
|
|
39
|
+
protected setupItemsObservable(): Observable<QueryParamModalConfig[]>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryParamModalStateService, never>;
|
|
41
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryParamModalStateService>;
|
|
42
|
+
}
|
|
43
|
+
export declare class QueryParamModalFactory implements ExtensionFactory<QueryParamConfig> {
|
|
44
|
+
private readonly queryParamModalStateService;
|
|
45
|
+
private readonly bsModalService;
|
|
46
|
+
private readonly router;
|
|
47
|
+
private readonly activatedRoute;
|
|
48
|
+
private modalCloseSubscription;
|
|
49
|
+
constructor(queryParamModalStateService: QueryParamModalStateService, bsModalService: BsModalService, router: Router, activatedRoute: ActivatedRoute);
|
|
50
|
+
get(): Observable<QueryParamConfig[]>;
|
|
51
|
+
/**
|
|
52
|
+
* Handles the display of a modal based on a specific query parameter.
|
|
53
|
+
*
|
|
54
|
+
* @param config - Configuration object specifying the query parameter, component, and optional modal settings.
|
|
55
|
+
* @returns An observable that listens for changes in the query parameter.
|
|
56
|
+
*/
|
|
57
|
+
handleQueryParamModal(config: QueryParamModalConfig): void;
|
|
58
|
+
/**
|
|
59
|
+
* Removes the specified query parameter from the URL.
|
|
60
|
+
*
|
|
61
|
+
* @param paramKey - The key of the query parameter to remove.
|
|
62
|
+
*/
|
|
63
|
+
private removeQueryParam;
|
|
64
|
+
/**
|
|
65
|
+
* Displays a modal with the specified component and configuration.
|
|
66
|
+
*
|
|
67
|
+
* @param component - The component to display in the modal.
|
|
68
|
+
* @param modalConfig - Optional settings for the modal appearance and behavior.
|
|
69
|
+
*/
|
|
70
|
+
private showModal;
|
|
71
|
+
/**
|
|
72
|
+
* Cleans up subscriptions related to modal events.
|
|
73
|
+
* Ensures no memory leaks by unsubscribing from modal close events.
|
|
74
|
+
*/
|
|
75
|
+
private cleanup;
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryParamModalFactory, [null, null, null, { optional: true; }]>;
|
|
77
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryParamModalFactory>;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=query-param-modal-handler.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-param-modal-handler.service.d.ts","sourceRoot":"","sources":["../../../core/query-param-handler/query-param-modal-handler.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,cAAc,EAAE,QAAQ,EAAY,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAgB,MAAM,MAAM,CAAC;AAChD,OAAO,EACL,gBAAgB,EAChB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qB,CAAC,MAAM,EAAE,qBAAqB,GAAG,IAAI;IAS1D;;;;OAIG;IACH,OAAO,CAAC,gBAAgB;IAYxB;;;;;OAKG;IACH,OAAO,CAAC,SAAS;IAIjB;;;OAGG;IACH,OAAO,CAAC,OAAO;yCAzEJ,sBAAsB;6CAAtB,sBAAsB;CA+ElC"}
|
|
@@ -49,10 +49,11 @@ export declare class DatapointExplorerComponent {
|
|
|
49
49
|
interval?: Interval['id'];
|
|
50
50
|
}): void;
|
|
51
51
|
updateTimeRangeOnRealtime(timeRange: Pick<DatapointsGraphWidgetConfig, 'dateFrom' | 'dateTo'>): void;
|
|
52
|
-
createNewReportWithWidget(): void;
|
|
53
|
-
sendAsWidgetToReport(): void;
|
|
54
52
|
updateAlarmsAndEvents(alarmsEventsConfigs: AlarmOrEventExtended[]): void;
|
|
55
53
|
handleDatapointOutOfSync(dpOutOfSync: DatapointsGraphKPIDetails): void;
|
|
54
|
+
createNewReportWithWidget(): Promise<void>;
|
|
55
|
+
sendAsWidgetToReport(): Promise<void>;
|
|
56
|
+
sendAsWidgetToDashboard(): Promise<void>;
|
|
56
57
|
private isAlarm;
|
|
57
58
|
private isEvent;
|
|
58
59
|
private hasActiveAlarms;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datapoint-explorer.component.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/view/datapoint-explorer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,UAAU,EAAqB,MAAM,eAAe,CAAC;AACrF,OAAO,EAKL,+BAA+B,EAKhC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,6BAA6B,EAG9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,mCAAmC,CAAC;AAM3C,OAAO,EAAe,SAAS,EAAc,MAAM,gBAAgB,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"datapoint-explorer.component.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/view/datapoint-explorer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,UAAU,EAAqB,MAAM,eAAe,CAAC;AACrF,OAAO,EAKL,+BAA+B,EAKhC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,6BAA6B,EAG9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,mCAAmC,CAAC;AAM3C,OAAO,EAAe,SAAS,EAAc,MAAM,gBAAgB,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAkB,MAAM,aAAa,CAAC;AAG3E,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAK/D,OAAO,EAEL,YAAY,EACb,MAAM,gDAAgD,CAAC;;AAQxD,qBAqBa,0BAA0B;;IACjB,KAAK,EAAE,UAAU,CAAC;IACtC,MAAM,EAAE,2BAA2B,CAA+C;IAClF,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,+BAA+B,GAAG,SAAS,CAAC;IACpD,MAAM,EAAE,oBAAoB,EAAE,CAAM;IACpC,MAAM,EAAE,oBAAoB,EAAE,CAAM;IACpC,mBAAmB,0CAAiD;IACpE,YAAY,EAAE,WAAW,CAAC;IAC1B,SAAS,EAAE,SAAS,CAAC;IACrB,4BAA4B,UAAQ;IACpC,wBAAwB,UAAQ;IAChC,mBAAmB,UAAS;IAC5B,+BAA+B,UAAS;IACxC,YAAY,UAAS;IACrB,SAAS,EAAE;QACT,QAAQ,EAAE,IAAI,CAAC;QACf,MAAM,EAAE,IAAI,CAAC;QACb,QAAQ,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC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OAAO,CAAC,kBAAkB;IAsB1B,OAAO,CAAC,yBAAyB;IAWjC,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,QAAQ;yCApRL,0BAA0B;2CAA1B,0BAA0B;CA0StC"}
|
|
@@ -2,7 +2,9 @@ import { IManagedObject } from '@c8y/client';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class DataExplorerService {
|
|
4
4
|
private readonly inventory;
|
|
5
|
+
private readonly contextDashboardService;
|
|
5
6
|
fetchReportDashboard(reportId: string): Promise<IManagedObject>;
|
|
7
|
+
fetchContextDashboard(dashboardId: string, contextAsset: IManagedObject): Promise<IManagedObject>;
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataExplorerService, never>;
|
|
7
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<DataExplorerService>;
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datapoint-explorer.service.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/view/datapoint-explorer.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAoB,MAAM,aAAa,CAAC;;
|
|
1
|
+
{"version":3,"file":"datapoint-explorer.service.d.ts","sourceRoot":"","sources":["../../../datapoint-explorer/view/datapoint-explorer.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAoB,MAAM,aAAa,CAAC;;AAO/D,qBAGa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA4B;IACtD,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAmC;IAErE,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAS/D,qBAAqB,CACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,cAAc,GAC3B,OAAO,CAAC,cAAc,CAAC;yCAhBf,mBAAmB;6CAAnB,mBAAmB;CAsB/B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ModalLabels } from '@c8y/ngx-components';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { IIdentified, IManagedObject } from '@c8y/client';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SendAsWidgetToDashboardModal {
|
|
6
|
+
contextAsset: IIdentified;
|
|
7
|
+
dashboards: IManagedObject[];
|
|
8
|
+
numberOfSelectedDashboards$: Observable<number>;
|
|
9
|
+
form: ReturnType<typeof this.initForm>;
|
|
10
|
+
result: Promise<Partial<{
|
|
11
|
+
[x: string]: boolean;
|
|
12
|
+
}>>;
|
|
13
|
+
labels: ModalLabels;
|
|
14
|
+
private contextDashboardService;
|
|
15
|
+
private _resolve;
|
|
16
|
+
private _reject;
|
|
17
|
+
ngOnInit(): Promise<void>;
|
|
18
|
+
save(): void;
|
|
19
|
+
cancel(): void;
|
|
20
|
+
private initForm;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SendAsWidgetToDashboardModal, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SendAsWidgetToDashboardModal, "c8y-send-as-widget-to-dashboard-modal", never, { "contextAsset": { "alias": "contextAsset"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=send-as-widget-to-dashboard-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-as-widget-to-dashboard-modal.component.d.ts","sourceRoot":"","sources":["../../../../datapoint-explorer/view/send-as-widget-to-dashboard-modal/send-as-widget-to-dashboard-modal.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAuB,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAa,MAAM,MAAM,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;;AAO1D,qBAMa,4BAA4B;IAC9B,YAAY,EAAE,WAAW,CAAC;IACnC,UAAU,EAAE,cAAc,EAAE,CAAM;IAClC,2BAA2B,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAChD,IAAI,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC;IACvC,MAAM;;QAGH;IACH,MAAM,EAAE,WAAW,CAAsD;IACzE,OAAO,CAAC,uBAAuB,CAAmC;IAClE,OAAO,CAAC,QAAQ,CAA6D;IAC7E,OAAO,CAAC,OAAO,CAAyB;IAElC,QAAQ;IAmBd,IAAI;IAIJ,MAAM;IAIN,OAAO,CAAC,QAAQ;yCAzCL,4BAA4B;2CAA5B,4BAA4B;CAmDxC"}
|
|
@@ -18,6 +18,6 @@ export declare class SendAsWidgetToReportModal {
|
|
|
18
18
|
cancel(): void;
|
|
19
19
|
private initForm;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SendAsWidgetToReportModal, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SendAsWidgetToReportModal, "c8y-
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SendAsWidgetToReportModal, "c8y-send-as-widget-to-report-modal", never, {}, {}, never, never, true, never>;
|
|
22
22
|
}
|
|
23
23
|
//# sourceMappingURL=send-as-widget-to-report-modal.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charts.component.d.ts","sourceRoot":"","sources":["../../echart/charts.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,YAAY,EAGZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAgB,MAAM,SAAS,CAAC;AACpE,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAE3B,oBAAoB,EAGrB,MAAM,UAAU,CAAC;AAClB,OAAO,EAA4C,UAAU,EAAM,MAAM,MAAM,CAAC;AAGh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A+B,CAAC,SAAS,EAAE,yBAAyB,GAAG,IAAI;IAc3E;;;OAGG;IACH,gCAAgC,CAC9B,YAAY,EAAE,oBAAoB,GAAG,oBAAoB,GACxD,IAAI;IAiBP,OAAO,CAAC,sBAAsB;IAe9B,OAAO,CAAC,iBAAiB;IA0BzB,OAAO,CAAC,iBAAiB;YA8BX,mBAAmB;IA6BjC,OAAO,CAAC,uBAAuB;YAyBjB,eAAe;YAoBf,eAAe;IAgF7B,OAAO,CAAC,yBAAyB;IA4CjC,OAAO,CAAC,qBAAqB;IAY7B,OAAO,CAAC,YAAY;yCA7kBT,eAAe;2CAAf,eAAe;CAymB3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"y-axis.service.d.ts","sourceRoot":"","sources":["../../../echart/services/y-axis.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAqB,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AAEtD,qBACa,YAAY;IAIX,OAAO,CAAC,eAAe;IAHnC,aAAa,SAAM;IACnB,OAAO,CAAC,+BAA+B,CAAS;gBAE5B,eAAe,EAAE,eAAe;IAIpD,QAAQ,CACN,oBAAoB,EAAE,YAAY,EAAE,EACpC,YAAY,EAAE,YAAY,GACzB,WAAW,EAAE,GAAG,WAAW;
|
|
1
|
+
{"version":3,"file":"y-axis.service.d.ts","sourceRoot":"","sources":["../../../echart/services/y-axis.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAqB,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AAEtD,qBACa,YAAY;IAIX,OAAO,CAAC,eAAe;IAHnC,aAAa,SAAM;IACnB,OAAO,CAAC,+BAA+B,CAAS;gBAE5B,eAAe,EAAE,eAAe;IAIpD,QAAQ,CACN,oBAAoB,EAAE,YAAY,EAAE,EACpC,YAAY,EAAE,YAAY,GACzB,WAAW,EAAE,GAAG,WAAW;IAoJ9B,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,iBAAiB;IAsBzB,OAAO,CAAC,gBAAgB;yCA9Lb,YAAY;6CAAZ,YAAY;CA+MxB"}
|
|
@@ -2490,5 +2490,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
2490
2490
|
* Generated bundle index. Do not edit.
|
|
2491
2491
|
*/
|
|
2492
2492
|
|
|
2493
|
-
export { ALARMS_MODULE_CONFIG, ALARMS_PATH, ALARM_DEFAULT_PROPERTIES, ALARM_SEVERITY_ICON, ALARM_SEVERITY_ICON_MAP, ALARM_STATUS_ICON, AlarmDetailsButtonPipe, AlarmDetailsButtonService, AlarmDetailsComponent, AlarmDetailsService, AlarmEmptyComponent, AlarmIconMap, AlarmInfoComponent, AlarmListIndicatorPipe, AlarmListIndicatorService, AlarmSeveritiesToTitlePipe, AlarmSeverityToIconPipe, AlarmSeverityToLabelPipe, AlarmStatusToIconPipe, AlarmStatusToLabelPipe, AlarmsActivityTrackerService, AlarmsComponent, AlarmsDateFilterComponent, AlarmsFilterComponent, AlarmsIconComponent, AlarmsIntervalRefreshComponent, AlarmsListComponent, AlarmsModule, AlarmsViewService, AuditChangesMessagePipe, DEFAULT_ALARM_COUNTS, DEFAULT_SEVERITY_VALUES, DEFAULT_STATUS_VALUES, HELP_ICON, INTERVALS_EXTENDED, INTERVAL_TITLES_EXTENDED, Ng1SmartRulesUpgradeService, PRODUCT_EXPERIENCE_ALARMS, SmartRulesUpgradeServiceFactory, THROTTLE_REALTIME_REFRESH, getChildrenForViewContext, getViewContextRoutes, smartRulesUpgradeServiceProvider };
|
|
2493
|
+
export { ALARMS_MODULE_CONFIG, ALARMS_PATH, ALARM_DEFAULT_PROPERTIES, ALARM_SEVERITY_ICON, ALARM_SEVERITY_ICON_MAP, ALARM_STATUS_ICON, AlarmDetailsButtonPipe, AlarmDetailsButtonService, AlarmDetailsComponent, AlarmDetailsService, AlarmEmptyComponent, AlarmIconMap, AlarmInfoComponent, AlarmListIndicatorPipe, AlarmListIndicatorService, AlarmSeveritiesToTitlePipe, AlarmSeverityToIconPipe, AlarmSeverityToLabelPipe, AlarmStatusToIconPipe, AlarmStatusToLabelPipe, AlarmsActivityTrackerService, AlarmsComponent, AlarmsDateFilterComponent, AlarmsFilterComponent, AlarmsIconComponent, AlarmsIntervalRefreshComponent, AlarmsListComponent, AlarmsModule, AlarmsTypeFilterComponent, AlarmsViewService, AuditChangesMessagePipe, DEFAULT_ALARM_COUNTS, DEFAULT_SEVERITY_VALUES, DEFAULT_STATUS_VALUES, HELP_ICON, INTERVALS_EXTENDED, INTERVAL_TITLES_EXTENDED, Ng1SmartRulesUpgradeService, PRODUCT_EXPERIENCE_ALARMS, SmartRulesUpgradeServiceFactory, THROTTLE_REALTIME_REFRESH, getChildrenForViewContext, getViewContextRoutes, smartRulesUpgradeServiceProvider };
|
|
2494
2494
|
//# sourceMappingURL=c8y-ngx-components-alarms.mjs.map
|