@saasquatch/mint-components 1.12.1-14 → 1.12.1-15
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
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
require('./global-41c0a650.js');
|
|
8
|
+
const index_module = require('./index.module-d8342710.js');
|
|
9
9
|
require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
13
|
-
require('./useChildElements-
|
|
13
|
+
require('./useChildElements-57e11069.js');
|
|
14
14
|
const luxon = require('./luxon-05098e19.js');
|
|
15
15
|
require('./utils-6847bc06.js');
|
|
16
16
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
@@ -21,18 +21,17 @@ const emailRegistrationView = require('./email-registration-view-248652bb.js');
|
|
|
21
21
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
22
22
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-c9f18d96.js');
|
|
23
23
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-921704fb.js');
|
|
24
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
25
|
-
const
|
|
26
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-292b5bf4.js');
|
|
24
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-5f7886d6.js');
|
|
25
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-56fabc90.js');
|
|
27
26
|
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-969c49ed.js');
|
|
28
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
29
|
-
require('./utilities-
|
|
27
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-7c9c60a6.js');
|
|
28
|
+
require('./utilities-7df0fdad.js');
|
|
30
29
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-621348a6.js');
|
|
31
30
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-96f329ed.js');
|
|
32
31
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
|
|
33
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
32
|
+
const ShadowViewAddon = require('./ShadowViewAddon-9aee7df5.js');
|
|
34
33
|
const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
|
|
35
|
-
const sqmInvoiceTableView = require('./sqm-invoice-table-view-
|
|
34
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-41a0b707.js');
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -2541,36 +2540,36 @@ const routes = `
|
|
|
2541
2540
|
`;
|
|
2542
2541
|
const TemplateNavigation = createHookStory(() => {
|
|
2543
2542
|
return (index.h("div", null,
|
|
2544
|
-
index.h("button", { onClick: () => index_module
|
|
2545
|
-
index.h("button", { onClick: () => index_module
|
|
2546
|
-
index.h("button", { onClick: () => index_module
|
|
2547
|
-
index.h("button", { onClick: () => index_module
|
|
2548
|
-
index.h("button", { onClick: () => index_module
|
|
2549
|
-
index.h("button", { onClick: () => index_module
|
|
2550
|
-
index.h("button", { onClick: () => index_module
|
|
2551
|
-
index.h("button", { onClick: () => index_module
|
|
2552
|
-
index.h("button", { onClick: () => index_module
|
|
2543
|
+
index.h("button", { onClick: () => index_module.jn.push("/") }, "/"),
|
|
2544
|
+
index.h("button", { onClick: () => index_module.jn.push("/foo") }, "/foo"),
|
|
2545
|
+
index.h("button", { onClick: () => index_module.jn.push("/bar") }, "/bar"),
|
|
2546
|
+
index.h("button", { onClick: () => index_module.jn.push("/baz/bang") }, "/baz/bang"),
|
|
2547
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer") }, "/refer"),
|
|
2548
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer/1") }, "/refer/1"),
|
|
2549
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer/2") }, "/refer/2"),
|
|
2550
|
+
index.h("button", { onClick: () => index_module.jn.back() }, "Back"),
|
|
2551
|
+
index.h("button", { onClick: () => index_module.jn.forward() }, "Forward"),
|
|
2553
2552
|
index.h("hr", null),
|
|
2554
2553
|
index.h("sqm-router", { innerHTML: templates })));
|
|
2555
2554
|
});
|
|
2556
2555
|
const RouteNavigation = createHookStory(() => {
|
|
2557
2556
|
return (index.h("div", null,
|
|
2558
|
-
index.h("button", { onClick: () => index_module
|
|
2559
|
-
index.h("button", { onClick: () => index_module
|
|
2560
|
-
index.h("button", { onClick: () => index_module
|
|
2561
|
-
index.h("button", { onClick: () => index_module
|
|
2562
|
-
index.h("button", { onClick: () => index_module
|
|
2563
|
-
index.h("button", { onClick: () => index_module
|
|
2564
|
-
index.h("button", { onClick: () => index_module
|
|
2565
|
-
index.h("button", { onClick: () => index_module
|
|
2566
|
-
index.h("button", { onClick: () => index_module
|
|
2557
|
+
index.h("button", { onClick: () => index_module.jn.push("/") }, "/"),
|
|
2558
|
+
index.h("button", { onClick: () => index_module.jn.push("/foo") }, "/foo"),
|
|
2559
|
+
index.h("button", { onClick: () => index_module.jn.push("/bar") }, "/bar"),
|
|
2560
|
+
index.h("button", { onClick: () => index_module.jn.push("/baz/bang") }, "/baz/bang"),
|
|
2561
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer") }, "/refer"),
|
|
2562
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer/1") }, "/refer/1"),
|
|
2563
|
+
index.h("button", { onClick: () => index_module.jn.push("/refer/2") }, "/refer/2"),
|
|
2564
|
+
index.h("button", { onClick: () => index_module.jn.back() }, "Back"),
|
|
2565
|
+
index.h("button", { onClick: () => index_module.jn.forward() }, "Forward"),
|
|
2567
2566
|
index.h("hr", null),
|
|
2568
2567
|
index.h("sqm-router", { innerHTML: routes })));
|
|
2569
2568
|
});
|
|
2570
2569
|
const Styling = createHookStory(() => {
|
|
2571
2570
|
return (index.h("div", null,
|
|
2572
|
-
index.h("button", { onClick: () => index_module
|
|
2573
|
-
index.h("button", { onClick: () => index_module
|
|
2571
|
+
index.h("button", { onClick: () => index_module.jn.push("/") }, "/"),
|
|
2572
|
+
index.h("button", { onClick: () => index_module.jn.push("/foo") }, "/foo"),
|
|
2574
2573
|
index.h("hr", null),
|
|
2575
2574
|
index.h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2576
2575
|
index.h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2584,7 +2583,7 @@ function useTemplate(templateString) {
|
|
|
2584
2583
|
const [previewTemplate, setPreviewTemplate] = stencilHooks_module.useState(templateString);
|
|
2585
2584
|
function setPath(e) {
|
|
2586
2585
|
//@ts-ignore
|
|
2587
|
-
index_module
|
|
2586
|
+
index_module.jn.push(e.target.value);
|
|
2588
2587
|
}
|
|
2589
2588
|
return {
|
|
2590
2589
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2748,8 +2747,8 @@ const FullStackFrame = () => {
|
|
|
2748
2747
|
"Current path:",
|
|
2749
2748
|
" ",
|
|
2750
2749
|
index.h("code", null,
|
|
2751
|
-
index.h("strong", null, (_a = index_module.
|
|
2752
|
-
index.h("button", { onClick: index_module
|
|
2750
|
+
index.h("strong", null, (_a = index_module.kn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2751
|
+
index.h("button", { onClick: index_module.jn.back }, "Go Back")));
|
|
2753
2752
|
};
|
|
2754
2753
|
const FullStackFrameLoggedOut = () => {
|
|
2755
2754
|
var _a;
|
|
@@ -2773,8 +2772,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2773
2772
|
"Current path:",
|
|
2774
2773
|
" ",
|
|
2775
2774
|
index.h("code", null,
|
|
2776
|
-
index.h("strong", null, (_a = index_module.
|
|
2777
|
-
index.h("button", { onClick: index_module
|
|
2775
|
+
index.h("strong", null, (_a = index_module.kn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2776
|
+
index.h("button", { onClick: index_module.jn.back }, "Go Back")));
|
|
2778
2777
|
};
|
|
2779
2778
|
|
|
2780
2779
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -4102,16 +4101,16 @@ function DefaultTemplateView(props) {
|
|
|
4102
4101
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
4103
4102
|
gridGap: "10px",
|
|
4104
4103
|
} },
|
|
4105
|
-
index.h("button", { onClick: () => index_module
|
|
4106
|
-
props.leadSubmit && (index.h("button", { onClick: () => index_module
|
|
4107
|
-
index.h("button", { onClick: () => index_module
|
|
4108
|
-
index.h("button", { onClick: () => index_module
|
|
4109
|
-
index.h("button", { onClick: () => index_module
|
|
4110
|
-
index.h("button", { onClick: () => index_module
|
|
4111
|
-
index.h("button", { onClick: () => index_module
|
|
4112
|
-
index.h("button", { onClick: () => index_module
|
|
4113
|
-
index.h("button", { onClick: () => index_module
|
|
4114
|
-
index.h("button", { onClick: () => index_module
|
|
4104
|
+
index.h("button", { onClick: () => index_module.jn.push("/") }, "Dashboard"),
|
|
4105
|
+
props.leadSubmit && (index.h("button", { onClick: () => index_module.jn.push("/refer") }, "Submit a Referral")),
|
|
4106
|
+
index.h("button", { onClick: () => index_module.jn.push("/activity") }, "Activity"),
|
|
4107
|
+
index.h("button", { onClick: () => index_module.jn.push("/editProfile") }, "Edit Profile"),
|
|
4108
|
+
index.h("button", { onClick: () => index_module.jn.push("/login") }, "Login"),
|
|
4109
|
+
index.h("button", { onClick: () => index_module.jn.push("/register") }, "Register"),
|
|
4110
|
+
index.h("button", { onClick: () => index_module.jn.push("/emailVerification") }, "Email Verification"),
|
|
4111
|
+
index.h("button", { onClick: () => index_module.jn.push("/verifyEmail") }, "Verify Email"),
|
|
4112
|
+
index.h("button", { onClick: () => index_module.jn.push("/forgotPassword") }, "Forgot Password"),
|
|
4113
|
+
index.h("button", { onClick: () => index_module.jn.push("/resetPassword") }, "Reset Password")),
|
|
4115
4114
|
index.h("br", null),
|
|
4116
4115
|
index.h("div", { innerHTML: states.previewTemplate })));
|
|
4117
4116
|
}
|
|
@@ -8192,10 +8191,73 @@ const ChangePassword = /*#__PURE__*/Object.freeze({
|
|
|
8192
8191
|
Success: Success
|
|
8193
8192
|
});
|
|
8194
8193
|
|
|
8194
|
+
// import scenario from "./sqm-marketing-emails-checkbox.feature";
|
|
8195
|
+
const ChangeMarketing_stories = {
|
|
8196
|
+
title: "Components/Change Marketing Emails Status",
|
|
8197
|
+
};
|
|
8198
|
+
const defaultProps$9 = {
|
|
8199
|
+
states: {
|
|
8200
|
+
success: false,
|
|
8201
|
+
loading: false,
|
|
8202
|
+
submitDisabled: false,
|
|
8203
|
+
formState: {
|
|
8204
|
+
marketingEmailOptIn: false,
|
|
8205
|
+
errors: null,
|
|
8206
|
+
error: "",
|
|
8207
|
+
},
|
|
8208
|
+
user: {
|
|
8209
|
+
id: "zach",
|
|
8210
|
+
accountId: "zach",
|
|
8211
|
+
marketingEmailOptIn: false,
|
|
8212
|
+
},
|
|
8213
|
+
text: {
|
|
8214
|
+
emailPreferencesHeader: "Email preferences",
|
|
8215
|
+
marketingCheckboxLabel: "I want to receive marketing emails and promotions for this referral program from impact.com",
|
|
8216
|
+
submitChangeButtonText: "Save",
|
|
8217
|
+
successMessage: "Opt-in preference has been changed.",
|
|
8218
|
+
},
|
|
8219
|
+
},
|
|
8220
|
+
callbacks: {
|
|
8221
|
+
onSubmit: (props) => console.log(props),
|
|
8222
|
+
setChecked: (value) => console.log(value),
|
|
8223
|
+
},
|
|
8224
|
+
};
|
|
8225
|
+
const Default$a = () => {
|
|
8226
|
+
return index.h("sqm-portal-change-marketing", null);
|
|
8227
|
+
};
|
|
8228
|
+
const Loading$2 = () => {
|
|
8229
|
+
return (index.h(ShadowViewAddon.ChangeMarktingView, Object.assign({}, defaultProps$9, { states: { ...defaultProps$9.states, loading: true } })));
|
|
8230
|
+
};
|
|
8231
|
+
const Error$3 = () => {
|
|
8232
|
+
return (index.h(ShadowViewAddon.ChangeMarktingView, Object.assign({}, defaultProps$9, { states: {
|
|
8233
|
+
...defaultProps$9.states,
|
|
8234
|
+
formState: {
|
|
8235
|
+
...defaultProps$9.states.formState,
|
|
8236
|
+
errors: { error: true },
|
|
8237
|
+
error: "An error string",
|
|
8238
|
+
},
|
|
8239
|
+
} })));
|
|
8240
|
+
};
|
|
8241
|
+
const Success$1 = () => {
|
|
8242
|
+
return (index.h(ShadowViewAddon.ChangeMarktingView, Object.assign({}, defaultProps$9, { states: {
|
|
8243
|
+
...defaultProps$9.states,
|
|
8244
|
+
success: true,
|
|
8245
|
+
} })));
|
|
8246
|
+
};
|
|
8247
|
+
|
|
8248
|
+
const ChangeMarketing = /*#__PURE__*/Object.freeze({
|
|
8249
|
+
__proto__: null,
|
|
8250
|
+
'default': ChangeMarketing_stories,
|
|
8251
|
+
Default: Default$a,
|
|
8252
|
+
Loading: Loading$2,
|
|
8253
|
+
Error: Error$3,
|
|
8254
|
+
Success: Success$1
|
|
8255
|
+
});
|
|
8256
|
+
|
|
8195
8257
|
const PortalProfile_stories = {
|
|
8196
8258
|
title: "Components/Microsite Profile",
|
|
8197
8259
|
};
|
|
8198
|
-
const defaultProps$
|
|
8260
|
+
const defaultProps$a = {
|
|
8199
8261
|
states: {
|
|
8200
8262
|
success: false,
|
|
8201
8263
|
loading: false,
|
|
@@ -8411,22 +8473,22 @@ const successProps$4 = {
|
|
|
8411
8473
|
onChange: (e) => console.log(e),
|
|
8412
8474
|
},
|
|
8413
8475
|
};
|
|
8414
|
-
const Default$
|
|
8476
|
+
const Default$b = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$a));
|
|
8415
8477
|
const DefaultNoCountry = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, noCountry));
|
|
8416
|
-
const Loading$
|
|
8478
|
+
const Loading$3 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, loadingProps$7));
|
|
8417
8479
|
const Disabled$1 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, disabledProps));
|
|
8418
|
-
const Error$
|
|
8419
|
-
const Success$
|
|
8480
|
+
const Error$4 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, errorProps$8));
|
|
8481
|
+
const Success$2 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, successProps$4));
|
|
8420
8482
|
|
|
8421
8483
|
const PortalProfile = /*#__PURE__*/Object.freeze({
|
|
8422
8484
|
__proto__: null,
|
|
8423
8485
|
'default': PortalProfile_stories,
|
|
8424
|
-
Default: Default$
|
|
8486
|
+
Default: Default$b,
|
|
8425
8487
|
DefaultNoCountry: DefaultNoCountry,
|
|
8426
|
-
Loading: Loading$
|
|
8488
|
+
Loading: Loading$3,
|
|
8427
8489
|
Disabled: Disabled$1,
|
|
8428
|
-
Error: Error$
|
|
8429
|
-
Success: Success$
|
|
8490
|
+
Error: Error$4,
|
|
8491
|
+
Success: Success$2
|
|
8430
8492
|
});
|
|
8431
8493
|
|
|
8432
8494
|
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";
|
|
@@ -10381,7 +10443,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
|
|
|
10381
10443
|
const PoweredByImg_stories = {
|
|
10382
10444
|
title: "Powered By",
|
|
10383
10445
|
};
|
|
10384
|
-
const Default$
|
|
10446
|
+
const Default$c = () => {
|
|
10385
10447
|
return index.h(ShadowViewAddon.PoweredByImg, null);
|
|
10386
10448
|
};
|
|
10387
10449
|
const CustomColor = () => {
|
|
@@ -10394,7 +10456,7 @@ const CustomWidthAndHeight = () => {
|
|
|
10394
10456
|
const PoweredByImg = /*#__PURE__*/Object.freeze({
|
|
10395
10457
|
__proto__: null,
|
|
10396
10458
|
'default': PoweredByImg_stories,
|
|
10397
|
-
Default: Default$
|
|
10459
|
+
Default: Default$c,
|
|
10398
10460
|
CustomColor: CustomColor,
|
|
10399
10461
|
CustomWidthAndHeight: CustomWidthAndHeight
|
|
10400
10462
|
});
|
|
@@ -10407,7 +10469,7 @@ const PortalFooter_stories = {
|
|
|
10407
10469
|
scenario: scenario$f,
|
|
10408
10470
|
},
|
|
10409
10471
|
};
|
|
10410
|
-
const defaultProps$
|
|
10472
|
+
const defaultProps$b = {
|
|
10411
10473
|
supportEmail: "support@example.com",
|
|
10412
10474
|
supportText: "For program support, contact {email}",
|
|
10413
10475
|
hidePoweredBy: false,
|
|
@@ -10417,12 +10479,12 @@ const defaultProps$a = {
|
|
|
10417
10479
|
paddingBottom: "large",
|
|
10418
10480
|
paddingLeft: "large",
|
|
10419
10481
|
};
|
|
10420
|
-
const DefaultFooter = () => index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$
|
|
10421
|
-
const FooterWithTerms = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$
|
|
10422
|
-
const FooterWithFAQ = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$
|
|
10423
|
-
const FooterWithTermsAndFAQ = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$
|
|
10424
|
-
const FooterNoPoweredBy = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$
|
|
10425
|
-
const FooterNoSupportText = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$
|
|
10482
|
+
const DefaultFooter = () => index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$b));
|
|
10483
|
+
const FooterWithTerms = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$b, { termsLink: "https://example.com", termsText: "Terms and Conditions" })));
|
|
10484
|
+
const FooterWithFAQ = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$b, { faqLink: "https://example.com", faqText: "FAQ" })));
|
|
10485
|
+
const FooterWithTermsAndFAQ = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$b, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
|
|
10486
|
+
const FooterNoPoweredBy = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$b, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hidePoweredBy: true })));
|
|
10487
|
+
const FooterNoSupportText = () => (index.h(ShadowViewAddon.PortalFooterView, Object.assign({}, defaultProps$b, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hideSupportText: true })));
|
|
10426
10488
|
|
|
10427
10489
|
const PortalFooter = /*#__PURE__*/Object.freeze({
|
|
10428
10490
|
__proto__: null,
|
|
@@ -10740,7 +10802,7 @@ const CheckboxField_stories = {
|
|
|
10740
10802
|
scenario: scenario$j,
|
|
10741
10803
|
},
|
|
10742
10804
|
};
|
|
10743
|
-
const defaultProps$
|
|
10805
|
+
const defaultProps$c = {
|
|
10744
10806
|
states: {
|
|
10745
10807
|
registrationFormState: {
|
|
10746
10808
|
validationErrors: {},
|
|
@@ -10781,32 +10843,32 @@ const defaultRegisterProps = {
|
|
|
10781
10843
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
10782
10844
|
},
|
|
10783
10845
|
};
|
|
10784
|
-
const Default$
|
|
10785
|
-
const DefaultChecked = createHookStory(() => (index.h(
|
|
10786
|
-
...defaultProps$
|
|
10846
|
+
const Default$d = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$c))));
|
|
10847
|
+
const DefaultChecked = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10848
|
+
...defaultProps$c.states,
|
|
10787
10849
|
checked: true,
|
|
10788
10850
|
} }))));
|
|
10789
|
-
const CustomLabel = createHookStory(() => (index.h(
|
|
10790
|
-
...defaultProps$
|
|
10851
|
+
const CustomLabel = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$c, { content: {
|
|
10852
|
+
...defaultProps$c.content,
|
|
10791
10853
|
checkboxLabel: "I Agree",
|
|
10792
10854
|
} }))));
|
|
10793
|
-
const Error$
|
|
10794
|
-
...defaultProps$
|
|
10855
|
+
const Error$5 = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10856
|
+
...defaultProps$c.states,
|
|
10795
10857
|
registrationFormState: {
|
|
10796
10858
|
validationErrors: {
|
|
10797
10859
|
agree: "Must be checked",
|
|
10798
10860
|
},
|
|
10799
10861
|
},
|
|
10800
10862
|
} }))));
|
|
10801
|
-
const CustomError = createHookStory(() => (index.h(
|
|
10802
|
-
...defaultProps$
|
|
10863
|
+
const CustomError = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10864
|
+
...defaultProps$c.states,
|
|
10803
10865
|
registrationFormState: {
|
|
10804
10866
|
validationErrors: {
|
|
10805
10867
|
agree: "Must be checked",
|
|
10806
10868
|
},
|
|
10807
10869
|
},
|
|
10808
10870
|
}, content: {
|
|
10809
|
-
...defaultProps$
|
|
10871
|
+
...defaultProps$c.content,
|
|
10810
10872
|
errorMessage: "This checkbox must be checked to continue",
|
|
10811
10873
|
} }))));
|
|
10812
10874
|
const TermsAndConditions$2 = createHookStory(() => (index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
@@ -10836,17 +10898,17 @@ const TermsAndConditionsLongCustomLabel = createHookStory(() => (index.h(ShadowV
|
|
|
10836
10898
|
const CheckboxField = /*#__PURE__*/Object.freeze({
|
|
10837
10899
|
__proto__: null,
|
|
10838
10900
|
'default': CheckboxField_stories,
|
|
10839
|
-
Default: Default$
|
|
10901
|
+
Default: Default$d,
|
|
10840
10902
|
DefaultChecked: DefaultChecked,
|
|
10841
10903
|
CustomLabel: CustomLabel,
|
|
10842
|
-
Error: Error$
|
|
10904
|
+
Error: Error$5,
|
|
10843
10905
|
CustomError: CustomError,
|
|
10844
10906
|
TermsAndConditions: TermsAndConditions$2,
|
|
10845
10907
|
TermsAndConditionsCustomLabel: TermsAndConditionsCustomLabel,
|
|
10846
10908
|
TermsAndConditionsLongCustomLabel: TermsAndConditionsLongCustomLabel
|
|
10847
10909
|
});
|
|
10848
10910
|
|
|
10849
|
-
const scenario$k = "@owner:zach\n@author:zach\nFeature: Marketing Emails Checkbox\n\n A checkbox that is used to opt in for
|
|
10911
|
+
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";
|
|
10850
10912
|
|
|
10851
10913
|
const MarketingEmailsCheckbox_stories = {
|
|
10852
10914
|
title: "Components/Marketing Emails Checkbox",
|
|
@@ -10854,14 +10916,14 @@ const MarketingEmailsCheckbox_stories = {
|
|
|
10854
10916
|
scenario: scenario$k,
|
|
10855
10917
|
},
|
|
10856
10918
|
};
|
|
10857
|
-
const Default$
|
|
10919
|
+
const Default$e = () => {
|
|
10858
10920
|
return index.h("sqm-marketing-emails-checkbox", null);
|
|
10859
10921
|
};
|
|
10860
10922
|
|
|
10861
10923
|
const MarketingEmailsCheckbox = /*#__PURE__*/Object.freeze({
|
|
10862
10924
|
__proto__: null,
|
|
10863
10925
|
'default': MarketingEmailsCheckbox_stories,
|
|
10864
|
-
Default: Default$
|
|
10926
|
+
Default: Default$e
|
|
10865
10927
|
});
|
|
10866
10928
|
|
|
10867
10929
|
const UseCheckboxField_stories = {
|
|
@@ -10941,7 +11003,7 @@ const UseCheckboxField = /*#__PURE__*/Object.freeze({
|
|
|
10941
11003
|
const DropdownField_stories = {
|
|
10942
11004
|
title: "Components/Dropdown Field",
|
|
10943
11005
|
};
|
|
10944
|
-
const defaultProps$
|
|
11006
|
+
const defaultProps$d = {
|
|
10945
11007
|
states: {
|
|
10946
11008
|
registrationFormState: {},
|
|
10947
11009
|
},
|
|
@@ -10956,24 +11018,24 @@ const defaultProps$c = {
|
|
|
10956
11018
|
],
|
|
10957
11019
|
},
|
|
10958
11020
|
};
|
|
10959
|
-
const Default$
|
|
10960
|
-
const CustomLabel$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$
|
|
10961
|
-
...defaultProps$
|
|
11021
|
+
const Default$f = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$d))));
|
|
11022
|
+
const CustomLabel$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$d, { content: {
|
|
11023
|
+
...defaultProps$d.content,
|
|
10962
11024
|
dropdownLabel: "Pick your favorite",
|
|
10963
11025
|
} }))));
|
|
10964
|
-
const Error$
|
|
10965
|
-
...defaultProps$
|
|
11026
|
+
const Error$6 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$d, { states: {
|
|
11027
|
+
...defaultProps$d.states,
|
|
10966
11028
|
registrationFormState: {
|
|
10967
11029
|
validationErrors: {
|
|
10968
11030
|
options: "Must select an option",
|
|
10969
11031
|
},
|
|
10970
11032
|
},
|
|
10971
11033
|
} }))));
|
|
10972
|
-
const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$
|
|
10973
|
-
...defaultProps$
|
|
11034
|
+
const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$d, { content: {
|
|
11035
|
+
...defaultProps$d.content,
|
|
10974
11036
|
errorMessage: "An option must be selected to continue",
|
|
10975
11037
|
}, states: {
|
|
10976
|
-
...defaultProps$
|
|
11038
|
+
...defaultProps$d.states,
|
|
10977
11039
|
registrationFormState: {
|
|
10978
11040
|
validationErrors: {
|
|
10979
11041
|
options: "Must select an option",
|
|
@@ -10984,9 +11046,9 @@ const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFie
|
|
|
10984
11046
|
const DropdownField = /*#__PURE__*/Object.freeze({
|
|
10985
11047
|
__proto__: null,
|
|
10986
11048
|
'default': DropdownField_stories,
|
|
10987
|
-
Default: Default$
|
|
11049
|
+
Default: Default$f,
|
|
10988
11050
|
CustomLabel: CustomLabel$1,
|
|
10989
|
-
Error: Error$
|
|
11051
|
+
Error: Error$6,
|
|
10990
11052
|
CustomError: CustomError$1
|
|
10991
11053
|
});
|
|
10992
11054
|
|
|
@@ -11057,7 +11119,7 @@ const InputField_stories = {
|
|
|
11057
11119
|
scenario: scenario$l,
|
|
11058
11120
|
},
|
|
11059
11121
|
};
|
|
11060
|
-
const defaultProps$
|
|
11122
|
+
const defaultProps$e = {
|
|
11061
11123
|
states: {
|
|
11062
11124
|
registrationFormState: {
|
|
11063
11125
|
validationErrors: {},
|
|
@@ -11094,21 +11156,21 @@ const defaultRegisterProps$1 = {
|
|
|
11094
11156
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
11095
11157
|
},
|
|
11096
11158
|
};
|
|
11097
|
-
const Default$
|
|
11098
|
-
const CustomLabel$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$
|
|
11099
|
-
const Error$
|
|
11100
|
-
...defaultProps$
|
|
11159
|
+
const Default$g = () => index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$e));
|
|
11160
|
+
const CustomLabel$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$e, { content: { ...defaultProps$e.content, fieldLabel: "My Label" } })));
|
|
11161
|
+
const Error$7 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$e, { states: {
|
|
11162
|
+
...defaultProps$e.states,
|
|
11101
11163
|
registrationFormState: {
|
|
11102
11164
|
validationErrors: {
|
|
11103
11165
|
field: "Cannot be empty",
|
|
11104
11166
|
},
|
|
11105
11167
|
},
|
|
11106
11168
|
} })));
|
|
11107
|
-
const CustomError$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$
|
|
11108
|
-
...defaultProps$
|
|
11169
|
+
const CustomError$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11170
|
+
...defaultProps$e.content,
|
|
11109
11171
|
errorMessage: "A value must be entered to continue",
|
|
11110
11172
|
}, states: {
|
|
11111
|
-
...defaultProps$
|
|
11173
|
+
...defaultProps$e.states,
|
|
11112
11174
|
registrationFormState: {
|
|
11113
11175
|
validationErrors: {
|
|
11114
11176
|
field: "Cannot be empty",
|
|
@@ -11116,27 +11178,27 @@ const CustomError$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assi
|
|
|
11116
11178
|
},
|
|
11117
11179
|
} })));
|
|
11118
11180
|
const DateType = () => {
|
|
11119
|
-
return (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$
|
|
11120
|
-
...defaultProps$
|
|
11181
|
+
return (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11182
|
+
...defaultProps$e.content,
|
|
11121
11183
|
fieldLabel: "Date",
|
|
11122
11184
|
fieldType: "date",
|
|
11123
11185
|
} })));
|
|
11124
11186
|
};
|
|
11125
11187
|
const TelType = () => {
|
|
11126
|
-
return (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$
|
|
11127
|
-
...defaultProps$
|
|
11188
|
+
return (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11189
|
+
...defaultProps$e.content,
|
|
11128
11190
|
fieldLabel: "Phone Number",
|
|
11129
11191
|
fieldType: "tel",
|
|
11130
11192
|
} })));
|
|
11131
11193
|
};
|
|
11132
11194
|
const RegistrationField = () => (index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultRegisterProps$1, { content: {
|
|
11133
11195
|
...defaultRegisterProps$1.content,
|
|
11134
|
-
formData: index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$
|
|
11196
|
+
formData: index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$e)),
|
|
11135
11197
|
} })));
|
|
11136
11198
|
const RegistrationFieldCustomLabel = () => (index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultRegisterProps$1, { content: {
|
|
11137
11199
|
...defaultRegisterProps$1.content,
|
|
11138
|
-
formData: (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$
|
|
11139
|
-
...defaultProps$
|
|
11200
|
+
formData: (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$e, { content: {
|
|
11201
|
+
...defaultProps$e.content,
|
|
11140
11202
|
fieldLabel: "Data",
|
|
11141
11203
|
} }))),
|
|
11142
11204
|
} })));
|
|
@@ -11144,9 +11206,9 @@ const RegistrationFieldCustomLabel = () => (index.h(ShadowViewAddon.PortalRegist
|
|
|
11144
11206
|
const InputField = /*#__PURE__*/Object.freeze({
|
|
11145
11207
|
__proto__: null,
|
|
11146
11208
|
'default': InputField_stories,
|
|
11147
|
-
Default: Default$
|
|
11209
|
+
Default: Default$g,
|
|
11148
11210
|
CustomLabel: CustomLabel$2,
|
|
11149
|
-
Error: Error$
|
|
11211
|
+
Error: Error$7,
|
|
11150
11212
|
CustomError: CustomError$2,
|
|
11151
11213
|
DateType: DateType,
|
|
11152
11214
|
TelType: TelType,
|
|
@@ -11266,7 +11328,7 @@ const RedemptionError = StoryBase(ShadowViewAddon.redemptionError);
|
|
|
11266
11328
|
const QueryError = StoryBase(ShadowViewAddon.queryError);
|
|
11267
11329
|
const SuccessPromo = StoryBase(ShadowViewAddon.success);
|
|
11268
11330
|
const SuccessVariableAndStepped = StoryBase(ShadowViewAddon.successVariable);
|
|
11269
|
-
const Loading$
|
|
11331
|
+
const Loading$4 = StoryBase(ShadowViewAddon.loading);
|
|
11270
11332
|
const Empty$2 = StoryBase(ShadowViewAddon.empty);
|
|
11271
11333
|
|
|
11272
11334
|
const RewardExchangeList = /*#__PURE__*/Object.freeze({
|
|
@@ -11288,7 +11350,7 @@ const RewardExchangeList = /*#__PURE__*/Object.freeze({
|
|
|
11288
11350
|
QueryError: QueryError,
|
|
11289
11351
|
SuccessPromo: SuccessPromo,
|
|
11290
11352
|
SuccessVariableAndStepped: SuccessVariableAndStepped,
|
|
11291
|
-
Loading: Loading$
|
|
11353
|
+
Loading: Loading$4,
|
|
11292
11354
|
Empty: Empty$2
|
|
11293
11355
|
});
|
|
11294
11356
|
|
|
@@ -13942,7 +14004,7 @@ const CopyButtonBelow$1 = () => {
|
|
|
13942
14004
|
buttonStyle: "button-below",
|
|
13943
14005
|
})));
|
|
13944
14006
|
};
|
|
13945
|
-
const Error$
|
|
14007
|
+
const Error$8 = () => {
|
|
13946
14008
|
const props = {
|
|
13947
14009
|
copyString: "https://noah.example.com",
|
|
13948
14010
|
disabled: true,
|
|
@@ -13963,7 +14025,7 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
13963
14025
|
CustomTooltipDuration: CustomTooltipDuration,
|
|
13964
14026
|
CopyButton: CopyButton$1,
|
|
13965
14027
|
CopyButtonBelow: CopyButtonBelow$1,
|
|
13966
|
-
Error: Error$
|
|
14028
|
+
Error: Error$8
|
|
13967
14029
|
});
|
|
13968
14030
|
|
|
13969
14031
|
// import scenario from "./ShareCode.feature";
|
|
@@ -13973,7 +14035,7 @@ const EmailRegistration_stories = {
|
|
|
13973
14035
|
// scenario,
|
|
13974
14036
|
},
|
|
13975
14037
|
};
|
|
13976
|
-
const defaultProps$
|
|
14038
|
+
const defaultProps$f = {
|
|
13977
14039
|
states: {
|
|
13978
14040
|
error: "",
|
|
13979
14041
|
loading: false,
|
|
@@ -13992,59 +14054,59 @@ const defaultProps$e = {
|
|
|
13992
14054
|
fraudErrorMessageTitle: "Looks like you tried referring yourself",
|
|
13993
14055
|
},
|
|
13994
14056
|
};
|
|
13995
|
-
const Default$
|
|
14057
|
+
const Default$h = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$f));
|
|
13996
14058
|
const HasFirstNameLastName = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
13997
|
-
...defaultProps$
|
|
14059
|
+
...defaultProps$f,
|
|
13998
14060
|
content: {
|
|
13999
|
-
...defaultProps$
|
|
14061
|
+
...defaultProps$f.content,
|
|
14000
14062
|
includeName: true,
|
|
14001
14063
|
},
|
|
14002
14064
|
})));
|
|
14003
14065
|
const WithSlots = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
14004
|
-
...defaultProps$
|
|
14066
|
+
...defaultProps$f,
|
|
14005
14067
|
content: {
|
|
14006
|
-
...defaultProps$
|
|
14068
|
+
...defaultProps$f.content,
|
|
14007
14069
|
topSlot: index.h("div", null, "Hello this is the top slot"),
|
|
14008
14070
|
bottomSlot: index.h("div", null, "Hello this is the bottom slot"),
|
|
14009
14071
|
},
|
|
14010
14072
|
})));
|
|
14011
14073
|
const NoBorder$1 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
14012
|
-
...defaultProps$
|
|
14074
|
+
...defaultProps$f,
|
|
14013
14075
|
content: {
|
|
14014
|
-
...defaultProps$
|
|
14076
|
+
...defaultProps$f.content,
|
|
14015
14077
|
hideBorder: true,
|
|
14016
14078
|
},
|
|
14017
14079
|
})));
|
|
14018
14080
|
const BackgroundColor$2 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
14019
|
-
...defaultProps$
|
|
14081
|
+
...defaultProps$f,
|
|
14020
14082
|
content: {
|
|
14021
|
-
...defaultProps$
|
|
14083
|
+
...defaultProps$f.content,
|
|
14022
14084
|
backgroundColor: "aquamarine",
|
|
14023
14085
|
},
|
|
14024
14086
|
})));
|
|
14025
|
-
const Loading$
|
|
14026
|
-
...defaultProps$
|
|
14087
|
+
const Loading$5 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
14088
|
+
...defaultProps$f,
|
|
14027
14089
|
states: {
|
|
14028
14090
|
error: "",
|
|
14029
14091
|
loading: true,
|
|
14030
14092
|
},
|
|
14031
14093
|
})));
|
|
14032
|
-
const Error$
|
|
14033
|
-
...defaultProps$
|
|
14094
|
+
const Error$9 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
14095
|
+
...defaultProps$f,
|
|
14034
14096
|
states: {
|
|
14035
14097
|
error: "Something went wrong. Please try again.",
|
|
14036
14098
|
loading: false,
|
|
14037
14099
|
},
|
|
14038
14100
|
})));
|
|
14039
14101
|
const FraudError = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
14040
|
-
...defaultProps$
|
|
14102
|
+
...defaultProps$f,
|
|
14041
14103
|
states: {
|
|
14042
14104
|
error: "FRAUD",
|
|
14043
14105
|
loading: false,
|
|
14044
14106
|
},
|
|
14045
14107
|
})));
|
|
14046
14108
|
const EmptyEmailError = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
14047
|
-
...defaultProps$
|
|
14109
|
+
...defaultProps$f,
|
|
14048
14110
|
states: {
|
|
14049
14111
|
error: "Something went wrong. Please try again.",
|
|
14050
14112
|
loading: false,
|
|
@@ -14057,13 +14119,13 @@ const EmptyEmailError = () => (index.h(emailRegistrationView.EmailRegistrationVi
|
|
|
14057
14119
|
const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
14058
14120
|
__proto__: null,
|
|
14059
14121
|
'default': EmailRegistration_stories,
|
|
14060
|
-
Default: Default$
|
|
14122
|
+
Default: Default$h,
|
|
14061
14123
|
HasFirstNameLastName: HasFirstNameLastName,
|
|
14062
14124
|
WithSlots: WithSlots,
|
|
14063
14125
|
NoBorder: NoBorder$1,
|
|
14064
14126
|
BackgroundColor: BackgroundColor$2,
|
|
14065
|
-
Loading: Loading$
|
|
14066
|
-
Error: Error$
|
|
14127
|
+
Loading: Loading$5,
|
|
14128
|
+
Error: Error$9,
|
|
14067
14129
|
FraudError: FraudError,
|
|
14068
14130
|
EmptyEmailError: EmptyEmailError
|
|
14069
14131
|
});
|
|
@@ -14076,7 +14138,7 @@ const CouponCode_stories = {
|
|
|
14076
14138
|
scenario: scenario$B,
|
|
14077
14139
|
},
|
|
14078
14140
|
};
|
|
14079
|
-
const defaultProps$
|
|
14141
|
+
const defaultProps$g = {
|
|
14080
14142
|
tooltiptext: "Copied to Clipboard",
|
|
14081
14143
|
copyString: "THANKSJANE125uv125",
|
|
14082
14144
|
open: false,
|
|
@@ -14101,43 +14163,43 @@ const TextAlignRight$2 = () => {
|
|
|
14101
14163
|
return index.h("sqm-coupon-code", { textAlign: "right" });
|
|
14102
14164
|
};
|
|
14103
14165
|
const CopyButton$2 = () => {
|
|
14104
|
-
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$
|
|
14166
|
+
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$g, { buttonStyle: "button-outside" })));
|
|
14105
14167
|
};
|
|
14106
14168
|
const CopyButtonCustomLabel = () => {
|
|
14107
|
-
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$
|
|
14169
|
+
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$g, { buttonStyle: "button-outside", "copy-button-label": "test long custom label" })));
|
|
14108
14170
|
};
|
|
14109
14171
|
const CopyButtonBelow$2 = () => {
|
|
14110
|
-
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$
|
|
14172
|
+
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$g, { buttonStyle: "button-below" })));
|
|
14111
14173
|
};
|
|
14112
14174
|
const CopyButtonBelowCustomLabel = () => {
|
|
14113
|
-
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$
|
|
14175
|
+
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$g, { buttonStyle: "button-below", "copy-button-label": "test long custom label" })));
|
|
14114
14176
|
};
|
|
14115
|
-
const Loading$
|
|
14116
|
-
return index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$
|
|
14177
|
+
const Loading$6 = () => {
|
|
14178
|
+
return index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$g, { loading: true }));
|
|
14117
14179
|
};
|
|
14118
14180
|
const CopyButtonLoading = () => {
|
|
14119
|
-
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$
|
|
14181
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$g, { buttonStyle: "button-outside", loading: true })));
|
|
14120
14182
|
};
|
|
14121
14183
|
const CopyButtonBelowLoading = () => {
|
|
14122
|
-
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$
|
|
14184
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$g, { buttonStyle: "button-below", loading: true })));
|
|
14123
14185
|
};
|
|
14124
14186
|
const ErrorGeneric = () => {
|
|
14125
|
-
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$
|
|
14187
|
+
return (index.h(ShadowViewAddon.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." })));
|
|
14126
14188
|
};
|
|
14127
14189
|
const ErrorPending = () => {
|
|
14128
|
-
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$
|
|
14190
|
+
return (index.h(ShadowViewAddon.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!" })));
|
|
14129
14191
|
};
|
|
14130
14192
|
const ErrorFullfillment = () => {
|
|
14131
|
-
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$
|
|
14193
|
+
return (index.h(ShadowViewAddon.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." })));
|
|
14132
14194
|
};
|
|
14133
14195
|
const ErrorCancelled = () => {
|
|
14134
|
-
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$
|
|
14196
|
+
return (index.h(ShadowViewAddon.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." })));
|
|
14135
14197
|
};
|
|
14136
14198
|
const ErrorExpired = () => {
|
|
14137
|
-
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$
|
|
14199
|
+
return (index.h(ShadowViewAddon.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." })));
|
|
14138
14200
|
};
|
|
14139
14201
|
const ErrorRedeemed = () => {
|
|
14140
|
-
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$
|
|
14202
|
+
return (index.h(ShadowViewAddon.CouponCodeView, Object.assign({}, defaultProps$g, { errorType: "success", error: true, errorText: "Looks like you\u2019ve already redeemed this code." })));
|
|
14141
14203
|
};
|
|
14142
14204
|
|
|
14143
14205
|
const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -14152,7 +14214,7 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14152
14214
|
CopyButtonCustomLabel: CopyButtonCustomLabel,
|
|
14153
14215
|
CopyButtonBelow: CopyButtonBelow$2,
|
|
14154
14216
|
CopyButtonBelowCustomLabel: CopyButtonBelowCustomLabel,
|
|
14155
|
-
Loading: Loading$
|
|
14217
|
+
Loading: Loading$6,
|
|
14156
14218
|
CopyButtonLoading: CopyButtonLoading,
|
|
14157
14219
|
CopyButtonBelowLoading: CopyButtonBelowLoading,
|
|
14158
14220
|
ErrorGeneric: ErrorGeneric,
|
|
@@ -14171,21 +14233,21 @@ const LogoutCurrentUser_stories = {
|
|
|
14171
14233
|
scenario: scenario$C,
|
|
14172
14234
|
},
|
|
14173
14235
|
};
|
|
14174
|
-
const defaultProps$
|
|
14236
|
+
const defaultProps$h = {
|
|
14175
14237
|
filledInEmailText: "Currently showing referral data for noah.clarke@saasquatch.com",
|
|
14176
14238
|
onSwitchClick: () => console.log("clicked"),
|
|
14177
14239
|
switchUserText: "not you?",
|
|
14178
14240
|
loading: false,
|
|
14179
14241
|
emailErrorText: "Error fetching email",
|
|
14180
14242
|
};
|
|
14181
|
-
const Default$
|
|
14182
|
-
return index.h(sqmLogoutCurrentUserView.LogoutCurrentUserView, Object.assign({}, defaultProps$
|
|
14243
|
+
const Default$i = () => {
|
|
14244
|
+
return index.h(sqmLogoutCurrentUserView.LogoutCurrentUserView, Object.assign({}, defaultProps$h));
|
|
14183
14245
|
};
|
|
14184
14246
|
|
|
14185
14247
|
const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
|
|
14186
14248
|
__proto__: null,
|
|
14187
14249
|
'default': LogoutCurrentUser_stories,
|
|
14188
|
-
Default: Default$
|
|
14250
|
+
Default: Default$i
|
|
14189
14251
|
});
|
|
14190
14252
|
|
|
14191
14253
|
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 |";
|
|
@@ -14196,22 +14258,22 @@ const LinkButton_stories = {
|
|
|
14196
14258
|
scenario: scenario$D,
|
|
14197
14259
|
},
|
|
14198
14260
|
};
|
|
14199
|
-
const defaultProps$
|
|
14261
|
+
const defaultProps$i = {
|
|
14200
14262
|
link: "https://example.com",
|
|
14201
14263
|
openInNewTab: false,
|
|
14202
14264
|
buttonText: "Button Text",
|
|
14203
14265
|
};
|
|
14204
|
-
const Default$
|
|
14205
|
-
return index.h("sqm-link-button", Object.assign({}, defaultProps$
|
|
14266
|
+
const Default$j = () => {
|
|
14267
|
+
return index.h("sqm-link-button", Object.assign({}, defaultProps$i));
|
|
14206
14268
|
};
|
|
14207
14269
|
const OpenInNewTab = () => {
|
|
14208
|
-
return (index.h("sqm-link-button", Object.assign({}, { ...defaultProps$
|
|
14270
|
+
return (index.h("sqm-link-button", Object.assign({}, { ...defaultProps$i, openInNewTab: true })));
|
|
14209
14271
|
};
|
|
14210
14272
|
|
|
14211
14273
|
const LinkButton = /*#__PURE__*/Object.freeze({
|
|
14212
14274
|
__proto__: null,
|
|
14213
14275
|
'default': LinkButton_stories,
|
|
14214
|
-
Default: Default$
|
|
14276
|
+
Default: Default$j,
|
|
14215
14277
|
OpenInNewTab: OpenInNewTab
|
|
14216
14278
|
});
|
|
14217
14279
|
|
|
@@ -14221,7 +14283,7 @@ const CloseButton_stories = {
|
|
|
14221
14283
|
// scenario,
|
|
14222
14284
|
},
|
|
14223
14285
|
};
|
|
14224
|
-
const defaultProps$
|
|
14286
|
+
const defaultProps$j = {};
|
|
14225
14287
|
const containerStyles = {
|
|
14226
14288
|
position: "relative",
|
|
14227
14289
|
width: "500px",
|
|
@@ -14229,22 +14291,22 @@ const containerStyles = {
|
|
|
14229
14291
|
border: "1px solid black",
|
|
14230
14292
|
padding: "25px",
|
|
14231
14293
|
};
|
|
14232
|
-
const Default$
|
|
14233
|
-
return index.h(sqmCloseButtonView.CloseButtonView, Object.assign({}, defaultProps$
|
|
14294
|
+
const Default$k = () => {
|
|
14295
|
+
return index.h(sqmCloseButtonView.CloseButtonView, Object.assign({}, defaultProps$j));
|
|
14234
14296
|
};
|
|
14235
14297
|
const InAContainer = () => {
|
|
14236
14298
|
return (index.h("div", { style: containerStyles },
|
|
14237
|
-
index.h(sqmCloseButtonView.CloseButtonView, Object.assign({}, defaultProps$
|
|
14299
|
+
index.h(sqmCloseButtonView.CloseButtonView, Object.assign({}, defaultProps$j))));
|
|
14238
14300
|
};
|
|
14239
14301
|
const CustomColor$1 = () => {
|
|
14240
14302
|
return (index.h("div", { style: containerStyles },
|
|
14241
|
-
index.h(sqmCloseButtonView.CloseButtonView, Object.assign({}, { ...defaultProps$
|
|
14303
|
+
index.h(sqmCloseButtonView.CloseButtonView, Object.assign({}, { ...defaultProps$j, color: "blue" }))));
|
|
14242
14304
|
};
|
|
14243
14305
|
|
|
14244
14306
|
const CloseButton = /*#__PURE__*/Object.freeze({
|
|
14245
14307
|
__proto__: null,
|
|
14246
14308
|
'default': CloseButton_stories,
|
|
14247
|
-
Default: Default$
|
|
14309
|
+
Default: Default$k,
|
|
14248
14310
|
InAContainer: InAContainer,
|
|
14249
14311
|
CustomColor: CustomColor$1
|
|
14250
14312
|
});
|
|
@@ -14434,17 +14496,17 @@ const RadioCardView = ({ title, icon, description, selected, }) => {
|
|
|
14434
14496
|
const RadioCard_stories = {
|
|
14435
14497
|
title: "Components/Radio Card",
|
|
14436
14498
|
};
|
|
14437
|
-
const defaultProps$
|
|
14499
|
+
const defaultProps$k = {
|
|
14438
14500
|
selected: false,
|
|
14439
14501
|
title: "Card Title",
|
|
14440
14502
|
description: "Description text goes here",
|
|
14441
14503
|
icon: "apple",
|
|
14442
14504
|
};
|
|
14443
14505
|
const DefaultView$1 = () => {
|
|
14444
|
-
return index.h(RadioCardView, Object.assign({}, defaultProps$
|
|
14506
|
+
return index.h(RadioCardView, Object.assign({}, defaultProps$k));
|
|
14445
14507
|
};
|
|
14446
14508
|
const Selected = () => {
|
|
14447
|
-
return index.h(RadioCardView, Object.assign({}, defaultProps$
|
|
14509
|
+
return index.h(RadioCardView, Object.assign({}, defaultProps$k, { selected: true }));
|
|
14448
14510
|
};
|
|
14449
14511
|
|
|
14450
14512
|
const RadioCard = /*#__PURE__*/Object.freeze({
|
|
@@ -14457,13 +14519,13 @@ const RadioCard = /*#__PURE__*/Object.freeze({
|
|
|
14457
14519
|
const ProgressBar_stories = {
|
|
14458
14520
|
title: "Components/Progress Bar",
|
|
14459
14521
|
};
|
|
14460
|
-
const defaultProps$
|
|
14522
|
+
const defaultProps$l = {
|
|
14461
14523
|
progress: 2,
|
|
14462
14524
|
goal: 4,
|
|
14463
14525
|
steps: true,
|
|
14464
14526
|
};
|
|
14465
14527
|
const TaxAndPayoutsProgressBar = () => {
|
|
14466
|
-
return index.h(ShadowViewAddon.ProgressBar, Object.assign({}, defaultProps$
|
|
14528
|
+
return index.h(ShadowViewAddon.ProgressBar, Object.assign({}, defaultProps$l, { stageCount: 4, currentStage: 2 }));
|
|
14467
14529
|
};
|
|
14468
14530
|
|
|
14469
14531
|
const ProgressBar$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -14475,14 +14537,14 @@ const ProgressBar$1 = /*#__PURE__*/Object.freeze({
|
|
|
14475
14537
|
const PayoutDetailsCard_stories = {
|
|
14476
14538
|
title: "Components/Payout Details Card",
|
|
14477
14539
|
};
|
|
14478
|
-
const Loading$
|
|
14540
|
+
const Loading$7 = () => {
|
|
14479
14541
|
return (index.h("sqm-payout-details-card", { demoData: {
|
|
14480
14542
|
states: {
|
|
14481
14543
|
loading: true,
|
|
14482
14544
|
},
|
|
14483
14545
|
} }));
|
|
14484
14546
|
};
|
|
14485
|
-
const Error$
|
|
14547
|
+
const Error$a = () => {
|
|
14486
14548
|
return (index.h("sqm-payout-details-card", { demoData: {
|
|
14487
14549
|
states: {
|
|
14488
14550
|
error: true,
|
|
@@ -14522,8 +14584,8 @@ const PaypalPayout = () => {
|
|
|
14522
14584
|
const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
14523
14585
|
__proto__: null,
|
|
14524
14586
|
'default': PayoutDetailsCard_stories,
|
|
14525
|
-
Loading: Loading$
|
|
14526
|
-
Error: Error$
|
|
14587
|
+
Loading: Loading$7,
|
|
14588
|
+
Error: Error$a,
|
|
14527
14589
|
NextPayout: NextPayout,
|
|
14528
14590
|
PayoutToday: PayoutToday,
|
|
14529
14591
|
ThresholdPayout: ThresholdPayout,
|
|
@@ -15145,7 +15207,7 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
|
|
|
15145
15207
|
*
|
|
15146
15208
|
*/
|
|
15147
15209
|
//
|
|
15148
|
-
const Default$
|
|
15210
|
+
const Default$l = `
|
|
15149
15211
|
// No CSS
|
|
15150
15212
|
`;
|
|
15151
15213
|
const Orangey = `
|
|
@@ -15179,7 +15241,7 @@ const Klip = `
|
|
|
15179
15241
|
|
|
15180
15242
|
const Themes = /*#__PURE__*/Object.freeze({
|
|
15181
15243
|
__proto__: null,
|
|
15182
|
-
Default: Default$
|
|
15244
|
+
Default: Default$l,
|
|
15183
15245
|
Orangey: Orangey,
|
|
15184
15246
|
Netflix: Netflix,
|
|
15185
15247
|
SaaSquatchCorporate: SaaSquatchCorporate,
|
|
@@ -17858,6 +17920,7 @@ const stories = [
|
|
|
17858
17920
|
PayoutDetailsCard,
|
|
17859
17921
|
BankingInfoForm,
|
|
17860
17922
|
NewPortalRegistrationForm,
|
|
17923
|
+
ChangeMarketing,
|
|
17861
17924
|
];
|
|
17862
17925
|
const StencilStorybook = class {
|
|
17863
17926
|
constructor(hostRef) {
|