@c8y/ng1-modules 1021.34.1 → 1021.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,6 @@ msgstr ""
3
3
  "Project-Id-Version: c8y-cumulocity-ui\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2025-01-22 18:11\n"
7
6
  "Last-Translator: \n"
8
7
  "Language: de\n"
9
8
  "Language-Team: German\n"
@@ -581,7 +580,7 @@ msgid "AUTH_PRIV"
581
580
  msgstr "AUTH_PRIV"
582
581
 
583
582
  msgid "AUTO`plugin status`"
584
- msgstr "AUTO`Plugin Status`"
583
+ msgstr "AUTO"
585
584
 
586
585
  msgid "About community packages"
587
586
  msgstr "Weitere Informationen zu Community-Paketen"
@@ -3919,6 +3918,9 @@ msgstr "Mandant konnte nicht angelegt werden. Es gibt bereits einen Mandanten mi
3919
3918
  msgid "Could not create application."
3920
3919
  msgstr "Anwendung konnte nicht erstellt werden."
3921
3920
 
3921
+ msgid "Could not create operaion."
3922
+ msgstr "Operationen konnten nicht erstellt werden."
3923
+
3922
3924
  msgid "Could not create the device in the LoRa platform."
3923
3925
  msgstr "Das Gerät konnte nicht auf der LoRa-Plattform erstellt werden."
3924
3926
 
@@ -15213,7 +15215,7 @@ msgid "Tag has been set."
15213
15215
  msgstr "Tag gesetzt."
15214
15216
 
15215
15217
  msgid "Tag`noun`"
15216
- msgstr "Tag`Nomen`"
15218
+ msgstr "Tag"
15217
15219
 
15218
15220
  msgid "Takes a value between -32768 and 32767 minutes (a negative value indicates that the device is under maintenance)."
15219
15221
  msgstr "Nimmt einen Wert zwischen -32768 und 32767 Minuten an (ein negativer Wert bedeutet, dass das Gerät in Wartung ist)."
@@ -17512,7 +17514,7 @@ msgstr "Jahr"
17512
17514
  msgid "Yearly: {{ month }}, {{ monthDay }} day of the month, at {{ hour }}:{{\n"
17513
17515
  " minutes\n"
17514
17516
  " }}."
17515
- msgstr "Yearly: {{ month }}, {{ monthDay }} day of the month, at {{ hour }}:{{\n"
17517
+ msgstr "Jährlich: {{ month }}, {{ monthDay }} Tag des Monats, an {{ hour }}:{{\n"
17516
17518
  " minutes\n"
17517
17519
  " }}."
17518
17520
 
@@ -3,7 +3,6 @@ msgstr ""
3
3
  "Project-Id-Version: c8y-cumulocity-ui\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2025-01-22 12:16\n"
7
6
  "Last-Translator: \n"
8
7
  "Language: es\n"
9
8
  "Language-Team: Spanish\n"
@@ -582,7 +581,7 @@ msgid "AUTH_PRIV"
582
581
  msgstr "AUTH_PRIV"
583
582
 
584
583
  msgid "AUTO`plugin status`"
585
- msgstr "AUTO`estado del plugin`"
584
+ msgstr "AUTO"
586
585
 
587
586
  msgid "About community packages"
588
587
  msgstr "Sobre paquetes de comunidad"
@@ -3925,6 +3924,9 @@ msgstr "El tenant no ha podido crearse. El tenant con el dominio y URL indicados
3925
3924
  msgid "Could not create application."
3926
3925
  msgstr "La aplicación no ha podido crearse."
3927
3926
 
3927
+ msgid "Could not create operaion."
3928
+ msgstr "No se ha podido crear la operación."
3929
+
3928
3930
  msgid "Could not create the device in the LoRa platform."
3929
3931
  msgstr "No ha podido crearse el dispositivo en la plataforma LoRa."
3930
3932
 
@@ -15234,7 +15236,7 @@ msgid "Tag has been set."
15234
15236
  msgstr "Se ha aplicado una etiqueta."
