@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
|
+
(()=>{function e(a,F,c,e,f,d,l,E,n,r,t,g,h,s,m,o,p){var i,u,v,w=this,N=(_.assign(w,{cancel:g.gotoList,shouldDisableGlobalRolesCheckbox:D,isUserAndRolesFormPristine:U,isUserFormInvalid:y,isRolesFormInvalid:I,canSave:function(){return!(c.saving||U()||y()||I())},getRoleName:o.getName}),e.userId),R=["business"];function T(){N?d.detail(N).then(function(e){return e.data}).then(A).then(function(){return d.getUserTfaSettings(c.user).then(f.getResData).then(function(e){c.userTfaEnforced=!!e.tfaEnforced})}):(A({enabled:c.isNew=!0}),P(p("New user"),!0))}function A(e){u=e.email,e.devicePermissions=e.devicePermissions||{},c.user=e,c._groups=O(e),c.password.showPassword=c.isNew,c.hasExternalOrigin=d.hasExternalOrigin(e),c.isNew&&(_.forEach(c.groups,function(e){_.includes(R,e.name)&&(c._groups[e.id]=!0)}),v)&&E.warning(g.LOCAL_USER_TEXT),c.hasExternalOrigin&&s.isSsoClearingUserRolesOnEveryLogin().then(function(e){return c.userCanEditRoles=!e,c.userCanEditRoles}).then(function(e){e?E.warning(g.EXTERNAL_ORIGIN_DYNAMIC_ACCESS_MAPPING_EXCEPTION_TEXT):E.warning(g.EXTERNAL_ORIGIN_TEXT)})}function U(){return c.forms.userForm.$pristine&&c.forms.rolesForm.$pristine}function y(){return!!(M(c.currentUser,c.user)&&!c.hasExternalOrigin)&&c.forms.userForm.$invalid}function I(){return!D()&&c.forms.rolesForm.$invalid}function O(e){return _.reduce(_.get(e,"groups.references"),function(e,n){return e[n.group.id]=!0,e},{})}function C(e){c.groups=e}function L(e){c.currentUser=e}function G(r,e){function n(){return E.success(p("User saved."))}var t=1<arguments.length&&void 0!==e?e:"",e=(c.saving=!0,g.gotoList),s=!(r.id&&!r.groups),o=_(c._groups).map(function(e,n){return e&&parseInt(n,10)}).filter().value(),i=s?function(){return l.updateGroups(0<arguments.length&&void 0!==arguments[0]?arguments[0]:r,o)}:function(){return a.resolve()},s=c.forms.rolesForm.$dirty,u=c.password.showPassword;try{(c.hasExternalOrigin?g.warnAboutUserLogOutIfNeeded(r,{rolesChanged:s,passwordChanged:u}).then(function(){return i()}):g.warnAboutUserLogOutIfNeeded(r,{rolesChanged:s,passwordChanged:u}).then(function(){return r.password&&!c.isNew?d.changePassword(r,r.password,t):a.resolve()}).then(function(){return d.current()}).then(function(e){return _.isEqual(e.userName,r.userName)}).then(function(e){var n;return m.isActivatedFor("units-conversion")&&(e&&(n=r,n=_.get(r,"measurementUnit.value"),h.set("unit",n)),_.unset(r,"measurementUnit")),e}).then(function(e){return d.save(_.omit(r,c.isNew?["measurementUnit"]:["measurementUnit","password"]),e)}).then(f.getResData).then(function(e){return i(e)}).then(function(){return d.setUserTfaSettings(r,{tfaEnforced:!!c.userTfaEnforced})})).then(n).then(e).finally(function(){c.saving=!1})}catch(e){E.danger(e.message),c.saving=!1}}function P(){return n.changeTitle({title:0<arguments.length&&void 0!==arguments[0]?arguments[0]:""},{skipTitleTranslation:!(1<arguments.length&&void 0!==arguments[1]&&arguments[1])})}function S(e){return d.hasRole(e,"ROLE_USER_MANAGEMENT_ADMIN")||d.hasRole(e,"ROLE_USER_MANAGEMENT_CREATE")}function M(e,n){return!(!e||!n)&&(!n.id||(e.id===n.id?d.hasRole(e,"ROLE_USER_MANAGEMENT_OWN_ADMIN"):d.hasRole(e,"ROLE_USER_MANAGEMENT_ADMIN")||d.hasRole(e,"ROLE_USER_MANAGEMENT_CREATE")))}function $(e){return _.get(c.user,"owner")&&i&&!i[e.id]}function D(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,n=S(c.currentUser),e=!e||!$(e),r=!!c.userCanEditRoles||!c.hasExternalOrigin;return!(n&&e&&r)}c.checkPassword=function(n){var e=!c.isNew,r=c.password.showPassword||(e=>e.email!==u)(n);return e&&r?t.currentPassword().then(function(e){return G(n,e)}).catch(function(e){e&&E.danger(f.getResErrorMessage(e)),T()}):G(n)},c.$watch("user.userName",P),c.$watch("user.owner",function(e){e?d.detail(e).then(f.getResData).then(function(e){i=O(e),_.forEach(c._groups,function(e,n){c._groups[n]=e&&i[n]})}):i=null}),c.$watch("_groups",function(e){c.enforcedGroup&&(c.topLevelTfaEnforced=e[c.enforcedGroup.id])},!0),c.canEditUser=M,c.canEditUserGroups=S,c.canActivateUser=function(e,n){return!(!e||!n)&&e.id!==n.id},c.forms={},c.password={},c.saving=!1,c.showAcl=function(){var e=_.get(c.user,"devicePermissions"),e=_.keys(e);return f.getFlag("deprecated")||e.length},c.restrictedByOwner=$,c.$on("$destroy",function(){E.remove({text:g.EXTERNAL_ORIGIN_TEXT,type:"warning"}),E.remove({text:g.EXTERNAL_ORIGIN_DYNAMIC_ACCESS_MAPPING_EXCEPTION_TEXT,type:"warning"}),E.remove({text:g.LOCAL_USER_TEXT,type:"warning"})}),l.list(void 0).then(C).then(s.isSsoEnabled).then(function(e){v=e}).then(T).then(function(){return r.current().then(function(e){return d.getTenantTfaSettings(c.user,e.name)}).then(function(e){c.enforcedGroup=_.find(c.groups,{name:e.enforcedUsersGroup}),c.topLevelTfaEnforced=d.isEnforcedForUser(c.user,e)||c._groups[c.enforcedGroup.id]})}),d.current().then(L),g.userHierarchyActive().then(function(e){w.FEATURE_USER_HIERARCHY=e})}e.$inject=["$q","$injector","$scope","$routeParams","c8yBase","c8yUser","c8yUserGroup","c8yAlert","c8yTitle","c8yTenant","c8yUserUtil","c8yUsersUi","c8yUserPreferences","c8yLoginOptions","c8yBeta","c8yPropertyValueTransformService","gettext"],angular.module("c8y.users").component("c8yUserDetailView",{templateUrl:":::PLUGIN_PATH:::/userDetailView/userDetailView.html",controller:e,controllerAs:"vm"})})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function e(e,n,r,t,o){var s=this;function l(n){return function(e){s.onChangeUser({user:e,action:n})}}function a(){return!(!s.searchFilter&&!_.get(s.globalRolesFilter,"length",0))}function i(e){return s.FEATURE_USER_HIERARCHY&&s.currentUserId&&e.id!==s.currentUserId}_.assign(s,{$onInit:function(){e.all({twoFactorAuthAvailable:t.isTfaAvailable(),totpStrategy:r.getTfaStrategy()}).then(function(e){return _.assign(s,e)}),t.userHierarchyActive().then(function(e){s.FEATURE_USER_HIERARCHY=e}),r.current().then(function(e){s.currentUserId=_.get(e,"id")}),o.isSsoClearingUserRolesOnEveryLogin().then(function(e){s.userCanEditRoles=!e})},$onChanges:function(e){e.users&&s.users&&(s.userFlatTree=t.createUserFlatTree(s.users),n.paging=s.users.paging,n.loadNext=function(){return s.onLoadMore()})},searchOn:a,fullName:t.fullName,toggleExpanded:function(e){e._expanded||s.onLoadSubusers({user:e});t.toggleExpanded(e)},visible:function(e){return!!a()||t.visibleInList(e)},detailLink:t.detailLink,editUser:t.editUser,mapRolesForUser:_.memoize(function(e){return _.map(e,"group")}),changeGlobalRoles:function(e,n){s.onChangeUser({user:e,action:{name:"changeGlobalRoles",data:{roles:n}}})},copyInventoryRoles:l("copyInventoryRoles"),disable:l("disable"),enable:l("enable"),remove:l("remove"),delegate:l("delegate"),removeDelegate:l("removeDelegate"),getPasswordStrength:t.getPasswordStrength,getPasswordColor:t.getPasswordColor,getPasswordIcon:t.getPasswordIcon,showDelegate:function(e){return i(e)&&!e.delegatedBy},showUndelegate:function(e){return i(e)&&e.delegatedBy},globalRolesAvailable:function(e){return _.get(e,"_owner._globalRoles",s.globalRoles)},isUndeletable:t.isUndeletable,isCurrent:t.isCurrent,shouldDisableGlobalRolesSelector:function(e){return!s.userCanEditRoles&&r.hasExternalOrigin(e)},editGlobalRolesForUserWithExternalOrigin:t.EXTERNAL_ORIGIN_TEXT_FOR_USERS_LIST_VIEW,hasExternalOrigin:r.hasExternalOrigin})}e.$inject=["$q","$scope","c8yUser","c8yUsersUi","c8yLoginOptions"],angular.module("c8y.users").component("c8yUserList",{bindings:{users:"<",globalRoles:"<",searchFilter:"<",globalRolesFilter:"<",onChangeUser:"&",onLoadSubusers:"&",onLoadMore:"&"},templateUrl:":::PLUGIN_PATH:::/userList/userList.html",controller:e,controllerAs:"vm"})})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(()=>{function e(s,n,o,r,t,e,i,u,a,l,c,g){var f,d=this;function h(e){return f=e?[]:d.users,d.users=[],o.list((e=_.get(d.filters,"text"),n=(n=_.map(_.get(d.filters,"globalRoles"),"id")).length?n.join(","):void 0,{withSubusersCount:!0,username:e,groups:n,withApps:!1,withGroups:!1,withRoles:!1,onlyRoots:_.isEmpty(e)})).then(p);var n}function p(e){E(e),d.users.paging=e.paging}function E(e){var n=d.users,t=n.paging,r=o.getTfaStrategy();_.forEach(e,function(t){var e=_.find(f,{id:t.id});t.twoFactorAuthenticationEnabled||s.all({enforced:o.isTfaActive(t),strategy:r}).then(function(e){var n=e.enforced,e=e.strategy;"SMS"!==e&&e||n&&(t.twoFactorAuthenticationEnabled=n)}),e&&(t._expanded=e._expanded),_.some(n,{id:t.id})||(n=n.concat([t]))}),n.paging=t,d.users=n}function R(e){d.globalRoles=e}function A(e){return e._globalRoles=_.map(_.get(e,"groups.references"),function(e){return _.find(d.globalRoles,{id:e.group.id})}),e}function U(){o.current().then(function(e){d.canAddUser=o.hasRole(e,"ROLE_USER_MANAGEMENT_ADMIN")||d.FEATURE_USER_HIERARCHY&&o.hasRole(e,"ROLE_USER_MANAGEMENT_CREATE"),d.canRevokeTokens=o.hasRole(e,"ROLE_USER_MANAGEMENT_ADMIN")})}function v(e){return f=d.users,o.listAll({owner:e.id,withSubusersCount:!0}).then(E)}_.assign(d,{ROUTE_NEW_USER:t.ROUTE_NEW_USER,$onInit:function(){s.all([h(),e.global.list({pageSize:1e4}).then(R)]).then(function(){return _.forEach(d.users,A)}),t.userHierarchyActive().then(function(e){d.FEATURE_USER_HIERARCHY=e}).then(U)},loadMore:function(){d.users.paging.loading=!0,d.users.paging.next().then(p).finally(function(){d.users.paging.loading=!1})},loadUsers:h,loadSubusers:v,changeUser:function(s,e){var n="changeGlobalRoles"===e.name;return t.warnAboutUserLogOutIfNeeded(s,{rolesChanged:n}).then(function(){return t.changeUser(s,e)}).then(function(e){var n,t,r=s;return(e=e||{}).removeUser&&(d.users=_.reject(d.users,{id:r.id}),t=_.get(r,"_owner.id"),d.users=_.map(d.users,function(e){return t&&t===e.id?(e.subusersCount--,angular.copy(e)):e})),e.refresh||e.removeUser||(n=o.list({username:r.id,withSubusersCount:!0}).then(_.first).then(function(t){var r=t.id,e=_.map(d.users,function(e){var n=r===e.id;return n&&(t._expanded=e._expanded),n?A(t):e});_.assign(e,_.pick(d.users,["statistics","paging"])),d.users=e})),n=e.refresh?h():n})},showExpandCollapse:function(){return d.FEATURE_USER_HIERARCHY&&_.some(d.users,function(e){return 0<e.subusersCount||_.get(e,"_owns.length")})},collapseAll:function(){t.collapseAll(d.users)},expandAll:function(){t.expandAll(d.users),s.all(_.map(d.users,function(e){return e.subusersCount>e._owns.length?v(e).then(function(){return!0}):s.resolve(!1)})).then(function(e){_.some(e)&&n(d.expandAll)})},filters:{},applyFilters:function(){h(!0)},clearFilters:function(){d.filters={},h(!0)},isAnyFilterSelected:function(){return _.some(d.filters,_.identity)},refresh:function(){return h(!0).then(function(){return _.forEach(d.users,A)})},revokeTokens:function(){function e(){return o.current().then(function(e){return t(e)}).then(function(e){return e?r.logoutAndReloadPage():s.resolve()})}var n=g.get("c8yAuthBridgeService").getPreferredLoginOption(),t=function(e){return!(!o.hasExternalOrigin(e)&&"BASIC"===n.type)};i({title:l("Confirm log out all users?"),body:c.getString('You are about to log out all users currently logged with "OAI-Secure" or "Single sign-on redirect". The JWT tokens retrieved by all devices in the current tenant will also be invalidated. Do you want to proceed?'),status:"warning",size:"sm",labels:{ok:l("Confirm")}}).then(function(){return o.revokeTokens()}).then(e).then(function(){return u.success(l("Logged out all users and invalidated tokens."))}).catch(function(e){e&&u.danger(a.getResErrorMessage(e))})}})}e.$inject=["$q","$timeout","c8yUser","c8yUserUtil","c8yUsersUi","c8yRoles","c8yModal","c8yAlert","c8yBase","gettext","gettextCatalog","$injector"],angular.module("c8y.users").component("c8yUserListView",{templateUrl:":::PLUGIN_PATH:::/userListView/userListView.html",controller:e,controllerAs:"vm"})})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
angular.module("c8y.users").component("c8yUserRemovalModal",{templateUrl:":::PLUGIN_PATH:::/userRemovalModal/userRemovalModal.component.html",bindings:{close:"&",dismiss:"&",resolve:"<"},controller:function(){var s=this;_.assign(s,{$onInit:function(){s.user=s.resolve.user,s.hasSubusers=0<s.user.subusersCount,s.subusersAction=s.hasSubusers?"newOwner":null},confirm:function(){var e={};switch(s.subusersAction){case"newOwner":e.newOwner=s.newOwner;break;case"removeOwner":e.newOwner=null;break;case"deleteAll":e.deleteAll=!0}return s.close({$value:e})},canConfirm:function(){return!s.hasSubusers||s.subusersAction&&("newOwner"!==s.subusersAction||s.newOwner)}})},controllerAs:"vm"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread 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 _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}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 e(e,r,t,S){l.$inject=["$q","$routeParams"],d.$inject=["$q","$location","$uibModal","c8yBase","c8yUser","c8yRoles","c8yUserRolesUi","c8yUserInventoryRoles","c8yUserUtil","c8yPermissions","c8yAlert","$injector","passwordStrengthCheckerFactory","gettextCatalog","c8yModal"];var n="c8y-user",o=["ROLE_USER_MANAGEMENT_READ","ROLE_USER_MANAGEMENT_ADMIN","ROLE_USER_MANAGEMENT_CREATE"],C=c(),L=c("/new"),O=c("/:userId"),a={template:"<c8y-user-list-view></c8y-user-list-view>"},i={priority:1e3,icon:n,name:S("Profile / Global roles"),template:'<c8y-user-detail-view user-id="$resolve.userId"></c8y-user-detail-view>',resolve:{userId:["$route",function(e){return e.current.params.userId}]}},u={priority:-1e3,icon:"c8y-atom",name:S("Application access"),template:'<c8y-user-application-access user="$resolve.user"></c8y-user-application-access>',resolve:{user:["$route","c8yUser","c8yBase",function(e,t,n){return t.detail(e.current.params.userId).then(n.getResData).then(function(r){return r.owner?t.detail(r.owner).then(n.getResData).then(function(e){return r._owner=e,r}).catch(function(){return r}):r})}]}},s={data:l};return{initUi:function(){e.addNavigation({parent:{name:S("Accounts"),icon:"c8y-accounts"},name:S("Users"),path:c().replace(/^\//,""),icon:n,priority:5e3,routerLinkExact:!1,showIfPermissions:{anyRole:o}}),r.when(C,a),r.when(L,i),r.when(O,i),r.when(O,u),t.addTitle(O,s)},$get:d};function c(e){return"/users".concat(e||"")}function l(e,r){return e.when({title:r.userId})}function d(a,r,t,i,u,n,e,o,s,c,l,d,g,f,y){var p,g=g();return u.current().then(function(e){p=e.id}),{ROUTE_NEW_USER:L,fullName:function(e){return"".concat(e.firstName||""," ").concat(e.lastName||"")},toggleExpanded:function(e){var t=!e._expanded;(e._expanded=t)||!function r(e){_.forEach(e,function(e){e._expanded=t,r(e._owns)})}(e._owns);return e},createUserFlatTree:s.createUserFlatTree,visibleInList:function(e){return!_.get(e,"owner")||_.get(e,"_owner._expanded")},expandAll:function(e){_.forEach(e,function(e){e._expanded=!0})},collapseAll:function(e){_.forEach(e,function(e){delete e._expanded})},detailLink:h,editUser:function(e){r.path(h(e))},search:s.search,changeUser:function(e,r){var t={changeGlobalRoles:v,copyInventoryRoles:A,enable:E,disable:m,remove:b,delegate:I,removeDelegate:N},n="string"==typeof r?r:_.get(r,"name");return _.get(t,n,a.reject)(e,_.get(r,"data"))},getPasswordStrength:g.getStrengthForColor,getPasswordColor:g.getHexColorForColor,getPasswordIcon:g.getIconForColor,isTfaAvailable:u.isTfaAvailable,gotoList:function(){r.path(C)},userHierarchyActive:s.userHierarchyActive,hasAppManagement:function(e){return c.hasAnyRole(["ROLE_APPLICATION_MANAGEMENT_READ","ROLE_APPLICATION_MANAGEMENT_ADMIN"],e)},isUndeletable:function(e){return p?U(e)||c.hasRole(e,"ROLE_TENANT_ADMIN"):void 0},isCurrent:U,warnAboutUserLogOutIfNeeded:function(e,r){var t=r.rolesChanged,r=r.passwordChanged||t,n="OAUTH2_INTERNAL"===d.get("c8yAuthBridgeService").getPreferredLoginOption().type;return e.id&&(!U(e)||t)&&n&&r?(t=U(e)?S("Updating global roles will force you to log out. Do you want to proceed?"):f.getString('Updating password or global roles will force user "{{userName}}" to log out. Do you want to proceed?',e),y({title:S("Force user to log out"),body:t,status:"warning",size:"sm",labels:{ok:S("Update and log out user")}})):a.resolve()},EXTERNAL_ORIGIN_TEXT:S("You cannot edit the user since it is managed via your authorization server."),EXTERNAL_ORIGIN_TEXT_FOR_USERS_LIST_VIEW:S("You cannot edit global roles for user with external origin, since it is managed via your authorization server."),EXTERNAL_ORIGIN_DYNAMIC_ACCESS_MAPPING_EXCEPTION_TEXT:S("You cannot edit the user since it is managed via your authorization server, but the configuration allows for changing global roles."),LOCAL_USER_TEXT:S("You are about to create a local user which will not be able to log in via single sign-on.")};function h(e){return O.replace(/:userId/,e.id)}function v(e,r){r=_.map(r.roles,"id");return n.global.updateGroups(e,r)}function A(n){return a.all({copy:e.copyFromUserDialog(n),assignedRoles:u.listInventoryRoles(n)}).then(function(e){var r="replace"===e.copy.process,t=e.copy.roles,e=_.keyBy(e.assignedRoles.data.inventoryAssignments,"managedObject");return o.copyUserRoles(t,e,n,r)})}function m(e){return u.disable(e)}function E(e){return u.enable(e)}function b(r){var e=0<r.subusersCount;return t.open({component:"c8yUserRemovalModal",resolve:{user:function(){return r}}}).result.then(function(e){var t;return e.deleteAll?w(r,{deep:!0}).then(function(e){return e.reduce(function(e,r){return e.then(function(){return u.remove(r)})},a.resolve())}):_.isUndefined(e.newOwner)?a.resolve():(t=e.newOwner,w(r,{deep:!1}).then(function(e){return e.reduce(function(e,r){return e.then(function(){return u.save({id:r.id,owner:t})})},a.resolve())}))}).then(function(){return u.remove(r)}).then(function(){return l.success(f.getString('User "{{userName}}" deleted.',r))}).then(function(){return{removeUser:!e,refresh:e}})}function w(e,r){var t,n,o=1<arguments.length&&void 0!==r?r:{};return 0===e.subusersCount?a.resolve([]):(t=[],n=function(e){t.push.apply(t,_toConsumableArray(e));var r=e.statistics.pageSize,r=e.paging.next&&r<=e.length?e.paging.next().then(n):a.resolve(t);return r},u.list({owner:e.id,withSubusersCount:!0,pageSize:i.MAX_PAGESIZE}).then(n).then(function(e){var r;return o.deep?(r=e.map(function(e){return w(e,o)}),a.all([].concat(_toConsumableArray(e),_toConsumableArray(r))).then(_.flattenDeep)):e}))}function I(e){return u.delegateTo(e).then(_.partial(T,e))}function T(e){return l.success(f.getString('You delegated to user "{{userName}}".',e))}function N(e){var r={id:e.id,delegatedBy:null};return u.save(r).then(_.partial(R,e))}function R(e){return l.success(f.getString('You removed delegation from user "{{userName}}".',e))}function U(e){return p&&p===e.id}}}e.$inject=["c8yNavigatorProvider","c8yViewsProvider","c8yTitleProvider","gettext"],angular.module("c8y.users").provider("c8yUsersUi",e)})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){function t(t,i,e){e=e("Connectivity");t.when("/connectivitySettings/actility_lora_provider_settings",{template:"<c8y-actility-connectivity-settings />"}),i.addTitle("connectivitySettings",{data:_.constant({title:e})})}t.$inject=["$routeProvider","c8yTitleProvider","gettext"],angular.module("c8y.actilityConnectivitySettings",[]).config(t)}();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){function t(t,e,n){var i=this;i.tooltipUrlMessage=n("The Actility ThingPark URL may differ depending on the type of the account being used (for example, Community or Enterprise edition). This is an optional field, if nothing is entered here, the default setting is taken from the agent."),_.assign(i,{$onInit:function(){t.isTokenSet().then(function(t){i.areConnectivitySettingsSaved=t})},turnOnEditMode:function(){i.editMode=!0},save:function(){t.save(i.settings).then(function(){e.success(n("Connectivity settings saved."))})}})}t.$inject=["c8yActilitySettingService","c8yAlert","gettext"],angular.module("c8y.actilityConnectivitySettings").component("c8yActilityConnectivitySettings",{templateUrl:":::PLUGIN_PATH:::/actilitySettings.html",controllerAs:"vm",controller:t})}();
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
<div class="row">
|
|
2
|
-
<div class="col-md-8 col-xs-12">
|
|
3
|
-
<div class="card card--fullpage">
|
|
4
|
-
<div class="card-header separator">
|
|
5
|
-
<div class="card-title">
|
|
6
|
-
{{ 'Actility LoRa' | translate }}
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="inner-scroll">
|
|
10
|
-
<div class="card-block">
|
|
11
|
-
<p class="m-b-16" ng-if="vm.areConnectivitySettingsSaved && !vm.editMode" translate>
|
|
12
|
-
Actility ThingPark connectivity settings are already provided.
|
|
13
|
-
<br />
|
|
14
|
-
Click "Update connectivity settings" below to overwrite them.
|
|
15
|
-
</p>
|
|
16
|
-
<p class="m-b-16" ng-if="!vm.areConnectivitySettingsSaved" translate>
|
|
17
|
-
Provide Actility ThingPark connectivity settings.
|
|
18
|
-
</p>
|
|
19
|
-
<div ng-form="vm.actilitySettingsForm">
|
|
20
|
-
<div class="row">
|
|
21
|
-
<div
|
|
22
|
-
class="col-md-12 form-group"
|
|
23
|
-
ng-if="!vm.areConnectivitySettingsSaved || vm.editMode"
|
|
24
|
-
>
|
|
25
|
-
<label for="actilityURL">
|
|
26
|
-
<span translate>Actility ThingPark URL</span>
|
|
27
|
-
<button
|
|
28
|
-
class="btn-help btn-help--sm"
|
|
29
|
-
type="button"
|
|
30
|
-
aria-label="{{ 'Help' | translate }}"
|
|
31
|
-
uib-popover="{{ vm.tooltipUrlMessage | translate }}"
|
|
32
|
-
popover-trigger="'focus'"
|
|
33
|
-
popover-placement="right"
|
|
34
|
-
popover-append-to-body="true"
|
|
35
|
-
></button>
|
|
36
|
-
</label>
|
|
37
|
-
<input
|
|
38
|
-
id="actilityURL"
|
|
39
|
-
class="form-control"
|
|
40
|
-
type="text"
|
|
41
|
-
name="actilityApiBaseUrl"
|
|
42
|
-
ng-model="vm.settings.actilityApiBaseUrl"
|
|
43
|
-
c8y-http-protocol
|
|
44
|
-
placeholder="{{ 'e.g.' | translate }} https://dx-api.thingpark.io"
|
|
45
|
-
/>
|
|
46
|
-
<c8y-error-feedback
|
|
47
|
-
field="vm.actilitySettingsForm.actilityApiBaseUrl"
|
|
48
|
-
></c8y-error-feedback>
|
|
49
|
-
</div>
|
|
50
|
-
<div
|
|
51
|
-
class="col-md-12 form-group"
|
|
52
|
-
ng-if="!vm.areConnectivitySettingsSaved || vm.editMode"
|
|
53
|
-
>
|
|
54
|
-
<label for="profileId" translate>Profile ID</label>
|
|
55
|
-
<input
|
|
56
|
-
class="form-control"
|
|
57
|
-
type="text"
|
|
58
|
-
name="profileId"
|
|
59
|
-
id="profileId"
|
|
60
|
-
ng-model="vm.settings.profileId"
|
|
61
|
-
placeholder="{{ 'e.g.' | translate }} 1234"
|
|
62
|
-
required
|
|
63
|
-
/>
|
|
64
|
-
<c8y-error-feedback field="vm.actilitySettingsForm.profileId"></c8y-error-feedback>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
<div class="row">
|
|
68
|
-
<div
|
|
69
|
-
class="col-md-6 form-group"
|
|
70
|
-
ng-if="!vm.areConnectivitySettingsSaved || vm.editMode"
|
|
71
|
-
>
|
|
72
|
-
<label for="username" translate>Username</label>
|
|
73
|
-
<input
|
|
74
|
-
class="form-control"
|
|
75
|
-
type="text"
|
|
76
|
-
name="username"
|
|
77
|
-
id="username"
|
|
78
|
-
ng-model="vm.settings.username"
|
|
79
|
-
placeholder="{{ 'e.g. joe`LOCALIZE`' | translate }}"
|
|
80
|
-
required
|
|
81
|
-
/>
|
|
82
|
-
<c8y-error-feedback field="vm.actilitySettingsForm.username"></c8y-error-feedback>
|
|
83
|
-
</div>
|
|
84
|
-
<div
|
|
85
|
-
class="col-md-6 form-group"
|
|
86
|
-
ng-if="!vm.areConnectivitySettingsSaved || vm.editMode"
|
|
87
|
-
>
|
|
88
|
-
<label for="password" translate>Password</label>
|
|
89
|
-
<input
|
|
90
|
-
type="password"
|
|
91
|
-
id="password"
|
|
92
|
-
name="password"
|
|
93
|
-
class="form-control"
|
|
94
|
-
ng-model="vm.settings.password"
|
|
95
|
-
c8y-autocomplete="off"
|
|
96
|
-
placeholder="{{ 'e.g. my_password' | translate }}"
|
|
97
|
-
required
|
|
98
|
-
/>
|
|
99
|
-
<c8y-error-feedback field="vm.actilitySettingsForm.password"></c8y-error-feedback>
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
<div class="card-footer separator">
|
|
106
|
-
<button
|
|
107
|
-
class="btn btn-primary"
|
|
108
|
-
type="button"
|
|
109
|
-
title="{{ 'Update connectivity settings' | translate }}"
|
|
110
|
-
ng-if="vm.areConnectivitySettingsSaved && !vm.editMode"
|
|
111
|
-
ng-click="vm.turnOnEditMode()"
|
|
112
|
-
>
|
|
113
|
-
{{ 'Update connectivity settings' | translate }}
|
|
114
|
-
</button>
|
|
115
|
-
<button
|
|
116
|
-
class="btn btn-primary"
|
|
117
|
-
type="button"
|
|
118
|
-
title="{{ 'Save connectivity settings' | translate }}"
|
|
119
|
-
ng-if="!vm.areConnectivitySettingsSaved || vm.editMode"
|
|
120
|
-
ng-click="vm.save()"
|
|
121
|
-
ng-disabled="vm.actilitySettingsForm.$invalid"
|
|
122
|
-
>
|
|
123
|
-
{{ 'Save connectivity settings' | translate }}
|
|
124
|
-
</button>
|
|
125
|
-
</div>
|
|
126
|
-
</div>
|
|
127
|
-
</div>
|
|
128
|
-
</div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){function t(e,t,i){var n=t.url("service/actility/validate");return{save:function(t){return e.post(n,t)},isTokenSet:function(){return i.detailValue({category:"actility",key:"provider.token"}).then(function(t){return!!t})}}}t.$inject=["$http","c8yBase","c8ySettings"],angular.module("c8y.actilityConnectivitySettings").factory("c8yActilitySettingService",t)}();
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Actility connectivity settings",
|
|
3
|
-
"ngModules": [
|
|
4
|
-
"c8y.actilityConnectivitySettings"
|
|
5
|
-
],
|
|
6
|
-
"icon": "plug",
|
|
7
|
-
"category": "Administration",
|
|
8
|
-
"description": "User can define credentials for LPWAN Services",
|
|
9
|
-
"js": [
|
|
10
|
-
"actilityProviderSettings.module.js",
|
|
11
|
-
"actilitySettings.component.js",
|
|
12
|
-
"actilitySettings.service.js"
|
|
13
|
-
]
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ownKeys(e,t){var r,o=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,r)),o}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _defineProperty(t,e,r){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _toPropertyKey(t){t=_toPrimitive(t,"string");return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);r=r.call(t,e||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}!function(){function t(t,e){var r={path:"/device/:deviceId/*",actionBar:!0};t.addUrlAction(_objectSpread(_objectSpread({},r),{},{text:e("Activate Cell ID information"),showIf:["$q","$routeParams","cellIdInformationActivator",function(t,e,r){return t.all({shown:r.shouldShowActivator(),activated:r.isActivatedFor(e.deviceId)}).then(function(t){var e=t.shown,t=t.activated;return e&&!t})}],action:["$routeParams","cellIdInformationActivator",function(t,e){e.activate(t.deviceId)}]})),t.addUrlAction(_objectSpread(_objectSpread({},r),{},{text:e("Deactivate Cell ID information"),showIf:["$q","$routeParams","cellIdInformationActivator",function(t,e,r){return t.all({shown:r.shouldShowActivator(),activated:r.isActivatedFor(e.deviceId)}).then(function(t){var e=t.shown,t=t.activated;return e&&t})}],action:["$routeParams","cellIdInformationActivator",function(t,e){e.deactivate(t.deviceId)}]}))}t.$inject=["c8yActionsProvider","gettext"],angular.module("c8y.cellIdInformationActivator").config(t)}();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";angular.module("c8y.cellIdInformationActivator",[]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return a};var u,a={},t=Object.prototype,s=t.hasOwnProperty,l=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(u){i=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o,i,a,c,e=e&&e.prototype instanceof d?e:d,e=Object.create(e.prototype),n=new k(n||[]);return l(e,"_invoke",{value:(o=t,i=r,a=n,c=h,function(t,e){if(c===y)throw Error("Generator is already running");if(c===g){if("throw"===t)throw e;return{value:u,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===u)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=u,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,v;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}(r,a);if(r){if(r===v)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=y;r=f(o,i,a);if("normal"===r.type){if(c=a.done?g:p,r.arg===v)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(c=g,a.method="throw",a.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var h="suspendedStart",p="suspendedYield",y="executing",g="completed",v={};function d(){}function m(){}function w(){}var e={},b=(i(e,n,function(){return this}),Object.getPrototypeOf),b=b&&b(b(G([]))),_=(b&&b!==t&&s.call(b,n)&&(e=b),w.prototype=d.prototype=Object.create(e));function x(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function S(a,c){var e;l(this,"_invoke",{value:function(r,n){function t(){return new c(function(t,e){!function e(t,r,n,o){var i,t=f(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==_typeof(r)&&s.call(r,"__await")?c.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):c.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function G(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(s.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}throw new TypeError(_typeof(e)+" is not iterable")}return l(_,"constructor",{value:m.prototype=w,configurable:!0}),l(w,"constructor",{value:m,configurable:!0}),m.displayName=i(w,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,i(t,o,"GeneratorFunction")),t.prototype=Object.create(_),t},a.awrap=function(t){return{__await:t}},x(S.prototype),i(S.prototype,r,function(){return this}),a.AsyncIterator=S,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new S(c(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(_),i(_,o,"Generator"),i(_,n,function(){return this}),i(_,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=G,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&s.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,E(o)),n}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:G(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=u),v}},a}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(c){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=c.apply(t,a);function o(t){asyncGeneratorStep(n,e,r,o,i,"next",t)}function i(t){asyncGeneratorStep(n,e,r,o,i,"throw",t)}o(void 0)})}}!function(){function t(n,o,r,i,a,c,u,s){var l={true:{title:s.getString("Activate Cell ID information"),body:s.getString("Activating this feature will result in automatically updating the GPS position of the device when it sends new Cell ID data. Using this feature can result in additional costs."),status:"danger",labels:{ok:s.getString("Activate")}},false:{title:s.getString("Deactivate Cell ID information"),body:s.getString("Are you sure you want to deactivate Cell ID information for this device?"),status:"info",labels:{ok:s.getString("Deactivate")}}};return{shouldShowActivator:function(){return t.apply(this,arguments)},isActivatedFor:function(t){return e.apply(this,arguments)},activate:_.curry(f)(!0),deactivate:_.curry(f)(!1)};function t(){return(t=_asyncToGenerator(_regeneratorRuntime().mark(function t(){var e;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.detailValue({category:"cellid",key:"operation.mode"});case 2:return e=t.sent,t.abrupt("return","manual"===e);case 4:case"end":return t.stop()}},t)}))).apply(this,arguments)}function e(){return(e=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var r;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=_.isString(e),t.t0)return t.t1=a,t.next=5,i.detail(e);t.next=7;break;case 5:t.t2=t.sent,t.t0=t.t1.getResData.call(t.t1,t.t2);case 7:return r=t.t0,t.abrupt("return",!!_.get(r,"c8y_CellIdFeatureActive"));case 9:case"end":return t.stop()}},t)}))).apply(this,arguments)}function f(t,e){return h.apply(this,arguments)}function h(){return(h=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,r){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,function(){return p.apply(this,arguments)}(e);case 3:if(t.sent)return t.next=7,o.post(a.url("service/cellid/devices/".concat(r)),{active:e});t.next=10;break;case 7:n.$broadcast("$routeChangeStart"),n.$broadcast("$routeChangeSuccess"),u.success(e?s.getString("Cell ID information activated"):s.getString("Cell ID information deactivated"));case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(0),console.error(t.t0.data.message);case 15:case"end":return t.stop()}},t,null,[[0,12]])}))).apply(this,arguments)}function p(){return(p=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,c(l[e]);case 3:return t.abrupt("return",t.sent);case 6:return t.prev=6,t.t0=t.catch(0),t.abrupt("return",0);case 9:case"end":return t.stop()}},t,null,[[0,6]])}))).apply(this,arguments)}}t.$inject=["$rootScope","$http","c8ySettings","c8yDevices","c8yBase","c8yModal","c8yAlert","gettextCatalog"],angular.module("c8y.cellIdInformationActivator").factory("cellIdInformationActivator",t)}();
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Cell ID information activator",
|
|
3
|
-
"description": "Enable Cell ID info activation/deactivation action for device",
|
|
4
|
-
"category": "Device",
|
|
5
|
-
"ngModules": [
|
|
6
|
-
"c8y.cellIdInformationActivator"
|
|
7
|
-
],
|
|
8
|
-
"js": [
|
|
9
|
-
"cell-id-information-activator.module.js",
|
|
10
|
-
"cell-id-information-activator.config.js",
|
|
11
|
-
"cell-id-information-activator.service.js"
|
|
12
|
-
]
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return a};var s,a={},t=Object.prototype,u=t.hasOwnProperty,l=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(s){i=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o,i,a,c,e=e&&e.prototype instanceof g?e:g,e=Object.create(e.prototype),n=new I(n||[]);return l(e,"_invoke",{value:(o=t,i=r,a=n,c=h,function(t,e){if(c===p)throw Error("Generator is already running");if(c===d){if("throw"===t)throw e;return{value:s,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===s)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=s,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=s),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}(r,a);if(r){if(r===m)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=d,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=p;r=f(o,i,a);if("normal"===r.type){if(c=a.done?d:y,r.arg===m)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(c=d,a.method="throw",a.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var h="suspendedStart",y="suspendedYield",p="executing",d="completed",m={};function g(){}function v(){}function b(){}var e={},w=(i(e,n,function(){return this}),Object.getPrototypeOf),w=w&&w(w(E([]))),_=(w&&w!==t&&u.call(w,n)&&(e=w),b.prototype=g.prototype=Object.create(e));function S(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function L(a,c){var e;l(this,"_invoke",{value:function(r,n){function t(){return new c(function(t,e){!function e(t,r,n,o){var i,t=f(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==_typeof(r)&&u.call(r,"__await")?c.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):c.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(u.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=s,t.done=!0,t}).next=t}throw new TypeError(_typeof(e)+" is not iterable")}return l(_,"constructor",{value:v.prototype=b,configurable:!0}),l(b,"constructor",{value:v,configurable:!0}),v.displayName=i(b,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,i(t,o,"GeneratorFunction")),t.prototype=Object.create(_),t},a.awrap=function(t){return{__await:t}},S(L.prototype),i(L.prototype,r,function(){return this}),a.AsyncIterator=L,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new L(c(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},S(_),i(_,o,"Generator"),i(_,n,function(){return this}),i(_,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=E,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=s)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=s),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),c=u.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,T(o)),n}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=s),m}},a}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){var r;if(t)return"string"==typeof t?_arrayLikeToArray(t,e):"Map"===(r="Object"===(r=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,e):void 0}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function _asyncToGenerator(c){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=c.apply(t,a);function o(t){asyncGeneratorStep(n,e,r,o,i,"next",t)}function i(t){asyncGeneratorStep(n,e,r,o,i,"throw",t)}o(void 0)})}}!function(){function t(i,o,a,e,r,n,c,s,u){var l=this;function t(){return(t=_asyncToGenerator(_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r.changeTitle({title:u("Cell ID usage statistics")}),t.next=3,f();case 3:case"end":return t.stop()}},t)}))).apply(this,arguments)}function f(){return h.apply(this,arguments)}function h(){return(h=_asyncToGenerator(_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=n=r=e=void 0,e=a.dateFrom,r=a.dateTo,n=moment().startOf("month").toDate(),o=moment().add(1,"day").toDate(),l.dateFrom=c.stringToDate(e)||n,l.dateTo=c.stringToDate(r)||o,t.next=3,function(){return y.apply(this,arguments)}();case 3:l.subtenantList.columns=s.getSubtenantListColumns(),l.subtenantList.csvHeaders=_.map(l.subtenantList.columns,function(t){return _.get(t,"header.csv")||_.get(t,"header.text")||_.get(t,"header")}),l.subtenantList.filteredSortedStatisticsItems=d(),i.$apply();case 7:case"end":return t.stop()}var e,r,n,o},t)}))).apply(this,arguments)}function y(){return(y=_asyncToGenerator(_regeneratorRuntime().mark(function t(){var e,r,n;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=p(),t.next=3,o.all({tenantStatistics:s.getTenantStatisticsFor(e),subtenantsStatistics:s.getSubtenantsStatisticsFor(e)});case 3:e=t.sent,r=e.tenantStatistics,n=e.subtenantsStatistics,l.tenantStatistics=r,l.subtenantList.statisticsItems=n;case 8:case"end":return t.stop()}},t)}))).apply(this,arguments)}function p(){return{dateFrom:c.dateToString(l.dateFrom),dateTo:c.dateToString(l.dateTo)}}function d(t){var t=0<arguments.length&&void 0!==t?t:l.subtenantList.columnsConfig,e=(l.subtenantList.columnsConfig=t,l.subtenantList),r=e.statisticsItems,e=e.columns;return n.filterSort(r,e,t)}_.assign(l,{$onInit:function(){return t.apply(this,arguments)},refresh:f,doFilter:function(){var t=p();t.dateFrom&&t.dateTo&&e.search(t)},clearFilter:function(){e.search({})},tenantStatistics:{tenantId:void 0,apiRequests:0,activeDevices:0},subtenantList:{csvHeaders:[],csvData:function(){return _.map([l.tenantStatistics].concat(_toConsumableArray(l.subtenantList.filteredSortedStatisticsItems)),function(t){return _.at(t,["tenantId","apiRequests","activeDevices"])})},columns:[],columnsConfig:{},onColumnsConfigChanged:function(t){l.subtenantList.filteredSortedStatisticsItems=d(t)},statisticsItems:[],filteredSortedStatisticsItems:[],goToSubtenant:function(t){t=t.tenantId;e.path("/tenants/".concat(t))}}})}t.$inject=["$rootScope","$q","$routeParams","$location","c8yTitle","c8yFilteringSortingCollections","c8yUtil","cellIdUsageStatisticsService","gettext"],angular.module("c8y.cellIdUsageStatistics").component("c8yCellIdUsageStatistics",{templateUrl:":::PLUGIN_PATH:::/cell-id-usage-statistics.html",controllerAs:"vm",controller:t})}();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){function t(t,i,e){function s(i,t){return t.isCellIDMicroserviceAvailable().then(function(t){return t&&i.mustHaveAnyRole(["ROLE_TENANT_STATISTICS_READ"])})}s.$inject=["c8yPermissions","cellIdUsageStatisticsService"],t.addNavigation({parent:e("Tenants"),name:e("Cell ID usage statistics"),path:"cellid-statistics",icon:"cloud-bar-chart",showIf:s}),i.when("/cellid-statistics",{template:"<c8y-cell-id-usage-statistics></c8y-cell-id-usage-statistics>",showIf:s})}t.$inject=["c8yNavigatorProvider","c8yViewsProvider","gettext"],angular.module("c8y.cellIdUsageStatistics").config(t)}();
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
<c8y-ui-action-bar-set>
|
|
2
|
-
<li class="navbar-form" action-bar-position="left">
|
|
3
|
-
<form class="form-inline">
|
|
4
|
-
<label class="p-r-4" translate>Statistic period:</label>
|
|
5
|
-
<div class="form-group datepicker">
|
|
6
|
-
<input
|
|
7
|
-
class="form-control text-center"
|
|
8
|
-
placeholder="{{ 'From`date`' | translate }}"
|
|
9
|
-
ng-model="vm.dateFrom"
|
|
10
|
-
uib-datepicker-popup
|
|
11
|
-
datepicker-options="{ maxDate: vm.dateTo, showWeeks: true }"
|
|
12
|
-
datepicker-append-to-body="true"
|
|
13
|
-
show-button-bar="false"
|
|
14
|
-
is-open="vm.dateFromOpened"
|
|
15
|
-
ng-click="vm.dateFromOpened=true"
|
|
16
|
-
style="width: 120px"
|
|
17
|
-
/>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="form-group datepicker">
|
|
20
|
-
<input
|
|
21
|
-
class="form-control text-center"
|
|
22
|
-
placeholder="{{ 'To`date`' | translate }}"
|
|
23
|
-
ng-model="vm.dateTo"
|
|
24
|
-
uib-datepicker-popup
|
|
25
|
-
datepicker-options="{ minDate: vm.dateFrom, showWeeks: true }"
|
|
26
|
-
datepicker-append-to-body="true"
|
|
27
|
-
show-button-bar="false"
|
|
28
|
-
is-open="vm.dateToOpened"
|
|
29
|
-
ng-click="vm.dateToOpened=true"
|
|
30
|
-
style="width: 120px"
|
|
31
|
-
/>
|
|
32
|
-
</div>
|
|
33
|
-
<button
|
|
34
|
-
type="button"
|
|
35
|
-
class="btn btn-link"
|
|
36
|
-
ng-click="vm.doFilter()"
|
|
37
|
-
title="{{ 'Apply filters' | translate }}"
|
|
38
|
-
>
|
|
39
|
-
<i c8y-icon="filter"></i>
|
|
40
|
-
<span translate>Apply`filters`</span>
|
|
41
|
-
</button>
|
|
42
|
-
<button
|
|
43
|
-
type="button"
|
|
44
|
-
class="btn btn-link"
|
|
45
|
-
ng-if="vm.dateFrom || vm.dateTo"
|
|
46
|
-
ng-click="vm.clearFilter()"
|
|
47
|
-
title="{{ 'Clear filters' | translate }}"
|
|
48
|
-
>
|
|
49
|
-
<i c8y-icon="times"></i>
|
|
50
|
-
<span translate>Clear`filters`</span>
|
|
51
|
-
</button>
|
|
52
|
-
</form>
|
|
53
|
-
</li>
|
|
54
|
-
|
|
55
|
-
<button
|
|
56
|
-
title="{{ 'Export CSV' | translate }}"
|
|
57
|
-
class="btn btn-link"
|
|
58
|
-
c8y-csv-exporter
|
|
59
|
-
c8y-headers="vm.subtenantList.csvHeaders"
|
|
60
|
-
c8y-data="vm.subtenantList.csvData()"
|
|
61
|
-
>
|
|
62
|
-
<i c8y-icon="table"></i>
|
|
63
|
-
<span translate>Export CSV</span>
|
|
64
|
-
</button>
|
|
65
|
-
|
|
66
|
-
<button
|
|
67
|
-
title="{{ 'Reload' | translate }}"
|
|
68
|
-
type="button"
|
|
69
|
-
class="btn btn-link"
|
|
70
|
-
ng-click="vm.refresh()"
|
|
71
|
-
>
|
|
72
|
-
<i c8y-icon="refresh" ng-class="{ 'icon-spin': refreshLoading }"></i>
|
|
73
|
-
<span translate>Reload</span>
|
|
74
|
-
</button>
|
|
75
|
-
</c8y-ui-action-bar-set>
|
|
76
|
-
|
|
77
|
-
<div class="row">
|
|
78
|
-
<div ng-if="vm.tenantStatistics.tenantId !== undefined" class="col-sm-6">
|
|
79
|
-
<div class="card">
|
|
80
|
-
<div class="card-header">{{ vm.tenantStatistics.tenantId }}</div>
|
|
81
|
-
<hr />
|
|
82
|
-
<ul class="list-group">
|
|
83
|
-
<li class="list-group-item">
|
|
84
|
-
{{ vm.tenantStatistics.apiRequests }}
|
|
85
|
-
<span translate>API requests</span>
|
|
86
|
-
</li>
|
|
87
|
-
<li class="list-group-item">
|
|
88
|
-
{{ vm.tenantStatistics.activeDevices }}
|
|
89
|
-
<span translate>active devices</span>
|
|
90
|
-
</li>
|
|
91
|
-
</ul>
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
|
|
95
|
-
<c8y-filtered-sorted-list
|
|
96
|
-
ng-if="vm.subtenantList.filteredSortedStatisticsItems.length > 0"
|
|
97
|
-
class="col-sm-6"
|
|
98
|
-
columns="vm.subtenantList.columns"
|
|
99
|
-
columns-config="vm.subtenantList.columnsConfig"
|
|
100
|
-
on-columns-config-changed="vm.subtenantList.onColumnsConfigChanged(columnsConfig)"
|
|
101
|
-
items="vm.subtenantList.filteredSortedStatisticsItems"
|
|
102
|
-
on-item-click="vm.subtenantList.goToSubtenant(item)"
|
|
103
|
-
></c8y-filtered-sorted-list>
|
|
104
|
-
</div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";angular.module("c8y.cellIdUsageStatistics",[]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return a};var u,a={},t=Object.prototype,s=t.hasOwnProperty,l=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(u){i=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o,i,a,c,e=e&&e.prototype instanceof m?e:m,e=Object.create(e.prototype),n=new T(n||[]);return l(e,"_invoke",{value:(o=t,i=r,a=n,c=h,function(t,e){if(c===y)throw Error("Generator is already running");if(c===g){if("throw"===t)throw e;return{value:u,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===u)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=u,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,v;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}(r,a);if(r){if(r===v)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=y;r=f(o,i,a);if("normal"===r.type){if(c=a.done?g:p,r.arg===v)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(c=g,a.method="throw",a.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var h="suspendedStart",p="suspendedYield",y="executing",g="completed",v={};function m(){}function d(){}function w(){}var e={},_=(i(e,n,function(){return this}),Object.getPrototypeOf),_=_&&_(_(N([]))),b=(_&&_!==t&&s.call(_,n)&&(e=_),w.prototype=m.prototype=Object.create(e));function S(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function E(a,c){var e;l(this,"_invoke",{value:function(r,n){function t(){return new c(function(t,e){!function e(t,r,n,o){var i,t=f(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==_typeof(r)&&s.call(r,"__await")?c.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):c.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function N(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(s.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}throw new TypeError(_typeof(e)+" is not iterable")}return l(b,"constructor",{value:d.prototype=w,configurable:!0}),l(w,"constructor",{value:d,configurable:!0}),d.displayName=i(w,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,i(t,o,"GeneratorFunction")),t.prototype=Object.create(b),t},a.awrap=function(t){return{__await:t}},S(E.prototype),i(E.prototype,r,function(){return this}),a.AsyncIterator=E,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new E(c(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},S(b),i(b,o,"Generator"),i(b,n,function(){return this}),i(b,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=N,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&s.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,L(o)),n}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:N(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=u),v}},a}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(c){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=c.apply(t,a);function o(t){asyncGeneratorStep(n,e,r,o,i,"next",t)}function i(t){asyncGeneratorStep(n,e,r,o,i,"throw",t)}o(void 0)})}}!function(){function t(n,o,t,e){var i=e.TENANT_STATS_SERVICE_ENDPOINT,a=e.SUBTENANTS_STATS_SERVICE_ENDPOINT,r=e.SUBTENANT_STATS_COLUMNS;return{getSubtenantListColumns:function(){return[t.getColumn(r.tenantId),t.getColumn(r.apiRequests),t.getColumn(r.activeDevices)]},getTenantStatisticsFor:function(t){return c.apply(this,arguments)},getSubtenantsStatisticsFor:function(t){return u.apply(this,arguments)},isCellIDMicroserviceAvailable:function(){return l.apply(this,arguments)}};function c(){return(c=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var r;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.t0=o,t.next=4,n.get(o.url(i),{params:o.timeOrderFilter(o.pageSizeNoTotalFilter(e)),silentError:!0});case 4:return t.t1=t.sent,r=t.t0.getResData.call(t.t0,t.t1),t.abrupt("return",s(r));case 9:return t.prev=9,t.t2=t.catch(0),t.abrupt("return",s({}));case 12:case"end":return t.stop()}},t,null,[[0,9]])}))).apply(this,arguments)}function u(){return(u=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var r;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.t0=o,t.next=4,n.get(o.url(a),{params:o.timeOrderFilter(o.pageSizeNoTotalFilter(e)),silentError:!0});case 4:return t.t1=t.sent,r=t.t0.getResData.call(t.t0,t.t1),t.abrupt("return",_.map(r,s));case 9:return t.prev=9,t.t2=t.catch(0),t.abrupt("return",[]);case 12:case"end":return t.stop()}},t,null,[[0,9]])}))).apply(this,arguments)}function s(t){return{tenantId:_.get(t,"tenant"),apiRequests:_.get(t,"statistics.apiRequests",0),activeDevices:_.get(t,"statistics.activeDevices",0)}}function l(){return(l=_asyncToGenerator(_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n.get(o.url(i),{params:{dateFrom:moment().format(o.dateFormat)},silentError:!0});case 3:return t.abrupt("return",!0);case 6:return t.prev=6,t.t0=t.catch(0),t.abrupt("return",!1);case 9:case"end":return t.stop()}},t,null,[[0,6]])}))).apply(this,arguments)}}t.$inject=["$http","c8yBase","c8yFilteringSortingCollections","cellIdUsageStatisticsConstants"],angular.module("c8y.cellIdUsageStatistics").factory("cellIdUsageStatisticsService",t)}();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){var e=_.identity;angular.module("c8y.cellIdUsageStatistics").constant("cellIdUsageStatisticsConstants",{TENANT_STATS_SERVICE_ENDPOINT:"service/cellid/statistics/summary",SUBTENANTS_STATS_SERVICE_ENDPOINT:"service/cellid/statistics/allTenantsSummary",SUBTENANT_STATS_COLUMNS:{tenantId:{name:"tenantId",header:e("ID"),cell:{template:"{{item.tenantId}}"},filteringByPattern:{itemProperty:"tenantId"},sortingByPath:{itemProperty:"tenantId"}},apiRequests:{name:"apiRequests",header:e("API requests"),cell:{template:"{{item.apiRequests}}"},filteringByMinMax:{itemProperty:"apiRequests"},sortingByPath:{itemProperty:"apiRequests"}},activeDevices:{name:"activeDevices",header:e("Active devices"),cell:{template:"{{item.activeDevices}}"},filteringByMinMax:{itemProperty:"activeDevices"},sortingByPath:{itemProperty:"activeDevices"}}}})}();
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Cell ID usage statistics",
|
|
3
|
-
"description": "Displays Cell ID usage statistics for own and subtenants",
|
|
4
|
-
"category": "Administration",
|
|
5
|
-
"ngModules": [
|
|
6
|
-
"c8y.cellIdUsageStatistics"
|
|
7
|
-
],
|
|
8
|
-
"js": [
|
|
9
|
-
"cell-id-usage-statistics.module.js",
|
|
10
|
-
"constants.js",
|
|
11
|
-
"cell-id-usage-statistics.config.js",
|
|
12
|
-
"cell-id-usage-statistics.service.js",
|
|
13
|
-
"cell-id-usage-statistics.component.js"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){function e(n,r,i,t,o){var u="c8y_ConfigurationDump";return{getEmpty:function(){return{name:"",description:"",url:"",type:u}},list:function(e){e=function(e){return _.assign({type:u},e||{})}(e);return r.list(e)},listQuery:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length?arguments[1]:void 0;return e.type=u,r.listQuery(e,t,!0)},save:function(e){return e.type=u,n.when(e).then(_.partialRight(r.addGlobalFlag,!0)).then(l).then(c).then(r.save).then(function(){t.success(o("Configuration snapshot saved."))})},remove:function(e){return r.remove(e)}};function l(e){var t=i.getIdFromUrl(e.selectedFile.url);return(t?i.setGlobalFlag(t,!0):n.when()).then(_.constant(e))}function c(e){return e.selectedFile.url&&(e.url=e.selectedFile.url,delete e.selectedFile),n.when(e)}}e.$inject=["$q","c8yInventory","c8yBinary","c8yAlert","gettext"],angular.module("c8y.configurationRepository").factory("configurationRepositorySvc",e)}();
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Configuration repository",
|
|
3
|
-
"ngModules": [
|
|
4
|
-
"c8y.configurationRepository"
|
|
5
|
-
],
|
|
6
|
-
"category": "Device",
|
|
7
|
-
"description": "Managing device configuration repository.",
|
|
8
|
-
"js": [
|
|
9
|
-
"index.js",
|
|
10
|
-
"list.controller.js",
|
|
11
|
-
"configurationRepository.service.js"
|
|
12
|
-
]
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";angular.module("c8y.configurationRepository",[]).config(["c8yViewsProvider",function(i){i.when("/configuration-legacy",{templateUrl:":::PLUGIN_PATH:::/views/list.html"})}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){function n(t,e,n,i,o,a,r,u,s,c,g){var f=this,l=[],d="#add-configuration-snapshot-btn";function p(n){n=n.then(function(n){return{title:c("Configuration snapshots repository"),subtitle:!_.isUndefined(n)&&0<n?g.getPlural(n,"1 snapshot","{{$count}} snapshots",{}):""}});r.changeTitle(n)}function h(n){t.configurations&&!t.refreshLoading||(t.configurations=[]),t.paging=n.paging,n.forEach(function(n){t.configurations.push(n),n.id===i.id&&l.push(n)}),p(e.when(n.length))}function y(){t.refreshLoading=!0,t.paging.refresh().then(h).finally(function(){t.refreshLoading=!1})}function C(n){return l.indexOf(n)}function m(n){return-1<C(n)}function v(){$(d).attr("aria-expanded","false"),f.dropdownOpen=!1,f.newCfg=null}t.onToggle=function(n){n&&(f.newCfgForm.$setPristine(),f.newCfgForm.$setUntouched())},t.loadNext=function(){t.paging.loading=!0,t.paging.next().then(h).finally(function(){t.paging.loading=!1})},t.refresh=y,t.toggle=function(n){m(n)?l.splice(C(n),1):l.push(n)},t.isOpen=m,t.onClickDelete=function(n){u({title:c("Delete configuration"),body:g.getString('You are about to delete the configuration "{{name}}". Do you want to proceed?',n),status:"danger",labels:{ok:c("Delete")},size:"sm"}).then(angular.bind(s,s.remove,n)).then(angular.bind(a,a.removeFromList,t.configurations,n)).then(function(){o.success(c("Configuration deleted.")),p(e.when(t.configurations.length))})},t.save=function(n){s.save(n).then(angular.bind({},y)).finally(v)},t.add=function(){f.newCfg=s.getEmpty(),f.newCfg.deviceType=i.type},t.cancelAdd=v,t.invalid=angular.bind(a,a.invalid,t),t.getConfigurationsCopy=function(n){return _.cloneDeep(n)},t.status={isOpen:!1},s.list(void 0).then(h),i.add&&n(function(){$(d).click()})}n.$inject=["$scope","$q","$timeout","$routeParams","c8yAlert","c8yBase","c8yTitle","c8yModal","configurationRepositorySvc","gettext","gettextCatalog"],angular.module("c8y.configurationRepository").controller("configurationRepositoryListCtrl",n)}();
|