@c8y/ng1-modules 1022.13.0 → 1022.21.3

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.
@@ -527,9 +527,6 @@ msgstr "Een silo die actuele waarden voor geselecteerde metingen weergeeft"
527
527
  msgid "A table display of a collection of data points"
528
528
  msgstr "Een tabelweergave van een verzameling gegevenspunten"
529
529
 
530
- msgid "A user managed via your authorization server cannot change the password of the user."
531
- msgstr "Een via uw authorisatieserver beheerde gebruiker kan het wachtwoord van de gebruiker niet wijzigen."
532
-
533
530
  msgid "ACCEPTED"
534
531
  msgstr "GEACCEPTEERD"
535
532
 
@@ -6813,6 +6810,9 @@ msgstr "Opslaan mislukt. Probeer het nogmaals."
6813
6810
  msgid "Failed to search for address."
6814
6811
  msgstr "Zoeken naar adres is mislukt."
6815
6812
 
6813
+ msgid "Failed to send password reset link."
6814
+ msgstr "Mislukt bij het verzenden van de link voor het resetten van het wachtwoord."
6815
+
6816
6816
  msgid "Failed to set package availability."
6817
6817
  msgstr "Beschikbaarheid van pakket kan niet worden ingesteld."
6818
6818
 
@@ -10482,6 +10482,9 @@ msgstr "Geen beschrijving beschikbaar"
10482
10482
  msgid "No description available."
10483
10483
  msgstr "Geen beschrijving beschikbaar."
10484
10484
 
10485
+ msgid "No description provided."
10486
+ msgstr "Geen beschrijving beschikbaar."
10487
+
10485
10488
  msgid "No device groups available due to the device owner permissions. The device owner must be\n"
10486
10489
  " granted access to some device groups first."
10487
10490
  msgstr "Geen apparaatgroepen beschikbaar vanwege machtigingen van de apparaateigenaar. De \n"
@@ -10828,6 +10831,9 @@ msgstr "Geen snelle links om weer te geven"
10828
10831
  msgid "No quick links to display."
10829
10832
  msgstr "Geen snelle links om weer te geven."
10830
10833
 
10834
+ msgid "No recent events found."
10835
+ msgstr "Er zijn geen recente gebeurtenissen gevonden."
10836
+
10831
10837
  msgid "No recent operations found"
10832
10838
  msgstr "Geen recente bewerkingen gevonden"
10833
10839
 
@@ -11812,6 +11818,9 @@ msgstr "E-mailsjabloon wachtwoordreset (indien adres niet bekend is)"
11812
11818
  msgid "Password reset link expired. Please enter your email address to receive a new one."
11813
11819
  msgstr "Link voor opnieuw stellen van het wachtwoord verlopen. Voer uw e-mailadres in om een nieuwe te ontvangen."
11814
11820
 
11821
+ msgid "Password reset link sent."
11822
+ msgstr "Link voor het resetten van uw wachtwoord is verzonden."
11823
+
11815
11824
  msgid "Password reset request has been sent. Please check your email."
11816
11825
  msgstr "Verzoek om wachtwoord opnieuw in te stellen is verzonden. Controleer uw e-mail."
11817
11826
 
@@ -13182,8 +13191,11 @@ msgstr "Intrekken"
13182
13191
  msgid "Revoke TOTP secret"
13183
13192
  msgstr "TOTP-geheim intrekken"
13184
13193
 
13185
- msgid "Revoke provisioned certificate"
13186
- msgstr "Bevoorraad certificaat intrekken"
13194
+ msgid "Revoke provisioned certificate?"
13195
+ msgstr "Het verstrekte certificaat intrekken?"
13196
+
13197
+ msgid "Revoke provisioned certificates?"
13198
+ msgstr "Geprofileerde certificaten intrekken?"
13187
13199
 
13188
13200
  msgid "Right"
13189
13201
  msgstr "Rechts"
@@ -13996,6 +14008,12 @@ msgstr "Geselecteerde getal, startbit of aantal bits overlapt met een ander regi
13996
14008
  msgid "Selected operation"
13997
14009
  msgstr "Geselecteerde bewerking"
13998
14010
 
14011
+ msgid "Selected provisioned certificate was revoked."
14012
+ msgstr "Het geselecteerde toegewezen certificaat is ingetrokken."
14013
+
14014
+ msgid "Selected provisioned certificates were revoked."
14015
+ msgstr "Geselecteerde geconfigureerde certificaten zijn ingetrokken."
14016
+
13999
14017
  msgid "Selected software for various device types"
14000
14018
  msgstr "Geselecteerde software voor verschillende apparaattypes"
14001
14019
 
@@ -18268,6 +18286,9 @@ msgstr "U staat op het punt de widgets van dit dashboard te resetten. Alle wijzi
18268
18286
  msgid "You are about to revoke provisioned certificate {{ serialNumber }}. Do you want to proceed?"
18269
18287
  msgstr "U staat op het punt om het certificaat {{ serialNumber }}in te trekken. Wilt u doorgaan??"
18270
18288
 
18289
+ msgid "You are about to revoke provisioned certificates: {{ serialNumbers }}. Do you want to proceed?"
18290
+ msgstr "U staat op het punt om de volgende certificaten in te trekken: {{ serialNumbers }}. Wilt u doorgaan??"
18291
+
18271
18292
  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."
18272
18293
  msgstr "U staat op het punt om wijzigingen in de globale rol op te slaan die de beveiliging kunnen beïnvloeden. Om deze wijzigingen onmiddellijk toe te passen, moet u de sessies van alle gebruikers met deze rol beëindigen."
18273
18294
 
@@ -562,9 +562,6 @@ msgstr "Silos wyświetlający bieżące wartości wybranych pomiarów"
562
562
  msgid "A table display of a collection of data points"
563
563
  msgstr "Zbiór punktów danych wyświetlany w tabeli"
564
564
 
565
- msgid "A user managed via your authorization server cannot change the password of the user."
566
- msgstr "Użytkownik zarządzany za pośrednictwem serwera autoryzacji nie może zmienić hasła użytkownika."
567
-
568
565
  msgid "ACCEPTED"
569
566
  msgstr "ZAAKCEPTOWANY"
570
567
 
