@c8y/ng1-modules 1018.503.150 → 1018.503.152

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.
@@ -1843,7 +1843,7 @@ msgid "Autodiscovery request"
1843
1843
  msgstr "Autodiscovery-Anfrage"
1844
1844
 
1845
1845
  msgid "Automatic setting of required interval"
1846
- msgstr "Automatisches Setzen des erforderlichen Intervalls"
1846
+ msgstr "Automatisches Einstellen des erforderlichen Intervalls"
1847
1847
 
1848
1848
  msgid "Automatically scrolls to the latest value"
1849
1849
  msgstr "Scrollt automatisch zum letzten Wert"
@@ -7430,7 +7430,7 @@ msgid "If selected, then every request needs to use the same \"User-Agent\" head
7430
7430
  msgstr "Wird diese Option gewählt, muss jede Anfrage denselben \"User-Agent\"-Header wie die erste Anfrage, die die Sitzung eingeleitet hat, verwenden."
7431
7431
 
7432
7432
  msgid "If the configuration is enabled, the firmware update operation will fail if the update result (resource 5) is not as expected based on the LWM2M firmware state machine."
7433
- msgstr "Wenn die Konfiguration eingeschaltet ist, schlägt die Operation zur Firmware-Aktualisierung fehl, wenn das Ergebnis der Aktualisierung (Ressource 5) nicht den Erwartungen des LWM2M-Firmware-Zustandsautomaten entspricht."
7433
+ msgstr "Wenn die Konfiguration aktiviert ist, schlägt die Firmware-Aktualisierung fehl, wenn das Ergebnis der Aktualisierung (Ressource 5) nicht den Erwartungen des LWM2M-Firmware-Zustandsautomaten entspricht."
7434
7434
 
7435
7435
  msgid "If the filter is set, the firmware will show up for installation only for devices of that type. If no filter is set, it will be available for all devices."
7436
7436
  msgstr "Wenn der Filter gesetzt ist, wird die Firmware nur für Geräte dieses Typs zur Installation angezeigt. Wenn kein Filter gesetzt ist, ist sie für alle Geräte verfügbar."
@@ -7490,10 +7490,10 @@ msgid "In this location since"
7490
7490
  msgstr "An diesem Ort seit"
7491
7491
 
7492
7492
  msgid "In this section, you can override or add individual entries to the Certificate Revocation List. Providing the serial number is mandatory. In case the revocation date is not set, it will be configured to the current date."
7493
- msgstr "In diesem Abschnitt können Sie einzelne Einträge in der Certificate Revocation List außer Kraft setzen oder hinzufügen. Die Angabe der Seriennummer ist obligatorisch. Falls das Datum des Widerrufs nicht gesetzt ist, wird es auf das aktuelle Datum konfiguriert."
7493
+ msgstr "In diesem Abschnitt können Sie einzelne Einträge in der Zertifikatssperrliste (Certificate Revocation List) außer Kraft setzen oder hinzufügen. Die Angabe der Seriennummer ist obligatorisch. Falls kein Sperrdatum angegeben ist, wird das aktuelle Datum verwendet."
7494
7494
 
7495
7495
  msgid "In this section, you can upload a file containing a revocation list for certificates. The file must be in CSV format, and it should include the serial number and revocation date. If the revocation date is empty, it will be set to the current date."
7496
- msgstr "In diesem Abschnitt können Sie eine Datei mit einer Sperrliste für Zertifikate hochladen. Die Datei muss im CSV-Format vorliegen und sollte die Seriennummer und das Sperrdatum enthalten. Ist kein Sperrdatum angegeben, wird es auf das aktuelle Datum gesetzt."
7496
+ msgstr "In diesem Abschnitt können Sie eine Datei mit einer Sperrliste für Zertifikate hochladen. Die Datei muss im CSV-Format vorliegen und sollte die Seriennummer und das Sperrdatum enthalten. Ist kein Sperrdatum angegeben, wird das aktuelle Datum verwendet."
7497
7497
 
7498
7498
  msgid "Inactive"
7499
7499
  msgstr "Inaktiv"
