@c8y/ng1-modules 1022.10.1 → 1022.16.2

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.
@@ -2594,6 +2594,9 @@ msgstr "由"
2594
2594
  msgid "CA certificate"
2595
2595
  msgstr "CA 證書"
2596
2596
 
2597
+ msgid "CA certificate renewed."
2598
+ msgstr "CA 憑證已更新。"
2599
+
2597
2600
  msgid "CAN Bus"
2598
2601
  msgstr "CAN 总线"
2599
2602
 
@@ -2858,6 +2861,18 @@ msgstr "已删除证书。"
2858
2861
  msgid "Certificate deployed."
2859
2862
  msgstr "已部署证书。"
2860
2863
 
2864
+ msgid "Certificate expired"
2865
+ msgstr "證書過期"
2866
+
2867
+ msgid "Certificate expires in less than 1 year"
2868
+ msgstr "證書有效期少於 1 年"
2869
+
2870
+ msgid "Certificate expires in less than 1.5 year"
2871
+ msgstr "證書有效期少於 1.5 年"
2872
+
2873
+ msgid "Certificate expires in less than 90 days"
2874
+ msgstr "證書有效期少於 90 天"
2875
+
2861
2876
  msgid "Certificate file"
2862
2877
  msgstr "證書檔案"
2863
2878
 
@@ -4061,6 +4076,9 @@ msgstr "无法对空组执行批量操作。ID 为 \"{{groupId}}\" 的智能组
4061
4076
  msgid "Could not fetch the file."
4062
4077
  msgstr "无法提取文件。"
4063
4078
 
4079
+ msgid "Could not find Certificate Authority or it is not eligible for renewal for tenant {{ tenant }}."
4080
+ msgstr "找不到證書簽發機構或不符合續期資格的租戶 {{ tenant }}。"
4081
+
4064
4082
  msgid "Could not find a manifest."
4065
4083
  msgstr "找不到清单。"
4066
4084
 
@@ -10447,6 +10465,9 @@ msgstr "没有描述"
10447
10465
  msgid "No description available."
10448
10466
  msgstr "没有可用的描述。"
10449
10467
 
10468
+ msgid "No description provided."
10469
+ msgstr "未提供描述。"
10470
+
10450
10471
  msgid "No device groups available due to the device owner permissions. The device owner must be\n"
10451
10472
  " granted access to some device groups first."
10452
10473
  msgstr "由于设备所有者权限,无设备组可用。必须先授予设备所有者\n"
@@ -10793,6 +10814,9 @@ msgstr "无显示的快速链接"
10793
10814
  msgid "No quick links to display."
10794
10815
  msgstr "没有快速链接可显示。"
10795
10816
 
10817
+ msgid "No recent events found."
10818
+ msgstr "未找到最近的事件。"
10819
+
10796
10820
  msgid "No recent operations found"
10797
10821
  msgstr "未找到最近操作"
10798
10822
 
@@ -12871,6 +12895,9 @@ msgstr "呈现类型"
12871
12895
  msgid "Rendering"
12872
12896
  msgstr "渲染"
12873
12897
 
12898
+ msgid "Renew certificate"
12899
+ msgstr "更新證書"
12900
+
12874
12901
  msgid "Reoccurrence count"
12875
12902
  msgstr "重复发生计数"
12876
12903
 
@@ -13144,8 +13171,11 @@ msgstr "撤消"
13144
13171
  msgid "Revoke TOTP secret"
13145
13172
  msgstr "撤消 TOTP 密码"
13146
13173
 
13147
- msgid "Revoke provisioned certificate"
13148
- msgstr "撤銷已提供的憑證"
13174
+ msgid "Revoke provisioned certificate?"
13175
+ msgstr "撤消已配置的憑證?"
13176
+
13177
+ msgid "Revoke provisioned certificates?"
13178
+ msgstr "撤消已配置的憑證?"
13149
13179
 
13150
13180
  msgid "Right"
13151
13181
  msgstr "右"
@@ -13958,6 +13988,12 @@ msgstr "所选数字、起始位或位数与另一个寄存器重叠。"
13958
13988
  msgid "Selected operation"
13959
13989
  msgstr "选定操作"
13960
13990
 
13991
+ msgid "Selected provisioned certificate was revoked."
13992
+ msgstr "選擇的已提供憑證已撤消。"
13993
+
13994
+ msgid "Selected provisioned certificates were revoked."
13995
+ msgstr "選擇的已提供憑證已撤消。"
13996
+
13961
13997
  msgid "Selected software for various device types"
