@c8y/ng1-modules 1019.19.7 → 1019.21.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.
@@ -829,6 +829,9 @@ msgstr "添加库存角色"
829
829
  msgid "Add inventory roles mapping"
830
830
  msgstr "添加库存角色映射"
831
831
 
832
+ msgid "Add local smart rule"
833
+ msgstr "添加本地智能规则"
834
+
832
835
  msgid "Add location"
833
836
  msgstr "添加位置"
834
837
 
@@ -1840,12 +1843,6 @@ msgstr "自动滚动到最新值"
1840
1843
  msgid "Availability"
1841
1844
  msgstr "可用性"
1842
1845
 
1843
- msgid "Availability`of dashboard based on permissions`"
1844
- msgstr "可用性"
1845
-
1846
- msgid "Availability`of package based on app state`"
1847
- msgstr "可用性"
1848
-
1849
1846
  msgid "Availability monitoring record"
1850
1847
  msgstr "可用性监控记录"
1851
1848
 
@@ -1855,6 +1852,12 @@ msgstr "可用性百分比取决于发出和清除的严重警报数量。"
1855
1852
  msgid "Availability status"
1856
1853
  msgstr "可用性状态"
1857
1854
 
1855
+ msgid "Availability`of dashboard based on permissions`"
1856
+ msgstr "可用性"
1857
+
1858
+ msgid "Availability`of package based on app state`"
1859
+ msgstr "可用性"
1860
+
1858
1861
  msgid "Available applications"
1859
1862
  msgstr "可用应用程序"
1860
1863
 
@@ -5003,6 +5006,9 @@ msgstr "已禁用"
5003
5006
  msgid "Disabled`auto registration`"
5004
5007
  msgstr "已禁用"
5005
5008
 
5009
+ msgid "Disabled`rule`"
5010
+ msgstr "禁用"
5011
+
5006
5012
  msgid "Disabled`trusted certificate status`"
5007
5013
  msgstr "已禁用"
5008
5014
 
@@ -5453,6 +5459,9 @@ msgstr "编辑保持寄存器:\"{{name}}\""
5453
5459
  msgid "Edit input register: \"{{name}}\""
5454
5460
  msgstr "编辑输入寄存器:\"{{name}}\""
5455
5461
 
5462
+ msgid "Edit local smart rule"
5463
+ msgstr "编辑本地智能规则"
5464
+
5456
5465
  msgid "Edit location"
5457
5466
  msgstr "编辑位置"
5458
5467
 
@@ -5588,6 +5597,9 @@ msgstr "已启用"
5588
5597
  msgid "Enabled`auto registration`"
5589
5598
  msgstr "已启用"
5590
5599
 
5600
+ msgid "Enabled`rule`"
5601
+ msgstr "启用"
5602
+
5591
5603
  msgid "Enabled`trusted certificate status`"
5592
5604
  msgstr "已启用"
5593
5605
 
@@ -5636,6 +5648,9 @@ msgstr "针对用户强制实施 TOTP 设置"
5636
5648
  msgid "Enforce strong passwords (green)"
5637
5649
  msgstr "强制执行强密码(绿色)"
5638
5650
 
5651
+ msgid "Enforce that all passwords are strong"
5652
+ msgstr "强制所有密码均为强密码"
5653
+
5639
5654
  msgid "Enforce two-factor authentication on all users"
5640
5655
  msgstr "对所有用户强制实施双重身份验证"
5641
5656
 
@@ -7280,6 +7295,9 @@ msgstr "全局角色"
7280
7295
  msgid "Global search"
7281
7296
  msgstr "全局搜索"
7282
7297
 
7298
+ msgid "Global smart rule"
7299
+ msgstr "全局智能规则"
7300
+
7283
7301
  msgid "Global smart rules"
7284
7302
  msgstr "全局智能规则"
7285
7303
 
@@ -8420,6 +8438,9 @@ msgstr "正在加载…"
8420
8438
  msgid "Local"
8421
8439
  msgstr "本地"
8422
8440
 
8441
+ msgid "Local smart rule"
8442
+ msgstr "本地智能规则"
8443
+
8423
8444
  msgid "Locate"
8424
8445
  msgstr "定位"
8425
8446
 
@@ -9257,6 +9278,9 @@ msgstr "新密码不能与当前密码相同。"
9257
9278
  msgid "New permission"
9258
9279
  msgstr "新权限"
9259
9280
 
9281
+ msgid "New plugins added"
9282
+ msgstr "新插件已添加"
9283
+
9260
9284
  msgid "New register"
9261
9285
  msgstr "新寄存器"
9262
9286
 
@@ -10549,6 +10573,9 @@ msgstr "按严重性和时间排序警报"
10549
10573
  msgid "Ordered"
10550
10574
  msgstr "已订购"
10551
10575
 
10576
+ msgid "Orphaned plugins"
10577
+ msgstr "孤立插件"
10578
+
10552
10579
  msgid "Orthographic camera"
10553
10580
  msgstr "正交相机"
10554
10581
 
@@ -10693,6 +10720,19 @@ msgstr "密码历史大小"
10693
10720
  msgid "Password is invalid. It must have at least {{minCharactersCount}} and no more than {{maxCharactersCount}} characters."
10694
10721
  msgstr "密码无效。它必须至少有 {{minCharactersCount}} 个字符且不得超过 {{maxCharactersCount}} 个字符。"
10695
10722
 
10723
+ msgid "Password is not strong enough, use a stronger password."
10724
+ msgstr "密码不够强,请使用更强的密码。"
10725
+
10726
+ msgid ""
10727
+ "Password is not strong enough, use a stronger password. Check the requirements\n"
10728
+ " listed on the right."
10729
+ msgstr ""
10730
+ "密码不够强,请使用更强的密码。请查看右侧列出\n"
10731
+ "的要求。"
10732
+
10733
+ msgid "Password is not strong enough, use a stronger password. Check the requirements listed on the right."
10734
+ msgstr "密码不够强,请使用更强的密码。请查看右侧列出的要求。"
10735
+
10696
10736
  msgid "Password must have at least 8 characters and no more than 32 and can only contain letters, numbers and following symbols: `~!@#$%^&*()_|+-=?;:'\",.<>{}[]\\/"
10697
10737
  msgstr "密码必须有至少 8 个字符,不得超过 32 个字符,并且只能包含字母、数字和以下符号:`~!@#$%^&*()_|+-=?;:'\",.<>{}[]\\/"