@@ -15387,7 +15387,7 @@ msgid "Update certificate name"
15387
15387
  msgstr "Zertifikatsnamen aktualisieren"
15388
15388
 
15389
15389
  msgid "Update certificate revocation list"
15390
- msgstr "Aktualisieren der Certificate Revocation List"
15390
+ msgstr "Zertifikatssperrliste aktualisieren"
15391
15391
 
15392
15392
  msgid "Update completed"
15393
15393
  msgstr "Update abgeschlossen"
@@ -16275,7 +16275,7 @@ msgstr "Jahr"
16275
16275
  msgid "Yearly: {{ month }}, {{ monthDay }} day of the month, at {{ hour }}:{{\n"
16276
16276
  " minutes\n"
16277
16277
  " }}."
16278
- msgstr "Jährlich: {{ month }}, {{ monthDay }} Tag des Monats, an {{ hour }}:{{\n"
16278
+ msgstr "Jährlich: {{ month }}, {{ monthDay }} Tag des Monats, um {{ hour }}:{{\n"
16279
16279
  " minutes\n"
16280
16280
  " }}."
16281
16281
 
@@ -16559,10 +16559,10 @@ msgid "You are about to unassign device \"{{name}}\". Do you want to proceed?"
16559
16559
  msgstr "Mit dieser Aktion heben Sie die Zuweisung für das Gerät \"{{name}}\" auf. Möchten Sie forfahren?"
16560
16560
 
16561
16561
  msgid "You are about to update certificate revocation list. Do you want to proceed?"
16562
- msgstr "Mit dieser Aktion aktualisieren Sie die Certificate Revocation List. Möchten Sie fortfahren?"
16562
+ msgstr "Mit dieser Aktion aktualisieren Sie die Zertifikatssperrliste. Möchten Sie fortfahren?"
16563
16563
 
16564
16564
  msgid "You are about to update certificate revocation list. The CRL file content will override manual entries. Do you want to proceed?"
16565
- msgstr "Mit dieser Aktion aktualisieren Sie die Certificate Revocation List. Der Inhalt der CRL-Datei überschreibt die manuellen Einträge. Möchten Sie fortfahren?"
16565
+ msgstr "Mit dieser Aktion aktualisieren Sie die Zertifikatssperrliste. Der Inhalt der CRL-Datei überschreibt die manuellen Einträge. Möchten Sie fortfahren?"
16566
16566
 
16567
16567
  msgid "You are using a wildcard certificate to enable creation of subtenants"
16568
16568
  msgstr "Sie verwenden ein Wildcard-Zertifikat, um die Erstellung von Untermandanten zu ermöglichen"
@@ -217,8 +217,8 @@ msgid "<b>{{ appName }}</b>\n"
217
217
  " license"
218
218
  msgstr "<b>{{ appName }}</b>\n"
219
219
  " utilise\n"
220
- " <b>{{ licenseName }}</b>\n"
221
- " licence"
220
+ " une licence \n"
221
+ " <b>{{ licenseName }}</b>"
222
222
 
223
223
  msgid "<kept as is>"
224
224
  msgstr "<Gardé en l'état>"
@@ -2249,7 +2249,7 @@ msgid "CRL file content will override manual entries."
2249
2249
  msgstr "Le contenu du fichier CRL va remplacer les entrées manuelles."
2250
2250
 
2251
2251
  msgid "CRL offline setup"
2252
- msgstr "Configuration hors ligne CRL"
2252
+ msgstr "Configuration CRL hors ligne"
2253
2253
 
2254
2254
  msgid "CRL saved."
2255
2255
  msgstr "CRL enregistrée."
@@ -6584,13 +6584,13 @@ msgid "Frequency (in seconds)"
6584
6584
  msgstr "Fréquence (secondes)"
6585
6585
 
6586
6586
  msgid "From midnight last month to now. For details refer to the user documentation."
6587
- msgstr "De minuit le mois dernier à aujourd'hui. Pour plus de détails, consultez la documentation utilisateur."
6587
+ msgstr "De minuit le mois dernier à maintenant. Pour plus de détails, consultez la documentation utilisateur."
6588
6588
 
