@saasquatch/mint-components 1.8.5-9 → 1.9.1-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-89ba2ab0.js → ShadowViewAddon-1d7d274f.js} +23 -23
- package/dist/cjs/{email-registration-view-a6b6430e.js → email-registration-view-5170d9f1.js} +3 -3
- package/dist/cjs/{global-468407e1.js → global-32cf67e2.js} +2 -2
- package/dist/cjs/{index.module-caa31174.js → index.module-0c942e81.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{luxon-a4661470.js → luxon-05098e19.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{mockRewardData-8e760564.js → mockRewardData-4258e067.js} +1 -1
- package/dist/cjs/{re-render-941b676e.js → re-render-4b9dab91.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +24 -24
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +11 -11
- package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
- package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +2 -2
- package/dist/cjs/sqm-header-logo.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-invoice-table-view-501f8985.js → sqm-invoice-table-view-7660f329.js} +9 -9
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +3 -3
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-navigation-sidebar-item-view-7f79627b.js → sqm-navigation-sidebar-item-view-52d8a6ab.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-8f15bace.js → sqm-portal-email-verification-view-4224f1c3.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-forgot-password-view-ca5f6db9.js → sqm-portal-forgot-password-view-969c49ed.js} +1 -1
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-d8697f23.js → sqm-portal-profile-view-04239bdf.js} +5 -5
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-reset-password-view-07a13210.js → sqm-portal-reset-password-view-96f329ed.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-verify-email-view-ce552bbc.js → sqm-portal-verify-email-view-7ffcc0d4.js} +4 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +41 -47
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -8
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +21 -19
- package/dist/cjs/sqm-tab.cjs.entry.js +3 -3
- package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/cjs/{stencil-hooks.module-faabb426.js → stencil-hooks.module-72742a0b.js} +1 -1
- package/dist/cjs/{useChildElements-f1923bc6.js → useChildElements-fbcd8f72.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-fe258c50.js → useInstantAccessRegistration-988b4965.js} +3 -3
- package/dist/cjs/{useReferralTable-7244325a.js → useReferralTable-984e432d.js} +4 -4
- package/dist/cjs/{useRegistrationFormState-ad3190c9.js → useRegistrationFormState-70ae0627.js} +2 -2
- package/dist/cjs/{utilities-73df97e1.js → utilities-d1a46070.js} +2 -2
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +1 -1
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +3 -3
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +2 -2
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +1 -1
- package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +2 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +2 -2
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +4 -4
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +2 -2
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +2 -2
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +2 -2
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +2 -2
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +2 -0
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +4 -2
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +1 -1
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +39 -45
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +8 -8
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +12 -12
- package/dist/collection/components/views/email-registration-view.js +3 -3
- package/dist/esm/{ShadowViewAddon-c22043d9.js → ShadowViewAddon-b04465af.js} +23 -23
- package/dist/esm/{email-registration-view-4a4202e7.js → email-registration-view-07d80492.js} +3 -3
- package/dist/esm/{global-938df634.js → global-56126a31.js} +2 -2
- package/dist/esm/{index.module-ba0ed7a8.js → index.module-b4a6f095.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{luxon-4706d11b.js → luxon-7600be8d.js} +1 -1
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{mockRewardData-6f03c9fb.js → mockRewardData-0eb6e778.js} +1 -1
- package/dist/esm/{re-render-b61a14be.js → re-render-6d9db92d.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-banking-info-form_16.entry.js +24 -24
- package/dist/esm/sqm-big-stat_38.entry.js +11 -11
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
- package/dist/esm/{sqm-invoice-table-view-d00894ce.js → sqm-invoice-table-view-3707b42c.js} +9 -9
- package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
- package/dist/esm/sqm-logout-current-user.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-d3484a50.js → sqm-navigation-sidebar-item-view-fbaec120.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-33b24b91.js → sqm-portal-email-verification-view-973c1e91.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/{sqm-portal-forgot-password-view-a764ad67.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-13f0ef79.js → sqm-portal-profile-view-0b68e4e5.js} +5 -5
- package/dist/esm/sqm-portal-profile.entry.js +5 -5
- package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +5 -5
- package/dist/esm/{sqm-portal-reset-password-view-d3e726a9.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/{sqm-portal-verify-email-view-283bf637.js → sqm-portal-verify-email-view-d7ea2c56.js} +4 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +41 -47
- package/dist/esm/sqm-referral-table_11.entry.js +8 -8
- package/dist/esm/sqm-referred-registration.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +21 -19
- package/dist/esm/sqm-tab.entry.js +3 -3
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-8032b139.js → stencil-hooks.module-ac12ca1c.js} +1 -1
- package/dist/esm/{useChildElements-cd29b2fc.js → useChildElements-ab0424a8.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-0d27c474.js → useInstantAccessRegistration-482dea49.js} +3 -3
- package/dist/esm/{useReferralTable-669cae58.js → useReferralTable-1b2f12cd.js} +4 -4
- package/dist/esm/{useRegistrationFormState-0e09e2ca.js → useRegistrationFormState-afc73a09.js} +2 -2
- package/dist/esm/{utilities-21d8a4df.js → utilities-ffa6a093.js} +2 -2
- package/dist/esm-es5/ShadowViewAddon-b04465af.js +1 -0
- package/dist/esm-es5/{email-registration-view-4a4202e7.js → email-registration-view-07d80492.js} +1 -1
- package/dist/esm-es5/{global-938df634.js → global-56126a31.js} +1 -1
- package/dist/esm-es5/{index.module-ba0ed7a8.js → index.module-b4a6f095.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-4706d11b.js → luxon-7600be8d.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-6f03c9fb.js → mockRewardData-0eb6e778.js} +1 -1
- package/dist/esm-es5/{re-render-b61a14be.js → re-render-6d9db92d.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-d00894ce.js → sqm-invoice-table-view-3707b42c.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-d3484a50.js → sqm-navigation-sidebar-item-view-fbaec120.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-33b24b91.js → sqm-portal-email-verification-view-973c1e91.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-a764ad67.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-profile-view-0b68e4e5.js +1 -0
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-d3e726a9.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-d7ea2c56.js +1 -0
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-8032b139.js → stencil-hooks.module-ac12ca1c.js} +1 -1
- package/dist/esm-es5/{useChildElements-cd29b2fc.js → useChildElements-ab0424a8.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-0d27c474.js → useInstantAccessRegistration-482dea49.js} +1 -1
- package/dist/esm-es5/{useReferralTable-669cae58.js → useReferralTable-1b2f12cd.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-afc73a09.js +1 -0
- package/dist/esm-es5/{utilities-21d8a4df.js → utilities-ffa6a093.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-02e550bc.system.entry.js → p-0357abfc.system.entry.js} +1 -1
- package/dist/mint-components/{p-71c592d4.js → p-0985eff1.js} +1 -1
- package/dist/mint-components/p-0a910041.entry.js +1 -0
- package/dist/mint-components/p-10036f16.js +1 -0
- package/dist/mint-components/{p-59e810e6.system.js → p-104a1a77.system.js} +1 -1
- package/dist/mint-components/{p-4e513c81.entry.js → p-12b0b5e8.entry.js} +1 -1
- package/dist/mint-components/{p-399d6f42.entry.js → p-178d2d2e.entry.js} +1 -1
- package/dist/mint-components/{p-ea6a7135.js → p-1b9e6fc6.js} +1 -1
- package/dist/mint-components/{p-df1b9e5b.js → p-251e7567.js} +1 -1
- package/dist/mint-components/{p-d5a682bf.system.js → p-2a414b2e.system.js} +1 -1
- package/dist/mint-components/p-2c2dfdb3.system.entry.js +1 -0
- package/dist/mint-components/p-2f1bc59a.entry.js +1 -0
- package/dist/mint-components/{p-f710f9d7.entry.js → p-339ae6e1.entry.js} +3 -3
- package/dist/mint-components/{p-d3cd5ec5.entry.js → p-33c683e0.entry.js} +1 -1
- package/dist/mint-components/{p-88eab2f3.system.js → p-344340aa.system.js} +1 -1
- package/dist/mint-components/p-35f24af0.system.entry.js +1 -0
- package/dist/mint-components/{p-b689baf8.system.js → p-370a1a73.system.js} +1 -1
- package/dist/mint-components/{p-13b2638b.entry.js → p-3ba7f54e.entry.js} +2 -2
- package/dist/mint-components/p-3ed71bef.system.js +1 -0
- package/dist/mint-components/{p-9546c6db.entry.js → p-40599315.entry.js} +1 -1
- package/dist/mint-components/p-448c1de0.system.entry.js +1 -0
- package/dist/mint-components/{p-b388ad61.system.entry.js → p-454396dd.system.entry.js} +1 -1
- package/dist/mint-components/p-472d7d7e.entry.js +1 -0
- package/dist/mint-components/p-4869e1d6.js +391 -0
- package/dist/mint-components/p-4bcbc469.system.entry.js +1 -0
- package/dist/mint-components/{p-fca0dc98.system.js → p-4e48267b.system.js} +1 -1
- package/dist/mint-components/p-52abb8e5.entry.js +1 -0
- package/dist/mint-components/{p-561262cd.entry.js → p-59bc9a2d.entry.js} +2 -2
- package/dist/mint-components/{p-c5429a81.system.js → p-60926595.system.js} +1 -1
- package/dist/mint-components/{p-fd51e80e.system.js → p-64815e22.system.js} +1 -1
- package/dist/mint-components/{p-921a134c.entry.js → p-64c48ad5.entry.js} +1 -1
- package/dist/mint-components/p-683ce644.system.js +1 -0
- package/dist/mint-components/p-6a84e37c.js +1 -0
- package/dist/mint-components/{p-5532c083.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
- package/dist/mint-components/p-6bf41e0d.system.js +1 -0
- package/dist/mint-components/p-6cddd2fc.system.entry.js +1 -0
- package/dist/mint-components/{p-907c3344.system.entry.js → p-6d2a23e7.system.entry.js} +1 -1
- package/dist/mint-components/{p-44b12b2e.system.js → p-6ffed27b.system.js} +1 -1
- package/dist/mint-components/{p-598a1715.entry.js → p-778f4b27.entry.js} +1 -1
- package/dist/mint-components/{p-9c9a46cf.entry.js → p-77b22de8.entry.js} +2 -2
- package/dist/mint-components/p-78921f0a.system.entry.js +1 -0
- package/dist/mint-components/p-7a725b40.js +1 -0
- package/dist/mint-components/{p-7487f23c.system.js → p-7d5e0645.system.js} +1 -1
- package/dist/mint-components/p-84f8dc6c.system.js +1 -0
- package/dist/mint-components/{p-c2f23665.system.js → p-85e31229.system.js} +1 -1
- package/dist/mint-components/{p-be96cc00.system.entry.js → p-881b97d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-d943d0e8.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f3e7bdd4.system.entry.js → p-88c69048.system.entry.js} +1 -1
- package/dist/mint-components/{p-18ccb4ad.system.entry.js → p-89d376f3.system.entry.js} +1 -1
- package/dist/mint-components/{p-2a6133dc.entry.js → p-90da6dce.entry.js} +1 -1
- package/dist/mint-components/{p-cac769d2.entry.js → p-916d5e78.entry.js} +1 -1
- package/dist/mint-components/{p-1273b20d.entry.js → p-91cf7cd4.entry.js} +1 -1
- package/dist/mint-components/{p-cd45b39f.system.js → p-952c0cb6.system.js} +1 -1
- package/dist/mint-components/{p-6d0e3263.system.entry.js → p-954cd130.system.entry.js} +1 -1
- package/dist/mint-components/{p-1a8a8795.entry.js → p-959400ac.entry.js} +1 -1
- package/dist/mint-components/p-96ab6e6b.js +1 -0
- package/dist/mint-components/{p-7dceeaf0.entry.js → p-99bd299b.entry.js} +1 -1
- package/dist/mint-components/{p-7cf5c24c.js → p-9bc18724.js} +1 -1
- package/dist/mint-components/{p-79bd1db8.system.js → p-9c984615.system.js} +1 -1
- package/dist/mint-components/{p-20e29ff1.system.entry.js → p-9d15d169.system.entry.js} +1 -1
- package/dist/mint-components/{p-9ae356ae.system.js → p-9e1b0266.system.js} +1 -1
- package/dist/mint-components/{p-d8f59e94.system.entry.js → p-9e6c3933.system.entry.js} +1 -1
- package/dist/mint-components/{p-d567f968.system.entry.js → p-a262adf8.system.entry.js} +1 -1
- package/dist/mint-components/p-a7c8003b.entry.js +1 -0
- package/dist/mint-components/{p-70554628.system.entry.js → p-a8c90696.system.entry.js} +1 -1
- package/dist/mint-components/{p-957ebdc4.system.entry.js → p-aca4988d.system.entry.js} +1 -1
- package/dist/mint-components/{p-ab49b4e4.js → p-ad4bf4fa.js} +1 -1
- package/dist/mint-components/{p-571b55b4.js → p-af532d79.js} +1 -1
- package/dist/mint-components/p-b0568235.system.entry.js +1 -0
- package/dist/mint-components/{p-e5802992.system.entry.js → p-b3b5b4b7.system.entry.js} +1 -1
- package/dist/mint-components/{p-fd3dacb9.system.entry.js → p-b6b8e4f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a9fc2aa.system.entry.js → p-baa8c445.system.entry.js} +1 -1
- package/dist/mint-components/{p-2f2b220a.entry.js → p-bb669aaf.entry.js} +2 -2
- package/dist/mint-components/{p-09c7f320.entry.js → p-bd52e601.entry.js} +1 -1
- package/dist/mint-components/{p-5b2abce0.system.js → p-bf435047.system.js} +1 -1
- package/dist/mint-components/{p-dd5ca1b2.entry.js → p-c00bfb48.entry.js} +2 -2
- package/dist/mint-components/{p-82f2efa4.entry.js → p-c0e61eab.entry.js} +1 -1
- package/dist/mint-components/p-c3e83277.js +1 -0
- package/dist/mint-components/p-c53a801b.system.js +1 -0
- package/dist/mint-components/p-c8610d0c.js +1 -0
- package/dist/mint-components/p-c8878e79.entry.js +1 -0
- package/dist/mint-components/p-c8cae3bc.system.js +1 -0
- package/dist/mint-components/{p-17cef69b.system.entry.js → p-ccf70291.system.entry.js} +1 -1
- package/dist/mint-components/p-ce72e90a.entry.js +1 -0
- package/dist/mint-components/{p-5e8996cd.system.js → p-ce9e7c98.system.js} +1 -1
- package/dist/mint-components/{p-46ef82ed.js → p-d49e2f7a.js} +1 -1
- package/dist/mint-components/{p-3539d14d.js → p-d64754c2.js} +1 -1
- package/dist/mint-components/{p-214ad777.entry.js → p-d745102d.entry.js} +1 -1
- package/dist/mint-components/{p-cefb6938.system.entry.js → p-dc93e1e2.system.entry.js} +1 -1
- package/dist/mint-components/{p-4bdfee88.entry.js → p-dd0d79bf.entry.js} +1 -1
- package/dist/mint-components/{p-da99e3c7.system.entry.js → p-ddcc5163.system.entry.js} +1 -1
- package/dist/mint-components/{p-f40d3edd.js → p-dec50ec2.js} +1 -1
- package/dist/mint-components/{p-eb8ed21b.entry.js → p-e01d0da5.entry.js} +1 -1
- package/dist/mint-components/{p-67cf72f0.system.entry.js → p-e4c6ebf1.system.entry.js} +1 -1
- package/dist/mint-components/p-e680ae37.entry.js +9 -0
- package/dist/mint-components/p-e8e07d8d.system.entry.js +1 -0
- package/dist/mint-components/p-eff38271.js +1 -0
- package/dist/mint-components/{p-9fe25b2d.system.entry.js → p-f0806232.system.entry.js} +1 -1
- package/dist/mint-components/{p-04cb0dbf.system.entry.js → p-f1d51cb2.system.entry.js} +1 -1
- package/dist/mint-components/{p-65106298.js → p-f3053c61.js} +1 -1
- package/dist/mint-components/p-f6735430.entry.js +1 -0
- package/dist/mint-components/{p-26192c42.system.entry.js → p-fa9efe00.system.entry.js} +1 -1
- package/dist/mint-components/{p-20e2037d.system.entry.js → p-fb1c30c3.system.entry.js} +1 -1
- package/dist/mint-components/{p-8d6eda67.entry.js → p-fbdf0738.entry.js} +1 -1
- package/dist/mint-components/{p-2446212d.js → p-fd2c5407.js} +1 -1
- package/dist/mint-components/{p-80266bc5.js → p-fd3ab606.js} +2 -2
- package/dist/mint-components/{p-11be93f5.entry.js → p-fe451a32.entry.js} +1 -1
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +2 -0
- package/docs/docs.docx +0 -0
- package/package.json +7 -4
- package/dist/esm-es5/ShadowViewAddon-c22043d9.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-13f0ef79.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-283bf637.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-0e09e2ca.js +0 -1
- package/dist/mint-components/p-023145f0.entry.js +0 -1
- package/dist/mint-components/p-05bfb3bf.js +0 -391
- package/dist/mint-components/p-188ad1f6.system.entry.js +0 -1
- package/dist/mint-components/p-1fe0ea89.entry.js +0 -1
- package/dist/mint-components/p-3a5d82b7.system.entry.js +0 -1
- package/dist/mint-components/p-44c46a30.system.entry.js +0 -1
- package/dist/mint-components/p-4ca22e1b.js +0 -1
- package/dist/mint-components/p-4d9744bf.js +0 -1
- package/dist/mint-components/p-5cd6d4ed.system.entry.js +0 -1
- package/dist/mint-components/p-6a626a88.system.js +0 -1
- package/dist/mint-components/p-74872e41.entry.js +0 -1
- package/dist/mint-components/p-7f6a6657.system.js +0 -1
- package/dist/mint-components/p-90188bc1.entry.js +0 -1
- package/dist/mint-components/p-9149f891.entry.js +0 -1
- package/dist/mint-components/p-9b400b7e.system.entry.js +0 -1
- package/dist/mint-components/p-9cb1ab69.system.js +0 -1
- package/dist/mint-components/p-9f449032.entry.js +0 -1
- package/dist/mint-components/p-b153fc0c.system.js +0 -1
- package/dist/mint-components/p-b2b22a2a.entry.js +0 -9
- package/dist/mint-components/p-b4984452.js +0 -1
- package/dist/mint-components/p-b5ee2781.js +0 -1
- package/dist/mint-components/p-b67f5743.system.js +0 -1
- package/dist/mint-components/p-be584089.system.entry.js +0 -1
- package/dist/mint-components/p-c3a388cd.js +0 -1
- package/dist/mint-components/p-c74a8f95.entry.js +0 -1
- package/dist/mint-components/p-cd96e792.entry.js +0 -1
- package/dist/mint-components/p-cef64e28.system.entry.js +0 -1
- package/dist/mint-components/p-d1c7aed7.js +0 -1
- package/dist/mint-components/p-d4b174e1.system.js +0 -1
- package/dist/mint-components/p-e98b8f9a.system.entry.js +0 -1
- package/dist/mint-components/p-f5f25aba.js +0 -1
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
+
require('./index.module-0c942e81.js');
|
|
8
|
+
const reRender = require('./re-render-4b9dab91.js');
|
|
9
9
|
|
|
10
10
|
const RewardTableCustomerNoteColumn = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
+
const global = require('./global-32cf67e2.js');
|
|
8
|
+
const index_module = require('./index.module-0c942e81.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
15
|
-
const luxon = require('./luxon-
|
|
16
|
-
const mockRewardData = require('./mockRewardData-
|
|
17
|
-
const useReferralTable = require('./useReferralTable-
|
|
13
|
+
const reRender = require('./re-render-4b9dab91.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-fbcd8f72.js');
|
|
15
|
+
const luxon = require('./luxon-05098e19.js');
|
|
16
|
+
const mockRewardData = require('./mockRewardData-4258e067.js');
|
|
17
|
+
const useReferralTable = require('./useReferralTable-984e432d.js');
|
|
18
18
|
const utils = require('./utils-6847bc06.js');
|
|
19
19
|
|
|
20
20
|
const debug = stencilHooks_module.browser("sq:useRewardsTable");
|
|
@@ -3,34 +3,34 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
+
require('./global-32cf67e2.js');
|
|
8
|
+
const index_module = require('./index.module-0c942e81.js');
|
|
9
9
|
require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
13
|
-
require('./useChildElements-
|
|
14
|
-
const luxon = require('./luxon-
|
|
13
|
+
require('./useChildElements-fbcd8f72.js');
|
|
14
|
+
const luxon = require('./luxon-05098e19.js');
|
|
15
15
|
require('./utils-6847bc06.js');
|
|
16
16
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
17
17
|
const sqmAssetCardView = require('./sqm-asset-card-view-a0e33f21.js');
|
|
18
18
|
const sqmCloseButtonView = require('./sqm-close-button-view-fd6e8f60.js');
|
|
19
19
|
require('./index-8c6255f5.js');
|
|
20
|
-
const emailRegistrationView = require('./email-registration-view-
|
|
20
|
+
const emailRegistrationView = require('./email-registration-view-5170d9f1.js');
|
|
21
21
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
22
22
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-c9f18d96.js');
|
|
23
23
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-dd53f947.js');
|
|
24
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
25
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
26
|
-
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-
|
|
27
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
28
|
-
require('./utilities-
|
|
29
|
-
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-
|
|
30
|
-
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-
|
|
31
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
24
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-52d8a6ab.js');
|
|
25
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-4224f1c3.js');
|
|
26
|
+
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-969c49ed.js');
|
|
27
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-04239bdf.js');
|
|
28
|
+
require('./utilities-d1a46070.js');
|
|
29
|
+
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-96f329ed.js');
|
|
30
|
+
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
|
|
31
|
+
const ShadowViewAddon = require('./ShadowViewAddon-1d7d274f.js');
|
|
32
32
|
const sqmPortalContainerView = require('./sqm-portal-container-view-5fb2ad49.js');
|
|
33
|
-
const sqmInvoiceTableView = require('./sqm-invoice-table-view-
|
|
33
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-7660f329.js');
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -7239,8 +7239,8 @@ const slottedProps = {
|
|
|
7239
7239
|
requiredFieldErrorMessage: "Cannot be empty",
|
|
7240
7240
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
7241
7241
|
formData: (index.h("div", null,
|
|
7242
|
-
index.h("sl-input", { style: { marginBottom: "var(--sl-spacing-x-large)" }, exportparts: "label: input-label", label: "Slotted Input", required: true }),
|
|
7243
|
-
index.h("sl-input", { exportparts: "label: input-label", label: "Slotted Input 2", required: true }))),
|
|
7242
|
+
index.h("sl-input", { style: { marginBottom: "var(--sl-spacing-x-large)" }, exportparts: "label: input-label, base: input-base", label: "Slotted Input", required: true }),
|
|
7243
|
+
index.h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
|
|
7244
7244
|
},
|
|
7245
7245
|
};
|
|
7246
7246
|
const Default$3 = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultProps$3));
|
|
@@ -7605,7 +7605,7 @@ const PortalResetPassword = /*#__PURE__*/Object.freeze({
|
|
|
7605
7605
|
CodeValidating: CodeValidating
|
|
7606
7606
|
});
|
|
7607
7607
|
|
|
7608
|
-
const scenario$9 = "@author:derek\n@owner:ian\nFeature: Verify Email\n\n
|
|
7608
|
+
const scenario$9 = "@author:derek\n@owner:ian\nFeature: Verify Email\n\n Background: A user is on the email verification page\n Given a user who has been redirected to the email verification page\n\n @motivating\n Scenario: Verifying your email takes you to the portal login page\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email is validated\n Then a button that says \"Continue\" appears\n When they click \"Continue\"\n Then they are redirected to login\n\n @motivating\n Scenario: Users are automatically redirected if they dont click \"Continue\"\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email is validated\n Then a button that says \"Continue\" appears\n When they wait 5 seconds\n Then they are redirected to login\n\n @motivating\n Scenario: Users are notified if verifying their email has failed\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email fails to be validated\n Then an banner is shown stating that an error occured\n\n @motivating\n Scenario Outline: Users cannot verify their email with an invalid or missing oob code\n Given a user has a <oobCode> as a url query parameter\n And the component <mayHave> \"failed-page\" with <value>\n Then they see an error message saying that their verification code is invalid/expired\n When they click \"Continue\"\n Then they are redirected to <redirectPath>\n Examples:\n | oobCode | mayHave | value | redirectPath |\n | invalid oob code | doesn't have | N/A | / |\n | non existant oob code | doesn't have | N/A | / |\n | invalid oob code | has | /login | /login |\n | non existant oob code | has | /login | /login |\n\n @motivating\n Scenario: Users are redirected to \"/\" by default\n Given the component does not have prop \"nextPage\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has verified their email\n When they click \"Continue\"\n Then they are redirected to \"/\"\n\n @motivating\n Scenario: Custom redirection can be configured\n Given the component has prop \"nextPage\" with value \"/activity\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has verified their email\n When they click \"Continue\"\n Then they are redirected to \"/activity\"\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter if it exists\n Given the component <mayHave> prop \"nextPage\" with <nextPageValue>\n And the users url contains a \"nextPage\" query paramater with <nextPageParamValue>\n And the user has verified their email\n When they click \"Continue\"\n Then they are redirected to <nextPageParamValue>\n Examples:\n | mayHave | nextPageValue | nextPageParamValue |\n | has | /dashboard | /activity |\n | does not have | N/A | /activity |\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter as if it were a relative path\n Given the component is loaded at <currentUrl>\n And the user has verified their email\n When they click \"Continue\"\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://www.example.com?nextPage=./activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=/activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=www.google.com | https://www.example.com/www.google.com |\n | https://www.example.com?nextPage=//foo.com | https://www.example.com/ |\n | https://www.example.com?nextPage=https://malicious.example.com | https://www.example.com/ |\n | http://www.example.com/nest/page?oob=123&other&nextPage=activity#heading-1 | http://www.example.com/activity |\n | https://www.example.com?nextPage=activity?foo=bar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar#hash | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar%23hash | https://www.example.com/activity?foo=bar#hash |\n | https://www.example.com:1337?nextPage=activity | https://www.example.com:1337/activity |\n | http://1.1.1.1:1111?nextPage=activity | http://1.1.1.1:1111/activity |\n\n @landmine\n Scenario Outline: Username and password are not persisted on redirects\n Given the component is loaded at <currentUrl>\n And the user has verified their email\n When they click \"Continue\"\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://user:pass@www.example.com:444?nextPage=activity | https://www.example.com:444/activity |\n\n\n @minutia\n Scenario Outline: Users may be logged in or logged out depending on the verified status and logged in email\n Given an oobCode with email <oobCodeEmail> as a url query parameter\n And the user is logged in as <loggedInEmail>\n And the logged in user <isVerified>\n When the oobCode is submitted\n And the oobCode <isValid>\n Then the <submitState> screen is shown\n And after 3 seconds pass\n Then the user is redirected to <redirect>\n Examples:\n | oobCodeEmail | loggedInEmail | isVerified | isValid | submitState | redirect |\n | user1@example.com | N/A | false | is valid | success | /login |\n | user1@example.com | N/A | false | is not valid | error | /login |\n | user1@example.com | user1@example.com | false | is valid | success | /activity |\n | user1@example.com | user1@example.com | false | is not valid | error | N/A |\n | user1@example.com | user2@example.com | false | is valid | success | /login |\n | user1@example.com | user2@example.com | false | is not valid | error | /login |\n | user1@example.com | user1@example.com | true | is valid | success | /activity |\n | user1@example.com | user1@example.com | true | is not valid | success | /activity |\n | user1@example.com | user2@example.com | true | is not valid | error | /login |\n | N/A | N/A | false | is not valid | error | N/A |\n";
|
|
7609
7609
|
|
|
7610
7610
|
const PortalVerifyEmail_stories = {
|
|
7611
7611
|
title: "Components/Microsite Verify Email",
|
|
@@ -7618,6 +7618,7 @@ const errorProps$5 = {
|
|
|
7618
7618
|
error: "Something went wrong. Please try again.",
|
|
7619
7619
|
loading: false,
|
|
7620
7620
|
verified: false,
|
|
7621
|
+
success: false,
|
|
7621
7622
|
},
|
|
7622
7623
|
data: {
|
|
7623
7624
|
oobCode: "abc123",
|
|
@@ -7637,6 +7638,7 @@ const verifiedProps = {
|
|
|
7637
7638
|
error: "",
|
|
7638
7639
|
loading: false,
|
|
7639
7640
|
verified: true,
|
|
7641
|
+
success: true,
|
|
7640
7642
|
},
|
|
7641
7643
|
data: {
|
|
7642
7644
|
oobCode: "abc123",
|
|
@@ -9955,7 +9957,7 @@ const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Genera
|
|
|
9955
9957
|
|
|
9956
9958
|
const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ---------------------------- | ------------------------------ | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; isVerified?: boolean; loadingVerification?: boolean; countdown?: number; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; verificationStatusMessage?: string; verificationLoadingMessage?: string; verificationResentMessage?: string; }; }` | `undefined` |\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\n| `networkErrorMessage` | `network-error-message` | | `string` | `\"An error occurred while verifying your password. Please refresh the page.\"` |\n| `redirectPath` | `redirect-path` | Redirect participants to this page from their verification email. | `string` | `\"/verifyEmail\"` |\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\n| `verificationLoadingMessage` | `verification-loading-message` | | `string` | `\"Checking verification status\"` |\n| `verificationResentMessage` | `verification-resent-message` | | `string` | `\"Your verification email has been resent successfully\"` |\n| `verificationStatusMessage` | `verification-status-message` | | `string` | `\"Checking verification status in {countdown}\"` |\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-email-verification --> sqm-form-message\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9957
9959
|
|
|
9958
|
-
const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type
|
|
9960
|
+
const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------- | ----------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |\n| `continueText` | `continue-text` | | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; verified: boolean; }; data?: { oobCode: string; }; content?: { verifySuccessText?: string; verifyEmailText?: string; verifyInvalidText?: string; continueText?: string; }; }` | `undefined` |\n| `failedPage` | `failed-page` | Redirect participants to this page if verification fails due to an outdated verification attempt. | `string` | `\"/\"` |\n| `networkErrorMessage` | `network-error-message` | | `string` | `\"An error occurred while verifying your email. Please refresh the page and try again.\"` |\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully verify their email. | `string` | `\"/\"` |\n| `verifyEmailText` | `verify-email-text` | | `string` | `\"Verify your email\"` |\n| `verifyInvalidText` | `verify-invalid-text` | | `string` | `\"The email verification code is invalid or has expired, please try again.\"` |\n| `verifySuccessText` | `verify-success-text` | | `string` | `\"Your email has been verified and you are being redirected. If you are not redirected, please click Continue.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-verify-email --> sqm-form-message\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9959
9961
|
|
|
9960
9962
|
const PortalTemplates_stories = {
|
|
9961
9963
|
title: "Templates / Microsite",
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
+
require('./index.module-0c942e81.js');
|
|
8
|
+
const reRender = require('./re-render-4b9dab91.js');
|
|
9
9
|
|
|
10
10
|
const TabView = ({}, children) => {
|
|
11
11
|
return index.h(index.Host, null, children);
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
9
|
-
const useChildElements = require('./useChildElements-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
+
const index_module = require('./index.module-0c942e81.js');
|
|
8
|
+
const reRender = require('./re-render-4b9dab91.js');
|
|
9
|
+
const useChildElements = require('./useChildElements-fbcd8f72.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
|
|
12
12
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
7
|
require('./JSS-8503a151.js');
|
|
8
8
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
9
9
|
|
|
@@ -1107,7 +1107,7 @@ formatters.j = function (v) {
|
|
|
1107
1107
|
};
|
|
1108
1108
|
});
|
|
1109
1109
|
|
|
1110
|
-
function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}function n(n,e,i){return e&&t(n.prototype,e),i&&t(n,i),n}var s$1=function(){function t(t){var n=this,e=this;this._status="Initial",this.onChange=function(t){e.options.onChange&&e.options.onChange(t);},this.onConnect=function(t){try{return n.status="Connected",n.options.onChange&&n.options.onChange(t),Promise.resolve(new Promise(function(t){n.resolvePromise=t;}))}catch(t){return Promise.reject(t)}},this.onDisconnect=function(){e.status="Connecting",e.start();},this.options=t;}var e=t.prototype;return e.start=function(){var t=this,n=0;this.status="Connecting";var e=function(){return t.status},i=a(this.options.attempts)||10,o=function(){if("Connected"!==e()){var o=new CustomEvent(t.options.contextName,{bubbles:!0,cancelable:!0,composed:!0,detail:{onConnect:t.onConnect,onChange:t.onChange,onDisconnect:t.onDisconnect}});a(t.options.element).dispatchEvent(o),"Connected"!==e()?++n>=i&&(t._interval&&clearInterval(t._interval),t.status="Timeout"):"Connected"===e()&&t._interval&&clearInterval(t._interval);}};return (a(this.options.pollingMs)||100)>0&&i>1&&(this._interval=setInterval(o,a(this.options.pollingMs)||100)),o(),this},e.stop=function(){return this._interval&&clearInterval(this._interval),this.resolvePromise&&this.resolvePromise(),this.status="Initial",this},n(t,[{key:"status",set:function(t){this._status=t,this.options.onStatus&&this.options.onStatus(t);},get:function(){return this._status}}]),t}(),c=function(){function t(t){var n=this;this.__listeners=[],this.connectListener=function(t){try{t.stopPropagation(),n.__listeners=[].concat(n.__listeners,[t.detail]);var e=function(e,i){try{var o=Promise.resolve(t.detail.onConnect(n.__current)).then(function(){});}catch(t){return i(!0,t)}return o&&o.then?o.then(i.bind(null,!1),i.bind(null,!0)):i(!1,o)}(0,function(e,i){var o,r;if(n.__listeners=(r=(o=n.__listeners).indexOf(t.detail),o.slice(0,r).concat(o.slice(r+1,o.length))),e)throw i;return i});return Promise.resolve(e&&e.then?e.then(function(){}):void 0)}catch(t){return Promise.reject(t)}},this.options=t,this.__current=a(t.initialState);}var e=t.prototype;return e.start=function(){return a(this.options.element).addEventListener(this.options.contextName,this.connectListener),this},e.stop=function(){return a(this.options.element).removeEventListener(this.options.contextName,this.connectListener),this.__listeners.map(function(t){t.onDisconnect();}),this.__listeners=[],this},n(t,[{key:"context",set:function(t){this.__current=t,this.__listeners.forEach(function(
|
|
1110
|
+
function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}function n(n,e,i){return e&&t(n.prototype,e),i&&t(n,i),n}var s$1=function(){function t(t){var n=this,e=this;this._status="Initial",this.onChange=function(t,n){e.options.onChange&&e.options.onChange(t,n);},this.onConnect=function(t){try{return n.status="Connected",n.options.onChange&&n.options.onChange(t,t),Promise.resolve(new Promise(function(t){n.resolvePromise=t;}))}catch(t){return Promise.reject(t)}},this.onDisconnect=function(){e.status="Connecting",e.start();},this.options=t;}var e=t.prototype;return e.start=function(){var t=this,n=0;this.status="Connecting";var e=function(){return t.status},i=a(this.options.attempts)||10,o=function(){if("Connected"!==e()){var o=new CustomEvent(t.options.contextName,{bubbles:!0,cancelable:!0,composed:!0,detail:{onConnect:t.onConnect,onChange:t.onChange,onDisconnect:t.onDisconnect}});a(t.options.element).dispatchEvent(o),"Connected"!==e()?++n>=i&&(t._interval&&clearInterval(t._interval),t.status="Timeout"):"Connected"===e()&&t._interval&&clearInterval(t._interval);}};return (a(this.options.pollingMs)||100)>0&&i>1&&(this._interval=setInterval(o,a(this.options.pollingMs)||100)),o(),this},e.stop=function(){return this._interval&&clearInterval(this._interval),this.resolvePromise&&this.resolvePromise(),this.status="Initial",this},n(t,[{key:"status",set:function(t){this._status=t,this.options.onStatus&&this.options.onStatus(t);},get:function(){return this._status}}]),t}(),c=function(){function t(t){var n=this;this.__listeners=[],this.connectListener=function(t){try{t.stopPropagation(),n.__listeners=[].concat(n.__listeners,[t.detail]);var e=function(e,i){try{var o=Promise.resolve(t.detail.onConnect(n.__current)).then(function(){});}catch(t){return i(!0,t)}return o&&o.then?o.then(i.bind(null,!1),i.bind(null,!0)):i(!1,o)}(0,function(e,i){var o,r;if(n.__listeners=(r=(o=n.__listeners).indexOf(t.detail),o.slice(0,r).concat(o.slice(r+1,o.length))),e)throw i;return i});return Promise.resolve(e&&e.then?e.then(function(){}):void 0)}catch(t){return Promise.reject(t)}},this.options=t,this.__current=a(t.initialState);}var e=t.prototype;return e.start=function(){return a(this.options.element).addEventListener(this.options.contextName,this.connectListener),this},e.stop=function(){return a(this.options.element).removeEventListener(this.options.contextName,this.connectListener),this.__listeners.map(function(t){t.onDisconnect();}),this.__listeners=[],this},n(t,[{key:"context",set:function(t){var n=this.__current;this.__current=t,this.__listeners.forEach(function(e){return e.onChange(t,n)});},get:function(){return a(this.__current)}},{key:"listeners",get:function(){return Object.freeze([].concat(this.__listeners))}}]),t}();function a(t){return "function"==typeof typeof t?t():t}
|
|
1111
1111
|
|
|
1112
1112
|
function c$1(){return (c$1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}var u=1e3,C=60*u,l=60*C,d$1=24*l,f=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*d$1;case"hours":case"hour":case"hrs":case"hr":case"h":return n*l;case"minutes":case"minute":case"mins":case"min":case"m":return n*C;case"seconds":case"second":case"secs":case"sec":case"s":return n*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===n&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=d$1?g(e,t,d$1,"day"):t>=l?g(e,t,l,"hour"):t>=C?g(e,t,C,"minute"):t>=u?g(e,t,u,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=d$1?Math.round(e/d$1)+"d":t>=l?Math.round(e/l)+"h":t>=C?Math.round(e/C)+"m":t>=u?Math.round(e/u)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function g(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}var p,m$1=(function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(o=r));}),t.splice(o,0,n);},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug");}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug");}catch(e){}return !e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return !("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return ()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=function(e){function t(e){let r,o=null;function s(...e){if(!s.enabled)return;const n=s,o=Number(new Date);n.diff=o-(r||o),n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,o)=>{if("%%"===r)return "%";a++;const s=t.formatters[o];return "function"==typeof s&&(r=s.call(n,e[a]),e.splice(a,1),a--),r}),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e);}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null===o?t.enabled(e):o,set:e=>{o=e;}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));},t.enabled=function(e){if("*"===e[e.length-1])return !0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return !1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return !0;return !1},t.humanize=f,t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");},Object.keys(e).forEach(n=>{t[n]=e[n];}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return "[UnexpectedJSONParseError]: "+e.message}};}(p={exports:{}},p.exports),p.exports)("useDomContext");function h$1(e,n,i){void 0===i&&(i={});var u=useRef(void 0),C=useState(void 0),l=C[0],d=C[1],f=useMemo(function(){var r;try{(r=new s$1(c$1({contextName:n,element:e,onChange:function(e){u&&(u.current=e),d(e);}},i))).start();}catch(e){m$1("Listener failed to start",e);}return m$1("Listener initialized",r),{listener:r}},[n,u]).listener;return useEffect(function(){return m$1("Listener starting (or restarting)",f),f.start(),function(){m$1("Listener stopping (or restopping)",f),f.stop();}},[f,e.isConnected]),l||(null==u?void 0:u.current)}function y$1(e,t,r){var o=useMemo(function(){var o=new c({contextName:t,element:e,initialState:r});return o.start(),m$1("Provider initialized",o),o},[t,e]);useEffect(function(){return m$1("Provider starting (or restarting)",o),o.start(),function(){m$1("Provider stopping (or re-stopping)",o),o.stop();}},[o,e.isConnected]);var c$1=useReducer(function(e,t){var n;return m$1("New context value",t),n="function"==typeof t?t(o.context):t,o.context=n,o.context},o.context);return [c$1[0],c$1[1],o]}
|
|
1113
1113
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
+
const index_module = require('./index.module-0c942e81.js');
|
|
5
5
|
|
|
6
6
|
function useChildElements() {
|
|
7
7
|
const host = index_module._();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
+
const index_module = require('./index.module-0c942e81.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
6
|
+
const useRegistrationFormState = require('./useRegistrationFormState-70ae0627.js');
|
|
7
7
|
|
|
8
8
|
function useInstantAccessRegistration(props) {
|
|
9
9
|
const cookie = new URLSearchParams(window.location.search);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const index_module = require('./index.module-
|
|
6
|
-
const reRender = require('./re-render-
|
|
7
|
-
const useChildElements = require('./useChildElements-
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
5
|
+
const index_module = require('./index.module-0c942e81.js');
|
|
6
|
+
const reRender = require('./re-render-4b9dab91.js');
|
|
7
|
+
const useChildElements = require('./useChildElements-fbcd8f72.js');
|
|
8
8
|
|
|
9
9
|
const debug = stencilHooks_module.browser("sq:useReferralTable");
|
|
10
10
|
const CSS_NAMESPACE = "sqm-referral-table";
|
package/dist/cjs/{useRegistrationFormState-ad3190c9.js → useRegistrationFormState-70ae0627.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
+
const index_module = require('./index.module-0c942e81.js');
|
|
5
5
|
|
|
6
6
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
7
7
|
function useRegistrationFormState(formState) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
+
const index_module = require('./index.module-0c942e81.js');
|
|
5
5
|
|
|
6
6
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
7
7
|
function isMobile(breakPoint) {
|
|
@@ -51,7 +51,7 @@ export function CheckboxFieldView(props) {
|
|
|
51
51
|
h("style", { type: "text/css" },
|
|
52
52
|
vanillaStyle,
|
|
53
53
|
styleString),
|
|
54
|
-
h("sl-checkbox", Object.assign({ exportparts: "label: input-label", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
54
|
+
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
55
55
|
e.target.value = e.target.checked;
|
|
56
56
|
callbacks.setChecked(e.target.value);
|
|
57
57
|
} }, (!content.checkboxOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName])
|
|
@@ -40,7 +40,7 @@ export function DropdownFieldView(props) {
|
|
|
40
40
|
h("style", { type: "text/css" },
|
|
41
41
|
vanillaStyle,
|
|
42
42
|
styleString),
|
|
43
|
-
h("sl-select", Object.assign({ exportparts: "label: input-label", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
43
|
+
h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
44
44
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
45
45
|
}
|
|
46
46
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
@@ -15,17 +15,17 @@ const EditProfileView = (props) => {
|
|
|
15
15
|
h("div", { class: "FormSection" },
|
|
16
16
|
states.formState.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
17
17
|
h("div", { part: "erroralert-text" }, states.formState.error))),
|
|
18
|
-
h("sl-input", Object.assign({ exportparts: "label: input-label", value: states.formState.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, (errors.firstName && errors.firstName.status !== "valid"
|
|
18
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: states.formState.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, (errors.firstName && errors.firstName.status !== "valid"
|
|
19
19
|
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
20
20
|
: []), { id: "firstName", name: "firstName", error: errors.firstName && errors.firstName.status !== "valid"
|
|
21
21
|
? errors.firstName.message
|
|
22
22
|
: undefined })),
|
|
23
|
-
h("sl-input", Object.assign({ exportparts: "label: input-label", value: states.formState.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, (errors.lastName && errors.lastName.status !== "valid"
|
|
23
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: states.formState.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, (errors.lastName && errors.lastName.status !== "valid"
|
|
24
24
|
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
25
25
|
: []), { error: errors.lastName && errors.lastName.status !== "valid"
|
|
26
26
|
? errors.lastName.message
|
|
27
27
|
: undefined }))),
|
|
28
|
-
text.showregion && states.formState.currentRegion && (h("sl-input", { exportparts: "label: input-label", disabled: true, value: states.formState.currentRegion, label: text.currentregiontext, id: "currentRegion", name: "currentRegion" })),
|
|
28
|
+
text.showregion && states.formState.currentRegion && (h("sl-input", { exportparts: "label: input-label, base: input-base", disabled: true, value: states.formState.currentRegion, label: text.currentregiontext, id: "currentRegion", name: "currentRegion" })),
|
|
29
29
|
h("div", { class: "ButtonWrapper" },
|
|
30
30
|
h("sl-button", { type: "primary", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
|
|
31
31
|
callbacks.onSubmit(e);
|
|
@@ -5,7 +5,7 @@ export function EmptyStateView(props) {
|
|
|
5
5
|
h("img", { style: { height: "100px", margin: "auto" }, src: emptyStateImage }),
|
|
6
6
|
h("sqm-titled-section", { style: { maxHeight: "400px" }, "label-margin": "xxx-small", "text-align": "center" },
|
|
7
7
|
h("sqm-text", { slot: "label" },
|
|
8
|
-
h("p",
|
|
8
|
+
h("p", { part: "header-text" }, emptyStateHeader)),
|
|
9
9
|
h("sqm-text", { slot: "content" },
|
|
10
|
-
h("p", { style: { color: "var(--sl-color-gray-500)" } }, emptyStateText)))));
|
|
10
|
+
h("p", { part: "description-text", style: { color: "var(--sl-color-gray-500)" } }, emptyStateText)))));
|
|
11
11
|
}
|
|
@@ -27,7 +27,7 @@ export function InputFieldView(props) {
|
|
|
27
27
|
h("style", { type: "text/css" },
|
|
28
28
|
vanillaStyle,
|
|
29
29
|
styleString),
|
|
30
|
-
h("sl-input", Object.assign({ exportparts: "label: input-label", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
|
|
30
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
|
|
31
31
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
32
32
|
}
|
|
33
33
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
@@ -20,6 +20,6 @@ export function LinkButtonView(props) {
|
|
|
20
20
|
h("style", { type: "text/css" },
|
|
21
21
|
styleString,
|
|
22
22
|
vanillaStyle),
|
|
23
|
-
h("sl-button", { type: "primary", exportparts: "base: primarybutton-base" },
|
|
24
|
-
h("a", {
|
|
23
|
+
h("sl-button", { onClick: onClick, type: "primary", exportparts: "base: primarybutton-base" },
|
|
24
|
+
h("a", { class: sheet.classes.Link, part: "sqm-link" }, buttonText))));
|
|
25
25
|
}
|
|
@@ -31,7 +31,7 @@ export function NameFieldsView(props) {
|
|
|
31
31
|
h("style", { type: "text/css" },
|
|
32
32
|
vanillaStyle,
|
|
33
33
|
styleString),
|
|
34
|
-
h("sl-input", Object.assign({ exportparts: "label: input-label", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
|
|
34
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
|
|
35
35
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
36
36
|
}
|
|
37
37
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
@@ -39,7 +39,7 @@ export function NameFieldsView(props) {
|
|
|
39
39
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
40
40
|
}
|
|
41
41
|
: []))),
|
|
42
|
-
h("sl-input", Object.assign({ exportparts: "label: input-label", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: true, disabled: ((_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.loading) || ((_j = states.registrationFormState) === null || _j === void 0 ? void 0 : _j.disabled) }, (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.initialData) === null || _l === void 0 ? void 0 : _l.lastName) ? {
|
|
42
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: true, disabled: ((_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.loading) || ((_j = states.registrationFormState) === null || _j === void 0 ? void 0 : _j.disabled) }, (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.initialData) === null || _l === void 0 ? void 0 : _l.lastName) ? {
|
|
43
43
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
44
44
|
}
|
|
45
45
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
@@ -28,7 +28,7 @@ export function PortalResetPasswordView(props) {
|
|
|
28
28
|
h("style", { type: "text/css" },
|
|
29
29
|
vanillaStyle,
|
|
30
30
|
styleString),
|
|
31
|
-
h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/password", label: states.content.fieldLabel || "Password", required: true, disabled: ((_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.loading) || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), validationError: ({ value }) => {
|
|
31
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: states.content.fieldLabel || "Password", required: true, disabled: ((_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.loading) || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), validationError: ({ value }) => {
|
|
32
32
|
if (!value) {
|
|
33
33
|
return "Cannot be empty";
|
|
34
34
|
}
|
package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js
CHANGED
|
@@ -59,7 +59,7 @@ export function PortalChangePasswordView(props) {
|
|
|
59
59
|
h("sl-form", { "onSl-submit": callbacks.submit },
|
|
60
60
|
h("div", { class: sheet.classes.InputContainer },
|
|
61
61
|
h("sqm-password-field", { exportparts: "input-label: input-label", class: sheet.classes.PasswordField, fieldLabel: states.content.passwordFieldLabel, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText }),
|
|
62
|
-
h("sl-input", { exportparts: "label: input-label", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, required: true, togglePassword: true, disabled: states.loading, type: "password" })),
|
|
62
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, required: true, togglePassword: true, disabled: states.loading, type: "password" })),
|
|
63
63
|
h(PortalContainerView, Object.assign({}, { direction: "row", padding: "none", gap: "20px" }),
|
|
64
64
|
h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
65
65
|
h("sl-button", { class: sheet.classes.CancelButton, type: "text", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
|
package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js
CHANGED
|
@@ -33,7 +33,7 @@ export function PortalForgotPasswordView(props) {
|
|
|
33
33
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
34
34
|
props.states.success && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
35
35
|
h("div", { part: "successalert-text" }, content.successAlertText))),
|
|
36
|
-
h("sl-input", { exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
36
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
37
37
|
h("div", { class: sheet.classes.ButtonsContainer },
|
|
38
38
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Reset Password"),
|
|
39
39
|
h("div", { class: sheet.classes.SecondaryButton }, content.secondaryButton)))));
|
|
@@ -35,9 +35,9 @@ export function PortalLoginView(props) {
|
|
|
35
35
|
h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
|
|
36
36
|
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
37
37
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
38
|
-
h("sl-input", { exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
38
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
39
39
|
h("div", null,
|
|
40
|
-
h("sl-input", { exportparts: "label: input-label", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
40
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
41
41
|
h("div", { class: sheet.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
42
42
|
h("div", { class: sheet.classes.ButtonsContainer },
|
|
43
43
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
@@ -66,16 +66,16 @@ export function PortalProfileView(props) {
|
|
|
66
66
|
error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
|
|
67
67
|
h("div", { part: "erroralert-text" }, error))),
|
|
68
68
|
h("div", { class: sheet.classes.NameInputContainer },
|
|
69
|
-
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
69
|
+
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label, base: input-base", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
70
70
|
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
71
71
|
: []), { id: "firstName", name: "firstName", error: (errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
72
72
|
? errors === null || errors === void 0 ? void 0 : errors.firstName.message : undefined })),
|
|
73
|
-
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_d = states.user) === null || _d === void 0 ? void 0 : _d.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, ((errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
|
|
73
|
+
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label, base: input-base", value: (_d = states.user) === null || _d === void 0 ? void 0 : _d.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, ((errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
|
|
74
74
|
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
75
75
|
: []), { error: (errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
|
|
76
76
|
? errors === null || errors === void 0 ? void 0 : errors.lastName.message : undefined }))),
|
|
77
|
-
h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label", disabled: true }),
|
|
78
|
-
states.showCountry && (h("sl-input", { label: text.countrytext, value: country, exportparts: "label: input-label", disabled: true })),
|
|
77
|
+
h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label, base: input-base", disabled: true }),
|
|
78
|
+
states.showCountry && (h("sl-input", { label: text.countrytext, value: country, exportparts: "label: input-label, base: input-base", disabled: true })),
|
|
79
79
|
h("sl-button", { type: "primary", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
|
|
80
80
|
callbacks.onSubmit(e);
|
|
81
81
|
}, submit: true }, text.submitChangeButtonText))));
|
|
@@ -94,8 +94,8 @@ const slottedProps = {
|
|
|
94
94
|
requiredFieldErrorMessage: "Cannot be empty",
|
|
95
95
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
96
96
|
formData: (h("div", null,
|
|
97
|
-
h("sl-input", { style: { marginBottom: "var(--sl-spacing-x-large)" }, exportparts: "label: input-label", label: "Slotted Input", required: true }),
|
|
98
|
-
h("sl-input", { exportparts: "label: input-label", label: "Slotted Input 2", required: true }))),
|
|
97
|
+
h("sl-input", { style: { marginBottom: "var(--sl-spacing-x-large)" }, exportparts: "label: input-label, base: input-base", label: "Slotted Input", required: true }),
|
|
98
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
|
|
99
99
|
},
|
|
100
100
|
};
|
|
101
101
|
export const Default = () => h(PortalRegisterView, Object.assign({}, defaultProps));
|
|
@@ -45,7 +45,7 @@ export function PortalRegisterView(props) {
|
|
|
45
45
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
46
46
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
47
47
|
content.formData,
|
|
48
|
-
!states.hideInputs && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true, validationError: ({ value }) => {
|
|
48
|
+
!states.hideInputs && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true, validationError: ({ value }) => {
|
|
49
49
|
if (!value) {
|
|
50
50
|
return content.requiredFieldErrorMessage;
|
|
51
51
|
}
|
|
@@ -61,7 +61,7 @@ export function PortalRegisterView(props) {
|
|
|
61
61
|
: [])))),
|
|
62
62
|
!states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": states.disablePasswordValidation, meetsRequirementsText: content.meetsRequirementsText, doesNotMeetRequirementsText: content.doesNotMeetRequirementsText, minErrorText: content.minErrorText, uppercaseErrorText: content.uppercaseErrorText, lowercaseErrorText: content.lowercaseErrorText, hasErrorText: content.hasErrorText })),
|
|
63
63
|
content.passwordField,
|
|
64
|
-
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
|
|
64
|
+
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
|
|
65
65
|
class: sheet.classes.ErrorStyle,
|
|
66
66
|
helpText: ((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) || content.requiredFieldErrorMessage,
|
|
67
67
|
}
|
package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js
CHANGED
|
@@ -76,8 +76,8 @@ const slottedProps = {
|
|
|
76
76
|
pageLabel: "Register",
|
|
77
77
|
confirmPasswordLabel: "Confirm Password",
|
|
78
78
|
formData: (h("div", null,
|
|
79
|
-
h("sl-input", { style: { marginBottom: "var(--sl-spacing-x-large)" }, exportparts: "label: input-label", label: "Slotted Input", required: true }),
|
|
80
|
-
h("sl-input", { exportparts: "label: input-label", label: "Slotted Input 2", required: true }))),
|
|
79
|
+
h("sl-input", { style: { marginBottom: "var(--sl-spacing-x-large)" }, exportparts: "label: input-label, base: input-base", label: "Slotted Input", required: true }),
|
|
80
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
|
|
81
81
|
},
|
|
82
82
|
};
|
|
83
83
|
export const Default = () => h(PortalRegistrationFormView, Object.assign({}, defaultProps));
|