@@ -6853,6 +6850,9 @@ msgstr "Nie udało się zapisać. Spróbuj ponownie."
6853
6850
  msgid "Failed to search for address."
6854
6851
  msgstr "Nie można wyszukać adresu."
6855
6852
 
6853
+ msgid "Failed to send password reset link."
6854
+ msgstr "Nie udało się wysłać linku do resetowania hasła."
6855
+
6856
6856
  msgid "Failed to set package availability."
6857
6857
  msgstr "Nie udało się ustawić dostępności pakietu."
6858
6858
 
@@ -10529,6 +10529,9 @@ msgstr "Brak opisu"
10529
10529
  msgid "No description available."
10530
10530
  msgstr "Brak dostępnego opisu."
10531
10531
 
10532
+ msgid "No description provided."
10533
+ msgstr "Brak opisu."
10534
+
10532
10535
  msgid "No device groups available due to the device owner permissions. The device owner must be\n"
10533
10536
  " granted access to some device groups first."
10534
10537
  msgstr "Brak dostępnych grup urządzeń z powodu uprawnień właściciela urządzenia. Właścicielowi urządzenia należy\n"
@@ -10875,6 +10878,9 @@ msgstr "Brak szybkich linków do wyświetlenia"
10875
10878
  msgid "No quick links to display."
10876
10879
  msgstr "Brak szybkich linków do wyświetlenia."
10877
10880
 
10881
+ msgid "No recent events found."
10882
+ msgstr "Nie znaleziono żadnych ostatnich zdarzeń."
10883
+
10878
10884
  msgid "No recent operations found"
10879
10885
  msgstr "Nie znaleziono ostatnich operacji"
10880
10886
 
@@ -11859,6 +11865,9 @@ msgstr "Szablon wiadomości e-mail resetowania hasła (w przypadku nieznanego ad
11859
11865
  msgid "Password reset link expired. Please enter your email address to receive a new one."
11860
11866
  msgstr "Łącze umożliwiające zresetowanie hasła utraciło ważność. Wprowadź swój adres e-mail, aby otrzymać nowe."
11861
11867
 
11868
+ msgid "Password reset link sent."
11869
+ msgstr "Link do resetowania hasła został wysłany."
11870
+
11862
11871
  msgid "Password reset request has been sent. Please check your email."
11863
11872
  msgstr "Żądanie zresetowania hasła zostało wysłane. Sprawdź pocztę e-mail."
11864
11873
 
@@ -13229,8 +13238,11 @@ msgstr "Odbierz"
13229
13238
  msgid "Revoke TOTP secret"
13230
13239
  msgstr "Unieważnij klucz tajny TOTP"
13231
13240
 
13232
- msgid "Revoke provisioned certificate"
13233
- msgstr "Odbierz udostępniony certyfikat"
13241
+ msgid "Revoke provisioned certificate?"
13242
+ msgstr "Odebrać certyfikat?"
13243
+
13244
+ msgid "Revoke provisioned certificates?"
13245
+ msgstr "Odebrać certyfikaty?"
13234
13246
 
13235
13247
  msgid "Right"
13236
13248
  msgstr "Z prawej"
@@ -14043,6 +14055,12 @@ msgstr "Wybrany numer, bit początkowy lub liczba bitów nakładają się z inny
14043
14055
  msgid "Selected operation"
14044
14056
  msgstr "Wybrana operacja"
14045
14057
 
14058
+ msgid "Selected provisioned certificate was revoked."
14059
+ msgstr "Wybrany certyfikat został cofnięty."
14060
+
14061
+ msgid "Selected provisioned certificates were revoked."
14062
+ msgstr "Wybrane certyfikaty zostały cofnięte."
14063
+
14046
14064
  msgid "Selected software for various device types"
14047
14065
  msgstr "Wybrano oprogramowanie dla różnych typów urządzeń"
14048
14066
 
@@ -18318,6 +18336,9 @@ msgstr "Zamierzasz zresetować widżety tego pulpitu. Wszystkie zmiany widżetó
18318
18336
  msgid "You are about to revoke provisioned certificate {{ serialNumber }}. Do you want to proceed?"
18319
18337
  msgstr "Zamierzasz odwołać udostępniony certyfikat {{ serialNumber }}. Czy chcesz kontynuować?"
18320
18338
 
18339
+ msgid "You are about to revoke provisioned certificates: {{ serialNumbers }}. Do you want to proceed?"
18340
+ msgstr "Zamierzasz odebrać certyfikaty: {{ serialNumbers }}. Czy chcesz kontynuować?"
18341
+
18321
18342
  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."
18322
18343
  msgstr "Zamierzasz zapisać zmiany w roli globalnej, które mogą mieć wpływ na bezpieczeństwo. Aby natychmiast zastosować te zmiany, należy zakończyć sesje wszystkich użytkowników z przypisaną tą rolą."
18323
18344
 
@@ -527,9 +527,6 @@ msgstr "Um silo que exibe os valores atuais das medições selecionadas"
527
527
  msgid "A table display of a collection of data points"
528
528
  msgstr "Uma exibição em tabela de uma coleção de pontos de dados"
529
529
 
530
- msgid "A user managed via your authorization server cannot change the password of the user."
531
- msgstr "Um usuário gerenciado através do seu servidor de autorização não pode alterar a senha do usuário."
532
-
533
530
  msgid "ACCEPTED"
534
531
  msgstr "ACEITE"
535
532
 
@@ -6813,6 +6810,9 @@ msgstr "Falha ao salvar. Tente novamente."
6813
6810
  msgid "Failed to search for address."
6814
6811
  msgstr "Falha ao pesquisar endereço."
6815
6812
 
6813
+ msgid "Failed to send password reset link."
6814
+ msgstr "Falha ao enviar o link para reinicializar a senha."
6815
+
6816
6816
  msgid "Failed to set package availability."
6817
6817
  msgstr "Falha ao definir a disponibilidade do pacote."
6818
6818
 
@@ -10483,6 +10483,9 @@ msgstr "Nenhuma descrição disponível"
10483
10483
  msgid "No description available."
10484
10484
  msgstr "Não há descrição disponível."
10485
10485
 
10486
+ msgid "No description provided."
10487
+ msgstr "Nenhuma descrição fornecida."
10488
+
10486
10489
  msgid "No device groups available due to the device owner permissions. The device owner must be\n"