6589
6589
  msgid "From midnight last week to now. For details refer to the user documentation."
6590
- msgstr "De minuit la semaine dernière à aujourd'hui. Pour plus de détails, consultez la documentation utilisateur."
6590
+ msgstr "De minuit la semaine dernière à maintenant. Pour plus de détails, consultez la documentation utilisateur."
6591
6591
 
6592
6592
  msgid "From midnight last year to now. For details refer to the user documentation."
6593
- msgstr "De minuit la semaine dernière à aujourd'hui. Pour plus de détails, consultez la documentation utilisateur."
6593
+ msgstr "De minuit l'année dernière à maintenant. Pour plus de détails, consultez la documentation utilisateur."
6594
6594
 
6595
6595
  msgid "From/To date filter"
6596
6596
  msgstr "Filtre de date de/à"
@@ -7443,7 +7443,7 @@ msgid "If not specified, LWM2M Agent generates the URL"
7443
7443
  msgstr "Si rien n'est indiqué, l'agent LWM2M génère l'URL"
7444
7444
 
7445
7445
  msgid "If selected it ignores empty values on all resources below."
7446
- msgstr "Si cette option est sélectionnée, elle ignore les valeurs vides dans toutes les ressources ci-dessous."
7446
+ msgstr "Si cette option est sélectionnée, les valeurs vides sont ignorées dans toutes les ressources ci-dessous."
7447
7447
 
7448
7448
  msgid "If selected, it will process the result of the request using response templates."
7449
7449
  msgstr "Si cette option est sélectionnée, le résultat de la requête sera traité avec des modèles de réponse."
@@ -7512,10 +7512,10 @@ msgid "In this location since"
7512
7512
  msgstr "À cet emplacement depuis"
7513
7513
 
7514
7514
  msgid "In this section, you can override or add individual entries to the Certificate Revocation List. Providing the serial number is mandatory. In case the revocation date is not set, it will be configured to the current date."
7515
- msgstr "Cette section vous permet de remplacer ou d'ajouter des entrées individuelles à la liste de révocation des certificats. Le numéro de série est obligatoire. Si la date de révocation n'est pas définie, elle sera configurée sur la date actuelle."
7515
+ msgstr "Cette section vous permet de remplacer ou d'ajouter des entrées individuelles à la liste de révocation des certificats. La saisie du numéro de série est obligatoire. Si la date de révocation n'est pas définie, elle est configurée sur la date du jour."
7516
7516
 
7517
7517
  msgid "In this section, you can upload a file containing a revocation list for certificates. The file must be in CSV format, and it should include the serial number and revocation date. If the revocation date is empty, it will be set to the current date."
7518
- msgstr "Dans cette section, vous pouvez télécharger un fichier contenant une liste de révocation de certificats. Le fichier doit être au format CSV et inclure le numéro de série et la date de révocation. Si la date de révocation est vide, elle sera fixée à la date actuelle."
7518
+ msgstr "Cette section vous permet de télécharger un fichier contenant une liste de révocation de certificats. Ce fichier doit être au format CSV et inclure le numéro de série et la date de révocation. Si la date de révocation est vide, elle est réglée sur la date du jour."
7519
7519
 
7520
7520
  msgid "Inactive"
7521
7521
  msgstr "Inactif"
@@ -8918,7 +8918,7 @@ msgid "Must have at least {{length}} characters"
8918
8918
  msgstr "Doit avoir au moins {{length}} caractères"
8919
8919
 
8920
8920
  msgid "Must not contain whitespaces nor the special characters .,*[]()@$"
8921
- msgstr "Ne doit pas contenir d'espace blanc ni les caractères spéciaux .,*[]()@$"
8921
+ msgstr "Ne doit contenir ni espaces ni les caractères spéciaux .,*[]()@$"
8922
8922
 
8923
8923
  msgid "My device`DEVICE_NAME`"
8924
8924
  msgstr "Mon appareil"
@@ -15140,7 +15140,7 @@ msgstr "Activez le ou les appareils enregistrés et attendez l'établissement de
15140
15140
  " l'accepter en cliquant sur le bouton \"Accepter\"."
