@c8y/ng1-modules 1023.97.3 → 1023.97.7

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.
@@ -1 +1 @@
1
- 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 ownKeys(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(e){_defineProperty(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,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(e,t){var r;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(r="Object"===(r={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}(()=>{function e(r,e,t,n,o,i,c,a,u,l){var f=_.memoize(function(){return e.all({configProperties:(()=>{var e=P("properties",[]);return _.filter(e,"__active").map(function(e){return angular.copy(e)})})(),discoveredProperties:(()=>P("allowDisplayAndEditKnownProperties",!1)?o.list().then(function(e){return _.filter(e,d)}).then(function(e){return _.filter(e,b)}):[])()}).then(function(e){var t=e.configProperties,e=e.discoveredProperties;return _(t).concat(e).uniqBy(function(e){return"".concat(_.get(e,"id"),"_").concat(_.get(e,"config._id"))}).reject(j).value()})});function s(){var e;f.cache.clear(),r.$emit("stopRealtime"),e=r.child.config.device.id,n.detailRealtime(e,r,void 0,{withChildren:!0}).then(function(e){r.managedObject=e}).then(y).then(p).then(h)}function y(){return f().then(function(e){i.attach(r.managedObject,e)})}function p(){return f().then(function(e){return o.getSchema(e)}).then(function(e){r.schema=e})}function d(e){return 1===e.keyPath.length}function b(e){return _.has(r.managedObject,e.keyPath[0])}function h(){m(!0)}function m(t){return e.all({properties:f(),options:(e=>{var t={};return e&&(t.readonly=e,t.feedback=!1,t.disableSuccessState=!0,t.disableErrorState=!0),t})(t)}).then(function(e){var t=e.properties;return o.getForm(t,e.options)}).then(function(e){r.form=e,r.editable=!t})}function g(e){_.forEach(e,function(e){e=_slicedToArray(e.keyPath,1)[0];_.isUndefined(r.managedObject[e])&&(r.managedObject[e]=null)}),f.cache.clear(),p().then(function(){return m(!1)})}function v(){t.getContext().id===r.child.config.device.id&&a.changeTitle({title:_.get(r,"managedObject.name")||""},{skipTitleTranslation:!0})}function P(e,t){return _.get(r.child.config.options,e,t)}function j(e){var t=P("hiddenPropertiesKeyPaths",[]);return!!_.includes(t,e.keyPath[0])}r.$watch("child.config.options",s),_.assign(r,{startEdit:function(){r.managedObject=_.cloneDeep(r.managedObject),y(),m(!1)},canAddProperties:function(){return P("allowDisplayAndEditKnownProperties",!1)},addProperties:function(){var e={includeTree:!1,includeTreeChildren:!1,showComputed:!1,showRootPropertiesOnly:!0,managedObject:r.managedObject,hideExistingInMO:!0};return l.openSelector(e).then(g)},save:function(){return f().then(function(e){return _.reject(e,{computed:!0})}).then(function(e){return _objectSpread({id:r.managedObject.id},_.pick(r.managedObject,_.map(e,"keyPath[0]")))}).then(n.save).then(v).then(function(){return c.success(u("Changes saved."))}).then(s)},cancelEdit:function(){s()}})}e.$inject=["$scope","$q","c8yUiUtil","c8yInventory","c8yPropertiesLibrary","c8yComputedProperties","c8yAlert","c8yTitle","gettext","SchemaPropertiesSvc"],angular.module("c8y.parts.assetPropertyWidget").controller("assetPropertyWidgetCtrl",e)})();
1
+ 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 ownKeys(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(e){_defineProperty(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,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(e,t){var r;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(r="Object"===(r={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}(()=>{function e(r,e,t,n,o,i,c,a,u,l){var f=_.memoize(function(){return e.all({configProperties:(()=>{var e=j("properties",[]);return _.filter(e,"__active").map(function(e){return angular.copy(e)})})(),discoveredProperties:(()=>j("allowDisplayAndEditKnownProperties",!1)?o.list().then(function(e){return _.filter(e,h)}).then(function(e){return _.filter(e,b)}):[])()}).then(function(e){var t=e.configProperties,e=e.discoveredProperties;return _(t).concat(e).uniqBy(function(e){return"".concat(_.get(e,"id"),"_").concat(_.get(e,"config._id"))}).reject(O).value()})}),s=new Set;function y(){var e;f.cache.clear(),r.$emit("stopRealtime"),e=r.child.config.device.id,n.detailRealtime(e,r,void 0,{withChildren:!0}).then(function(e){r.managedObject=e}).then(d).then(p).then(m)}function d(){return f().then(function(e){s.add(r.managedObject),i.attach(r.managedObject,e)})}function p(){return f().then(function(e){return o.getSchema(e)}).then(function(e){r.schema=e})}function h(e){return 1===e.keyPath.length}function b(e){return _.has(r.managedObject,e.keyPath[0])}function m(){g(!0)}function g(t){return e.all({properties:f(),options:(e=>{var t={};return e&&(t.readonly=e,t.feedback=!1,t.disableSuccessState=!0,t.disableErrorState=!0),t})(t)}).then(function(e){var t=e.properties;return o.getForm(t,e.options)}).then(function(e){r.form=e,r.editable=!t})}function v(e){_.forEach(e,function(e){e=_slicedToArray(e.keyPath,1)[0];_.isUndefined(r.managedObject[e])&&(r.managedObject[e]=null)}),f.cache.clear(),p().then(function(){return g(!1)})}function P(){t.getContext().id===r.child.config.device.id&&a.changeTitle({title:_.get(r,"managedObject.name")||""},{skipTitleTranslation:!0})}function j(e,t){return _.get(r.child.config.options,e,t)}function O(e){var t=j("hiddenPropertiesKeyPaths",[]);return!!_.includes(t,e.keyPath[0])}r.$watch("child.config.options",y),r.$on("$destroy",function(){s.forEach(function(e){return i.detach(e)}),s.clear()}),_.assign(r,{startEdit:function(){r.managedObject=_.cloneDeep(r.managedObject),d(),g(!1)},canAddProperties:function(){return j("allowDisplayAndEditKnownProperties",!1)},addProperties:function(){var e={includeTree:!1,includeTreeChildren:!1,showComputed:!1,showRootPropertiesOnly:!0,managedObject:r.managedObject,hideExistingInMO:!0};return l.openSelector(e).then(v)},save:function(){return f().then(function(e){return _.reject(e,{computed:!0})}).then(function(e){return _objectSpread({id:r.managedObject.id},_.pick(r.managedObject,_.map(e,"keyPath[0]")))}).then(n.save).then(P).then(function(){return c.success(u("Changes saved."))}).then(y)},cancelEdit:function(){y()}})}e.$inject=["$scope","$q","c8yUiUtil","c8yInventory","c8yPropertiesLibrary","c8yComputedProperties","c8yAlert","c8yTitle","gettext","SchemaPropertiesSvc"],angular.module("c8y.parts.assetPropertyWidget").controller("assetPropertyWidgetCtrl",e)})();
@@ -1 +1 @@
1
- function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,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(e,t){var r;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(r="Object"===(r={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],s=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}function _arrayWithHoles(e){if(Array.isArray(e))return e}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 e(i,n,o,a,t,r,c,s,l){var u=20,d={};function f(e){i.properties=[],d={},i.renderedDevices=d,i.parentId=e.device&&e.device.id||e.options&&e.options.parentId,s.list().then(angular.bind(l,l.filterAndExtendWithStoredProperties,i.child.config.options.properties)).then(p).then(function(e){i.properties=e,i.parentId?(e=>o.detailRealtime(e,i))(i.parentId).then(y).then(h):i.devices=_.map(i.devices,m)})}function p(e){return _.filter(e,"__active")}function y(e){t.isGroup(e)||(i.devices||(i.devices=[]),i.devices.push(e))}function h(){return e=i.parentId,t={pageSize:u},r=a.createListMapper(function(e){return e.managedObject}),n.all([g(e,"childAssets",t).then(r),g(e,"childDevices",t).then(r)]).then(a.combineLists).then(v);var e,t,r}function g(t,r,e){var n=a.cleanListCallback("references",function(e){return g(t,r,e)},e,!0);return o.children(t,r,{params:e}).then(n)}function v(e){i.devices||(i.devices=[]),e.forEach(function(e){o.detailRealtime(e,i),i.devices.push(e)}),i.paging=e.paging}function e(e,t){for(var r=e,n=0;n<(t||[]).length&&null!=r;n++)r=r[t[n]];return r}function b(e){var t,r,e=_slicedToArray((e=_.isArray(e)?e.join("."):e).match(/^(-?)(.*)$/),3),n=e[1],e=e[2],n="-"===n?"desc":"asc";-1<e.indexOf("lastMeasurement")?i.devices=_.orderBy(i.devices,[function(e){if("object"!==_typeof(e[r])&&""!==e[r]){e=String(e[r]).split("|");if(2===e.length)return moment(e[0],"L, LTS").toDate()}},(t=r=e,function(e){if("object"!==_typeof(e[t])&&""!==e[t])return 2===(e=String(e[t]).split("|")).length?parseFloat(e[1]):parseFloat(e[0])})],[n,n]):i.devices=_.orderBy(i.devices,e,n),i.$broadcast("c8yScrollLoad::refresh")}function m(e){return c.attach(e),r.attach(e,i.properties),e}i.$watch("child.config",function(e,t){e&&!_.isEqual(e,t)&&f(i.child.config)}),_.assign(i,{getArrows:function(e){return!!i.child.config.options.arrows[e]},orderBy:b,orderDownBy:function(e){_.isArray(e)&&(e=e.join("."));b("-".concat(e))},loadNext:function(){i.paging.loading=!0,i.paging.next().then(v).finally(function(){i.paging.loading=!1})},buildFields:e,getAssetLinkIfNeeded:function(e,t){var r=null;(e=>e===_.findIndex(i.properties,function(e){e=e.renderType;return _.isUndefined(e)}))(t)&&(r=l.getAssetLink(e));return r},setArrows:function(e){i.child.config.options.arrows[e]=!i.child.config.options.arrows[e]},renderedDevices:d,renderDevice:function(e){var t=e.id;d[t]||(m(e),d[t]=!0)},renderedAllDevices:function(){return Boolean(i.devices&&i.devices.length===_.keys(d).length)}}),f(i.child.config)}e.$inject=["$scope","$q","c8yInventory","c8yBase","c8yGroups","c8yComputedProperties","c8yObjectActions","c8yPropertiesLibrary","assetsSvc"],angular.module("c8y.assets").controller("AssetsCtrl",e)})();
1
+ function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,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(e,t){var r;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(r="Object"===(r={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],s=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}function _arrayWithHoles(e){if(Array.isArray(e))return e}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 e(i,n,o,a,t,r,c,s,l){var u=20,d={},f=new Set;function p(e){i.properties=[],d={},i.renderedDevices=d,i.parentId=e.device&&e.device.id||e.options&&e.options.parentId,s.list().then(angular.bind(l,l.filterAndExtendWithStoredProperties,i.child.config.options.properties)).then(y).then(function(e){i.properties=e,i.parentId?(e=>o.detailRealtime(e,i))(i.parentId).then(h).then(g):i.devices=_.map(i.devices,A)})}function y(e){return _.filter(e,"__active")}function h(e){t.isGroup(e)||(i.devices||(i.devices=[]),i.devices.push(e))}function g(){return e=i.parentId,t={pageSize:u},r=a.createListMapper(function(e){return e.managedObject}),n.all([v(e,"childAssets",t).then(r),v(e,"childDevices",t).then(r)]).then(a.combineLists).then(b);var e,t,r}function v(t,r,e){var n=a.cleanListCallback("references",function(e){return v(t,r,e)},e,!0);return o.children(t,r,{params:e}).then(n)}function b(e){i.devices||(i.devices=[]),e.forEach(function(e){o.detailRealtime(e,i),i.devices.push(e)}),i.paging=e.paging}function e(e,t){for(var r=e,n=0;n<(t||[]).length&&null!=r;n++)r=r[t[n]];return r}function m(e){var t,r,e=_slicedToArray((e=_.isArray(e)?e.join("."):e).match(/^(-?)(.*)$/),3),n=e[1],e=e[2],n="-"===n?"desc":"asc";-1<e.indexOf("lastMeasurement")?i.devices=_.orderBy(i.devices,[function(e){if("object"!==_typeof(e[r])&&""!==e[r]){e=String(e[r]).split("|");if(2===e.length)return moment(e[0],"L, LTS").toDate()}},(t=r=e,function(e){if("object"!==_typeof(e[t])&&""!==e[t])return 2===(e=String(e[t]).split("|")).length?parseFloat(e[1]):parseFloat(e[0])})],[n,n]):i.devices=_.orderBy(i.devices,e,n),i.$broadcast("c8yScrollLoad::refresh")}function A(e){return c.attach(e),f.add(e),r.attach(e,i.properties),e}i.$watch("child.config",function(e,t){e&&!_.isEqual(e,t)&&p(i.child.config)}),i.$on("$destroy",function(){f.forEach(function(e){return r.detach(e)}),f.clear()}),_.assign(i,{getArrows:function(e){return!!i.child.config.options.arrows[e]},orderBy:m,orderDownBy:function(e){_.isArray(e)&&(e=e.join("."));m("-".concat(e))},loadNext:function(){i.paging.loading=!0,i.paging.next().then(b).finally(function(){i.paging.loading=!1})},buildFields:e,getAssetLinkIfNeeded:function(e,t){var r=null;(e=>e===_.findIndex(i.properties,function(e){e=e.renderType;return _.isUndefined(e)}))(t)&&(r=l.getAssetLink(e));return r},setArrows:function(e){i.child.config.options.arrows[e]=!i.child.config.options.arrows[e]},renderedDevices:d,renderDevice:function(e){var t=e.id;d[t]||(A(e),d[t]=!0)},renderedAllDevices:function(){return Boolean(i.devices&&i.devices.length===_.keys(d).length)}}),p(i.child.config)}e.$inject=["$scope","$q","c8yInventory","c8yBase","c8yGroups","c8yComputedProperties","c8yObjectActions","c8yPropertiesLibrary","assetsSvc"],angular.module("c8y.assets").controller("AssetsCtrl",e)})();
@@ -17278,6 +17278,9 @@ msgstr "Die Spalte „Ziel“ zeigt den Wert an, der im Zielfeld des Datenpunkts
17278
17278
  msgid "The URL format is invalid. The only supported protocols are http, https and opc.tcp."
17279
17279
  msgstr "Das Format der URL ist ungültig. Es werden nur die Protokolle http, https und opc.tcp unterstützt."
17280
17280
 
17281
+ msgid "The URL must not exceed {{ requiredLength }} characters."
17282
+ msgstr "Die URL darf nicht länger als {{ requiredLength }} Zeichen sein."
17283
+
17281
17284
  msgid "The URL of the microservice is misconfigured. A context path is missing."
17282
17285
  msgstr "Die URL des Microservices ist falsch konfiguriert. Es fehlt ein Kontextpfad."
17283
17286
 
@@ -17327,6 +17327,9 @@ msgstr "La columna «Destino» muestra el valor definido en el campo de destino
17327
17327
  msgid "The URL format is invalid. The only supported protocols are http, https and opc.tcp."
17328
17328
  msgstr "El formato de URL no es válido. Los únicos protocolos admitidos son http, https y opc.tcp."
17329
17329
 
17330
+ msgid "The URL must not exceed {{ requiredLength }} characters."
17331
+ msgstr "La URL no debe superar los {{ requiredLength }} caracteres."
17332
+
17330
17333
  msgid "The URL of the microservice is misconfigured. A context path is missing."
17331
17334
  msgstr "La dirección URL del microservicio no se ha configurado correctamente. Falta una ruta de contexto."
17332
17335
 
@@ -17298,6 +17298,9 @@ msgstr "La colonne « Cible » affiche la valeur définie dans le champ « Cible
17298
17298
  msgid "The URL format is invalid. The only supported protocols are http, https and opc.tcp."
17299
17299
  msgstr "Le format de l'URL n'est pas valide. Les seuls protocoles pris en charge sont http, https et opc.tcp."
17300
17300
 
17301
+ msgid "The URL must not exceed {{ requiredLength }} characters."
17302
+ msgstr "L'URL ne doit pas dépasser {{ requiredLength }} caractères."
17303
+
17301
17304
  msgid "The URL of the microservice is misconfigured. A context path is missing."
17302
17305
  msgstr "L'URL du microservice n'est pas configurée correctement. Un chemin de contexte est manquant."
17303
17306
 
@@ -17288,6 +17288,9 @@ msgstr "ターゲット列にはデータ ポイントのターゲット フィ
17288
17288
  msgid "The URL format is invalid. The only supported protocols are http, https and opc.tcp."
17289
17289
  msgstr "URL 形式が無効です。サポートされているプロトコルは http、https、opc.tcp のみです。"
17290
17290
 
17291
+ msgid "The URL must not exceed {{ requiredLength }} characters."
17292
+ msgstr ""
17293
+
17291
17294
  msgid "The URL of the microservice is misconfigured. A context path is missing."
17292
17295
  msgstr "マイクロサービスの URL が適切に設定されていません。コンテキスト パスがありません。"
17293
17296
 
@@ -17311,6 +17311,9 @@ msgstr "‘대상’ 열에는 데이터 포인트의 대상 필드에 설정된
17311
17311
  msgid "The URL format is invalid. The only supported protocols are http, https and opc.tcp."
17312
17312
  msgstr "URL 형식이 유효하지 않습니다. 유일하게 지원되는 프로토콜은 http, https 및 opc.tcp입니다."
17313
17313
 
17314
+ msgid "The URL must not exceed {{ requiredLength }} characters."
17315
+ msgstr "URL은 {{ requiredLength }} 자를 초과해서는 안 됩니다."
17316
+
17314
17317
  msgid "The URL of the microservice is misconfigured. A context path is missing."
17315
17318
  msgstr "마이크로서비스의 URL이 잘못 구성되었습니다. 컨텍스트 경로가 없습니다."
17316
17319
 
@@ -17340,6 +17340,9 @@ msgstr "In de kolom 'Doel' wordt de waarde weergegeven die is ingesteld in het d
17340
17340
  msgid "The URL format is invalid. The only supported protocols are http, https and opc.tcp."
17341
17341
  msgstr "Het URL-formaat is ongeldig. De enige ondersteunde protocollen zijn http, https en opc.tcp."
17342
17342
 
17343
+ msgid "The URL must not exceed {{ requiredLength }} characters."
17344
+ msgstr "De URL mag niet langer zijn dan {{ requiredLength }} tekens."
17345
+
17343
17346
  msgid "The URL of the microservice is misconfigured. A context path is missing."
17344
17347
  msgstr "De URL van de microservice is onjuist geconfigureerd. Er ontbreekt een contextpad."
17345
17348
 
@@ -17391,6 +17391,9 @@ msgstr "W kolumnie „Wartość docelowa” pokazuje się wartość ustawiona w
17391
17391
  msgid "The URL format is invalid. The only supported protocols are http, https and opc.tcp."
17392
17392
  msgstr "Format adresu URL jest nieprawidłowy. Jedyne obsługiwane protokoły to http, https i opc.tcp."
17393
17393
 
17394
+ msgid "The URL must not exceed {{ requiredLength }} characters."
17395
+ msgstr "Adres URL nie może przekraczać {{ requiredLength }} znaków."
17396
+
17394
17397
  msgid "The URL of the microservice is misconfigured. A context path is missing."
17395
17398
  msgstr "Adres URL mikrousługi jest niepoprawnie skonfigurowany. Brak ścieżki kontekstu."
17396
17399
 
@@ -17339,6 +17339,9 @@ msgstr "A coluna \"Alvo\" mostra o valor definido no campo \"Alvo\" do Ponto de
17339
17339
  msgid "The URL format is invalid. The only supported protocols are http, https and opc.tcp."
17340
17340
  msgstr "O formato do URL é inválido! Os únicos protocolos suportados são http, https e opc.tcp."
17341
17341
 
17342
+ msgid "The URL must not exceed {{ requiredLength }} characters."
17343
+ msgstr "A URL não deve ter mais do que {{ requiredLength }} caracteres."
17344
+
17342
17345
  msgid "The URL of the microservice is misconfigured. A context path is missing."
17343
17346
  msgstr "O URL do microsserviço está configurado incorretamente. Falta um caminho de contexto."
17344
17347
 
@@ -17315,6 +17315,9 @@ msgstr "“目标”列显示数据点目标字段中设置的值"
17315
17315
  msgid "The URL format is invalid. The only supported protocols are http, https and opc.tcp."
17316
17316
  msgstr "URL 格式无效。仅支持 http、https 和 opc.tcp 协议。"
17317
17317
 
17318
+ msgid "The URL must not exceed {{ requiredLength }} characters."
17319
+ msgstr "URL 长度不得超过 {{ requiredLength }} 个字符。"
17320
+
17318
17321
  msgid "The URL of the microservice is misconfigured. A context path is missing."
17319
17322
  msgstr "微服务的 URL 配置错误。缺少上下文路径。"
17320
17323
 
@@ -17312,6 +17312,9 @@ msgstr "「目标」栏位显示数据点的目标栏位所设置的值"
17312
17312
  msgid "The URL format is invalid. The only supported protocols are http, https and opc.tcp."
17313
17313
  msgstr "URL 格式无效。仅支持 http、https 和 opc.tcp 协议。"
17314
17314
 
17315
+ msgid "The URL must not exceed {{ requiredLength }} characters."
17316
+ msgstr "網址長度不得超過 {{ requiredLength }} 個字元。"
17317
+
17315
17318
  msgid "The URL of the microservice is misconfigured. A context path is missing."
17316
17319
  msgstr "微服务的 URL 配置错误。缺少上下文路径。"
17317
17320
 
@@ -1 +1 @@
1
- function _slicedToArray(t,n){return _arrayWithHoles(t)||_iterableToArrayLimit(t,n)||_unsupportedIterableToArray(t,n)||_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(t,n){var r;if(t)return"string"==typeof t?_arrayLikeToArray(t,n):"Map"===(r="Object"===(r={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,n):void 0}function _arrayLikeToArray(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}function _iterableToArrayLimit(t,n){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var e,o,a,i,c=[],u=!0,l=!1;try{if(a=(r=r.call(t)).next,0===n){if(Object(r)!==r)return;u=!1}else for(;!(u=(e=a.call(r)).done)&&(c.push(e.value),c.length!==n);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}function _arrayWithHoles(t){if(Array.isArray(t))return t}(()=>{function t(t,a,i){var c="action-bar-position",u="action-bar-no-wrap",l="action-bar-priority",f=0,s="right",r=[],n=[],y=[],e=[],m=[];return i.$on("$routeChangeSuccess",function(){m.length=0,n.forEach(function(t){return t()})}),{initSet:function(t){r.push(t);var n=(t=>(t=t.$element.find("ng-transclude > *").toArray(),_(t).flatten().compact().value()))(t).map(o);y.forEach(function(t){return t(n)}),(t._actionBarElements=n).forEach(function(t){return m.push(t)}),i.$emit("c8yActionBarChanged")},destroySet:function(n){_.remove(r,n),n._actionBarElements.forEach(function(t){return _.remove(m,t)}),e.forEach(function(t){return t(n._actionBarElements)}),i.$emit("c8yActionBarChanged")},onClean:function(t){n.push(t)},onAdd:function(t){return y.push(t),m},onRemove:function(t){e.push(t)},addLiveAction:function(t){var n=t.action,r=t.run,e=o();function o(){var t=i.$new(!0);t.action=n,t.run=r;t=_slicedToArray(a('\n <li action-bar-position="more">\n <button title="{{ action.text | translate }}" class="btn btn-link" ng-click="run()">\n <i c8y-icon="{{action.icon}}" ng-show="action.icon"></i>\n {{action.text | translate}}\n </button>\n </li>\n ')(t),1)[0];return t.setAttribute(c,n.position||"more"),angular.element(t).data("action",n),t}e.createCopy=o,m.push(e),y.forEach(function(t){return t([e])}),i.$emit("c8yActionBarChanged")},elements:m};function o(t){var n=t.getAttribute(l)||f,r=t.getAttribute(c)||s,e="LI"===t.tagName,o="true"===t.getAttribute(u),e=e||o?t:document.createElement("li");return e.setAttribute(l,n),e!==t&&e.appendChild(t),e.setAttribute(c,r),e}}t.$inject=["$timeout","$compile","$rootScope"],angular.module("c8y.ui").factory("c8yActionBar",t)})();
1
+ function _slicedToArray(t,n){return _arrayWithHoles(t)||_iterableToArrayLimit(t,n)||_unsupportedIterableToArray(t,n)||_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(t,n){var r;if(t)return"string"==typeof t?_arrayLikeToArray(t,n):"Map"===(r="Object"===(r={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,n):void 0}function _arrayLikeToArray(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}function _iterableToArrayLimit(t,n){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var e,o,a,i,c=[],u=!0,l=!1;try{if(a=(r=r.call(t)).next,0===n){if(Object(r)!==r)return;u=!1}else for(;!(u=(e=a.call(r)).done)&&(c.push(e.value),c.length!==n);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}function _arrayWithHoles(t){if(Array.isArray(t))return t}(()=>{function t(t,a,i){var c="action-bar-position",u="action-bar-no-wrap",l="action-bar-priority",f=0,s="right",r=[],n=[],y=[],e=[],h=[],m=[];return i.$on("$routeChangeSuccess",function(){h.length=0,m.forEach(function(t){return t.$destroy()}),m.length=0,n.forEach(function(t){return t()})}),{initSet:function(t){r.push(t);var n=(t=>(t=t.$element.find("ng-transclude > *").toArray(),_(t).flatten().compact().value()))(t).map(o);y.forEach(function(t){return t(n)}),(t._actionBarElements=n).forEach(function(t){return h.push(t)}),i.$emit("c8yActionBarChanged")},destroySet:function(n){_.remove(r,n),n._actionBarElements.forEach(function(t){return _.remove(h,t)}),e.forEach(function(t){return t(n._actionBarElements)}),i.$emit("c8yActionBarChanged")},onClean:function(t){n.push(t)},onAdd:function(t){return y.push(t),h},onRemove:function(t){e.push(t)},addLiveAction:function(t){var n=t.action,r=t.run,e=o();function o(){var t=i.$new(!0);m.push(t),t.action=n,t.run=r;t=_slicedToArray(a('\n <li action-bar-position="more">\n <button title="{{ action.text | translate }}" class="btn btn-link" ng-click="run()">\n <i c8y-icon="{{action.icon}}" ng-show="action.icon"></i>\n {{action.text | translate}}\n </button>\n </li>\n ')(t),1)[0];return t.setAttribute(c,n.position||"more"),angular.element(t).data("action",n),t}e.createCopy=o,h.push(e),y.forEach(function(t){return t([e])}),i.$emit("c8yActionBarChanged")},elements:h};function o(t){var n=t.getAttribute(l)||f,r=t.getAttribute(c)||s,e="LI"===t.tagName,o="true"===t.getAttribute(u),e=e||o?t:document.createElement("li");return e.setAttribute(l,n),e!==t&&e.appendChild(t),e.setAttribute(c,r),e}}t.$inject=["$timeout","$compile","$rootScope"],angular.module("c8y.ui").factory("c8yActionBar",t)})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1023.97.3",
3
+ "version": "1023.97.7",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -1 +1 @@
1
- (()=>{function t(t,i,n,c){var a=this;function e(){i.detailRealtime(a.config.device.id,t).then(function(t){var i;a.device=t,t=a.device,i=a.config.mapping,t&&i&&n.attach(t,_.values(i))})}function o(){var e=a.device,t=a.config.mapping,i={};return i=e&&t?_.transform(t,function(t,i,n){t[n]=Boolean(c.getRawValueForMapping(e,i))},{}):i}_.assign(a,{$onInit:function(){_.assign(a,{updateStateValues:o}),t.$watch("vm.config",e,!0)}})}t.$inject=["$scope","c8yInventory","c8yComputedProperties","ScadaWidgetUtilSvc"],angular.module("c8y.trafficLightWidget").component("trafficLightWidget",{templateUrl:":::PLUGIN_PATH:::/traffic-light.html",bindings:{config:"<"},controller:t,controllerAs:"vm"})})();
1
+ (()=>{function t(t,n,e,c){var a=this,i=new Set;function o(){n.detailRealtime(a.config.device.id,t).then(function(t){var n;a.device=t,t=a.device,n=a.config.mapping,t&&n&&(i.add(t),e.attach(t,_.values(n)))})}function r(){var i=a.device,t=a.config.mapping,n={};return n=i&&t?_.transform(t,function(t,n,e){t[e]=Boolean(c.getRawValueForMapping(i,n))},{}):n}_.assign(a,{$onInit:function(){_.assign(a,{updateStateValues:r}),t.$watch("vm.config",o,!0),t.$on("$destroy",function(){i.forEach(function(t){return e.detach(t)}),i.clear()})}})}t.$inject=["$scope","c8yInventory","c8yComputedProperties","ScadaWidgetUtilSvc"],angular.module("c8y.trafficLightWidget").component("trafficLightWidget",{templateUrl:":::PLUGIN_PATH:::/traffic-light.html",bindings:{config:"<"},controller:t,controllerAs:"vm"})})();