@c8y/ng1-modules 1018.347.0 → 1018.349.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICES +2 -36
- package/aclManagement/controllers/permissionEditorCtrl.js +1 -1
- package/actilityProviderSettings/actilityProviderSettings.module.js +1 -1
- package/administration-alarmMapping/controllers/alarmMapping.js +1 -1
- package/administration-applicationSettings/controllers/applicationSettings.js +1 -1
- package/administration-applications/appWizard/appWizardExternalStep.component.js +1 -1
- package/administration-applications/appWizard/appWizardSmartAppStep.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-list-view/application-list-view.component.js +1 -1
- package/administration-applications/controllers/applicationAccessEditor.js +1 -1
- package/administration-archivesEditor/list.controller.js +1 -1
- package/administration-auditLogs/filter.directive.js +1 -1
- package/administration-deviceUsers/controllers/deviceUserDetail.js +1 -1
- package/administration-homeAdministration/home-administration.component.js +1 -1
- package/administration-statistics/controllers/statistics.js +1 -1
- package/administration-storageLimitEmail/controllers/storageLimitCtrl.js +1 -1
- package/alarms/widget-config.controller.js +1 -1
- package/alarms/widget.controller.js +1 -1
- package/alarmsEventsExplorer/alarmsEventsTimelinesChart/alarmsEventsTimelinesChart.component.js +1 -1
- package/alarmsEventsExplorer/alarmsEventsTimelinesChart/alarmsEventsTimelinesChart.service.js +1 -1
- package/alarmsEventsExplorer/alarmsEventsTimelinesConfig/alarmsEventsTimelinesConfigModal.controller.js +1 -1
- package/app-logs/app-instance-logs/app-instance-logs.component.js +1 -1
- package/app-logs/app-logs/app-logs.component.js +1 -1
- package/app-logs/app-logs.service.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/applicationLinks/applications.controller.js +1 -1
- package/asset-notes/assetNotes.service.js +1 -1
- package/assetPropertyWidget/main.controller.js +1 -1
- package/assetTable/assetTable2/assets.controller.js +1 -1
- package/assetTable/assetTable2/assets.service.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/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/index.js +1 -1
- package/cell-id-information-activator/cell-id-information-activator.config.js +1 -1
- package/cell-id-information-activator/cell-id-information-activator.service.js +1 -1
- package/cell-id-usage-statistics/cell-id-usage-statistics.component.js +1 -1
- package/cell-id-usage-statistics/cell-id-usage-statistics.service.js +1 -1
- package/cockpit-assetCount/services/assetCount.js +1 -1
- package/cockpit-cockpitConfig/services/navigator.js +1 -1
- package/cockpit-reports/reports.service.js +1 -1
- package/cockpit-smartRulesUI/index.js +1 -1
- package/commandTemplates/controllers/commandTemplates.js +1 -1
- package/configurationRepository/configurationRepository.service.js +1 -1
- package/configurationRepository/list.controller.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/sms.component.js +1 -1
- package/connectivityV2/status.component.js +1 -1
- package/core/angularStart.js +1 -1
- package/core/bootstrap.js +1 -1
- package/core/core/index.js +1 -1
- package/core/core/locales.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/combain.js +1 -1
- package/core/core/services/connectivity.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/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/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/index.js +1 -1
- package/core/sdk/directives/repeat.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/passwordStrengthChecklist.js +1 -1
- package/core/ui/components/signalStrength/signal.js +1 -1
- package/core/ui/components/timelinesChart.js +1 -1
- package/core/ui/configurable-device-list-columns/configurable-columns.service.js +1 -1
- package/core/ui/configurable-device-list-columns/modal-columns-configure.component.js +1 -1
- package/core/ui/configurable-device-list-columns/unique-by.directive.js +1 -1
- package/core/ui/containers/header.component.js +1 -1
- package/core/ui/containers/wizard.component.js +1 -1
- package/core/ui/containers/wizardSlide.jquery.js +1 -1
- package/core/ui/controllers/deviceList.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/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/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/autocomplete.js +1 -1
- package/core/ui/directives/binaryInput.js +1 -1
- package/core/ui/directives/binaryOut.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/filePicker.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/linearGauge.js +1 -1
- package/core/ui/directives/loadMore.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/phoneNumber.js +1 -1
- package/core/ui/directives/pieChart.js +1 -1
- package/core/ui/directives/rdbDump.js +1 -1
- package/core/ui/directives/realtimeButton.js +1 -1
- package/core/ui/directives/renderer.js +1 -1
- package/core/ui/directives/scrollLoad.js +1 -1
- package/core/ui/directives/silo.js +1 -1
- package/core/ui/directives/sunburstChart.js +1 -1
- package/core/ui/directives/textOut.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/filteringSortingCollections.service.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/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/forms/checkDirty.directive.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/uib-dropdown-dropup.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/header/action-bar.service.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/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/navigation/breadcrumbs.component.js +1 -1
- package/core/ui/navigation/breadcrumbs.provider.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/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/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/propertiesLibrary.service.js +1 -1
- package/core/ui/properties/propertySelector.controller.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/httpCache.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/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/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/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.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/services/contextDetailsShared.service.js +1 -1
- package/core/ui/services/deviceListColumns.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/uiconfig.js +1 -1
- package/core/ui/services/util.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/user/editUser.controller.js +1 -1
- package/core/ui/user/editUser.directive.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/utils/copyToClipboard.directive.js +1 -1
- package/core/ui/utils/guide-docs.directive.js +1 -1
- package/core/ui/utils/uiComponent.directive.js +1 -1
- 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/dataBroker/connectors/connectorEditor.component.js +1 -1
- package/dataBroker/connectors/connectors.service.js +1 -1
- package/dataBroker/connectorsAlarms/connectorAlarms.component.js +1 -1
- package/dataBroker/dataBroker.config.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/dataPointValidator.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/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-canbus/canbus-device.provider.js +1 -1
- package/device-protocol-canopen/canopen-device.provider.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-impact/impact-detail.component.js +1 -1
- package/device-protocol-impact/impact.provider.js +1 -1
- package/device-protocol-lora/lora-device.provider.js +1 -1
- package/device-protocol-lpwan/lpwan-device.provider.js +1 -1
- package/device-protocol-lwm2m/lwm2m.provider.js +1 -1
- package/device-protocol-lwm2m/lwm2mFinalStep.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-modbus/modbus-device.provider.js +1 -1
- package/device-protocol-opcua/opcua-device.provider.js +1 -1
- package/device-protocol-opcua-v2/opcua-device-v2.provider.js +1 -1
- package/device-protocol-opcua-v2/opcua-v2-row-info.component.js +1 -1
- package/device-protocol-profibus/profibus-device.provider.js +1 -1
- package/device-protocol-sigfox/sigfox-device.provider.js +1 -1
- package/device-protocol-snmp/snmp-device.provider.js +1 -1
- package/device-protocols/device-protocol-import-button.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/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/deviceConfiguration/index.js +1 -1
- package/deviceControlMessage/controllers/deviceControlMessageWidget.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/relayArrayControl/relayArrayControl.controller.js +1 -1
- package/deviceControlRelayArray/widget.controller.js +1 -1
- package/deviceDatabase4/detail/device-type-detail.component.js +1 -1
- package/deviceDatabase4/detail/holding-registers.component.js +1 -1
- package/deviceDatabase4/detail/message-id-configuration-description.component.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/property-generator.service.js +1 -1
- package/deviceDatabase4/unique.directive.js +1 -1
- package/deviceDatabase4/validate-value-in-register-range.directive.js +1 -1
- package/deviceDatabase4/vendor/ini-legacy.js +1 -1
- package/deviceDetail/index.js +1 -1
- package/deviceDetailIdentity/controllers/identity.js +1 -1
- package/deviceDetailIdentity/index.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/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/deviceSelectorCombo.js +1 -1
- package/deviceSelector/directives/deviceSelectorList.js +1 -1
- package/deviceStatusWidget/ownerStatus.component.js +1 -1
- package/deviceStatusWidget/requiredAvailabilityIntervalSetting.component.js +1 -1
- package/devicemanagement-aclManagement/controllers/aclManagementCtrl.js +1 -1
- package/devicemanagement-aclManagement/index.js +1 -1
- package/devicemanagement-alarmList/controllers/alarmList.js +1 -1
- package/devicemanagement-availability/controllers/availability.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-location/controllers/location.js +1 -1
- package/devicemanagement-location/index.js +1 -1
- package/devicemanagement-logViewer/controllers/logViewer.js +1 -1
- package/devicemanagement-logViewer/directives/logViewer.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/devicemanagement-tracking/controllers/config.js +1 -1
- package/devicemanagement-tracking/controllers/tracking.js +1 -1
- package/devicemanagement-tracking/index.js +1 -1
- package/devicemanagement-vendMeDeviceControl/controllers/vendMeDeviceControl.js +1 -1
- package/devicemanagement-vendMeDeviceControl/index.js +1 -1
- package/enterpriseEdition/createFile.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/enterpriseEdition.module.js +1 -1
- package/enterpriseEdition/sslCertificate/certificateActivation.component.js +1 -1
- package/enterpriseEdition/sslCertificate/manageCertificate.component.js +1 -1
- package/enterpriseEdition/sslCertificate/manageCertificate.service.js +1 -1
- package/enterpriseEdition/ui-assets/public-options.service.js +1 -1
- package/enterpriseEdition/ui-assets/static-assets.service.js +1 -1
- package/eventList/eventList.controller.js +1 -1
- package/eventsBinary/components/eventBinaryActions/eventBinaryActions.js +1 -1
- package/eventsBinary/services/eventsBinary.service.js +1 -1
- package/export/controllers/detail.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/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/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/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/htmlWidget/htmlWidget.controller.js +1 -1
- package/htmlWidget/htmlWidget.directive.js +1 -1
- package/infoGauge/infoGauge.controller.js +1 -1
- package/infoGauge/infoGaugeConfig.controller.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/pieChart.js +1 -1
- package/kpi/controllers/pieChartConfig.js +1 -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/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/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.service.js +1 -1
- package/measurements/measurements2/hoverInfo.service.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/modbusWidget4/modbus-widget.service.js +1 -1
- package/modbusWidget4/widget-config.component.js +1 -1
- package/modbusWidget4/widget.component.js +1 -1
- package/modbusWidgets/controllers/widget.js +1 -1
- package/modbusWidgets/controllers/widgetConfig.js +1 -1
- package/modbusWidgets/services/modbusWidget.js +1 -1
- package/newsletter/downloadEmailsList.component.js +1 -1
- package/oauth/controllers/oauth.js +1 -1
- package/package.json +2 -2
- package/platformConfiguration/platformConfigurationForm.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/services/qrCodePrinter.js +1 -1
- package/qrCode/services/qrCodeTemplate.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.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/roleInventoryPermissionList.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/mapping.directive.js +1 -1
- package/scada/svg.directive.js +1 -1
- package/scada/util.service.js +1 -1
- package/scada/widget.controller.js +1 -1
- package/sigfox-provider-settings/sigfox-settings.service.js +1 -1
- package/simulators/add/simulatorAdd.component.js +1 -1
- package/simulators/detail/detail.controller.js +1 -1
- package/simulators/detail/instructionDetail.component.js +1 -1
- package/simulators/detail/instructionList.component.js +1 -1
- package/simulators/list/list.component.js +1 -1
- package/simulators/simulators.service.js +1 -1
- package/smartRestEditor/details.controller.js +1 -1
- package/smartRestEditor/importTemplate/importTemplate.component.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/smartRestEditorUI/index.js +1 -1
- package/smartRules/controllers/add.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/smartRuleParamInput.js +1 -1
- package/smartRules/directives/smartRuleParamInputAlarmType.js +1 -1
- package/smartRules/directives/smartRuleParamInputEscalationSteps.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/smartRuleParamInputTimeInterval.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/switchDisplay/controller/switchDisplayCtrl.js +1 -1
- package/tenantApplications/controllers/main.js +1 -1
- package/tenantApplications/subscribed-applications/subscribed-applications.component.js +1 -1
- package/tenantLicenses/licenseManagement.component.js +1 -1
- package/tenantPolicies/retentionRule/retentionRuleRow.component.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/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/trackerConfiguration/controllers/trackerConfiguration.controller.js +1 -1
- package/trackerConfiguration/index.js +1 -1
- package/trackerConfiguration/services/realtimeLockup.service.js +1 -1
- package/trackerConfiguration/services/trackerLocation.service.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/trackerRegistrationHistory.service.js +1 -1
- package/trackingAppConfig/index.js +1 -1
- package/trafficLightWidget/states-mapping.component.js +1 -1
- package/trafficLightWidget/traffic-light.component.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/userDetailView/userApplicationAccess.component.js +1 -1
- package/users/userDetailView/userDetailView.component.js +1 -1
- package/users/userListView/userListView.component.js +1 -1
- package/users/usersUi.provider.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";angular.module("c8y.ui").provider("c8yBeta",function(){var
|
|
1
|
+
"use strict";angular.module("c8y.ui").provider("c8yBeta",function(){var e="c8y_beta_status",o=!1,a=[];function t(t){return o||-1<a.indexOf(t.toLowerCase())}_.assign(this,{init:function(t){return"none"===(t="".concat(t||localStorage.getItem(e)||"none").toLowerCase())?(o=!1,localStorage.removeItem(e),a=[]):"all"===t?(o=!0,localStorage.setItem(e,t),a=[],console.warn("c8y beta mode activated for all beta features.")):(o=!1,localStorage.setItem(e,t),a=t.split(","),console.warn("c8y beta mode activated for:",a)),window.betaStatus=function(){return console.log(o?"All beta mode":a)},o},$get:function(){return{isActivatedFor:t}},isActivatedFor:t})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_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 _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){if(r)
|
|
1
|
+
"use strict";function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_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 _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){var t;if(r)return"string"==typeof r?_arrayLikeToArray(r,e):"Map"===(t="Object"===(t=Object.prototype.toString.call(r).slice(8,-1))&&r.constructor?r.constructor.name:t)||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0}function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function _iterableToArrayLimit(r,e){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var n,a,o,i,u=[],l=!0,c=!1;try{if(o=(t=t.call(r)).next,0===e){if(Object(t)!==t)return;l=!1}else for(;!(l=(n=o.call(t)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(r){c=!0,a=r}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}function _arrayWithHoles(r){if(Array.isArray(r))return r}angular.module("c8y.ui").provider("httpCache",function(){function r(r,y,f){function a(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];if(_.includes(p,e[0].method)){var n=e,a=function(r,e){var t=r;0<e.length&&(t+=(-1===r.indexOf("?")?"?":"&")+e);return t}((a=_slicedToArray(n,1)[0]).url,f(a))+function(r){if(r.headers)return r.headers.Accept||"";return""}(a);if(void 0!==window.Rx){var o=d;var i=a;var u=n;void 0===b[i]&&(b[i]=window.Rx.Subject.defer(function(){return o.apply(this,u)}).publishReplay(1,s).refCount().take(1));var l=y(function(r,e){b[i].toPromise().then(r,e)});return _.extend(b[i],l);return}if(void 0===b[a]){b[a]=d.apply(void 0,_toConsumableArray(n));{var c=a;setTimeout(function(){delete b[c]},s)}}return b[a].then(function(r){return _.cloneDeep(r)})}return _.includes(h,e[0].method)&&(b={}),d.apply(d,e)}var s=500,d=r,r=["post","put"],e=["get","delete","head"],t=r.concat(e),p=["GET","HEAD"],h=["POST","PUT","DELETE"],b={};return r.forEach(function(n){a[n]=function(r,e,t){r={url:r,data:e,method:n.toUpperCase()};return _.assign(r,t),a(r)}}),e.forEach(function(t){a[t]=function(r,e){r={url:r,method:t.toUpperCase()};return _.assign(r,e),a(r)}}),_.assign(a,_.omit(d,t)),a}r.$inject=["$delegate","$q","$httpParamSerializer"],this.$get=r});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _typeof(i){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}angular.module("c8y.ui").provider("c8yNavigator",function(){var
|
|
1
|
+
"use strict";function _typeof(i){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}angular.module("c8y.ui").provider("c8yNavigator",function(){var r,s,c,a=[],h=0;function l(i){var n,e;if(i.preventDuplicates&&!!_.find(a,{path:i.path,_parent:i.parent,name:i.name}))return;function t(i,t){return i.all({showIf:!e||t.invoke(e),showIfContainsVisibleViews:t.invoke(o,null,{nav:n})}).then(function(i){return i.showIf&&i.showIfContainsVisibleViews})}i.showIfContainsVisibleViews&&(i.showIf=(n=i,t.$inject=["$q","$injector"],e=n.showIf,t));i=new m(i);return a.push(i),i}function o(i,t,n,e){t=t.getByPath(e.path);return i.all(_.map(t,function(i){return n.configureVisibility(_.cloneDeep(i),"show",!1).then(_.property("show"))})).then(function(i){return _.some(i)})}function u(i,t){i=p(i),i=a.indexOf(i);-1<i&&(a.splice(i,1),t||y())}function f(){return _.find(a,"active")}function p(i){if(i){d||y();var t=_.isString(i),n=_.isFunction(i),e=i,r={},t=t?"name":"hash";if(_.isObjectLike(i)){if(i instanceof m)return i;e=g(e)}if(n)r=e;else{if(!t||!e)return;r[t]=e}return _.find(a,r)}}var d=!(o.$inject=["$q","c8yViews","c8yUiUtil","nav"]);function v(){y();var i=_.filter(a,function(i){return!i.parent()});return i=1===i.length&&i[0].ignoreIfSingle?[]:i}function y(){d=!0,_.invokeMap(a,"_clearChildren"),_.invokeMap(a,"addToParent"),_.invokeMap(a,"updatePriority")}function g(i){return JSON.stringify(i).split("").reduce(function(i,t){i=(i<<5)-i+t.charCodeAt(0);return i&i},0)}function m(i){return this._listenersMap={},this._parent=i.parent,this.hash=g(i),this._children=[],this.priority=i.priority||0,delete i.priority,delete i.parent,_.assign(this,i),this.configureVisibility(),this}return m.prototype={_listenersList:function(i){var t=this._listenersMap;return t[i]=t[i]||[],t[i]},hasListeners:function(i){return _.get(this._listenersMap,"".concat(i,".length"))},update:function(i){this._parent=_.isUndefined(i.parent)?this._parent:i.parent,delete i.parent,_.assign(this,i)},on:function(i,t){return this._listenersList(i).push(t),this},off:function(i,t){i=this._listenersList(i),t=i.indexOf(t);-1<t&&i.splice(t,1)},trigger:function(i){var i=this._listenersList(i),t=this;_.forEach(i,function(i){i(t)})},children:function(){var t=this;return _.isEmpty(t._children)||(t._children=_.sortBy(t._children,function(i){return t.sortAlphabetically&&!i.ignoreAlphabeticalOrder?(i.name||"").toLowerCase():-i.priority})),t._children},parent:function(){return this._parent&&p(this._parent)},addChild:function(i){i instanceof m||(i=l(i)),0===this._children.length&&void 0===this.closed&&(this.closed=!0),-1===this._children.indexOf(i)&&(this._children.push(i),i._parent=this),i.active&&1===h&&this.expand()},removeChild:function(i){i=p(i),i=this._children.indexOf(i);this._children.splice(i,1)},removeAllChildren:function(){_.forEach(this._children,function(i){i.removeAllChildren(),u(i,!0)}),this._clearChildren()},_clearChildren:function(){this._children.length=0},addToParent:function(){var i,t=this._parent;t&&(t instanceof m?i=t:"object"===_typeof(t)?(i=(i=p(t.name))||l(t),t.icon&&!i.icon&&(i.icon=t.icon),t.iconOpen&&!i.iconOpen&&(i.iconOpen=t.iconOpen)):i=(i=p(t))||l({name:t}),i?i.addChild(this):console.warn(i,"c8yNavigator: parent not found"))},removeFromParent:function(){var i=this._parent&&p(this._parent);i&&i.removeChild(this)},updatePriority:function(){var i;this._children.length&&(i="priority",this.priority=_(this._children).filter(i).map(i).max()||0)},url:function(i){var t="";return this.searchParams&&(t=_.reduce(this.searchParams,function(i,t,n){return 1<i.length&&(i+="&"),i+=encodeURI("".concat(n,"=").concat(t))},"?")),!_.isUndefined(this.path)&&"".concat(i?"":"#","/").concat(this.path).concat(t)},expandCollapse:function(){this[!this.closed?"collapse":"expand"]()},expand:function(){this.closed&&(_.get(this._parent,"expand")&&this._parent.expand(),this.closed=!1,this.trigger("expand"))},collapse:function(){this.closed||(this.closed=!0,this.trigger("collapse"))},activate:function(){var i=f();if(i!==this)return i&&(i.active=!1),this.active=!0,this.trigger("active"),_.get(this._parent,"expand")&&this._parent.expand(),!0},matchToPath:function(i){var t=this.url(!0),n=0;return n=t&&(t=new RegExp("^".concat(t.replace(/\//,"\\/").replace("?","\\?"))).exec(i))?t[0].length:n},configureVisibility:function(){var i=this;this.visibilityConfigured||r&&s&&!this.visibilityConfiguredPromise&&(this.visibilityConfiguredPromise=r.whenAuthorized().then(function(){return s.configureVisibility(i)}).then(function(){i.visibilityConfigured=!0}))}},Object.defineProperty(m.prototype,"icon",{get:function(){var i=this.iconOpen||this.__icon;return this.closed?this.__icon:i},set:function(i){this.__icon=i}}),{addNavigation:l,$get:["$rootScope","$location","c8yAuth","c8yUiUtil",function(i,o,t,n){r=t,s=n,c=i;var e=_.debounce(function(){var n,i,t,e,r=o.absUrl().split("#").pop();return n=r,(r=_(a).map(function(i,t){return{ix:t,score:i.matchToPath(n),lastClick:i.__lastClick}}).filter("score").value()).length&&(e=!1,1===(i=_.maxBy(r,"score")).score&&1<n.length?(t=f())&&(e=!(t.active=!1)):e=!!(i=1<r.length&&1<(t=_.filter(r,{score:i.score})).length?_.maxBy(t,"lastClick"):i)&&a[i.ix].activate(),e)&&c&&c.$applyAsync(),h++,!0},500,{trailing:!0,leading:!0});return i.$on("$locationChangeSuccess",e),_.invokeMap(a,"configureVisibility"),{rootNodes:v,findNode:p,addNavigation:function(i){var t=_.isArray(i),i=(t||(i=[i]),_.map(i,l));return y(),e(),t?i:i[0]},removeNavigation:function(i){u(i),e()}}}]}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";angular.module("c8y.ui").provider("c8yObjectActions",function(){var
|
|
1
|
+
"use strict";angular.module("c8y.ui").provider("c8yObjectActions",function(){var o,i,r={},c={};function e(n,t,e){if(r[n])throw new Error('Object action "'.concat(n,'" already registered'));r[n]={config:e,action:t}}function a(n,t){if(t){var e=c[t];if(!e)throw new Error('Object action "'.concat(t,'" is not registered.'));f(n,t,e)}else i=n,o&&_.forEach(r,function(t,e){var n=t.config||{},r=n.attachIf&&function(){return o.invoke(n.attachIf,void 0,{target:i})};r?(r=r(i))&&(r.then?r.then(function(n){n&&f(i,e,t)}):f(i,e,t)):f(i,e,t)});var i}function u(){var n=_.map(r,function(n,t){n=_.cloneDeep(n);return n.name=t,n});return i.when(n)}function f(n,t,e){var r;o&&(e=e.action,r=o.invoke(e,void 0,{object:n}),Object.defineProperty(n,t,{enumerable:!1,value:function(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];return i.when(r.apply(this,t))}}))}return{register:e,$get:["$injector","$q",function(n,t){return o=n,i=t,{register:e,attach:a,list:u}}]}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";angular.module("c8y.ui").provider("c8yRenderers",function(){var
|
|
1
|
+
"use strict";angular.module("c8y.ui").provider("c8yRenderers",function(){var t={};function n(n,r){if(t[n])throw new Error('Renderer "'.concat(n,'" already registered'));r.name=n,t[n]={config:r}}return{register:n,$get:["c8yModal",function(o){return{register:n,get:function(n,r){var e,n=t[n];return n?e=n.config:r&&(n=_.map(t,"config"),e=_.find(n,function(n){n=n.isDefaultFor;return"function"==typeof n&&n(r)})),e=e&&_.clone(e)},list:function(){return _.union([{name:void 0,humanName:"Default"}],_.map(t,function(n){n=_.clone(n.config);return n.hasConfig=!!n.configTemplateUrl,n}))},config:function(n){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=t[n];if(!e)throw new Error('Renderer "'.concat(n,'" not registered'));if(e.config.configTemplateUrl)return o({templateUrl:e.config.configTemplateUrl,controller:e.config.configController,resolve:{config:function(){return r}},size:"lg"});throw new Error('Renderer "'.concat(n,'" is not configurable'))},hasConfig:function(n){n=t[n];return n&&!!n.config.configTemplateUrl}}}]}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";angular.module("c8y.ui").provider("c8ySearch",function(){var
|
|
1
|
+
"use strict";angular.module("c8y.ui").provider("c8ySearch",function(){var a=[],c=/\{\{search\}\}/;function n(){return a}return{add:function(n){a.push(n),a.sort(function(n,r){n=n.priority||0;return(r.priority||0)-n})},$get:["$location","$route","c8yAlert",function(i,o,e){return{list:n,search:function(n){var r,t;n&&((r=(r=(t=a[1<arguments.length&&void 0!==arguments[1]?arguments[1]:0]).invalidSearchTermWarningFn)&&r(n))?e.warning(r):(r=(n=_.isFunction(t.path)?t.path(n):(r=t.path,t=n,r.replace(c,window.encodeURIComponent(t))))===window.location.hash.substr(1),i.url(n),r&&o.reload()))}}}]}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _slicedToArray(r,t){return _arrayWithHoles(r)||_iterableToArrayLimit(r,t)||_unsupportedIterableToArray(r,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,t){if(r)
|
|
1
|
+
"use strict";function _slicedToArray(r,t){return _arrayWithHoles(r)||_iterableToArrayLimit(r,t)||_unsupportedIterableToArray(r,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,t){var e;if(r)return"string"==typeof r?_arrayLikeToArray(r,t):"Map"===(e="Object"===(e=Object.prototype.toString.call(r).slice(8,-1))&&r.constructor?r.constructor.name:e)||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(r,t):void 0}function _arrayLikeToArray(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e<t;e++)n[e]=r[e];return n}function _iterableToArrayLimit(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=e){var n,a,o,i,u=[],l=!0,c=!1;try{if(o=(e=e.call(r)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(n=o.call(e)).done)&&(u.push(n.value),u.length!==t);l=!0);}catch(r){c=!0,a=r}finally{try{if(!l&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}function _arrayWithHoles(r){if(Array.isArray(r))return r}!function(){function r(a,u,o){var l={};return{when:i,$get:["$route",function(a){return{when:function(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];var n=i.apply(this,t);return a.reload(),n},getByPath:r}}]};function i(r,t){var e,r=y(r),i=(t.resolve=t.resolve||{},t.resolve.__c8y_locales=["c8yLocales",function(r){return r.initDone}],l[r]),n=r;return t.name,i||(l[r]=[],i=l[r]),1===i.length&&((e=_slicedToArray(i,1)[0]).path=o.appendSegment(n,e.name),e.tab=c(n,e),a.when(e.path,e)),i.push(t),t.path=r,1<i.length&&(t.path=o.appendSegment(n,t.name),c(n,t),a.when(y(n),{resolveRedirectTo:["$route","$q","c8yUiUtil","c8yTabs","gettextCatalog",function(r,t,e,n,a){var a=u.sortTabsViews(i,a),o=r.current.pathParams;return t.all(_.map(a,_.unary(e.configureVisibility))).then(function(r){var e=_.find(r,"show").path;return _.forEach(o,function(r,t){e=e.replace(":".concat(t),r)}),n.redirectedViewPath=e})}]})),a.when(y(t.path),t)}function r(r){return l[y(r)]}function c(r,t){u.addTab(r,t)}function y(r){return(_.startsWith(r,"/")?"":"/")+r}}r.$inject=["$routeProvider","c8yTabsProvider","c8yPathUtils"],angular.module("c8y.ui").provider("c8yViews",r)}();
|
package/core/ui/providers/zip.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){if(r)
|
|
1
|
+
"use strict";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){var t;if(r)return"string"==typeof r?_arrayLikeToArray(r,e):"Map"===(t="Object"===(t=Object.prototype.toString.call(r).slice(8,-1))&&r.constructor?r.constructor.name:t)||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0}function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function _iterableToArrayLimit(r,e){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var n,o,i,a,u=[],l=!0,c=!1;try{if(i=(t=t.call(r)).next,0===e){if(Object(t)!==t)return;l=!1}else for(;!(l=(n=i.call(t)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(r){c=!0,o=r}finally{try{if(!l&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}function _arrayWithHoles(r){if(Array.isArray(r))return r}!function(){function r(l,c){function t(r,i){return l(function(e,t){var n=e,o=t;window.c8y_testing&&(n=function(r){e(r),c.$apply()},o=function(r){t(r),c.$apply()}),zip.createReader(new zip.BlobReader(r),function(e){e.getEntries(function(r){r=_slicedToArray(_.filter(r,i),1)[0];r?r.getData(new zip.TextWriter,function(r){e.close(),n(r)}):(e.close(),o(new Error("File not found ".concat(JSON.stringify(i)))))})},o)})}return{zipFiles:function(e){var u=l.defer();return zip.createWriter(new zip.BlobWriter,function(r){function t(){var r,e;(a+=1)<o.length?(e=o[r=a],n.add(e.name,new zip.BlobReader(e),t,function(){i.notify(e,r)})):n.close(function(r){i.resolve(r),window.c8y_testing&&c.$apply()})}var n,o,i,a;u.resolve((n=r,o=e,i=l.defer(),a=-1,t(),i.promise)),window.c8y_testing&&c.$apply()},function(r){u.reject(r),window.c8y_testing&&c.$apply()}),u.promise},getTextData:t,getJsonData:function(r,e){return t(r,e).then(function(r){return JSON.parse(r)})}}}r.$inject=["$q","$rootScope"],angular.module("c8y.ui").provider("c8yZip",function(){return zip.useWebWorkers=!1,{$get:r}})}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";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){if(e)
|
|
1
|
+
"use strict";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=Object.prototype.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=new Array(r);t<r;t++)n[t]=e[t];return n}!function(){function e(e,t){var n=this;function r(e,r){return e[r]=!0,e}function o(e){return n.selectedPermissions&&n.availableRoles&&_(n.availableRoles).map("id").filter(a(e)).every(function(e){return n.selectedPermissions[e]})}function a(e){var r=new RegExp("".concat(e,"$"));return function(e){return r.test(e)}}_.assign(n,{$onChanges:function(e){e.availableRoles&&(n.groupedPermissions=_.map(_.groupBy(n.availableRoles,"category"),function(e,r){return{category:r,permissions:e}}));e.inputSelectedRoles&&(n.selectedPermissions=_.reduce(n.inputSelectedRoles,r,{}))},permissionId:function(e,r){e=_.find(e,{access:r});return e&&e.id},categoryLabel:function(e){var e=e.category,r=t.STRINGS.PERMISSIONS_GLOBAL_LABELS;e=r[e]||_.capitalize((e||"").toLowerCase().replace(/_/g," "));return e},hasPermission:function(e,r){return _.some(e,{access:r})},hasPermissionWithAccess:function(e){return n.availableRoles&&_(n.availableRoles).map("id").some(a(e))},allSelected:o,selectAll:function(e){var r=n.selectedPermissions||{},t=!o(e);_(n.availableRoles).map("id").filter(a(e)).forEach(function(e){r[e]=t}),n.selectedPermissions=r},STRINGS:t.STRINGS}),e.$watch("vm.selectedPermissions",function(){n.onSelectedRolesChange({selectedRoles:_.reduce(n.selectedPermissions,function(e,r,t){return r?[].concat(_toConsumableArray(e),[t]):e},[])})},!0)}e.$inject=["$scope","c8yRolesUi"],angular.module("c8y.ui").component("c8yRolesMatrix",{templateUrl:":::PLUGIN_PATH:::/ui/roles/roles-matrix.html",bindings:{availableRoles:"<",inputSelectedRoles:"<selectedRoles",onSelectedRolesChange:"&",readOnly:"<"},controllerAs:"vm",controller:e})}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict";try{window.DOMPurify=require("dompurify")}catch(i){if(!window.jasmine)throw i}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _slicedToArray(t,r){return _arrayWithHoles(t)||_iterableToArrayLimit(t,r)||_unsupportedIterableToArray(t,r)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a,e,o,g,i=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===r){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(i.push(a.value),i.length!==r);l=!0);}catch(t){u=!0,e=t}finally{try{if(!l&&null!=n.return&&(g=n.return(),Object(g)!==g))return}finally{if(u)throw e}}return i}}function _arrayWithHoles(t){if(Array.isArray(t))return t}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,r){if(t)
|
|
1
|
+
"use strict";function _slicedToArray(t,r){return _arrayWithHoles(t)||_iterableToArrayLimit(t,r)||_unsupportedIterableToArray(t,r)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a,e,o,g,i=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===r){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(i.push(a.value),i.length!==r);l=!0);}catch(t){u=!0,e=t}finally{try{if(!l&&null!=n.return&&(g=n.return(),Object(g)!==g))return}finally{if(u)throw e}}return i}}function _arrayWithHoles(t){if(Array.isArray(t))return t}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,r){var n;if(t)return"string"==typeof t?_arrayLikeToArray(t,r):"Map"===(n="Object"===(n=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,r):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,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,a=new Array(r);n<r;n++)a[n]=t[n];return a}!function(){function t(e,t,a){var r=_.memoize(function(t){var r=t.moduleName,n=t.tagName;return function(t){return t.map(function(t){return _.kebabCase(t).replace("c-8-y","c8y")})}(function(t){var n=[];return t.forEach(function(t){t=angular.module(t)._invokeQueue;0<t.length&&t.forEach(function(t){var t=_slicedToArray(t,3),r=t[1],t=_slicedToArray(t[2],1)[0];"directive"===r&&n.push(t)})}),_.uniq(n)}(c(r))).filter(function(t){return t.includes(n)})},function(t){return t.moduleName}),o={declaration:{regex:{openingTag:/(<\?xml)/g,closingTag:/(\?>)/g,sandboxEscape:/constructor.constructor.+?(?=\}\})/gim},openingTag:"<?xml",closingTag:"?>"}},n=["use","#comment"].concat(_toConsumableArray(_.keys(o))),g=["ngBind","ngBindHtml","ngBindTemplate","ngClass","ngClassEven","ngClassOdd","ngCloak","ngController","ngForm","ngHide","ngIf","ngInclude","ngInit","ngNonBindable","ngPluralize","ngRef","ngRepeat","ngShow","ngStyle","ngSwitch","ngSwitchWhen","ngSwitchDefault","ngOptions","ngTransclude","ngModel","ngList","ngChange","pattern","ngPattern","ngRequired","minlength","ngMinlength","maxlength","ngMaxlength","ngValue","ngModelOptions"].map(_.kebabCase),i="click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(/\s/).map(function(t){return"ng-".concat(t)}),l="click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(/\s/).map(function(t){return"on".concat(t)}),u={ADD_TAGS:_.concat(r({moduleName:"app",tagName:"c8y"}),n),ADD_ATTR:[].concat(_toConsumableArray(g),_toConsumableArray(i),_toConsumableArray(l),["ng-attr-accent-height","ng-attr-accumulate","ng-attr-additive","ng-attr-alignment-baseline","ng-attr-ascent","ng-attr-attributename","ng-attr-attributetype","ng-attr-azimuth","ng-attr-basefrequency","ng-attr-baseline-shift","ng-attr-begin","ng-attr-bias","ng-attr-by","ng-attr-class","ng-attr-clip","ng-attr-clip-path","ng-attr-clip-rule","ng-attr-color","ng-attr-color-interpolation","ng-attr-color-interpolation-filters","ng-attr-color-profile","ng-attr-color-rendering","ng-attr-cx","ng-attr-cy","ng-attr-d","ng-attr-dx","ng-attr-dy","ng-attr-diffuseconstant","ng-attr-direction","ng-attr-display","ng-attr-divisor","ng-attr-dur","ng-attr-edgemode","ng-attr-elevation","ng-attr-end","ng-attr-fill","ng-attr-fill-opacity","ng-attr-fill-rule","ng-attr-filter","ng-attr-filterunits","ng-attr-flood-color","ng-attr-flood-opacity","ng-attr-font-family","ng-attr-font-size","ng-attr-font-size-adjust","ng-attr-font-stretch","ng-attr-font-style","ng-attr-font-variant","ng-attr-font-weight","ng-attr-fx","ng-attr-fy","ng-attr-g1","ng-attr-g2","ng-attr-glyph-name","ng-attr-glyphref","ng-attr-gradientunits","ng-attr-gradienttransform","ng-attr-height","ng-attr-href","ng-attr-id","ng-attr-image-rendering","ng-attr-in","ng-attr-in2","ng-attr-k","ng-attr-k1","ng-attr-k2","ng-attr-k3","ng-attr-k4","ng-attr-kerning","ng-attr-keypoints","ng-attr-keysplines","ng-attr-keytimes","ng-attr-lang","ng-attr-lengthadjust","ng-attr-letter-spacing","ng-attr-kernelmatrix","ng-attr-kernelunitlength","ng-attr-lighting-color","ng-attr-local","ng-attr-marker-end","ng-attr-marker-mid","ng-attr-marker-start","ng-attr-markerheight","ng-attr-markerunits","ng-attr-markerwidth","ng-attr-maskcontentunits","ng-attr-maskunits","ng-attr-max","ng-attr-mask","ng-attr-media","ng-attr-method","ng-attr-mode","ng-attr-min","ng-attr-name","ng-attr-numoctaves","ng-attr-offset","ng-attr-operator","ng-attr-opacity","ng-attr-order","ng-attr-orient","ng-attr-orientation","ng-attr-origin","ng-attr-overflow","ng-attr-paint-order","ng-attr-path","ng-attr-pathlength","ng-attr-patterncontentunits","ng-attr-patterntransform","ng-attr-patternunits","ng-attr-points","ng-attr-preservealpha","ng-attr-preserveaspectratio","ng-attr-primitiveunits","ng-attr-r","ng-attr-rx","ng-attr-ry","ng-attr-radius","ng-attr-refx","ng-attr-refy","ng-attr-repeatcount","ng-attr-repeatdur","ng-attr-restart","ng-attr-result","ng-attr-rotate","ng-attr-scale","ng-attr-seed","ng-attr-shape-rendering","ng-attr-specularconstant","ng-attr-specularexponent","ng-attr-spreadmethod","ng-attr-stddeviation","ng-attr-stitchtiles","ng-attr-stop-color","ng-attr-stop-opacity","ng-attr-stroke-dasharray","ng-attr-stroke-dashoffset","ng-attr-stroke-linecap","ng-attr-stroke-linejoin","ng-attr-stroke-miterlimit","ng-attr-stroke-opacity","ng-attr-stroke","ng-attr-stroke-width","ng-attr-style","ng-attr-surfacescale","ng-attr-tabindex","ng-attr-targetx","ng-attr-targety","ng-attr-transform","ng-attr-text-anchor","ng-attr-text-decoration","ng-attr-text-rendering","ng-attr-textlength","ng-attr-type","ng-attr-u1","ng-attr-u2","ng-attr-unicode","ng-attr-values","ng-attr-viewbox","ng-attr-visibility","ng-attr-version","ng-attr-vert-adv-y","ng-attr-vert-origin-x","ng-attr-vert-origin-y","ng-attr-width","ng-attr-word-spacing","ng-attr-wrap","ng-attr-writing-mode","ng-attr-xchannelselector","ng-attr-ychannelselector","ng-attr-x","ng-attr-x1","ng-attr-x2","ng-attr-xmlns","ng-attr-y","ng-attr-y1","ng-attr-y2","ng-attr-z","ng-attr-zoomandpan"],_toConsumableArray(r({moduleName:"app",tagName:"c8y"})))};return{sanitizeString:s,getSpecificHtmlTags:r,getModulesList:c,sanitizeFileByLevel:function(t,r){var n=a.defer();return n.resolve(t),"strict"!==r?"lax"!==r?n.promise:this.sanitizeFile(t):this.sanitizeFile(t,{})},sanitizeFile:function(r){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:u;return t.readDataUri(r).then(t.decodeDataUri).then(function(t){return s(t,n)}).then(function(t){return new File([t],r.name,{type:r.type})})}};function s(t){var n,a,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:u,t=e.sanitize((n=t,_.forEach(o,function(t,r){t=t.regex;n=n.replace(t.openingTag,"<".concat(r,">")).replace(t.closingTag,"</".concat(r,">")).replace(t.sandboxEscape,"")}),n),r);return a=t,_.forEach(o,function(t,r){a=a.replace(new RegExp("<".concat(r,">"),"g"),t.openingTag).replace(new RegExp("</".concat(r,">"),"g"),t.closingTag)}),a}function c(r){var t=angular.module(r).requires.reduce(d,[]);return-1===_.findIndex(t,function(t){return t===r})&&t.push(r),_.uniq(t)}function d(t,r){if("string"==typeof r){var n=angular.module(r);if(0<n.requires.length)return _.includes(t,r)?t:(t.push(r),n.requires.reduce(d,t));t.push(r)}return t}}t.$inject=["DOMPurify","c8yBinary","$q"],angular.module("c8y.ui").constant("DOMPurify",window.DOMPurify),angular.module("c8y.ui").factory("c8ySanitizeHtml",t)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(
|
|
1
|
+
"use strict";!function(){function e(t,e,r,d){e.defineAddOn("bootstrapDecorator","deviceGroupIdPicker",":::PLUGIN_PATH:::/ui/schemaForm/customFieldTypes/deviceGroupIdPicker.html",r.stdBuilders),t.defaults.integer.unshift(function(e,r,i){var o;return"deviceGroupId"===r.format&&((e=t.stdFormObj(e,r,i)).key=i.path,e.type="deviceGroupIdPicker",o=i.lookup[d.stringify(i.path)]=e),o})}e.$inject=["schemaFormProvider","schemaFormDecoratorsProvider","sfBuilderProvider","sfPathProvider"],angular.module("c8y.ui").config(e)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){if(r)
|
|
1
|
+
"use strict";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){var t;if(r)return"string"==typeof r?_arrayLikeToArray(r,e):"Map"===(t="Object"===(t=Object.prototype.toString.call(r).slice(8,-1))&&r.constructor?r.constructor.name:t)||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0}function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,o=new Array(e);t<e;t++)o[t]=r[t];return o}function _iterableToArrayLimit(r,e){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var o,n,i,a,l=[],u=!0,s=!1;try{if(i=(t=t.call(r)).next,0===e){if(Object(t)!==t)return;u=!1}else for(;!(u=(o=i.call(t)).done)&&(l.push(o.value),l.length!==e);u=!0);}catch(r){s=!0,n=r}finally{try{if(!u&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(s)throw n}}return l}}function _arrayWithHoles(r){if(Array.isArray(r))return r}!function(){function r(n,r,e,i){r.defineAddOn("bootstrapDecorator","fileUpload",":::PLUGIN_PATH:::/ui/schemaForm/customFieldTypes/fileUpload.html",e.stdBuilders),n.defaults.string.unshift(function(r,e,t){var o;return"string"===e.type&&"file"===e.format&&((o=n.stdFormObj(r,e,t)).allowedFileType=_.get(e,"x-schema-form.allowedFileType",[]),o.key=t.path,o.type="fileUpload",o.getFilePickerFilesFromModelValue=function(r){return[{file:r}]},o.getModelValueFromFilePickerFiles=function(r){return _slicedToArray(r,1)[0].file},o.onFileSelected=function(r,e){var t,e=_slicedToArray(e,1)[0].file;e&&(t=e,(e=new FileReader).onload=function(r){_.set(t,"fileSrc",r.target.result)},e.readAsDataURL(t)),r.$setDirty()},o.onFileRemoved=function(r){r.$setDirty()},t.lookup[i.stringify(t.path)]=o),o})}r.$inject=["schemaFormProvider","schemaFormDecoratorsProvider","sfBuilderProvider","sfPathProvider"],angular.module("schemaForm").config(r)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";angular.module("c8y.ui").directive("onReadFile",function(){return{restrict:"A",require:["ngModel"],scope:!1,link:function(e,i,l,n){e.remove=function(){n[0].$setViewValue(null),i.val(null)},i.on("change",function(){
|
|
1
|
+
"use strict";angular.module("c8y.ui").directive("onReadFile",function(){return{restrict:"A",require:["ngModel"],scope:!1,link:function(e,i,l,n){e.remove=function(){n[0].$setViewValue(null),i.val(null)},i.on("change",function(){var e;this.files[0]&&((e=new FileReader).readAsDataURL(this.files[0]),n[0].$setViewValue(this.files[0]),e.onload=function(e){var i=n[0].$viewValue;i.fileSrc=e.target.result,n[0].$setViewValue(i)})})}}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){if(r)
|
|
1
|
+
"use strict";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){var t;if(r)return"string"==typeof r?_arrayLikeToArray(r,e):"Map"===(t="Object"===(t=Object.prototype.toString.call(r).slice(8,-1))&&r.constructor?r.constructor.name:t)||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0}function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function _iterableToArrayLimit(r,e){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var n,o,a,i,l=[],u=!0,c=!1;try{if(a=(t=t.call(r)).next,0===e){if(Object(t)!==t)return;u=!1}else for(;!(u=(n=a.call(t)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(r){c=!0,o=r}finally{try{if(!u&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}function _arrayWithHoles(r){if(Array.isArray(r))return r}!function(){function r(r,o){var a=_slicedToArray(r,1)[0],i=a.link;function e(r,e,t,n){i.apply(a,[r,e,t,n]),r.$watch(function(){return o.areAllValuesEmpty(r,n)},function(r){e.toggleClass("c8y-schema-form-empty",r)}),r.hasError=function(){return!!r.ngModel&&(r.options&&r.options.pristine&&!1===r.options.pristine.errors||void 0===r.ngModel.$modelValue?r.ngModel.$invalid&&!r.ngModel.$pristine:r.ngModel.$invalid)}}return _.assign(a,{compile:function(){return e}}),r}r.$inject=["$delegate","c8ySchemaFormHelper"],angular.module("c8y.ui").decorator("bootstrapDecoratorDirective",r).decorator("sfDecoratorDirective",r)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";angular.module("c8y.ui").component("c8ySchemaEditor",{bindings:{_schema:"<schema",onChange:"&"},templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/schemaEditor.html",controller:function(){var r=this,s={type:"object",properties:{}},t=!1;function
|
|
1
|
+
"use strict";angular.module("c8y.ui").component("c8ySchemaEditor",{bindings:{_schema:"<schema",onChange:"&"},templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/schemaEditor.html",controller:function(){var r=this,s={type:"object",properties:{}},t=!1;_.assign(r,{schema:{},property:{},$onChanges:function(e){e._schema&&(r.schema=_.defaults(_.cloneDeep(r._schema),s),t=!0,r.properties=_.map(r.schema.properties,function(e,s){return{key:s,schema:e}}),0===r.properties.length)&&r.properties.push({key:"",schema:{type:"string"}})},$doCheck:function(){t&&(r.onChange({schema:r.schema,originalSchema:r._schema}),t=!1)},onPropertyChange:function(e,s){_.unset(r.schema,["properties",s.key]),_.set(r.schema,["properties",e.key],e.schema),s=_.find(r.properties,{key:s.key}),_.assign(s,e),t=!0}})},controllerAs:"vm"});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperty(e,t,i){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _toPropertyKey(e){
|
|
1
|
+
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperty(e,t,i){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"===_typeof(e)?e:String(e)}function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0===i)return("string"===t?String:Number)(e);i=i.call(e,t||"default");if("object"!==_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}!function(){function e(e,t,i){var r=this,n={validationMessage:function(){var e,t=tv4.errorCodes;_defineProperty(e={default:i.getString("This field is not valid.")},t.INVALID_TYPE,i.getString("Invalid type, expected {{ schema.type }}.")),_defineProperty(e,t.ENUM_MISMATCH,i.getString("No enum match for: {{ viewValue }}.")),_defineProperty(e,t.ANY_OF_MISSING,i.getString('Data does not match any schemas from "anyOf".')),_defineProperty(e,t.ONE_OF_MISSING,i.getString('Data does not match any schemas from "oneOf".')),_defineProperty(e,t.ONE_OF_MULTIPLE,i.getString('Data matches more than one schema from "oneOf".')),_defineProperty(e,t.NOT_PASSED,i.getString('Data matches schema from "not".')),_defineProperty(e,t.NUMBER_MULTIPLE_OF,i.getString("Value {{ viewValue }} is not a multiple of {{ schema.multipleOf }}.")),_defineProperty(e,t.NUMBER_MINIMUM,i.getString("Value {{ viewValue }} is less than minimum {{ schema.minimum }}.")),_defineProperty(e,t.NUMBER_MINIMUM_EXCLUSIVE,i.getString("Value {{ viewValue }} is equal to exclusive minimum {{ schema.exclusiveMinimum }}.")),_defineProperty(e,t.NUMBER_MAXIMUM,i.getString("Value {{ viewValue }} is greater than maximum {{ schema.maximum }}.")),_defineProperty(e,t.NUMBER_MAXIMUM_EXCLUSIVE,i.getString("Value {{ viewValue }} is equal to exclusive maximum {{ schema.exclusiveMaximum }}.")),_defineProperty(e,t.NUMBER_NOT_A_NUMBER,i.getString("Value {{ viewValue }} is not a valid number.")),_defineProperty(e,t.STRING_LENGTH_SHORT,i.getString("String is too short ({{ viewValue.length }} chars), minimum {{ schema.minLength }}.")),_defineProperty(e,t.STRING_LENGTH_LONG,i.getString("String is too long ({{ viewValue.length }} chars), maximum {{ schema.maxLength }}.")),_defineProperty(e,t.STRING_PATTERN,i.getString("String does not match pattern: {{ schema.pattern }}.")),_defineProperty(e,t.OBJECT_PROPERTIES_MINIMUM,i.getString("Not enough properties defined, minimum {{ schema.minProperties }}.")),_defineProperty(e,t.OBJECT_PROPERTIES_MAXIMUM,i.getString("Too many properties defined, maximum {{ schema.maxProperties }}.")),_defineProperty(e,t.OBJECT_REQUIRED,i.getString("This field is required.")),_defineProperty(e,t.OBJECT_ADDITIONAL_PROPERTIES,i.getString("Additional properties not allowed.")),_defineProperty(e,t.OBJECT_DEPENDENCY_KEY,i.getString("Dependency failed - key must exist.")),_defineProperty(e,t.ARRAY_LENGTH_SHORT,i.getString("Array is too short ({{ value.length }}), minimum {{ schema.minItems }}.")),_defineProperty(e,t.ARRAY_LENGTH_LONG,i.getString("Array is too long ({{ value.length }}), maximum {{ schema.maxItems }}.")),_defineProperty(e,t.ARRAY_UNIQUE,i.getString("Array items are not unique.")),_defineProperty(e,t.ARRAY_ADDITIONAL_ITEMS,i.getString("Additional items not allowed.")),_defineProperty(e,t.FORMAT_CUSTOM,i.getString("Format validation failed.")),_defineProperty(e,t.KEYWORD_CUSTOM,i.getString('Keyword failed: "{{ title }}".')),_defineProperty(e,t.CIRCULAR_REFERENCE,i.getString("Circular $refs.")),_defineProperty(e,t.UNKNOWN_PROPERTY,i.getString("Unknown property (not in schema)."));return e.number=e[t.NUMBER_NOT_A_NUMBER],e.required=e[t.OBJECT_REQUIRED],e.min=e[t.NUMBER_MINIMUM],e.max=e[t.NUMBER_MAXIMUM],e.maxlength=e[t.STRING_LENGTH_LONG],e.minlength=e[t.STRING_LENGTH_SHORT],e.pattern=e[t.STRING_PATTERN],e}(),validateOnRender:!0,formDefaults:{feedback:!1,disableSuccessState:!0}};function o(){r.render=!0,t(function(){r.render=!1})}_.assign(r,{form:["*"],options:n,$onChanges:function(e){e.inputForm&&(r.form=r.inputForm,o());e.inputOptions&&(r.options=_.merge({},n,r.inputOptions),o())}})}e.$inject=["$scope","$timeout","gettextCatalog"],angular.module("c8y.ui").component("c8ySchemaForm",{bindings:{schema:"<",model:"<",inputForm:"<?form",inputOptions:"<?options"},templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/schemaForm.html",controller:e,controllerAs:"vm"})}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function t(
|
|
1
|
+
"use strict";!function(){function t(a,e,n,t,c){var o=a.getFlag("isLocal"),r=a.getFlag("test");o&&!r&&t(function(){var t=e.decorator("bootstrap");_.each(t,function(t){var e=_.get(t,"template"),t=e&&n.get(e);e&&!t&&c.get(e).then(a.getResData).then(function(t){return n.put(e,t)})})},0,!1)}t.$inject=["c8yBase","schemaFormDecorators","$templateCache","$timeout","$http"],angular.module("c8y.ui").run(t)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(r){return{areAllValuesEmpty:function(e,n){
|
|
1
|
+
"use strict";!function(){function e(r){return{areAllValuesEmpty:function(e,n){e=_.flattenDeep([_.get(e,"ngModel.$modelValue"),function n(e,t){return _.map(e.items,function(e){return e.key?t.evalInParentScope("vm.model".concat(r.stringify(e.key))):n(e,t)})}(e.form,n)]);return _.every(e,t)}};function t(e){return""===e||_.isNil(e)}}e.$inject=["sfPath"],angular.module("c8y.ui").factory("c8ySchemaFormHelper",e)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(r){var t,o=this,e=r.Types,p=r.Validations;function i(e){return!!_.includes(o.schemaPropertyType.validations,e)}function n(n){return _.reduce(p.values(),function(e,r){var t=i(r),o=!_.isUndefined(n.schema[r.value]);return e[r.value]=t&&o,e},{})}_.assign(o,{Types:e,Validations:p,isValidationSupported:i,$onChanges:function(e){e._property&&(o.property=_.cloneDeep(o._property),o.schemaPropertyType=r.getType(o.property),o.validationsApplied=n(o.property))},$doCheck:function(){var e=function(){var t={key:o.property.key,schema:o.property.schema};return _.forEach(o.validationsApplied,function(e,r){e||"required"===r||_.unset(t,["schema",r])}),t}()
|
|
1
|
+
"use strict";!function(){function e(r){var t,o=this,e=r.Types,p=r.Validations;function i(e){return!!_.includes(o.schemaPropertyType.validations,e)}function n(n){return _.reduce(p.values(),function(e,r){var t=i(r),o=!_.isUndefined(n.schema[r.value]);return e[r.value]=t&&o,e},{})}_.assign(o,{Types:e,Validations:p,isValidationSupported:i,$onChanges:function(e){e._property&&(o.property=_.cloneDeep(o._property),o.schemaPropertyType=r.getType(o.property),o.validationsApplied=n(o.property))},$doCheck:function(){var e=function(){var t={key:o.property.key,schema:o.property.schema};return _.forEach(o.validationsApplied,function(e,r){e||"required"===r||_.unset(t,["schema",r])}),t}();!function(e){var r=!_.isEqual(e,t);return t=_.cloneDeep(e),r}(e)||o.onChange({property:e,originalProperty:o._property})},setType:function(){r.setType(o.property,o.schemaPropertyType),o.validationsApplied=n(o.property)}})}e.$inject=["SchemaPropertiesSvc"],angular.module("c8y.ui").component("c8ySchemaPropertyEditor",{bindings:{_property:"<property",onChange:"&"},templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/schemaPropertyEditor.html",controller:e,controllerAs:"vm"})}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function t(t){var
|
|
1
|
+
"use strict";!function(){function t(t){var t=t.createEnum(["COMPUTED_PROPERTY_LAST_MEASUREMENT"]),n={};return{SHARED_CONTEXTS:t,get:function(t){return _.get(n,t)},set:function(t,e){n[t]=e},isAvailable:function(t){return!_.isEmpty(n[t])},clear:function(t){_.unset(n,t)}}}t.$inject=["c8yBase"],angular.module("c8y.ui").factory("contextDetailsSharedService",t)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperty(e,t,i){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"===_typeof(t)?t:String(t)}function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0===i)return("string"===t?String:Number)(e);var n=i.call(e,t||"default");if("object"!==_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}!function(){function e(a,e,t,d,y){function i(e){return"/device/".concat(e.id)}function n(){var e="c8y_RequiredAvailability.responseInterval",t=_defineProperty({},e,{__le:0}),n={__not:{__has:e}},i="c8y_Availability.status",r=_defineProperty({},i,"AVAILABLE"),a=_defineProperty({},i,"UNAVAILABLE"),o=_defineProperty({},i,"MAINTENANCE"),l={__not:{__has:i}},s="c8y_Connection.status",c=_defineProperty({},s,"CONNECTED"),m=_defineProperty({},s,"DISCONNECTED"),p=_defineProperty({},s,"MAINTENANCE"),u={__or:[t,o,p]},g={__and:[{__not:t},{__not:o},{__not:p}]};return{name:"status",header:d("Status"),cell:{style:{width:"90px"},class:{"text-center":!0},template:'<c8y-device-status-display device="item"></c8y-device-status-display>'},filtering:{schema:{type:"object",properties:{sendOnline:{type:"boolean"},sendOffline:{type:"boolean"},sendUnknown:{type:"boolean"},sendNotMonitored:{type:"boolean"},pushOnline:{type:"boolean"},pushOffline:{type:"boolean"},pushNotMonitored:{type:"boolean"},maintenance:{type:"boolean"}}},form:[{type:"template",template:["<label><span translate>",d("Show devices with send status"),"</span>:</label>"].join("")},{key:"sendOnline",title:y.getString("Online")},{key:"sendOffline",title:y.getString("Offline")},{key:"sendUnknown",title:y.getString("Unknown")},{key:"sendNotMonitored",title:y.getString("Not monitored")},{type:"template",template:["<label><span translate>",d("Show devices with push status"),"</span>:</label>"].join("")},{key:"pushOnline",title:y.getString("Online")},{key:"pushOffline",title:y.getString("Offline")},{key:"pushNotMonitored",title:y.getString("Not monitored")},{type:"template",template:["<label><span translate>",d("Show devices with maintenance status"),"</span>:</label>"].join("")},{key:"maintenance",title:y.getString("Device is under maintenance")}],getFilter:function(e){var t={},i=[];return e&&(e.sendOnline&&i.push({__and:[g,r]}),e.sendOffline&&i.push({__and:[g,a]}),e.sendUnknown&&i.push({__and:[g,l]}),(e.sendNotMonitored||e.pushNotMonitored)&&i.push(n),e.pushOnline&&i.push({__and:[g,c]}),e.pushOffline&&i.push({__and:[g,m]}),e.maintenance&&i.push(u),i.length&&(t.__or=i)),t}},sorting:{path:"c8y_Availability.status"}}}function r(){return{name:"name",header:d("Name"),style:{"min-width":"200px"},cell:{template:['<a ng-href="#{{getDeviceLink(item)}}" title="{{item.properName}}" class="interact">'," {{item.properName}}","</a>"].join("\n"),scopeExtensions:{getDeviceLink:i},class:"table-cell-truncate",innerClass:"truncated-cell-content"},filtering:{schema:{type:"object",properties:{names:{type:"array",items:{type:"string"}}}},form:[{key:"names",title:y.getString("Show devices with name"),add:y.getString("Or"),items:[{key:"names[]",notitle:!0,placeholder:y.getString("e.g. My Device, you can use an asterisk (*) as wildcard character")}]}],getFilter:_.partial(t.getInFilterFromModel,"names","name")},sorting:{path:"name"}}}function o(){return{name:"model",header:d("Model"),cell:{template:"{{model(item)}}",scopeExtensions:{model:e.model}},filtering:{schema:{type:"object",properties:{models:{type:"array",items:{type:"string"}}}},form:[{key:"models",title:y.getString("Show devices with model"),add:y.getString("Or"),items:[{key:"models[]",notitle:!0,placeholder:y.getString("e.g. {{ example }}, you can use an asterisk (*) as wildcard character",{example:"NTC-220"})}]}],getFilter:_.partial(t.getInFilterFromModel,"models","c8y_Hardware.model")},sorting:{path:"c8y_Hardware.model"}}}function l(){return{name:"serialNumber",header:d("Serial number"),cell:{template:"{{serial(item)}}",scopeExtensions:{serial:e.serial}},filtering:{schema:{type:"object",properties:{serialNumbers:{type:"array",items:{type:"string"}}}},form:[{key:"serialNumbers",title:y.getString("Show devices with serial number"),add:y.getString("Or"),items:[{key:"serialNumbers[]",notitle:!0,placeholder:y.getString("e.g. 54321-123, you can use an asterisk (*) as wildcard character")}]}],getFilter:_.partial(t.getInFilterFromModel,"serialNumbers","c8y_Hardware.serialNumber")},sorting:{path:"c8y_Hardware.serialNumber"}}}function s(){return{name:"group",header:d("Group"),cell:{template:"\n <span title=\"{{getAssetParentsNames(item.assetParents.references,\n ctrl.columnsConfig['group'].filtering.deviceGroupId)}}\">\n {{getAssetParentsNames(item.assetParents.references,\n ctrl.columnsConfig['group'].filtering.deviceGroupId)}}\n </span>\n ",scopeExtensions:{getAssetParentsNames:function(e,t){var i=_.map(e,"managedObject"),n=_.sortBy(i,["name"]),r=_.remove(n,{id:t}).concat(n);return _.map(r,"name").join(", ")}}},filtering:{schema:{type:"object",properties:{deviceGroupId:{type:"integer",format:"deviceGroupId"}}},form:[{key:"deviceGroupId",title:y.getString("Show devices in group")}],getFilter:function(e){var t={};return e.deviceGroupId&&(t.__bygroupid=e.deviceGroupId),t}}}}function c(){return{name:"registrationDate",header:d("Registration date"),cell:{template:"{{item.creationTime | absoluteDate}}"},filtering:{schema:{type:"object",properties:{registrationDate:{type:"object",properties:{after:{type:"string",format:"datetime"},before:{type:"string",format:"datetime"}}}}},form:[{key:"registrationDate.after",title:y.getString("Show devices registered after"),maxDateKey:"registrationDate.before"},{key:"registrationDate.before",title:y.getString("And before`date`"),minDateKey:"registrationDate.after"}],getFilter:function(e){var t={},i=e&&e.registrationDate;if(i&&(i.after||i.before)){if(t.__and=[],i.after){var n=moment(i.after).format(a.dateFullFormat);t.__and.push({__or:{creationTime:{__gt:n},"creationTime.date":{__gt:n}}})}if(i.before){var r=moment(e.registrationDate.before).format(a.dateFullFormat);t.__and.push({__or:{creationTime:{__lt:r},"creationTime.date":{__lt:r}}})}}return t}},sorting:{paths:[{path:"creationTime.date",orderModifier:1},{path:"creationTime",orderModifier:1}]}}}function m(){return{name:"systemId",header:d("System ID"),cell:{template:"{{item.id}}"},filtering:{schema:{type:"object",properties:{ids:{type:"array",items:{type:"string"}}}},form:[{key:"ids",title:y.getString("Show devices with system ID"),add:y.getString("Or"),items:[{key:"ids[]",notitle:!0,placeholder:y.getString("e.g. 10300, you can use an asterisk (*) as wildcard character")}]}],getFilter:_.partial(t.getInFilterFromModel,"ids","id")},sorting:{path:"id"}}}function p(){return{name:"imei",order:8,header:d("IMEI"),cell:{template:"{{item.c8y_Mobile.imei}}"},filtering:{schema:{type:"object",properties:{imeis:{type:"array",items:{type:"string"}}}},form:[{key:"imeis",title:y.getString("Show devices with IMEI"),add:y.getString("Or"),items:[{key:"imeis[]",notitle:!0,placeholder:y.getString("e.g. 46543432321, you can use an asterisk (*) as wildcard character")}]}],getFilter:_.partial(t.getInFilterFromModel,"imeis","c8y_Mobile.imei")},sorting:{path:"c8y_Mobile.imei"}}}function u(){return{name:"alarms",header:d("Alarms"),cell:{class:{"text-center":!0},style:{"min-width":"130px"},template:['<a ng-href="#{{getDeviceAlarmsLink(item)}}" class="listLink">',' <small class="status critical" ng-if="item.c8y_ActiveAlarmsStatus.critical" style="white-space: nowrap;">',' {{item.c8y_ActiveAlarmsStatus.critical}} <i c8y-icon="warning"></i>'," </small>",' <small class="status major" ng-if="item.c8y_ActiveAlarmsStatus.major" style="white-space: nowrap;">',' {{item.c8y_ActiveAlarmsStatus.major}} <i c8y-icon="exclamation-circle"></i>'," </small>",' <small class="status minor" ng-if="item.c8y_ActiveAlarmsStatus.minor" style="white-space: nowrap;">',' {{item.c8y_ActiveAlarmsStatus.minor}} <i c8y-icon="exclamation-circle"></i>'," </small>",' <small class="status warning" ng-if="item.c8y_ActiveAlarmsStatus.warning" style="white-space: nowrap;">',' {{item.c8y_ActiveAlarmsStatus.warning}} <i c8y-icon="circle"></i>'," </small>","</a>"].join("\n"),scopeExtensions:{getDeviceAlarmsLink:function(e){return[i(e),"alarms"].join("/")}}},filtering:{schema:{type:"object",properties:{critical:{type:"boolean"},major:{type:"boolean"},minor:{type:"boolean"},warning:{type:"boolean"},none:{type:"boolean"}}},form:[{type:"template",template:["<label><span translate>",d("Show devices with active"),"</span>:</label>"].join("")},{key:"critical",title:y.getString("Critical alarms")},{key:"major",title:y.getString("Major alarms")},{key:"minor",title:y.getString("Minor alarms")},{key:"warning",title:y.getString("Warnings")},{key:"none",title:y.getString("No alarms")}],getFilter:function(e){var t={},i=[];return e.critical&&i.push({"c8y_ActiveAlarmsStatus.critical":{__gt:0}}),e.major&&i.push({"c8y_ActiveAlarmsStatus.major":{__gt:0}}),e.minor&&i.push({"c8y_ActiveAlarmsStatus.minor":{__gt:0}}),e.warning&&i.push({"c8y_ActiveAlarmsStatus.warning":{__gt:0}}),e.none&&(i.push({__not:{__has:"c8y_ActiveAlarmsStatus"}}),i.push({__and:_.map(["critical","major","minor","warning"],function(e){var t={},i={__not:{__has:void 0}},n="c8y_ActiveAlarmsStatus.".concat(e);return t[n]=0,i.__not.__has=n,{__or:[t,i]}})})),i.length&&(t.__or=i),t}}}}function g(t){return{name:"removalColumn",cell:{class:{"text-center":!0},style:{"min-width":"130px"},template:['<button class="btn-dot showOnHover"\n uib-tooltip="{{\''.concat(d("Delete device"),"' | translate}}\"\n aria-label=\"{{'").concat(d("Delete device"),'\' | translate}}"\n tooltip-append-to-body="true"\n tooltip-placement="left"\n ng-click="onClickDelete(item)">'),' <i c8y-icon="minus-circle" class="text-danger"></i>',"</button>"].join("\n"),scopeExtensions:{onClickDelete:function(e){t&&t(e)}}}}}return{getStatusColumn:n,getNameColumn:r,getModelColumn:o,getSerialNumberColumn:l,getGroupColumn:s,getRegistrationDateColumn:c,getSystemIdColumn:m,getImeiColumn:p,getAlarmsColumn:u,getRemovalColumn:g,getParentDeviceColumns:function(e){var t=e||{};return[n(),r(),o(),l(),s(),c(),m(),p(),u(),g(t.clickDeleteCallback)]},getChildDeviceColumns:function(e){var t=e||{};return[n(),r(),o(),l(),c(),m(),p(),u(),g(t.clickDeleteCallback)]}}}e.$inject=["c8yBase","c8yDevices","c8yFilteringSortingInventoryQueries","gettext","gettextCatalog"],angular.module("c8y.ui").factory("c8yDeviceListColumns",e)}();
|
|
1
|
+
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperty(e,t,i){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"===_typeof(e)?e:String(e)}function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0===i)return("string"===t?String:Number)(e);i=i.call(e,t||"default");if("object"!==_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}!function(){function e(r,e,t,p,u){function i(e){return"/device/".concat(e.id)}function n(){var e="c8y_RequiredAvailability.responseInterval",t=_defineProperty({},e,{__le:0}),n={__not:{__has:e}},e="c8y_Availability.status",r=_defineProperty({},e,"AVAILABLE"),a=_defineProperty({},e,"UNAVAILABLE"),i=_defineProperty({},e,"MAINTENANCE"),o={__not:{__has:e}},e="c8y_Connection.status",l=_defineProperty({},e,"CONNECTED"),s=_defineProperty({},e,"DISCONNECTED"),e=_defineProperty({},e,"MAINTENANCE"),c={__or:[t,i,e]},m={__and:[{__not:t},{__not:i},{__not:e}]};return{name:"status",header:p("Status"),cell:{style:{width:"90px"},class:{"text-center":!0},template:'<c8y-device-status-display device="item"></c8y-device-status-display>'},filtering:{schema:{type:"object",properties:{sendOnline:{type:"boolean"},sendOffline:{type:"boolean"},sendUnknown:{type:"boolean"},sendNotMonitored:{type:"boolean"},pushOnline:{type:"boolean"},pushOffline:{type:"boolean"},pushNotMonitored:{type:"boolean"},maintenance:{type:"boolean"}}},form:[{type:"template",template:["<label><span translate>",p("Show devices with send status"),"</span>:</label>"].join("")},{key:"sendOnline",title:u.getString("Online")},{key:"sendOffline",title:u.getString("Offline")},{key:"sendUnknown",title:u.getString("Unknown")},{key:"sendNotMonitored",title:u.getString("Not monitored")},{type:"template",template:["<label><span translate>",p("Show devices with push status"),"</span>:</label>"].join("")},{key:"pushOnline",title:u.getString("Online")},{key:"pushOffline",title:u.getString("Offline")},{key:"pushNotMonitored",title:u.getString("Not monitored")},{type:"template",template:["<label><span translate>",p("Show devices with maintenance status"),"</span>:</label>"].join("")},{key:"maintenance",title:u.getString("Device is under maintenance")}],getFilter:function(e){var t={},i=[];return e&&(e.sendOnline&&i.push({__and:[m,r]}),e.sendOffline&&i.push({__and:[m,a]}),e.sendUnknown&&i.push({__and:[m,o]}),(e.sendNotMonitored||e.pushNotMonitored)&&i.push(n),e.pushOnline&&i.push({__and:[m,l]}),e.pushOffline&&i.push({__and:[m,s]}),e.maintenance&&i.push(c),i.length)&&(t.__or=i),t}},sorting:{path:"c8y_Availability.status"}}}function a(){return{name:"name",header:p("Name"),style:{"min-width":"200px"},cell:{template:['<a ng-href="#{{getDeviceLink(item)}}" title="{{item.properName}}" class="interact">'," {{item.properName}}","</a>"].join("\n"),scopeExtensions:{getDeviceLink:i},class:"table-cell-truncate",innerClass:"truncated-cell-content"},filtering:{schema:{type:"object",properties:{names:{type:"array",items:{type:"string"}}}},form:[{key:"names",title:u.getString("Show devices with name"),add:u.getString("Or"),items:[{key:"names[]",notitle:!0,placeholder:u.getString("e.g. My Device, you can use an asterisk (*) as wildcard character")}]}],getFilter:_.partial(t.getInFilterFromModel,"names","name")},sorting:{path:"name"}}}function o(){return{name:"model",header:p("Model"),cell:{template:"{{model(item)}}",scopeExtensions:{model:e.model}},filtering:{schema:{type:"object",properties:{models:{type:"array",items:{type:"string"}}}},form:[{key:"models",title:u.getString("Show devices with model"),add:u.getString("Or"),items:[{key:"models[]",notitle:!0,placeholder:u.getString("e.g. {{ example }}, you can use an asterisk (*) as wildcard character",{example:"NTC-220"})}]}],getFilter:_.partial(t.getInFilterFromModel,"models","c8y_Hardware.model")},sorting:{path:"c8y_Hardware.model"}}}function l(){return{name:"serialNumber",header:p("Serial number"),cell:{template:"{{serial(item)}}",scopeExtensions:{serial:e.serial}},filtering:{schema:{type:"object",properties:{serialNumbers:{type:"array",items:{type:"string"}}}},form:[{key:"serialNumbers",title:u.getString("Show devices with serial number"),add:u.getString("Or"),items:[{key:"serialNumbers[]",notitle:!0,placeholder:u.getString("e.g. 54321-123, you can use an asterisk (*) as wildcard character")}]}],getFilter:_.partial(t.getInFilterFromModel,"serialNumbers","c8y_Hardware.serialNumber")},sorting:{path:"c8y_Hardware.serialNumber"}}}function s(){return{name:"group",header:p("Group"),cell:{template:"\n <span title=\"{{getAssetParentsNames(item.assetParents.references,\n ctrl.columnsConfig['group'].filtering.deviceGroupId)}}\">\n {{getAssetParentsNames(item.assetParents.references,\n ctrl.columnsConfig['group'].filtering.deviceGroupId)}}\n </span>\n ",scopeExtensions:{getAssetParentsNames:function(e,t){e=_.map(e,"managedObject"),e=_.sortBy(e,["name"]),t=_.remove(e,{id:t}).concat(e);return _.map(t,"name").join(", ")}}},filtering:{schema:{type:"object",properties:{deviceGroupId:{type:"integer",format:"deviceGroupId"}}},form:[{key:"deviceGroupId",title:u.getString("Show devices in group")}],getFilter:function(e){var t={};return e.deviceGroupId&&(t.__bygroupid=e.deviceGroupId),t}}}}function c(){return{name:"registrationDate",header:p("Registration date"),cell:{template:"{{item.creationTime | absoluteDate}}"},filtering:{schema:{type:"object",properties:{registrationDate:{type:"object",properties:{after:{type:"string",format:"datetime"},before:{type:"string",format:"datetime"}}}}},form:[{key:"registrationDate.after",title:u.getString("Show devices registered after"),maxDateKey:"registrationDate.before"},{key:"registrationDate.before",title:u.getString("And before`date`"),minDateKey:"registrationDate.after"}],getFilter:function(e){var t,i={},n=e&&e.registrationDate;return n&&(n.after||n.before)&&(i.__and=[],n.after&&(t=moment(n.after).format(r.dateFullFormat),i.__and.push({__or:{creationTime:{__gt:t},"creationTime.date":{__gt:t}}})),n.before)&&(t=moment(e.registrationDate.before).format(r.dateFullFormat),i.__and.push({__or:{creationTime:{__lt:t},"creationTime.date":{__lt:t}}})),i}},sorting:{paths:[{path:"creationTime.date",orderModifier:1},{path:"creationTime",orderModifier:1}]}}}function m(){return{name:"systemId",header:p("System ID"),cell:{template:"{{item.id}}"},filtering:{schema:{type:"object",properties:{ids:{type:"array",items:{type:"string"}}}},form:[{key:"ids",title:u.getString("Show devices with system ID"),add:u.getString("Or"),items:[{key:"ids[]",notitle:!0,placeholder:u.getString("e.g. 10300, you can use an asterisk (*) as wildcard character")}]}],getFilter:_.partial(t.getInFilterFromModel,"ids","id")},sorting:{path:"id"}}}function g(){return{name:"imei",order:8,header:p("IMEI"),cell:{template:"{{item.c8y_Mobile.imei}}"},filtering:{schema:{type:"object",properties:{imeis:{type:"array",items:{type:"string"}}}},form:[{key:"imeis",title:u.getString("Show devices with IMEI"),add:u.getString("Or"),items:[{key:"imeis[]",notitle:!0,placeholder:u.getString("e.g. 46543432321, you can use an asterisk (*) as wildcard character")}]}],getFilter:_.partial(t.getInFilterFromModel,"imeis","c8y_Mobile.imei")},sorting:{path:"c8y_Mobile.imei"}}}function d(){return{name:"alarms",header:p("Alarms"),cell:{class:{"text-center":!0},style:{"min-width":"130px"},template:['<a ng-href="#{{getDeviceAlarmsLink(item)}}" class="listLink">',' <small class="status critical" ng-if="item.c8y_ActiveAlarmsStatus.critical" style="white-space: nowrap;">',' {{item.c8y_ActiveAlarmsStatus.critical}} <i c8y-icon="warning"></i>'," </small>",' <small class="status major" ng-if="item.c8y_ActiveAlarmsStatus.major" style="white-space: nowrap;">',' {{item.c8y_ActiveAlarmsStatus.major}} <i c8y-icon="exclamation-circle"></i>'," </small>",' <small class="status minor" ng-if="item.c8y_ActiveAlarmsStatus.minor" style="white-space: nowrap;">',' {{item.c8y_ActiveAlarmsStatus.minor}} <i c8y-icon="exclamation-circle"></i>'," </small>",' <small class="status warning" ng-if="item.c8y_ActiveAlarmsStatus.warning" style="white-space: nowrap;">',' {{item.c8y_ActiveAlarmsStatus.warning}} <i c8y-icon="circle"></i>'," </small>","</a>"].join("\n"),scopeExtensions:{getDeviceAlarmsLink:function(e){return[i(e),"alarms"].join("/")}}},filtering:{schema:{type:"object",properties:{critical:{type:"boolean"},major:{type:"boolean"},minor:{type:"boolean"},warning:{type:"boolean"},none:{type:"boolean"}}},form:[{type:"template",template:["<label><span translate>",p("Show devices with active"),"</span>:</label>"].join("")},{key:"critical",title:u.getString("Critical alarms")},{key:"major",title:u.getString("Major alarms")},{key:"minor",title:u.getString("Minor alarms")},{key:"warning",title:u.getString("Warnings")},{key:"none",title:u.getString("No alarms")}],getFilter:function(e){var t={},i=[];return e.critical&&i.push({"c8y_ActiveAlarmsStatus.critical":{__gt:0}}),e.major&&i.push({"c8y_ActiveAlarmsStatus.major":{__gt:0}}),e.minor&&i.push({"c8y_ActiveAlarmsStatus.minor":{__gt:0}}),e.warning&&i.push({"c8y_ActiveAlarmsStatus.warning":{__gt:0}}),e.none&&(i.push({__not:{__has:"c8y_ActiveAlarmsStatus"}}),i.push({__and:_.map(["critical","major","minor","warning"],function(e){var t={},i={__not:{__has:void 0}},e="c8y_ActiveAlarmsStatus.".concat(e);return t[e]=0,i.__not.__has=e,{__or:[t,i]}})})),i.length&&(t.__or=i),t}}}}function y(t){return{name:"removalColumn",cell:{class:{"text-center":!0},style:{"min-width":"130px"},template:['<button class="btn-dot showOnHover"\n uib-tooltip="{{\''.concat(p("Delete device"),"' | translate}}\"\n aria-label=\"{{'").concat(p("Delete device"),'\' | translate}}"\n tooltip-append-to-body="true"\n tooltip-placement="left"\n ng-click="onClickDelete(item)">'),' <i c8y-icon="minus-circle" class="text-danger"></i>',"</button>"].join("\n"),scopeExtensions:{onClickDelete:function(e){t&&t(e)}}}}}return{getStatusColumn:n,getNameColumn:a,getModelColumn:o,getSerialNumberColumn:l,getGroupColumn:s,getRegistrationDateColumn:c,getSystemIdColumn:m,getImeiColumn:g,getAlarmsColumn:d,getRemovalColumn:y,getParentDeviceColumns:function(e){return e=e||{},[n(),a(),o(),l(),s(),c(),m(),g(),d(),y(e.clickDeleteCallback)]},getChildDeviceColumns:function(e){return e=e||{},[n(),a(),o(),l(),c(),m(),g(),d(),y(e.clickDeleteCallback)]}}}e.$inject=["c8yBase","c8yDevices","c8yFilteringSortingInventoryQueries","gettext","gettextCatalog"],angular.module("c8y.ui").factory("c8yDeviceListColumns",e)}();
|
package/core/ui/services/docs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(i,n,c,l){return{list:function(){var e,t=n.appOption("target"),r=[{icon:"c8y-c8y-data",label:l("Concepts guide`KEEP_ORIGINAL`"),url:o("/concepts/introduction")},{icon:"c8y-user",label:l("User guide`KEEP_ORIGINAL`"),url:o("/users-guide/getting-started")},{icon:"c8y-device-management",label:l("Device integration guide`KEEP_ORIGINAL`"),url:o("/device-integration/introduction")},{icon:"c8y-book",label:l("Cumulocity IoT Edge`KEEP_ORIGINAL`"),url:o("/edge/overview")},{icon:"c8y-tools",label:l("Microservice SDK guide`KEEP_ORIGINAL`"),url:o("/microservice-sdk/introduction")},{icon:"c8y-smart-rest",label:l("Web SDK guide`KEEP_ORIGINAL`"),url:o("/web/introduction")},{icon:"c8y-data-explorer",label:l("Streaming analytics guide`KEEP_ORIGINAL`"),url:o("/streaming-analytics/overview-streaming-analytics")},{icon:"c8y-bookmark",label:l("Reference guide`KEEP_ORIGINAL`"),url:o("/reference/rest-implementation")},{icon:"gavel",label:l("Legal notices"),url:"https://documentation.softwareag.com/legal"}];switch(t){case"dt":e=i.resolve([{icon:"comments",label:l("Help & Service"),url:l("https://support.ram.m2m.telekom.com/apps/HelpAndService/index.html")}]);break;case"quarktech":e=i.resolve(r);break;default:e=c.getSupportUrl().then(function(e){return!1!==e&&r.push({icon:"comments",label:l("Forum support"),url:e}),r})}return e.then(function(e){return _.filter(e,"url")})},getBaseUrl:r,getUserGuideLink:o};function r(){return n.appOption("docsBaseUrl")}function o(e){return _.isNull(r())?null:
|
|
1
|
+
"use strict";!function(){function e(i,n,c,l){return{list:function(){var e,t=n.appOption("target"),r=[{icon:"c8y-c8y-data",label:l("Concepts guide`KEEP_ORIGINAL`"),url:o("/concepts/introduction")},{icon:"c8y-user",label:l("User guide`KEEP_ORIGINAL`"),url:o("/users-guide/getting-started")},{icon:"c8y-device-management",label:l("Device integration guide`KEEP_ORIGINAL`"),url:o("/device-integration/introduction")},{icon:"c8y-book",label:l("Cumulocity IoT Edge`KEEP_ORIGINAL`"),url:o("/edge/overview")},{icon:"c8y-tools",label:l("Microservice SDK guide`KEEP_ORIGINAL`"),url:o("/microservice-sdk/introduction")},{icon:"c8y-smart-rest",label:l("Web SDK guide`KEEP_ORIGINAL`"),url:o("/web/introduction")},{icon:"c8y-data-explorer",label:l("Streaming analytics guide`KEEP_ORIGINAL`"),url:o("/streaming-analytics/overview-streaming-analytics")},{icon:"c8y-bookmark",label:l("Reference guide`KEEP_ORIGINAL`"),url:o("/reference/rest-implementation")},{icon:"gavel",label:l("Legal notices"),url:"https://documentation.softwareag.com/legal"}];switch(t){case"dt":e=i.resolve([{icon:"comments",label:l("Help & Service"),url:l("https://support.ram.m2m.telekom.com/apps/HelpAndService/index.html")}]);break;case"quarktech":e=i.resolve(r);break;default:e=c.getSupportUrl().then(function(e){return!1!==e&&r.push({icon:"comments",label:l("Forum support"),url:e}),r})}return e.then(function(e){return _.filter(e,"url")})},getBaseUrl:r,getUserGuideLink:o};function r(){return n.appOption("docsBaseUrl")}function o(e){var t;return _.isNull(r())?null:(t=n.appOption("guideHrefTemplate"),e=e,_.isNull(t)||_.isUndefined(t)||0===t.length?void 0:t.replace(/\${docsBaseUrl}/,r()).replace(/\${partialUrl}/,function(e){return(_.isEmpty(e)||_.startsWith(e,"/")?"":"/")+e}(e)))}}e.$inject=["$q","c8yBase","c8ySettings","gettext"],angular.module("c8y.ui").factory("c8yDocs",e)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function
|
|
1
|
+
"use strict";!function(){function e(e,i,r,t,a,c,u,p,n,d,s,l){var g=10,o=2e3,f=1950;return{loadAll:function(){(function(){var e={name:"Groups",icon:"c8y-group",iconOpen:"c8y-group-open",sortAlphabetically:!0,path:"group",hasChildren:!0};e.priority=G(),t.addNavigation(e)})(),a.getTopLevelGroups(N()).then(A),e.$on("c8yInventory:update",m)},addGroupNavigation:C,updateGroupNavigation:D,removeGroupNavigation:function(e){e=t.findNode(I(e));t.removeNavigation(e)},updateGroupChildren:x,updateAllGroupsOfAChild:function(e){e=l.extractParents(e);_.forEach(e,function(e){x(e)})},getIconSpecsForType:function(e){return a.getIconSpecsForType(e)},getNav:S};function v(n){var e,o;n.loading||(e=n.group_id,o=i.when([]),n.loading=!0,n.is_group&&(o=a.getGroupAssetsAndDevices(e)),(o=n.is_dynamicGroup?p.getGroupItems(e,{pageSize:g}):o).then(function(e){return h(n,e,!0)}))}function h(n,e,o){o&&n.removeAllChildren(),n.loading=!1;o=_.map(e,function(e){e=S(e,n.is_device);return e.parent=n.hash,e.sortAlphabetically=!0,e}),o=t.addNavigation(o);_.forEach(o,function(e){e.is_device?e.on("active",function(){u.setPreferredBreadcrumb({id:e._parent.group_id})}):e.on("expand",v).on("collapse",y)}),n.showMore=e.paging&&e.paging.next&&function(){return e.paging.next().then(_.partial(h,n))}}function y(e){e.removeAllChildren()}function m(e,n){var n=n.mo,o=(l.detail(n,{withParents:!0}).then(function(e){return e.data}).then(D),_.get(r,"deviceId")||_.get(r,"groupId"));_.isUndefined(o)||n.id!==o||s.changeTitle({title:n.name},{skipTitleTranslation:!0})}function G(){return N()?o:f}function N(){return"devicemanagement"===n.getCurrentContextPath()}function A(e){e.forEach(C)}function C(e){e=S(e);e.parent="Groups",t.addNavigation(e).on("expand",v).on("collapse",y)}function D(e){var n=t.findNode(I(e));n&&n.update(S(e))}function x(e){e=t.findNode(I(e));e&&(e.collapse(),e.expand())}function I(n){return function(e){return e.group_id===n.id}}function S(e){var n=a.getGroupInfo(e),o=c.isDeviceOrChildDevice(e),o={group_id:e.id,closed:!0,hasChildren:!0,is_device:o,is_group:n.isGroup,is_dynamicGroup:n.isDynamicGroup,hasBrokerSource:n.hasBrokerSource,device:o?e:void 0,name:o?c.properName(e):e.name,priority:G(),path:"".concat(n.isGroup||n.isDynamicGroup?"group":"device","/").concat(e.id),sortAlphabetically:!n.isDynamicGroup,showMoreLabel:n.isDynamicGroup?d("Search more"):void 0};return _.assign(o,n.iconSpecs),o}}e.$inject=["$rootScope","$q","$routeParams","c8yNavigator","c8yGroups","c8yDevices","c8yBreadcrumbs","c8yDynamicGroups","c8yApplication","gettext","c8yTitle","c8yInventory"],angular.module("c8y.ui").factory("groupTypesHierarchyNavigator",e)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(
|
|
1
|
+
"use strict";!function(){function e(i,t,u,c,s,a,n,l,o,d,h,v,g,f,r,p){return{addAssetUI:function(){return r.open({component:"c8yGroupCreateAndAssignModal",ariaLabelledBy:"modal-title",ariaDescribedBy:"modal-body"}).result},editGroup:function(e){t.url("/group/".concat(e.id))},deleteGroup:function(e){return a.remove(e)},deleteGroupWithConfirmation:function(t){var n=0<_.get(t,"childAssets.references.length")||0<_.get(t,"childDevices.references.length"),e=o.isDynamicGroup(t),r=e&&!n?u.when():d.getItemsCount(t).then(function(e){n=0===e});return r.then(function(){return c({title:g("Delete group"),body:n||e?f.getString('You are about to delete group "{{name}}". This operation is irreversible. Do you want to proceed?',t):f.getString('You are about to delete group "{{name}}" and its subgroups recursively. This operation is irreversible. Do you want to proceed?',t),checkboxes:{cascade:{text:g("Also delete all devices inside this group and its subgroups."),checked:!1,showIf:function(){return!(n||e)}}},status:"danger",labels:{ok:g("Delete")}}).then(function(e){return o.isSmartGroupV2(t)?o.remove(t):a.remove(t,e)}).then(function(){return v.removeGroupNavigation(t)}).then(function(){return s.success(g("Group deleted."))})})},deleteDeviceWithConfirmation:function(n,e){var t=void 0===n.c8y_IsDevice,r=!_.isUndefined(n.childDevices)&&0<n.childDevices.references.length,o=function(){return!t&&!e&&r};return(r||e||t?u.when():h.getChildDevicesCount(n).then(function(e){r=0<e})).then(function(){return c({title:g("Delete device"),body:f.getString('You are about to delete device "{{name}}". This operation is irreversible. Do you want to proceed?',n),checkboxes:{cascade:{text:g("Also delete child devices of this device."),checked:o(),showIf:o},withDeviceUser:{text:f.getString('Also delete associated device owner "{{ owner }}".',n),checked:!1,showIf:function(){var e=n.c8y_IsDevice,t=n.owner&&l.isDeviceUser({id:n.owner});return Boolean(e&&t)}}},labels:{ok:g("Delete")},status:"danger"}).then(function(e){return a.remove(n,e)}).then(function(){return v.updateAllGroupsOfAChild(n)}).then(function(){return s.success(g("Device deleted."))})})},unassignDevice:function(r,o){var e={title:g("Unassign device"),body:f.getString('You are about to unassign device "{{name}}". Do you want to proceed?',o),status:"warning",size:"sm",labels:{ok:g("Unassign")}};return c(e).then(function(){return p.isApplicationAvailable().then(function(e){if(!e)return null;var e=r.id,t=o,n=u.when();try{return(n=i.get("smartRulesSvc")).listByContext(e).then(function(e){return u.all(e.map(function(e){return n.deactivate(e,t,!1)}))})}catch(e){return n}})}).then(function(){return a.removeChildAsset(r,o)}).then(function(){return v.updateGroupChildren(r)})},assignDevices:function(e){return r.open({component:"c8yGroupDeviceAssignmentModal",resolve:{currentGroup:function(){return e}}}).result.then(function(){return v.updateGroupChildren(e)})},getGroup:function(e){return a.detail(e).then(n.getResData)}}}e.$inject=["$injector","$location","$q","c8yModal","c8yAlert","c8yInventory","c8yBase","c8yUser","c8yDynamicGroups","c8yGroups","c8yDevices","groupTypesHierarchyNavigator","gettext","gettextCatalog","$uibModal","c8ySmartRulesAvailability"],angular.module("c8y.ui").factory("groupsHierarchySvc",e)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(a,
|
|
1
|
+
"use strict";!function(){function e(n,a,o,t,e,r){var i={minlength:r("Password must have at least 8 characters and no more than 32."),required:r("Required"),password_missmatch:r("Password confirmation does not match."),maxlength:r("Password must have at least 8 characters and no more than 32."),password_strength:r("Your password is not strong enough. Please include numbers, lower and upper case characters"),remote_error:r("Server error occurred."),email:r("Invalid email address."),password_change:r("Your password is expired. Please set a new password."),password_reset_token_expired:r("Password reset link expired. Please enter your email address to receive a new one."),tfa_pin_invalid:r("The code you entered is invalid. Please try again."),pattern_newPassword:window.c8yConfig.validation.password.message,internationalPhoneNumber:r('Must be a valid phone number (only digits, spaces, slashes ("/"), dashes ("-"), and plus ("+") allowed, for example: +49 9 876 543 210).'),phone_number_error:r("Could not update phone number."),pinAlreadySent:r("The verification code was already sent. For a new verification code, please click on the link above.")},r={password_changed:r("Password changed. You can now log in using new password."),password_reset_requested:r("Password reset request has been sent. Please check your email."),resend_sms:r("Verification code SMS resent.")},d={LOGIN:"login",PASSWORD_RESET:"password_reset",NEW_PASSWORD:"new_password",PHONE_NUMBER:"phone_number",SMS_TOKEN:"sms_token"},c={};function s(e){return e&&e.recoverPassword?d.NEW_PASSWORD:d.LOGIN}function u(e){var r,s=e.headers("passwordresettoken");return s&&(o.setRecoverPassToken(s),r={form:d.NEW_PASSWORD,msg:["warning",i,"password_change"]}),e.headers("tfatokenexpired")&&(r={form:d.SMS_TOKEN}),e.headers("pinalreadysent")&&(r={form:d.SMS_TOKEN,msg:["warning",i,"pinAlreadySent"]}),e.headers("NoPhoneHeader")&&!o.isSupportUser()&&(r={form:d.PHONE_NUMBER,keepCredentials:!0}),e.action=r,a.reject(e)}return c[d.NEW_PASSWORD]=function(e,r){var s=e.newPassword,e=e.newPasswordConfirm,n=s.$modelValue===e.$modelValue,r=!r||!r.enforcePasswordStrength||"GREEN"===(r.passwordStrength||"").toUpperCase();e.$dirty&&e.$setValidity("password_missmatch",n);s.$dirty&&(s.$error.pattern||s.$error.required?s.$setValidity("password_strength",!0):s.$setValidity("password_strength",r))},{MESSAGES:{ERROR:i,SUCCESS:r},FORMS:d,initializing:o.initializing.then(s,s),login:function(e,r,s,n){return t.login(e,r,s,n).catch(u)},showTenant:function(){return e.getFlag("isLocal")||e.getFlag("showTenant")},resetPassword:o.resetPasword,changePassword:o.changePasswordWithResetToken,savePhoneNumber:t.savePhoneNumber,verifyTFACode:o.verifyTFACode,resendTFASms:function(){return o.verifyTFACode("0").catch(function(e){return 403===e.status?e:a.reject(e)})},validateForm:function(e,r){var s=e.$name.replace("form_",""),s=c[s]||_.noop;return n(_.partial(s,e,r),10)},mustEnforcePasswordStrength:o.mustEnforcePasswordStrength,getPasswordMinGreenLength:o.getPasswordMinGreenLength,getLoginOptions:o.getLoginOptions}}e.$inject=["$timeout","$q","c8yAuth","c8yUser","c8yBase","gettext"],angular.module("c8y.ui").factory("c8yLoginService",e)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(
|
|
1
|
+
"use strict";!function(){function e(i,e,l,s,c,u,d,p){var m=this;this.downloadReportForDevice=function(e,t,r,n){t=_.get(t,"id",t),r=_(r).map(_.partial(m.createPairFromSeries,t)).value();return new m.Downloader(e,n,r).start()},this.downloadReportForDatapoints=function(e,t,r){t=_.map(t,m.createPairFromDp);return t.length?new m.Downloader(e,r,t).start():i.reject(new Error(d("At least 1 data point must be selected")))},this.createPairFromSeries=function(e,t){return{source:e,fragmentType:t}},this.createPairFromDp=function(e){return{source:e.__target.id,valueFragmentType:e.fragment}},this.generateFileName=function(e,t){if(_.isEmpty(e.source&&t)||_.isEmpty(e.valueFragmentType||e.fragmentType))throw new Error("Unable to generate a file name for given data");return[e.source,e.valueFragmentType||e.fragmentType,t].join(".")},this.Downloader=function(r,n,e){var a=this,t=_.uniqBy(e,function(e){return JSON.stringify(e)});function o(e){return{text:d("Access denied."),type:"danger",detailedData:e}}this.downloadReports=function(){var e=_(t).map(a.downloadReportForPair).value();return i.all(e).then(a.onDownloads).catch(a.onFail)},this.start=function(){return c({templateUrl:":::PLUGIN_PATH:::/ui/views/measurementsReport.html",title:d("Generating report"),controller:["$scope","$timeout",function(n,o){n.completed=0,n.total=t.length,n.reportFileName="report.zip",n.close=function(){var e,t,r;void 0!==window.navigator.msSaveBlob?(e=n.blob,t=n.reportFileName,window.navigator.msSaveBlob(e,t)):(r=n.url,o(function(){window.URL.revokeObjectURL(r)},5e3)),n.$close()},a.scope=n,a.downloadReports()}]})},this.downloadReportForPair=function(e,t){t=a.getFilter(e,t);return l.list(t,r).then(_.partial(a.onDownload,e)).catch(_.partial(a.onAsyncResult,e))},this.onDownload=function(e,t){return a.scope.completed+=1,t.name=m.generateFileName(e,r.name),t},this.onAsyncResult=function(e,t){return t.async?(a.scope.completed+=1,null):i.reject(t)},this.onFail=function(e){a.scope.$dismiss(),function(r){var n=i.defer();{var e;403===r.status?r.data instanceof Blob?((e=new FileReader).addEventListener("loadend",function(e){try{var t=JSON.parse(_.get(e,"srcElement.result"));n.resolve({type:"danger",text:p.getString(t.message),detailedData:t})}catch(e){n.resolve(o(r))}}),e.readAsText(r.data)):n.resolve(o(r)):n.resolve({type:"danger",text:d("An error occurred. Please try again later."),detailedData:r})}return n.promise}(e).then(u.add)},this.onDownloads=function(e){var t=e.filter(_.identity),e=e.length-t.length;return 0<e&&(e=p.getPlural(e,"You will get a CSV/Excel file for 1 series via email.","You will get CSV/Excel files for {{$count}} series via email.",{}),u.success(e)),0===t.length?i.when():s.zipFiles(t).then(function(e){a.scope.blob=e,a.scope.url=window.URL.createObjectURL(e)})},this.getFilter=function(e,t){t=_.isArray(n)?n[t]:n;return _.merge({},t,e)}}}e.$inject=["$q","$rootScope","c8yMeasurements","c8yZip","c8yModal","c8yAlert","gettext","gettextCatalog"],angular.module("c8y.ui").service("MeasurementsReportSvc",e)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(o,s,e){var n={templateUrl:":::PLUGIN_PATH:::/ui/views/modal.html",controller:["$scope","$uibModalInstance",function(e,c){var t={success:"check-circle",warning:"exclamation-triangle",danger:"exclamation-circle",info:"info-circle"};e.statusIcon=function(){return t[e.status]},e.colorStatusClass=function(){return"alert-".concat(e.status)},e.checkboxes=_.reduce(e.checkboxes,function(e,c,t){
|
|
1
|
+
"use strict";!function(){function e(o,s,e){var n={templateUrl:":::PLUGIN_PATH:::/ui/views/modal.html",controller:["$scope","$uibModalInstance",function(e,c){var t={success:"check-circle",warning:"exclamation-triangle",danger:"exclamation-circle",info:"info-circle"};e.statusIcon=function(){return t[e.status]},e.colorStatusClass=function(){return"alert-".concat(e.status)},e.checkboxes=_.reduce(e.checkboxes,function(e,c,t){c=_.cloneDeep(c);return c.key=t,e.push(c),e},[]),e.vals=_.reduce(e.checkboxes,function(e,c){return e[c.key]=c.checked,e},{}),e.showIf=function(e){return e.showIf()},e.close=c.close,e.dismiss=c.dismiss}]},a={ok:e("Confirm"),cancel:e("Cancel")};return function(e){var c=_.assign(_.cloneDeep(n),e),t=c.scope||s.$new(!0);return t.labels=_.assign(_.cloneDeep(a),c.labels||{}),t.title=c.title||t.title,t.body=c.body||t.body,t.checkboxes=c.checkboxes||t.checkboxes,t.status=c.status||"info",t.dismissValue=c.dismissValue,e.allowHTML||(t.title=_.escape(t.title),t.body=_.escape(t.body)),c.scope=t,c.ariaLabelledBy="modal-title",c.ariaDescribedBy="modal-body",o.open(c).result}}e.$inject=["$uibModal","$rootScope","gettext"],angular.module("c8y.ui").factory("c8yModal",e)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function n(e,n,t,
|
|
1
|
+
"use strict";!function(){function n(e,n,t,s){var l={red:{strength:n("weak"),hexColor:"var(--c8y-palette-status-danger)",icon:"exclamation-circle"},yellow:{strength:n("medium"),hexColor:"var(--c8y-palette-status-warning)",icon:"warning"},green:{strength:n("strong"),hexColor:"var(--c8y-palette-status-success)",icon:"check-circle"}};function g(){return g._calling||(g._calling=t.getStrongPasswordSettings(),g._calling.finally(function(){g._calling=void 0})),g._calling}return function(){var t,r=e.defer();return g().then(function(n){var e=n.enforceStrength,t=n.greenMinLength,n=n.strengthValidity;_.isNumber(t)&&(e||n)&&o(t),r.resolve()}),{getDefaultMinGreenLength:function(){return 8},setMinGreenLength:o,getMinGreenLength:function(){return n().then(function(){return _.isUndefined(t)?8:t})},getStrengthColor:function(r){return function(e){return n().then(function(){var n=!0;return n=_.isUndefined(t)?n:e.length>=t})}(r).then(function(n){e=r;var e=_.filter([i(e),c(e),a(e),u(e)]).length,t="red";return 3<e&&n?t="green":3<=e&&(t="yellow"),t})},hasLowerCase:i,hasUpperCase:c,hasNumbers:a,hasSpecialChars:u,getStrengthForColor:function(n){return l[_.toLower(n)].strength},getHexColorForColor:function(n){return l[_.toLower(n)].hexColor},getIconForColor:function(n){return l[_.toLower(n)].icon}};function o(n){t=n,s.setUserPasswordValidationParams(t)}function n(){return _.isUndefined(t)||r.resolve(),r.promise}function i(n){return-1!==n.search(/[a-z]/)}function c(n){return-1!==n.search(/[A-Z]/)}function a(n){return-1!==n.search(/[0-9]/)}function u(n){return-1!==n.search(/[^0-9a-zA-Z]+/)}}}n.$inject=["$q","gettext","c8yLoginOptions","c8ySettings"],angular.module("c8y.ui").factory("passwordStrengthCheckerFactory",n)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(e,s,t,
|
|
1
|
+
"use strict";!function(){function e(e,s,t,u,o){function m(e,t,n,a){e.send=function(){n.send(e.formdata.name,e.formdata.email,e.formdata.subject,e.formdata.msg).then(function(){t.close(),a.success(o("Support request sent"))})},e.dismiss=t.dismiss}return{send:function(a,o,c,r){var i=e.defer();return u.current().then(function(e){var t="".concat(e.tenant,": ").concat(a||"".concat(e.firstName," ").concat(e.lastName)||e.name),e=o||e.email,e=$.param({name:t||void 0,email:e||void 0,description:(t=r,"".concat(navigator.userAgent," \n").concat(window.location.href,"\n ---------------\n").concat(t)),subject:c}),n=$('<iframe id="#zendeskiframe">');n.attr("src","https://cumulocity.zendesk.com/requests/embedded/create/?"+e).on("load",function(){n.remove(),i.resolve()}),n.appendTo("body")}),i.promise},open:function(n,a,o,c){var r=t.$new(!0),i={size:"lg",scope:r,ariaLabelledBy:"modal-title",ariaDescribedBy:"modal-body",templateUrl:":::PLUGIN_PATH:::/ui/views/support.html",controller:["$scope","$uibModalInstance","c8ySupport","c8yAlert",m]};return u.current().then(function(e){r.formdata={};var t=r.formdata;return t.name=n||"".concat(e.firstName," ").concat(e.lastName),t.email=a||e.email,t.subject=o,t.msg=c,s.open(i).result})}}}e.$inject=["$q","$uibModal","$rootScope","c8yUser","gettext"],angular.module("c8y.ui").factory("c8ySupport",e)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function n(
|
|
1
|
+
"use strict";!function(){function n(a){function c(n){return n.data.c8y_ui||{}}function o(n,t){return t[n]||[]}function f(t,n){var r=null;return _.isArray(n)&&n.forEach(function(n){return n.id!==t||(r=n,!1)}),r}function u(n,t){return a.detail(t).then(c).then(angular.bind({},o,n))}return{detail:function(n,t,r){return u(n,t).then(angular.bind({},f,r))},list:u,save:function(i,n,e){return a.detail(n).then(function(n){var t=n.data,n=c(n),r=o(i,n),u=f(e.id,r);return u?_.assign(u,e):r.push(e),n[i]=r,t.c8y_ui=n,a.save(t)})},remove:function(u,n,i){var e;return a.detail(n).then(function(n){return(e=n.data).c8y_ui||{}}).then(angular.bind({},o,u)).then(function(n){var r,t=null;return n.forEach(function(n,t){return n.id!==i.id||(r=t,!1)}),_.isUndefined(r)||(n.splice(r,1),e.c8y_ui[u]=n,t=a.save(e)),t})}}}n.$inject=["c8yInventory"],angular.module("c8y.ui").factory("uiConfig",n)}();
|