15235
15237
 
15236
15238
  msgid "Tag`noun`"
15237
- msgstr "Etiqueta`signo`"
15239
+ msgstr "Etiqueta"
15238
15240
 
15239
15241
  msgid "Takes a value between -32768 and 32767 minutes (a negative value indicates that the device is under maintenance)."
15240
15242
  msgstr "Utiliza un valor entre -32768 y 32767 minutos (un valor negativo indica que el dispositivo está en mantenimiento)."
@@ -3,7 +3,6 @@ msgstr ""
3
3
  "Project-Id-Version: c8y-cumulocity-ui\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2025-01-22 12:16\n"
7
6
  "Last-Translator: \n"
8
7
  "Language: fr\n"
9
8
  "Language-Team: French\n"
@@ -582,7 +581,7 @@ msgid "AUTH_PRIV"
582
581
  msgstr "AUTH_PRIV"
583
582
 
584
583
  msgid "AUTO`plugin status`"
585
- msgstr "AUTO`situation du plugin`"
584
+ msgstr "AUTO"
586
585
 
587
586
  msgid "About community packages"
588
587
  msgstr "À propos des packages de communauté"
@@ -3925,6 +3924,9 @@ msgstr "Impossible de créer un gérant. Le gérant avec le domaine/l'URL indiqu
3925
3924
  msgid "Could not create application."
3926
3925
  msgstr "Impossible de créer l'application."
3927
3926
 
3927
+ msgid "Could not create operaion."
3928
+ msgstr "Impossible de créer une opération."
3929
+
3928
3930
  msgid "Could not create the device in the LoRa platform."
3929
3931
  msgstr "Impossible de créer l'appareil dans la plateforme LoRa."
3930
3932
 
@@ -15234,7 +15236,7 @@ msgid "Tag has been set."
15234
15236
  msgstr "L'onglet a été défini."
15235
15237
 
15236
15238
  msgid "Tag`noun`"
15237
- msgstr "Tag`noun`"
15239
+ msgstr "Tag"
15238
15240
 
15239
15241
  msgid "Takes a value between -32768 and 32767 minutes (a negative value indicates that the device is under maintenance)."
15240
15242
  msgstr "Prend une valeur comprise entre -32768 et 32767 minutes (une valeur négative indique que le dispositif est en maintenance)."
@@ -3,7 +3,7 @@ msgstr ""
3
3
  "Project-Id-Version: c8y-cumulocity-ui\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2025-01-22 12:16\n"
6
+ "PO-Revision-Date: 2025-01-24 12:12\n"
7
7
  "Last-Translator: \n"
8
8
  "Language: ja_JP\n"
9
9
  "Language-Team: Japanese\n"
@@ -3849,6 +3849,9 @@ msgstr "テナントを作成できませんでした。指定されたドメイ
3849
3849
  msgid "Could not create application."
3850
3850
  msgstr "アプリケーションを作成できませんでした。"
3851
3851
 
3852
+ msgid "Could not create operaion."
3853
+ msgstr ""
3854
+
3852
3855
  msgid "Could not create the device in the LoRa platform."
3853
3856
  msgstr "デバイスを LoRa プラットフォームに作成できませんでした。"
3854
3857
 
@@ -3,7 +3,7 @@ msgstr ""
3
3
  "Project-Id-Version: c8y-cumulocity-ui\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2025-01-22 12:16\n"
6
+ "PO-Revision-Date: 2025-01-24 12:12\n"
7
7
  "Last-Translator: \n"
8
8
  "Language: ko\n"
9
9
  "Language-Team: Korean\n"
@@ -3826,6 +3826,9 @@ msgstr "테넌트를 생성할 수 없습니다. 해당 도메인/URL의 테넌
3826
3826
  msgid "Could not create application."
3827
3827
  msgstr "애플리케이션을 생성할 수 없습니다."
3828
3828
 
3829
+ msgid "Could not create operaion."
3830
+ msgstr ""
3831
+
3829
3832
  msgid "Could not create the device in the LoRa platform."
