@c8y/ngx-components 1022.28.2 → 1022.33.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/asset-properties/asset-properties.model.d.ts +12 -3
- package/asset-properties/asset-properties.model.d.ts.map +1 -1
- package/asset-properties/asset-properties.service.d.ts +20 -2
- package/asset-properties/asset-properties.service.d.ts.map +1 -1
- package/asset-properties/asset-property-list/asset-property-icon-tooltip.pipe.d.ts +14 -0
- package/asset-properties/asset-property-list/asset-property-icon-tooltip.pipe.d.ts.map +1 -0
- package/asset-properties/asset-property-list/asset-property-icon.pipe.d.ts.map +1 -1
- package/asset-properties/asset-property-list/asset-property-list.component.d.ts +28 -18
- package/asset-properties/asset-property-list/asset-property-list.component.d.ts.map +1 -1
- package/asset-properties/asset-property-selector-drawer/asset-property-selector-drawer.component.d.ts +2 -2
- package/asset-properties/asset-property-selector-drawer/asset-property-selector-drawer.component.d.ts.map +1 -1
- package/asset-properties/custom-properties-drawer/custom-properties-drawer.component.d.ts +97 -0
- package/asset-properties/custom-properties-drawer/custom-properties-drawer.component.d.ts.map +1 -0
- package/asset-properties/custom-properties-drawer.service.d.ts +12 -0
- package/asset-properties/custom-properties-drawer.service.d.ts.map +1 -0
- package/asset-properties/index.d.ts +1 -0
- package/asset-properties/index.d.ts.map +1 -1
- package/context-dashboard/dashboard-detail.service.d.ts +2 -2
- package/context-dashboard/widget-config-hook/widget-config-hook.model.d.ts +2 -1
- package/context-dashboard/widget-config-hook/widget-config-hook.model.d.ts.map +1 -1
- package/context-dashboard/widget-config.component.d.ts +3 -1
- package/context-dashboard/widget-config.component.d.ts.map +1 -1
- package/context-dashboard/widget-config.service.d.ts +14 -8
- package/context-dashboard/widget-config.service.d.ts.map +1 -1
- package/core/dynamic-component/dynamic-component.model.d.ts +26 -0
- package/core/dynamic-component/dynamic-component.model.d.ts.map +1 -1
- package/core/i18n/pattern-messages.data.d.ts +7 -0
- package/core/i18n/pattern-messages.data.d.ts.map +1 -1
- package/core/index.d.ts +1 -0
- package/core/index.d.ts.map +1 -1
- package/core/query-param-handler/query-param-handler.service.d.ts +1 -1
- package/core/query-param-handler/query-param-handler.service.d.ts.map +1 -1
- package/core/query-param-handler/query-param-modal-handler.service.d.ts +16 -5
- package/core/query-param-handler/query-param-modal-handler.service.d.ts.map +1 -1
- package/core/resizable-grid/index.d.ts +2 -0
- package/core/resizable-grid/index.d.ts.map +1 -0
- package/core/resizable-grid/resizable-grid.component.d.ts +114 -0
- package/core/resizable-grid/resizable-grid.component.d.ts.map +1 -0
- package/dashboard-manager/devicemanagement/c8y-ngx-components-dashboard-manager-devicemanagement.d.ts.map +1 -0
- package/dashboard-manager/devicemanagement/index.d.ts +2 -0
- package/dashboard-manager/devicemanagement/index.d.ts.map +1 -0
- package/datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/data-fetching.service.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-actility-device-registration.mjs +16 -16
- package/fesm2022/c8y-ngx-components-actility-device-registration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-advanced-software-management.mjs +7 -7
- package/fesm2022/c8y-ngx-components-advanced-software-management.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs +34 -34
- 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-cockpit.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms-devicemanagement.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs +73 -73
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-api.mjs +7 -7
- package/fesm2022/c8y-ngx-components-api.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-app-logs.mjs +10 -10
- package/fesm2022/c8y-ngx-components-app-logs.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-asset-properties.mjs +427 -66
- package/fesm2022/c8y-ngx-components-asset-properties.mjs.map +1 -1
- package/fesm2022/{c8y-ngx-components-asset-property-grid.component-WUN1r4fC.mjs → c8y-ngx-components-asset-property-grid.component-CRnyUbyz.mjs} +13 -13
- package/fesm2022/{c8y-ngx-components-asset-property-grid.component-WUN1r4fC.mjs.map → c8y-ngx-components-asset-property-grid.component-CRnyUbyz.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-assets-navigator.mjs +32 -32
- package/fesm2022/c8y-ngx-components-assets-navigator.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs +114 -114
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-binary-file-download.mjs +7 -7
- package/fesm2022/c8y-ngx-components-binary-file-download.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-bookmarks.mjs +13 -13
- package/fesm2022/c8y-ngx-components-bookmarks.mjs.map +1 -1
- 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-dark-theme.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-extra-css-branding-editor.mjs +7 -7
- package/fesm2022/c8y-ngx-components-branding-extra-css-branding-editor.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-plain-branding-editor-lazy.mjs +3 -3
- package/fesm2022/c8y-ngx-components-branding-plain-branding-editor-lazy.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-plain-branding-editor.mjs +7 -7
- package/fesm2022/c8y-ngx-components-branding-plain-branding-editor.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-shared-data.mjs +15 -15
- package/fesm2022/c8y-ngx-components-branding-shared-data.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-shared-lazy-add-branding-modal.mjs +6 -6
- package/fesm2022/c8y-ngx-components-branding-shared-lazy-add-branding-modal.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-shared-lazy.mjs +33 -33
- package/fesm2022/c8y-ngx-components-branding-shared-lazy.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-shared.mjs +10 -10
- package/fesm2022/c8y-ngx-components-branding-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-child-devices.mjs +13 -13
- package/fesm2022/c8y-ngx-components-child-devices.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs +40 -40
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-connectivity.mjs +53 -53
- package/fesm2022/c8y-ngx-components-connectivity.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-asset-add.mjs +10 -10
- package/fesm2022/c8y-ngx-components-context-dashboard-asset-add.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-asset-view.mjs +7 -7
- package/fesm2022/c8y-ngx-components-context-dashboard-asset-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-cockpit-home-dashboard.mjs +11 -11
- package/fesm2022/c8y-ngx-components-context-dashboard-cockpit-home-dashboard.mjs.map +1 -1
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-C-JLbcn5.mjs → c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-BWyhab0H.mjs} +4 -4
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-C-JLbcn5.mjs.map → c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-BWyhab0H.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-general-settings.component-RXvOcs04.mjs → c8y-ngx-components-context-dashboard-dashboard-general-settings.component-DjlpSztw.mjs} +10 -10
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-general-settings.component-RXvOcs04.mjs.map → c8y-ngx-components-context-dashboard-dashboard-general-settings.component-DjlpSztw.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-version-history.component-DmPIJGXO.mjs → c8y-ngx-components-context-dashboard-dashboard-version-history.component-B2zLhv0X.mjs} +4 -4
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-version-history.component-DmPIJGXO.mjs.map → c8y-ngx-components-context-dashboard-dashboard-version-history.component-B2zLhv0X.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-device-add.mjs +10 -10
- package/fesm2022/c8y-ngx-components-context-dashboard-device-add.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard-device-view.mjs +7 -7
- package/fesm2022/c8y-ngx-components-context-dashboard-device-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs +133 -116
- 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-DtLAOoFx.mjs → c8y-ngx-components-dashboard-details-advanced-tab-dashboard-details-advanced-tab.component-CwfVxTSx.mjs} +16 -16
- package/fesm2022/{c8y-ngx-components-dashboard-details-advanced-tab-dashboard-details-advanced-tab.component-DtLAOoFx.mjs.map → c8y-ngx-components-dashboard-details-advanced-tab-dashboard-details-advanced-tab.component-CwfVxTSx.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-dashboard-details-advanced-tab.mjs +12 -12
- package/fesm2022/c8y-ngx-components-dashboard-details-advanced-tab.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-dashboard-manager-devicemanagement.mjs +19 -0
- package/fesm2022/c8y-ngx-components-dashboard-manager-devicemanagement.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-dashboard-manager.mjs +22 -22
- package/fesm2022/c8y-ngx-components-dashboard-manager.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-data-broker.mjs +7 -7
- package/fesm2022/c8y-ngx-components-data-broker.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-data-grid-columns-asset-type.mjs +3 -3
- package/fesm2022/c8y-ngx-components-data-grid-columns-asset-type.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-data-grid-columns.mjs +3 -3
- package/fesm2022/c8y-ngx-components-data-grid-columns.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-devicemanagement.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +24 -24
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs +7 -7
- package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-library-details.mjs +3 -3
- package/fesm2022/c8y-ngx-components-datapoint-library-details.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-library-list.mjs +3 -3
- package/fesm2022/c8y-ngx-components-datapoint-library-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-library-services.mjs +3 -3
- package/fesm2022/c8y-ngx-components-datapoint-library-services.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-library.mjs +4 -4
- package/fesm2022/c8y-ngx-components-datapoint-library.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs +40 -40
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs +41 -40
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-default-subscriptions.mjs +16 -16
- package/fesm2022/c8y-ngx-components-default-subscriptions.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-grid.mjs +43 -43
- package/fesm2022/c8y-ngx-components-device-grid.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-list.mjs +22 -22
- package/fesm2022/c8y-ngx-components-device-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-map.mjs +12 -12
- package/fesm2022/c8y-ngx-components-device-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-profile.mjs +34 -34
- package/fesm2022/c8y-ngx-components-device-profile.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-protocol-object-mappings.mjs +3 -3
- package/fesm2022/c8y-ngx-components-device-protocol-object-mappings.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-protocols.mjs +16 -16
- package/fesm2022/c8y-ngx-components-device-protocols.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs +13 -13
- package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-shell.mjs +31 -31
- package/fesm2022/c8y-ngx-components-device-shell.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-diagnostics.mjs +13 -13
- package/fesm2022/c8y-ngx-components-diagnostics.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart-models.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +27 -27
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +43 -43
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-archived-confirm.mjs +7 -7
- package/fesm2022/c8y-ngx-components-ecosystem-archived-confirm.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-license-confirm.mjs +10 -10
- package/fesm2022/c8y-ngx-components-ecosystem-license-confirm.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-plugin-setup-stepper.mjs +7 -7
- package/fesm2022/c8y-ngx-components-ecosystem-plugin-setup-stepper.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs +46 -46
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs +82 -82
- package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-editor.mjs +6 -6
- package/fesm2022/c8y-ngx-components-editor.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-events-events-timeline.mjs +3 -3
- package/fesm2022/c8y-ngx-components-events-events-timeline.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-events.mjs +3 -3
- package/fesm2022/c8y-ngx-components-events.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-exports-list.mjs +6 -6
- package/fesm2022/c8y-ngx-components-exports-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-exports.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-file-preview.mjs +7 -7
- package/fesm2022/c8y-ngx-components-file-preview.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-files-repository.mjs +19 -19
- package/fesm2022/c8y-ngx-components-files-repository.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-arrows.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-city.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-data.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-dateAndTime.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-devicesAndSensors.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-ecommerce.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-editing.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-filesAndFolders.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-finance.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-hands.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-location.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-messaging.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-multimedia.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-network.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-office.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-people.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-platform.mjs +1 -0
- package/fesm2022/c8y-ngx-components-icon-selector-icons-platform.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-programming.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-security.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-transport.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-userInterface.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons-weather.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-model.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector.mjs +19 -19
- package/fesm2022/c8y-ngx-components-icon-selector.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 +28 -28
- package/fesm2022/c8y-ngx-components-location.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-loriot-device-registration.mjs +16 -16
- package/fesm2022/c8y-ngx-components-loriot-device-registration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-map.mjs +19 -19
- package/fesm2022/c8y-ngx-components-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-messaging-management.mjs +55 -55
- package/fesm2022/c8y-ngx-components-messaging-management.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-from-single.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-from-single.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-list-item.mjs +19 -19
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-list-item.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-scheduler.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-stepper.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-bulk-operation-stepper.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-list.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-service.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-service.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-stepper-container.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-bulk-operations-stepper-container.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs +10 -10
- package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-create-bulk-operation-details.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-create-bulk-operation-details.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-device-selector.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-device-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-grid-columns.mjs +12 -12
- package/fesm2022/c8y-ngx-components-operations-grid-columns.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-operation-details.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-operation-details.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-operation-summary.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-operation-summary.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-operations-list-item-details.mjs +10 -10
- package/fesm2022/c8y-ngx-components-operations-operations-list-item-details.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-operations-list.mjs +12 -12
- package/fesm2022/c8y-ngx-components-operations-operations-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-operations-timeline.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-operations-timeline.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-product-experience.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-shared.mjs +10 -10
- package/fesm2022/c8y-ngx-components-operations-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-status-filter.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-status-filter.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-configuration.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-device-profile.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-device-profile.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-firmware.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-firmware.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-software.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-stepper-bulk-type-software.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-stepper-frames.mjs +13 -13
- package/fesm2022/c8y-ngx-components-operations-stepper-frames.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations.mjs +7 -7
- package/fesm2022/c8y-ngx-components-operations.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-pending-mo-request.mjs +7 -7
- package/fesm2022/c8y-ngx-components-pending-mo-request.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-platform-configuration.mjs +10 -10
- package/fesm2022/c8y-ngx-components-platform-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-protocol-lpwan.mjs +38 -38
- package/fesm2022/c8y-ngx-components-protocol-lpwan.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-protocol-opcua-mappings.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-protocol-opcua.mjs +58 -58
- package/fesm2022/c8y-ngx-components-protocol-opcua.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-register-device.mjs +58 -58
- package/fesm2022/c8y-ngx-components-register-device.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-configurations.mjs +9 -9
- package/fesm2022/c8y-ngx-components-remote-access-configurations.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-data.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-data.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-passthrough.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-passthrough.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-shared.mjs +6 -6
- 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 +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-ssh-remote-access-ssh-endpoint-modal.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-ssh.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-ssh.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-telnet.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-telnet.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-terminal-viewer.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-terminal-viewer.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-vnc-remote-access-vnc-endpoint-modal.mjs +3 -3
- 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 +6 -6
- package/fesm2022/c8y-ngx-components-remote-access-vnc-vnc-viewer.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-vnc.mjs +3 -3
- package/fesm2022/c8y-ngx-components-remote-access-vnc.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-replace-device-replace-device-wizard.mjs +6 -6
- package/fesm2022/c8y-ngx-components-replace-device-replace-device-wizard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-replace-device.mjs +13 -29
- package/fesm2022/c8y-ngx-components-replace-device.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-report-dashboard.mjs +16 -16
- package/fesm2022/c8y-ngx-components-report-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-reports.mjs +19 -19
- package/fesm2022/c8y-ngx-components-reports.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-repository-configuration.mjs +48 -48
- package/fesm2022/c8y-ngx-components-repository-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-repository-firmware.mjs +33 -33
- package/fesm2022/c8y-ngx-components-repository-firmware.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-repository-shared.mjs +34 -34
- package/fesm2022/c8y-ngx-components-repository-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-repository-software.mjs +42 -42
- package/fesm2022/c8y-ngx-components-repository-software.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-repository.mjs +4 -4
- package/fesm2022/c8y-ngx-components-repository.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-search.mjs +19 -19
- package/fesm2022/c8y-ngx-components-search.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-sensor-phone-sensor-phone-modal.mjs +33 -27
- package/fesm2022/c8y-ngx-components-sensor-phone-sensor-phone-modal.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-sensor-phone.mjs +17 -320
- package/fesm2022/c8y-ngx-components-sensor-phone.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-services-service-command-tab.mjs +3 -3
- package/fesm2022/c8y-ngx-components-services-service-command-tab.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-services-shared.mjs +3 -3
- package/fesm2022/c8y-ngx-components-services-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-services.mjs +29 -29
- package/fesm2022/c8y-ngx-components-services.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-sigfox-device-registration.mjs +16 -16
- package/fesm2022/c8y-ngx-components-sigfox-device-registration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-sms-gateway.mjs +7 -7
- package/fesm2022/c8y-ngx-components-sms-gateway.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-static-assets-data.mjs +3 -3
- package/fesm2022/c8y-ngx-components-static-assets-data.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-static-assets-modal.mjs +3 -3
- package/fesm2022/c8y-ngx-components-static-assets-modal.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-static-assets.mjs +6 -6
- package/fesm2022/c8y-ngx-components-static-assets.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-sub-assets.mjs +60 -60
- package/fesm2022/c8y-ngx-components-sub-assets.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-tenants.mjs +40 -40
- package/fesm2022/c8y-ngx-components-tenants.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-time-context.mjs +6 -6
- package/fesm2022/c8y-ngx-components-time-context.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-tracking.mjs +12 -12
- package/fesm2022/c8y-ngx-components-tracking.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-translation-editor-data.mjs +3 -3
- package/fesm2022/c8y-ngx-components-translation-editor-data.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-translation-editor-lazy.mjs +12 -12
- package/fesm2022/c8y-ngx-components-translation-editor-lazy.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-translation-editor.mjs +6 -6
- package/fesm2022/c8y-ngx-components-translation-editor.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs +33 -33
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-upgrade-upgraded-services.mjs +4 -4
- package/fesm2022/c8y-ngx-components-upgrade-upgraded-services.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-upgrade.mjs +41 -41
- package/fesm2022/c8y-ngx-components-upgrade.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-user-roles.mjs +10 -10
- package/fesm2022/c8y-ngx-components-user-roles.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-cockpit-exports.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-cockpit.mjs +4 -4
- package/fesm2022/c8y-ngx-components-widgets-cockpit.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-alarm-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-recent-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-applications.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-asset-notes.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-cockpit-legacy-welcome.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-cockpit-welcome.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-table.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-device-control-message.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-device-management-welcome.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-help-and-service.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs +18 -14
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-image.mjs +4 -2
- package/fesm2022/c8y-ngx-components-widgets-definitions-image.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-info-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-kpi.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-linear-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-markdown.mjs +4 -2
- package/fesm2022/c8y-ngx-components-widgets-definitions-markdown.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-quick-links.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-radial-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-silo.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-three-d-rotation.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-device-management.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs +22 -22
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-notes.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-notes.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-cockpit-legacy-welcome.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-cockpit-legacy-welcome.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-cockpit-welcome.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-cockpit-welcome.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +6 -6
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs +50 -36
- 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-control-message.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-device-management-welcome.mjs +7 -7
- package/fesm2022/c8y-ngx-components-widgets-implementations-device-management-welcome.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-help-and-service-widget.mjs +3 -3
- package/fesm2022/c8y-ngx-components-widgets-implementations-help-and-service-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs +22 -22
- package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-image.mjs +9 -9
- package/fesm2022/c8y-ngx-components-widgets-implementations-image.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-info-gauge.mjs +18 -18
- package/fesm2022/c8y-ngx-components-widgets-implementations-info-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-kpi.mjs +6 -6
- package/fesm2022/c8y-ngx-components-widgets-implementations-kpi.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-linear-gauge.mjs +6 -6
- package/fesm2022/c8y-ngx-components-widgets-implementations-linear-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs +9 -9
- 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-markdown.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-quick-links.mjs +18 -18
- 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-widgets-implementations-three-d-rotation.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-import-export-config.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets.mjs +4 -4
- package/fesm2022/c8y-ngx-components-widgets.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +1658 -1315
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/icon-selector/icons/index.d.ts +1 -1
- package/icon-selector/icons/platform/index.d.ts +2 -2
- package/icon-selector/icons/platform/index.d.ts.map +1 -1
- package/locales/de.po +26 -3
- package/locales/es.po +26 -3
- package/locales/fr.po +26 -3
- package/locales/ja_JP.po +25 -3
- package/locales/ko.po +26 -3
- package/locales/locales.pot +25 -2
- package/locales/nl.po +26 -3
- package/locales/pl.po +26 -3
- package/locales/pt_BR.po +26 -3
- package/locales/zh_CN.po +26 -3
- package/locales/zh_TW.po +26 -3
- package/package.json +1 -1
- package/replace-device/replace-device.module.d.ts.map +1 -1
- package/sensor-phone/sensor-phone-modal/sensor-phone-modal.component.d.ts +6 -6
- package/sensor-phone/sensor-phone-modal/sensor-phone-modal.component.d.ts.map +1 -1
- package/sensor-phone/sensor-phone-modal/sensor-phone.model.d.ts +0 -1
- package/sensor-phone/sensor-phone-modal/sensor-phone.model.d.ts.map +1 -1
- package/sensor-phone/sensor-phone.module.d.ts +2 -3
- package/sensor-phone/sensor-phone.module.d.ts.map +1 -1
- package/widgets/definitions/datapoints-table/index.d.ts +1 -2
- package/widgets/definitions/datapoints-table/index.d.ts.map +1 -1
- package/widgets/definitions/html-widget/html-widget-config.factory.d.ts +1 -1
- package/widgets/definitions/html-widget/html-widget-config.factory.d.ts.map +1 -1
- package/widgets/definitions/image/index.d.ts +1 -1
- package/widgets/definitions/image/index.d.ts.map +1 -1
- package/widgets/definitions/markdown/index.d.ts +1 -1
- package/widgets/definitions/markdown/index.d.ts.map +1 -1
- package/widgets/implementations/datapoints-table/datapoints-table-view/datapoints-table-view.component.d.ts.map +1 -1
- package/widgets/implementations/three-d-rotation/three-d-rotation-widget-view/three-d-rotation-widget-view.component.d.ts.map +1 -1
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export type AssetPropertyListConfig = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* List of properties that should be selected by default when the asset property list is loaded.
|
|
4
|
+
*/
|
|
5
|
+
selectedProperties?: AssetPropertyType[];
|
|
6
|
+
/**
|
|
7
|
+
* Flag to enable or disable the filter functionality in the asset property list.
|
|
4
8
|
* When enabled, a search input will be displayed to filter properties by their names.
|
|
5
9
|
*/
|
|
6
|
-
|
|
10
|
+
filterable?: boolean;
|
|
7
11
|
/**
|
|
8
12
|
* The mode of the asset property list describing how the properties are selected.
|
|
9
13
|
* - `single` - only one property can be selected at a time
|
|
@@ -38,6 +42,10 @@ export type AssetPropertyListConfig = {
|
|
|
38
42
|
* - `default-properties` - default properties are shown (like ID, name, type, etc.)
|
|
39
43
|
*/
|
|
40
44
|
emptyStateContent?: 'empty' | 'default-properties';
|
|
45
|
+
/**
|
|
46
|
+
* Flag to allow adding custom properties to the asset property list with additional dialog.
|
|
47
|
+
*/
|
|
48
|
+
allowAddingCustomProperties?: boolean;
|
|
41
49
|
/**
|
|
42
50
|
* Asset property list allows to provide custom properties as an input.
|
|
43
51
|
* This flag defines how the input properties are handled.
|
|
@@ -66,7 +74,7 @@ export declare const RESULT_TYPES: {
|
|
|
66
74
|
label: "Value, unit and time";
|
|
67
75
|
};
|
|
68
76
|
};
|
|
69
|
-
type C8yPropertyType = 'string' | 'number' | 'integer' | 'boolean' | 'object' | 'array' | 'null' | ['string', 'null'] | Array<C8yPropertyType>;
|
|
77
|
+
export type C8yPropertyType = 'string' | 'number' | 'integer' | 'boolean' | 'object' | 'array' | 'null' | ['string', 'null'] | Array<C8yPropertyType>;
|
|
70
78
|
type C8yPropertyFormat = 'datetime' | 'hidden' | 'textarea';
|
|
71
79
|
export interface C8yJsonSchemaProperty {
|
|
72
80
|
type: C8yPropertyType;
|
|
@@ -102,6 +110,7 @@ export interface BaseProperty {
|
|
|
102
110
|
label: string;
|
|
103
111
|
type: C8yPropertyType;
|
|
104
112
|
isEditable?: boolean;
|
|
113
|
+
temporary?: boolean;
|
|
105
114
|
isStandardProperty?: boolean;
|
|
106
115
|
c8y_JsonSchema?: C8yJsonSchema;
|
|
107
116
|
active?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-properties.model.d.ts","sourceRoot":"","sources":["../../asset-properties/asset-properties.model.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IACzC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,mBAAmB,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;IAC9E;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAAC;IACnD;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,
|
|
1
|
+
{"version":3,"file":"asset-properties.model.d.ts","sourceRoot":"","sources":["../../asset-properties/asset-properties.model.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,uBA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CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,oBAAoB,CAAC"}
|
|
@@ -9,12 +9,13 @@ export declare class AssetPropertiesService {
|
|
|
9
9
|
private inventoryService;
|
|
10
10
|
private assetTypesRealtimeService;
|
|
11
11
|
private groupService;
|
|
12
|
+
private alert;
|
|
12
13
|
/**
|
|
13
|
-
* Retrieves
|
|
14
|
+
* Retrieves properties for an asset from asset library.
|
|
14
15
|
* @param asset The asset for which to retrieve custom properties.
|
|
15
16
|
* @returns A promise resolving to the list of custom properties.
|
|
16
17
|
*/
|
|
17
|
-
|
|
18
|
+
requestAssetProperties(asset: IManagedObject): Promise<IManagedObject[]>;
|
|
18
19
|
/**
|
|
19
20
|
* Retrieves the initial set of properties for an asset, based on its type.
|
|
20
21
|
* @param asset The asset for which to retrieve properties.
|
|
@@ -60,6 +61,23 @@ export declare class AssetPropertiesService {
|
|
|
60
61
|
* @returns True if the property is complex, false otherwise.
|
|
61
62
|
*/
|
|
62
63
|
isComplexProperty(property: AssetPropertyType): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Checks if two properties match for selection purposes.
|
|
66
|
+
* @param property1 First property to compare.
|
|
67
|
+
* @param property2 Second property to compare.
|
|
68
|
+
* @returns True if properties match.
|
|
69
|
+
*/
|
|
70
|
+
propertiesMatch(property1: AssetPropertyType, property2: AssetPropertyType): boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Retrieves custom properties from the properties library, optionally filtered by search text.
|
|
73
|
+
* @param searchText Optional search text to filter properties.
|
|
74
|
+
* @returns A promise resolving to the list of properties and paging information.
|
|
75
|
+
*/
|
|
76
|
+
getPropertiesFromPropertiesLibrary(searchText?: string): Promise<{
|
|
77
|
+
propertiesFromLibrary: AssetPropertyType[];
|
|
78
|
+
paging: import("@c8y/client").Paging<IManagedObject>;
|
|
79
|
+
}>;
|
|
80
|
+
private requestPropertiesFromPropertiesLibrary;
|
|
63
81
|
private addNestedProperties;
|
|
64
82
|
private flattenProperties;
|
|
65
83
|
private getManagedObjectProperties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-properties.service.d.ts","sourceRoot":"","sources":["../../asset-properties/asset-properties.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"asset-properties.service.d.ts","sourceRoot":"","sources":["../../asset-properties/asset-properties.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAiC,MAAM,aAAa,CAAC;AAI5E,OAAO,EACL,iBAAiB,EAGlB,MAAM,0BAA0B,CAAC;;AAClC;;GAEG;AACH,qBAGa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAehC;IAEF,OAAO,CAAC,gBAAgB,CAA4B;IACpD,OAAO,CAAC,yBAAyB,CAAqC;IACtE,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,KAAK,CAAwB;IAErC;;;;OAIG;IACG,sBAAsB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAgB9E;;;;OAIG;IACG,oBAAoB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAa/E;;;;OAIG;IACG,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAI9E;;;;OAIG;IACG,kBAAkB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAI7E;;;;OAIG;IACG,kBAAkB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAM7E;;;;OAIG;IACH,0BAA0B,CAAC,UAAU,EAAE,cAAc,EAAE,GAAG,iBAAiB,EAAE;IAiB7E;;;;OAIG;IACH,0CAA0C,CAAC,UAAU,EAAE,iBAAiB,EAAE,GAAG;QAC3E,MAAM,EAAE,iBAAiB,EAAE,CAAC;QAC5B,OAAO,EAAE,iBAAiB,EAAE,CAAC;KAC9B;IAsBD;;;;OAIG;IACH,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,OAAO;IAOvD;;;;;OAKG;IACH,eAAe,CAAC,SAAS,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,GAAG,OAAO;IAcpF;;;;OAIG;IACG,kCAAkC,CAAC,UAAU,CAAC,EAAE,MAAM;;;;YAgB9C,sCAAsC;IA0BpD,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,iBAAiB;IA+BzB,OAAO,CAAC,0BAA0B;IAIlC,OAAO,CAAC,gBAAgB;IAqCxB,OAAO,CAAC,kBAAkB;IAS1B,OAAO,CAAC,eAAe;yCA3TZ,sBAAsB;6CAAtB,sBAAsB;CAuUlC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AssetPropertyType, C8yPropertyType } from '../asset-properties.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A pipe that transforms an asset property type into a tooltip string.
|
|
5
|
+
* If the property is temporary, it appends "(temporary)" to the type and handles translation.
|
|
6
|
+
* Otherwise, it returns the type as is.
|
|
7
|
+
*/
|
|
8
|
+
export declare class AssetPropertyIconTooltipPipe {
|
|
9
|
+
private translateService;
|
|
10
|
+
transform(property: AssetPropertyType): string | C8yPropertyType;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertyIconTooltipPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AssetPropertyIconTooltipPipe, "c8yAssetPropertyIconTooltip", true>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=asset-property-icon-tooltip.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-property-icon-tooltip.pipe.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-list/asset-property-icon-tooltip.pipe.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;;AAI/E;;;;GAIG;AACH,qBAIa,4BAA4B;IACvC,OAAO,CAAC,gBAAgB,CAA4B;IAEpD,SAAS,CAAC,QAAQ,EAAE,iBAAiB,GAAG,MAAM,GAAG,eAAe;yCAHrD,4BAA4B;uCAA5B,4BAA4B;CAcxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-property-icon.pipe.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-list/asset-property-icon.pipe.ts"],"names":[],"mappings":";AAEA;;;GAGG;AACH,qBAIa,qBAAqB;IAChC,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;yCADpB,qBAAqB;uCAArB,qBAAqB;
|
|
1
|
+
{"version":3,"file":"asset-property-icon.pipe.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-list/asset-property-icon.pipe.ts"],"names":[],"mappings":";AAEA;;;GAGG;AACH,qBAIa,qBAAqB;IAChC,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;yCADpB,qBAAqB;uCAArB,qBAAqB;CAwBjC"}
|
|
@@ -22,9 +22,9 @@ export declare class AssetPropertyListComponent implements OnInit, OnChanges, On
|
|
|
22
22
|
*/
|
|
23
23
|
asset: IManagedObject;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Extra properties to be displayed in the list.
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
extraProperties: AssetPropertyType[];
|
|
28
28
|
/**
|
|
29
29
|
* Emits the selected properties.
|
|
30
30
|
*/
|
|
@@ -34,9 +34,9 @@ export declare class AssetPropertyListComponent implements OnInit, OnChanges, On
|
|
|
34
34
|
*/
|
|
35
35
|
properties: AssetPropertyType[];
|
|
36
36
|
/**
|
|
37
|
-
* Text input for
|
|
37
|
+
* Text input for filtering properties.
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
filterText: string;
|
|
40
40
|
/**
|
|
41
41
|
* Data source for the tree structure.
|
|
42
42
|
*/
|
|
@@ -58,9 +58,13 @@ export declare class AssetPropertyListComponent implements OnInit, OnChanges, On
|
|
|
58
58
|
*/
|
|
59
59
|
assetPropertyAction: AssetPropertyActionDirective;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* List of properties that have been added temporarily as custom properties.
|
|
62
62
|
*/
|
|
63
|
-
private
|
|
63
|
+
private addedProperties;
|
|
64
|
+
/**
|
|
65
|
+
* Subject for handling filter input.
|
|
66
|
+
*/
|
|
67
|
+
private filterSubject$;
|
|
64
68
|
/**
|
|
65
69
|
* Subject for handling component destruction.
|
|
66
70
|
*/
|
|
@@ -69,6 +73,7 @@ export declare class AssetPropertyListComponent implements OnInit, OnChanges, On
|
|
|
69
73
|
* Service for managing asset properties.
|
|
70
74
|
*/
|
|
71
75
|
private assetPropertiesService;
|
|
76
|
+
private customPropertiesDrawerService;
|
|
72
77
|
/**
|
|
73
78
|
* Constructor initializes reactive effects for expansion modes.
|
|
74
79
|
*/
|
|
@@ -83,10 +88,14 @@ export declare class AssetPropertyListComponent implements OnInit, OnChanges, On
|
|
|
83
88
|
*/
|
|
84
89
|
getProperties(): Promise<AssetPropertyType[]>;
|
|
85
90
|
/**
|
|
86
|
-
*
|
|
87
|
-
|
|
88
|
-
|
|
91
|
+
* Opens the drawer to add new custom properties.
|
|
92
|
+
*/
|
|
93
|
+
addProperty(): Promise<void>;
|
|
94
|
+
/**
|
|
95
|
+
* Removes temporary property from the list.
|
|
96
|
+
* @param property The property to remove.
|
|
89
97
|
*/
|
|
98
|
+
removeProperty(property: AssetPropertyType): Promise<void>;
|
|
90
99
|
hasChild(node: AssetPropertyFlatNode): boolean;
|
|
91
100
|
/**
|
|
92
101
|
* Gets the level of a node.
|
|
@@ -124,18 +133,19 @@ export declare class AssetPropertyListComponent implements OnInit, OnChanges, On
|
|
|
124
133
|
*/
|
|
125
134
|
onSelectMulti(selected: boolean, node: AssetPropertyFlatNode): void;
|
|
126
135
|
/**
|
|
127
|
-
* Initiates a
|
|
136
|
+
* Initiates a filter operation.
|
|
128
137
|
*/
|
|
129
|
-
|
|
138
|
+
onFilter(): void;
|
|
130
139
|
/**
|
|
131
|
-
* Clears the
|
|
140
|
+
* Clears the filter input.
|
|
132
141
|
*/
|
|
133
|
-
|
|
142
|
+
clearFilter(): void;
|
|
134
143
|
collapseButtonTitle(node: AssetPropertyFlatNode): string;
|
|
135
144
|
/**
|
|
136
145
|
* Updates the list of properties based on the configuration.
|
|
137
146
|
*/
|
|
138
147
|
private updateProperties;
|
|
148
|
+
private applySelectedPropertiesFromConfig;
|
|
139
149
|
/**
|
|
140
150
|
* Updates the selection status of child nodes.
|
|
141
151
|
* @param parent The parent node.
|
|
@@ -143,9 +153,9 @@ export declare class AssetPropertyListComponent implements OnInit, OnChanges, On
|
|
|
143
153
|
*/
|
|
144
154
|
private updateChildSelectionStatus;
|
|
145
155
|
/**
|
|
146
|
-
* Checks if a property matches the
|
|
156
|
+
* Checks if a property matches the filter criteria.
|
|
147
157
|
* @param property The property to check.
|
|
148
|
-
* @param
|
|
158
|
+
* @param filterText The filter text.
|
|
149
159
|
* @returns True if the property matches.
|
|
150
160
|
*/
|
|
151
161
|
private matchesSearch;
|
|
@@ -166,12 +176,12 @@ export declare class AssetPropertyListComponent implements OnInit, OnChanges, On
|
|
|
166
176
|
*/
|
|
167
177
|
private expandAllNodes;
|
|
168
178
|
/**
|
|
169
|
-
* Filters the tree nodes based on the
|
|
179
|
+
* Filters the tree nodes based on the filter input.
|
|
170
180
|
*/
|
|
171
181
|
private filterTree;
|
|
172
182
|
/**
|
|
173
183
|
* Expand parent nodes when filtering
|
|
174
|
-
* This method expands all nodes with children when a
|
|
184
|
+
* This method expands all nodes with children when a filter is active
|
|
175
185
|
*/
|
|
176
186
|
private expandNodesForSearch;
|
|
177
187
|
/**
|
|
@@ -190,6 +200,6 @@ export declare class AssetPropertyListComponent implements OnInit, OnChanges, On
|
|
|
190
200
|
*/
|
|
191
201
|
private fixSyntaxError;
|
|
192
202
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssetPropertyListComponent, never>;
|
|
193
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AssetPropertyListComponent, "c8y-asset-property-list", never, { "config": { "alias": "config"; "required": false; }; "asset": { "alias": "asset"; "required": false; }; "
|
|
203
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssetPropertyListComponent, "c8y-asset-property-list", never, { "config": { "alias": "config"; "required": false; }; "asset": { "alias": "asset"; "required": false; }; "extraProperties": { "alias": "extraProperties"; "required": false; }; }, { "selectedProperties": "selectedProperties"; }, ["assetPropertyAction"], never, true, never>;
|
|
194
204
|
}
|
|
195
205
|
//# sourceMappingURL=asset-property-list.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-property-list.component.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-list/asset-property-list.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGZ,SAAS,EACT,SAAS,EACT,MAAM,EAIP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EAIlB,MAAM,2BAA2B,CAAC;AAWnC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAE,OAAO,EAAiB,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;;
|
|
1
|
+
{"version":3,"file":"asset-property-list.component.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-list/asset-property-list.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGZ,SAAS,EACT,SAAS,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A0B;2CAA1B,0BAA0B;CAqlBtC"}
|
|
@@ -20,9 +20,9 @@ export declare class AssetPropertySelectorDrawerComponent {
|
|
|
20
20
|
*/
|
|
21
21
|
config: AssetPropertyListConfig;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Extra properties to be displayed in the list.
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
extraProperties: AssetPropertyType[];
|
|
26
26
|
/**
|
|
27
27
|
* Emits the selected properties when saved.
|
|
28
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-property-selector-drawer.component.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-selector-drawer/asset-property-selector-drawer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAyB,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,eAAe,EAA0C,MAAM,qBAAqB,CAAC;AAE9F,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;;AAGvF;;GAEG;AACH,qBASa,oCAAoC;IAC/C;;OAEG;IACM,KAAK,oBAA8B;IAC5C;;OAEG;IACH,KAAK,EAAG,cAAc,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,uBAAuB,CAAC;IAChC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"asset-property-selector-drawer.component.d.ts","sourceRoot":"","sources":["../../../asset-properties/asset-property-selector-drawer/asset-property-selector-drawer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAyB,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,eAAe,EAA0C,MAAM,qBAAqB,CAAC;AAE9F,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;;AAGvF;;GAEG;AACH,qBASa,oCAAoC;IAC/C;;OAEG;IACM,KAAK,oBAA8B;IAC5C;;OAEG;IACH,KAAK,EAAG,cAAc,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,uBAAuB,CAAC;IAChC;;OAEG;IACH,eAAe,EAAE,iBAAiB,EAAE,CAAM;IAC1C;;OAEG;IACO,qBAAqB,oCAA2C;IAC1E;;OAEG;IACO,uBAAuB,qBAA4B;IAC7D;;OAEG;IACH,kBAAkB,EAAE,iBAAiB,EAAE,CAAM;IAC7C;;OAEG;IACH,eAAe,uBAA2B;IAC1C;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAGjC;IACH;;OAEG;IACH,OAAO,CAAC,KAAK,CAAuC;IACpD;;OAEG;IACH,OAAO,CAAC,OAAO,CAAoC;IACnD;;;OAGG;IACH,oBAAoB,CAAC,UAAU,EAAE,iBAAiB,EAAE,GAAG,IAAI;IAI3D;;OAEG;IACH,MAAM,IAAI,IAAI;IAKd;;OAEG;IACH,QAAQ,IAAI,IAAI;IAKhB;;;OAGG;IACH,gBAAgB,IAAI,OAAO;yCA5EhB,oCAAoC;2CAApC,oCAAoC;CA+EhD"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { IManagedObject, Paging } from '@c8y/client';
|
|
3
|
+
import { BottomDrawerRef } from '@c8y/ngx-components';
|
|
4
|
+
import { AssetPropertyListConfig, AssetPropertyType } from '../asset-properties.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Represents a drawer component for selecting asset properties.
|
|
8
|
+
*/
|
|
9
|
+
export declare class CustomPropertiesDrawerComponent implements OnInit {
|
|
10
|
+
/**
|
|
11
|
+
* Title of the drawer.
|
|
12
|
+
*/
|
|
13
|
+
title: "Select property";
|
|
14
|
+
/**
|
|
15
|
+
* Configuration for the asset property list.
|
|
16
|
+
*/
|
|
17
|
+
config: AssetPropertyListConfig;
|
|
18
|
+
/**
|
|
19
|
+
* Extra properties to be displayed in the list.
|
|
20
|
+
*/
|
|
21
|
+
extraProperties: AssetPropertyType[];
|
|
22
|
+
/**
|
|
23
|
+
* Emits the selected properties when saved.
|
|
24
|
+
*/
|
|
25
|
+
savePropertySelection: EventEmitter<AssetPropertyType[]>;
|
|
26
|
+
/**
|
|
27
|
+
* Emits an event when the selection is canceled.
|
|
28
|
+
*/
|
|
29
|
+
cancelPropertySelection: EventEmitter<void>;
|
|
30
|
+
/**
|
|
31
|
+
* List of selected properties.
|
|
32
|
+
*/
|
|
33
|
+
selectedProperties: AssetPropertyType[];
|
|
34
|
+
/**
|
|
35
|
+
* Reference to the bottom drawer.
|
|
36
|
+
*/
|
|
37
|
+
bottomDrawerRef: BottomDrawerRef<any>;
|
|
38
|
+
/**
|
|
39
|
+
* Promise resolving to the selected properties.
|
|
40
|
+
*/
|
|
41
|
+
result: Promise<AssetPropertyType[]>;
|
|
42
|
+
tabNames: {
|
|
43
|
+
regular: "Regular`properties`";
|
|
44
|
+
computed: "Computed`properties`";
|
|
45
|
+
};
|
|
46
|
+
paging: Paging<IManagedObject>;
|
|
47
|
+
inputText: string;
|
|
48
|
+
selectedTab: keyof typeof this.tabNames;
|
|
49
|
+
private searchSubject$;
|
|
50
|
+
/**
|
|
51
|
+
* Internal save handler.
|
|
52
|
+
*/
|
|
53
|
+
private _save;
|
|
54
|
+
/**
|
|
55
|
+
* Internal cancel handler.
|
|
56
|
+
*/
|
|
57
|
+
private _cancel;
|
|
58
|
+
/**
|
|
59
|
+
* Subject for handling component destruction.
|
|
60
|
+
*/
|
|
61
|
+
private destroy$;
|
|
62
|
+
private assetPropertiesService;
|
|
63
|
+
ngOnInit(): Promise<void>;
|
|
64
|
+
ngOnDestroy(): void;
|
|
65
|
+
/**
|
|
66
|
+
* Updates the selected properties.
|
|
67
|
+
* @param properties The selected properties.
|
|
68
|
+
*/
|
|
69
|
+
onSelectedProperties(properties: AssetPropertyType[]): void;
|
|
70
|
+
onTabChange(tabName: keyof typeof this.tabNames): void;
|
|
71
|
+
onSearch(): void;
|
|
72
|
+
clearSearch(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Saves the selected properties and closes the drawer.
|
|
75
|
+
*/
|
|
76
|
+
onSave(): void;
|
|
77
|
+
/**
|
|
78
|
+
* Cancels the selection and closes the drawer.
|
|
79
|
+
*/
|
|
80
|
+
onCancel(): void;
|
|
81
|
+
loadMore(): Promise<void>;
|
|
82
|
+
/**
|
|
83
|
+
* Checks if the select button should be disabled.
|
|
84
|
+
* @returns True if all selected properties are inactive.
|
|
85
|
+
*/
|
|
86
|
+
selectIsDisabled(): boolean;
|
|
87
|
+
private updateProperties;
|
|
88
|
+
/**
|
|
89
|
+
* Categorizes and flattens hierarchical properties.
|
|
90
|
+
* @param properties The properties to categorize.
|
|
91
|
+
* @returns The flattened list of properties.
|
|
92
|
+
*/
|
|
93
|
+
private categorizeAndFlattenHierarchicalProperties;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomPropertiesDrawerComponent, never>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomPropertiesDrawerComponent, "c8y-custom-properties-drawer-component", never, { "title": { "alias": "title"; "required": false; }; }, { "savePropertySelection": "savePropertySelection"; "cancelPropertySelection": "cancelPropertySelection"; }, never, never, true, never>;
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=custom-properties-drawer.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-properties-drawer.component.d.ts","sourceRoot":"","sources":["../../../asset-properties/custom-properties-drawer/custom-properties-drawer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,EAAU,MAAM,eAAe,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EACL,eAAe,EAMhB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,uB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K3C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AssetPropertyType } from './asset-properties.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Service to open a drawer for selecting custom asset properties.
|
|
5
|
+
*/
|
|
6
|
+
export declare class CustomPropertiesDrawerService {
|
|
7
|
+
private bottomDrawerService;
|
|
8
|
+
getCustomProperties(): Promise<AssetPropertyType[]>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomPropertiesDrawerService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CustomPropertiesDrawerService>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=custom-properties-drawer.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-properties-drawer.service.d.ts","sourceRoot":"","sources":["../../asset-properties/custom-properties-drawer.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;;AAI7D;;GAEG;AACH,qBAGa,6BAA6B;IACxC,OAAO,CAAC,mBAAmB,CAA+B;IAEpD,mBAAmB,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC;yCAH9C,6BAA6B;6CAA7B,6BAA6B;CAezC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './asset-properties.model';
|
|
2
2
|
export * from './asset-properties.service';
|
|
3
|
+
export * from './custom-properties-drawer.service';
|
|
3
4
|
export * from './asset-property-list/asset-property-list.component';
|
|
4
5
|
export * from './asset-property-selector-drawer/asset-property-selector-drawer.component';
|
|
5
6
|
export * from './asset-property-list/asset-property-action.directive';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../asset-properties/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qDAAqD,CAAC;AACpE,cAAc,2EAA2E,CAAC;AAC1F,cAAc,uDAAuD,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../asset-properties/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,qDAAqD,CAAC;AACpE,cAAc,2EAA2E,CAAC;AAC1F,cAAc,uDAAuD,CAAC"}
|