@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.
Files changed (57) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/checkbox-group-input_14.cjs.entry.js +12803 -0
  3. package/dist/cjs/index-719211a0.js +1322 -0
  4. package/dist/cjs/index.cjs.js +10 -0
  5. package/dist/cjs/loader.cjs.js +15 -0
  6. package/dist/cjs/pam-change-password-99f2d5ce.js +430 -0
  7. package/dist/cjs/pam-change-password.cjs.js +25 -0
  8. package/dist/collection/collection-manifest.json +36 -0
  9. package/dist/collection/components/pam-change-password/index.js +1 -0
  10. package/dist/collection/components/pam-change-password/pam-change-password.css +125 -0
  11. package/dist/collection/components/pam-change-password/pam-change-password.js +415 -0
  12. package/dist/collection/index.js +1 -0
  13. package/dist/collection/utils/locale.utils.js +141 -0
  14. package/dist/collection/utils/utils.js +20 -0
  15. package/dist/esm/app-globals-0f993ce5.js +3 -0
  16. package/dist/esm/checkbox-group-input_14.entry.js +12786 -0
  17. package/dist/esm/index-13661b98.js +1293 -0
  18. package/dist/esm/index.js +2 -0
  19. package/dist/esm/loader.js +11 -0
  20. package/dist/esm/pam-change-password-f4a1e7e7.js +428 -0
  21. package/dist/esm/pam-change-password.js +20 -0
  22. package/dist/index.cjs.js +1 -0
  23. package/dist/index.js +1 -0
  24. package/dist/pam-change-password/app-globals-0f993ce5.js +1 -0
  25. package/dist/pam-change-password/checkbox-group-input_14.entry.js +5614 -0
  26. package/dist/pam-change-password/index-13661b98.js +2 -0
  27. package/dist/pam-change-password/index.esm.js +1 -0
  28. package/dist/pam-change-password/pam-change-password-f4a1e7e7.js +1 -0
  29. package/dist/pam-change-password/pam-change-password.esm.js +1 -0
  30. package/dist/stencil.config.dev.js +18 -0
  31. package/dist/stencil.config.js +19 -0
  32. package/dist/storybook/main.js +47 -0
  33. package/dist/storybook/preview.js +9 -0
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-change-password/.stencil/tools/plugins/index.d.ts +3 -0
  41. 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
  42. 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
  43. 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
  44. package/dist/types/components/pam-change-password/index.d.ts +1 -0
  45. package/dist/types/components/pam-change-password/pam-change-password.d.ts +67 -0
  46. package/dist/types/components.d.ts +103 -0
  47. package/dist/types/index.d.ts +1 -0
  48. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  49. package/dist/types/utils/locale.utils.d.ts +20 -0
  50. package/dist/types/utils/utils.d.ts +2 -0
  51. package/loader/cdn.js +1 -0
  52. package/loader/index.cjs.js +1 -0
  53. package/loader/index.d.ts +24 -0
  54. package/loader/index.es2017.js +1 -0
  55. package/loader/index.js +2 -0
  56. package/loader/package.json +11 -0
  57. package/package.json +26 -0
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const pamChangePassword = require('./pam-change-password-99f2d5ce.js');
6
+ require('./index-719211a0.js');
7
+
8
+
9
+
10
+ exports.PamChangePassword = pamChangePassword.PamChangePassword;
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-719211a0.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
7
+
8
+ const defineCustomElements = async (win, options) => {
9
+ if (typeof window === 'undefined') return undefined;
10
+ await appGlobals.globalScripts();
11
+ return index.bootstrapLazy([["checkbox-group-input_14.cjs",[[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);
12
+ };
13
+
14
+ exports.setNonce = index.setNonce;
15
+ exports.defineCustomElements = defineCustomElements;
@@ -0,0 +1,430 @@
1
+ 'use strict';
2
+
3
+ const index = require('./index-719211a0.js');
4
+
5
+ const DEFAULT_LANGUAGE = 'en';
6
+ const TRANSLATIONS = {
7
+ "en": {
8
+ "title": "Change Password",
9
+ "btnSubmit": "Change Password",
10
+ "passwordPlaceholderText": "Please enter your password",
11
+ "newPasswordPlaceholderText": "Please enter your new password",
12
+ "confirmPasswordPlaceholderText": "Please confirm your new password",
13
+ "passwordDisplayText": "Current Password",
14
+ "newPasswordDisplayText": "New Password",
15
+ "confirmPasswordDisplayText": "Confirm Password",
16
+ "successMsg": "Password changed successfully",
17
+ "errorMsgGeneric": "There was an error when attempting to change your password",
18
+ "gm.pms.password_not_verified_unauthorized": "The current password you have entered is incorrect",
19
+ "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."
20
+ },
21
+ "fr": {
22
+ "title": "Changer le mot de passe",
23
+ "btnSubmit": "Changer le mot de passe",
24
+ "passwordPlaceholderText": "Veuillez entrer votre mot de passe",
25
+ "newPasswordPlaceholderText": "Veuillez entrer votre nouveau mot de passe",
26
+ "confirmPasswordPlaceholderText": "Veuillez confirmer votre nouveau mot de passe",
27
+ "passwordDisplayText": "Mot de passe actuel",
28
+ "newPasswordDisplayText": "Nouveau mot de passe",
29
+ "confirmPasswordDisplayText": "Confirmer le mot de passe",
30
+ "successMsg": "Mot de passe changé avec succès",
31
+ "errorMsgGeneric": "Une erreur est survenue lors de la tentative de changement de mot de passe",
32
+ "gm.pms.password_not_verified_unauthorized": "Le mot de passe actuel que vous avez entré est incorrect",
33
+ "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."
34
+ },
35
+ "ro": {
36
+ "title": "Schimbă Parola",
37
+ "btnSubmit": "Schimbă Parola",
38
+ "passwordPlaceholderText": "Vă rugăm să introduceți parola",
39
+ "newPasswordPlaceholderText": "Vă rugăm să introduceți noua parolă",
40
+ "confirmPasswordPlaceholderText": "Vă rugăm să confirmați noua parolă",
41
+ "passwordDisplayText": "Parolă Curentă",
42
+ "newPasswordDisplayText": "Parolă Nouă",
43
+ "confirmPasswordDisplayText": "Confirmă Parola",
44
+ "successMsg": "Parola a fost schimbată cu succes",
45
+ "errorMsgGeneric": "A apărut o eroare la încercarea de schimbare a parolei",
46
+ "gm.pms.password_not_verified_unauthorized": "Parola curentă introdusă este incorectă",
47
+ "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."
48
+ },
49
+ "es": {
50
+ "title": "Cambiar Contraseña",
51
+ "btnSubmit": "Cambiar Contraseña",
52
+ "passwordPlaceholderText": "Por favor, introduce tu contraseña",
53
+ "newPasswordPlaceholderText": "Por favor, introduce tu nueva contraseña",
54
+ "confirmPasswordPlaceholderText": "Por favor, confirma tu nueva contraseña",
55
+ "passwordDisplayText": "Contraseña Actual",
56
+ "newPasswordDisplayText": "Nueva Contraseña",
57
+ "confirmPasswordDisplayText": "Confirmar Contraseña",
58
+ "successMsg": "Contraseña cambiada con éxito",
59
+ "errorMsgGeneric": "Hubo un error al intentar cambiar tu contraseña",
60
+ "gm.pms.password_not_verified_unauthorized": "La contraseña actual que has introducido es incorrecta",
61
+ "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."
62
+ },
63
+ "pt": {
64
+ "title": "Alterar Senha",
65
+ "btnSubmit": "Alterar Senha",
66
+ "passwordPlaceholderText": "Por favor, insira sua senha",
67
+ "newPasswordPlaceholderText": "Por favor, insira sua nova senha",
68
+ "confirmPasswordPlaceholderText": "Por favor, confirme sua nova senha",
69
+ "passwordDisplayText": "Senha Atual",
70
+ "newPasswordDisplayText": "Nova Senha",
71
+ "confirmPasswordDisplayText": "Confirmar Senha",
72
+ "successMsg": "Senha alterada com sucesso",
73
+ "errorMsgGeneric": "Ocorreu um erro ao tentar alterar sua senha",
74
+ "gm.pms.password_not_verified_unauthorized": "A senha atual que você inseriu está incorreta",
75
+ "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."
76
+ },
77
+ "hr": {
78
+ "title": "Promijeni lozinku",
79
+ "btnSubmit": "Promijeni lozinku",
80
+ "passwordPlaceholderText": "Unesite svoju lozinku",
81
+ "newPasswordPlaceholderText": "Unesite novu lozinku",
82
+ "confirmPasswordPlaceholderText": "Potvrdite novu lozinku",
83
+ "passwordDisplayText": "Trenutna lozinka",
84
+ "newPasswordDisplayText": "Nova lozinka",
85
+ "confirmPasswordDisplayText": "Potvrdite lozinku",
86
+ "successMsg": "Lozinka je uspješno promijenjena",
87
+ "errorMsgGeneric": "Došlo je do pogreške prilikom pokušaja promjene lozinke",
88
+ "gm.pms.password_not_verified_unauthorized": "Unesena trenutna lozinka nije ispravna",
89
+ "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."
90
+ },
91
+ "tr": {
92
+ "title": "Şifreyi Değiştir",
93
+ "btnSubmit": "Şifreyi Değiştir",
94
+ "passwordPlaceholderText": "Lütfen şifrenizi girin",
95
+ "newPasswordPlaceholderText": "Lütfen yeni şifrenizi girin",
96
+ "confirmPasswordPlaceholderText": "Lütfen yeni şifrenizi onaylayın",
97
+ "passwordDisplayText": "Mevcut Şifre",
98
+ "newPasswordDisplayText": "Yeni Şifre",
99
+ "confirmPasswordDisplayText": "Şifreyi Onaylayın",
100
+ "successMsg": "Şifre başarıyla değiştirildi",
101
+ "errorMsgGeneric": "Şifrenizi değiştirirken bir hata oluştu",
102
+ "gm.pms.password_not_verified_unauthorized": "Girdiğiniz mevcut şifre yanlış",
103
+ "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."
104
+ },
105
+ "hu": {
106
+ "title": "Jelszó megváltoztatása",
107
+ "btnSubmit": "Jelszó megváltoztatása",
108
+ "passwordPlaceholderText": "Kérjük, adja meg a jelszavát",
109
+ "newPasswordPlaceholderText": "Kérjük, adja meg az új jelszavát",
110
+ "confirmPasswordPlaceholderText": "Kérjük, erősítse meg az új jelszavát",
111
+ "passwordDisplayText": "Jelenlegi jelszó",
112
+ "newPasswordDisplayText": "Új jelszó",
113
+ "confirmPasswordDisplayText": "Jelszó megerősítése",
114
+ "successMsg": "A jelszó sikeresen megváltozott",
115
+ "errorMsgGeneric": "Hiba történt a jelszó megváltoztatásakor",
116
+ "gm.pms.password_not_verified_unauthorized": "A megadott jelenlegi jelszó helytelen",
117
+ "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."
118
+ }
119
+ };
120
+ const getTranslations = (url) => {
121
+ // fetch url, get the data, replace the TRANSLATIONS content
122
+ return new Promise((resolve) => {
123
+ fetch(url)
124
+ .then((res) => res.json())
125
+ .then((data) => {
126
+ Object.keys(data).forEach((item) => {
127
+ for (let key in data[item]) {
128
+ TRANSLATIONS[item][key] = data[item][key];
129
+ }
130
+ });
131
+ resolve(true);
132
+ });
133
+ });
134
+ };
135
+ const translate = (key, customLang, values) => {
136
+ const lang = customLang;
137
+ let translation = TRANSLATIONS[lang !== undefined ? lang : DEFAULT_LANGUAGE][key];
138
+ if (values !== undefined) {
139
+ for (const [key, value] of Object.entries(values.values)) {
140
+ const regex = new RegExp(`{${key}}`, 'g');
141
+ translation = translation.replace(regex, value);
142
+ }
143
+ }
144
+ return translation;
145
+ };
146
+
147
+ function checkDeviceType() {
148
+ const userAgent = navigator.userAgent.toLowerCase();
149
+ const width = screen.availWidth;
150
+ const height = screen.availHeight;
151
+ if (userAgent.includes('iphone')) {
152
+ return 'mobile';
153
+ }
154
+ if (userAgent.includes('android')) {
155
+ if (height > width && width < 800) {
156
+ return 'mobile';
157
+ }
158
+ if (width > height && height < 800) {
159
+ return 'tablet';
160
+ }
161
+ }
162
+ return 'desktop';
163
+ }
164
+
165
+ /**
166
+ * @name setClientStyling
167
+ * @description Method used to create and append to the passed element of the widget a style element with the content received
168
+ * @param {HTMLElement} stylingContainer The reference element of the widget
169
+ * @param {string} clientStyling The style content
170
+ */
171
+ function setClientStyling(stylingContainer, clientStyling) {
172
+ if (stylingContainer) {
173
+ const sheet = document.createElement('style');
174
+ sheet.innerHTML = clientStyling;
175
+ stylingContainer.appendChild(sheet);
176
+ }
177
+ }
178
+
179
+ /**
180
+ * @name setClientStylingURL
181
+ * @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
182
+ * @param {HTMLElement} stylingContainer The reference element of the widget
183
+ * @param {string} clientStylingUrl The URL of the style content
184
+ */
185
+ function setClientStylingURL(stylingContainer, clientStylingUrl) {
186
+ const url = new URL(clientStylingUrl);
187
+
188
+ fetch(url.href)
189
+ .then((res) => res.text())
190
+ .then((data) => {
191
+ const cssFile = document.createElement('style');
192
+ cssFile.innerHTML = data;
193
+ if (stylingContainer) {
194
+ stylingContainer.appendChild(cssFile);
195
+ }
196
+ })
197
+ .catch((err) => {
198
+ console.error('There was an error while trying to load client styling from URL', err);
199
+ });
200
+ }
201
+
202
+ /**
203
+ * @name setStreamLibrary
204
+ * @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
205
+ * @param {HTMLElement} stylingContainer The highest element of the widget
206
+ * @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
207
+ * @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
208
+ */
209
+ function setStreamStyling(stylingContainer, domain, subscription) {
210
+ if (window.emMessageBus) {
211
+ const sheet = document.createElement('style');
212
+
213
+ window.emMessageBus.subscribe(domain, (data) => {
214
+ sheet.innerHTML = data;
215
+ if (stylingContainer) {
216
+ stylingContainer.appendChild(sheet);
217
+ }
218
+ });
219
+ }
220
+ }
221
+
222
+ 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}";
223
+ const PamChangePasswordStyle0 = pamChangePasswordCss;
224
+
225
+ const PamChangePassword = class {
226
+ constructor(hostRef) {
227
+ index.registerInstance(this, hostRef);
228
+ this.currentPasswordValue = '';
229
+ this.newPasswordValue = '';
230
+ this.confirmPasswordValue = '';
231
+ this.isCurrentPasswordValid = false;
232
+ this.isNewPasswordValid = false;
233
+ this.isConfirmPasswordValid = false;
234
+ this.errorMsg = '';
235
+ this.currentPasswordValidationSchema = { mandatory: true, custom: [] };
236
+ this.newPasswordValidationSchema = { mandatory: true, custom: [] };
237
+ this.confirmPasswordValidationSchema = { mandatory: true, custom: [] };
238
+ this.initValidationSchemas = () => {
239
+ this.confirmPasswordValidationSchema = {
240
+ mandatory: true,
241
+ maxLength: this.policy.maximumPasswordLength,
242
+ minLength: this.policy.minimumPasswordLength,
243
+ custom: [
244
+ this.policy.customValidationRules.find(validation => validation.rule === 'duplicate-input')
245
+ ]
246
+ };
247
+ this.newPasswordValidationSchema = {
248
+ mandatory: true,
249
+ maxLength: this.policy.maximumPasswordLength,
250
+ minLength: this.policy.minimumPasswordLength,
251
+ custom: this.policy.customValidationRules
252
+ };
253
+ this.currentPasswordValidationSchema = {
254
+ mandatory: true,
255
+ maxLength: this.policy.maximumPasswordLength,
256
+ minLength: this.policy.minimumPasswordLength,
257
+ custom: this.policy.customValidationRules
258
+ };
259
+ };
260
+ this.setErrorMsg = (key) => {
261
+ switch (key) {
262
+ case 'gm.pms.password_policy_failed':
263
+ const values = {
264
+ forbiddenLastPasswordsCount: this.policy.forbiddenLastPasswordsCount,
265
+ minimumPasswordAgeLimitHours: this.policy.minimumPasswordAgeLimitHours,
266
+ hours: this.policy.minimumPasswordAgeLimitHours > 1 ? 'hours' : 'hour'
267
+ };
268
+ this.errorMsg = translate(key, this.language, { values: values });
269
+ break;
270
+ case 'gm.pms.password_not_verified_unauthorized':
271
+ this.errorMsg = translate(key, this.language);
272
+ break;
273
+ default:
274
+ this.errorMsg = translate('errorMsgGeneric', this.language);
275
+ }
276
+ };
277
+ this.toggleScreen = () => {
278
+ window.postMessage({ type: 'PlayerAccountMenuActive', isMobile: this.isMobile }, window.location.href);
279
+ };
280
+ this.getPolicy = () => {
281
+ const url = new URL('/api/v1/players/password-management/password', this.endpoint);
282
+ const headers = new Headers();
283
+ headers.append('Accept', 'text/plain');
284
+ headers.append('Content-Type', 'application/json-patch+json');
285
+ const requestParams = {
286
+ method: 'GET',
287
+ headers: headers
288
+ };
289
+ fetch(url.href, requestParams)
290
+ .then((res) => res.status === 200 && res.json())
291
+ .then((res) => {
292
+ this.policy = res;
293
+ this.policy.customValidationRules.forEach((validation) => {
294
+ validation.rule = validation.rule.toLowerCase();
295
+ if (validation.rule === 'duplicateinput')
296
+ validation.rule = 'duplicate-input';
297
+ });
298
+ this.initValidationSchemas();
299
+ })
300
+ .catch((err) => {
301
+ console.error(`${translate('errorMsgGeneric', this.language)}:`, err);
302
+ window.postMessage({ type: 'WidgetNotification', data: { type: 'error', message: translate('errorMsgGeneric', this.language) } }, window.location.href);
303
+ })
304
+ .finally(() => {
305
+ this.isSkeletonLoading = false;
306
+ });
307
+ };
308
+ this.submitNewPassword = (e) => {
309
+ e.preventDefault();
310
+ if (this.isBtnSubmitEnabled) {
311
+ const url = new URL('/api/v1/players/password-management/password', this.endpoint);
312
+ const headers = new Headers();
313
+ headers.append('accept', 'text/plain');
314
+ headers.append('Content-Type', 'application/json-patch+json');
315
+ const body = JSON.stringify({
316
+ token: this.forgotMode === 'true' ? this.token : this.session,
317
+ oldPassword: this.currentPasswordValue,
318
+ newPassword: this.confirmPasswordValue
319
+ });
320
+ const requestParams = {
321
+ method: 'PUT',
322
+ headers: headers,
323
+ body: body
324
+ };
325
+ fetch(url.href, requestParams)
326
+ .then((res) => res.json())
327
+ .then((res) => {
328
+ if (res.errorCode === null && res.message === 'pms.password.update.success') {
329
+ window.postMessage({ type: 'PasswordChangedSuccessfully' });
330
+ window.postMessage({ type: 'WidgetNotification', data: { type: 'success', message: translate('successMsg', this.language) } }, window.location.href);
331
+ }
332
+ else {
333
+ this.setErrorMsg(res.message);
334
+ window.postMessage({ type: 'WidgetNotification', data: { type: 'error', message: this.errorMsg } }, window.location.href);
335
+ }
336
+ })
337
+ .catch((err) => console.error(err));
338
+ }
339
+ };
340
+ this.language = 'en';
341
+ this.endpoint = '';
342
+ this.session = '';
343
+ this.token = '';
344
+ this.forgotMode = '';
345
+ this.clientStyling = '';
346
+ this.clientStylingUrl = '';
347
+ this.mbSource = undefined;
348
+ this.translationUrl = '';
349
+ this.isBtnSubmitEnabled = false;
350
+ this.isSkeletonLoading = true;
351
+ this.isMobile = checkDeviceType() === 'mobile' || checkDeviceType() === 'tablet';
352
+ }
353
+ handleClientStylingChange(newValue, oldValue) {
354
+ if (newValue != oldValue) {
355
+ setClientStyling(this.stylingContainer, this.clientStyling);
356
+ }
357
+ }
358
+ handleClientStylingUrlChange(newValue, oldValue) {
359
+ if (newValue != oldValue) {
360
+ if (this.clientStylingUrl)
361
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
362
+ }
363
+ }
364
+ sendValidityStateHandler(e) {
365
+ this.isBtnSubmitEnabled = false;
366
+ switch (e.detail.name) {
367
+ case 'password':
368
+ this.isCurrentPasswordValid = e.detail.valid;
369
+ break;
370
+ case 'newPassword':
371
+ this.isNewPasswordValid = e.detail.valid;
372
+ break;
373
+ case 'newPasswordDuplicate':
374
+ this.isConfirmPasswordValid = e.detail.valid;
375
+ break;
376
+ }
377
+ if ((this.forgotMode === 'true' || this.isCurrentPasswordValid) && this.isNewPasswordValid && this.isConfirmPasswordValid) {
378
+ this.isBtnSubmitEnabled = true;
379
+ }
380
+ }
381
+ sendInputValueHandler(e) {
382
+ switch (e.detail.name) {
383
+ case 'password':
384
+ this.currentPasswordValue = e.detail.value;
385
+ break;
386
+ case 'newPassword':
387
+ this.newPasswordValue = e.detail.value;
388
+ break;
389
+ case 'newPasswordDuplicate':
390
+ this.confirmPasswordValue = e.detail.value;
391
+ break;
392
+ }
393
+ }
394
+ componentWillLoad() {
395
+ this.getPolicy();
396
+ if (this.translationUrl) {
397
+ return getTranslations(this.translationUrl);
398
+ }
399
+ }
400
+ componentDidLoad() {
401
+ if (this.stylingContainer) {
402
+ if (window.emMessageBus != undefined) {
403
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
404
+ }
405
+ else {
406
+ if (this.clientStyling)
407
+ setClientStyling(this.stylingContainer, this.clientStyling);
408
+ if (this.clientStylingUrl)
409
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
410
+ }
411
+ }
412
+ }
413
+ disconnectedCallback() {
414
+ this.stylingSubscription && this.stylingSubscription.unsubscribe();
415
+ }
416
+ render() {
417
+ if (this.isSkeletonLoading) {
418
+ return (index.h("div", { class: "PlayerChangePassword skeleton" }, index.h("form", { class: "Form" }, index.h("div", { class: "ButtonReturn" }, index.h("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), index.h("section", { class: "FieldsSection" }, index.h("div", { class: "FieldContainer" }, index.h("div", { class: "FieldTitle" }, index.h("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), index.h("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), index.h("div", { class: "FieldContainer" }, index.h("div", { class: "FieldTitle" }, index.h("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), index.h("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), index.h("div", { class: "FieldContainer" }, index.h("div", { class: "FieldTitle" }, index.h("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), index.h("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), index.h("section", { class: "ButtonsSection" }, index.h("div", { class: "Button" }, index.h("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))));
419
+ }
420
+ return (index.h("div", { class: "PlayerChangePassword", ref: el => this.stylingContainer = el }, index.h("form", { class: "Form" }, index.h("div", { class: "ButtonReturn", onClick: this.toggleScreen }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, index.h("g", { transform: "translate(-20 -158)" }, index.h("g", { transform: "translate(20 158)" }, index.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)" })))), index.h("h2", { class: "TitleMobile" }, translate('title', this.language))), index.h("h2", { class: "Title" }, translate('title', this.language)), index.h("section", { class: "FieldsSection" }, this.forgotMode === 'false'
421
+ && index.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 }), index.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 }), index.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 })), index.h("section", { class: "ButtonsSection" }, index.h("button", { class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, translate('btnSubmit', this.language))))));
422
+ }
423
+ static get watchers() { return {
424
+ "clientStyling": ["handleClientStylingChange", "handleClientStylingChange"],
425
+ "clientStylingUrl": ["handleClientStylingUrlChange"]
426
+ }; }
427
+ };
428
+ PamChangePassword.style = PamChangePasswordStyle0;
429
+
430
+ exports.PamChangePassword = PamChangePassword;
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-719211a0.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
7
+
8
+ /*
9
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
10
+ */
11
+ var patchBrowser = () => {
12
+ const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('pam-change-password.cjs.js', document.baseURI).href));
13
+ const opts = {};
14
+ if (importMeta !== "") {
15
+ opts.resourcesUrl = new URL(".", importMeta).href;
16
+ }
17
+ return index.promiseResolve(opts);
18
+ };
19
+
20
+ patchBrowser().then(async (options) => {
21
+ await appGlobals.globalScripts();
22
+ return index.bootstrapLazy([["checkbox-group-input_14.cjs",[[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);
23
+ });
24
+
25
+ exports.setNonce = index.setNonce;
@@ -0,0 +1,36 @@
1
+ {
2
+ "entries": [
3
+ "components/pam-change-password/pam-change-password.js"
4
+ ],
5
+ "compiler": {
6
+ "name": "@stencil/core",
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
+ },
10
+ "collections": [
11
+ {
12
+ "name": "@everymatrix/general-input",
13
+ "tags": [
14
+ "checkbox-group-input",
15
+ "checkbox-input",
16
+ "date-input",
17
+ "email-input",
18
+ "general-input",
19
+ "number-input",
20
+ "password-input",
21
+ "radio-input",
22
+ "select-input",
23
+ "tel-input",
24
+ "text-input",
25
+ "toggle-checkbox-input"
26
+ ]
27
+ },
28
+ {
29
+ "name": "@everymatrix/ui-skeleton",
30
+ "tags": [
31
+ "ui-skeleton"
32
+ ]
33
+ }
34
+ ],
35
+ "bundles": []
36
+ }
@@ -0,0 +1 @@
1
+ export { PamChangePassword } from './pam-change-password';