3830
3833
  msgstr "LoRa 플랫폼에서 디바이스를 생성할 수 없습니다."
3831
3834
 
@@ -3,7 +3,6 @@ msgstr ""
3
3
  "Project-Id-Version: c8y-cumulocity-ui\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2025-01-22 12:16\n"
7
6
  "Last-Translator: \n"
8
7
  "Language: nl\n"
9
8
  "Language-Team: Dutch\n"
@@ -582,7 +581,7 @@ msgid "AUTH_PRIV"
582
581
  msgstr "AUTH_PRIV"
583
582
 
584
583
  msgid "AUTO`plugin status`"
585
- msgstr "AUTO`plugin status`"
584
+ msgstr "AUTO"
586
585
 
587
586
  msgid "About community packages"
588
587
  msgstr "Over communitypakketten"
@@ -3925,6 +3924,9 @@ msgstr "Kan een tenant niet maken. Tenant met opgegeven domein/URL bestaat al."
3925
3924
  msgid "Could not create application."
3926
3925
  msgstr "Kan geen applicatie maken."
3927
3926
 
3927
+ msgid "Could not create operaion."
3928
+ msgstr "Kon geen opera maken."
3929
+
3928
3930
  msgid "Could not create the device in the LoRa platform."
3929
3931
  msgstr "Kan het apparaat niet maken in het LoRa-platform."
3930
3932
 
@@ -15233,7 +15235,7 @@ msgid "Tag has been set."
15233
15235
  msgstr "Tag is ingesteld."
15234
15236
 
15235
15237
  msgid "Tag`noun`"
15236
- msgstr "Tag`naamwoord`"
15238
+ msgstr "Tag"
15237
15239
 
15238
15240
  msgid "Takes a value between -32768 and 32767 minutes (a negative value indicates that the device is under maintenance)."
15239
15241
  msgstr "Neemt een waarde tussen -32768 en 32767 minuten (een negatieve waarde geeft aan dat het apparaat in onderhoud is)."
@@ -3,7 +3,6 @@ msgstr ""
3
3
  "Project-Id-Version: c8y-cumulocity-ui\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2025-01-22 12:16\n"
7
6
  "Last-Translator: \n"
8
7
  "Language: pl\n"
9
8
  "Language-Team: Polish\n"
@@ -617,7 +616,7 @@ msgid "AUTH_PRIV"
617
616
  msgstr "AUTH_PRIV"
618
617
 
619
618
  msgid "AUTO`plugin status`"
620
- msgstr "AUTO` status wtyczki`"
619
+ msgstr "AUTO"
621
620
 
622
621
  msgid "About community packages"
623
622
  msgstr "Informacje o pakietach społecznościowych"
@@ -3964,6 +3963,9 @@ msgstr "Nie można utworzyć tenanta. Tenant o danej domenie lub adresie URL ju
3964
3963
  msgid "Could not create application."
3965
3964
  msgstr "Nie można utworzyć aplikacji."
3966
3965
 
3966
+ msgid "Could not create operaion."
3967
+ msgstr "Nie można utworzyć operacji."
3968
+
3967
3969
  msgid "Could not create the device in the LoRa platform."
3968
3970
  msgstr "Nie można utworzyć urządzenia na platformie LoRa."
3969
3971
 
@@ -4330,8 +4332,7 @@ msgstr "Utworzone do"
4330
4332
 
4331
4333
  msgid "Creates a compressed ZIP file that contains separate data files for each of your\n"
4332
4334
  " selected points"
4333
- msgstr "Utworzono skompresowany plik ZIP zawierający oddzielne pliki danych dla każdego z wybranych punktów\n"
4334
- " wybranych punktów"
4335
+ msgstr "Tworzy skompresowany plik ZIP zawierający oddzielne pliki danych dla każdego z wybranych punktów"
4335
4336
 
4336
4337
  msgid "Creates a single merged file containing all the data"
4337
4338
  msgstr "Zawiera pojedynczy scalony plik zawierający wszystkie dane"
