@c8y/ngx-components 1023.58.3 → 1023.61.0
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/alarm-event-selector/index.d.ts +54 -4
- package/alarm-event-selector/index.d.ts.map +1 -1
- package/asset-properties/index.d.ts +20 -5
- package/asset-properties/index.d.ts.map +1 -1
- package/assets-navigator/index.d.ts.map +1 -1
- package/computed-asset-properties/index.d.ts.map +1 -1
- package/context-dashboard/index.d.ts +31 -3
- package/context-dashboard/index.d.ts.map +1 -1
- package/datapoint-explorer/devicemanagement/index.d.ts.map +1 -1
- package/datapoint-selector/index.d.ts +90 -6
- package/datapoint-selector/index.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-actility-device-registration.mjs +16 -16
- package/fesm2022/c8y-ngx-components-advanced-software-management.mjs +7 -7
- package/fesm2022/c8y-ngx-components-ai-agent-chat.mjs +9 -9
- package/fesm2022/c8y-ngx-components-ai-ai-chat.mjs +12 -12
- package/fesm2022/c8y-ngx-components-ai.mjs +3 -3
- package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs +202 -44
- package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms-cockpit.mjs +4 -4
- package/fesm2022/c8y-ngx-components-alarms-devicemanagement.mjs +3 -3
- package/fesm2022/c8y-ngx-components-alarms.mjs +82 -82
- package/fesm2022/c8y-ngx-components-api.mjs +7 -7
- package/fesm2022/c8y-ngx-components-app-logs.mjs +10 -10
- package/fesm2022/c8y-ngx-components-application-access-list.mjs +12 -12
- package/fesm2022/c8y-ngx-components-application-access-user-application-access-user-details-wrapper.mjs +3 -3
- package/fesm2022/c8y-ngx-components-asset-properties.mjs +121 -57
- package/fesm2022/c8y-ngx-components-asset-properties.mjs.map +1 -1
- package/fesm2022/{c8y-ngx-components-asset-property-grid.component-BoVrIpap.mjs → c8y-ngx-components-asset-property-grid.component-D3cPNQyD.mjs} +13 -13
- package/fesm2022/{c8y-ngx-components-asset-property-grid.component-BoVrIpap.mjs.map → c8y-ngx-components-asset-property-grid.component-D3cPNQyD.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-assets-navigator.mjs +36 -34
- package/fesm2022/c8y-ngx-components-assets-navigator.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs +120 -120
- package/fesm2022/c8y-ngx-components-binary-file-download.mjs +7 -7
- package/fesm2022/c8y-ngx-components-bookmarks.mjs +13 -13
- package/fesm2022/c8y-ngx-components-branding-base-branding.mjs +4 -4
- package/fesm2022/c8y-ngx-components-branding-dark-theme.mjs +7 -7
- package/fesm2022/c8y-ngx-components-branding-extra-css-branding-editor.mjs +7 -7
- package/fesm2022/c8y-ngx-components-branding-plain-branding-editor-lazy.mjs +3 -3
- package/fesm2022/c8y-ngx-components-branding-plain-branding-editor.mjs +7 -7
- package/fesm2022/c8y-ngx-components-branding-shared-data.mjs +15 -15
- package/fesm2022/c8y-ngx-components-branding-shared-lazy-add-branding-modal.mjs +6 -6
- package/fesm2022/c8y-ngx-components-branding-shared-lazy.mjs +36 -36
- package/fesm2022/c8y-ngx-components-branding-shared.mjs +13 -13
- package/fesm2022/c8y-ngx-components-child-devices.mjs +13 -13
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs +40 -40
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-alarm-count-config.component-SA0syLy7.mjs → c8y-ngx-components-computed-asset-properties-alarm-count-config.component-cxDrUoXY.mjs} +4 -4
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-alarm-count-config.component-SA0syLy7.mjs.map → c8y-ngx-components-computed-asset-properties-alarm-count-config.component-cxDrUoXY.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-computed-asset-properties-c8y-ngx-components-computed-asset-properties-BxmSKHiM.mjs +790 -0
- package/fesm2022/c8y-ngx-components-computed-asset-properties-c8y-ngx-components-computed-asset-properties-BxmSKHiM.mjs.map +1 -0
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-configuration-snapshot-config.component-BOmgJI14.mjs → c8y-ngx-components-computed-asset-properties-configuration-snapshot-config.component-CbLcHjZB.mjs} +4 -4
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-configuration-snapshot-config.component-BOmgJI14.mjs.map → c8y-ngx-components-computed-asset-properties-configuration-snapshot-config.component-CbLcHjZB.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-event-count-config.component-CaTb9cph.mjs → c8y-ngx-components-computed-asset-properties-event-count-config.component-DSWgAtkH.mjs} +4 -4
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-event-count-config.component-CaTb9cph.mjs.map → c8y-ngx-components-computed-asset-properties-event-count-config.component-DSWgAtkH.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-computed-asset-properties-fieldbus-item-status-config.component-CYskL4Lc.mjs +120 -0
- package/fesm2022/c8y-ngx-components-computed-asset-properties-fieldbus-item-status-config.component-CYskL4Lc.mjs.map +1 -0
- package/fesm2022/{c8y-ngx-components-computed-asset-properties-last-measurement-config.component-DkrSvf9F.mjs → c8y-ngx-components-computed-asset-properties-last-measurement-config.component-CDFNPo4q.mjs} +5 -4
- package/fesm2022/c8y-ngx-components-computed-asset-properties-last-measurement-config.component-CDFNPo4q.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-computed-asset-properties.mjs +1 -642
- package/fesm2022/c8y-ngx-components-computed-asset-properties.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-connectivity.mjs +53 -53
- package/fesm2022/c8y-ngx-components-context-dashboard-asset-add.mjs +10 -10
- package/fesm2022/c8y-ngx-components-context-dashboard-asset-view.mjs +7 -7
- package/fesm2022/c8y-ngx-components-context-dashboard-cockpit-home-dashboard.mjs +11 -11
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-BovfVT29.mjs → c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-CfvHiXsE.mjs} +4 -4
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-BovfVT29.mjs.map → c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-CfvHiXsE.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-general-settings.component-CC5346kW.mjs → c8y-ngx-components-context-dashboard-dashboard-general-settings.component-DUbxiMZh.mjs} +10 -10
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-general-settings.component-CC5346kW.mjs.map → c8y-ngx-components-context-dashboard-dashboard-general-settings.component-DUbxiMZh.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-version-history.component-CHuc--XM.mjs → c8y-ngx-components-context-dashboard-dashboard-version-history.component-Byk0CoOG.mjs} +4 -4
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-version-history.component-CHuc--XM.mjs.map → c8y-ngx-components-context-dashboard-dashboard-version-history.component-Byk0CoOG.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-device-add.mjs +10 -10
- package/fesm2022/c8y-ngx-components-context-dashboard-device-view.mjs +7 -7
- package/fesm2022/c8y-ngx-components-context-dashboard-devicemanagement.mjs +3 -3
- package/fesm2022/c8y-ngx-components-context-dashboard-state.mjs +3 -3
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs +143 -107
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2022/{c8y-ngx-components-dashboard-details-advanced-tab-dashboard-details-advanced-tab.component-DvKsV_Fs.mjs → c8y-ngx-components-dashboard-details-advanced-tab-dashboard-details-advanced-tab.component-CGnlj1KZ.mjs} +16 -16
- package/fesm2022/{c8y-ngx-components-dashboard-details-advanced-tab-dashboard-details-advanced-tab.component-DvKsV_Fs.mjs.map → c8y-ngx-components-dashboard-details-advanced-tab-dashboard-details-advanced-tab.component-CGnlj1KZ.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-dashboard-details-advanced-tab.mjs +12 -12
- package/fesm2022/c8y-ngx-components-dashboard-manager-devicemanagement.mjs +6 -6
- package/fesm2022/c8y-ngx-components-dashboard-manager.mjs +22 -22
- package/fesm2022/c8y-ngx-components-data-broker.mjs +7 -7
- package/fesm2022/c8y-ngx-components-data-grid-columns-asset-type.mjs +3 -3
- package/fesm2022/c8y-ngx-components-data-grid-columns.mjs +3 -3
- package/fesm2022/c8y-ngx-components-datapoint-explorer-devicemanagement.mjs +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-devicemanagement.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +25 -25
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs +13 -13
- package/fesm2022/c8y-ngx-components-datapoint-library-details.mjs +3 -3
- package/fesm2022/c8y-ngx-components-datapoint-library-list.mjs +3 -3
- package/fesm2022/c8y-ngx-components-datapoint-library-services.mjs +3 -3
- package/fesm2022/c8y-ngx-components-datapoint-library.mjs +4 -4
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs +234 -67
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs +33 -33
- package/fesm2022/c8y-ngx-components-default-subscriptions.mjs +16 -16
- package/fesm2022/c8y-ngx-components-device-enrolment-modal.mjs +9 -9
- package/fesm2022/c8y-ngx-components-device-enrolment.mjs +6 -6
- package/fesm2022/c8y-ngx-components-device-grid.mjs +43 -43
- package/fesm2022/c8y-ngx-components-device-list.mjs +22 -22
- package/fesm2022/c8y-ngx-components-device-map.mjs +12 -12
- package/fesm2022/c8y-ngx-components-device-profile.mjs +34 -34
- package/fesm2022/c8y-ngx-components-device-protocol-object-mappings.mjs +3 -3
- package/fesm2022/c8y-ngx-components-device-protocols.mjs +16 -16
- package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs +13 -13
- package/fesm2022/c8y-ngx-components-device-shell.mjs +31 -31
- package/fesm2022/c8y-ngx-components-diagnostics.mjs +13 -13
- package/fesm2022/c8y-ngx-components-echart.mjs +30 -30
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +43 -43
- package/fesm2022/c8y-ngx-components-ecosystem-archived-confirm.mjs +7 -7
- package/fesm2022/c8y-ngx-components-ecosystem-license-confirm.mjs +10 -10
- package/fesm2022/c8y-ngx-components-ecosystem-plugin-setup-stepper.mjs +7 -7
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs +46 -46
- package/fesm2022/c8y-ngx-components-ecosystem.mjs +82 -82
- package/fesm2022/c8y-ngx-components-editor.mjs +6 -6
- package/fesm2022/c8y-ngx-components-events-events-timeline.mjs +3 -3
- package/fesm2022/c8y-ngx-components-events.mjs +3 -3
- package/fesm2022/c8y-ngx-components-exports-list.mjs +6 -6
- package/fesm2022/c8y-ngx-components-feature-toggles-list.mjs +6 -6
- package/fesm2022/c8y-ngx-components-file-preview.mjs +7 -7
- package/fesm2022/c8y-ngx-components-files-repository.mjs +19 -19
- package/fesm2022/c8y-ngx-components-global-context.mjs +130 -130
- package/fesm2022/c8y-ngx-components-group-breadcrumbs.mjs +6 -6
- package/fesm2022/c8y-ngx-components-icon-selector.mjs +19 -19
- package/fesm2022/c8y-ngx-components-interval-picker.mjs +3 -3
- package/fesm2022/c8y-ngx-components-location.mjs +28 -28
- package/fesm2022/c8y-ngx-components-loriot-device-registration.mjs +16 -16
- package/fesm2022/c8y-ngx-components-map.mjs +19 -19
- package/fesm2022/c8y-ngx-components-messaging-management.mjs +55 -55
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-from-single.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-list-item.mjs +19 -19
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-stepper.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-list.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-service.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-stepper-container.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs +3 -3
- package/fesm2022/c8y-ngx-components-operations-create-bulk-operation-details.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-device-selector.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-grid-columns.mjs +12 -12
- package/fesm2022/c8y-ngx-components-operations-operation-details.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-operation-summary.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-operations-list-item-details.mjs +10 -10
- package/fesm2022/c8y-ngx-components-operations-operations-list.mjs +12 -12
- package/fesm2022/c8y-ngx-components-operations-operations-timeline.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-shared.mjs +10 -10
- package/fesm2022/c8y-ngx-components-operations-status-filter.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-configuration.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-device-profile.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-firmware.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-software.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-stepper-frames.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations.mjs +7 -7
- package/fesm2022/c8y-ngx-components-pending-mo-request.mjs +7 -7
- package/fesm2022/c8y-ngx-components-platform-configuration.mjs +10 -10
- package/fesm2022/c8y-ngx-components-protocol-lpwan.mjs +38 -38
- package/fesm2022/c8y-ngx-components-protocol-opcua.mjs +58 -58
- package/fesm2022/c8y-ngx-components-register-device.mjs +58 -58
- package/fesm2022/c8y-ngx-components-remote-access-configurations.mjs +9 -9
- package/fesm2022/c8y-ngx-components-remote-access-data.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-passthrough.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-shared.mjs +6 -6
- package/fesm2022/c8y-ngx-components-remote-access-ssh-remote-access-ssh-endpoint-modal.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-ssh.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-telnet.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-terminal-viewer.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-vnc-remote-access-vnc-endpoint-modal.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-vnc-vnc-viewer.mjs +6 -6
- package/fesm2022/c8y-ngx-components-remote-access-vnc.mjs +3 -3
- package/fesm2022/c8y-ngx-components-replace-device-replace-device-wizard.mjs +6 -6
- package/fesm2022/c8y-ngx-components-replace-device.mjs +10 -10
- package/fesm2022/c8y-ngx-components-report-dashboard.mjs +16 -16
- package/fesm2022/c8y-ngx-components-reports.mjs +19 -19
- package/fesm2022/c8y-ngx-components-repository-configuration.mjs +48 -48
- package/fesm2022/c8y-ngx-components-repository-firmware.mjs +33 -33
- package/fesm2022/c8y-ngx-components-repository-shared.mjs +34 -34
- package/fesm2022/c8y-ngx-components-repository-software.mjs +42 -42
- package/fesm2022/c8y-ngx-components-repository.mjs +4 -4
- package/fesm2022/c8y-ngx-components-search.mjs +19 -19
- package/fesm2022/c8y-ngx-components-sensor-phone-sensor-phone-modal.mjs +6 -6
- package/fesm2022/c8y-ngx-components-sensor-phone.mjs +7 -7
- package/fesm2022/c8y-ngx-components-services-service-command-tab.mjs +3 -3
- package/fesm2022/c8y-ngx-components-services-shared.mjs +3 -3
- package/fesm2022/c8y-ngx-components-services.mjs +29 -29
- package/fesm2022/c8y-ngx-components-sigfox-device-registration.mjs +16 -16
- package/fesm2022/c8y-ngx-components-sms-gateway.mjs +7 -7
- package/fesm2022/c8y-ngx-components-static-assets-data.mjs +3 -3
- package/fesm2022/c8y-ngx-components-static-assets-modal.mjs +9 -9
- package/fesm2022/c8y-ngx-components-static-assets.mjs +6 -6
- package/fesm2022/c8y-ngx-components-sub-assets.mjs +60 -60
- package/fesm2022/c8y-ngx-components-tenants.mjs +40 -40
- package/fesm2022/c8y-ngx-components-time-context.mjs +6 -6
- package/fesm2022/c8y-ngx-components-tracking.mjs +12 -12
- package/fesm2022/c8y-ngx-components-translation-editor-data.mjs +3 -3
- package/fesm2022/c8y-ngx-components-translation-editor-lazy.mjs +12 -12
- package/fesm2022/c8y-ngx-components-translation-editor.mjs +6 -6
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs +33 -33
- package/fesm2022/c8y-ngx-components-upgrade-upgraded-services.mjs +4 -4
- package/fesm2022/c8y-ngx-components-upgrade.mjs +41 -41
- package/fesm2022/c8y-ngx-components-user-roles.mjs +10 -10
- package/fesm2022/c8y-ngx-components-widgets-definitions-asset-table.mjs +6 -6
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs +39 -3
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-table.mjs +19 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-table.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget-ai-config.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs +6 -6
- package/fesm2022/c8y-ngx-components-widgets-definitions-info-gauge.mjs +95 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-info-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-kpi.mjs +21 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-kpi.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-linear-gauge.mjs +23 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-linear-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-pie-chart.mjs +15 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-pie-chart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-radial-gauge.mjs +24 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-radial-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-silo.mjs +23 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-silo.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs +19 -19
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-notes.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-table.mjs +39 -39
- package/fesm2022/c8y-ngx-components-widgets-implementations-cockpit-legacy-welcome.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-cockpit-welcome.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +31 -75
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs +74 -113
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-device-control-message.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-device-management-welcome.mjs +10 -10
- package/fesm2022/c8y-ngx-components-widgets-implementations-help-and-service-widget.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs +24 -24
- package/fesm2022/c8y-ngx-components-widgets-implementations-image.mjs +13 -14
- package/fesm2022/c8y-ngx-components-widgets-implementations-image.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-info-gauge.mjs +36 -59
- package/fesm2022/c8y-ngx-components-widgets-implementations-info-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-kpi.mjs +14 -10
- package/fesm2022/c8y-ngx-components-widgets-implementations-kpi.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-linear-gauge.mjs +15 -11
- package/fesm2022/c8y-ngx-components-widgets-implementations-linear-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs +10 -10
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-markdown.mjs +9 -9
- package/fesm2022/c8y-ngx-components-widgets-implementations-pie-chart.mjs +12 -46
- package/fesm2022/c8y-ngx-components-widgets-implementations-pie-chart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-quick-links.mjs +28 -25
- package/fesm2022/c8y-ngx-components-widgets-implementations-quick-links.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-three-d-rotation.mjs +9 -9
- package/fesm2022/c8y-ngx-components.mjs +1386 -1386
- package/locales/de.po +20 -0
- package/locales/es.po +20 -0
- package/locales/fr.po +20 -0
- package/locales/ja_JP.po +19 -0
- package/locales/ko.po +20 -0
- package/locales/locales.pot +45 -7
- package/locales/nl.po +20 -0
- package/locales/pl.po +20 -0
- package/locales/pt_BR.po +20 -0
- package/locales/zh_CN.po +20 -0
- package/locales/zh_TW.po +20 -0
- package/package.json +1 -1
- package/widgets/definitions/datapoints-graph/index.d.ts.map +1 -1
- package/widgets/definitions/datapoints-table/index.d.ts.map +1 -1
- package/widgets/definitions/info-gauge/index.d.ts.map +1 -1
- package/widgets/definitions/kpi/index.d.ts.map +1 -1
- package/widgets/definitions/linear-gauge/index.d.ts.map +1 -1
- package/widgets/definitions/pie-chart/index.d.ts.map +1 -1
- package/widgets/definitions/radial-gauge/index.d.ts.map +1 -1
- package/widgets/definitions/silo/index.d.ts.map +1 -1
- package/widgets/implementations/datapoints-graph/index.d.ts +4 -8
- package/widgets/implementations/datapoints-graph/index.d.ts.map +1 -1
- package/widgets/implementations/datapoints-table/index.d.ts +19 -23
- package/widgets/implementations/datapoints-table/index.d.ts.map +1 -1
- package/widgets/implementations/image/index.d.ts.map +1 -1
- package/widgets/implementations/info-gauge/index.d.ts +3 -2
- package/widgets/implementations/info-gauge/index.d.ts.map +1 -1
- package/widgets/implementations/kpi/index.d.ts +3 -2
- package/widgets/implementations/kpi/index.d.ts.map +1 -1
- package/widgets/implementations/linear-gauge/index.d.ts +3 -2
- package/widgets/implementations/linear-gauge/index.d.ts.map +1 -1
- package/widgets/implementations/pie-chart/index.d.ts +0 -9
- package/widgets/implementations/pie-chart/index.d.ts.map +1 -1
- package/widgets/implementations/quick-links/index.d.ts +1 -1
- package/widgets/implementations/quick-links/index.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-computed-asset-properties-last-measurement-config.component-DkrSvf9F.mjs.map +0 -1
|
@@ -7,7 +7,7 @@ import * as i2 from '@angular/cdk/drag-drop';
|
|
|
7
7
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
8
8
|
import * as i1 from '@c8y/ngx-components';
|
|
9
9
|
import { ColorService, EmptyStateComponent, ContextRouteService } from '@c8y/ngx-components';
|
|
10
|
-
import { WidgetConfigComponent } from '@c8y/ngx-components/context-dashboard';
|
|
10
|
+
import { WidgetConfigComponent, WidgetConfigService } from '@c8y/ngx-components/context-dashboard';
|
|
11
11
|
import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';
|
|
12
12
|
import * as i7 from '@angular/router';
|
|
13
13
|
import { ActivatedRoute } from '@angular/router';
|
|
@@ -75,6 +75,7 @@ type OmitSelectorProperties = {
|
|
|
75
75
|
color?: boolean;
|
|
76
76
|
label?: boolean;
|
|
77
77
|
};
|
|
78
|
+
type ConfigStoreMode = 'ISOLATED' | 'MIXED';
|
|
78
79
|
|
|
79
80
|
declare class AlarmEventAttributesFormService {
|
|
80
81
|
duplicateTypeValidator(selectedItems: AlarmOrEvent[]): (control: AbstractControl) => ValidationErrors | null;
|
|
@@ -246,7 +247,8 @@ declare class AlarmEventSelectionListComponent implements ControlValueAccessor,
|
|
|
246
247
|
ngOnDestroy(): void;
|
|
247
248
|
registerOnTouched(fn: any): void;
|
|
248
249
|
validate(_control: AbstractControl): ValidationErrors;
|
|
249
|
-
|
|
250
|
+
get formGroups(): FormGroup[];
|
|
251
|
+
writeValue(alarmsOrEvents: AlarmOrEvent[]): void;
|
|
250
252
|
registerOnChange(fn: any): void;
|
|
251
253
|
add(): void;
|
|
252
254
|
onItemRemoved(index: number): void;
|
|
@@ -363,6 +365,54 @@ declare class AlarmEventSelectorModule {
|
|
|
363
365
|
static ɵinj: i0.ɵɵInjectorDeclaration<AlarmEventSelectorModule>;
|
|
364
366
|
}
|
|
365
367
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
+
declare class WidgetEventSelectorComponent implements OnInit {
|
|
369
|
+
/**
|
|
370
|
+
* The name of the control in the widget configuration where
|
|
371
|
+
* the selected events will be stored.
|
|
372
|
+
*/
|
|
373
|
+
controlName: string;
|
|
374
|
+
/**
|
|
375
|
+
* Determines how the config is updated:
|
|
376
|
+
* - ISOLATED: Only stores items matching the events timelineType
|
|
377
|
+
* - MIXED: Stores both alarms and events together
|
|
378
|
+
*/
|
|
379
|
+
configStoreMode: ConfigStoreMode;
|
|
380
|
+
events: EventDetails[];
|
|
381
|
+
readonly widgetConfigService: WidgetConfigService;
|
|
382
|
+
readonly timelineType: TimelineType;
|
|
383
|
+
ngOnInit(): void;
|
|
384
|
+
onEventsChange(events: EventDetails[]): void;
|
|
385
|
+
private getEvents;
|
|
386
|
+
private updateEventsConfig;
|
|
387
|
+
private getAlarmsOrEventsFromWidgetConfig;
|
|
388
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetEventSelectorComponent, never>;
|
|
389
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetEventSelectorComponent, "c8y-widget-event-selector", never, { "controlName": { "alias": "controlName"; "required": false; }; "configStoreMode": { "alias": "configStoreMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
declare class WidgetAlarmSelectorComponent implements OnInit {
|
|
393
|
+
/**
|
|
394
|
+
* The name of the control in the widget configuration where
|
|
395
|
+
* the selected alarms will be stored.
|
|
396
|
+
*/
|
|
397
|
+
controlName: string;
|
|
398
|
+
/**
|
|
399
|
+
* Determines how the config is updated:
|
|
400
|
+
* - ISOLATED: Only stores items matching the alarms timelineType
|
|
401
|
+
* - MIXED: Stores both alarms and events together
|
|
402
|
+
*/
|
|
403
|
+
configStoreMode: ConfigStoreMode;
|
|
404
|
+
alarms: AlarmDetails[];
|
|
405
|
+
readonly widgetConfigService: WidgetConfigService;
|
|
406
|
+
readonly timelineType: TimelineType;
|
|
407
|
+
ngOnInit(): void;
|
|
408
|
+
onAlarmsChange(alarms: AlarmDetails[]): void;
|
|
409
|
+
private getAlarms;
|
|
410
|
+
private updateAlarmsConfig;
|
|
411
|
+
private getAlarmsOrEventsFromWidgetConfig;
|
|
412
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAlarmSelectorComponent, never>;
|
|
413
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetAlarmSelectorComponent, "c8y-widget-alarm-selector", never, { "controlName": { "alias": "controlName"; "required": false; }; "configStoreMode": { "alias": "configStoreMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export { ALARM_TEXTS, AlarmEventAttributesFormComponent, AlarmEventSelectionListComponent, AlarmEventSelectorComponent, AlarmEventSelectorListItemComponent, AlarmEventSelectorModalComponent, AlarmEventSelectorModalService, AlarmEventSelectorModule, AlarmEventSelectorService, CustomAlarmEventFormComponent, EVENT_TEXTS, IncludesAlarmOrEventPipe, WidgetAlarmSelectorComponent, WidgetEventSelectorComponent };
|
|
417
|
+
export type { AlarmDetails, AlarmEventSelectorModalOptions, AlarmOrEvent, ConfigStoreMode, EventDetails, OmitSelectorProperties, SelectedDatapoint, TimelineType, TimelineTypeTexts };
|
|
368
418
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../alarm-event-selector/alarm-event-selector.model.ts","../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.service.ts","../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.ts","../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.ts","../../alarm-event-selector/alarm-event-selector-modal/alarm-event-selector-modal.component.ts","../../alarm-event-selector/alarm-event-selector-modal/alarm-event-selector-modal.model.ts","../../alarm-event-selector/alarm-event-selector-modal/alarm-event-selector-modal.service.ts","../../alarm-event-selector/alarm-event-selector.service.ts","../../alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.ts","../../alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.ts","../../alarm-event-selector/alarm-event-selector.component.ts","../../alarm-event-selector/pipes/includes-alarm.pipe.ts","../../alarm-event-selector/custom-alarm-event-form/custom-alarm-event-form.component.ts","../../alarm-event-selector/alarm-event-selector.module.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAKA;;;;;AAKE;;;;;AAMI;;AAEJ;;;;;AAMI;;AAEJ;;;;;AAMI;;;;;;AAQA;;;;;;;;;;;;;;;;;AAkBN;AAsBA;AAsBA;;AAEG;AACG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../alarm-event-selector/alarm-event-selector.model.ts","../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.service.ts","../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.ts","../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.ts","../../alarm-event-selector/alarm-event-selector-modal/alarm-event-selector-modal.component.ts","../../alarm-event-selector/alarm-event-selector-modal/alarm-event-selector-modal.model.ts","../../alarm-event-selector/alarm-event-selector-modal/alarm-event-selector-modal.service.ts","../../alarm-event-selector/alarm-event-selector.service.ts","../../alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.ts","../../alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.ts","../../alarm-event-selector/alarm-event-selector.component.ts","../../alarm-event-selector/pipes/includes-alarm.pipe.ts","../../alarm-event-selector/custom-alarm-event-form/custom-alarm-event-form.component.ts","../../alarm-event-selector/alarm-event-selector.module.ts","../../alarm-event-selector/widget-event-selector.component.ts","../../alarm-event-selector/widget-alarm-selector.component.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAKA;;;;;AAKE;;;;;AAMI;;AAEJ;;;;;AAMI;;AAEJ;;;;;AAMI;;;;;;AAQA;;;;;;;;;;;;;;;;;AAkBN;AAsBA;AAsBA;;AAEG;AACG;;;;;;ACrGN;;;;AAaC;;;;ACZG;AACD;AACD;AACA;AACA;AACD;;ACyBD;AAoCI;AACA;;;;;;AAJF;AAGU;;AAwBV;AAIA;AAIA;AAIA;AAIA;;AAiBA;AAIA;;;AAKD;;AClID;AAwBc;;;AAhBZ;AACA;AACA;;AAEA;AACA;;;;;;AAWoB;AAEpB;;AAUA;;;AAGD;;AC5CK;;ACIN;;AAEG;AACH;AAEc;AAAQ;AACpB;;;;AAIG;AACH;;;AAUD;;ACbD;AAQI;AACA;AACA;;;AAGF;;;;AAIG;AACH;AAIA;;;;AAIG;;AAWH;;;;;AAKG;AACG;;;AAuBA;AACA;;;;;AA2CP;;ACrED;AA0FI;AACA;AACA;AACY;AACA;AACA;AA9Dd;;;AAGG;;AAGH;;AAEG;AACM;AAET;;AAEG;AACM;AAEA;;AAGT;;;AAGG;;AAGH;;AAEG;AACM;AAET;;;AAGG;AACM;AAET;;AAEG;AACM;;AAGA;;AAGT;;AAEG;AACM;;;AAIT;;;AAeA;AAYA;AAKA;AAIA;AAIA;AAIA;AAWA;;;AA2CA;AAMA;AAOA;;;AAUD;;AC3ND;AA2Dc;;AAnBH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAIC;AACA;;AAGV;;AAGoB;;;;AA0BpB;AAIA;AAIA;AASA;AAIA;;;AAiBA;;;AAKD;;ACrID;AAwDc;;;AAxBH;AACA;AACA;AACA;AACA;;AAGC;AACV;AACA;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAMoB;AAEpB;AAQA;AAMA;AAUA;;AAYA;AAKA;AAIA;AAoCA;AAKA;AAIA;;;AAaD;;ACnMD;AAEE;;;AAWD;;ACFD;AA4Bc;;;;;;AAPF;AACA;;AAGV;;AAGoB;;;;AAmCpB;;;AAKD;;AClED;;;;AAoBwC;;ACxBxC;AAmBE;;;AAGG;AACM;AAET;;;;AAIG;;;;AAMH;AAEA;AAIA;AAIA;AAMA;AAeA;;;AAOD;;ACzED;AAmBE;;;AAGG;AACM;AAET;;;;AAIG;;;;AAMH;AAEA;AAIA;AAIA;AAMA;AAeA;;;AAOD;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injector, Type, TemplateRef, ElementRef, ViewContainerRef, OnInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _c8y_client from '@c8y/client';
|
|
4
|
-
import { IManagedObject, IAlarm, IEvent, Paging } from '@c8y/client';
|
|
4
|
+
import { IIdentified, IManagedObject, IAlarm, IEvent, Paging } from '@c8y/client';
|
|
5
5
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
6
6
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
7
7
|
import { CdkTree } from '@angular/cdk/tree';
|
|
@@ -146,6 +146,10 @@ type AssetPropertyListConfig = {
|
|
|
146
146
|
* Tabs to hide in the custom properties drawer.
|
|
147
147
|
*/
|
|
148
148
|
hiddenTabs?: HiddenTabs;
|
|
149
|
+
/**
|
|
150
|
+
* Flag to add context asset's ID and name to output properties.
|
|
151
|
+
*/
|
|
152
|
+
addAssetToProperty?: boolean;
|
|
149
153
|
};
|
|
150
154
|
declare const defaultAssetPropertyListConfig: AssetPropertyListConfig;
|
|
151
155
|
declare const defaultAssetProperties: Array<BaseProperty>;
|
|
@@ -208,6 +212,7 @@ interface BaseProperty {
|
|
|
208
212
|
active?: boolean;
|
|
209
213
|
computed?: boolean;
|
|
210
214
|
instanceId?: string;
|
|
215
|
+
asset?: IIdentified;
|
|
211
216
|
[key: string]: any;
|
|
212
217
|
}
|
|
213
218
|
interface NestedPropertyFields extends BaseProperty {
|
|
@@ -345,7 +350,10 @@ interface AssetPropertyFlatNode {
|
|
|
345
350
|
property: AssetPropertyType;
|
|
346
351
|
isVisible: boolean;
|
|
347
352
|
indeterminate?: boolean;
|
|
348
|
-
|
|
353
|
+
/**
|
|
354
|
+
* ID of asset that was selected while configuring the computed property.
|
|
355
|
+
*/
|
|
356
|
+
configuredAssetId?: string;
|
|
349
357
|
}
|
|
350
358
|
declare class FlatTreeDataSource extends DataSource<AssetPropertyFlatNode> {
|
|
351
359
|
private _dataChange;
|
|
@@ -786,9 +794,15 @@ declare class AssetPropertyTabsComponent implements OnInit, OnChanges, OnDestroy
|
|
|
786
794
|
paging: Paging<IManagedObject>;
|
|
787
795
|
inputText: string;
|
|
788
796
|
selectedTab: AssetPropertyTab;
|
|
789
|
-
assetProperties: AssetPropertyType[];
|
|
790
|
-
|
|
791
|
-
|
|
797
|
+
set assetProperties(value: AssetPropertyType[]);
|
|
798
|
+
get assetProperties(): AssetPropertyType[];
|
|
799
|
+
private _assetProperties;
|
|
800
|
+
set regularProperties(value: AssetPropertyType[]);
|
|
801
|
+
get regularProperties(): AssetPropertyType[];
|
|
802
|
+
private _regularProperties;
|
|
803
|
+
set computedProperties(value: AssetPropertyType[]);
|
|
804
|
+
get computedProperties(): AssetPropertyType[];
|
|
805
|
+
private _computedProperties;
|
|
792
806
|
displayedProperties: AssetPropertyType[];
|
|
793
807
|
assetCount: number;
|
|
794
808
|
regularCount: number;
|
|
@@ -835,6 +849,7 @@ declare class AssetPropertyTabsComponent implements OnInit, OnChanges, OnDestroy
|
|
|
835
849
|
* @returns The flattened list of properties.
|
|
836
850
|
*/
|
|
837
851
|
private categorizeAndFlattenHierarchicalProperties;
|
|
852
|
+
private withContextAssetId;
|
|
838
853
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertyTabsComponent, never>;
|
|
839
854
|
static ɵcmp: i0.ɵɵComponentDeclaration<AssetPropertyTabsComponent, "c8y-asset-property-tabs", never, { "asset": { "alias": "asset"; "required": false; }; "config": { "alias": "config"; "required": false; }; "selectedProperties": { "alias": "selectedProperties"; "required": false; }; "hiddenTabs": { "alias": "hiddenTabs"; "required": false; }; "tabsOutletName": { "alias": "tabsOutletName"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; }, { "selectedPropertiesChange": "selectedPropertiesChange"; }, never, never, true, never>;
|
|
840
855
|
}
|
|
@@ -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":";;;;;;;;;;;;;AAKA;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;;;AAIL;AAaA;AAwnBA;;;;;;;;;;;;;;;;;AAKM;AAeN;;;;;;;;;;;;;;;;AAiBE;;;;;AAKA;;AAAmD;AACnD;AACD;;AAGC;AACA;AACD
|
|
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":";;;;;;;;;;;;;AAKA;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;;;;;;;;;;;;;;;;;AAKM;AAeN;;;;;;;;;;;;;;;;AAiBE;;;;;AAKA;;AAAmD;AACnD;AACD;;AAGC;AACA;AACD;;;;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EG;AACM;AAET;;AAEG;;AAEH;;AAEG;AACH;;;;;;;;AAWA;AAUA;;AAEG;AACH;AAIA;;AAEG;;AAKH;;AAEG;AACH;AAIA;;;AAGG;;AAWH;;;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;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../assets-navigator/action.enum.ts","../../assets-navigator/asset-node-config.model.ts","../../assets-navigator/group.service.ts","../../assets-navigator/asset-node.service.ts","../../assets-navigator/load-more-node.ts","../../assets-navigator/asset-node.ts","../../assets-navigator/dynamic-group-node.ts","../../assets-navigator/status.model.ts","../../assets-navigator/asset-selector/asset-selector.model.ts","../../assets-navigator/asset-selector/group-node.service.ts","../../assets-navigator/asset-selector/group-node.ts","../../assets-navigator/asset-selector/asset-selector.service.ts","../../assets-navigator/asset-selector/asset-selector-node.component.ts","../../assets-navigator/asset-selector/asset-selector-base.ts","../../assets-navigator/asset-selector/asset-selector.component.ts","../../assets-navigator/asset-selector/miller-view.component.ts","../../assets-navigator/asset-selector/asset-selector.module.ts","../../assets-navigator/assets-navigator.module.ts","../../assets-navigator/asset-node.factory.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;AACE;AACA;AACA;AACA;AACD;;ACFD;AAEA;;AAEG;;AAED;;;AAGG;;AAEH;;;AAGG;;AAEH;;;;AAIG;;AAEH;;;AAGG;;AAEH;;;;;;;AAOG;;AAEJ;;ACnCD;AAUc;AAAQ;;AAMpB;AAIA;AAIA;;;;;;;AAmBD;;;;;AClBA;AAED;;AAKE;;;;;;AAOA;AAKA;AACA;AACA;AACA;AACA;;;;;;;;;AA8BA;;;AAGG;;AA4BH;;;;AAIG;;AAwBH;AASA;;;;;;;;;;AA8CA;;;AA2BA;;;AAuCA;AASA;AAWA;AAUA;AAcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDA;;;AAAqB;;;;;;AAyCrB;;;AAGG;AACH;AAUA;;;;AAIG;AACH;AAMA;AASA;;;AAkBD;;ACpcD;;AAEE;AACA;AACA;;;;AAcD;;ACND;;;;;;AAIE;AACA;AACA;AAEA;;AAEG;;AAGH;AAIA;AAIA;AAIA;AASA;AACA;AACA;AACA;;AAIY;;AAiCZ;;;;;AAwDA;;AAUA;;;;;;AA0DA;;AAEG;;AAKH;;AAqBA;;AAsBA;AAiBA;;;;;AAmFA;;AAyBD;;ACjYD;;AACwB;AAMtB;AAIA;;AAOD;;;ACpBC;;;;;;;AAOA;;;;;;;;AAQD;;;;AAKC;;;;;AAKD;;;ACtBC;AACA;;;;AACD;;;;;;;AAQA;AAED;;AAiBE;;AAEG;AACH;AACA;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;;AAEH;;;AAGG;AACH;AACA;;AAEG;AACH;AACA;;AAEG;AACH;AACA;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;AACH;AACA;;;AAGG;;AAEH;;AAEG;AACH;AACA;;AAEG;;AAEH;;;AAGG;;AAEH;;AAEG;;AAEJ;;ACvGD;;;AAQE;;;AAGD;;ACXD;;;AAGE;;AAEG;AACH;AAEA;;AAEG;AACH;AACA;;AAEG;AACH;AAEA;;AAEG;;AAGH;;;;;;;AAOG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../assets-navigator/action.enum.ts","../../assets-navigator/asset-node-config.model.ts","../../assets-navigator/group.service.ts","../../assets-navigator/asset-node.service.ts","../../assets-navigator/load-more-node.ts","../../assets-navigator/asset-node.ts","../../assets-navigator/dynamic-group-node.ts","../../assets-navigator/status.model.ts","../../assets-navigator/asset-selector/asset-selector.model.ts","../../assets-navigator/asset-selector/group-node.service.ts","../../assets-navigator/asset-selector/group-node.ts","../../assets-navigator/asset-selector/asset-selector.service.ts","../../assets-navigator/asset-selector/asset-selector-node.component.ts","../../assets-navigator/asset-selector/asset-selector-base.ts","../../assets-navigator/asset-selector/asset-selector.component.ts","../../assets-navigator/asset-selector/miller-view.component.ts","../../assets-navigator/asset-selector/asset-selector.module.ts","../../assets-navigator/assets-navigator.module.ts","../../assets-navigator/asset-node.factory.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;AACE;AACA;AACA;AACA;AACD;;ACFD;AAEA;;AAEG;;AAED;;;AAGG;;AAEH;;;AAGG;;AAEH;;;;AAIG;;AAEH;;;AAGG;;AAEH;;;;;;;AAOG;;AAEJ;;ACnCD;AAUc;AAAQ;;AAMpB;AAIA;AAIA;;;;;;;AAmBD;;;;;AClBA;AAED;;AAKE;;;;;;AAOA;AAKA;AACA;AACA;AACA;AACA;;;;;;;;;AA8BA;;;AAGG;;AA4BH;;;;AAIG;;AAwBH;AASA;;;;;;;;;;AA8CA;;;AA2BA;;;AAuCA;AASA;AAWA;AAUA;AAcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDA;;;AAAqB;;;;;;AAyCrB;;;AAGG;AACH;AAUA;;;;AAIG;AACH;AAMA;AASA;;;AAkBD;;ACpcD;;AAEE;AACA;AACA;;;;AAcD;;ACND;;;;;;AAIE;AACA;AACA;AAEA;;AAEG;;AAGH;AAIA;AAIA;AAIA;AASA;AACA;AACA;AACA;;AAIY;;AAiCZ;;;;;AAwDA;;AAUA;;;;;;AA0DA;;AAEG;;AAKH;;AAqBA;;AAsBA;AAiBA;;;;;AAmFA;;AAyBD;;ACjYD;;AACwB;AAMtB;AAIA;;AAOD;;;ACpBC;;;;;;;AAOA;;;;;;;;AAQD;;;;AAKC;;;;;AAKD;;;ACtBC;AACA;;;;A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ACH;AASA;;;AAGG;;AAeH;;;AAGG;;AAUH;;;;;AAKG;AACH;AAOA;;;AAiCD;;ACpID;;AAEG;AACH;;;;;AA+BE;;AAEG;;AAEH;;AAEG;;AAEH;;;AAGG;AACM;AACT;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;AACM;AACT;;AAEG;;AAEH;;AAEG;AACM;AACA;;AAEA;AACT;;AAEG;AACO;AACV;;AAEG;AACO;AACV;;AAEG;AACO;AACV;;AAEG;AACO;AACV;;AAEG;AACH;AACA;;;AAGG;AACH;AACA;;AAEG;AACH;AACA;;AAEG;AACH;;;AAMA;;AAEG;AAES;AAQZ;;;;;AAKG;AACH;AAcA;;AAEG;;;AAkDH;;AAEG;AACH;AAIA;;AAEG;;AAOH;;AAEG;;AAMH;;AAEG;;;AAcH;;;;;;;AAOG;;AA2BH;;;AAGG;;AAmBH;;AAEG;;AAKH;;AAEG;;AA6BH;;AAEG;;;;;AA+BkB;;AAAoD;AAYzE;AA2BA;;;AAUD;;ACjaD;;;;;AAsBE;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;;AAEH;;AAEG;AACO;AACV;;AAEG;AACO;AACV;;AAEG;;AAEH;;;AAGG;AACH;AACA;;AAEG;AACH;AACA;;AAEG;;AAEM;;AAOT;;AAEG;;AAIS;AAQZ;;AAEG;;AAyBH;;AAEG;;AAiBH;;;;;AAKG;AACH;AAIA;;AAEG;AACH;AAgCA;;AAEG;;AASH;;AAEG;AACH;AAYA;;;;;;;;AAQG;AACH;;;AAiCD;;AClQD;;;;AAemC;;ACrBnC;;;;;AAiBC;;ACjBD;AAGI;AACmD;AAD3C;AAIV;;;AAaD;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../computed-asset-properties/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../computed-asset-properties/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAmBA,cAAA,gCAAA,UAAA,0BAAA,GAA6C,aAAA,CAAA,aAAA,GAAA,aAAA,CAAA,aAAA,GAAA,aAAA,CAAA,gBAAA,UAAA,4BAAA,UAAA,oBAAA,UAAA,oBAAA,UAAA,wBAAA;;;;"}
|
|
@@ -13,7 +13,7 @@ import { SupportedIconsSuggestions } from '@c8y/ngx-components/icon-selector/ico
|
|
|
13
13
|
import * as rxjs from 'rxjs';
|
|
14
14
|
import { Observable as Observable$1, BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
15
15
|
import * as _angular_forms from '@angular/forms';
|
|
16
|
-
import { FormBuilder, NgForm } from '@angular/forms';
|
|
16
|
+
import { FormBuilder, ValidatorFn, NgForm } from '@angular/forms';
|
|
17
17
|
import * as i2 from 'ngx-bootstrap/tooltip';
|
|
18
18
|
import * as i3 from 'ngx-bootstrap/popover';
|
|
19
19
|
import * as i4 from '@c8y/ngx-components/assets-navigator';
|
|
@@ -380,7 +380,7 @@ declare class ContextDashboardService {
|
|
|
380
380
|
private appStateService;
|
|
381
381
|
private contextRouteService;
|
|
382
382
|
dashboardTabs$: Observable$1<Tab[]>;
|
|
383
|
-
formDisabled$: Observable$1<boolean>;
|
|
383
|
+
readonly formDisabled$: Observable$1<boolean>;
|
|
384
384
|
readonly REPORT_PARTIAL_NAME = "report_";
|
|
385
385
|
copyClipboard: DashboardCopyClipboard;
|
|
386
386
|
queriesUtil: QueriesUtil;
|
|
@@ -1189,6 +1189,28 @@ interface WidgetConfigSectionBase<T> {
|
|
|
1189
1189
|
* provided multiple times, only one is used.
|
|
1190
1190
|
*/
|
|
1191
1191
|
providers?: Type<unknown>[] | (() => Promise<Type<unknown>[]>);
|
|
1192
|
+
/**
|
|
1193
|
+
* An array of validator functions to be applied to the main widget config form.
|
|
1194
|
+
* These validators are added when the section is initialized and allow for custom
|
|
1195
|
+
* validation logic (useful for cross-section or cross-fields validation).
|
|
1196
|
+
*
|
|
1197
|
+
* **Note:** Validator must indicate the names of form controls (at least one) whose values affect the validation outcome.
|
|
1198
|
+
* This can be done by setting a `controlNames` property on the validator function:
|
|
1199
|
+
*
|
|
1200
|
+
* @example
|
|
1201
|
+
* ```TypeScript
|
|
1202
|
+
* const myValidator: ValidatorFn = (formGroup: AbstractControl) => {
|
|
1203
|
+
* // validation logic
|
|
1204
|
+
* };
|
|
1205
|
+
* (myValidator as any).controlNames = ['control1', 'control2'];
|
|
1206
|
+
* ```
|
|
1207
|
+
*/
|
|
1208
|
+
validators?: ValidatorFn[];
|
|
1209
|
+
/**
|
|
1210
|
+
* Custom validation errors to display.
|
|
1211
|
+
* Keys should match the error keys, values are the error messages.
|
|
1212
|
+
*/
|
|
1213
|
+
validationErrors?: Record<string, string>;
|
|
1192
1214
|
}
|
|
1193
1215
|
|
|
1194
1216
|
declare class WidgetConfigSectionService extends ExtensionPointForPlugins<WidgetConfigSectionDefinition> {
|
|
@@ -1469,10 +1491,16 @@ declare class WidgetPreviewComponent {
|
|
|
1469
1491
|
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetPreviewComponent, "c8y-widget-preview", never, { "previewClasses": { "alias": "previewClasses"; "required": false; }; }, {}, never, never, true, never>;
|
|
1470
1492
|
}
|
|
1471
1493
|
|
|
1472
|
-
declare class WidgetConfigSectionComponent {
|
|
1494
|
+
declare class WidgetConfigSectionComponent implements OnInit {
|
|
1473
1495
|
section: WidgetConfigSection;
|
|
1474
1496
|
feedbackTemplate: TemplateRef<any>;
|
|
1497
|
+
customValidatorsTouched: i0.WritableSignal<boolean>;
|
|
1498
|
+
readonly parentForm: NgForm;
|
|
1499
|
+
private readonly destroyRef;
|
|
1475
1500
|
setFeedbackTemplate(template: TemplateRef<any>): void;
|
|
1501
|
+
ngOnInit(): void;
|
|
1502
|
+
private initializeCustomValidation;
|
|
1503
|
+
private extractControlNames;
|
|
1476
1504
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetConfigSectionComponent, never>;
|
|
1477
1505
|
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetConfigSectionComponent, "c8y-widget-config-section", never, { "section": { "alias": "section"; "required": false; }; }, {}, never, never, true, never>;
|
|
1478
1506
|
}
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;AAKA;AAQI;AACA;AADQ;;;;AAoBX;;ACpBD;AACE;;;;AAMM;;AAoCP;;ACzCD;AACA;;;;;;;;;;;;;;;;AAiBE;;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;AAED;;;;;;;AAOA;;;AAGG;AACG;AACJ;;AAEG;;AAEH;;AAEG;AACH;AACA;;;;;;;;;;;;;AAaG;;AAKG;AACD;;AAKP;AACE;AACA;AACA;AACA;AACA;AACD;AAED;AACE;AACA;AACA;AACD;AAEK;;AAE0D;;;;;AAO/D;AAED;;;;;;;;;;;;;;;;;AAuBA;;;;;;;;;;;;;;;;;;;;;AA4BA;;;;;;;;;;;;;;;;;AA2BA;;;;;AAUC;;;AAIC;AACD;AAED;AACM;AAEN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCE;AACD;AAED;AAEM;AAEN;AACA;;;;;;;;;;;;AAaC;;AC3UD;AAwCI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAlDF;AACA;;;;;AAKA;;AAKA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AAWH;;;AAGG;;;;AAQJ;;AC7ED;;;AAGG;AACH;AAqBI;AACA;;AAfF;;AAEG;;AAIH;;AAEG;;AAMO;AAGV;;;AAGG;;AAIH;;;AAGG;;AAKH;;AAEG;AACH;AAGA;;;AAGG;AACH;AAGA;;;AAGG;AACH;AAGA;;;AAGG;AACH;;;AAGD;;ACpED;AAOI;AACA;;;;AAUI;;;AAyCN;;;AASD;;ACRD;;;;AAIG;AACH;AAuFI;AACA;AACA;AACA;AACA;AACyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;;AACoE;;AAC7D;;AA5ET;;AAIA;;AAKA;AAEA;AAEA;;AAIA;;;;;AAKA;;AAEG;AAEH;;AAGA;AAGA;;;;;;;;;;;AAmBA;;;;;;;AAwBsE;;;;;AA+BtE;;;AAGG;;AAOH;;AAEG;AACH;AAUA;;;;;AAKG;AACG;AAYN;;AAEG;;AA2BH;;;;;AAKG;AACH;;AAwCA;;;;;;AAMG;;AAmBH;;AAEG;;;AA0BH;;AAEG;;;AAcH;;;AAGG;;AAgBH;;;AAGG;AACG;;AA2EA;AAYN;;;;AAIG;;AAYH;;;;AAIG;;AAwBH;;;AAGG;;AAOH;;;AAGG;;AAOG;;;;AAoFN;AAoBA;;;AAGG;AACH;AAMA;AAaA;AAeA;AAOA;AAOA;AAkBA;AASA;AA+BA;;;AAkFA;;;;AAiBD;;ACl2BD;AAQE;AAEA;;;;AAQA;AAEA;AAGA;;;;;;;;;;;;;;;;;AAG+C;;;;;;;;;;;;;;;;;AAGD;AAG9C;AAEA;;;AAgBA;;;AAMD;;AC1DD;AAeI;AACA;;;;;;;AADQ;;;;;AAoBX;;
|
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;AAKA;AAQI;AACA;AADQ;;;;AAoBX;;ACpBD;AACE;;;;AAMM;;AAoCP;;ACzCD;AACA;;;;;;;;;;;;;;;;AAiBE;;AAEG;AACH;AACD;;AAGC;;;AAGG;;AAGH;;AAEG;;AAGH;;AAEG;AACH;AACE;;AAEG;AACH;;AAEF;;;AAGG;AACH;AACE;;AAEA;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AAEA;;AAEG;;AAIH;;AAEG;;AAIH;;AAEG;;AAIH;;AAEG;;AAIH;;;AAGG;AACH;AAEA;;AAEG;AACG;AAsCN;;;;AAIG;AACH;AAIA;;;AAGG;AACH;;;;;AAcD;;AC5ID;AAUA;;;;;AAqBC;;ACrBD;AAaE;;AAIA;;AAIA;;;AAOA;;;;AAO+E;;;AAMhF;;ACvDD;AAOE;AACwB;AAExB;;;AAGD;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../datapoint-explorer/devicemanagement/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAeA,cAAA,gBAAA,EAAA,SAAA,CAAA,QAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../datapoint-explorer/devicemanagement/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAeA,cAAA,gBAAA,EAAA,SAAA,CAAA,QAAA;AAkDA,cAAA,+BAAA,GAA4C,aAAA,CAAA,aAAA,GAAA,aAAA,CAAA,aAAA,GAAA,aAAA,CAAA,gBAAA;;;;"}
|
|
@@ -16,7 +16,7 @@ import { ControlValueAccessor, Validator, FormGroup, FormBuilder, AbstractContro
|
|
|
16
16
|
import { IIdentified, IManagedObject, InventoryService, MeasurementService, IResultList } from '@c8y/client';
|
|
17
17
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
18
18
|
import { SupportedIconsSuggestions } from '@c8y/ngx-components/icon-selector/icons';
|
|
19
|
-
import { WidgetConfigComponent } from '@c8y/ngx-components/context-dashboard';
|
|
19
|
+
import { WidgetConfigComponent, WidgetConfigService } from '@c8y/ngx-components/context-dashboard';
|
|
20
20
|
|
|
21
21
|
declare const AXIS_TYPES: readonly [{
|
|
22
22
|
readonly val: any;
|
|
@@ -325,6 +325,7 @@ declare class DatapointSelectionListComponent implements ControlValueAccessor, V
|
|
|
325
325
|
minActiveCount: number;
|
|
326
326
|
resolveContext: boolean;
|
|
327
327
|
listTitle: string;
|
|
328
|
+
removeTitle: boolean;
|
|
328
329
|
formArray: FormArray;
|
|
329
330
|
datapointLibraryEntries: Observable<IResultList<ManagedObjectKPI>>;
|
|
330
331
|
maxActiveCountReached: boolean;
|
|
@@ -333,23 +334,28 @@ declare class DatapointSelectionListComponent implements ControlValueAccessor, V
|
|
|
333
334
|
readonly addRemove: "add-remove";
|
|
334
335
|
readonly select: "select";
|
|
335
336
|
};
|
|
337
|
+
minActiveErrorMessage: "At least {{ minActive }} data point(s) must be selected and active.";
|
|
338
|
+
maxActiveErrorMessage: "At maximum {{ maxActive }} data point(s) can be selected and active.";
|
|
339
|
+
DATA_POINTS_LABEL: "Data points`display`";
|
|
336
340
|
isValid: Observable<boolean>;
|
|
337
341
|
change: Observable<any[]>;
|
|
338
342
|
private usedValidators;
|
|
339
343
|
constructor(datapointSelector: DatapointSelectorService, datapointLibrary: DatapointLibraryService, formBuilder: FormBuilder, widgetComponent: WidgetConfigComponent);
|
|
340
344
|
ngOnChanges(changes: SimpleChanges): void;
|
|
341
|
-
registerOnTouched(fn: any): void;
|
|
342
|
-
validate(_control: AbstractControl): ValidationErrors;
|
|
343
345
|
ngOnInit(): void;
|
|
344
|
-
|
|
346
|
+
registerOnTouched(fn: any): void;
|
|
347
|
+
validate(_control: AbstractControl): ValidationErrors | null;
|
|
348
|
+
writeValue(datapoints: KPIDetails[]): void;
|
|
345
349
|
registerOnChange(fn: any): void;
|
|
346
350
|
add(): void;
|
|
347
351
|
onItemRemoved(index: number): void;
|
|
352
|
+
get formGroups(): FormGroup[];
|
|
348
353
|
drop(event: CdkDragDrop<KPIDetails[]>): void;
|
|
349
354
|
private transformValue;
|
|
350
355
|
private calculateMaxActiveCount;
|
|
356
|
+
private updateValidators;
|
|
351
357
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatapointSelectionListComponent, [null, null, null, { optional: true; }]>;
|
|
352
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatapointSelectionListComponent, "c8y-datapoint-selection-list", never, { "actions": { "alias": "actions"; "required": false; }; "allowDragAndDrop": { "alias": "allowDragAndDrop"; "required": false; }; "config": { "alias": "config"; "required": false; }; "defaultFormOptions": { "alias": "defaultFormOptions"; "required": false; }; "maxActiveCount": { "alias": "maxActiveCount"; "required": false; }; "minActiveCount": { "alias": "minActiveCount"; "required": false; }; "resolveContext": { "alias": "resolveContext"; "required": false; }; "listTitle": { "alias": "listTitle"; "required": false; }; }, { "isValid": "isValid"; "change": "change"; }, never, [".alert"], true, never>;
|
|
358
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatapointSelectionListComponent, "c8y-datapoint-selection-list", never, { "actions": { "alias": "actions"; "required": false; }; "allowDragAndDrop": { "alias": "allowDragAndDrop"; "required": false; }; "config": { "alias": "config"; "required": false; }; "defaultFormOptions": { "alias": "defaultFormOptions"; "required": false; }; "maxActiveCount": { "alias": "maxActiveCount"; "required": false; }; "minActiveCount": { "alias": "minActiveCount"; "required": false; }; "resolveContext": { "alias": "resolveContext"; "required": false; }; "listTitle": { "alias": "listTitle"; "required": false; }; "removeTitle": { "alias": "removeTitle"; "required": false; }; }, { "isValid": "isValid"; "change": "change"; }, never, [".alert"], true, never>;
|
|
353
359
|
}
|
|
354
360
|
|
|
355
361
|
declare class DatapointTemplatePopoverComponent {
|
|
@@ -467,6 +473,84 @@ declare class DatapointSelectorModule {
|
|
|
467
473
|
static ɵinj: i0.ɵɵInjectorDeclaration<DatapointSelectorModule>;
|
|
468
474
|
}
|
|
469
475
|
|
|
470
|
-
|
|
476
|
+
/**
|
|
477
|
+
* A configuration component for selecting and managing datapoints in the widget config section.
|
|
478
|
+
*/
|
|
479
|
+
declare class WidgetDatapointsSelectorComponent implements OnInit {
|
|
480
|
+
/**
|
|
481
|
+
* Minimum number of active datapoints required in the list.
|
|
482
|
+
*/
|
|
483
|
+
minActiveCount: number;
|
|
484
|
+
/**
|
|
485
|
+
* Maximum number of active datapoints allowed in the list.
|
|
486
|
+
*/
|
|
487
|
+
maxActiveCount: number;
|
|
488
|
+
/**
|
|
489
|
+
* When true, adds an info validation error if selected active datapoints
|
|
490
|
+
* have different units.
|
|
491
|
+
*/
|
|
492
|
+
showDifferentUnitsAlert: boolean;
|
|
493
|
+
/**
|
|
494
|
+
* The title displayed above the datapoint selection list.
|
|
495
|
+
*
|
|
496
|
+
* When set, this title appears as a header for the datapoint list section.
|
|
497
|
+
*/
|
|
498
|
+
listTitle: string;
|
|
499
|
+
/**
|
|
500
|
+
* Configuration options for the datapoint attributes form.
|
|
501
|
+
*/
|
|
502
|
+
defaultFormOptions: Partial<DatapointAttributesFormConfig>;
|
|
503
|
+
/**
|
|
504
|
+
* Configuration options for the datapoint selector modal.
|
|
505
|
+
*
|
|
506
|
+
* These options customize the behavior and appearance of the modal
|
|
507
|
+
* dialog used for selecting datapoints.
|
|
508
|
+
*/
|
|
509
|
+
config: Partial<DatapointSelectorModalOptions>;
|
|
510
|
+
/**
|
|
511
|
+
* The name of the control in the widget configuration where
|
|
512
|
+
* the selected datapoints will be stored.
|
|
513
|
+
*
|
|
514
|
+
* This corresponds to a property name in the widget's configuration object.
|
|
515
|
+
*/
|
|
516
|
+
controlName: string;
|
|
517
|
+
/**
|
|
518
|
+
* Whether to hide the title section of the datapoint selection list.
|
|
519
|
+
*
|
|
520
|
+
* When set to `true`, the title header will not be rendered.
|
|
521
|
+
*/
|
|
522
|
+
removeTitle: boolean;
|
|
523
|
+
/**
|
|
524
|
+
* Whether to read `showAdvancedChartOptions` from the widget config
|
|
525
|
+
* and merge it into `defaultFormOptions`.
|
|
526
|
+
*
|
|
527
|
+
* When set to `true`, the component will subscribe to `currentConfig$`
|
|
528
|
+
* and apply the `showAdvancedChartOptions` flag.
|
|
529
|
+
* Defaults to `false`.
|
|
530
|
+
*/
|
|
531
|
+
useAdvancedChartOptions: boolean;
|
|
532
|
+
datapoints: KPIDetails[];
|
|
533
|
+
differentUnits: boolean;
|
|
534
|
+
differentUnitsMessageError: "Selected data points have different units.";
|
|
535
|
+
readonly widgetConfigService: WidgetConfigService;
|
|
536
|
+
private readonly widgetComponent;
|
|
537
|
+
private readonly dashboardContextComponent;
|
|
538
|
+
private readonly destroyRef;
|
|
539
|
+
ngOnInit(): void;
|
|
540
|
+
onDatapointsChange(datapoints: KPIDetails[]): void;
|
|
541
|
+
private getDatapointsFromWidgetConfig;
|
|
542
|
+
private assignContextFromContextDashboard;
|
|
543
|
+
/**
|
|
544
|
+
* Checks if selected datapoints have different units and sets warning flag.
|
|
545
|
+
* Different units in a pie chart can be misleading to users.
|
|
546
|
+
*
|
|
547
|
+
* @param datapoints - Array of selected datapoints to check
|
|
548
|
+
*/
|
|
549
|
+
private checkUnitsMatch;
|
|
550
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetDatapointsSelectorComponent, never>;
|
|
551
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetDatapointsSelectorComponent, "c8y-widget-datapoints-selector", never, { "minActiveCount": { "alias": "minActiveCount"; "required": false; }; "maxActiveCount": { "alias": "maxActiveCount"; "required": false; }; "showDifferentUnitsAlert": { "alias": "showDifferentUnitsAlert"; "required": false; }; "listTitle": { "alias": "listTitle"; "required": false; }; "defaultFormOptions": { "alias": "defaultFormOptions"; "required": false; }; "config": { "alias": "config"; "required": false; }; "controlName": { "alias": "controlName"; "required": false; }; "removeTitle": { "alias": "removeTitle"; "required": false; }; "useAdvancedChartOptions": { "alias": "useAdvancedChartOptions"; "required": false; }; }, {}, never, never, true, never>;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export { AXIS_TYPES, AddButtonTypes, CHART_LINE_TYPES, CHART_RENDER_TYPES, DATAPOINT_LIBRARY_FRAGMENT, DatapointAttributesFormComponent, DatapointAttributesFormValidationService, DatapointLabelPipe, DatapointLibraryService, DatapointSelectionListComponent, DatapointSelectorComponent, DatapointSelectorListItemComponent, DatapointSelectorModalComponent, DatapointSelectorModule, DatapointSelectorService, DatapointTemplatePopoverComponent, IncludesDatapointPipe, WidgetDatapointsSelectorComponent };
|
|
471
555
|
export type { AddButtonType, AxisTypes, ChartLineTypes, ChartRenderTypes, DatapointAction, DatapointAttributesFormConfig, DatapointSelectorModalAssetSelectorOptions, DatapointSelectorModalOptions, KPIDetails, ManagedObjectKPI };
|
|
472
556
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../datapoint-selector/datapoint-attributes-form/datapoint-attributes.model.ts","../../datapoint-selector/datapoint-selection.model.ts","../../datapoint-selector/datapoint-library.service.ts","../../datapoint-selector/datapoint-selector.component.ts","../../datapoint-selector/datapoint-selector-modal/datapoint-selector-modal.component.ts","../../datapoint-selector/datapoint-selector-list-item/datapoint-selector-list-item.component.ts","../../datapoint-selector/datapoint-selector-modal/datapoint-selector-modal.model.ts","../../datapoint-selector/datapoint-selector.service.ts","../../datapoint-selector/datapoint-selection-list/datapoint-selection-list.component.ts","../../datapoint-selector/datapoint-template-popover/datapoint-template-popover.component.ts","../../datapoint-selector/pipes/includes-datapoint.pipe.ts","../../datapoint-selector/pipes/datapoint-label.pipe.ts","../../datapoint-selector/pipes/filter-datapoints.pipe.ts","../../datapoint-selector/datapoint-attributes-form/datapoint-attributes-form-validation.service.ts","../../datapoint-selector/datapoint-attributes-form/datapoint-attributes-form.component.ts","../../datapoint-selector/datapoint-selector.module.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;AAMM;AAEN;;;;;;;;;;;;;;;;;;;AASM;AAEN;;;;;;;;;;;;;;;;;;;AASM;;ACrBN;;;;AAKE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACD;AAEK;AACJ;AACD;;;AAIC;;AAED;;;;;;;;;;;;AAaA;AAEK;;ACzCN;AAII;AACA;AACA;AACA;;AAHQ;;AAoBJ;AAUA;AAQA;AA4CA;AAwBN;;;;AAIG;AACG;AA+BU;;;;;AA4CA;AAsBhB;;;AA0BgB;;;AAqBjB;;ACpPD;AAgEc;;AAlCH;AACA;AACT;AACS;AACA;AACA;AACA;AACA;AACA;AACA;AACT;AACA;;;;;;;;AAIgC;AAEhC;AACA;AACA;AACA;AACA;;AAGA;AACA;;;;;AASoB;AAEpB;AAoBA;AAIA;AAIA;AAIA;AAYA;;;AAgCA;AAKA;AAsCA;AAQA;AAKA;AAIA;AAOA;;;AAkBD;;ACrPD;AA6BI;AACA;;AAvBF;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAUU;AAIV;AAIA;;AAUA;AAOA;;;;AAIG;AACH;;;AAOD;;AClCD;;;;;AAKM;AAEN;AAiEc;;AAzBH;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACC;AACA;AACD;AACA;;;AAIT;AACA;AACA;;;;;;AAEgC;AAEZ;AAgBpB;AAeA;AAIA;AAIA;AAIA;;;;;AAiCA;;AAoCA;AAgBA;AAUA;;;AAKD;;ACnQK;;ACIN;;AAEwB;AAEtB;;;AAcD;;ACkCD;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../datapoint-selector/datapoint-attributes-form/datapoint-attributes.model.ts","../../datapoint-selector/datapoint-selection.model.ts","../../datapoint-selector/datapoint-library.service.ts","../../datapoint-selector/datapoint-selector.component.ts","../../datapoint-selector/datapoint-selector-modal/datapoint-selector-modal.component.ts","../../datapoint-selector/datapoint-selector-list-item/datapoint-selector-list-item.component.ts","../../datapoint-selector/datapoint-selector-modal/datapoint-selector-modal.model.ts","../../datapoint-selector/datapoint-selector.service.ts","../../datapoint-selector/datapoint-selection-list/datapoint-selection-list.component.ts","../../datapoint-selector/datapoint-template-popover/datapoint-template-popover.component.ts","../../datapoint-selector/pipes/includes-datapoint.pipe.ts","../../datapoint-selector/pipes/datapoint-label.pipe.ts","../../datapoint-selector/pipes/filter-datapoints.pipe.ts","../../datapoint-selector/datapoint-attributes-form/datapoint-attributes-form-validation.service.ts","../../datapoint-selector/datapoint-attributes-form/datapoint-attributes-form.component.ts","../../datapoint-selector/datapoint-selector.module.ts","../../datapoint-selector/widget-datapoints-selector.component.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;AAMM;AAEN;;;;;;;;;;;;;;;;;;;AASM;AAEN;;;;;;;;;;;;;;;;;;;AASM;;ACrBN;;;;AAKE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACD;AAEK;AACJ;AACD;;;AAIC;;AAED;;;;;;;;;;;;AAaA;AAEK;;ACzCN;AAII;AACA;AACA;AACA;;AAHQ;;AAoBJ;AAUA;AAQA;AA4CA;AAwBN;;;;AAIG;AACG;AA+BU;;;;;AA4CA;AAsBhB;;;AA0BgB;;;AAqBjB;;ACpPD;AAgEc;;AAlCH;AACA;AACT;AACS;AACA;AACA;AACA;AACA;AACA;AACA;AACT;AACA;;;;;;;;AAIgC;AAEhC;AACA;AACA;AACA;AACA;;AAGA;AACA;;;;;AASoB;AAEpB;AAoBA;AAIA;AAIA;AAIA;AAYA;;;AAgCA;AAKA;AAsCA;AAQA;AAKA;AAIA;AAOA;;;AAkBD;;ACrPD;AA6BI;AACA;;AAvBF;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAUU;AAIV;AAIA;;AAUA;AAOA;;;;AAIG;AACH;;;AAOD;;AClCD;;;;;AAKM;AAEN;AAiEc;;AAzBH;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACC;AACA;AACD;AACA;;;AAIT;AACA;AACA;;;;;;AAEgC;AAEZ;AAgBpB;AAeA;AAIA;AAIA;AAIA;;;;;AAiCA;;AAoCA;AAgBA;AAUA;;;AAKD;;ACnQK;;ACIN;;AAEwB;AAEtB;;;AAcD;;ACkCD;AAoEI;AACA;AACA;AACY;;AAtCd;;AAEG;AACM;AACA;AACA;AACT;;AAEG;;AAEH;;AAEG;AACM;AACA;AACA;AACA;;;AAGT;;;;;AACgC;AAEhC;AAGA;AAGA;AAEU;AACA;;AAIA;AAaV;AAQA;AAUA;AAIA;AAUA;AAYA;;;AAqCA;AAIA;AAMA;AAOA;AASA;;;AAaD;;AC9PD;;;;;;AAWG;;;AAwBF;;ACrCD;;;;AAaC;;ACbD;AAEE;;;AAE0D;;;AAmB3D;;ACvBD;;AAYE;;;AAqBD;;ACvBD;AAEc;AAAQ;AAEpB;AA4BA;;;;;;;;;;;AAyJA;AAOA;AAQA;AAMA;AAOA;;;AAWD;;AC5MD;AAkEc;;;;AA9BH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;AAaT;;AAEI;;;AAGJ;;;AAIoB;AAKpB;AAKA;AAMA;AAMA;AAOA;AAeA;AASA;AAIA;AAOA;AAYA;AAYA;AAMA;AAcA;AAQA;;;AAOD;;AC3MD;;;;AA+BuC;;AClCvC;;AAEG;AACH;AAgBE;;AAEG;AACM;AAET;;AAEG;;AAGH;;;AAGG;AACM;AAET;;;;AAIG;AACM;AAET;;AAEG;AACM;AAET;;;;;AAKG;AACM;AAET;;;;;AAKG;AACM;AAET;;;;AAIG;AACM;AAET;;;;;;;AAOG;AACM;;AAGT;AAEA;;AAGA;AACA;AAGA;AAEA;AAcA;AAKA;AAWA;AAYA;;;;;AAKG;AACH;;;AAgBD;;;"}
|
|
@@ -237,10 +237,10 @@ class ActilityDeviceRegistrationService {
|
|
|
237
237
|
error.message = data.message;
|
|
238
238
|
throw error;
|
|
239
239
|
}
|
|
240
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
241
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
240
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationService, deps: [{ token: i1.InventoryService }, { token: i1.FetchClient }, { token: i2.TranslateService }, { token: i1.ApplicationService }, { token: i3.OptionsService }, { token: i3.AppStateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
241
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationService, providedIn: 'root' }); }
|
|
242
242
|
}
|
|
243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationService, decorators: [{
|
|
244
244
|
type: Injectable,
|
|
245
245
|
args: [{ providedIn: 'root' }]
|
|
246
246
|
}], ctorParameters: () => [{ type: i1.InventoryService }, { type: i1.FetchClient }, { type: i2.TranslateService }, { type: i1.ApplicationService }, { type: i3.OptionsService }, { type: i3.AppStateService }] });
|
|
@@ -461,10 +461,10 @@ class ActilityDeviceRegistrationComponent {
|
|
|
461
461
|
this.unsubscribe$.next();
|
|
462
462
|
this.unsubscribe$.complete();
|
|
463
463
|
}
|
|
464
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
465
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
464
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationComponent, deps: [{ token: i1$1.BsModalRef }, { token: ActilityDeviceRegistrationService }, { token: i3.GainsightService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
465
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.17", type: ActilityDeviceRegistrationComponent, isStandalone: true, selector: "c8y-actility-registration", ngImport: i0, template: "<c8y-modal\n [title]=\"'Actility LoRa registration' | translate\"\n [headerClasses]=\"'dialog-header'\"\n [customFooter]=\"true\"\n>\n <ng-container c8y-modal-title>\n <span [c8yIcon]=\"'c8y-device-connect'\"></span>\n </ng-container>\n\n <ng-container *ngIf=\"state === 'loadPending'; else registrationForm\">\n <div class=\"p-16 text-center\">\n <c8y-loading></c8y-loading>\n </div>\n </ng-container>\n\n <!--Formly schema is rendered-->\n <ng-template #registrationForm>\n <c8y-stepper\n [hideStepProgress]=\"true\"\n c8y-modal-body\n linear\n *ngIf=\"(errorMessages$ | async).length === 0; else errorMessagesPresent\"\n >\n <cdk-step [stepControl]=\"form\">\n <div class=\"p-b-16\">\n <p class=\"modal-subtitle sticky-top\">\n {{ 'Register a single Actility device' | translate }}\n </p>\n <formly-form\n class=\"formly-group-array-cols d-block p-l-24 p-r-24 p-t-16\"\n [form]=\"form\"\n [fields]=\"fields\"\n [model]=\"model\"\n ></formly-form>\n </div>\n\n <c8y-stepper-buttons\n class=\"sticky-bottom d-block p-t-16 p-b-16 separator-top bg-level-0\"\n [labels]=\"registrationStepLabels\"\n (onNext)=\"register($event)\"\n (onCancel)=\"bsModalRef.hide()\"\n [showButtons]=\"{ cancel: true, next: true }\"\n [pending]=\"state === 'registrationPending'\"\n [disabled]=\"!form?.valid\"\n ></c8y-stepper-buttons>\n </cdk-step>\n <cdk-step state=\"final\">\n <!--success scenario-->\n <div\n class=\"p-16 text-center\"\n *ngIf=\"state === 'registrationPending'\"\n >\n <c8y-loading></c8y-loading>\n </div>\n <div class=\"m-24\">\n <c8y-operation-result\n class=\"lead m-b-0\"\n type=\"success\"\n *ngIf=\"state === 'registrationSuccess'\"\n text=\"{{ 'Device registered' | translate }}\"\n [size]=\"84\"\n [vertical]=\"true\"\n ></c8y-operation-result>\n </div>\n <c8y-stepper-buttons\n class=\"sticky-bottom d-block p-t-16 p-b-16 separator-top bg-level-0\"\n (onCustom)=\"bsModalRef.hide()\"\n [showButtons]=\"{ custom: true }\"\n [labels]=\"finalStepLabels\"\n ></c8y-stepper-buttons>\n </cdk-step>\n </c8y-stepper>\n </ng-template>\n\n <!--Failure scenario-->\n <ng-template #errorMessagesPresent>\n <div class=\"m-24\">\n <c8y-operation-result\n class=\"lead\"\n type=\"error\"\n *ngIf=\"state === 'registrationError'\"\n text=\"{{ 'Failed to register' | translate }}\"\n [size]=\"84\"\n [vertical]=\"true\"\n ></c8y-operation-result>\n <div\n class=\"m-b-8\"\n *ngFor=\"let msg of errorMessages$ | async\"\n data-cy=\"actility-device-registration.component--registration-error\"\n [ngClass]=\"{\n 'text-center': state === 'registrationError',\n 'alert alert-danger': state === 'loadError'\n }\"\n >\n <span [innerHTML]=\"msg | translate\"></span>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button\n class=\"btn btn-default\"\n title=\"{{ 'Close' | translate }}\"\n type=\"button\"\n (click)=\"bsModalRef.hide()\"\n >\n {{ 'Close' | translate }}\n </button>\n </div>\n </ng-template>\n</c8y-modal>\n", dependencies: [{ kind: "component", type: ModalComponent, selector: "c8y-modal", inputs: ["disabled", "close", "dismiss", "title", "body", "customFooter", "headerClasses", "labels"], outputs: ["onDismiss", "onClose"] }, { kind: "directive", type: IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LoadingComponent, selector: "c8y-loading", inputs: ["layout", "progress", "message"] }, { kind: "component", type: C8yStepper, selector: "c8y-stepper", inputs: ["disableDefaultIcons", "disableProgressButtons", "customClasses", "hideStepProgress", "useStepLabelsAsTitlesOnly"], outputs: ["onStepChange"] }, { kind: "component", type: CdkStep, selector: "cdk-step", inputs: ["stepControl", "label", "errorMessage", "aria-label", "aria-labelledby", "state", "editable", "optional", "completed", "hasError"], outputs: ["interacted"], exportAs: ["cdkStep"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i4.FormlyForm, selector: "formly-form", inputs: ["form", "model", "fields", "options"], outputs: ["modelChange"] }, { kind: "component", type: C8yStepperButtons, selector: "c8y-stepper-buttons", inputs: ["labels", "pending", "disabled", "showButtons"], outputs: ["onCancel", "onNext", "onBack", "onCustom"] }, { kind: "component", type: OperationResultComponent, selector: "c8y-operation-result", inputs: ["text", "vertical", "size", "type"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }] }); }
|
|
466
466
|
}
|
|
467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationComponent, decorators: [{
|
|
468
468
|
type: Component,
|
|
469
469
|
args: [{ selector: 'c8y-actility-registration', imports: [
|
|
470
470
|
ModalComponent,
|
|
@@ -495,10 +495,10 @@ class ActilityDeviceRegistrationButtonComponent {
|
|
|
495
495
|
ignoreBackdropClick: true
|
|
496
496
|
});
|
|
497
497
|
}
|
|
498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
499
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
498
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationButtonComponent, deps: [{ token: i1$1.BsModalService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
499
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.17", type: ActilityDeviceRegistrationButtonComponent, isStandalone: true, selector: "c8y-actility-registration-button", ngImport: i0, template: "<button title=\"{{ 'Actility LoRa' | translate }}\" type=\"button\" (click)=\"open()\">\n <i c8yIcon=\"c8y-device-connect\"></i>\n {{ 'Actility LoRa' | translate }}\n</button>\n", dependencies: [{ kind: "directive", type: IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }] }); }
|
|
500
500
|
}
|
|
501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationButtonComponent, decorators: [{
|
|
502
502
|
type: Component,
|
|
503
503
|
args: [{ selector: 'c8y-actility-registration-button', imports: [IconDirective, C8yTranslatePipe], template: "<button title=\"{{ 'Actility LoRa' | translate }}\" type=\"button\" (click)=\"open()\">\n <i c8yIcon=\"c8y-device-connect\"></i>\n {{ 'Actility LoRa' | translate }}\n</button>\n" }]
|
|
504
504
|
}], ctorParameters: () => [{ type: i1$1.BsModalService }] });
|
|
@@ -518,10 +518,10 @@ class ActilityDeviceRegistrationFactory {
|
|
|
518
518
|
}
|
|
519
519
|
return actions;
|
|
520
520
|
}
|
|
521
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
522
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
521
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationFactory, deps: [{ token: i3.TenantUiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
522
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationFactory, providedIn: 'root' }); }
|
|
523
523
|
}
|
|
524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationFactory, decorators: [{
|
|
525
525
|
type: Injectable,
|
|
526
526
|
args: [{
|
|
527
527
|
providedIn: 'root'
|
|
@@ -529,19 +529,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
529
529
|
}], ctorParameters: () => [{ type: i3.TenantUiService }] });
|
|
530
530
|
|
|
531
531
|
class ActilityDeviceRegistrationModule {
|
|
532
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
533
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
532
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
533
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationModule, imports: [CoreModule,
|
|
534
534
|
CommonModule,
|
|
535
535
|
ActilityDeviceRegistrationButtonComponent,
|
|
536
536
|
ActilityDeviceRegistrationComponent] }); }
|
|
537
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
537
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationModule, providers: [
|
|
538
538
|
ActilityDeviceRegistrationService,
|
|
539
539
|
hookDeviceRegistration(ActilityDeviceRegistrationFactory)
|
|
540
540
|
], imports: [CoreModule,
|
|
541
541
|
CommonModule,
|
|
542
542
|
ActilityDeviceRegistrationComponent] }); }
|
|
543
543
|
}
|
|
544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ActilityDeviceRegistrationModule, decorators: [{
|
|
545
545
|
type: NgModule,
|
|
546
546
|
args: [{
|
|
547
547
|
imports: [
|