15141
15141
 
15142
15142
  msgid "Turns off the internal default handling of objects 3,4 and 6"
15143
- msgstr "Désactive la gestion interne par défaut des objets 3, 4 et 6."
15143
+ msgstr "Désactive le traitement interne par défaut des objets 3, 4 et 6"
15144
15144
 
15145
15145
  msgid "Turns off the internal firmware update state machine"
15146
15146
  msgstr "Désactive la machine à états interne de mise à jour du microprogramme"
@@ -15414,7 +15414,7 @@ msgid "Update certificate name"
15414
15414
  msgstr "Mise à jour du nom du certificat"
15415
15415
 
15416
15416
  msgid "Update certificate revocation list"
15417
- msgstr "Mise à jour de la liste de révocation des certificats"
15417
+ msgstr "Mettre à jour la liste de révocation des certificats"
15418
15418
 
15419
15419
  msgid "Update completed"
15420
15420
  msgstr "Mise à jour terminée"
@@ -15846,8 +15846,8 @@ msgstr "L'utilisation d'un modèle de point de données définit la couleur, l'
15846
15846
 
15847
15847
  msgid "Using your smartphone as a source of sensor data is a quick way to start using our IoT\n"
15848
15848
  " platform."
15849
- msgstr "L'utilisation de votre smartphone comme source de données de capteurs est un moyen rapide de commencer à utiliser notre plateforme IoT\n"
15850
- " ."
15849
+ msgstr "L'utilisation de votre smartphone comme source de données de capteurs est un moyen rapide de commencer à utiliser notre plate-forme\n"
15850
+ " IoT."
15851
15851
 
15852
15852
  msgid "VMC supports undefined credit"
15853
15853
  msgstr "VMC prend en charge le crédit non défini"
@@ -16586,10 +16586,10 @@ msgid "You are about to unassign device \"{{name}}\". Do you want to proceed?"
16586
16586
  msgstr "Vous allez désaffecter l'appareil \"{{name}}\". Souhaitez-vous continuer cette action ?"
16587
16587
 
16588
16588
  msgid "You are about to update certificate revocation list. Do you want to proceed?"
16589
- msgstr "Vous êtes sur le point de mettre à jour la liste de révocation des certificats. Voulez-vous continuer ?"
16589
+ msgstr "Vous allez mettre à jour la liste de révocation des certificats. Souhaitez-vous continuer cette action ?"
16590
16590
 
16591
16591
  msgid "You are about to update certificate revocation list. The CRL file content will override manual entries. Do you want to proceed?"
16592
- msgstr "Vous êtes sur le point de mettre à jour la liste de révocation des certificats. Le contenu du fichier CRL remplacera les entrées manuelles. Voulez-vous continuer ?"
16592
+ msgstr "Vous allez mettre à jour la liste de révocation des certificats. Le contenu du fichier CRL remplacera les saisies manuelles. Souhaitez-vous continuer cette action ?"
16593
16593
 
16594
16594
  msgid "You are using a wildcard certificate to enable creation of subtenants"
16595
16595
  msgstr "Vous utilisez un certificat avec caractères génériques pour permettre la création de sous-gérants"
@@ -1124,7 +1124,11 @@ msgid "After the activation is completed you will no longer be able to access yo
1124
1124
  " , instead use your new custom domain name\n"
1125
1125
  " <code>{{ vm.newDomainName }}</code>\n"
1126
1126
  " ."
1127
- msgstr ""
1127
+ msgstr "アクティベーションの完了後、新しいカスタム ドメイン名 <code>{{ vm.newDomainName }}</code>\n"
1128
+ " が使用できるように\n"
1129
+ " なる代わりに、\n"
1130
+ " <code>{{ vm.domainName }}</code> でテナントにアクセスすることが\n"
1131
+ " できなくなります。\n"
1128
1132
 
1129
1133
  msgid "Agent"
1130
1134
  msgstr "エージェント"
@@ -1820,7 +1824,7 @@ msgid "Autodiscovery request"
1820
1824
  msgstr "Autodiscovery のリクエスト"
