@unidy.io/sdk 1.1.6 → 1.1.8
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/package.json +2 -2
- package/dist/cjs/app-globals-DSKjcXX_.js +0 -10
- package/dist/cjs/app-globals-DSKjcXX_.js.map +0 -1
- package/dist/cjs/auth-B83pzi0f.js +0 -582
- package/dist/cjs/auth-B83pzi0f.js.map +0 -1
- package/dist/cjs/auth-store-DPHWWmXf.js +0 -183
- package/dist/cjs/auth-store-DPHWWmXf.js.map +0 -1
- package/dist/cjs/component-utils-BpMyeVQo.js +0 -35
- package/dist/cjs/component-utils-BpMyeVQo.js.map +0 -1
- package/dist/cjs/flash-store-BuIBuQDx.js +0 -50
- package/dist/cjs/flash-store-BuIBuQDx.js.map +0 -1
- package/dist/cjs/helpers-BcPlKlBG.js +0 -11
- package/dist/cjs/helpers-BcPlKlBG.js.map +0 -1
- package/dist/cjs/helpers-DJyRa0Qo.js +0 -11
- package/dist/cjs/helpers-DJyRa0Qo.js.map +0 -1
- package/dist/cjs/i18n-BoDZ8kd2.js +0 -3236
- package/dist/cjs/i18n-BoDZ8kd2.js.map +0 -1
- package/dist/cjs/index-B_N5xKgH.js +0 -12025
- package/dist/cjs/index-B_N5xKgH.js.map +0 -1
- package/dist/cjs/index-DLz3FT7T.js +0 -214
- package/dist/cjs/index-DLz3FT7T.js.map +0 -1
- package/dist/cjs/index-R2MKLaem.js +0 -5267
- package/dist/cjs/index-R2MKLaem.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -64
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -14
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/newsletter-helpers-D-V_8kiN.js +0 -289
- package/dist/cjs/newsletter-helpers-D-V_8kiN.js.map +0 -1
- package/dist/cjs/newsletter-store-BzytX7Qh.js +0 -38
- package/dist/cjs/newsletter-store-BzytX7Qh.js.map +0 -1
- package/dist/cjs/pagination-store-BEiW3MQd.js +0 -16
- package/dist/cjs/pagination-store-BEiW3MQd.js.map +0 -1
- package/dist/cjs/profile-helpers-B2h2III_.js +0 -39
- package/dist/cjs/profile-helpers-B2h2III_.js.map +0 -1
- package/dist/cjs/profile-store-P_BcYkef.js +0 -22
- package/dist/cjs/profile-store-P_BcYkef.js.map +0 -1
- package/dist/cjs/sdk.cjs.js +0 -26
- package/dist/cjs/sdk.cjs.js.map +0 -1
- package/dist/cjs/u-conditional-render.cjs.entry.js +0 -103
- package/dist/cjs/u-conditional-render.entry.cjs.js.map +0 -1
- package/dist/cjs/u-config.cjs.entry.js +0 -87
- package/dist/cjs/u-config.entry.cjs.js.map +0 -1
- package/dist/cjs/u-email-field.cjs.entry.js +0 -77
- package/dist/cjs/u-email-field.entry.cjs.js.map +0 -1
- package/dist/cjs/u-error-message.cjs.entry.js +0 -82
- package/dist/cjs/u-error-message.entry.cjs.js.map +0 -1
- package/dist/cjs/u-field.u-raw-field.entry.cjs.js.map +0 -1
- package/dist/cjs/u-field_2.cjs.entry.js +0 -375
- package/dist/cjs/u-flash-message.cjs.entry.js +0 -37
- package/dist/cjs/u-flash-message.entry.cjs.js.map +0 -1
- package/dist/cjs/u-full-profile.cjs.entry.js +0 -37
- package/dist/cjs/u-full-profile.entry.cjs.js.map +0 -1
- package/dist/cjs/u-logout-button.cjs.entry.js +0 -38
- package/dist/cjs/u-logout-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-magic-code-field.cjs.entry.js +0 -91
- package/dist/cjs/u-magic-code-field.entry.cjs.js.map +0 -1
- package/dist/cjs/u-missing-field.cjs.entry.js +0 -22
- package/dist/cjs/u-missing-field.entry.cjs.js.map +0 -1
- package/dist/cjs/u-missing-fields-submit-button.cjs.entry.js +0 -46
- package/dist/cjs/u-missing-fields-submit-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-newsletter-checkbox.cjs.entry.js +0 -63
- package/dist/cjs/u-newsletter-checkbox.entry.cjs.js.map +0 -1
- package/dist/cjs/u-newsletter-logout-button.cjs.entry.js +0 -36
- package/dist/cjs/u-newsletter-logout-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-newsletter-preference-checkbox.cjs.entry.js +0 -106
- package/dist/cjs/u-newsletter-preference-checkbox.entry.cjs.js.map +0 -1
- package/dist/cjs/u-newsletter-resend-doi-button.cjs.entry.js +0 -49
- package/dist/cjs/u-newsletter-resend-doi-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-newsletter-root.cjs.entry.js +0 -72
- package/dist/cjs/u-newsletter-root.entry.cjs.js.map +0 -1
- package/dist/cjs/u-newsletter-toggle-subscription-button.cjs.entry.js +0 -73
- package/dist/cjs/u-newsletter-toggle-subscription-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-pagination-button.cjs.entry.js +0 -63
- package/dist/cjs/u-pagination-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-pagination-page.cjs.entry.js +0 -44
- package/dist/cjs/u-pagination-page.entry.cjs.js.map +0 -1
- package/dist/cjs/u-passkey.cjs.entry.js +0 -47
- package/dist/cjs/u-passkey.entry.cjs.js.map +0 -1
- package/dist/cjs/u-password-field.cjs.entry.js +0 -104
- package/dist/cjs/u-password-field.entry.cjs.js.map +0 -1
- package/dist/cjs/u-profile.u-submit-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-profile_2.cjs.entry.js +0 -327
- package/dist/cjs/u-registration-button.cjs.entry.js +0 -48
- package/dist/cjs/u-registration-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-reset-password-button.cjs.entry.js +0 -47
- package/dist/cjs/u-reset-password-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-send-magic-code-button.cjs.entry.js +0 -68
- package/dist/cjs/u-send-magic-code-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-signed-in.cjs.entry.js +0 -25
- package/dist/cjs/u-signed-in.entry.cjs.js.map +0 -1
- package/dist/cjs/u-signin-root.cjs.entry.js +0 -43
- package/dist/cjs/u-signin-root.entry.cjs.js.map +0 -1
- package/dist/cjs/u-signin-step.cjs.entry.js +0 -66
- package/dist/cjs/u-signin-step.entry.cjs.js.map +0 -1
- package/dist/cjs/u-signin-strategy.cjs.entry.js +0 -30
- package/dist/cjs/u-signin-strategy.entry.cjs.js.map +0 -1
- package/dist/cjs/u-social-login-button.cjs.entry.js +0 -100
- package/dist/cjs/u-social-login-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-spinner.cjs.entry.js +0 -18
- package/dist/cjs/u-spinner.entry.cjs.js.map +0 -1
- package/dist/cjs/u-ticketable-list.cjs.entry.js +0 -6087
- package/dist/cjs/u-ticketable-list.entry.cjs.js.map +0 -1
- package/dist/cjs/unidy-store-7AbWnZ6g.js +0 -41
- package/dist/cjs/unidy-store-7AbWnZ6g.js.map +0 -1
- package/dist/collection/api/client.js +0 -144
- package/dist/collection/api/client.js.map +0 -1
- package/dist/collection/api/index.js +0 -42
- package/dist/collection/api/index.js.map +0 -1
- package/dist/collection/api/shared.js +0 -18
- package/dist/collection/api/shared.js.map +0 -1
- package/dist/collection/auth/api/auth.js +0 -264
- package/dist/collection/auth/api/auth.js.map +0 -1
- package/dist/collection/auth/auth-helpers.js +0 -297
- package/dist/collection/auth/auth-helpers.js.map +0 -1
- package/dist/collection/auth/auth.js +0 -124
- package/dist/collection/auth/auth.js.map +0 -1
- package/dist/collection/auth/components/helpers.js +0 -5
- package/dist/collection/auth/components/helpers.js.map +0 -1
- package/dist/collection/auth/components/logout-button/logout-button.js +0 -85
- package/dist/collection/auth/components/logout-button/logout-button.js.map +0 -1
- package/dist/collection/auth/components/magic-code-field/magic-code-field.css +0 -1
- package/dist/collection/auth/components/magic-code-field/magic-code-field.js +0 -113
- package/dist/collection/auth/components/magic-code-field/magic-code-field.js.map +0 -1
- package/dist/collection/auth/components/missing-field/missing-field.js +0 -14
- package/dist/collection/auth/components/missing-field/missing-field.js.map +0 -1
- package/dist/collection/auth/components/missing-fields-submit-button/missing-fields-submit-button.js +0 -39
- package/dist/collection/auth/components/missing-fields-submit-button/missing-fields-submit-button.js.map +0 -1
- package/dist/collection/auth/components/passkey/passkey.js +0 -103
- package/dist/collection/auth/components/passkey/passkey.js.map +0 -1
- package/dist/collection/auth/components/password-field/password-field.js +0 -166
- package/dist/collection/auth/components/password-field/password-field.js.map +0 -1
- package/dist/collection/auth/components/registration/registration-button.js +0 -104
- package/dist/collection/auth/components/registration/registration-button.js.map +0 -1
- package/dist/collection/auth/components/reset-pass-button/reset-pass-button.js +0 -59
- package/dist/collection/auth/components/reset-pass-button/reset-pass-button.js.map +0 -1
- package/dist/collection/auth/components/send-magic-code-button/send-magic-code-button.js +0 -104
- package/dist/collection/auth/components/send-magic-code-button/send-magic-code-button.js.map +0 -1
- package/dist/collection/auth/components/signed-in/signed-in.js +0 -59
- package/dist/collection/auth/components/signed-in/signed-in.js.map +0 -1
- package/dist/collection/auth/components/signin-root/signin-root.js +0 -97
- package/dist/collection/auth/components/signin-root/signin-root.js.map +0 -1
- package/dist/collection/auth/components/signin-step/signin-step.js +0 -135
- package/dist/collection/auth/components/signin-step/signin-step.js.map +0 -1
- package/dist/collection/auth/components/signin-strategy/signin-strategy.js +0 -64
- package/dist/collection/auth/components/signin-strategy/signin-strategy.js.map +0 -1
- package/dist/collection/auth/components/social-logins/logos/apple.js +0 -3
- package/dist/collection/auth/components/social-logins/logos/apple.js.map +0 -1
- package/dist/collection/auth/components/social-logins/logos/discord.js +0 -3
- package/dist/collection/auth/components/social-logins/logos/discord.js.map +0 -1
- package/dist/collection/auth/components/social-logins/logos/facebook.js +0 -3
- package/dist/collection/auth/components/social-logins/logos/facebook.js.map +0 -1
- package/dist/collection/auth/components/social-logins/logos/google.js +0 -3
- package/dist/collection/auth/components/social-logins/logos/google.js.map +0 -1
- package/dist/collection/auth/components/social-logins/logos/linkedin.js +0 -3
- package/dist/collection/auth/components/social-logins/logos/linkedin.js.map +0 -1
- package/dist/collection/auth/components/social-logins/social-login-button.css +0 -1
- package/dist/collection/auth/components/social-logins/social-login-button.js +0 -188
- package/dist/collection/auth/components/social-logins/social-login-button.js.map +0 -1
- package/dist/collection/auth/components/submit-button/auth-submit-button.js +0 -62
- package/dist/collection/auth/components/submit-button/auth-submit-button.js.map +0 -1
- package/dist/collection/auth/error-definitions.js +0 -26
- package/dist/collection/auth/error-definitions.js.map +0 -1
- package/dist/collection/auth/index.js +0 -14
- package/dist/collection/auth/index.js.map +0 -1
- package/dist/collection/auth/passkey-auth.js +0 -106
- package/dist/collection/auth/passkey-auth.js.map +0 -1
- package/dist/collection/auth/store/auth-store.js +0 -174
- package/dist/collection/auth/store/auth-store.js.map +0 -1
- package/dist/collection/collection-manifest.json +0 -46
- package/dist/collection/globalScript.js +0 -18
- package/dist/collection/globalScript.js.map +0 -1
- package/dist/collection/i18n.js +0 -31
- package/dist/collection/i18n.js.map +0 -1
- package/dist/collection/index.js +0 -16
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/locales/de.json +0 -133
- package/dist/collection/locales/en.json +0 -133
- package/dist/collection/locales/fr.json +0 -133
- package/dist/collection/locales/it.json +0 -133
- package/dist/collection/locales/nl_be.json +0 -133
- package/dist/collection/locales/ro.json +0 -133
- package/dist/collection/logger.js +0 -106
- package/dist/collection/logger.js.map +0 -1
- package/dist/collection/newsletter/api/newsletters.js +0 -189
- package/dist/collection/newsletter/api/newsletters.js.map +0 -1
- package/dist/collection/newsletter/components/helpers.js +0 -5
- package/dist/collection/newsletter/components/helpers.js.map +0 -1
- package/dist/collection/newsletter/components/logout-button/logout-button.js +0 -48
- package/dist/collection/newsletter/components/logout-button/logout-button.js.map +0 -1
- package/dist/collection/newsletter/components/newsletter-checkbox/newsletter-checkbox.js +0 -109
- package/dist/collection/newsletter/components/newsletter-checkbox/newsletter-checkbox.js.map +0 -1
- package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js +0 -119
- package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js.map +0 -1
- package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js +0 -178
- package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js.map +0 -1
- package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.css +0 -1
- package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.js +0 -89
- package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.js.map +0 -1
- package/dist/collection/newsletter/components/submit-button/newsletter-submit-button.js +0 -18
- package/dist/collection/newsletter/components/submit-button/newsletter-submit-button.js.map +0 -1
- package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.css +0 -1
- package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.js +0 -154
- package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.js.map +0 -1
- package/dist/collection/newsletter/index.js +0 -11
- package/dist/collection/newsletter/index.js.map +0 -1
- package/dist/collection/newsletter/newsletter-helpers.js +0 -277
- package/dist/collection/newsletter/newsletter-helpers.js.map +0 -1
- package/dist/collection/newsletter/store/newsletter-store.js +0 -34
- package/dist/collection/newsletter/store/newsletter-store.js.map +0 -1
- package/dist/collection/profile/api/profile.js +0 -168
- package/dist/collection/profile/api/profile.js.map +0 -1
- package/dist/collection/profile/components/field/field.css +0 -1
- package/dist/collection/profile/components/field/field.js +0 -359
- package/dist/collection/profile/components/field/field.js.map +0 -1
- package/dist/collection/profile/components/full-profile/full-profile.css +0 -1
- package/dist/collection/profile/components/full-profile/full-profile.js +0 -78
- package/dist/collection/profile/components/full-profile/full-profile.js.map +0 -1
- package/dist/collection/profile/components/profile/profile.js +0 -250
- package/dist/collection/profile/components/profile/profile.js.map +0 -1
- package/dist/collection/profile/components/raw-field/raw-field.js +0 -697
- package/dist/collection/profile/components/raw-field/raw-field.js.map +0 -1
- package/dist/collection/profile/components/raw-input-fields/Input.js +0 -3
- package/dist/collection/profile/components/raw-input-fields/Input.js.map +0 -1
- package/dist/collection/profile/components/raw-input-fields/MultiSelect.js +0 -8
- package/dist/collection/profile/components/raw-input-fields/MultiSelect.js.map +0 -1
- package/dist/collection/profile/components/raw-input-fields/RadioGroup.js +0 -8
- package/dist/collection/profile/components/raw-input-fields/RadioGroup.js.map +0 -1
- package/dist/collection/profile/components/raw-input-fields/Select.js +0 -11
- package/dist/collection/profile/components/raw-input-fields/Select.js.map +0 -1
- package/dist/collection/profile/components/raw-input-fields/Textarea.js +0 -3
- package/dist/collection/profile/components/raw-input-fields/Textarea.js.map +0 -1
- package/dist/collection/profile/components/submit-button/profile-submit-button.js +0 -17
- package/dist/collection/profile/components/submit-button/profile-submit-button.js.map +0 -1
- package/dist/collection/profile/index.js +0 -13
- package/dist/collection/profile/index.js.map +0 -1
- package/dist/collection/profile/profile-helpers.js +0 -31
- package/dist/collection/profile/profile-helpers.js.map +0 -1
- package/dist/collection/profile/store/profile-store.js +0 -15
- package/dist/collection/profile/store/profile-store.js.map +0 -1
- package/dist/collection/sdk.css +0 -39
- package/dist/collection/shared/component-utils.js +0 -28
- package/dist/collection/shared/component-utils.js.map +0 -1
- package/dist/collection/shared/components/conditional-render/conditional-render.js +0 -178
- package/dist/collection/shared/components/conditional-render/conditional-render.js.map +0 -1
- package/dist/collection/shared/components/config/config.js +0 -260
- package/dist/collection/shared/components/config/config.js.map +0 -1
- package/dist/collection/shared/components/email-field/email-field.css +0 -1
- package/dist/collection/shared/components/email-field/email-field.js +0 -145
- package/dist/collection/shared/components/email-field/email-field.js.map +0 -1
- package/dist/collection/shared/components/error-message/error-message.js +0 -141
- package/dist/collection/shared/components/error-message/error-message.js.map +0 -1
- package/dist/collection/shared/components/flash-message/close-icon.js +0 -3
- package/dist/collection/shared/components/flash-message/close-icon.js.map +0 -1
- package/dist/collection/shared/components/flash-message/flash-message.css +0 -1
- package/dist/collection/shared/components/flash-message/flash-message.js +0 -79
- package/dist/collection/shared/components/flash-message/flash-message.js.map +0 -1
- package/dist/collection/shared/components/spinner/spinner.css +0 -1
- package/dist/collection/shared/components/spinner/spinner.js +0 -19
- package/dist/collection/shared/components/spinner/spinner.js.map +0 -1
- package/dist/collection/shared/components/submit-button/context.js +0 -10
- package/dist/collection/shared/components/submit-button/context.js.map +0 -1
- package/dist/collection/shared/components/submit-button/submit-button.css +0 -1
- package/dist/collection/shared/components/submit-button/submit-button.js +0 -196
- package/dist/collection/shared/components/submit-button/submit-button.js.map +0 -1
- package/dist/collection/shared/store/flash-store.js +0 -43
- package/dist/collection/shared/store/flash-store.js.map +0 -1
- package/dist/collection/shared/store/unidy-store.js +0 -33
- package/dist/collection/shared/store/unidy-store.js.map +0 -1
- package/dist/collection/ticketable/api/get-with-schema.js +0 -35
- package/dist/collection/ticketable/api/get-with-schema.js.map +0 -1
- package/dist/collection/ticketable/api/schemas.js +0 -12
- package/dist/collection/ticketable/api/schemas.js.map +0 -1
- package/dist/collection/ticketable/api/subscriptions.js +0 -47
- package/dist/collection/ticketable/api/subscriptions.js.map +0 -1
- package/dist/collection/ticketable/api/tickets.js +0 -48
- package/dist/collection/ticketable/api/tickets.js.map +0 -1
- package/dist/collection/ticketable/components/pagination/pagination-button.js +0 -108
- package/dist/collection/ticketable/components/pagination/pagination-button.js.map +0 -1
- package/dist/collection/ticketable/components/pagination/pagination-page.js +0 -69
- package/dist/collection/ticketable/components/pagination/pagination-page.js.map +0 -1
- package/dist/collection/ticketable/components/ticketable-list/skeleton-helpers.js +0 -54
- package/dist/collection/ticketable/components/ticketable-list/skeleton-helpers.js.map +0 -1
- package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js +0 -498
- package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js.map +0 -1
- package/dist/collection/ticketable/index.js +0 -13
- package/dist/collection/ticketable/index.js.map +0 -1
- package/dist/collection/ticketable/store/pagination-store.js +0 -9
- package/dist/collection/ticketable/store/pagination-store.js.map +0 -1
- package/dist/components/auth-store.js +0 -178
- package/dist/components/auth-store.js.map +0 -1
- package/dist/components/auth.js +0 -581
- package/dist/components/auth.js.map +0 -1
- package/dist/components/component-utils.js +0 -32
- package/dist/components/component-utils.js.map +0 -1
- package/dist/components/exports.js +0 -4106
- package/dist/components/exports.js.map +0 -1
- package/dist/components/field.js +0 -144
- package/dist/components/field.js.map +0 -1
- package/dist/components/flash-store.js +0 -47
- package/dist/components/flash-store.js.map +0 -1
- package/dist/components/helpers.js +0 -9
- package/dist/components/helpers.js.map +0 -1
- package/dist/components/helpers2.js +0 -9
- package/dist/components/helpers2.js.map +0 -1
- package/dist/components/i18n.js +0 -3234
- package/dist/components/i18n.js.map +0 -1
- package/dist/components/index.d.ts +0 -33
- package/dist/components/index.js +0 -5902
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js +0 -5256
- package/dist/components/index2.js.map +0 -1
- package/dist/components/index3.js +0 -212
- package/dist/components/index3.js.map +0 -1
- package/dist/components/logger.js +0 -111
- package/dist/components/logger.js.map +0 -1
- package/dist/components/newsletter-helpers.js +0 -278
- package/dist/components/newsletter-helpers.js.map +0 -1
- package/dist/components/newsletter-store.js +0 -34
- package/dist/components/newsletter-store.js.map +0 -1
- package/dist/components/pagination-store.js +0 -14
- package/dist/components/pagination-store.js.map +0 -1
- package/dist/components/profile-helpers.js +0 -36
- package/dist/components/profile-helpers.js.map +0 -1
- package/dist/components/profile-store.js +0 -18
- package/dist/components/profile-store.js.map +0 -1
- package/dist/components/profile.js +0 -151
- package/dist/components/profile.js.map +0 -1
- package/dist/components/raw-field.js +0 -318
- package/dist/components/raw-field.js.map +0 -1
- package/dist/components/spinner.js +0 -35
- package/dist/components/spinner.js.map +0 -1
- package/dist/components/submit-button.js +0 -231
- package/dist/components/submit-button.js.map +0 -1
- package/dist/components/u-conditional-render.d.ts +0 -11
- package/dist/components/u-conditional-render.js +0 -121
- package/dist/components/u-conditional-render.js.map +0 -1
- package/dist/components/u-config.d.ts +0 -11
- package/dist/components/u-config.js +0 -113
- package/dist/components/u-config.js.map +0 -1
- package/dist/components/u-email-field.d.ts +0 -11
- package/dist/components/u-email-field.js +0 -99
- package/dist/components/u-email-field.js.map +0 -1
- package/dist/components/u-error-message.d.ts +0 -11
- package/dist/components/u-error-message.js +0 -105
- package/dist/components/u-error-message.js.map +0 -1
- package/dist/components/u-field.d.ts +0 -11
- package/dist/components/u-field.js +0 -9
- package/dist/components/u-field.js.map +0 -1
- package/dist/components/u-flash-message.d.ts +0 -11
- package/dist/components/u-flash-message.js +0 -58
- package/dist/components/u-flash-message.js.map +0 -1
- package/dist/components/u-full-profile.d.ts +0 -11
- package/dist/components/u-full-profile.js +0 -87
- package/dist/components/u-full-profile.js.map +0 -1
- package/dist/components/u-logout-button.d.ts +0 -11
- package/dist/components/u-logout-button.js +0 -53
- package/dist/components/u-logout-button.js.map +0 -1
- package/dist/components/u-magic-code-field.d.ts +0 -11
- package/dist/components/u-magic-code-field.js +0 -106
- package/dist/components/u-magic-code-field.js.map +0 -1
- package/dist/components/u-missing-field.d.ts +0 -11
- package/dist/components/u-missing-field.js +0 -57
- package/dist/components/u-missing-field.js.map +0 -1
- package/dist/components/u-missing-fields-submit-button.d.ts +0 -11
- package/dist/components/u-missing-fields-submit-button.js +0 -70
- package/dist/components/u-missing-fields-submit-button.js.map +0 -1
- package/dist/components/u-newsletter-checkbox.d.ts +0 -11
- package/dist/components/u-newsletter-checkbox.js +0 -77
- package/dist/components/u-newsletter-checkbox.js.map +0 -1
- package/dist/components/u-newsletter-logout-button.d.ts +0 -11
- package/dist/components/u-newsletter-logout-button.js +0 -51
- package/dist/components/u-newsletter-logout-button.js.map +0 -1
- package/dist/components/u-newsletter-preference-checkbox.d.ts +0 -11
- package/dist/components/u-newsletter-preference-checkbox.js +0 -124
- package/dist/components/u-newsletter-preference-checkbox.js.map +0 -1
- package/dist/components/u-newsletter-resend-doi-button.d.ts +0 -11
- package/dist/components/u-newsletter-resend-doi-button.js +0 -70
- package/dist/components/u-newsletter-resend-doi-button.js.map +0 -1
- package/dist/components/u-newsletter-root.d.ts +0 -11
- package/dist/components/u-newsletter-root.js +0 -90
- package/dist/components/u-newsletter-root.js.map +0 -1
- package/dist/components/u-newsletter-toggle-subscription-button.d.ts +0 -11
- package/dist/components/u-newsletter-toggle-subscription-button.js +0 -97
- package/dist/components/u-newsletter-toggle-subscription-button.js.map +0 -1
- package/dist/components/u-pagination-button.d.ts +0 -11
- package/dist/components/u-pagination-button.js +0 -86
- package/dist/components/u-pagination-button.js.map +0 -1
- package/dist/components/u-pagination-page.d.ts +0 -11
- package/dist/components/u-pagination-page.js +0 -66
- package/dist/components/u-pagination-page.js.map +0 -1
- package/dist/components/u-passkey.d.ts +0 -11
- package/dist/components/u-passkey.js +0 -65
- package/dist/components/u-passkey.js.map +0 -1
- package/dist/components/u-password-field.d.ts +0 -11
- package/dist/components/u-password-field.js +0 -125
- package/dist/components/u-password-field.js.map +0 -1
- package/dist/components/u-profile.d.ts +0 -11
- package/dist/components/u-profile.js +0 -9
- package/dist/components/u-profile.js.map +0 -1
- package/dist/components/u-raw-field.d.ts +0 -11
- package/dist/components/u-raw-field.js +0 -9
- package/dist/components/u-raw-field.js.map +0 -1
- package/dist/components/u-registration-button.d.ts +0 -11
- package/dist/components/u-registration-button.js +0 -70
- package/dist/components/u-registration-button.js.map +0 -1
- package/dist/components/u-reset-password-button.d.ts +0 -11
- package/dist/components/u-reset-password-button.js +0 -63
- package/dist/components/u-reset-password-button.js.map +0 -1
- package/dist/components/u-send-magic-code-button.d.ts +0 -11
- package/dist/components/u-send-magic-code-button.js +0 -85
- package/dist/components/u-send-magic-code-button.js.map +0 -1
- package/dist/components/u-signed-in.d.ts +0 -11
- package/dist/components/u-signed-in.js +0 -44
- package/dist/components/u-signed-in.js.map +0 -1
- package/dist/components/u-signin-root.d.ts +0 -11
- package/dist/components/u-signin-root.js +0 -63
- package/dist/components/u-signin-root.js.map +0 -1
- package/dist/components/u-signin-step.d.ts +0 -11
- package/dist/components/u-signin-step.js +0 -84
- package/dist/components/u-signin-step.js.map +0 -1
- package/dist/components/u-signin-strategy.d.ts +0 -11
- package/dist/components/u-signin-strategy.js +0 -50
- package/dist/components/u-signin-strategy.js.map +0 -1
- package/dist/components/u-social-login-button.d.ts +0 -11
- package/dist/components/u-social-login-button.js +0 -125
- package/dist/components/u-social-login-button.js.map +0 -1
- package/dist/components/u-spinner.d.ts +0 -11
- package/dist/components/u-spinner.js +0 -9
- package/dist/components/u-spinner.js.map +0 -1
- package/dist/components/u-submit-button.d.ts +0 -11
- package/dist/components/u-submit-button.js +0 -9
- package/dist/components/u-submit-button.js.map +0 -1
- package/dist/components/u-ticketable-list.d.ts +0 -11
- package/dist/components/u-ticketable-list.js +0 -6122
- package/dist/components/u-ticketable-list.js.map +0 -1
- package/dist/components/unidy-store.js +0 -37
- package/dist/components/unidy-store.js.map +0 -1
- package/dist/esm/app-globals-CPU9ZcqZ.js +0 -8
- package/dist/esm/app-globals-CPU9ZcqZ.js.map +0 -1
- package/dist/esm/auth-B0RIcDM-.js +0 -580
- package/dist/esm/auth-B0RIcDM-.js.map +0 -1
- package/dist/esm/auth-store-BGMYm_jK.js +0 -178
- package/dist/esm/auth-store-BGMYm_jK.js.map +0 -1
- package/dist/esm/component-utils-D1lzXl_Z.js +0 -32
- package/dist/esm/component-utils-D1lzXl_Z.js.map +0 -1
- package/dist/esm/flash-store-CEvWSG0c.js +0 -47
- package/dist/esm/flash-store-CEvWSG0c.js.map +0 -1
- package/dist/esm/helpers-BqFCd65h.js +0 -9
- package/dist/esm/helpers-BqFCd65h.js.map +0 -1
- package/dist/esm/helpers-DUHc_Cx7.js +0 -9
- package/dist/esm/helpers-DUHc_Cx7.js.map +0 -1
- package/dist/esm/i18n-CLdWzy5J.js +0 -3233
- package/dist/esm/i18n-CLdWzy5J.js.map +0 -1
- package/dist/esm/index-Bjp1XO-f.js +0 -212
- package/dist/esm/index-Bjp1XO-f.js.map +0 -1
- package/dist/esm/index-Ci3aTmzp.js +0 -12007
- package/dist/esm/index-Ci3aTmzp.js.map +0 -1
- package/dist/esm/index-DSDkaHWI.js +0 -5254
- package/dist/esm/index-DSDkaHWI.js.map +0 -1
- package/dist/esm/index.js +0 -40
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -12
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/newsletter-helpers-CONtbKYi.js +0 -278
- package/dist/esm/newsletter-helpers-CONtbKYi.js.map +0 -1
- package/dist/esm/newsletter-store-DBL1A203.js +0 -34
- package/dist/esm/newsletter-store-DBL1A203.js.map +0 -1
- package/dist/esm/pagination-store-DzdJOp-n.js +0 -14
- package/dist/esm/pagination-store-DzdJOp-n.js.map +0 -1
- package/dist/esm/profile-helpers-CglNd6Nw.js +0 -36
- package/dist/esm/profile-helpers-CglNd6Nw.js.map +0 -1
- package/dist/esm/profile-store-RmZB2PTc.js +0 -18
- package/dist/esm/profile-store-RmZB2PTc.js.map +0 -1
- package/dist/esm/sdk.js +0 -22
- package/dist/esm/sdk.js.map +0 -1
- package/dist/esm/u-conditional-render.entry.js +0 -101
- package/dist/esm/u-conditional-render.entry.js.map +0 -1
- package/dist/esm/u-config.entry.js +0 -85
- package/dist/esm/u-config.entry.js.map +0 -1
- package/dist/esm/u-email-field.entry.js +0 -75
- package/dist/esm/u-email-field.entry.js.map +0 -1
- package/dist/esm/u-error-message.entry.js +0 -80
- package/dist/esm/u-error-message.entry.js.map +0 -1
- package/dist/esm/u-field.u-raw-field.entry.js.map +0 -1
- package/dist/esm/u-field_2.entry.js +0 -372
- package/dist/esm/u-flash-message.entry.js +0 -35
- package/dist/esm/u-flash-message.entry.js.map +0 -1
- package/dist/esm/u-full-profile.entry.js +0 -35
- package/dist/esm/u-full-profile.entry.js.map +0 -1
- package/dist/esm/u-logout-button.entry.js +0 -36
- package/dist/esm/u-logout-button.entry.js.map +0 -1
- package/dist/esm/u-magic-code-field.entry.js +0 -89
- package/dist/esm/u-magic-code-field.entry.js.map +0 -1
- package/dist/esm/u-missing-field.entry.js +0 -20
- package/dist/esm/u-missing-field.entry.js.map +0 -1
- package/dist/esm/u-missing-fields-submit-button.entry.js +0 -44
- package/dist/esm/u-missing-fields-submit-button.entry.js.map +0 -1
- package/dist/esm/u-newsletter-checkbox.entry.js +0 -61
- package/dist/esm/u-newsletter-checkbox.entry.js.map +0 -1
- package/dist/esm/u-newsletter-logout-button.entry.js +0 -34
- package/dist/esm/u-newsletter-logout-button.entry.js.map +0 -1
- package/dist/esm/u-newsletter-preference-checkbox.entry.js +0 -104
- package/dist/esm/u-newsletter-preference-checkbox.entry.js.map +0 -1
- package/dist/esm/u-newsletter-resend-doi-button.entry.js +0 -47
- package/dist/esm/u-newsletter-resend-doi-button.entry.js.map +0 -1
- package/dist/esm/u-newsletter-root.entry.js +0 -70
- package/dist/esm/u-newsletter-root.entry.js.map +0 -1
- package/dist/esm/u-newsletter-toggle-subscription-button.entry.js +0 -71
- package/dist/esm/u-newsletter-toggle-subscription-button.entry.js.map +0 -1
- package/dist/esm/u-pagination-button.entry.js +0 -61
- package/dist/esm/u-pagination-button.entry.js.map +0 -1
- package/dist/esm/u-pagination-page.entry.js +0 -42
- package/dist/esm/u-pagination-page.entry.js.map +0 -1
- package/dist/esm/u-passkey.entry.js +0 -45
- package/dist/esm/u-passkey.entry.js.map +0 -1
- package/dist/esm/u-password-field.entry.js +0 -102
- package/dist/esm/u-password-field.entry.js.map +0 -1
- package/dist/esm/u-profile.u-submit-button.entry.js.map +0 -1
- package/dist/esm/u-profile_2.entry.js +0 -324
- package/dist/esm/u-registration-button.entry.js +0 -46
- package/dist/esm/u-registration-button.entry.js.map +0 -1
- package/dist/esm/u-reset-password-button.entry.js +0 -45
- package/dist/esm/u-reset-password-button.entry.js.map +0 -1
- package/dist/esm/u-send-magic-code-button.entry.js +0 -66
- package/dist/esm/u-send-magic-code-button.entry.js.map +0 -1
- package/dist/esm/u-signed-in.entry.js +0 -23
- package/dist/esm/u-signed-in.entry.js.map +0 -1
- package/dist/esm/u-signin-root.entry.js +0 -41
- package/dist/esm/u-signin-root.entry.js.map +0 -1
- package/dist/esm/u-signin-step.entry.js +0 -64
- package/dist/esm/u-signin-step.entry.js.map +0 -1
- package/dist/esm/u-signin-strategy.entry.js +0 -28
- package/dist/esm/u-signin-strategy.entry.js.map +0 -1
- package/dist/esm/u-social-login-button.entry.js +0 -98
- package/dist/esm/u-social-login-button.entry.js.map +0 -1
- package/dist/esm/u-spinner.entry.js +0 -16
- package/dist/esm/u-spinner.entry.js.map +0 -1
- package/dist/esm/u-ticketable-list.entry.js +0 -6085
- package/dist/esm/u-ticketable-list.entry.js.map +0 -1
- package/dist/esm/unidy-store-BldTAtO0.js +0 -37
- package/dist/esm/unidy-store-BldTAtO0.js.map +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/sdk/auth-BopPjv7G.js.map +0 -1
- package/dist/sdk/auth-C0vldOq6.js.map +0 -1
- package/dist/sdk/auth-store-DQaam_Qh.js.map +0 -1
- package/dist/sdk/auth-store-sOmplc4z.js.map +0 -1
- package/dist/sdk/component-utils-D1lzXl_Z.js.map +0 -1
- package/dist/sdk/flash-store-Cgu7WoSN.js.map +0 -1
- package/dist/sdk/flash-store-DNcSEn2p.js.map +0 -1
- package/dist/sdk/helpers-BqFCd65h.js.map +0 -1
- package/dist/sdk/helpers-DUHc_Cx7.js.map +0 -1
- package/dist/sdk/i18n-B6rRU-m3.js.map +0 -1
- package/dist/sdk/i18n-CZii1E-s.js.map +0 -1
- package/dist/sdk/index-B1aDcaWd.js.map +0 -1
- package/dist/sdk/index-BnBstyfp.js.map +0 -1
- package/dist/sdk/index-BqL27K_R.js.map +0 -1
- package/dist/sdk/index-C5jZjlU8.js.map +0 -1
- package/dist/sdk/index-Df-7P3r0.js.map +0 -1
- package/dist/sdk/index-Eu7hg2ii.js.map +0 -1
- package/dist/sdk/index-Iulyfmzq.js.map +0 -1
- package/dist/sdk/index-O6h7SI7-.js.map +0 -1
- package/dist/sdk/index.esm.js +0 -2
- package/dist/sdk/index.esm.js.map +0 -1
- package/dist/sdk/loader.esm.js.map +0 -1
- package/dist/sdk/locales/de.json +0 -133
- package/dist/sdk/locales/en.json +0 -133
- package/dist/sdk/locales/fr.json +0 -133
- package/dist/sdk/locales/it.json +0 -133
- package/dist/sdk/locales/nl_be.json +0 -133
- package/dist/sdk/locales/ro.json +0 -133
- package/dist/sdk/newsletter-helpers-8ByV38YW.js.map +0 -1
- package/dist/sdk/newsletter-helpers-B-Md6T9k.js.map +0 -1
- package/dist/sdk/newsletter-store-CqD-GcDC.js.map +0 -1
- package/dist/sdk/newsletter-store-CvULKmsu.js.map +0 -1
- package/dist/sdk/p-08ff2de2.entry.js +0 -2
- package/dist/sdk/p-08ff2de2.entry.js.map +0 -1
- package/dist/sdk/p-1ea49938.entry.js +0 -2
- package/dist/sdk/p-1ea49938.entry.js.map +0 -1
- package/dist/sdk/p-2a65bcbb.entry.js +0 -2
- package/dist/sdk/p-2a65bcbb.entry.js.map +0 -1
- package/dist/sdk/p-2af8b45f.entry.js +0 -2
- package/dist/sdk/p-2af8b45f.entry.js.map +0 -1
- package/dist/sdk/p-3411c743.entry.js +0 -2
- package/dist/sdk/p-3411c743.entry.js.map +0 -1
- package/dist/sdk/p-467c7304.entry.js +0 -2
- package/dist/sdk/p-467c7304.entry.js.map +0 -1
- package/dist/sdk/p-56abb377.entry.js +0 -2
- package/dist/sdk/p-56abb377.entry.js.map +0 -1
- package/dist/sdk/p-5703102b.entry.js +0 -2
- package/dist/sdk/p-5703102b.entry.js.map +0 -1
- package/dist/sdk/p-593c6dde.entry.js +0 -2
- package/dist/sdk/p-593c6dde.entry.js.map +0 -1
- package/dist/sdk/p-5b627aea.entry.js +0 -2
- package/dist/sdk/p-5b627aea.entry.js.map +0 -1
- package/dist/sdk/p-5babee6b.entry.js +0 -2
- package/dist/sdk/p-5babee6b.entry.js.map +0 -1
- package/dist/sdk/p-5cc20a8b.entry.js +0 -2
- package/dist/sdk/p-5cc20a8b.entry.js.map +0 -1
- package/dist/sdk/p-628ccd68.entry.js +0 -2
- package/dist/sdk/p-628ccd68.entry.js.map +0 -1
- package/dist/sdk/p-675eb13d.entry.js +0 -2
- package/dist/sdk/p-675eb13d.entry.js.map +0 -1
- package/dist/sdk/p-6893d167.entry.js +0 -2
- package/dist/sdk/p-6893d167.entry.js.map +0 -1
- package/dist/sdk/p-6a642433.entry.js +0 -2
- package/dist/sdk/p-6a642433.entry.js.map +0 -1
- package/dist/sdk/p-73c2ec89.entry.js +0 -2
- package/dist/sdk/p-73c2ec89.entry.js.map +0 -1
- package/dist/sdk/p-7a0cefff.entry.js +0 -2
- package/dist/sdk/p-7a0cefff.entry.js.map +0 -1
- package/dist/sdk/p-91bb8b59.entry.js +0 -2
- package/dist/sdk/p-91bb8b59.entry.js.map +0 -1
- package/dist/sdk/p-9f59909b.entry.js +0 -2
- package/dist/sdk/p-9f59909b.entry.js.map +0 -1
- package/dist/sdk/p-BZ1kW_eK.js +0 -2
- package/dist/sdk/p-BZ1kW_eK.js.map +0 -1
- package/dist/sdk/p-BlAULXyw.js +0 -2
- package/dist/sdk/p-BlAULXyw.js.map +0 -1
- package/dist/sdk/p-BlOjABPD.js +0 -2
- package/dist/sdk/p-BlOjABPD.js.map +0 -1
- package/dist/sdk/p-BqFCd65h.js +0 -2
- package/dist/sdk/p-BqFCd65h.js.map +0 -1
- package/dist/sdk/p-C0feI0p8.js +0 -2
- package/dist/sdk/p-C0feI0p8.js.map +0 -1
- package/dist/sdk/p-C3fhudPT.js +0 -2
- package/dist/sdk/p-C3fhudPT.js.map +0 -1
- package/dist/sdk/p-CFiZLMAA.js +0 -2
- package/dist/sdk/p-CFiZLMAA.js.map +0 -1
- package/dist/sdk/p-CPPYdoIv.js +0 -2
- package/dist/sdk/p-CPPYdoIv.js.map +0 -1
- package/dist/sdk/p-CbRhHGU5.js +0 -2
- package/dist/sdk/p-CbRhHGU5.js.map +0 -1
- package/dist/sdk/p-Ce8zGAi1.js +0 -2
- package/dist/sdk/p-Ce8zGAi1.js.map +0 -1
- package/dist/sdk/p-Ci3aTmzp.js +0 -3
- package/dist/sdk/p-Ci3aTmzp.js.map +0 -1
- package/dist/sdk/p-D1lzXl_Z.js +0 -2
- package/dist/sdk/p-D1lzXl_Z.js.map +0 -1
- package/dist/sdk/p-DA84OuuU.js +0 -2
- package/dist/sdk/p-DA84OuuU.js.map +0 -1
- package/dist/sdk/p-DUHc_Cx7.js +0 -2
- package/dist/sdk/p-DUHc_Cx7.js.map +0 -1
- package/dist/sdk/p-DYtgart8.js +0 -2
- package/dist/sdk/p-DYtgart8.js.map +0 -1
- package/dist/sdk/p-DdUvQelg.js +0 -2
- package/dist/sdk/p-DdUvQelg.js.map +0 -1
- package/dist/sdk/p-S3-2d2Qd.js +0 -2
- package/dist/sdk/p-S3-2d2Qd.js.map +0 -1
- package/dist/sdk/p-a4b7ffd8.entry.js +0 -2
- package/dist/sdk/p-a4b7ffd8.entry.js.map +0 -1
- package/dist/sdk/p-a5db968f.entry.js +0 -2
- package/dist/sdk/p-a5db968f.entry.js.map +0 -1
- package/dist/sdk/p-a6393d19.entry.js +0 -2
- package/dist/sdk/p-a6393d19.entry.js.map +0 -1
- package/dist/sdk/p-c31dbbb4.entry.js +0 -2
- package/dist/sdk/p-c31dbbb4.entry.js.map +0 -1
- package/dist/sdk/p-c5bffd90.entry.js +0 -2
- package/dist/sdk/p-c5bffd90.entry.js.map +0 -1
- package/dist/sdk/p-da363474.entry.js +0 -2
- package/dist/sdk/p-da363474.entry.js.map +0 -1
- package/dist/sdk/p-e3611b71.entry.js +0 -2
- package/dist/sdk/p-e3611b71.entry.js.map +0 -1
- package/dist/sdk/p-e3f28800.entry.js +0 -2
- package/dist/sdk/p-e3f28800.entry.js.map +0 -1
- package/dist/sdk/p-effaf86b.entry.js +0 -2
- package/dist/sdk/p-effaf86b.entry.js.map +0 -1
- package/dist/sdk/p-f0598e42.entry.js +0 -2
- package/dist/sdk/p-f0598e42.entry.js.map +0 -1
- package/dist/sdk/p-f369a996.entry.js +0 -2
- package/dist/sdk/p-f369a996.entry.js.map +0 -1
- package/dist/sdk/p-ffac964c.entry.js +0 -2
- package/dist/sdk/p-ffac964c.entry.js.map +0 -1
- package/dist/sdk/profile-helpers-BDjk573F.js.map +0 -1
- package/dist/sdk/profile-helpers-b8Koj20a.js.map +0 -1
- package/dist/sdk/profile-store-BZKApsQm.js.map +0 -1
- package/dist/sdk/profile-store-DD6sq42i.js.map +0 -1
- package/dist/sdk/sdk.css +0 -39
- package/dist/sdk/sdk.esm.js +0 -2
- package/dist/sdk/sdk.esm.js.map +0 -1
- package/dist/sdk/u-conditional-render.entry.esm.js.map +0 -1
- package/dist/sdk/u-config.entry.esm.js.map +0 -1
- package/dist/sdk/u-email-field.entry.esm.js.map +0 -1
- package/dist/sdk/u-error-message.entry.esm.js.map +0 -1
- package/dist/sdk/u-field.u-raw-field.entry.esm.js.map +0 -1
- package/dist/sdk/u-flash-message.entry.esm.js.map +0 -1
- package/dist/sdk/u-full-profile.entry.esm.js.map +0 -1
- package/dist/sdk/u-logout-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-magic-code-field.entry.esm.js.map +0 -1
- package/dist/sdk/u-missing-field.entry.esm.js.map +0 -1
- package/dist/sdk/u-missing-fields-submit-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-newsletter-checkbox.entry.esm.js.map +0 -1
- package/dist/sdk/u-newsletter-logout-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-newsletter-preference-checkbox.entry.esm.js.map +0 -1
- package/dist/sdk/u-newsletter-resend-doi-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-newsletter-root.entry.esm.js.map +0 -1
- package/dist/sdk/u-newsletter-toggle-subscription-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-pagination-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-pagination-page.entry.esm.js.map +0 -1
- package/dist/sdk/u-passkey.entry.esm.js.map +0 -1
- package/dist/sdk/u-password-field.entry.esm.js.map +0 -1
- package/dist/sdk/u-password-field.entry.js +0 -104
- package/dist/sdk/u-profile.u-submit-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-registration-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-reset-password-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-reset-password-button.entry.js +0 -54
- package/dist/sdk/u-send-magic-code-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-signed-in.entry.esm.js.map +0 -1
- package/dist/sdk/u-signin-root.entry.esm.js.map +0 -1
- package/dist/sdk/u-signin-step.entry.esm.js.map +0 -1
- package/dist/sdk/u-signin-strategy.entry.esm.js.map +0 -1
- package/dist/sdk/u-social-login-button.entry.esm.js.map +0 -1
- package/dist/sdk/u-spinner.entry.esm.js.map +0 -1
- package/dist/sdk/u-ticketable-list.entry.esm.js.map +0 -1
- package/dist/sdk/unidy-store-BwZym11Y.js.map +0 -1
- package/dist/sdk/unidy-store-CtifvCkV.js.map +0 -1
- package/dist/types/api/client.d.ts +0 -32
- package/dist/types/api/index.d.ts +0 -22
- package/dist/types/api/shared.d.ts +0 -20
- package/dist/types/auth/api/auth.d.ts +0 -300
- package/dist/types/auth/auth-helpers.d.ts +0 -375
- package/dist/types/auth/auth.d.ts +0 -54
- package/dist/types/auth/components/helpers.d.ts +0 -1
- package/dist/types/auth/components/logout-button/logout-button.d.ts +0 -8
- package/dist/types/auth/components/magic-code-field/magic-code-field.d.ts +0 -10
- package/dist/types/auth/components/missing-field/missing-field.d.ts +0 -4
- package/dist/types/auth/components/missing-fields-submit-button/missing-fields-submit-button.d.ts +0 -5
- package/dist/types/auth/components/passkey/passkey.d.ts +0 -9
- package/dist/types/auth/components/password-field/password-field.d.ts +0 -15
- package/dist/types/auth/components/registration/registration-button.d.ts +0 -11
- package/dist/types/auth/components/reset-pass-button/reset-pass-button.d.ts +0 -7
- package/dist/types/auth/components/send-magic-code-button/send-magic-code-button.d.ts +0 -11
- package/dist/types/auth/components/signed-in/signed-in.d.ts +0 -5
- package/dist/types/auth/components/signin-root/signin-root.d.ts +0 -14
- package/dist/types/auth/components/signin-step/signin-step.d.ts +0 -8
- package/dist/types/auth/components/signin-strategy/signin-strategy.d.ts +0 -5
- package/dist/types/auth/components/social-logins/logos/apple.d.ts +0 -4
- package/dist/types/auth/components/social-logins/logos/discord.d.ts +0 -4
- package/dist/types/auth/components/social-logins/logos/facebook.d.ts +0 -4
- package/dist/types/auth/components/social-logins/logos/google.d.ts +0 -4
- package/dist/types/auth/components/social-logins/logos/linkedin.d.ts +0 -4
- package/dist/types/auth/components/social-logins/social-login-button.d.ts +0 -24
- package/dist/types/auth/components/submit-button/auth-submit-button.d.ts +0 -3
- package/dist/types/auth/error-definitions.d.ts +0 -23
- package/dist/types/auth/index.d.ts +0 -16
- package/dist/types/auth/passkey-auth.d.ts +0 -2
- package/dist/types/auth/store/auth-store.d.ts +0 -56
- package/dist/types/components.d.ts +0 -1246
- package/dist/types/globalScript.d.ts +0 -1
- package/dist/types/i18n.d.ts +0 -3
- package/dist/types/index.d.ts +0 -16
- package/dist/types/logger.d.ts +0 -55
- package/dist/types/newsletter/api/newsletters.d.ts +0 -198
- package/dist/types/newsletter/components/helpers.d.ts +0 -1
- package/dist/types/newsletter/components/logout-button/logout-button.d.ts +0 -6
- package/dist/types/newsletter/components/newsletter-checkbox/newsletter-checkbox.d.ts +0 -10
- package/dist/types/newsletter/components/newsletter-root/newsletter-root.d.ts +0 -11
- package/dist/types/newsletter/components/preference-checkbox/preference-checkbox.d.ts +0 -23
- package/dist/types/newsletter/components/resend-doi-button/resend-doi-button.d.ts +0 -8
- package/dist/types/newsletter/components/submit-button/newsletter-submit-button.d.ts +0 -3
- package/dist/types/newsletter/components/toggle-subscription-button/toggle-subscription-button.d.ts +0 -12
- package/dist/types/newsletter/index.d.ts +0 -10
- package/dist/types/newsletter/newsletter-helpers.d.ts +0 -15
- package/dist/types/newsletter/store/newsletter-store.d.ts +0 -25
- package/dist/types/profile/api/profile.d.ts +0 -238
- package/dist/types/profile/components/field/field.d.ts +0 -40
- package/dist/types/profile/components/full-profile/full-profile.d.ts +0 -6
- package/dist/types/profile/components/profile/profile.d.ts +0 -27
- package/dist/types/profile/components/raw-field/raw-field.d.ts +0 -45
- package/dist/types/profile/components/raw-input-fields/Input.d.ts +0 -17
- package/dist/types/profile/components/raw-input-fields/MultiSelect.d.ts +0 -28
- package/dist/types/profile/components/raw-input-fields/RadioGroup.d.ts +0 -30
- package/dist/types/profile/components/raw-input-fields/Select.d.ts +0 -24
- package/dist/types/profile/components/raw-input-fields/Textarea.d.ts +0 -17
- package/dist/types/profile/components/submit-button/profile-submit-button.d.ts +0 -2
- package/dist/types/profile/index.d.ts +0 -13
- package/dist/types/profile/profile-helpers.d.ts +0 -7
- package/dist/types/profile/store/profile-store.d.ts +0 -39
- package/dist/types/shared/component-utils.d.ts +0 -9
- package/dist/types/shared/components/conditional-render/conditional-render.d.ts +0 -11
- package/dist/types/shared/components/config/config.d.ts +0 -31
- package/dist/types/shared/components/email-field/email-field.d.ts +0 -13
- package/dist/types/shared/components/error-message/error-message.d.ts +0 -15
- package/dist/types/shared/components/flash-message/close-icon.d.ts +0 -1
- package/dist/types/shared/components/flash-message/flash-message.d.ts +0 -6
- package/dist/types/shared/components/spinner/spinner.d.ts +0 -3
- package/dist/types/shared/components/submit-button/context.d.ts +0 -9
- package/dist/types/shared/components/submit-button/submit-button.d.ts +0 -20
- package/dist/types/shared/store/flash-store.d.ts +0 -29
- package/dist/types/shared/store/unidy-store.d.ts +0 -12
- package/dist/types/stencil-public-runtime.d.ts +0 -1756
- package/dist/types/ticketable/api/get-with-schema.d.ts +0 -3
- package/dist/types/ticketable/api/schemas.d.ts +0 -18
- package/dist/types/ticketable/api/subscriptions.d.ts +0 -84
- package/dist/types/ticketable/api/tickets.d.ts +0 -86
- package/dist/types/ticketable/components/pagination/pagination-button.d.ts +0 -14
- package/dist/types/ticketable/components/pagination/pagination-page.d.ts +0 -12
- package/dist/types/ticketable/components/ticketable-list/skeleton-helpers.d.ts +0 -13
- package/dist/types/ticketable/components/ticketable-list/ticketable-list.d.ts +0 -41
- package/dist/types/ticketable/index.d.ts +0 -12
- package/dist/types/ticketable/store/pagination-store.d.ts +0 -10
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
|
@@ -1,359 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
import { t } from "../../../i18n";
|
|
3
|
-
import { state as profileState } from "../../store/profile-store";
|
|
4
|
-
/**
|
|
5
|
-
* @part select_field - Styles the base <select> element.
|
|
6
|
-
* @part select_field--example_field - Example of a field-specific selector.
|
|
7
|
-
* Replace `example_field` with your field name.
|
|
8
|
-
* e.g. `custom_attributes.favorite_nut` → `select_field--custom_attributes-favorite_nut`, `country_code` → `select_field--country-code`
|
|
9
|
-
* @part radio-group-item_radio
|
|
10
|
-
* @part radio-group_field
|
|
11
|
-
* @part radio-group-item_label
|
|
12
|
-
* @part radio_checked
|
|
13
|
-
* @part multi-select-item_checkbox
|
|
14
|
-
* @part multi-select-group_field
|
|
15
|
-
* @part multi-select-item_label
|
|
16
|
-
* @part textarea_field
|
|
17
|
-
* @part input_field
|
|
18
|
-
*/
|
|
19
|
-
export class Field {
|
|
20
|
-
field;
|
|
21
|
-
required = false;
|
|
22
|
-
readonlyPlaceholder = "No information";
|
|
23
|
-
countryCodeDisplayOption = "label";
|
|
24
|
-
invalidPhoneMessage = "Please enter a valid phone number.";
|
|
25
|
-
componentClassName;
|
|
26
|
-
emptyOption = true;
|
|
27
|
-
placeholder;
|
|
28
|
-
renderDefaultLabel = true;
|
|
29
|
-
pattern;
|
|
30
|
-
patternErrorMessage;
|
|
31
|
-
validationFunc;
|
|
32
|
-
el;
|
|
33
|
-
selected;
|
|
34
|
-
getFieldData() {
|
|
35
|
-
return this.field.startsWith("custom_attributes.")
|
|
36
|
-
? profileState.data.custom_attributes?.[this.field.replace("custom_attributes.", "")]
|
|
37
|
-
: profileState.data[this.field];
|
|
38
|
-
}
|
|
39
|
-
componentWillLoad() { }
|
|
40
|
-
componentDidRender() {
|
|
41
|
-
const fieldErrors = profileState.errors;
|
|
42
|
-
if (Object.keys(fieldErrors)[0] === this.field) {
|
|
43
|
-
this.el.shadowRoot?.getElementById(this.field)?.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
44
|
-
this.el.shadowRoot
|
|
45
|
-
?.getElementById(this.field)
|
|
46
|
-
?.querySelector("input, select, textarea")
|
|
47
|
-
?.focus();
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
createSpecificPartKey(fieldName) {
|
|
51
|
-
if (fieldName.startsWith("custom_attributes.")) {
|
|
52
|
-
return fieldName.replace(/[^\w-]/g, "-");
|
|
53
|
-
}
|
|
54
|
-
return fieldName;
|
|
55
|
-
}
|
|
56
|
-
// biome-ignore lint/suspicious/noExplicitAny: needed for dynamic fieldData
|
|
57
|
-
multiSelectLabel = (fieldData) => {
|
|
58
|
-
const multiselectMatches = [];
|
|
59
|
-
if (Array.isArray(fieldData.value)) {
|
|
60
|
-
for (const val of fieldData.value) {
|
|
61
|
-
// biome-ignore lint/suspicious/noExplicitAny: needed for dynamic option
|
|
62
|
-
const match = fieldData.options?.find((opt) => opt.value === val);
|
|
63
|
-
const optionTranslationKey = `fields.${this.field}.options.${val}`;
|
|
64
|
-
const translatedOptionLabel = t(optionTranslationKey);
|
|
65
|
-
const optionLabel = translatedOptionLabel !== optionTranslationKey ? translatedOptionLabel : match?.label;
|
|
66
|
-
multiselectMatches.push(optionLabel ?? val);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
return multiselectMatches;
|
|
70
|
-
};
|
|
71
|
-
render() {
|
|
72
|
-
if (profileState.loading) {
|
|
73
|
-
return h("u-spinner", null);
|
|
74
|
-
}
|
|
75
|
-
const fieldData = this.getFieldData();
|
|
76
|
-
if (!fieldData) {
|
|
77
|
-
return null;
|
|
78
|
-
}
|
|
79
|
-
const labelTranslationKey = `fields.${this.field}.label`;
|
|
80
|
-
const label = t(labelTranslationKey, { defaultValue: fieldData?.label });
|
|
81
|
-
const placeholderTranslationKey = `fields.${this.field}.placeholder`;
|
|
82
|
-
const placeholder = t(placeholderTranslationKey, { defaultValue: this.placeholder ? this.placeholder : "" });
|
|
83
|
-
const readonlyPlaceholderTranslationKey = `fields.${this.field}.readonlyPlaceholder`;
|
|
84
|
-
const readonlyPlaceholder = t(readonlyPlaceholderTranslationKey, {
|
|
85
|
-
defaultValue: this.readonlyPlaceholder ? this.readonlyPlaceholder : "",
|
|
86
|
-
});
|
|
87
|
-
const translatedOptions = (fieldData.options || []).map((opt) => {
|
|
88
|
-
const translationKey = `fields.${this.field}.options.${opt.value}`;
|
|
89
|
-
const label = t(translationKey, { defaultValue: opt.label });
|
|
90
|
-
return { ...opt, label };
|
|
91
|
-
});
|
|
92
|
-
const translatedRadioOptions = (fieldData.radio_options || []).map((opt) => {
|
|
93
|
-
const translationKey = `fields.${this.field}.options.${opt.value}`;
|
|
94
|
-
const label = t(translationKey, { defaultValue: opt.label });
|
|
95
|
-
return { ...opt, label };
|
|
96
|
-
});
|
|
97
|
-
const errorPrefix = t("errors.prefix", { defaultValue: "ERROR: " });
|
|
98
|
-
const isLocked = !!fieldData?.locked;
|
|
99
|
-
const lockedText = fieldData?.locked_text ? fieldData.locked_text : "";
|
|
100
|
-
const isReadonly = fieldData?.readonly === true;
|
|
101
|
-
const multiSelectReadonlyLabels = this.multiSelectLabel(fieldData);
|
|
102
|
-
return (h("div", { part: `field-container field-container--${this.createSpecificPartKey(this.field)}` }, h("slot", { name: "label" }), this.renderDefaultLabel && (h("label", { htmlFor: this.field, part: `field_label field_label--${this.createSpecificPartKey(this.field)}` }, label, fieldData?.required || this.required ? h("span", { part: "required-indicator" }, " *") : null)), isReadonly && fieldData?.type !== "checkbox" ? (h("span", { id: this.field, part: "readonly-indicator" }, fieldData?.value || readonlyPlaceholder)) : null, isReadonly && fieldData?.type === "checkbox" && (h("ul", { id: this.field, class: "multi-select-readonly-container", part: "multi-select-readonly-container" }, multiSelectReadonlyLabels.map((label) => (h("li", { key: label, part: "multi-select-readonly-field" }, label))))), !isReadonly && (h("u-raw-field", { id: this.field, field: this.field, type: fieldData.type, value: fieldData.value, options: fieldData.type === "select" ? translatedOptions : undefined, radioOptions: fieldData.type === "radio" ? translatedRadioOptions : undefined, multiSelectOptions: fieldData.type === "checkbox" ? translatedOptions : undefined, required: fieldData.required || this.required, disabled: isLocked, tooltip: isLocked ? lockedText : undefined, placeholder: placeholder, componentClassName: this.componentClassName, emptyOption: this.emptyOption, countryCodeDisplayOption: this.countryCodeDisplayOption, attrName: fieldData.attr_name, specificPartKey: this.createSpecificPartKey(this.field), ariaDescribedBy: profileState.errors[this.field] ? `${this.field}-error` : undefined, pattern: this.pattern, patternErrorMessage: this.patternErrorMessage, validationFunc: this.validationFunc })), profileState.errors[this.field] && (h("span", { id: `${this.field}-error`, part: "field-error-message", "aria-live": "assertive" }, errorPrefix, " ", profileState.errors[this.field]))));
|
|
103
|
-
}
|
|
104
|
-
static get is() { return "u-field"; }
|
|
105
|
-
static get encapsulation() { return "shadow"; }
|
|
106
|
-
static get originalStyleUrls() {
|
|
107
|
-
return {
|
|
108
|
-
"$": ["field.css"]
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
static get styleUrls() {
|
|
112
|
-
return {
|
|
113
|
-
"$": ["field.css"]
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
static get properties() {
|
|
117
|
-
return {
|
|
118
|
-
"field": {
|
|
119
|
-
"type": "string",
|
|
120
|
-
"mutable": false,
|
|
121
|
-
"complexType": {
|
|
122
|
-
"original": "string",
|
|
123
|
-
"resolved": "string",
|
|
124
|
-
"references": {}
|
|
125
|
-
},
|
|
126
|
-
"required": true,
|
|
127
|
-
"optional": false,
|
|
128
|
-
"docs": {
|
|
129
|
-
"tags": [],
|
|
130
|
-
"text": ""
|
|
131
|
-
},
|
|
132
|
-
"getter": false,
|
|
133
|
-
"setter": false,
|
|
134
|
-
"reflect": false,
|
|
135
|
-
"attribute": "field"
|
|
136
|
-
},
|
|
137
|
-
"required": {
|
|
138
|
-
"type": "boolean",
|
|
139
|
-
"mutable": false,
|
|
140
|
-
"complexType": {
|
|
141
|
-
"original": "boolean",
|
|
142
|
-
"resolved": "boolean",
|
|
143
|
-
"references": {}
|
|
144
|
-
},
|
|
145
|
-
"required": false,
|
|
146
|
-
"optional": false,
|
|
147
|
-
"docs": {
|
|
148
|
-
"tags": [],
|
|
149
|
-
"text": ""
|
|
150
|
-
},
|
|
151
|
-
"getter": false,
|
|
152
|
-
"setter": false,
|
|
153
|
-
"reflect": false,
|
|
154
|
-
"attribute": "required",
|
|
155
|
-
"defaultValue": "false"
|
|
156
|
-
},
|
|
157
|
-
"readonlyPlaceholder": {
|
|
158
|
-
"type": "string",
|
|
159
|
-
"mutable": false,
|
|
160
|
-
"complexType": {
|
|
161
|
-
"original": "string",
|
|
162
|
-
"resolved": "string",
|
|
163
|
-
"references": {}
|
|
164
|
-
},
|
|
165
|
-
"required": false,
|
|
166
|
-
"optional": false,
|
|
167
|
-
"docs": {
|
|
168
|
-
"tags": [],
|
|
169
|
-
"text": ""
|
|
170
|
-
},
|
|
171
|
-
"getter": false,
|
|
172
|
-
"setter": false,
|
|
173
|
-
"reflect": false,
|
|
174
|
-
"attribute": "readonly-placeholder",
|
|
175
|
-
"defaultValue": "\"No information\""
|
|
176
|
-
},
|
|
177
|
-
"countryCodeDisplayOption": {
|
|
178
|
-
"type": "string",
|
|
179
|
-
"mutable": false,
|
|
180
|
-
"complexType": {
|
|
181
|
-
"original": "\"icon\" | \"label\"",
|
|
182
|
-
"resolved": "\"icon\" | \"label\"",
|
|
183
|
-
"references": {}
|
|
184
|
-
},
|
|
185
|
-
"required": false,
|
|
186
|
-
"optional": true,
|
|
187
|
-
"docs": {
|
|
188
|
-
"tags": [],
|
|
189
|
-
"text": ""
|
|
190
|
-
},
|
|
191
|
-
"getter": false,
|
|
192
|
-
"setter": false,
|
|
193
|
-
"reflect": false,
|
|
194
|
-
"attribute": "country-code-display-option",
|
|
195
|
-
"defaultValue": "\"label\""
|
|
196
|
-
},
|
|
197
|
-
"invalidPhoneMessage": {
|
|
198
|
-
"type": "string",
|
|
199
|
-
"mutable": false,
|
|
200
|
-
"complexType": {
|
|
201
|
-
"original": "string",
|
|
202
|
-
"resolved": "string",
|
|
203
|
-
"references": {}
|
|
204
|
-
},
|
|
205
|
-
"required": false,
|
|
206
|
-
"optional": false,
|
|
207
|
-
"docs": {
|
|
208
|
-
"tags": [],
|
|
209
|
-
"text": ""
|
|
210
|
-
},
|
|
211
|
-
"getter": false,
|
|
212
|
-
"setter": false,
|
|
213
|
-
"reflect": false,
|
|
214
|
-
"attribute": "invalid-phone-message",
|
|
215
|
-
"defaultValue": "\"Please enter a valid phone number.\""
|
|
216
|
-
},
|
|
217
|
-
"componentClassName": {
|
|
218
|
-
"type": "string",
|
|
219
|
-
"mutable": false,
|
|
220
|
-
"complexType": {
|
|
221
|
-
"original": "string",
|
|
222
|
-
"resolved": "string",
|
|
223
|
-
"references": {}
|
|
224
|
-
},
|
|
225
|
-
"required": false,
|
|
226
|
-
"optional": true,
|
|
227
|
-
"docs": {
|
|
228
|
-
"tags": [],
|
|
229
|
-
"text": ""
|
|
230
|
-
},
|
|
231
|
-
"getter": false,
|
|
232
|
-
"setter": false,
|
|
233
|
-
"reflect": false,
|
|
234
|
-
"attribute": "class-name"
|
|
235
|
-
},
|
|
236
|
-
"emptyOption": {
|
|
237
|
-
"type": "boolean",
|
|
238
|
-
"mutable": false,
|
|
239
|
-
"complexType": {
|
|
240
|
-
"original": "boolean",
|
|
241
|
-
"resolved": "boolean",
|
|
242
|
-
"references": {}
|
|
243
|
-
},
|
|
244
|
-
"required": false,
|
|
245
|
-
"optional": false,
|
|
246
|
-
"docs": {
|
|
247
|
-
"tags": [],
|
|
248
|
-
"text": ""
|
|
249
|
-
},
|
|
250
|
-
"getter": false,
|
|
251
|
-
"setter": false,
|
|
252
|
-
"reflect": false,
|
|
253
|
-
"attribute": "empty-option",
|
|
254
|
-
"defaultValue": "true"
|
|
255
|
-
},
|
|
256
|
-
"placeholder": {
|
|
257
|
-
"type": "string",
|
|
258
|
-
"mutable": false,
|
|
259
|
-
"complexType": {
|
|
260
|
-
"original": "string",
|
|
261
|
-
"resolved": "string",
|
|
262
|
-
"references": {}
|
|
263
|
-
},
|
|
264
|
-
"required": false,
|
|
265
|
-
"optional": true,
|
|
266
|
-
"docs": {
|
|
267
|
-
"tags": [],
|
|
268
|
-
"text": ""
|
|
269
|
-
},
|
|
270
|
-
"getter": false,
|
|
271
|
-
"setter": false,
|
|
272
|
-
"reflect": false,
|
|
273
|
-
"attribute": "placeholder"
|
|
274
|
-
},
|
|
275
|
-
"renderDefaultLabel": {
|
|
276
|
-
"type": "boolean",
|
|
277
|
-
"mutable": false,
|
|
278
|
-
"complexType": {
|
|
279
|
-
"original": "boolean",
|
|
280
|
-
"resolved": "boolean",
|
|
281
|
-
"references": {}
|
|
282
|
-
},
|
|
283
|
-
"required": false,
|
|
284
|
-
"optional": false,
|
|
285
|
-
"docs": {
|
|
286
|
-
"tags": [],
|
|
287
|
-
"text": ""
|
|
288
|
-
},
|
|
289
|
-
"getter": false,
|
|
290
|
-
"setter": false,
|
|
291
|
-
"reflect": false,
|
|
292
|
-
"attribute": "render-default-label",
|
|
293
|
-
"defaultValue": "true"
|
|
294
|
-
},
|
|
295
|
-
"pattern": {
|
|
296
|
-
"type": "string",
|
|
297
|
-
"mutable": false,
|
|
298
|
-
"complexType": {
|
|
299
|
-
"original": "string",
|
|
300
|
-
"resolved": "string",
|
|
301
|
-
"references": {}
|
|
302
|
-
},
|
|
303
|
-
"required": false,
|
|
304
|
-
"optional": true,
|
|
305
|
-
"docs": {
|
|
306
|
-
"tags": [],
|
|
307
|
-
"text": ""
|
|
308
|
-
},
|
|
309
|
-
"getter": false,
|
|
310
|
-
"setter": false,
|
|
311
|
-
"reflect": false,
|
|
312
|
-
"attribute": "pattern"
|
|
313
|
-
},
|
|
314
|
-
"patternErrorMessage": {
|
|
315
|
-
"type": "string",
|
|
316
|
-
"mutable": false,
|
|
317
|
-
"complexType": {
|
|
318
|
-
"original": "string",
|
|
319
|
-
"resolved": "string",
|
|
320
|
-
"references": {}
|
|
321
|
-
},
|
|
322
|
-
"required": false,
|
|
323
|
-
"optional": true,
|
|
324
|
-
"docs": {
|
|
325
|
-
"tags": [],
|
|
326
|
-
"text": ""
|
|
327
|
-
},
|
|
328
|
-
"getter": false,
|
|
329
|
-
"setter": false,
|
|
330
|
-
"reflect": false,
|
|
331
|
-
"attribute": "pattern-error-message"
|
|
332
|
-
},
|
|
333
|
-
"validationFunc": {
|
|
334
|
-
"type": "unknown",
|
|
335
|
-
"mutable": false,
|
|
336
|
-
"complexType": {
|
|
337
|
-
"original": "(value: string | string[]) => { valid: boolean; message?: string }",
|
|
338
|
-
"resolved": "(value: string | string[]) => { valid: boolean; message?: string; }",
|
|
339
|
-
"references": {}
|
|
340
|
-
},
|
|
341
|
-
"required": false,
|
|
342
|
-
"optional": true,
|
|
343
|
-
"docs": {
|
|
344
|
-
"tags": [],
|
|
345
|
-
"text": ""
|
|
346
|
-
},
|
|
347
|
-
"getter": false,
|
|
348
|
-
"setter": false
|
|
349
|
-
}
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
static get states() {
|
|
353
|
-
return {
|
|
354
|
-
"selected": {}
|
|
355
|
-
};
|
|
356
|
-
}
|
|
357
|
-
static get elementRef() { return "el"; }
|
|
358
|
-
}
|
|
359
|
-
//# sourceMappingURL=field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field.js","sourceRoot":"","sources":["../../../../src/profile/components/field/field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClC,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAClE;;;;;;;;;;;;;;G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AAC,CAAC,SAAS,EACpF,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,EAC7C,cAAc,EAAE,IAAI,CAAC,cAAc,GACnC,CACH;YAEA,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAClC,YAAM,EAAE,EAAE,GAAG,IAAI,CAAC,KAAK,QAAQ,EAAE,IAAI,EAAC,qBAAqB,eAAW,WAAW;gBAC9E,WAAW;;gBAAG,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CACzC,CACR,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, State, h, Element } from \"@stencil/core\";\nimport { t } from \"../../../i18n\";\nimport { state as profileState } from \"../../store/profile-store\";\n/**\n * @part select_field - Styles the base <select> element.\n * @part select_field--example_field - Example of a field-specific selector.\n * Replace `example_field` with your field name.\n * e.g. `custom_attributes.favorite_nut` → `select_field--custom_attributes-favorite_nut`, `country_code` → `select_field--country-code`\n * @part radio-group-item_radio\n * @part radio-group_field\n * @part radio-group-item_label\n * @part radio_checked\n * @part multi-select-item_checkbox\n * @part multi-select-group_field\n * @part multi-select-item_label\n * @part textarea_field\n * @part input_field\n */\n\n@Component({\n tag: \"u-field\",\n styleUrl: \"field.css\",\n shadow: true,\n})\nexport class Field {\n @Prop() field!: string;\n @Prop() required = false;\n @Prop() readonlyPlaceholder = \"No information\";\n @Prop() countryCodeDisplayOption?: \"icon\" | \"label\" = \"label\";\n @Prop() invalidPhoneMessage = \"Please enter a valid phone number.\";\n @Prop({ attribute: \"class-name\" }) componentClassName?: string;\n @Prop() emptyOption = true;\n @Prop() placeholder?: string;\n @Prop() renderDefaultLabel = true;\n\n @Prop() pattern?: string;\n @Prop() patternErrorMessage?: string;\n @Prop() validationFunc?: (value: string | string[]) => { valid: boolean; message?: string };\n\n @Element() el!: HTMLElement;\n\n @State() selected?: string | string[];\n\n private getFieldData() {\n return this.field.startsWith(\"custom_attributes.\")\n ? profileState.data.custom_attributes?.[this.field.replace(\"custom_attributes.\", \"\")]\n : profileState.data[this.field];\n }\n\n componentWillLoad() {}\n\n componentDidRender() {\n const fieldErrors = profileState.errors;\n\n if (Object.keys(fieldErrors)[0] === this.field) {\n this.el.shadowRoot?.getElementById(this.field)?.scrollIntoView({ behavior: \"smooth\", block: \"center\" });\n this.el.shadowRoot\n ?.getElementById(this.field)\n ?.querySelector<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>(\"input, select, textarea\")\n ?.focus();\n }\n }\n\n private createSpecificPartKey(fieldName: string) {\n if (fieldName.startsWith(\"custom_attributes.\")) {\n return fieldName.replace(/[^\\w-]/g, \"-\");\n }\n return fieldName;\n }\n\n // biome-ignore lint/suspicious/noExplicitAny: needed for dynamic fieldData\n private multiSelectLabel = (fieldData: any): string[] => {\n const multiselectMatches: string[] = [];\n if (Array.isArray(fieldData.value)) {\n for (const val of fieldData.value) {\n // biome-ignore lint/suspicious/noExplicitAny: needed for dynamic option\n const match = fieldData.options?.find((opt: any) => opt.value === val);\n const optionTranslationKey = `fields.${this.field}.options.${val}`;\n const translatedOptionLabel = t(optionTranslationKey);\n const optionLabel = translatedOptionLabel !== optionTranslationKey ? translatedOptionLabel : match?.label;\n multiselectMatches.push(optionLabel ?? val);\n }\n }\n return multiselectMatches;\n };\n\n render() {\n if (profileState.loading) {\n return <u-spinner />;\n }\n\n const fieldData = this.getFieldData();\n if (!fieldData) {\n return null;\n }\n\n const labelTranslationKey = `fields.${this.field}.label`;\n const label = t(labelTranslationKey, { defaultValue: fieldData?.label });\n\n const placeholderTranslationKey = `fields.${this.field}.placeholder`;\n const placeholder = t(placeholderTranslationKey, { defaultValue: this.placeholder ? this.placeholder : \"\" });\n\n const readonlyPlaceholderTranslationKey = `fields.${this.field}.readonlyPlaceholder`;\n const readonlyPlaceholder = t(readonlyPlaceholderTranslationKey, {\n defaultValue: this.readonlyPlaceholder ? this.readonlyPlaceholder : \"\",\n });\n\n const translatedOptions = (fieldData.options || []).map((opt) => {\n const translationKey = `fields.${this.field}.options.${opt.value}`;\n const label = t(translationKey, { defaultValue: opt.label });\n return { ...opt, label };\n });\n\n const translatedRadioOptions = (fieldData.radio_options || []).map((opt) => {\n const translationKey = `fields.${this.field}.options.${opt.value}`;\n const label = t(translationKey, { defaultValue: opt.label });\n return { ...opt, label };\n });\n\n const errorPrefix = t(\"errors.prefix\", { defaultValue: \"ERROR: \" });\n\n const isLocked = !!fieldData?.locked;\n const lockedText = fieldData?.locked_text ? fieldData.locked_text : \"\";\n const isReadonly = fieldData?.readonly === true;\n const multiSelectReadonlyLabels = this.multiSelectLabel(fieldData);\n\n return (\n <div part={`field-container field-container--${this.createSpecificPartKey(this.field)}`}>\n <slot name=\"label\" />\n\n {this.renderDefaultLabel && (\n <label htmlFor={this.field} part={`field_label field_label--${this.createSpecificPartKey(this.field)}`}>\n {label}\n {fieldData?.required || this.required ? <span part=\"required-indicator\"> *</span> : null}\n </label>\n )}\n {isReadonly && fieldData?.type !== \"checkbox\" ? (\n <span id={this.field} part=\"readonly-indicator\">\n {fieldData?.value || readonlyPlaceholder}\n </span>\n ) : null}\n {isReadonly && fieldData?.type === \"checkbox\" && (\n <ul id={this.field} class=\"multi-select-readonly-container\" part=\"multi-select-readonly-container\">\n {multiSelectReadonlyLabels.map((label) => (\n <li key={label} part=\"multi-select-readonly-field\">\n {label}\n </li>\n ))}\n </ul>\n )}\n {!isReadonly && (\n <u-raw-field\n id={this.field}\n field={this.field}\n type={fieldData.type as string}\n value={fieldData.value}\n options={fieldData.type === \"select\" ? translatedOptions : undefined}\n radioOptions={fieldData.type === \"radio\" ? translatedRadioOptions : undefined}\n multiSelectOptions={fieldData.type === \"checkbox\" ? translatedOptions : undefined}\n required={fieldData.required || this.required}\n disabled={isLocked}\n tooltip={isLocked ? lockedText : undefined}\n placeholder={placeholder}\n componentClassName={this.componentClassName}\n emptyOption={this.emptyOption}\n countryCodeDisplayOption={this.countryCodeDisplayOption}\n attrName={fieldData.attr_name}\n specificPartKey={this.createSpecificPartKey(this.field)}\n ariaDescribedBy={profileState.errors[this.field] ? `${this.field}-error` : undefined}\n pattern={this.pattern}\n patternErrorMessage={this.patternErrorMessage}\n validationFunc={this.validationFunc}\n />\n )}\n\n {profileState.errors[this.field] && (\n <span id={`${this.field}-error`} part=\"field-error-message\" aria-live=\"assertive\">\n {errorPrefix} {profileState.errors[this.field]}\n </span>\n )}\n </div>\n );\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme{:host,:root{--u-font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--u-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--u-default-font-family:var(--u-font-sans);--u-default-mono-font-family:var(--u-font-mono);--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{font-family:var(--u-default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--u-default-font-feature-settings,normal);font-variation-settings:var(--u-default-font-variation-settings,normal);-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--u-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--u-default-mono-font-feature-settings,normal);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--u-default-mono-font-variation-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.u\:flex{display:flex}.u\:justify-end{justify-content:flex-end}} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer base{}@layer components;@layer utilities{.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
import { t } from "../../../i18n";
|
|
3
|
-
import { state as profileState } from "../../store/profile-store";
|
|
4
|
-
const EXCLUDED_FIELDS = ['custom_attributes', 'email', 'preferred_language'];
|
|
5
|
-
export class FullProfile {
|
|
6
|
-
fields;
|
|
7
|
-
countryCodeDisplayOption = "label";
|
|
8
|
-
list() {
|
|
9
|
-
if (this.fields) {
|
|
10
|
-
return this.fields
|
|
11
|
-
.split(",")
|
|
12
|
-
.map((field) => field.trim())
|
|
13
|
-
.filter(Boolean);
|
|
14
|
-
}
|
|
15
|
-
return [
|
|
16
|
-
...Object.keys(profileState.data || {}).filter((field) => !EXCLUDED_FIELDS.includes(field)),
|
|
17
|
-
...Object.keys(profileState.data?.custom_attributes || {}).map((field) => `custom_attributes.${field}`),
|
|
18
|
-
];
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
return (h("u-profile", { key: 'e3e7e3d645c884f0fad805b4f40c6dd16319c33f' }, this.list().map((field) => (h("u-field", { key: field, field: field, countryCodeDisplayOption: this.countryCodeDisplayOption }))), h("div", { key: '81358b421d25d7c6fc77a8cce6c22af8121c73ff', class: "u:flex u:justify-end" }, h("u-submit-button", { key: '075a0b4531bfb34bfbe7a60cb61340aa95c8a5c5' }, t("buttons.submit")))));
|
|
22
|
-
}
|
|
23
|
-
static get is() { return "u-full-profile"; }
|
|
24
|
-
static get originalStyleUrls() {
|
|
25
|
-
return {
|
|
26
|
-
"$": ["full-profile.css"]
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
static get styleUrls() {
|
|
30
|
-
return {
|
|
31
|
-
"$": ["full-profile.css"]
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
static get properties() {
|
|
35
|
-
return {
|
|
36
|
-
"fields": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"mutable": false,
|
|
39
|
-
"complexType": {
|
|
40
|
-
"original": "string",
|
|
41
|
-
"resolved": "string",
|
|
42
|
-
"references": {}
|
|
43
|
-
},
|
|
44
|
-
"required": false,
|
|
45
|
-
"optional": true,
|
|
46
|
-
"docs": {
|
|
47
|
-
"tags": [],
|
|
48
|
-
"text": ""
|
|
49
|
-
},
|
|
50
|
-
"getter": false,
|
|
51
|
-
"setter": false,
|
|
52
|
-
"reflect": false,
|
|
53
|
-
"attribute": "fields"
|
|
54
|
-
},
|
|
55
|
-
"countryCodeDisplayOption": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"mutable": false,
|
|
58
|
-
"complexType": {
|
|
59
|
-
"original": "\"icon\" | \"label\"",
|
|
60
|
-
"resolved": "\"icon\" | \"label\"",
|
|
61
|
-
"references": {}
|
|
62
|
-
},
|
|
63
|
-
"required": false,
|
|
64
|
-
"optional": true,
|
|
65
|
-
"docs": {
|
|
66
|
-
"tags": [],
|
|
67
|
-
"text": ""
|
|
68
|
-
},
|
|
69
|
-
"getter": false,
|
|
70
|
-
"setter": false,
|
|
71
|
-
"reflect": false,
|
|
72
|
-
"attribute": "country-code-display-option",
|
|
73
|
-
"defaultValue": "\"label\""
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
//# sourceMappingURL=full-profile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"full-profile.js","sourceRoot":"","sources":["../../../../src/profile/components/full-profile/full-profile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClC,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAElE,MAAM,eAAe,GAAG,CAAC,mBAAmB,EAAE,OAAO,EAAE,oBAAoB,CAAC,CAAA;AAO5E,MAAM,OAAO,WAAW;IACd,MAAM,CAAU;IAChB,wBAAwB,GAAsB,OAAO,CAAC;IAEtD,IAAI;QACV,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC,MAAM;iBACf,KAAK,CAAC,GAAG,CAAC;iBACV,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;iBAC5B,MAAM,CAAC,OAAO,CAAC,CAAC;QACrB,CAAC;QAED,OAAO;YACL,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC3F,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,iBAAiB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,qBAAqB,KAAK,EAAE,CAAC;SACxG,CAAC;IACJ,CAAC;IAED,MAAM;QACJ,OAAO,CACL;YACG,IAAI,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC1B,eAAS,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,GAAI,CAC/F,CAAC;YACF,4DAAK,KAAK,EAAC,sBAAsB;gBAC/B,0EAAkB,CAAC,CAAC,gBAAgB,CAAC,CAAmB,CACpD,CACI,CACb,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from \"@stencil/core\";\nimport { t } from \"../../../i18n\";\nimport { state as profileState } from \"../../store/profile-store\";\n\nconst EXCLUDED_FIELDS = ['custom_attributes', 'email', 'preferred_language']\n\n@Component({\n tag: \"u-full-profile\",\n styleUrl: \"full-profile.css\",\n shadow: false,\n})\nexport class FullProfile {\n @Prop() fields?: string;\n @Prop() countryCodeDisplayOption?: \"icon\" | \"label\" = \"label\";\n\n private list() {\n if (this.fields) {\n return this.fields\n .split(\",\")\n .map((field) => field.trim())\n .filter(Boolean);\n }\n\n return [\n ...Object.keys(profileState.data || {}).filter((field) => !EXCLUDED_FIELDS.includes(field)),\n ...Object.keys(profileState.data?.custom_attributes || {}).map((field) => `custom_attributes.${field}`),\n ];\n }\n\n render() {\n return (\n <u-profile>\n {this.list().map((field) => (\n <u-field key={field} field={field} countryCodeDisplayOption={this.countryCodeDisplayOption} />\n ))}\n <div class=\"u:flex u:justify-end\">\n <u-submit-button>{t(\"buttons.submit\")}</u-submit-button>\n </div>\n </u-profile>\n );\n }\n}\n"]}
|