@unidy.io/sdk 1.1.8 → 1.1.9
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-DSKjcXX_.js +10 -0
- package/dist/cjs/app-globals-DSKjcXX_.js.map +1 -0
- package/dist/cjs/auth-B83pzi0f.js +582 -0
- package/dist/cjs/auth-B83pzi0f.js.map +1 -0
- package/dist/cjs/auth-store-DPHWWmXf.js +183 -0
- package/dist/cjs/auth-store-DPHWWmXf.js.map +1 -0
- package/dist/cjs/component-utils-BpMyeVQo.js +35 -0
- package/dist/cjs/component-utils-BpMyeVQo.js.map +1 -0
- package/dist/cjs/flash-store-BuIBuQDx.js +50 -0
- package/dist/cjs/flash-store-BuIBuQDx.js.map +1 -0
- 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-BoDZ8kd2.js +3236 -0
- package/dist/cjs/i18n-BoDZ8kd2.js.map +1 -0
- package/dist/cjs/index-B_N5xKgH.js +12025 -0
- package/dist/cjs/index-B_N5xKgH.js.map +1 -0
- package/dist/cjs/index-DLz3FT7T.js +214 -0
- package/dist/cjs/index-DLz3FT7T.js.map +1 -0
- package/dist/cjs/index-R2MKLaem.js +5267 -0
- package/dist/cjs/index-R2MKLaem.js.map +1 -0
- package/dist/cjs/index.cjs.js +64 -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-D-V_8kiN.js +289 -0
- package/dist/cjs/newsletter-helpers-D-V_8kiN.js.map +1 -0
- package/dist/cjs/newsletter-store-BzytX7Qh.js +38 -0
- package/dist/cjs/newsletter-store-BzytX7Qh.js.map +1 -0
- package/dist/cjs/pagination-store-BEiW3MQd.js +16 -0
- package/dist/cjs/pagination-store-BEiW3MQd.js.map +1 -0
- package/dist/cjs/profile-helpers-B2h2III_.js +39 -0
- package/dist/cjs/profile-helpers-B2h2III_.js.map +1 -0
- package/dist/cjs/profile-store-P_BcYkef.js +22 -0
- package/dist/cjs/profile-store-P_BcYkef.js.map +1 -0
- package/dist/cjs/sdk.cjs.js +26 -0
- package/dist/cjs/sdk.cjs.js.map +1 -0
- package/dist/cjs/u-conditional-render.cjs.entry.js +102 -0
- package/dist/cjs/u-conditional-render.entry.cjs.js.map +1 -0
- package/dist/cjs/u-config.cjs.entry.js +87 -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 +82 -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 +375 -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-logout-button.u-signed-in.entry.cjs.js.map +1 -0
- package/dist/cjs/u-logout-button_2.cjs.entry.js +60 -0
- package/dist/cjs/u-magic-code-field.cjs.entry.js +91 -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 +46 -0
- package/dist/cjs/u-missing-fields-submit-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-checkbox.cjs.entry.js +77 -0
- package/dist/cjs/u-newsletter-checkbox.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-logout-button.cjs.entry.js +36 -0
- package/dist/cjs/u-newsletter-logout-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-preference-checkbox.cjs.entry.js +120 -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 +49 -0
- package/dist/cjs/u-newsletter-resend-doi-button.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-root.cjs.entry.js +72 -0
- package/dist/cjs/u-newsletter-root.entry.cjs.js.map +1 -0
- package/dist/cjs/u-newsletter-toggle-subscription-button.cjs.entry.js +73 -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 +47 -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 +327 -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 +56 -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 +68 -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 +66 -0
- package/dist/cjs/u-signin-step.entry.cjs.js.map +1 -0
- package/dist/cjs/u-signin-strategy.cjs.entry.js +30 -0
- package/dist/cjs/u-signin-strategy.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-spinner.cjs.entry.js +18 -0
- package/dist/cjs/u-spinner.entry.cjs.js.map +1 -0
- package/dist/cjs/u-ticketable-list.cjs.entry.js +6097 -0
- package/dist/cjs/u-ticketable-list.entry.cjs.js.map +1 -0
- package/dist/cjs/unidy-store-7AbWnZ6g.js +41 -0
- package/dist/cjs/unidy-store-7AbWnZ6g.js.map +1 -0
- package/dist/collection/api/client.js +144 -0
- package/dist/collection/api/client.js.map +1 -0
- package/dist/collection/api/index.js +42 -0
- package/dist/collection/api/index.js.map +1 -0
- package/dist/collection/api/shared.js +18 -0
- package/dist/collection/api/shared.js.map +1 -0
- package/dist/collection/auth/api/auth.js +264 -0
- package/dist/collection/auth/api/auth.js.map +1 -0
- package/dist/collection/auth/auth-helpers.js +297 -0
- package/dist/collection/auth/auth-helpers.js.map +1 -0
- package/dist/collection/auth/auth.js +124 -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/logout-button/logout-button.js +92 -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 +39 -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 +68 -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 +104 -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 +135 -0
- package/dist/collection/auth/components/signin-step/signin-step.js.map +1 -0
- package/dist/collection/auth/components/signin-strategy/signin-strategy.js +64 -0
- package/dist/collection/auth/components/signin-strategy/signin-strategy.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 +62 -0
- package/dist/collection/auth/components/submit-button/auth-submit-button.js.map +1 -0
- package/dist/collection/auth/error-definitions.js +26 -0
- package/dist/collection/auth/error-definitions.js.map +1 -0
- package/dist/collection/auth/index.js +14 -0
- package/dist/collection/auth/index.js.map +1 -0
- package/dist/collection/auth/passkey-auth.js +106 -0
- package/dist/collection/auth/passkey-auth.js.map +1 -0
- package/dist/collection/auth/store/auth-store.js +174 -0
- package/dist/collection/auth/store/auth-store.js.map +1 -0
- package/dist/collection/collection-manifest.json +46 -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 +133 -0
- package/dist/collection/locales/en.json +133 -0
- package/dist/collection/locales/fr.json +133 -0
- package/dist/collection/locales/it.json +133 -0
- package/dist/collection/locales/nl_be.json +133 -0
- package/dist/collection/locales/ro.json +133 -0
- package/dist/collection/logger.js +106 -0
- package/dist/collection/logger.js.map +1 -0
- package/dist/collection/newsletter/api/newsletters.js +189 -0
- package/dist/collection/newsletter/api/newsletters.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 +48 -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 +119 -0
- package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js.map +1 -0
- package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js +235 -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/collection/newsletter/store/newsletter-store.js +34 -0
- package/dist/collection/newsletter/store/newsletter-store.js.map +1 -0
- package/dist/collection/profile/api/profile.js +168 -0
- package/dist/collection/profile/api/profile.js.map +1 -0
- package/dist/collection/profile/components/field/field.css +1 -0
- package/dist/collection/profile/components/field/field.js +359 -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 +250 -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 +13 -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 +15 -0
- package/dist/collection/profile/store/profile-store.js.map +1 -0
- package/dist/collection/sdk.css +39 -0
- package/dist/collection/shared/component-utils.js +28 -0
- package/dist/collection/shared/component-utils.js.map +1 -0
- package/dist/collection/shared/components/conditional-render/conditional-render.js +177 -0
- package/dist/collection/shared/components/conditional-render/conditional-render.js.map +1 -0
- package/dist/collection/shared/components/config/config.js +260 -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.js +141 -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 +196 -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/get-with-schema.js +35 -0
- package/dist/collection/ticketable/api/get-with-schema.js.map +1 -0
- package/dist/collection/ticketable/api/schemas.js +12 -0
- package/dist/collection/ticketable/api/schemas.js.map +1 -0
- package/dist/collection/ticketable/api/subscriptions.js +47 -0
- package/dist/collection/ticketable/api/subscriptions.js.map +1 -0
- package/dist/collection/ticketable/api/tickets.js +48 -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-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 +505 -0
- package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js.map +1 -0
- package/dist/collection/ticketable/index.js +13 -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/components/auth-store.js +178 -0
- package/dist/components/auth-store.js.map +1 -0
- package/dist/components/auth.js +581 -0
- package/dist/components/auth.js.map +1 -0
- package/dist/components/component-utils.js +32 -0
- package/dist/components/component-utils.js.map +1 -0
- package/dist/components/exports.js +4106 -0
- package/dist/components/exports.js.map +1 -0
- package/dist/components/field.js +144 -0
- package/dist/components/field.js.map +1 -0
- package/dist/components/flash-store.js +47 -0
- 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/components/i18n.js +3234 -0
- package/dist/components/i18n.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +5902 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +5256 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/index3.js +212 -0
- 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/components/newsletter-helpers.js +278 -0
- package/dist/components/newsletter-helpers.js.map +1 -0
- package/dist/components/newsletter-store.js +34 -0
- 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/components/profile-helpers.js +36 -0
- package/dist/components/profile-helpers.js.map +1 -0
- package/dist/components/profile-store.js +18 -0
- package/dist/components/profile-store.js.map +1 -0
- package/dist/components/profile.js +151 -0
- package/dist/components/profile.js.map +1 -0
- package/dist/components/raw-field.js +318 -0
- 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/components/submit-button.js +231 -0
- package/dist/components/submit-button.js.map +1 -0
- package/dist/components/u-conditional-render.d.ts +11 -0
- package/dist/components/u-conditional-render.js +120 -0
- package/dist/components/u-conditional-render.js.map +1 -0
- package/dist/components/u-config.d.ts +11 -0
- package/dist/components/u-config.js +113 -0
- package/dist/components/u-config.js.map +1 -0
- package/dist/components/u-email-field.d.ts +11 -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.d.ts +11 -0
- package/dist/components/u-error-message.js +105 -0
- package/dist/components/u-error-message.js.map +1 -0
- package/dist/components/u-field.d.ts +11 -0
- package/dist/components/u-field.js +9 -0
- package/dist/components/u-field.js.map +1 -0
- package/dist/components/u-flash-message.d.ts +11 -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.d.ts +11 -0
- package/dist/components/u-full-profile.js +87 -0
- package/dist/components/u-full-profile.js.map +1 -0
- package/dist/components/u-logout-button.d.ts +11 -0
- package/dist/components/u-logout-button.js +59 -0
- package/dist/components/u-logout-button.js.map +1 -0
- package/dist/components/u-magic-code-field.d.ts +11 -0
- package/dist/components/u-magic-code-field.js +106 -0
- package/dist/components/u-magic-code-field.js.map +1 -0
- package/dist/components/u-missing-field.d.ts +11 -0
- package/dist/components/u-missing-field.js +57 -0
- package/dist/components/u-missing-field.js.map +1 -0
- package/dist/components/u-missing-fields-submit-button.d.ts +11 -0
- package/dist/components/u-missing-fields-submit-button.js +70 -0
- package/dist/components/u-missing-fields-submit-button.js.map +1 -0
- package/dist/components/u-newsletter-checkbox.d.ts +11 -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-logout-button.d.ts +11 -0
- package/dist/components/u-newsletter-logout-button.js +51 -0
- package/dist/components/u-newsletter-logout-button.js.map +1 -0
- package/dist/components/u-newsletter-preference-checkbox.d.ts +11 -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.d.ts +11 -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.d.ts +11 -0
- package/dist/components/u-newsletter-root.js +90 -0
- package/dist/components/u-newsletter-root.js.map +1 -0
- package/dist/components/u-newsletter-toggle-subscription-button.d.ts +11 -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.d.ts +11 -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.d.ts +11 -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.d.ts +11 -0
- package/dist/components/u-passkey.js +65 -0
- package/dist/components/u-passkey.js.map +1 -0
- package/dist/components/u-password-field.d.ts +11 -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.d.ts +11 -0
- package/dist/components/u-profile.js +9 -0
- package/dist/components/u-profile.js.map +1 -0
- package/dist/components/u-raw-field.d.ts +11 -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.d.ts +11 -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.d.ts +11 -0
- package/dist/components/u-reset-password-button.js +72 -0
- package/dist/components/u-reset-password-button.js.map +1 -0
- package/dist/components/u-send-magic-code-button.d.ts +11 -0
- package/dist/components/u-send-magic-code-button.js +85 -0
- package/dist/components/u-send-magic-code-button.js.map +1 -0
- package/dist/components/u-signed-in.d.ts +11 -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.d.ts +11 -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.d.ts +11 -0
- package/dist/components/u-signin-step.js +84 -0
- package/dist/components/u-signin-step.js.map +1 -0
- package/dist/components/u-signin-strategy.d.ts +11 -0
- package/dist/components/u-signin-strategy.js +50 -0
- package/dist/components/u-signin-strategy.js.map +1 -0
- package/dist/components/u-social-login-button.d.ts +11 -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.d.ts +11 -0
- package/dist/components/u-spinner.js +9 -0
- package/dist/components/u-spinner.js.map +1 -0
- package/dist/components/u-submit-button.d.ts +11 -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-list.d.ts +11 -0
- package/dist/components/u-ticketable-list.js +6130 -0
- package/dist/components/u-ticketable-list.js.map +1 -0
- package/dist/components/unidy-store.js +37 -0
- package/dist/components/unidy-store.js.map +1 -0
- package/dist/esm/app-globals-CPU9ZcqZ.js +8 -0
- package/dist/esm/app-globals-CPU9ZcqZ.js.map +1 -0
- package/dist/esm/auth-B0RIcDM-.js +580 -0
- package/dist/esm/auth-B0RIcDM-.js.map +1 -0
- package/dist/esm/auth-store-BGMYm_jK.js +178 -0
- package/dist/esm/auth-store-BGMYm_jK.js.map +1 -0
- package/dist/esm/component-utils-D1lzXl_Z.js +32 -0
- package/dist/esm/component-utils-D1lzXl_Z.js.map +1 -0
- package/dist/esm/flash-store-CEvWSG0c.js +47 -0
- package/dist/esm/flash-store-CEvWSG0c.js.map +1 -0
- package/dist/esm/helpers-BqFCd65h.js +9 -0
- package/dist/esm/helpers-BqFCd65h.js.map +1 -0
- package/dist/esm/helpers-DUHc_Cx7.js +9 -0
- package/dist/esm/helpers-DUHc_Cx7.js.map +1 -0
- package/dist/esm/i18n-CLdWzy5J.js +3233 -0
- package/dist/esm/i18n-CLdWzy5J.js.map +1 -0
- package/dist/esm/index-Bjp1XO-f.js +212 -0
- package/dist/esm/index-Bjp1XO-f.js.map +1 -0
- package/dist/esm/index-Ci3aTmzp.js +12007 -0
- package/dist/esm/index-Ci3aTmzp.js.map +1 -0
- package/dist/esm/index-DSDkaHWI.js +5254 -0
- package/dist/esm/index-DSDkaHWI.js.map +1 -0
- package/dist/esm/index.js +40 -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/esm/newsletter-helpers-CONtbKYi.js +278 -0
- package/dist/esm/newsletter-helpers-CONtbKYi.js.map +1 -0
- package/dist/esm/newsletter-store-DBL1A203.js +34 -0
- package/dist/esm/newsletter-store-DBL1A203.js.map +1 -0
- package/dist/esm/pagination-store-DzdJOp-n.js +14 -0
- package/dist/esm/pagination-store-DzdJOp-n.js.map +1 -0
- package/dist/esm/profile-helpers-CglNd6Nw.js +36 -0
- package/dist/esm/profile-helpers-CglNd6Nw.js.map +1 -0
- package/dist/esm/profile-store-RmZB2PTc.js +18 -0
- package/dist/esm/profile-store-RmZB2PTc.js.map +1 -0
- package/dist/esm/sdk.js +22 -0
- package/dist/esm/sdk.js.map +1 -0
- package/dist/esm/u-conditional-render.entry.js +100 -0
- package/dist/esm/u-conditional-render.entry.js.map +1 -0
- package/dist/esm/u-config.entry.js +85 -0
- package/dist/esm/u-config.entry.js.map +1 -0
- package/dist/esm/u-email-field.entry.js +75 -0
- package/dist/esm/u-email-field.entry.js.map +1 -0
- package/dist/esm/u-error-message.entry.js +80 -0
- 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 +372 -0
- package/dist/esm/u-flash-message.entry.js +35 -0
- package/dist/esm/u-flash-message.entry.js.map +1 -0
- package/dist/esm/u-full-profile.entry.js +35 -0
- package/dist/esm/u-full-profile.entry.js.map +1 -0
- package/dist/esm/u-logout-button.u-signed-in.entry.js.map +1 -0
- package/dist/esm/u-logout-button_2.entry.js +57 -0
- package/dist/esm/u-magic-code-field.entry.js +89 -0
- package/dist/esm/u-magic-code-field.entry.js.map +1 -0
- package/dist/esm/u-missing-field.entry.js +20 -0
- package/dist/esm/u-missing-field.entry.js.map +1 -0
- package/dist/esm/u-missing-fields-submit-button.entry.js +44 -0
- package/dist/esm/u-missing-fields-submit-button.entry.js.map +1 -0
- package/dist/esm/u-newsletter-checkbox.entry.js +75 -0
- package/dist/esm/u-newsletter-checkbox.entry.js.map +1 -0
- package/dist/esm/u-newsletter-logout-button.entry.js +34 -0
- package/dist/esm/u-newsletter-logout-button.entry.js.map +1 -0
- package/dist/esm/u-newsletter-preference-checkbox.entry.js +118 -0
- package/dist/esm/u-newsletter-preference-checkbox.entry.js.map +1 -0
- package/dist/esm/u-newsletter-resend-doi-button.entry.js +47 -0
- package/dist/esm/u-newsletter-resend-doi-button.entry.js.map +1 -0
- package/dist/esm/u-newsletter-root.entry.js +70 -0
- package/dist/esm/u-newsletter-root.entry.js.map +1 -0
- package/dist/esm/u-newsletter-toggle-subscription-button.entry.js +71 -0
- package/dist/esm/u-newsletter-toggle-subscription-button.entry.js.map +1 -0
- package/dist/esm/u-pagination-button.entry.js +61 -0
- package/dist/esm/u-pagination-button.entry.js.map +1 -0
- package/dist/esm/u-pagination-page.entry.js +42 -0
- package/dist/esm/u-pagination-page.entry.js.map +1 -0
- package/dist/esm/u-passkey.entry.js +45 -0
- package/dist/esm/u-passkey.entry.js.map +1 -0
- package/dist/esm/u-password-field.entry.js +104 -0
- 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 +324 -0
- package/dist/esm/u-registration-button.entry.js +46 -0
- package/dist/esm/u-registration-button.entry.js.map +1 -0
- package/dist/esm/u-reset-password-button.entry.js +54 -0
- package/dist/esm/u-reset-password-button.entry.js.map +1 -0
- package/dist/esm/u-send-magic-code-button.entry.js +66 -0
- package/dist/esm/u-send-magic-code-button.entry.js.map +1 -0
- package/dist/esm/u-signin-root.entry.js +41 -0
- package/dist/esm/u-signin-root.entry.js.map +1 -0
- package/dist/esm/u-signin-step.entry.js +64 -0
- package/dist/esm/u-signin-step.entry.js.map +1 -0
- package/dist/esm/u-signin-strategy.entry.js +28 -0
- package/dist/esm/u-signin-strategy.entry.js.map +1 -0
- package/dist/esm/u-social-login-button.entry.js +98 -0
- package/dist/esm/u-social-login-button.entry.js.map +1 -0
- package/dist/esm/u-spinner.entry.js +16 -0
- package/dist/esm/u-spinner.entry.js.map +1 -0
- package/dist/esm/u-ticketable-list.entry.js +6095 -0
- package/dist/esm/u-ticketable-list.entry.js.map +1 -0
- package/dist/esm/unidy-store-BldTAtO0.js +37 -0
- package/dist/esm/unidy-store-BldTAtO0.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/sdk/index.esm.js +2 -0
- package/dist/sdk/index.esm.js.map +1 -0
- package/dist/sdk/loader.esm.js.map +1 -0
- package/dist/sdk/locales/de.json +133 -0
- package/dist/sdk/locales/en.json +133 -0
- package/dist/sdk/locales/fr.json +133 -0
- package/dist/sdk/locales/it.json +133 -0
- package/dist/sdk/locales/nl_be.json +133 -0
- package/dist/sdk/locales/ro.json +133 -0
- package/dist/sdk/p-08ff2de2.entry.js +2 -0
- package/dist/sdk/p-08ff2de2.entry.js.map +1 -0
- package/dist/sdk/p-09cd77e6.entry.js +2 -0
- package/dist/sdk/p-09cd77e6.entry.js.map +1 -0
- package/dist/sdk/p-1176c407.entry.js +2 -0
- package/dist/sdk/p-1176c407.entry.js.map +1 -0
- package/dist/sdk/p-22e4d08b.entry.js +2 -0
- package/dist/sdk/p-22e4d08b.entry.js.map +1 -0
- package/dist/sdk/p-2a65bcbb.entry.js +2 -0
- package/dist/sdk/p-2a65bcbb.entry.js.map +1 -0
- package/dist/sdk/p-2af8b45f.entry.js +2 -0
- package/dist/sdk/p-2af8b45f.entry.js.map +1 -0
- package/dist/sdk/p-339f32c1.entry.js +2 -0
- package/dist/sdk/p-339f32c1.entry.js.map +1 -0
- package/dist/sdk/p-56abb377.entry.js +2 -0
- package/dist/sdk/p-56abb377.entry.js.map +1 -0
- package/dist/sdk/p-593c6dde.entry.js +2 -0
- package/dist/sdk/p-593c6dde.entry.js.map +1 -0
- package/dist/sdk/p-5b627aea.entry.js +2 -0
- package/dist/sdk/p-5b627aea.entry.js.map +1 -0
- package/dist/sdk/p-628ccd68.entry.js +2 -0
- package/dist/sdk/p-628ccd68.entry.js.map +1 -0
- package/dist/sdk/p-675eb13d.entry.js +2 -0
- package/dist/sdk/p-675eb13d.entry.js.map +1 -0
- package/dist/sdk/p-6893d167.entry.js +2 -0
- package/dist/sdk/p-6893d167.entry.js.map +1 -0
- package/dist/sdk/p-6a642433.entry.js +2 -0
- package/dist/sdk/p-6a642433.entry.js.map +1 -0
- package/dist/sdk/p-73c2ec89.entry.js +2 -0
- package/dist/sdk/p-73c2ec89.entry.js.map +1 -0
- package/dist/sdk/p-87d10077.entry.js +2 -0
- package/dist/sdk/p-87d10077.entry.js.map +1 -0
- package/dist/sdk/p-91bb8b59.entry.js +2 -0
- package/dist/sdk/p-91bb8b59.entry.js.map +1 -0
- package/dist/sdk/p-93200fb4.entry.js +2 -0
- package/dist/sdk/p-93200fb4.entry.js.map +1 -0
- package/dist/sdk/p-9f59909b.entry.js +2 -0
- package/dist/sdk/p-9f59909b.entry.js.map +1 -0
- package/dist/sdk/p-BZ1kW_eK.js +2 -0
- package/dist/sdk/p-BZ1kW_eK.js.map +1 -0
- package/dist/sdk/p-BlAULXyw.js +2 -0
- package/dist/sdk/p-BlAULXyw.js.map +1 -0
- package/dist/sdk/p-BlOjABPD.js +2 -0
- package/dist/sdk/p-BlOjABPD.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-C0feI0p8.js +2 -0
- package/dist/sdk/p-C0feI0p8.js.map +1 -0
- package/dist/sdk/p-C3fhudPT.js +2 -0
- package/dist/sdk/p-C3fhudPT.js.map +1 -0
- package/dist/sdk/p-CFiZLMAA.js +2 -0
- package/dist/sdk/p-CFiZLMAA.js.map +1 -0
- package/dist/sdk/p-CPPYdoIv.js +2 -0
- package/dist/sdk/p-CPPYdoIv.js.map +1 -0
- package/dist/sdk/p-CbRhHGU5.js +2 -0
- package/dist/sdk/p-CbRhHGU5.js.map +1 -0
- package/dist/sdk/p-Ce8zGAi1.js +2 -0
- package/dist/sdk/p-Ce8zGAi1.js.map +1 -0
- package/dist/sdk/p-Ci3aTmzp.js +3 -0
- package/dist/sdk/p-Ci3aTmzp.js.map +1 -0
- package/dist/sdk/p-D1lzXl_Z.js +2 -0
- package/dist/sdk/p-D1lzXl_Z.js.map +1 -0
- package/dist/sdk/p-DA84OuuU.js +2 -0
- package/dist/sdk/p-DA84OuuU.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-DYtgart8.js +2 -0
- package/dist/sdk/p-DYtgart8.js.map +1 -0
- package/dist/sdk/p-DdUvQelg.js +2 -0
- package/dist/sdk/p-DdUvQelg.js.map +1 -0
- package/dist/sdk/p-S3-2d2Qd.js +2 -0
- package/dist/sdk/p-S3-2d2Qd.js.map +1 -0
- package/dist/sdk/p-a5db968f.entry.js +2 -0
- package/dist/sdk/p-a5db968f.entry.js.map +1 -0
- package/dist/sdk/p-ad796888.entry.js +2 -0
- package/dist/sdk/p-ad796888.entry.js.map +1 -0
- package/dist/sdk/p-afc65acd.entry.js +2 -0
- package/dist/sdk/p-afc65acd.entry.js.map +1 -0
- package/dist/sdk/p-b0728464.entry.js +2 -0
- package/dist/sdk/p-b0728464.entry.js.map +1 -0
- package/dist/sdk/p-b0917777.entry.js +2 -0
- package/dist/sdk/p-b0917777.entry.js.map +1 -0
- package/dist/sdk/p-bb603b00.entry.js +2 -0
- package/dist/sdk/p-bb603b00.entry.js.map +1 -0
- package/dist/sdk/p-c197fdb3.entry.js +2 -0
- package/dist/sdk/p-c197fdb3.entry.js.map +1 -0
- package/dist/sdk/p-c31dbbb4.entry.js +2 -0
- package/dist/sdk/p-c31dbbb4.entry.js.map +1 -0
- package/dist/sdk/p-c5bffd90.entry.js +2 -0
- package/dist/sdk/p-c5bffd90.entry.js.map +1 -0
- package/dist/sdk/p-f0598e42.entry.js +2 -0
- package/dist/sdk/p-f0598e42.entry.js.map +1 -0
- package/dist/sdk/p-f5615938.entry.js +2 -0
- package/dist/sdk/p-f5615938.entry.js.map +1 -0
- package/dist/sdk/p-ffac964c.entry.js +2 -0
- package/dist/sdk/p-ffac964c.entry.js.map +1 -0
- package/dist/sdk/sdk.css +39 -0
- package/dist/sdk/sdk.esm.js +2 -0
- package/dist/sdk/sdk.esm.js.map +1 -0
- package/dist/sdk/u-conditional-render.entry.esm.js.map +1 -0
- package/dist/sdk/u-config.entry.esm.js.map +1 -0
- package/dist/sdk/u-email-field.entry.esm.js.map +1 -0
- package/dist/sdk/u-error-message.entry.esm.js.map +1 -0
- package/dist/sdk/u-field.u-raw-field.entry.esm.js.map +1 -0
- package/dist/sdk/u-flash-message.entry.esm.js.map +1 -0
- package/dist/sdk/u-full-profile.entry.esm.js.map +1 -0
- package/dist/sdk/u-logout-button.u-signed-in.entry.esm.js.map +1 -0
- package/dist/sdk/u-magic-code-field.entry.esm.js.map +1 -0
- package/dist/sdk/u-missing-field.entry.esm.js.map +1 -0
- package/dist/sdk/u-missing-fields-submit-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-newsletter-checkbox.entry.esm.js.map +1 -0
- package/dist/sdk/u-newsletter-logout-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-newsletter-preference-checkbox.entry.esm.js.map +1 -0
- package/dist/sdk/u-newsletter-resend-doi-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-newsletter-root.entry.esm.js.map +1 -0
- package/dist/sdk/u-newsletter-toggle-subscription-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-pagination-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-pagination-page.entry.esm.js.map +1 -0
- package/dist/sdk/u-passkey.entry.esm.js.map +1 -0
- package/dist/sdk/u-password-field.entry.esm.js.map +1 -0
- package/dist/sdk/u-profile.u-submit-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-registration-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-reset-password-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-send-magic-code-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-signin-root.entry.esm.js.map +1 -0
- package/dist/sdk/u-signin-step.entry.esm.js.map +1 -0
- package/dist/sdk/u-signin-strategy.entry.esm.js.map +1 -0
- package/dist/sdk/u-social-login-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-spinner.entry.esm.js.map +1 -0
- package/dist/sdk/u-ticketable-list.entry.esm.js.map +1 -0
- package/dist/types/api/client.d.ts +32 -0
- package/dist/types/api/index.d.ts +22 -0
- package/dist/types/api/shared.d.ts +20 -0
- package/dist/types/auth/api/auth.d.ts +300 -0
- package/dist/types/auth/auth-helpers.d.ts +375 -0
- package/dist/types/auth/auth.d.ts +54 -0
- package/dist/types/auth/components/helpers.d.ts +1 -0
- package/dist/types/auth/components/logout-button/logout-button.d.ts +11 -0
- package/dist/types/auth/components/magic-code-field/magic-code-field.d.ts +10 -0
- package/dist/types/auth/components/missing-field/missing-field.d.ts +4 -0
- package/dist/types/auth/components/missing-fields-submit-button/missing-fields-submit-button.d.ts +5 -0
- package/dist/types/auth/components/passkey/passkey.d.ts +9 -0
- package/dist/types/auth/components/password-field/password-field.d.ts +15 -0
- package/dist/types/auth/components/registration/registration-button.d.ts +11 -0
- package/dist/types/auth/components/reset-pass-button/reset-pass-button.d.ts +7 -0
- package/dist/types/auth/components/send-magic-code-button/send-magic-code-button.d.ts +11 -0
- package/dist/types/auth/components/signed-in/signed-in.d.ts +5 -0
- package/dist/types/auth/components/signin-root/signin-root.d.ts +14 -0
- package/dist/types/auth/components/signin-step/signin-step.d.ts +8 -0
- package/dist/types/auth/components/signin-strategy/signin-strategy.d.ts +5 -0
- package/dist/types/auth/components/social-logins/logos/apple.d.ts +4 -0
- package/dist/types/auth/components/social-logins/logos/discord.d.ts +4 -0
- package/dist/types/auth/components/social-logins/logos/facebook.d.ts +4 -0
- package/dist/types/auth/components/social-logins/logos/google.d.ts +4 -0
- package/dist/types/auth/components/social-logins/logos/linkedin.d.ts +4 -0
- package/dist/types/auth/components/social-logins/social-login-button.d.ts +24 -0
- package/dist/types/auth/components/submit-button/auth-submit-button.d.ts +3 -0
- package/dist/types/auth/error-definitions.d.ts +23 -0
- package/dist/types/auth/index.d.ts +16 -0
- package/dist/types/auth/passkey-auth.d.ts +2 -0
- package/dist/types/auth/store/auth-store.d.ts +56 -0
- package/dist/types/components.d.ts +1262 -0
- package/dist/types/globalScript.d.ts +1 -0
- package/dist/types/i18n.d.ts +3 -0
- package/dist/types/index.d.ts +16 -0
- package/dist/types/logger.d.ts +55 -0
- package/dist/types/newsletter/api/newsletters.d.ts +198 -0
- package/dist/types/newsletter/components/helpers.d.ts +1 -0
- package/dist/types/newsletter/components/logout-button/logout-button.d.ts +6 -0
- package/dist/types/newsletter/components/newsletter-checkbox/newsletter-checkbox.d.ts +15 -0
- package/dist/types/newsletter/components/newsletter-root/newsletter-root.d.ts +11 -0
- package/dist/types/newsletter/components/preference-checkbox/preference-checkbox.d.ts +28 -0
- package/dist/types/newsletter/components/resend-doi-button/resend-doi-button.d.ts +8 -0
- package/dist/types/newsletter/components/submit-button/newsletter-submit-button.d.ts +3 -0
- package/dist/types/newsletter/components/toggle-subscription-button/toggle-subscription-button.d.ts +12 -0
- package/dist/types/newsletter/index.d.ts +10 -0
- package/dist/types/newsletter/newsletter-helpers.d.ts +15 -0
- package/dist/types/newsletter/store/newsletter-store.d.ts +25 -0
- package/dist/types/profile/api/profile.d.ts +238 -0
- package/dist/types/profile/components/field/field.d.ts +40 -0
- package/dist/types/profile/components/full-profile/full-profile.d.ts +6 -0
- package/dist/types/profile/components/profile/profile.d.ts +27 -0
- package/dist/types/profile/components/raw-field/raw-field.d.ts +45 -0
- package/dist/types/profile/components/raw-input-fields/Input.d.ts +17 -0
- package/dist/types/profile/components/raw-input-fields/MultiSelect.d.ts +28 -0
- package/dist/types/profile/components/raw-input-fields/RadioGroup.d.ts +30 -0
- package/dist/types/profile/components/raw-input-fields/Select.d.ts +24 -0
- package/dist/types/profile/components/raw-input-fields/Textarea.d.ts +17 -0
- package/dist/types/profile/components/submit-button/profile-submit-button.d.ts +2 -0
- package/dist/types/profile/index.d.ts +13 -0
- package/dist/types/profile/profile-helpers.d.ts +7 -0
- package/dist/types/profile/store/profile-store.d.ts +39 -0
- package/dist/types/shared/component-utils.d.ts +9 -0
- package/dist/types/shared/components/conditional-render/conditional-render.d.ts +11 -0
- package/dist/types/shared/components/config/config.d.ts +31 -0
- package/dist/types/shared/components/email-field/email-field.d.ts +13 -0
- package/dist/types/shared/components/error-message/error-message.d.ts +15 -0
- package/dist/types/shared/components/flash-message/close-icon.d.ts +1 -0
- package/dist/types/shared/components/flash-message/flash-message.d.ts +6 -0
- package/dist/types/shared/components/spinner/spinner.d.ts +3 -0
- package/dist/types/shared/components/submit-button/context.d.ts +9 -0
- package/dist/types/shared/components/submit-button/submit-button.d.ts +20 -0
- package/dist/types/shared/store/flash-store.d.ts +29 -0
- package/dist/types/shared/store/unidy-store.d.ts +12 -0
- package/dist/types/stencil-public-runtime.d.ts +1756 -0
- package/dist/types/ticketable/api/get-with-schema.d.ts +3 -0
- package/dist/types/ticketable/api/schemas.d.ts +18 -0
- package/dist/types/ticketable/api/subscriptions.d.ts +84 -0
- package/dist/types/ticketable/api/tickets.d.ts +86 -0
- package/dist/types/ticketable/components/pagination/pagination-button.d.ts +14 -0
- package/dist/types/ticketable/components/pagination/pagination-page.d.ts +12 -0
- package/dist/types/ticketable/components/ticketable-list/skeleton-helpers.d.ts +13 -0
- package/dist/types/ticketable/components/ticketable-list/ticketable-list.d.ts +41 -0
- package/dist/types/ticketable/index.d.ts +12 -0
- package/dist/types/ticketable/store/pagination-store.d.ts +10 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview entry point for your component library
|
|
3
|
+
*
|
|
4
|
+
* This is the entry point for your component library. Use this file to export utilities,
|
|
5
|
+
* constants or data structure that accompany your components.
|
|
6
|
+
*
|
|
7
|
+
* DO NOT use this file to export your components. Instead, use the recommended approaches
|
|
8
|
+
* to consume components of this package as outlined in the `README.md`.
|
|
9
|
+
*/
|
|
10
|
+
export * from "./api";
|
|
11
|
+
export * from "./auth";
|
|
12
|
+
export * from "./newsletter";
|
|
13
|
+
export * from "./profile";
|
|
14
|
+
export * from "./ticketable";
|
|
15
|
+
export type * from "./components.d";
|
|
16
|
+
export { Flash } from "./shared/store/flash-store";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { LoggerModule } from "i18next";
|
|
2
|
+
import { type MixedInCtor } from "./stencil-public-runtime";
|
|
3
|
+
declare global {
|
|
4
|
+
interface Window {
|
|
5
|
+
setLogLevel: (level: LogLevel) => void;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
type LogLevel = "error" | "warn" | "info" | "debug" | "trace";
|
|
9
|
+
export interface Logger {
|
|
10
|
+
error: (...args: any[]) => void;
|
|
11
|
+
warn: (...args: any[]) => void;
|
|
12
|
+
info: (...args: any[]) => void;
|
|
13
|
+
debug: (...args: any[]) => void;
|
|
14
|
+
trace: (...args: any[]) => void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Creates a logger instance with a specific prefix (typically class/component name)
|
|
18
|
+
*/
|
|
19
|
+
export declare const createLogger: (prefix: string) => Logger;
|
|
20
|
+
/**
|
|
21
|
+
* Stencil mixin factory that adds a logger property to the component.
|
|
22
|
+
* The logger automatically uses the component's class name as the prefix.
|
|
23
|
+
*/
|
|
24
|
+
export declare const loggerFactory: <B extends MixedInCtor>(Base?: B) => {
|
|
25
|
+
new (...args: any[]): {
|
|
26
|
+
/** @internal */
|
|
27
|
+
__logger: Logger | null;
|
|
28
|
+
get logger(): Logger;
|
|
29
|
+
};
|
|
30
|
+
} & B;
|
|
31
|
+
/**
|
|
32
|
+
* Base class for Unidy Stencil components that provides logging functionality.
|
|
33
|
+
* Components extending this class get a `this.logger` property that automatically
|
|
34
|
+
* prefixes log messages with the component's class name.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```tsx
|
|
38
|
+
* import { UnidyComponent } from '../logger';
|
|
39
|
+
*
|
|
40
|
+
* @Component({ tag: 'my-component' })
|
|
41
|
+
* export class MyComponent extends UnidyComponent {
|
|
42
|
+
* componentDidLoad() {
|
|
43
|
+
* this.logger.debug('Component loaded');
|
|
44
|
+
* }
|
|
45
|
+
* }
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
export declare const UnidyComponent: abstract new (...args: any[]) => {
|
|
49
|
+
/** @internal */
|
|
50
|
+
__logger: Logger | null;
|
|
51
|
+
get logger(): Logger;
|
|
52
|
+
};
|
|
53
|
+
export declare const logger: Logger;
|
|
54
|
+
export declare const i18nLogger: LoggerModule;
|
|
55
|
+
export {};
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import * as z from "zod/mini";
|
|
2
|
+
import type { ApiClient, ApiResponse } from "../../api";
|
|
3
|
+
import EventEmitter from "eventemitter3";
|
|
4
|
+
declare const NewsletterSubscriptionSchema: z.ZodMiniObject<{
|
|
5
|
+
id: z.ZodMiniNumber<number>;
|
|
6
|
+
email: z.ZodMiniString<string>;
|
|
7
|
+
newsletter_internal_name: z.ZodMiniString<string>;
|
|
8
|
+
preference_identifiers: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
9
|
+
preference_token: z.ZodMiniString<string>;
|
|
10
|
+
confirmed_at: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const NewsletterSubscriptionErrorSchema: z.ZodMiniObject<{
|
|
13
|
+
error_identifier: z.ZodMiniString<string>;
|
|
14
|
+
error_details: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
15
|
+
meta: z.ZodMiniObject<{
|
|
16
|
+
newsletter_internal_name: z.ZodMiniString<string>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const CreateSubscriptionsResponseSchema: z.ZodMiniObject<{
|
|
20
|
+
results: z.ZodMiniArray<z.ZodMiniObject<{
|
|
21
|
+
id: z.ZodMiniNumber<number>;
|
|
22
|
+
email: z.ZodMiniString<string>;
|
|
23
|
+
newsletter_internal_name: z.ZodMiniString<string>;
|
|
24
|
+
preference_identifiers: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
25
|
+
preference_token: z.ZodMiniString<string>;
|
|
26
|
+
confirmed_at: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
errors: z.ZodMiniArray<z.ZodMiniObject<{
|
|
29
|
+
error_identifier: z.ZodMiniString<string>;
|
|
30
|
+
error_details: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
31
|
+
meta: z.ZodMiniObject<{
|
|
32
|
+
newsletter_internal_name: z.ZodMiniString<string>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const AdditionalFieldsSchema: z.ZodMiniObject<{
|
|
37
|
+
first_name: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
38
|
+
last_name: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
39
|
+
salutation: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mr">, z.ZodMiniLiteral<"mrs">, z.ZodMiniLiteral<"mx">, z.ZodMiniNull]>>;
|
|
40
|
+
phone_number: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
41
|
+
date_of_birth: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
42
|
+
company_name: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
43
|
+
address_line_1: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
44
|
+
address_line_2: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
45
|
+
city: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
46
|
+
postal_code: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
47
|
+
country_code: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
48
|
+
preferred_language: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
49
|
+
custom_attributes: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>, z.ZodMiniNull]>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
declare const CreateSubscriptionsPayloadSchema: z.ZodMiniObject<{
|
|
52
|
+
email: z.ZodMiniString<string>;
|
|
53
|
+
additional_fields: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
54
|
+
first_name: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
55
|
+
last_name: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
56
|
+
salutation: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"mr">, z.ZodMiniLiteral<"mrs">, z.ZodMiniLiteral<"mx">, z.ZodMiniNull]>>;
|
|
57
|
+
phone_number: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
58
|
+
date_of_birth: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
59
|
+
company_name: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
60
|
+
address_line_1: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
61
|
+
address_line_2: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
62
|
+
city: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
63
|
+
postal_code: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
64
|
+
country_code: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
65
|
+
preferred_language: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
|
|
66
|
+
custom_attributes: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>, z.ZodMiniNull]>>;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
newsletter_subscriptions: z.ZodMiniArray<z.ZodMiniObject<{
|
|
69
|
+
newsletter_internal_name: z.ZodMiniString<string>;
|
|
70
|
+
preference_identifiers: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
71
|
+
}, z.core.$strip>>;
|
|
72
|
+
redirect_to_after_confirmation: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
declare const UpdateSubscriptionPayloadSchema: z.ZodMiniObject<{
|
|
75
|
+
preference_identifiers: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
declare const LoginEmailPayloadSchema: z.ZodMiniObject<{
|
|
78
|
+
email: z.ZodMiniString<string>;
|
|
79
|
+
redirect_uri: z.ZodMiniString<string>;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
declare const ResendDoiPayloadSchema: z.ZodMiniObject<{
|
|
82
|
+
redirect_to_after_confirmation: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
declare const PreferenceSchema: z.ZodMiniObject<{
|
|
85
|
+
id: z.ZodMiniNumber<number>;
|
|
86
|
+
name: z.ZodMiniString<string>;
|
|
87
|
+
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
88
|
+
plugin_identifier: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
89
|
+
position: z.ZodMiniNumber<number>;
|
|
90
|
+
default: z.ZodMiniBoolean<boolean>;
|
|
91
|
+
hidden: z.ZodMiniBoolean<boolean>;
|
|
92
|
+
}, z.core.$strip>;
|
|
93
|
+
declare const PreferenceGroupSchema: z.ZodMiniObject<{
|
|
94
|
+
id: z.ZodMiniNumber<number>;
|
|
95
|
+
name: z.ZodMiniString<string>;
|
|
96
|
+
position: z.ZodMiniNumber<number>;
|
|
97
|
+
flat: z.ZodMiniBoolean<boolean>;
|
|
98
|
+
preferences: z.ZodMiniArray<z.ZodMiniObject<{
|
|
99
|
+
id: z.ZodMiniNumber<number>;
|
|
100
|
+
name: z.ZodMiniString<string>;
|
|
101
|
+
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
102
|
+
plugin_identifier: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
103
|
+
position: z.ZodMiniNumber<number>;
|
|
104
|
+
default: z.ZodMiniBoolean<boolean>;
|
|
105
|
+
hidden: z.ZodMiniBoolean<boolean>;
|
|
106
|
+
}, z.core.$strip>>;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
declare const NewsletterSchema: z.ZodMiniObject<{
|
|
109
|
+
id: z.ZodMiniNumber<number>;
|
|
110
|
+
internal_name: z.ZodMiniString<string>;
|
|
111
|
+
default: z.ZodMiniBoolean<boolean>;
|
|
112
|
+
position: z.ZodMiniNumber<number>;
|
|
113
|
+
opt_in_type: z.ZodMiniString<string>;
|
|
114
|
+
title: z.ZodMiniString<string>;
|
|
115
|
+
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
116
|
+
created_at: z.ZodMiniString<string>;
|
|
117
|
+
updated_at: z.ZodMiniString<string>;
|
|
118
|
+
preference_groups: z.ZodMiniArray<z.ZodMiniObject<{
|
|
119
|
+
id: z.ZodMiniNumber<number>;
|
|
120
|
+
name: z.ZodMiniString<string>;
|
|
121
|
+
position: z.ZodMiniNumber<number>;
|
|
122
|
+
flat: z.ZodMiniBoolean<boolean>;
|
|
123
|
+
preferences: z.ZodMiniArray<z.ZodMiniObject<{
|
|
124
|
+
id: z.ZodMiniNumber<number>;
|
|
125
|
+
name: z.ZodMiniString<string>;
|
|
126
|
+
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
127
|
+
plugin_identifier: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
128
|
+
position: z.ZodMiniNumber<number>;
|
|
129
|
+
default: z.ZodMiniBoolean<boolean>;
|
|
130
|
+
hidden: z.ZodMiniBoolean<boolean>;
|
|
131
|
+
}, z.core.$strip>>;
|
|
132
|
+
}, z.core.$strip>>;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
declare const NewslettersResponseSchema: z.ZodMiniObject<{
|
|
135
|
+
newsletters: z.ZodMiniArray<z.ZodMiniObject<{
|
|
136
|
+
id: z.ZodMiniNumber<number>;
|
|
137
|
+
internal_name: z.ZodMiniString<string>;
|
|
138
|
+
default: z.ZodMiniBoolean<boolean>;
|
|
139
|
+
position: z.ZodMiniNumber<number>;
|
|
140
|
+
opt_in_type: z.ZodMiniString<string>;
|
|
141
|
+
title: z.ZodMiniString<string>;
|
|
142
|
+
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
143
|
+
created_at: z.ZodMiniString<string>;
|
|
144
|
+
updated_at: z.ZodMiniString<string>;
|
|
145
|
+
preference_groups: z.ZodMiniArray<z.ZodMiniObject<{
|
|
146
|
+
id: z.ZodMiniNumber<number>;
|
|
147
|
+
name: z.ZodMiniString<string>;
|
|
148
|
+
position: z.ZodMiniNumber<number>;
|
|
149
|
+
flat: z.ZodMiniBoolean<boolean>;
|
|
150
|
+
preferences: z.ZodMiniArray<z.ZodMiniObject<{
|
|
151
|
+
id: z.ZodMiniNumber<number>;
|
|
152
|
+
name: z.ZodMiniString<string>;
|
|
153
|
+
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
154
|
+
plugin_identifier: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>;
|
|
155
|
+
position: z.ZodMiniNumber<number>;
|
|
156
|
+
default: z.ZodMiniBoolean<boolean>;
|
|
157
|
+
hidden: z.ZodMiniBoolean<boolean>;
|
|
158
|
+
}, z.core.$strip>>;
|
|
159
|
+
}, z.core.$strip>>;
|
|
160
|
+
}, z.core.$strip>>;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
export type NewsletterSubscription = z.infer<typeof NewsletterSubscriptionSchema>;
|
|
163
|
+
export type NewsletterSubscriptionError = z.infer<typeof NewsletterSubscriptionErrorSchema>;
|
|
164
|
+
export type CreateSubscriptionsResponse = z.infer<typeof CreateSubscriptionsResponseSchema>;
|
|
165
|
+
export type CreateSubscriptionsPayload = z.infer<typeof CreateSubscriptionsPayloadSchema>;
|
|
166
|
+
export type AdditionalFields = z.infer<typeof AdditionalFieldsSchema>;
|
|
167
|
+
export type UpdateSubscriptionPayload = z.infer<typeof UpdateSubscriptionPayloadSchema>;
|
|
168
|
+
export type LoginEmailPayload = z.infer<typeof LoginEmailPayloadSchema>;
|
|
169
|
+
export type ResendDoiPayload = z.infer<typeof ResendDoiPayloadSchema>;
|
|
170
|
+
export type Newsletter = z.infer<typeof NewsletterSchema>;
|
|
171
|
+
export type NewslettersResponse = z.infer<typeof NewslettersResponseSchema>;
|
|
172
|
+
export type Preference = z.infer<typeof PreferenceSchema>;
|
|
173
|
+
export type PreferenceGroup = z.infer<typeof PreferenceGroupSchema>;
|
|
174
|
+
export type SubscriptionAuthOptions = {
|
|
175
|
+
idToken?: string;
|
|
176
|
+
preferenceToken?: string;
|
|
177
|
+
};
|
|
178
|
+
export type CreateSubscriptionsResult = ["schema_validation_error", ApiResponse<CreateSubscriptionsResponse>] | ["rate_limit_exceeded", ApiResponse<CreateSubscriptionsResponse>] | ["unauthorized", ApiResponse<CreateSubscriptionsResponse>] | ["newsletter_error", ApiResponse<CreateSubscriptionsResponse>] | ["network_error", ApiResponse<CreateSubscriptionsResponse>] | ["server_error", ApiResponse<CreateSubscriptionsResponse>] | ["error", ApiResponse<CreateSubscriptionsResponse>] | [null, ApiResponse<CreateSubscriptionsResponse>];
|
|
179
|
+
export declare class NewsletterService extends EventEmitter {
|
|
180
|
+
private client;
|
|
181
|
+
private logger;
|
|
182
|
+
constructor(client: ApiClient);
|
|
183
|
+
private buildAuthHeaders;
|
|
184
|
+
createSubscriptions(payload: CreateSubscriptionsPayload, auth?: SubscriptionAuthOptions): Promise<CreateSubscriptionsResult>;
|
|
185
|
+
listSubscriptions(auth: SubscriptionAuthOptions): Promise<ApiResponse<NewsletterSubscription[]>>;
|
|
186
|
+
getSubscription(internalName: string, auth: SubscriptionAuthOptions): Promise<ApiResponse<NewsletterSubscription>>;
|
|
187
|
+
updateSubscription(internalName: string, payload: UpdateSubscriptionPayload, auth: SubscriptionAuthOptions): Promise<ApiResponse<NewsletterSubscription>>;
|
|
188
|
+
deleteSubscription(internalName: string, auth: SubscriptionAuthOptions): Promise<ApiResponse<{
|
|
189
|
+
new_preference_token: string;
|
|
190
|
+
} | null>>;
|
|
191
|
+
resendDoi(internalName: string, payload: ResendDoiPayload, auth: SubscriptionAuthOptions): Promise<ApiResponse<null>>;
|
|
192
|
+
sendLoginEmail(payload: LoginEmailPayload): Promise<ApiResponse<null>>;
|
|
193
|
+
listNewsletters(): Promise<ApiResponse<NewslettersResponse>>;
|
|
194
|
+
getNewsletter(internalName: string): Promise<ApiResponse<Newsletter>>;
|
|
195
|
+
onError(callback: (errors: z.infer<typeof NewsletterSubscriptionErrorSchema>[]) => void, errorIdentifier?: "unconfirmed" | "already_subscribed" | "invalid_email"): void;
|
|
196
|
+
onRateLimitError(callback: () => void): void;
|
|
197
|
+
}
|
|
198
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getParentNewsletterRoot(element: HTMLElement): HTMLUNewsletterRootElement | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class NewsletterCheckbox {
|
|
2
|
+
internalName: string;
|
|
3
|
+
checked: boolean;
|
|
4
|
+
componentClassName?: string;
|
|
5
|
+
componentWillLoad(): void;
|
|
6
|
+
private get isSubscribed();
|
|
7
|
+
private get isChecked();
|
|
8
|
+
private syncToStore;
|
|
9
|
+
private handleChange;
|
|
10
|
+
/** Public method to toggle the checkbox programmatically */
|
|
11
|
+
toggle(): Promise<void>;
|
|
12
|
+
/** Public method to set the checkbox state programmatically */
|
|
13
|
+
setChecked(checked: boolean): Promise<void>;
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UnidyComponent } from "../../../logger";
|
|
2
|
+
import { type NewsletterErrorIdentifier } from "../../store/newsletter-store";
|
|
3
|
+
import type { NewsletterButtonFor } from "../submit-button/newsletter-submit-button";
|
|
4
|
+
export declare class NewsletterRoot extends UnidyComponent {
|
|
5
|
+
el: HTMLElement;
|
|
6
|
+
componentClassName: string;
|
|
7
|
+
getErrorText(errorIdentifier: NewsletterErrorIdentifier): string;
|
|
8
|
+
componentWillLoad(): Promise<void>;
|
|
9
|
+
submit(forType?: NewsletterButtonFor): Promise<void>;
|
|
10
|
+
render(): any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type ExistingSubscription } from "../../store/newsletter-store";
|
|
2
|
+
export declare class NewsletterPreferenceCheckbox {
|
|
3
|
+
internalName: string;
|
|
4
|
+
preferenceIdentifier: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
componentClassName?: string;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
existingSubscriptions: ExistingSubscription[];
|
|
9
|
+
checkedPreferences: string[];
|
|
10
|
+
private storeUnsubscribe?;
|
|
11
|
+
componentWillLoad(): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
private subscribeToStore;
|
|
14
|
+
private initializeCheckedState;
|
|
15
|
+
private get subscription();
|
|
16
|
+
private get isSubscribed();
|
|
17
|
+
private get isConfirmed();
|
|
18
|
+
private get isDisabled();
|
|
19
|
+
private get isChecked();
|
|
20
|
+
private syncToStore;
|
|
21
|
+
private persistIfSubscribed;
|
|
22
|
+
private handleChange;
|
|
23
|
+
/** Public method to toggle the checkbox programmatically */
|
|
24
|
+
toggle(): Promise<void>;
|
|
25
|
+
/** Public method to set the checkbox state programmatically */
|
|
26
|
+
setChecked(checked: boolean): Promise<void>;
|
|
27
|
+
render(): any;
|
|
28
|
+
}
|
package/dist/types/newsletter/components/toggle-subscription-button/toggle-subscription-button.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class ToggleNewsletterSubscriptionButton {
|
|
2
|
+
internalName: string;
|
|
3
|
+
componentClassName: string;
|
|
4
|
+
subscribeClassName: string;
|
|
5
|
+
unsubscribeClassName: string;
|
|
6
|
+
loading: boolean;
|
|
7
|
+
private get isSubscribed();
|
|
8
|
+
private handleClick;
|
|
9
|
+
private handleSubscribe;
|
|
10
|
+
private handleUnsubscribe;
|
|
11
|
+
render(): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview entry point for your component library
|
|
3
|
+
*
|
|
4
|
+
* This is the entry point for your component library. Use this file to export utilities,
|
|
5
|
+
* constants or data structure that accompany your components.
|
|
6
|
+
*
|
|
7
|
+
* DO NOT use this file to export your components. Instead, use the recommended approaches
|
|
8
|
+
* to consume components of this package as outlined in the `README.md`.
|
|
9
|
+
*/
|
|
10
|
+
export * from "./api/newsletters";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ExistingSubscription } from "./store/newsletter-store";
|
|
2
|
+
export declare function newsletterLogout(): void;
|
|
3
|
+
export declare function resendDoi(internalName: string): Promise<boolean>;
|
|
4
|
+
export declare function sendLoginEmail(email: string): Promise<void>;
|
|
5
|
+
export declare function fetchSubscriptions(): Promise<void>;
|
|
6
|
+
export declare function subscribeToNewsletter(internalName: string, email: string): Promise<boolean>;
|
|
7
|
+
export declare function createSubscriptions({ email }: {
|
|
8
|
+
email: string;
|
|
9
|
+
}): Promise<void>;
|
|
10
|
+
export declare function deleteSubscription(internalName: string): Promise<boolean>;
|
|
11
|
+
export declare function getSubscription(internalName: string): ExistingSubscription | undefined;
|
|
12
|
+
export declare function isSubscribed(internalName: string): boolean;
|
|
13
|
+
export declare function isConfirmed(internalName: string): boolean;
|
|
14
|
+
export declare function getSubscriptionPreferences(internalName: string): string[];
|
|
15
|
+
export declare function updateSubscriptionPreferences(internalName: string): Promise<boolean>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type NewsletterErrorIdentifier = "unconfirmed" | "already_subscribed" | "invalid_email" | "newsletter_not_found" | "preferences_not_found" | "invalid_preference_token" | "unknown";
|
|
2
|
+
export type NewsletterInternalName = string;
|
|
3
|
+
export type PreferenceIdentifier = string;
|
|
4
|
+
export interface ExistingSubscription {
|
|
5
|
+
newsletter_internal_name: NewsletterInternalName;
|
|
6
|
+
confirmed: boolean;
|
|
7
|
+
preference_identifiers: PreferenceIdentifier[];
|
|
8
|
+
}
|
|
9
|
+
export type CheckedNewsletters = Record<NewsletterInternalName, PreferenceIdentifier[]>;
|
|
10
|
+
export type DefaultPreferences = Record<NewsletterInternalName, Set<PreferenceIdentifier>>;
|
|
11
|
+
interface NewsletterState {
|
|
12
|
+
email: string;
|
|
13
|
+
preferenceToken: string;
|
|
14
|
+
checkedNewsletters: CheckedNewsletters;
|
|
15
|
+
defaultPreferences: DefaultPreferences;
|
|
16
|
+
fetchingSubscriptions: boolean;
|
|
17
|
+
existingSubscriptions: ExistingSubscription[];
|
|
18
|
+
errors: Record<string, NewsletterErrorIdentifier>;
|
|
19
|
+
isAuthenticated: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const persist: (key: "email" | "preferenceToken") => void;
|
|
22
|
+
export declare const newsletterStore: import("@stencil/store").ObservableMap<NewsletterState>;
|
|
23
|
+
export declare const storeDefaultPreference: (internalName: NewsletterInternalName, preferenceIdentifier: PreferenceIdentifier) => void;
|
|
24
|
+
export declare const reset: () => void;
|
|
25
|
+
export {};
|