@saasquatch/mint-components 1.12.1-14 → 1.12.1-16
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-63b78308.js → ShadowViewAddon-9aee7df5.js} +195 -90
- package/dist/cjs/{global-02e50f09.js → global-41c0a650.js} +1 -1
- package/dist/cjs/{index.module-df530553.js → index.module-d8342710.js} +12 -10
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-1976e05e.js → re-render-dd8d65bf.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +51 -51
- package/dist/cjs/{sqm-big-stat_39.cjs.entry.js → sqm-big-stat_40.cjs.entry.js} +220 -43
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-41a0b707.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-5f7886d6.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-292b5bf4.js → sqm-portal-email-verification-view-56fabc90.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-7c9c60a6.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- 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 +8 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +235 -172
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-57e11069.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-14ccf9d4.js} +3 -3
- package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-ef36b29e.js} +7 -7
- package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-7d608337.js} +1 -1
- package/dist/cjs/{utilities-cec9dd36.js → utilities-7df0fdad.js} +1 -1
- 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 +5 -4
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +5 -5
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/esm/{ShadowViewAddon-272f75a5.js → ShadowViewAddon-cadd38e4.js} +194 -91
- package/dist/esm/{global-62554cef.js → global-c1e70cb2.js} +1 -1
- package/dist/esm/{index.module-48f73e70.js → index.module-3344e7dc.js} +4 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-cb4d43dc.js → re-render-29151677.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +51 -51
- package/dist/esm/{sqm-big-stat_39.entry.js → sqm-big-stat_40.entry.js} +218 -42
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-41a14ca6.js → sqm-invoice-table-view-eb4b3f63.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-af40eedb.js → sqm-navigation-sidebar-item-view-08e47843.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-460bac1b.js → sqm-portal-email-verification-view-52a45f66.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-4caa9f28.js → sqm-portal-profile-view-4810da8a.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-registration-form.entry.js +6 -6
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- 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 +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +235 -172
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-a6b895dd.js → useChildElements-cc98d6c4.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-46a98499.js → useInstantAccessRegistration-e95685e5.js} +3 -3
- package/dist/esm/{useReferralTable-6e8350db.js → useReferralTable-f1ffc72e.js} +7 -7
- package/dist/esm/{useRegistrationFormState-de6b208e.js → useRegistrationFormState-4151cec4.js} +1 -1
- package/dist/esm/{utilities-e8022681.js → utilities-4d60af2c.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-cadd38e4.js +1 -0
- package/dist/esm-es5/{global-62554cef.js → global-c1e70cb2.js} +1 -1
- package/dist/esm-es5/index.module-3344e7dc.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-cb4d43dc.js → re-render-29151677.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-41a14ca6.js → sqm-invoice-table-view-eb4b3f63.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-af40eedb.js → sqm-navigation-sidebar-item-view-08e47843.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-460bac1b.js → sqm-portal-email-verification-view-52a45f66.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-4caa9f28.js → sqm-portal-profile-view-4810da8a.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-a6b895dd.js → useChildElements-cc98d6c4.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-46a98499.js → useInstantAccessRegistration-e95685e5.js} +1 -1
- package/dist/esm-es5/{useReferralTable-6e8350db.js → useReferralTable-f1ffc72e.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-de6b208e.js → useRegistrationFormState-4151cec4.js} +1 -1
- package/dist/esm-es5/{utilities-e8022681.js → utilities-4d60af2c.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-bd6d9d54.system.entry.js → p-00aa314d.system.entry.js} +1 -1
- package/dist/mint-components/{p-bda832b2.js → p-051dd2a0.js} +2 -2
- package/dist/mint-components/{p-3fefb1f4.entry.js → p-063f4458.entry.js} +32 -15
- package/dist/mint-components/p-06ab1968.js +1 -0
- package/dist/mint-components/p-0afb7d5d.system.js +1 -0
- package/dist/mint-components/{p-f99765fe.system.entry.js → p-0c06a6f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-9bb9a767.system.js → p-0f65c86c.system.js} +1 -1
- package/dist/mint-components/{p-9982db11.entry.js → p-1064099e.entry.js} +1 -1
- package/dist/mint-components/{p-83df7db2.system.entry.js → p-17c59360.system.entry.js} +1 -1
- package/dist/mint-components/p-186542b8.system.js +1 -0
- package/dist/mint-components/{p-0f30148d.system.entry.js → p-19c94256.system.entry.js} +1 -1
- package/dist/mint-components/p-1ba5157e.js +1 -0
- package/dist/mint-components/{p-68160d49.system.entry.js → p-1ca1ca86.system.entry.js} +1 -1
- package/dist/mint-components/p-2037fbd3.js +1 -0
- package/dist/mint-components/{p-94324315.system.entry.js → p-284cc389.system.entry.js} +1 -1
- package/dist/mint-components/{p-23112de2.entry.js → p-29a80f6e.entry.js} +1 -1
- package/dist/mint-components/p-2b85b9d2.entry.js +1 -0
- package/dist/mint-components/p-30909368.entry.js +1 -0
- package/dist/mint-components/{p-5f20200a.entry.js → p-36332fc7.entry.js} +1 -1
- package/dist/mint-components/p-3d6eac77.js +1 -0
- package/dist/mint-components/p-3e87d803.entry.js +1 -0
- package/dist/mint-components/{p-30797093.system.entry.js → p-3edd4ea8.system.entry.js} +1 -1
- package/dist/mint-components/{p-13976be9.system.entry.js → p-40ad6540.system.entry.js} +1 -1
- package/dist/mint-components/{p-5de3473d.entry.js → p-42baa318.entry.js} +1 -1
- package/dist/mint-components/{p-2a2d4343.system.js → p-45b1b2be.system.js} +1 -1
- package/dist/mint-components/p-46af0bf6.system.js +1 -0
- package/dist/mint-components/{p-902770d7.entry.js → p-4893f186.entry.js} +1 -1
- package/dist/mint-components/{p-b169229a.entry.js → p-4c6c314b.entry.js} +1 -1
- package/dist/mint-components/{p-0068067d.entry.js → p-4e582dd8.entry.js} +1 -1
- package/dist/mint-components/p-50135af6.entry.js +1 -0
- package/dist/mint-components/{p-7726e4ea.system.entry.js → p-5bdf586c.system.entry.js} +1 -1
- package/dist/mint-components/p-5d86d0b4.entry.js +1 -0
- package/dist/mint-components/{p-92b08cb2.system.entry.js → p-63b5126d.system.entry.js} +1 -1
- package/dist/mint-components/p-658d5964.system.entry.js +1 -0
- package/dist/mint-components/p-67a8b7ae.system.js +1 -0
- package/dist/mint-components/{p-9a520e94.entry.js → p-69a0a791.entry.js} +2 -2
- package/dist/mint-components/{p-498c4ffd.system.entry.js → p-6a4b1ec0.system.entry.js} +1 -1
- package/dist/mint-components/{p-59111d6c.entry.js → p-6c9eb87a.entry.js} +1 -1
- package/dist/mint-components/{p-44c3791a.system.entry.js → p-6e50122b.system.entry.js} +1 -1
- package/dist/mint-components/p-6fdf020e.entry.js +1 -0
- package/dist/mint-components/{p-64b25dd9.entry.js → p-7a33cd80.entry.js} +1 -1
- package/dist/mint-components/p-7c49ebfa.entry.js +1 -0
- package/dist/mint-components/{p-c89c890e.entry.js → p-85f3c5d5.entry.js} +2 -2
- package/dist/mint-components/{p-0f010c01.system.js → p-8833552d.system.js} +1 -1
- package/dist/mint-components/{p-74d012fc.entry.js → p-91c1a54d.entry.js} +1 -1
- package/dist/mint-components/{p-b348d95c.js → p-920641bf.js} +1 -1
- package/dist/mint-components/{p-018088cc.entry.js → p-924384b2.entry.js} +2 -2
- package/dist/mint-components/{p-1d803c85.js → p-9276151f.js} +1 -1
- package/dist/mint-components/{p-115edc43.system.entry.js → p-98072a24.system.entry.js} +1 -1
- package/dist/mint-components/{p-5da7c982.system.js → p-99b2ff9c.system.js} +1 -1
- package/dist/mint-components/p-9e62ac1f.system.entry.js +1 -0
- package/dist/mint-components/{p-66d09e59.system.js → p-a1b5a82c.system.js} +1 -1
- package/dist/mint-components/{p-57ea9c0b.system.js → p-a2bce8d7.system.js} +1 -1
- package/dist/mint-components/{p-98602fa9.js → p-a7161d9f.js} +1 -1
- package/dist/mint-components/{p-74609159.system.js → p-a8ebb87a.system.js} +1 -1
- package/dist/mint-components/{p-baca1c93.system.entry.js → p-a8ec5664.system.entry.js} +1 -1
- package/dist/mint-components/{p-52acd113.entry.js → p-ac1fb0c4.entry.js} +1 -1
- package/dist/mint-components/{p-2364eb2d.system.entry.js → p-ad8dbab8.system.entry.js} +1 -1
- package/dist/mint-components/p-ae72631b.entry.js +9 -0
- package/dist/mint-components/{p-1bb2fd65.system.entry.js → p-b6557eff.system.entry.js} +1 -1
- package/dist/mint-components/{p-804de0cf.system.entry.js → p-b758d962.system.entry.js} +1 -1
- package/dist/mint-components/{p-ce5057f7.system.js → p-b8fff589.system.js} +1 -1
- package/dist/mint-components/{p-d71ec46e.system.entry.js → p-b9cab58d.system.entry.js} +1 -1
- package/dist/mint-components/{p-1bdacfcb.entry.js → p-bb873ddd.entry.js} +1 -1
- package/dist/mint-components/{p-6f980faf.system.js → p-c588e9c1.system.js} +1 -1
- package/dist/mint-components/{p-512089bb.js → p-c810bcfc.js} +1 -1
- package/dist/mint-components/{p-778b55a5.entry.js → p-cb029418.entry.js} +1 -1
- package/dist/mint-components/{p-6aed684b.js → p-cbfc4b47.js} +1 -1
- package/dist/mint-components/{p-cefffd56.system.entry.js → p-cd326a35.system.entry.js} +1 -1
- package/dist/mint-components/{p-c98cd85a.system.entry.js → p-d1ebd4c9.system.entry.js} +1 -1
- package/dist/mint-components/{p-df2ada74.entry.js → p-d2389ef4.entry.js} +1 -1
- package/dist/mint-components/{p-215d9dce.system.entry.js → p-d5b327ec.system.entry.js} +1 -1
- package/dist/mint-components/{p-fc58dc2f.system.entry.js → p-db0d4d3a.system.entry.js} +1 -1
- package/dist/mint-components/{p-da1e21f2.js → p-e10b0628.js} +1 -1
- package/dist/mint-components/{p-275b2841.system.entry.js → p-e4d14213.system.entry.js} +1 -1
- package/dist/mint-components/{p-7ab32670.entry.js → p-ea2075fd.entry.js} +2 -2
- package/dist/mint-components/p-ea46d642.js +391 -0
- package/dist/mint-components/{p-c4719154.js → p-eb64a65f.js} +1 -1
- package/dist/mint-components/{p-099c59cc.system.entry.js → p-ebab1714.system.entry.js} +1 -1
- package/dist/mint-components/{p-b7324c0e.system.entry.js → p-f093ed85.system.entry.js} +1 -1
- package/dist/mint-components/{p-9aa177d6.system.entry.js → p-f58c7201.system.entry.js} +1 -1
- package/dist/mint-components/{p-1eb21821.system.js → p-f8d2c679.system.js} +1 -1
- package/dist/mint-components/{p-513f79fb.entry.js → p-fa160846.entry.js} +2 -2
- package/dist/mint-components/{p-3b08cc52.entry.js → p-fcf7f4c1.entry.js} +1 -1
- package/dist/mint-components/{p-670d441e.system.entry.js → p-fe163a23.system.entry.js} +1 -1
- 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 +2 -2
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +3 -3
- package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +2 -2
- package/dist/types/components.d.ts +4 -4
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-checkbox-field-view-e0a31f2a.js +0 -66
- package/dist/cjs/sqm-portal-change-marketing.cjs.entry.js +0 -236
- package/dist/esm/sqm-checkbox-field-view-0ef58cb3.js +0 -64
- package/dist/esm/sqm-portal-change-marketing.entry.js +0 -232
- package/dist/esm-es5/ShadowViewAddon-272f75a5.js +0 -1
- package/dist/esm-es5/index.module-48f73e70.js +0 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +0 -1
- package/dist/esm-es5/sqm-checkbox-field-view-0ef58cb3.js +0 -1
- package/dist/esm-es5/sqm-portal-change-marketing.entry.js +0 -1
- package/dist/mint-components/p-1514e0af.system.entry.js +0 -1
- package/dist/mint-components/p-175075e7.system.js +0 -1
- package/dist/mint-components/p-1e0f4667.entry.js +0 -9
- package/dist/mint-components/p-29023a9c.entry.js +0 -1
- package/dist/mint-components/p-30f84f8b.system.js +0 -1
- package/dist/mint-components/p-32642d34.js +0 -1
- package/dist/mint-components/p-481dedf2.system.js +0 -1
- package/dist/mint-components/p-48b07ec7.system.entry.js +0 -1
- package/dist/mint-components/p-4dcdf9b6.js +0 -1
- package/dist/mint-components/p-52553737.system.entry.js +0 -1
- package/dist/mint-components/p-5ab5131c.entry.js +0 -1
- package/dist/mint-components/p-711bb8da.entry.js +0 -1
- package/dist/mint-components/p-7eabcffc.js +0 -1
- package/dist/mint-components/p-8e3390b6.entry.js +0 -1
- package/dist/mint-components/p-9b4a99c4.js +0 -1
- package/dist/mint-components/p-a178a449.system.js +0 -1
- package/dist/mint-components/p-a6b36268.system.js +0 -1
- package/dist/mint-components/p-b07a88fd.js +0 -1
- package/dist/mint-components/p-b5b9f737.entry.js +0 -1
- package/dist/mint-components/p-b86003f6.entry.js +0 -1
- package/dist/mint-components/p-de0a29b2.js +0 -391
- package/dist/mint-components/p-e169497d.entry.js +0 -1
- package/dist/mint-components/p-f9067e53.entry.js +0 -18
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -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-c1e70cb2.js';
|
|
4
|
+
import { j as jn, k as kn, a as setUserIdentity, d as dist, X as Xe, f as setProgramId } from './index.module-3344e7dc.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-cc98d6c4.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,18 +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 {
|
|
22
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-460bac1b.js';
|
|
20
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-08e47843.js';
|
|
21
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-52a45f66.js';
|
|
23
22
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
|
|
24
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
25
|
-
import './utilities-
|
|
23
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-4810da8a.js';
|
|
24
|
+
import './utilities-4d60af2c.js';
|
|
26
25
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-1d3066e1.js';
|
|
27
26
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-79a85e02.js';
|
|
28
27
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
|
|
29
|
-
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-cadd38e4.js';
|
|
30
29
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
|
|
31
|
-
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-eb4b3f63.js';
|
|
32
31
|
|
|
33
32
|
/**
|
|
34
33
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -2537,36 +2536,36 @@ const routes = `
|
|
|
2537
2536
|
`;
|
|
2538
2537
|
const TemplateNavigation = createHookStory(() => {
|
|
2539
2538
|
return (h("div", null,
|
|
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: () =>
|
|
2548
|
-
h("button", { onClick: () =>
|
|
2539
|
+
h("button", { onClick: () => jn.push("/") }, "/"),
|
|
2540
|
+
h("button", { onClick: () => jn.push("/foo") }, "/foo"),
|
|
2541
|
+
h("button", { onClick: () => jn.push("/bar") }, "/bar"),
|
|
2542
|
+
h("button", { onClick: () => jn.push("/baz/bang") }, "/baz/bang"),
|
|
2543
|
+
h("button", { onClick: () => jn.push("/refer") }, "/refer"),
|
|
2544
|
+
h("button", { onClick: () => jn.push("/refer/1") }, "/refer/1"),
|
|
2545
|
+
h("button", { onClick: () => jn.push("/refer/2") }, "/refer/2"),
|
|
2546
|
+
h("button", { onClick: () => jn.back() }, "Back"),
|
|
2547
|
+
h("button", { onClick: () => jn.forward() }, "Forward"),
|
|
2549
2548
|
h("hr", null),
|
|
2550
2549
|
h("sqm-router", { innerHTML: templates })));
|
|
2551
2550
|
});
|
|
2552
2551
|
const RouteNavigation = createHookStory(() => {
|
|
2553
2552
|
return (h("div", null,
|
|
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: () =>
|
|
2562
|
-
h("button", { onClick: () =>
|
|
2553
|
+
h("button", { onClick: () => jn.push("/") }, "/"),
|
|
2554
|
+
h("button", { onClick: () => jn.push("/foo") }, "/foo"),
|
|
2555
|
+
h("button", { onClick: () => jn.push("/bar") }, "/bar"),
|
|
2556
|
+
h("button", { onClick: () => jn.push("/baz/bang") }, "/baz/bang"),
|
|
2557
|
+
h("button", { onClick: () => jn.push("/refer") }, "/refer"),
|
|
2558
|
+
h("button", { onClick: () => jn.push("/refer/1") }, "/refer/1"),
|
|
2559
|
+
h("button", { onClick: () => jn.push("/refer/2") }, "/refer/2"),
|
|
2560
|
+
h("button", { onClick: () => jn.back() }, "Back"),
|
|
2561
|
+
h("button", { onClick: () => jn.forward() }, "Forward"),
|
|
2563
2562
|
h("hr", null),
|
|
2564
2563
|
h("sqm-router", { innerHTML: routes })));
|
|
2565
2564
|
});
|
|
2566
2565
|
const Styling = createHookStory(() => {
|
|
2567
2566
|
return (h("div", null,
|
|
2568
|
-
h("button", { onClick: () =>
|
|
2569
|
-
h("button", { onClick: () =>
|
|
2567
|
+
h("button", { onClick: () => jn.push("/") }, "/"),
|
|
2568
|
+
h("button", { onClick: () => jn.push("/foo") }, "/foo"),
|
|
2570
2569
|
h("hr", null),
|
|
2571
2570
|
h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2572
2571
|
h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2580,7 +2579,7 @@ function useTemplate(templateString) {
|
|
|
2580
2579
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
2581
2580
|
function setPath(e) {
|
|
2582
2581
|
//@ts-ignore
|
|
2583
|
-
|
|
2582
|
+
jn.push(e.target.value);
|
|
2584
2583
|
}
|
|
2585
2584
|
return {
|
|
2586
2585
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2744,8 +2743,8 @@ const FullStackFrame = () => {
|
|
|
2744
2743
|
"Current path:",
|
|
2745
2744
|
" ",
|
|
2746
2745
|
h("code", null,
|
|
2747
|
-
h("strong", null, (_a =
|
|
2748
|
-
h("button", { onClick:
|
|
2746
|
+
h("strong", null, (_a = kn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2747
|
+
h("button", { onClick: jn.back }, "Go Back")));
|
|
2749
2748
|
};
|
|
2750
2749
|
const FullStackFrameLoggedOut = () => {
|
|
2751
2750
|
var _a;
|
|
@@ -2769,8 +2768,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2769
2768
|
"Current path:",
|
|
2770
2769
|
" ",
|
|
2771
2770
|
h("code", null,
|
|
2772
|
-
h("strong", null, (_a =
|
|
2773
|
-
h("button", { onClick:
|
|
2771
|
+
h("strong", null, (_a = kn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2772
|
+
h("button", { onClick: jn.back }, "Go Back")));
|
|
2774
2773
|
};
|
|
2775
2774
|
|
|
2776
2775
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -4098,16 +4097,16 @@ function DefaultTemplateView(props) {
|
|
|
4098
4097
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
4099
4098
|
gridGap: "10px",
|
|
4100
4099
|
} },
|
|
4101
|
-
h("button", { onClick: () =>
|
|
4102
|
-
props.leadSubmit && (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: () =>
|
|
4110
|
-
h("button", { onClick: () =>
|
|
4100
|
+
h("button", { onClick: () => jn.push("/") }, "Dashboard"),
|
|
4101
|
+
props.leadSubmit && (h("button", { onClick: () => jn.push("/refer") }, "Submit a Referral")),
|
|
4102
|
+
h("button", { onClick: () => jn.push("/activity") }, "Activity"),
|
|
4103
|
+
h("button", { onClick: () => jn.push("/editProfile") }, "Edit Profile"),
|
|
4104
|
+
h("button", { onClick: () => jn.push("/login") }, "Login"),
|
|
4105
|
+
h("button", { onClick: () => jn.push("/register") }, "Register"),
|
|
4106
|
+
h("button", { onClick: () => jn.push("/emailVerification") }, "Email Verification"),
|
|
4107
|
+
h("button", { onClick: () => jn.push("/verifyEmail") }, "Verify Email"),
|
|
4108
|
+
h("button", { onClick: () => jn.push("/forgotPassword") }, "Forgot Password"),
|
|
4109
|
+
h("button", { onClick: () => jn.push("/resetPassword") }, "Reset Password")),
|
|
4111
4110
|
h("br", null),
|
|
4112
4111
|
h("div", { innerHTML: states.previewTemplate })));
|
|
4113
4112
|
}
|
|
@@ -8188,10 +8187,73 @@ const ChangePassword = /*#__PURE__*/Object.freeze({
|
|
|
8188
8187
|
Success: Success
|
|
8189
8188
|
});
|
|
8190
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
|
+
|
|
8191
8253
|
const PortalProfile_stories = {
|
|
8192
8254
|
title: "Components/Microsite Profile",
|
|
8193
8255
|
};
|
|
8194
|
-
const defaultProps$
|
|
8256
|
+
const defaultProps$a = {
|
|
8195
8257
|
states: {
|
|
8196
8258
|
success: false,
|
|
8197
8259
|
loading: false,
|
|
@@ -8407,22 +8469,22 @@ const successProps$4 = {
|
|
|
8407
8469
|
onChange: (e) => console.log(e),
|
|
8408
8470
|
},
|
|
8409
8471
|
};
|
|
8410
|
-
const Default$
|
|
8472
|
+
const Default$b = () => h(PortalProfileView, Object.assign({}, defaultProps$a));
|
|
8411
8473
|
const DefaultNoCountry = () => h(PortalProfileView, Object.assign({}, noCountry));
|
|
8412
|
-
const Loading$
|
|
8474
|
+
const Loading$3 = () => h(PortalProfileView, Object.assign({}, loadingProps$7));
|
|
8413
8475
|
const Disabled$1 = () => h(PortalProfileView, Object.assign({}, disabledProps));
|
|
8414
|
-
const Error$
|
|
8415
|
-
const Success$
|
|
8476
|
+
const Error$4 = () => h(PortalProfileView, Object.assign({}, errorProps$8));
|
|
8477
|
+
const Success$2 = () => h(PortalProfileView, Object.assign({}, successProps$4));
|
|
8416
8478
|
|
|
8417
8479
|
const PortalProfile = /*#__PURE__*/Object.freeze({
|
|
8418
8480
|
__proto__: null,
|
|
8419
8481
|
'default': PortalProfile_stories,
|
|
8420
|
-
Default: Default$
|
|
8482
|
+
Default: Default$b,
|
|
8421
8483
|
DefaultNoCountry: DefaultNoCountry,
|
|
8422
|
-
Loading: Loading$
|
|
8484
|
+
Loading: Loading$3,
|
|
8423
8485
|
Disabled: Disabled$1,
|
|
8424
|
-
Error: Error$
|
|
8425
|
-
Success: Success$
|
|
8486
|
+
Error: Error$4,
|
|
8487
|
+
Success: Success$2
|
|
8426
8488
|
});
|
|
8427
8489
|
|
|
8428
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";
|
|
@@ -10377,7 +10439,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
|
|
|
10377
10439
|
const PoweredByImg_stories = {
|
|
10378
10440
|
title: "Powered By",
|
|
10379
10441
|
};
|
|
10380
|
-
const Default$
|
|
10442
|
+
const Default$c = () => {
|
|
10381
10443
|
return h(PoweredByImg$1, null);
|
|
10382
10444
|
};
|
|
10383
10445
|
const CustomColor = () => {
|
|
@@ -10390,7 +10452,7 @@ const CustomWidthAndHeight = () => {
|
|
|
10390
10452
|
const PoweredByImg = /*#__PURE__*/Object.freeze({
|
|
10391
10453
|
__proto__: null,
|
|
10392
10454
|
'default': PoweredByImg_stories,
|
|
10393
|
-
Default: Default$
|
|
10455
|
+
Default: Default$c,
|
|
10394
10456
|
CustomColor: CustomColor,
|
|
10395
10457
|
CustomWidthAndHeight: CustomWidthAndHeight
|
|
10396
10458
|
});
|
|
@@ -10403,7 +10465,7 @@ const PortalFooter_stories = {
|
|
|
10403
10465
|
scenario: scenario$f,
|
|
10404
10466
|
},
|
|
10405
10467
|
};
|
|
10406
|
-
const defaultProps$
|
|
10468
|
+
const defaultProps$b = {
|
|
10407
10469
|
supportEmail: "support@example.com",
|
|
10408
10470
|
supportText: "For program support, contact {email}",
|
|
10409
10471
|
hidePoweredBy: false,
|
|
@@ -10413,12 +10475,12 @@ const defaultProps$a = {
|
|
|
10413
10475
|
paddingBottom: "large",
|
|
10414
10476
|
paddingLeft: "large",
|
|
10415
10477
|
};
|
|
10416
|
-
const DefaultFooter = () => h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10417
|
-
const FooterWithTerms = () => (h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10418
|
-
const FooterWithFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10419
|
-
const FooterWithTermsAndFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10420
|
-
const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps$
|
|
10421
|
-
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 })));
|
|
10422
10484
|
|
|
10423
10485
|
const PortalFooter = /*#__PURE__*/Object.freeze({
|
|
10424
10486
|
__proto__: null,
|
|
@@ -10736,7 +10798,7 @@ const CheckboxField_stories = {
|
|
|
10736
10798
|
scenario: scenario$j,
|
|
10737
10799
|
},
|
|
10738
10800
|
};
|
|
10739
|
-
const defaultProps$
|
|
10801
|
+
const defaultProps$c = {
|
|
10740
10802
|
states: {
|
|
10741
10803
|
registrationFormState: {
|
|
10742
10804
|
validationErrors: {},
|
|
@@ -10777,32 +10839,32 @@ const defaultRegisterProps = {
|
|
|
10777
10839
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
10778
10840
|
},
|
|
10779
10841
|
};
|
|
10780
|
-
const Default$
|
|
10781
|
-
const DefaultChecked = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$
|
|
10782
|
-
...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,
|
|
10783
10845
|
checked: true,
|
|
10784
10846
|
} }))));
|
|
10785
|
-
const CustomLabel = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$
|
|
10786
|
-
...defaultProps$
|
|
10847
|
+
const CustomLabel = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$c, { content: {
|
|
10848
|
+
...defaultProps$c.content,
|
|
10787
10849
|
checkboxLabel: "I Agree",
|
|
10788
10850
|
} }))));
|
|
10789
|
-
const Error$
|
|
10790
|
-
...defaultProps$
|
|
10851
|
+
const Error$5 = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10852
|
+
...defaultProps$c.states,
|
|
10791
10853
|
registrationFormState: {
|
|
10792
10854
|
validationErrors: {
|
|
10793
10855
|
agree: "Must be checked",
|
|
10794
10856
|
},
|
|
10795
10857
|
},
|
|
10796
10858
|
} }))));
|
|
10797
|
-
const CustomError = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$
|
|
10798
|
-
...defaultProps$
|
|
10859
|
+
const CustomError = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10860
|
+
...defaultProps$c.states,
|
|
10799
10861
|
registrationFormState: {
|
|
10800
10862
|
validationErrors: {
|
|
10801
10863
|
agree: "Must be checked",
|
|
10802
10864
|
},
|
|
10803
10865
|
},
|
|
10804
10866
|
}, content: {
|
|
10805
|
-
...defaultProps$
|
|
10867
|
+
...defaultProps$c.content,
|
|
10806
10868
|
errorMessage: "This checkbox must be checked to continue",
|
|
10807
10869
|
} }))));
|
|
10808
10870
|
const TermsAndConditions$2 = createHookStory(() => (h(PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
@@ -10832,17 +10894,17 @@ const TermsAndConditionsLongCustomLabel = createHookStory(() => (h(PortalRegiste
|
|
|
10832
10894
|
const CheckboxField = /*#__PURE__*/Object.freeze({
|
|
10833
10895
|
__proto__: null,
|
|
10834
10896
|
'default': CheckboxField_stories,
|
|
10835
|
-
Default: Default$
|
|
10897
|
+
Default: Default$d,
|
|
10836
10898
|
DefaultChecked: DefaultChecked,
|
|
10837
10899
|
CustomLabel: CustomLabel,
|
|
10838
|
-
Error: Error$
|
|
10900
|
+
Error: Error$5,
|
|
10839
10901
|
CustomError: CustomError,
|
|
10840
10902
|
TermsAndConditions: TermsAndConditions$2,
|
|
10841
10903
|
TermsAndConditionsCustomLabel: TermsAndConditionsCustomLabel,
|
|
10842
10904
|
TermsAndConditionsLongCustomLabel: TermsAndConditionsLongCustomLabel
|
|
10843
10905
|
});
|
|
10844
10906
|
|
|
10845
|
-
const scenario$k = "@owner:zach\n@author:zach\nFeature: Marketing Emails Checkbox\n\n A checkbox that is used to opt in for
|
|
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";
|
|
10846
10908
|
|
|
10847
10909
|
const MarketingEmailsCheckbox_stories = {
|
|
10848
10910
|
title: "Components/Marketing Emails Checkbox",
|
|
@@ -10850,14 +10912,14 @@ const MarketingEmailsCheckbox_stories = {
|
|
|
10850
10912
|
scenario: scenario$k,
|
|
10851
10913
|
},
|
|
10852
10914
|
};
|
|
10853
|
-
const Default$
|
|
10915
|
+
const Default$e = () => {
|
|
10854
10916
|
return h("sqm-marketing-emails-checkbox", null);
|
|
10855
10917
|
};
|
|
10856
10918
|
|
|
10857
10919
|
const MarketingEmailsCheckbox = /*#__PURE__*/Object.freeze({
|
|
10858
10920
|
__proto__: null,
|
|
10859
10921
|
'default': MarketingEmailsCheckbox_stories,
|
|
10860
|
-
Default: Default$
|
|
10922
|
+
Default: Default$e
|
|
10861
10923
|
});
|
|
10862
10924
|
|
|
10863
10925
|
const UseCheckboxField_stories = {
|
|
@@ -10937,7 +10999,7 @@ const UseCheckboxField = /*#__PURE__*/Object.freeze({
|
|
|
10937
10999
|
const DropdownField_stories = {
|
|
10938
11000
|
title: "Components/Dropdown Field",
|
|
10939
11001
|
};
|
|
10940
|
-
const defaultProps$
|
|
11002
|
+
const defaultProps$d = {
|
|
10941
11003
|
states: {
|
|
10942
11004
|
registrationFormState: {},
|
|
10943
11005
|
},
|
|
@@ -10952,24 +11014,24 @@ const defaultProps$c = {
|
|
|
10952
11014
|
],
|
|
10953
11015
|
},
|
|
10954
11016
|
};
|
|
10955
|
-
const Default$
|
|
10956
|
-
const CustomLabel$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$
|
|
10957
|
-
...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,
|
|
10958
11020
|
dropdownLabel: "Pick your favorite",
|
|
10959
11021
|
} }))));
|
|
10960
|
-
const Error$
|
|
10961
|
-
...defaultProps$
|
|
11022
|
+
const Error$6 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$d, { states: {
|
|
11023
|
+
...defaultProps$d.states,
|
|
10962
11024
|
registrationFormState: {
|
|
10963
11025
|
validationErrors: {
|
|
10964
11026
|
options: "Must select an option",
|
|
10965
11027
|
},
|
|
10966
11028
|
},
|
|
10967
11029
|
} }))));
|
|
10968
|
-
const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$
|
|
10969
|
-
...defaultProps$
|
|
11030
|
+
const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$d, { content: {
|
|
11031
|
+
...defaultProps$d.content,
|
|
10970
11032
|
errorMessage: "An option must be selected to continue",
|
|
10971
11033
|
}, states: {
|
|
10972
|
-
...defaultProps$
|
|
11034
|
+
...defaultProps$d.states,
|
|
10973
11035
|
registrationFormState: {
|
|
10974
11036
|
validationErrors: {
|
|
10975
11037
|
options: "Must select an option",
|
|
@@ -10980,9 +11042,9 @@ const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign(
|
|
|
10980
11042
|
const DropdownField = /*#__PURE__*/Object.freeze({
|
|
10981
11043
|
__proto__: null,
|
|
10982
11044
|
'default': DropdownField_stories,
|
|
10983
|
-
Default: Default$
|
|
11045
|
+
Default: Default$f,
|
|
10984
11046
|
CustomLabel: CustomLabel$1,
|
|
10985
|
-
Error: Error$
|
|
11047
|
+
Error: Error$6,
|
|
10986
11048
|
CustomError: CustomError$1
|
|
10987
11049
|
});
|
|
10988
11050
|
|
|
@@ -11053,7 +11115,7 @@ const InputField_stories = {
|
|
|
11053
11115
|
scenario: scenario$l,
|
|
11054
11116
|
},
|
|
11055
11117
|
};
|
|
11056
|
-
const defaultProps$
|
|
11118
|
+
const defaultProps$e = {
|
|
11057
11119
|
states: {
|
|
11058
11120
|
registrationFormState: {
|
|
11059
11121
|
validationErrors: {},
|
|
@@ -11090,21 +11152,21 @@ const defaultRegisterProps$1 = {
|
|
|
11090
11152
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
11091
11153
|
},
|
|
11092
11154
|
};
|
|
11093
|
-
const Default$
|
|
11094
|
-
const CustomLabel$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$
|
|
11095
|
-
const Error$
|
|
11096
|
-
...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,
|
|
11097
11159
|
registrationFormState: {
|
|
11098
11160
|
validationErrors: {
|
|
11099
11161
|
field: "Cannot be empty",
|
|
11100
11162
|
},
|
|
11101
11163
|
},
|
|
11102
11164
|
} })));
|
|
11103
|
-
const CustomError$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$
|
|
11104
|
-
...defaultProps$
|
|
11165
|
+
const CustomError$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11166
|
+
...defaultProps$e.content,
|
|
11105
11167
|
errorMessage: "A value must be entered to continue",
|
|
11106
11168
|
}, states: {
|
|
11107
|
-
...defaultProps$
|
|
11169
|
+
...defaultProps$e.states,
|
|
11108
11170
|
registrationFormState: {
|
|
11109
11171
|
validationErrors: {
|
|
11110
11172
|
field: "Cannot be empty",
|
|
@@ -11112,27 +11174,27 @@ const CustomError$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$d,
|
|
|
11112
11174
|
},
|
|
11113
11175
|
} })));
|
|
11114
11176
|
const DateType = () => {
|
|
11115
|
-
return (h(InputFieldView, Object.assign({}, defaultProps$
|
|
11116
|
-
...defaultProps$
|
|
11177
|
+
return (h(InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11178
|
+
...defaultProps$e.content,
|
|
11117
11179
|
fieldLabel: "Date",
|
|
11118
11180
|
fieldType: "date",
|
|
11119
11181
|
} })));
|
|
11120
11182
|
};
|
|
11121
11183
|
const TelType = () => {
|
|
11122
|
-
return (h(InputFieldView, Object.assign({}, defaultProps$
|
|
11123
|
-
...defaultProps$
|
|
11184
|
+
return (h(InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11185
|
+
...defaultProps$e.content,
|
|
11124
11186
|
fieldLabel: "Phone Number",
|
|
11125
11187
|
fieldType: "tel",
|
|
11126
11188
|
} })));
|
|
11127
11189
|
};
|
|
11128
11190
|
const RegistrationField = () => (h(PortalRegisterView, Object.assign({}, defaultRegisterProps$1, { content: {
|
|
11129
11191
|
...defaultRegisterProps$1.content,
|
|
11130
|
-
formData: h(InputFieldView, Object.assign({}, defaultProps$
|
|
11192
|
+
formData: h(InputFieldView, Object.assign({}, defaultProps$e)),
|
|
11131
11193
|
} })));
|
|
11132
11194
|
const RegistrationFieldCustomLabel = () => (h(PortalRegisterView, Object.assign({}, defaultRegisterProps$1, { content: {
|
|
11133
11195
|
...defaultRegisterProps$1.content,
|
|
11134
|
-
formData: (h(InputFieldView, Object.assign({}, defaultProps$
|
|
11135
|
-
...defaultProps$
|
|
11196
|
+
formData: (h(InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11197
|
+
...defaultProps$e.content,
|
|
11136
11198
|
fieldLabel: "Data",
|
|
11137
11199
|
} }))),
|
|
11138
11200
|
} })));
|
|
@@ -11140,9 +11202,9 @@ const RegistrationFieldCustomLabel = () => (h(PortalRegisterView, Object.assign(
|
|
|
11140
11202
|
const InputField = /*#__PURE__*/Object.freeze({
|
|
11141
11203
|
__proto__: null,
|
|
11142
11204
|
'default': InputField_stories,
|
|
11143
|
-
Default: Default$
|
|
11205
|
+
Default: Default$g,
|
|
11144
11206
|
CustomLabel: CustomLabel$2,
|
|
11145
|
-
Error: Error$
|
|
11207
|
+
Error: Error$7,
|
|
11146
11208
|
CustomError: CustomError$2,
|
|
11147
11209
|
DateType: DateType,
|
|
11148
11210
|
TelType: TelType,
|
|
@@ -11262,7 +11324,7 @@ const RedemptionError = StoryBase(redemptionError);
|
|
|
11262
11324
|
const QueryError = StoryBase(queryError);
|
|
11263
11325
|
const SuccessPromo = StoryBase(success);
|
|
11264
11326
|
const SuccessVariableAndStepped = StoryBase(successVariable);
|
|
11265
|
-
const Loading$
|
|
11327
|
+
const Loading$4 = StoryBase(loading);
|
|
11266
11328
|
const Empty$2 = StoryBase(empty$1);
|
|
11267
11329
|
|
|
11268
11330
|
const RewardExchangeList = /*#__PURE__*/Object.freeze({
|
|
@@ -11284,7 +11346,7 @@ const RewardExchangeList = /*#__PURE__*/Object.freeze({
|
|
|
11284
11346
|
QueryError: QueryError,
|
|
11285
11347
|
SuccessPromo: SuccessPromo,
|
|
11286
11348
|
SuccessVariableAndStepped: SuccessVariableAndStepped,
|
|
11287
|
-
Loading: Loading$
|
|
11349
|
+
Loading: Loading$4,
|
|
11288
11350
|
Empty: Empty$2
|
|
11289
11351
|
});
|
|
11290
11352
|
|
|
@@ -13938,7 +14000,7 @@ const CopyButtonBelow$1 = () => {
|
|
|
13938
14000
|
buttonStyle: "button-below",
|
|
13939
14001
|
})));
|
|
13940
14002
|
};
|
|
13941
|
-
const Error$
|
|
14003
|
+
const Error$8 = () => {
|
|
13942
14004
|
const props = {
|
|
13943
14005
|
copyString: "https://noah.example.com",
|
|
13944
14006
|
disabled: true,
|
|
@@ -13959,7 +14021,7 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
13959
14021
|
CustomTooltipDuration: CustomTooltipDuration,
|
|
13960
14022
|
CopyButton: CopyButton$1,
|
|
13961
14023
|
CopyButtonBelow: CopyButtonBelow$1,
|
|
13962
|
-
Error: Error$
|
|
14024
|
+
Error: Error$8
|
|
13963
14025
|
});
|
|
13964
14026
|
|
|
13965
14027
|
// import scenario from "./ShareCode.feature";
|
|
@@ -13969,7 +14031,7 @@ const EmailRegistration_stories = {
|
|
|
13969
14031
|
// scenario,
|
|
13970
14032
|
},
|
|
13971
14033
|
};
|
|
13972
|
-
const defaultProps$
|
|
14034
|
+
const defaultProps$f = {
|
|
13973
14035
|
states: {
|
|
13974
14036
|
error: "",
|
|
13975
14037
|
loading: false,
|
|
@@ -13988,59 +14050,59 @@ const defaultProps$e = {
|
|
|
13988
14050
|
fraudErrorMessageTitle: "Looks like you tried referring yourself",
|
|
13989
14051
|
},
|
|
13990
14052
|
};
|
|
13991
|
-
const Default$
|
|
14053
|
+
const Default$h = () => h(EmailRegistrationView, Object.assign({}, defaultProps$f));
|
|
13992
14054
|
const HasFirstNameLastName = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
13993
|
-
...defaultProps$
|
|
14055
|
+
...defaultProps$f,
|
|
13994
14056
|
content: {
|
|
13995
|
-
...defaultProps$
|
|
14057
|
+
...defaultProps$f.content,
|
|
13996
14058
|
includeName: true,
|
|
13997
14059
|
},
|
|
13998
14060
|
})));
|
|
13999
14061
|
const WithSlots = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14000
|
-
...defaultProps$
|
|
14062
|
+
...defaultProps$f,
|
|
14001
14063
|
content: {
|
|
14002
|
-
...defaultProps$
|
|
14064
|
+
...defaultProps$f.content,
|
|
14003
14065
|
topSlot: h("div", null, "Hello this is the top slot"),
|
|
14004
14066
|
bottomSlot: h("div", null, "Hello this is the bottom slot"),
|
|
14005
14067
|
},
|
|
14006
14068
|
})));
|
|
14007
14069
|
const NoBorder$1 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14008
|
-
...defaultProps$
|
|
14070
|
+
...defaultProps$f,
|
|
14009
14071
|
content: {
|
|
14010
|
-
...defaultProps$
|
|
14072
|
+
...defaultProps$f.content,
|
|
14011
14073
|
hideBorder: true,
|
|
14012
14074
|
},
|
|
14013
14075
|
})));
|
|
14014
14076
|
const BackgroundColor$2 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14015
|
-
...defaultProps$
|
|
14077
|
+
...defaultProps$f,
|
|
14016
14078
|
content: {
|
|
14017
|
-
...defaultProps$
|
|
14079
|
+
...defaultProps$f.content,
|
|
14018
14080
|
backgroundColor: "aquamarine",
|
|
14019
14081
|
},
|
|
14020
14082
|
})));
|
|
14021
|
-
const Loading$
|
|
14022
|
-
...defaultProps$
|
|
14083
|
+
const Loading$5 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14084
|
+
...defaultProps$f,
|
|
14023
14085
|
states: {
|
|
14024
14086
|
error: "",
|
|
14025
14087
|
loading: true,
|
|
14026
14088
|
},
|
|
14027
14089
|
})));
|
|
14028
|
-
const Error$
|
|
14029
|
-
...defaultProps$
|
|
14090
|
+
const Error$9 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14091
|
+
...defaultProps$f,
|
|
14030
14092
|
states: {
|
|
14031
14093
|
error: "Something went wrong. Please try again.",
|
|
14032
14094
|
loading: false,
|
|
14033
14095
|
},
|
|
14034
14096
|
})));
|
|
14035
14097
|
const FraudError = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14036
|
-
...defaultProps$
|
|
14098
|
+
...defaultProps$f,
|
|
14037
14099
|
states: {
|
|
14038
14100
|
error: "FRAUD",
|
|
14039
14101
|
loading: false,
|
|
14040
14102
|
},
|
|
14041
14103
|
})));
|
|
14042
14104
|
const EmptyEmailError = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14043
|
-
...defaultProps$
|
|
14105
|
+
...defaultProps$f,
|
|
14044
14106
|
states: {
|
|
14045
14107
|
error: "Something went wrong. Please try again.",
|
|
14046
14108
|
loading: false,
|
|
@@ -14053,13 +14115,13 @@ const EmptyEmailError = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
|
14053
14115
|
const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
14054
14116
|
__proto__: null,
|
|
14055
14117
|
'default': EmailRegistration_stories,
|
|
14056
|
-
Default: Default$
|
|
14118
|
+
Default: Default$h,
|
|
14057
14119
|
HasFirstNameLastName: HasFirstNameLastName,
|
|
14058
14120
|
WithSlots: WithSlots,
|
|
14059
14121
|
NoBorder: NoBorder$1,
|
|
14060
14122
|
BackgroundColor: BackgroundColor$2,
|
|
14061
|
-
Loading: Loading$
|
|
14062
|
-
Error: Error$
|
|
14123
|
+
Loading: Loading$5,
|
|
14124
|
+
Error: Error$9,
|
|
14063
14125
|
FraudError: FraudError,
|
|
14064
14126
|
EmptyEmailError: EmptyEmailError
|
|
14065
14127
|
});
|
|
@@ -14072,7 +14134,7 @@ const CouponCode_stories = {
|
|
|
14072
14134
|
scenario: scenario$B,
|
|
14073
14135
|
},
|
|
14074
14136
|
};
|
|
14075
|
-
const defaultProps$
|
|
14137
|
+
const defaultProps$g = {
|
|
14076
14138
|
tooltiptext: "Copied to Clipboard",
|
|
14077
14139
|
copyString: "THANKSJANE125uv125",
|
|
14078
14140
|
open: false,
|
|
@@ -14097,43 +14159,43 @@ const TextAlignRight$2 = () => {
|
|
|
14097
14159
|
return h("sqm-coupon-code", { textAlign: "right" });
|
|
14098
14160
|
};
|
|
14099
14161
|
const CopyButton$2 = () => {
|
|
14100
|
-
return (h("sqm-coupon-code", Object.assign({}, defaultProps$
|
|
14162
|
+
return (h("sqm-coupon-code", Object.assign({}, defaultProps$g, { buttonStyle: "button-outside" })));
|
|
14101
14163
|
};
|
|
14102
14164
|
const CopyButtonCustomLabel = () => {
|
|
14103
|
-
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" })));
|
|
14104
14166
|
};
|
|
14105
14167
|
const CopyButtonBelow$2 = () => {
|
|
14106
|
-
return (h("sqm-coupon-code", Object.assign({}, defaultProps$
|
|
14168
|
+
return (h("sqm-coupon-code", Object.assign({}, defaultProps$g, { buttonStyle: "button-below" })));
|
|
14107
14169
|
};
|
|
14108
14170
|
const CopyButtonBelowCustomLabel = () => {
|
|
14109
|
-
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" })));
|
|
14110
14172
|
};
|
|
14111
|
-
const Loading$
|
|
14112
|
-
return h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14173
|
+
const Loading$6 = () => {
|
|
14174
|
+
return h(CouponCodeView, Object.assign({}, defaultProps$g, { loading: true }));
|
|
14113
14175
|
};
|
|
14114
14176
|
const CopyButtonLoading = () => {
|
|
14115
|
-
return (h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14177
|
+
return (h(CouponCodeView, Object.assign({}, defaultProps$g, { buttonStyle: "button-outside", loading: true })));
|
|
14116
14178
|
};
|
|
14117
14179
|
const CopyButtonBelowLoading = () => {
|
|
14118
|
-
return (h(CouponCodeView, Object.assign({}, defaultProps$
|
|
14180
|
+
return (h(CouponCodeView, Object.assign({}, defaultProps$g, { buttonStyle: "button-below", loading: true })));
|
|
14119
14181
|
};
|
|
14120
14182
|
const ErrorGeneric = () => {
|
|
14121
|
-
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." })));
|
|
14122
14184
|
};
|
|
14123
14185
|
const ErrorPending = () => {
|
|
14124
|
-
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!" })));
|
|
14125
14187
|
};
|
|
14126
14188
|
const ErrorFullfillment = () => {
|
|
14127
|
-
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." })));
|
|
14128
14190
|
};
|
|
14129
14191
|
const ErrorCancelled = () => {
|
|
14130
|
-
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." })));
|
|
14131
14193
|
};
|
|
14132
14194
|
const ErrorExpired = () => {
|
|
14133
|
-
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." })));
|
|
14134
14196
|
};
|
|
14135
14197
|
const ErrorRedeemed = () => {
|
|
14136
|
-
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." })));
|
|
14137
14199
|
};
|
|
14138
14200
|
|
|
14139
14201
|
const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -14148,7 +14210,7 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14148
14210
|
CopyButtonCustomLabel: CopyButtonCustomLabel,
|
|
14149
14211
|
CopyButtonBelow: CopyButtonBelow$2,
|
|
14150
14212
|
CopyButtonBelowCustomLabel: CopyButtonBelowCustomLabel,
|
|
14151
|
-
Loading: Loading$
|
|
14213
|
+
Loading: Loading$6,
|
|
14152
14214
|
CopyButtonLoading: CopyButtonLoading,
|
|
14153
14215
|
CopyButtonBelowLoading: CopyButtonBelowLoading,
|
|
14154
14216
|
ErrorGeneric: ErrorGeneric,
|
|
@@ -14167,21 +14229,21 @@ const LogoutCurrentUser_stories = {
|
|
|
14167
14229
|
scenario: scenario$C,
|
|
14168
14230
|
},
|
|
14169
14231
|
};
|
|
14170
|
-
const defaultProps$
|
|
14232
|
+
const defaultProps$h = {
|
|
14171
14233
|
filledInEmailText: "Currently showing referral data for noah.clarke@saasquatch.com",
|
|
14172
14234
|
onSwitchClick: () => console.log("clicked"),
|
|
14173
14235
|
switchUserText: "not you?",
|
|
14174
14236
|
loading: false,
|
|
14175
14237
|
emailErrorText: "Error fetching email",
|
|
14176
14238
|
};
|
|
14177
|
-
const Default$
|
|
14178
|
-
return h(LogoutCurrentUserView, Object.assign({}, defaultProps$
|
|
14239
|
+
const Default$i = () => {
|
|
14240
|
+
return h(LogoutCurrentUserView, Object.assign({}, defaultProps$h));
|
|
14179
14241
|
};
|
|
14180
14242
|
|
|
14181
14243
|
const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
|
|
14182
14244
|
__proto__: null,
|
|
14183
14245
|
'default': LogoutCurrentUser_stories,
|
|
14184
|
-
Default: Default$
|
|
14246
|
+
Default: Default$i
|
|
14185
14247
|
});
|
|
14186
14248
|
|
|
14187
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 |";
|
|
@@ -14192,22 +14254,22 @@ const LinkButton_stories = {
|
|
|
14192
14254
|
scenario: scenario$D,
|
|
14193
14255
|
},
|
|
14194
14256
|
};
|
|
14195
|
-
const defaultProps$
|
|
14257
|
+
const defaultProps$i = {
|
|
14196
14258
|
link: "https://example.com",
|
|
14197
14259
|
openInNewTab: false,
|
|
14198
14260
|
buttonText: "Button Text",
|
|
14199
14261
|
};
|
|
14200
|
-
const Default$
|
|
14201
|
-
return h("sqm-link-button", Object.assign({}, defaultProps$
|
|
14262
|
+
const Default$j = () => {
|
|
14263
|
+
return h("sqm-link-button", Object.assign({}, defaultProps$i));
|
|
14202
14264
|
};
|
|
14203
14265
|
const OpenInNewTab = () => {
|
|
14204
|
-
return (h("sqm-link-button", Object.assign({}, { ...defaultProps$
|
|
14266
|
+
return (h("sqm-link-button", Object.assign({}, { ...defaultProps$i, openInNewTab: true })));
|
|
14205
14267
|
};
|
|
14206
14268
|
|
|
14207
14269
|
const LinkButton = /*#__PURE__*/Object.freeze({
|
|
14208
14270
|
__proto__: null,
|
|
14209
14271
|
'default': LinkButton_stories,
|
|
14210
|
-
Default: Default$
|
|
14272
|
+
Default: Default$j,
|
|
14211
14273
|
OpenInNewTab: OpenInNewTab
|
|
14212
14274
|
});
|
|
14213
14275
|
|
|
@@ -14217,7 +14279,7 @@ const CloseButton_stories = {
|
|
|
14217
14279
|
// scenario,
|
|
14218
14280
|
},
|
|
14219
14281
|
};
|
|
14220
|
-
const defaultProps$
|
|
14282
|
+
const defaultProps$j = {};
|
|
14221
14283
|
const containerStyles = {
|
|
14222
14284
|
position: "relative",
|
|
14223
14285
|
width: "500px",
|
|
@@ -14225,22 +14287,22 @@ const containerStyles = {
|
|
|
14225
14287
|
border: "1px solid black",
|
|
14226
14288
|
padding: "25px",
|
|
14227
14289
|
};
|
|
14228
|
-
const Default$
|
|
14229
|
-
return h(CloseButtonView, Object.assign({}, defaultProps$
|
|
14290
|
+
const Default$k = () => {
|
|
14291
|
+
return h(CloseButtonView, Object.assign({}, defaultProps$j));
|
|
14230
14292
|
};
|
|
14231
14293
|
const InAContainer = () => {
|
|
14232
14294
|
return (h("div", { style: containerStyles },
|
|
14233
|
-
h(CloseButtonView, Object.assign({}, defaultProps$
|
|
14295
|
+
h(CloseButtonView, Object.assign({}, defaultProps$j))));
|
|
14234
14296
|
};
|
|
14235
14297
|
const CustomColor$1 = () => {
|
|
14236
14298
|
return (h("div", { style: containerStyles },
|
|
14237
|
-
h(CloseButtonView, Object.assign({}, { ...defaultProps$
|
|
14299
|
+
h(CloseButtonView, Object.assign({}, { ...defaultProps$j, color: "blue" }))));
|
|
14238
14300
|
};
|
|
14239
14301
|
|
|
14240
14302
|
const CloseButton = /*#__PURE__*/Object.freeze({
|
|
14241
14303
|
__proto__: null,
|
|
14242
14304
|
'default': CloseButton_stories,
|
|
14243
|
-
Default: Default$
|
|
14305
|
+
Default: Default$k,
|
|
14244
14306
|
InAContainer: InAContainer,
|
|
14245
14307
|
CustomColor: CustomColor$1
|
|
14246
14308
|
});
|
|
@@ -14430,17 +14492,17 @@ const RadioCardView = ({ title, icon, description, selected, }) => {
|
|
|
14430
14492
|
const RadioCard_stories = {
|
|
14431
14493
|
title: "Components/Radio Card",
|
|
14432
14494
|
};
|
|
14433
|
-
const defaultProps$
|
|
14495
|
+
const defaultProps$k = {
|
|
14434
14496
|
selected: false,
|
|
14435
14497
|
title: "Card Title",
|
|
14436
14498
|
description: "Description text goes here",
|
|
14437
14499
|
icon: "apple",
|
|
14438
14500
|
};
|
|
14439
14501
|
const DefaultView$1 = () => {
|
|
14440
|
-
return h(RadioCardView, Object.assign({}, defaultProps$
|
|
14502
|
+
return h(RadioCardView, Object.assign({}, defaultProps$k));
|
|
14441
14503
|
};
|
|
14442
14504
|
const Selected = () => {
|
|
14443
|
-
return h(RadioCardView, Object.assign({}, defaultProps$
|
|
14505
|
+
return h(RadioCardView, Object.assign({}, defaultProps$k, { selected: true }));
|
|
14444
14506
|
};
|
|
14445
14507
|
|
|
14446
14508
|
const RadioCard = /*#__PURE__*/Object.freeze({
|
|
@@ -14453,13 +14515,13 @@ const RadioCard = /*#__PURE__*/Object.freeze({
|
|
|
14453
14515
|
const ProgressBar_stories = {
|
|
14454
14516
|
title: "Components/Progress Bar",
|
|
14455
14517
|
};
|
|
14456
|
-
const defaultProps$
|
|
14518
|
+
const defaultProps$l = {
|
|
14457
14519
|
progress: 2,
|
|
14458
14520
|
goal: 4,
|
|
14459
14521
|
steps: true,
|
|
14460
14522
|
};
|
|
14461
14523
|
const TaxAndPayoutsProgressBar = () => {
|
|
14462
|
-
return h(ProgressBar$2, Object.assign({}, defaultProps$
|
|
14524
|
+
return h(ProgressBar$2, Object.assign({}, defaultProps$l, { stageCount: 4, currentStage: 2 }));
|
|
14463
14525
|
};
|
|
14464
14526
|
|
|
14465
14527
|
const ProgressBar$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -14471,14 +14533,14 @@ const ProgressBar$1 = /*#__PURE__*/Object.freeze({
|
|
|
14471
14533
|
const PayoutDetailsCard_stories = {
|
|
14472
14534
|
title: "Components/Payout Details Card",
|
|
14473
14535
|
};
|
|
14474
|
-
const Loading$
|
|
14536
|
+
const Loading$7 = () => {
|
|
14475
14537
|
return (h("sqm-payout-details-card", { demoData: {
|
|
14476
14538
|
states: {
|
|
14477
14539
|
loading: true,
|
|
14478
14540
|
},
|
|
14479
14541
|
} }));
|
|
14480
14542
|
};
|
|
14481
|
-
const Error$
|
|
14543
|
+
const Error$a = () => {
|
|
14482
14544
|
return (h("sqm-payout-details-card", { demoData: {
|
|
14483
14545
|
states: {
|
|
14484
14546
|
error: true,
|
|
@@ -14518,8 +14580,8 @@ const PaypalPayout = () => {
|
|
|
14518
14580
|
const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
14519
14581
|
__proto__: null,
|
|
14520
14582
|
'default': PayoutDetailsCard_stories,
|
|
14521
|
-
Loading: Loading$
|
|
14522
|
-
Error: Error$
|
|
14583
|
+
Loading: Loading$7,
|
|
14584
|
+
Error: Error$a,
|
|
14523
14585
|
NextPayout: NextPayout,
|
|
14524
14586
|
PayoutToday: PayoutToday,
|
|
14525
14587
|
ThresholdPayout: ThresholdPayout,
|
|
@@ -15141,7 +15203,7 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
|
|
|
15141
15203
|
*
|
|
15142
15204
|
*/
|
|
15143
15205
|
//
|
|
15144
|
-
const Default$
|
|
15206
|
+
const Default$l = `
|
|
15145
15207
|
// No CSS
|
|
15146
15208
|
`;
|
|
15147
15209
|
const Orangey = `
|
|
@@ -15175,7 +15237,7 @@ const Klip = `
|
|
|
15175
15237
|
|
|
15176
15238
|
const Themes = /*#__PURE__*/Object.freeze({
|
|
15177
15239
|
__proto__: null,
|
|
15178
|
-
Default: Default$
|
|
15240
|
+
Default: Default$l,
|
|
15179
15241
|
Orangey: Orangey,
|
|
15180
15242
|
Netflix: Netflix,
|
|
15181
15243
|
SaaSquatchCorporate: SaaSquatchCorporate,
|
|
@@ -17854,6 +17916,7 @@ const stories = [
|
|
|
17854
17916
|
PayoutDetailsCard,
|
|
17855
17917
|
BankingInfoForm,
|
|
17856
17918
|
NewPortalRegistrationForm,
|
|
17919
|
+
ChangeMarketing,
|
|
17857
17920
|
];
|
|
17858
17921
|
const StencilStorybook = class {
|
|
17859
17922
|
constructor(hostRef) {
|