@saasquatch/mint-components 1.12.1-2 → 1.12.1-21
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-88821c64.js → ShadowViewAddon-e7d97410.js} +152 -117
- package/dist/cjs/{global-c3637175.js → global-02e50f09.js} +2 -2
- package/dist/cjs/{index.module-b8d9d0ba.js → index.module-df530553.js} +18 -55
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-5bde3d2e.js → re-render-1976e05e.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +61 -61
- package/dist/cjs/{sqm-big-stat_39.cjs.entry.js → sqm-big-stat_40.cjs.entry.js} +241 -68
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-a9133a11.js → sqm-invoice-table-view-e3b03a00.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-fde54e35.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +7 -11
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +7 -7
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +243 -179
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
- package/dist/cjs/{useChildElements-410d2435.js → useChildElements-e0d44916.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
- package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-a76adb0d.js} +9 -9
- package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-876ed65d.js} +2 -2
- package/dist/cjs/{utilities-f7de6c04.js → utilities-cec9dd36.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -15
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +12 -43
- package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +55 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +47 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +217 -0
- package/dist/collection/components/sqm-portal-change-marketing/usePortalChangeMarketing.js +115 -0
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +3 -3
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +3 -3
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +3 -3
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +0 -4
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +3 -3
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +3 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/esm/{ShadowViewAddon-65c8679e.js → ShadowViewAddon-149b4015.js} +152 -118
- package/dist/esm/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
- package/dist/esm/{index.module-6c840c4e.js → index.module-def4aec5.js} +3 -40
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-1bcfd0de.js → re-render-12fd274a.js} +4 -4
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +61 -61
- package/dist/esm/{sqm-big-stat_39.entry.js → sqm-big-stat_40.entry.js} +241 -69
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-71915a5e.js → sqm-invoice-table-view-6e13a323.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +4 -4
- package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
- package/dist/esm/sqm-portal-forgot-password.entry.js +5 -5
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +7 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-registration-form.entry.js +7 -11
- package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
- package/dist/esm/sqm-stencilbook.entry.js +243 -179
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46b89952.js} +3 -3
- package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +9 -9
- package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-9fc1ac80.js} +2 -2
- package/dist/esm/{utilities-443732be.js → utilities-3f5bba22.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-149b4015.js +1 -0
- package/dist/esm-es5/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
- package/dist/esm-es5/index.module-def4aec5.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-1bcfd0de.js → re-render-12fd274a.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_40.entry.js +1 -0
- 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-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-71915a5e.js → sqm-invoice-table-view-6e13a323.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-60ef06cc.js +1 -0
- 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-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.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-15ddbec8.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
- 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.entry.js +1 -1
- 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-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/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
- package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
- package/dist/esm-es5/{utilities-443732be.js → utilities-3f5bba22.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-f450654b.system.entry.js → p-01cfff8a.system.entry.js} +1 -1
- package/dist/mint-components/{p-94454880.entry.js → p-021a735d.entry.js} +1 -1
- package/dist/mint-components/{p-ac51940e.system.js → p-02424350.system.js} +1 -1
- package/dist/mint-components/p-03494732.entry.js +1 -0
- package/dist/mint-components/{p-59818690.system.entry.js → p-07f675ab.system.entry.js} +1 -1
- package/dist/mint-components/{p-11d1b212.js → p-0b9fa97f.js} +1 -1
- package/dist/mint-components/{p-5becb2ff.system.js → p-0d8c53ac.system.js} +1 -1
- package/dist/mint-components/p-10e89d0a.entry.js +1 -0
- package/dist/mint-components/{p-012daf3c.entry.js → p-137ea86e.entry.js} +1 -1
- package/dist/mint-components/p-1bfc8eb0.system.entry.js +1 -0
- package/dist/mint-components/p-1c857edb.entry.js +33 -0
- package/dist/mint-components/{p-e12d3414.system.entry.js → p-1dd69917.system.entry.js} +1 -1
- package/dist/mint-components/{p-d468925f.entry.js → p-2dd67762.entry.js} +1 -1
- package/dist/mint-components/{p-1d27da33.js → p-2ee2ebba.js} +2 -2
- package/dist/mint-components/{p-84b25a46.entry.js → p-3223ba7b.entry.js} +1 -1
- package/dist/mint-components/{p-f4cbbe47.entry.js → p-32d1d162.entry.js} +1 -1
- package/dist/mint-components/{p-cb433855.system.entry.js → p-35d84041.system.entry.js} +1 -1
- package/dist/mint-components/{p-4babe350.system.js → p-3d4656bb.system.js} +1 -1
- package/dist/mint-components/{p-f36e33ff.entry.js → p-3ec16698.entry.js} +2 -2
- package/dist/mint-components/{p-04348a9b.js → p-41a11a7f.js} +1 -1
- package/dist/mint-components/{p-3cb18382.system.js → p-44787d6e.system.js} +1 -1
- package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4502ed11.system.entry.js} +1 -1
- package/dist/mint-components/{p-e0e7635a.js → p-4d233cd4.js} +1 -1
- package/dist/mint-components/{p-cd44de66.system.js → p-4df8f1d2.system.js} +1 -1
- package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-4ea58025.system.entry.js} +1 -1
- package/dist/mint-components/{p-a45b03d2.entry.js → p-4edde470.entry.js} +1 -1
- package/dist/mint-components/p-51f517a2.js +1 -0
- package/dist/mint-components/{p-bee1e573.entry.js → p-56f14840.entry.js} +1 -1
- package/dist/mint-components/{p-0527d90b.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-fc422446.system.js → p-59fe4ad1.system.js} +1 -1
- package/dist/mint-components/{p-cb38b9b0.system.entry.js → p-5b333fa8.system.entry.js} +1 -1
- package/dist/mint-components/p-5be235f9.entry.js +1 -0
- package/dist/mint-components/{p-bc826117.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
- package/dist/mint-components/{p-22425c71.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
- package/dist/mint-components/{p-0121e044.js → p-61eab172.js} +1 -1
- package/dist/mint-components/{p-4eae91a9.system.js → p-674a64fe.system.js} +1 -1
- package/dist/mint-components/{p-76392386.entry.js → p-6cef104b.entry.js} +1 -1
- package/dist/mint-components/{p-acd77a6e.entry.js → p-6f6a6518.entry.js} +32 -15
- package/dist/mint-components/{p-0893073b.entry.js → p-7049e9b0.entry.js} +1 -1
- package/dist/mint-components/p-711ba77e.system.entry.js +1 -0
- package/dist/mint-components/p-770368bc.system.js +1 -0
- package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7731f793.system.entry.js} +1 -1
- package/dist/mint-components/p-79186b05.entry.js +9 -0
- package/dist/mint-components/p-79191f88.entry.js +1 -0
- package/dist/mint-components/p-7c6c96e2.system.entry.js +1 -0
- package/dist/mint-components/p-7f088154.entry.js +1 -0
- package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
- package/dist/mint-components/{p-6c928c7d.entry.js → p-86990110.entry.js} +1 -1
- package/dist/mint-components/{p-d83b0cf3.js → p-8704937c.js} +1 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
- package/dist/mint-components/p-8e907ac7.system.entry.js +1 -0
- package/dist/mint-components/p-91669312.entry.js +1 -0
- package/dist/mint-components/{p-f56348dc.system.entry.js → p-9c310991.system.entry.js} +1 -1
- package/dist/mint-components/{p-9ec008cb.system.entry.js → p-9f0629ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-f531a5c9.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
- package/dist/mint-components/p-a6a7dcaa.js +1 -0
- package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
- package/dist/mint-components/p-a8f7cb95.js +1 -0
- package/dist/mint-components/{p-03dbe2ce.entry.js → p-a9050eb0.entry.js} +1 -1
- package/dist/mint-components/{p-fd21ae8f.entry.js → p-aad11a68.entry.js} +1 -1
- package/dist/mint-components/p-ace06b9b.system.js +1 -0
- package/dist/mint-components/{p-04ced592.system.entry.js → p-af062c8f.system.entry.js} +1 -1
- package/dist/mint-components/{p-1f7d7524.system.entry.js → p-afd366ae.system.entry.js} +1 -1
- package/dist/mint-components/p-b370fca8.system.js +1 -0
- package/dist/mint-components/{p-5291891c.entry.js → p-b4c52c5a.entry.js} +2 -2
- package/dist/mint-components/{p-36e9296e.system.entry.js → p-b5861974.system.entry.js} +1 -1
- package/dist/mint-components/{p-83c9f37b.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
- package/dist/mint-components/p-ba0dfda9.js +391 -0
- package/dist/mint-components/{p-5cd917db.js → p-bb00db59.js} +1 -1
- package/dist/mint-components/{p-5fba1a04.system.entry.js → p-be4b748a.system.entry.js} +1 -1
- package/dist/mint-components/{p-8d554a89.system.js → p-c84659a3.system.js} +1 -1
- package/dist/mint-components/{p-9e0230c3.entry.js → p-ce5afa40.entry.js} +1 -1
- package/dist/mint-components/{p-2816bf6a.js → p-ce621bcc.js} +1 -1
- package/dist/mint-components/{p-88bf51b7.system.entry.js → p-cf690d55.system.entry.js} +1 -1
- package/dist/mint-components/p-d0ea10c3.system.entry.js +1 -0
- package/dist/mint-components/{p-4671e644.entry.js → p-d8d2de11.entry.js} +1 -1
- package/dist/mint-components/{p-4e373c3d.system.js → p-dd7ee007.system.js} +1 -1
- package/dist/mint-components/{p-d35d8c06.entry.js → p-e3735866.entry.js} +2 -2
- package/dist/mint-components/{p-68747d88.js → p-eaada4da.js} +1 -1
- package/dist/mint-components/{p-51d53165.system.entry.js → p-eba44835.system.entry.js} +1 -1
- package/dist/mint-components/{p-b8233366.entry.js → p-ec41d6a4.entry.js} +1 -1
- package/dist/mint-components/{p-43621f12.system.js → p-ed095674.system.js} +1 -1
- package/dist/mint-components/{p-ca809fdd.system.js → p-ed17e637.system.js} +1 -1
- package/dist/mint-components/p-f3dd15c5.entry.js +13 -0
- package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +3 -10
- package/dist/types/components/sqm-portal-change-marketing/ChangeMarketing.stories.d.ts +8 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +28 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +39 -0
- package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +3 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +1 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +1 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +1 -1
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +1 -1
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +1 -1
- package/dist/types/components.d.ts +88 -24
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-65c8679e.js +0 -1
- package/dist/esm-es5/index.module-6c840c4e.js +0 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-f8e78810.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
- package/dist/mint-components/p-0c9ad5f3.system.entry.js +0 -1
- package/dist/mint-components/p-1279f7a3.system.entry.js +0 -1
- package/dist/mint-components/p-15a64357.entry.js +0 -13
- package/dist/mint-components/p-17f56865.entry.js +0 -9
- package/dist/mint-components/p-1b861be5.entry.js +0 -1
- package/dist/mint-components/p-2868f475.entry.js +0 -1
- package/dist/mint-components/p-6792c8d8.system.entry.js +0 -1
- package/dist/mint-components/p-93576222.system.js +0 -1
- package/dist/mint-components/p-947fe79b.entry.js +0 -1
- package/dist/mint-components/p-99c15c5e.entry.js +0 -1
- package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
- package/dist/mint-components/p-a02afa72.system.js +0 -1
- package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
- package/dist/mint-components/p-b1e8a802.entry.js +0 -1
- package/dist/mint-components/p-b3e97f8a.system.entry.js +0 -1
- package/dist/mint-components/p-b651706a.js +0 -391
- package/dist/mint-components/p-bdd6bb13.js +0 -1
- package/dist/mint-components/p-c3b37bbf.js +0 -1
- package/dist/mint-components/p-c92a743e.entry.js +0 -1
- package/dist/mint-components/p-c9fb6102.entry.js +0 -1
- package/dist/mint-components/p-def516b8.system.js +0 -1
- package/dist/mint-components/p-f655a7df.js +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import './global-
|
|
4
|
-
import {
|
|
3
|
+
import './global-04c7d3b5.js';
|
|
4
|
+
import { $ as $n, S as Sn, b as setUserIdentity, d as dist, X as Xe, o as setProgramId } from './index.module-def4aec5.js';
|
|
5
5
|
import './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
|
|
9
|
-
import './useChildElements-
|
|
9
|
+
import './useChildElements-32e1bda1.js';
|
|
10
10
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
11
11
|
import './utils-334c1e34.js';
|
|
12
12
|
import './sqm-text-span-view-8d140661.js';
|
|
@@ -17,17 +17,17 @@ import { E as EmailRegistrationView } from './email-registration-view-a89a88bf.j
|
|
|
17
17
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
18
18
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
|
|
19
19
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
|
|
20
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
21
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
20
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-60ef06cc.js';
|
|
21
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-4307c992.js';
|
|
22
22
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
|
|
23
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
24
|
-
import './utilities-
|
|
23
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-ffe955c8.js';
|
|
24
|
+
import './utilities-3f5bba22.js';
|
|
25
25
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-1d3066e1.js';
|
|
26
26
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-79a85e02.js';
|
|
27
27
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
|
|
28
|
-
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView,
|
|
28
|
+
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, g as ChangeMarktingView, T as TaskCardView, h as ProgressBarView, i as PoweredByImg$1, j as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, k as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, l as RewardExchangeView, r as rewardExchangeCustomErrorMsg, m as rewardExchangeLongText, n as rewardExchangeSelected, o as chooseAmountFixed, p as chooseAmountFixedNoDescription, q as chooseAmountVariable, s as chooseAmountVariableNoDescription, t as chooseAmountVariableDisabled, v as chooseAmountVariableUnavailable, w as confirmFixed, x as confirmVariable, y as redemptionError, z as queryError, A as success, F as successVariable, G as loading, J as empty$1, K as rewardExchange, M as CardFeedView, O as CouponCodeView, Q as ProgressBar$2, U as autoColorScaleCss, V as ShadowViewAddon } from './ShadowViewAddon-149b4015.js';
|
|
29
29
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
|
|
30
|
-
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-
|
|
30
|
+
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-6e13a323.js';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -2536,36 +2536,36 @@ const routes = `
|
|
|
2536
2536
|
`;
|
|
2537
2537
|
const TemplateNavigation = createHookStory(() => {
|
|
2538
2538
|
return (h("div", null,
|
|
2539
|
-
h("button", { onClick: () =>
|
|
2540
|
-
h("button", { onClick: () =>
|
|
2541
|
-
h("button", { onClick: () =>
|
|
2542
|
-
h("button", { onClick: () =>
|
|
2543
|
-
h("button", { onClick: () =>
|
|
2544
|
-
h("button", { onClick: () =>
|
|
2545
|
-
h("button", { onClick: () =>
|
|
2546
|
-
h("button", { onClick: () =>
|
|
2547
|
-
h("button", { onClick: () =>
|
|
2539
|
+
h("button", { onClick: () => $n.push("/") }, "/"),
|
|
2540
|
+
h("button", { onClick: () => $n.push("/foo") }, "/foo"),
|
|
2541
|
+
h("button", { onClick: () => $n.push("/bar") }, "/bar"),
|
|
2542
|
+
h("button", { onClick: () => $n.push("/baz/bang") }, "/baz/bang"),
|
|
2543
|
+
h("button", { onClick: () => $n.push("/refer") }, "/refer"),
|
|
2544
|
+
h("button", { onClick: () => $n.push("/refer/1") }, "/refer/1"),
|
|
2545
|
+
h("button", { onClick: () => $n.push("/refer/2") }, "/refer/2"),
|
|
2546
|
+
h("button", { onClick: () => $n.back() }, "Back"),
|
|
2547
|
+
h("button", { onClick: () => $n.forward() }, "Forward"),
|
|
2548
2548
|
h("hr", null),
|
|
2549
2549
|
h("sqm-router", { innerHTML: templates })));
|
|
2550
2550
|
});
|
|
2551
2551
|
const RouteNavigation = createHookStory(() => {
|
|
2552
2552
|
return (h("div", null,
|
|
2553
|
-
h("button", { onClick: () =>
|
|
2554
|
-
h("button", { onClick: () =>
|
|
2555
|
-
h("button", { onClick: () =>
|
|
2556
|
-
h("button", { onClick: () =>
|
|
2557
|
-
h("button", { onClick: () =>
|
|
2558
|
-
h("button", { onClick: () =>
|
|
2559
|
-
h("button", { onClick: () =>
|
|
2560
|
-
h("button", { onClick: () =>
|
|
2561
|
-
h("button", { onClick: () =>
|
|
2553
|
+
h("button", { onClick: () => $n.push("/") }, "/"),
|
|
2554
|
+
h("button", { onClick: () => $n.push("/foo") }, "/foo"),
|
|
2555
|
+
h("button", { onClick: () => $n.push("/bar") }, "/bar"),
|
|
2556
|
+
h("button", { onClick: () => $n.push("/baz/bang") }, "/baz/bang"),
|
|
2557
|
+
h("button", { onClick: () => $n.push("/refer") }, "/refer"),
|
|
2558
|
+
h("button", { onClick: () => $n.push("/refer/1") }, "/refer/1"),
|
|
2559
|
+
h("button", { onClick: () => $n.push("/refer/2") }, "/refer/2"),
|
|
2560
|
+
h("button", { onClick: () => $n.back() }, "Back"),
|
|
2561
|
+
h("button", { onClick: () => $n.forward() }, "Forward"),
|
|
2562
2562
|
h("hr", null),
|
|
2563
2563
|
h("sqm-router", { innerHTML: routes })));
|
|
2564
2564
|
});
|
|
2565
2565
|
const Styling = createHookStory(() => {
|
|
2566
2566
|
return (h("div", null,
|
|
2567
|
-
h("button", { onClick: () =>
|
|
2568
|
-
h("button", { onClick: () =>
|
|
2567
|
+
h("button", { onClick: () => $n.push("/") }, "/"),
|
|
2568
|
+
h("button", { onClick: () => $n.push("/foo") }, "/foo"),
|
|
2569
2569
|
h("hr", null),
|
|
2570
2570
|
h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2571
2571
|
h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2579,7 +2579,7 @@ function useTemplate(templateString) {
|
|
|
2579
2579
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
2580
2580
|
function setPath(e) {
|
|
2581
2581
|
//@ts-ignore
|
|
2582
|
-
|
|
2582
|
+
$n.push(e.target.value);
|
|
2583
2583
|
}
|
|
2584
2584
|
return {
|
|
2585
2585
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2743,8 +2743,8 @@ const FullStackFrame = () => {
|
|
|
2743
2743
|
"Current path:",
|
|
2744
2744
|
" ",
|
|
2745
2745
|
h("code", null,
|
|
2746
|
-
h("strong", null, (_a =
|
|
2747
|
-
h("button", { onClick:
|
|
2746
|
+
h("strong", null, (_a = Sn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2747
|
+
h("button", { onClick: $n.back }, "Go Back")));
|
|
2748
2748
|
};
|
|
2749
2749
|
const FullStackFrameLoggedOut = () => {
|
|
2750
2750
|
var _a;
|
|
@@ -2768,8 +2768,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2768
2768
|
"Current path:",
|
|
2769
2769
|
" ",
|
|
2770
2770
|
h("code", null,
|
|
2771
|
-
h("strong", null, (_a =
|
|
2772
|
-
h("button", { onClick:
|
|
2771
|
+
h("strong", null, (_a = Sn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2772
|
+
h("button", { onClick: $n.back }, "Go Back")));
|
|
2773
2773
|
};
|
|
2774
2774
|
|
|
2775
2775
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -3496,7 +3496,7 @@ function useExchangeButton() {
|
|
|
3496
3496
|
const { id, accountId } = setupGraphQL$6();
|
|
3497
3497
|
const [points, setPoints] = useState(10);
|
|
3498
3498
|
const [rate, setRate] = useState(100);
|
|
3499
|
-
const [exchange, { data, errors }] =
|
|
3499
|
+
const [exchange, { data, errors }] = Xe(EXCHANGE);
|
|
3500
3500
|
return {
|
|
3501
3501
|
states: {
|
|
3502
3502
|
points,
|
|
@@ -4097,16 +4097,16 @@ function DefaultTemplateView(props) {
|
|
|
4097
4097
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
4098
4098
|
gridGap: "10px",
|
|
4099
4099
|
} },
|
|
4100
|
-
h("button", { onClick: () =>
|
|
4101
|
-
props.leadSubmit && (h("button", { onClick: () =>
|
|
4102
|
-
h("button", { onClick: () =>
|
|
4103
|
-
h("button", { onClick: () =>
|
|
4104
|
-
h("button", { onClick: () =>
|
|
4105
|
-
h("button", { onClick: () =>
|
|
4106
|
-
h("button", { onClick: () =>
|
|
4107
|
-
h("button", { onClick: () =>
|
|
4108
|
-
h("button", { onClick: () =>
|
|
4109
|
-
h("button", { onClick: () =>
|
|
4100
|
+
h("button", { onClick: () => $n.push("/") }, "Dashboard"),
|
|
4101
|
+
props.leadSubmit && (h("button", { onClick: () => $n.push("/refer") }, "Submit a Referral")),
|
|
4102
|
+
h("button", { onClick: () => $n.push("/activity") }, "Activity"),
|
|
4103
|
+
h("button", { onClick: () => $n.push("/editProfile") }, "Edit Profile"),
|
|
4104
|
+
h("button", { onClick: () => $n.push("/login") }, "Login"),
|
|
4105
|
+
h("button", { onClick: () => $n.push("/register") }, "Register"),
|
|
4106
|
+
h("button", { onClick: () => $n.push("/emailVerification") }, "Email Verification"),
|
|
4107
|
+
h("button", { onClick: () => $n.push("/verifyEmail") }, "Verify Email"),
|
|
4108
|
+
h("button", { onClick: () => $n.push("/forgotPassword") }, "Forgot Password"),
|
|
4109
|
+
h("button", { onClick: () => $n.push("/resetPassword") }, "Reset Password")),
|
|
4110
4110
|
h("br", null),
|
|
4111
4111
|
h("div", { innerHTML: states.previewTemplate })));
|
|
4112
4112
|
}
|
|
@@ -8187,10 +8187,73 @@ const ChangePassword = /*#__PURE__*/Object.freeze({
|
|
|
8187
8187
|
Success: Success
|
|
8188
8188
|
});
|
|
8189
8189
|
|
|
8190
|
+
// import scenario from "./sqm-marketing-emails-checkbox.feature";
|
|
8191
|
+
const ChangeMarketing_stories = {
|
|
8192
|
+
title: "Components/Change Marketing Emails Status",
|
|
8193
|
+
};
|
|
8194
|
+
const defaultProps$9 = {
|
|
8195
|
+
states: {
|
|
8196
|
+
success: false,
|
|
8197
|
+
loading: false,
|
|
8198
|
+
submitDisabled: false,
|
|
8199
|
+
formState: {
|
|
8200
|
+
marketingEmailOptIn: false,
|
|
8201
|
+
errors: null,
|
|
8202
|
+
error: "",
|
|
8203
|
+
},
|
|
8204
|
+
user: {
|
|
8205
|
+
id: "zach",
|
|
8206
|
+
accountId: "zach",
|
|
8207
|
+
marketingEmailOptIn: false,
|
|
8208
|
+
},
|
|
8209
|
+
text: {
|
|
8210
|
+
emailPreferencesHeader: "Email preferences",
|
|
8211
|
+
marketingCheckboxLabel: "I want to receive marketing emails and promotions for this referral program from impact.com",
|
|
8212
|
+
submitChangeButtonText: "Save",
|
|
8213
|
+
successMessage: "Opt-in preference has been changed.",
|
|
8214
|
+
},
|
|
8215
|
+
},
|
|
8216
|
+
callbacks: {
|
|
8217
|
+
onSubmit: (props) => console.log(props),
|
|
8218
|
+
setChecked: (value) => console.log(value),
|
|
8219
|
+
},
|
|
8220
|
+
};
|
|
8221
|
+
const Default$a = () => {
|
|
8222
|
+
return h("sqm-portal-change-marketing", null);
|
|
8223
|
+
};
|
|
8224
|
+
const Loading$2 = () => {
|
|
8225
|
+
return (h(ChangeMarktingView, Object.assign({}, defaultProps$9, { states: { ...defaultProps$9.states, loading: true } })));
|
|
8226
|
+
};
|
|
8227
|
+
const Error$3 = () => {
|
|
8228
|
+
return (h(ChangeMarktingView, Object.assign({}, defaultProps$9, { states: {
|
|
8229
|
+
...defaultProps$9.states,
|
|
8230
|
+
formState: {
|
|
8231
|
+
...defaultProps$9.states.formState,
|
|
8232
|
+
errors: { error: true },
|
|
8233
|
+
error: "An error string",
|
|
8234
|
+
},
|
|
8235
|
+
} })));
|
|
8236
|
+
};
|
|
8237
|
+
const Success$1 = () => {
|
|
8238
|
+
return (h(ChangeMarktingView, Object.assign({}, defaultProps$9, { states: {
|
|
8239
|
+
...defaultProps$9.states,
|
|
8240
|
+
success: true,
|
|
8241
|
+
} })));
|
|
8242
|
+
};
|
|
8243
|
+
|
|
8244
|
+
const ChangeMarketing = /*#__PURE__*/Object.freeze({
|
|
8245
|
+
__proto__: null,
|
|
8246
|
+
'default': ChangeMarketing_stories,
|
|
8247
|
+
Default: Default$a,
|
|
8248
|
+
Loading: Loading$2,
|
|
8249
|
+
Error: Error$3,
|
|
8250
|
+
Success: Success$1
|
|
8251
|
+
});
|
|
8252
|
+
|
|
8190
8253
|
const PortalProfile_stories = {
|
|
8191
8254
|
title: "Components/Microsite Profile",
|
|
8192
8255
|
};
|
|
8193
|
-
const defaultProps$
|
|
8256
|
+
const defaultProps$a = {
|
|
8194
8257
|
states: {
|
|
8195
8258
|
success: false,
|
|
8196
8259
|
loading: false,
|
|
@@ -8406,22 +8469,22 @@ const successProps$4 = {
|
|
|
8406
8469
|
onChange: (e) => console.log(e),
|
|
8407
8470
|
},
|
|
8408
8471
|
};
|
|
8409
|
-
const Default$
|
|
8472
|
+
const Default$b = () => h(PortalProfileView, Object.assign({}, defaultProps$a));
|
|
8410
8473
|
const DefaultNoCountry = () => h(PortalProfileView, Object.assign({}, noCountry));
|
|
8411
|
-
const Loading$
|
|
8474
|
+
const Loading$3 = () => h(PortalProfileView, Object.assign({}, loadingProps$7));
|
|
8412
8475
|
const Disabled$1 = () => h(PortalProfileView, Object.assign({}, disabledProps));
|
|
8413
|
-
const Error$
|
|
8414
|
-
const Success$
|
|
8476
|
+
const Error$4 = () => h(PortalProfileView, Object.assign({}, errorProps$8));
|
|
8477
|
+
const Success$2 = () => h(PortalProfileView, Object.assign({}, successProps$4));
|
|
8415
8478
|
|
|
8416
8479
|
const PortalProfile = /*#__PURE__*/Object.freeze({
|
|
8417
8480
|
__proto__: null,
|
|
8418
8481
|
'default': PortalProfile_stories,
|
|
8419
|
-
Default: Default$
|
|
8482
|
+
Default: Default$b,
|
|
8420
8483
|
DefaultNoCountry: DefaultNoCountry,
|
|
8421
|
-
Loading: Loading$
|
|
8484
|
+
Loading: Loading$3,
|
|
8422
8485
|
Disabled: Disabled$1,
|
|
8423
|
-
Error: Error$
|
|
8424
|
-
Success: Success$
|
|
8486
|
+
Error: Error$4,
|
|
8487
|
+
Success: Success$2
|
|
8425
8488
|
});
|
|
8426
8489
|
|
|
8427
8490
|
const column = "@author:noah\n@owner:noah\nFeature: Referral Table User Column\n\n Shows the same custom content for each referral\n\n Background:\n Given the column in included in the referral table\n\n @motivating\n Scenario: The title of the date column is configurable\n Given the \"column-title\" prop is set to \"My column title\"\n Then the date column is shown with \"My column title\"\n\n @motivating\n Scenario: The same custom content is shown for each referral\n Given there is at least one referral\n Then for each referral custom content is shown\n And the custom content is provided as slot content";
|
|
@@ -10179,7 +10242,7 @@ const dashboardTemplate = "<sqm-portal-container direction=\"column\" padding=\"
|
|
|
10179
10242
|
|
|
10180
10243
|
const leadSubmitTemplate = "<sqm-referral-iframe></sqm-referral-iframe>\n";
|
|
10181
10244
|
|
|
10182
|
-
const editProfileTemplate = "<sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n></sqm-portal-protected-route>\n<sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n><sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-password></sqm-portal-change-password>\n</sqm-portal-container>\n";
|
|
10245
|
+
const editProfileTemplate = "<sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n></sqm-portal-protected-route>\n<sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n><sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-password></sqm-portal-change-password>\n</sqm-portal-container>\n<sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-marketing></sqm-portal-change-marketing>\n</sqm-portal-container>\n";
|
|
10183
10246
|
|
|
10184
10247
|
const activityTemplate = "<sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n></sqm-portal-protected-route>\n<sqm-portal-container direction=\"column\" padding=\"xxx-large\" gap=\"xxx-large\">\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space=\"xxxx-large\"\n ><sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsCountFiltered/AVAILABLE\"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/CENTS\"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title=\"Referred\"\n date-shown=\"dateReferralStarted\"\n ></sqm-referral-table-date-column> </sqm-referral-table\n></sqm-portal-container>\n";
|
|
10185
10248
|
|
|
@@ -10201,21 +10264,21 @@ const emailVerifiedTemplate = "<sqm-portal-verify-email></sqm-portal-verify-emai
|
|
|
10201
10264
|
|
|
10202
10265
|
const emailVerificationTemplate = "<sqm-portal-protected-route redirect-to=\"/login\"></sqm-portal-protected-route>\n<sqm-portal-email-verification></sqm-portal-email-verification>\n";
|
|
10203
10266
|
|
|
10204
|
-
const LoginReadme = "# sqm-portal-login\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
10267
|
+
const LoginReadme = "# sqm-portal-login\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; forgotPasswordPath: string; registerPath: string; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `forgotPasswordLabel` | `forgot-password-label` | | `string` | `\"Forgot Password?\"` |\n| `forgotPasswordPath` | `forgot-password-path` | Redirect participants to this page to reset their password | `string` | `\"/forgotPassword\"` |\n| `networkErrorMessage` | `network-error-message` | Displayed when the login fails due to a network error. The participant can try refreshing the page. | `string` | `\"An error occurred while logging you in. Please refresh the page and try again.\"` |\n| `nextPage` | `next-page` | Redirect participants to this page after they successfully login. | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Sign in to your account\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `registerLabel` | `register-label` | | `string` | `\"Register\"` |\n| `registerPath` | `register-path` | Redirect participants to this page to start registration. | `string` | `\"/register\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Sign In\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-login --> sqm-form-message\n sqm-stencilbook --> sqm-portal-login\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
10205
10268
|
|
|
10206
10269
|
const ReferralIframeReadme = "# sqm-referral-iframe\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\n| `iframeHeight` | `iframe-height` | Define the height of the iframe with any valid CSS height value. Example: 100px, 5rem, or auto. | `string` | `\"100%\"` |\n| `iframeSrc` | `iframe-src` | URL of iframe to display | `string` | `undefined` |\n| `iframeWidth` | `iframe-width` | Define the width of the iframe with any valid CSS width value. Example: 100px, 5rem, or auto. | `string` | `\"100%\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-stencilbook --> sqm-referral-iframe\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
10207
10270
|
|
|
10208
|
-
const ForgotPasswordReadme = "# sqm-portal-forgot-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
10271
|
+
const ForgotPasswordReadme = "# sqm-portal-forgot-password\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; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; successAlertText?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `headerText` | `header-text` | | `string` | `\"Enter your email below to receive a password reset link.\"` |\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\n| `loginText` | `login-text` | | `string` | `\"Sign In\"` |\n| `networkErrorMessage` | `network-error-message` | Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page. | `string` | `\"An error occurred while loading this page. Please refresh the page.\"` |\n| `redirectPath` | `redirect-path` | Redirect participants to this page after they verify their email. | `string` | `\"/resetPassword\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\n| `successAlertText` | `success-alert-text` | | `string` | `\"If an account with that email exists, a password reset email will be sent.\"` |\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-forgot-password --> sqm-form-message\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
10209
10272
|
|
|
10210
10273
|
const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------------ | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; registrationFormState: RegistrationFormState; disablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; requiredFieldErrorMessage: string; invalidEmailErrorMessage: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }` | `undefined` |\n| `disablePasswordValidation` | `disable-password-validation` | | `boolean` | `false` |\n| `doesNotMeetRequirementsText` | `does-not-meet-requirements-text` | | `string` | `\"Password must meet the following requirements:\"` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `hasErrorText` | `has-error-text` | | `string` | `\"contain at least 1 number or symbol\"` |\n| `hideInputs` | `hide-inputs` | Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes \"email\" and \"password\" for this form to succeed. | `boolean` | `false` |\n| `invalidEmailErrorMessage` | `invalid-email-error-message` | The message to be displayed when the email used is invalid or blocked. | `string` | `\"Must be a valid email address\"` |\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\n| `loginPath` | `login-path` | Redirect participants to this page after clicking the login button. | `string` | `\"/login\"` |\n| `lowercaseErrorText` | `lowercase-error-text` | | `string` | `\"contain at least 1 lowercase character\"` |\n| `meetsRequirementsText` | `meets-requirements-text` | | `string` | `\"Password has met all requirements\"` |\n| `minErrorText` | `min-error-text` | | `string` | `\"be a minimum of 8 characters\"` |\n| `networkErrorMessage` | `network-error-message` | The message to be displayed when a the form submission fails unexpectedly. | `string` | `\"Network request failed.\"` |\n| `nextPage` | `next-page` | Redirect participants to this page from their verification email | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `passwordMismatchErrorMessage` | `password-mismatch-error-message` | The message to be displayed when password inputs do not match. | `string` | `\"Passwords do not match.\"` |\n| `redirectPath` | `redirect-path` | The page that participants are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `requiredFieldErrorMessage` | `required-field-error-message` | The message to be displayed when a required field is not filled. | `string` | `\"Cannot be empty\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\n| `uppercaseErrorText` | `uppercase-error-text` | | `string` | `\"contain at least 1 uppercase character\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --> sqm-form-message\n sqm-portal-register --> sqm-password-field\n sqm-stencilbook --> sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
10211
10274
|
|
|
10212
10275
|
const EditProfileReadme = "# sqm-portal-profile\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------ | --------------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |\n| `countrytext` | `countrytext` | | `string` | `\"Country\"` |\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; submissionSuccessText?: string; fieldEmptyText?: string; }; }; }` | `undefined` |\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\n| `emailtext` | `emailtext` | | `string` | `\"Email\"` |\n| `fieldEmptyText` | `field-empty-text` | | `string` | `\"Field is required\"` |\n| `firstnametext` | `firstnametext` | | `string` | `\"First Name\"` |\n| `formErrorText` | `form-error-text` | | `string` | `\"Please correct the errors below to update your profile.\"` |\n| `hideCountry` | `hide-country` | | `boolean` | `false` |\n| `lastnametext` | `lastnametext` | | `string` | `\"Last Name\"` |\n| `networkRequestMessage` | `network-request-message` | | `string` | `\"An error occurred while loading this page. Please refresh the page.\"` |\n| `submissionSuccessText` | `submission-success-text` | | `string` | `\"Your profile has been successfully updated.\"` |\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\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-profile --> sqm-form-message\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
10213
10276
|
|
|
10214
|
-
const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ----------------------------- | --------------------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |\n| `codeInvalidText` | `code-invalid-text` | | `string` | `\"The password reset code is invalid or has expired, please try again.\"` |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `\"Confirm Password\"` |\n| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset. | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; resetSuccessText?: string; passwordMismatchText?: string; codeInvalidText?: string; }; }; }` | `undefined` |\n| `doesNotMeetRequirementsText` | `does-not-meet-requirements-text` | | `string` | `\"Password must meet the following requirements:\"` |\n| `failedPage` | `failed-page` | Redirect participants to this page if password reset fails due to an outdated reset attempt. | `string` | `\"/\"` |\n| `hasErrorText` | `has-error-text` | | `string` | `\"contain at least 1 number or symbol\"` |\n| `lowercaseErrorText` | `lowercase-error-text` | | `string` | `\"contain at least 1 lowercase character\"` |\n| `meetsRequirementsText` | `meets-requirements-text` | | `string` | `\"Password has met all requirements\"` |\n| `minErrorText` | `min-error-text` | | `string` | `\"be a minimum of 8 characters\"` |\n| `networkErrorMessage` | `network-error-message` | | `string` | `\"An error occurred while resetting your password. Please refresh the page and try again.\"` |\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully reset their password. | `string` | `\"/\"` |\n| `passwordFieldLabel` | `password-field-label` | | `string` | `\"New Password\"` |\n| `passwordMismatchText` | `password-mismatch-text` | | `string` | `\"Passwords do not match.\"` |\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset. | `string` | `\"Password reset\"` |\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `\"Reset Password\"` |\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `\"Reset your password\"` |\n| `resetSuccessText` | `reset-success-text` | | `string` | `\"Your password has been reset and you are being redirected. If you are not redirected, please click Continue.\"` |\n| `uppercaseErrorText` | `uppercase-error-text` | | `string` | `\"contain at least 1 uppercase character\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-reset-password --> sqm-form-message\n sqm-portal-reset-password --> sqm-password-field\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
10277
|
+
const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ----------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |\n| `codeInvalidText` | `code-invalid-text` | | `string` | `\"The password reset code is invalid or has expired, please try again.\"` |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `\"Confirm Password\"` |\n| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset. | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; resetSuccessText?: string; passwordMismatchText?: string; codeInvalidText?: string; }; }; }` | `undefined` |\n| `doesNotMeetRequirementsText` | `does-not-meet-requirements-text` | | `string` | `\"Password must meet the following requirements:\"` |\n| `failedPage` | `failed-page` | Redirect participants to this page if password reset fails due to an outdated reset attempt. | `string` | `\"/\"` |\n| `hasErrorText` | `has-error-text` | | `string` | `\"contain at least 1 number or symbol\"` |\n| `lowercaseErrorText` | `lowercase-error-text` | | `string` | `\"contain at least 1 lowercase character\"` |\n| `meetsRequirementsText` | `meets-requirements-text` | | `string` | `\"Password has met all requirements\"` |\n| `minErrorText` | `min-error-text` | | `string` | `\"be a minimum of 8 characters\"` |\n| `networkErrorMessage` | `network-error-message` | Displayed when the password reset fails due to a network error. The participant can try refreshing the page. | `string` | `\"An error occurred while resetting your password. Please refresh the page and try again.\"` |\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully reset their password. | `string` | `\"/\"` |\n| `passwordFieldLabel` | `password-field-label` | | `string` | `\"New Password\"` |\n| `passwordMismatchText` | `password-mismatch-text` | | `string` | `\"Passwords do not match.\"` |\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset. | `string` | `\"Password reset\"` |\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `\"Reset Password\"` |\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `\"Reset your password\"` |\n| `resetSuccessText` | `reset-success-text` | | `string` | `\"Your password has been reset and you are being redirected. If you are not redirected, please click Continue.\"` |\n| `uppercaseErrorText` | `uppercase-error-text` | | `string` | `\"contain at least 1 uppercase character\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-reset-password --> sqm-form-message\n sqm-portal-reset-password --> sqm-password-field\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
10215
10278
|
|
|
10216
|
-
const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
10279
|
+
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` | Displayed when your verification email fails to send due to a network error. The participant can try refreshing the page. | `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";
|
|
10217
10280
|
|
|
10218
|
-
const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
10281
|
+
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; }; 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` | Displayed when the email verification fails due to a network error. The participant can try refreshing the page. | `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";
|
|
10219
10282
|
|
|
10220
10283
|
const PortalTemplates_stories = {
|
|
10221
10284
|
title: "Templates / Microsite",
|
|
@@ -10376,7 +10439,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
|
|
|
10376
10439
|
const PoweredByImg_stories = {
|
|
10377
10440
|
title: "Powered By",
|
|
10378
10441
|
};
|
|
10379
|
-
const Default$
|
|
10442
|
+
const Default$c = () => {
|
|
10380
10443
|
return h(PoweredByImg$1, null);
|
|
10381
10444
|
};
|
|
10382
10445
|
const CustomColor = () => {
|
|
@@ -10389,7 +10452,7 @@ const CustomWidthAndHeight = () => {
|
|
|
10389
10452
|
const PoweredByImg = /*#__PURE__*/Object.freeze({
|
|
10390
10453
|
__proto__: null,
|
|
10391
10454
|
'default': PoweredByImg_stories,
|
|
10392
|
-
Default: Default$
|
|
10455
|
+
Default: Default$c,
|
|
10393
10456
|
CustomColor: CustomColor,
|
|
10394
10457
|
CustomWidthAndHeight: CustomWidthAndHeight
|
|
10395
10458
|
});
|
|
@@ -10402,7 +10465,7 @@ const PortalFooter_stories = {
|
|
|
10402
10465
|
scenario: scenario$f,
|
|
10403
10466
|
},
|
|
10404
10467
|
};
|
|
10405
|
-
const defaultProps$
|
|
10468
|
+
const defaultProps$b = {
|
|
10406
10469
|
supportEmail: "support@example.com",
|
|
10407
10470
|
supportText: "For program support, contact {email}",
|
|
10408
10471
|
hidePoweredBy: false,
|
|
@@ -10412,12 +10475,12 @@ const defaultProps$a = {
|
|
|
10412
10475
|
paddingBottom: "large",
|
|
10413
10476
|
paddingLeft: "large",
|
|
10414
10477
|
};
|
|
10415
|
-
const DefaultFooter = () => h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10416
|
-
const FooterWithTerms = () => (h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10417
|
-
const FooterWithFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10418
|
-
const FooterWithTermsAndFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10419
|
-
const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10420
|
-
const FooterNoSupportText = () => (h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10478
|
+
const DefaultFooter = () => h(PortalFooterView, Object.assign({}, defaultProps$b));
|
|
10479
|
+
const FooterWithTerms = () => (h(PortalFooterView, Object.assign({}, defaultProps$b, { termsLink: "https://example.com", termsText: "Terms and Conditions" })));
|
|
10480
|
+
const FooterWithFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$b, { faqLink: "https://example.com", faqText: "FAQ" })));
|
|
10481
|
+
const FooterWithTermsAndFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$b, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
|
|
10482
|
+
const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps$b, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hidePoweredBy: true })));
|
|
10483
|
+
const FooterNoSupportText = () => (h(PortalFooterView, Object.assign({}, defaultProps$b, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hideSupportText: true })));
|
|
10421
10484
|
|
|
10422
10485
|
const PortalFooter = /*#__PURE__*/Object.freeze({
|
|
10423
10486
|
__proto__: null,
|
|
@@ -10735,7 +10798,7 @@ const CheckboxField_stories = {
|
|
|
10735
10798
|
scenario: scenario$j,
|
|
10736
10799
|
},
|
|
10737
10800
|
};
|
|
10738
|
-
const defaultProps$
|
|
10801
|
+
const defaultProps$c = {
|
|
10739
10802
|
states: {
|
|
10740
10803
|
registrationFormState: {
|
|
10741
10804
|
validationErrors: {},
|
|
@@ -10743,7 +10806,7 @@ const defaultProps$b = {
|
|
|
10743
10806
|
checked: false,
|
|
10744
10807
|
},
|
|
10745
10808
|
content: {
|
|
10746
|
-
checkboxName: "
|
|
10809
|
+
checkboxName: "terms",
|
|
10747
10810
|
checkboxLabel: "By signing up you agree to the {labelLink}",
|
|
10748
10811
|
checkboxLabelLink: "https://example.com",
|
|
10749
10812
|
checkboxLabelLinkText: "Terms and Conditions",
|
|
@@ -10776,32 +10839,32 @@ const defaultRegisterProps = {
|
|
|
10776
10839
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
10777
10840
|
},
|
|
10778
10841
|
};
|
|
10779
|
-
const Default$
|
|
10780
|
-
const DefaultChecked = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$
|
|
10781
|
-
...defaultProps$
|
|
10842
|
+
const Default$d = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$c))));
|
|
10843
|
+
const DefaultChecked = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10844
|
+
...defaultProps$c.states,
|
|
10782
10845
|
checked: true,
|
|
10783
10846
|
} }))));
|
|
10784
|
-
const CustomLabel = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$
|
|
10785
|
-
...defaultProps$
|
|
10847
|
+
const CustomLabel = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$c, { content: {
|
|
10848
|
+
...defaultProps$c.content,
|
|
10786
10849
|
checkboxLabel: "I Agree",
|
|
10787
10850
|
} }))));
|
|
10788
|
-
const Error$
|
|
10789
|
-
...defaultProps$
|
|
10851
|
+
const Error$5 = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10852
|
+
...defaultProps$c.states,
|
|
10790
10853
|
registrationFormState: {
|
|
10791
10854
|
validationErrors: {
|
|
10792
10855
|
agree: "Must be checked",
|
|
10793
10856
|
},
|
|
10794
10857
|
},
|
|
10795
10858
|
} }))));
|
|
10796
|
-
const CustomError = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$
|
|
10797
|
-
...defaultProps$
|
|
10859
|
+
const CustomError = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10860
|
+
...defaultProps$c.states,
|
|
10798
10861
|
registrationFormState: {
|
|
10799
10862
|
validationErrors: {
|
|
10800
10863
|
agree: "Must be checked",
|
|
10801
10864
|
},
|
|
10802
10865
|
},
|
|
10803
10866
|
}, content: {
|
|
10804
|
-
...defaultProps$
|
|
10867
|
+
...defaultProps$c.content,
|
|
10805
10868
|
errorMessage: "This checkbox must be checked to continue",
|
|
10806
10869
|
} }))));
|
|
10807
10870
|
const TermsAndConditions$2 = createHookStory(() => (h(PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
@@ -10831,17 +10894,17 @@ const TermsAndConditionsLongCustomLabel = createHookStory(() => (h(PortalRegiste
|
|
|
10831
10894
|
const CheckboxField = /*#__PURE__*/Object.freeze({
|
|
10832
10895
|
__proto__: null,
|
|
10833
10896
|
'default': CheckboxField_stories,
|
|
10834
|
-
Default: Default$
|
|
10897
|
+
Default: Default$d,
|
|
10835
10898
|
DefaultChecked: DefaultChecked,
|
|
10836
10899
|
CustomLabel: CustomLabel,
|
|
10837
|
-
Error: Error$
|
|
10900
|
+
Error: Error$5,
|
|
10838
10901
|
CustomError: CustomError,
|
|
10839
10902
|
TermsAndConditions: TermsAndConditions$2,
|
|
10840
10903
|
TermsAndConditionsCustomLabel: TermsAndConditionsCustomLabel,
|
|
10841
10904
|
TermsAndConditionsLongCustomLabel: TermsAndConditionsLongCustomLabel
|
|
10842
10905
|
});
|
|
10843
10906
|
|
|
10844
|
-
const scenario$k = "@owner:zach\n@author:zach\nFeature: Marketing Emails Checkbox\n\n
|
|
10907
|
+
const scenario$k = "@owner:zach\n@author:zach\nFeature: Marketing Emails Checkbox\n\n A checkbox that is used to opt in for marketing emails.\n\n Background: The microsite registration form contains a marketing emails checkbox\n\n Scenario: The registration form can be configured to include a marketing emails checkbox\n Given a user is viewing the \"/register\"\n And \"/register\" contains the registration form\n And they have added a marketing emails checkbox to the form in the content editor\n Then the registration form has the following fields\n | fields |\n | first name |\n | last name |\n | email |\n | password |\n | Marketing Emails Checkbox |\n\n\n Scenario: The user can opt in to marketing emails\n Given the user is filling out the registration form\n And the fields have valid input\n And the marketing emails checkbox is checked\n When they try to register\n Then the form is submitted\n And there are no errors\n And the \"marketingEmailOptIn\" value is set to true\n And the user is opted in to marketing emails\n\n\n @motivating\n Scenario: Checkbox is optional by default\n Given the user is filling out the registration form\n And the name fields have valid input\n And the email field has valid input\n And the password field has valid input\n And the checkbox is not checked\n When they try to register\n Then the form is submitted\n And there is no error for the checkbox\n\n Scenario: The form field name is provided by default\n Given the customer has added a marketing emails checkbox to their registration form\n Then the field name is automatically set to \"marketingEmailOptIn\"\n And the name is not configurable";
|
|
10845
10908
|
|
|
10846
10909
|
const MarketingEmailsCheckbox_stories = {
|
|
10847
10910
|
title: "Components/Marketing Emails Checkbox",
|
|
@@ -10849,14 +10912,14 @@ const MarketingEmailsCheckbox_stories = {
|
|
|
10849
10912
|
scenario: scenario$k,
|
|
10850
10913
|
},
|
|
10851
10914
|
};
|
|
10852
|
-
const Default$
|
|
10915
|
+
const Default$e = () => {
|
|
10853
10916
|
return h("sqm-marketing-emails-checkbox", null);
|
|
10854
10917
|
};
|
|
10855
10918
|
|
|
10856
10919
|
const MarketingEmailsCheckbox = /*#__PURE__*/Object.freeze({
|
|
10857
10920
|
__proto__: null,
|
|
10858
10921
|
'default': MarketingEmailsCheckbox_stories,
|
|
10859
|
-
Default: Default$
|
|
10922
|
+
Default: Default$e
|
|
10860
10923
|
});
|
|
10861
10924
|
|
|
10862
10925
|
const UseCheckboxField_stories = {
|
|
@@ -10936,7 +10999,7 @@ const UseCheckboxField = /*#__PURE__*/Object.freeze({
|
|
|
10936
10999
|
const DropdownField_stories = {
|
|
10937
11000
|
title: "Components/Dropdown Field",
|
|
10938
11001
|
};
|
|
10939
|
-
const defaultProps$
|
|
11002
|
+
const defaultProps$d = {
|
|
10940
11003
|
states: {
|
|
10941
11004
|
registrationFormState: {},
|
|
10942
11005
|
},
|
|
@@ -10951,24 +11014,24 @@ const defaultProps$c = {
|
|
|
10951
11014
|
],
|
|
10952
11015
|
},
|
|
10953
11016
|
};
|
|
10954
|
-
const Default$
|
|
10955
|
-
const CustomLabel$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$
|
|
10956
|
-
...defaultProps$
|
|
11017
|
+
const Default$f = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$d))));
|
|
11018
|
+
const CustomLabel$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$d, { content: {
|
|
11019
|
+
...defaultProps$d.content,
|
|
10957
11020
|
dropdownLabel: "Pick your favorite",
|
|
10958
11021
|
} }))));
|
|
10959
|
-
const Error$
|
|
10960
|
-
...defaultProps$
|
|
11022
|
+
const Error$6 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$d, { states: {
|
|
11023
|
+
...defaultProps$d.states,
|
|
10961
11024
|
registrationFormState: {
|
|
10962
11025
|
validationErrors: {
|
|
10963
11026
|
options: "Must select an option",
|
|
10964
11027
|
},
|
|
10965
11028
|
},
|
|
10966
11029
|
} }))));
|
|
10967
|
-
const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$
|
|
10968
|
-
...defaultProps$
|
|
11030
|
+
const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$d, { content: {
|
|
11031
|
+
...defaultProps$d.content,
|
|
10969
11032
|
errorMessage: "An option must be selected to continue",
|
|
10970
11033
|
}, states: {
|
|
10971
|
-
...defaultProps$
|
|
11034
|
+
...defaultProps$d.states,
|
|
10972
11035
|
registrationFormState: {
|
|
10973
11036
|
validationErrors: {
|
|
10974
11037
|
options: "Must select an option",
|
|
@@ -10979,9 +11042,9 @@ const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign(
|
|
|
10979
11042
|
const DropdownField = /*#__PURE__*/Object.freeze({
|
|
10980
11043
|
__proto__: null,
|
|
10981
11044
|
'default': DropdownField_stories,
|
|
10982
|
-
Default: Default$
|
|
11045
|
+
Default: Default$f,
|
|
10983
11046
|
CustomLabel: CustomLabel$1,
|
|
10984
|
-
Error: Error$
|
|
11047
|
+
Error: Error$6,
|
|
10985
11048
|
CustomError: CustomError$1
|
|
10986
11049
|
});
|
|
10987
11050
|
|
|
@@ -11052,7 +11115,7 @@ const InputField_stories = {
|
|
|
11052
11115
|
scenario: scenario$l,
|
|
11053
11116
|
},
|
|
11054
11117
|
};
|
|
11055
|
-
const defaultProps$
|
|
11118
|
+
const defaultProps$e = {
|
|
11056
11119
|
states: {
|
|
11057
11120
|
registrationFormState: {
|
|
11058
11121
|
validationErrors: {},
|
|
@@ -11089,21 +11152,21 @@ const defaultRegisterProps$1 = {
|
|
|
11089
11152
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
11090
11153
|
},
|
|
11091
11154
|
};
|
|
11092
|
-
const Default$
|
|
11093
|
-
const CustomLabel$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$
|
|
11094
|
-
const Error$
|
|
11095
|
-
...defaultProps$
|
|
11155
|
+
const Default$g = () => h(InputFieldView, Object.assign({}, defaultProps$e));
|
|
11156
|
+
const CustomLabel$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$e, { content: { ...defaultProps$e.content, fieldLabel: "My Label" } })));
|
|
11157
|
+
const Error$7 = () => (h(InputFieldView, Object.assign({}, defaultProps$e, { states: {
|
|
11158
|
+
...defaultProps$e.states,
|
|
11096
11159
|
registrationFormState: {
|
|
11097
11160
|
validationErrors: {
|
|
11098
11161
|
field: "Cannot be empty",
|
|
11099
11162
|
},
|
|
11100
11163
|
},
|
|
11101
11164
|
} })));
|
|
11102
|
-
const CustomError$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$
|
|
11103
|
-
...defaultProps$
|
|
11165
|
+
const CustomError$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11166
|
+
...defaultProps$e.content,
|
|
11104
11167
|
errorMessage: "A value must be entered to continue",
|
|
11105
11168
|
}, states: {
|
|
11106
|
-
...defaultProps$
|
|
11169
|
+
...defaultProps$e.states,
|
|
11107
11170
|
registrationFormState: {
|
|
11108
11171
|
validationErrors: {
|
|
11109
11172
|
field: "Cannot be empty",
|
|
@@ -11111,27 +11174,27 @@ const CustomError$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$d,
|
|
|
11111
11174
|
},
|
|
11112
11175
|
} })));
|
|
11113
11176
|
const DateType = () => {
|
|
11114
|
-
return (h(InputFieldView, Object.assign({}, defaultProps$
|
|
11115
|
-
...defaultProps$
|
|
11177
|
+
return (h(InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11178
|
+
...defaultProps$e.content,
|
|
11116
11179
|
fieldLabel: "Date",
|
|
11117
11180
|
fieldType: "date",
|
|
11118
11181
|
} })));
|
|
11119
11182
|
};
|
|
11120
11183
|
const TelType = () => {
|
|
11121
|
-
return (h(InputFieldView, Object.assign({}, defaultProps$
|
|
11122
|
-
...defaultProps$
|
|
11184
|
+
return (h(InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11185
|
+
...defaultProps$e.content,
|
|
11123
11186
|
fieldLabel: "Phone Number",
|
|
11124
11187
|
fieldType: "tel",
|
|
11125
11188
|
} })));
|
|
11126
11189
|
};
|
|
11127
11190
|
const RegistrationField = () => (h(PortalRegisterView, Object.assign({}, defaultRegisterProps$1, { content: {
|
|
11128
11191
|
...defaultRegisterProps$1.content,
|
|
11129
|
-
formData: h(InputFieldView, Object.assign({}, defaultProps$
|
|
11192
|
+
formData: h(InputFieldView, Object.assign({}, defaultProps$e)),
|
|
11130
11193
|
} })));
|
|
11131
11194
|
const RegistrationFieldCustomLabel = () => (h(PortalRegisterView, Object.assign({}, defaultRegisterProps$1, { content: {
|
|
11132
11195
|
...defaultRegisterProps$1.content,
|
|
11133
|
-
formData: (h(InputFieldView, Object.assign({}, defaultProps$
|
|
11134
|
-
...defaultProps$
|
|
11196
|
+
formData: (h(InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11197
|
+
...defaultProps$e.content,
|
|
11135
11198
|
fieldLabel: "Data",
|
|
11136
11199
|
} }))),
|
|
11137
11200
|
} })));
|
|
@@ -11139,9 +11202,9 @@ const RegistrationFieldCustomLabel = () => (h(PortalRegisterView, Object.assign(
|
|
|
11139
11202
|
const InputField = /*#__PURE__*/Object.freeze({
|
|
11140
11203
|
__proto__: null,
|
|
11141
11204
|
'default': InputField_stories,
|
|
11142
|
-
Default: Default$
|
|
11205
|
+
Default: Default$g,
|
|
11143
11206
|
CustomLabel: CustomLabel$2,
|
|
11144
|
-
Error: Error$
|
|
11207
|
+
Error: Error$7,
|
|
11145
11208
|
CustomError: CustomError$2,
|
|
11146
11209
|
DateType: DateType,
|
|
11147
11210
|
TelType: TelType,
|
|
@@ -11261,7 +11324,7 @@ const RedemptionError = StoryBase(redemptionError);
|
|
|
11261
11324
|
const QueryError = StoryBase(queryError);
|
|
11262
11325
|
const SuccessPromo = StoryBase(success);
|
|
11263
11326
|
const SuccessVariableAndStepped = StoryBase(successVariable);
|
|
11264
|
-
const Loading$
|
|
11327
|
+
const Loading$4 = StoryBase(loading);
|
|
11265
11328
|
const Empty$2 = StoryBase(empty$1);
|
|
11266
11329
|
|
|
11267
11330
|
const RewardExchangeList = /*#__PURE__*/Object.freeze({
|
|
@@ -11283,7 +11346,7 @@ const RewardExchangeList = /*#__PURE__*/Object.freeze({
|
|
|
11283
11346
|
QueryError: QueryError,
|
|
11284
11347
|
SuccessPromo: SuccessPromo,
|
|
11285
11348
|
SuccessVariableAndStepped: SuccessVariableAndStepped,
|
|
11286
|
-
Loading: Loading$
|
|
11349
|
+
Loading: Loading$4,
|
|
11287
11350
|
Empty: Empty$2
|
|
11288
11351
|
});
|
|
11289
11352
|
|
|
@@ -13937,7 +14000,7 @@ const CopyButtonBelow$1 = () => {
|
|
|
13937
14000
|
buttonStyle: "button-below",
|
|
13938
14001
|
})));
|
|
13939
14002
|
};
|
|
13940
|
-
const Error$
|
|
14003
|
+
const Error$8 = () => {
|
|
13941
14004
|
const props = {
|
|
13942
14005
|
copyString: "https://noah.example.com",
|
|
13943
14006
|
disabled: true,
|
|
@@ -13958,7 +14021,7 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
13958
14021
|
CustomTooltipDuration: CustomTooltipDuration,
|
|
13959
14022
|
CopyButton: CopyButton$1,
|
|
13960
14023
|
CopyButtonBelow: CopyButtonBelow$1,
|
|
13961
|
-
Error: Error$
|
|
14024
|
+
Error: Error$8
|
|
13962
14025
|
});
|
|
13963
14026
|
|
|
13964
14027
|
// import scenario from "./ShareCode.feature";
|
|
@@ -13968,7 +14031,7 @@ const EmailRegistration_stories = {
|
|
|
13968
14031
|
// scenario,
|
|
13969
14032
|
},
|
|
13970
14033
|
};
|
|
13971
|
-
const defaultProps$
|
|
14034
|
+
const defaultProps$f = {
|
|
13972
14035
|
states: {
|
|
13973
14036
|
error: "",
|
|
13974
14037
|
loading: false,
|
|
@@ -13987,59 +14050,59 @@ const defaultProps$e = {
|
|
|
13987
14050
|
fraudErrorMessageTitle: "Looks like you tried referring yourself",
|
|
13988
14051
|
},
|
|
13989
14052
|
};
|
|
13990
|
-
const Default$
|
|
14053
|
+
const Default$h = () => h(EmailRegistrationView, Object.assign({}, defaultProps$f));
|
|
13991
14054
|
const HasFirstNameLastName = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
13992
|
-
...defaultProps$
|
|
14055
|
+
...defaultProps$f,
|
|
13993
14056
|
content: {
|
|
13994
|
-
...defaultProps$
|
|
14057
|
+
...defaultProps$f.content,
|
|
13995
14058
|
includeName: true,
|
|
13996
14059
|
},
|
|
13997
14060
|
})));
|
|
13998
14061
|
const WithSlots = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
13999
|
-
...defaultProps$
|
|
14062
|
+
...defaultProps$f,
|
|
14000
14063
|
content: {
|
|
14001
|
-
...defaultProps$
|
|
14064
|
+
...defaultProps$f.content,
|
|
14002
14065
|
topSlot: h("div", null, "Hello this is the top slot"),
|
|
14003
14066
|
bottomSlot: h("div", null, "Hello this is the bottom slot"),
|
|
14004
14067
|
},
|
|
14005
14068
|
})));
|
|
14006
14069
|
const NoBorder$1 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14007
|
-
...defaultProps$
|
|
14070
|
+
...defaultProps$f,
|
|
14008
14071
|
content: {
|
|
14009
|
-
...defaultProps$
|
|
14072
|
+
...defaultProps$f.content,
|
|
14010
14073
|
hideBorder: true,
|
|
14011
14074
|
},
|
|
14012
14075
|
})));
|
|
14013
14076
|
const BackgroundColor$2 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14014
|
-
...defaultProps$
|
|
14077
|
+
...defaultProps$f,
|
|
14015
14078
|
content: {
|
|
14016
|
-
...defaultProps$
|
|
14079
|
+
...defaultProps$f.content,
|
|
14017
14080
|
backgroundColor: "aquamarine",
|
|
14018
14081
|
},
|
|
14019
14082
|
})));
|
|
14020
|
-
const Loading$
|
|
14021
|
-
...defaultProps$
|
|
14083
|
+
const Loading$5 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14084
|
+
...defaultProps$f,
|
|
14022
14085
|
states: {
|
|
14023
14086
|
error: "",
|
|
14024
14087
|
loading: true,
|
|
14025
14088
|
},
|
|
14026
14089
|
})));
|
|
14027
|
-
const Error$
|
|
14028
|
-
...defaultProps$
|
|
14090
|
+
const Error$9 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14091
|
+
...defaultProps$f,
|
|
14029
14092
|
states: {
|
|
14030
14093
|
error: "Something went wrong. Please try again.",
|
|
14031
14094
|
loading: false,
|
|
14032
14095
|
},
|
|
14033
14096
|
})));
|
|
14034
14097
|
const FraudError = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14035
|
-
...defaultProps$
|
|
14098
|
+
...defaultProps$f,
|
|
14036
14099
|
states: {
|
|
14037
14100
|
error: "FRAUD",
|
|
14038
14101
|
loading: false,
|
|
14039
14102
|
},
|
|
14040
14103
|
})));
|
|
14041
14104
|
const EmptyEmailError = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14042
|
-
...defaultProps$
|
|
14105
|
+
...defaultProps$f,
|
|
14043
14106
|
states: {
|
|
14044
14107
|
error: "Something went wrong. Please try again.",
|
|
14045
14108
|
loading: false,
|
|
@@ -14052,13 +14115,13 @@ const EmptyEmailError = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
|
14052
14115
|
const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
14053
14116
|
__proto__: null,
|
|
14054
14117
|
'default': EmailRegistration_stories,
|
|
14055
|
-
Default: Default$
|
|
14118
|
+
Default: Default$h,
|
|
14056
14119
|
HasFirstNameLastName: HasFirstNameLastName,
|
|
14057
14120
|
WithSlots: WithSlots,
|
|
14058
14121
|
NoBorder: NoBorder$1,
|
|
14059
14122
|
BackgroundColor: BackgroundColor$2,
|
|
14060
|
-
Loading: Loading$
|
|
14061
|
-
Error: Error$
|
|
14123
|
+
Loading: Loading$5,
|
|
14124
|
+
Error: Error$9,
|
|
14062
14125
|
FraudError: FraudError,
|
|
14063
14126
|
EmptyEmailError: EmptyEmailError
|
|
14064
14127
|
});
|
|
@@ -14071,7 +14134,7 @@ const CouponCode_stories = {
|
|
|
14071
14134
|
scenario: scenario$B,
|
|
14072
14135
|
},
|
|
14073
14136
|
};
|
|
14074
|
-
const defaultProps$
|
|
14137
|
+
const defaultProps$g = {
|
|
14075
14138
|
tooltiptext: "Copied to Clipboard",
|
|
14076
14139
|
copyString: "THANKSJANE125uv125",
|
|
14077
14140
|
open: false,
|
|
@@ -14096,43 +14159,43 @@ const TextAlignRight$2 = () => {
|
|
|
14096
14159
|
return h("sqm-coupon-code", { textAlign: "right" });
|
|
14097
14160
|
};
|
|
14098
14161
|
const CopyButton$2 = () => {
|
|
14099
|
-
return (h("sqm-coupon-code", Object.assign({}, defaultProps$
|
|
14162
|
+
return (h("sqm-coupon-code", Object.assign({}, defaultProps$g, { buttonStyle: "button-outside" })));
|
|
14100
14163
|
};
|
|
14101
14164
|
const CopyButtonCustomLabel = () => {
|
|
14102
|
-
return (h("sqm-coupon-code", Object.assign({}, defaultProps$
|
|
14165
|
+
return (h("sqm-coupon-code", Object.assign({}, defaultProps$g, { buttonStyle: "button-outside", "copy-button-label": "test long custom label" })));
|
|
14103
14166
|
};
|
|
14104
14167
|
const CopyButtonBelow$2 = () => {
|
|
14105
|
-
return (h("sqm-coupon-code", Object.assign({}, defaultProps$
|
|
14168
|
+
return (h("sqm-coupon-code", Object.assign({}, defaultProps$g, { buttonStyle: "button-below" })));
|
|
14106
14169
|
};
|
|
14107
14170
|
const CopyButtonBelowCustomLabel = () => {
|
|
14108
|
-
return (h("sqm-coupon-code", Object.assign({}, defaultProps$
|
|
14171
|
+
return (h("sqm-coupon-code", Object.assign({}, defaultProps$g, { buttonStyle: "button-below", "copy-button-label": "test long custom label" })));
|
|
14109
14172
|
};
|
|
14110
|
-
const Loading$
|
|
14111
|
-
return h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14173
|
+
const Loading$6 = () => {
|
|
14174
|
+
return h(CouponCodeView, Object.assign({}, defaultProps$g, { loading: true }));
|
|
14112
14175
|
};
|
|
14113
14176
|
const CopyButtonLoading = () => {
|
|
14114
|
-
return (h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14177
|
+
return (h(CouponCodeView, Object.assign({}, defaultProps$g, { buttonStyle: "button-outside", loading: true })));
|
|
14115
14178
|
};
|
|
14116
14179
|
const CopyButtonBelowLoading = () => {
|
|
14117
|
-
return (h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14180
|
+
return (h(CouponCodeView, Object.assign({}, defaultProps$g, { buttonStyle: "button-below", loading: true })));
|
|
14118
14181
|
};
|
|
14119
14182
|
const ErrorGeneric = () => {
|
|
14120
|
-
return (h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14183
|
+
return (h(CouponCodeView, Object.assign({}, defaultProps$g, { errorType: "warning", error: true, errorText: "We couldn't fetch your code. Please try again later or reach out to the Support team for help resolving this issue." })));
|
|
14121
14184
|
};
|
|
14122
14185
|
const ErrorPending = () => {
|
|
14123
|
-
return (h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14186
|
+
return (h(CouponCodeView, Object.assign({}, defaultProps$g, { errorType: "info", error: true, errorText: "Your code will be available on April 24, 2023. Mark your calendar and come back then to redeem your reward!" })));
|
|
14124
14187
|
};
|
|
14125
14188
|
const ErrorFullfillment = () => {
|
|
14126
|
-
return (h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14189
|
+
return (h(CouponCodeView, Object.assign({}, defaultProps$g, { errorType: "warning", error: true, errorText: "We couldn't fetch your code. Please try again later or reach out to the Support team for help resolving this issue." })));
|
|
14127
14190
|
};
|
|
14128
14191
|
const ErrorCancelled = () => {
|
|
14129
|
-
return (h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14192
|
+
return (h(CouponCodeView, Object.assign({}, defaultProps$g, { errorType: "warning", error: true, errorText: "This code has been cancelled. Please reach out to the Support team for help resolving this issue." })));
|
|
14130
14193
|
};
|
|
14131
14194
|
const ErrorExpired = () => {
|
|
14132
|
-
return (h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14195
|
+
return (h(CouponCodeView, Object.assign({}, defaultProps$g, { errorType: "warning", error: true, errorText: "Looks like this code has expired. Please reach out to the Support team for help resolving this issue." })));
|
|
14133
14196
|
};
|
|
14134
14197
|
const ErrorRedeemed = () => {
|
|
14135
|
-
return (h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14198
|
+
return (h(CouponCodeView, Object.assign({}, defaultProps$g, { errorType: "success", error: true, errorText: "Looks like you\u2019ve already redeemed this code." })));
|
|
14136
14199
|
};
|
|
14137
14200
|
|
|
14138
14201
|
const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -14147,7 +14210,7 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14147
14210
|
CopyButtonCustomLabel: CopyButtonCustomLabel,
|
|
14148
14211
|
CopyButtonBelow: CopyButtonBelow$2,
|
|
14149
14212
|
CopyButtonBelowCustomLabel: CopyButtonBelowCustomLabel,
|
|
14150
|
-
Loading: Loading$
|
|
14213
|
+
Loading: Loading$6,
|
|
14151
14214
|
CopyButtonLoading: CopyButtonLoading,
|
|
14152
14215
|
CopyButtonBelowLoading: CopyButtonBelowLoading,
|
|
14153
14216
|
ErrorGeneric: ErrorGeneric,
|
|
@@ -14166,21 +14229,21 @@ const LogoutCurrentUser_stories = {
|
|
|
14166
14229
|
scenario: scenario$C,
|
|
14167
14230
|
},
|
|
14168
14231
|
};
|
|
14169
|
-
const defaultProps$
|
|
14232
|
+
const defaultProps$h = {
|
|
14170
14233
|
filledInEmailText: "Currently showing referral data for noah.clarke@saasquatch.com",
|
|
14171
14234
|
onSwitchClick: () => console.log("clicked"),
|
|
14172
14235
|
switchUserText: "not you?",
|
|
14173
14236
|
loading: false,
|
|
14174
14237
|
emailErrorText: "Error fetching email",
|
|
14175
14238
|
};
|
|
14176
|
-
const Default$
|
|
14177
|
-
return h(LogoutCurrentUserView, Object.assign({}, defaultProps$
|
|
14239
|
+
const Default$i = () => {
|
|
14240
|
+
return h(LogoutCurrentUserView, Object.assign({}, defaultProps$h));
|
|
14178
14241
|
};
|
|
14179
14242
|
|
|
14180
14243
|
const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
|
|
14181
14244
|
__proto__: null,
|
|
14182
14245
|
'default': LogoutCurrentUser_stories,
|
|
14183
|
-
Default: Default$
|
|
14246
|
+
Default: Default$i
|
|
14184
14247
|
});
|
|
14185
14248
|
|
|
14186
14249
|
const scenario$D = "@author:noah\n@owner:noah\n\nFeature: Link Button\n\n\t@ui\n\tScenario: Links can be opened in the same tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in the same tab\n\t\tAnd if the component is in an iFrame then the link is opened in the parent window not the iFrame\n\n\t@ui\n\tScenario: Links can be opened in a new tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in a new tab\n\t\tAnd if the component is in an iFrame then the link is still opened in a new tab\n\n\n\t@ui\n\tScenario: Props control the link and button text\n\t\tGiven the \"link\" prop is set to \"https://www.example.com\"\n\t\tAnd the \"buttonText\" prop is set to \"Click me!\"\n\t\tThen a button is shown with the text \"Click me!\"\n\t\tAnd when clicked the button opens https://www.example.com\n\n\t@ui\n\tScenario Outline: The button type can be set\n\t\tGiven the button type is set to <value>\n\t\tThen a <buttonType> is shown\n\t\tExamples:\n\t\t\t| value | buttonType |\n\t\t\t| <null> | primary |\n\t\t\t| default | default |\n\t\t\t| primary | primary |\n\t\t\t| success | success |\n\t\t\t| neutral | neutral |\n\t\t\t| warning | warning |\n\t\t\t| danger | danger |";
|
|
@@ -14191,22 +14254,22 @@ const LinkButton_stories = {
|
|
|
14191
14254
|
scenario: scenario$D,
|
|
14192
14255
|
},
|
|
14193
14256
|
};
|
|
14194
|
-
const defaultProps$
|
|
14257
|
+
const defaultProps$i = {
|
|
14195
14258
|
link: "https://example.com",
|
|
14196
14259
|
openInNewTab: false,
|
|
14197
14260
|
buttonText: "Button Text",
|
|
14198
14261
|
};
|
|
14199
|
-
const Default$
|
|
14200
|
-
return h("sqm-link-button", Object.assign({}, defaultProps$
|
|
14262
|
+
const Default$j = () => {
|
|
14263
|
+
return h("sqm-link-button", Object.assign({}, defaultProps$i));
|
|
14201
14264
|
};
|
|
14202
14265
|
const OpenInNewTab = () => {
|
|
14203
|
-
return (h("sqm-link-button", Object.assign({}, { ...defaultProps$
|
|
14266
|
+
return (h("sqm-link-button", Object.assign({}, { ...defaultProps$i, openInNewTab: true })));
|
|
14204
14267
|
};
|
|
14205
14268
|
|
|
14206
14269
|
const LinkButton = /*#__PURE__*/Object.freeze({
|
|
14207
14270
|
__proto__: null,
|
|
14208
14271
|
'default': LinkButton_stories,
|
|
14209
|
-
Default: Default$
|
|
14272
|
+
Default: Default$j,
|
|
14210
14273
|
OpenInNewTab: OpenInNewTab
|
|
14211
14274
|
});
|
|
14212
14275
|
|
|
@@ -14216,7 +14279,7 @@ const CloseButton_stories = {
|
|
|
14216
14279
|
// scenario,
|
|
14217
14280
|
},
|
|
14218
14281
|
};
|
|
14219
|
-
const defaultProps$
|
|
14282
|
+
const defaultProps$j = {};
|
|
14220
14283
|
const containerStyles = {
|
|
14221
14284
|
position: "relative",
|
|
14222
14285
|
width: "500px",
|
|
@@ -14224,22 +14287,22 @@ const containerStyles = {
|
|
|
14224
14287
|
border: "1px solid black",
|
|
14225
14288
|
padding: "25px",
|
|
14226
14289
|
};
|
|
14227
|
-
const Default$
|
|
14228
|
-
return h(CloseButtonView, Object.assign({}, defaultProps$
|
|
14290
|
+
const Default$k = () => {
|
|
14291
|
+
return h(CloseButtonView, Object.assign({}, defaultProps$j));
|
|
14229
14292
|
};
|
|
14230
14293
|
const InAContainer = () => {
|
|
14231
14294
|
return (h("div", { style: containerStyles },
|
|
14232
|
-
h(CloseButtonView, Object.assign({}, defaultProps$
|
|
14295
|
+
h(CloseButtonView, Object.assign({}, defaultProps$j))));
|
|
14233
14296
|
};
|
|
14234
14297
|
const CustomColor$1 = () => {
|
|
14235
14298
|
return (h("div", { style: containerStyles },
|
|
14236
|
-
h(CloseButtonView, Object.assign({}, { ...defaultProps$
|
|
14299
|
+
h(CloseButtonView, Object.assign({}, { ...defaultProps$j, color: "blue" }))));
|
|
14237
14300
|
};
|
|
14238
14301
|
|
|
14239
14302
|
const CloseButton = /*#__PURE__*/Object.freeze({
|
|
14240
14303
|
__proto__: null,
|
|
14241
14304
|
'default': CloseButton_stories,
|
|
14242
|
-
Default: Default$
|
|
14305
|
+
Default: Default$k,
|
|
14243
14306
|
InAContainer: InAContainer,
|
|
14244
14307
|
CustomColor: CustomColor$1
|
|
14245
14308
|
});
|
|
@@ -14429,17 +14492,17 @@ const RadioCardView = ({ title, icon, description, selected, }) => {
|
|
|
14429
14492
|
const RadioCard_stories = {
|
|
14430
14493
|
title: "Components/Radio Card",
|
|
14431
14494
|
};
|
|
14432
|
-
const defaultProps$
|
|
14495
|
+
const defaultProps$k = {
|
|
14433
14496
|
selected: false,
|
|
14434
14497
|
title: "Card Title",
|
|
14435
14498
|
description: "Description text goes here",
|
|
14436
14499
|
icon: "apple",
|
|
14437
14500
|
};
|
|
14438
14501
|
const DefaultView$1 = () => {
|
|
14439
|
-
return h(RadioCardView, Object.assign({}, defaultProps$
|
|
14502
|
+
return h(RadioCardView, Object.assign({}, defaultProps$k));
|
|
14440
14503
|
};
|
|
14441
14504
|
const Selected = () => {
|
|
14442
|
-
return h(RadioCardView, Object.assign({}, defaultProps$
|
|
14505
|
+
return h(RadioCardView, Object.assign({}, defaultProps$k, { selected: true }));
|
|
14443
14506
|
};
|
|
14444
14507
|
|
|
14445
14508
|
const RadioCard = /*#__PURE__*/Object.freeze({
|
|
@@ -14452,13 +14515,13 @@ const RadioCard = /*#__PURE__*/Object.freeze({
|
|
|
14452
14515
|
const ProgressBar_stories = {
|
|
14453
14516
|
title: "Components/Progress Bar",
|
|
14454
14517
|
};
|
|
14455
|
-
const defaultProps$
|
|
14518
|
+
const defaultProps$l = {
|
|
14456
14519
|
progress: 2,
|
|
14457
14520
|
goal: 4,
|
|
14458
14521
|
steps: true,
|
|
14459
14522
|
};
|
|
14460
14523
|
const TaxAndPayoutsProgressBar = () => {
|
|
14461
|
-
return h(ProgressBar$2, Object.assign({}, defaultProps$
|
|
14524
|
+
return h(ProgressBar$2, Object.assign({}, defaultProps$l, { stageCount: 4, currentStage: 2 }));
|
|
14462
14525
|
};
|
|
14463
14526
|
|
|
14464
14527
|
const ProgressBar$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -14470,14 +14533,14 @@ const ProgressBar$1 = /*#__PURE__*/Object.freeze({
|
|
|
14470
14533
|
const PayoutDetailsCard_stories = {
|
|
14471
14534
|
title: "Components/Payout Details Card",
|
|
14472
14535
|
};
|
|
14473
|
-
const Loading$
|
|
14536
|
+
const Loading$7 = () => {
|
|
14474
14537
|
return (h("sqm-payout-details-card", { demoData: {
|
|
14475
14538
|
states: {
|
|
14476
14539
|
loading: true,
|
|
14477
14540
|
},
|
|
14478
14541
|
} }));
|
|
14479
14542
|
};
|
|
14480
|
-
const Error$
|
|
14543
|
+
const Error$a = () => {
|
|
14481
14544
|
return (h("sqm-payout-details-card", { demoData: {
|
|
14482
14545
|
states: {
|
|
14483
14546
|
error: true,
|
|
@@ -14517,8 +14580,8 @@ const PaypalPayout = () => {
|
|
|
14517
14580
|
const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
14518
14581
|
__proto__: null,
|
|
14519
14582
|
'default': PayoutDetailsCard_stories,
|
|
14520
|
-
Loading: Loading$
|
|
14521
|
-
Error: Error$
|
|
14583
|
+
Loading: Loading$7,
|
|
14584
|
+
Error: Error$a,
|
|
14522
14585
|
NextPayout: NextPayout,
|
|
14523
14586
|
PayoutToday: PayoutToday,
|
|
14524
14587
|
ThresholdPayout: ThresholdPayout,
|
|
@@ -15140,7 +15203,7 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
|
|
|
15140
15203
|
*
|
|
15141
15204
|
*/
|
|
15142
15205
|
//
|
|
15143
|
-
const Default$
|
|
15206
|
+
const Default$l = `
|
|
15144
15207
|
// No CSS
|
|
15145
15208
|
`;
|
|
15146
15209
|
const Orangey = `
|
|
@@ -15174,7 +15237,7 @@ const Klip = `
|
|
|
15174
15237
|
|
|
15175
15238
|
const Themes = /*#__PURE__*/Object.freeze({
|
|
15176
15239
|
__proto__: null,
|
|
15177
|
-
Default: Default$
|
|
15240
|
+
Default: Default$l,
|
|
15178
15241
|
Orangey: Orangey,
|
|
15179
15242
|
Netflix: Netflix,
|
|
15180
15243
|
SaaSquatchCorporate: SaaSquatchCorporate,
|
|
@@ -17853,6 +17916,7 @@ const stories = [
|
|
|
17853
17916
|
PayoutDetailsCard,
|
|
17854
17917
|
BankingInfoForm,
|
|
17855
17918
|
NewPortalRegistrationForm,
|
|
17919
|
+
ChangeMarketing,
|
|
17856
17920
|
];
|
|
17857
17921
|
const StencilStorybook = class {
|
|
17858
17922
|
constructor(hostRef) {
|