@@ -15283,7 +15284,7 @@ msgid "Tag has been set."
15283
15284
  msgstr "Znacznik został ustawiony."
15284
15285
 
15285
15286
  msgid "Tag`noun`"
15286
- msgstr "Tag`noun`"
15287
+ msgstr "Tag"
15287
15288
 
15288
15289
  msgid "Takes a value between -32768 and 32767 minutes (a negative value indicates that the device is under maintenance)."
15289
15290
  msgstr "Przyjmuje wartość z zakresu od -32768 do 32767 minut (wartość ujemna wskazuje, że trwa konserwacja urządzenia)."
@@ -3,7 +3,6 @@ msgstr ""
3
3
  "Project-Id-Version: c8y-cumulocity-ui\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2025-01-22 12:16\n"
7
6
  "Last-Translator: \n"
8
7
  "Language: pt_BR\n"
9
8
  "Language-Team: Portuguese, Brazilian\n"
@@ -242,7 +241,7 @@ msgstr "<p class=\"m-b-8\">\n"
242
241
  msgid "<p class=\"m-b-8\"><b>Shared</b> availability will make the package available to all subtenants without explicitly subscribing the package.</p>\n"
243
242
  " <p class=\"m-b-8\"><b>Market</b> availability will make the package available to your own tenant and needs to be subscribed to subtenants individually.</p>\n"
244
243
  " <p class=\"m-b-8\"><b>Private</b> availability will make the package only available to your own tenant.</p>"
245
- msgstr "<p class=\"m-b-8\">A disponibilidade <b>Compartilhada</b> disponibilizará o pacote a todos os subtenants sem subscrever explicitamente o pacote.</p>\n"
244
+ msgstr "<p class=\"m-b-8\">A disponibilidade <b>Compartilhada</b> tornará o pacote acessível a todos os subtenants sem subscrever explicitamente o pacote.</p>\n"
246
245
  " A <p class=\"m-b-8\">Disponibilidade de <b>Mercado</b> disponibilizará o pacote ao seu próprio tenant e precisa ser subscrita aos subtenants individualmente.</p>\n"
247
246
  " <p class=\"m-b-8\">A disponibilidade <b>Privada</b> disponibilizará o pacote apenas ao seu próprio tenant.</p>"
248
247
 
@@ -582,7 +581,7 @@ msgid "AUTH_PRIV"
582
581
  msgstr "AUTH_PRIV"
583
582
 
584
583
  msgid "AUTO`plugin status`"
585
- msgstr "AUTO`status do plugin`"
584
+ msgstr "AUTO"
586
585
 
587
586
  msgid "About community packages"
588
587
  msgstr "Sobre os pacotes da comunidade"
@@ -1387,7 +1386,7 @@ msgid "After the activation is completed you will no longer be able to access yo
1387
1386
  " , instead use your new custom domain name\n"
1388
1387
  " <code>{{ vm.newDomainName }}</code>\n"
1389
1388
  " ."
1390
- msgstr "Após a conclusão da ativação você não terá mais acesso ao seu tenant\n"
1389
+ msgstr "Depois de concluir o processo você não poderá mais acessar seu tenant\n"
1391
1390
  " com\n"
1392
1391
  " <code>{{ vm.domainName }}</code>\n"
1393
1392
  " , em vez disso use o seu novo nome de domínio personalizado\n"
@@ -2266,7 +2265,7 @@ msgstr "Antes de aplicar a nova configuração de marca, as aplicações herdada
2266
2265
 
2267
2266
  msgid "Before modifying permissions for the \"Device User`role`\" role, please be aware that such changes can significantly impact platform security.\n"
2268
2267
  " When defining permissions for the \"Device User`role`\", please consider that individual devices might get compromised."
2269
- msgstr "Antes de modificar as permissões para o papel \"Usuário do dispositivo\", esteja ciente de que essas alterações podem afetar significativamente a segurança da plataforma.\n"
2268
+ msgstr "Antes de modificar as permissões para o papel \"Usuário do dispositivo\", leve em consideração que essas alterações podem afetar significativamente a segurança da plataforma.\n"
2270
2269
  " Ao definir permissões para o papel \"Usuário do dispositivo\", leve em consideração que os dispositivos podem ser comprometidos."
