@c8y/ngx-components 1023.70.0 → 1023.75.1
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/asset-properties/index.d.ts +19 -1
- package/asset-properties/index.d.ts.map +1 -1
- package/cockpit-config/index.d.ts +4 -3
- package/cockpit-config/index.d.ts.map +1 -1
- package/context-dashboard/index.d.ts +202 -4
- package/context-dashboard/index.d.ts.map +1 -1
- package/datapoints-export-selector/index.d.ts +8 -1
- package/datapoints-export-selector/index.d.ts.map +1 -1
- package/device-profile/index.d.ts +8 -1
- package/device-profile/index.d.ts.map +1 -1
- package/events/cockpit/index.d.ts +6 -0
- package/events/cockpit/index.d.ts.map +1 -0
- package/events/devicemanagement/index.d.ts +6 -0
- package/events/devicemanagement/index.d.ts.map +1 -0
- package/events/events-timeline/index.d.ts +11 -10
- package/events/events-timeline/index.d.ts.map +1 -1
- package/events/index.d.ts +363 -5
- package/events/index.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs +1 -1
- package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-asset-properties.mjs +2 -2
- package/fesm2022/c8y-ngx-components-asset-properties.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs +1 -1
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-shared-lazy-add-branding-modal.mjs +1 -1
- package/fesm2022/c8y-ngx-components-branding-shared-lazy-add-branding-modal.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-shared-lazy.mjs +2 -2
- package/fesm2022/c8y-ngx-components-branding-shared-lazy.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs +8 -11
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs.map +1 -1
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-alarm-count-config.component-CPLDClTp.mjs → c8y-ngx-components-computed-asset-properties-alarm-count-config.component-DX9Rgjgl.mjs} +2 -2
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-alarm-count-config.component-CPLDClTp.mjs.map → c8y-ngx-components-computed-asset-properties-alarm-count-config.component-DX9Rgjgl.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-c8y-ngx-components-computed-asset-properties-9be_iMQg.mjs → c8y-ngx-components-computed-asset-properties-c8y-ngx-components-computed-asset-properties-CRpLJ5H7.mjs} +8 -8
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-c8y-ngx-components-computed-asset-properties-9be_iMQg.mjs.map → c8y-ngx-components-computed-asset-properties-c8y-ngx-components-computed-asset-properties-CRpLJ5H7.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-configuration-snapshot-config.component-B2em01_W.mjs → c8y-ngx-components-computed-asset-properties-configuration-snapshot-config.component-2rDsrxcs.mjs} +2 -2
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-configuration-snapshot-config.component-B2em01_W.mjs.map → c8y-ngx-components-computed-asset-properties-configuration-snapshot-config.component-2rDsrxcs.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-event-count-config.component-CQuGa1RI.mjs → c8y-ngx-components-computed-asset-properties-event-count-config.component-BJNoqWZf.mjs} +2 -2
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-event-count-config.component-CQuGa1RI.mjs.map → c8y-ngx-components-computed-asset-properties-event-count-config.component-BJNoqWZf.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-fieldbus-item-status-config.component-CkmurxJv.mjs → c8y-ngx-components-computed-asset-properties-fieldbus-item-status-config.component-DYac6foX.mjs} +3 -3
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-fieldbus-item-status-config.component-CkmurxJv.mjs.map → c8y-ngx-components-computed-asset-properties-fieldbus-item-status-config.component-DYac6foX.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-last-measurement-config.component-CTK9zNUh.mjs → c8y-ngx-components-computed-asset-properties-last-measurement-config.component-3yTe6lIr.mjs} +3 -3
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-last-measurement-config.component-CTK9zNUh.mjs.map → c8y-ngx-components-computed-asset-properties-last-measurement-config.component-3yTe6lIr.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-computed-asset-properties.mjs +1 -1
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-DsCDppJx.mjs → c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-C7yXSDYC.mjs} +3 -3
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-DsCDppJx.mjs.map → c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-C7yXSDYC.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-general-settings.component-RdLW5nde.mjs → c8y-ngx-components-context-dashboard-dashboard-general-settings.component-w8N16Z3t.mjs} +4 -4
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-general-settings.component-RdLW5nde.mjs.map → c8y-ngx-components-context-dashboard-dashboard-general-settings.component-w8N16Z3t.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs +561 -21
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +2 -2
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-library-details.mjs +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-library-details.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs +41 -8
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-profile.mjs +38 -12
- package/fesm2022/c8y-ngx-components-device-profile.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-shell.mjs +1 -1
- package/fesm2022/c8y-ngx-components-device-shell.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-license-confirm.mjs +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-license-confirm.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-events-cockpit.mjs +54 -0
- package/fesm2022/c8y-ngx-components-events-cockpit.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-events-devicemanagement.mjs +79 -0
- package/fesm2022/c8y-ngx-components-events-devicemanagement.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-events-events-timeline.mjs +30 -20
- package/fesm2022/c8y-ngx-components-events-events-timeline.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-events.mjs +1080 -4
- package/fesm2022/c8y-ngx-components-events.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-file-preview.mjs +48 -41
- package/fesm2022/c8y-ngx-components-file-preview.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-files-repository.mjs +1 -1
- package/fesm2022/c8y-ngx-components-files-repository.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-global-context.mjs +68 -34
- package/fesm2022/c8y-ngx-components-global-context.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-interval-picker.mjs +3 -3
- package/fesm2022/c8y-ngx-components-interval-picker.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-location.mjs +1 -1
- package/fesm2022/c8y-ngx-components-location.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operation-picker.mjs +1 -1
- package/fesm2022/c8y-ngx-components-operation-picker.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-operations-timeline.mjs +5 -2
- package/fesm2022/c8y-ngx-components-operations-operations-timeline.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-device-profile.mjs +1 -1
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-device-profile.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-software.mjs +1 -1
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-software.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-protocol-lpwan.mjs +5 -5
- package/fesm2022/c8y-ngx-components-protocol-lpwan.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-protocol-opcua.mjs +2 -2
- package/fesm2022/c8y-ngx-components-protocol-opcua.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-shared.mjs +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-ssh-remote-access-ssh-endpoint-modal.mjs +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-ssh-remote-access-ssh-endpoint-modal.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-vnc-remote-access-vnc-endpoint-modal.mjs +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-vnc-remote-access-vnc-endpoint-modal.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-vnc-vnc-viewer.mjs +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-vnc-vnc-viewer.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-repository-firmware.mjs +1 -1
- package/fesm2022/c8y-ngx-components-repository-firmware.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-static-assets-modal.mjs +1 -1
- package/fesm2022/c8y-ngx-components-static-assets-modal.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-time-context.mjs +1 -1
- package/fesm2022/c8y-ngx-components-time-context.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-translation-editor-lazy.mjs +1 -1
- package/fesm2022/c8y-ngx-components-translation-editor-lazy.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-event-list.mjs +39 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-event-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs +76 -4
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-events.mjs +236 -0
- package/fesm2022/c8y-ngx-components-widgets-implementations-events.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs +271 -31
- package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-image.mjs +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-image.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-info-gauge.mjs +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-info-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-kpi.mjs +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-kpi.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-linear-gauge.mjs +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-linear-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +257 -31
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/file-preview/index.d.ts +7 -6
- package/file-preview/index.d.ts.map +1 -1
- package/global-context/index.d.ts +3 -0
- package/global-context/index.d.ts.map +1 -1
- package/index.d.ts +108 -12
- package/index.d.ts.map +1 -1
- package/locales/de.po +205 -38
- package/locales/es.po +204 -37
- package/locales/fr.po +204 -37
- package/locales/ja_JP.po +204 -38
- package/locales/ko.po +205 -38
- package/locales/locales.pot +117 -3
- package/locales/nl.po +205 -38
- package/locales/pl.po +205 -38
- package/locales/pt_BR.po +204 -37
- package/locales/zh_CN.po +205 -38
- package/locales/zh_TW.po +205 -38
- package/operations/operations-timeline/index.d.ts +3 -2
- package/operations/operations-timeline/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/widgets/definitions/event-list/index.d.ts +44 -1
- package/widgets/definitions/event-list/index.d.ts.map +1 -1
- package/widgets/implementations/alarms/index.d.ts +2 -0
- package/widgets/implementations/alarms/index.d.ts.map +1 -1
- package/widgets/implementations/events/index.d.ts +89 -0
- package/widgets/implementations/events/index.d.ts.map +1 -0
- package/widgets/implementations/html-widget/index.d.ts +69 -9
- package/widgets/implementations/html-widget/index.d.ts.map +1 -1
|
@@ -711,6 +711,24 @@ declare class AssetPropertySelectorDrawerComponent {
|
|
|
711
711
|
static ɵcmp: i0.ɵɵComponentDeclaration<AssetPropertySelectorDrawerComponent, "c8y-asset-property-selector-drawer-component", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
712
712
|
}
|
|
713
713
|
|
|
714
|
+
/**
|
|
715
|
+
* Formats the value of an asset property.
|
|
716
|
+
* If the property is complex, it will be stringified.
|
|
717
|
+
* If the property has a keyPath, it will be used to retrieve the value from the asset.
|
|
718
|
+
* Otherwise, the value will be taken directly from the asset.
|
|
719
|
+
* If the value is null or undefined, a dash ('-') will be returned.
|
|
720
|
+
*/
|
|
721
|
+
declare class AssetPropertyValuePipe {
|
|
722
|
+
private assetPropertiesService;
|
|
723
|
+
private computedPropertiesService;
|
|
724
|
+
private injector;
|
|
725
|
+
transform(property: AssetPropertyType, context: ComputedPropertyContextValue): Promise<string> | Observable<string>;
|
|
726
|
+
private formatPropertyValue;
|
|
727
|
+
private getCallbackComputedPropertyValue;
|
|
728
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertyValuePipe, never>;
|
|
729
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AssetPropertyValuePipe, "c8yAssetPropertyValue", true>;
|
|
730
|
+
}
|
|
731
|
+
|
|
714
732
|
declare const HOOK_COMPUTED_PROPERTY: InjectionToken<ComputedPropertyDefinition[]>;
|
|
715
733
|
declare function hookComputedProperty(property: GenericHookType<ComputedPropertyDefinition>, options?: Partial<GenericHookOptions>): i0.ValueProvider | i0.ClassProvider | i0.ExistingProvider;
|
|
716
734
|
declare class ComputedPropertiesService extends ExtensionPointForPlugins<ComputedPropertyDefinition> {
|
|
@@ -951,6 +969,6 @@ declare class AssetPropertySelectorComponent implements OnInit, ControlValueAcce
|
|
|
951
969
|
static ɵcmp: i0.ɵɵComponentDeclaration<AssetPropertySelectorComponent, "c8y-asset-property-selector", never, { "contextAsset": { "alias": "contextAsset"; "required": false; }; "config": { "alias": "config"; "required": false; }; "extraProperties": { "alias": "extraProperties"; "required": false; }; "allowChangingContext": { "alias": "allowChangingContext"; "required": false; }; "allowPropertiesFromMultipleAssets": { "alias": "allowPropertiesFromMultipleAssets"; "required": false; }; "hideSelection": { "alias": "hideSelection"; "required": false; }; "allowSearch": { "alias": "allowSearch"; "required": false; }; }, {}, never, never, true, never>;
|
|
952
970
|
}
|
|
953
971
|
|
|
954
|
-
export { AssetPropertiesService, AssetPropertyActionDirective, AssetPropertyListComponent, AssetPropertySelectorComponent, AssetPropertySelectorDrawerComponent, AssetPropertyTabsComponent, ComputedPropertiesService, CustomPropertiesDrawerService, HOOK_COMPUTED_PROPERTY, RESULT_TYPES, defaultAssetProperties, defaultAssetPropertyListConfig, hookComputedProperty };
|
|
972
|
+
export { AssetPropertiesService, AssetPropertyActionDirective, AssetPropertyListComponent, AssetPropertySelectorComponent, AssetPropertySelectorDrawerComponent, AssetPropertyTabsComponent, AssetPropertyValuePipe, ComputedPropertiesService, CustomPropertiesDrawerService, HOOK_COMPUTED_PROPERTY, RESULT_TYPES, defaultAssetProperties, defaultAssetPropertyListConfig, hookComputedProperty };
|
|
955
973
|
export type { AssetPropertyListConfig, AssetPropertyTab, AssetPropertyType, BaseProperty, ComputedPropertyComponent, ComputedPropertyContextType, ComputedPropertyContextValue, ComputedPropertyDefinition, HiddenTabs, NestedPropertyFields, ValueCallbackMetadata };
|
|
956
974
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../asset-properties/asset-properties.model.ts","../../asset-properties/asset-properties.service.ts","../../asset-properties/custom-properties-drawer.service.ts","../../asset-properties/asset-property-list/tree-data-source.ts","../../asset-properties/asset-property-list/asset-property-action.directive.ts","../../asset-properties/asset-property-list/asset-property-list.component.ts","../../asset-properties/asset-property-selector-drawer/asset-property-selector-drawer.component.ts","../../asset-properties/computed-properties.service.ts","../../asset-properties/asset-property-tabs/asset-property-tabs.component.ts","../../asset-properties/asset-property-selector/asset-property-selector.component.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;AAMA;AACE;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACD;AAEK;AACJ;;;;AAIG;AACH;AACA;;;;;AAKG;AACH;;AAGI;AACA;AAGN;;;;;;AAaI;;;;;AAME;;;;AAUE;;;;;AAMD;AAGD;AACJ;;;AAGG;;AAEH;;A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;AAkEH;;;;;AAKG;AACH;AAkBA;;;;;AAKG;AACG;AAaN;;;AAGG;;;AAsDH;AAIA;;;;AAIG;AACH;AAOA;;;;AAIG;AACH;AAIA;;;;AAIG;AACH;AAWA;;;;AAIG;AACH;AAQA;;;AAGG;AACH;AAcA;;;AAGG;AACH;AAiBA;;;;AAIG;AACH;AAsBA;;;;AAIG;AACH;AAyBA;;AAEG;AACH;AAIA;;AAEG;AACH;AAKA;AAwBA;;AAEG;AACH;AAUA;;;;AAIG;AACH;AAOA;;;;AAIG;AACH;AAWA;;AAEG;AACH;AAaA;;AAEG;AACH;AASA;;AAEG;AACH;AASA;;;;AAIG;;AAgDH;AA+CA;;AAEG;;AAQH;;;;AAIG;AACH;AAcA;;;;;AAKG;AACH;AAWA;;AAEG;AACH;AAeA;;AAEG;AACH;AAsDA;;AAEG;AACH;AAgCA;;AAEG;AACH;AAoCA;;;AAGG;AACH;AAqBA;;AAEG;AACH;AAiBA;;;;AAIG;AACH;AAsBA;;;AAGG;AACH;AAuDA;;;;AAIG;AACH;;;AAOD;;AC/kCD;;;AAGG;AACH;AAUE;;AAEG;AACM;AACT;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;AACH;AACA;;AAEK;AACL;AACA;;AAEG;AACH;AACA;;AAEG;AACH;AAEA;;AAEG;AACH;AACA;;AAEG;AACH;AAIA;;AAEG;;AAEH;;AAEG;;AAGH;AAIA;;;AAGG;AACH;AAIA;;AAEG;AACH;AAKA;;AAEG;AACH;AAKA;;;AAGG;AACH;;;AAKD;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../asset-properties/asset-properties.model.ts","../../asset-properties/asset-properties.service.ts","../../asset-properties/custom-properties-drawer.service.ts","../../asset-properties/asset-property-list/tree-data-source.ts","../../asset-properties/asset-property-list/asset-property-action.directive.ts","../../asset-properties/asset-property-list/asset-property-list.component.ts","../../asset-properties/asset-property-selector-drawer/asset-property-selector-drawer.component.ts","../../asset-properties/asset-property-list/asset-property-value.pipe.ts","../../asset-properties/computed-properties.service.ts","../../asset-properties/asset-property-tabs/asset-property-tabs.component.ts","../../asset-properties/asset-property-selector/asset-property-selector.component.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;AAMA;AACE;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACD;AAEK;AACJ;;;;AAIG;AACH;AACA;;;;;AAKG;AACH;;AAGI;AACA;AAGN;;;;;;AAaI;;;;;AAME;;;;AAUE;;;;;AAMD;AAGD;AACJ;;;AAGG;;AAEH;;AAEG;;;AAIC;AACJ;;AAEG;AACH;AACA;;;AAGG;;AAEH;;;;;;AAMG;;AAEH;;;;;AAKG;AACH;AACA;;;AAGG;;AAEH;;AAEG;;AAEH;;;AAGG;;AAEH;;;;AAIG;AACH;AACA;;AAEG;;AAEH;;;;;AAKG;AACH;AACA;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;;;AAIL;AAaA;AAwnBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBE;AACD;AAEK;;;;AAIL;;AAIK;;;;;AAEA;;AC9yBN;;AAEG;AACH;AAIE;AAgBA;;;;;;;;AAUA;;;;;;AAMG;AACG;AA6BN;;;;;;AAMG;;AAkCH;;;;AAIG;;AAcH;;;;AAIG;;AAKH;;;;AAIG;;AAKH;;;;AAIG;;AAoBH;;;;AAIG;AACH;;;;AAIC;AAwBD;;;;AAIG;AACH;AAOA;;;;;AAKG;AACG;AAcN;;;;;;AAMG;AACH;AAgBA;;;;AAIG;AACG;;;;;AA2CN;AAYA;AAoCA;AAIA;AAqCA;AASA;AAaA;;;;AAIG;AACH;;;AAuCD;;ACtdD;;AAEG;AACH;;AAMQ;;AAEiC;;;AAiBxC;;;;;;;;ACxBC;;AAEG;;AAEJ;AAED;;;AAOE;AAIA;AAIA;AAIA;AAGD;;ACpCD;AAMW;AACA;AACA;AAFA;;;AAIV;;ACqCD;;AAEG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;AAEG;AACH;AAIA;;AAEG;;AAEH;;AAEG;;AAGH;AAIA;;;AAGG;AACH;AAIA;;AAEG;AACH;AAKA;;AAEG;AACH;AAKA;;;AAGG;AACH;;;AAKD;;AC7GD;;;;;;AAMG;AACH;;;;AASE;AAwBA;AAOA;;;AAmBD;;AC3CD;AAIA;AAOA;AAQI;;;AAOF;;;;AAIG;AACH;;;;AA0CA;AAoBA;;;AAOD;;AChGD;;;AAGG;AACH;AAkBE;;AAEG;;AAEH;;AAEG;;AAUH;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;AACM;AACT;;AAEG;AACM;AAET;;AAEG;AACO;AAEV;AAKA;AACA;;AAGA;AAGA;;AAKA;AAGA;;AAKA;AAGA;;;AAMA;AACA;AACA;;;;;;;;AAsBA;AACA;;;;;;;AAwDA;;;AAGG;AACH;;;AAgCA;;;;;AA2GA;AAWA;;AAEG;AACH;AAcA;;AAEG;AACH;AAkDA;;;;AAIG;AACH;AAQA;;;AASD;;AC5aD;;;AAGG;AACH;AA4BE;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;AACM;AACT;;AAEG;AACM;AACT;;AAEG;AACM;AACT;;AAEG;AACM;AAET;;AAEG;;AAEH;;AAEG;AACH;;;;;;;;AAWA;AAUA;;AAEG;AACH;AAIA;;AAEG;;AAKH;;AAEG;AACH;AAIA;;;AAGG;;AAcH;;;AAGG;AACH;AASA;;;AAGG;AACH;AAMA;;;AAGG;;AAaH;;;AAGG;AACH;AAOA;;AAEG;AACH;AAKA;;AAEG;AACH;AAMA;;AAEG;AACH;AAOA;;;;AAIG;;AAoFH;;;;;AAKG;AACH;AAmBA;;;;;AAKG;;;;AAaJ;;;"}
|
|
@@ -31,6 +31,7 @@ interface CockpitConfig {
|
|
|
31
31
|
rootNodes: CockpitConfigRootNode[];
|
|
32
32
|
features: {
|
|
33
33
|
alarms: boolean;
|
|
34
|
+
events: boolean;
|
|
34
35
|
dataExplorer: boolean;
|
|
35
36
|
groups: boolean;
|
|
36
37
|
reports: boolean;
|
|
@@ -222,11 +223,11 @@ declare class CockpitSetupStep4Component extends CockpitSetupStep {
|
|
|
222
223
|
}
|
|
223
224
|
|
|
224
225
|
declare class FeatureConfigComponent {
|
|
225
|
-
config: CockpitConfig
|
|
226
|
-
onUpdate:
|
|
226
|
+
config: i0.InputSignal<CockpitConfig>;
|
|
227
|
+
onUpdate: i0.OutputEmitterRef<void>;
|
|
227
228
|
updateFeatures(): void;
|
|
228
229
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureConfigComponent, never>;
|
|
229
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FeatureConfigComponent, "c8y-feature-config", never, { "config": { "alias": "config"; "required":
|
|
230
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeatureConfigComponent, "c8y-feature-config", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; }, { "onUpdate": "onUpdate"; }, never, never, true, never>;
|
|
230
231
|
}
|
|
231
232
|
|
|
232
233
|
declare class RootNodeConfigComponent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../cockpit-config/cockpit-config.guard.ts","../../cockpit-config/cockpit-config.model.ts","../../cockpit-config/cockpit-config.service.ts","../../cockpit-config/cockpit-configuration.component.ts","../../cockpit-config/setup/cockpit-setup-step.ts","../../cockpit-config/setup/cockpit-setup-step1.component.ts","../../cockpit-config/setup/cockpit-setup-step2.component.ts","../../cockpit-config/setup/cockpit-setup-step3.component.ts","../../cockpit-config/setup/cockpit-setup-step4.component.ts","../../cockpit-config/feature-config.component.ts","../../cockpit-config/root-node-config.component.ts","../../cockpit-config/home-dashboard-config.component.ts","../../cockpit-config/misc-config.component.ts","../../cockpit-config/setup/cockpit-setup-stepper-buttons.component.ts","../../cockpit-config/cockpit-config.module.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;AAWA;AAaI;AACA;AACA;AAXF;;AAcA;AAOA;;;AAMD;;AC1CD;AACA;;;AAIE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../cockpit-config/cockpit-config.guard.ts","../../cockpit-config/cockpit-config.model.ts","../../cockpit-config/cockpit-config.service.ts","../../cockpit-config/cockpit-configuration.component.ts","../../cockpit-config/setup/cockpit-setup-step.ts","../../cockpit-config/setup/cockpit-setup-step1.component.ts","../../cockpit-config/setup/cockpit-setup-step2.component.ts","../../cockpit-config/setup/cockpit-setup-step3.component.ts","../../cockpit-config/setup/cockpit-setup-step4.component.ts","../../cockpit-config/feature-config.component.ts","../../cockpit-config/root-node-config.component.ts","../../cockpit-config/home-dashboard-config.component.ts","../../cockpit-config/misc-config.component.ts","../../cockpit-config/setup/cockpit-setup-stepper-buttons.component.ts","../../cockpit-config/cockpit-config.module.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;AAWA;AAaI;AACA;AACA;AAXF;;AAcA;AAOA;;;AAMD;;AC1CD;AACA;;;AAIE;;;;;;;;;;;;;AAaE;;;;;AAKF;;;;;;AAMD;AAED;;;;;AA8BC;AAED;AACE;;AAEG;AACH;AACA;;AAEG;AACH;AACA;;AAEG;AACH;AACD;AAED;;ACvDA;AAmBI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACmD;;;;AAlBrD;AAEA;AAOU;;AA8BV;;;AAGG;;AAOH;;;AAGG;;;;;;AAoEH;AASA;AAWA;AAmBA;AAIA;AAcA;AAWA;;;AAeD;;AClND;AAiCI;AACA;AACA;AAVF;;AAEG;;AAGH;;AAQA;;AAEG;;AAKH;;AAEG;;AAUH;;AAEG;AACH;AAQA;;AAEG;;AAMH;;AAEG;;;;AAOJ;;ACzGD;AAKW;;;;;;;;AAHT;;;;AA+BD;;AClBD;AAkBW;;;;;;;AAHT;;AAeA;;;AAGD;;ACtCD;AAaW;;;;;;;;;;AAUV;;ACvBD;AAaW;;;;;;;;;;AAUV;;ACvBD;AAaW;;;;;;;;;;AAUV;;AC1BD;AAeE;AACA;AAEA;;;AAGD;;ACjBD;;AAsBW;AAGT;AAEA;;;AAGG;;;;AASJ;;ACzCD;AAiBc;;AARZ;;AAEG;;AAGH;;AAEG;AACiB;AAEpB;;AAEG;AACH;AAwBA;;AAEG;;;;AAUJ;;ACpED;;;;AAQC;;ACTD;AAMW;AACC;AACA;;;AACX;;ACiBD;AA6Dc;AAAQ;;;;AAGrB;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _c8y_ngx_components from '@c8y/ngx-components';
|
|
2
|
-
import { TabsService, ExtensionFactory, Tab, ViewContext, ContextData,
|
|
2
|
+
import { TabsService, ExtensionFactory, Tab, ViewContext, ContextData, WidgetSettings, WidgetDisplaySettings, Widget, DynamicComponentDefinition, Route, TabWithTemplate, ModalService, NavigatorService, Permissions, AlertService, DynamicComponentService, GroupService, OptionsService, AppStateService, ContextRouteService, GainsightService, BreadcrumbItem, WidgetsDashboardComponent, DashboardCopyPermission, BottomDrawerService, ActionBarService, DashboardChildChange, DashboardChange, RevertChangeType, WidgetChange, GenericHookType, GenericHookOptions, ExtensionPointForPlugins, PluginsResolveService, DynamicComponentComponent, WIDGET_CONFIGURATION_GRID_SIZE, BottomDrawerRef, ActionBarFactory, PreviewService, ClipboardService } from '@c8y/ngx-components';
|
|
3
3
|
import * as i8 from '@angular/router';
|
|
4
4
|
import { Router, ActivatedRoute, ActivatedRouteSnapshot } from '@angular/router';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
@@ -7,7 +7,7 @@ import { InjectionToken, OnInit, OnChanges, OnDestroy, EventEmitter, Renderer2,
|
|
|
7
7
|
import { ContextDashboardStateService } from '@c8y/ngx-components/context-dashboard-state';
|
|
8
8
|
import { TranslateService } from '@ngx-translate/core';
|
|
9
9
|
import * as _c8y_client from '@c8y/client';
|
|
10
|
-
import { IManagedObject, QueriesUtil, InventoryService, IResultList } from '@c8y/client';
|
|
10
|
+
import { IManagedObject, QueriesUtil, InventoryService, IResultList, IIdentified } from '@c8y/client';
|
|
11
11
|
import { Observable } from 'rxjs/internal/Observable';
|
|
12
12
|
import { SupportedIconsSuggestions } from '@c8y/ngx-components/icon-selector/icons';
|
|
13
13
|
import * as rxjs from 'rxjs';
|
|
@@ -21,6 +21,7 @@ import { AssetSelectorOptions, AssetSelectionChangeEvent } from '@c8y/ngx-compon
|
|
|
21
21
|
import * as i5 from '@c8y/ngx-components/icon-selector';
|
|
22
22
|
import * as i6 from 'ngx-bootstrap/dropdown';
|
|
23
23
|
import * as i7 from 'ngx-bootstrap/collapse';
|
|
24
|
+
import { AssetPropertyType } from '@c8y/ngx-components/asset-properties';
|
|
24
25
|
import * as i1 from '@angular/common';
|
|
25
26
|
import { WidgetControlsPresetConfig, WidgetControls, PresetName, PresetDefinition, GlobalContextEvent, GlobalContextState } from '@c8y/ngx-components/global-context';
|
|
26
27
|
|
|
@@ -1112,6 +1113,51 @@ declare class TypeDashboardInfoComponent implements OnInit {
|
|
|
1112
1113
|
static ɵcmp: i0.ɵɵComponentDeclaration<TypeDashboardInfoComponent, "c8y-type-dashboard-info", never, { "deviceTypeValue": { "alias": "deviceTypeValue"; "required": false; }; "displayDeviceTypeValue": { "alias": "displayDeviceTypeValue"; "required": false; }; "context": { "alias": "context"; "required": false; }; "asyncRenderSuccess": { "alias": "asyncRenderSuccess"; "required": false; }; "asyncRenderFail": { "alias": "asyncRenderFail"; "required": false; }; }, {}, never, never, true, never>;
|
|
1113
1114
|
}
|
|
1114
1115
|
|
|
1116
|
+
type AssetPropertyMappings = {
|
|
1117
|
+
[name: string]: {
|
|
1118
|
+
label?: string;
|
|
1119
|
+
assetProperty: AssetPropertyType;
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
type AssetPropertyMapping = {
|
|
1123
|
+
name: keyof AssetPropertyMappings;
|
|
1124
|
+
} & AssetPropertyMappings[string];
|
|
1125
|
+
type AssetPropertyMappingKeyRenamedNotification = {
|
|
1126
|
+
type: 'asset-property-mapping-key-renamed';
|
|
1127
|
+
oldKey: string;
|
|
1128
|
+
newKey: string;
|
|
1129
|
+
};
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* An escape-hatch notification type for widget config sections that need to broadcast
|
|
1133
|
+
* events not covered by the built-in notification variants. The `type` discriminant
|
|
1134
|
+
* must be `'custom'`; all additional fields are caller-defined.
|
|
1135
|
+
*
|
|
1136
|
+
* @example
|
|
1137
|
+
* ```ts
|
|
1138
|
+
* const n: CustomWidgetConfigNotification = { type: 'custom', action: 'reset' };
|
|
1139
|
+
* widgetConfigService.notify$.next(n);
|
|
1140
|
+
* ```
|
|
1141
|
+
*/
|
|
1142
|
+
type CustomWidgetConfigNotification = {
|
|
1143
|
+
type: 'custom';
|
|
1144
|
+
[key: string]: unknown;
|
|
1145
|
+
};
|
|
1146
|
+
/**
|
|
1147
|
+
* Discriminated union of all notifications that can be broadcast through
|
|
1148
|
+
* {@link WidgetConfigService.notify$}. New built-in notification types should be
|
|
1149
|
+
* added as additional union members here.
|
|
1150
|
+
*
|
|
1151
|
+
* Currently supported members:
|
|
1152
|
+
* - `AssetPropertyMappingKeyRenamedNotification` — emitted when an asset property
|
|
1153
|
+
* mapping key is renamed so that other config sections can update references.
|
|
1154
|
+
* - `CustomWidgetConfigNotification` — generic escape-hatch for custom events.
|
|
1155
|
+
*
|
|
1156
|
+
* Subscribers should switch/narrow on `type` and ignore unknown variants to stay
|
|
1157
|
+
* forward-compatible as new notification types are introduced.
|
|
1158
|
+
*/
|
|
1159
|
+
type WidgetConfigNotification = AssetPropertyMappingKeyRenamedNotification | CustomWidgetConfigNotification;
|
|
1160
|
+
|
|
1115
1161
|
/**
|
|
1116
1162
|
* A hook to add dynamic configurations to any widget configuration.
|
|
1117
1163
|
* @deprecated Consider using the `hookWidgetConfig` function instead.
|
|
@@ -1271,6 +1317,41 @@ declare class WidgetConfigService {
|
|
|
1271
1317
|
* Indicates if the selected widget is placed on a device type dashboard.
|
|
1272
1318
|
*/
|
|
1273
1319
|
isDeviceTypeDashboard$: Observable$1<boolean>;
|
|
1320
|
+
/**
|
|
1321
|
+
* A bus for broadcasting {@link WidgetConfigNotification} events between independent
|
|
1322
|
+
* widget config sections during an active configuration session.
|
|
1323
|
+
*
|
|
1324
|
+
* **Who emits:** Any config section component (or its service) that needs to
|
|
1325
|
+
* inform other sections about a state change — for example,
|
|
1326
|
+
* `AssetPropertyMappingsComponent` emits an
|
|
1327
|
+
* `AssetPropertyMappingKeyRenamedNotification` whenever a mapping key is renamed
|
|
1328
|
+
* so that referencing sections can update their stored keys.
|
|
1329
|
+
*
|
|
1330
|
+
* **Who subscribes:** Config section components that hold references to data owned
|
|
1331
|
+
* by other sections. Subscribers should filter by `type` and silently ignore
|
|
1332
|
+
* unknown variants to stay forward-compatible:
|
|
1333
|
+
*
|
|
1334
|
+
* ```ts
|
|
1335
|
+
* this.widgetConfigService.notify$
|
|
1336
|
+
* .pipe(takeUntil(this.destroy$))
|
|
1337
|
+
* .subscribe(notification => {
|
|
1338
|
+
* if (notification.type === 'asset-property-mapping-key-renamed') {
|
|
1339
|
+
* // handle rename
|
|
1340
|
+
* }
|
|
1341
|
+
* // ignore other types
|
|
1342
|
+
* });
|
|
1343
|
+
* ```
|
|
1344
|
+
*
|
|
1345
|
+
* **Subscription management:** Each subscriber is responsible for unsubscribing
|
|
1346
|
+
* (e.g. via `takeUntil(destroy$)` or `DestroyRef`). The subject itself is never
|
|
1347
|
+
* completed by the service — it lives for the lifetime of the service instance.
|
|
1348
|
+
*
|
|
1349
|
+
* **Unknown notification types:** Because `WidgetConfigNotification` is a
|
|
1350
|
+
* discriminated union that may grow over time, always guard with an `if`/`switch`
|
|
1351
|
+
* on `type` rather than exhaustive checks, so that future additions do not break
|
|
1352
|
+
* existing subscribers.
|
|
1353
|
+
*/
|
|
1354
|
+
notify$: Subject<WidgetConfigNotification>;
|
|
1274
1355
|
/**
|
|
1275
1356
|
* The current configuration of the selected widget as observable.
|
|
1276
1357
|
* Only to read the value. Use `updateConfig` to update the configuration.
|
|
@@ -1760,6 +1841,123 @@ declare class WidgetConfigFeedbackComponent implements AfterViewInit {
|
|
|
1760
1841
|
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetConfigFeedbackComponent, "c8y-widget-config-feedback", never, {}, {}, never, ["*"], true, never>;
|
|
1761
1842
|
}
|
|
1762
1843
|
|
|
1763
|
-
|
|
1764
|
-
|
|
1844
|
+
declare class AssetPropertyMappingsService {
|
|
1845
|
+
private injector;
|
|
1846
|
+
private inventory;
|
|
1847
|
+
private moRealtime;
|
|
1848
|
+
private assetProperties;
|
|
1849
|
+
private computedProperties;
|
|
1850
|
+
/**
|
|
1851
|
+
* Creates an Observable stream of asset property values that emits updates with realtime changes.
|
|
1852
|
+
* Uses realtimeControl$ to enable/disable underlying realtime notifications.
|
|
1853
|
+
*
|
|
1854
|
+
* @param mappings - The asset property mappings configuration.
|
|
1855
|
+
* @param realtimeControl$ - Observable that controls realtime notifications (true = enabled, false = disabled, default = enabled).
|
|
1856
|
+
* @returns Observable emitting updated asset property values as they change.
|
|
1857
|
+
*/
|
|
1858
|
+
getValues$(mappings: AssetPropertyMappings, realtimeControl$?: Observable$1<boolean>): Observable$1<Record<string, unknown>>;
|
|
1859
|
+
private groupByType;
|
|
1860
|
+
private groupByAssetId;
|
|
1861
|
+
private getComputedPropertyValues$;
|
|
1862
|
+
private getRegularPropertyValues$;
|
|
1863
|
+
private getRegularPropertyValue;
|
|
1864
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertyMappingsService, never>;
|
|
1865
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AssetPropertyMappingsService>;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
declare class AssetPropertyMappingsComponent implements OnInit {
|
|
1869
|
+
widgetConfigService: WidgetConfigService;
|
|
1870
|
+
bottomDrawerService: BottomDrawerService;
|
|
1871
|
+
inventory: InventoryService;
|
|
1872
|
+
clipboardService: ClipboardService;
|
|
1873
|
+
alert: AlertService;
|
|
1874
|
+
widgetConfigPath: i0.InputSignal<string[]>;
|
|
1875
|
+
initialMappings: i0.InputSignal<AssetPropertyMappings>;
|
|
1876
|
+
allowAddingNewMappings: i0.InputSignal<boolean>;
|
|
1877
|
+
allowRenamingMappings: i0.InputSignal<boolean>;
|
|
1878
|
+
allowRelabellingMappings: i0.InputSignal<boolean>;
|
|
1879
|
+
allowEditingMappings: i0.InputSignal<boolean>;
|
|
1880
|
+
allowRemovingMappings: i0.InputSignal<boolean>;
|
|
1881
|
+
showLabels: i0.InputSignal<boolean>;
|
|
1882
|
+
showNames: i0.InputSignal<boolean>;
|
|
1883
|
+
showAssets: i0.InputSignal<boolean>;
|
|
1884
|
+
showProperties: i0.InputSignal<boolean>;
|
|
1885
|
+
showValues: i0.InputSignal<boolean>;
|
|
1886
|
+
actionsColumnSpan: i0.InputSignal<number>;
|
|
1887
|
+
/**
|
|
1888
|
+
* Callback to transform a mapping into the text that gets copied to the clipboard.
|
|
1889
|
+
* Exposed as an input so widget config factories can override the default (e.g. to
|
|
1890
|
+
* produce a template expression like `${this.c8yProperties?.temperature}`).
|
|
1891
|
+
*/
|
|
1892
|
+
onBeforeCopyMappingToClipboard: i0.InputSignal<(mapping: AssetPropertyMapping) => string>;
|
|
1893
|
+
/** Distributes (12 - actionsColumnSpan) columns evenly among visible row-1 columns (label, name). */
|
|
1894
|
+
get row1ColumnSpans(): {
|
|
1895
|
+
label: number;
|
|
1896
|
+
name: number;
|
|
1897
|
+
};
|
|
1898
|
+
/** Distributes all 12 columns evenly among visible row-2 columns (asset, property, value). */
|
|
1899
|
+
get row2ColumnSpans(): {
|
|
1900
|
+
asset: number;
|
|
1901
|
+
property: number;
|
|
1902
|
+
value: number;
|
|
1903
|
+
};
|
|
1904
|
+
emptyStateTitle: "No asset property mappings";
|
|
1905
|
+
emptyStateSubtitle: "Add first asset property mapping.";
|
|
1906
|
+
mappings$: rxjs.Observable<AssetPropertyMappings>;
|
|
1907
|
+
keys$: rxjs.Observable<string[]>;
|
|
1908
|
+
private readonly mappingsSignal;
|
|
1909
|
+
private readonly keysSignal;
|
|
1910
|
+
readonly isDrawerOpen: i0.WritableSignal<boolean>;
|
|
1911
|
+
private readonly labelValidatorCache;
|
|
1912
|
+
private readonly nameValidatorCache;
|
|
1913
|
+
assetsCache: Map<string | number, IManagedObject>;
|
|
1914
|
+
resolvedAssets$: rxjs.Observable<Map<string | number, IManagedObject>>;
|
|
1915
|
+
ngOnInit(): Promise<void>;
|
|
1916
|
+
getAsset(id: IIdentified['id']): Promise<IManagedObject>;
|
|
1917
|
+
addMappings(): Promise<void>;
|
|
1918
|
+
editMapping(placeholderName: keyof AssetPropertyMappings, mapping: AssetPropertyMappings[string]): Promise<void>;
|
|
1919
|
+
clearMapping(placeholderName: keyof AssetPropertyMappings): Promise<void>;
|
|
1920
|
+
copyMappingToClipboard(name: string, mapping: AssetPropertyMappings[string]): Promise<void>;
|
|
1921
|
+
removeMapping(name: string): Promise<void>;
|
|
1922
|
+
removeAllMappings(): Promise<void>;
|
|
1923
|
+
getLabelValidators(key: string): ValidatorFn[];
|
|
1924
|
+
getNameValidators(key: string): ValidatorFn[];
|
|
1925
|
+
isLabelAlreadyUsed(value: string, key: string, mappings: AssetPropertyMappings | null): boolean;
|
|
1926
|
+
isNameAlreadyUsed(value: string, key: string, keys: string[] | null): boolean;
|
|
1927
|
+
saveLabel(key: string, newLabel: string): Promise<void>;
|
|
1928
|
+
saveName(key: string, newName: string): Promise<void>;
|
|
1929
|
+
private distributeColumns;
|
|
1930
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertyMappingsComponent, never>;
|
|
1931
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssetPropertyMappingsComponent, "c8y-asset-property-mappings", never, { "widgetConfigPath": { "alias": "widgetConfigPath"; "required": false; "isSignal": true; }; "initialMappings": { "alias": "initialMappings"; "required": false; "isSignal": true; }; "allowAddingNewMappings": { "alias": "allowAddingNewMappings"; "required": false; "isSignal": true; }; "allowRenamingMappings": { "alias": "allowRenamingMappings"; "required": false; "isSignal": true; }; "allowRelabellingMappings": { "alias": "allowRelabellingMappings"; "required": false; "isSignal": true; }; "allowEditingMappings": { "alias": "allowEditingMappings"; "required": false; "isSignal": true; }; "allowRemovingMappings": { "alias": "allowRemovingMappings"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showNames": { "alias": "showNames"; "required": false; "isSignal": true; }; "showAssets": { "alias": "showAssets"; "required": false; "isSignal": true; }; "showProperties": { "alias": "showProperties"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "actionsColumnSpan": { "alias": "actionsColumnSpan"; "required": false; "isSignal": true; }; "onBeforeCopyMappingToClipboard": { "alias": "onBeforeCopyMappingToClipboard"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* Returns a semantically meaningful base key for the given asset property.
|
|
1936
|
+
*
|
|
1937
|
+
* - Computed properties with a configured data point (e.g. Last measurement):
|
|
1938
|
+
* strips `c8y_` from fragment and series, deduplicates if they resolve to the
|
|
1939
|
+
* same word (e.g. `c8y_Humidity` / `Humidity` → `humidity`), then camelCases.
|
|
1940
|
+
* - Nested properties with a keyPath longer than one segment:
|
|
1941
|
+
* uses `camelCase` of the joined, `c8y_`-stripped path segments, e.g. `addressCity`.
|
|
1942
|
+
* - All other properties: strips leading `c8y_` and camelCases the name.
|
|
1943
|
+
*/
|
|
1944
|
+
declare function getPropertyBaseKey(property: AssetPropertyType): string;
|
|
1945
|
+
/** Wraps key in quotes for bracket notation, choosing the quote style that requires fewest escapes. */
|
|
1946
|
+
declare function quoteAndEscape(key: string): string;
|
|
1947
|
+
/**
|
|
1948
|
+
* Replaces all references to `oldKey` via `expressionPrefixes` in the given code string with
|
|
1949
|
+
* `newKey`, handling both bracket notation (`prefix?.['key']`, `prefix?.["key"]`) and dot notation
|
|
1950
|
+
* (`prefix?.key`, `prefix.key`).
|
|
1951
|
+
*
|
|
1952
|
+
* Bracket notation matching correctly handles JS string escape sequences (e.g. `['it\'s']`).
|
|
1953
|
+
*
|
|
1954
|
+
* @param code - Source code to transform.
|
|
1955
|
+
* @param oldKey - The property key to rename.
|
|
1956
|
+
* @param newKey - The new property key.
|
|
1957
|
+
* @param expressionPrefixes - One or more expression prefixes to match against (e.g. `['this.c8yProperties', 'c8yProperties']`).
|
|
1958
|
+
*/
|
|
1959
|
+
declare function renamePropertyKeyInCode(code: string, oldKey: string, newKey: string, expressionPrefixes?: string[]): string;
|
|
1960
|
+
|
|
1961
|
+
export { ALL_GLOBAL_ROLES_SELECTED, AddDashboardComponent, AddDashboardFactory, AppearanceSettingsComponent, AssetPropertyMappingsComponent, AssetPropertyMappingsService, CONTEXT_DASHBOARD_CONFIG, ContextDashboardComponent, ContextDashboardModule, ContextDashboardService, ContextDashboardType, DASHBOARD_CHILDREN_STATE_NAME, DASHBOARD_DETAILS_OUTLET, DASHBOARD_DETAILS_TABS_OUTLET_NAME, DASHBOARD_SETTINGS_CHANGES, DASHBOARD_THEME_CLASSES, DashboardActionBarFactory, DashboardDetailComponent, DashboardDetailService, DashboardDetailsTabId, DeviceInfoDashboardComponent, DeviceInfoDashboardModule, DeviceManagementHomeDashboardComponent, DeviceManagementHomeDashboardModule, GlobalContextSectionComponent, HOOK_WIDGET_CONFIG, NewDashboardGuard, PRODUCT_EXPERIENCE, PasteDashboardActionComponent, REPORT_DEFAULT_NAVIGATION_NODE_PRIORITY, STYLING_CLASS_PREFIXES, TypeDashboardInfoComponent, WIDGET_CONTENT_CLASSES, WIDGET_HEADER_CLASSES, WidgetAssetSelectorComponent, WidgetConfigAppearanceComponent, WidgetConfigComponent, WidgetConfigFeedbackComponent, WidgetConfigGeneralComponent, WidgetConfigSectionComponent, WidgetConfigSectionService, WidgetConfigService, WidgetPreviewComponent, WidgetPreviewWrapperComponent, WidgetService, getPropertyBaseKey, hookWidgetConfig, newDashboardTab, quoteAndEscape, renamePropertyKeyInCode };
|
|
1962
|
+
export type { AllowTypeDashboard, AssetPropertyMapping, AssetPropertyMappingKeyRenamedNotification, AssetPropertyMappings, CanDeactivateComponent, ContextDashboard, ContextDashboardConfig, ContextDashboardManagedObject, ContextWidgetConfig, CustomWidgetConfigNotification, DashboardAndWidgetThemeDefinition, DashboardChildrenState, DashboardContext, DashboardCopyClipboard, DashboardDetailsTabs, DashboardGlobalRoles, DashboardHistoryDescription, DashboardMetadata, WidgetConfigNotification, WidgetConfigSection, WidgetConfigSectionBase, WidgetConfigSectionDefinition, WidgetConfigSectionExtension };
|
|
1765
1963
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../context-dashboard/add-dashboard.component.ts","../../context-dashboard/add-dashboard.factory.ts","../../context-dashboard/context-dashboard.model.ts","../../context-dashboard/context-dashboard.service.ts","../../context-dashboard/dashboard-detail.service.ts","../../context-dashboard/dashboard-detail.component.ts","../../context-dashboard/memento/dashboard-originator.service.ts","../../context-dashboard/memento/dashboard-caretaker.service.ts","../../context-dashboard/memento/dashboard-edit-mode.service.ts","../../context-dashboard/widget.service.ts","../../context-dashboard/context-dashboard.component.ts","../../context-dashboard/widget-config/appearance-settings.component.ts","../../context-dashboard/type-dashboard-info/type-dashboard-info.component.ts","../../context-dashboard/widget-config-hook/widget-config-hook.model.ts","../../context-dashboard/widget-config-hook/widget-config-hook.service.ts","../../context-dashboard/widget-config.service.ts","../../context-dashboard/widget-config/widget-config-root.component.ts","../../context-dashboard/widget-config.component.ts","../../context-dashboard/widget-config/widget-preview.component.ts","../../context-dashboard/widget-config/widget-config-section.component.ts","../../context-dashboard/widget-config/widget-preview-wrapper.component.ts","../../context-dashboard/paste-dashboard-action.component.ts","../../context-dashboard/context-dashboard.module.ts","../../context-dashboard/dashboard-action-bar.factory.ts","../../context-dashboard/device-info-dashboard/device-info-dashboard.component.ts","../../context-dashboard/device-info-dashboard/device-info-dashboard.module.ts","../../context-dashboard/device-management-home-dashboard/device-management-home-dashboard.component.ts","../../context-dashboard/device-management-home-dashboard/device-management-home-dashboard.module.ts","../../context-dashboard/widget-config/widget-config-appearance.component.ts","../../context-dashboard/widget-config/widget-config-general.component.ts","../../context-dashboard/widget-config/widget-asset-selector.component.ts","../../context-dashboard/new-dashboard.guard.ts","../../context-dashboard/widget-config/global-context-section.component.ts","../../context-dashboard/widget-config/widget-config-feedback.component.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../context-dashboard/add-dashboard.component.ts","../../context-dashboard/add-dashboard.factory.ts","../../context-dashboard/context-dashboard.model.ts","../../context-dashboard/context-dashboard.service.ts","../../context-dashboard/dashboard-detail.service.ts","../../context-dashboard/dashboard-detail.component.ts","../../context-dashboard/memento/dashboard-originator.service.ts","../../context-dashboard/memento/dashboard-caretaker.service.ts","../../context-dashboard/memento/dashboard-edit-mode.service.ts","../../context-dashboard/widget.service.ts","../../context-dashboard/context-dashboard.component.ts","../../context-dashboard/widget-config/appearance-settings.component.ts","../../context-dashboard/type-dashboard-info/type-dashboard-info.component.ts","../../context-dashboard/widget-config/asset-property-mappings.model.ts","../../context-dashboard/widget-config.model.ts","../../context-dashboard/widget-config-hook/widget-config-hook.model.ts","../../context-dashboard/widget-config-hook/widget-config-hook.service.ts","../../context-dashboard/widget-config.service.ts","../../context-dashboard/widget-config/widget-config-root.component.ts","../../context-dashboard/widget-config.component.ts","../../context-dashboard/widget-config/widget-preview.component.ts","../../context-dashboard/widget-config/widget-config-section.component.ts","../../context-dashboard/widget-config/widget-preview-wrapper.component.ts","../../context-dashboard/paste-dashboard-action.component.ts","../../context-dashboard/context-dashboard.module.ts","../../context-dashboard/dashboard-action-bar.factory.ts","../../context-dashboard/device-info-dashboard/device-info-dashboard.component.ts","../../context-dashboard/device-info-dashboard/device-info-dashboard.module.ts","../../context-dashboard/device-management-home-dashboard/device-management-home-dashboard.component.ts","../../context-dashboard/device-management-home-dashboard/device-management-home-dashboard.module.ts","../../context-dashboard/widget-config/widget-config-appearance.component.ts","../../context-dashboard/widget-config/widget-config-general.component.ts","../../context-dashboard/widget-config/widget-asset-selector.component.ts","../../context-dashboard/new-dashboard.guard.ts","../../context-dashboard/widget-config/global-context-section.component.ts","../../context-dashboard/widget-config/widget-config-feedback.component.ts","../../context-dashboard/widget-config/asset-property-mappings.service.ts","../../context-dashboard/widget-config/asset-property-mappings.component.ts","../../context-dashboard/widget-config/asset-property-mappings.utils.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA;AAQI;AACA;AADQ;;;;AAoBX;;ACpBD;AACE;;;;AAMM;;AAoCP;;ACzCD;AACA;;;;;;;;;;;;;;;;;AAkBE;;AAEG;AACH;AACD;;AAGC;;;AAGG;;AAGH;;AAEG;;AAGH;;AAEG;AACH;AACE;;AAEG;AACH;;AAEF;;;AAGG;AACH;AACE;;AAEA;;AAEF;;;;;AAKG;AACH;AACA;;;;;;AAMG;AACH;AAEA;;AAEG;AACH;AACD;AAEK;;;AAGJ;AACD;;AAGC;AACA;AACA;AACA;AACA;AACA;AACA;AAAY;AAAwB;AACpC;AAAkB;AAAwB;AAC1C;AACA;AACA;AACA;AACA;;;AAGG;AACH;AACA;AACE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AAAmB;;AACpB;AACD;;AAEG;;AAED;;AAEG;;AAEH;;AAEG;AACH;AACA;;AAEG;AACH;AACA;;;;;;;;AAQG;AACH;AACE;AACA;AACA;AACA;AACD;AACD;;AAEG;;AAEJ;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;;;AAOA;;;;AAO+E;;;AAMhF;;ACvDD;AAOE;AACwB;AAExB;;;AAGD;;ACMD;;;;;;AAQE;;;;;;;AAOG;;AAuBH;AAwBA;AAgBA;AAwDA;AA2CA;;;AAeD;;ACrLD;AAoBE;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIG;AACH;;AAKA;;;;;AAWA;;;;;AAWA;AACA;AAEA;AAGA;AAIA;AACA;;AAEA;AACA;AAEA;AAEA;;;;;AAoIM;AAMA;;AAiBA;AAMN;AAaA;AAaA;AAUA;AAKM;AAWA;AAkBN;;;AAcD;;ACtWD;;;;;;;;;AASG;AACH;AAwBA;AACA;AAqBA;;;;;;;;;;;AAWG;AACH;;;"}
|
|
@@ -421,6 +421,7 @@ declare class DataFetchingService {
|
|
|
421
421
|
* @returns An array of DataToExport objects.
|
|
422
422
|
*/
|
|
423
423
|
processSeriesData(datapointDetails: DatapointDetails[], fetchedDataMap: SourceItem[]): DataToExport[];
|
|
424
|
+
hasPermissionToUseMeasurementsApi(exportConfig: ExportConfig): Promise<boolean>;
|
|
424
425
|
getSourcesWithPermissionsToRead(datapointDetails: DatapointDetails[]): Promise<string[]>;
|
|
425
426
|
/**
|
|
426
427
|
* Adjusts the given date by adding the specified number of minutes and setting seconds to 0.
|
|
@@ -668,6 +669,7 @@ declare class DatapointsExportSelectorFileExporterComponent implements OnInit, O
|
|
|
668
669
|
*/
|
|
669
670
|
hasNoExportableData: boolean;
|
|
670
671
|
hasPermissionToReadAnyMeasurements: boolean;
|
|
672
|
+
disabledExportModes: Record<string, boolean>;
|
|
671
673
|
isCheckingPermissions: boolean;
|
|
672
674
|
private _isPreviewLoading;
|
|
673
675
|
get isPreviewLoading(): boolean;
|
|
@@ -868,6 +870,7 @@ declare class DataPointsExportSelectorDataScopeComponent {
|
|
|
868
870
|
exportMode: _angular_forms.FormControl<"COMPACT">;
|
|
869
871
|
fileTypes: _angular_forms.FormGroup<{}>;
|
|
870
872
|
}>>;
|
|
873
|
+
disabledExportModes: _angular_core.InputSignal<Record<string, boolean>>;
|
|
871
874
|
onAggregationChange: _angular_core.OutputEmitterRef<AggregationOption$1>;
|
|
872
875
|
onExportTypeChange: _angular_core.OutputEmitterRef<string>;
|
|
873
876
|
readonly AGGREGATION_LABELS: {
|
|
@@ -881,11 +884,15 @@ declare class DataPointsExportSelectorDataScopeComponent {
|
|
|
881
884
|
readonly FULL: "Full";
|
|
882
885
|
readonly COMPACT: "Compact";
|
|
883
886
|
};
|
|
887
|
+
readonly EXPORT_MODE_VALUES: {
|
|
888
|
+
readonly full: "FULL";
|
|
889
|
+
readonly compact: "COMPACT";
|
|
890
|
+
};
|
|
884
891
|
readonly EXPORT_MODE_VALUES_ARR: readonly ["FULL", "COMPACT"];
|
|
885
892
|
emitAggregationChange(aggregation: AggregationOption$1): void;
|
|
886
893
|
emitExportTypeChange(exportType: string): void;
|
|
887
894
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataPointsExportSelectorDataScopeComponent, never>;
|
|
888
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataPointsExportSelectorDataScopeComponent, "c8y-datapoints-export-selector-data-scope", never, { "disabledAggregationOptions": { "alias": "disabledAggregationOptions"; "required": true; "isSignal": true; }; "formGroup": { "alias": "formGroup"; "required": true; "isSignal": true; }; }, { "onAggregationChange": "onAggregationChange"; "onExportTypeChange": "onExportTypeChange"; }, never, never, true, never>;
|
|
895
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataPointsExportSelectorDataScopeComponent, "c8y-datapoints-export-selector-data-scope", never, { "disabledAggregationOptions": { "alias": "disabledAggregationOptions"; "required": true; "isSignal": true; }; "formGroup": { "alias": "formGroup"; "required": true; "isSignal": true; }; "disabledExportModes": { "alias": "disabledExportModes"; "required": false; "isSignal": true; }; }, { "onAggregationChange": "onAggregationChange"; "onExportTypeChange": "onExportTypeChange"; }, never, never, true, never>;
|
|
889
896
|
}
|
|
890
897
|
|
|
891
898
|
declare class DataPointsExportSelectorFileTypesComponent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/utils.service.ts","../../datapoints-export-selector/datapoints-export-selector.model.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/data-fetching.service.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/data-processing.service.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-export-selector-file-exporter.service.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-export-selector-file-exporter.component.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-export-selector-preview/datapoints-export-selector-preview.component.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-exports-selector-data-scope/datapoints-exports-selector-data-scope.component.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-exports-selector-file-types/datapoints-exports-selector-file-types.component.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-exports-selector-time-range/datapoints-exports-selector-time-range.component.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/generators/csv-generator.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/generators/excel-generator.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-modal.component.ts","../../datapoints-export-selector/datapoints-export-selector.component.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;AAEM;;;;;AAGJ;;AAEA;AACD;;;AAIC;AACE;;;AAGH;;AAGC;;AAED;;AAGC;AAAU;AAAkC;;AAE7C;;AAGC;AACD;;AAGC;AACD;AAED;AAEE;AA0CA;;;;;;;;;;;;;;;AAeG;;;;AAiBJ;;AC5GD;AACA;AACA;AAEA;;AAEG;;AAED;;;AAGG;;AAEH;;AAEG;;AAEH;;;AAGG;;AAEJ;AAED;;AAEG;;;;AAIF;;;;AAKA;;AAGC;AACD;;AAGC;AACA;;;;;;;;;AASD;;;;;;;;AASA;AAED;;AAEG;;AAED;AACA;;;AAGA;;AAEG;AACH;AACA;;AAEG;AACH;AACA;;;AAGG;AACH;AACA;AACD;;;AAIC;;;;;AAKD;AAED;;;AAGG;AACG;AACJ;AACA;AAAgB;AAAkC;AACnD;AACD;;;AAGG;;AAED;;;;AAID;AACD;;;AAGG;AACG;;AAEJ;AACA;AACA;AACA;;AAED;AACD;;;;AAIG;;AAGH;;AAEG;;;;;;AAMF;AAED;;AAEG;;AAED;;;;;AAKG;;AAEH;;;;AAIG;AACH;;;;;AAKD;AACD;;AAEG;;;;AAIF;AACD;;AAEG;;;;AAIF;AACD;;;AAGG;;;;;AAKF;;AAGC;;AAED;AACD;;;AAGG;AACG;;;AAMA;AACJ;;;;;;AAOD;AAED;;AAEG;AACG;;;;;AAMA;;;;AAKA;AAEA;AACN;;;AAGG;AACG;;;;AAUN;;;AAGG;AACG;AACJ;;AAGF;;;;AAKA;;;;;;;;;;;;;;;;;AAiBG;AACH;;;;AAKA;;;;AAKA;;;;;;;;;;;;;;;;;;ACpQA;AAKI;AACA;AACA;AACA;AAHQ;AAMV;;;;;;;;AAQG;;AA+CH;;;;;;;;;AASG;;AA8CH;;;;;;;;;;;;;;;AAeG;AACH;AAcA;;;;;;;AAOG;;AAmBG;AAcA;AA0BA;AAYA;AASN;;AAiCA;;;;;;;;;;;;AAYG;AACH;AAeA;;;;;;AAMG;AACH
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/utils.service.ts","../../datapoints-export-selector/datapoints-export-selector.model.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/data-fetching.service.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/data-processing.service.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-export-selector-file-exporter.service.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-export-selector-file-exporter.component.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-export-selector-preview/datapoints-export-selector-preview.component.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-exports-selector-data-scope/datapoints-exports-selector-data-scope.component.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-exports-selector-file-types/datapoints-exports-selector-file-types.component.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-exports-selector-time-range/datapoints-exports-selector-time-range.component.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/generators/csv-generator.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/generators/excel-generator.ts","../../datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-modal.component.ts","../../datapoints-export-selector/datapoints-export-selector.component.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;AAEM;;;;;AAGJ;;AAEA;AACD;;;AAIC;AACE;;;AAGH;;AAGC;;AAED;;AAGC;AAAU;AAAkC;;AAE7C;;AAGC;AACD;;AAGC;AACD;AAED;AAEE;AA0CA;;;;;;;;;;;;;;;AAeG;;;;AAiBJ;;AC5GD;AACA;AACA;AAEA;;AAEG;;AAED;;;AAGG;;AAEH;;AAEG;;AAEH;;;AAGG;;AAEJ;AAED;;AAEG;;;;AAIF;;;;AAKA;;AAGC;AACD;;AAGC;AACA;;;;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;AACA;;;;;;;;;;;AAkBA;AAgBA;;;AAID;;ACmKD;;AC7KA;AACE;AAqCA;AAWA;AAIA;AAGD;AA0UD;;AChbA;AA+BI;AACA;AAjBF;;AAGA;AACA;AACA;;AAGA;;;AAQU;AAIV;AAMA;AAKM;AAKN;AA6BA;AAIA;AAIA;;;AAGD;;ACzFD;AA+BI;AACA;AAzBF;AACA;;;AAGG;AACH;AACA;;AAEG;AACH;AACA;;AAIA;;;AAGG;AACH;AAMU;AAIJ;;;AA0BP;;;"}
|
|
@@ -378,6 +378,7 @@ declare class DeviceTabProfileComponent implements OnInit, ProductExperienceEven
|
|
|
378
378
|
private route;
|
|
379
379
|
private operationRealtime;
|
|
380
380
|
private alertService;
|
|
381
|
+
private inventoryService;
|
|
381
382
|
PRODUCT_EXPERIENCE: {
|
|
382
383
|
readonly EVENTS: {
|
|
383
384
|
readonly REPOSITORY: "deviceProfileRepository";
|
|
@@ -416,14 +417,20 @@ declare class DeviceTabProfileComponent implements OnInit, ProductExperienceEven
|
|
|
416
417
|
filterPipe: ForOfFilterPipe;
|
|
417
418
|
pattern$: BehaviorSubject<string>;
|
|
418
419
|
reload$: BehaviorSubject<boolean>;
|
|
420
|
+
private autoSyncProfile;
|
|
421
|
+
private deviceReload$;
|
|
419
422
|
productExperienceEvent: ProductExperienceEvent;
|
|
420
423
|
private destroyRef;
|
|
421
|
-
constructor(deviceRealtime: ManagedObjectRealtimeService, deviceProfileService: DeviceProfileService, route: ActivatedRoute, operationRealtime: OperationRealtimeService, alertService: AlertService);
|
|
424
|
+
constructor(deviceRealtime: ManagedObjectRealtimeService, deviceProfileService: DeviceProfileService, route: ActivatedRoute, operationRealtime: OperationRealtimeService, alertService: AlertService, inventoryService: InventoryService);
|
|
422
425
|
ngOnInit(): Promise<void>;
|
|
423
426
|
getDeviceProfilesAndUpdateProfileItems(): Promise<void>;
|
|
424
427
|
selectProfile(mo: DeviceProfile): void;
|
|
428
|
+
reload(): void;
|
|
425
429
|
createOperation(): Promise<void>;
|
|
426
430
|
updateProfileItems(device: any, profile: any): void;
|
|
431
|
+
private subscribeToPatternChanges;
|
|
432
|
+
private subscribeToDeviceReload;
|
|
433
|
+
private loadDevice;
|
|
427
434
|
private subscribeToManagedObjects;
|
|
428
435
|
private subscribeToOperations;
|
|
429
436
|
private toProfileForDevice;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../device-profile/device-profile-navigation.factory.ts","../../device-profile/device-profile.model.ts","../../device-profile/device-profile.service.ts","../../device-profile/select-configuration-modal.component.ts","../../device-profile/device-profile.component.ts","../../device-profile/device-profile-list.component.ts","../../device-profile/add-device-profile.component.ts","../../device-profile/device-tab-profile/device-tab-profile.component.ts","../../device-profile/device-tab-profile/device-tab-profile-detail.component.ts","../../device-profile/device-tab-profile/device-profile-item-list.component.ts","../../device-profile/device-profile.module.ts","../../device-profile/device-profile.guard.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAIA;;;;;AAeC;;;;;ACdC;;;AAGA;;AAEE;AACA;;AAEH;;;;;;;AAQA;;;;;;;AAQA;;;;;AAMA;;AAGC;;;;;;AAMA;;;;;;;AAOD;AAED;AACE;AACD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACzBA;AAaI;AACA;AACA;;;;;;;;AAKF;AAOA;;;;;;;;;;;AAWG;AACH;AA6BA;;AAEG;;AAYH;AAYM;;AAgCN;AAyBA;AAgBA;AAqBA;;;;;;AAMG;AACH;AA4BA;AASA;AA6BA;AAyBA;AA0BA;;;AA4BD;;AC9VD;AA2Bc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAf8C;;AAE1D;AACA;AAIA;;;;;;;AAQoB;;;;AA2BpB;;;AA2BD;;ACtDD;AAkDI;AACA;AACA;AACA;AACA;AACA;AAvBF;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGuD;;;;;;;;;AA0GvD;;;AAqGA;AAWA;;;;AA4CA;;;AAqBD;;ACvUD;AAwDI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAzCF;AACA;AACA;AACA;;;;;;;AAgBE;;AAQF;AACA;AACA;AACA;AAGU;AAaV;;AAmEA;;;;;;;;AA4ED;;AC5OD;AAwCI;AACA;AApBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGuD;AACvD;AAMA;;;;AASU;;;;;AAaX;;AClCD;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../device-profile/device-profile-navigation.factory.ts","../../device-profile/device-profile.model.ts","../../device-profile/device-profile.service.ts","../../device-profile/select-configuration-modal.component.ts","../../device-profile/device-profile.component.ts","../../device-profile/device-profile-list.component.ts","../../device-profile/add-device-profile.component.ts","../../device-profile/device-tab-profile/device-tab-profile.component.ts","../../device-profile/device-tab-profile/device-tab-profile-detail.component.ts","../../device-profile/device-tab-profile/device-profile-item-list.component.ts","../../device-profile/device-profile.module.ts","../../device-profile/device-profile.guard.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAIA;;;;;AAeC;;;;;ACdC;;;AAGA;;AAEE;AACA;;AAEH;;;;;;;AAQA;;;;;;;AAQA;;;;;AAMA;;AAGC;;;;;;AAMA;;;;;;;AAOD;AAED;AACE;AACD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACzBA;AAaI;AACA;AACA;;;;;;;;AAKF;AAOA;;;;;;;;;;;AAWG;AACH;AA6BA;;AAEG;;AAYH;AAYM;;AAgCN;AAyBA;AAgBA;AAqBA;;;;;;AAMG;AACH;AA4BA;AASA;AA6BA;AAyBA;AA0BA;;;AA4BD;;AC9VD;AA2Bc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAf8C;;AAE1D;AACA;AAIA;;;;;;;AAQoB;;;;AA2BpB;;;AA2BD;;ACtDD;AAkDI;AACA;AACA;AACA;AACA;AACA;AAvBF;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGuD;;;;;;;;;AA0GvD;;;AAqGA;AAWA;;;;AA4CA;;;AAqBD;;ACvUD;AAwDI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAzCF;AACA;AACA;AACA;;;;;;;AAgBE;;AAQF;AACA;AACA;AACA;AAGU;AAaV;;AAmEA;;;;;;;;AA4ED;;AC5OD;AAwCI;AACA;AApBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGuD;AACvD;AAMA;;;;AASU;;;;;AAaX;;AClCD;AAmDW;AACP;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5BqD;;;AAGvD;;;;;;AAOA;AACA;;;;;;;;;;;AAkFA;AAMA;AAMA;;AAiBA;AAoBA;AAaA;;;AAkBD;;ACzOD;;;AAcW;AACA;;;;AAIA;;;AACV;;ACfD;;;;;;;AAoBC;;ACmBD;;;;AA4BmC;;ACzEnC;;AAUE;;;AAOD;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../events/cockpit/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAWA,cAAA,sBAAA,GAAmC,aAAA,CAAA,aAAA,GAAA,aAAA,CAAA,aAAA,GAAA,aAAA,CAAA,gBAAA;;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare const eventsDeviceManagementProviders: (_angular_core.ValueProvider | _angular_core.ClassProvider | _angular_core.ExistingProvider)[];
|
|
4
|
+
|
|
5
|
+
export { eventsDeviceManagementProviders };
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../events/devicemanagement/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAWA,cAAA,+BAAA,GAA4C,aAAA,CAAA,aAAA,GAAA,aAAA,CAAA,aAAA,GAAA,aAAA,CAAA,gBAAA;;;;"}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import { IResultList, IEvent } from '@c8y/client';
|
|
4
|
-
import { EventRealtimeService, ForOfFilterPipe } from '@c8y/ngx-components';
|
|
4
|
+
import { EventRealtimeService, ForOfFilterPipe, LoadMoreMode } from '@c8y/ngx-components';
|
|
5
5
|
import { EventsService } from '@c8y/ngx-components/events';
|
|
6
6
|
|
|
7
7
|
declare class EventsTimelineComponent<B, F> {
|
|
8
8
|
realtime: EventRealtimeService;
|
|
9
9
|
eventsService: EventsService;
|
|
10
|
-
events: IResultList<IEvent
|
|
11
|
-
sourceId:
|
|
12
|
-
filterPipe: ForOfFilterPipe<IEvent
|
|
13
|
-
bodyTemplate: TemplateRef<B
|
|
14
|
-
footerTemplates:
|
|
15
|
-
propertiesToHide: string[]
|
|
10
|
+
events: _angular_core.InputSignal<IResultList<IEvent>>;
|
|
11
|
+
sourceId: _angular_core.InputSignal<string | number>;
|
|
12
|
+
filterPipe: _angular_core.InputSignal<ForOfFilterPipe<IEvent>>;
|
|
13
|
+
bodyTemplate: _angular_core.InputSignal<TemplateRef<B>>;
|
|
14
|
+
footerTemplates: _angular_core.InputSignal<TemplateRef<F>[]>;
|
|
15
|
+
propertiesToHide: _angular_core.InputSignal<string[]>;
|
|
16
|
+
loadMoreMode: _angular_core.InputSignal<LoadMoreMode>;
|
|
16
17
|
constructor(realtime: EventRealtimeService, eventsService: EventsService);
|
|
17
|
-
static ɵfac:
|
|
18
|
-
static ɵcmp:
|
|
18
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EventsTimelineComponent<any, any>, never>;
|
|
19
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EventsTimelineComponent<any, any>, "c8y-events-timeline", never, { "events": { "alias": "events"; "required": false; "isSignal": true; }; "sourceId": { "alias": "sourceId"; "required": true; "isSignal": true; }; "filterPipe": { "alias": "filterPipe"; "required": false; "isSignal": true; }; "bodyTemplate": { "alias": "bodyTemplate"; "required": false; "isSignal": true; }; "footerTemplates": { "alias": "footerTemplates"; "required": false; "isSignal": true; }; "propertiesToHide": { "alias": "propertiesToHide"; "required": false; "isSignal": true; }; "loadMoreMode": { "alias": "loadMoreMode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
export { EventsTimelineComponent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../events/events-timeline/events-timeline.component.ts"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../events/events-timeline/events-timeline.component.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AA0BA,cAAA,uBAAA;AAmCW,cAAA,oBAAA;AACA,mBAAA,aAAA;AAVT,YAAM,aAAA,CAAA,WAAA,CAAA,WAAA,CAAA,MAAA;AACN,cAAQ,aAAA,CAAA,WAAA;AACR,gBAAU,aAAA,CAAA,WAAA,CAAA,eAAA,CAAA,MAAA;AACV,kBAAY,aAAA,CAAA,WAAA,CAAA,WAAA;AACZ,qBAAe,aAAA,CAAA,WAAA,CAAA,WAAA;AACf,sBAAgB,aAAA,CAAA,WAAA;AAChB,kBAAY,aAAA,CAAA,WAAA,CAAA,YAAA;AAGH,0BAAA,oBAAA,iBAAA,aAAA;;;AAGV;;;;"}
|