10698
10738
 
@@ -10705,6 +10745,9 @@ msgstr "密码必须有至少 8 个字符,不得超过 32 个字符。"
10705
10745
  msgid "Password must have at least {{ min }} characters and no more than {{ max }} and can only contain letters, numbers and following symbols: {{ symbols }}"
10706
10746
  msgstr "密码必须至少包含 {{ min }} 个字符且不超过 {{ max }} 个字符,并且只能包含字母、数字和以下符号:{{ symbols }}"
10707
10747
 
10748
+ msgid "Password must meet the requirements below:"
10749
+ msgstr "密码必须满足以下要求:"
10750
+
10708
10751
  msgid "Password only"
10709
10752
  msgstr "仅密码"
10710
10753
 
@@ -11916,6 +11959,12 @@ msgstr "重置注册数据"
11916
11959
  msgid "Reset search"
11917
11960
  msgstr "重置搜索"
11918
11961
 
11962
+ msgid "Reset to default"
11963
+ msgstr "重置为默认值"
11964
+
11965
+ msgid "Reset to default plugins"
11966
+ msgstr "重置为默认插件"
11967
+
11919
11968
  msgid "Reset`dashboard`"
11920
11969
  msgstr "重置"
11921
11970
 
@@ -12033,6 +12082,12 @@ msgstr "已删除角色。"
12033
12082
  msgid "Roles"
12034
12083
  msgstr "角色"
12035
12084
 
12085
+ msgid "Roles selected in the rules below will be reassigned to a user on each log in and other ones will be cleared"
12086
+ msgstr "在以下规则中选择的角色将在每次登录时重新分配给用户,其他角色将被清除"
12087
+
12088
+ msgid "Roles selected in the rules below will be reassigned to a user on each log in and other ones will be unchanged"
12089
+ msgstr "在以下规则中选择的角色将在每次登录时重新分配给用户,其他角色将保持不变"
12090
+
12036
12091
  msgid "Root Device"
12037
12092
  msgstr "根设备"
12038
12093
 
@@ -13963,6 +14018,13 @@ msgstr ""
13963
14018
  "某些用户设置在此处不可编辑,因为它们是通过您的\n"
13964
14019
  "授权服务器进行管理的。"
13965
14020
 
14021
+ msgid ""
14022
+ "Some plugins are not contained in the new version of this blueprint and will therefore get\n"
14023
+ " removed."
14024
+ msgstr ""
14025
+ "一些插件不包含在此蓝图的新版本中,因此将被\n"
14026
+ "删除。"
14027
+
13966
14028
  msgid "Some users might not be shown. Try narrowing search criteria."
13967
14029
  msgstr "某些用户可能无法显示。尝试缩小搜索条件。"
13968
14030
 
@@ -14643,6 +14705,9 @@ msgstr "应用程序已请求用户没有访问权限的数据。请查看用户
14643
14705
  msgid "The application requested these URL paths but your user is not allowed to access them."
14644
14706
  msgstr "应用程序已请求这些 URL 路径,但不允许您的用户访问它们。"
14645
14707
 
14708
+ msgid "The application was reset to its default plugins."
14709
+ msgstr "该应用程序已重置为其默认插件。"
14710
+
14646
14711
  msgid ""
14647
14712
  "The author of the package hasn't included a license file in a format that can be displayed.\n"
14648
14713
  " Verify the license online, for example, with a website like:"
@@ -15000,9 +15065,6 @@ msgstr "需要这些 Cookie 才能启用核心站点功能。它们将执行一
15000
15065
  msgid "These cookies are used to target advertising to a user."
15001
15066
  msgstr "这些 Cookie 用于向用户定向投放广告。"
15002
15067
 
15003
- msgid "These cookies are used to track site usage and to process my personal data to measure and improve usability and performance. We will neither forward this data to any third party nor use this data for direct marketing purposes. I recognize that I can opt in and out of these cookies at any time."
15004
- msgstr "这些 Cookie 用于跟踪站点使用情况并处理我的个人数据,以衡量和改进可用性和性能。我们不会将此数据转发给任何第三方,也不会将此数据用于直接营销目的。我知道我可以随时选择加入和退出这些 Cookie。"
15005
-
15006
15068
  msgid "These plugins and/or blueprints are provided <strong>as-is and without warranty or support</strong>, and they do not constitute part of the product suite. Users are free to use subject to the license agreement."
15007
15069
  msgstr "这些插件和/或蓝图是按<strong>原样提供的,没有保修或支持</strong>,它们不构成产品套件的一部分。用户可以根据许可协议自由使用。"
15008
15070
 
@@ -15048,6 +15110,9 @@ msgstr "此应用程序已被覆盖。"
15048
15110
  msgid "This application was duplicated from \"{{name}}\" and won't get any further updates from it."
15049
15111
  msgstr "此应用程序是从 \"{{name}}\" 复制过来,不会从它获取任何进一步更新。"
15050
15112
 
15113
+ msgid "This blueprint will add new plugins. Please choose which you want to install."
15114
+ msgstr "此蓝图将添加新插件。请选择要安装的插件。"
15115
+
15051
15116
  msgid "This command can be used to migrate LWM2M devices which are created in a non-standard way. It can take comma-separated device managed object IDs as parameters. If the IDs are specified then the migration will be done only for those devices. If the command is sent without any parameters then the agent will look up for possible LWM2M devices that are not created in a standard way and try to migrate them. Usage: migrateLwm2mDevices 1122,3344 or migrateLwm2mDevices"
15052
15117
  msgstr "此命令可用于迁移以非标准方式创建的 LWM2M 设备。它可以采用逗号分隔的设备管理对象 ID 作为参数。如果指定了 ID,则仅针对这些设备进行迁移。如果在没有任何参数的情况下发送命令,则代理将查找可能未以标准方式创建的 LWM2M 设备,并尝试迁移它们。用法:migrateLwm2mDevices 1122,3344 或 migrateLwm2mDevices"
15053
15118
 
@@ -15848,6 +15913,13 @@ msgstr "更新全局角色将强制您注销。是否要继续?"
15848
15913
  msgid "Updating password or global roles will force user \"{{userName}}\" to log out. Do you want to proceed?"
15849
15914
  msgstr "更新密码或全局角色将强制用户 \"{{userName}}\" 注销。是否要继续?"
15850
15915
 
