@unidy.io/sdk 1.1.1-alpha2 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{esm/auth-DLKPv5Zm.js → sdk/auth-Che07PeV.js} +9 -9
- package/dist/{esm/auth-DLKPv5Zm.js.map → sdk/auth-Che07PeV.js.map} +1 -1
- package/dist/{components/auth-store.js → sdk/auth-store-CapiC8gJ.js} +4 -4
- package/dist/{esm/auth-store-BMqUdTpC.js.map → sdk/auth-store-CapiC8gJ.js.map} +1 -1
- package/dist/{components/flash-store.js → sdk/flash-store-DNcSEn2p.js} +4 -3
- package/dist/{esm/flash-store-CEvWSG0c.js.map → sdk/flash-store-DNcSEn2p.js.map} +1 -1
- package/dist/{components/i18n.js → sdk/i18n-BCI_ARJL.js} +25 -5
- package/dist/sdk/i18n-BCI_ARJL.js.map +1 -0
- package/dist/{esm/index-Bjp1XO-f.js → sdk/index-BnBstyfp.js} +3 -3
- package/dist/{esm/index-Bjp1XO-f.js.map → sdk/index-BnBstyfp.js.map} +1 -1
- package/dist/sdk/index-BqL27K_R.js +49640 -0
- package/dist/sdk/index-BqL27K_R.js.map +1 -0
- package/dist/{collection/auth/error-definitions.js → sdk/index-Cz3idqu9.js} +19 -2
- package/dist/sdk/index-Cz3idqu9.js.map +1 -0
- package/dist/sdk/index-gEcJztft.js +15349 -0
- package/dist/sdk/index-gEcJztft.js.map +1 -0
- package/dist/sdk/index.esm.js +22 -2
- package/dist/sdk/index.esm.js.map +1 -1
- package/dist/sdk/loader.esm.js.map +1 -1
- package/dist/sdk/locales/de.json +1 -0
- package/dist/sdk/locales/en.json +1 -0
- package/dist/sdk/locales/fr.json +1 -0
- package/dist/sdk/locales/it.json +1 -0
- package/dist/sdk/locales/nl_be.json +1 -0
- package/dist/sdk/locales/ro.json +1 -0
- package/dist/{esm/newsletter-helpers-Dh9k-4Ph.js → sdk/newsletter-helpers-DEXEBD0F.js} +16 -9
- package/dist/sdk/newsletter-helpers-DEXEBD0F.js.map +1 -0
- package/dist/sdk/newsletter-store-CvULKmsu.js +39 -0
- package/dist/sdk/newsletter-store-CvULKmsu.js.map +1 -0
- package/dist/{components/profile-helpers.js → sdk/profile-helpers-Bs3aj0CO.js} +4 -4
- package/dist/{esm/profile-helpers-7onubaoR.js.map → sdk/profile-helpers-Bs3aj0CO.js.map} +1 -1
- package/dist/{components/profile-store.js → sdk/profile-store-DD6sq42i.js} +3 -3
- package/dist/{esm/profile-store-RmZB2PTc.js.map → sdk/profile-store-DD6sq42i.js.map} +1 -1
- package/dist/sdk/sdk.esm.js +48 -2
- package/dist/sdk/sdk.esm.js.map +1 -1
- package/dist/sdk/u-conditional-render.entry.esm.js.map +1 -1
- package/dist/{esm → sdk}/u-conditional-render.entry.js +13 -12
- package/dist/sdk/u-config.entry.esm.js.map +1 -1
- package/dist/{esm → sdk}/u-config.entry.js +13 -12
- package/dist/sdk/u-email-field.entry.esm.js.map +1 -1
- package/dist/sdk/u-email-field.entry.js +75 -0
- package/dist/{esm → sdk}/u-error-message.entry.js +7 -7
- package/dist/sdk/u-field.entry.esm.js.map +1 -0
- package/dist/sdk/u-field.entry.js +101 -0
- package/dist/sdk/u-flash-message.entry.esm.js.map +1 -1
- package/dist/sdk/u-flash-message.entry.js +35 -0
- package/dist/sdk/u-full-profile.entry.esm.js.map +1 -1
- package/dist/sdk/u-full-profile.entry.js +35 -0
- package/dist/{esm → sdk}/u-logout-button.entry.js +11 -11
- package/dist/sdk/u-magic-code-field.entry.esm.js.map +1 -1
- package/dist/{esm → sdk}/u-magic-code-field.entry.js +10 -10
- package/dist/{esm → sdk}/u-missing-field.entry.js +5 -5
- package/dist/{esm → sdk}/u-missing-fields-submit-button.entry.js +9 -9
- package/dist/sdk/u-newsletter-checkbox.entry.esm.js.map +1 -1
- package/dist/{esm → sdk}/u-newsletter-checkbox.entry.js +25 -37
- package/dist/{esm → sdk}/u-newsletter-logout-button.entry.js +12 -12
- package/dist/sdk/u-newsletter-preference-checkbox.entry.esm.js.map +1 -1
- package/dist/{esm → sdk}/u-newsletter-preference-checkbox.entry.js +22 -33
- package/dist/sdk/u-newsletter-resend-doi-button.entry.esm.js.map +1 -1
- package/dist/sdk/u-newsletter-resend-doi-button.entry.js +47 -0
- package/dist/sdk/u-newsletter-root.entry.esm.js.map +1 -1
- package/dist/{esm → sdk}/u-newsletter-root.entry.js +19 -33
- package/dist/sdk/u-newsletter-toggle-subscription-button.entry.esm.js.map +1 -1
- package/dist/sdk/u-newsletter-toggle-subscription-button.entry.js +71 -0
- package/dist/{esm → sdk}/u-pagination-button.entry.js +2 -2
- package/dist/{esm → sdk}/u-pagination-page.entry.js +2 -2
- package/dist/{esm → sdk}/u-passkey.entry.js +10 -10
- package/dist/{esm → sdk}/u-password-field.entry.js +6 -6
- package/dist/sdk/u-profile.entry.esm.js.map +1 -0
- package/dist/{components/profile.js → sdk/u-profile.entry.js} +18 -38
- package/dist/sdk/u-raw-field.entry.esm.js.map +1 -0
- package/dist/{components/raw-field.js → sdk/u-raw-field.entry.js} +10 -51
- package/dist/{esm → sdk}/u-registration-button.entry.js +6 -6
- package/dist/{esm → sdk}/u-reset-password-button.entry.js +10 -10
- package/dist/{esm → sdk}/u-send-magic-code-button.entry.js +10 -10
- package/dist/{esm → sdk}/u-signed-in.entry.js +5 -5
- package/dist/{esm → sdk}/u-signin-root.entry.js +7 -7
- package/dist/sdk/u-signin-step.entry.esm.js.map +1 -1
- package/dist/{esm → sdk}/u-signin-step.entry.js +11 -10
- package/dist/{esm → sdk}/u-signin-strategy.entry.js +5 -5
- package/dist/{esm → sdk}/u-social-login-button.entry.js +6 -6
- package/dist/sdk/u-spinner.entry.esm.js.map +1 -1
- package/dist/{esm → sdk}/u-spinner.entry.js +3 -3
- package/dist/sdk/u-submit-button.entry.esm.js.map +1 -0
- package/dist/sdk/u-submit-button.entry.js +204 -0
- package/dist/sdk/u-ticketable-list.entry.esm.js.map +1 -1
- package/dist/{esm → sdk}/u-ticketable-list.entry.js +141 -73
- package/dist/{components/unidy-store.js → sdk/unidy-store-BwZym11Y.js} +4 -3
- package/dist/{esm/unidy-store-BldTAtO0.js.map → sdk/unidy-store-BwZym11Y.js.map} +1 -1
- package/dist/types/components.d.ts +0 -36
- package/dist/types/newsletter/components/newsletter-checkbox/newsletter-checkbox.d.ts +0 -5
- package/dist/types/newsletter/components/newsletter-root/newsletter-root.d.ts +0 -9
- package/dist/types/newsletter/components/preference-checkbox/preference-checkbox.d.ts +0 -5
- package/dist/types/newsletter/newsletter-helpers.d.ts +1 -1
- package/dist/types/newsletter/store/newsletter-store.d.ts +3 -0
- package/dist/types/shared/components/email-field/email-field.d.ts +0 -2
- package/package.json +1 -1
- package/dist/cjs/app-globals-DSKjcXX_.js +0 -10
- package/dist/cjs/app-globals-DSKjcXX_.js.map +0 -1
- package/dist/cjs/auth-BVKZHhXz.js +0 -573
- package/dist/cjs/auth-BVKZHhXz.js.map +0 -1
- package/dist/cjs/auth-store-DC9EVec8.js +0 -184
- package/dist/cjs/auth-store-DC9EVec8.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-Xy1So-ba.js +0 -3224
- package/dist/cjs/i18n-Xy1So-ba.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-DiUlebpf.js +0 -5256
- package/dist/cjs/index-DiUlebpf.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-D34j8zxr.js +0 -280
- package/dist/cjs/newsletter-helpers-D34j8zxr.js.map +0 -1
- package/dist/cjs/newsletter-store-dhtu8ywO.js +0 -27
- package/dist/cjs/newsletter-store-dhtu8ywO.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-DrcTgN5n.js +0 -39
- package/dist/cjs/profile-helpers-DrcTgN5n.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 -102
- 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 -75
- 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 -34
- package/dist/cjs/u-flash-message.entry.cjs.js.map +0 -1
- package/dist/cjs/u-full-profile.cjs.entry.js +0 -36
- 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 -75
- 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 -117
- 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 -46
- package/dist/cjs/u-newsletter-resend-doi-button.entry.cjs.js.map +0 -1
- package/dist/cjs/u-newsletter-root.cjs.entry.js +0 -86
- package/dist/cjs/u-newsletter-root.entry.cjs.js.map +0 -1
- package/dist/cjs/u-newsletter-toggle-subscription-button.cjs.entry.js +0 -70
- 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 -311
- 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 -6078
- 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 -291
- package/dist/collection/auth/auth-helpers.js.map +0 -1
- package/dist/collection/auth/auth.js +0 -121
- 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.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 -175
- 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 -131
- package/dist/collection/locales/en.json +0 -131
- package/dist/collection/locales/fr.json +0 -131
- package/dist/collection/locales/it.json +0 -131
- package/dist/collection/locales/nl_be.json +0 -131
- package/dist/collection/locales/ro.json +0 -131
- 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 -163
- package/dist/collection/newsletter/components/newsletter-checkbox/newsletter-checkbox.js.map +0 -1
- package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js +0 -164
- package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js.map +0 -1
- package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js +0 -231
- package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js.map +0 -1
- package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.js +0 -79
- 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 -19
- 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.js +0 -144
- 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 -268
- package/dist/collection/newsletter/newsletter-helpers.js.map +0 -1
- package/dist/collection/newsletter/store/newsletter-store.js +0 -24
- package/dist/collection/newsletter/store/newsletter-store.js.map +0 -1
- package/dist/collection/profile/api/profile.js +0 -156
- 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 -77
- package/dist/collection/profile/components/full-profile/full-profile.js.map +0 -1
- package/dist/collection/profile/components/profile/profile.js +0 -189
- 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 -177
- 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.js +0 -161
- 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.js +0 -69
- 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.js +0 -186
- 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 -442
- 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.map +0 -1
- package/dist/components/auth.js +0 -572
- 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.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.map +0 -1
- package/dist/components/index.js +0 -5902
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js +0 -5245
- 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 -269
- package/dist/components/newsletter-helpers.js.map +0 -1
- package/dist/components/newsletter-store.js +0 -24
- 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.map +0 -1
- package/dist/components/profile-store.js.map +0 -1
- package/dist/components/profile.js.map +0 -1
- 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 -229
- package/dist/components/submit-button.js.map +0 -1
- package/dist/components/u-conditional-render.js +0 -120
- package/dist/components/u-conditional-render.js.map +0 -1
- package/dist/components/u-config.js +0 -113
- package/dist/components/u-config.js.map +0 -1
- package/dist/components/u-email-field.js +0 -98
- package/dist/components/u-email-field.js.map +0 -1
- package/dist/components/u-error-message.js +0 -105
- package/dist/components/u-error-message.js.map +0 -1
- package/dist/components/u-field.js +0 -9
- package/dist/components/u-field.js.map +0 -1
- package/dist/components/u-flash-message.js +0 -55
- package/dist/components/u-flash-message.js.map +0 -1
- package/dist/components/u-full-profile.js +0 -86
- package/dist/components/u-full-profile.js.map +0 -1
- 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.js +0 -106
- package/dist/components/u-magic-code-field.js.map +0 -1
- 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.js +0 -70
- package/dist/components/u-missing-fields-submit-button.js.map +0 -1
- package/dist/components/u-newsletter-checkbox.js +0 -91
- package/dist/components/u-newsletter-checkbox.js.map +0 -1
- 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.js +0 -137
- package/dist/components/u-newsletter-preference-checkbox.js.map +0 -1
- package/dist/components/u-newsletter-resend-doi-button.js +0 -67
- package/dist/components/u-newsletter-resend-doi-button.js.map +0 -1
- package/dist/components/u-newsletter-root.js +0 -104
- package/dist/components/u-newsletter-root.js.map +0 -1
- package/dist/components/u-newsletter-toggle-subscription-button.js +0 -94
- package/dist/components/u-newsletter-toggle-subscription-button.js.map +0 -1
- 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.js +0 -66
- package/dist/components/u-pagination-page.js.map +0 -1
- package/dist/components/u-passkey.js +0 -65
- package/dist/components/u-passkey.js.map +0 -1
- package/dist/components/u-password-field.js +0 -125
- package/dist/components/u-password-field.js.map +0 -1
- package/dist/components/u-profile.js +0 -9
- package/dist/components/u-profile.js.map +0 -1
- 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.js +0 -70
- package/dist/components/u-registration-button.js.map +0 -1
- 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.js +0 -85
- package/dist/components/u-send-magic-code-button.js.map +0 -1
- 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.js +0 -63
- package/dist/components/u-signin-root.js.map +0 -1
- 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.js +0 -50
- package/dist/components/u-signin-strategy.js.map +0 -1
- 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.js +0 -9
- package/dist/components/u-spinner.js.map +0 -1
- 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.js +0 -6113
- package/dist/components/u-ticketable-list.js.map +0 -1
- 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-store-BMqUdTpC.js +0 -179
- package/dist/esm/flash-store-CEvWSG0c.js +0 -47
- package/dist/esm/i18n-BR-AGAnn.js +0 -3221
- package/dist/esm/i18n-BR-AGAnn.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-DKaIwo59.js +0 -5243
- package/dist/esm/index-DKaIwo59.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-Dh9k-4Ph.js.map +0 -1
- package/dist/esm/newsletter-store-BYmuLQg8.js +0 -24
- package/dist/esm/newsletter-store-BYmuLQg8.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-7onubaoR.js +0 -36
- package/dist/esm/profile-store-RmZB2PTc.js +0 -18
- package/dist/esm/sdk.js +0 -22
- package/dist/esm/sdk.js.map +0 -1
- package/dist/esm/u-conditional-render.entry.js.map +0 -1
- package/dist/esm/u-config.entry.js.map +0 -1
- package/dist/esm/u-email-field.entry.js +0 -73
- package/dist/esm/u-email-field.entry.js.map +0 -1
- 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 -32
- package/dist/esm/u-flash-message.entry.js.map +0 -1
- package/dist/esm/u-full-profile.entry.js +0 -34
- package/dist/esm/u-full-profile.entry.js.map +0 -1
- package/dist/esm/u-logout-button.entry.js.map +0 -1
- package/dist/esm/u-magic-code-field.entry.js.map +0 -1
- package/dist/esm/u-missing-field.entry.js.map +0 -1
- package/dist/esm/u-missing-fields-submit-button.entry.js.map +0 -1
- package/dist/esm/u-newsletter-checkbox.entry.js.map +0 -1
- package/dist/esm/u-newsletter-logout-button.entry.js.map +0 -1
- package/dist/esm/u-newsletter-preference-checkbox.entry.js.map +0 -1
- package/dist/esm/u-newsletter-resend-doi-button.entry.js +0 -44
- package/dist/esm/u-newsletter-resend-doi-button.entry.js.map +0 -1
- package/dist/esm/u-newsletter-root.entry.js.map +0 -1
- package/dist/esm/u-newsletter-toggle-subscription-button.entry.js +0 -68
- package/dist/esm/u-newsletter-toggle-subscription-button.entry.js.map +0 -1
- package/dist/esm/u-pagination-button.entry.js.map +0 -1
- package/dist/esm/u-pagination-page.entry.js.map +0 -1
- package/dist/esm/u-passkey.entry.js.map +0 -1
- 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 -308
- package/dist/esm/u-registration-button.entry.js.map +0 -1
- package/dist/esm/u-reset-password-button.entry.js.map +0 -1
- package/dist/esm/u-send-magic-code-button.entry.js.map +0 -1
- package/dist/esm/u-signed-in.entry.js.map +0 -1
- package/dist/esm/u-signin-root.entry.js.map +0 -1
- package/dist/esm/u-signin-step.entry.js.map +0 -1
- package/dist/esm/u-signin-strategy.entry.js.map +0 -1
- package/dist/esm/u-social-login-button.entry.js.map +0 -1
- package/dist/esm/u-spinner.entry.js.map +0 -1
- package/dist/esm/u-ticketable-list.entry.js.map +0 -1
- package/dist/esm/unidy-store-BldTAtO0.js +0 -37
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/sdk/p-10e06612.entry.js +0 -2
- package/dist/sdk/p-10e06612.entry.js.map +0 -1
- package/dist/sdk/p-16f86a4d.entry.js +0 -2
- package/dist/sdk/p-16f86a4d.entry.js.map +0 -1
- package/dist/sdk/p-20240b02.entry.js +0 -2
- package/dist/sdk/p-20240b02.entry.js.map +0 -1
- package/dist/sdk/p-26f3d8db.entry.js +0 -2
- package/dist/sdk/p-26f3d8db.entry.js.map +0 -1
- package/dist/sdk/p-2da4497a.entry.js +0 -2
- package/dist/sdk/p-2da4497a.entry.js.map +0 -1
- package/dist/sdk/p-3f4c947d.entry.js +0 -2
- package/dist/sdk/p-3f4c947d.entry.js.map +0 -1
- package/dist/sdk/p-431ec460.entry.js +0 -2
- package/dist/sdk/p-431ec460.entry.js.map +0 -1
- package/dist/sdk/p-4f54194a.entry.js +0 -2
- package/dist/sdk/p-4f54194a.entry.js.map +0 -1
- package/dist/sdk/p-552056e7.entry.js +0 -2
- package/dist/sdk/p-552056e7.entry.js.map +0 -1
- package/dist/sdk/p-5da49d00.entry.js +0 -2
- package/dist/sdk/p-5da49d00.entry.js.map +0 -1
- package/dist/sdk/p-67096601.entry.js +0 -2
- package/dist/sdk/p-67096601.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-6e3c210c.entry.js +0 -2
- package/dist/sdk/p-6e3c210c.entry.js.map +0 -1
- package/dist/sdk/p-6febeead.entry.js +0 -2
- package/dist/sdk/p-6febeead.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-745742f1.entry.js +0 -2
- package/dist/sdk/p-745742f1.entry.js.map +0 -1
- package/dist/sdk/p-7a7c0db2.entry.js +0 -2
- package/dist/sdk/p-7a7c0db2.entry.js.map +0 -1
- package/dist/sdk/p-8d787494.entry.js +0 -2
- package/dist/sdk/p-8d787494.entry.js.map +0 -1
- package/dist/sdk/p-94dde7e5.entry.js +0 -2
- package/dist/sdk/p-94dde7e5.entry.js.map +0 -1
- package/dist/sdk/p-97d8ae02.entry.js +0 -2
- package/dist/sdk/p-97d8ae02.entry.js.map +0 -1
- package/dist/sdk/p-9da4dd6d.entry.js +0 -2
- package/dist/sdk/p-9da4dd6d.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-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-CDtLILSR.js +0 -2
- package/dist/sdk/p-CDtLILSR.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-CR1oWC4S.js +0 -2
- package/dist/sdk/p-CR1oWC4S.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-D4B6Zkq_.js +0 -2
- package/dist/sdk/p-D4B6Zkq_.js.map +0 -1
- package/dist/sdk/p-D8RGdjD3.js +0 -2
- package/dist/sdk/p-D8RGdjD3.js.map +0 -1
- package/dist/sdk/p-DGqadgLO.js +0 -2
- package/dist/sdk/p-DGqadgLO.js.map +0 -1
- package/dist/sdk/p-DSwwVdp1.js +0 -2
- package/dist/sdk/p-DSwwVdp1.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-DsSffQBc.js +0 -2
- package/dist/sdk/p-DsSffQBc.js.map +0 -1
- package/dist/sdk/p-b79abe80.entry.js +0 -2
- package/dist/sdk/p-b79abe80.entry.js.map +0 -1
- package/dist/sdk/p-bb5ae222.entry.js +0 -2
- package/dist/sdk/p-bb5ae222.entry.js.map +0 -1
- package/dist/sdk/p-bbbec3d4.entry.js +0 -2
- package/dist/sdk/p-bbbec3d4.entry.js.map +0 -1
- package/dist/sdk/p-c2b6c674.entry.js +0 -2
- package/dist/sdk/p-c2b6c674.entry.js.map +0 -1
- package/dist/sdk/p-c2fba7c8.entry.js +0 -2
- package/dist/sdk/p-c2fba7c8.entry.js.map +0 -1
- package/dist/sdk/p-cba5d81e.entry.js +0 -2
- package/dist/sdk/p-cba5d81e.entry.js.map +0 -1
- package/dist/sdk/p-d2c6179a.entry.js +0 -2
- package/dist/sdk/p-d2c6179a.entry.js.map +0 -1
- package/dist/sdk/p-dcd4e8f0.entry.js +0 -2
- package/dist/sdk/p-dcd4e8f0.entry.js.map +0 -1
- package/dist/sdk/p-eaedb08e.entry.js +0 -2
- package/dist/sdk/p-eaedb08e.entry.js.map +0 -1
- package/dist/sdk/p-f0aecd55.entry.js +0 -2
- package/dist/sdk/p-f0aecd55.entry.js.map +0 -1
- package/dist/sdk/p-fc51c88d.entry.js +0 -2
- package/dist/sdk/p-fc51c88d.entry.js.map +0 -1
- package/dist/sdk/u-field.u-raw-field.entry.esm.js.map +0 -1
- package/dist/sdk/u-profile.u-submit-button.entry.esm.js.map +0 -1
- 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
- /package/dist/{esm → sdk}/component-utils-D1lzXl_Z.js +0 -0
- /package/dist/{esm → sdk}/component-utils-D1lzXl_Z.js.map +0 -0
- /package/dist/{esm → sdk}/helpers-BqFCd65h.js +0 -0
- /package/dist/{esm → sdk}/helpers-BqFCd65h.js.map +0 -0
- /package/dist/{esm → sdk}/helpers-DUHc_Cx7.js +0 -0
- /package/dist/{esm → sdk}/helpers-DUHc_Cx7.js.map +0 -0
|
@@ -1,697 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
import { RadioGroup } from "../raw-input-fields/RadioGroup";
|
|
3
|
-
import { Textarea } from "../raw-input-fields/Textarea";
|
|
4
|
-
import { Input } from "../raw-input-fields/Input";
|
|
5
|
-
import { state as profileState } from "../../store/profile-store";
|
|
6
|
-
import { Select } from "../raw-input-fields/Select";
|
|
7
|
-
import { MultiSelect } from "../raw-input-fields/MultiSelect";
|
|
8
|
-
import { UnidyComponent } from "../../../logger";
|
|
9
|
-
export class RawField extends UnidyComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
}
|
|
13
|
-
required = false;
|
|
14
|
-
readonlyPlaceholder = "";
|
|
15
|
-
countryCodeDisplayOption = "label";
|
|
16
|
-
invalidPhoneMessage = "Please enter a valid phone number.";
|
|
17
|
-
componentClassName;
|
|
18
|
-
field;
|
|
19
|
-
value;
|
|
20
|
-
checked;
|
|
21
|
-
disabled;
|
|
22
|
-
tooltip;
|
|
23
|
-
type;
|
|
24
|
-
placeholder;
|
|
25
|
-
options;
|
|
26
|
-
emptyOption = false;
|
|
27
|
-
attrName;
|
|
28
|
-
radioOptions;
|
|
29
|
-
multiSelectOptions;
|
|
30
|
-
specificPartKey;
|
|
31
|
-
ariaDescribedBy = "";
|
|
32
|
-
pattern;
|
|
33
|
-
patternErrorMessage;
|
|
34
|
-
validationFunc;
|
|
35
|
-
el;
|
|
36
|
-
selected;
|
|
37
|
-
readStore(fieldName) {
|
|
38
|
-
if (!fieldName)
|
|
39
|
-
return;
|
|
40
|
-
const data = profileState.data;
|
|
41
|
-
if (!data)
|
|
42
|
-
return;
|
|
43
|
-
let field;
|
|
44
|
-
if (fieldName.startsWith("custom_attributes.")) {
|
|
45
|
-
const key = fieldName.replace("custom_attributes.", "");
|
|
46
|
-
field = data.custom_attributes?.[key];
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
field = data[fieldName];
|
|
50
|
-
}
|
|
51
|
-
if (!field)
|
|
52
|
-
return;
|
|
53
|
-
if (field.radio_options) {
|
|
54
|
-
const checkedOption = field.radio_options.find((option) => option.checked);
|
|
55
|
-
const checkedValue = checkedOption?.value ?? field.value ?? "";
|
|
56
|
-
return String(checkedValue);
|
|
57
|
-
}
|
|
58
|
-
if (field.type === "checkbox") {
|
|
59
|
-
return Array.isArray(field.value) ? field.value : [];
|
|
60
|
-
}
|
|
61
|
-
return field.value;
|
|
62
|
-
}
|
|
63
|
-
writeStore(fieldName, value) {
|
|
64
|
-
if (!fieldName)
|
|
65
|
-
return;
|
|
66
|
-
const data = profileState.data;
|
|
67
|
-
if (!data)
|
|
68
|
-
return;
|
|
69
|
-
const isCustomAttribute = fieldName.startsWith("custom_attributes.");
|
|
70
|
-
const key = isCustomAttribute ? fieldName.replace("custom_attributes.", "") : fieldName;
|
|
71
|
-
if (isCustomAttribute) {
|
|
72
|
-
const field = data.custom_attributes?.[key];
|
|
73
|
-
profileState.data = {
|
|
74
|
-
...data,
|
|
75
|
-
custom_attributes: {
|
|
76
|
-
...data.custom_attributes,
|
|
77
|
-
[key]: { ...field, value },
|
|
78
|
-
},
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
const field = data[key];
|
|
83
|
-
profileState.data = { ...data, [key]: { ...field, value } };
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
runExternalValidator(value) {
|
|
87
|
-
if (this.validationFunc) {
|
|
88
|
-
try {
|
|
89
|
-
return this.validationFunc(value);
|
|
90
|
-
}
|
|
91
|
-
catch (e) {
|
|
92
|
-
this.logger.error("External validator (validationFunc) threw an error:", e);
|
|
93
|
-
return null;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
validateValue(value) {
|
|
98
|
-
// TODO: We should validate this when the component is loading.
|
|
99
|
-
if (this.required) {
|
|
100
|
-
const empty = value === undefined || value === null || value === "";
|
|
101
|
-
if (empty) {
|
|
102
|
-
return { valid: false, message: "This field is required." };
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
if (this.pattern && typeof value === "string") {
|
|
106
|
-
const regex = new RegExp(this.pattern);
|
|
107
|
-
if (!regex.test(value)) {
|
|
108
|
-
return { valid: false, message: this.patternErrorMessage || "Invalid format." };
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
const externalResult = this.runExternalValidator(value);
|
|
112
|
-
if (externalResult && !externalResult.valid) {
|
|
113
|
-
return { valid: false, message: externalResult.message || "Invalid input." };
|
|
114
|
-
}
|
|
115
|
-
if (this.type === "tel") {
|
|
116
|
-
const phonePattern = /^(?=.{4,13}$)(\+\d+|\d+)$/;
|
|
117
|
-
if (typeof value === "string" && value !== "" && !phonePattern.test(value)) {
|
|
118
|
-
return { valid: false, message: this.invalidPhoneMessage };
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
return { valid: true, message: "" };
|
|
122
|
-
}
|
|
123
|
-
getNormalizedOptions() {
|
|
124
|
-
if (Array.isArray(this.options))
|
|
125
|
-
return this.options;
|
|
126
|
-
// unidy-raw-field select-options prop can be a JSON string
|
|
127
|
-
if (typeof this.options === "string")
|
|
128
|
-
return JSON.parse(this.options);
|
|
129
|
-
return [];
|
|
130
|
-
}
|
|
131
|
-
countryIcon(countryCode, placeholder = "➖") {
|
|
132
|
-
if (!/^[A-Z]{2}$/.test(countryCode)) {
|
|
133
|
-
return placeholder;
|
|
134
|
-
}
|
|
135
|
-
return Array.from(countryCode)
|
|
136
|
-
.map((char) => String.fromCodePoint(0x1f1e6 + (char.charCodeAt(0) - "A".charCodeAt(0))))
|
|
137
|
-
.join("");
|
|
138
|
-
}
|
|
139
|
-
onMultiToggle = (optValue, checked) => {
|
|
140
|
-
const currentValues = Array.isArray(this.selected) ? this.selected : [];
|
|
141
|
-
let updatedValues;
|
|
142
|
-
if (checked) {
|
|
143
|
-
updatedValues = currentValues.includes(optValue) ? currentValues : [...currentValues, optValue];
|
|
144
|
-
}
|
|
145
|
-
else {
|
|
146
|
-
updatedValues = currentValues.filter((v) => v !== optValue);
|
|
147
|
-
}
|
|
148
|
-
this.selected = updatedValues;
|
|
149
|
-
// TODO: validate multiselect if needed
|
|
150
|
-
this.writeStore(this.field, updatedValues);
|
|
151
|
-
};
|
|
152
|
-
onBlurFieldValidation = (e) => {
|
|
153
|
-
const input = e.target;
|
|
154
|
-
const val = input.value;
|
|
155
|
-
const result = this.validateValue(val);
|
|
156
|
-
const newErrors = { ...profileState.errors };
|
|
157
|
-
if (result.valid) {
|
|
158
|
-
delete newErrors[this.field];
|
|
159
|
-
}
|
|
160
|
-
else {
|
|
161
|
-
newErrors[this.field] = result.message;
|
|
162
|
-
}
|
|
163
|
-
profileState.errors = newErrors;
|
|
164
|
-
};
|
|
165
|
-
onChangeFieldValidation = (newValue) => {
|
|
166
|
-
this.selected = newValue;
|
|
167
|
-
const result = this.validateValue(newValue);
|
|
168
|
-
const newErrors = { ...profileState.errors };
|
|
169
|
-
if (result.valid) {
|
|
170
|
-
delete newErrors[this.field];
|
|
171
|
-
this.writeStore(this.field, newValue);
|
|
172
|
-
}
|
|
173
|
-
else {
|
|
174
|
-
newErrors[this.field] = result.message;
|
|
175
|
-
}
|
|
176
|
-
profileState.errors = newErrors;
|
|
177
|
-
};
|
|
178
|
-
componentWillLoad() {
|
|
179
|
-
if (!this.field)
|
|
180
|
-
throw new Error('u-raw-field: "field" is required.');
|
|
181
|
-
if (!this.type)
|
|
182
|
-
throw new Error('u-raw-field: "type" is required.');
|
|
183
|
-
const allowed = new Set(["text", "email", "tel", "password", "number", "date", "radio", "textarea", "select", "checkbox"]);
|
|
184
|
-
if (!allowed.has(this.type)) {
|
|
185
|
-
this.type = "text";
|
|
186
|
-
}
|
|
187
|
-
const current = this.readStore(this.field);
|
|
188
|
-
const isType = this.type === "text" ||
|
|
189
|
-
this.type === "email" ||
|
|
190
|
-
this.type === "tel" ||
|
|
191
|
-
this.type === "password" ||
|
|
192
|
-
this.type === "number" ||
|
|
193
|
-
this.type === "date" ||
|
|
194
|
-
this.type === "textarea" ||
|
|
195
|
-
this.type === "select";
|
|
196
|
-
if (isType && (current === undefined || current === null) && typeof this.value === "string") {
|
|
197
|
-
this.writeStore(this.field, this.value);
|
|
198
|
-
}
|
|
199
|
-
this.selected = current;
|
|
200
|
-
}
|
|
201
|
-
componentDidRender() {
|
|
202
|
-
const errs = profileState.errors;
|
|
203
|
-
if (errs?.[this.field]) {
|
|
204
|
-
this.el.querySelector(`#${CSS.escape(this.field)}`)?.focus();
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
render() {
|
|
208
|
-
if (this.type === "radio") {
|
|
209
|
-
if (Array.isArray(this.radioOptions) && this.radioOptions.length) {
|
|
210
|
-
const checkedOptions = this.radioOptions.map((opt) => ({
|
|
211
|
-
...opt,
|
|
212
|
-
checked: String(opt.value) === this.selected,
|
|
213
|
-
}));
|
|
214
|
-
return (h(RadioGroup, { name: this.field, disabled: this.disabled, title: this.tooltip, type: "radio", onChange: this.onChangeFieldValidation, options: checkedOptions, specificPartKey: this.specificPartKey, "aria-describedby": this.ariaDescribedBy, required: this.required }));
|
|
215
|
-
}
|
|
216
|
-
if (typeof this.value === "string") {
|
|
217
|
-
const currentValue = this.readStore(this.field);
|
|
218
|
-
const isChecked = currentValue != null && String(currentValue) === this.value;
|
|
219
|
-
return (h(RadioGroup, { name: this.field, value: this.value, checked: isChecked, disabled: this.disabled, title: this.tooltip, componentClassName: this.componentClassName, type: "radio", specificPartKey: this.specificPartKey, onChange: this.onChangeFieldValidation, "aria-describedby": this.ariaDescribedBy, required: this.required }));
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
if (this.type === "checkbox") {
|
|
223
|
-
if (Array.isArray(this.multiSelectOptions) && this.multiSelectOptions.length) {
|
|
224
|
-
const selected = Array.isArray(this.selected) ? this.selected : [];
|
|
225
|
-
return (h(MultiSelect, { value: selected, options: this.multiSelectOptions, disabled: this.disabled, title: this.tooltip, type: "checkbox", specificPartKey: this.specificPartKey, onToggle: this.onMultiToggle, "aria-describedby": this.ariaDescribedBy }));
|
|
226
|
-
}
|
|
227
|
-
if (this.value) {
|
|
228
|
-
const currentValue = this.readStore(this.field) ?? [];
|
|
229
|
-
const isChecked = currentValue?.includes(this.value);
|
|
230
|
-
return (h(MultiSelect, { id: `${this.field}-${this.value}`, name: this.field, value: this.value, checked: isChecked, disabled: this.disabled, title: this.tooltip, componentClassName: this.componentClassName, type: "checkbox", onToggle: (val, checked) => {
|
|
231
|
-
const current = this.readStore(this.field);
|
|
232
|
-
const updated = checked ? [...current, val] : current.filter((v) => v !== val);
|
|
233
|
-
this.writeStore(this.field, updated);
|
|
234
|
-
}, "aria-describedby": this.ariaDescribedBy }));
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
if (this.type === "select") {
|
|
238
|
-
const currentValue = this.readStore(this.field) ?? "";
|
|
239
|
-
const option = this.getNormalizedOptions();
|
|
240
|
-
return (h(Select, { id: this.field, name: this.field, value: currentValue, options: option, disabled: this.disabled, title: this.tooltip, emptyOption: this.emptyOption, onChange: this.onChangeFieldValidation, componentClassName: this.componentClassName, countryCodeDisplayOption: this.countryCodeDisplayOption, countryIcon: this.countryIcon, attr_name: this.attrName, specificPartKey: this.specificPartKey, "aria-describedby": this.ariaDescribedBy }));
|
|
241
|
-
}
|
|
242
|
-
if (this.type === "textarea") {
|
|
243
|
-
const currentValue = this.readStore(this.field) || "";
|
|
244
|
-
return (h(Textarea, { id: this.field, value: currentValue, required: this.required, disabled: this.disabled, title: this.tooltip, componentClassName: this.componentClassName, specificPartKey: this.specificPartKey, onChange: this.onChangeFieldValidation, onBlur: this.onBlurFieldValidation, "aria-describedby": this.ariaDescribedBy }));
|
|
245
|
-
}
|
|
246
|
-
const currentValue = this.readStore(this.field) || "";
|
|
247
|
-
return (h(Input, { id: this.field, value: currentValue, required: this.required, disabled: this.disabled, title: this.tooltip, type: this.type, componentClassName: this.componentClassName, placeholder: this.placeholder, specificPartKey: this.specificPartKey, onChange: this.onChangeFieldValidation, onBlur: this.onBlurFieldValidation, "aria-describedby": this.ariaDescribedBy }));
|
|
248
|
-
}
|
|
249
|
-
static get is() { return "u-raw-field"; }
|
|
250
|
-
static get properties() {
|
|
251
|
-
return {
|
|
252
|
-
"required": {
|
|
253
|
-
"type": "boolean",
|
|
254
|
-
"mutable": false,
|
|
255
|
-
"complexType": {
|
|
256
|
-
"original": "boolean",
|
|
257
|
-
"resolved": "boolean",
|
|
258
|
-
"references": {}
|
|
259
|
-
},
|
|
260
|
-
"required": false,
|
|
261
|
-
"optional": false,
|
|
262
|
-
"docs": {
|
|
263
|
-
"tags": [],
|
|
264
|
-
"text": ""
|
|
265
|
-
},
|
|
266
|
-
"getter": false,
|
|
267
|
-
"setter": false,
|
|
268
|
-
"reflect": false,
|
|
269
|
-
"attribute": "required",
|
|
270
|
-
"defaultValue": "false"
|
|
271
|
-
},
|
|
272
|
-
"readonlyPlaceholder": {
|
|
273
|
-
"type": "string",
|
|
274
|
-
"mutable": false,
|
|
275
|
-
"complexType": {
|
|
276
|
-
"original": "string",
|
|
277
|
-
"resolved": "string",
|
|
278
|
-
"references": {}
|
|
279
|
-
},
|
|
280
|
-
"required": false,
|
|
281
|
-
"optional": false,
|
|
282
|
-
"docs": {
|
|
283
|
-
"tags": [],
|
|
284
|
-
"text": ""
|
|
285
|
-
},
|
|
286
|
-
"getter": false,
|
|
287
|
-
"setter": false,
|
|
288
|
-
"reflect": false,
|
|
289
|
-
"attribute": "readonly-placeholder",
|
|
290
|
-
"defaultValue": "\"\""
|
|
291
|
-
},
|
|
292
|
-
"countryCodeDisplayOption": {
|
|
293
|
-
"type": "string",
|
|
294
|
-
"mutable": false,
|
|
295
|
-
"complexType": {
|
|
296
|
-
"original": "\"icon\" | \"label\"",
|
|
297
|
-
"resolved": "\"icon\" | \"label\"",
|
|
298
|
-
"references": {}
|
|
299
|
-
},
|
|
300
|
-
"required": false,
|
|
301
|
-
"optional": true,
|
|
302
|
-
"docs": {
|
|
303
|
-
"tags": [],
|
|
304
|
-
"text": ""
|
|
305
|
-
},
|
|
306
|
-
"getter": false,
|
|
307
|
-
"setter": false,
|
|
308
|
-
"reflect": false,
|
|
309
|
-
"attribute": "country-code-display-option",
|
|
310
|
-
"defaultValue": "\"label\""
|
|
311
|
-
},
|
|
312
|
-
"invalidPhoneMessage": {
|
|
313
|
-
"type": "string",
|
|
314
|
-
"mutable": false,
|
|
315
|
-
"complexType": {
|
|
316
|
-
"original": "string",
|
|
317
|
-
"resolved": "string",
|
|
318
|
-
"references": {}
|
|
319
|
-
},
|
|
320
|
-
"required": false,
|
|
321
|
-
"optional": false,
|
|
322
|
-
"docs": {
|
|
323
|
-
"tags": [],
|
|
324
|
-
"text": ""
|
|
325
|
-
},
|
|
326
|
-
"getter": false,
|
|
327
|
-
"setter": false,
|
|
328
|
-
"reflect": false,
|
|
329
|
-
"attribute": "invalid-phone-message",
|
|
330
|
-
"defaultValue": "\"Please enter a valid phone number.\""
|
|
331
|
-
},
|
|
332
|
-
"componentClassName": {
|
|
333
|
-
"type": "string",
|
|
334
|
-
"mutable": false,
|
|
335
|
-
"complexType": {
|
|
336
|
-
"original": "string",
|
|
337
|
-
"resolved": "string",
|
|
338
|
-
"references": {}
|
|
339
|
-
},
|
|
340
|
-
"required": false,
|
|
341
|
-
"optional": true,
|
|
342
|
-
"docs": {
|
|
343
|
-
"tags": [],
|
|
344
|
-
"text": ""
|
|
345
|
-
},
|
|
346
|
-
"getter": false,
|
|
347
|
-
"setter": false,
|
|
348
|
-
"reflect": false,
|
|
349
|
-
"attribute": "class-name"
|
|
350
|
-
},
|
|
351
|
-
"field": {
|
|
352
|
-
"type": "string",
|
|
353
|
-
"mutable": false,
|
|
354
|
-
"complexType": {
|
|
355
|
-
"original": "string",
|
|
356
|
-
"resolved": "string",
|
|
357
|
-
"references": {}
|
|
358
|
-
},
|
|
359
|
-
"required": true,
|
|
360
|
-
"optional": false,
|
|
361
|
-
"docs": {
|
|
362
|
-
"tags": [],
|
|
363
|
-
"text": ""
|
|
364
|
-
},
|
|
365
|
-
"getter": false,
|
|
366
|
-
"setter": false,
|
|
367
|
-
"reflect": false,
|
|
368
|
-
"attribute": "field"
|
|
369
|
-
},
|
|
370
|
-
"value": {
|
|
371
|
-
"type": "string",
|
|
372
|
-
"mutable": false,
|
|
373
|
-
"complexType": {
|
|
374
|
-
"original": "string | string[]",
|
|
375
|
-
"resolved": "string | string[]",
|
|
376
|
-
"references": {}
|
|
377
|
-
},
|
|
378
|
-
"required": false,
|
|
379
|
-
"optional": true,
|
|
380
|
-
"docs": {
|
|
381
|
-
"tags": [],
|
|
382
|
-
"text": ""
|
|
383
|
-
},
|
|
384
|
-
"getter": false,
|
|
385
|
-
"setter": false,
|
|
386
|
-
"reflect": false,
|
|
387
|
-
"attribute": "value"
|
|
388
|
-
},
|
|
389
|
-
"checked": {
|
|
390
|
-
"type": "boolean",
|
|
391
|
-
"mutable": false,
|
|
392
|
-
"complexType": {
|
|
393
|
-
"original": "boolean",
|
|
394
|
-
"resolved": "boolean",
|
|
395
|
-
"references": {}
|
|
396
|
-
},
|
|
397
|
-
"required": false,
|
|
398
|
-
"optional": true,
|
|
399
|
-
"docs": {
|
|
400
|
-
"tags": [],
|
|
401
|
-
"text": ""
|
|
402
|
-
},
|
|
403
|
-
"getter": false,
|
|
404
|
-
"setter": false,
|
|
405
|
-
"reflect": false,
|
|
406
|
-
"attribute": "checked"
|
|
407
|
-
},
|
|
408
|
-
"disabled": {
|
|
409
|
-
"type": "boolean",
|
|
410
|
-
"mutable": false,
|
|
411
|
-
"complexType": {
|
|
412
|
-
"original": "boolean",
|
|
413
|
-
"resolved": "boolean",
|
|
414
|
-
"references": {}
|
|
415
|
-
},
|
|
416
|
-
"required": false,
|
|
417
|
-
"optional": true,
|
|
418
|
-
"docs": {
|
|
419
|
-
"tags": [],
|
|
420
|
-
"text": ""
|
|
421
|
-
},
|
|
422
|
-
"getter": false,
|
|
423
|
-
"setter": false,
|
|
424
|
-
"reflect": false,
|
|
425
|
-
"attribute": "disabled"
|
|
426
|
-
},
|
|
427
|
-
"tooltip": {
|
|
428
|
-
"type": "string",
|
|
429
|
-
"mutable": false,
|
|
430
|
-
"complexType": {
|
|
431
|
-
"original": "string",
|
|
432
|
-
"resolved": "string",
|
|
433
|
-
"references": {}
|
|
434
|
-
},
|
|
435
|
-
"required": false,
|
|
436
|
-
"optional": true,
|
|
437
|
-
"docs": {
|
|
438
|
-
"tags": [],
|
|
439
|
-
"text": ""
|
|
440
|
-
},
|
|
441
|
-
"getter": false,
|
|
442
|
-
"setter": false,
|
|
443
|
-
"reflect": false,
|
|
444
|
-
"attribute": "tooltip"
|
|
445
|
-
},
|
|
446
|
-
"type": {
|
|
447
|
-
"type": "string",
|
|
448
|
-
"mutable": false,
|
|
449
|
-
"complexType": {
|
|
450
|
-
"original": "string",
|
|
451
|
-
"resolved": "string",
|
|
452
|
-
"references": {}
|
|
453
|
-
},
|
|
454
|
-
"required": true,
|
|
455
|
-
"optional": false,
|
|
456
|
-
"docs": {
|
|
457
|
-
"tags": [],
|
|
458
|
-
"text": ""
|
|
459
|
-
},
|
|
460
|
-
"getter": false,
|
|
461
|
-
"setter": false,
|
|
462
|
-
"reflect": false,
|
|
463
|
-
"attribute": "type"
|
|
464
|
-
},
|
|
465
|
-
"placeholder": {
|
|
466
|
-
"type": "string",
|
|
467
|
-
"mutable": false,
|
|
468
|
-
"complexType": {
|
|
469
|
-
"original": "string",
|
|
470
|
-
"resolved": "string",
|
|
471
|
-
"references": {}
|
|
472
|
-
},
|
|
473
|
-
"required": false,
|
|
474
|
-
"optional": true,
|
|
475
|
-
"docs": {
|
|
476
|
-
"tags": [],
|
|
477
|
-
"text": ""
|
|
478
|
-
},
|
|
479
|
-
"getter": false,
|
|
480
|
-
"setter": false,
|
|
481
|
-
"reflect": false,
|
|
482
|
-
"attribute": "placeholder"
|
|
483
|
-
},
|
|
484
|
-
"options": {
|
|
485
|
-
"type": "string",
|
|
486
|
-
"mutable": false,
|
|
487
|
-
"complexType": {
|
|
488
|
-
"original": "string | Option[]",
|
|
489
|
-
"resolved": "Option[] | string",
|
|
490
|
-
"references": {
|
|
491
|
-
"Option": {
|
|
492
|
-
"location": "import",
|
|
493
|
-
"path": "../raw-input-fields/Select",
|
|
494
|
-
"id": "src/profile/components/raw-input-fields/Select.tsx::Option"
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
"required": false,
|
|
499
|
-
"optional": true,
|
|
500
|
-
"docs": {
|
|
501
|
-
"tags": [],
|
|
502
|
-
"text": ""
|
|
503
|
-
},
|
|
504
|
-
"getter": false,
|
|
505
|
-
"setter": false,
|
|
506
|
-
"reflect": false,
|
|
507
|
-
"attribute": "options"
|
|
508
|
-
},
|
|
509
|
-
"emptyOption": {
|
|
510
|
-
"type": "boolean",
|
|
511
|
-
"mutable": false,
|
|
512
|
-
"complexType": {
|
|
513
|
-
"original": "boolean",
|
|
514
|
-
"resolved": "boolean",
|
|
515
|
-
"references": {}
|
|
516
|
-
},
|
|
517
|
-
"required": false,
|
|
518
|
-
"optional": false,
|
|
519
|
-
"docs": {
|
|
520
|
-
"tags": [],
|
|
521
|
-
"text": ""
|
|
522
|
-
},
|
|
523
|
-
"getter": false,
|
|
524
|
-
"setter": false,
|
|
525
|
-
"reflect": false,
|
|
526
|
-
"attribute": "empty-option",
|
|
527
|
-
"defaultValue": "false"
|
|
528
|
-
},
|
|
529
|
-
"attrName": {
|
|
530
|
-
"type": "string",
|
|
531
|
-
"mutable": false,
|
|
532
|
-
"complexType": {
|
|
533
|
-
"original": "string",
|
|
534
|
-
"resolved": "string",
|
|
535
|
-
"references": {}
|
|
536
|
-
},
|
|
537
|
-
"required": false,
|
|
538
|
-
"optional": true,
|
|
539
|
-
"docs": {
|
|
540
|
-
"tags": [],
|
|
541
|
-
"text": ""
|
|
542
|
-
},
|
|
543
|
-
"getter": false,
|
|
544
|
-
"setter": false,
|
|
545
|
-
"reflect": false,
|
|
546
|
-
"attribute": "attr-name"
|
|
547
|
-
},
|
|
548
|
-
"radioOptions": {
|
|
549
|
-
"type": "unknown",
|
|
550
|
-
"mutable": false,
|
|
551
|
-
"complexType": {
|
|
552
|
-
"original": "RadioOption[]",
|
|
553
|
-
"resolved": "RadioOption[]",
|
|
554
|
-
"references": {
|
|
555
|
-
"RadioOption": {
|
|
556
|
-
"location": "import",
|
|
557
|
-
"path": "../raw-input-fields/RadioGroup",
|
|
558
|
-
"id": "src/profile/components/raw-input-fields/RadioGroup.tsx::RadioOption"
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
|
-
"required": false,
|
|
563
|
-
"optional": true,
|
|
564
|
-
"docs": {
|
|
565
|
-
"tags": [],
|
|
566
|
-
"text": ""
|
|
567
|
-
},
|
|
568
|
-
"getter": false,
|
|
569
|
-
"setter": false
|
|
570
|
-
},
|
|
571
|
-
"multiSelectOptions": {
|
|
572
|
-
"type": "unknown",
|
|
573
|
-
"mutable": false,
|
|
574
|
-
"complexType": {
|
|
575
|
-
"original": "MultiSelectOption[]",
|
|
576
|
-
"resolved": "MultiSelectOption[]",
|
|
577
|
-
"references": {
|
|
578
|
-
"MultiSelectOption": {
|
|
579
|
-
"location": "import",
|
|
580
|
-
"path": "../raw-input-fields/MultiSelect",
|
|
581
|
-
"id": "src/profile/components/raw-input-fields/MultiSelect.tsx::MultiSelectOption"
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
},
|
|
585
|
-
"required": false,
|
|
586
|
-
"optional": true,
|
|
587
|
-
"docs": {
|
|
588
|
-
"tags": [],
|
|
589
|
-
"text": ""
|
|
590
|
-
},
|
|
591
|
-
"getter": false,
|
|
592
|
-
"setter": false
|
|
593
|
-
},
|
|
594
|
-
"specificPartKey": {
|
|
595
|
-
"type": "string",
|
|
596
|
-
"mutable": false,
|
|
597
|
-
"complexType": {
|
|
598
|
-
"original": "string",
|
|
599
|
-
"resolved": "string",
|
|
600
|
-
"references": {}
|
|
601
|
-
},
|
|
602
|
-
"required": false,
|
|
603
|
-
"optional": true,
|
|
604
|
-
"docs": {
|
|
605
|
-
"tags": [],
|
|
606
|
-
"text": ""
|
|
607
|
-
},
|
|
608
|
-
"getter": false,
|
|
609
|
-
"setter": false,
|
|
610
|
-
"reflect": false,
|
|
611
|
-
"attribute": "specific-part-key"
|
|
612
|
-
},
|
|
613
|
-
"ariaDescribedBy": {
|
|
614
|
-
"type": "string",
|
|
615
|
-
"mutable": false,
|
|
616
|
-
"complexType": {
|
|
617
|
-
"original": "string",
|
|
618
|
-
"resolved": "string",
|
|
619
|
-
"references": {}
|
|
620
|
-
},
|
|
621
|
-
"required": false,
|
|
622
|
-
"optional": false,
|
|
623
|
-
"docs": {
|
|
624
|
-
"tags": [],
|
|
625
|
-
"text": ""
|
|
626
|
-
},
|
|
627
|
-
"getter": false,
|
|
628
|
-
"setter": false,
|
|
629
|
-
"reflect": false,
|
|
630
|
-
"attribute": "aria-described-by",
|
|
631
|
-
"defaultValue": "\"\""
|
|
632
|
-
},
|
|
633
|
-
"pattern": {
|
|
634
|
-
"type": "string",
|
|
635
|
-
"mutable": false,
|
|
636
|
-
"complexType": {
|
|
637
|
-
"original": "string",
|
|
638
|
-
"resolved": "string",
|
|
639
|
-
"references": {}
|
|
640
|
-
},
|
|
641
|
-
"required": false,
|
|
642
|
-
"optional": true,
|
|
643
|
-
"docs": {
|
|
644
|
-
"tags": [],
|
|
645
|
-
"text": ""
|
|
646
|
-
},
|
|
647
|
-
"getter": false,
|
|
648
|
-
"setter": false,
|
|
649
|
-
"reflect": false,
|
|
650
|
-
"attribute": "pattern"
|
|
651
|
-
},
|
|
652
|
-
"patternErrorMessage": {
|
|
653
|
-
"type": "string",
|
|
654
|
-
"mutable": false,
|
|
655
|
-
"complexType": {
|
|
656
|
-
"original": "string",
|
|
657
|
-
"resolved": "string",
|
|
658
|
-
"references": {}
|
|
659
|
-
},
|
|
660
|
-
"required": false,
|
|
661
|
-
"optional": true,
|
|
662
|
-
"docs": {
|
|
663
|
-
"tags": [],
|
|
664
|
-
"text": ""
|
|
665
|
-
},
|
|
666
|
-
"getter": false,
|
|
667
|
-
"setter": false,
|
|
668
|
-
"reflect": false,
|
|
669
|
-
"attribute": "pattern-error-message"
|
|
670
|
-
},
|
|
671
|
-
"validationFunc": {
|
|
672
|
-
"type": "unknown",
|
|
673
|
-
"mutable": false,
|
|
674
|
-
"complexType": {
|
|
675
|
-
"original": "(value: string | string[]) => { valid: boolean; message?: string }",
|
|
676
|
-
"resolved": "(value: string | string[]) => { valid: boolean; message?: string; }",
|
|
677
|
-
"references": {}
|
|
678
|
-
},
|
|
679
|
-
"required": false,
|
|
680
|
-
"optional": true,
|
|
681
|
-
"docs": {
|
|
682
|
-
"tags": [],
|
|
683
|
-
"text": ""
|
|
684
|
-
},
|
|
685
|
-
"getter": false,
|
|
686
|
-
"setter": false
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
}
|
|
690
|
-
static get states() {
|
|
691
|
-
return {
|
|
692
|
-
"selected": {}
|
|
693
|
-
};
|
|
694
|
-
}
|
|
695
|
-
static get elementRef() { return "el"; }
|
|
696
|
-
}
|
|
697
|
-
//# sourceMappingURL=raw-field.js.map
|