@unidy.io/sdk 1.2.0-alpha11 → 1.2.0-alpha12
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-DLXy8pb2.js +10 -0
- package/dist/cjs/app-globals-DLXy8pb2.js.map +1 -0
- package/dist/cjs/auth-store-DCnSHkNc.js +187 -0
- package/dist/cjs/auth-store-DCnSHkNc.js.map +1 -0
- package/dist/cjs/component-utils-DQm3vEjs.js +93 -0
- package/dist/{sdk/component-utils-C_qW0XCO.js.map → cjs/component-utils-DQm3vEjs.js.map} +1 -1
- package/dist/cjs/flash-store-xkXWKORM.js +50 -0
- package/dist/{sdk/flash-store-e5uCB0Ig.js.map → cjs/flash-store-xkXWKORM.js.map} +1 -1
- package/dist/cjs/helpers-BcPlKlBG.js +11 -0
- package/dist/cjs/helpers-BcPlKlBG.js.map +1 -0
- package/dist/cjs/helpers-DJyRa0Qo.js +11 -0
- package/dist/cjs/helpers-DJyRa0Qo.js.map +1 -0
- package/dist/cjs/i18n-Po9SYC3R.js +3098 -0
- package/dist/cjs/i18n-Po9SYC3R.js.map +1 -0
- package/dist/cjs/index-BwpuOCFk.js +7000 -0
- package/dist/cjs/index-BwpuOCFk.js.map +1 -0
- package/dist/cjs/index-Cg65bddR.js +283 -0
- package/dist/{sdk/index-DqBPGY_D.js.map → cjs/index-Cg65bddR.js.map} +1 -1
- package/dist/cjs/index-NGw-4PfV.js +14707 -0
- package/dist/cjs/index-NGw-4PfV.js.map +1 -0
- package/dist/cjs/index.cjs.js +123 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +14 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/newsletter-helpers-CIKdt3y7.js +289 -0
- package/dist/{sdk/newsletter-helpers-oEOpHOPo.js.map → cjs/newsletter-helpers-CIKdt3y7.js.map} +1 -1
- package/dist/cjs/newsletter-store-BblGN6U3.js +40 -0
- package/dist/{sdk/newsletter-store-BnsDXaes.js.map → cjs/newsletter-store-BblGN6U3.js.map} +1 -1
- package/dist/cjs/pagination-store-D2i3r8vu.js +16 -0
- package/dist/cjs/pagination-store-D2i3r8vu.js.map +1 -0
- package/dist/cjs/profile-helpers-1P9AoQU0.js +39 -0
- package/dist/{sdk/profile-helpers-DI8ROqTU.js.map → cjs/profile-helpers-1P9AoQU0.js.map} +1 -1
- package/dist/cjs/profile-store-CqHbyLQu.js +21 -0
- package/dist/{sdk/profile-store-EhnINNDt.js.map → cjs/profile-store-CqHbyLQu.js.map} +1 -1
- package/dist/cjs/sdk.cjs.js +53 -0
- package/dist/cjs/sdk.cjs.js.map +1 -0
- package/dist/cjs/u-conditional-render.cjs.entry.js +101 -0
- package/dist/cjs/u-conditional-render.entry.cjs.js.map +1 -0
- package/dist/cjs/u-config.cjs.entry.js +90 -0
- package/dist/cjs/u-config.entry.cjs.js.map +1 -0
- package/dist/cjs/u-email-field.cjs.entry.js +77 -0
- package/dist/cjs/u-email-field.entry.cjs.js.map +1 -0
- package/dist/cjs/u-error-message.cjs.entry.js +85 -0
- package/dist/cjs/u-error-message.entry.cjs.js.map +1 -0
- package/dist/cjs/u-field.u-raw-field.entry.cjs.js.map +1 -0
- package/dist/cjs/u-field_2.cjs.entry.js +371 -0
- package/dist/cjs/u-flash-message.cjs.entry.js +37 -0
- package/dist/cjs/u-flash-message.entry.cjs.js.map +1 -0
- package/dist/cjs/u-full-profile.cjs.entry.js +37 -0
- package/dist/cjs/u-full-profile.entry.cjs.js.map +1 -0
- package/dist/cjs/u-jump-to-service.cjs.entry.js +126 -0
- package/dist/cjs/u-jump-to-service.entry.cjs.js.map +1 -0
- package/dist/cjs/u-jump-to-unidy.cjs.entry.js +134 -0
- package/dist/cjs/u-jump-to-unidy.entry.cjs.js.map +1 -0
- package/dist/cjs/u-logout-button.u-signed-in.u-spinner.entry.cjs.js.map +1 -0
- package/dist/cjs/u-logout-button_3.cjs.entry.js +74 -0
- package/dist/cjs/u-magic-code-field.cjs.entry.js +90 -0
- package/dist/cjs/u-magic-code-field.entry.cjs.js.map +1 -0
- package/dist/cjs/u-missing-field.cjs.entry.js +22 -0
- package/dist/cjs/u-missing-field.entry.cjs.js.map +1 -0
- package/dist/cjs/u-missing-fields-submit-button.cjs.entry.js +50 -0
- package/dist/cjs/u-missing-fields-submit-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-checkbox.cjs.entry.js +76 -0
- package/dist/cjs/u-newsletter-checkbox.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-consent-checkbox.cjs.entry.js +48 -0
- package/dist/cjs/u-newsletter-consent-checkbox.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-logout-button.cjs.entry.js +40 -0
- package/dist/cjs/u-newsletter-logout-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-preference-checkbox.cjs.entry.js +119 -0
- package/dist/cjs/u-newsletter-preference-checkbox.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-resend-doi-button.cjs.entry.js +48 -0
- package/dist/cjs/u-newsletter-resend-doi-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-root.cjs.entry.js +101 -0
- package/dist/cjs/u-newsletter-root.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-toggle-subscription-button.cjs.entry.js +72 -0
- package/dist/cjs/u-newsletter-toggle-subscription-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-pagination-button.cjs.entry.js +63 -0
- package/dist/cjs/u-pagination-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-pagination-page.cjs.entry.js +44 -0
- package/dist/cjs/u-pagination-page.entry.cjs.js.map +1 -0
- package/dist/cjs/u-passkey.cjs.entry.js +46 -0
- package/dist/cjs/u-passkey.entry.cjs.js.map +1 -0
- package/dist/cjs/u-password-field.cjs.entry.js +106 -0
- package/dist/cjs/u-password-field.entry.cjs.js.map +1 -0
- package/dist/cjs/u-profile.u-submit-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-profile_2.cjs.entry.js +341 -0
- package/dist/cjs/u-registration-button.cjs.entry.js +48 -0
- package/dist/cjs/u-registration-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-reset-password-button.cjs.entry.js +58 -0
- package/dist/cjs/u-reset-password-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-send-magic-code-button.cjs.entry.js +77 -0
- package/dist/cjs/u-send-magic-code-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-signin-root.cjs.entry.js +43 -0
- package/dist/cjs/u-signin-root.entry.cjs.js.map +1 -0
- package/dist/cjs/u-signin-step.cjs.entry.js +68 -0
- package/dist/cjs/u-signin-step.entry.cjs.js.map +1 -0
- package/dist/cjs/u-social-login-button.cjs.entry.js +100 -0
- package/dist/cjs/u-social-login-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-ticketable-export.cjs.entry.js +77 -0
- package/dist/cjs/u-ticketable-export.entry.cjs.js.map +1 -0
- package/dist/cjs/u-ticketable-list.cjs.entry.js +6135 -0
- package/dist/cjs/u-ticketable-list.entry.cjs.js.map +1 -0
- package/dist/cjs/unidy-store-B5UwroVY.js +41 -0
- package/dist/{sdk/unidy-store-D7cyPf3Z.js.map → cjs/unidy-store-B5UwroVY.js.map} +1 -1
- package/dist/collection/api/base-client.js +129 -0
- package/dist/collection/api/base-client.js.map +1 -0
- package/dist/collection/api/base-service.js +62 -0
- package/dist/collection/api/base-service.js.map +1 -0
- package/dist/collection/api/client.js +28 -0
- package/dist/collection/api/client.js.map +1 -0
- package/dist/collection/api/index.js +61 -0
- package/dist/collection/api/index.js.map +1 -0
- package/dist/collection/api/shared.js +27 -0
- package/dist/collection/api/shared.js.map +1 -0
- package/dist/collection/api/standalone.js +8187 -0
- package/dist/collection/api/standalone.js.map +1 -0
- package/dist/collection/auth/api/auth.js +257 -0
- package/dist/collection/auth/api/auth.js.map +1 -0
- package/dist/collection/auth/api/schemas.js +108 -0
- package/dist/collection/auth/api/schemas.js.map +1 -0
- package/dist/collection/auth/auth-helpers.js +349 -0
- package/dist/collection/auth/auth-helpers.js.map +1 -0
- package/dist/collection/auth/auth.js +142 -0
- package/dist/collection/auth/auth.js.map +1 -0
- package/dist/collection/auth/components/helpers.js +5 -0
- package/dist/collection/auth/components/helpers.js.map +1 -0
- package/dist/collection/auth/components/jump-to-service/jump-to-service.js +250 -0
- package/dist/collection/auth/components/jump-to-service/jump-to-service.js.map +1 -0
- package/dist/collection/auth/components/jump-to-unidy/jump-to-unidy.js +220 -0
- package/dist/collection/auth/components/jump-to-unidy/jump-to-unidy.js.map +1 -0
- package/dist/collection/auth/components/logout-button/logout-button.js +94 -0
- package/dist/collection/auth/components/logout-button/logout-button.js.map +1 -0
- package/dist/collection/auth/components/magic-code-field/magic-code-field.css +1 -0
- package/dist/collection/auth/components/magic-code-field/magic-code-field.js +113 -0
- package/dist/collection/auth/components/magic-code-field/magic-code-field.js.map +1 -0
- package/dist/collection/auth/components/missing-field/missing-field.js +14 -0
- package/dist/collection/auth/components/missing-field/missing-field.js.map +1 -0
- package/dist/collection/auth/components/missing-fields-submit-button/missing-fields-submit-button.js +42 -0
- package/dist/collection/auth/components/missing-fields-submit-button/missing-fields-submit-button.js.map +1 -0
- package/dist/collection/auth/components/passkey/passkey.js +103 -0
- package/dist/collection/auth/components/passkey/passkey.js.map +1 -0
- package/dist/collection/auth/components/password-field/password-field.js +168 -0
- package/dist/collection/auth/components/password-field/password-field.js.map +1 -0
- package/dist/collection/auth/components/registration/registration-button.js +104 -0
- package/dist/collection/auth/components/registration/registration-button.js.map +1 -0
- package/dist/collection/auth/components/reset-pass-button/reset-pass-button.js +73 -0
- package/dist/collection/auth/components/reset-pass-button/reset-pass-button.js.map +1 -0
- package/dist/collection/auth/components/send-magic-code-button/send-magic-code-button.js +114 -0
- package/dist/collection/auth/components/send-magic-code-button/send-magic-code-button.js.map +1 -0
- package/dist/collection/auth/components/signed-in/signed-in.js +59 -0
- package/dist/collection/auth/components/signed-in/signed-in.js.map +1 -0
- package/dist/collection/auth/components/signin-root/signin-root.js +97 -0
- package/dist/collection/auth/components/signin-root/signin-root.js.map +1 -0
- package/dist/collection/auth/components/signin-step/signin-step.js +138 -0
- package/dist/collection/auth/components/signin-step/signin-step.js.map +1 -0
- package/dist/collection/auth/components/social-logins/logos/apple.js +3 -0
- package/dist/collection/auth/components/social-logins/logos/apple.js.map +1 -0
- package/dist/collection/auth/components/social-logins/logos/discord.js +3 -0
- package/dist/collection/auth/components/social-logins/logos/discord.js.map +1 -0
- package/dist/collection/auth/components/social-logins/logos/facebook.js +3 -0
- package/dist/collection/auth/components/social-logins/logos/facebook.js.map +1 -0
- package/dist/collection/auth/components/social-logins/logos/google.js +3 -0
- package/dist/collection/auth/components/social-logins/logos/google.js.map +1 -0
- package/dist/collection/auth/components/social-logins/logos/linkedin.js +3 -0
- package/dist/collection/auth/components/social-logins/logos/linkedin.js.map +1 -0
- package/dist/collection/auth/components/social-logins/social-login-button.css +1 -0
- package/dist/collection/auth/components/social-logins/social-login-button.js +188 -0
- package/dist/collection/auth/components/social-logins/social-login-button.js.map +1 -0
- package/dist/collection/auth/components/submit-button/auth-submit-button.js +83 -0
- package/dist/collection/auth/components/submit-button/auth-submit-button.js.map +1 -0
- package/dist/{sdk/index-BMNfdXNZ.js → collection/auth/error-definitions.js} +2 -19
- package/dist/collection/auth/error-definitions.js.map +1 -0
- package/dist/collection/auth/index.js +13 -0
- package/dist/collection/auth/index.js.map +1 -0
- package/dist/collection/auth/passkey-auth.js +108 -0
- package/dist/collection/auth/passkey-auth.js.map +1 -0
- package/dist/collection/auth/store/auth-store.js +178 -0
- package/dist/collection/auth/store/auth-store.js.map +1 -0
- package/dist/collection/collection-manifest.json +49 -0
- package/dist/collection/globalScript.js +18 -0
- package/dist/collection/globalScript.js.map +1 -0
- package/dist/collection/i18n.js +31 -0
- package/dist/collection/i18n.js.map +1 -0
- package/dist/collection/index.js +16 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/locales/de.json +137 -0
- package/dist/collection/locales/en.json +139 -0
- package/dist/collection/locales/fr.json +137 -0
- package/dist/collection/locales/it.json +137 -0
- package/dist/collection/locales/nl_be.json +137 -0
- package/dist/collection/locales/ro.json +137 -0
- package/dist/collection/logger.js +106 -0
- package/dist/collection/logger.js.map +1 -0
- package/dist/collection/newsletter/api/newsletters.js +240 -0
- package/dist/collection/newsletter/api/newsletters.js.map +1 -0
- package/dist/collection/newsletter/api/schemas.js +112 -0
- package/dist/collection/newsletter/api/schemas.js.map +1 -0
- package/dist/collection/newsletter/components/consent-checkbox/consent-checkbox.js +105 -0
- package/dist/collection/newsletter/components/consent-checkbox/consent-checkbox.js.map +1 -0
- package/dist/collection/newsletter/components/helpers.js +5 -0
- package/dist/collection/newsletter/components/helpers.js.map +1 -0
- package/dist/collection/newsletter/components/logout-button/logout-button.js +53 -0
- package/dist/collection/newsletter/components/logout-button/logout-button.js.map +1 -0
- package/dist/collection/newsletter/components/newsletter-checkbox/newsletter-checkbox.js +165 -0
- package/dist/collection/newsletter/components/newsletter-checkbox/newsletter-checkbox.js.map +1 -0
- package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js +180 -0
- package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js.map +1 -0
- package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js +234 -0
- package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js.map +1 -0
- package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.css +1 -0
- package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.js +89 -0
- package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.js.map +1 -0
- package/dist/collection/newsletter/components/submit-button/newsletter-submit-button.js +18 -0
- package/dist/collection/newsletter/components/submit-button/newsletter-submit-button.js.map +1 -0
- package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.css +1 -0
- package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.js +154 -0
- package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.js.map +1 -0
- package/dist/collection/newsletter/index.js +11 -0
- package/dist/collection/newsletter/index.js.map +1 -0
- package/dist/collection/newsletter/newsletter-helpers.js +277 -0
- package/dist/collection/newsletter/newsletter-helpers.js.map +1 -0
- package/dist/{sdk/newsletter-store-B--Z69GW.js → collection/newsletter/store/newsletter-store.js} +6 -11
- package/dist/collection/newsletter/store/newsletter-store.js.map +1 -0
- package/dist/collection/profile/api/profile.js +93 -0
- package/dist/collection/profile/api/profile.js.map +1 -0
- package/dist/collection/profile/api/schemas.js +129 -0
- package/dist/collection/profile/api/schemas.js.map +1 -0
- package/dist/collection/profile/components/field/field.css +1 -0
- package/dist/collection/profile/components/field/field.js +355 -0
- package/dist/collection/profile/components/field/field.js.map +1 -0
- package/dist/collection/profile/components/full-profile/full-profile.css +1 -0
- package/dist/collection/profile/components/full-profile/full-profile.js +78 -0
- package/dist/collection/profile/components/full-profile/full-profile.js.map +1 -0
- package/dist/collection/profile/components/profile/profile.js +254 -0
- package/dist/collection/profile/components/profile/profile.js.map +1 -0
- package/dist/collection/profile/components/raw-field/raw-field.js +697 -0
- package/dist/collection/profile/components/raw-field/raw-field.js.map +1 -0
- package/dist/collection/profile/components/raw-input-fields/Input.js +3 -0
- package/dist/collection/profile/components/raw-input-fields/Input.js.map +1 -0
- package/dist/collection/profile/components/raw-input-fields/MultiSelect.js +8 -0
- package/dist/collection/profile/components/raw-input-fields/MultiSelect.js.map +1 -0
- package/dist/collection/profile/components/raw-input-fields/RadioGroup.js +8 -0
- package/dist/collection/profile/components/raw-input-fields/RadioGroup.js.map +1 -0
- package/dist/collection/profile/components/raw-input-fields/Select.js +11 -0
- package/dist/collection/profile/components/raw-input-fields/Select.js.map +1 -0
- package/dist/collection/profile/components/raw-input-fields/Textarea.js +3 -0
- package/dist/collection/profile/components/raw-input-fields/Textarea.js.map +1 -0
- package/dist/collection/profile/components/submit-button/profile-submit-button.js +17 -0
- package/dist/collection/profile/components/submit-button/profile-submit-button.js.map +1 -0
- package/dist/collection/profile/index.js +12 -0
- package/dist/collection/profile/index.js.map +1 -0
- package/dist/collection/profile/profile-helpers.js +31 -0
- package/dist/collection/profile/profile-helpers.js.map +1 -0
- package/dist/collection/profile/store/profile-store.js +14 -0
- package/dist/collection/profile/store/profile-store.js.map +1 -0
- package/dist/collection/sdk.css +41 -0
- package/dist/collection/shared/component-utils.js +84 -0
- package/dist/collection/shared/component-utils.js.map +1 -0
- package/dist/collection/shared/components/conditional-render/conditional-render.js +178 -0
- package/dist/collection/shared/components/conditional-render/conditional-render.js.map +1 -0
- package/dist/collection/shared/components/config/config.js +284 -0
- package/dist/collection/shared/components/config/config.js.map +1 -0
- package/dist/collection/shared/components/email-field/email-field.css +1 -0
- package/dist/collection/shared/components/email-field/email-field.js +145 -0
- package/dist/collection/shared/components/email-field/email-field.js.map +1 -0
- package/dist/collection/shared/components/error-message/error-message.css +1 -0
- package/dist/collection/shared/components/error-message/error-message.js +151 -0
- package/dist/collection/shared/components/error-message/error-message.js.map +1 -0
- package/dist/collection/shared/components/flash-message/close-icon.js +3 -0
- package/dist/collection/shared/components/flash-message/close-icon.js.map +1 -0
- package/dist/collection/shared/components/flash-message/flash-message.css +1 -0
- package/dist/collection/shared/components/flash-message/flash-message.js +79 -0
- package/dist/collection/shared/components/flash-message/flash-message.js.map +1 -0
- package/dist/collection/shared/components/spinner/spinner.css +1 -0
- package/dist/collection/shared/components/spinner/spinner.js +19 -0
- package/dist/collection/shared/components/spinner/spinner.js.map +1 -0
- package/dist/collection/shared/components/submit-button/context.js +10 -0
- package/dist/collection/shared/components/submit-button/context.js.map +1 -0
- package/dist/collection/shared/components/submit-button/submit-button.css +1 -0
- package/dist/collection/shared/components/submit-button/submit-button.js +187 -0
- package/dist/collection/shared/components/submit-button/submit-button.js.map +1 -0
- package/dist/collection/shared/store/flash-store.js +43 -0
- package/dist/collection/shared/store/flash-store.js.map +1 -0
- package/dist/collection/shared/store/unidy-store.js +33 -0
- package/dist/collection/shared/store/unidy-store.js.map +1 -0
- package/dist/collection/ticketable/api/schemas.js +79 -0
- package/dist/collection/ticketable/api/schemas.js.map +1 -0
- package/dist/collection/ticketable/api/subscriptions.js +37 -0
- package/dist/collection/ticketable/api/subscriptions.js.map +1 -0
- package/dist/collection/ticketable/api/ticketable-service.js +101 -0
- package/dist/collection/ticketable/api/ticketable-service.js.map +1 -0
- package/dist/collection/ticketable/api/tickets.js +37 -0
- package/dist/collection/ticketable/api/tickets.js.map +1 -0
- package/dist/collection/ticketable/components/pagination/pagination-button.js +108 -0
- package/dist/collection/ticketable/components/pagination/pagination-button.js.map +1 -0
- package/dist/collection/ticketable/components/pagination/pagination-page.js +69 -0
- package/dist/collection/ticketable/components/pagination/pagination-page.js.map +1 -0
- package/dist/collection/ticketable/components/ticketable-export/ticketable-export.js +177 -0
- package/dist/collection/ticketable/components/ticketable-export/ticketable-export.js.map +1 -0
- package/dist/collection/ticketable/components/ticketable-list/skeleton-helpers.js +54 -0
- package/dist/collection/ticketable/components/ticketable-list/skeleton-helpers.js.map +1 -0
- package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js +544 -0
- package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js.map +1 -0
- package/dist/collection/ticketable/index.js +14 -0
- package/dist/collection/ticketable/index.js.map +1 -0
- package/dist/collection/ticketable/store/pagination-store.js +9 -0
- package/dist/collection/ticketable/store/pagination-store.js.map +1 -0
- package/dist/{sdk/auth-store-BUkCVnmc.js → components/auth-store.js} +7 -7
- package/dist/components/auth-store.js.map +1 -0
- package/dist/{sdk/component-utils-Bblx6fr0.js → components/component-utils.js} +3 -3
- package/dist/components/component-utils.js.map +1 -0
- package/dist/components/exports.js +4262 -0
- package/dist/components/exports.js.map +1 -0
- package/dist/{sdk/u-field.entry.js → components/field.js} +51 -14
- package/dist/components/field.js.map +1 -0
- package/dist/{sdk/flash-store-DlwI-JiC.js → components/flash-store.js} +3 -4
- package/dist/components/flash-store.js.map +1 -0
- package/dist/components/helpers.js +9 -0
- package/dist/components/helpers.js.map +1 -0
- package/dist/components/helpers2.js +9 -0
- package/dist/components/helpers2.js.map +1 -0
- package/dist/{sdk/i18n-CV7W5c2m.js → components/i18n.js} +5 -19
- package/dist/components/i18n.js.map +1 -0
- package/dist/components/index.js +5977 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +6978 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/{sdk/index-DqBPGY_D.js → components/index3.js} +3 -3
- package/dist/components/index3.js.map +1 -0
- package/dist/components/logger.js +111 -0
- package/dist/components/logger.js.map +1 -0
- package/dist/{sdk/newsletter-helpers-oEOpHOPo.js → components/newsletter-helpers.js} +7 -11
- package/dist/components/newsletter-helpers.js.map +1 -0
- package/dist/{sdk/newsletter-store-BnsDXaes.js → components/newsletter-store.js} +3 -10
- package/dist/components/newsletter-store.js.map +1 -0
- package/dist/components/pagination-store.js +14 -0
- package/dist/components/pagination-store.js.map +1 -0
- package/dist/{sdk/profile-helpers-BWEorwR1.js → components/profile-helpers.js} +4 -4
- package/dist/components/profile-helpers.js.map +1 -0
- package/dist/{sdk/profile-store-CNMno47b.js → components/profile-store.js} +3 -3
- package/dist/components/profile-store.js.map +1 -0
- package/dist/{sdk/u-profile.entry.js → components/profile.js} +38 -17
- package/dist/components/profile.js.map +1 -0
- package/dist/{sdk/u-raw-field.entry.js → components/raw-field.js} +51 -10
- package/dist/components/raw-field.js.map +1 -0
- package/dist/components/spinner.js +35 -0
- package/dist/components/spinner.js.map +1 -0
- package/dist/{sdk/u-submit-button.entry.js → components/submit-button.js} +46 -19
- package/dist/components/submit-button.js.map +1 -0
- package/dist/components/u-conditional-render.js +121 -0
- package/dist/components/u-conditional-render.js.map +1 -0
- package/dist/components/u-config.js +117 -0
- package/dist/components/u-config.js.map +1 -0
- package/dist/components/u-email-field.js +99 -0
- package/dist/components/u-email-field.js.map +1 -0
- package/dist/components/u-error-message.js +114 -0
- package/dist/components/u-error-message.js.map +1 -0
- package/dist/components/u-field.js +9 -0
- package/dist/components/u-field.js.map +1 -0
- package/dist/components/u-flash-message.js +58 -0
- package/dist/components/u-flash-message.js.map +1 -0
- package/dist/components/u-full-profile.js +87 -0
- package/dist/components/u-full-profile.js.map +1 -0
- package/dist/components/u-jump-to-service.js +156 -0
- package/dist/components/u-jump-to-service.js.map +1 -0
- package/dist/components/u-jump-to-unidy.js +162 -0
- package/dist/components/u-jump-to-unidy.js.map +1 -0
- package/dist/components/u-logout-button.js +67 -0
- package/dist/components/u-logout-button.js.map +1 -0
- package/dist/components/u-magic-code-field.js +112 -0
- package/dist/components/u-magic-code-field.js.map +1 -0
- package/dist/components/u-missing-field.js +51 -0
- package/dist/components/u-missing-field.js.map +1 -0
- package/dist/components/u-missing-fields-submit-button.js +73 -0
- package/dist/components/u-missing-fields-submit-button.js.map +1 -0
- package/dist/components/u-newsletter-checkbox.js +93 -0
- package/dist/components/u-newsletter-checkbox.js.map +1 -0
- package/dist/components/u-newsletter-consent-checkbox.js +70 -0
- package/dist/components/u-newsletter-consent-checkbox.js.map +1 -0
- package/dist/components/u-newsletter-logout-button.js +62 -0
- package/dist/components/u-newsletter-logout-button.js.map +1 -0
- package/dist/components/u-newsletter-preference-checkbox.js +140 -0
- package/dist/components/u-newsletter-preference-checkbox.js.map +1 -0
- package/dist/components/u-newsletter-resend-doi-button.js +70 -0
- package/dist/components/u-newsletter-resend-doi-button.js.map +1 -0
- package/dist/components/u-newsletter-root.js +126 -0
- package/dist/components/u-newsletter-root.js.map +1 -0
- package/dist/components/u-newsletter-toggle-subscription-button.js +97 -0
- package/dist/components/u-newsletter-toggle-subscription-button.js.map +1 -0
- package/dist/components/u-pagination-button.js +86 -0
- package/dist/components/u-pagination-button.js.map +1 -0
- package/dist/components/u-pagination-page.js +66 -0
- package/dist/components/u-pagination-page.js.map +1 -0
- package/dist/components/u-passkey.js +71 -0
- package/dist/components/u-passkey.js.map +1 -0
- package/dist/components/u-password-field.js +127 -0
- package/dist/components/u-password-field.js.map +1 -0
- package/dist/components/u-profile.js +9 -0
- package/dist/components/u-profile.js.map +1 -0
- package/dist/components/u-raw-field.js +9 -0
- package/dist/components/u-raw-field.js.map +1 -0
- package/dist/components/u-registration-button.js +70 -0
- package/dist/components/u-registration-button.js.map +1 -0
- package/dist/components/u-reset-password-button.js +82 -0
- package/dist/components/u-reset-password-button.js.map +1 -0
- package/dist/components/u-send-magic-code-button.js +101 -0
- package/dist/components/u-send-magic-code-button.js.map +1 -0
- package/dist/components/u-signed-in.js +44 -0
- package/dist/components/u-signed-in.js.map +1 -0
- package/dist/components/u-signin-root.js +63 -0
- package/dist/components/u-signin-root.js.map +1 -0
- package/dist/components/u-signin-step.js +87 -0
- package/dist/components/u-signin-step.js.map +1 -0
- package/dist/components/u-social-login-button.js +125 -0
- package/dist/components/u-social-login-button.js.map +1 -0
- package/dist/components/u-spinner.js +9 -0
- package/dist/components/u-spinner.js.map +1 -0
- package/dist/components/u-submit-button.js +9 -0
- package/dist/components/u-submit-button.js.map +1 -0
- package/dist/components/u-ticketable-export.js +94 -0
- package/dist/components/u-ticketable-export.js.map +1 -0
- package/dist/components/u-ticketable-list.js +6168 -0
- package/dist/components/u-ticketable-list.js.map +1 -0
- package/dist/{sdk/unidy-store-D7cyPf3Z.js → components/unidy-store.js} +3 -4
- package/dist/components/unidy-store.js.map +1 -0
- package/dist/esm/app-globals-BUJBNGAW.js +8 -0
- package/dist/esm/app-globals-BUJBNGAW.js.map +1 -0
- package/dist/{sdk/auth-store-CUWZBaro.js → esm/auth-store-jfTjeuPE.js} +7 -7
- package/dist/esm/auth-store-jfTjeuPE.js.map +1 -0
- package/dist/{sdk/component-utils-C_qW0XCO.js → esm/component-utils-CkB0GIyB.js} +3 -3
- package/dist/{sdk/component-utils-Bblx6fr0.js.map → esm/component-utils-CkB0GIyB.js.map} +1 -1
- package/dist/{sdk/flash-store-e5uCB0Ig.js → esm/flash-store-DO-dXb40.js} +3 -4
- package/dist/{sdk/flash-store-DlwI-JiC.js.map → esm/flash-store-DO-dXb40.js.map} +1 -1
- package/dist/{sdk/i18n-2AaM891q.js → esm/i18n-BEu7FV0P.js} +4 -19
- package/dist/esm/i18n-BEu7FV0P.js.map +1 -0
- package/dist/esm/index-CN1AXbhP.js +14684 -0
- package/dist/esm/index-CN1AXbhP.js.map +1 -0
- package/dist/{sdk/index-BI6OWNih.js → esm/index-Cu58eGU_.js} +3 -3
- package/dist/{sdk/index-BI6OWNih.js.map → esm/index-Cu58eGU_.js.map} +1 -1
- package/dist/esm/index-Dhzxk9Pc.js +6976 -0
- package/dist/esm/index-Dhzxk9Pc.js.map +1 -0
- package/dist/esm/index.js +88 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +12 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/{sdk/newsletter-helpers-DBakCBbc.js → esm/newsletter-helpers-4c6t2e-5.js} +7 -11
- package/dist/{sdk/newsletter-helpers-DBakCBbc.js.map → esm/newsletter-helpers-4c6t2e-5.js.map} +1 -1
- package/dist/esm/newsletter-store-DIlULaXc.js +36 -0
- package/dist/{sdk/newsletter-store-B--Z69GW.js.map → esm/newsletter-store-DIlULaXc.js.map} +1 -1
- package/dist/esm/pagination-store-DQjMHIQT.js +14 -0
- package/dist/esm/pagination-store-DQjMHIQT.js.map +1 -0
- package/dist/{sdk/profile-helpers-DI8ROqTU.js → esm/profile-helpers-BiYxyzqM.js} +4 -4
- package/dist/{sdk/profile-helpers-BWEorwR1.js.map → esm/profile-helpers-BiYxyzqM.js.map} +1 -1
- package/dist/{sdk/profile-store-EhnINNDt.js → esm/profile-store-P8sUTsCx.js} +3 -3
- package/dist/{sdk/profile-store-CNMno47b.js.map → esm/profile-store-P8sUTsCx.js.map} +1 -1
- package/dist/esm/sdk.js +49 -0
- package/dist/esm/sdk.js.map +1 -0
- package/dist/{sdk → esm}/u-conditional-render.entry.js +13 -13
- package/dist/esm/u-conditional-render.entry.js.map +1 -0
- package/dist/esm/u-config.entry.js +88 -0
- package/dist/esm/u-config.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-email-field.entry.js +8 -8
- package/dist/esm/u-email-field.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-error-message.entry.js +8 -8
- package/dist/esm/u-error-message.entry.js.map +1 -0
- package/dist/esm/u-field.u-raw-field.entry.js.map +1 -0
- package/dist/esm/u-field_2.entry.js +368 -0
- package/dist/{sdk → esm}/u-flash-message.entry.js +4 -4
- package/dist/esm/u-flash-message.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-full-profile.entry.js +8 -8
- package/dist/esm/u-full-profile.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-jump-to-service.entry.js +11 -11
- package/dist/esm/u-jump-to-service.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-jump-to-unidy.entry.js +11 -11
- package/dist/esm/u-jump-to-unidy.entry.js.map +1 -0
- package/dist/esm/u-logout-button.u-signed-in.u-spinner.entry.js.map +1 -0
- package/dist/esm/u-logout-button_3.entry.js +70 -0
- package/dist/{sdk → esm}/u-magic-code-field.entry.js +10 -10
- package/dist/esm/u-magic-code-field.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-missing-field.entry.js +5 -5
- package/dist/esm/u-missing-field.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-missing-fields-submit-button.entry.js +11 -11
- package/dist/esm/u-missing-fields-submit-button.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-newsletter-checkbox.entry.js +13 -13
- package/dist/esm/u-newsletter-checkbox.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-newsletter-consent-checkbox.entry.js +5 -5
- package/dist/esm/u-newsletter-consent-checkbox.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-newsletter-logout-button.entry.js +12 -12
- package/dist/esm/u-newsletter-logout-button.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-newsletter-preference-checkbox.entry.js +13 -13
- package/dist/esm/u-newsletter-preference-checkbox.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-newsletter-resend-doi-button.entry.js +12 -12
- package/dist/esm/u-newsletter-resend-doi-button.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-newsletter-root.entry.js +13 -13
- package/dist/esm/u-newsletter-root.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-newsletter-toggle-subscription-button.entry.js +13 -13
- package/dist/esm/u-newsletter-toggle-subscription-button.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-pagination-button.entry.js +2 -2
- package/dist/esm/u-pagination-button.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-pagination-page.entry.js +2 -2
- package/dist/esm/u-pagination-page.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-passkey.entry.js +10 -10
- package/dist/esm/u-passkey.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-password-field.entry.js +6 -6
- package/dist/esm/u-password-field.entry.js.map +1 -0
- package/dist/esm/u-profile.u-submit-button.entry.js.map +1 -0
- package/dist/esm/u-profile_2.entry.js +338 -0
- package/dist/{sdk → esm}/u-registration-button.entry.js +6 -6
- package/dist/esm/u-registration-button.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-reset-password-button.entry.js +10 -10
- package/dist/esm/u-reset-password-button.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-send-magic-code-button.entry.js +10 -10
- package/dist/esm/u-send-magic-code-button.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-signin-root.entry.js +5 -5
- package/dist/esm/u-signin-root.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-signin-step.entry.js +10 -11
- package/dist/esm/u-signin-step.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-social-login-button.entry.js +6 -6
- package/dist/esm/u-social-login-button.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-ticketable-export.entry.js +11 -11
- package/dist/esm/u-ticketable-export.entry.js.map +1 -0
- package/dist/{sdk → esm}/u-ticketable-list.entry.js +77 -185
- package/dist/esm/u-ticketable-list.entry.js.map +1 -0
- package/dist/{sdk/unidy-store-D61_PC_V.js → esm/unidy-store-DxzF9s8b.js} +3 -4
- package/dist/{sdk/unidy-store-D61_PC_V.js.map → esm/unidy-store-DxzF9s8b.js.map} +1 -1
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/sdk/index.esm.js +2 -21
- package/dist/sdk/index.esm.js.map +1 -1
- package/dist/sdk/loader.esm.js.map +1 -1
- package/dist/sdk/p-05275e2b.entry.js +2 -0
- package/dist/sdk/p-05275e2b.entry.js.map +1 -0
- package/dist/sdk/p-07618f70.entry.js +2 -0
- package/dist/sdk/p-07618f70.entry.js.map +1 -0
- package/dist/sdk/p-0907970d.entry.js +2 -0
- package/dist/sdk/p-0907970d.entry.js.map +1 -0
- package/dist/sdk/p-0d63bfb7.entry.js +2 -0
- package/dist/sdk/p-0d63bfb7.entry.js.map +1 -0
- package/dist/sdk/p-14be9f7e.entry.js +2 -0
- package/dist/sdk/p-14be9f7e.entry.js.map +1 -0
- package/dist/sdk/p-1a85f0ac.entry.js +2 -0
- package/dist/sdk/p-1a85f0ac.entry.js.map +1 -0
- package/dist/sdk/p-252ea63c.entry.js +2 -0
- package/dist/sdk/p-252ea63c.entry.js.map +1 -0
- package/dist/sdk/p-37f41ebe.entry.js +2 -0
- package/dist/sdk/p-37f41ebe.entry.js.map +1 -0
- package/dist/sdk/p-4f356408.entry.js +2 -0
- package/dist/sdk/p-4f356408.entry.js.map +1 -0
- package/dist/sdk/p-50fac183.entry.js +2 -0
- package/dist/sdk/p-50fac183.entry.js.map +1 -0
- package/dist/sdk/p-55bb24b8.entry.js +2 -0
- package/dist/sdk/p-55bb24b8.entry.js.map +1 -0
- package/dist/sdk/p-5963cbe8.entry.js +2 -0
- package/dist/sdk/p-5963cbe8.entry.js.map +1 -0
- package/dist/sdk/p-5a3a9da4.entry.js +2 -0
- package/dist/sdk/p-5a3a9da4.entry.js.map +1 -0
- package/dist/sdk/p-5f679cdc.entry.js +2 -0
- package/dist/sdk/p-5f679cdc.entry.js.map +1 -0
- package/dist/sdk/p-721be1d5.entry.js +2 -0
- package/dist/sdk/p-721be1d5.entry.js.map +1 -0
- package/dist/sdk/p-732df692.entry.js +2 -0
- package/dist/sdk/p-732df692.entry.js.map +1 -0
- package/dist/sdk/p-88fd08e9.entry.js +2 -0
- package/dist/sdk/p-88fd08e9.entry.js.map +1 -0
- package/dist/sdk/p-8e595f27.entry.js +2 -0
- package/dist/sdk/p-8e595f27.entry.js.map +1 -0
- package/dist/sdk/p-Bd7MKF5m.js +2 -0
- package/dist/sdk/p-Bd7MKF5m.js.map +1 -0
- package/dist/sdk/p-BqFCd65h.js +2 -0
- package/dist/sdk/p-BqFCd65h.js.map +1 -0
- package/dist/sdk/p-BsG95jKk.js +2 -0
- package/dist/sdk/p-BsG95jKk.js.map +1 -0
- package/dist/sdk/p-CGTs-1sG.js +2 -0
- package/dist/sdk/p-CGTs-1sG.js.map +1 -0
- package/dist/sdk/p-CN1AXbhP.js +14 -0
- package/dist/sdk/p-CN1AXbhP.js.map +1 -0
- package/dist/sdk/p-CO2d-UdL.js +2 -0
- package/dist/sdk/p-CO2d-UdL.js.map +1 -0
- package/dist/sdk/p-CZzSXEfp.js +2 -0
- package/dist/sdk/p-CZzSXEfp.js.map +1 -0
- package/dist/sdk/p-DLUGtCcr.js +2 -0
- package/dist/sdk/p-DLUGtCcr.js.map +1 -0
- package/dist/sdk/p-DNz-VHFY.js +2 -0
- package/dist/sdk/p-DNz-VHFY.js.map +1 -0
- package/dist/sdk/p-DUHc_Cx7.js +2 -0
- package/dist/sdk/p-DUHc_Cx7.js.map +1 -0
- package/dist/sdk/p-Dk1iQVWj.js +2 -0
- package/dist/sdk/p-Dk1iQVWj.js.map +1 -0
- package/dist/sdk/p-DpzJOBiF.js +2 -0
- package/dist/sdk/p-DpzJOBiF.js.map +1 -0
- package/dist/sdk/p-DyUy7P1U.js +2 -0
- package/dist/sdk/p-DyUy7P1U.js.map +1 -0
- package/dist/sdk/p-T_H_Ee4y.js +2 -0
- package/dist/sdk/p-T_H_Ee4y.js.map +1 -0
- package/dist/sdk/p-UPFQBkfl.js +2 -0
- package/dist/sdk/p-UPFQBkfl.js.map +1 -0
- package/dist/sdk/p-af8cbc43.entry.js +2 -0
- package/dist/sdk/p-af8cbc43.entry.js.map +1 -0
- package/dist/sdk/p-b1d80944.entry.js +2 -0
- package/dist/sdk/p-b1d80944.entry.js.map +1 -0
- package/dist/sdk/p-b27eb412.entry.js +2 -0
- package/dist/sdk/p-b27eb412.entry.js.map +1 -0
- package/dist/sdk/p-c06d1f39.entry.js +2 -0
- package/dist/sdk/p-c06d1f39.entry.js.map +1 -0
- package/dist/sdk/p-c11a52db.entry.js +2 -0
- package/dist/sdk/p-c11a52db.entry.js.map +1 -0
- package/dist/sdk/p-cba59a50.entry.js +2 -0
- package/dist/sdk/p-cba59a50.entry.js.map +1 -0
- package/dist/sdk/p-d1ceffb5.entry.js +2 -0
- package/dist/sdk/p-d1ceffb5.entry.js.map +1 -0
- package/dist/sdk/p-d39c5ec5.entry.js +2 -0
- package/dist/sdk/p-d39c5ec5.entry.js.map +1 -0
- package/dist/sdk/p-d5abf52e.entry.js +2 -0
- package/dist/sdk/p-d5abf52e.entry.js.map +1 -0
- package/dist/sdk/p-ef48ecf3.entry.js +2 -0
- package/dist/sdk/p-ef48ecf3.entry.js.map +1 -0
- package/dist/sdk/p-f1ab60fb.entry.js +2 -0
- package/dist/sdk/p-f1ab60fb.entry.js.map +1 -0
- package/dist/sdk/p-f20d707f.entry.js +2 -0
- package/dist/sdk/p-f20d707f.entry.js.map +1 -0
- package/dist/sdk/p-f3ecc389.entry.js +2 -0
- package/dist/sdk/p-f3ecc389.entry.js.map +1 -0
- package/dist/sdk/p-f3ef65bf.entry.js +2 -0
- package/dist/sdk/p-f3ef65bf.entry.js.map +1 -0
- package/dist/sdk/p-fb5a05c4.entry.js +2 -0
- package/dist/sdk/p-fb5a05c4.entry.js.map +1 -0
- package/dist/sdk/p-rDrzStoU.js +2 -0
- package/dist/sdk/p-rDrzStoU.js.map +1 -0
- package/dist/sdk/sdk.esm.js +2 -48
- package/dist/sdk/sdk.esm.js.map +1 -1
- package/dist/sdk/u-config.entry.esm.js.map +1 -1
- package/dist/sdk/u-field.u-raw-field.entry.esm.js.map +1 -0
- package/dist/sdk/u-full-profile.entry.esm.js.map +1 -1
- package/dist/sdk/u-logout-button.u-signed-in.u-spinner.entry.esm.js.map +1 -0
- package/dist/sdk/u-magic-code-field.entry.esm.js.map +1 -1
- package/dist/sdk/u-profile.u-submit-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-signin-step.entry.esm.js.map +1 -1
- package/dist/sdk/u-ticketable-list.entry.esm.js.map +1 -1
- 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/package.json +1 -1
- package/dist/sdk/auth-store-BUkCVnmc.js.map +0 -1
- package/dist/sdk/auth-store-CUWZBaro.js.map +0 -1
- package/dist/sdk/i18n-2AaM891q.js.map +0 -1
- package/dist/sdk/i18n-CV7W5c2m.js.map +0 -1
- package/dist/sdk/index-43kW-cRW.js +0 -16554
- package/dist/sdk/index-43kW-cRW.js.map +0 -1
- package/dist/sdk/index-BJ9baKLf.js +0 -50807
- package/dist/sdk/index-BJ9baKLf.js.map +0 -1
- package/dist/sdk/index-BMNfdXNZ.js.map +0 -1
- package/dist/sdk/index-DT1dqr52.js +0 -16554
- package/dist/sdk/index-DT1dqr52.js.map +0 -1
- package/dist/sdk/index-c3-TOsJ7.js +0 -43
- package/dist/sdk/index-c3-TOsJ7.js.map +0 -1
- package/dist/sdk/index-j039TWml.js +0 -50807
- package/dist/sdk/index-j039TWml.js.map +0 -1
- package/dist/sdk/u-config.entry.js +0 -6542
- package/dist/sdk/u-field.entry.esm.js.map +0 -1
- package/dist/sdk/u-logout-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-logout-button.entry.js +0 -42
- package/dist/sdk/u-profile.entry.esm.js.map +0 -1
- package/dist/sdk/u-raw-field.entry.esm.js.map +0 -1
- package/dist/sdk/u-signed-in.entry.esm.js.map +0 -1
- package/dist/sdk/u-signed-in.entry.js +0 -23
- package/dist/sdk/u-spinner.entry.esm.js.map +0 -1
- package/dist/sdk/u-spinner.entry.js +0 -16
- package/dist/sdk/u-submit-button.entry.esm.js.map +0 -1
- package/dist/types/newsletter/components/newsletter-field/newsletter-field.d.ts +0 -18
- /package/dist/{sdk → esm}/helpers-BqFCd65h.js +0 -0
- /package/dist/{sdk → esm}/helpers-BqFCd65h.js.map +0 -0
- /package/dist/{sdk → esm}/helpers-DUHc_Cx7.js +0 -0
- /package/dist/{sdk → esm}/helpers-DUHc_Cx7.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-globals-DLXy8pb2.js","sources":["@stencil/core/internal/app-globals"],"sourcesContent":["import appGlobalScript from '/Users/fran/work/unidy-sdk/packages/sdk/src/globalScript.ts';\nexport const globalScripts = appGlobalScript;\nexport const globalStyles = \"\";\n"],"names":["appGlobalScript"],"mappings":";;;;AACY,MAAC,aAAa,GAAGA;;;;"}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Cg65bddR.js');
|
|
4
|
+
var unidyStore = require('./unidy-store-B5UwroVY.js');
|
|
5
|
+
|
|
6
|
+
const missingRequiredUserDefaultFields = () => {
|
|
7
|
+
const fields = store.state.missingRequiredFields ?? {};
|
|
8
|
+
const { custom_attributes, ...missingRequiredUserDefaultFields } = fields;
|
|
9
|
+
return missingRequiredUserDefaultFields;
|
|
10
|
+
};
|
|
11
|
+
const missingRequiredCustomAttributeFields = () => {
|
|
12
|
+
const fields = store.state.missingRequiredFields ?? {};
|
|
13
|
+
return (fields?.custom_attributes ?? {});
|
|
14
|
+
};
|
|
15
|
+
const missingFieldNames = () => {
|
|
16
|
+
const userDefaultFields = Object.keys(missingRequiredUserDefaultFields());
|
|
17
|
+
const ca = Object.keys(missingRequiredCustomAttributeFields()).map((k) => `custom_attributes.${k}`);
|
|
18
|
+
return [...userDefaultFields, ...ca];
|
|
19
|
+
};
|
|
20
|
+
const SESSION_KEYS = {
|
|
21
|
+
SID: "unidy_signin_id",
|
|
22
|
+
TOKEN: "unidy_token",
|
|
23
|
+
EMAIL: "unidy_email",
|
|
24
|
+
};
|
|
25
|
+
const saveToStorage = (storage, key, value) => {
|
|
26
|
+
if (value) {
|
|
27
|
+
storage.setItem(key, value);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
storage.removeItem(key);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
const initialState = {
|
|
34
|
+
step: undefined,
|
|
35
|
+
email: localStorage.getItem(SESSION_KEYS.EMAIL) ?? "",
|
|
36
|
+
password: "",
|
|
37
|
+
magicCodeStep: null,
|
|
38
|
+
resetPassword: {
|
|
39
|
+
step: null,
|
|
40
|
+
token: null,
|
|
41
|
+
newPassword: "",
|
|
42
|
+
passwordConfirmation: "",
|
|
43
|
+
},
|
|
44
|
+
sid: localStorage.getItem(SESSION_KEYS.SID),
|
|
45
|
+
loading: false,
|
|
46
|
+
errors: {
|
|
47
|
+
email: null,
|
|
48
|
+
password: null,
|
|
49
|
+
magicCode: null,
|
|
50
|
+
resetPassword: null,
|
|
51
|
+
passkey: null,
|
|
52
|
+
},
|
|
53
|
+
globalErrors: {},
|
|
54
|
+
authenticated: false,
|
|
55
|
+
missingRequiredFields: undefined,
|
|
56
|
+
availableLoginOptions: {
|
|
57
|
+
magic_link: false,
|
|
58
|
+
password: false,
|
|
59
|
+
social_logins: [],
|
|
60
|
+
passkey: true,
|
|
61
|
+
},
|
|
62
|
+
token: localStorage.getItem(SESSION_KEYS.TOKEN),
|
|
63
|
+
backendSignedIn: false,
|
|
64
|
+
};
|
|
65
|
+
const store = index.createStore(initialState);
|
|
66
|
+
const { state, reset } = store;
|
|
67
|
+
const authStoreOnChange = store.onChange;
|
|
68
|
+
class AuthStore {
|
|
69
|
+
rootComponentRef = null;
|
|
70
|
+
setRootComponentRef(ref) {
|
|
71
|
+
this.rootComponentRef = ref;
|
|
72
|
+
}
|
|
73
|
+
getRootComponentRef() {
|
|
74
|
+
return this.rootComponentRef;
|
|
75
|
+
}
|
|
76
|
+
get state() {
|
|
77
|
+
return state;
|
|
78
|
+
}
|
|
79
|
+
setInitialStep(step) {
|
|
80
|
+
if (state.step === undefined)
|
|
81
|
+
state.step = step;
|
|
82
|
+
}
|
|
83
|
+
setEmail(email) {
|
|
84
|
+
state.email = email;
|
|
85
|
+
state.errors.email = null;
|
|
86
|
+
saveToStorage(localStorage, SESSION_KEYS.EMAIL, email);
|
|
87
|
+
}
|
|
88
|
+
setPassword(password) {
|
|
89
|
+
state.password = password;
|
|
90
|
+
state.errors.password = null;
|
|
91
|
+
}
|
|
92
|
+
setMissingFields(fields) {
|
|
93
|
+
state.missingRequiredFields = fields;
|
|
94
|
+
}
|
|
95
|
+
setLoginOptions(availableLoginOptions) {
|
|
96
|
+
state.availableLoginOptions = availableLoginOptions;
|
|
97
|
+
}
|
|
98
|
+
setLoading(loading) {
|
|
99
|
+
state.loading = loading;
|
|
100
|
+
}
|
|
101
|
+
setFieldError(field, error) {
|
|
102
|
+
if (!this.handleError(error))
|
|
103
|
+
return;
|
|
104
|
+
state.errors = { ...state.errors, [field]: error };
|
|
105
|
+
}
|
|
106
|
+
setGlobalError(key, error) {
|
|
107
|
+
if (!this.handleError(error))
|
|
108
|
+
return;
|
|
109
|
+
state.globalErrors = { ...state.globalErrors, [key]: error };
|
|
110
|
+
}
|
|
111
|
+
handleError(error) {
|
|
112
|
+
if (!error)
|
|
113
|
+
return true;
|
|
114
|
+
if (error === "connection_failed") {
|
|
115
|
+
unidyStore.unidyState.backendConnected = false;
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
if (error === "sign_in_not_found") {
|
|
119
|
+
this.reset();
|
|
120
|
+
return false;
|
|
121
|
+
}
|
|
122
|
+
this.rootComponentRef?.onError(error);
|
|
123
|
+
return true;
|
|
124
|
+
}
|
|
125
|
+
clearFieldError(field) {
|
|
126
|
+
state.errors = { ...state.errors, [field]: null };
|
|
127
|
+
}
|
|
128
|
+
clearErrors() {
|
|
129
|
+
state.errors = initialState.errors;
|
|
130
|
+
state.globalErrors = {};
|
|
131
|
+
}
|
|
132
|
+
setStep(step) {
|
|
133
|
+
state.step = step;
|
|
134
|
+
}
|
|
135
|
+
setSignInId(signInId) {
|
|
136
|
+
state.sid = signInId;
|
|
137
|
+
saveToStorage(localStorage, SESSION_KEYS.SID, signInId);
|
|
138
|
+
}
|
|
139
|
+
setBackendSignedIn(backendSignedIn) {
|
|
140
|
+
state.backendSignedIn = backendSignedIn;
|
|
141
|
+
}
|
|
142
|
+
setToken(token) {
|
|
143
|
+
state.token = token;
|
|
144
|
+
saveToStorage(localStorage, SESSION_KEYS.TOKEN, token);
|
|
145
|
+
this.setAuthenticated(!!token);
|
|
146
|
+
}
|
|
147
|
+
setMagicCodeStep(step) {
|
|
148
|
+
state.magicCodeStep = step;
|
|
149
|
+
}
|
|
150
|
+
setResetPasswordStep(step) {
|
|
151
|
+
state.resetPassword = { ...state.resetPassword, step };
|
|
152
|
+
}
|
|
153
|
+
setResetToken(token) {
|
|
154
|
+
state.resetPassword = { ...state.resetPassword, token };
|
|
155
|
+
}
|
|
156
|
+
setNewPassword(password) {
|
|
157
|
+
state.resetPassword = { ...state.resetPassword, newPassword: password };
|
|
158
|
+
}
|
|
159
|
+
setConfirmPassword(password) {
|
|
160
|
+
state.resetPassword = { ...state.resetPassword, passwordConfirmation: password };
|
|
161
|
+
}
|
|
162
|
+
updateResetPassword(updates) {
|
|
163
|
+
state.resetPassword = { ...state.resetPassword, ...updates };
|
|
164
|
+
}
|
|
165
|
+
setAuthenticated(authenticated) {
|
|
166
|
+
state.authenticated = authenticated;
|
|
167
|
+
if (!authenticated) {
|
|
168
|
+
state.token = null;
|
|
169
|
+
state.sid = null;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
reset() {
|
|
173
|
+
reset();
|
|
174
|
+
saveToStorage(localStorage, SESSION_KEYS.SID, null);
|
|
175
|
+
saveToStorage(localStorage, SESSION_KEYS.EMAIL, null);
|
|
176
|
+
saveToStorage(localStorage, SESSION_KEYS.TOKEN, null);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
const authStore = new AuthStore();
|
|
180
|
+
|
|
181
|
+
exports.authStore = authStore;
|
|
182
|
+
exports.authStoreOnChange = authStoreOnChange;
|
|
183
|
+
exports.missingFieldNames = missingFieldNames;
|
|
184
|
+
exports.state = state;
|
|
185
|
+
//# sourceMappingURL=auth-store-DCnSHkNc.js.map
|
|
186
|
+
|
|
187
|
+
//# sourceMappingURL=auth-store-DCnSHkNc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-store-DCnSHkNc.js","sources":["src/auth/store/auth-store.ts"],"sourcesContent":["import { createStore } from \"@stencil/store\";\nimport type { ProfileNode } from \"../../profile\";\nimport { unidyState } from \"../../shared/store/unidy-store\";\nimport type { LoginOptions, RequiredFieldsResponse } from \"../api/auth\";\nimport type { SigninRoot } from \"../components/signin-root/signin-root\";\n\nexport type AuthStep = \"email\" | \"verification\" | \"magic-code\" | \"missing-fields\" | \"reset-password\" | \"registration\" | \"single-login\";\n\nexport interface AuthState {\n step: AuthStep;\n sid: string | null;\n email: string;\n password: string;\n\n magicCodeStep: null | \"requested\" | \"sent\";\n resetPassword: {\n step: null | \"requested\" | \"sent\" | \"completed\";\n token: string | null;\n newPassword: string;\n passwordConfirmation: string;\n };\n missingRequiredFields?: RequiredFieldsResponse[\"fields\"];\n availableLoginOptions: LoginOptions | null;\n\n loading: boolean;\n errors: Record<\"email\" | \"password\" | \"magicCode\" | \"resetPassword\" | \"passkey\", string | null>;\n globalErrors: Record<string, string | null>;\n\n authenticated: boolean;\n token: string | null;\n backendSignedIn: boolean;\n}\n\nconst missingRequiredUserDefaultFields = () => {\n const fields = store.state.missingRequiredFields ?? ({} as RequiredFieldsResponse[\"fields\"]);\n const { custom_attributes, ...missingRequiredUserDefaultFields } = fields;\n return missingRequiredUserDefaultFields as Record<string, ProfileNode>;\n};\n\nconst missingRequiredCustomAttributeFields = () => {\n const fields = store.state.missingRequiredFields ?? ({} as RequiredFieldsResponse[\"fields\"]);\n return (fields?.custom_attributes ?? {}) as Record<string, ProfileNode>;\n};\n\nexport const missingFieldNames = () => {\n const userDefaultFields = Object.keys(missingRequiredUserDefaultFields());\n const ca = Object.keys(missingRequiredCustomAttributeFields()).map((k) => `custom_attributes.${k}`);\n return [...userDefaultFields, ...ca];\n};\n\nconst SESSION_KEYS = {\n SID: \"unidy_signin_id\",\n TOKEN: \"unidy_token\",\n EMAIL: \"unidy_email\",\n} as const;\n\nconst saveToStorage = (storage: Storage, key: string, value: string | null) => {\n if (value) {\n storage.setItem(key, value);\n } else {\n storage.removeItem(key);\n }\n};\n\nconst initialState: AuthState = {\n step: undefined,\n email: localStorage.getItem(SESSION_KEYS.EMAIL) ?? \"\",\n password: \"\",\n magicCodeStep: null,\n resetPassword: {\n step: null,\n token: null,\n newPassword: \"\",\n passwordConfirmation: \"\",\n },\n sid: localStorage.getItem(SESSION_KEYS.SID),\n loading: false,\n errors: {\n email: null,\n password: null,\n magicCode: null,\n resetPassword: null,\n passkey: null,\n },\n globalErrors: {},\n authenticated: false,\n missingRequiredFields: undefined,\n availableLoginOptions: {\n magic_link: false,\n password: false,\n social_logins: [],\n passkey: true,\n },\n token: localStorage.getItem(SESSION_KEYS.TOKEN),\n backendSignedIn: false,\n};\n\nconst store = createStore<AuthState>(initialState);\nconst { state, reset } = store;\n\nconst authStoreOnChange: <K extends keyof AuthState>(prop: K, cb: (value: AuthState[K]) => void) => () => void = store.onChange;\n\nclass AuthStore {\n private rootComponentRef: SigninRoot | null = null;\n\n setRootComponentRef(ref: SigninRoot) {\n this.rootComponentRef = ref;\n }\n\n getRootComponentRef() {\n return this.rootComponentRef;\n }\n\n get state() {\n return state;\n }\n\n setInitialStep(step: AuthStep) {\n if (state.step === undefined) state.step = step;\n }\n\n setEmail(email: string) {\n state.email = email;\n state.errors.email = null;\n saveToStorage(localStorage, SESSION_KEYS.EMAIL, email);\n }\n\n setPassword(password: string) {\n state.password = password;\n state.errors.password = null;\n }\n\n setMissingFields(fields: RequiredFieldsResponse[\"fields\"]) {\n state.missingRequiredFields = fields;\n }\n\n setLoginOptions(availableLoginOptions: LoginOptions) {\n state.availableLoginOptions = availableLoginOptions;\n }\n\n setLoading(loading: boolean) {\n state.loading = loading;\n }\n\n setFieldError(field: \"email\" | \"password\" | \"magicCode\" | \"resetPassword\" | \"passkey\", error: string | null) {\n if (!this.handleError(error)) return;\n\n state.errors = { ...state.errors, [field]: error };\n }\n\n setGlobalError(key: string, error: string | null) {\n if (!this.handleError(error)) return;\n state.globalErrors = { ...state.globalErrors, [key]: error };\n }\n\n private handleError(error: string | null): boolean {\n if (!error) return true;\n\n if (error === \"connection_failed\") {\n unidyState.backendConnected = false;\n return false;\n }\n\n if (error === \"sign_in_not_found\") {\n this.reset();\n return false;\n }\n\n this.rootComponentRef?.onError(error);\n return true;\n }\n\n clearFieldError(field: \"email\" | \"password\" | \"magicCode\" | \"resetPassword\" | \"passkey\") {\n state.errors = { ...state.errors, [field]: null } as Record<\n \"email\" | \"password\" | \"magicCode\" | \"resetPassword\" | \"passkey\",\n string | null\n >;\n }\n\n clearErrors() {\n state.errors = initialState.errors;\n state.globalErrors = {};\n }\n\n setStep(step: AuthStep) {\n state.step = step;\n }\n\n setSignInId(signInId: string) {\n state.sid = signInId;\n saveToStorage(localStorage, SESSION_KEYS.SID, signInId);\n }\n\n setBackendSignedIn(backendSignedIn: boolean) {\n state.backendSignedIn = backendSignedIn;\n }\n\n setToken(token: string) {\n state.token = token;\n saveToStorage(localStorage, SESSION_KEYS.TOKEN, token);\n this.setAuthenticated(!!token);\n }\n\n setMagicCodeStep(step: null | \"requested\" | \"sent\") {\n state.magicCodeStep = step;\n }\n\n setResetPasswordStep(step: null | \"requested\" | \"sent\" | \"completed\") {\n state.resetPassword = { ...state.resetPassword, step };\n }\n\n setResetToken(token: string | null) {\n state.resetPassword = { ...state.resetPassword, token };\n }\n\n setNewPassword(password: string) {\n state.resetPassword = { ...state.resetPassword, newPassword: password };\n }\n\n setConfirmPassword(password: string) {\n state.resetPassword = { ...state.resetPassword, passwordConfirmation: password };\n }\n\n updateResetPassword(updates: Partial<AuthState[\"resetPassword\"]>) {\n state.resetPassword = { ...state.resetPassword, ...updates };\n }\n\n setAuthenticated(authenticated: boolean) {\n state.authenticated = authenticated;\n\n if (!authenticated) {\n state.token = null;\n state.sid = null;\n }\n }\n\n reset() {\n reset();\n saveToStorage(localStorage, SESSION_KEYS.SID, null);\n saveToStorage(localStorage, SESSION_KEYS.EMAIL, null);\n saveToStorage(localStorage, SESSION_KEYS.TOKEN, null);\n }\n}\n\nexport const authStore = new AuthStore();\nexport { state as authState, authStoreOnChange as onChange };\n"],"names":["createStore","unidyState"],"mappings":"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"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-NGw-4PfV.js');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Checks if a Stencil component's slot has content.
|
|
7
|
+
* Use this in components to render fallback content when a slot is empty.
|
|
8
|
+
*
|
|
9
|
+
* IMPORTANT: (for shadow: false components)
|
|
10
|
+
* You MUST call this in `componentWillLoad()` and cache the result in an instance property.
|
|
11
|
+
* After the first render, `element.childNodes` will contain both user-provided slot content
|
|
12
|
+
* AND the component's rendered internal elements (like <button>), causing false positives.
|
|
13
|
+
*
|
|
14
|
+
* Take a look at the https://stenciljs.com/docs/templating-jsx#slots-outside-shadow-dom
|
|
15
|
+
*
|
|
16
|
+
* @param element - The host element of the component (accessed via @Element())
|
|
17
|
+
* @returns true if the slot has content, false otherwise
|
|
18
|
+
*/
|
|
19
|
+
function hasSlotContent(element) {
|
|
20
|
+
if (!element.hasChildNodes())
|
|
21
|
+
return false;
|
|
22
|
+
for (const child of Array.from(element.childNodes)) {
|
|
23
|
+
if (child.nodeType === Node.ELEMENT_NODE)
|
|
24
|
+
return true;
|
|
25
|
+
if (child.nodeType === Node.TEXT_NODE && child.textContent?.trim())
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Removes a query parameter from the current URL and updates the browser history.
|
|
32
|
+
* Uses `replaceState` to avoid adding a new history entry.
|
|
33
|
+
*
|
|
34
|
+
* @param param - The name of the query parameter to remove
|
|
35
|
+
* @returns The value of the removed parameter, or null if it wasn't present
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* // URL: https://example.com?token=abc123&foo=bar
|
|
40
|
+
* const token = clearUrlParam("token");
|
|
41
|
+
* // token = "abc123"
|
|
42
|
+
* // URL is now: https://example.com?foo=bar
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function clearUrlParam(param) {
|
|
46
|
+
const url = new URL(window.location.href);
|
|
47
|
+
const value = url.searchParams.get(param);
|
|
48
|
+
if (value) {
|
|
49
|
+
url.searchParams.delete(param);
|
|
50
|
+
window.history.replaceState(null, "", url.toString());
|
|
51
|
+
}
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Renders button content with proper slot/loading handling for shadow: false components.
|
|
56
|
+
* When there's slot content, we must always render the <slot /> element to capture it,
|
|
57
|
+
* otherwise the slotted content will be visible even during loading state.
|
|
58
|
+
*
|
|
59
|
+
* @param hasSlot - Whether the component has slotted content
|
|
60
|
+
* @param loading - Whether the component is in a loading state
|
|
61
|
+
* @param defaultText - The default text to display when there's no slot content
|
|
62
|
+
* @returns JSX content for the button
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```tsx
|
|
66
|
+
* render() {
|
|
67
|
+
* return (
|
|
68
|
+
* <button>
|
|
69
|
+
* {renderButtonContent(this.hasSlot, this.loading, t("buttons.submit"))}
|
|
70
|
+
* </button>
|
|
71
|
+
* );
|
|
72
|
+
* }
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
function renderButtonContent(hasSlot, loading, defaultText) {
|
|
76
|
+
if (hasSlot) {
|
|
77
|
+
return [
|
|
78
|
+
loading && index.h("u-spinner", { key: "spinner" }),
|
|
79
|
+
index.h("span", { key: "slot", style: { display: loading ? "none" : "contents" } }, index.h("slot", null)),
|
|
80
|
+
];
|
|
81
|
+
}
|
|
82
|
+
if (loading) {
|
|
83
|
+
return index.h("u-spinner", null);
|
|
84
|
+
}
|
|
85
|
+
return defaultText;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
exports.clearUrlParam = clearUrlParam;
|
|
89
|
+
exports.hasSlotContent = hasSlotContent;
|
|
90
|
+
exports.renderButtonContent = renderButtonContent;
|
|
91
|
+
//# sourceMappingURL=component-utils-DQm3vEjs.js.map
|
|
92
|
+
|
|
93
|
+
//# sourceMappingURL=component-utils-DQm3vEjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-utils-
|
|
1
|
+
{"version":3,"file":"component-utils-DQm3vEjs.js","sources":["src/shared/component-utils.tsx"],"sourcesContent":["import { h } from \"@stencil/core\";\n\n/**\n * Checks if a Stencil component's slot has content.\n * Use this in components to render fallback content when a slot is empty.\n *\n * IMPORTANT: (for shadow: false components)\n * You MUST call this in `componentWillLoad()` and cache the result in an instance property.\n * After the first render, `element.childNodes` will contain both user-provided slot content\n * AND the component's rendered internal elements (like <button>), causing false positives.\n *\n * Take a look at the https://stenciljs.com/docs/templating-jsx#slots-outside-shadow-dom\n *\n * @param element - The host element of the component (accessed via @Element())\n * @returns true if the slot has content, false otherwise\n */\nexport function hasSlotContent(element: HTMLElement): boolean {\n if (!element.hasChildNodes()) return false;\n\n for (const child of Array.from(element.childNodes)) {\n if (child.nodeType === Node.ELEMENT_NODE) return true;\n if (child.nodeType === Node.TEXT_NODE && child.textContent?.trim()) return true;\n }\n\n return false;\n}\n\n/**\n * Removes a query parameter from the current URL and updates the browser history.\n * Uses `replaceState` to avoid adding a new history entry.\n *\n * @param param - The name of the query parameter to remove\n * @returns The value of the removed parameter, or null if it wasn't present\n *\n * @example\n * ```ts\n * // URL: https://example.com?token=abc123&foo=bar\n * const token = clearUrlParam(\"token\");\n * // token = \"abc123\"\n * // URL is now: https://example.com?foo=bar\n * ```\n */\nexport function clearUrlParam(param: string): string | null {\n const url = new URL(window.location.href);\n const value = url.searchParams.get(param);\n\n if (value) {\n url.searchParams.delete(param);\n window.history.replaceState(null, \"\", url.toString());\n }\n\n return value;\n}\n\n/**\n * Renders button content with proper slot/loading handling for shadow: false components.\n * When there's slot content, we must always render the <slot /> element to capture it,\n * otherwise the slotted content will be visible even during loading state.\n *\n * @param hasSlot - Whether the component has slotted content\n * @param loading - Whether the component is in a loading state\n * @param defaultText - The default text to display when there's no slot content\n * @returns JSX content for the button\n *\n * @example\n * ```tsx\n * render() {\n * return (\n * <button>\n * {renderButtonContent(this.hasSlot, this.loading, t(\"buttons.submit\"))}\n * </button>\n * );\n * }\n * ```\n */\nexport function renderButtonContent(hasSlot: boolean, loading: boolean, defaultText: string) {\n if (hasSlot) {\n return [\n loading && <u-spinner key=\"spinner\" />,\n <span key=\"slot\" style={{ display: loading ? \"none\" : \"contents\" }}>\n <slot />\n </span>,\n ];\n }\n\n if (loading) {\n return <u-spinner />;\n }\n\n return defaultText;\n}\n"],"names":["h"],"mappings":";;;;AAEA;;;;;;;;;;;;;AAaG;AACG,SAAU,cAAc,CAAC,OAAoB,EAAA;AACjD,IAAA,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE;AAAE,QAAA,OAAO,KAAK;AAE1C,IAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;AAClD,QAAA,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,YAAY;AAAE,YAAA,OAAO,IAAI;AACrD,QAAA,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,WAAW,EAAE,IAAI,EAAE;AAAE,YAAA,OAAO,IAAI;;AAGjF,IAAA,OAAO,KAAK;AACd;AAEA;;;;;;;;;;;;;;AAcG;AACG,SAAU,aAAa,CAAC,KAAa,EAAA;IACzC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;IACzC,MAAM,KAAK,GAAG,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC;IAEzC,IAAI,KAAK,EAAE;AACT,QAAA,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC;AAC9B,QAAA,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,QAAQ,EAAE,CAAC;;AAGvD,IAAA,OAAO,KAAK;AACd;AAEA;;;;;;;;;;;;;;;;;;;;AAoBG;SACa,mBAAmB,CAAC,OAAgB,EAAE,OAAgB,EAAE,WAAmB,EAAA;IACzF,IAAI,OAAO,EAAE;QACX,OAAO;YACL,OAAO,IAAIA,OAAA,CAAA,WAAA,EAAA,EAAW,GAAG,EAAC,SAAS,EAAG,CAAA;AACtC,YAAAA,OAAA,CAAA,MAAA,EAAA,EAAM,GAAG,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,EAAE,EAAA,EAChEA,OAAA,CAAA,MAAA,EAAA,IAAA,CAAQ,CACH;SACR;;IAGH,IAAI,OAAO,EAAE;AACX,QAAA,OAAOA,0BAAa;;AAGtB,IAAA,OAAO,WAAW;AACpB;;;;;;"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Cg65bddR.js');
|
|
4
|
+
|
|
5
|
+
const store = index.createStore({
|
|
6
|
+
messages: [],
|
|
7
|
+
autoRemoveDelay: null,
|
|
8
|
+
});
|
|
9
|
+
let idCounter = 0;
|
|
10
|
+
class FlashStore {
|
|
11
|
+
get state() {
|
|
12
|
+
return store.state;
|
|
13
|
+
}
|
|
14
|
+
addMessage(text, variant) {
|
|
15
|
+
const id = `flash-${++idCounter}`;
|
|
16
|
+
store.state.messages = [...store.state.messages, { id, text, variant }];
|
|
17
|
+
if (store.state.autoRemoveDelay) {
|
|
18
|
+
setTimeout(() => this.remove(id), store.state.autoRemoveDelay);
|
|
19
|
+
}
|
|
20
|
+
return id;
|
|
21
|
+
}
|
|
22
|
+
remove(id) {
|
|
23
|
+
store.state.messages = store.state.messages.filter((m) => m.id !== id);
|
|
24
|
+
}
|
|
25
|
+
clear(variant) {
|
|
26
|
+
if (variant) {
|
|
27
|
+
store.state.messages = store.state.messages.filter((m) => m.variant !== variant);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
store.state.messages = [];
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
success = {
|
|
34
|
+
addMessage: (text) => this.addMessage(text, "success"),
|
|
35
|
+
};
|
|
36
|
+
error = {
|
|
37
|
+
addMessage: (text) => this.addMessage(text, "error"),
|
|
38
|
+
};
|
|
39
|
+
info = {
|
|
40
|
+
addMessage: (text) => this.addMessage(text, "info"),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
const Flash = new FlashStore();
|
|
44
|
+
const flashState = store.state;
|
|
45
|
+
|
|
46
|
+
exports.Flash = Flash;
|
|
47
|
+
exports.flashState = flashState;
|
|
48
|
+
//# sourceMappingURL=flash-store-xkXWKORM.js.map
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=flash-store-xkXWKORM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flash-store-
|
|
1
|
+
{"version":3,"file":"flash-store-xkXWKORM.js","sources":["src/shared/store/flash-store.ts"],"sourcesContent":["import { createStore } from \"@stencil/store\";\n\nexport type FlashVariant = \"error\" | \"success\" | \"info\";\n\nexport interface FlashMessage {\n id: string;\n text: string;\n variant: FlashVariant;\n}\n\ninterface FlashState {\n messages: FlashMessage[];\n autoRemoveDelay: number | null;\n}\n\nconst store = createStore<FlashState>({\n messages: [],\n autoRemoveDelay: null,\n});\n\nlet idCounter = 0;\n\nclass FlashStore {\n get state() {\n return store.state;\n }\n\n private addMessage(text: string, variant: FlashVariant): string {\n const id = `flash-${++idCounter}`;\n store.state.messages = [...store.state.messages, { id, text, variant }];\n\n if (store.state.autoRemoveDelay) {\n setTimeout(() => this.remove(id), store.state.autoRemoveDelay);\n }\n\n return id;\n }\n\n remove(id: string) {\n store.state.messages = store.state.messages.filter((m) => m.id !== id);\n }\n\n clear(variant?: FlashVariant) {\n if (variant) {\n store.state.messages = store.state.messages.filter((m) => m.variant !== variant);\n } else {\n store.state.messages = [];\n }\n }\n\n success = {\n addMessage: (text: string) => this.addMessage(text, \"success\"),\n };\n\n error = {\n addMessage: (text: string) => this.addMessage(text, \"error\"),\n };\n\n info = {\n addMessage: (text: string) => this.addMessage(text, \"info\"),\n };\n}\n\nexport const Flash = new FlashStore();\nexport const flashState = store.state;\nexport const onFlashChange: <K extends keyof FlashState>(prop: K, cb: (value: FlashState[K]) => void) => () => void = store.onChange;\n"],"names":["createStore"],"mappings":";;;;AAeA,MAAM,KAAK,GAAGA,iBAAW,CAAa;AACpC,IAAA,QAAQ,EAAE,EAAE;AACZ,IAAA,eAAe,EAAE,IAAI;AACtB,CAAA,CAAC;AAEF,IAAI,SAAS,GAAG,CAAC;AAEjB,MAAM,UAAU,CAAA;AACd,IAAA,IAAI,KAAK,GAAA;QACP,OAAO,KAAK,CAAC,KAAK;;IAGZ,UAAU,CAAC,IAAY,EAAE,OAAqB,EAAA;AACpD,QAAA,MAAM,EAAE,GAAG,CAAA,MAAA,EAAS,EAAE,SAAS,EAAE;QACjC,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAEvE,QAAA,IAAI,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE;AAC/B,YAAA,UAAU,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC;;AAGhE,QAAA,OAAO,EAAE;;AAGX,IAAA,MAAM,CAAC,EAAU,EAAA;QACf,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC;;AAGxE,IAAA,KAAK,CAAC,OAAsB,EAAA;QAC1B,IAAI,OAAO,EAAE;YACX,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC;;aAC3E;AACL,YAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,EAAE;;;AAI7B,IAAA,OAAO,GAAG;AACR,QAAA,UAAU,EAAE,CAAC,IAAY,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,SAAS,CAAC;KAC/D;AAED,IAAA,KAAK,GAAG;AACN,QAAA,UAAU,EAAE,CAAC,IAAY,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC;KAC7D;AAED,IAAA,IAAI,GAAG;AACL,QAAA,UAAU,EAAE,CAAC,IAAY,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC;KAC5D;AACF;AAEY,MAAA,KAAK,GAAG,IAAI,UAAU;AACtB,MAAA,UAAU,GAAG,KAAK,CAAC;;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function getParentSigninStep(element) {
|
|
4
|
+
const signinStep = element.closest("u-signin-step");
|
|
5
|
+
return signinStep;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
exports.getParentSigninStep = getParentSigninStep;
|
|
9
|
+
//# sourceMappingURL=helpers-BcPlKlBG.js.map
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=helpers-BcPlKlBG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers-BcPlKlBG.js","sources":["src/auth/components/helpers.ts"],"sourcesContent":["export function getParentSigninStep(element: HTMLElement): HTMLUSigninStepElement | null {\n const signinStep = element.closest(\"u-signin-step\") as HTMLUSigninStepElement;\n return signinStep;\n}\n"],"names":[],"mappings":";;AAAM,SAAU,mBAAmB,CAAC,OAAoB,EAAA;IACtD,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,eAAe,CAA2B;AAC7E,IAAA,OAAO,UAAU;AACnB;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function getParentNewsletterRoot(element) {
|
|
4
|
+
const newsletterRoot = element.closest("u-newsletter-root");
|
|
5
|
+
return newsletterRoot || null;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
exports.getParentNewsletterRoot = getParentNewsletterRoot;
|
|
9
|
+
//# sourceMappingURL=helpers-DJyRa0Qo.js.map
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=helpers-DJyRa0Qo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers-DJyRa0Qo.js","sources":["src/newsletter/components/helpers.ts"],"sourcesContent":["export function getParentNewsletterRoot(element: HTMLElement): HTMLUNewsletterRootElement | null {\n const newsletterRoot = element.closest(\"u-newsletter-root\") as HTMLUNewsletterRootElement;\n return newsletterRoot || null;\n}\n"],"names":[],"mappings":";;AAAM,SAAU,uBAAuB,CAAC,OAAoB,EAAA;IAC1D,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAA+B;IACzF,OAAO,cAAc,IAAI,IAAI;AAC/B;;;;"}
|