10487
10490
  " granted access to some device groups first."
10488
10491
  msgstr "Nenhum grupo de dispositivos disponível devido às permissões do proprietário do dispositivo. Em primeiro lugar, o proprietário do dispositivo deve\n"
@@ -10829,6 +10832,9 @@ msgstr "Não há links rápidos para exibir"
10829
10832
  msgid "No quick links to display."
10830
10833
  msgstr "Não há links rápidos para exibir."
10831
10834
 
10835
+ msgid "No recent events found."
10836
+ msgstr "Nenhum evento recente encontrado."
10837
+
10832
10838
  msgid "No recent operations found"
10833
10839
  msgstr "Nenhuma operação recente encontrada"
10834
10840
 
@@ -11813,6 +11819,9 @@ msgstr "Template de e-mail de redefinição da senha (quando o endereço é desc
11813
11819
  msgid "Password reset link expired. Please enter your email address to receive a new one."
11814
11820
  msgstr "O link de redefinição de senha expirou. Insira seu endereço de e-mail para receber um novo."
11815
11821
 
11822
+ msgid "Password reset link sent."
11823
+ msgstr "Link para reinicialização da senha enviado."
11824
+
11816
11825
  msgid "Password reset request has been sent. Please check your email."
11817
11826
  msgstr "A solicitação de redefinição de senha foi enviada. Por favor verifique seu e-mail."
11818
11827
 
@@ -13183,8 +13192,11 @@ msgstr "Revogar"
13183
13192
  msgid "Revoke TOTP secret"
13184
13193
  msgstr "Revogar TOTP secreto"
13185
13194
 
13186
- msgid "Revoke provisioned certificate"
13187
- msgstr "Revogação de certificado provisionado"
13195
+ msgid "Revoke provisioned certificate?"
13196
+ msgstr "Revogar certificado provisionado?"
13197
+
13198
+ msgid "Revoke provisioned certificates?"
13199
+ msgstr "Revogar certificados provisionados?"
13188
13200
 
13189
13201
  msgid "Right"
13190
13202
  msgstr "Direita"
@@ -13997,6 +14009,12 @@ msgstr "O número escolhido, bit inicial ou número de bits em conflito com outr
13997
14009
  msgid "Selected operation"
13998
14010
  msgstr "Operação selecionada"
13999
14011
 
14012
+ msgid "Selected provisioned certificate was revoked."
14013
+ msgstr "O certificado provisionado selecionado foi revogado."
14014
+
14015
+ msgid "Selected provisioned certificates were revoked."
14016
+ msgstr "Os certificados provisionados selecionados foram revogados."
14017
+
14000
14018
  msgid "Selected software for various device types"
14001
14019
  msgstr "Software selecionado para vários tipos de dispositivo"
14002
14020
 
@@ -18269,6 +18287,9 @@ msgstr "Você está prestes a redefinir os widgets deste painel. Todas as altera
18269
18287
  msgid "You are about to revoke provisioned certificate {{ serialNumber }}. Do you want to proceed?"
18270
18288
  msgstr "Você está prestes a revogar o certificado provisionado {{ serialNumber }}. Deseja prosseguir?"
18271
18289
 
18290
+ msgid "You are about to revoke provisioned certificates: {{ serialNumbers }}. Do you want to proceed?"
18291
+ msgstr "Você está prestes a revogar certificados provisionados: {{ serialNumbers }}. Deseja continuar?"
18292
+
18272
18293
  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."
18273
18294
  msgstr "Você está prestes a salvar as alterações no papel global que podem afetar a segurança. Para aplicar essas alterações imediatamente, será preciso encerrar as sessões de todos os usuários com esse papel."
18274
18295
 
@@ -512,9 +512,6 @@ msgstr "显示选定测量的当前值的筒仓"
512
512
  msgid "A table display of a collection of data points"
513
513
  msgstr "以表的形式显示一组数据点"
514
514
 
515
- msgid "A user managed via your authorization server cannot change the password of the user."
516
- msgstr "通过您的授权服务器管理的用户无法更改该用户的密码。"
517
-
518
515
  msgid "ACCEPTED"
519
516
  msgstr "已接受"
520
517
 
@@ -6795,6 +6792,9 @@ msgstr "未能保存。请重试。"
6795
6792
  msgid "Failed to search for address."
6796
6793
  msgstr "无法搜索地址。"
6797
6794
 
6795
+ msgid "Failed to send password reset link."
6796
+ msgstr "发送密码重置链接失败。"
6797
+
6798
6798
  msgid "Failed to set package availability."
6799
6799
  msgstr "无法设置包可用性。"
6800
6800
 
@@ -10465,6 +10465,9 @@ msgstr "没有描述"
10465
10465
  msgid "No description available."
10466
10466
  msgstr "没有可用的描述。"
10467
10467
 
10468
+ msgid "No description provided."
10469
+ msgstr "未提供描述。"
10470
+
10468
10471
  msgid "No device groups available due to the device owner permissions. The device owner must be\n"
10469
10472
  " granted access to some device groups first."
10470
10473
  msgstr "由于设备所有者权限,无设备组可用。必须先授予设备所有者\n"
@@ -10811,6 +10814,9 @@ msgstr "无显示的快速链接"
10811
10814
  msgid "No quick links to display."
10812
10815
  msgstr "没有可显示的快速链接。"
10813
10816
 
10817
+ msgid "No recent events found."
10818
+ msgstr "未找到最近的事件。"
10819
+
10814
10820
  msgid "No recent operations found"
10815
10821
  msgstr "未找到最近操作"
10816
10822
 
@@ -11795,6 +11801,9 @@ msgstr "密码重置邮件模板(地址未知时)"
11795
11801
  msgid "Password reset link expired. Please enter your email address to receive a new one."
11796
11802
  msgstr "密码重置链接已过期。请输入您的电子邮件地址以接收新密码。"
11797
11803
 
11804
+ msgid "Password reset link sent."
11805
+ msgstr "密码重置链接已发送。"
11806
+
11798
11807
  msgid "Password reset request has been sent. Please check your email."
11799
11808
  msgstr "已发送密码重置请求。请查看电子邮件。"
11800
11809
 
@@ -13165,8 +13174,11 @@ msgstr "撤消"
13165
13174
  msgid "Revoke TOTP secret"