1821
1825
 
1822
1826
  msgid "Automatic setting of required interval"
1823
- msgstr ""
1827
+ msgstr "必要な間隔の自動設定"
1824
1828
 
1825
1829
  msgid "Automatically scrolls to the latest value"
1826
1830
  msgstr "自動的に最後の値までスクロール"
@@ -1838,7 +1842,7 @@ msgid "Availability status"
1838
1842
  msgstr "稼働率ステータス"
1839
1843
 
1840
1844
  msgid "Availability`of dashboard based on permissions`"
1841
- msgstr "可視性"
1845
+ msgstr "利用可能性"
1842
1846
 
1843
1847
  msgid "Availability`of package based on app state`"
1844
1848
  msgstr "利用可能範囲"
@@ -5866,7 +5870,7 @@ msgid "Factory reset"
5866
5870
  msgstr "工場出荷時リセット"
5867
5871
 
5868
5872
  msgid "Fail device firmware update on unexpected result"
5869
- msgstr ""
5873
+ msgstr "デバイス ファームウェアは予期しない結果のため更新できませんでした。"
5870
5874
 
5871
5875
  msgid "Failed"
5872
5876
  msgstr "失敗"
@@ -6562,7 +6566,7 @@ msgid "From midnight last week to now. For details refer to the user documentati
6562
6566
  msgstr "先週の真夜中から現在まで。詳細は、ユーザー ドキュメンテーションを参照してください。"
6563
6567
 
6564
6568
  msgid "From midnight last year to now. For details refer to the user documentation."
6565
- msgstr "去年の真夜中から現在まで。詳細は、ユーザー ドキュメンテーションを参照してください。"
6569
+ msgstr "昨年の真夜中から現在まで。詳細は、ユーザー ドキュメンテーションを参照してください。"
6566
6570
 
6567
6571
  msgid "From/To date filter"
6568
6572
  msgstr "開始日/終了日フィルター"
@@ -7415,7 +7419,7 @@ msgid "If not specified, LWM2M Agent generates the URL"
7415
7419
  msgstr "指定されていない場合は、LWM2M エージェントにより URL が生成されます"
7416
7420
 
7417
7421
  msgid "If selected it ignores empty values on all resources below."
7418
- msgstr ""
7422
+ msgstr "選択されている場合は、下のすべてのリソースの空の値は無視されます。"
7419
7423
 
7420
7424
  msgid "If selected, it will process the result of the request using response templates."
7421
7425
  msgstr "選択された場合は、レスポンス テンプレートを使用してリクエストの結果を処理します。"
@@ -7424,7 +7428,7 @@ msgid "If selected, then every request needs to use the same \"User-Agent\" head
7424
7428
  msgstr "選択されている場合、セッションを開始した最初の要求として、すべての要求は同じ \"ユーザーエージェント\" ヘッダーを使用する必要があります。"
7425
7429
 
7426
7430
  msgid "If the configuration is enabled, the firmware update operation will fail if the update result (resource 5) is not as expected based on the LWM2M firmware state machine."
7427
- msgstr ""
7431
+ msgstr "構成が有効であり、更新結果 (リソース 5) が LWM2M ファームウェア状態機械に基づく予想でない場合は、ファームウエアの更新操作はエラーになります。"
7428
7432
 
7429
7433
  msgid "If the filter is set, the firmware will show up for installation only for devices of that type. If no filter is set, it will be available for all devices."
7430
7434
  msgstr "フィルターが設定されると、そのタイプのデバイスにインストールするファームウェアのみが表示されます。フィルターが設定されていない場合は、すべてのデバイスに利用できます。"
@@ -7484,10 +7488,10 @@ msgid "In this location since"
7484
7488
  msgstr "次の日時からこの位置"
7485
7489
 
7486
7490
  msgid "In this section, you can override or add individual entries to the Certificate Revocation List. Providing the serial number is mandatory. In case the revocation date is not set, it will be configured to the current date."