13962
13998
  msgstr "选择各种设备类型的软件"
13963
13999
 
@@ -16364,8 +16400,8 @@ msgstr "此欄位不能只包含空白"
16364
16400
  msgid "This greater than attribute defines a threshold high value."
16365
16401
  msgstr "此大于属性定义阈值的高值。"
16366
16402
 
16367
- msgid "This is a temporary, non-editable dashboard displayed due to insufficient permissions."
16368
- msgstr "這是由於權限不足而顯示的臨時、不可編輯的儀表板。"
16403
+ msgid "This is a default dashboard."
16404
+ msgstr "這是預設的儀表板。"
16369
16405
 
16370
16406
  msgid "This is the name of the field in the token whose value will be used to select one of the certificates below which has matching \"Certificate ID value\"."
16371
16407
  msgstr "这是令牌中字段的名称,其值将用于选择以下具有匹配的“证书 ID 值”的证书之一。"
@@ -18227,6 +18263,9 @@ msgstr "您即將重置此儀錶板的小組件。對儀錶板小組件的所有
18227
18263
  msgid "You are about to revoke provisioned certificate {{ serialNumber }}. Do you want to proceed?"
18228
18264
  msgstr "您即將撤銷已配置的憑證 {{ serialNumber }}。您要繼續嗎?"
18229
18265
 
18266
+ msgid "You are about to revoke provisioned certificates: {{ serialNumbers }}. Do you want to proceed?"
18267
+ msgstr "您即将撤消已供应的证书: {{ serialNumbers }}。是否要继续?"
18268
+
18230
18269
  msgid "You are about to save changes in the global role which might affect security. To apply these changes immediately, you'll need to terminate the sessions of all users with this role."
18231
18270
  msgstr "您即將儲存可能會影響安全性的全域角色更改。要立即應用這些更改,您需要終止所有具有此角色的用戶的會話。"
