@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,64 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, g as getElement, h, H as Host } from './index-Ci3aTmzp.js';
|
|
2
|
-
import { s as state } from './auth-store-BGMYm_jK.js';
|
|
3
|
-
import { A as Auth } from './auth-B0RIcDM-.js';
|
|
4
|
-
import './index-Bjp1XO-f.js';
|
|
5
|
-
import './unidy-store-BldTAtO0.js';
|
|
6
|
-
import './index-DSDkaHWI.js';
|
|
7
|
-
import './i18n-CLdWzy5J.js';
|
|
8
|
-
import './profile-store-RmZB2PTc.js';
|
|
9
|
-
import './component-utils-D1lzXl_Z.js';
|
|
10
|
-
import './flash-store-CEvWSG0c.js';
|
|
11
|
-
|
|
12
|
-
const SigninStep = class {
|
|
13
|
-
constructor(hostRef) {
|
|
14
|
-
registerInstance(this, hostRef);
|
|
15
|
-
}
|
|
16
|
-
get el() { return getElement(this); }
|
|
17
|
-
name;
|
|
18
|
-
alwaysRender = false;
|
|
19
|
-
async isActive() {
|
|
20
|
-
return state.step === this.name || this.alwaysRender;
|
|
21
|
-
}
|
|
22
|
-
async submit() {
|
|
23
|
-
if (state.loading)
|
|
24
|
-
return;
|
|
25
|
-
const authInstance = await Auth.getInstance();
|
|
26
|
-
if (state.step === "email" || state.step === "single-login") {
|
|
27
|
-
await authInstance.helpers.createSignIn(state.email, state.password);
|
|
28
|
-
}
|
|
29
|
-
else if (state.step === "verification") {
|
|
30
|
-
await authInstance.helpers.authenticateWithPassword(state.password);
|
|
31
|
-
}
|
|
32
|
-
else if (state.step === "reset-password") {
|
|
33
|
-
await authInstance.helpers.resetPassword();
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
let shouldRender = false;
|
|
38
|
-
if (this.name === "email") {
|
|
39
|
-
shouldRender = state.step === "email";
|
|
40
|
-
}
|
|
41
|
-
else if (this.name === "verification") {
|
|
42
|
-
shouldRender = state.step === "verification" || state.step === "magic-code";
|
|
43
|
-
}
|
|
44
|
-
else if (this.name === "reset-password") {
|
|
45
|
-
shouldRender = state.step === "reset-password";
|
|
46
|
-
}
|
|
47
|
-
else if (this.name === "registration") {
|
|
48
|
-
shouldRender = state.step === "registration" && state.errors.email === "account_not_found";
|
|
49
|
-
}
|
|
50
|
-
else if (this.name === "single-login") {
|
|
51
|
-
shouldRender = state.step === "single-login";
|
|
52
|
-
}
|
|
53
|
-
else if (this.name === "missing-fields") {
|
|
54
|
-
shouldRender = state.step === "missing-fields";
|
|
55
|
-
}
|
|
56
|
-
if (!shouldRender) {
|
|
57
|
-
return null;
|
|
58
|
-
}
|
|
59
|
-
return (h(Host, null, h("slot", null)));
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
export { SigninStep as u_signin_step };
|
|
64
|
-
//# sourceMappingURL=u-signin-step.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"u-signin-step.entry.js","sources":["src/auth/components/signin-step/signin-step.tsx"],"sourcesContent":["import { Component, Host, h, Prop, Method, Element } from \"@stencil/core\";\nimport { authState } from \"../../store/auth-store\";\nimport { Auth } from \"../..\";\n\n@Component({\n tag: \"u-signin-step\",\n shadow: true,\n})\nexport class SigninStep {\n @Element() el!: HTMLElement;\n @Prop() name!: \"email\" | \"verification\" | \"reset-password\" | \"single-login\" | \"missing-fields\" | \"registration\";\n @Prop() alwaysRender = false;\n\n @Method()\n async isActive(): Promise<boolean> {\n return authState.step === this.name || this.alwaysRender;\n }\n\n @Method()\n async submit() {\n if (authState.loading) return;\n\n const authInstance = await Auth.getInstance();\n\n if (authState.step === \"email\" || authState.step === \"single-login\") {\n await authInstance.helpers.createSignIn(authState.email, authState.password);\n } else if (authState.step === \"verification\") {\n await authInstance.helpers.authenticateWithPassword(authState.password);\n } else if (authState.step === \"reset-password\") {\n await authInstance.helpers.resetPassword();\n }\n }\n\n render() {\n let shouldRender = false;\n\n if (this.name === \"email\") {\n shouldRender = authState.step === \"email\";\n } else if (this.name === \"verification\") {\n shouldRender = authState.step === \"verification\" || authState.step === \"magic-code\";\n } else if (this.name === \"reset-password\") {\n shouldRender = authState.step === \"reset-password\";\n } else if (this.name === \"registration\") {\n shouldRender = authState.step === \"registration\" && authState.errors.email === \"account_not_found\";\n } else if (this.name === \"single-login\") {\n shouldRender = authState.step === \"single-login\";\n } else if (this.name === \"missing-fields\") {\n shouldRender = authState.step === \"missing-fields\";\n }\n\n if (!shouldRender) {\n return null;\n }\n\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"],"names":["authState"],"mappings":";;;;;;;;;;;MAQa,UAAU,GAAA,MAAA;;;;;AAEb,IAAA,IAAI;IACJ,YAAY,GAAG,KAAK;AAG5B,IAAA,MAAM,QAAQ,GAAA;QACZ,OAAOA,KAAS,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY;;AAI1D,IAAA,MAAM,MAAM,GAAA;QACV,IAAIA,KAAS,CAAC,OAAO;YAAE;AAEvB,QAAA,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE;AAE7C,QAAA,IAAIA,KAAS,CAAC,IAAI,KAAK,OAAO,IAAIA,KAAS,CAAC,IAAI,KAAK,cAAc,EAAE;AACnE,YAAA,MAAM,YAAY,CAAC,OAAO,CAAC,YAAY,CAACA,KAAS,CAAC,KAAK,EAAEA,KAAS,CAAC,QAAQ,CAAC;;AACvE,aAAA,IAAIA,KAAS,CAAC,IAAI,KAAK,cAAc,EAAE;YAC5C,MAAM,YAAY,CAAC,OAAO,CAAC,wBAAwB,CAACA,KAAS,CAAC,QAAQ,CAAC;;AAClE,aAAA,IAAIA,KAAS,CAAC,IAAI,KAAK,gBAAgB,EAAE;AAC9C,YAAA,MAAM,YAAY,CAAC,OAAO,CAAC,aAAa,EAAE;;;IAI9C,MAAM,GAAA;QACJ,IAAI,YAAY,GAAG,KAAK;AAExB,QAAA,IAAI,IAAI,CAAC,IAAI,KAAK,OAAO,EAAE;AACzB,YAAA,YAAY,GAAGA,KAAS,CAAC,IAAI,KAAK,OAAO;;AACpC,aAAA,IAAI,IAAI,CAAC,IAAI,KAAK,cAAc,EAAE;AACvC,YAAA,YAAY,GAAGA,KAAS,CAAC,IAAI,KAAK,cAAc,IAAIA,KAAS,CAAC,IAAI,KAAK,YAAY;;AAC9E,aAAA,IAAI,IAAI,CAAC,IAAI,KAAK,gBAAgB,EAAE;AACzC,YAAA,YAAY,GAAGA,KAAS,CAAC,IAAI,KAAK,gBAAgB;;AAC7C,aAAA,IAAI,IAAI,CAAC,IAAI,KAAK,cAAc,EAAE;AACvC,YAAA,YAAY,GAAGA,KAAS,CAAC,IAAI,KAAK,cAAc,IAAIA,KAAS,CAAC,MAAM,CAAC,KAAK,KAAK,mBAAmB;;AAC7F,aAAA,IAAI,IAAI,CAAC,IAAI,KAAK,cAAc,EAAE;AACvC,YAAA,YAAY,GAAGA,KAAS,CAAC,IAAI,KAAK,cAAc;;AAC3C,aAAA,IAAI,IAAI,CAAC,IAAI,KAAK,gBAAgB,EAAE;AACzC,YAAA,YAAY,GAAGA,KAAS,CAAC,IAAI,KAAK,gBAAgB;;QAGpD,IAAI,CAAC,YAAY,EAAE;AACjB,YAAA,OAAO,IAAI;;AAGb,QAAA,QACE,EAAC,IAAI,EAAA,IAAA,EACH,CAAQ,CAAA,MAAA,EAAA,IAAA,CAAA,CACH;;;;;;"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-Ci3aTmzp.js';
|
|
2
|
-
import { s as state } from './auth-store-BGMYm_jK.js';
|
|
3
|
-
import './index-Bjp1XO-f.js';
|
|
4
|
-
import './unidy-store-BldTAtO0.js';
|
|
5
|
-
|
|
6
|
-
const SigninStrategy = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
}
|
|
10
|
-
type;
|
|
11
|
-
componentClassName = "";
|
|
12
|
-
render() {
|
|
13
|
-
let shouldRender = false;
|
|
14
|
-
if (this.type === "password") {
|
|
15
|
-
shouldRender = state.step === "verification" && state.availableLoginOptions?.password;
|
|
16
|
-
}
|
|
17
|
-
else if (this.type === "magic-code") {
|
|
18
|
-
shouldRender = state.step === "magic-code" && state.availableLoginOptions?.magic_link;
|
|
19
|
-
}
|
|
20
|
-
if (!shouldRender) {
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
23
|
-
return (h(Host, { class: this.componentClassName }, h("slot", null)));
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export { SigninStrategy as u_signin_strategy };
|
|
28
|
-
//# sourceMappingURL=u-signin-strategy.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"u-signin-strategy.entry.js","sources":["src/auth/components/signin-strategy/signin-strategy.tsx"],"sourcesContent":["import { Component, Host, h, Prop } from \"@stencil/core\";\nimport { authState } from \"../../store/auth-store\";\n\n@Component({\n tag: \"u-signin-strategy\",\n shadow: false,\n})\nexport class SigninStrategy {\n @Prop() type!: \"password\" | \"magic-code\";\n @Prop({ attribute: \"class-name\" }) componentClassName = \"\";\n\n render() {\n let shouldRender = false;\n\n if (this.type === \"password\") {\n shouldRender = authState.step === \"verification\" && authState.availableLoginOptions?.password;\n } else if (this.type === \"magic-code\") {\n shouldRender = authState.step === \"magic-code\" && authState.availableLoginOptions?.magic_link;\n }\n\n if (!shouldRender) {\n return null;\n }\n\n return (\n <Host class={this.componentClassName}>\n <slot />\n </Host>\n );\n }\n}\n"],"names":["authState"],"mappings":";;;;;MAOa,cAAc,GAAA,MAAA;;;;AACjB,IAAA,IAAI;IACuB,kBAAkB,GAAG,EAAE;IAE1D,MAAM,GAAA;QACJ,IAAI,YAAY,GAAG,KAAK;AAExB,QAAA,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,EAAE;AAC5B,YAAA,YAAY,GAAGA,KAAS,CAAC,IAAI,KAAK,cAAc,IAAIA,KAAS,CAAC,qBAAqB,EAAE,QAAQ;;AACxF,aAAA,IAAI,IAAI,CAAC,IAAI,KAAK,YAAY,EAAE;AACrC,YAAA,YAAY,GAAGA,KAAS,CAAC,IAAI,KAAK,YAAY,IAAIA,KAAS,CAAC,qBAAqB,EAAE,UAAU;;QAG/F,IAAI,CAAC,YAAY,EAAE;AACjB,YAAA,OAAO,IAAI;;QAGb,QACE,EAAC,IAAI,EAAA,EAAC,KAAK,EAAE,IAAI,CAAC,kBAAkB,EAAA,EAClC,CAAQ,CAAA,MAAA,EAAA,IAAA,CAAA,CACH;;;;;;"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { h, U as UnidyComponent, r as registerInstance, d as captureException } from './index-Ci3aTmzp.js';
|
|
2
|
-
import { t } from './i18n-CLdWzy5J.js';
|
|
3
|
-
import { u as unidyState } from './unidy-store-BldTAtO0.js';
|
|
4
|
-
import { s as state } from './auth-store-BGMYm_jK.js';
|
|
5
|
-
import './index-Bjp1XO-f.js';
|
|
6
|
-
|
|
7
|
-
const GoogleLogo = ({ className }) => (h("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 48 48", style: { display: "block" }, class: className }, h("title", null, "Google Logo"), h("path", { fill: "#EA4335", d: "M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z" }), h("path", { fill: "#4285F4", d: "M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z" }), h("path", { fill: "#FBBC05", d: "M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z" }), h("path", { fill: "#34A853", d: "M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z" }), h("path", { fill: "none", d: "M0 0h48v48H0z" })));
|
|
8
|
-
|
|
9
|
-
const LinkedInLogo = ({ className }) => (h("svg", { version: "1.1", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", x: "0px", y: "0px", viewBox: "0 0 382 382", style: { enableBackground: "new 0 0 382 382" }, class: className }, h("title", null, "LinkedIn Logo"), h("path", { style: { fill: "#0077B7" }, d: "M347.445,0H34.555C15.471,0,0,15.471,0,34.555v312.889C0,366.529,15.471,382,34.555,382h312.889\n \tC366.529,382,382,366.529,382,347.444V34.555C382,15.471,366.529,0,347.445,0z M118.207,329.844c0,5.554-4.502,10.056-10.056,10.056\n \tH65.345c-5.554,0-10.056-4.502-10.056-10.056V150.403c0-5.554,4.502-10.056,10.056-10.056h42.806\n \tc5.554,0,10.056,4.502,10.056,10.056V329.844z M86.748,123.432c-22.459,0-40.666-18.207-40.666-40.666S64.289,42.1,86.748,42.1\n \ts40.666,18.207,40.666,40.666S109.208,123.432,86.748,123.432z M341.91,330.654c0,5.106-4.14,9.246-9.246,9.246H286.73\n \tc-5.106,0-9.246-4.14-9.246-9.246v-84.168c0-12.556,3.683-55.021-32.813-55.021c-28.309,0-34.051,29.066-35.204,42.11v97.079\n \tc0,5.106-4.139,9.246-9.246,9.246h-44.426c-5.106,0-9.246-4.14-9.246-9.246V149.593c0-5.106,4.14-9.246,9.246-9.246h44.426\n \tc5.106,0,9.246,4.14,9.246,9.246v15.655c10.497-15.753,26.097-27.912,59.312-27.912c73.552,0,73.131,68.716,73.131,106.472\n \tL341.91,330.654L341.91,330.654z" })));
|
|
10
|
-
|
|
11
|
-
const AppleLogo = ({ className }) => (h("svg", { xmlns: "http://www.w3.org/2000/svg", x: "0px", y: "0px", viewBox: "0 0 48 48", class: className }, h("title", null, "Apple Logo"), h("path", { d: "M 44.527344 34.75 C 43.449219 37.144531 42.929688 38.214844 41.542969 40.328125 C 39.601563 43.28125 36.863281 46.96875 33.480469 46.992188 C 30.46875 47.019531 29.691406 45.027344 25.601563 45.0625 C 21.515625 45.082031 20.664063 47.03125 17.648438 47 C 14.261719 46.96875 11.671875 43.648438 9.730469 40.699219 C 4.300781 32.429688 3.726563 22.734375 7.082031 17.578125 C 9.457031 13.921875 13.210938 11.773438 16.738281 11.773438 C 20.332031 11.773438 22.589844 13.746094 25.558594 13.746094 C 28.441406 13.746094 30.195313 11.769531 34.351563 11.769531 C 37.492188 11.769531 40.8125 13.480469 43.1875 16.433594 C 35.421875 20.691406 36.683594 31.78125 44.527344 34.75 Z M 31.195313 8.46875 C 32.707031 6.527344 33.855469 3.789063 33.4375 1 C 30.972656 1.167969 28.089844 2.742188 26.40625 4.78125 C 24.878906 6.640625 23.613281 9.398438 24.105469 12.066406 C 26.796875 12.152344 29.582031 10.546875 31.195313 8.46875 Z" })));
|
|
12
|
-
|
|
13
|
-
const FacebookLogo = ({ className }) => (h("svg", { xmlns: "http://www.w3.org/2000/svg", x: "0px", y: "0px", viewBox: "0 0 48 48", class: className }, h("title", null, "Facebook Logo"), h("path", { fill: "#4267b2", d: "M24 5A19 19 0 1 0 24 43A19 19 0 1 0 24 5Z" }), h("path", { fill: "#fff", d: "M26.572,29.036h4.917l0.772-4.995h-5.69v-2.73c0-2.075,0.678-3.915,2.619-3.915h3.119v-4.359c-0.548-0.074-1.707-0.236-3.897-0.236c-4.573,0-7.254,2.415-7.254,7.917v3.323h-4.701v4.995h4.701v13.729C22.089,42.905,23.032,43,24,43c0.875,0,1.729-0.08,2.572-0.194V29.036z" })));
|
|
14
|
-
|
|
15
|
-
const DiscordLogo = ({ className }) => (h("svg", { viewBox: "0 0 71 55", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: className }, h("title", null, "Discord Logo"), h("g", { "clip-path": "url(#clip0)" }, h("path", { d: "M60.1045 4.8978C55.5792 2.8214 50.7265 1.2916 45.6527 0.41542C45.5603 0.39851 45.468 0.440769 45.4204 0.525289C44.7963 1.6353 44.105 3.0834 43.6209 4.2216C38.1637 3.4046 32.7345 3.4046 27.3892 4.2216C26.905 3.0581 26.1886 1.6353 25.5617 0.525289C25.5141 0.443589 25.4218 0.40133 25.3294 0.41542C20.2584 1.2888 15.4057 2.8186 10.8776 4.8978C10.8384 4.9147 10.8048 4.9429 10.7825 4.9795C1.57795 18.7309 -0.943561 32.1443 0.293408 45.3914C0.299005 45.4562 0.335386 45.5182 0.385761 45.5576C6.45866 50.0174 12.3413 52.7249 18.1147 54.5195C18.2071 54.5477 18.305 54.5139 18.3638 54.4378C19.7295 52.5728 20.9469 50.6063 21.9907 48.5383C22.0523 48.4172 21.9935 48.2735 21.8676 48.2256C19.9366 47.4931 18.0979 46.6 16.3292 45.5858C16.1893 45.5041 16.1781 45.304 16.3068 45.2082C16.679 44.9293 17.0513 44.6391 17.4067 44.3461C17.471 44.2926 17.5606 44.2813 17.6362 44.3151C29.2558 49.6202 41.8354 49.6202 53.3179 44.3151C53.3935 44.2785 53.4831 44.2898 53.5502 44.3433C53.9057 44.6363 54.2779 44.9293 54.6529 45.2082C54.7816 45.304 54.7732 45.5041 54.6333 45.5858C52.8646 46.6197 51.0259 47.4931 49.0921 48.2228C48.9662 48.2707 48.9102 48.4172 48.9718 48.5383C50.038 50.6034 51.2554 52.5699 52.5959 54.435C52.6519 54.5139 52.7526 54.5477 52.845 54.5195C58.6464 52.7249 64.529 50.0174 70.6019 45.5576C70.6551 45.5182 70.6887 45.459 70.6943 45.3942C72.1747 30.0791 68.2147 16.7757 60.1968 4.9823C60.1772 4.9429 60.1437 4.9147 60.1045 4.8978ZM23.7259 37.3253C20.2276 37.3253 17.3451 34.1136 17.3451 30.1693C17.3451 26.225 20.1717 23.0133 23.7259 23.0133C27.308 23.0133 30.1626 26.2532 30.1066 30.1693C30.1066 34.1136 27.28 37.3253 23.7259 37.3253ZM47.3178 37.3253C43.8196 37.3253 40.9371 34.1136 40.9371 30.1693C40.9371 26.225 43.7636 23.0133 47.3178 23.0133C50.9 23.0133 53.7545 26.2532 53.6986 30.1693C53.6986 34.1136 50.9 37.3253 47.3178 37.3253Z", fill: "fill-current" })), h("defs", null, h("clipPath", { id: "clip0" }, h("rect", { width: "71", height: "55", fill: "white" })))));
|
|
16
|
-
|
|
17
|
-
const socialLoginButtonCss = "/*! 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-ring-offset-width:0px;--tw-border-style:solid;--tw-font-weight:initial;--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:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:host,:root{--u-color-gray-100:oklch(96.7% .003 264.542);--u-color-gray-300:oklch(87.2% .01 258.338);--u-color-gray-600:oklch(44.6% .03 256.802);--u-color-white:#fff;--u-spacing:.25rem;--u-text-base:1rem;--u-text-base--line-height:1.5;--u-font-weight-medium:500;--u-radius-md:.375rem;--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);tab-size:4;-webkit-tap-highlight-color:transparent;line-height:1.5}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:currentColor;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\\:sr-only{border-width:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.u\\:ml-4{margin-left:calc(var(--u-spacing)*4)}.u\\:block{display:block}.u\\:flex{display:flex}.u\\:h-5{height:calc(var(--u-spacing)*5)}.u\\:h-6{height:calc(var(--u-spacing)*6)}.u\\:h-10{height:calc(var(--u-spacing)*10)}.u\\:w-5{width:calc(var(--u-spacing)*5)}.u\\:w-6{width:calc(var(--u-spacing)*6)}.u\\:w-full{width:100%}.u\\:cursor-not-allowed{cursor:not-allowed}.u\\:cursor-pointer{cursor:pointer}.u\\:items-center{align-items:center}.u\\:justify-center{justify-content:center}.u\\:rounded-md{border-radius:var(--u-radius-md)}.u\\:border{border-style:var(--tw-border-style);border-width:1px}.u\\:border-solid{--tw-border-style:solid;border-style:solid}.u\\:border-gray-300{border-color:var(--u-color-gray-300)}.u\\:border-gray-600{border-color:var(--u-color-gray-600)}.u\\:bg-\\[\\#131314\\]{background-color:#131314}.u\\:bg-white{background-color:var(--u-color-white)}.u\\:fill-current{fill:currentColor}.u\\:text-base{font-size:var(--u-text-base);line-height:var(--tw-leading,var(--u-text-base--line-height))}.u\\:font-medium{--tw-font-weight:var(--u-font-weight-medium);font-weight:var(--u-font-weight-medium)}.u\\:text-\\[\\#1f1f1f\\]{color:#1f1f1f}.u\\:text-white{color:var(--u-color-white)}.block{display:block}.hidden{display:none}.fill-current{fill:currentColor}.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)}} /*! 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 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{}@layer base{}@layer components;@layer utilities{}:host{display:block}@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}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:\"*\";inherits:false}@media (hover:hover){.u\\:hover\\:bg-\\[\\#1f1f20\\]:hover{background-color:#1f1f20}.u\\:hover\\:bg-gray-100:hover{background-color:var(--u-color-gray-100)}}";
|
|
18
|
-
|
|
19
|
-
const SHARED_ICON_CLASSNAME = "u:w-5 u:h-5 u:block";
|
|
20
|
-
const ICON_MAP = {
|
|
21
|
-
google: h(GoogleLogo, { className: SHARED_ICON_CLASSNAME }),
|
|
22
|
-
linkedin: h(LinkedInLogo, { className: SHARED_ICON_CLASSNAME }),
|
|
23
|
-
apple: h(AppleLogo, { className: `${SHARED_ICON_CLASSNAME} u:fill-current` }),
|
|
24
|
-
discord: h(DiscordLogo, { className: `${SHARED_ICON_CLASSNAME} u:fill-current` }),
|
|
25
|
-
facebook: h(FacebookLogo, { className: "u:w-6 u:h-6 u:block" }),
|
|
26
|
-
};
|
|
27
|
-
const SocialLoginButton = class extends UnidyComponent {
|
|
28
|
-
constructor(hostRef) {
|
|
29
|
-
super();
|
|
30
|
-
registerInstance(this, hostRef);
|
|
31
|
-
}
|
|
32
|
-
provider = "google";
|
|
33
|
-
redirectUri = window.location.href;
|
|
34
|
-
iconOnly = false;
|
|
35
|
-
theme = "light";
|
|
36
|
-
componentWillLoad() {
|
|
37
|
-
if (this.isUnsupportedProvider) {
|
|
38
|
-
captureException(`[u-social-login-button] Unsupported provider "${this.provider}".`);
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
get isUnsupportedProvider() {
|
|
43
|
-
return !Object.hasOwn(ICON_MAP, this.provider) && this.provider !== "unidy";
|
|
44
|
-
}
|
|
45
|
-
get isProviderEnabled() {
|
|
46
|
-
if (state.step !== "verification") {
|
|
47
|
-
return true; // TODO: for now we show all providers on the email step since we don't have registration flow in place yet
|
|
48
|
-
}
|
|
49
|
-
if (!state.availableLoginOptions?.social_logins) {
|
|
50
|
-
return false;
|
|
51
|
-
}
|
|
52
|
-
return state.availableLoginOptions.social_logins.some((enabled) => enabled.startsWith(this.provider) || enabled === this.provider);
|
|
53
|
-
}
|
|
54
|
-
getAuthUrl() {
|
|
55
|
-
const baseUrl = unidyState.baseUrl;
|
|
56
|
-
const redirectUri = this.redirectUri ? encodeURIComponent(this.redirectUri) : baseUrl;
|
|
57
|
-
return `${baseUrl}/api/sdk/v1/sign_ins/auth/omniauth/${this.provider}?sdk_redirect_uri=${redirectUri}`;
|
|
58
|
-
}
|
|
59
|
-
onClick = async () => {
|
|
60
|
-
if (!unidyState.baseUrl) {
|
|
61
|
-
this.logger.error("baseUrl is not set. Make sure <u-config> is rendered with a valid base-url.");
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
window.location.href = this.getAuthUrl();
|
|
65
|
-
};
|
|
66
|
-
renderIcon() {
|
|
67
|
-
if (this.isUnsupportedProvider || this.provider === "unidy") {
|
|
68
|
-
return null;
|
|
69
|
-
}
|
|
70
|
-
return ICON_MAP[this.provider];
|
|
71
|
-
}
|
|
72
|
-
getButtonClasses() {
|
|
73
|
-
const baseClasses = "u:w-full u:h-10 u:border u:border-solid u:rounded-md u:text-base u:font-medium";
|
|
74
|
-
const cursorClass = this.isUnsupportedProvider ? "u:cursor-not-allowed" : "u:cursor-pointer";
|
|
75
|
-
const themeClasses = this.theme === "dark"
|
|
76
|
-
? "u:bg-[#131314] u:text-white u:border-gray-600 u:hover:bg-[#1f1f20]"
|
|
77
|
-
: "u:bg-white u:text-[#1f1f1f] u:border-gray-300 u:hover:bg-gray-100";
|
|
78
|
-
return `${baseClasses} ${cursorClass} ${themeClasses}`;
|
|
79
|
-
}
|
|
80
|
-
render() {
|
|
81
|
-
if (!this.isProviderEnabled) {
|
|
82
|
-
return null;
|
|
83
|
-
}
|
|
84
|
-
const providerName = this.provider.charAt(0).toUpperCase() + this.provider.slice(1);
|
|
85
|
-
const text = t("auth.socialLogin.button_text", {
|
|
86
|
-
defaultValue: "Continue with {{provider}}",
|
|
87
|
-
provider: providerName,
|
|
88
|
-
});
|
|
89
|
-
// TODO: allow users to customize already used providers with custom text and icon
|
|
90
|
-
return (h("button", { type: "button", class: this.getButtonClasses(), onClick: this.onClick, part: "social-login-button" }, h("div", { class: "u:flex u:items-center u:justify-center", part: "social-login-button-content" }, h("slot", { name: "icon" }, h("span", { "aria-hidden": "true" }, this.renderIcon())), this.iconOnly ? (
|
|
91
|
-
// Render the hidden text for accessibility.
|
|
92
|
-
h("span", { class: "u:sr-only" }, text)) : (h("span", { class: !this.isUnsupportedProvider ? "u:ml-4" : "", part: "social-login-button-text" }, text)))));
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
SocialLoginButton.style = socialLoginButtonCss;
|
|
96
|
-
|
|
97
|
-
export { SocialLoginButton as u_social_login_button };
|
|
98
|
-
//# sourceMappingURL=u-social-login-button.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"u-social-login-button.entry.js","sources":["src/auth/components/social-logins/logos/google.tsx","src/auth/components/social-logins/logos/linkedin.tsx","src/auth/components/social-logins/logos/apple.tsx","src/auth/components/social-logins/logos/facebook.tsx","src/auth/components/social-logins/logos/discord.tsx","src/auth/components/social-logins/social-login-button.css?tag=u-social-login-button&encapsulation=shadow","src/auth/components/social-logins/social-login-button.tsx"],"sourcesContent":["import { type FunctionalComponent, h } from \"@stencil/core\";\n\nexport const GoogleLogo: FunctionalComponent<{ className: string }> = ({ className }) => (\n <svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 48 48\" style={{ display: \"block\" }} class={className}>\n <title>Google Logo</title>\n <path\n fill=\"#EA4335\"\n d=\"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z\"\n />\n <path\n fill=\"#4285F4\"\n d=\"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z\"\n />\n <path\n fill=\"#FBBC05\"\n d=\"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z\"\n />\n <path\n fill=\"#34A853\"\n d=\"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z\"\n />\n <path fill=\"none\" d=\"M0 0h48v48H0z\" />\n </svg>\n);\n","import { type FunctionalComponent, h } from \"@stencil/core\";\n\nexport const LinkedInLogo: FunctionalComponent<{ className: string }> = ({ className }) => (\n <svg\n version=\"1.1\"\n id=\"Layer_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 382 382\"\n style={{ enableBackground: \"new 0 0 382 382\" }}\n class={className}\n >\n <title>LinkedIn Logo</title>\n <path\n style={{ fill: \"#0077B7\" }}\n d=\"M347.445,0H34.555C15.471,0,0,15.471,0,34.555v312.889C0,366.529,15.471,382,34.555,382h312.889\n \tC366.529,382,382,366.529,382,347.444V34.555C382,15.471,366.529,0,347.445,0z M118.207,329.844c0,5.554-4.502,10.056-10.056,10.056\n \tH65.345c-5.554,0-10.056-4.502-10.056-10.056V150.403c0-5.554,4.502-10.056,10.056-10.056h42.806\n \tc5.554,0,10.056,4.502,10.056,10.056V329.844z M86.748,123.432c-22.459,0-40.666-18.207-40.666-40.666S64.289,42.1,86.748,42.1\n \ts40.666,18.207,40.666,40.666S109.208,123.432,86.748,123.432z M341.91,330.654c0,5.106-4.14,9.246-9.246,9.246H286.73\n \tc-5.106,0-9.246-4.14-9.246-9.246v-84.168c0-12.556,3.683-55.021-32.813-55.021c-28.309,0-34.051,29.066-35.204,42.11v97.079\n \tc0,5.106-4.139,9.246-9.246,9.246h-44.426c-5.106,0-9.246-4.14-9.246-9.246V149.593c0-5.106,4.14-9.246,9.246-9.246h44.426\n \tc5.106,0,9.246,4.14,9.246,9.246v15.655c10.497-15.753,26.097-27.912,59.312-27.912c73.552,0,73.131,68.716,73.131,106.472\n \tL341.91,330.654L341.91,330.654z\"\n />\n </svg>\n);\n","import { type FunctionalComponent, h } from \"@stencil/core\";\n\nexport const AppleLogo: FunctionalComponent<{ className: string }> = ({ className }) => (\n <svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 48 48\" class={className}>\n <title>Apple Logo</title>\n <path d=\"M 44.527344 34.75 C 43.449219 37.144531 42.929688 38.214844 41.542969 40.328125 C 39.601563 43.28125 36.863281 46.96875 33.480469 46.992188 C 30.46875 47.019531 29.691406 45.027344 25.601563 45.0625 C 21.515625 45.082031 20.664063 47.03125 17.648438 47 C 14.261719 46.96875 11.671875 43.648438 9.730469 40.699219 C 4.300781 32.429688 3.726563 22.734375 7.082031 17.578125 C 9.457031 13.921875 13.210938 11.773438 16.738281 11.773438 C 20.332031 11.773438 22.589844 13.746094 25.558594 13.746094 C 28.441406 13.746094 30.195313 11.769531 34.351563 11.769531 C 37.492188 11.769531 40.8125 13.480469 43.1875 16.433594 C 35.421875 20.691406 36.683594 31.78125 44.527344 34.75 Z M 31.195313 8.46875 C 32.707031 6.527344 33.855469 3.789063 33.4375 1 C 30.972656 1.167969 28.089844 2.742188 26.40625 4.78125 C 24.878906 6.640625 23.613281 9.398438 24.105469 12.066406 C 26.796875 12.152344 29.582031 10.546875 31.195313 8.46875 Z\" />\n </svg>\n);\n","import { type FunctionalComponent, h } from \"@stencil/core\";\n\nexport const FacebookLogo: FunctionalComponent<{ className: string }> = ({ className }) => (\n <svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 48 48\" class={className}>\n <title>Facebook Logo</title>\n <path fill=\"#4267b2\" d=\"M24 5A19 19 0 1 0 24 43A19 19 0 1 0 24 5Z\" />\n <path\n fill=\"#fff\"\n d=\"M26.572,29.036h4.917l0.772-4.995h-5.69v-2.73c0-2.075,0.678-3.915,2.619-3.915h3.119v-4.359c-0.548-0.074-1.707-0.236-3.897-0.236c-4.573,0-7.254,2.415-7.254,7.917v3.323h-4.701v4.995h4.701v13.729C22.089,42.905,23.032,43,24,43c0.875,0,1.729-0.08,2.572-0.194V29.036z\"\n />\n </svg>\n);\n","import { type FunctionalComponent, h } from \"@stencil/core\";\n\nexport const DiscordLogo: FunctionalComponent<{ className: string }> = ({ className }) => (\n <svg viewBox=\"0 0 71 55\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class={className}>\n <title>Discord Logo</title>\n <g clip-path=\"url(#clip0)\">\n <path\n d=\"M60.1045 4.8978C55.5792 2.8214 50.7265 1.2916 45.6527 0.41542C45.5603 0.39851 45.468 0.440769 45.4204 0.525289C44.7963 1.6353 44.105 3.0834 43.6209 4.2216C38.1637 3.4046 32.7345 3.4046 27.3892 4.2216C26.905 3.0581 26.1886 1.6353 25.5617 0.525289C25.5141 0.443589 25.4218 0.40133 25.3294 0.41542C20.2584 1.2888 15.4057 2.8186 10.8776 4.8978C10.8384 4.9147 10.8048 4.9429 10.7825 4.9795C1.57795 18.7309 -0.943561 32.1443 0.293408 45.3914C0.299005 45.4562 0.335386 45.5182 0.385761 45.5576C6.45866 50.0174 12.3413 52.7249 18.1147 54.5195C18.2071 54.5477 18.305 54.5139 18.3638 54.4378C19.7295 52.5728 20.9469 50.6063 21.9907 48.5383C22.0523 48.4172 21.9935 48.2735 21.8676 48.2256C19.9366 47.4931 18.0979 46.6 16.3292 45.5858C16.1893 45.5041 16.1781 45.304 16.3068 45.2082C16.679 44.9293 17.0513 44.6391 17.4067 44.3461C17.471 44.2926 17.5606 44.2813 17.6362 44.3151C29.2558 49.6202 41.8354 49.6202 53.3179 44.3151C53.3935 44.2785 53.4831 44.2898 53.5502 44.3433C53.9057 44.6363 54.2779 44.9293 54.6529 45.2082C54.7816 45.304 54.7732 45.5041 54.6333 45.5858C52.8646 46.6197 51.0259 47.4931 49.0921 48.2228C48.9662 48.2707 48.9102 48.4172 48.9718 48.5383C50.038 50.6034 51.2554 52.5699 52.5959 54.435C52.6519 54.5139 52.7526 54.5477 52.845 54.5195C58.6464 52.7249 64.529 50.0174 70.6019 45.5576C70.6551 45.5182 70.6887 45.459 70.6943 45.3942C72.1747 30.0791 68.2147 16.7757 60.1968 4.9823C60.1772 4.9429 60.1437 4.9147 60.1045 4.8978ZM23.7259 37.3253C20.2276 37.3253 17.3451 34.1136 17.3451 30.1693C17.3451 26.225 20.1717 23.0133 23.7259 23.0133C27.308 23.0133 30.1626 26.2532 30.1066 30.1693C30.1066 34.1136 27.28 37.3253 23.7259 37.3253ZM47.3178 37.3253C43.8196 37.3253 40.9371 34.1136 40.9371 30.1693C40.9371 26.225 43.7636 23.0133 47.3178 23.0133C50.9 23.0133 53.7545 26.2532 53.6986 30.1693C53.6986 34.1136 50.9 37.3253 47.3178 37.3253Z\"\n fill=\"fill-current\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0\">\n <rect width=\"71\" height=\"55\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n);\n",":host {\n display: block;\n}\n","import * as Sentry from \"@sentry/browser\";\nimport { Component, h, Prop } from \"@stencil/core\";\nimport { t } from \"../../../i18n\";\nimport { unidyState } from \"../../../shared/store/unidy-store\";\nimport { authState } from \"../../store/auth-store\";\nimport { GoogleLogo } from \"./logos/google\";\nimport { LinkedInLogo } from \"./logos/linkedin\";\nimport { AppleLogo } from \"./logos/apple\";\nimport { FacebookLogo } from \"./logos/facebook\";\nimport { DiscordLogo } from \"./logos/discord\";\nimport { UnidyComponent } from \"../../../logger\";\n\nconst SHARED_ICON_CLASSNAME = \"u:w-5 u:h-5 u:block\";\n\nconst ICON_MAP = {\n google: <GoogleLogo className={SHARED_ICON_CLASSNAME} />,\n linkedin: <LinkedInLogo className={SHARED_ICON_CLASSNAME} />,\n apple: <AppleLogo className={`${SHARED_ICON_CLASSNAME} u:fill-current`} />,\n discord: <DiscordLogo className={`${SHARED_ICON_CLASSNAME} u:fill-current`} />,\n facebook: <FacebookLogo className=\"u:w-6 u:h-6 u:block\" />,\n} as const;\n\ntype SocialLoginProvider = keyof typeof ICON_MAP | \"unidy\";\n\n@Component({\n tag: \"u-social-login-button\",\n styleUrl: \"social-login-button.css\",\n shadow: true,\n})\nexport class SocialLoginButton extends UnidyComponent {\n @Prop() provider: SocialLoginProvider = \"google\";\n @Prop() redirectUri: string = window.location.href;\n @Prop() iconOnly = false;\n @Prop() theme: \"light\" | \"dark\" = \"light\";\n\n componentWillLoad() {\n if (this.isUnsupportedProvider) {\n Sentry.captureException(`[u-social-login-button] Unsupported provider \"${this.provider}\".`);\n return;\n }\n }\n\n private get isUnsupportedProvider(): boolean {\n return !Object.hasOwn(ICON_MAP, this.provider) && this.provider !== \"unidy\";\n }\n\n private get isProviderEnabled(): boolean {\n if (authState.step !== \"verification\") {\n return true; // TODO: for now we show all providers on the email step since we don't have registration flow in place yet\n }\n\n if (!authState.availableLoginOptions?.social_logins) {\n return false;\n }\n\n return authState.availableLoginOptions.social_logins.some((enabled) => enabled.startsWith(this.provider) || enabled === this.provider);\n }\n\n private getAuthUrl(): string {\n const baseUrl = unidyState.baseUrl;\n const redirectUri = this.redirectUri ? encodeURIComponent(this.redirectUri) : baseUrl;\n\n return `${baseUrl}/api/sdk/v1/sign_ins/auth/omniauth/${this.provider}?sdk_redirect_uri=${redirectUri}`;\n }\n\n private onClick = async () => {\n if (!unidyState.baseUrl) {\n this.logger.error(\"baseUrl is not set. Make sure <u-config> is rendered with a valid base-url.\");\n return;\n }\n\n window.location.href = this.getAuthUrl();\n };\n\n private renderIcon() {\n if (this.isUnsupportedProvider || this.provider === \"unidy\") {\n return null;\n }\n\n return ICON_MAP[this.provider];\n }\n\n private getButtonClasses(): string {\n const baseClasses = \"u:w-full u:h-10 u:border u:border-solid u:rounded-md u:text-base u:font-medium\";\n const cursorClass = this.isUnsupportedProvider ? \"u:cursor-not-allowed\" : \"u:cursor-pointer\";\n const themeClasses =\n this.theme === \"dark\"\n ? \"u:bg-[#131314] u:text-white u:border-gray-600 u:hover:bg-[#1f1f20]\"\n : \"u:bg-white u:text-[#1f1f1f] u:border-gray-300 u:hover:bg-gray-100\";\n\n return `${baseClasses} ${cursorClass} ${themeClasses}`;\n }\n\n render() {\n if (!this.isProviderEnabled) {\n return null;\n }\n\n const providerName = this.provider.charAt(0).toUpperCase() + this.provider.slice(1);\n const text = t(\"auth.socialLogin.button_text\", {\n defaultValue: \"Continue with {{provider}}\",\n provider: providerName,\n });\n\n // TODO: allow users to customize already used providers with custom text and icon\n return (\n <button type=\"button\" class={this.getButtonClasses()} onClick={this.onClick} part=\"social-login-button\">\n <div class=\"u:flex u:items-center u:justify-center\" part=\"social-login-button-content\">\n <slot name=\"icon\">\n <span aria-hidden=\"true\">{this.renderIcon()}</span>\n </slot>\n\n {this.iconOnly ? (\n // Render the hidden text for accessibility.\n <span class=\"u:sr-only\">{text}</span>\n ) : (\n <span class={!this.isUnsupportedProvider ? \"u:ml-4\" : \"\"} part=\"social-login-button-text\">\n {text}\n </span>\n )}\n </div>\n </button>\n );\n }\n}\n"],"names":["Sentry.captureException","authState"],"mappings":"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"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-Ci3aTmzp.js';
|
|
2
|
-
|
|
3
|
-
const spinnerCss = "/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme{:host,:root{--u-animate-spin:spin 1s linear infinite;--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);tab-size:4;-webkit-tap-highlight-color:transparent;line-height:1.5}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:currentColor;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-center{justify-content:center}.u\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.u\\:disabled\\:opacity-50:disabled{opacity:.5}.u\\:inline-flex{display:inline-flex}.u\\:h-\\[1em\\]{height:1em}.u\\:w-\\[1em\\]{width:1em}.u\\:animate-spin{animation:var(--u-animate-spin)}.u\\:items-center{align-items:center}.u\\:rounded-\\[50\\%\\]{border-radius:50%}} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components;@layer utilities{}@keyframes spin{to{transform:rotate(1turn)}} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components;@layer utilities{.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 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 base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components; /*! 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-ring-offset-width:0px;--tw-border-style:solid;--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:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer base{}@layer components;@layer utilities{.container{width:100%}.border{border-style:var(--tw-border-style);border-width:1px}.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)}}:host{font-size:var(--spinner-font-size,20px)}.spinner-inner{border-top:.1em solid var(--spinner-color-secondary,#ccc);border:.1em solid var(--spinner-color-secondary,#ccc);border-top-color:var(--spinner-color-primary,#333)}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@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}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}";
|
|
4
|
-
|
|
5
|
-
const Spinner = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
return (h(Host, { key: 'f274c3b889914d85bcae58d6410a795dbe81532e', class: "u:inline-flex u:items-center u:justify-center" }, h("div", { key: 'abfbb93eb29a4e07c0bfe17a024e2e9b4acc2e47', class: "spinner-inner u:w-[1em] u:h-[1em] u:rounded-[50%] u:animate-spin", part: "spinner", role: "status", "aria-label": "Loading" })));
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
Spinner.style = spinnerCss;
|
|
14
|
-
|
|
15
|
-
export { Spinner as u_spinner };
|
|
16
|
-
//# sourceMappingURL=u-spinner.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"u-spinner.entry.js","sources":["src/shared/components/spinner/spinner.css?tag=u-spinner&encapsulation=shadow","src/shared/components/spinner/spinner.tsx"],"sourcesContent":[":host {\n font-size: var(--spinner-font-size, 20px);\n}\n\n.spinner-inner {\n border: 0.1em solid var(--spinner-color-secondary, #ccc);\n border-top: 0.1em solid var(--spinner-color-primary, #333);\n}\n","import { Component, h, Host } from \"@stencil/core\";\n\n@Component({\n tag: \"u-spinner\",\n styleUrl: \"spinner.css\",\n shadow: true,\n})\nexport class Spinner {\n render() {\n return (\n <Host class=\"u:inline-flex u:items-center u:justify-center\">\n {/* biome-ignore lint/a11y/useSemanticElements: spinner is a visual element, output tag not appropriate */}\n <div class=\"spinner-inner u:w-[1em] u:h-[1em] u:rounded-[50%] u:animate-spin\" part=\"spinner\" role=\"status\" aria-label=\"Loading\" />\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,UAAU,GAAG,i+RAAi+R;;MCOv+R,OAAO,GAAA,MAAA;;;;IAClB,MAAM,GAAA;AACJ,QAAA,QACE,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,+CAA+C,EAAA,EAEzD,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,kEAAkE,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,QAAQ,EAAY,YAAA,EAAA,SAAS,EAAG,CAAA,CAC7H;;;;;;;"}
|