@c8y/ng1-modules 1020.40.1 → 1021.0.4
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/aclManagement/controllers/permissionEditorCtrl.js +1 -1
- package/aclManagement/directives/permissionEditor.js +1 -1
- package/aclManagement/index.js +1 -1
- package/administration-alarmMapping/controllers/alarmMapping.js +1 -1
- package/administration-alarmMapping/index.js +1 -1
- package/administration-applicationSettings/controllers/applicationSettings.js +1 -1
- package/administration-applicationSettings/index.js +1 -1
- package/administration-applications/appWizard/appWizard.deprecated.js +0 -1
- package/administration-applications/appWizard/appWizardClone1Step.component.js +1 -1
- package/administration-applications/appWizard/appWizardClone2Step.component.js +1 -1
- package/administration-applications/appWizard/appWizardExternalStep.component.js +1 -1
- package/administration-applications/appWizard/appWizardMenuStep.component.js +1 -1
- package/administration-applications/appWizard/appWizardSmartAppStep.component.js +1 -1
- package/administration-applications/appWizard/appWizardSuccessStep.component.js +1 -1
- package/administration-applications/appWizard/appWizardUploadStep.component.js +1 -1
- package/administration-applications/appWizard/context-path.directive.js +1 -1
- package/administration-applications/application-detail/application-detail.component.js +1 -1
- package/administration-applications/application-detail/application-detail.deprecated.js +0 -1
- package/administration-applications/application-list-view/application-list-view.component.js +1 -1
- package/administration-applications/application-list-view/application-list-view.deprecated.js +0 -1
- package/administration-applications/controllers/appDetailsTitle.js +1 -1
- package/administration-applications/controllers/applicationAccessEditor.js +1 -1
- package/administration-applications/controllers/permissions.js +1 -1
- package/administration-applications/directives/applicationAccessEditor.js +1 -1
- package/administration-applications/index.js +1 -1
- package/administration-applications/index.mock.js +1 -1
- package/administration-archivesEditor/index.js +1 -1
- package/administration-archivesEditor/index.mock.js +1 -1
- package/administration-archivesEditor/list.controller.js +1 -1
- package/administration-archivesEditor/upload.controller.js +1 -1
- package/administration-auditLogs/filter.directive.js +1 -1
- package/administration-auditLogs/index.js +1 -1
- package/administration-auditLogs/index.mock.js +1 -1
- package/administration-auditLogs/list.controller.js +1 -1
- package/administration-config/administration-config.module.js +1 -1
- package/administration-deviceUsers/controllers/deviceUserDetail.js +1 -1
- package/administration-deviceUsers/controllers/deviceUserList.js +1 -1
- package/administration-deviceUsers/index.js +1 -1
- package/administration-deviceUsers/views/list.html +2 -4
- package/administration-homeAdministration/home-administration.component.js +1 -1
- package/administration-homeAdministration/home-administration.config.js +1 -1
- package/administration-retentionRules/index.js +1 -1
- package/administration-retentionRules/index.mock.js +1 -1
- package/administration-retentionRules/list.controller.js +1 -1
- package/administration-retentionRules/views/list.html +1 -1
- package/administration-statistics/controllers/statistics.js +1 -1
- package/administration-statistics/index.js +1 -1
- package/administration-statistics/index.mock.js +1 -1
- package/administration-storageLimitEmail/controllers/storageLimitCtrl.js +1 -1
- package/administration-storageLimitEmail/index.js +1 -1
- package/alarmsEventsExplorer/alarmsEventsTimelinesChart/alarmsEventsTimelinesChart.component.js +1 -1
- package/alarmsEventsExplorer/alarmsEventsTimelinesChart/alarmsEventsTimelinesChart.service.js +1 -1
- package/alarmsEventsExplorer/alarmsEventsTimelinesConfig/alarmsEventsTimelinesConfig.component.js +1 -1
- package/alarmsEventsExplorer/alarmsEventsTimelinesConfig/alarmsEventsTimelinesConfigModal.controller.js +1 -1
- package/alarmsEventsExplorer/index.js +1 -1
- package/app-logs/app-instance-logs/app-instance-logs.component.js +1 -1
- package/app-logs/app-instance-logs/app-instance-logs.html +31 -10
- package/app-logs/app-logs/app-logs.component.js +1 -1
- package/app-logs/app-logs/download-logs.component.js +1 -1
- package/app-logs/app-logs.service.js +1 -1
- package/app-logs/index.js +1 -1
- package/app-status/app-alarms/app-alarms.component.js +1 -1
- package/app-status/app-events/app-events.component.js +1 -1
- package/app-status/app-instances/app-instances.component.js +1 -1
- package/app-status/app-instances-details/app-instances-details.component.js +1 -1
- package/app-status/app-status/app-status.component.js +1 -1
- package/app-status/app-tenant-subscriptions-list/app-tenant-subscriptions-list.component.js +1 -1
- package/app-status/index.js +1 -1
- package/app-status-ui/index.js +1 -1
- package/asset-notes/assetNotes.component.js +1 -1
- package/asset-notes/assetNotes.module.js +1 -1
- package/asset-notes/assetNotes.service.js +1 -1
- package/assetPropertyWidget/index.js +1 -1
- package/assetPropertyWidget/index.mock.js +1 -1
- package/assetPropertyWidget/main.controller.js +1 -1
- package/assetTable/addIconMap.controller.js +1 -1
- package/assetTable/addOperation.controller.js +1 -1
- package/assetTable/assetTable2/assets.controller.js +1 -1
- package/assetTable/assetTable2/assets.service.js +1 -1
- package/assetTable/assetTable2/assetsConfig.controller.js +1 -1
- package/assetTable/assetTable2/configIconMap.controller.js +1 -1
- package/assetTable/assetTable2/index.js +1 -1
- package/assetTable/assetTable2/rendererButton.controller.js +1 -1
- package/assetTable/assetTable2/rendererButtonConfig.controller.js +1 -1
- package/assetTable/assetTable2/rendererIcon.controller.js +1 -1
- package/assetTable/assetTable2/sort.directive.js +1 -1
- package/assetTable/assets.controller.js +1 -1
- package/assetTable/assetsConfig.controller.js +1 -1
- package/assetTable/comparisons.service.js +1 -1
- package/assetTable/counterColumns.service.js +1 -1
- package/assetTable/index.js +1 -1
- package/assetTable/operationTemplate.service.js +1 -1
- package/assetTable/sort.directive.js +1 -1
- package/binary-file-download/binary-file-download.component.js +1 -1
- package/binary-file-download/binary-file-download.config.js +1 -1
- package/binaryArtefactsManagement/controllers/list.js +1 -1
- package/binaryArtefactsManagement/controllers/upload.js +1 -1
- package/binaryArtefactsManagement/index.js +1 -1
- package/cockpit-assetCount/controllers/AssetCount.js +1 -1
- package/cockpit-assetCount/index.js +1 -1
- package/cockpit-assetCount/services/assetCount.js +1 -1
- package/cockpit-cockpitConfig/index.js +1 -1
- package/cockpit-cockpitConfig/services/navigator.js +1 -1
- package/cockpit-dataPointExplorerUI/index.js +1 -1
- package/cockpit-reports/index.js +1 -1
- package/cockpit-reports/reports.service.js +1 -1
- package/cockpit-smartRulesUI/index.js +1 -1
- package/commandTemplates/components/commandTemplates.js +1 -1
- package/commandTemplates/controllers/commandTemplates.js +1 -1
- package/commandTemplates/index.js +1 -1
- package/connectivityV2/auditLogs.component.js +1 -1
- package/connectivityV2/connectivityV2.component.js +1 -1
- package/connectivityV2/connectivityV2.module.js +1 -1
- package/connectivityV2/connectivityV2.service.js +1 -1
- package/connectivityV2/sessions.component.js +1 -1
- package/connectivityV2/sms.component.js +1 -1
- package/connectivityV2/status.component.js +1 -1
- package/core/angular-locales.js +1 -1
- package/core/angularStart.js +1 -1
- package/core/bootstrap.js +1 -1
- package/core/core/cometdExtensions.js +1 -1
- package/core/core/config.js +1 -1
- package/core/core/index.js +1 -1
- package/core/core/locales.js +1 -1
- package/core/core/services/SMSGateway.js +1 -1
- package/core/core/services/actility.js +1 -1
- package/core/core/services/alarms.js +1 -1
- package/core/core/services/application.js +1 -1
- package/core/core/services/audits.js +1 -1
- package/core/core/services/auth.js +1 -1
- package/core/core/services/base.js +1 -1
- package/core/core/services/binary.js +1 -1
- package/core/core/services/binaryCommon.js +1 -1
- package/core/core/services/connectivity.js +1 -1
- package/core/core/services/connectivitySettings.js +1 -1
- package/core/core/services/counter.js +1 -1
- package/core/core/services/deviceBulkControl.js +1 -1
- package/core/core/services/deviceControl.js +1 -1
- package/core/core/services/deviceGroup.js +1 -1
- package/core/core/services/deviceShell.js +1 -1
- package/core/core/services/deviceStatus.js +1 -1
- package/core/core/services/devices.js +1 -1
- package/core/core/services/dynamicGroups.js +1 -1
- package/core/core/services/events.js +1 -1
- package/core/core/services/geo.js +1 -1
- package/core/core/services/groupTypesConfig.js +1 -1
- package/core/core/services/groups.js +1 -1
- package/core/core/services/identity.js +1 -1
- package/core/core/services/inventory.js +1 -1
- package/core/core/services/jsonSchemas.js +1 -1
- package/core/core/services/kpi.js +1 -1
- package/core/core/services/license.js +1 -1
- package/core/core/services/loginOptions.js +1 -1
- package/core/core/services/measurementUnits.js +1 -1
- package/core/core/services/measurements.js +1 -1
- package/core/core/services/messaging.js +1 -1
- package/core/core/services/notifications.js +1 -1
- package/core/core/services/permissions.js +1 -1
- package/core/core/services/promise.js +1 -1
- package/core/core/services/queriesUtil.js +1 -1
- package/core/core/services/realtime.js +1 -1
- package/core/core/services/realtimeLongPollingTransport.js +1 -1
- package/core/core/services/retentions.js +1 -1
- package/core/core/services/roles.js +1 -1
- package/core/core/services/settings.js +1 -1
- package/core/core/services/simulator.js +1 -1
- package/core/core/services/smartRestTemplates.js +1 -1
- package/core/core/services/statement.js +1 -1
- package/core/core/services/statistics.js +1 -1
- package/core/core/services/storageLimitation.js +1 -1
- package/core/core/services/system.js +1 -1
- package/core/core/services/tenant.js +1 -1
- package/core/core/services/tfaSettings.js +1 -1
- package/core/core/services/tracker.js +1 -1
- package/core/core/services/user.js +1 -1
- package/core/core/services/userGroup.js +1 -1
- package/core/core/services/userPreferences.js +1 -1
- package/core/core/services/util.js +1 -1
- package/core/core/services/workers.js +1 -1
- package/core/cumulocity.json +0 -14
- package/core/index.js +1 -1
- package/core/locales/de.po +144 -313
- package/core/locales/en.po +0 -12
- package/core/locales/en_US.po +887 -0
- package/core/locales/es.po +146 -310
- package/core/locales/fr.po +141 -314
- package/core/locales/ja_JP.po +108 -306
- package/core/locales/ko.po +79 -304
- package/core/locales/nl.po +140 -313
- package/core/locales/pl.po +144 -316
- package/core/locales/pt_BR.po +142 -312
- package/core/locales/zh_CN.po +79 -304
- package/core/locales/zh_TW.po +80 -305
- package/core/sdk/directives/login.js +1 -1
- package/core/sdk/directives/logout.js +1 -1
- package/core/sdk/directives/repeat.js +1 -1
- package/core/sdk/index.js +1 -1
- package/core/sdk/providers/cumulocity.js +1 -1
- package/core/ui/components/battery/battery.js +1 -1
- package/core/ui/components/errorFeedback.js +1 -1
- package/core/ui/components/feedback-panel.component.js +1 -1
- package/core/ui/components/inplaceInput.js +1 -1
- package/core/ui/components/passwordStrengthChecklist.js +1 -1
- package/core/ui/components/signalStrength/signal.js +1 -1
- package/core/ui/components/timelinesChart.js +1 -1
- package/core/ui/constants/pathUtils.js +1 -1
- package/core/ui/containers/header.component.js +1 -1
- package/core/ui/containers/root.component.js +1 -1
- package/core/ui/containers/wizard.component.js +1 -1
- package/core/ui/containers/wizardModal.service.js +1 -1
- package/core/ui/containers/wizardSlide.jquery.js +1 -1
- package/core/ui/containers/wizardStep.component.js +1 -1
- package/core/ui/controllers/addDynamicGroupModal.js +1 -1
- package/core/ui/controllers/binaryInputModal.js +1 -1
- package/core/ui/controllers/editRetentionRule.js +1 -1
- package/core/ui/controllers/eventList.js +1 -1
- package/core/ui/controllers/listPagination/listPagination.controller.js +1 -1
- package/core/ui/controllers/loginCtrl.js +1 -1
- package/core/ui/controllers/mcontainer.js +1 -1
- package/core/ui/controllers/radialGauge.js +1 -1
- package/core/ui/csvExporter/csv-escape-formulas-option.decorator.js +1 -1
- package/core/ui/csvExporter/csvExporter.controller.js +1 -1
- package/core/ui/csvExporter/csvExporter.directive.js +1 -1
- package/core/ui/csvExporter/csvExporter.service.js +1 -1
- package/core/ui/directives/affix.js +1 -1
- package/core/ui/directives/aggregation.js +1 -1
- package/core/ui/directives/alarmList.js +1 -1
- package/core/ui/directives/appIcon.js +1 -1
- package/core/ui/directives/auditList.js +1 -1
- package/core/ui/directives/audits.js +1 -1
- package/core/ui/directives/autocomplete.js +1 -1
- package/core/ui/directives/autofocus.js +1 -1
- package/core/ui/directives/binaryInput.js +1 -1
- package/core/ui/directives/binaryOut.js +1 -1
- package/core/ui/directives/bindHtmlCompile.js +1 -1
- package/core/ui/directives/codeEditor.js +1 -1
- package/core/ui/directives/dateTimePicker.js +1 -1
- package/core/ui/directives/deviceGroupSelector.js +1 -1
- package/core/ui/directives/downloadButton.js +1 -1
- package/core/ui/directives/editRetentionRule.js +1 -1
- package/core/ui/directives/eventList.js +1 -1
- package/core/ui/directives/filePicker.js +1 -1
- package/core/ui/directives/hScroll.js +1 -1
- package/core/ui/directives/icon.js +1 -1
- package/core/ui/directives/ifAllowed.js +1 -1
- package/core/ui/directives/interval.js +1 -1
- package/core/ui/directives/keyShortcut.js +1 -1
- package/core/ui/directives/listPagination/listPagination.js +1 -1
- package/core/ui/directives/listPagination/listPaginationControl.js +1 -1
- package/core/ui/directives/loadMore.js +1 -1
- package/core/ui/directives/login.js +1 -1
- package/core/ui/directives/map-plugins/geofence-layer.js +1 -1
- package/core/ui/directives/map.js +1 -1
- package/core/ui/directives/map2.js +1 -1
- package/core/ui/directives/max.js +1 -1
- package/core/ui/directives/min.js +1 -1
- package/core/ui/directives/number.js +1 -1
- package/core/ui/directives/onChange.js +1 -1
- package/core/ui/directives/passwordStrength.js +1 -1
- package/core/ui/directives/phoneNumber.js +1 -1
- package/core/ui/directives/pieChart.js +1 -1
- package/core/ui/directives/radialGauge.js +1 -1
- package/core/ui/directives/rdbDump.js +1 -1
- package/core/ui/directives/realtimeBtn.js +1 -1
- package/core/ui/directives/realtimeButton.js +1 -1
- package/core/ui/directives/refreshBtn.js +1 -1
- package/core/ui/directives/renderer.js +1 -1
- package/core/ui/directives/scrollLoad.js +1 -1
- package/core/ui/directives/spellcheck.js +1 -1
- package/core/ui/directives/sunburstChart.js +1 -1
- package/core/ui/directives/textOut.js +1 -1
- package/core/ui/directives/validateIp.js +1 -1
- package/core/ui/directives/validateUniqueExternalId.js +1 -1
- package/core/ui/fieldbus/fieldbus.service.js +1 -1
- package/core/ui/filteringSorting/filteredSortedList.controller.js +1 -1
- package/core/ui/filteringSorting/filteredSortedList.directive.js +1 -1
- package/core/ui/filteringSorting/filteringSortingCollections.service.js +1 -1
- package/core/ui/filteringSorting/filteringSortingColumnConfigModal.controller.js +1 -1
- package/core/ui/filteringSorting/filteringSortingColumns.service.js +1 -1
- package/core/ui/filteringSorting/filteringSortingInventoryQueries.service.js +1 -1
- package/core/ui/filters/absoluteDate.js +1 -1
- package/core/ui/filters/bytes.js +1 -1
- package/core/ui/filters/capitalizestring.js +1 -1
- package/core/ui/filters/checkForDate.js +1 -1
- package/core/ui/filters/dateParts.js +1 -1
- package/core/ui/filters/distance.js +1 -1
- package/core/ui/filters/duration.js +1 -1
- package/core/ui/filters/filter-translate.decorator.js +1 -1
- package/core/ui/filters/filterByFields.js +1 -1
- package/core/ui/filters/hex.filter.js +1 -1
- package/core/ui/filters/humanize.js +1 -1
- package/core/ui/filters/humanize2.js +1 -1
- package/core/ui/filters/humanizeAppName.js +1 -1
- package/core/ui/filters/orderBy-translate.decorator.js +1 -1
- package/core/ui/filters/relativedate.js +1 -1
- package/core/ui/filters/safeLinks.js +1 -1
- package/core/ui/filters/truncate.filter.js +1 -1
- package/core/ui/forms/checkDirty.directive.js +1 -1
- package/core/ui/forms/duration-input.component.js +1 -1
- package/core/ui/forms/hex-input.directive.js +1 -1
- package/core/ui/forms/host-address.validator.js +1 -1
- package/core/ui/forms/http-protocol.validator.js +1 -1
- package/core/ui/forms/model-options.directive.js +1 -1
- package/core/ui/forms/regular-expression.validator.js +1 -1
- package/core/ui/forms/required-input-placeholder.directive.js +1 -1
- package/core/ui/forms/saveButtonFooter.component.js +1 -1
- package/core/ui/forms/search.component.js +1 -1
- package/core/ui/forms/ssh-key-input.js +1 -1
- package/core/ui/forms/toggle-disabled-class-on-select-wrapper.directive.js +1 -1
- package/core/ui/forms/uib-dropdown-dropup.directive.js +1 -1
- package/core/ui/forms/uib-dropdown-hide-empty.directive.js +1 -1
- package/core/ui/forms/uib-dropdown.decorator.js +1 -1
- package/core/ui/forms/validate-url-segment.validator.js +1 -1
- package/core/ui/groups/group-create-and-assign.component.js +1 -1
- package/core/ui/groups/group-details.config.js +1 -1
- package/core/ui/groups/group-device-assignment.component.js +1 -1
- package/core/ui/header/accessDeniedModal.controller.js +1 -1
- package/core/ui/header/action-bar-set.component.js +1 -1
- package/core/ui/header/action-bar.component.js +1 -1
- package/core/ui/header/action-bar.service.js +1 -1
- package/core/ui/header/actions.component.js +1 -1
- package/core/ui/header/actions.provider.js +1 -1
- package/core/ui/index.js +1 -1
- package/core/ui/inputDirectives/colorpicker.js +1 -1
- package/core/ui/itemSelector/itemSelector.component.js +1 -1
- package/core/ui/keys.js +1 -1
- package/core/ui/leaflet/leaflet-directive.decorator.js +1 -1
- package/core/ui/lists/list-display-control.component.js +1 -1
- package/core/ui/lists/quickLinksList.service.js +1 -1
- package/core/ui/locales/locales.provider.js +1 -1
- package/core/ui/measurements/range.service.js +1 -1
- package/core/ui/measurements/rangeSet.service.js +1 -1
- package/core/ui/navigation/breadcrumbs.component.js +1 -1
- package/core/ui/navigation/breadcrumbs.provider.js +1 -1
- package/core/ui/navigation/breadcrumbsSet.component.js +1 -1
- package/core/ui/navigation/navigator.component.js +1 -1
- package/core/ui/navigation/navigatorNode.component.js +1 -1
- package/core/ui/navigation/tabs.component.js +1 -1
- package/core/ui/navigation/tabs.provider.js +1 -1
- package/core/ui/notifications/accessDenied.service.js +1 -1
- package/core/ui/notifications/alert.controller.js +1 -1
- package/core/ui/notifications/alert.service.js +1 -1
- package/core/ui/notifications/alertOnItem.directive.js +1 -1
- package/core/ui/notifications/alerts.component.js +1 -1
- package/core/ui/operations/operations-timeline-modal.component.js +1 -1
- package/core/ui/operations/operations-timeline.component.js +1 -1
- package/core/ui/properties/children.computedProperty.js +1 -1
- package/core/ui/properties/computedProperties.provider.js +1 -1
- package/core/ui/properties/computedPropertyConfig.controller.js +1 -1
- package/core/ui/properties/configurationSnapshot.computedProperty.js +1 -1
- package/core/ui/properties/counters.computedProperty.js +1 -1
- package/core/ui/properties/lastDeviceMessage.computedProperty.js +1 -1
- package/core/ui/properties/lastMeasurement.computedProperty.js +1 -1
- package/core/ui/properties/lastMeasurementConfig.controller.js +1 -1
- package/core/ui/properties/propertiesLibrary.service.js +1 -1
- package/core/ui/properties/propertySelector.controller.js +1 -1
- package/core/ui/properties/propertySelector.directive.js +1 -1
- package/core/ui/properties/schemaProperties.service.js +1 -1
- package/core/ui/properties/schemaPropertySelector.controller.js +1 -1
- package/core/ui/providers/beta.js +1 -1
- package/core/ui/providers/components.js +1 -1
- package/core/ui/providers/httpCache.js +1 -1
- package/core/ui/providers/keys.js +1 -1
- package/core/ui/providers/mapConfig.js +1 -1
- package/core/ui/providers/maps.js +1 -1
- package/core/ui/providers/navigator.js +1 -1
- package/core/ui/providers/objectActions.js +1 -1
- package/core/ui/providers/renderers.js +1 -1
- package/core/ui/providers/search.js +1 -1
- package/core/ui/providers/views.js +1 -1
- package/core/ui/providers/zip.js +1 -1
- package/core/ui/realtime/realtime-switch.component.js +1 -1
- package/core/ui/roles/roles-matrix.component.js +1 -1
- package/core/ui/sanitize-html/sanitize-html.js +1 -1
- package/core/ui/sanitize-html/sanitize-html.service.js +1 -1
- package/core/ui/schemaForm/dateTimePicker.config.js +1 -1
- package/core/ui/schemaForm/deviceGroupIdPicker.config.js +1 -1
- package/core/ui/schemaForm/fileUpload.config.js +1 -1
- package/core/ui/schemaForm/fileUpload.directive.js +1 -1
- package/core/ui/schemaForm/formatBySchema.filter.js +1 -1
- package/core/ui/schemaForm/overrides/decorators/bootstrap/array.html +1 -1
- package/core/ui/schemaForm/overrides/decorators/decorators.decorator.js +1 -1
- package/core/ui/schemaForm/schemaEditor.component.js +1 -1
- package/core/ui/schemaForm/schemaForm.component.js +1 -1
- package/core/ui/schemaForm/schemaForm.config.js +1 -1
- package/core/ui/schemaForm/schemaForm.run.js +1 -1
- package/core/ui/schemaForm/schemaFormHelper.service.js +1 -1
- package/core/ui/schemaForm/schemaPropertyEditor.component.js +1 -1
- package/core/ui/schemaForm/text.config.js +1 -1
- package/core/ui/services/batchop.js +1 -1
- package/core/ui/services/contextDetailsShared.service.js +1 -1
- package/core/ui/services/docs.js +1 -1
- package/core/ui/services/groupsHierarchyNavigator.js +1 -1
- package/core/ui/services/groupsHierarchySvc.js +1 -1
- package/core/ui/services/loginService.js +1 -1
- package/core/ui/services/measurementsReport.js +1 -1
- package/core/ui/services/modal.js +1 -1
- package/core/ui/services/passwordStrengthCheckerFactory.js +1 -1
- package/core/ui/services/support.js +1 -1
- package/core/ui/services/tenantOptions.js +1 -1
- package/core/ui/services/uiconfig.js +1 -1
- package/core/ui/services/util.js +1 -1
- package/core/ui/shims.js +1 -1
- package/core/ui/smartrules/smartRulesAvailability.service.js +1 -1
- package/core/ui/title/title.controller.js +1 -1
- package/core/ui/title/title.provider.js +1 -1
- package/core/ui/title/uiTitle.component.js +1 -1
- package/core/ui/title/uiTitleSet.component.js +1 -1
- package/core/ui/user/editUser.controller.js +1 -1
- package/core/ui/user/editUser.directive.js +1 -1
- package/core/ui/user/editUser.service.js +1 -1
- package/core/ui/user/measurementUnitPreference.component.js +1 -1
- package/core/ui/user/rolesUiStrings.constant.js +1 -1
- package/core/ui/user/userPicker.component.js +1 -1
- package/core/ui/user/userSettingsBlocks.provider.js +1 -1
- package/core/ui/user/userUtil.service.js +1 -1
- package/core/ui/user/usernameValidator.directive.js +1 -1
- package/core/ui/utils/copyToClipboard.directive.js +1 -1
- package/core/ui/utils/guide-docs.directive.js +1 -1
- package/core/ui/utils/rectangle-spinner.component.js +1 -1
- package/core/ui/utils/uiComponent.directive.js +1 -1
- package/core/ui/views/auditList.html +2 -2
- package/core/ui/views/deviceGroupSelector.html +17 -8
- package/core/update-query-params.js +1 -1
- package/dashboard2/dashboard/dashboardSelect.controller.js +1 -1
- package/dashboard2/dashboard.service.js +1 -1
- package/dashboard2/dashboardInventory.service.js +1 -1
- package/dashboard2/index.js +1 -1
- package/dataBroker/connectors/connectorEditor.component.js +1 -1
- package/dataBroker/connectors/connectors.component.js +1 -1
- package/dataBroker/connectors/connectors.html +2 -2
- package/dataBroker/connectors/connectors.service.js +1 -1
- package/dataBroker/connectorsAlarms/connectorAlarms.component.js +1 -1
- package/dataBroker/connectorsAlarms/connectorAlarms.html +4 -0
- package/dataBroker/dataBroker.config.js +1 -1
- package/dataBroker/dataBroker.module.js +1 -1
- package/dataBroker/subscriptions/addSubscription.component.js +1 -1
- package/dataBroker/subscriptions/pendingSubscription.component.js +1 -1
- package/dataBroker/subscriptions/subscription.component.js +1 -1
- package/dataBroker/subscriptions/subscriptions.component.js +1 -1
- package/dataPointExplorer/controllers/dataPointAdd.js +1 -1
- package/dataPointExplorer/controllers/dataPointExplorer.js +1 -1
- package/dataPointExplorer/controllers/dataPointItem.js +1 -1
- package/dataPointExplorer/controllers/dataPointList.js +1 -1
- package/dataPointExplorer/controllers/dataPointWidget.js +1 -1
- package/dataPointExplorer/controllers/dataPointWidgetConfig.js +1 -1
- package/dataPointExplorer/directives/dataPointList.js +1 -1
- package/dataPointExplorer/directives/dataPointValidator.js +1 -1
- package/dataPointExplorer/index.js +1 -1
- package/dataPointExplorer/services/dataPoints.js +1 -1
- package/dataPointTable/dataPointTable.controller.js +1 -1
- package/dataPointTable/dataPointTable.directive.js +1 -1
- package/dataPointTable/dataPointTable.service.js +1 -1
- package/dataPointTable/index.js +1 -1
- package/dataPointTable/realtimeRadioButton.directive.js +1 -1
- package/dataPointTable/widget.controller.js +1 -1
- package/device-protocol-actility/actility-device.provider.js +1 -1
- package/device-protocol-actility/actility.module.js +1 -1
- package/device-protocol-canbus/canbus-device.provider.js +1 -1
- package/device-protocol-canbus/canbus.module.js +1 -1
- package/device-protocol-canopen/canopen-device.provider.js +1 -1
- package/device-protocol-canopen/canopen.module.js +1 -1
- package/device-protocol-deviceDatabase4/device-protocol-deviceDatabase4.module.js +1 -1
- package/device-protocol-deviceDatabase4/device-type-create-step.component.js +1 -1
- package/device-protocol-deviceDatabase4/device-type-protocol-base.provider.js +1 -1
- package/device-protocol-deviceDatabase4/device-type-row-info.component.js +1 -1
- package/device-protocol-lora/lora-device.provider.js +1 -1
- package/device-protocol-lora/lora.module.js +1 -1
- package/device-protocol-lpwan/lpwan-device.provider.js +1 -1
- package/device-protocol-lpwan/lpwan.module.js +1 -1
- package/device-protocol-lwm2m/lwm2m.provider.js +1 -1
- package/device-protocol-lwm2m/lwm2mDetail.component.js +1 -1
- package/device-protocol-lwm2m/lwm2mFinalStep.component.js +1 -1
- package/device-protocol-lwm2m/lwm2mResource.component.js +1 -1
- package/device-protocol-lwm2m/lwm2mUploadStep.component.js +1 -1
- package/device-protocol-lwm2m/lwm2mValidationRules/lwm2mValidationRule.component.js +1 -1
- package/device-protocol-lwm2m/lwm2mValidationRules/lwm2mValidationRules.component.js +1 -1
- package/device-protocol-lwm2m/module.js +1 -1
- package/device-protocol-modbus/modbus-device.provider.js +1 -1
- package/device-protocol-modbus/modbus.module.js +1 -1
- package/device-protocol-opcua/opcua-device.provider.js +1 -1
- package/device-protocol-opcua/opcua.module.js +1 -1
- package/device-protocol-opcua-v2/opcua-device-v2.provider.js +1 -1
- package/device-protocol-opcua-v2/opcua-v2-create-step.component.js +1 -1
- package/device-protocol-opcua-v2/opcua-v2-row-info.component.js +1 -1
- package/device-protocol-opcua-v2/opcua-v2.module.js +1 -1
- package/device-protocol-profibus/profibus-device.provider.js +1 -1
- package/device-protocol-profibus/profibus.module.js +1 -1
- package/device-protocol-sigfox/sigfox-device.provider.js +1 -1
- package/device-protocol-sigfox/sigfox.module.js +1 -1
- package/device-protocol-snmp/snmp-device.provider.js +1 -1
- package/device-protocol-snmp/snmp.module.js +1 -1
- package/device-protocols/device-protocol-import-button.component.js +1 -1
- package/device-protocols/deviceProtocolBreadcrumb.component.js +1 -1
- package/device-protocols/deviceProtocolList.component.js +1 -1
- package/device-protocols/deviceProtocolSelect.component.js +1 -1
- package/device-protocols/deviceProtocolUi.provider.js +1 -1
- package/device-protocols/deviceProtocolView.component.js +1 -1
- package/device-protocols/deviceProtocolWizard.component.js +1 -1
- package/device-protocols/module.js +1 -1
- package/device-protocols/object-mapping.component.js +1 -1
- package/device-protocols/object-mappings.service.js +1 -1
- package/deviceActility/actilityUI.provider.js +1 -1
- package/deviceActility/deviceActility.module.js +1 -1
- package/deviceActility/deviceActility.service.js +1 -1
- package/deviceControlRelay/index.js +1 -1
- package/deviceControlRelay/relayControl/relayControl.controller.js +1 -1
- package/deviceControlRelay/relayControl/relayControl.directive.js +1 -1
- package/deviceControlRelay/widget.controller.js +1 -1
- package/deviceControlRelayArray/index.js +1 -1
- package/deviceControlRelayArray/relayArrayControl/relayArrayControl.controller.js +1 -1
- package/deviceControlRelayArray/relayArrayControl/relayArrayControl.directive.js +1 -1
- package/deviceControlRelayArray/widget.controller.js +1 -1
- package/deviceDatabase4/detail/basic-info.component.js +1 -1
- package/deviceDatabase4/detail/device-type-detail.component.js +1 -1
- package/deviceDatabase4/detail/discrete-inputs.component.js +1 -1
- package/deviceDatabase4/detail/discrete-outputs.component.js +1 -1
- package/deviceDatabase4/detail/holding-registers.component.js +1 -1
- package/deviceDatabase4/detail/input-registers.component.js +1 -1
- package/deviceDatabase4/detail/message-id-configuration-description.component.js +1 -1
- package/deviceDatabase4/detail/message-id-configuration.component.js +1 -1
- package/deviceDatabase4/detail/options.component.js +1 -1
- package/deviceDatabase4/device-database-4.module.js +1 -1
- package/deviceDatabase4/device-database.service.js +1 -1
- package/deviceDatabase4/device-type-list.component.js +1 -1
- package/deviceDatabase4/modals/configure-discrete-io.component.js +1 -1
- package/deviceDatabase4/modals/configure-register.component.js +1 -1
- package/deviceDatabase4/modals/import-device-type.component.js +1 -1
- package/deviceDatabase4/modals/select-fieldbus-property.component.js +1 -1
- package/deviceDatabase4/parsers/device-type-parser-eds.service.js +1 -1
- package/deviceDatabase4/parsers/device-type-parser-json.service.js +1 -1
- package/deviceDatabase4/parsers/device-type-parser-mib.service.js +1 -1
- package/deviceDatabase4/parsers/device-type-parser.service.js +1 -1
- package/deviceDatabase4/property-generator.service.js +1 -1
- package/deviceDatabase4/unique.directive.js +1 -1
- package/deviceDatabase4/validate-measurement-fragment.directive.js +1 -1
- package/deviceDatabase4/validate-value-in-register-range.directive.js +1 -1
- package/deviceDatabase4/vendor/ini.js +1 -1
- package/deviceDetail/index.js +1 -1
- package/deviceDetailIdentity/controllers/identity.js +1 -1
- package/deviceDetailIdentity/index.js +1 -1
- package/deviceGroupAssignment/deviceGroupAssignment.module.js +1 -1
- package/deviceGroupAssignment/groupAssignment.component.js +1 -1
- package/devicePropertyWidget/controllers/config.js +1 -1
- package/devicePropertyWidget/controllers/widget.js +1 -1
- package/devicePropertyWidget/directives/fragmentCheckboxList.js +1 -1
- package/devicePropertyWidget/index.js +1 -1
- package/devicePropertyWidget/services/moRealTimeDetails.js +1 -1
- package/deviceSelector/controllers/deviceSelectorComboCtrl.js +1 -1
- package/deviceSelector/controllers/deviceSelectorCtrl.js +1 -1
- package/deviceSelector/controllers/deviceSelectorListCtrl.js +1 -1
- package/deviceSelector/directives/deviceSelector.js +1 -1
- package/deviceSelector/directives/deviceSelectorCombo.js +1 -1
- package/deviceSelector/directives/deviceSelectorList.js +1 -1
- package/deviceSelector/index.js +1 -1
- package/deviceStatusWidget/availability.component.js +1 -1
- package/deviceStatusWidget/deviceStatus.component.js +1 -1
- package/deviceStatusWidget/deviceStatus.module.js +1 -1
- package/deviceStatusWidget/keyboardKeyHandler.service.js +1 -1
- package/deviceStatusWidget/ownerStatus.component.js +1 -1
- package/deviceStatusWidget/requiredAvailabilityIntervalSetting.component.js +1 -1
- package/deviceTitle/cumulocity.json +7 -0
- package/deviceTitle/index.js +1 -0
- package/devicemanagement-availability/controllers/availability.js +1 -1
- package/devicemanagement-availability/index.js +1 -1
- package/devicemanagement-deviceListMap/controllers/deviceListMap.js +1 -1
- package/devicemanagement-deviceListMap/index.js +1 -1
- package/devicemanagement-deviceManagement/cumulocity.json +1 -6
- package/devicemanagement-deviceManagement/devicemanagement.module.js +1 -1
- package/devicemanagement-deviceNetwork/controllers/network.js +1 -1
- package/devicemanagement-deviceNetwork/index.js +1 -1
- package/devicemanagement-eventList/controllers/eventList.js +1 -1
- package/devicemanagement-eventList/index.js +1 -1
- package/devicemanagement-location/controllers/location.js +1 -1
- package/devicemanagement-logViewer/config.js +1 -1
- package/devicemanagement-logViewer/controllers/logViewer.js +1 -1
- package/devicemanagement-logViewer/directives/logViewer.js +1 -1
- package/devicemanagement-logViewer/index.js +1 -1
- package/devicemanagement-logViewer/providers/logViewer.js +1 -1
- package/devicemanagement-measurements/index.js +1 -1
- package/devicemanagement-restartDevice/index.js +1 -1
- package/devicemanagement-tixiDeviceControl/index.js +1 -1
- package/enterpriseEdition/createFile.js +1 -1
- package/enterpriseEdition/customBranding/brandingConfiguration.constants.js +1 -1
- package/enterpriseEdition/customBranding/brandingConfiguration.service.js +1 -1
- package/enterpriseEdition/customBranding/brandingConfigurationForm.component.js +1 -1
- package/enterpriseEdition/customBranding/brandingConfigurationUi.provider.js +1 -1
- package/enterpriseEdition/customBranding/brandingDeploy.service.js +1 -1
- package/enterpriseEdition/customBranding/brandingProcessExecution.component.js +1 -1
- package/enterpriseEdition/customBranding/custom-branding.module.js +1 -1
- package/enterpriseEdition/customBranding/microservice.value.js +1 -1
- package/enterpriseEdition/enterpriseEdition.module.js +1 -1
- package/enterpriseEdition/enterpriseEditionAvailability.service.js +1 -1
- package/enterpriseEdition/sslCertificate/certificateActivation.component.js +1 -1
- package/enterpriseEdition/sslCertificate/certificateDeactivation.component.js +1 -1
- package/enterpriseEdition/sslCertificate/countDownRedirect.component.js +1 -1
- package/enterpriseEdition/sslCertificate/manageCertificate.component.js +1 -1
- package/enterpriseEdition/sslCertificate/manageCertificate.service.js +1 -1
- package/enterpriseEdition/ui-assets/index.js +1 -1
- package/enterpriseEdition/ui-assets/public-options.service.js +1 -1
- package/enterpriseEdition/ui-assets/static-assets.service.js +1 -1
- package/enterpriseEdition/ui-assets/ui-assets.service.js +1 -1
- package/eventList/eventList.controller.js +1 -1
- package/eventList/eventListConfig.controller.js +1 -1
- package/eventList/index.js +1 -1
- package/eventsBinary/components/eventBinaryActions/eventBinaryActions.js +1 -1
- package/eventsBinary/components/eventBinaryIcon/eventBinaryIcon.js +1 -1
- package/eventsBinary/components/eventBinaryPreview/eventBinaryPreview.js +1 -1
- package/eventsBinary/eventsBinary.module.js +1 -1
- package/eventsBinary/services/eventsBinary.service.js +1 -1
- package/export/controllers/detail.js +1 -1
- package/export/controllers/list.js +1 -1
- package/export/directives/timespan.js +1 -1
- package/export/index.js +1 -1
- package/export/index.mock.js +1 -1
- package/export/services/api.js +1 -1
- package/export/services/config.js +1 -1
- package/export/services/export.js +1 -1
- package/export/services/filters.js +1 -1
- package/fieldbusConfig/fieldbus-config.module.js +1 -1
- package/generic-ui/config-audit/config-audit-diff.component.js +1 -1
- package/generic-ui/config-audit/config-audit-modal.component.js +1 -1
- package/generic-ui/config-audit/config-audit.component.js +1 -1
- package/generic-ui/config-audit/config-audit.service.js +1 -1
- package/generic-ui/config-audit/index.js +1 -1
- package/generic-ui/data.mock.js +1 -1
- package/generic-ui/generic-ui-auto.component.js +1 -1
- package/generic-ui/generic-ui-config.provider.js +1 -1
- package/generic-ui/generic-ui-inventory-property.component.js +1 -1
- package/generic-ui/generic-ui-inventory.component.js +1 -1
- package/generic-ui/generic-ui-operation-list-button.component.js +1 -1
- package/generic-ui/generic-ui.component.js +1 -1
- package/generic-ui/generic-ui.service.js +1 -1
- package/generic-ui/module.js +1 -1
- package/groupsHierarchy/controllers/assetSearchCtrl.js +1 -1
- package/groupsHierarchy/controllers/groupDevicesCtrl.js +1 -1
- package/groupsHierarchy/controllers/groupsListCtrl.js +1 -1
- package/groupsHierarchy/groupsHierarchyUi.provider.js +1 -1
- package/groupsHierarchy/index.js +1 -1
- package/groupsHierarchy/index.mock.js +1 -1
- package/htmlWidget/htmlWidget.controller.js +1 -1
- package/htmlWidget/htmlWidget.directive.js +1 -1
- package/htmlWidget/htmlWidgetConfig.controller.js +1 -1
- package/htmlWidget/index.js +1 -1
- package/htmlWidget/index.mock.js +1 -1
- package/index.js +1 -1
- package/kpi/controllers/deprecated/edit.js +1 -1
- package/kpi/controllers/deprecated/graph.js +1 -1
- package/kpi/controllers/deprecated/multipleKpiConfig.js +1 -1
- package/kpi/controllers/deprecated/setup.js +1 -1
- package/kpi/controllers/gauge.js +1 -1
- package/kpi/controllers/kpiConfig.js +1 -1
- package/kpi/controllers/list.js +1 -1
- package/kpi/controllers/listConfig.js +1 -1
- package/kpi/controllers/pieChart.js +1 -1
- package/kpi/controllers/pieChartConfig.js +1 -1
- package/kpi/index.js +1 -1
- package/kpi/index.mock.js +0 -1
- package/kpi/services/baseWidget.js +1 -1
- package/kpi/services/kpi.js +1 -1
- package/kpi/services/mostRecentKpi.js +1 -1
- package/map/controllers/geofenceEdit.js +1 -1
- package/map/controllers/map.js +1 -1
- package/map/index.js +1 -1
- package/map/services/geofence.js +1 -1
- package/measurements/controllers/lineChart.js +1 -1
- package/measurements/controllers/measurements.js +1 -1
- package/measurements/directives/lineChart.js +1 -1
- package/measurements/directives/timeIntervalChoice.js +1 -1
- package/measurements/fragmentChart/fragmentChart.component.js +1 -1
- package/measurements/index.js +1 -1
- package/measurements/measurements2/axisX.service.js +1 -1
- package/measurements/measurements2/axisY.service.js +1 -1
- package/measurements/measurements2/chart.controller.js +1 -1
- package/measurements/measurements2/chart.directive.js +1 -1
- package/measurements/measurements2/chart.service.js +1 -1
- package/measurements/measurements2/chartCommon.service.js +1 -1
- package/measurements/measurements2/hoverInfo.service.js +1 -1
- package/measurements/measurements2/iconBar.js +1 -1
- package/measurements/measurements2/rtAutoMove.service.js +1 -1
- package/measurements/measurements2/series.service.js +1 -1
- package/measurements/services/lineChartService.js +1 -1
- package/modbusConfiguration4/fieldbus-config.component.js +1 -1
- package/modbusConfiguration4/fieldbus-device-list.component.js +1 -1
- package/modbusConfiguration4/modbus-configuration-4.config.js +1 -1
- package/modbusConfiguration4/modbus-configuration-4.module.js +1 -1
- package/modbusWidget4/constants.js +1 -1
- package/modbusWidget4/modbus-widget.service.js +1 -1
- package/modbusWidget4/widget-config.component.js +1 -1
- package/modbusWidget4/widget.component.js +1 -1
- package/modbusWidget4/widget.config.js +1 -1
- package/modbusWidget4/widget.module.js +1 -1
- package/modbusWidgets/controllers/widget.js +1 -1
- package/modbusWidgets/controllers/widgetConfig.js +1 -1
- package/modbusWidgets/index.js +1 -1
- package/modbusWidgets/services/modbusWidget.js +1 -1
- package/newsletter/downloadEmailsList.component.js +1 -1
- package/newsletter/newsletter.config.js +1 -1
- package/newsletter/newsletter.module.js +1 -1
- package/newsletter/newsletter.service.js +1 -1
- package/newsletter/subscribeNewsletter.component.js +1 -1
- package/nvd3ChartDirectives/override.js +1 -1
- package/oauth/controllers/oauth.js +1 -1
- package/oauth/index.js +1 -1
- package/package.json +5 -5
- package/platformConfiguration/index.js +1 -1
- package/platformConfiguration/platformConfiguration.component.js +1 -1
- package/platformConfiguration/platformConfigurationUi.provider.js +1 -1
- package/propertiesLibrary/index.js +1 -1
- package/propertiesLibrary/jsonSchemaObjectEditor.component.js +1 -1
- package/propertiesLibrary/jsonSchemaObjectsList.component.js +1 -1
- package/qrCode/controllers/qrCode.js +1 -1
- package/qrCode/directives/displayQrCode.js +1 -1
- package/qrCode/index.js +1 -1
- package/qrCode/services/qrCodePrinter.js +1 -1
- package/qrCode/services/qrCodeTemplate.js +1 -1
- package/relayWidget/index.js +1 -1
- package/relayWidget/relay.controller.js +1 -1
- package/relayWidget/relay.service.js +1 -1
- package/remoteAccess/clients/remoteAccessClients.service.js +1 -1
- package/remoteAccess/clients/terminal/index.js +1 -1
- package/remoteAccess/clients/terminal/shell-adapter.js +1 -1
- package/remoteAccess/clients/terminal/telnet-negotiator.js +1 -1
- package/remoteAccess/clients/vnc/vncClient.js +1 -1
- package/remoteAccess/remoteAccess.module.js +1 -1
- package/remoteAccess/remoteAccess.service.js +1 -1
- package/remoteAccess/remoteAccessEndpointCard/remoteAccessEndpointCard.component.js +1 -1
- package/remoteAccess/remoteAccessEndpointModal/remoteAccessEndpointModal.component.js +1 -1
- package/remoteAccess/remoteAccessEndpointsList/remoteAccessEndpointsList.component.js +1 -1
- package/remoteAccess/remoteAccessSettings/remoteAccessSettings.component.js +1 -1
- package/remoteAccess/remoteAccessUI.provider.js +1 -1
- package/roles/detail/roleDetailGlobal.component.js +1 -1
- package/roles/detail/roleDetailInventory.component.js +1 -1
- package/roles/detail/roleGlobalSaveConfirm.controller.js +1 -1
- package/roles/detail/roleGlobalSaveConfirm.html +9 -5
- package/roles/detail/roleInventoryPermissionList.component.js +1 -1
- package/roles/detail/roleTitle.component.js +1 -1
- package/roles/index.js +1 -1
- package/roles/list/rolesList.component.js +1 -1
- package/roles/list/rolesOverview.controller.js +1 -1
- package/roles/rolesUi.provider.js +1 -1
- package/scada/config.controller.js +1 -1
- package/scada/index.js +1 -1
- package/scada/index.mock.js +1 -1
- package/scada/mapping.directive.js +1 -1
- package/scada/svg.directive.js +1 -1
- package/scada/util.service.js +1 -1
- package/scada/views/component.html +1 -0
- package/scada/views/componentConfig.html +1 -0
- package/scada/widget.controller.js +1 -1
- package/simulators/add/simulatorAdd.component.js +1 -1
- package/simulators/detail/detail.component.js +1 -1
- package/simulators/detail/detail.controller.js +1 -1
- package/simulators/detail/instructionAdd.component.js +1 -1
- package/simulators/detail/instructionDetail.component.js +1 -1
- package/simulators/detail/instructionList.component.js +1 -1
- package/simulators/detail/operationAddDialog.component.js +1 -1
- package/simulators/detail/operations.component.js +1 -1
- package/simulators/index.js +1 -1
- package/simulators/list/list.component.js +1 -1
- package/simulators/list/simulatorCloneDialog.component.js +1 -1
- package/simulators/simulators.service.js +1 -1
- package/simulators/simulatorsUi.provider.js +1 -1
- package/smartRestEditor/addTemplate/addTemplate.component.js +1 -1
- package/smartRestEditor/csvPreviewer/csvPreviewer.component.js +1 -1
- package/smartRestEditor/details.controller.js +1 -1
- package/smartRestEditor/importTemplate/importTemplate.component.js +1 -1
- package/smartRestEditor/index.js +1 -1
- package/smartRestEditor/list.controller.js +1 -1
- package/smartRestEditor/requestEditor/requestEditor.component.js +1 -1
- package/smartRestEditor/responseEditor/responseEditor.component.js +1 -1
- package/smartRestEditor/validators/validateCustomFieldKeyInRequestTemplate.directive.js +1 -1
- package/smartRestEditor/validators/validateUniqueMsgIdInTemplate.directive.js +1 -1
- package/smartRestEditor/valueInput/valueInput.directive.js +1 -1
- package/smartRestEditorUI/index.js +1 -1
- package/smartRules/add/addSmartRuleButton.component.js +1 -1
- package/smartRules/controllers/add.js +1 -1
- package/smartRules/controllers/childAssetsSelector.js +1 -1
- package/smartRules/controllers/edit.js +1 -1
- package/smartRules/controllers/list.js +1 -1
- package/smartRules/controllers/smartRuleParamInput.js +1 -1
- package/smartRules/directives/childAssetsSelector.js +1 -1
- package/smartRules/directives/smartRuleParamInput.js +1 -1
- package/smartRules/directives/smartRuleParamInputAlarmSeverity.js +1 -1
- package/smartRules/directives/smartRuleParamInputAlarmType.js +1 -1
- package/smartRules/directives/smartRuleParamInputCheckbox.js +1 -1
- package/smartRules/directives/smartRuleParamInputDashboard.js +1 -1
- package/smartRules/directives/smartRuleParamInputDefault.js +1 -1
- package/smartRules/directives/smartRuleParamInputEmail.js +1 -1
- package/smartRules/directives/smartRuleParamInputEscalationSteps.js +1 -1
- package/smartRules/directives/smartRuleParamInputExportConfiguration.js +1 -1
- package/smartRules/directives/smartRuleParamInputFrequency.js +1 -1
- package/smartRules/directives/smartRuleParamInputGeofence.js +1 -1
- package/smartRules/directives/smartRuleParamInputKpi.js +1 -1
- package/smartRules/directives/smartRuleParamInputNumber.js +1 -1
- package/smartRules/directives/smartRuleParamInputOperation.js +1 -1
- package/smartRules/directives/smartRuleParamInputPhoneNumber.js +1 -1
- package/smartRules/directives/smartRuleParamInputSelect.js +1 -1
- package/smartRules/directives/smartRuleParamInputTextarea.js +1 -1
- package/smartRules/directives/smartRuleParamInputTimeInterval.js +1 -1
- package/smartRules/directives/smartRuleParamWarnMaxLength.js +1 -1
- package/smartRules/index.js +1 -1
- package/smartRules/list/smartRulesList.component.js +1 -1
- package/smartRules/services/smartRuleTemplates.js +1 -1
- package/smartRules/services/smartRules.js +1 -1
- package/smartRules/views/paramInputAlarmType.html +25 -13
- package/smartRules/views/paramInputEscalationSteps.html +53 -19
- package/smartRules/views/paramInputKpi.html +18 -12
- package/smartRules/views/paramInputOperation.html +17 -14
- package/smartRules/views/paramInputTimeInterval.html +25 -17
- package/switchDisplay/controller/switchDisplayConfigCtrl.js +1 -1
- package/switchDisplay/controller/switchDisplayCtrl.js +1 -1
- package/switchDisplay/index.js +1 -1
- package/tenantApplications/controllers/main.js +1 -1
- package/tenantApplications/index.js +1 -1
- package/tenantApplications/subscribed-applications/subscribed-applications.component.js +1 -1
- package/tenantLicenses/index.js +1 -1
- package/tenantLicenses/licenseManagement.component.js +1 -1
- package/tenantPolicies/retentionRule/retentionRuleRow.component.js +1 -1
- package/tenantPolicies/systemOptions/editSystemOption.component.js +1 -1
- package/tenantPolicies/systemOptions/systemOptionsRow.component.js +1 -1
- package/tenantPolicies/tenantOptions/editTenantOption.component.js +1 -1
- package/tenantPolicies/tenantOptions/tenantOptionsRow.component.js +1 -1
- package/tenantPolicies/tenantPolicies.module.js +1 -1
- package/tenantPolicies/tenantPolicies.service.js +1 -1
- package/tenantPolicies/tenantPoliciesConfig.provider.js +1 -1
- package/tenantPolicies/tenantPolicyDetail/tenantPolicyDetail.component.js +1 -1
- package/tenantPolicies/tenantPolicyDetail/tenantPolicyRow.component.js +1 -1
- package/tenantPolicies/tenantPolicyList/tenantPolicyList.component.js +1 -1
- package/tenantStatistics/index.js +1 -1
- package/tenantStatistics/tenant-statistics-columns.service.js +1 -1
- package/tenantStatistics/tenant-statistics.component.js +1 -1
- package/tenants/controllers/customProperties.js +1 -1
- package/tenants/controllers/detail.js +1 -1
- package/tenants/index.js +1 -1
- package/tenants/index.mock.js +1 -1
- package/trackerConfiguration/controllers/msisdnAlert.controller.js +1 -1
- package/trackerConfiguration/controllers/trackerConfiguration.controller.js +1 -1
- package/trackerConfiguration/directives/msisdnAlert.directive.js +1 -1
- package/trackerConfiguration/index.js +1 -1
- package/trackerConfiguration/services/realtimeLockup.service.js +1 -1
- package/trackerConfiguration/services/trackerAlarms.service.js +1 -1
- package/trackerConfiguration/services/trackerLocation.service.js +1 -1
- package/trackerConfiguration/services/trackerRestart.service.js +1 -1
- package/trackerConfiguration/services/trackerSituation.service.js +1 -1
- package/trackerConfiguration/services/trackerSos.service.js +1 -1
- package/trackerConfiguration/services/unitConversionHelper.service.js +1 -1
- package/trackerModels/index.js +1 -1
- package/trackerModels/trackerModels.service.js +1 -1
- package/trackerRegistration/index.js +1 -1
- package/trackerRegistration/trackerRegistration.controller.js +1 -1
- package/trackerRegistration/trackerRegistration.service.js +1 -1
- package/trackerRegistration/trackerRegistrationHistory.service.js +1 -1
- package/trackingAppConfig/index.js +1 -1
- package/trafficLightWidget/index.js +1 -1
- package/trafficLightWidget/states-mapping.component.js +1 -1
- package/trafficLightWidget/traffic-light.component.js +1 -1
- package/userRoles/copyRolesModal/copyRolesModal.component.js +1 -1
- package/userRoles/index.js +1 -1
- package/userRoles/inventoryRoleSelector/inventoryRoleSelector.component.js +1 -1
- package/userRoles/inventoryRolesTab/inventoryRolesTab.component.js +1 -1
- package/userRoles/rolesAssetTree/rolesAssetTree.component.js +1 -1
- package/userRoles/userRoles.service.js +1 -1
- package/userRoles/userRolesUi.service.js +1 -1
- package/users/aclEditor/aclEditor.directive.js +1 -1
- package/users/applicationAccess/applicationAccess.directive.js +1 -1
- package/users/index.js +1 -1
- package/users/userDetailView/userApplicationAccess.component.js +1 -1
- package/users/userDetailView/userDetailView.component.js +1 -1
- package/users/userList/userList.component.js +1 -1
- package/users/userListView/userListView.component.js +1 -1
- package/users/userRemovalModal/userRemovalModal.component.js +1 -1
- package/users/usersUi.provider.js +1 -1
- package/actilityProviderSettings/actilityProviderSettings.module.js +0 -1
- package/actilityProviderSettings/actilitySettings.component.js +0 -1
- package/actilityProviderSettings/actilitySettings.html +0 -128
- package/actilityProviderSettings/actilitySettings.service.js +0 -1
- package/actilityProviderSettings/cumulocity.json +0 -14
- package/cell-id-information-activator/cell-id-information-activator.config.js +0 -1
- package/cell-id-information-activator/cell-id-information-activator.module.js +0 -1
- package/cell-id-information-activator/cell-id-information-activator.service.js +0 -1
- package/cell-id-information-activator/cumulocity.json +0 -13
- package/cell-id-usage-statistics/cell-id-usage-statistics.component.js +0 -1
- package/cell-id-usage-statistics/cell-id-usage-statistics.config.js +0 -1
- package/cell-id-usage-statistics/cell-id-usage-statistics.html +0 -104
- package/cell-id-usage-statistics/cell-id-usage-statistics.module.js +0 -1
- package/cell-id-usage-statistics/cell-id-usage-statistics.service.js +0 -1
- package/cell-id-usage-statistics/constants.js +0 -1
- package/cell-id-usage-statistics/cumulocity.json +0 -15
- package/configurationRepository/configurationRepository.service.js +0 -1
- package/configurationRepository/cumulocity.json +0 -13
- package/configurationRepository/index.js +0 -1
- package/configurationRepository/list.controller.js +0 -1
- package/configurationRepository/views/list.html +0 -273
- package/core/core/services/combain.js +0 -1
- package/core/locales/ru.po +0 -17162
- package/core/ui/configurable-device-list-columns/configurable-columns.service.js +0 -1
- package/core/ui/configurable-device-list-columns/constants.js +0 -1
- package/core/ui/configurable-device-list-columns/modal-columns-configure.component.html +0 -171
- package/core/ui/configurable-device-list-columns/modal-columns-configure.component.js +0 -1
- package/core/ui/configurable-device-list-columns/unique-by.directive.js +0 -1
- package/core/ui/controllers/deviceList.js +0 -1
- package/core/ui/devices/device-details.config.js +0 -1
- package/core/ui/directives/deviceDetailBasic/availability.js +0 -1
- package/core/ui/directives/deviceDetailBasic/group.js +0 -1
- package/core/ui/directives/deviceList.js +0 -1
- package/core/ui/directives/deviceStatusDisplay.js +0 -1
- package/core/ui/directives/linearGauge.js +0 -1
- package/core/ui/directives/silo.js +0 -1
- package/core/ui/services/deviceListColumns.js +0 -1
- package/core/ui/views/deviceDetailBasic/availability.html +0 -85
- package/core/ui/views/deviceDetailBasic/basic.html +0 -165
- package/core/ui/views/deviceDetailBasic/firmware.html +0 -26
- package/core/ui/views/deviceDetailBasic/group.html +0 -36
- package/core/ui/views/deviceDetailBasic/groupSelectModal.html +0 -50
- package/core/ui/views/deviceDetailBasic/hardware.html +0 -28
- package/core/ui/views/deviceDetailBasic/mobile.html +0 -82
- package/core/ui/views/deviceDetailBasic/network.html +0 -12
- package/core/ui/views/deviceList.html +0 -64
- package/core/ui/views/deviceStatusDisplay.html +0 -44
- package/core/ui/views/linearGauge.html +0 -11
- package/core/ui/views/silo.html +0 -16
- package/deviceConfiguration/cumulocity.json +0 -14
- package/deviceConfiguration/index.js +0 -1
- package/deviceConfiguration/styles/styles.less +0 -1
- package/deviceConfiguration/views/configuration.html +0 -7
- package/deviceList/cumulocity.json +0 -14
- package/deviceList/deviceList.controller.js +0 -1
- package/deviceList/index.js +0 -1
- package/deviceList/views/index.html +0 -9
- package/kpi/img/linear-gauge-widget-pr.png +0 -0
- package/kpi/img/silo-widget-pr.png +0 -0
- package/kpi/views/linearGauge.html +0 -11
- package/kpi/views/silo.html +0 -9
- package/sigfox-provider-settings/cumulocity.json +0 -14
- package/sigfox-provider-settings/sigfox-provider-settings.module.js +0 -1
- package/sigfox-provider-settings/sigfox-settings.component.js +0 -1
- package/sigfox-provider-settings/sigfox-settings.html +0 -83
- package/sigfox-provider-settings/sigfox-settings.service.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
angular.module("c8y.smartRules").directive("smartRuleParamInputSelect",function(){return{require:"^smartRuleParamInput",scope:{rule:"=",param:"="},restrict:"E",templateUrl:":::PLUGIN_PATH:::/views/paramInputSelect.html",link:function(e,r,t,a){e.placeholder=a.placeholder}}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
angular.module("c8y.smartRules").directive("smartRuleParamInputTextarea",function(){return{require:"^smartRuleParamInput",scope:{rule:"=",param:"="},restrict:"E",templateUrl:":::PLUGIN_PATH:::/views/paramInputTextarea.html",link:function(e,r,a,t){e.placeholder=t.placeholder}}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function t(e,a){function l(t,n){return"".concat(a.getString(t.label)," (").concat(a.getString(n),")").concat(t.required?" *":"")}return{require:"smartRuleParamInput",scope:{rule:"=",param:"="},restrict:"E",templateUrl:":::PLUGIN_PATH:::/views/paramInputTimeInterval.html",controller:["$scope",function(n){var r={amount:null,unit:null},u=[{label:e("hours"),valueInSeconds:3600,dontDisplay:!1},{label:e("minutes"),valueInSeconds:60,dontDisplay:!1},{label:e("seconds"),valueInSeconds:1,dontDisplay:n.param.dontUseSeconds||!1}],t={AMOUNT:e("amount"),UNIT:e("unit")};n.placeholder=l,n.units=u,n.fieldNames=t,n.timeInterval=r,n.$watch(function(){return n.timeInterval.amount&&n.timeInterval.unit&&n.timeInterval.amount*n.timeInterval.unit.valueInSeconds},function(t){t&&(n.rule.config[n.param.property]=t)}),n.$watch(function(){return n.rule.config[n.param.property]},function(t){var e,a;_.assign(r,(e=t,a=u[2],_.forEach(u,function(t){var n=e/t.valueInSeconds;return n%1!=0||(e=n,a=t,!1)}),{amount:e,unit:a}))})}]}}t.$inject=["gettext","gettextCatalog"],angular.module("c8y.smartRules").directive("smartRuleParamInputTimeInterval",t)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
angular.module("c8y.smartRules").directive("smartRuleParamWarnMaxLength",function(){var r=/#{.+}/;return{scope:{rule:"=",param:"="},link:function(a){a.visible=!1,a.$watch("rule.config[param.property]",function(e){a.exceedsMaxLength=e&&e.length>a.param.warnMaxLength,a.hasPlaceholder=r.test(a.rule.config[a.param.property]),a.visible=a.exceedsMaxLength||a.hasPlaceholder})},restrict:"E",templateUrl:":::PLUGIN_PATH:::/views/paramWarnMaxLength.html"}});
|
package/smartRules/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
angular.module("c8y.smartRules",["c8y.cockpit.dataPointExplorer","c8y.cockpit.map","leaflet-directive","angular-cron-jobs"]).constant("smartRulesTemplateBasePath",":::PLUGIN_PATH:::/views/");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function e(e,r,i,t,n,o,c,a,u,l,s,d,f,h){var m=this,v={},g={},p={done:!1,inProgress:!1},A={true:{text:f("Active`rule`"),icon:"check-circle",cls:"text-success"},false:{text:f("Inactive`rule`"),icon:"ban",cls:"text-warning"}};function R(){return i.when().then(S).then(x).then(b).then(N).then(C).catch(E)}function S(){p.inProgress=!0}function C(){p.inProgress=!1,p.done=!0,p.error=!1}function E(e){e.data&&e.data.message&&a.danger(e.data.message),p.inProgress=!1,p.done=!0,p.error=!0}function x(){return s.list().then(y)}function y(e){_.forEach(e,function(e){v[e.name]=e})}function b(){var e=m.mo?d.listByContext(m.mo):i.resolve([]),t=l.hasPermissions().then(function(e){return e?d.list():i.when([])});return i.all({listByContext:e,list:t}).then(function(e){m.rules=(e=>(m.mo&&(e=_.reject(e,(e=>{var n=new RegExp("".concat(e,"/dashboard"));return function(e){var t=_.get(e,"config.url","");return I(e)&&!n.test(t)}})(m.mo))),e=m.filter?_.filter(e,m.filter):e))(_.concat(e.listByContext,e.list)),"function"==typeof m.onRules&&m.onRules()(m.rules)})}function I(e){return"sendDashboardsViaEmail"===e.ruleTemplateName}function T(e){return d.hasSource(e,m.mo)}function N(){var e,t;return Array.isArray(m.rules)&&0<m.rules.length&&(e=u.getContext(),t=(e=>(e=e.id,m.mo?_.get(m,"mo.id")||m.mo:e))(e),null!==e.context)?n.childAssets(t,{skipDetail:!0,params:{pageSize:2e3,withChildren:!1}}).then(function(e){m.children=e}).then(function(){m.ruleChildren={},_.forEach(m.rules,function(e){m.ruleChildren[e.id]=O(e)})}):i.resolve()}function O(t){return _.filter(m.children,function(e){return t.enabled&&d.hasSource(t,e)})}function w(){var e,t=g.canAddRules;return _.isUndefined(t)&&(e=m.context?c.isAllowed({adminMOs:[m.context.id]}):i.all({isAllowedInventory:c.isAllowed({anyRole:["ROLE_INVENTORY_ADMIN","ROLE_MANAGED_OBJECT_ADMIN"]}),isAllowedSmartRules:c.isAllowed({anyRole:["ROLE_SMARTRULE_ADMIN","ROLE_CEP_MANAGEMENT_ADMIN"]})}).then(function(e){return e.isAllowedInventory&&e.isAllowedSmartRules}),g.canAddRules=e.then(function(e){return g.canAddRules=e,g.canAddRules}),t=!1),t}function D(t){g.rules=g.rules||{};var n=g.rules,e=n[t.id];return _.isUndefined(e)&&(n[t.id]=c.isAllowed({adminMOs:[t.id]}).then(function(e){return n[t.id]=e,n[t.id]}),e=!1),e}function M(e){var t=!0;return t=m.context.context!==u.CONTEXT.DEVICE&&m.context.context!==u.CONTEXT.GROUP&&m.context.context!==u.CONTEXT.APPLICATION&&"ecosystem/microservice/microservices"!==m.context.context?t:t&&e&&"c8y_SmartRule"!==e.type}_.assign(m,{ruleTemplates:v,loadingStatus:p,isOpen:{},listClass:"interact-list",$onInit:function(){m.context=u.getContext(),e.$on("smartRulesListReload",R),R()},add:function(){d.addNewWithUI().then(R)},edit:function(e){d.editWithUI(e,m.mo).then(R)},clone:function(e){d.cloneWithUI(e,m.mo).then(R)},remove:function(e){t({title:f("Delete smart rule"),body:h.getString('You are about to delete smart rule "{{name}}". Do you want to proceed?',e),status:"danger",labels:{ok:f("Delete")}}).then(d.remove.bind(d,e)).then(function(){return _.pull(m.rules,e)}).then(function(){return a.success(f("Smart rule deleted."))})},hasSource:T,getChildrenEnabledForSmartRule:O,toggleRuleActivationForContextMO:function(e){if(e.enabled&&T(e))return d.deactivate(e,m.mo,!1).then(function(){a.success(h.getString('Smart rule "{{name}}" deactivated.',e))});return d.activate(e,m.mo,!1).then(function(){a.success(h.getString('Smart rule "{{name}}" activated.',e))})},toggleRuleActivationForChildrenMOs:function(t,n){var r=[];return _.forEach(n,function(e){_.find(m.ruleChildren[t.id],{id:e.id})||r.push(d.activate(t,e,!1))}),_.forEach(m.ruleChildren[t.id],function(e){_.find(n,{id:e.id})||r.push(d.deactivate(t,e,!1))}),i.all(r).then(b).then(N).then(function(){a.success(h.getString('Smart rule "{{name}}" activated/deactivated for children.',t))})},tooltip:function(e){var t,n={activate:{"for group":f("Activate for this group."),"for device":f("Activate for this device."),"for object":f("Activate for this object.")},deactivate:{"for group":f("Deactivate for this group."),"for device":f("Deactivate for this device."),"for object":f("Deactivate for this object.")}},e=e.enabled&&T(e)?"deactivate":"activate";t=r.deviceId?u.CONTEXT.DEVICE:r.groupId?u.CONTEXT.GROUP:"object";return n[e]["for ".concat(t)]},type:function(e){var t,e=v[e.ruleTemplateName];e&&(t=e.label.full?h.getString(e.label.full):"".concat(h.getString(e.label.input)," ").concat(h.getString(e.label.output)));return t},status:function(e){e=e.enabled&&T(e);return A[e].text},statusIcon:function(e){e=e.enabled&&T(e);return A[e].icon},statusClass:function(e){e=e.enabled&&T(e);return A[e].cls},context:u.getContext(),inputIcon:function(e){var t,e=v[e.ruleTemplateName];e&&(t=e.paramGroups.input.icon);return t},outputIcon:function(e){var t,e=v[e.ruleTemplateName];e&&(t=e.paramGroups.output.icon);return t},canDuplicate:function(e){return w()&&M(e)},canEdit:function(e){return D(e)&&M(e)},canRemove:D,canAddRules:w,canModify:D,canApplyOnChildren:function(e){return!I(e)},canSeeSection:function(){var e=g.canSeeSection;_.isUndefined(e)&&(g.canSeeSection=l.shouldShowLocalSmartRules().then(function(e){return g.canSeeSection=e,g.canSeeSection}),e=!1);return e}}),_.assign(e,{refresh:R,paging:{refresh:R}})}e.$inject=["$scope","$routeParams","$q","c8yModal","c8yInventory","c8yApplication","c8yPermissions","c8yAlert","c8yUiUtil","c8ySmartRulesAvailability","smartRuleTemplatesSvc","smartRulesSvc","gettext","gettextCatalog"],angular.module("c8y.smartRules").component("smartRulesList",{bindings:{mo:"<?",filter:"<?",disableEditAndCreate:"<?",onRules:"&?"},templateUrl:":::PLUGIN_PATH:::/list/smartRulesList.html",controller:e,controllerAs:"vm"})})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_unsupportedIterableToArray(e,r)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){var t;if(e)return"string"==typeof e?_arrayLikeToArray(e,r):"Map"===(t="Object"===(t={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function _iterableToArrayLimit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,i,l,o=[],u=!0,c=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;u=!1}else for(;!(u=(n=i.call(t)).done)&&(o.push(n.value),o.length!==r);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw a}}return o}}function _arrayWithHoles(e){if(Array.isArray(e))return e}(()=>{function e(e,r,t,n,a,i,l,o){var u=a.url("service/smartrule/smartrules/configurations"),c=e("smartRuleTemplates"),s="list";return 0<_.get(window,"c8y.collections.smartrules",[]).length&&t.warn("In-memory definitions of smart rules are not supported right now."),{list:f,getTemplateForRule:function(r){return f().then(function(e){return _.find(e,{name:r.ruleTemplateName})})},getTemplateByName:function(r){return f().then(function(e){return _.find(e,{name:r})}).then(y)},mustBeAvailable:function(e){return h(e).then(function(e){return e?n.when():n.reject()})},isAvailable:h};function f(){var e=c.get(s),e=e?n.when(e):r.get(u).then(a.getResData).then(function(e){return _.filter(e,function(e){return!_.includes(l.smartRules.exclude,e.name)})}).then(m).then(function(e){return c.put(s,e),e});return e}function m(e){var r=[];return e.forEach(function(e){r.push(y(e))}),n.all(r)}function y(r){return h(r.name).then(function(e){return r._active=e,n.when(r)})}function h(e){switch(e){case"sendDashboardsViaEmail":return n.all({systemOption:i.getSystemOptionValue({category:"reportMailer",key:"available"},!1),featureActive:o.isAvailable({name:"feature-dashboard-mailer"})}).then(_.every);case"onAlarmSendSms":return n.all([o.isAvailable({contextPath:"messaging"}),i.detailValue({category:"messaging",key:"provider"})]).then(function(e){var e=_slicedToArray(e,2),r=e[0];return Boolean(r&&e[1])});case"onAlarmEscalateAlarm":return h("onAlarmSendSms");default:return n.when(!0)}}}e.$inject=["$cacheFactory","$http","$log","$q","c8yBase","c8ySettings","c8yConfig","c8yApplication"],angular.module("c8y.smartRules").factory("smartRuleTemplatesSvc",e)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function e(o,r,u,i,n,a,c,l,t,d,s){var f=u.url("service/smartrule"),h="".concat(f,"/smartrules"),m=["id","self","cepModuleId","lastUpdated","creationTime"],p=["type","cepModuleId","creationTime","lastUpdated"];return{permissionsCfgs:{create:[{anyRole:["ROLE_INVENTORY_ADMIN","ROLE_INVENTORY_CREATE","ROLE_MANAGED_OBJECT_ADMIN","ROLE_MANAGED_OBJECT_CREATE"]},{anyRole:["ROLE_CEP_MANAGEMENT_ADMIN","ROLE_SMARTRULE_ADMIN"]}]},getEmpty:function(e){var e=e||n.getContext(),t={type:"c8y_SmartRule",name:"",enabled:!0,config:{}};e.context&&e.id&&(t.c8y_Context=e,t.type="c8y_PrivateSmartRule");return t},list:function(){return r.get(h).then(u.getResData).then(_.property("rules")).then(v)},listByContext:function(e){return r.get(g({moId:e})).then(u.getResData).then(_.property("rules")).then(v)},detail:function(e){e=y({id:e});return r.get(e).then(u.getResData)},save:function(e,t,n){e=e.id?S(e):((e,t,n)=>((e,t,n)=>{n.useMoAsContext&&(e.c8y_Context={id:n.mo.id,context:n.mo.isDevice?"device":"group"}),e.ruleTemplateName=t.name,T(e);t=e,e=n,n=o.when(t);return t.c8y_Context||e.mo?(t.enabledSources=[],t.disabledSources=void 0,n=b(t,e.mo,e.withChildren)):(t.enabledSources=void 0,t.disabledSources=[]),n})(e,t,n).then(_.partial(r.post,y(e,!0))).then(u.getResData))(e,t,n);return e},remove:function(e){e=y(e,!0);return r.delete(e)},hasSource:function(e,t){t=t&&t.id||t;if(!t)return!1;if(e.disabledSources)return!A(e.disabledSources,t);if(e.enabledSources)return A(e.enabledSources,t);return!0},activate:function(e,t,n){return b(e,t,n).then(S)},deactivate:function(e,t,n){return R(e,t,n).then(S)},updateSources:function(e,t,r,u){return((e,t,n)=>t.reduce(function(e,t){return e.then(function(e){return b(e,t,n)})},o.resolve(e)))(e,t,u).then(function(e){return n=u,r.reduce(function(e,t){return e.then(function(e){return R(e,t,n)})},o.resolve(e));var n}).then(S)},addNewWithUI:D,addNewForInputAlarmAndOutputUserWithUI:function(e,t){return D({inputAlarm:e,outputUser:t})},addNewForInputDataPointWithUI:function(e){return D({inputDataPoint:e})},addNewForOutputOperationWithUI:function(e){return D({outputOperation:{template:(e=>u.cleanFields(e,["id","self","status","deviceId","creationTime","failureReason"]))(e)}})},createInstanceWithUI:C,createInstanceWithUIByName:function(e,t){return l.getTemplateByName(e).then(function(e){return C(e,t)})},editWithUI:function(e,t){return U(e,void 0,t)},cloneWithUI:function(e,t,n){return c.current().then(_.partial(N,e)).then(function(e){return U(e,void 0,t,n)})},getRuleModalTitle:E};function v(e){return o.all(_.map(e,function(t){return l.getTemplateForRule(t).then(function(e){return _.isUndefined(e)?null:t})})).then(_.flatten).then(_.filter)}function y(e,t){var n=_.get(e,"c8y_Context.id"),t=t&&n?g({moId:n}):h;return e.id&&(t+="/".concat(e.id)),t}function g(e){return"".concat(f,"/managedObjects/").concat(e.moId,"/smartrules")}function S(e){T(e);var t=y(e,!0),e=u.cleanFields(e,p);return r.put(t,e)}function b(n,e,t){return I(e,t).then(function(e){return _.forEach(e,function(t){_.isArray(n.enabledSources)&&!A(n.enabledSources,t)&&n.enabledSources.push(t),_.isArray(n.disabledSources)&&A(n.disabledSources,t)&&_.remove(n.disabledSources,function(e){return _.toString(e)===_.toString(t)})}),n})}function R(n,e,t){return I(e,t).then(function(e){return _.forEach(e,function(t){_.isArray(n.enabledSources)&&A(n.enabledSources,t)&&_.remove(n.enabledSources,function(e){return _.toString(e)===_.toString(t)}),_.isArray(n.disabledSources)&&!A(n.disabledSources,t)&&n.disabledSources.push(t)}),n})}function I(e,t){var e=e&&e.id||e,n=[];return e&&(n.push(o.when(e)),n.push(((e,t)=>{var n=[];return!0!==t&&!0!==t.assets||n.push(i.childAssets(e)),!0!==t&&!0!==t.devices||n.push(i.childDevices(e)),o.all(n).then(_.flattenDeep).then(_.partialRight(_.map,"id"))})(e,t))),o.all(n).then(_.flattenDeep)}function A(e,t){var n=t.id||t;return _.some(e,function(e){return _.toString(e)===_.toString(n)})}function E(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=e.id?"c8y_SmartRule"===e.type?t("Edit global smart rule"):t("Edit local smart rule"):"/rules"===s.path()?t("Add global smart rule"):t("Add local smart rule");return e}function D(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0,n=2<arguments.length?arguments[2]:void 0;return a({title:E(),templateUrl:":::PLUGIN_PATH:::/views/add.html",controller:"SmartRuleAddCtrl",ariaLabelledBy:"modal-title",ariaDescribedBy:"modal-body",size:"lg",keyboard:!1,resolve:{context:function(){return _.cloneDeep(e)},ruleInitialObj:function(){return _.cloneDeep(n)},ruleTemplatesFilterFn:function(){return t}}})}function C(e,t){return U(t,e)}function N(e,t){e=_.cloneDeep(e);return(e=u.cleanFields(e,m)).name=d.getString("Duplicate of {{name}}",e),t&&(e.owner=t.id),e}function U(e,t,n,r){return a({templateUrl:":::PLUGIN_PATH:::/views/edit.html",controller:"SmartRuleEditCtrl",size:"sm",keyboard:!1,resolve:{ruleTemplate:function(){return _.cloneDeep(t)},rule:function(){return _.cloneDeep(e)},contextMoId:function(){return _.clone(n)},isCloned:function(){return _.clone(r)}}})}function T(e){e.c8y_Context&&e.c8y_Context.contextData&&delete e.c8y_Context.contextData}}e.$inject=["$q","$http","c8yBase","c8yInventory","c8yUiUtil","c8yModal","c8yUser","smartRuleTemplatesSvc","gettext","gettextCatalog","$location"],angular.module("c8y.smartRules").factory("smartRulesSvc",e)})();
|
|
@@ -1,48 +1,60 @@
|
|
|
1
|
-
<div
|
|
1
|
+
<div
|
|
2
|
+
class="m-b-24"
|
|
3
|
+
ng-if="!multiple"
|
|
4
|
+
>
|
|
2
5
|
<ng-form name="nestedSmartRuleForm">
|
|
3
6
|
<div
|
|
4
7
|
class="form-group alarmType"
|
|
5
8
|
ng-class="{ 'has-error': nestedSmartRuleForm.$dirty && nestedSmartRuleForm.$invalid }"
|
|
6
9
|
>
|
|
7
10
|
<input
|
|
8
|
-
type="{{ param.type }}"
|
|
9
11
|
class="form-control span"
|
|
10
|
-
ng-model="rule.config[param.property]"
|
|
11
|
-
placeholder="{{ placeholder(param) | translate }}"
|
|
12
12
|
uib-tooltip="{{ tooltip(param) }}"
|
|
13
13
|
tooltip-popup-delay="500"
|
|
14
14
|
tooltip-append-to-body="true"
|
|
15
|
+
placeholder="{{ placeholder(param) | translate }}"
|
|
16
|
+
type="{{ param.type }}"
|
|
17
|
+
ng-model="rule.config[param.property]"
|
|
15
18
|
ng-required="param.required"
|
|
16
19
|
/>
|
|
17
20
|
</div>
|
|
18
21
|
</ng-form>
|
|
19
22
|
</div>
|
|
20
|
-
<div
|
|
21
|
-
|
|
23
|
+
<div
|
|
24
|
+
class="m-b-24"
|
|
25
|
+
ng-if="multiple"
|
|
26
|
+
>
|
|
27
|
+
<div
|
|
28
|
+
class="form-group"
|
|
29
|
+
ng-repeat="alarmType in alarmTypes"
|
|
30
|
+
>
|
|
22
31
|
<ng-form name="nestedSmartRuleForm">
|
|
23
32
|
<div
|
|
24
33
|
class="input-group"
|
|
25
34
|
ng-class="{ 'has-error': nestedSmartRuleForm.$dirty && nestedSmartRuleForm.$invalid }"
|
|
26
35
|
>
|
|
27
36
|
<input
|
|
28
|
-
type="{{ param.type }}"
|
|
29
37
|
class="form-control"
|
|
30
|
-
ng-model="alarmType.name"
|
|
31
|
-
placeholder="{{ placeholder(param) | translate }}"
|
|
32
38
|
uib-tooltip="{{ tooltip(param) }}"
|
|
33
39
|
tooltip-popup-delay="500"
|
|
34
40
|
tooltip-append-to-body="true"
|
|
41
|
+
placeholder="{{ placeholder(param) | translate }}"
|
|
42
|
+
type="{{ param.type }}"
|
|
43
|
+
ng-model="alarmType.name"
|
|
35
44
|
ng-required="param.required"
|
|
36
45
|
/>
|
|
37
46
|
<span class="input-group-btn">
|
|
38
47
|
<button
|
|
39
48
|
class="btn btn-link"
|
|
40
|
-
type="button"
|
|
41
49
|
title="{{ 'Remove' | translate }}"
|
|
50
|
+
type="button"
|
|
42
51
|
ng-click="remove(alarmType)"
|
|
43
52
|
ng-disabled="alarmTypes.length <= 1"
|
|
44
53
|
>
|
|
45
|
-
<i
|
|
54
|
+
<i
|
|
55
|
+
c8y-icon="minus-circle"
|
|
56
|
+
class="text-danger"
|
|
57
|
+
></i>
|
|
46
58
|
</button>
|
|
47
59
|
</span>
|
|
48
60
|
</div>
|
|
@@ -50,11 +62,11 @@
|
|
|
50
62
|
</div>
|
|
51
63
|
<button
|
|
52
64
|
class="btn btn-default"
|
|
53
|
-
type="button"
|
|
54
65
|
title="{{ 'Add alarm type' | translate }}"
|
|
66
|
+
type="button"
|
|
55
67
|
ng-click="add()"
|
|
56
68
|
>
|
|
57
69
|
<i c8y-icon="plus-circle"></i>
|
|
58
70
|
{{ 'Add alarm type' | translate }}
|
|
59
71
|
</button>
|
|
60
|
-
</div>
|
|
72
|
+
</div>
|
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
<div>
|
|
2
|
-
<div
|
|
3
|
-
|
|
1
|
+
<div class="m-b-16">
|
|
2
|
+
<div
|
|
3
|
+
class="text-muted m-b-16"
|
|
4
|
+
ng-show="steps.length === 0"
|
|
5
|
+
translate
|
|
6
|
+
>No escalation steps defined.</div>
|
|
7
|
+
<table
|
|
8
|
+
class="table"
|
|
9
|
+
ng-show="steps.length > 0"
|
|
10
|
+
>
|
|
4
11
|
<tr ng-repeat-start="step in steps">
|
|
5
|
-
<td
|
|
6
|
-
|
|
12
|
+
<td
|
|
13
|
+
class="text-center"
|
|
14
|
+
style="width: 35px"
|
|
15
|
+
>{{ getStepNo(step) + 1 }}.</td>
|
|
16
|
+
<td
|
|
17
|
+
class="text-center"
|
|
18
|
+
style="width: 35px"
|
|
19
|
+
>
|
|
7
20
|
<i
|
|
8
21
|
c8y-icon="{{ icon(step) }}"
|
|
9
22
|
uib-tooltip="{{ step.type.label | translate }}"
|
|
@@ -11,54 +24,68 @@
|
|
|
11
24
|
tooltip-append-to-body="true"
|
|
12
25
|
></i>
|
|
13
26
|
</td>
|
|
14
|
-
<td
|
|
15
|
-
|
|
27
|
+
<td
|
|
28
|
+
style="max-width: 220px"
|
|
29
|
+
title="{{ step.config.to }}"
|
|
30
|
+
>
|
|
31
|
+
<span class="text-truncate">
|
|
16
32
|
{{ step.config.to }}
|
|
17
33
|
</span>
|
|
18
34
|
</td>
|
|
19
35
|
<td class="text-right">
|
|
20
36
|
{{ executionConditionLabel(step.executionCondition) | translate }}
|
|
21
37
|
</td>
|
|
22
|
-
<td
|
|
38
|
+
<td
|
|
39
|
+
class="text-right"
|
|
40
|
+
style="width: 70px"
|
|
41
|
+
>
|
|
23
42
|
<div class="btn-group">
|
|
24
43
|
<button
|
|
25
44
|
class="btn btn-link btn-xs"
|
|
26
|
-
type="button"
|
|
27
45
|
aria-label="{{ getStepTooltip(step) | translate }}"
|
|
28
46
|
uib-tooltip="{{ getStepTooltip(step) | translate }}"
|
|
29
47
|
tooltip-popup-delay="500"
|
|
30
48
|
tooltip-append-to-body="true"
|
|
49
|
+
type="button"
|
|
31
50
|
ng-click="toggleExpand(step)"
|
|
32
51
|
>
|
|
33
52
|
<i c8y-icon="caret-{{ step.expanded ? 'up' : 'down' }}"></i>
|
|
34
53
|
</button>
|
|
35
54
|
<button
|
|
36
55
|
class="btn btn-link btn-xs"
|
|
37
|
-
type="button"
|
|
38
56
|
aria-label="{{ 'Remove' | translate }}"
|
|
39
57
|
uib-tooltip="{{ 'Remove' | translate }}"
|
|
40
58
|
tooltip-popup-delay="500"
|
|
41
59
|
tooltip-append-to-body="true"
|
|
60
|
+
type="button"
|
|
42
61
|
ng-click="removeStep(step)"
|
|
43
62
|
ng-disabled="!canRemoveStep(step)"
|
|
44
63
|
>
|
|
45
|
-
<i
|
|
64
|
+
<i
|
|
65
|
+
c8y-icon="close"
|
|
66
|
+
class="text-danger"
|
|
67
|
+
></i>
|
|
46
68
|
</button>
|
|
47
69
|
</div>
|
|
48
70
|
</td>
|
|
49
71
|
</tr>
|
|
50
|
-
<tr
|
|
72
|
+
<tr
|
|
73
|
+
ng-repeat-end
|
|
74
|
+
ng-if="step.expanded"
|
|
75
|
+
>
|
|
51
76
|
<td colspan="5">
|
|
52
77
|
<div class="row">
|
|
53
78
|
<div class="col-lg-12">
|
|
54
79
|
<div class="text-info">
|
|
55
80
|
<div ng-show="!canChangeStepType(step)">
|
|
56
81
|
<i c8y-icon="info-circle"></i>
|
|
57
|
-
<translate>Can't change type if other step depends on this one
|
|
82
|
+
<translate>Can't change type if other step depends on this one.
|
|
83
|
+
</translate>
|
|
58
84
|
</div>
|
|
59
85
|
<div ng-show="!canChangeExecutionCondition(step)">
|
|
60
86
|
<i c8y-icon="info-circle"></i>
|
|
61
|
-
<translate>At least one step needs to be executed always
|
|
87
|
+
<translate>At least one step needs to be executed always.
|
|
88
|
+
</translate>
|
|
62
89
|
</div>
|
|
63
90
|
</div>
|
|
64
91
|
</div>
|
|
@@ -72,7 +99,10 @@
|
|
|
72
99
|
'has-error': nestedSmartRuleForm.$dirty && nestedSmartRuleForm.$invalid
|
|
73
100
|
}"
|
|
74
101
|
>
|
|
75
|
-
<ui-select
|
|
102
|
+
<ui-select
|
|
103
|
+
ng-model="step.type"
|
|
104
|
+
ng-disabled="!canChangeStepType(step)"
|
|
105
|
+
>
|
|
76
106
|
<ui-select-match>
|
|
77
107
|
<i
|
|
78
108
|
c8y-icon="{{ $select.selected.icon }}"
|
|
@@ -122,7 +152,10 @@
|
|
|
122
152
|
<div class="row">
|
|
123
153
|
<div class="col-lg-12">
|
|
124
154
|
<div ng-repeat="stepParam in step.type.params">
|
|
125
|
-
<smart-rule-param-input
|
|
155
|
+
<smart-rule-param-input
|
|
156
|
+
rule="step"
|
|
157
|
+
param="stepParam"
|
|
158
|
+
></smart-rule-param-input>
|
|
126
159
|
</div>
|
|
127
160
|
</div>
|
|
128
161
|
</div>
|
|
@@ -131,12 +164,13 @@
|
|
|
131
164
|
</table>
|
|
132
165
|
|
|
133
166
|
<button
|
|
134
|
-
class="btn btn-
|
|
167
|
+
class="btn btn-default"
|
|
135
168
|
type="button"
|
|
136
169
|
title="{{ 'Add step' | translate }}"
|
|
170
|
+
type="button"
|
|
137
171
|
ng-click="addStep()"
|
|
138
172
|
>
|
|
139
|
-
<i c8y-icon="plus"></i>
|
|
173
|
+
<i c8y-icon="plus-circle"></i>
|
|
140
174
|
{{ 'Add step' | translate }}
|
|
141
175
|
</button>
|
|
142
|
-
</div>
|
|
176
|
+
</div>
|
|
@@ -1,28 +1,34 @@
|
|
|
1
1
|
<div class="form-group">
|
|
2
2
|
<div class="input-group">
|
|
3
|
-
<select
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
<div class="c8y-select-wrapper">
|
|
4
|
+
<select
|
|
5
|
+
aria-label="{{ 'Select data point' | translate }}"
|
|
6
|
+
class="form-control"
|
|
7
|
+
ng-options="kpi.id as getKpiLabel(kpi) for kpi in kpis | orderBy:['label','series']"
|
|
8
|
+
ng-model="kpiId"
|
|
9
|
+
ng-change="onKpiSelectionChange(kpiId)"
|
|
10
|
+
ng-required="param.required"
|
|
11
|
+
>
|
|
12
|
+
<option
|
|
13
|
+
value=""
|
|
14
|
+
ng-if="!param.required || !kpiId"
|
|
15
|
+
ng-bind="placeholder(param)"
|
|
16
|
+
></option>
|
|
17
|
+
</select>
|
|
18
|
+
</div>
|
|
13
19
|
<span class="input-group-btn">
|
|
14
20
|
<button
|
|
15
21
|
class="btn btn-primary"
|
|
16
|
-
type="button"
|
|
17
22
|
aria-label="{{ 'Select data point from library' | translate }}…"
|
|
18
23
|
uib-tooltip="{{ 'Select data point from library' | translate }}…"
|
|
19
24
|
tooltip-popup-delay="500"
|
|
20
25
|
tooltip-append-to-body="true"
|
|
21
26
|
tooltip-append-to-body="true"
|
|
27
|
+
type="button"
|
|
22
28
|
ng-click="openKpiSelector()"
|
|
23
29
|
>
|
|
24
30
|
<i c8y-icon="search"></i>
|
|
25
31
|
</button>
|
|
26
32
|
</span>
|
|
27
33
|
</div>
|
|
28
|
-
</div>
|
|
34
|
+
</div>
|
|
@@ -4,31 +4,34 @@
|
|
|
4
4
|
ng-class="{ 'has-error': nestedSmartRuleForm.$dirty && nestedSmartRuleForm.$invalid }"
|
|
5
5
|
>
|
|
6
6
|
<textarea
|
|
7
|
-
c8y-code-editor="json"
|
|
8
7
|
class="form-control"
|
|
9
|
-
name="operation"
|
|
10
|
-
ng-model="operation.json"
|
|
11
|
-
ng-attr-placeholder='{"c8y_Reset": {}}'
|
|
12
8
|
uib-tooltip="{{ placeholder(param) }}"
|
|
13
9
|
tooltip-popup-delay="500"
|
|
14
10
|
tooltip-append-to-body="true"
|
|
15
|
-
|
|
11
|
+
name="operation"
|
|
16
12
|
rows="6"
|
|
13
|
+
c8y-code-editor="json"
|
|
14
|
+
ng-model="operation.json"
|
|
15
|
+
ng-attr-placeholder='{"c8y_Reset": {}}'
|
|
16
|
+
ng-required="param.required"
|
|
17
17
|
></textarea>
|
|
18
18
|
</div>
|
|
19
|
-
<div class="
|
|
19
|
+
<div class="p-16">
|
|
20
|
+
<label>{{ 'List of operation examples' | translate }}</label>
|
|
20
21
|
<div class="input-group">
|
|
21
|
-
<select
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
<div class="c8y-select-wrapper">
|
|
23
|
+
<select
|
|
24
|
+
aria-label="{{ 'List of operation examples' | translate }}"
|
|
25
|
+
class="form-control"
|
|
26
|
+
ng-options="operationExample as (operationExample.description | translate) for operationExample in operationExamples"
|
|
27
|
+
ng-model="operation.example"
|
|
28
|
+
></select>
|
|
29
|
+
</div>
|
|
27
30
|
<span class="input-group-btn">
|
|
28
31
|
<button
|
|
29
32
|
class="btn btn-primary"
|
|
30
|
-
type="button"
|
|
31
33
|
title="{{ 'Use this operation' | translate }}"
|
|
34
|
+
type="button"
|
|
32
35
|
ng-click="chooseOperationExample(operation.example)"
|
|
33
36
|
>
|
|
34
37
|
<i c8y-icon="share"></i>
|
|
@@ -36,4 +39,4 @@
|
|
|
36
39
|
</span>
|
|
37
40
|
</div>
|
|
38
41
|
</div>
|
|
39
|
-
</ng-form>
|
|
42
|
+
</ng-form>
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
<div class="row">
|
|
2
|
+
<div class="col-lg-12">
|
|
3
|
+
<label>{{ 'Time interval' | translate }}</label>
|
|
4
|
+
</div>
|
|
2
5
|
<ng-form name="nestedSmartRuleForm1">
|
|
3
6
|
<div
|
|
4
7
|
class="form-group col-lg-6"
|
|
5
8
|
ng-class="{ 'has-error': nestedSmartRuleForm1.$dirty && nestedSmartRuleForm1.$invalid }"
|
|
6
9
|
>
|
|
7
10
|
<input
|
|
11
|
+
id="Duration"
|
|
8
12
|
name="amount"
|
|
9
13
|
type="number"
|
|
10
14
|
class="form-control"
|
|
11
|
-
ng-model="timeInterval.amount"
|
|
12
|
-
min="1"
|
|
13
|
-
ng-required="param.required"
|
|
14
|
-
placeholder="{{ placeholder(param, fieldNames.AMOUNT) }}"
|
|
15
15
|
uib-tooltip="{{ placeholder(param, fieldNames.AMOUNT) }}"
|
|
16
16
|
tooltip-popup-delay="500"
|
|
17
17
|
tooltip-append-to-body="true"
|
|
18
|
+
placeholder="{{ placeholder(param, fieldNames.AMOUNT) }}"
|
|
19
|
+
name="amount"
|
|
20
|
+
type="number"
|
|
21
|
+
ng-model="timeInterval.amount"
|
|
22
|
+
min="1"
|
|
23
|
+
ng-required="param.required"
|
|
18
24
|
/>
|
|
19
25
|
</div>
|
|
20
26
|
</ng-form>
|
|
@@ -23,18 +29,20 @@
|
|
|
23
29
|
class="form-group col-lg-6"
|
|
24
30
|
ng-class="{ 'has-error': nestedSmartRuleForm2.$dirty && nestedSmartRuleForm2.$invalid }"
|
|
25
31
|
>
|
|
26
|
-
<select
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
<div class="c8y-select-wrapper">
|
|
33
|
+
<select
|
|
34
|
+
aria-label="{{ 'Time interval' | translate }}"
|
|
35
|
+
name="unit"
|
|
36
|
+
class="form-control"
|
|
37
|
+
ng-options="unit as (unit.label | translate) for unit in units | filter: {dontDisplay: false}"
|
|
38
|
+
ng-model="timeInterval.unit"
|
|
39
|
+
ng-required="param.required"
|
|
40
|
+
placeholder="{{ placeholder(param, fieldNames.UNIT) }}"
|
|
41
|
+
uib-tooltip="{{ placeholder(param, fieldNames.UNIT) }}"
|
|
42
|
+
tooltip-popup-delay="500"
|
|
43
|
+
tooltip-append-to-body="true"
|
|
44
|
+
></select>
|
|
45
|
+
</div>
|
|
38
46
|
</div>
|
|
39
47
|
</ng-form>
|
|
40
|
-
</div>
|
|
48
|
+
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function e(c,e){c.config.switches=c.config.switches||[],c.switchesTemp=_.cloneDeep(c.config.switches),c.saveSwitch=function(e){var t=c.switchesTemp[e];t.newSwitch?(delete t.newSwitch,c.config.switches.push(t)):c.config.switches[e]=_.clone(t)},c.deleteSwitch=function(e){c.config.switches.splice(e,1),c.switchesTemp.splice(e,1)},c.addSwitch=function(){c.switchesTemp.push({newSwitch:!0,name:"".concat(e.getString("Switch")," ").concat(c.config.switches.length),property:"",activeValue:"",inactiValue:"",activeLabel:e.getString("Active`switch`"),inactiveLabel:e.getString("Inactive`switch`")})}}e.$inject=["$scope","gettextCatalog"],angular.module("c8y.switchDisplay").controller("switchDisplayConfig",["$scope","gettextCatalog",e])})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function i(c,t,e,n,i){function o(){var i=t.deviceId;return c.child.config&&c.child.config.device&&c.child.config.device.id?c.child.config.device.id:i}function a(i,t){if(i){for(var c=t.split("."),e=i[c[0]],n=1;n<c.length&&e;n++)e=e[c[n]];return"".concat(e)}}function r(t){_.forEach(c.switches,function(i){i.value=a(t,i.property)})}var d;c.$watch("child.config.switches",function(i){c.switches=i,i=o(),n.detail(i).then(function(i){return e.getResData(i)}).then(r)}),c.getValue=a,d=["/managedobjects/",o()].join(""),i.addListener(c.$id,d,i.realtimeActions().UPDATE,function(i,t){r(t)}),i.start(c.$id,d),c.$on("$destroy",function(){i.stop(c.$id,d)})}i.$inject=["$scope","$routeParams","c8yBase","c8yInventory","c8yRealtime"],angular.module("c8y.switchDisplay").controller("switchDisplayCtrl",i)})();
|
package/switchDisplay/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function t(t,e){t.add({name:"Data point status",nameDisplay:e("Data point status"),description:e("Displays in realtime the status of any binary data point."),templateUrl:":::PLUGIN_PATH:::/views/widget.html",configTemplateUrl:":::PLUGIN_PATH:::/views/config.html",previewImage:":::PLUGIN_PATH:::/img/data-points-status-widget-pr.png",options:{groupsSelectable:!1,noNewWidgets:!("dt"===((window.C8Y_APP||{}).C8Y_INSTANCE_OPTIONS||{}).target)}})}t.$inject=["c8yComponentsProvider","gettext"],angular.module("c8y.switchDisplay",[]).config(t)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function n(t,n,e,i,a,o,r,l){var n=n.tenantId,c=[],u=null,p={};function s(n){p=n,t.tenant=p}function f(){return t.tenant.applications.references.map(function(n){return n.application})}function h(n){_.forEach(n,function(n){return c.push(n)}),t.owners=_(c).map("owner.tenant.id").uniq().map(function(n){return{value:n,label:n}}).concat({value:null,label:"- ".concat(l.getString("Show all"))}).value(),t.applications=c}t.filterOwner=function(n){return null===t.filter.owner||n.owner.tenant.id===t.filter.owner},t.applications=c,t.associate=function(n){return a.addApplication(p,n).then(function(){t.associatedApplications.push(n)})},t.dissociate=function(n){return a.removeApplication(p,n).then(function(){return r.removeFromList(t.associatedApplications,n)})},t.openItem=function(n){u=u!==n?n:null},t.isOpen=function(n){return u===n},t.filter={owner:null,text:{}},t.popoverTemplateUrl=":::PLUGIN_PATH:::/views/popover.html",n&&"new"!==n&&a.detail(n).then(r.getResData).then(s).then(f).then(i.sortApps).then(function(n){t.associatedApplications=n}),i.listByTenant({pageSize:2e3}).then(function(n){return _.uniqBy(n,"id")}).then(h)}n.$inject=["$scope","$routeParams","$uibModal","c8yApplication","c8yTenant","c8yAlert","c8yBase","gettextCatalog"],angular.module("c8y.tenantApplications").controller("tenantAppAssignmentCtrl",n)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
angular.module("c8y.tenantApplications",[]).config(["c8yViewsProvider","gettext",function(n,t){n.when("/tenants/:tenantId",{templateUrl:":::PLUGIN_PATH:::/views/index.html",controller:"tenantAppAssignmentCtrl",icon:"c8y-atom",name:t("Applications"),priority:3e3,showIf:["$routeParams",function(n){return n&&"new"!==n.tenantId}]})}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function t(t,n){var i=this,e=t.tenantId,s={},t=_.memoize(function(t){t=o(t.id);return _.get(t,"instances")},function(t){return t.id}),a=null;function c(t){_.forEach(t,function(t){var n=t.applicationId;n&&(s[n]=t)})}function o(t){t=_.get(s,t);return n.getApplicationStatusForTenant(t,e)}_.assign(i,{$onInit:function(){var t={tenantId:e,filters:{pageSize:2e3}};n.getApplicationMOs(t).then(c)},openItem:function(t){(a=a!==t?t:null)&&(t=>{(t=o(t))?i.instancesStatus=n.getInstanceCounts(_.get(t,"details")):i.instancesStatus={}})(t.id)},isOpen:function(t){return a===t},hasApplicationStatus:function(t){t=o(t.id);return!_.isEmpty(t)},memoizedGetSubscriptionInstances:t,instancesStatus:{},getStatusIcon:function(t){t=_.find(n.status.values(),{value:_.get(o(t),"status")});return _.get(t,"icon")},getStringTooltip:function(t){t=_.find(n.status.values(),{value:_.get(o(t),"status")});return _.get(t,"label")}})}t.$inject=["$routeParams","c8yApplication"],angular.module("c8y.tenantApplications").component("c8ySubscribedApplications",{bindings:{associatedApplications:"<",dissociate:"<"},templateUrl:":::PLUGIN_PATH:::/subscribed-applications/subscribed-applications.html",controller:t,controllerAs:"vm"})})();
|
package/tenantLicenses/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function i(t,i){return t.current().then(function(n){var e=t.isTopTenant(n.name);return i.hasAllRoles(["ROLE_TENANT_MANAGEMENT_READ","ROLE_OPTION_MANAGEMENT_READ"]).then(function(n){return n&&e})})}function n(n,e,t){n.addNavigation({parent:t("Settings"),name:t("License management"),path:"tenantLicenses",icon:"c8y-book",priority:1e3,showIf:i}),e.when("/tenantLicenses",{template:"<c8y-license-management />",showIf:i})}i.$inject=["c8yTenant","c8yPermissions"],n.$inject=["c8yNavigatorProvider","c8yViewsProvider","gettext"],angular.module("c8y.tenantLicenses",[]).config(n)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function e(t,c,s,i){var r=this;function o(){return c.getLicenses().then(function(e){r.licenses=_.flatMap(e,function(e,n){return{key:n,value:e}})})}_.assign(r,{$onInit:function(){o()},remove:function(e){return c.removeLicenseKey(e.key).then(function(){t.success(s("License key deleted."))}).then(o)},save:function(n){return c.updateLicenseKey(r.licenseKey).then(function(){var e;t.success(s("License key added.")),e=n,r.licenseKey="",e.$setPristine(),e.$setUntouched(),o()},function(e){t.danger(i.getResErrorMessage(e))})}})}e.$inject=["c8yAlert","c8yLicense","gettext","c8yBase"],angular.module("c8y.tenantLicenses").component("c8yLicenseManagement",{templateUrl:":::PLUGIN_PATH:::/licenseManagement.html",controller:e,controllerAs:"vm"})})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function e(e,n,t){var i=this;_.assign(i,{$onInit:function(){t.all({isTopTenant:e.isTopTenant(),isEnterpriseEditionTenant:e.isEnterpriseEditionTenant()}).then(function(e){var n=e.isTopTenant;i.canDisableEdit=n||e.isEnterpriseEditionTenant}),_.set(i,"rule.editable",_.get(i,"rule.editable",!1))},$onChanges:function(){_.get(i.rule,"isNew")&&(delete i.rule.isNew,i.isOpen=!0)},dataTypes:n.DATA_TYPES})}e.$inject=["c8yTenantPolicies","c8yRetentions","$q"],angular.module("c8y.tenantPolicies").component("c8yRetentionRuleRow",{templateUrl:":::PLUGIN_PATH:::/retentionRule/retentionRuleRow.html",controller:e,controllerAs:"vm",bindings:{rule:"<",onRemove:"&"}})})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
angular.module("c8y.tenantPolicies").component("c8yEditSystemOption",{templateUrl:":::PLUGIN_PATH:::/systemOptions/editSystemOption.html",controllerAs:"vm",bindings:{option:"="}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function n(n){var t=this;_.assign(t,{$onInit:function(){n.isTopTenant().then(function(n){t.canDisableEdit=n})},$onChanges:function(){_.get(t.option,"isNew")&&(delete t.option.isNew,t.isOpen=!0)}})}n.$inject=["c8yTenantPolicies"],angular.module("c8y.tenantPolicies").component("c8ySystemOptionsRow",{templateUrl:":::PLUGIN_PATH:::/systemOptions/systemOptionsRow.html",controller:n,controllerAs:"vm",bindings:{option:"<",onRemove:"&"}})})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
angular.module("c8y.tenantPolicies").component("c8yEditTenantOption",{templateUrl:":::PLUGIN_PATH:::/tenantOptions/editTenantOption.html",controllerAs:"vm",bindings:{option:"="}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function n(n){var t=this;_.assign(t,{$onInit:function(){n.isTopTenant().then(function(n){t.canDisableEdit=n})},$onChanges:function(){_.get(t.option,"isNew")&&(delete t.option.isNew,t.isOpen=!0)}})}n.$inject=["c8yTenantPolicies"],angular.module("c8y.tenantPolicies").component("c8yTenantOptionsRow",{templateUrl:":::PLUGIN_PATH:::/tenantOptions/tenantOptionsRow.html",controller:n,controllerAs:"vm",bindings:{option:"<",onRemove:"&"}})})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function n(n){n.config()}n.$inject=["c8yTenantPoliciesConfigProvider"],angular.module("c8y.tenantPolicies",[]).config(n)})();
|