18232
18271
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1022.10.1",
3
+ "version": "1022.16.2",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -1 +1 @@
1
- function _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_unsupportedIterableToArray(e,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 _unsupportedIterableToArray(e,r){var t;if(e)return"string"==typeof e?_arrayLikeToArray(e,r):"Map"===(t="Object"===(t={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function _iterableToArrayLimit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,i,l,o=[],u=!0,c=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;u=!1}else for(;!(u=(n=i.call(t)).done)&&(o.push(n.value),o.length!==r);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw a}}return o}}function _arrayWithHoles(e){if(Array.isArray(e))return e}(()=>{function e(e,r,t,n,a,i,l,o){var u=a.url("service/smartrule/smartrules/configurations"),c=e("smartRuleTemplates"),s="list";return 0<_.get(window,"c8y.collections.smartrules",[]).length&&t.warn("In-memory definitions of smart rules are not supported right now."),{list:f,getTemplateForRule:function(r){return f().then(function(e){return _.find(e,{name:r.ruleTemplateName})})},getTemplateByName:function(r){return f().then(function(e){return _.find(e,{name:r})}).then(y)},mustBeAvailable:function(e){return h(e).then(function(e){return e?n.when():n.reject()})},isAvailable:h};function f(){var e=c.get(s),e=e?n.when(e):r.get(u).then(a.getResData).then(function(e){return _.filter(e,function(e){return!_.includes(l.smartRules.exclude,e.name)})}).then(m).then(function(e){return c.put(s,e),e});return e}function m(e){var r=[];return e.forEach(function(e){r.push(y(e))}),n.all(r)}function y(r){return h(r.name).then(function(e){return r._active=e,n.when(r)})}function h(e){switch(e){case"sendDashboardsViaEmail":return n.all({systemOption:i.getSystemOptionValue({category:"reportMailer",key:"available"},!1),featureActive:o.isAvailable({name:"feature-dashboard-mailer"})}).then(_.every);case"onAlarmSendSms":return n.all([o.isAvailable({contextPath:"messaging"}),i.detailValue({category:"messaging",key:"provider"})]).then(function(e){var e=_slicedToArray(e,2),r=e[0];return Boolean(r&&e[1])});case"onAlarmEscalateAlarm":return h("onAlarmSendSms");default:return n.when(!0)}}}e.$inject=["$cacheFactory","$http","$log","$q","c8yBase","c8ySettings","c8yConfig","c8yApplication"],angular.module("c8y.smartRules").factory("smartRuleTemplatesSvc",e)})();
1
+ function _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_unsupportedIterableToArray(e,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 _unsupportedIterableToArray(e,r){var t;if(e)return"string"==typeof e?_arrayLikeToArray(e,r):"Map"===(t="Object"===(t={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function _iterableToArrayLimit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,i,l,o=[],u=!0,c=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;u=!1}else for(;!(u=(n=i.call(t)).done)&&(o.push(n.value),o.length!==r);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw a}}return o}}function _arrayWithHoles(e){if(Array.isArray(e))return e}(()=>{function e(e,t,r,n,a,i,l,o){var u=a.url("service/smartrule/smartrules/configurations"),c=e("smartRuleTemplates"),s="list";return 0<_.get(window,"c8y.collections.smartrules",[]).length&&r.warn("In-memory definitions of smart rules are not supported right now."),{list:f,getTemplateForRule:function(r){return f().then(function(e){return _.find(e,{name:r.ruleTemplateName})})},getTemplateByName:function(r){return f().then(function(e){return _.find(e,{name:r})}).then(y)},mustBeAvailable:function(e){return h(e).then(function(e){return e?n.when():n.reject()})},isAvailable:h};function f(){var e={url:u,silentError:0<arguments.length&&void 0!==arguments[0]&&arguments[0]};if(!(1<arguments.length&&void 0!==arguments[1])||arguments[1]){var r=c.get(s);if(r)return n.when(r)}return t(e).then(a.getResData).then(function(e){return _.filter(e,function(e){return!_.includes(l.smartRules.exclude,e.name)})}).then(m).then(function(e){return c.put(s,e),e})}function m(e){var r=[];return e.forEach(function(e){r.push(y(e))}),n.all(r)}function y(r){return h(r.name).then(function(e){return r._active=e,n.when(r)})}function h(e){switch(e){case"sendDashboardsViaEmail":return n.all({systemOption:i.getSystemOptionValue({category:"reportMailer",key:"available"},!1),featureActive:o.isAvailable({name:"feature-dashboard-mailer"})}).then(_.every);case"onAlarmSendSms":return n.all([o.isAvailable({contextPath:"messaging"}),i.detailValue({category:"messaging",key:"provider"})]).then(function(e){var e=_slicedToArray(e,2),r=e[0];return Boolean(r&&e[1])});case"onAlarmEscalateAlarm":return h("onAlarmSendSms");default:return n.when(!0)}}}e.$inject=["$cacheFactory","$http","$log","$q","c8yBase","c8ySettings","c8yConfig","c8yApplication"],angular.module("c8y.smartRules").factory("smartRuleTemplatesSvc",e)})();
@@ -1 +1 @@
1
- (()=>{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})||d(e)}function d(e){return _.some(i,{id:e.id})}function c(){return e("filter")(o.inventoryRoles,o.roleTextFilter)}function u(){var e=c().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(c(),d);f()},allSelected:u,isSelected:s,isInherited:d,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"})})();
1
+ (()=>{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})||d(e)}function d(e){return _.some(i,{id:e.id})}function c(){return e("filter")(o.inventoryRoles,o.roleTextFilter)}function u(){var e=c().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(c(),d);f()},allSelected:u,isSelected:s,isInherited:d,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:"<",disableEditForExternalUsers:"<",onApply:"&"},templateUrl:":::PLUGIN_PATH:::/inventoryRoleSelector/inventoryRoleSelector.html",controller:e,controllerAs:"vm"})})();
@@ -12,6 +12,7 @@
12
12
  aria-haspopup="true"
13
13
  type="button"
14
14
  uib-dropdown-toggle
15
+ ng-disabled="vm.disableEditForExternalUsers"
15
16
  >
16
17
  <span class="text-truncate">
17
18
  <span class="text-muted">
@@ -146,6 +146,7 @@
146
146
  [assigned-roles]="vm.assignedRoles"
147
147
  [page-size]="vm.pageSize"
148
148
  [pagination-offset]="(vm.currentPage - 1) * vm.pageSize"
149
+ [disable-edit-for-external-users]="vm.disableEditForExternalUsers"
149
150
  (on-change-roles)="vm.onChangeRoles($event)"
150
151
  (on-change-item-count)="vm.totalItemsCount = $event"
151
152
  ></c8y-roles-asset-tree-downgraded>