2271
2270
 
2272
2271
  msgid "Below you can configure one or more OPC UA servers. The OPC UA agent will connect to these servers if they are enabled and the connection state is set to connected."
@@ -2910,7 +2909,7 @@ msgstr "As alterações feitas no painel inicial são refletidas apenas na aplic
2910
2909
 
2911
2910
  msgid "Changes in the name server need time to propagate and take effect. Wait approximately\n"
2912
2911
  " one hour before activating your domain here."
2913
- msgstr "As alterações no servidor de nomes precisam de tempo para se propagar e entrar em vigor. Aguarde aproximadamente\n"
2912
+ msgstr "As alterações ao nome do servidor precisam de tempo para se propagar e entrar em vigor. Aguarde aproximadamente\n"
2914
2913
  " uma hora antes de ativar seu domínio aqui."
2915
2914
 
2916
2915
  msgid "Changes saved."
@@ -3925,6 +3924,9 @@ msgstr "Não foi possível criar o tenant. Já existe um tenant com esse domíni
3925
3924
  msgid "Could not create application."
3926
3925
  msgstr "Não foi possível criar a aplicação."
3927
3926
 
3927
+ msgid "Could not create operaion."
3928
+ msgstr "Não foi possível criar a operação."
3929
+
3928
3930
  msgid "Could not create the device in the LoRa platform."
3929
3931
  msgstr "Não foi possível criar o dispositivo na plataforma LoRa."
3930
3932
 
@@ -15234,7 +15236,7 @@ msgid "Tag has been set."
15234
15236
  msgstr "A tag foi definida."
15235
15237
 
15236
15238
  msgid "Tag`noun`"
15237
- msgstr "Tag`noun`"
15239
+ msgstr "Tag"
15238
15240
 
15239
15241
  msgid "Takes a value between -32768 and 32767 minutes (a negative value indicates that the device is under maintenance)."
15240
15242
  msgstr "Assume um valor entre -32768 e 32767 minutos (um valor negativo indica que o dispositivo está em manutenção)."
@@ -3,7 +3,7 @@ msgstr ""
3
3
  "Project-Id-Version: c8y-cumulocity-ui\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2025-01-22 12:16\n"
6
+ "PO-Revision-Date: 2025-01-24 12:12\n"
7
7
  "Last-Translator: \n"
8
8
  "Language: zh_CN\n"
9
9
  "Language-Team: Chinese Simplified\n"
@@ -3831,6 +3831,9 @@ msgstr "无法创建租户。具有给定域/URL 的租户已存在。"
3831
3831
  msgid "Could not create application."
3832
3832
  msgstr "无法创建应用程序。"
3833
3833
 
3834
+ msgid "Could not create operaion."
3835
+ msgstr ""
3836
+
3834
3837
  msgid "Could not create the device in the LoRa platform."
3835
3838
  msgstr "无法在 LoRa 平台中创建设备。"
3836
3839
 
@@ -3,7 +3,7 @@ msgstr ""
3
3
  "Project-Id-Version: c8y-cumulocity-ui\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2025-01-22 12:16\n"
6
+ "PO-Revision-Date: 2025-01-24 12:13\n"
7
7
  "Last-Translator: \n"
8
8
  "Language: zh_TW\n"
9
9
  "Language-Team: Chinese Traditional\n"
@@ -3831,6 +3831,9 @@ msgstr "无法创建租户。具有给定域/URL 的租户已存在。"
3831
3831
  msgid "Could not create application."
3832
3832
  msgstr "无法创建应用程序。"
3833
3833
 
3834
+ msgid "Could not create operaion."
3835
+ msgstr ""
3836
+
3834
3837
  msgid "Could not create the device in the LoRa platform."
3835
3838
  msgstr "无法在 LoRa 平台中创建设备。"
