@everymatrix/pam-change-password 1.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/checkbox-group-input_14.cjs.entry.js +12803 -0
- package/dist/cjs/index-719211a0.js +1322 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/pam-change-password-99f2d5ce.js +430 -0
- package/dist/cjs/pam-change-password.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +36 -0
- package/dist/collection/components/pam-change-password/index.js +1 -0
- package/dist/collection/components/pam-change-password/pam-change-password.css +125 -0
- package/dist/collection/components/pam-change-password/pam-change-password.js +415 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +141 -0
- package/dist/collection/utils/utils.js +20 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/checkbox-group-input_14.entry.js +12786 -0
- package/dist/esm/index-13661b98.js +1293 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/pam-change-password-f4a1e7e7.js +428 -0
- package/dist/esm/pam-change-password.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/pam-change-password/app-globals-0f993ce5.js +1 -0
- package/dist/pam-change-password/checkbox-group-input_14.entry.js +5614 -0
- package/dist/pam-change-password/index-13661b98.js +2 -0
- package/dist/pam-change-password/index.esm.js +1 -0
- package/dist/pam-change-password/pam-change-password-f4a1e7e7.js +1 -0
- package/dist/pam-change-password/pam-change-password.esm.js +1 -0
- package/dist/stencil.config.dev.js +18 -0
- package/dist/stencil.config.js +19 -0
- package/dist/storybook/main.js +47 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/packages/stencil/general-input/src/utils/types.d.ts +106 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/packages/stencil/pam-change-password/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/packages/stencil/pam-change-password/stencil.config.dev.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/packages/stencil/pam-change-password/storybook/main.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/packages/stencil/pam-change-password/storybook/preview.d.ts +70 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/tools/plugins/index.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/pam-change-password/index.d.ts +1 -0
- package/dist/types/components/pam-change-password/pam-change-password.d.ts +67 -0
- package/dist/types/components.d.ts +103 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +20 -0
- package/dist/types/utils/utils.d.ts +2 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +26 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { b as bootstrapLazy } from './index-13661b98.js';
|
|
2
|
+
export { s as setNonce } from './index-13661b98.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
|
+
|
|
5
|
+
const defineCustomElements = async (win, options) => {
|
|
6
|
+
if (typeof window === 'undefined') return undefined;
|
|
7
|
+
await globalScripts();
|
|
8
|
+
return bootstrapLazy([["checkbox-group-input_14",[[1,"pam-change-password",{"language":[513],"endpoint":[513],"session":[513],"token":[513],"forgotMode":[513,"forgot-mode"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[1,"mb-source"],"translationUrl":[513,"translation-url"],"isBtnSubmitEnabled":[32],"isSkeletonLoading":[32],"isMobile":[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{"clientStyling":["handleClientStylingChange","handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[2,"border-radius"],"marginBottom":[2,"margin-bottom"],"marginTop":[2,"margin-top"],"marginLeft":[2,"margin-left"],"marginRight":[2,"margin-right"],"animation":[4],"rows":[2],"size":[1],"color":[1],"primaryColor":[1,"primary-color"],"secondaryColor":[1,"secondary-color"]},null,{"structure":["handleStructureChange"]}],[1,"general-input",{"type":[513],"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"action":[513],"validation":[16],"options":[520],"language":[513],"autofilled":[516],"tooltip":[513],"defaultValue":[520,"default-value"],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"hidePasswordComplexity":[516,"hide-password-complexity"],"clientStyling":[520,"client-styling"],"dateFormat":[513,"date-format"],"translationUrl":[513,"translation-url"],"emitOnClick":[516,"emit-on-click"]}],[1,"toggle-checkbox-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"options":[16],"autofilled":[516],"tooltip":[513],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32],"showFields":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"]}],[1,"checkbox-group-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"options":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32],"selectedValues":[32],"showCheckboxes":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"selectedValues":["setValue"],"emitValue":["emitValueHandler"]}],[1,"checkbox-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"date-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"dateFormat":[513,"date-format"],"emitOnClick":[516,"emit-on-click"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"email-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"number-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"password-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"hidePasswordComplexity":[516,"hide-password-complexity"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32],"passwordComplexity":[32],"showPopup":[32],"value":[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"value":["valueChanged"],"emitValue":["emitValueHandler"]}],[1,"radio-input",{"name":[513],"displayName":[513,"display-name"],"optionsGroup":[16],"validation":[16],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"select-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"action":[513],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"options":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"tel-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"showLabels":[516,"show-labels"],"action":[513],"validation":[16],"defaultValue":[520,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"text-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"checkValidity":[516,"check-validity"],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}]]]], options);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { defineCustomElements };
|
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-13661b98.js';
|
|
2
|
+
|
|
3
|
+
const DEFAULT_LANGUAGE = 'en';
|
|
4
|
+
const TRANSLATIONS = {
|
|
5
|
+
"en": {
|
|
6
|
+
"title": "Change Password",
|
|
7
|
+
"btnSubmit": "Change Password",
|
|
8
|
+
"passwordPlaceholderText": "Please enter your password",
|
|
9
|
+
"newPasswordPlaceholderText": "Please enter your new password",
|
|
10
|
+
"confirmPasswordPlaceholderText": "Please confirm your new password",
|
|
11
|
+
"passwordDisplayText": "Current Password",
|
|
12
|
+
"newPasswordDisplayText": "New Password",
|
|
13
|
+
"confirmPasswordDisplayText": "Confirm Password",
|
|
14
|
+
"successMsg": "Password changed successfully",
|
|
15
|
+
"errorMsgGeneric": "There was an error when attempting to change your password",
|
|
16
|
+
"gm.pms.password_not_verified_unauthorized": "The current password you have entered is incorrect",
|
|
17
|
+
"gm.pms.password_policy_failed": "Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change."
|
|
18
|
+
},
|
|
19
|
+
"fr": {
|
|
20
|
+
"title": "Changer le mot de passe",
|
|
21
|
+
"btnSubmit": "Changer le mot de passe",
|
|
22
|
+
"passwordPlaceholderText": "Veuillez entrer votre mot de passe",
|
|
23
|
+
"newPasswordPlaceholderText": "Veuillez entrer votre nouveau mot de passe",
|
|
24
|
+
"confirmPasswordPlaceholderText": "Veuillez confirmer votre nouveau mot de passe",
|
|
25
|
+
"passwordDisplayText": "Mot de passe actuel",
|
|
26
|
+
"newPasswordDisplayText": "Nouveau mot de passe",
|
|
27
|
+
"confirmPasswordDisplayText": "Confirmer le mot de passe",
|
|
28
|
+
"successMsg": "Mot de passe changé avec succès",
|
|
29
|
+
"errorMsgGeneric": "Une erreur est survenue lors de la tentative de changement de mot de passe",
|
|
30
|
+
"gm.pms.password_not_verified_unauthorized": "Le mot de passe actuel que vous avez entré est incorrect",
|
|
31
|
+
"gm.pms.password_policy_failed": "Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement."
|
|
32
|
+
},
|
|
33
|
+
"ro": {
|
|
34
|
+
"title": "Schimbă Parola",
|
|
35
|
+
"btnSubmit": "Schimbă Parola",
|
|
36
|
+
"passwordPlaceholderText": "Vă rugăm să introduceți parola",
|
|
37
|
+
"newPasswordPlaceholderText": "Vă rugăm să introduceți noua parolă",
|
|
38
|
+
"confirmPasswordPlaceholderText": "Vă rugăm să confirmați noua parolă",
|
|
39
|
+
"passwordDisplayText": "Parolă Curentă",
|
|
40
|
+
"newPasswordDisplayText": "Parolă Nouă",
|
|
41
|
+
"confirmPasswordDisplayText": "Confirmă Parola",
|
|
42
|
+
"successMsg": "Parola a fost schimbată cu succes",
|
|
43
|
+
"errorMsgGeneric": "A apărut o eroare la încercarea de schimbare a parolei",
|
|
44
|
+
"gm.pms.password_not_verified_unauthorized": "Parola curentă introdusă este incorectă",
|
|
45
|
+
"gm.pms.password_policy_failed": "Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare."
|
|
46
|
+
},
|
|
47
|
+
"es": {
|
|
48
|
+
"title": "Cambiar Contraseña",
|
|
49
|
+
"btnSubmit": "Cambiar Contraseña",
|
|
50
|
+
"passwordPlaceholderText": "Por favor, introduce tu contraseña",
|
|
51
|
+
"newPasswordPlaceholderText": "Por favor, introduce tu nueva contraseña",
|
|
52
|
+
"confirmPasswordPlaceholderText": "Por favor, confirma tu nueva contraseña",
|
|
53
|
+
"passwordDisplayText": "Contraseña Actual",
|
|
54
|
+
"newPasswordDisplayText": "Nueva Contraseña",
|
|
55
|
+
"confirmPasswordDisplayText": "Confirmar Contraseña",
|
|
56
|
+
"successMsg": "Contraseña cambiada con éxito",
|
|
57
|
+
"errorMsgGeneric": "Hubo un error al intentar cambiar tu contraseña",
|
|
58
|
+
"gm.pms.password_not_verified_unauthorized": "La contraseña actual que has introducido es incorrecta",
|
|
59
|
+
"gm.pms.password_policy_failed": "La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio."
|
|
60
|
+
},
|
|
61
|
+
"pt": {
|
|
62
|
+
"title": "Alterar Senha",
|
|
63
|
+
"btnSubmit": "Alterar Senha",
|
|
64
|
+
"passwordPlaceholderText": "Por favor, insira sua senha",
|
|
65
|
+
"newPasswordPlaceholderText": "Por favor, insira sua nova senha",
|
|
66
|
+
"confirmPasswordPlaceholderText": "Por favor, confirme sua nova senha",
|
|
67
|
+
"passwordDisplayText": "Senha Atual",
|
|
68
|
+
"newPasswordDisplayText": "Nova Senha",
|
|
69
|
+
"confirmPasswordDisplayText": "Confirmar Senha",
|
|
70
|
+
"successMsg": "Senha alterada com sucesso",
|
|
71
|
+
"errorMsgGeneric": "Ocorreu um erro ao tentar alterar sua senha",
|
|
72
|
+
"gm.pms.password_not_verified_unauthorized": "A senha atual que você inseriu está incorreta",
|
|
73
|
+
"gm.pms.password_policy_failed": "A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração."
|
|
74
|
+
},
|
|
75
|
+
"hr": {
|
|
76
|
+
"title": "Promijeni lozinku",
|
|
77
|
+
"btnSubmit": "Promijeni lozinku",
|
|
78
|
+
"passwordPlaceholderText": "Unesite svoju lozinku",
|
|
79
|
+
"newPasswordPlaceholderText": "Unesite novu lozinku",
|
|
80
|
+
"confirmPasswordPlaceholderText": "Potvrdite novu lozinku",
|
|
81
|
+
"passwordDisplayText": "Trenutna lozinka",
|
|
82
|
+
"newPasswordDisplayText": "Nova lozinka",
|
|
83
|
+
"confirmPasswordDisplayText": "Potvrdite lozinku",
|
|
84
|
+
"successMsg": "Lozinka je uspješno promijenjena",
|
|
85
|
+
"errorMsgGeneric": "Došlo je do pogreške prilikom pokušaja promjene lozinke",
|
|
86
|
+
"gm.pms.password_not_verified_unauthorized": "Unesena trenutna lozinka nije ispravna",
|
|
87
|
+
"gm.pms.password_policy_failed": "Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene."
|
|
88
|
+
},
|
|
89
|
+
"tr": {
|
|
90
|
+
"title": "Şifreyi Değiştir",
|
|
91
|
+
"btnSubmit": "Şifreyi Değiştir",
|
|
92
|
+
"passwordPlaceholderText": "Lütfen şifrenizi girin",
|
|
93
|
+
"newPasswordPlaceholderText": "Lütfen yeni şifrenizi girin",
|
|
94
|
+
"confirmPasswordPlaceholderText": "Lütfen yeni şifrenizi onaylayın",
|
|
95
|
+
"passwordDisplayText": "Mevcut Şifre",
|
|
96
|
+
"newPasswordDisplayText": "Yeni Şifre",
|
|
97
|
+
"confirmPasswordDisplayText": "Şifreyi Onaylayın",
|
|
98
|
+
"successMsg": "Şifre başarıyla değiştirildi",
|
|
99
|
+
"errorMsgGeneric": "Şifrenizi değiştirirken bir hata oluştu",
|
|
100
|
+
"gm.pms.password_not_verified_unauthorized": "Girdiğiniz mevcut şifre yanlış",
|
|
101
|
+
"gm.pms.password_policy_failed": "Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez."
|
|
102
|
+
},
|
|
103
|
+
"hu": {
|
|
104
|
+
"title": "Jelszó megváltoztatása",
|
|
105
|
+
"btnSubmit": "Jelszó megváltoztatása",
|
|
106
|
+
"passwordPlaceholderText": "Kérjük, adja meg a jelszavát",
|
|
107
|
+
"newPasswordPlaceholderText": "Kérjük, adja meg az új jelszavát",
|
|
108
|
+
"confirmPasswordPlaceholderText": "Kérjük, erősítse meg az új jelszavát",
|
|
109
|
+
"passwordDisplayText": "Jelenlegi jelszó",
|
|
110
|
+
"newPasswordDisplayText": "Új jelszó",
|
|
111
|
+
"confirmPasswordDisplayText": "Jelszó megerősítése",
|
|
112
|
+
"successMsg": "A jelszó sikeresen megváltozott",
|
|
113
|
+
"errorMsgGeneric": "Hiba történt a jelszó megváltoztatásakor",
|
|
114
|
+
"gm.pms.password_not_verified_unauthorized": "A megadott jelenlegi jelszó helytelen",
|
|
115
|
+
"gm.pms.password_policy_failed": "A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta."
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
const getTranslations = (url) => {
|
|
119
|
+
// fetch url, get the data, replace the TRANSLATIONS content
|
|
120
|
+
return new Promise((resolve) => {
|
|
121
|
+
fetch(url)
|
|
122
|
+
.then((res) => res.json())
|
|
123
|
+
.then((data) => {
|
|
124
|
+
Object.keys(data).forEach((item) => {
|
|
125
|
+
for (let key in data[item]) {
|
|
126
|
+
TRANSLATIONS[item][key] = data[item][key];
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
resolve(true);
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
const translate = (key, customLang, values) => {
|
|
134
|
+
const lang = customLang;
|
|
135
|
+
let translation = TRANSLATIONS[lang !== undefined ? lang : DEFAULT_LANGUAGE][key];
|
|
136
|
+
if (values !== undefined) {
|
|
137
|
+
for (const [key, value] of Object.entries(values.values)) {
|
|
138
|
+
const regex = new RegExp(`{${key}}`, 'g');
|
|
139
|
+
translation = translation.replace(regex, value);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return translation;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
function checkDeviceType() {
|
|
146
|
+
const userAgent = navigator.userAgent.toLowerCase();
|
|
147
|
+
const width = screen.availWidth;
|
|
148
|
+
const height = screen.availHeight;
|
|
149
|
+
if (userAgent.includes('iphone')) {
|
|
150
|
+
return 'mobile';
|
|
151
|
+
}
|
|
152
|
+
if (userAgent.includes('android')) {
|
|
153
|
+
if (height > width && width < 800) {
|
|
154
|
+
return 'mobile';
|
|
155
|
+
}
|
|
156
|
+
if (width > height && height < 800) {
|
|
157
|
+
return 'tablet';
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return 'desktop';
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @name setClientStyling
|
|
165
|
+
* @description Method used to create and append to the passed element of the widget a style element with the content received
|
|
166
|
+
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
167
|
+
* @param {string} clientStyling The style content
|
|
168
|
+
*/
|
|
169
|
+
function setClientStyling(stylingContainer, clientStyling) {
|
|
170
|
+
if (stylingContainer) {
|
|
171
|
+
const sheet = document.createElement('style');
|
|
172
|
+
sheet.innerHTML = clientStyling;
|
|
173
|
+
stylingContainer.appendChild(sheet);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @name setClientStylingURL
|
|
179
|
+
* @description Method used to create and append to the passed element of the widget a style element with the content fetched from a given URL
|
|
180
|
+
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
181
|
+
* @param {string} clientStylingUrl The URL of the style content
|
|
182
|
+
*/
|
|
183
|
+
function setClientStylingURL(stylingContainer, clientStylingUrl) {
|
|
184
|
+
const url = new URL(clientStylingUrl);
|
|
185
|
+
|
|
186
|
+
fetch(url.href)
|
|
187
|
+
.then((res) => res.text())
|
|
188
|
+
.then((data) => {
|
|
189
|
+
const cssFile = document.createElement('style');
|
|
190
|
+
cssFile.innerHTML = data;
|
|
191
|
+
if (stylingContainer) {
|
|
192
|
+
stylingContainer.appendChild(cssFile);
|
|
193
|
+
}
|
|
194
|
+
})
|
|
195
|
+
.catch((err) => {
|
|
196
|
+
console.error('There was an error while trying to load client styling from URL', err);
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @name setStreamLibrary
|
|
202
|
+
* @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
|
|
203
|
+
* @param {HTMLElement} stylingContainer The highest element of the widget
|
|
204
|
+
* @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
|
|
205
|
+
* @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
|
|
206
|
+
*/
|
|
207
|
+
function setStreamStyling(stylingContainer, domain, subscription) {
|
|
208
|
+
if (window.emMessageBus) {
|
|
209
|
+
const sheet = document.createElement('style');
|
|
210
|
+
|
|
211
|
+
window.emMessageBus.subscribe(domain, (data) => {
|
|
212
|
+
sheet.innerHTML = data;
|
|
213
|
+
if (stylingContainer) {
|
|
214
|
+
stylingContainer.appendChild(sheet);
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
const pamChangePasswordCss = ":host {\n display: block;\n}\n\n.PlayerChangePassword {\n font-family: inherit;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n opacity: 1;\n animation-name: fadeIn;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n animation-duration: 0.3s;\n container-type: inline-size;\n}\n.PlayerChangePassword .Wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.PlayerChangePassword .Title {\n background-color: transparent;\n font-size: var(--emw--font-size-x-large, 26px);\n color: var(--emw--color-primary, #22B04E);\n font-weight: var(--emw--font-weight-semibold, 500);\n}\n.PlayerChangePassword .TitleMobile {\n font-size: var(--emw--font-size-x-large, 20px);\n color: var(--emw--color-primary, #22B04E);\n}\n.PlayerChangePassword svg {\n fill: var(--emw--color-primary, #22B04E);\n}\n.PlayerChangePassword .ButtonReturn {\n display: none;\n font-family: inherit;\n align-items: center;\n gap: 10px;\n}\n.PlayerChangePassword .Form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.PlayerChangePassword .Form .FieldsSection {\n display: flex;\n flex-direction: column;\n gap: 30px;\n}\n.PlayerChangePassword .Form .ButtonsSection {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n position: relative;\n}\n.PlayerChangePassword .Button {\n font-family: inherit;\n border-radius: var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));\n background: var(--emw--button-background-color, var(--emw--color-primary, #22B04E));\n border: var(--emw--button-border, 1px solid var(--emw--button-border-color, #22B04E));\n color: var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));\n font-size: var(--emw--font-size-large, 20px);\n font-weight: var(--emw--font-weight-normal, 400);\n height: 50px;\n width: 100%;\n text-transform: uppercase;\n cursor: pointer;\n}\n.PlayerChangePassword .Button:disabled {\n background: var(--emfe-w-color-gray-100, #E6E6E6);\n border: var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));\n pointer-events: none;\n cursor: not-allowed;\n}\n.PlayerChangePassword.skeleton .Form .ButtonReturn {\n width: 150px;\n height: 30px;\n margin-top: 15px;\n display: block;\n}\n.PlayerChangePassword.skeleton .Form .FieldsSection {\n display: block;\n}\n.PlayerChangePassword.skeleton .Form .FieldsSection .FieldContainer .FieldTitle {\n width: 100px;\n margin-top: 30px;\n margin-bottom: 15px;\n}\n.PlayerChangePassword.skeleton .Form .ButtonsSection .Button {\n font-family: inherit;\n border-radius: 50px;\n background: transparent;\n border: none;\n overflow: hidden;\n}\n@container (max-width: 425px) {\n .PlayerChangePassword .Form .ButtonReturn {\n display: inline-flex;\n }\n .PlayerChangePassword .Form .Title {\n display: none;\n }\n}\n\n@keyframes fadeIn {\n 0% {\n opacity: 0.01;\n }\n 1% {\n opacity: 0;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}";
|
|
221
|
+
const PamChangePasswordStyle0 = pamChangePasswordCss;
|
|
222
|
+
|
|
223
|
+
const PamChangePassword = class {
|
|
224
|
+
constructor(hostRef) {
|
|
225
|
+
registerInstance(this, hostRef);
|
|
226
|
+
this.currentPasswordValue = '';
|
|
227
|
+
this.newPasswordValue = '';
|
|
228
|
+
this.confirmPasswordValue = '';
|
|
229
|
+
this.isCurrentPasswordValid = false;
|
|
230
|
+
this.isNewPasswordValid = false;
|
|
231
|
+
this.isConfirmPasswordValid = false;
|
|
232
|
+
this.errorMsg = '';
|
|
233
|
+
this.currentPasswordValidationSchema = { mandatory: true, custom: [] };
|
|
234
|
+
this.newPasswordValidationSchema = { mandatory: true, custom: [] };
|
|
235
|
+
this.confirmPasswordValidationSchema = { mandatory: true, custom: [] };
|
|
236
|
+
this.initValidationSchemas = () => {
|
|
237
|
+
this.confirmPasswordValidationSchema = {
|
|
238
|
+
mandatory: true,
|
|
239
|
+
maxLength: this.policy.maximumPasswordLength,
|
|
240
|
+
minLength: this.policy.minimumPasswordLength,
|
|
241
|
+
custom: [
|
|
242
|
+
this.policy.customValidationRules.find(validation => validation.rule === 'duplicate-input')
|
|
243
|
+
]
|
|
244
|
+
};
|
|
245
|
+
this.newPasswordValidationSchema = {
|
|
246
|
+
mandatory: true,
|
|
247
|
+
maxLength: this.policy.maximumPasswordLength,
|
|
248
|
+
minLength: this.policy.minimumPasswordLength,
|
|
249
|
+
custom: this.policy.customValidationRules
|
|
250
|
+
};
|
|
251
|
+
this.currentPasswordValidationSchema = {
|
|
252
|
+
mandatory: true,
|
|
253
|
+
maxLength: this.policy.maximumPasswordLength,
|
|
254
|
+
minLength: this.policy.minimumPasswordLength,
|
|
255
|
+
custom: this.policy.customValidationRules
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
this.setErrorMsg = (key) => {
|
|
259
|
+
switch (key) {
|
|
260
|
+
case 'gm.pms.password_policy_failed':
|
|
261
|
+
const values = {
|
|
262
|
+
forbiddenLastPasswordsCount: this.policy.forbiddenLastPasswordsCount,
|
|
263
|
+
minimumPasswordAgeLimitHours: this.policy.minimumPasswordAgeLimitHours,
|
|
264
|
+
hours: this.policy.minimumPasswordAgeLimitHours > 1 ? 'hours' : 'hour'
|
|
265
|
+
};
|
|
266
|
+
this.errorMsg = translate(key, this.language, { values: values });
|
|
267
|
+
break;
|
|
268
|
+
case 'gm.pms.password_not_verified_unauthorized':
|
|
269
|
+
this.errorMsg = translate(key, this.language);
|
|
270
|
+
break;
|
|
271
|
+
default:
|
|
272
|
+
this.errorMsg = translate('errorMsgGeneric', this.language);
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
this.toggleScreen = () => {
|
|
276
|
+
window.postMessage({ type: 'PlayerAccountMenuActive', isMobile: this.isMobile }, window.location.href);
|
|
277
|
+
};
|
|
278
|
+
this.getPolicy = () => {
|
|
279
|
+
const url = new URL('/api/v1/players/password-management/password', this.endpoint);
|
|
280
|
+
const headers = new Headers();
|
|
281
|
+
headers.append('Accept', 'text/plain');
|
|
282
|
+
headers.append('Content-Type', 'application/json-patch+json');
|
|
283
|
+
const requestParams = {
|
|
284
|
+
method: 'GET',
|
|
285
|
+
headers: headers
|
|
286
|
+
};
|
|
287
|
+
fetch(url.href, requestParams)
|
|
288
|
+
.then((res) => res.status === 200 && res.json())
|
|
289
|
+
.then((res) => {
|
|
290
|
+
this.policy = res;
|
|
291
|
+
this.policy.customValidationRules.forEach((validation) => {
|
|
292
|
+
validation.rule = validation.rule.toLowerCase();
|
|
293
|
+
if (validation.rule === 'duplicateinput')
|
|
294
|
+
validation.rule = 'duplicate-input';
|
|
295
|
+
});
|
|
296
|
+
this.initValidationSchemas();
|
|
297
|
+
})
|
|
298
|
+
.catch((err) => {
|
|
299
|
+
console.error(`${translate('errorMsgGeneric', this.language)}:`, err);
|
|
300
|
+
window.postMessage({ type: 'WidgetNotification', data: { type: 'error', message: translate('errorMsgGeneric', this.language) } }, window.location.href);
|
|
301
|
+
})
|
|
302
|
+
.finally(() => {
|
|
303
|
+
this.isSkeletonLoading = false;
|
|
304
|
+
});
|
|
305
|
+
};
|
|
306
|
+
this.submitNewPassword = (e) => {
|
|
307
|
+
e.preventDefault();
|
|
308
|
+
if (this.isBtnSubmitEnabled) {
|
|
309
|
+
const url = new URL('/api/v1/players/password-management/password', this.endpoint);
|
|
310
|
+
const headers = new Headers();
|
|
311
|
+
headers.append('accept', 'text/plain');
|
|
312
|
+
headers.append('Content-Type', 'application/json-patch+json');
|
|
313
|
+
const body = JSON.stringify({
|
|
314
|
+
token: this.forgotMode === 'true' ? this.token : this.session,
|
|
315
|
+
oldPassword: this.currentPasswordValue,
|
|
316
|
+
newPassword: this.confirmPasswordValue
|
|
317
|
+
});
|
|
318
|
+
const requestParams = {
|
|
319
|
+
method: 'PUT',
|
|
320
|
+
headers: headers,
|
|
321
|
+
body: body
|
|
322
|
+
};
|
|
323
|
+
fetch(url.href, requestParams)
|
|
324
|
+
.then((res) => res.json())
|
|
325
|
+
.then((res) => {
|
|
326
|
+
if (res.errorCode === null && res.message === 'pms.password.update.success') {
|
|
327
|
+
window.postMessage({ type: 'PasswordChangedSuccessfully' });
|
|
328
|
+
window.postMessage({ type: 'WidgetNotification', data: { type: 'success', message: translate('successMsg', this.language) } }, window.location.href);
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
this.setErrorMsg(res.message);
|
|
332
|
+
window.postMessage({ type: 'WidgetNotification', data: { type: 'error', message: this.errorMsg } }, window.location.href);
|
|
333
|
+
}
|
|
334
|
+
})
|
|
335
|
+
.catch((err) => console.error(err));
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
this.language = 'en';
|
|
339
|
+
this.endpoint = '';
|
|
340
|
+
this.session = '';
|
|
341
|
+
this.token = '';
|
|
342
|
+
this.forgotMode = '';
|
|
343
|
+
this.clientStyling = '';
|
|
344
|
+
this.clientStylingUrl = '';
|
|
345
|
+
this.mbSource = undefined;
|
|
346
|
+
this.translationUrl = '';
|
|
347
|
+
this.isBtnSubmitEnabled = false;
|
|
348
|
+
this.isSkeletonLoading = true;
|
|
349
|
+
this.isMobile = checkDeviceType() === 'mobile' || checkDeviceType() === 'tablet';
|
|
350
|
+
}
|
|
351
|
+
handleClientStylingChange(newValue, oldValue) {
|
|
352
|
+
if (newValue != oldValue) {
|
|
353
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
handleClientStylingUrlChange(newValue, oldValue) {
|
|
357
|
+
if (newValue != oldValue) {
|
|
358
|
+
if (this.clientStylingUrl)
|
|
359
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
sendValidityStateHandler(e) {
|
|
363
|
+
this.isBtnSubmitEnabled = false;
|
|
364
|
+
switch (e.detail.name) {
|
|
365
|
+
case 'password':
|
|
366
|
+
this.isCurrentPasswordValid = e.detail.valid;
|
|
367
|
+
break;
|
|
368
|
+
case 'newPassword':
|
|
369
|
+
this.isNewPasswordValid = e.detail.valid;
|
|
370
|
+
break;
|
|
371
|
+
case 'newPasswordDuplicate':
|
|
372
|
+
this.isConfirmPasswordValid = e.detail.valid;
|
|
373
|
+
break;
|
|
374
|
+
}
|
|
375
|
+
if ((this.forgotMode === 'true' || this.isCurrentPasswordValid) && this.isNewPasswordValid && this.isConfirmPasswordValid) {
|
|
376
|
+
this.isBtnSubmitEnabled = true;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
sendInputValueHandler(e) {
|
|
380
|
+
switch (e.detail.name) {
|
|
381
|
+
case 'password':
|
|
382
|
+
this.currentPasswordValue = e.detail.value;
|
|
383
|
+
break;
|
|
384
|
+
case 'newPassword':
|
|
385
|
+
this.newPasswordValue = e.detail.value;
|
|
386
|
+
break;
|
|
387
|
+
case 'newPasswordDuplicate':
|
|
388
|
+
this.confirmPasswordValue = e.detail.value;
|
|
389
|
+
break;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
componentWillLoad() {
|
|
393
|
+
this.getPolicy();
|
|
394
|
+
if (this.translationUrl) {
|
|
395
|
+
return getTranslations(this.translationUrl);
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
componentDidLoad() {
|
|
399
|
+
if (this.stylingContainer) {
|
|
400
|
+
if (window.emMessageBus != undefined) {
|
|
401
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
402
|
+
}
|
|
403
|
+
else {
|
|
404
|
+
if (this.clientStyling)
|
|
405
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
406
|
+
if (this.clientStylingUrl)
|
|
407
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
disconnectedCallback() {
|
|
412
|
+
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
413
|
+
}
|
|
414
|
+
render() {
|
|
415
|
+
if (this.isSkeletonLoading) {
|
|
416
|
+
return (h("div", { class: "PlayerChangePassword skeleton" }, h("form", { class: "Form" }, h("div", { class: "ButtonReturn" }, h("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), h("section", { class: "FieldsSection" }, h("div", { class: "FieldContainer" }, h("div", { class: "FieldTitle" }, h("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), h("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), h("div", { class: "FieldContainer" }, h("div", { class: "FieldTitle" }, h("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), h("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), h("div", { class: "FieldContainer" }, h("div", { class: "FieldTitle" }, h("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), h("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), h("section", { class: "ButtonsSection" }, h("div", { class: "Button" }, h("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))));
|
|
417
|
+
}
|
|
418
|
+
return (h("div", { class: "PlayerChangePassword", ref: el => this.stylingContainer = el }, h("form", { class: "Form" }, h("div", { class: "ButtonReturn", onClick: this.toggleScreen }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, h("g", { transform: "translate(-20 -158)" }, h("g", { transform: "translate(20 158)" }, h("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), h("h2", { class: "TitleMobile" }, translate('title', this.language))), h("h2", { class: "Title" }, translate('title', this.language)), h("section", { class: "FieldsSection" }, this.forgotMode === 'false'
|
|
419
|
+
&& h("general-input", { type: "password", action: "input", name: "password", language: this.language, "display-name": translate('passwordDisplayText', this.language), placeholder: translate('passwordPlaceholderText', this.language), validation: this.currentPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource, "hide-password-complexity": true }), h("general-input", { type: "password", action: "input", name: "newPassword", language: this.language, "display-name": translate('newPasswordDisplayText', this.language), placeholder: translate('newPasswordPlaceholderText', this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), h("general-input", { type: "password", action: "input", name: "newPasswordDuplicate", language: this.language, "display-name": translate('confirmPasswordDisplayText', this.language), placeholder: translate('confirmPasswordPlaceholderText', this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": true, clientStyling: this.clientStyling, "mb-source": this.mbSource })), h("section", { class: "ButtonsSection" }, h("button", { class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, translate('btnSubmit', this.language))))));
|
|
420
|
+
}
|
|
421
|
+
static get watchers() { return {
|
|
422
|
+
"clientStyling": ["handleClientStylingChange", "handleClientStylingChange"],
|
|
423
|
+
"clientStylingUrl": ["handleClientStylingUrlChange"]
|
|
424
|
+
}; }
|
|
425
|
+
};
|
|
426
|
+
PamChangePassword.style = PamChangePasswordStyle0;
|
|
427
|
+
|
|
428
|
+
export { PamChangePassword as P };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-13661b98.js';
|
|
2
|
+
export { s as setNonce } from './index-13661b98.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
|
+
*/
|
|
8
|
+
var patchBrowser = () => {
|
|
9
|
+
const importMeta = import.meta.url;
|
|
10
|
+
const opts = {};
|
|
11
|
+
if (importMeta !== "") {
|
|
12
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
13
|
+
}
|
|
14
|
+
return promiseResolve(opts);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
patchBrowser().then(async (options) => {
|
|
18
|
+
await globalScripts();
|
|
19
|
+
return bootstrapLazy([["checkbox-group-input_14",[[1,"pam-change-password",{"language":[513],"endpoint":[513],"session":[513],"token":[513],"forgotMode":[513,"forgot-mode"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[1,"mb-source"],"translationUrl":[513,"translation-url"],"isBtnSubmitEnabled":[32],"isSkeletonLoading":[32],"isMobile":[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{"clientStyling":["handleClientStylingChange","handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[2,"border-radius"],"marginBottom":[2,"margin-bottom"],"marginTop":[2,"margin-top"],"marginLeft":[2,"margin-left"],"marginRight":[2,"margin-right"],"animation":[4],"rows":[2],"size":[1],"color":[1],"primaryColor":[1,"primary-color"],"secondaryColor":[1,"secondary-color"]},null,{"structure":["handleStructureChange"]}],[1,"general-input",{"type":[513],"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"action":[513],"validation":[16],"options":[520],"language":[513],"autofilled":[516],"tooltip":[513],"defaultValue":[520,"default-value"],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"hidePasswordComplexity":[516,"hide-password-complexity"],"clientStyling":[520,"client-styling"],"dateFormat":[513,"date-format"],"translationUrl":[513,"translation-url"],"emitOnClick":[516,"emit-on-click"]}],[1,"toggle-checkbox-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"options":[16],"autofilled":[516],"tooltip":[513],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32],"showFields":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"]}],[1,"checkbox-group-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"options":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32],"selectedValues":[32],"showCheckboxes":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"selectedValues":["setValue"],"emitValue":["emitValueHandler"]}],[1,"checkbox-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"date-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"dateFormat":[513,"date-format"],"emitOnClick":[516,"emit-on-click"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"email-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"number-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"password-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"hidePasswordComplexity":[516,"hide-password-complexity"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32],"passwordComplexity":[32],"showPopup":[32],"value":[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"value":["valueChanged"],"emitValue":["emitValueHandler"]}],[1,"radio-input",{"name":[513],"displayName":[513,"display-name"],"optionsGroup":[16],"validation":[16],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"select-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"action":[513],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"options":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"tel-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"showLabels":[516,"show-labels"],"action":[513],"validation":[16],"defaultValue":[520,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}],[1,"text-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"checkValidity":[516,"check-validity"],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"]}]]]], options);
|
|
20
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./cjs/index.cjs.js');
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './esm/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=()=>{};export{o as g}
|