15916
+ msgid ""
15917
+ "Updating this blueprint will change the default plugins. Review the plugin changes before\n"
15918
+ " proceeding."
15919
+ msgstr ""
15920
+ "更新此蓝图将更改默认插件。请先查看插件更改再\n"
15921
+ "继续。"
15922
+
15851
15923
  msgid "Updating tracker situation"
15852
15924
  msgstr "正在更新跟踪器情况"
15853
15925
 
@@ -16946,6 +17018,9 @@ msgstr "您即将更新证书吊销列表。是否要继续?"
16946
17018
  msgid "You are about to update the Certificate Revocation List. The CRL file content will override manual entries. Do you want to proceed?"
16947
17019
  msgstr "您即将更新证书吊销列表。CRL 文件内容将覆盖手动条目。是否要继续?"
16948
17020
 
17021
+ msgid "You are not allowed to change the email addresses of other users. SSO-managed users are also not allowed to change their own email."
17022
+ msgstr "您不能更改其他用户的电子邮件地址。SSO 管理的用户也不能更改自己的电子邮件。"
17023
+
16949
17024
  msgid "You are using a wildcard certificate to enable creation of subtenants"
16950
17025
  msgstr "您正使用通配符证书启用子租户创建"
16951
17026
 
@@ -829,6 +829,9 @@ msgstr "添加庫存角色"
829
829
  msgid "Add inventory roles mapping"
830
830
  msgstr "添加庫存角色映射"
831
831
 
832
+ msgid "Add local smart rule"
833
+ msgstr "添加本地智慧規則"
834
+
832
835
  msgid "Add location"
833
836
  msgstr "添加位置"
834
837
 
@@ -1840,12 +1843,6 @@ msgstr "自动滚动到最新值"
1840
1843
  msgid "Availability"
1841
1844
  msgstr "可用性"
1842
1845
 
1843
- msgid "Availability`of dashboard based on permissions`"
1844
- msgstr "可用性"
1845
-
1846
- msgid "Availability`of package based on app state`"
1847
- msgstr "可用性"
1848
-
1849
1846
  msgid "Availability monitoring record"
1850
1847
  msgstr "可用性监控记录"
1851
1848
 
@@ -1855,6 +1852,12 @@ msgstr "可用性百分比取决于发出和清除的严重警报数量。"
1855
1852
  msgid "Availability status"
1856
1853
  msgstr "可用性状态"
1857
1854
 
1855
+ msgid "Availability`of dashboard based on permissions`"
1856
+ msgstr "可用性"
1857
+
1858
+ msgid "Availability`of package based on app state`"
1859
+ msgstr "可用性"
1860
+
1858
1861
  msgid "Available applications"
1859
1862
  msgstr "可用应用程序"
1860
1863
 
@@ -5003,6 +5006,9 @@ msgstr "已禁用"
5003
5006
  msgid "Disabled`auto registration`"
5004
5007
  msgstr "已禁用"
5005
5008
 
5009
+ msgid "Disabled`rule`"
5010
+ msgstr "已禁用"
5011
+
5006
5012
  msgid "Disabled`trusted certificate status`"
5007
5013
  msgstr "已禁用"
5008
5014
 
@@ -5453,6 +5459,9 @@ msgstr "编辑保持寄存器:\"{{name}}\""
5453
5459
  msgid "Edit input register: \"{{name}}\""
5454
5460
  msgstr "编辑输入寄存器:\"{{name}}\""
5455
5461
 
5462
+ msgid "Edit local smart rule"
5463
+ msgstr "編輯本地智慧規則"
5464
+
5456
5465
  msgid "Edit location"
5457
5466
  msgstr "编辑位置"
5458
5467
 
@@ -5588,6 +5597,9 @@ msgstr "已启用"
5588
5597
  msgid "Enabled`auto registration`"
5589
5598
  msgstr "已启用"
5590
5599
 
5600
+ msgid "Enabled`rule`"
5601
+ msgstr "已启用"
5602
+
5591
5603
  msgid "Enabled`trusted certificate status`"
5592
5604
  msgstr "已启用"
5593
5605
 
@@ -5636,6 +5648,9 @@ msgstr "针对用户强制实施 TOTP 设置"
5636
5648
  msgid "Enforce strong passwords (green)"
5637
5649
  msgstr "強制執行強式密碼(綠色)"
5638
5650
 
5651
+ msgid "Enforce that all passwords are strong"
5652
+ msgstr "強制所有密碼均為強式密碼"
5653
+
5639
5654
  msgid "Enforce two-factor authentication on all users"
5640
5655
  msgstr "对所有用户强制实施双重身份验证"
5641
5656
 
@@ -7280,6 +7295,9 @@ msgstr "全局角色"
7280
7295
  msgid "Global search"
7281
7296
  msgstr "全局搜索"
7282
7297
 
7298
+ msgid "Global smart rule"
7299
+ msgstr "全域智慧規則"
7300
+
7283
7301
  msgid "Global smart rules"
7284
7302
  msgstr "全局智能规则"
7285
7303
 
@@ -8420,6 +8438,9 @@ msgstr "正在加载…"
8420
8438
  msgid "Local"
8421
8439
  msgstr "本地"
8422
8440
 
8441
+ msgid "Local smart rule"
8442
+ msgstr "本地智慧規則"
8443
+
8423
8444
  msgid "Locate"
8424
8445
  msgstr "定位"
8425
8446
 
@@ -9257,6 +9278,9 @@ msgstr "新密码不能与当前密码相同。"
9257
9278
  msgid "New permission"
9258
9279
  msgstr "新权限"
9259
9280
 
9281
+ msgid "New plugins added"
9282
+ msgstr "新外掛程式已添加"
9283
+
9260
9284
  msgid "New register"
9261
9285
  msgstr "新寄存器"
9262
9286
 
@@ -10549,6 +10573,9 @@ msgstr "按严重性和时间排序警报"
10549
10573
  msgid "Ordered"
10550
10574
  msgstr "已订购"
10551
10575
 
10576
+ msgid "Orphaned plugins"
10577
+ msgstr "孤立外掛程式"
10578
+
10552
10579
  msgid "Orthographic camera"
10553
10580
  msgstr "正交相机"
10554
10581
 
@@ -10693,6 +10720,19 @@ msgstr "密碼历史大小"
10693
10720
  msgid "Password is invalid. It must have at least {{minCharactersCount}} and no more than {{maxCharactersCount}} characters."
