@c8y/ng1-modules 1018.503.136 → 1018.503.143
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/core/locales/de.po +264 -438
- package/core/locales/en.po +2 -799
- package/core/locales/es.po +276 -443
- package/core/locales/fr.po +279 -447
- package/core/locales/ja_JP.po +273 -470
- package/core/locales/ko.po +274 -442
- package/core/locales/nl.po +277 -443
- package/core/locales/pl.po +313 -449
- package/core/locales/pt_BR.po +279 -445
- package/core/locales/zh_CN.po +275 -438
- package/core/locales/zh_TW.po +275 -438
- package/core/ui/services/docs.js +1 -1
- package/package.json +1 -1
- package/smartRules/controllers/childAssetsSelector.js +1 -1
- package/smartRules/views/childAssetsSelector.html +2 -2
package/core/ui/services/docs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(i,a,
|
|
1
|
+
"use strict";!function(){function e(i,c,a,l){return{list:function(){var e,t=c.appOption("target"),n=[{icon:"c8y-c8y-data",label:l("Concepts`KEEP_ORIGINAL`"),url:o("/docs/concepts/introduction")},{icon:"c8y-user",label:l("Getting started`KEEP_ORIGINAL`"),url:o("/docs/section/getting_started")},{icon:"c8y-administration",label:l("Platform administration`KEEP_ORIGINAL`"),url:o("/docs/section/platform_administration")},{icon:"c8y-device-management",label:l("Device management`KEEP_ORIGINAL`"),url:o("/docs/section/device_management")},{icon:"c8y-cockpit",label:l("Application enablement`KEEP_ORIGINAL`"),url:o("/docs/section/app_enablement")},{icon:"c8y-book",label:l("Cumulocity IoT Edge`KEEP_ORIGINAL`"),url:o("/docs/edge/edge-introduction")},{icon:"c8y-data-explorer",label:l("Streaming analytics`KEEP_ORIGINAL`"),url:o("/docs/streaming-analytics/overview-analytics")},{icon:"rest-api",label:l("OpenAPI specification`KEEP_ORIGINAL`"),url:o("/api")},{icon:"gavel",label:l("Legal notices"),url:"https://cumulocity.com/docs/legal-notices/"}];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(n);break;default:e=a.getSupportUrl().then(function(e){return!1!==e&&n.push({icon:"comments",label:l("Forum support"),url:e}),n})}return e.then(function(e){return _.filter(e,"url")})},getBaseUrl:n,getUserGuideLink:o};function n(){return c.appOption("docsBaseUrl")}function o(e){var t;return _.isNull(n())?null:(t=c.appOption("guideHrefTemplate"),e=e,_.isNull(t)||_.isUndefined(t)||0===t.length?void 0:t.replace(/\${docsBaseUrl}/,n()).replace(/\${partialUrl}/,function(e){return(_.isEmpty(e)||_.startsWith(e,"/")?"":"/")+e}(e)))}}e.$inject=["$q","c8yBase","c8ySettings","gettext"],angular.module("c8y.ui").factory("c8yDocs",e)}();
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(t,e,n,i,c
|
|
1
|
+
"use strict";!function(){function e(t,e,n,i,l,c){var s,o=this,r={},a={},d=null,u={open:!1},f={text:""};function h(e){r={},a={},_.forEach(e,function(e){r[e.id]=!0,a[e.id]=!0})}function g(e){return a[e.id]}function p(e){a[e.id]=!0}function C(){var e,t=S();t?(e=_.filter(t,g),o.allVisibleSelected=e.length===t.length):o.allVisibleSelected=!1}function S(){return e("filter")(s,f.text)}function A(e){a[e.id]=!1}o.allVisibleSelected=!1,o.isSelected=g,o.selectAllVisible=function(){_.forEach(S(),p),C()},o.select=p,o.deselectAllVisible=function(){_.forEach(S(),A),C()},o.deselect=A,o.toggle=function(e){a[e.id]=!a[e.id],C()},o.getSelectedStatusText=function(){var e=_.filter(r,_.identity).length;return e===d?c.getString("All children active`assets`"):0===e?c.getString("No children active`assets`"):c.getPlural(e,"1 child active`asset`","{{$count}} children active`asset`",{})},o.apply=function(){t.onSelectionConfirmed&&t.onSelectionConfirmed({selection:_.filter(s,g)}),u.open=!1},o.filterCfg=f,o.dropdownStatus=u,t.$watch("parentMo()",function(e){o.parentMoId=e.id||e,l.detail(o.parentMoId).then(i.getResData).then(function(e){o.childAssets=_.map(e.childAssets.references,"managedObject").concat(_.map(e.childDevices.references,"managedObject")),s=o.childAssets,o.allChildAssetsCount=o.childAssets.length,d=o.allChildAssetsCount,C()})}),t.$watch("selectedChildAssets()",h),t.$watch("ctrl.dropdownStatus.open",function(e){e&&h(t.selectedChildAssets()),n(function(){o.dropdownOpeningFinished=e})}),t.$watch("ctrl.filterCfg.text",C),t.$watchCollection(function(){return a},C)}e.$inject=["$scope","$filter","$timeout","c8yBase","c8yInventory","gettextCatalog"],angular.module("c8y.smartRules").controller("c8yChildAssetsSelectorCtrl",e)}();
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
<li class="multiselect-item">
|
|
40
40
|
<label
|
|
41
41
|
title="{{ 'Activate all visible`children`' | translate }}"
|
|
42
|
-
ng-if="!ctrl.
|
|
42
|
+
ng-if="!ctrl.allVisibleSelected"
|
|
43
43
|
class="c8y-checkbox input-sm"
|
|
44
44
|
ng-click="ctrl.selectAllVisible()"
|
|
45
45
|
>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
</label>
|
|
55
55
|
<label
|
|
56
56
|
title="{{ 'Deactivate all visible`children`' | translate }}"
|
|
57
|
-
ng-if="ctrl.
|
|
57
|
+
ng-if="ctrl.allVisibleSelected"
|
|
58
58
|
class="c8y-checkbox input-sm"
|
|
59
59
|
ng-click="ctrl.deselectAllVisible()"
|
|
60
60
|
>
|