13166
13175
  msgstr "撤消 TOTP 密码"
13167
13176
 
13168
- msgid "Revoke provisioned certificate"
13169
- msgstr "撤销已提供的证书"
13177
+ msgid "Revoke provisioned certificate?"
13178
+ msgstr "撤消已配置的证书?"
13179
+
13180
+ msgid "Revoke provisioned certificates?"
13181
+ msgstr "撤消已配置的证书?"
13170
13182
 
13171
13183
  msgid "Right"
13172
13184
  msgstr "右"
@@ -13979,6 +13991,12 @@ msgstr "所选数字、起始位或位数与另一个寄存器重叠。"
13979
13991
  msgid "Selected operation"
13980
13992
  msgstr "选定操作"
13981
13993
 
13994
+ msgid "Selected provisioned certificate was revoked."
13995
+ msgstr "所选的已配置证书已被撤消。"
13996
+
13997
+ msgid "Selected provisioned certificates were revoked."
13998
+ msgstr "已撤消所选的已配置证书。"
13999
+
13982
14000
  msgid "Selected software for various device types"
13983
14001
  msgstr "选择各种设备类型的软件"
13984
14002
 
@@ -16170,7 +16188,7 @@ msgstr "已在平台级别强制实施此设置。"
16170
16188
 
16171
16189
  msgid "The successfully enrolled devices can now request signed certificates and use them to\n"
16172
16190
  " connect and authenticate to the platform via certificate-based authentication."
16173
- msgstr ""
16191
+ msgstr "成功注册的设备现在可以请求签名证书,并使用它们通过基于证书的身份验证连接到平台并进行身份验证。\n"
16174
16192
 
16175
16193
  msgid "The target URL did not accept the connection yet."
16176
16194
  msgstr "目标 URL 尚未接受连接。"
@@ -18248,6 +18266,9 @@ msgstr "您即将重置此仪表板的小组件。对仪表板小组件的所有
18248
18266
  msgid "You are about to revoke provisioned certificate {{ serialNumber }}. Do you want to proceed?"
18249
18267
  msgstr "您即将撤销已配置证书 {{ serialNumber }}。您要继续吗?"
18250
18268
 
18269
+ msgid "You are about to revoke provisioned certificates: {{ serialNumbers }}. Do you want to proceed?"
18270
+ msgstr "您即将撤消已配置的证书: {{ serialNumbers }}。是否要继续?"
18271
+
18251
18272
  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."
18252
18273
  msgstr "您即将保存可能会影响安全性的全局角色更改。要立即应用这些更改,您需要终止所有具有此角色的用户的会话。"
18253
18274
 
@@ -512,9 +512,6 @@ msgstr "显示选定测量的当前值的筒仓"
512
512
  msgid "A table display of a collection of data points"
513
513
  msgstr "以表的形式显示一组数据点"
514
514
 
515
- msgid "A user managed via your authorization server cannot change the password of the user."
516
- msgstr "通过您的授权服务器管理的用户无法更改该用户的密码。"
517
-
518
515
  msgid "ACCEPTED"
519
516
  msgstr "已接受"
520
517
 
@@ -6795,6 +6792,9 @@ msgstr "未能保存。请重试。"
6795
6792
  msgid "Failed to search for address."
6796
6793
  msgstr "無法搜尋地址。"
6797
6794
 
6795
+ msgid "Failed to send password reset link."
6796
+ msgstr "發送密碼重置連結失敗。"
6797
+
6798
6798
  msgid "Failed to set package availability."
6799
6799
  msgstr "无法设置包可用性。"
6800
6800
 
@@ -10465,6 +10465,9 @@ msgstr "没有描述"
10465
10465
  msgid "No description available."
10466
10466
  msgstr "没有可用的描述。"
10467
10467
 
10468
+ msgid "No description provided."
10469
+ msgstr "未提供描述。"
10470
+
10468
10471
  msgid "No device groups available due to the device owner permissions. The device owner must be\n"
10469
10472
  " granted access to some device groups first."
10470
10473
  msgstr "由于设备所有者权限,无设备组可用。必须先授予设备所有者\n"
@@ -10811,6 +10814,9 @@ msgstr "无显示的快速链接"
10811
10814
  msgid "No quick links to display."
10812
10815
  msgstr "没有快速链接可显示。"
10813
10816
 
10817
+ msgid "No recent events found."
10818
+ msgstr "未找到最近的事件。"
10819
+
10814
10820
  msgid "No recent operations found"
10815
10821
  msgstr "未找到最近操作"
10816
10822
 
@@ -11795,6 +11801,9 @@ msgstr "密碼重置邮件模板(地址未知时)"
11795
11801
  msgid "Password reset link expired. Please enter your email address to receive a new one."
11796
11802
  msgstr "密碼重置链接已过期。请输入您的电子邮件地址以接收新密码。"
11797
11803
 
11804
+ msgid "Password reset link sent."
11805
+ msgstr "已发送密码重置链接。"
11806
+
11798
11807
  msgid "Password reset request has been sent. Please check your email."
11799
11808
  msgstr "已发送密碼重置请求。请查看电子邮件。"
11800
11809
 
@@ -13165,8 +13174,11 @@ msgstr "撤消"
13165
13174
  msgid "Revoke TOTP secret"
13166
13175
  msgstr "撤消 TOTP 密码"
13167
13176
 
13168
- msgid "Revoke provisioned certificate"
13169
- msgstr "撤銷已提供的憑證"
13177
+ msgid "Revoke provisioned certificate?"
13178
+ msgstr "撤消已配置的憑證?"
13179
+
13180
+ msgid "Revoke provisioned certificates?"
13181
+ msgstr "撤消已配置的憑證?"
13170
13182
 
13171
13183
  msgid "Right"
13172
13184
  msgstr "右"
@@ -13979,6 +13991,12 @@ msgstr "所选数字、起始位或位数与另一个寄存器重叠。"
13979
13991
  msgid "Selected operation"
13980
13992
  msgstr "选定操作"
13981
13993
 
13994
+ msgid "Selected provisioned certificate was revoked."
13995
+ msgstr "選擇的已提供憑證已撤消。"
13996
+
13997
+ msgid "Selected provisioned certificates were revoked."
13998
+ msgstr "選擇的已提供憑證已撤消。"
13999
+
13982
14000
  msgid "Selected software for various device types"