7487
- msgstr "このセクションでは、証明書失効リストを上書き、または独自のエントリを追加することができます。シリアル番号を入力する必要があります。失効日が設定されていない場合は、現在の日付に設定されます。"
7491
+ msgstr "このセクションでは、証明書失効リストを上書き、または個別のエントリを追加することができます。シリアル番号を入力する必要があります。失効日が設定されていない場合は、現在の日付に設定されます。"
7488
7492
 
7489
7493
  msgid "In this section, you can upload a file containing a revocation list for certificates. The file must be in CSV format, and it should include the serial number and revocation date. If the revocation date is empty, it will be set to the current date."
7490
- msgstr ""
7494
+ msgstr "このセクションでは、失効証明書リスト ファイルをアップロードできます。ファイルは CSV 形式であり、シリアル番号と失効日が含まれている必要があります。失効日が空である場合は、現在の日付が設定されます。"
7491
7495
 
7492
7496
  msgid "Inactive"
7493
7497
  msgstr "非アクティブ"
@@ -13636,7 +13640,7 @@ msgstr "表示されない項目がある場合があります。検索条件を
13636
13640
 
13637
13641
  msgid "Some of the user settings are not editable here because they are managed via your\n"
13638
13642
  " authorization server."
13639
- msgstr ""
13643
+ msgstr "ユーザー設定の一部は、認証サーバーを使用して管理されているため、ここでは編集できません。\n"
13640
13644
 
13641
13645
  msgid "Some users might not be shown. Try narrowing search criteria."
13642
13646
  msgstr "表示されないユーザーがいる場合があります。検索条件を絞ってください。"
@@ -15105,7 +15109,7 @@ msgstr "登録されたデバイスの電源を入れ、接続が確立するま
15105
15109
  " \"承認\" ボタンをクリックして承認する必要があります。"
15106
15110
 
15107
15111
  msgid "Turns off the internal default handling of objects 3,4 and 6"
15108
- msgstr ""
15112
+ msgstr "オブジェクト 3、4 および 6 の内部デフォルト処理をオフにします"
15109
15113
 
15110
15114
  msgid "Turns off the internal firmware update state machine"
15111
15115
  msgstr "内部ファームウェア更新状態機械をオフにします"
@@ -15379,7 +15383,7 @@ msgid "Update certificate name"
15379
15383
  msgstr "証明書の名前を更新"
15380
15384
 
15381
15385
  msgid "Update certificate revocation list"
15382
- msgstr ""
15386
+ msgstr "証明書失効リストの更新"
15383
15387
 
15384
15388
  msgid "Update completed"
15385
15389
  msgstr "更新が完了しました"
@@ -16550,10 +16554,10 @@ msgid "You are about to unassign device \"{{name}}\". Do you want to proceed?"
16550
16554
  msgstr "デバイス \"{{name}}\" の割り当てを解除しようとしています。続行しますか?"
16551
16555
 
16552
16556
  msgid "You are about to update certificate revocation list. Do you want to proceed?"
16553
- msgstr ""
16557
+ msgstr "証明書失効リストを更新しようとしています。続行しますか?"
16554
16558
 
16555
16559
  msgid "You are about to update certificate revocation list. The CRL file content will override manual entries. Do you want to proceed?"
16556
- msgstr ""
16560
+ msgstr "証明書失効リストを更新しようとしています。CRL ファイルの内容により、手動で入力したエントリが上書きされます。続行しますか?"
16557
16561
 
16558
16562
  msgid "You are using a wildcard certificate to enable creation of subtenants"
16559
16563
  msgstr "サブテナントの作成を有効化するためにワイルドカード証明書を使用しています"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1018.503.150",