10694
10721
  msgstr "密碼无效。它必须至少有 {{minCharactersCount}} 个字符且不得超过 {{maxCharactersCount}} 个字符。"
10695
10722
 
10723
+ msgid "Password is not strong enough, use a stronger password."
10724
+ msgstr "密碼不夠強,請使用更強的密碼。"
10725
+
10726
+ msgid ""
10727
+ "Password is not strong enough, use a stronger password. Check the requirements\n"
10728
+ " listed on the right."
10729
+ msgstr ""
10730
+ "密碼不夠強,請使用更強的密碼。請查看右側列出\n"
10731
+ "的要求。"
10732
+
10733
+ msgid "Password is not strong enough, use a stronger password. Check the requirements listed on the right."
10734
+ msgstr "密碼不夠強,請使用更強的密碼。請查看右側列出的要求。"
10735
+
10696
10736
  msgid "Password must have at least 8 characters and no more than 32 and can only contain letters, numbers and following symbols: `~!@#$%^&*()_|+-=?;:'\",.<>{}[]\\/"
10697
10737
  msgstr "密碼必须有至少 8 个字符,不得超过 32 个字符,并且只能包含字母、数字和以下符号:`~!@#$%^&*()_|+-=?;:'\",.<>{}[]\\/"
10698
10738
 
@@ -10705,6 +10745,9 @@ msgstr "密碼必须有至少 8 个字符,不得超过 32 个字符。"
10705
10745
  msgid "Password must have at least {{ min }} characters and no more than {{ max }} and can only contain letters, numbers and following symbols: {{ symbols }}"
10706
10746
  msgstr "密碼必须至少包含 {{ min }} 个字符且不超过 {{ max }} 个字符,并且只能包含字母、数字和以下符号:{{ symbols }}"
10707
10747
 
10748
+ msgid "Password must meet the requirements below:"
10749
+ msgstr "密碼必須滿足以下要求:"
10750
+
10708
10751
  msgid "Password only"
10709
10752
  msgstr "仅密碼"
10710
10753
 
@@ -11916,6 +11959,12 @@ msgstr "重置注册数据"
11916
11959
  msgid "Reset search"
11917
11960
  msgstr "重置搜索"
11918
11961
 
11962
+ msgid "Reset to default"
11963
+ msgstr "重置為預設值"
11964
+
11965
+ msgid "Reset to default plugins"
11966
+ msgstr "重置為默認外掛程式"
11967
+
11919
11968
  msgid "Reset`dashboard`"
11920
11969
  msgstr "重置"
11921
11970
 
@@ -12033,6 +12082,12 @@ msgstr "已删除角色。"
12033
12082
  msgid "Roles"
12034
12083
  msgstr "角色"
12035
12084
 
12085
+ msgid "Roles selected in the rules below will be reassigned to a user on each log in and other ones will be cleared"
12086
+ msgstr "在以下規則中選取的角色將在每次登錄時重新分配給用戶,其他角色將被清除"
12087
+
12088
+ msgid "Roles selected in the rules below will be reassigned to a user on each log in and other ones will be unchanged"
12089
+ msgstr "在以下規則中選取的角色將在每次登錄時重新分配給用戶,其他角色將保持不變"
12090
+
12036
12091
  msgid "Root Device"
12037
12092
  msgstr "根设备"
12038
12093
 
@@ -13963,6 +14018,13 @@ msgstr ""
13963
14018
  "某些用户设置在此处不可编辑,因为它们是通过您的\n"
13964
14019
  "授权服务器进行管理的。"
13965
14020
 
14021
+ msgid ""
14022
+ "Some plugins are not contained in the new version of this blueprint and will therefore get\n"
14023
+ " removed."
14024
+ msgstr ""
14025
+ "一些外掛程式不包含在此藍圖的新版本中,因此將被\n"
14026
+ "刪除。"
14027
+
13966
14028
  msgid "Some users might not be shown. Try narrowing search criteria."
13967
14029
  msgstr "某些用户可能无法显示。尝试缩小搜索条件。"
13968
14030
 
@@ -14643,6 +14705,9 @@ msgstr "应用程序已请求用户没有访问权限的数据。请查看用户
14643
14705
  msgid "The application requested these URL paths but your user is not allowed to access them."
14644
14706
  msgstr "应用程序已请求这些 URL 路径,但不允许您的用户访问它们。"
14645
14707
 
14708
+ msgid "The application was reset to its default plugins."
14709
+ msgstr "該應用程式已重置為其默認外掛程式。"
14710
+
14646
14711
  msgid ""
14647
14712
  "The author of the package hasn't included a license file in a format that can be displayed.\n"
14648
14713
  " Verify the license online, for example, with a website like:"
@@ -15000,9 +15065,6 @@ msgstr "需要这些 Cookie 才能启用核心站点功能。它们将执行一
15000
15065
  msgid "These cookies are used to target advertising to a user."
15001
15066
  msgstr "这些 Cookie 用于向用户定向投放广告。"
15002
15067
 
15003
- msgid "These cookies are used to track site usage and to process my personal data to measure and improve usability and performance. We will neither forward this data to any third party nor use this data for direct marketing purposes. I recognize that I can opt in and out of these cookies at any time."
15004
- msgstr "这些 Cookie 用于跟踪站点使用情况并处理我的个人数据,以衡量和改进可用性和性能。我们不会将此数据转发给任何第三方,也不会将此数据用于直接营销目的。我知道我可以随时选择加入和退出这些 Cookie。"
15005
-
15006
15068
  msgid "These plugins and/or blueprints are provided <strong>as-is and without warranty or support</strong>, and they do not constitute part of the product suite. Users are free to use subject to the license agreement."
15007
15069
  msgstr "這些外掛程式和/或藍圖按原樣提供,<strong>沒有保修或支持</strong>,並且它們不構成產品套件的一部分。用戶可以根據授權合約免費使用。"
15008
15070
 
@@ -15048,6 +15110,9 @@ msgstr "此应用程序已被覆盖。"
15048
15110
  msgid "This application was duplicated from \"{{name}}\" and won't get any further updates from it."
15049
15111
  msgstr "此应用程序是从 \"{{name}}\" 复制过来,不会从它获取任何进一步更新。"
15050
15112
 