3836
3839
 
@@ -1 +1 @@
1
- function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return a};var u,a={},t=Object.prototype,s=t.hasOwnProperty,f=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(u){i=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o,i,a,c,e=e&&e.prototype instanceof g?e:g,e=Object.create(e.prototype),n=new G(n||[]);return f(e,"_invoke",{value:(o=t,i=r,a=n,c=h,function(t,e){if(c===y)throw Error("Generator is already running");if(c===v){if("throw"===t)throw e;return{value:u,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===u)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=u,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;n=l(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,d;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}(r,a);if(r){if(r===d)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=v,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=y;r=l(o,i,a);if("normal"===r.type){if(c=a.done?v:p,r.arg===d)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(c=v,a.method="throw",a.arg=r.arg)}})}),e}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",d={};function g(){}function m(){}function w(){}var e={},b=(i(e,n,function(){return this}),Object.getPrototypeOf),b=b&&b(b(O([]))),L=(b&&b!==t&&s.call(b,n)&&(e=b),w.prototype=g.prototype=Object.create(e));function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function x(a,c){var e;f(this,"_invoke",{value:function(r,n){function t(){return new c(function(t,e){!function e(t,r,n,o){var i,t=l(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==_typeof(r)&&s.call(r,"__await")?c.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):c.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(s.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}throw new TypeError(_typeof(e)+" is not iterable")}return f(L,"constructor",{value:m.prototype=w,configurable:!0}),f(w,"constructor",{value:m,configurable:!0}),m.displayName=i(w,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,i(t,o,"GeneratorFunction")),t.prototype=Object.create(L),t},a.awrap=function(t){return{__await:t}},_(x.prototype),i(x.prototype,r,function(){return this}),a.AsyncIterator=x,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new x(c(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(L),i(L,o,"Generator"),i(L,n,function(){return this}),i(L,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=O,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&s.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,S(o)),n}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=u),d}},a}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(c){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=c.apply(t,a);function o(t){asyncGeneratorStep(n,e,r,o,i,"next",t)}function i(t){asyncGeneratorStep(n,e,r,o,i,"throw",t)}o(void 0)})}}(()=>{function t(t,e,r,n,o,i,a,c,u){var s=r("Restart device"),f=this,l=c.get("additionalDeviceStatusButtons");function h(t){f.status=i.status(t)}function p(){return(p=_asyncToGenerator(_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.delete(f.device);case 2:n.success(r("Device deleted.")),e.path("/device");case 4:case"end":return t.stop()}},t)}))).apply(this,arguments)}_.assign(f,{$onInit:function(){o.detailRealtime(f.config.device.id,t,h).then(function(e){f.device=e,f.displayRestartBtn=o.supportsOperation(e,"c8y_Restart"),f.additionalButtonsInfo=l.filter(function(t){return t.canShowButton(e)}).map(function(t){return t.getButtonInfo()})})},restart:function(){a.create({deviceId:f.device.id,description:s,c8y_Restart:{}}).then(function(){n.success(r("Device will be restarted."))})},deleteDevice:function(){return p.apply(this,arguments)}})}t.$inject=["$scope","$location","gettext","c8yAlert","c8yDevices","c8yDeviceStatus","c8yDeviceControl","c8yServiceRegistry","c8yDeviceGridService"],angular.module("c8y.deviceStatus").component("c8yDeviceStatus",{controller:t,controllerAs:"vm",templateUrl:":::PLUGIN_PATH:::/deviceStatus.html",bindings:{config:"<"}})})();
1
+ function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return a};var u,a={},t=Object.prototype,s=t.hasOwnProperty,l=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(u){i=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o,i,a,c,e=e&&e.prototype instanceof g?e:g,e=Object.create(e.prototype),n=new G(n||[]);return l(e,"_invoke",{value:(o=t,i=r,a=n,c=h,function(t,e){if(c===y)throw Error("Generator is already running");if(c===d){if("throw"===t)throw e;return{value:u,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===u)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=u,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,v;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}(r,a);if(r){if(r===v)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=d,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=y;r=f(o,i,a);if("normal"===r.type){if(c=a.done?d:p,r.arg===v)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(c=d,a.method="throw",a.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function g(){}function m(){}function w(){}var e={},b=(i(e,n,function(){return this}),Object.getPrototypeOf),b=b&&b(b(O([]))),L=(b&&b!==t&&s.call(b,n)&&(e=b),w.prototype=g.prototype=Object.create(e));function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function x(a,c){var e;l(this,"_invoke",{value:function(r,n){function t(){return new c(function(t,e){!function e(t,r,n,o){var i,t=f(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==_typeof(r)&&s.call(r,"__await")?c.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):c.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(s.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}throw new TypeError(_typeof(e)+" is not iterable")}return l(L,"constructor",{value:m.prototype=w,configurable:!0}),l(w,"constructor",{value:m,configurable:!0}),m.displayName=i(w,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,i(t,o,"GeneratorFunction")),t.prototype=Object.create(L),t},a.awrap=function(t){return{__await:t}},_(x.prototype),i(x.prototype,r,function(){return this}),a.AsyncIterator=x,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new x(c(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(L),i(L,o,"Generator"),i(L,n,function(){return this}),i(L,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=O,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&s.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,S(o)),n}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=u),v}},a}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(c){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=c.apply(t,a);function o(t){asyncGeneratorStep(n,e,r,o,i,"next",t)}function i(t){asyncGeneratorStep(n,e,r,o,i,"throw",t)}o(void 0)})}}(()=>{function t(t,e,r,n,o,i,a,c,u){var s=r("Restart device"),l=this,f=c.get("additionalDeviceStatusButtons");function h(t){l.status=i.status(t)}function p(){return(p=_asyncToGenerator(_regeneratorRuntime().mark(function t(){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.delete(l.device);case 2:n.success(r("Device deleted.")),e.path("/device");case 4:case"end":return t.stop()}},t)}))).apply(this,arguments)}l.additionalButtonsHaveDelete=!1,_.assign(l,{$onInit:function(){o.detailRealtime(l.config.device.id,t,h).then(function(e){l.device=e,l.displayRestartBtn=o.supportsOperation(e,"c8y_Restart"),l.additionalButtonsInfo=f.filter(function(t){return t.canShowButton(e)}).map(function(t){return t.getButtonInfo()}),l.additionalButtonsHaveDelete=!!l.additionalButtonsInfo.filter(function(t){return"delete"===t.icon}).length})},restart:function(){a.create({deviceId:l.device.id,description:s,c8y_Restart:{}}).then(function(){n.success(r("Device will be restarted."))})},deleteDevice:function(){return p.apply(this,arguments)}})}t.$inject=["$scope","$location","gettext","c8yAlert","c8yDevices","c8yDeviceStatus","c8yDeviceControl","c8yServiceRegistry","c8yDeviceGridService"],angular.module("c8y.deviceStatus").component("c8yDeviceStatus",{controller:t,controllerAs:"vm",templateUrl:":::PLUGIN_PATH:::/deviceStatus.html",bindings:{config:"<"}})})();
@@ -28,7 +28,7 @@
28
28
  <span>{{ 'Restart' | translate }}</span>
29
29
  </button>
30
30
  <button
31
- class="btn btn-default"
31
+ class="btn btn-default {{ buttonInfo.class }}"
32
32
  title="{{ buttonInfo.title | translate }}"
33
33
  type="button"
34
34
  data-cy="c8y-device-status--additional-btn"
@@ -44,6 +44,7 @@
44
44
  type="button"
45
45
  data-cy="c8y-device-status--delete-btn"
46
46
  ng-click="vm.deleteDevice()"
47
+ ng-if="!vm.additionalButtonsHaveDelete"
47
48
  >
48
49
  <i c8y-icon="delete"></i>
49
50
  <span>{{ 'Delete' | translate }}</span>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1021.34.1",
3
+ "version": "1021.34.2",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",