3
+ "version": "1018.503.152",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -1 +1 @@
1
- "use strict";!function(){function e(n,e,t){var o=this,i=[],r=[];function l(){i=_.clone((o.assignedRoles||{}).roles)||[]}function s(e){return _(e).sortBy(y).map(y).value().join(", ")}function c(e){return _.some(i,{id:e.id})||d(e)}function d(e){return _.some(r,{id:e.id})}function u(){return e("filter")(o.inventoryRoles,o.roleTextFilter)}function a(){var e=u().filter(f);return _.every(e,c)}function g(){return i.filter(f)}function f(e){return!o.ownerAllowedRoles||_.some(o.ownerAllowedRoles,{id:e.id})}function m(){var e=_.sortBy(_.map((o.assignedRoles||{}).roles,"id")),n=_.sortBy(_.map(i,"id"));o.isUnchanged=_.isEqual(e,n)}function y(e){return t.getString(e.name)}_.assign(o,{displayTextAssigned:function(){return s((o.assignedRoles||{}).roles)},displayTextInherited:function(){return s(r)},$onChanges:function(e){e.assignedRoles&&l();e.inheritedRoles&&(r=o.inheritedRoles)},toggle:function(e){c(e)?_.remove(i,{id:e.id}):(i.push(e),i=_.uniqBy(i,"id"));m()},toggleSelectAll:function(){a()?i.length=0:i=_.reject(u(),d);m()},allSelected:a,isSelected:c,isInherited:d,filteredAssignedRoles:g,apply:function(){var e=g();o.onApply({roles:e}),o.isDropDownOpen=!1},onToggleDropdown:function(e){e||(l(),o.isUnchanged=!0)},isAllowedByOwner:f,isUnchanged:!0,getFormattedInventoryRoleDescription:_.memoize(function(e){e=t.getString(e.trim());return n.trustAsHtml("\n <div>\n ".concat(e,"\n </div>\n "))}),translateName:y})}e.$inject=["$sce","$filter","gettextCatalog"],angular.module("c8y.userRoles").component("c8yInventoryRoleSelector",{bindings:{assignedRoles:"<",inheritedRoles:"<",inventoryRoles:"<",ownerAllowedRoles:"<",onApply:"&"},templateUrl:":::PLUGIN_PATH:::/inventoryRoleSelector/inventoryRoleSelector.html",controller:e,controllerAs:"vm"})}();
1
+ "use strict";!function(){function e(e,n){var o=this,t=[],i=[];function r(){t=_.clone((o.assignedRoles||{}).roles)||[]}function l(e){return _(e).sortBy(y).map(y).value().join(", ")}function s(e){return _.some(t,{id:e.id})||c(e)}function c(e){return _.some(i,{id:e.id})}function d(){return e("filter")(o.inventoryRoles,o.roleTextFilter)}function u(){var e=d().filter(g);return _.every(e,s)}function a(){return t.filter(g)}function g(e){return!o.ownerAllowedRoles||_.some(o.ownerAllowedRoles,{id:e.id})}function f(){var e=_.sortBy(_.map((o.assignedRoles||{}).roles,"id")),n=_.sortBy(_.map(t,"id"));o.isUnchanged=_.isEqual(e,n)}function y(e){return n.getString(e.name)}_.assign(o,{displayTextAssigned:function(){return l((o.assignedRoles||{}).roles)},displayTextInherited:function(){return l(i)},$onChanges:function(e){e.assignedRoles&&r();e.inheritedRoles&&(i=o.inheritedRoles)},toggle:function(e){s(e)?_.remove(t,{id:e.id}):(t.push(e),t=_.uniqBy(t,"id"));f()},toggleSelectAll:function(){u()?t.length=0:t=_.reject(d(),c);f()},allSelected:u,isSelected:s,isInherited:c,filteredAssignedRoles:a,apply:function(){var e=a();o.onApply({roles:e}),o.isDropDownOpen=!1},onToggleDropdown:function(e){e||(r(),o.isUnchanged=!0)},isAllowedByOwner:g,isUnchanged:!0,getFormattedInventoryRoleDescription:_.memoize(function(e){return n.getString(e.trim())}),translateName:y})}e.$inject=["$filter","gettextCatalog"],angular.module("c8y.userRoles").component("c8yInventoryRoleSelector",{bindings:{assignedRoles:"<",inheritedRoles:"<",inventoryRoles:"<",ownerAllowedRoles:"<",onApply:"&"},templateUrl:":::PLUGIN_PATH:::/inventoryRoleSelector/inventoryRoleSelector.html",controller:e,controllerAs:"vm"})}();