@c8y/ng1-modules 1019.5.11 → 1019.6.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.
@@ -1 +1 @@
1
- "use strict";!function(){var a=_.identity;window.c8yConfig={validation:{deviceId:{pattern:/^[^\s/]*$/,message:a('Device ID must not contain spaces or slashes ("/").')},domain:{pattern:/^[a-z]+[a-z0-9-]*[a-z0-9]+\.{1}.+$/,message:a("Only lowercase letters, digits and hyphens allowed in the first part of the URI. Must start with a letter; hyphens only allowed in the middle. Must be a valid URI.")},groupName:{maxlength:254},hostname:{pattern:/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/},internationalPhoneNumber:{message:a('Must be a valid phone number (only digits, spaces, slashes ("/"), dashes ("-"), and plus ("+") allowed, for example: +49 9 876 543 210).')},ip:{pattern:/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/},ipV6:{pattern:/^([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/},jsonPath:{pattern:/.*/,message:a("Must be valid JSONPath expression.")},opcuaBrowsePath:{pattern:/^(opc.tcp|http|https):\/\/[^ "]+$/},password:{pattern:/^[a-zA-Z0-9`~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]{8,32}$/,message:a("Password must have at least 8 characters and no more than 32 and can only contain letters, numbers and following symbols: `~!@#$%^&*()_|+-=?;:'\",.<>{}[]\\/")},tenantId:{pattern:/^[a-z]+[a-z0-9-]*[a-z0-9]+$/,message:a("May contain lowercase letters, digits, and hyphens. Must start with a letter; hyphens only allowed in the middle; minimum 2 characters.")},user:{pattern:/^[^\\/\s$:+]*$/,message:a('Username must not contain spaces nor slashes ("/", "\\") nor ("+"), (":"), ("$") signs.')},loginAlias:{pattern:/^[^\\/$:+]*$/,message:a('Login alias must not contain slashes ("/", "\\") nor ("+"), (":"), ("$") signs.')},urlSegment:{pattern:/^(([.]{1,2})|([/])+|(([/]*)([.]{1,2})([/]*))|((.*)([/]|[ ]+)(.*))|(\s+))$/,message:a("Slash, single or double dots and white space not allowed.")}},defaultAppOptions:{rightDrawer:!0,staticLinks:{devicemanagementDeviceDetails:"/apps/devicemanagement/#/device/{{deviceId}}"},supportUrl:!0,storageLimitationFeatureEnabled:!1,hide_navigator:!1,guideHrefTemplate:"${docsBaseUrl}${partialUrl}",docsBaseUrl:"https://www.cumulocity.com"},deviceListMap:{},tracking:{},smartRules:{exclude:[]},administration:{statistics:{}}}}();
1
+ "use strict";!function(){var a=_.identity;window.c8yConfig={validation:{deviceId:{pattern:/^[^\s/]*$/,message:a('Device ID must not contain spaces or slashes ("/").')},domain:{pattern:/^[a-z]+[a-z0-9-]*[a-z0-9]+\.{1}.+$/,message:a("Only lowercase letters, digits and hyphens allowed in the first part of the URI. Must start with a letter; hyphens only allowed in the middle. Must be a valid URI.")},groupName:{maxlength:254},hostname:{pattern:/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/},internationalPhoneNumber:{message:a('Must be a valid phone number (only digits, spaces, slashes ("/"), dashes ("-"), and plus ("+") allowed, for example: +49 9 876 543 210).')},ip:{pattern:/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/},ipV6:{pattern:/^([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/},jsonPath:{pattern:/.*/,message:a("Must be valid JSONPath expression.")},opcuaBrowsePath:{pattern:/^(opc.tcp|http|https):\/\/[^ "]+$/},password:{pattern:/^[a-zA-Z0-9`~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]{8,32}$/,message:a("Password must have at least 8 characters and no more than 32 and can only contain letters, numbers and following symbols: `~!@#$%^&*()_|+-=?;:'\",.<>{}[]\\/")},passwordStrengthChecklist:{message:a("Password is not strong enough, use a stronger password. Check the requirements listed on the right.")},tenantId:{pattern:/^[a-z]+[a-z0-9-]*[a-z0-9]+$/,message:a("May contain lowercase letters, digits, and hyphens. Must start with a letter; hyphens only allowed in the middle; minimum 2 characters.")},user:{pattern:/^[^\\/\s$:+]*$/,message:a('Username must not contain spaces nor slashes ("/", "\\") nor ("+"), (":"), ("$") signs.')},loginAlias:{pattern:/^[^\\/$:+]*$/,message:a('Login alias must not contain slashes ("/", "\\") nor ("+"), (":"), ("$") signs.')},urlSegment:{pattern:/^(([.]{1,2})|([/])+|(([/]*)([.]{1,2})([/]*))|((.*)([/]|[ ]+)(.*))|(\s+))$/,message:a("Slash, single or double dots and white space not allowed.")}},defaultAppOptions:{rightDrawer:!0,staticLinks:{devicemanagementDeviceDetails:"/apps/devicemanagement/#/device/{{deviceId}}"},supportUrl:!0,storageLimitationFeatureEnabled:!1,hide_navigator:!1,guideHrefTemplate:"${docsBaseUrl}${partialUrl}",docsBaseUrl:"https://www.cumulocity.com"},deviceListMap:{},tracking:{},smartRules:{exclude:[]},administration:{statistics:{}}}}();
@@ -841,6 +841,9 @@ msgstr "Stammdatenrollen hinzufügen"
841
841
  msgid "Add inventory roles mapping"
842
842
  msgstr "Stammdatenrollenregel hinzufügen"
843
843
 
844
+ msgid "Add local smart rule"
845
+ msgstr "Lokale Smart Rule hinzufügen"
846
+
844
847
  msgid "Add location"
845
848
  msgstr "Ort hinzufügen"
846
849
 
@@ -5450,6 +5453,9 @@ msgstr "Halteregister \"{{name}}\" bearbeiten"
5450
5453
  msgid "Edit input register: \"{{name}}\""
5451
5454
  msgstr "Eingaberegister \"{{name}}\" bearbeiten"
5452
5455
 
5456
+ msgid "Edit local smart rule"
5457
+ msgstr "Lokale Smart Rule bearbeiten"
5458
+
5453
5459
  msgid "Edit location"
5454
5460
  msgstr "Position bearbeiten"
5455
5461
 
@@ -7268,6 +7274,9 @@ msgstr "Globale Rollen"
7268
7274
  msgid "Global search"
7269
7275
  msgstr "Globale Suche"
7270
7276
 
7277
+ msgid "Global smart rule"
7278
+ msgstr "Globale Smart Rule"
7279
+
7271
7280
  msgid "Global smart rules"
7272
7281
  msgstr "Globale Smart Rules"
7273
7282
 
@@ -7873,9 +7882,6 @@ msgstr "Ungültige Subnetzmaske."
7873
7882
  msgid "Invalid type, expected {{ schema.type }}."
7874
7883
  msgstr "Ungültiger Typ, erwartet wird {{ schema.type }}."
7875
7884
 
7876
- msgid "Invalid verification code. In case of key loss, contact your platform administrator."
7877
- msgstr "Ungültiger Bestätigungscodes. Im Falle eines Schlüsselverlustes wenden Sie sich an Ihren Plattform-Administrator."
7878
-
7879
7885
  msgid "Inventories created"
7880
7886
  msgstr "Erstellte Stammdaten"
7881
7887
 
@@ -8412,6 +8418,9 @@ msgstr "Wird geladen…"
8412
8418
  msgid "Local"
8413
8419
  msgstr "Lokal"
8414
8420
 
8421
+ msgid "Local smart rule"
8422
+ msgstr "Lokale Smart Rule"
8423
+
8415
8424
  msgid "Locate"
8416
8425
  msgstr "Suchen"
8417
8426
 
@@ -9222,9 +9231,6 @@ msgstr "Geofence-Übertretung von #{source.name}"
9222
9231
  msgid "New global role"
9223
9232
  msgstr "Neue globale Rolle"
9224
9233
 
9225
- msgid "New global smart rule"
9226
- msgstr "Neue globale Smart Rule"
9227
-
9228
9234
  msgid "New group"
9229
9235
  msgstr "Neue Gruppe"
9230
9236
 
@@ -12029,12 +12035,6 @@ msgstr "Rolle gelöscht."
12029
12035
  msgid "Roles"
12030
12036
  msgstr "Rollen"
12031
12037
 
12032
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be cleared"
12033
- msgstr "Rollen, die in den obigen Regeln für einen Nutzer ausgewählt wurden, werden beim Login diesem Nutzer zugeteilt. Nicht gewählte Rollen werden gelöscht"
12034
-
12035
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be unchanged"
12036
- msgstr "Rollen, die in den obigen Regeln für einen Nutzer ausgewählt wurden, werden beim Login diesem Nutzer zugeteilt. Nicht gewählte Rollen bleiben davon unberührt"
12037
-
12038
12038
  msgid "Root Device"
12039
12039
  msgstr "Hauptgerät"
12040
12040
 
@@ -16981,9 +16981,6 @@ msgstr "Die folgenden Parameter können im HTML-Code verwendet werden:"
16981
16981
  msgid "You can't delete this device. The service \"{{ name }}\" is not subscribed."
16982
16982
  msgstr "Dieses Gerät kann nicht gelöscht werden. Der Service \"{{ name }}\" wurde nicht abonniert."
16983
16983
 
16984
- msgid "You cannot change the stored email addresses of other users, as well as your own (if it's managed through your authorization server)."
16985
- msgstr "Sie können die gespeicherten E-Mail-Adressen anderer Benutzer sowie Ihre eigenen (wenn diese über Ihren Autorisierungsserver verwaltet werden) nicht ändern."
16986
-
16987
16984
  msgid "You cannot edit global roles for user with external origin, since it is managed via your authorization server."
16988
16985
  msgstr "Sie können keine globalen Rollen für Benutzer mit externer Herkunft bearbeiten, da diese über Ihren Autorisierungsserver verwaltet werden."
16989
16986
 
@@ -843,6 +843,9 @@ msgstr "Agregar roles de inventario"
843
843
  msgid "Add inventory roles mapping"
844
844
  msgstr "Agregar asignación de roles de inventario"
845
845
 
846
+ msgid "Add local smart rule"
847
+ msgstr "Añadir regla inteligente local"
848
+
846
849
  msgid "Add location"
847
850
  msgstr "Agregar ubicación"
848
851
 
@@ -5460,6 +5463,9 @@ msgstr "Editar registro de explotación: \"{{name}}”"
5460
5463
  msgid "Edit input register: \"{{name}}\""
5461
5464
  msgstr "Editar el registro de entrada: \"{{name}}”"
5462
5465
 
5466
+ msgid "Edit local smart rule"
5467
+ msgstr "Editar regla inteligente local"
5468
+
5463
5469
  msgid "Edit location"
5464
5470
  msgstr "Editar ubicación"
5465
5471
 
@@ -7294,6 +7300,9 @@ msgstr "Roles globales"
7294
7300
  msgid "Global search"
7295
7301
  msgstr "Búsqueda global"
7296
7302
 
7303
+ msgid "Global smart rule"
7304
+ msgstr "Regla inteligente global"
7305
+
7297
7306
  msgid "Global smart rules"
7298
7307
  msgstr "Reglas inteligentes globales"
7299
7308
 
@@ -7899,9 +7908,6 @@ msgstr "La máscara de subred no es válida."
7899
7908
  msgid "Invalid type, expected {{ schema.type }}."
7900
7909
  msgstr "Tipo no válido, se esperaba {{ schema.type }}."
7901
7910
 
7902
- msgid "Invalid verification code. In case of key loss, contact your platform administrator."
7903
- msgstr "Código de verificación no válido. Póngase en contacto con su administrador de plataforma si ha perdido su clave."
7904
-
7905
7911
  msgid "Inventories created"
7906
7912
  msgstr "Inventarios creados"
7907
7913
 
@@ -8438,6 +8444,9 @@ msgstr "Cargando…"
8438
8444
  msgid "Local"
8439
8445
  msgstr "Local"
8440
8446
 
8447
+ msgid "Local smart rule"
8448
+ msgstr "Regla inteligente local"
8449
+
8441
8450
  msgid "Locate"
8442
8451
  msgstr "Localizar"
8443
8452
 
@@ -9250,9 +9259,6 @@ msgstr "Nueva violación de geofence de #{source.name}"
9250
9259
  msgid "New global role"
9251
9260
  msgstr "Nuevo rol global"
9252
9261
 
9253
- msgid "New global smart rule"
9254
- msgstr "Nueva regla inteligente global"
9255
-
9256
9262
  msgid "New group"
9257
9263
  msgstr "Nuevo grupo"
9258
9264
 
@@ -12059,12 +12065,6 @@ msgstr "Rol eliminado."
12059
12065
  msgid "Roles"
12060
12066
  msgstr "Roles"
12061
12067
 
12062
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be cleared"
12063
- msgstr "Los roles seleccionados en las reglas expuestas aquí arriba se reasignarán al usuario en cada inicio de sesión y el resto de roles se eliminará"
12064
-
12065
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be unchanged"
12066
- msgstr "Los roles seleccionados en las reglas antes expuestas se reasignarán a un usuario en cada inicio de sesión y el resto se eliminarán"
12067
-
12068
12068
  msgid "Root Device"
12069
12069
  msgstr "Dispositivo raíz"
12070
12070
 
@@ -17013,9 +17013,6 @@ msgstr "Puede utilizar las siguientes variables en su código HTML:"
17013
17013
  msgid "You can't delete this device. The service \"{{ name }}\" is not subscribed."
17014
17014
  msgstr "No puede eliminar este dispositivo. No está suscrito al servicio \"{{ name }}\"."
17015
17015
 
17016
- msgid "You cannot change the stored email addresses of other users, as well as your own (if it's managed through your authorization server)."
17017
- msgstr "No puedes cambiar las direcciones de correo electrónico almacenadas de otros usuarios, así como la tuya propia (si se gestiona a través de tu servidor de autorización)."
17018
-
17019
17016
  msgid "You cannot edit global roles for user with external origin, since it is managed via your authorization server."
17020
17017
  msgstr "No puede editar roles globales para usuarios de origen externo, ya que esta operación se efectúa desde el servidor de autorización."
17021
17018
 
@@ -843,6 +843,9 @@ msgstr "Ajouter des rôles d'inventaire"
843
843
  msgid "Add inventory roles mapping"
844
844
  msgstr "Ajouter un mappage des rôles d'inventaires"
845
845
 
846
+ msgid "Add local smart rule"
847
+ msgstr "Ajouter une Smart Rule locale"
848
+
846
849
  msgid "Add location"
847
850
  msgstr "Ajouter un emplacement"
848
851
 
@@ -5460,6 +5463,9 @@ msgstr "Modifier le registre de holding : \"{{name}}\""
5460
5463
  msgid "Edit input register: \"{{name}}\""
5461
5464
  msgstr "Modifier le registre d'entrée : \"{{name}}\""
5462
5465
 
5466
+ msgid "Edit local smart rule"
5467
+ msgstr "Modifier la Smart Rule locale"
5468
+
5463
5469
  msgid "Edit location"
5464
5470
  msgstr "Modifier l'emplacement"
5465
5471
 
@@ -7294,6 +7300,9 @@ msgstr "Rôles globaux"
7294
7300
  msgid "Global search"
7295
7301
  msgstr "Recherche globale"
7296
7302
 
7303
+ msgid "Global smart rule"
7304
+ msgstr "Smart Rule globale"
7305
+
7297
7306
  msgid "Global smart rules"
7298
7307
  msgstr "Smart Rules globales"
7299
7308
 
@@ -7899,9 +7908,6 @@ msgstr "Masque de sous-réseau non valide."
7899
7908
  msgid "Invalid type, expected {{ schema.type }}."
7900
7909
  msgstr "Type non valide, type attendu {{ schema.type }}."
7901
7910
 
7902
- msgid "Invalid verification code. In case of key loss, contact your platform administrator."
7903
- msgstr "Code de vérification non valide. En cas de perte de la clé, contactez votre administrateur de plateforme."
7904
-
7905
7911
  msgid "Inventories created"
7906
7912
  msgstr "Inventaires créés"
7907
7913
 
@@ -8438,6 +8444,9 @@ msgstr "Chargement en cours…"
8438
8444
  msgid "Local"
8439
8445
  msgstr "Local"
8440
8446
 
8447
+ msgid "Local smart rule"
8448
+ msgstr "Smart Rule locale"
8449
+
8441
8450
  msgid "Locate"
8442
8451
  msgstr "Localiser"
8443
8452
 
@@ -9250,9 +9259,6 @@ msgstr "Nouvelle violation de limite géographique de #{source.name}"
9250
9259
  msgid "New global role"
9251
9260
  msgstr "Nouveau rôle global"
9252
9261
 
9253
- msgid "New global smart rule"
9254
- msgstr "Nouvelle Smart Rule globale"
9255
-
9256
9262
  msgid "New group"
9257
9263
  msgstr "Nouveau groupe"
9258
9264
 
@@ -12059,12 +12065,6 @@ msgstr "Rôle supprimé."
12059
12065
  msgid "Roles"
12060
12066
  msgstr "Rôles"
12061
12067
 
12062
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be cleared"
12063
- msgstr "Les rôles sélectionnés dans les règles ci-dessus seront réaffectées à un utilisateur à chaque connexion et les autres seront effacés."
12064
-
12065
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be unchanged"
12066
- msgstr "Les rôles sélectionnés dans les règles ci-dessus seront réaffectés à un utilisateur à chaque connexion et les autres demeureront inchangés."
12067
-
12068
12068
  msgid "Root Device"
12069
12069
  msgstr "Appareil racine"
12070
12070
 
@@ -17013,9 +17013,6 @@ msgstr "Vous pouvez utiliser les variables suivantes dans votre code HTML :"
17013
17013
  msgid "You can't delete this device. The service \"{{ name }}\" is not subscribed."
17014
17014
  msgstr "Vous ne pouvez pas supprimer cet appareil. Vous n'êtes pas abonné au service \"{{ name }}\"."
17015
17015
 
17016
- msgid "You cannot change the stored email addresses of other users, as well as your own (if it's managed through your authorization server)."
17017
- msgstr "Vous ne pouvez pas modifier les adresses électroniques stockées des autres utilisateurs, ni les vôtres (si elles sont gérées par votre serveur d'autorisation)."
17018
-
17019
17016
  msgid "You cannot edit global roles for user with external origin, since it is managed via your authorization server."
17020
17017
  msgstr "Vous ne pouvez pas modifier les rôles globaux pour un utilisateur avec une origine externe dans la mesure où il est géré par votre serveur d'autorisation."
17021
17018
 
@@ -843,6 +843,9 @@ msgstr "Inventarisrollen toevoegen"
843
843
  msgid "Add inventory roles mapping"
844
844
  msgstr "Toewijzing van inventarisrollen toevoegen"
845
845
 
846
+ msgid "Add local smart rule"
847
+ msgstr "Lokale slimme regel toevoegen"
848
+
846
849
  msgid "Add location"
847
850
  msgstr "Locatie toevoegen"
848
851
 
@@ -5460,6 +5463,9 @@ msgstr "Bedrijfsregister bewerken: \"{{name}}\""
5460
5463
  msgid "Edit input register: \"{{name}}\""
5461
5464
  msgstr "Ingangsregister bewerken: \"{{name}}\""
5462
5465
 
5466
+ msgid "Edit local smart rule"
5467
+ msgstr "Lokale slimme regel bewerken"
5468
+
5463
5469
  msgid "Edit location"
5464
5470
  msgstr "Locatie bewerken"
5465
5471
 
@@ -7293,6 +7299,9 @@ msgstr "Globale rollen"
7293
7299
  msgid "Global search"
7294
7300
  msgstr "Globaal zoeken"
7295
7301
 
7302
+ msgid "Global smart rule"
7303
+ msgstr "Globale slimme regel"
7304
+
7296
7305
  msgid "Global smart rules"
7297
7306
  msgstr "Globale smart rules"
7298
7307
 
@@ -7898,9 +7907,6 @@ msgstr "Ongeldig subnetmasker."
7898
7907
  msgid "Invalid type, expected {{ schema.type }}."
7899
7908
  msgstr "Ongeldig type, {{ schema.type }} werd verwacht."
7900
7909
 
7901
- msgid "Invalid verification code. In case of key loss, contact your platform administrator."
7902
- msgstr "Ongeldige verificatiecode. Neem bij verlies van de sleutel contact op met uw platformbeheerder."
7903
-
7904
7910
  msgid "Inventories created"
7905
7911
  msgstr "Inventarissen gemaakt"
7906
7912
 
@@ -8437,6 +8443,9 @@ msgstr "Bezig met laden…"
8437
8443
  msgid "Local"
8438
8444
  msgstr "Lokaal"
8439
8445
 
8446
+ msgid "Local smart rule"
8447
+ msgstr "Lokale slimme regel"
8448
+
8440
8449
  msgid "Locate"
8441
8450
  msgstr "Lokaliseren"
8442
8451
 
@@ -9249,9 +9258,6 @@ msgstr "Nieuwe geofence inbreuk van #{source.name}"
9249
9258
  msgid "New global role"
9250
9259
  msgstr "Nieuwe globale rol"
9251
9260
 
9252
- msgid "New global smart rule"
9253
- msgstr "Nieuwe globale smart rule"
9254
-
9255
9261
  msgid "New group"
9256
9262
  msgstr "Nieuwe groep"
9257
9263
 
@@ -12058,12 +12064,6 @@ msgstr "Rol verwijderd."
12058
12064
  msgid "Roles"
12059
12065
  msgstr "Rollen"
12060
12066
 
12061
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be cleared"
12062
- msgstr "In de bovenstaande regels geselecteerde rollen worden bij elke aanmelding opnieuw toegewezen aan een gebruiker en andere worden gewist."
12063
-
12064
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be unchanged"
12065
- msgstr "In de bovenstaande regels geselecteerde rollen worden bij elke aanmelding opnieuw toegewezen aan een gebruiker en andere blijven ongewijzigd."
12066
-
12067
12067
  msgid "Root Device"
12068
12068
  msgstr "Hoofdapparaat"
12069
12069
 
@@ -17012,9 +17012,6 @@ msgstr "U kunt de volgende variabelen in uw HTML-code gebruiken:"
17012
17012
  msgid "You can't delete this device. The service \"{{ name }}\" is not subscribed."
17013
17013
  msgstr "U kunt dit apparaat niet verwijderen. De service \"{{ name }}\" is niet geabonneerd."
17014
17014
 
17015
- msgid "You cannot change the stored email addresses of other users, as well as your own (if it's managed through your authorization server)."
17016
- msgstr "U kunt de opgeslagen e-mailadressen van andere gebruikers niet wijzigen, evenmin als uw eigen e-mailadressen (als deze worden beheerd via uw autorisatieserver)."
17017
-
17018
17015
  msgid "You cannot edit global roles for user with external origin, since it is managed via your authorization server."
17019
17016
  msgstr "U kunt geen globale rollen bewerken voor een gebruiker met een externe oorsprong, omdat deze wordt beheerd via uw authorisatieserver."
17020
17017
 
@@ -862,6 +862,9 @@ msgstr "Dodaj role lokalne"
862
862
  msgid "Add inventory roles mapping"
863
863
  msgstr "Dodaj mapowanie ról lokalnych"
864
864
 
865
+ msgid "Add local smart rule"
866
+ msgstr "Dodaj lokalną regułę inteligentną"
867
+
865
868
  msgid "Add location"
866
869
  msgstr "Dodaj lokalizację"
867
870
 
@@ -5481,6 +5484,9 @@ msgstr "Edytuj rejestr przechowujący: „{{name}}”"
5481
5484
  msgid "Edit input register: \"{{name}}\""
5482
5485
  msgstr "Edytuj rejestr wejściowy: „{{name}}”"
5483
5486
 
5487
+ msgid "Edit local smart rule"
5488
+ msgstr "Edytuj lokalną regułę inteligentną"
5489
+
5484
5490
  msgid "Edit location"
5485
5491
  msgstr "Edytuj lokalizację"
5486
5492
 
@@ -7314,6 +7320,9 @@ msgstr "Role globalne"
7314
7320
  msgid "Global search"
7315
7321
  msgstr "Wyszukiwanie globalne"
7316
7322
 
7323
+ msgid "Global smart rule"
7324
+ msgstr "Globalna reguła inteligentna"
7325
+
7317
7326
  msgid "Global smart rules"
7318
7327
  msgstr "Globalne reguły inteligentne"
7319
7328
 
@@ -7919,9 +7928,6 @@ msgstr "Nieprawidłowa maska podsieci."
7919
7928
  msgid "Invalid type, expected {{ schema.type }}."
7920
7929
  msgstr "Nieprawidłowy typ, oczekiwany: {{ schema.type }}."
7921
7930
 
7922
- msgid "Invalid verification code. In case of key loss, contact your platform administrator."
7923
- msgstr "Nieprawidłowy kod weryfikacyjny. W przypadku utraty klucza skontaktuj się z administratorem platformy."
7924
-
7925
7931
  msgid "Inventories created"
7926
7932
  msgstr "Utworzono pozycje spisu zasobów"
7927
7933
 
@@ -8459,6 +8465,9 @@ msgstr "Wczytywanie…"
8459
8465
  msgid "Local"
8460
8466
  msgstr "Lokalny"
8461
8467
 
8468
+ msgid "Local smart rule"
8469
+ msgstr "Lokalna reguła inteligentna"
8470
+
8462
8471
  msgid "Locate"
8463
8472
  msgstr "Zlokalizuj"
8464
8473
 
@@ -9273,9 +9282,6 @@ msgstr "Nowe naruszenie geofencingu z #{source.name}"
9273
9282
  msgid "New global role"
9274
9283
  msgstr "Nowa rola globalna"
9275
9284
 
9276
- msgid "New global smart rule"
9277
- msgstr "Nowa globalna reguła inteligentna"
9278
-
9279
9285
  msgid "New group"
9280
9286
  msgstr "Nowa grupa"
9281
9287
 
@@ -12082,12 +12088,6 @@ msgstr "Usunięto rolę."
12082
12088
  msgid "Roles"
12083
12089
  msgstr "Role"
12084
12090
 
12085
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be cleared"
12086
- msgstr "Role wybrane w powyższych regułach będą ponownie przypisywane do użytkownika przy każdym logowaniu, a inne będą czyszczone"
12087
-
12088
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be unchanged"
12089
- msgstr "Role wybrane w powyższych regułach będą ponownie przypisywane do użytkownika przy każdym logowaniu, a inne pozostaną niezmienione"
12090
-
12091
12091
  msgid "Root Device"
12092
12092
  msgstr "Urządzenie główne"
12093
12093
 
@@ -17038,9 +17038,6 @@ msgstr "W kodzie HTML można używać następujących zmiennych:"
17038
17038
  msgid "You can't delete this device. The service \"{{ name }}\" is not subscribed."
17039
17039
  msgstr "Nie możesz usunąć tego urządzenia. Usługa „{{ name }}” nie jest subskrybowana."
17040
17040
 
17041
- msgid "You cannot change the stored email addresses of other users, as well as your own (if it's managed through your authorization server)."
17042
- msgstr "Nie można zmieniać zapisanych adresów e-mail innych użytkowników, a także własnych (jeśli są zarządzane przez serwer autoryzacji)."
17043
-
17044
17041
  msgid "You cannot edit global roles for user with external origin, since it is managed via your authorization server."
17045
17042
  msgstr "Nie można edytować ról globalnych użytkownika o pochodzeniu zewnętrznym, ponieważ jest on zarządzany za pośrednictwem serwera autoryzacji."
17046
17043
 
@@ -843,6 +843,9 @@ msgstr "Adicionar papéis de inventário"
843
843
  msgid "Add inventory roles mapping"
844
844
  msgstr "Adicionar mapeamento de papéis de inventário"
845
845
 
846
+ msgid "Add local smart rule"
847
+ msgstr "Adicionar regra inteligente local"
848
+
846
849
  msgid "Add location"
847
850
  msgstr "Adicionar localização"
848
851
 
@@ -5460,6 +5463,9 @@ msgstr "Editar registro de manutenção: \"{{name}}\""
5460
5463
  msgid "Edit input register: \"{{name}}\""
5461
5464
  msgstr "Editar registro de entrada: \"{{name}}\""
5462
5465
 
5466
+ msgid "Edit local smart rule"
5467
+ msgstr "Editar regra inteligente local"
5468
+
5463
5469
  msgid "Edit location"
5464
5470
  msgstr "Editar localização"
5465
5471
 
@@ -7293,6 +7299,9 @@ msgstr "Papeis globais"
7293
7299
  msgid "Global search"
7294
7300
  msgstr "Pesquisa global"
7295
7301
 
7302
+ msgid "Global smart rule"
7303
+ msgstr "Regra global inteligente"
7304
+
7296
7305
  msgid "Global smart rules"
7297
7306
  msgstr "Smart rules globais"
7298
7307
 
@@ -7898,9 +7907,6 @@ msgstr "Máscara de sub-rede inválida."
7898
7907
  msgid "Invalid type, expected {{ schema.type }}."
7899
7908
  msgstr "Tipo inválido, esperado {{ schema.type }}."
7900
7909
 
7901
- msgid "Invalid verification code. In case of key loss, contact your platform administrator."
7902
- msgstr "Código de verificação inválido. Em caso de perda da chave contate o administrador da plataforma."
7903
-
7904
7910
  msgid "Inventories created"
7905
7911
  msgstr "Inventários criados"
7906
7912
 
@@ -8437,6 +8443,9 @@ msgstr "Carregando…"
8437
8443
  msgid "Local"
8438
8444
  msgstr "Local"
8439
8445
 
8446
+ msgid "Local smart rule"
8447
+ msgstr "Regra local inteligente"
8448
+
8440
8449
  msgid "Locate"
8441
8450
  msgstr "Localizar"
8442
8451
 
@@ -9249,9 +9258,6 @@ msgstr "Nova violação da cerca geográfica a partir de #{source.name}"
9249
9258
  msgid "New global role"
9250
9259
  msgstr "Novo papel global"
9251
9260
 
9252
- msgid "New global smart rule"
9253
- msgstr "Nova smart rule global"
9254
-
9255
9261
  msgid "New group"
9256
9262
  msgstr "Novo grupo"
9257
9263
 
@@ -12058,12 +12064,6 @@ msgstr "Papel excluído."
12058
12064
  msgid "Roles"
12059
12065
  msgstr "Papeis"
12060
12066
 
12061
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be cleared"
12062
- msgstr "Os papéis selecionados nas regras acima serão reatribuídos a um usuário em cada login e outros serão apagados"
12063
-
12064
- msgid "Roles selected in the rules above will be reassigned to a user on each log in and other ones will be unchanged"
12065
- msgstr "Os papéis selecionados nas regras acima serão reatribuídos a um usuário em cada login e outros permanecerão inalterados"
12066
-
12067
12067
  msgid "Root Device"
12068
12068
  msgstr "Dispositivo raiz"
12069
12069
 
@@ -17012,9 +17012,6 @@ msgstr "Você pode usar as seguintes variáveis no seu código HTML:"
17012
17012
  msgid "You can't delete this device. The service \"{{ name }}\" is not subscribed."
17013
17013
  msgstr "Você não pode excluir este dispositivo. O serviço \"{{ name }}\" não está inscrito."
17014
17014
 
17015
- msgid "You cannot change the stored email addresses of other users, as well as your own (if it's managed through your authorization server)."
17016
- msgstr "Não é possível alterar os endereços de e-mail armazenados de outros usuários, bem como os seus próprios (se forem gerenciados pelo servidor de autorização)."
17017
-
17018
17015
  msgid "You cannot edit global roles for user with external origin, since it is managed via your authorization server."
17019
17016
  msgstr "Você não pode editar funções globais para o usuário com origem externa, pois elas são gerenciadas através do seu servidor de autorização."
17020
17017
 
@@ -1,9 +1,51 @@
1
- <div>
2
- <span class="small" ng-if="vm.checklist">{{"Please meet 5 out of the 5 conditions below" | translate}}:</span>
1
+ <div ng-if="vm.strengthEnforced">
2
+ <div class="m-b-8">{{ 'Password must meet the requirements below:' | translate }}</div>
3
3
  <ul class="list-unstyled">
4
- <li class="small" ng-repeat="requirement in vm.checklist">
5
- <i c8y-icon="{{ requirement.icon }}" class="text-success"></i>
6
- <span class="small {{ requirement.contextualColor }}">
4
+ <li
5
+ class="d-flex small"
6
+ ng-repeat="requirement in vm.combinedChecklist"
7
+ >
8
+ <i
9
+ class="{{ requirement.contextualColor }}"
10
+ c8y-icon="{{ requirement.icon }}"
11
+ ></i>
12
+ <span class="m-l-4 small {{ requirement.textColor }}">
13
+ {{ requirement.getText() | translate }}
14
+ </span>
15
+ </li>
16
+ </ul>
17
+ </div>
18
+
19
+ <div ng-if="!vm.strengthEnforced">
20
+ <div class="m-b-8">{{ 'Password must meet the requirements below:' | translate }}</div>
21
+ <ul class="list-unstyled">
22
+ <li
23
+ class="d-flex small"
24
+ ng-repeat="requirement in vm.basicCheckList"
25
+ >
26
+ <i
27
+ class="{{ requirement.contextualColor }}"
28
+ c8y-icon="{{ requirement.icon }}"
29
+ ></i>
30
+ <span class="m-l-4 small {{ requirement.textColor }}">
31
+ {{ requirement.getText() | translate }}
32
+ </span>
33
+ </li>
34
+ </ul>
35
+
36
+ <div class="m-b-8">
37
+ {{ 'We advise meeting these conditions for a stronger password:' | translate }}
38
+ </div>
39
+ <ul class="list-unstyled">
40
+ <li
41
+ class="d-flex small"
42
+ ng-repeat="requirement in vm.enhancedStrengthCheckList"
43
+ >
44
+ <i
45
+ class="{{ requirement.contextualColor }}"
46
+ c8y-icon="{{ requirement.icon }}"
47
+ ></i>
48
+ <span class="m-l-4 small {{ requirement.textColor }}">
7
49
  {{ requirement.getText() | translate }}
8
50
  </span>
9
51
  </li>
@@ -1 +1 @@
1
- "use strict";!function(){function e(e,t,n,c){var r=this,c=c(),a=[{getText:function(){return t("Include lowercase characters (for example, abcdef)")},check:c.hasLowerCase},{getText:function(){return t("Include uppercase characters (for example, ABCDEF)")},check:c.hasUpperCase},{getText:function(){return t("Include numbers (for example, 123456)")},check:c.hasNumbers},{getText:function(){return t("Include symbols (for example, !@#$%^)")},check:c.hasSpecialChars},s(c.getDefaultMinGreenLength())];function s(t){return{getText:function(){return n.getString("Must have at least {{length}} characters",{length:t})},check:function(e){return e.length>=t}}}function o(){var n=r.password||"";r.checklist=_.map(a,function(e){var t=e.check(n);return _.assign(e,{icon:t?"check-circle":"",contextualColor:t?"":"text-muted"}),e})}c.getMinGreenLength().then(function(e){_.isUndefined(e)||(a[a.length-1]=s(e),o())}),e.$watch("vm.password",o)}e.$inject=["$scope","gettext","gettextCatalog","passwordStrengthCheckerFactory"],angular.module("c8y.ui").component("c8yPasswordStrengthChecklist",{bindings:{password:"<"},controller:e,controllerAs:"vm",templateUrl:":::PLUGIN_PATH:::/ui/components/passwordStrengthChecklist.html"})}();
1
+ "use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){var r;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}!function(){function e(e,t,r,n){var a=this,n=n();function c(t){return{getText:function(){return r.getString("Must have at least {{length}} characters",{length:t})},check:function(e){return e.length>=t}}}function o(e){var t=a.password||"",t=e.check(t);_.assign(e,{icon:t?"check-circle":"radio-button-unchecked",contextualColor:t?"text-success":"text-muted",textColor:t?"":"text-muted"})}function i(){var t=a.password||"",e=(a.basicCheckList.forEach(function(e){o(e)}),a.enhancedStrengthCheckList.forEach(function(e){o(e)}),a.combinedChecklist=[].concat(_toConsumableArray(a.basicCheckList),_toConsumableArray(a.enhancedStrengthCheckList)),a.strengthEnforced?a.combinedChecklist:a.basicCheckList);a.requirementsFulfilled({value:e.every(function(e){return e.check(t)})})}a.basicCheckList=[c(n.getDefaultMinGreenLength())],a.enhancedStrengthCheckList=[{getText:function(){return t("Include lowercase characters (for example, abcdef)")},check:n.hasLowerCase},{getText:function(){return t("Include uppercase characters (for example, ABCDEF)")},check:n.hasUpperCase},{getText:function(){return t("Include numbers (for example, 123456)")},check:n.hasNumbers},{getText:function(){return t("Include symbols (for example, !@#$%^)")},check:n.hasSpecialChars}],a.combinedChecklist=[],n.getMinGreenLength().then(function(e){_.isUndefined(e)||(a.basicCheckList[a.basicCheckList.length-1]=c(e),i())}),e.$watch("vm.password",i)}e.$inject=["$scope","gettext","gettextCatalog","passwordStrengthCheckerFactory"],angular.module("c8y.ui").component("c8yPasswordStrengthChecklist",{bindings:{password:"<",strengthEnforced:"<",requirementsFulfilled:"&"},controller:e,controllerAs:"vm",templateUrl:":::PLUGIN_PATH:::/ui/components/passwordStrengthChecklist.html"})}();
@@ -1 +1 @@
1
- "use strict";!function(){t.$inject=["schemaFormDecoratorsProvider"],angular.module("c8y.ui").config(t);var e=[{type:"fieldset",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/fieldset.html"},{type:"section",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/section.html"},{type:"collapse",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/collapse.html"},{type:"array",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/array.html"},{type:"password",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/password.html"},{type:"checkbox",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/checkbox.html"},{type:"textarea",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/textarea.html"},{type:"default",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/default.html"}];function t(t){_.forEach(e,function(e){t.addMapping("bootstrapDecorator",e.type,e.templateUrl)})}}();
1
+ "use strict";!function(){t.$inject=["schemaFormDecoratorsProvider"],angular.module("c8y.ui").config(t);var e=[{type:"fieldset",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/fieldset.html"},{type:"section",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/section.html"},{type:"collapse",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/collapse.html"},{type:"array",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/array.html"},{type:"password",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/password.html"},{type:"checkbox",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/checkbox.html"},{type:"textarea",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/textarea.html"},{type:"number",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/default.html"},{type:"default",templateUrl:":::PLUGIN_PATH:::/ui/schemaForm/overrides/decorators/bootstrap/default.html"}];function t(t){_.forEach(e,function(e){t.addMapping("bootstrapDecorator",e.type,e.templateUrl)})}}();
@@ -1 +1 @@
1
- "use strict";!function(){function e(n,a,o,t,e,r){var i={minlength:r("Password must have at least 8 characters and no more than 32."),required:r("Required"),password_missmatch:r("Password confirmation does not match."),maxlength:r("Password must have at least 8 characters and no more than 32."),password_strength:r("Your password is not strong enough. Please include numbers, lower and upper case characters"),remote_error:r("Server error occurred."),email:r("Invalid email address."),password_change:r("Your password is expired. Please set a new password."),password_reset_token_expired:r("Password reset link expired. Please enter your email address to receive a new one."),tfa_pin_invalid:r("The code you entered is invalid. Please try again."),pattern_newPassword:window.c8yConfig.validation.password.message,internationalPhoneNumber:r('Must be a valid phone number (only digits, spaces, slashes ("/"), dashes ("-"), and plus ("+") allowed, for example: +49 9 876 543 210).'),phone_number_error:r("Could not update phone number."),pinAlreadySent:r("The verification code was already sent. For a new verification code, please click on the link above.")},r={password_changed:r("Password changed. You can now log in using new password."),password_reset_requested:r("Password reset request has been sent. Please check your email."),resend_sms:r("Verification code SMS resent.")},d={LOGIN:"login",PASSWORD_RESET:"password_reset",NEW_PASSWORD:"new_password",PHONE_NUMBER:"phone_number",SMS_TOKEN:"sms_token"},c={};function s(e){return e&&e.recoverPassword?d.NEW_PASSWORD:d.LOGIN}function u(e){var r,s=e.headers("passwordresettoken");return s&&(o.setRecoverPassToken(s),r={form:d.NEW_PASSWORD,msg:["warning",i,"password_change"]}),e.headers("tfatokenexpired")&&(r={form:d.SMS_TOKEN}),e.headers("pinalreadysent")&&(r={form:d.SMS_TOKEN,msg:["warning",i,"pinAlreadySent"]}),e.headers("NoPhoneHeader")&&!o.isSupportUser()&&(r={form:d.PHONE_NUMBER,keepCredentials:!0}),e.action=r,a.reject(e)}return c[d.NEW_PASSWORD]=function(e,r){var s=e.newPassword,e=e.newPasswordConfirm,n=s.$modelValue===e.$modelValue,r=!r||!r.enforcePasswordStrength||"GREEN"===(r.passwordStrength||"").toUpperCase();e.$dirty&&e.$setValidity("password_missmatch",n);s.$dirty&&(s.$error.pattern||s.$error.required?s.$setValidity("password_strength",!0):s.$setValidity("password_strength",r))},{MESSAGES:{ERROR:i,SUCCESS:r},FORMS:d,initializing:o.initializing.then(s,s),login:function(e,r,s,n){return t.login(e,r,s,n).catch(u)},showTenant:function(){return e.getFlag("isLocal")||e.getFlag("showTenant")},resetPassword:o.resetPasword,changePassword:o.changePasswordWithResetToken,savePhoneNumber:t.savePhoneNumber,verifyTFACode:o.verifyTFACode,resendTFASms:function(){return o.verifyTFACode("0").catch(function(e){return 403===e.status?e:a.reject(e)})},validateForm:function(e,r){var s=e.$name.replace("form_",""),s=c[s]||_.noop;return n(_.partial(s,e,r),10)},mustEnforcePasswordStrength:o.mustEnforcePasswordStrength,getPasswordMinGreenLength:o.getPasswordMinGreenLength,getLoginOptions:o.getLoginOptions}}e.$inject=["$timeout","$q","c8yAuth","c8yUser","c8yBase","gettext"],angular.module("c8y.ui").factory("c8yLoginService",e)}();
1
+ "use strict";!function(){function e(n,a,o,t,e,r){var i={minlength:r("Password must have at least 8 characters and no more than 32."),required:r("Required"),password_missmatch:r("Passwords do not match."),maxlength:r("Password must have at least 8 characters and no more than 32."),password_strength:r("Your password is not strong enough. Please include numbers, lower and upper case characters"),remote_error:r("Server error occurred."),email:r("Invalid email address."),password_change:r("Your password is expired. Please set a new password."),password_reset_token_expired:r("Password reset link expired. Please enter your email address to receive a new one."),tfa_pin_invalid:r("The code you entered is invalid. Please try again."),pattern_newPassword:window.c8yConfig.validation.password.message,internationalPhoneNumber:r('Must be a valid phone number (only digits, spaces, slashes ("/"), dashes ("-"), and plus ("+") allowed, for example: +49 9 876 543 210).'),phone_number_error:r("Could not update phone number."),pinAlreadySent:r("The verification code was already sent. For a new verification code, please click on the link above.")},r={password_changed:r("Password changed. You can now log in using new password."),password_reset_requested:r("Password reset request has been sent. Please check your email."),resend_sms:r("Verification code SMS resent.")},d={LOGIN:"login",PASSWORD_RESET:"password_reset",NEW_PASSWORD:"new_password",PHONE_NUMBER:"phone_number",SMS_TOKEN:"sms_token"},c={};function s(e){return e&&e.recoverPassword?d.NEW_PASSWORD:d.LOGIN}function u(e){var r,s=e.headers("passwordresettoken");return s&&(o.setRecoverPassToken(s),r={form:d.NEW_PASSWORD,msg:["warning",i,"password_change"]}),e.headers("tfatokenexpired")&&(r={form:d.SMS_TOKEN}),e.headers("pinalreadysent")&&(r={form:d.SMS_TOKEN,msg:["warning",i,"pinAlreadySent"]}),e.headers("NoPhoneHeader")&&!o.isSupportUser()&&(r={form:d.PHONE_NUMBER,keepCredentials:!0}),e.action=r,a.reject(e)}return c[d.NEW_PASSWORD]=function(e,r){var s=e.newPassword,e=e.newPasswordConfirm,n=s.$modelValue===e.$modelValue,r=!r||!r.enforcePasswordStrength||"GREEN"===(r.passwordStrength||"").toUpperCase();e.$dirty&&e.$setValidity("password_missmatch",n);s.$dirty&&(s.$error.pattern||s.$error.required?s.$setValidity("password_strength",!0):s.$setValidity("password_strength",r))},{MESSAGES:{ERROR:i,SUCCESS:r},FORMS:d,initializing:o.initializing.then(s,s),login:function(e,r,s,n){return t.login(e,r,s,n).catch(u)},showTenant:function(){return e.getFlag("isLocal")||e.getFlag("showTenant")},resetPassword:o.resetPasword,changePassword:o.changePasswordWithResetToken,savePhoneNumber:t.savePhoneNumber,verifyTFACode:o.verifyTFACode,resendTFASms:function(){return o.verifyTFACode("0").catch(function(e){return 403===e.status?e:a.reject(e)})},validateForm:function(e,r){var s=e.$name.replace("form_",""),s=c[s]||_.noop;return n(_.partial(s,e,r),10)},mustEnforcePasswordStrength:o.mustEnforcePasswordStrength,getPasswordMinGreenLength:o.getPasswordMinGreenLength,getLoginOptions:o.getLoginOptions}}e.$inject=["$timeout","$q","c8yAuth","c8yUser","c8yBase","gettext"],angular.module("c8y.ui").factory("c8yLoginService",e)}();