13983
14001
  msgstr "选择各种设备类型的软件"
13984
14002
 
@@ -18248,6 +18266,9 @@ msgstr "您即將重置此儀錶板的小組件。對儀錶板小組件的所有
18248
18266
  msgid "You are about to revoke provisioned certificate {{ serialNumber }}. Do you want to proceed?"
18249
18267
  msgstr "您即將撤銷已配置的憑證 {{ serialNumber }}。您要繼續嗎?"
18250
18268
 
18269
+ msgid "You are about to revoke provisioned certificates: {{ serialNumbers }}. Do you want to proceed?"
18270
+ msgstr "您即将撤消已供应的证书: {{ serialNumbers }}。是否要继续?"
18271
+
18251
18272
  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."
18252
18273
  msgstr "您即將儲存可能會影響安全性的全域角色更改。要立即應用這些更改,您需要終止所有具有此角色的用戶的會話。"
18253
18274
 
@@ -547,6 +547,20 @@
547
547
  </div>
548
548
  </div>
549
549
 
550
+ <div name="changePassword" class="m-t-16" ng-show="isChangePasswordVisible()">
551
+ <label>{{ 'Password' | translate }}</label>
552
+ <button class="btn btn-default" ng-click="changePassword()">{{ 'Change password' | translate }}</button>
553
+ </div>
554
+
555
+ <div
556
+ class="m-t-16"
557
+ ng-hide="isChangePasswordVisible() || !user.id || !user.email || vm.userHasExternalOrigin"
558
+ >
559
+ <label>{{ 'Reset password' | translate }}</label>
560
+ <button class="btn btn-default" ng-disabled="!user.enabled" ng-click="sendPasswordResetEmailToUser()">{{ 'Send link to
561
+ user' | translate }}</button>
562
+ </div>
563
+
550
564
  <div
551
565
  class="m-t-16"
552
566
  ng-hide="user.id"
@@ -599,7 +613,6 @@
599
613
  </div>
600
614
  </div>
601
615
 
602
-
603
616
  <div ng-hide="hideCustomProperties || noCustomPropertiesToDisplay">
604
617
  <div class="p-t-8 p-b-8">
605
618
  <button ng-click="customPropertiesCollapsed = !customPropertiesCollapsed" class="btn-clean d-block text-medium fit-w p-t-8 p-b-8">
@@ -643,36 +656,7 @@
643
656
  user="user"
644
657
  ></c8y-measurement-unit-preference>
645
658
 
646
-
647
659
  <div class="form-group m-t-16">
648
- <button
649
- class="btn-clean fit-w text-medium p-b-8 p-t-8"
650
- name="changePassword"
651
- type="button"
652
- ng-show="
653
- !disabledEdit &&
654
- changePasswordBtn &&
655
- !hideChangePassword &&
656
- !user.sendPasswordResetEmail &&
657
- userCanChangePasswordAndEmail
658
- "
659
- ng-click="resetPasswords(user)"
660
- >
661
- <i c8y-icon="{{!password.showPassword ? 'forward' : 'expand-arrow'}}" class="m-r-4"></i>
662
- <span
663
- title="{{ 'Change password' | translate }}"
664
- ng-show="!password.showPassword"
665
- >
666
- {{ 'Change password' | translate }}
667
- </span>
668
- <span
669
- title="{{ 'Cancel password change' | translate }}"
670
- ng-show="password.showPassword"
671
- >
672
- {{ 'Cancel password change' | translate }}
673
- </span>
674
- </button>
675
-
676
660
  <c8y-user-totp-revoke
677
661
  ng-if="vm.shouldEnableRevokeTOTPSecretButton()"
678
662
  [user]="user"
@@ -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 e(g,m,w,f,p,h,E,P,A,y,S,v,T){return e.$inject=["$scope","$q"],{restrict:"EA",scope:{user:"=",forms:"=",password:"=",hideUsername:"=?",hideActive:"=?",hideFirstName:"=?",hideLastName:"=?",hideEmail:"=?",hideTelephone:"=?",hideCustomProperties:"=?",hideTfaOption:"=?",hidePasswordReset:"=?",hideChangePassword:"=?",hideOwner:"=?",hideDelegate:"=?",disabledEdit:"=?",hideLanguage:"=?",userTfaEnforced:"=?",topLevelTfaEnforced:"=?"},templateUrl:":::PLUGIN_PATH:::/ui/user/editUser.directive.html",controller:e,controllerAs:"vm",link:function(e,t){$(t).find("input[name=email]").bind("blur",function(){e.emailWarning=!(e.user&&e.user.email)})}};function e(o,r){var e="maxlength",n=v("Messaging application is not subscribed."),s=["userOrigin"],i={NEWUSERNAME:{type:"validation",text:v('Username "new" is not allowed.')},PATTERN:{type:"pattern",text:v("Invalid pattern.")},PATTERN_PASSWORD:{type:"pattern",text:T.getString(A.validation.password.message)},PATTERN_USERNAME:{type:"pattern",text:T.getString(A.validation.user.message)},PATTERN_DISPLAYNAME:{type:"pattern",text:T.getString(A.validation.loginAlias.message)},SAME_AS_CURRENT_PASSWORD:{type:"same_as_current",text:v("New password can't be the same as current one.")},PASSWORD_MISSMATCH:{type:"password_missmatch",text:v("Passwords do not match.")},REQUIRED:{type:"required",text:v("This field is required.")},EMAIL:{type:"email",text:v("Invalid email address.")},PASSWORD_STRENGTH:{type:"password_strength",text:A.validation.passwordStrengthChecklist.message},INTERNATIONALPHONENUMBER_PHONE:{type:"internationalPhoneNumber",text:T.getString(A.validation.internationalPhoneNumber.message)},MAXLENGTH_FIRSTNAME:{type:e,text:"".concat(T.getString("Max length:")," 50")},MAXLENGTH_LASTNAME:{type:e,text:"".concat(T.getString("Max length:")," 50")},MAXLENGTH_USERNAME:{type:e,text:"".concat(T.getString("Max length:")," 254")},MAXLENGTH_DISPLAYNAME:{type:e,text:"".concat(T.getString("Max length:")," 254")},MAXLENGTH_PHONE:{type:e,text:"".concat(T.getString("Max length:")," 254")},MAXLENGTH_EMAIL:{type:e,text:"".concat(T.getString("Max length:")," 254")}},d=this,u=(_.assign(o,{confirmPassword:"",invalid:angular.bind(g,g.invalid,o.forms,"userForm"),isInvalidConfirmPassword:function(){var e=o.forms.userForm,t=e.password.$pristine,e=e.confirmPassword.$touched&&e.confirmPassword.$invalid;return!t&&e},changePasswordConfirm:function(){o.forms.userForm.confirmPassword&&o.forms.userForm.confirmPassword.$setValidity(i.PASSWORD_MISSMATCH.type,o.forms.userForm.confirmPassword.$viewValue===o.user.password)},getErrorFeedback:function(s){var n=o.forms.userForm[s]||{},a=[];return _.forEach(n.$error||{},function(e,t){var r;"parse"===t?o.forms.userForm.phone.$setValidity(t,!0):(t=t.toUpperCase(),r="".concat(t,"_").concat(s.toUpperCase()),e&&n.$touched&&(e=i[r]||i[t],a.push(T.getString(e.text))))}),a.join("<br>")},getUserCustomProperties:l,humanize:g.humanizeFragment,passwordRegex:A.validation.password.pattern,resetPasswords:function(e){var t=T.getString("A user managed via your authorization server cannot change the password of the user.");m.current().then(function(e){e=m.hasExternalOrigin(e);o.password.showPassword&&e&&S.add({text:t,type:"warning"})}),o.password.showPassword=!o.password.showPassword,e.passwordStrength=o.password.strength,e.password=null,o.confirmPassword=""},tfaAvailable:!1,delegateTo:function(){m.current().then(function(e){o.user.delegatedBy=e.id}),a()},undelegate:function(){o.user.delegatedBy=null,a()},setOwner:function(e){o.user.owner=e,d.isParentDropDownOpen=!1,d.ownerHiddenForm.$setDirty()},userCanChangePasswordAndEmail:!1,requirementsFulfilled:!0,onRequirementsFulfilledChange:function(e){e=o.requirementsFulfilled=e;e||o.forms.userForm.password.$setValidity(i.PATTERN_PASSWORD.type,!0),o.forms.userForm.password.$setValidity(i.PASSWORD_STRENGTH.type,e)}}),_.assign(d,{onToggleDropdown:function(e){e&&(d.ownerDropDownInitialized=!0)},twoFactorAuthenticationCheckboxDisabled:function(){return o.topLevelTfaEnforced||o.disabledEdit||"TOTP"===d.tfaStrategy||!o.smsMicroserviceAvailable||!o.notCurrentUser&&"SMS"===d.tfaStrategy},enforceTfaCheckboxDisbaled:function(){return o.topLevelTfaEnforced||o.disabledEdit||!o.notCurrentUser||c()},messagingWarningVisible:function(){return!o.smsMicroserviceAvailable&&"SMS"===d.tfaStrategy},shouldEnableRevokeTOTPSecretButton:c}),p.getStrongPasswordSettings().then(t),o.$watch("user",function(e,t){var s,a;e&&e!==t&&(a=!(s=e).id,o.password.strength=s.passwordStrength,o.changePasswordBtn=!o.password.showPassword,o.emailWarning=!s.email,o.smsWarningPopover=n,a&&(o.userPasswordAction="sendPasswordByEmail"),delete o.confirmPassword,o.notCurrentUser=null,t=/.*/,(e=s)&&!e.id&&(t=A.validation.user.pattern),o.userNamePattern=t,o.loginAliasPattern=A.validation.loginAlias.pattern,o.hideLanguage||w.get("language").then(function(e){e&&(o.user.language={name:P.getLanguageNativeName(e),code:e}),o.languages=_.map(h.getSupportedLanguages(),function(e){return Object.assign({name:P.getLanguageNativeName(e),code:e},{})})}),y.isActivatedFor("units-conversion")&&(o.unitsConversionActive=!0),r.all({tfaAvailable:m.isTfaAvailable(),smsMicroserviceAvailable:E.isAvailable({contextPath:"messaging"}),twoFactorAuthenticationEnabled:m.isTfaActive(s),tfaStrategy:m.getTfaStrategy(),isCurrentUser:m.checkIfCurrent(s)}).then(function(e){var t=e.tfaAvailable,r=e.smsMicroserviceAvailable,s=e.twoFactorAuthenticationEnabled,n=e.tfaStrategy,e=e.isCurrentUser;o.notCurrentUser=!e,o.tfaAvailable=t,o.smsMicroserviceAvailable=!!r,d.tfaStrategy=n,o.user.twoFactorAuthenticationEnabled=!a&&s,o.userCanChangePasswordAndEmail=a||!m.hasExternalOrigin(o.user)&&e}),o.hideOwner||(o.ownerEditDisabled=!1,m.current().then(function(e){var t=f.hasRole(e,"ROLE_USER_MANAGEMENT_ADMIN"),r=f.hasRole(e,"ROLE_USER_MANAGEMENT_CREATE");!t&&r&&(d.rootOwner=[e],d.currentOwner=e.id,d.defaultOwner=e,a)&&(o.ownerEditDisabled=!0,s.owner=d.currentOwner)})),o.noCustomPropertiesToDisplay=_.isEmpty(l(o.user)),u())}));function l(e){var r={};return e&&e.customProperties&&_.forEach(e.customProperties,function(e,t){s.includes(t)||(r[t]="object"===_typeof(e)?angular.toJson(e,!0):e)}),r}function t(e){var t=e.enforceStrength;o.passwordStrengthEnforced=t||e.strengthValidity}function a(){o.delegationHiddenForm.$setDirty()}function c(){return"TOTP"===d.tfaStrategy&&o.user.twoFactorAuthenticationEnabled}o.$watch("user.password",function(){o.forms.userForm&&o.forms.userForm.password&&o.forms.userForm.password.$setValidity(i.SAME_AS_CURRENT_PASSWORD.type,!o.notCurrentUser&&!m.isCurrentPassword(o.forms.userForm.password.$viewValue)||o.notCurrentUser)}),o.$watch("userPasswordAction",function(e,t){e!==t&&(t={setUserPasswordAndForceToReset:{sendPasswordResetEmail:!1,shouldResetPassword:!0,showPassword:!0},setUserPassword:{sendPasswordResetEmail:!1,shouldResetPassword:!1,showPassword:!0},sendPasswordByEmail:{sendPasswordResetEmail:!0,shouldResetPassword:!1,showPassword:!1}}[e])&&(o.user.sendPasswordResetEmail=t.sendPasswordResetEmail,o.user.shouldResetPassword=t.shouldResetPassword,o.password.showPassword=t.showPassword)})}}e.$inject=["c8yBase","c8yUser","c8yUserPreferences","c8yPermissions","c8yLoginOptions","c8yLocales","c8yApplication","LocalesUtil","c8yConfig","c8yBeta","c8yAlert","gettext","gettextCatalog"],angular.module("c8y.ui").directive("c8yEditUser",e).directive("c8yUiEditUser",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 e(g,m,f,w,p,h,E,P,A,y,S,v,T,R){return e.$inject=["$scope","$q"],{restrict:"EA",scope:{user:"=",forms:"=",password:"=",hideUsername:"=?",hideActive:"=?",hideFirstName:"=?",hideLastName:"=?",hideEmail:"=?",hideTelephone:"=?",hideCustomProperties:"=?",hideTfaOption:"=?",hidePasswordReset:"=?",hideChangePassword:"=?",hideOwner:"=?",hideDelegate:"=?",disabledEdit:"=?",hideLanguage:"=?",userTfaEnforced:"=?",topLevelTfaEnforced:"=?"},templateUrl:":::PLUGIN_PATH:::/ui/user/editUser.directive.html",controller:e,controllerAs:"vm",link:function(e,t){$(t).find("input[name=email]").bind("blur",function(){e.emailWarning=!(e.user&&e.user.email)})}};function e(o,s){var e="maxlength",n=v("Messaging application is not subscribed."),r=["userOrigin"],i={NEWUSERNAME:{type:"validation",text:v('Username "new" is not allowed.')},PATTERN:{type:"pattern",text:v("Invalid pattern.")},PATTERN_PASSWORD:{type:"pattern",text:T.getString(A.validation.password.message)},PATTERN_USERNAME:{type:"pattern",text:T.getString(A.validation.user.message)},PATTERN_DISPLAYNAME:{type:"pattern",text:T.getString(A.validation.loginAlias.message)},SAME_AS_CURRENT_PASSWORD:{type:"same_as_current",text:v("New password can't be the same as current one.")},PASSWORD_MISSMATCH:{type:"password_missmatch",text:v("Passwords do not match.")},REQUIRED:{type:"required",text:v("This field is required.")},EMAIL:{type:"email",text:v("Invalid email address.")},PASSWORD_STRENGTH:{type:"password_strength",text:A.validation.passwordStrengthChecklist.message},INTERNATIONALPHONENUMBER_PHONE:{type:"internationalPhoneNumber",text:T.getString(A.validation.internationalPhoneNumber.message)},MAXLENGTH_FIRSTNAME:{type:e,text:"".concat(T.getString("Max length:")," 50")},MAXLENGTH_LASTNAME:{type:e,text:"".concat(T.getString("Max length:")," 50")},MAXLENGTH_USERNAME:{type:e,text:"".concat(T.getString("Max length:")," 254")},MAXLENGTH_DISPLAYNAME:{type:e,text:"".concat(T.getString("Max length:")," 254")},MAXLENGTH_PHONE:{type:e,text:"".concat(T.getString("Max length:")," 254")},MAXLENGTH_EMAIL:{type:e,text:"".concat(T.getString("Max length:")," 254")}},d=this,u=(_.assign(o,{confirmPassword:"",invalid:angular.bind(g,g.invalid,o.forms,"userForm"),isInvalidConfirmPassword:function(){var e=o.forms.userForm,t=e.password.$pristine,e=e.confirmPassword.$touched&&e.confirmPassword.$invalid;return!t&&e},changePasswordConfirm:function(){o.forms.userForm.confirmPassword&&o.forms.userForm.confirmPassword.$setValidity(i.PASSWORD_MISSMATCH.type,o.forms.userForm.confirmPassword.$viewValue===o.user.password)},getErrorFeedback:function(r){var n=o.forms.userForm[r]||{},a=[];return _.forEach(n.$error||{},function(e,t){var s;"parse"===t?o.forms.userForm.phone.$setValidity(t,!0):(t=t.toUpperCase(),s="".concat(t,"_").concat(r.toUpperCase()),e&&n.$touched&&(e=i[s]||i[t],a.push(T.getString(e.text))))}),a.join("<br>")},getUserCustomProperties:l,humanize:g.humanizeFragment,changePassword:function(){R.changeCurrentUserPassword()},isChangePasswordVisible:function(){return!o.disabledEdit&&o.changePasswordBtn&&!o.hideChangePassword&&o.user&&!o.user.sendPasswordResetEmail&&o.userCanChangePasswordAndEmail},passwordRegex:A.validation.password.pattern,tfaAvailable:!1,delegateTo:function(){m.current().then(function(e){o.user.delegatedBy=e.id}),a()},undelegate:function(){o.user.delegatedBy=null,a()},setOwner:function(e){o.user.owner=e,d.isParentDropDownOpen=!1,d.ownerHiddenForm.$setDirty()},userCanChangePasswordAndEmail:!1,requirementsFulfilled:!0,onRequirementsFulfilledChange:function(e){e=o.requirementsFulfilled=e;e||o.forms.userForm.password.$setValidity(i.PATTERN_PASSWORD.type,!0),o.forms.userForm.password.$setValidity(i.PASSWORD_STRENGTH.type,e)}}),_.assign(d,{onToggleDropdown:function(e){e&&(d.ownerDropDownInitialized=!0)},twoFactorAuthenticationCheckboxDisabled:function(){return o.topLevelTfaEnforced||o.disabledEdit||"TOTP"===d.tfaStrategy||!o.smsMicroserviceAvailable||!o.notCurrentUser&&"SMS"===d.tfaStrategy},enforceTfaCheckboxDisbaled:function(){return o.topLevelTfaEnforced||o.disabledEdit||!o.notCurrentUser||c()},messagingWarningVisible:function(){return!o.smsMicroserviceAvailable&&"SMS"===d.tfaStrategy},shouldEnableRevokeTOTPSecretButton:c}),p.getStrongPasswordSettings().then(t),o.$watch("user",function(e,t){var r,a;e&&e!==t&&(a=!(r=e).id,o.password.strength=r.passwordStrength,o.changePasswordBtn=!o.password.showPassword,o.emailWarning=!r.email,o.smsWarningPopover=n,a&&(o.userPasswordAction="sendPasswordByEmail"),delete o.confirmPassword,o.notCurrentUser=null,t=/.*/,(e=r)&&!e.id&&(t=A.validation.user.pattern),o.userNamePattern=t,o.loginAliasPattern=A.validation.loginAlias.pattern,o.hideLanguage||f.get("language").then(function(e){e&&(o.user.language={name:P.getLanguageNativeName(e),code:e}),o.languages=_.map(h.getSupportedLanguages(),function(e){return Object.assign({name:P.getLanguageNativeName(e),code:e},{})})}),y.isActivatedFor("units-conversion")&&(o.unitsConversionActive=!0),s.all({tfaAvailable:m.isTfaAvailable(),smsMicroserviceAvailable:E.isAvailable({contextPath:"messaging"}),twoFactorAuthenticationEnabled:m.isTfaActive(r),tfaStrategy:m.getTfaStrategy(),isCurrentUser:m.checkIfCurrent(r)}).then(function(e){var t=e.tfaAvailable,s=e.smsMicroserviceAvailable,r=e.twoFactorAuthenticationEnabled,n=e.tfaStrategy,e=e.isCurrentUser;o.notCurrentUser=!e,o.tfaAvailable=t,o.smsMicroserviceAvailable=!!s,d.tfaStrategy=n,o.user.twoFactorAuthenticationEnabled=!a&&r,o.userCanChangePasswordAndEmail=a||!m.hasExternalOrigin(o.user)&&e,d.userHasExternalOrigin=m.hasExternalOrigin(o.user)}),o.hideOwner||(o.ownerEditDisabled=!1,m.current().then(function(e){var t=w.hasRole(e,"ROLE_USER_MANAGEMENT_ADMIN"),s=w.hasRole(e,"ROLE_USER_MANAGEMENT_CREATE");!t&&s&&(d.rootOwner=[e],d.currentOwner=e.id,d.defaultOwner=e,a)&&(o.ownerEditDisabled=!0,r.owner=d.currentOwner)})),o.noCustomPropertiesToDisplay=_.isEmpty(l(o.user)),u())}));function l(e){var s={};return e&&e.customProperties&&_.forEach(e.customProperties,function(e,t){r.includes(t)||(s[t]="object"===_typeof(e)?angular.toJson(e,!0):e)}),s}function t(e){var t=e.enforceStrength;o.passwordStrengthEnforced=t||e.strengthValidity}function a(){o.delegationHiddenForm.$setDirty()}function c(){return"TOTP"===d.tfaStrategy&&o.user.twoFactorAuthenticationEnabled}o.$watch("user.password",function(){o.forms.userForm&&o.forms.userForm.password&&o.forms.userForm.password.$setValidity(i.SAME_AS_CURRENT_PASSWORD.type,!o.notCurrentUser&&!m.isCurrentPassword(o.forms.userForm.password.$viewValue)||o.notCurrentUser)}),o.$watch("userPasswordAction",function(e,t){e!==t&&(t={setUserPasswordAndForceToReset:{sendPasswordResetEmail:!1,shouldResetPassword:!0,showPassword:!0},setUserPassword:{sendPasswordResetEmail:!1,shouldResetPassword:!1,showPassword:!0},sendPasswordByEmail:{sendPasswordResetEmail:!0,shouldResetPassword:!1,showPassword:!1}}[e])&&(o.user.sendPasswordResetEmail=t.sendPasswordResetEmail,o.user.shouldResetPassword=t.shouldResetPassword,o.password.showPassword=t.showPassword)}),o.sendPasswordResetEmailToUser=_.debounce(function(){o.user&&o.user.email&&m.sendPasswordResetMail(o.user.email,o.user.tenantId).then(function(){S.success(v("Password reset link sent."))}).catch(function(){S.danger(v("Failed to send password reset link."))})},300)}}e.$inject=["c8yBase","c8yUser","c8yUserPreferences","c8yPermissions","c8yLoginOptions","c8yLocales","c8yApplication","LocalesUtil","c8yConfig","c8yBeta","c8yAlert","gettext","gettextCatalog","c8yModalService"],angular.module("c8y.ui").directive("c8yEditUser",e).directive("c8yUiEditUser",e)})();
@@ -1 +1 @@
1
- (()=>{function e(e,i){e.when("/device/:deviceId",{templateUrl:":::PLUGIN_PATH:::/views/index.html",priority:900,name:i("Measurements"),icon:"line-chart",controller:t}),e.when("/service/:deviceId",{templateUrl:":::PLUGIN_PATH:::/views/index.html",priority:900,name:i("Measurements"),icon:"line-chart",controller:t})}function t(i,e,t){i.device={},t.detailCached(e.deviceId).then(function(e){e=e.data;i.device=e})}t.$inject=["$scope","$routeParams","c8yDevices"],e.$inject=["c8yViewsProvider","gettext"],angular.module("c8y.parts.measurements",[]).config(e)})();
1
+ (()=>{function e(e,t){e.when("/device/:deviceId",{templateUrl:":::PLUGIN_PATH:::/views/index.html",priority:900,name:t("Measurements"),icon:"line-chart",controller:i,showIf:n}),e.when("/service/:deviceId",{templateUrl:":::PLUGIN_PATH:::/views/index.html",priority:900,name:t("Measurements"),icon:"line-chart",controller:i})}function i(t,e,i){t.device={},i.detailCached(e.deviceId).then(function(e){e=e.data;t.device=e})}function n(e){return e.getFeatureStatePromise("ui.datapoint-explorer.v2").then(function(e){return!e})}n.$inject=["c8yFeatureCacheService"],i.$inject=["$scope","$routeParams","c8yDevices"],e.$inject=["c8yViewsProvider","gettext"],angular.module("c8y.parts.measurements",[]).config(e)})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1022.13.0",
3
+ "version": "1022.21.3",
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>