15113
+ msgid "This blueprint will add new plugins. Please choose which you want to install."
15114
+ msgstr "此藍圖將添加新外掛程式。請選取要安裝的外掛程式。"
15115
+
15051
15116
  msgid "This command can be used to migrate LWM2M devices which are created in a non-standard way. It can take comma-separated device managed object IDs as parameters. If the IDs are specified then the migration will be done only for those devices. If the command is sent without any parameters then the agent will look up for possible LWM2M devices that are not created in a standard way and try to migrate them. Usage: migrateLwm2mDevices 1122,3344 or migrateLwm2mDevices"
15052
15117
  msgstr "此命令可用于迁移以非标准方式创建的 LWM2M 设备。它可以采用逗号分隔的设备管理对象 ID 作为参数。如果指定了 ID,则仅针对这些设备进行迁移。如果在没有任何参数的情况下发送命令,则代理将查找可能未以标准方式创建的 LWM2M 设备,并尝试迁移它们。用法:migrateLwm2mDevices 1122,3344 或 migrateLwm2mDevices"
15053
15118
 
@@ -15848,6 +15913,13 @@ msgstr "更新全局角色将强制您注销。是否要继续?"
15848
15913
  msgid "Updating password or global roles will force user \"{{userName}}\" to log out. Do you want to proceed?"
15849
15914
  msgstr "更新密码或全局角色将强制用户 \"{{userName}}\" 注销。是否要继续?"
15850
15915
 
15916
+ msgid ""
15917
+ "Updating this blueprint will change the default plugins. Review the plugin changes before\n"
15918
+ " proceeding."
15919
+ msgstr ""
15920
+ "更新此藍圖將更改默認外掛程式。請先查看外掛程式更改再\n"
15921
+ "繼續。"
15922
+
15851
15923
  msgid "Updating tracker situation"
15852
15924
  msgstr "正在更新跟踪器情况"
15853
15925
 
@@ -16946,6 +17018,9 @@ msgstr "您即將更新憑證撤銷清單。是否要繼續?"
16946
17018
  msgid "You are about to update the Certificate Revocation List. The CRL file content will override manual entries. Do you want to proceed?"
16947
17019
  msgstr "您即將更新憑證撤銷清單。CRL 檔案內容將覆蓋手動條目。是否要繼續?"
16948
17020
 
17021
+ msgid "You are not allowed to change the email addresses of other users. SSO-managed users are also not allowed to change their own email."
17022
+ msgstr "您不能更改其他使用者的電子郵寄地址。SSO 管理的使用者也不能更改自己的電子郵件。"
17023
+
16949
17024
  msgid "You are using a wildcard certificate to enable creation of subtenants"
16950
17025
  msgstr "您正使用通配符证书启用子租户创建"
16951
17026
 
@@ -102,12 +102,22 @@
102
102
  </li>
103
103
  </ul>
104
104
  <div ng-show="op.c8y_Command">
105
- <div class="legend form-block" translate>Command</div>
106
- <pre class="text-pre-normal">
105
+ <div
106
+ class="legend form-block"
107
+ translate
108
+ >
109
+ Command
110
+ </div>
111
+ <pre class="text-pre-line">
107
112
  <code>{{op.c8y_Command.text}}</code>
108
113
  </pre>
109
- <div class="legend form-block" translate>Response</div>
110
- <pre class="text-pre-normal">
114
+ <div
115
+ class="legend form-block"
116
+ translate
117
+ >
118
+ Response
119
+ </div>
120
+ <pre class="text-pre-line">
111
121
  <code>{{op.c8y_Command.result}}</code>
112
122
  </pre>
113
123
  </div>
