@c8y/ng1-modules 1018.503.151 → 1018.503.154

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.
@@ -217,7 +217,7 @@ msgid "<b>{{ appName }}</b>\n"
217
217
  " license"
218
218
  msgstr "<b>{{ appName }}</b>\n"
219
219
  " utilise\n"
220
- " une licence \n"
220
+ " une licence\n"
221
221
  " <b>{{ licenseName }}</b>"
222
222
 
223
223
  msgid "<kept as is>"
@@ -8918,7 +8918,7 @@ msgid "Must have at least {{length}} characters"
8918
8918
  msgstr "Doit avoir au moins {{length}} caractères"
8919
8919
 
8920
8920
  msgid "Must not contain whitespaces nor the special characters .,*[]()@$"
8921
- msgstr "Ne doit contenir ni espaces blancs ni les caractères spéciaux .,*[]()@$"
8921
+ msgstr "Ne doit contenir ni espaces ni les caractères spéciaux .,*[]()@$"
8922
8922
 
8923
8923
  msgid "My device`DEVICE_NAME`"
8924
8924
  msgstr "Mon appareil"
@@ -5870,7 +5870,7 @@ msgid "Factory reset"
5870
5870
  msgstr "工場出荷時リセット"
5871
5871
 
5872
5872
  msgid "Fail device firmware update on unexpected result"
5873
- msgstr "デバイス ファームウェアは予期せぬ結果のため更新できませんでした。"
5873
+ msgstr "デバイス ファームウェアは予期しない結果のため更新できませんでした。"
5874
5874
 
5875
5875
  msgid "Failed"
5876
5876
  msgstr "失敗"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1018.503.151",
3
+ "version": "1018.503.154",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -1 +1 @@
1
- "use strict";!function(){function e(n,e,t){var o=this,i=[],r=[];function l(){i=_.clone((o.assignedRoles||{}).roles)||[]}function s(e){return _(e).sortBy(y).map(y).value().join(", ")}function c(e){return _.some(i,{id:e.id})||d(e)}function d(e){return _.some(r,{id:e.id})}function u(){return e("filter")(o.inventoryRoles,o.roleTextFilter)}function a(){var e=u().filter(f);return _.every(e,c)}function g(){return i.filter(f)}function f(e){return!o.ownerAllowedRoles||_.some(o.ownerAllowedRoles,{id:e.id})}function m(){var e=_.sortBy(_.map((o.assignedRoles||{}).roles,"id")),n=_.sortBy(_.map(i,"id"));o.isUnchanged=_.isEqual(e,n)}function y(e){return t.getString(e.name)}_.assign(o,{displayTextAssigned:function(){return s((o.assignedRoles||{}).roles)},displayTextInherited:function(){return s(r)},$onChanges:function(e){e.assignedRoles&&l();e.inheritedRoles&&(r=o.inheritedRoles)},toggle:function(e){c(e)?_.remove(i,{id:e.id}):(i.push(e),i=_.uniqBy(i,"id"));m()},toggleSelectAll:function(){a()?i.length=0:i=_.reject(u(),d);m()},allSelected:a,isSelected:c,isInherited:d,filteredAssignedRoles:g,apply:function(){var e=g();o.onApply({roles:e}),o.isDropDownOpen=!1},onToggleDropdown:function(e){e||(l(),o.isUnchanged=!0)},isAllowedByOwner:f,isUnchanged:!0,getFormattedInventoryRoleDescription:_.memoize(function(e){e=t.getString(e.trim());return n.trustAsHtml("\n <div>\n ".concat(e,"\n </div>\n "))}),translateName:y})}e.$inject=["$sce","$filter","gettextCatalog"],angular.module("c8y.userRoles").component("c8yInventoryRoleSelector",{bindings:{assignedRoles:"<",inheritedRoles:"<",inventoryRoles:"<",ownerAllowedRoles:"<",onApply:"&"},templateUrl:":::PLUGIN_PATH:::/inventoryRoleSelector/inventoryRoleSelector.html",controller:e,controllerAs:"vm"})}();
1
+ "use strict";!function(){function e(e,n){var o=this,t=[],i=[];function r(){t=_.clone((o.assignedRoles||{}).roles)||[]}function l(e){return _(e).sortBy(y).map(y).value().join(", ")}function s(e){return _.some(t,{id:e.id})||c(e)}function c(e){return _.some(i,{id:e.id})}function d(){return e("filter")(o.inventoryRoles,o.roleTextFilter)}function u(){var e=d().filter(g);return _.every(e,s)}function a(){return t.filter(g)}function g(e){return!o.ownerAllowedRoles||_.some(o.ownerAllowedRoles,{id:e.id})}function f(){var e=_.sortBy(_.map((o.assignedRoles||{}).roles,"id")),n=_.sortBy(_.map(t,"id"));o.isUnchanged=_.isEqual(e,n)}function y(e){return n.getString(e.name)}_.assign(o,{displayTextAssigned:function(){return l((o.assignedRoles||{}).roles)},displayTextInherited:function(){return l(i)},$onChanges:function(e){e.assignedRoles&&r();e.inheritedRoles&&(i=o.inheritedRoles)},toggle:function(e){s(e)?_.remove(t,{id:e.id}):(t.push(e),t=_.uniqBy(t,"id"));f()},toggleSelectAll:function(){u()?t.length=0:t=_.reject(d(),c);f()},allSelected:u,isSelected:s,isInherited:c,filteredAssignedRoles:a,apply:function(){var e=a();o.onApply({roles:e}),o.isDropDownOpen=!1},onToggleDropdown:function(e){e||(r(),o.isUnchanged=!0)},isAllowedByOwner:g,isUnchanged:!0,getFormattedInventoryRoleDescription:_.memoize(function(e){return n.getString(e.trim())}),translateName:y})}e.$inject=["$filter","gettextCatalog"],angular.module("c8y.userRoles").component("c8yInventoryRoleSelector",{bindings:{assignedRoles:"<",inheritedRoles:"<",inventoryRoles:"<",ownerAllowedRoles:"<",onApply:"&"},templateUrl:":::PLUGIN_PATH:::/inventoryRoleSelector/inventoryRoleSelector.html",controller:e,controllerAs:"vm"})}();