@@ -1 +1 @@
1
- "use strict";function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}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,p=[],s=!0,c=!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)&&(p.push(n.value),p.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return p}}function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(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 _arrayWithHoles(e){if(Array.isArray(e))return e}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,t){var r;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(r="Object"===(r=Object.prototype.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 _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,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}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(){function e(e,o,c,l,h,f,y,m,d){return new function r(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=n.tenantId,u=this,a="x-show-if-any-available",p="title";function i(e){var t=_.cloneDeep(e),e=l.when(t),r=_.find(u.ENTITIES.values(),{staticSchemaPath:u.propertiesCfg.static.path});return e=r?y.list().then(function(e){var t={appliesTo:{}};return t.appliesTo[r.value]=!0,_.filter(e,t)}).then(function(e){return _.map(e,function(e){return _.get(e,"c8y_JsonSchema")})}).then(function(e){return _.forEach(e,function(e){r===u.ENTITIES.TENANTS?_.merge(t.properties.customProperties.properties,e.properties):_.merge(t.properties,e.properties)}),t}):e}function s(e,t,r,n,i){if(r===p&&(r=_.has(i,"type"),i=!_.isUndefined(e),r)&&i)return e}this.ENTITIES=h.createEnum([{name:"MANAGED_OBJECTS",value:"MANAGED_OBJECTS",staticSchemaPath:h.dataFilePath("properties/managed-objects.json")},{name:"MEASUREMENTS",value:"MEASUREMENTS",staticSchemaPath:h.dataFilePath("properties/measurements.json")},{name:"ALARMS",value:"ALARMS",staticSchemaPath:h.dataFilePath("properties/alarms.json")},{name:"EVENTS",value:"EVENTS",staticSchemaPath:h.dataFilePath("properties/events.json")},{name:"TENANTS",value:"TENANTS",staticSchemaPath:h.dataFilePath("properties/tenants.json")}]),this.properties={},this.propertiesCfg={static:{path:e}},this.list=function(){return u.loadProperties().then(_.bind(u.getSimplifiedProperties,u))},this.getProperties=function(){return u.loadProperties().then(_.bind(u.getFullProperties,u))},this.getTenantDetails=function(){return t?d.detail(t).then(h.getResData):d.current()},this.removeKeysDependingOnAppsAvailability=function(t){return function e(t){for(var r=Object.keys(t),n=!1,i=0;i<r.length;i++){var o=r[i];_typeof(t[o])===_typeof({})&&null!==t[o]&&(n=o===a||n||e(t[o]))}return n}(t)?u.getTenantDetails().then(function(e){return e=_.flatMap(e.applications.references,"application"),function t(r,n){var e=Object.keys(r);return _.forEach(e,function(e){void 0===r[e][a]||_.some(r[e][a],function(e){return f.isAppOnTheList(n,e)})?_typeof(r[e])===_typeof({})&&null!==r[e]&&e!==a&&t(r[e],n):delete r[e]}),r}(t,e)}):t},this.loadProperties=_.throttle(function(){return u.loadStaticPropertiesSchema().then(i).then(u.removeKeysDependingOnAppsAvailability).then(_.bind(u.getPropertiesFromSchema,u)).then(_.bind(u.addProperties,u))},1e3,{leading:!0,trailing:!1}),this.loadStaticPropertiesSchema=function(){var e=u.propertiesCfg.static.path;return u.loadStaticPropertiesSchemaFromMemory()||o.get(e).then(h.getResData)},this.pathToKey=function(){var e=u.propertiesCfg.static.path;return _.last(e.split("/")).replace(/\.json$/,"")},this.loadStaticPropertiesSchemaFromMemory=function(){var e=u.pathToKey();return(e=(window.c8y&&window.c8y.collections&&window.c8y.collections.properties||{})[e])&&l.when(e)},this.getPropertiesFromSchema=function(e,t,r){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:["properties"],a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:[],p=5<arguments.length&&void 0!==arguments[5]?arguments[5]:[],s=t||e.id||"c8yDefaultSchema",t=_.cloneDeep(r||{type:"object",properties:{}}),c=u.setObjValue(t,o,{});return _.has(e,"properties")&&_.forEach(e.properties,function(e,t){var r=_.cloneDeep(c),n=_.flattenDeep([o,t,"properties"]),i=_.flattenDeep([a,t]),r=u.setObjValue(r,o,_.cloneDeep(e),t),t=u.getNewPropertyObj(s,i,r,e);p.push(t),u.getPropertiesFromSchema(e,s,r,n,i,p)}),p},this.getNewPropertyObj=function(e,t,r,n){var i=t.join("."),e={id:"".concat(e,"!!").concat(i),keyPath:t,type:n.type,printFormat:n.printFormat,label:u.getDefaultPropertyLabel(t,n),schema:r};return n.config&&(e.configSchema=n.config),n.computed&&(e.computed=n.computed),e},this.getFragmentName=function(e){var e=e[e.length-1],t=/_\d{9,}$/;return e=t.test(e)?e.replace(t,""):e},this.getDefaultPropertyLabel=function(e,t){return t=(t=t.title)||(t=(t=u.getFragmentName(e)).replace(/^c8y_/i,"").replace(/([A-Z][a-z])/g," $1").replace(/([^0-9])([0-9])/g,"$1 $2").replace("_"," ").replace(/^\s*/,"").replace(/\s*$/,"")).charAt(0).toUpperCase()+t.slice(1)},this.setObjValue=function(e,t,r,n){for(var i=e,o=0;o<t.length-1;o++)i[t[o]]||(i[t[o]]={}),i=i[t[o]];return n?i[t[o]][n]=r:i[t[o]]=r,e},this.addProperties=function(e){_.forEach(e,function(e){u.properties[e.id]=e})},this.getSimplifiedProperties=function(){return _.map(u.properties,_.bind(u.simplifyProperty,u))},this.simplifyProperty=function(e){return _.pick(e,["id","keyPath","type","label","configSchema","computed","printFormat"])},this.getFullProperties=function(){return _.cloneDeep(u.properties)},this.getSchema=function(e){return u.loadProperties().then(_.bind(u.getSchemaForProperties,u,e)).catch(c.error)},this.getSchemaForProperties=function(o){var a={type:"object",properties:{}};return _.forEach(o,function(e){u.isCustomProperty(e)&&u.addCustomProperty(e),_.mergeWith(a.properties,u.properties[e.id].schema.properties,s);var t,r,n,i=u.findInSchema(a,e);i&&(i.id=e.id,i.title=e.label||u.properties[e.id].label,n=i,t=e,r=o,u.isComplexProperty(t)&&0<u.getChildren(t,r).length&&(n.properties={}),_.forEach(_.get(i,"properties"),function(e){_.set(e,p,m.getString(e.title))}),t=a,r=e,n=_.last(r.id.split("!!")),i=_.last(r.keyPath),r.computed)&&r.configSchema&&(n!==i&&(t.properties[i]=t.properties[n],delete t.properties[n]),r.config&&4===r.config.resultType&&(t.properties[i].type="object",t.properties[i].properties={value:{title:m.getString("Value"),type:"number"},unit:{title:m.getString("Unit"),type:"string"}}),r.config)&&1===r.config.resultType&&(t.properties[i].type="number")}),function r(e,n){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[];e.properties&&_.forEach(e.properties,function(e,t){n(e,t,[].concat(_toConsumableArray(i),[t])),r(e,n,[].concat(_toConsumableArray(i),[t]))})}(a,function(e,t,r){_.isUndefined(e.title)&&(e.title=u.getDefaultPropertyLabel(r,e))}),a},this.findInSchema=function(e,t){var r=t.keyPath;return t.computed&&(r=[u.getFragmentName(r)]),u.findInSchemaByKeyPath(e,r)},this.findInSchemaById=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[];return _.isObjectLike(e)&&_.forOwn(e,function(e){_.isObjectLike(e)&&e.id===t?r.push(e):u.findInSchemaById(e,t,r)}),r},this.findInSchemaByKeyPath=function(e,t){if(!t.length)return e;if(e.properties){var r=(t=_toArray(t))[0],t=t.slice(1);if(_.has(e.properties,r))return this.findInSchemaByKeyPath(e.properties[r],t)}},this.getForm=function(e,t){return u.loadProperties().then(_.bind(u.getFormForProperties,u,e,t))},this.getFormForProperties=function(e,n){var t=_(e).map(function(e){var t;return e.computed?e:(t=_slicedToArray(e.id.match(/^(.+)!!/),2)[1],t="".concat(t,"!!").concat(e.keyPath[0]),e=u.properties[t],_.pick(e,["id","keyPath"]))}).uniqBy("keyPath").value(),i=u.getSchemaForProperties(e);return t.map(function(e){return t=n,r=i,r=u.findInSchemaByKeyPath(r,e.keyPath),r=function(e,t){return t.computed&&t.configSchema&&(e.key=_.last(t.keyPath)),e}(r={key:ObjectPath.stringify(u.properties[e.id].keyPath),title:r.title||e.label||u.properties[e.id].label},e),_.assign(r,t),r;var t,r})},this.isComplexProperty=function(e){return"object"===e.type},this.isCustomProperty=function(e){return"c8yCustom"===e.id.split("!!")[0]},this.getChildren=function(t,e){return _.filter(e||u.properties,function(e){return t.id!==e.id&&_.isEqual(_.take(e.keyPath,t.keyPath.length),t.keyPath)})},this.changeActiveProperty=function(e,t){return _.map(e,function(e){return _.assign(e,{__active:t})})},this.removeDuplication=function(e){var t,r=e;return _.map(e,function(e){u.isComplexProperty(e)&&(t=_.map(u.getChildren(e),"id"),r=_.reject(r,function(e){return _.includes(t,e.id)}))}),r},this.getParent=function(t){return _.filter(u.properties,function(e){return t.keyPath.length>e.keyPath.length&&_.isEqual(_.take(t.keyPath,e.keyPath.length),e.keyPath)})},this.addCustomProperty=function(e){u.properties[e.id]||(u.properties[e.id]={}),_.merge(u.properties[e.id],e)},this.another=function(e,t){return new r(e,void 0===t?n:t)},this.paths=_.reduce(this.ENTITIES.values(),function(e,t){return e[_.startCase(_.camelCase(t.value)).replace(" ","")]=t.staticSchemaPath,e},{})}(h.dataFilePath("properties/managed-objects.json"))}e.$inject=["$filter","$http","$log","$q","c8yBase","c8yApplication","c8yJsonSchemas","gettextCatalog","c8yTenant"],angular.module("c8y.ui").provider("c8yPropertiesLibrary",function(){return{$get:e}})}();
1
+ "use strict";function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}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,p=[],s=!0,c=!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)&&(p.push(n.value),p.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return p}}function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(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 _arrayWithHoles(e){if(Array.isArray(e))return e}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,t){var r;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(r="Object"===(r=Object.prototype.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 _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,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}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(){function e(e,o,c,l,h,f,y,m,d){return new function r(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=n.tenantId,u=this,a="x-show-if-any-available",p="title";function i(e){var t=_.cloneDeep(e),e=l.when(t),r=_.find(u.ENTITIES.values(),{staticSchemaPath:u.propertiesCfg.static.path});return e=r?y.list().then(function(e){var t={appliesTo:{}};return t.appliesTo[r.value]=!0,_.filter(e,t)}).then(function(e){return _.map(e,function(e){return _.get(e,"c8y_JsonSchema")})}).then(function(e){return _.forEach(e,function(e){r===u.ENTITIES.TENANTS?_.merge(t.properties.customProperties.properties,e.properties):_.merge(t.properties,e.properties)}),t}):e}function s(e,t,r,n,i){if(r===p&&(r=_.has(i,"type"),i=!_.isUndefined(e),r)&&i)return e}this.ENTITIES=h.createEnum([{name:"MANAGED_OBJECTS",value:"MANAGED_OBJECTS",staticSchemaPath:h.dataFilePath("properties/managed-objects.json")},{name:"MEASUREMENTS",value:"MEASUREMENTS",staticSchemaPath:h.dataFilePath("properties/measurements.json")},{name:"ALARMS",value:"ALARMS",staticSchemaPath:h.dataFilePath("properties/alarms.json")},{name:"EVENTS",value:"EVENTS",staticSchemaPath:h.dataFilePath("properties/events.json")},{name:"TENANTS",value:"TENANTS",staticSchemaPath:h.dataFilePath("properties/tenants.json")}]),this.properties={},this.propertiesCfg={static:{path:e}},this.list=function(){return u.loadProperties().then(_.bind(u.getSimplifiedProperties,u))},this.getProperties=function(){return u.loadProperties().then(_.bind(u.getFullProperties,u))},this.getTenantDetails=function(){return t?d.detail(t).then(h.getResData):d.current()},this.removeKeysDependingOnAppsAvailability=function(t){return function e(t){for(var r=Object.keys(t),n=!1,i=0;i<r.length;i++){var o=r[i];_typeof(t[o])===_typeof({})&&null!==t[o]&&(n=o===a||n||e(t[o]))}return n}(t)?u.getTenantDetails().then(function(e){return e=_.flatMap(e.applications.references,"application"),function t(r,n){var e=Object.keys(r);return _.forEach(e,function(e){void 0===r[e][a]||_.some(r[e][a],function(e){return f.isAppOnTheList(n,e)})?_typeof(r[e])===_typeof({})&&null!==r[e]&&e!==a&&t(r[e],n):delete r[e]}),r}(t,e)}):t},this.loadProperties=_.throttle(function(){return u.loadStaticPropertiesSchema().then(i).then(u.removeKeysDependingOnAppsAvailability).then(_.bind(u.getPropertiesFromSchema,u)).then(_.bind(u.addProperties,u))},1e3,{leading:!0,trailing:!1}),this.loadStaticPropertiesSchema=function(){var e=u.propertiesCfg.static.path;return u.loadStaticPropertiesSchemaFromMemory()||o.get(e).then(h.getResData)},this.pathToKey=function(){var e=u.propertiesCfg.static.path;return _.last(e.split("/")).replace(/\.json$/,"")},this.loadStaticPropertiesSchemaFromMemory=function(){var e=u.pathToKey();return(e=(window.c8y&&window.c8y.collections&&window.c8y.collections.properties||{})[e])&&l.when(e)},this.getPropertiesFromSchema=function(e,t,r){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:["properties"],a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:[],p=5<arguments.length&&void 0!==arguments[5]?arguments[5]:[],s=t||e.id||"c8yDefaultSchema",t=_.cloneDeep(r||{type:"object",properties:{}}),c=u.setObjValue(t,o,{});return _.has(e,"properties")&&_.forEach(e.properties,function(e,t){var r=_.cloneDeep(c),n=_.flattenDeep([o,t,"properties"]),i=_.flattenDeep([a,t]),r=u.setObjValue(r,o,_.cloneDeep(e),t),t=u.getNewPropertyObj(s,i,r,e);p.push(t),u.getPropertiesFromSchema(e,s,r,n,i,p)}),p},this.getNewPropertyObj=function(e,t,r,n){var i=t.join("."),e={id:"".concat(e,"!!").concat(i),keyPath:t,type:n.type,printFormat:n.printFormat,label:u.getDefaultPropertyLabel(t,n),schema:r};return n.config&&(e.configSchema=n.config),n.computed&&(e.computed=n.computed),e},this.getFragmentName=function(e){var e=e[e.length-1],t=/_\d{9,}$/;return e=t.test(e)?e.replace(t,""):e},this.getDefaultPropertyLabel=function(e,t){return t=(t=t.title)||(t=(t=u.getFragmentName(e)).replace(/^c8y_/i,"").replace(/([A-Z][a-z])/g," $1").replace(/([^0-9])([0-9])/g,"$1 $2").replace("_"," ").replace(/^\s*/,"").replace(/\s*$/,"")).charAt(0).toUpperCase()+t.slice(1)},this.setObjValue=function(e,t,r,n){for(var i=e,o=0;o<t.length-1;o++)i[t[o]]||(i[t[o]]={}),i=i[t[o]];return n?i[t[o]][n]=r:i[t[o]]=r,e},this.addProperties=function(e){_.forEach(e,function(e){u.properties[e.id]=e})},this.getSimplifiedProperties=function(){return _.map(u.properties,_.bind(u.simplifyProperty,u))},this.simplifyProperty=function(e){return _.pick(e,["id","keyPath","type","label","configSchema","computed","printFormat"])},this.getFullProperties=function(){return _.cloneDeep(u.properties)},this.getSchema=function(e){return u.loadProperties().then(_.bind(u.getSchemaForProperties,u,e)).catch(c.error)},this.getSchemaForProperties=function(o){var a={type:"object",properties:{}};return _.forEach(o,function(e){u.isCustomProperty(e)&&u.addCustomProperty(e),_.mergeWith(a.properties,u.properties[e.id].schema.properties,s);var t,r,n,i=u.findInSchema(a,e);i&&(i.id=e.id,i.title=e.label||u.properties[e.id].label,n=i,t=e,r=o,u.isComplexProperty(t)&&0<u.getChildren(t,r).length&&(n.properties={}),_.forEach(_.get(i,"properties"),function(e){_.set(e,p,m.getString(e.title))}),t=a,r=e,n=_.last(r.id.split("!!")),i=_.last(r.keyPath),r.computed)&&r.configSchema&&(n!==i&&(t.properties[i]=t.properties[n],delete t.properties[n]),r.config&&4===r.config.resultType&&(t.properties[i].type="object",t.properties[i].properties={value:{title:m.getString("Value"),type:"number"},unit:{title:m.getString("Unit"),type:"string"}}),r.config)&&1===r.config.resultType&&(t.properties[i].type="number")}),function r(e,n){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[];e.properties&&_.forEach(e.properties,function(e,t){n(e,t,[].concat(_toConsumableArray(i),[t])),r(e,n,[].concat(_toConsumableArray(i),[t]))})}(a,function(e,t,r){_.isUndefined(e.title)&&(e.title=u.getDefaultPropertyLabel(r,e))}),a},this.findInSchema=function(e,t){var r=t.keyPath;return t.computed&&(r=[u.getFragmentName(r)]),u.findInSchemaByKeyPath(e,r)},this.findInSchemaById=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[];return _.isObjectLike(e)&&_.forOwn(e,function(e){_.isObjectLike(e)&&e.id===t?r.push(e):u.findInSchemaById(e,t,r)}),r},this.findInSchemaByKeyPath=function(e,t){if(!t.length)return e;if(e.properties){var r=(t=_toArray(t))[0],t=t.slice(1);if(_.has(e.properties,r))return this.findInSchemaByKeyPath(e.properties[r],t)}},this.getForm=function(e,t){return u.loadProperties().then(_.bind(u.getFormForProperties,u,e,t))},this.getFormForProperties=function(e,n){var t=_(e).map(function(e){var t;return e.computed?e:(t=_slicedToArray(e.id.match(/^(.+)!!/),2)[1],t="".concat(t,"!!").concat(e.keyPath[0]),e=u.properties[t],_.pick(e,["id","keyPath"]))}).uniqBy("keyPath").value(),i=u.getSchemaForProperties(e);return t.map(function(e){return t=n,r=i,r=u.findInSchemaByKeyPath(r,e.keyPath),r=function(e,t){return t.computed&&t.configSchema&&(e.key=_.last(t.keyPath)),e}(r={key:ObjectPath.stringify(u.properties[e.id].keyPath),title:r.title||e.label||u.properties[e.id].label},e),_.assign(r,t),r;var t,r})},this.isComplexProperty=function(e){return"object"===e.type||"array"===e.type},this.isCustomProperty=function(e){return"c8yCustom"===e.id.split("!!")[0]},this.getChildren=function(t,e){return _.filter(e||u.properties,function(e){return t.id!==e.id&&_.isEqual(_.take(e.keyPath,t.keyPath.length),t.keyPath)})},this.changeActiveProperty=function(e,t){return _.map(e,function(e){return _.assign(e,{__active:t})})},this.removeDuplication=function(e){var t,r=e;return _.map(e,function(e){u.isComplexProperty(e)&&(t=_.map(u.getChildren(e),"id"),r=_.reject(r,function(e){return _.includes(t,e.id)}))}),r},this.getParent=function(t){return _.filter(u.properties,function(e){return t.keyPath.length>e.keyPath.length&&_.isEqual(_.take(t.keyPath,e.keyPath.length),e.keyPath)})},this.addCustomProperty=function(e){u.properties[e.id]||(u.properties[e.id]={}),_.merge(u.properties[e.id],e)},this.another=function(e,t){return new r(e,void 0===t?n:t)},this.paths=_.reduce(this.ENTITIES.values(),function(e,t){return e[_.startCase(_.camelCase(t.value)).replace(" ","")]=t.staticSchemaPath,e},{})}(h.dataFilePath("properties/managed-objects.json"))}e.$inject=["$filter","$http","$log","$q","c8yBase","c8yApplication","c8yJsonSchemas","gettextCatalog","c8yTenant"],angular.module("c8y.ui").provider("c8yPropertiesLibrary",function(){return{$get:e}})}();
@@ -40,6 +40,7 @@
40
40
  <label>{{ 'From`date`' | translate }}</label>
41
41
  <c8y-date-time-picker
42
42
  placeholder="{{ 'From`date`' | translate }}"
43
+ append-to-body="true"
43
44
  is-open="vm.datePickerFromOpen"
44
45
  ng-model="vm.filters.dateFrom"
45
46
  max-date="vm.filters.dateTo"
@@ -53,6 +54,7 @@
53
54
  <label>{{ 'To`date`' | translate }}</label>
54
55
  <c8y-date-time-picker
55
56
  placeholder="{{ 'To`date`' | translate }}"
57
+ append-to-body="true"
56
58
  is-open="vm.datePickerToOpen"
57
59
  ng-model="vm.filters.dateTo"
58
60
  min-date="vm.filters.dateFrom"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1019.19.7",
3
+ "version": "1019.21.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",