@saasquatch/mint-components 1.11.1-1 → 1.12.0-1
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-2c6026c3.js → ShadowViewAddon-88821c64.js} +229 -154
- package/dist/cjs/{global-02e50f09.js → global-c3637175.js} +2 -2
- package/dist/cjs/{index.module-df530553.js → index.module-b8d9d0ba.js} +55 -18
- package/dist/cjs/keys-cff24974.js +11 -0
- 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-5bde3d2e.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +211 -105
- package/dist/cjs/{sqm-big-stat_38.cjs.entry.js → sqm-big-stat_39.cjs.entry.js} +278 -178
- package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
- package/dist/cjs/sqm-code-verification.cjs.entry.js +352 -0
- package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
- package/dist/cjs/sqm-email-verification.cjs.entry.js +137 -0
- package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-ce9a34ac.js} +20 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-navigation-sidebar-item-view-4e90b6f5.js → sqm-navigation-sidebar-item-view-a2135064.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-email-verification-view-bff9783d.js → sqm-portal-email-verification-view-050dbe0f.js} +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-d97086bc.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +9 -9
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -8
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +13 -13
- package/dist/cjs/sqm-scroll.cjs.entry.js +109 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +225 -272
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
- package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +33 -0
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +127 -0
- package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-410d2435.js} +2 -2
- package/dist/cjs/useEmailVerification-30a1c7f6.js +75 -0
- package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-ccf81eae.js} +3 -3
- package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-824ac152.js} +9 -9
- package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-f9ce55be.js} +2 -2
- package/dist/cjs/{utilities-cec9dd36.js → utilities-f7de6c04.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -10
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +9 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +22 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +105 -0
- package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +44 -0
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +0 -20
- package/dist/collection/components/sqm-share-button/useShareButton.js +16 -15
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +3 -5
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -6
- package/dist/collection/components/sqm-widget-verification/keys.js +4 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +29 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +118 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +330 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +144 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +22 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +78 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +172 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +70 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +27 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +132 -0
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +3 -0
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +1 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +18 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +4 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +94 -38
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +16 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +12 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +72 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +217 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +50 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +16 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +80 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +2 -2
- package/dist/collection/components/views/copy-text-view.js +2 -16
- package/dist/esm/{ShadowViewAddon-5bb2b69a.js → ShadowViewAddon-65c8679e.js} +227 -153
- package/dist/esm/{global-b89b6edc.js → global-6306a9b8.js} +2 -2
- package/dist/esm/{index.module-f122af7b.js → index.module-6c840c4e.js} +40 -3
- package/dist/esm/keys-a1496e39.js +6 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-c64289f3.js → re-render-1bcfd0de.js} +4 -4
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-banking-info-form_16.entry.js +211 -105
- package/dist/esm/{sqm-big-stat_38.entry.js → sqm-big-stat_39.entry.js} +275 -176
- package/dist/esm/sqm-close-button.entry.js +3 -3
- package/dist/esm/sqm-code-verification.entry.js +348 -0
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-email-verification.entry.js +133 -0
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
- package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
- package/dist/esm/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-08c03ba7.js} +20 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/sqm-logout-current-user.entry.js +5 -5
- package/dist/esm/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-f8e78810.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +5 -5
- package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +4 -4
- package/dist/esm/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-c6ac5430.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +9 -9
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
- package/dist/esm/sqm-portal-reset-password.entry.js +9 -9
- package/dist/esm/sqm-portal-verify-email.entry.js +9 -9
- package/dist/esm/sqm-referral-table_11.entry.js +8 -8
- package/dist/esm/sqm-referred-registration.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +13 -13
- package/dist/esm/sqm-scroll.entry.js +105 -0
- package/dist/esm/sqm-stencilbook.entry.js +212 -259
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/sqm-widget-verification-internal.entry.js +29 -0
- package/dist/esm/sqm-widget-verification.entry.js +123 -0
- package/dist/esm/stencil-hooks.module-ac12ca1c.js +1 -1
- package/dist/esm/{useChildElements-37daf533.js → useChildElements-fc84e640.js} +2 -2
- package/dist/esm/useEmailVerification-7135732c.js +72 -0
- package/dist/esm/{useInstantAccessRegistration-9d4cb797.js → useInstantAccessRegistration-8b0a4556.js} +3 -3
- package/dist/esm/{useReferralTable-42f99ea2.js → useReferralTable-f6ffa103.js} +9 -9
- package/dist/esm/{useRegistrationFormState-53c71782.js → useRegistrationFormState-849e27f7.js} +2 -2
- package/dist/esm/{utilities-18d10876.js → utilities-443732be.js} +1 -1
- package/dist/esm-es5/{GenericTableView-bf154727.js → GenericTableView-d59d8ab4.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-65c8679e.js +1 -0
- package/dist/esm-es5/{email-registration-view-12793040.js → email-registration-view-a89a88bf.js} +1 -1
- package/dist/esm-es5/{global-b89b6edc.js → global-6306a9b8.js} +2 -2
- package/dist/esm-es5/index.module-6c840c4e.js +1 -0
- package/dist/esm-es5/keys-a1496e39.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-c64289f3.js → re-render-1bcfd0de.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_39.entry.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -0
- 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-08c03ba7.js +1 -0
- 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-14114804.js → sqm-navigation-sidebar-item-view-f8e78810.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-ced567c9.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-15ddbec8.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-view-f1454d43.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-d7ea2c56.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-scroll.entry.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-internal.entry.js +1 -0
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
- package/dist/esm-es5/stencil-hooks.module-ac12ca1c.js +1 -1
- package/dist/esm-es5/{useChildElements-37daf533.js → useChildElements-fc84e640.js} +1 -1
- package/dist/esm-es5/useEmailVerification-7135732c.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +1 -0
- package/dist/esm-es5/{useReferralTable-42f99ea2.js → useReferralTable-f6ffa103.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +1 -0
- package/dist/esm-es5/{utilities-18d10876.js → utilities-443732be.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-0121e044.js +1 -0
- package/dist/mint-components/{p-12c56ba6.entry.js → p-012daf3c.entry.js} +1 -1
- package/dist/mint-components/{p-1b1d10e5.entry.js → p-03dbe2ce.entry.js} +1 -1
- package/dist/mint-components/{p-8077e9c6.js → p-04348a9b.js} +1 -1
- package/dist/mint-components/{p-8c97bfb1.system.entry.js → p-04ced592.system.entry.js} +1 -1
- package/dist/mint-components/{p-7962ab58.system.entry.js → p-0527d90b.system.entry.js} +1 -1
- package/dist/mint-components/{p-01434e4a.entry.js → p-0893073b.entry.js} +1 -1
- package/dist/mint-components/p-0c9ad5f3.system.entry.js +1 -0
- package/dist/mint-components/p-117b4705.system.js +1 -0
- package/dist/mint-components/p-11d1b212.js +1 -0
- package/dist/mint-components/{p-dc41ff27.entry.js → p-1b861be5.entry.js} +1 -1
- package/dist/mint-components/{p-32cf8417.js → p-1b9e6fc6.js} +1 -1
- package/dist/mint-components/p-1bd0cda8.system.entry.js +1 -0
- package/dist/mint-components/{p-991c9787.js → p-1d27da33.js} +2 -2
- package/dist/mint-components/p-1ee62d9f.system.entry.js +1 -0
- package/dist/mint-components/{p-de2a8fae.system.entry.js → p-1f7d7524.system.entry.js} +1 -1
- package/dist/mint-components/p-1f9a9b70.system.entry.js +1 -0
- package/dist/mint-components/{p-5c845bc2.system.entry.js → p-22425c71.system.entry.js} +1 -1
- package/dist/mint-components/p-23fdd44e.entry.js +1 -0
- package/dist/mint-components/{p-3373d84e.js → p-2816bf6a.js} +1 -1
- package/dist/mint-components/p-2868f475.entry.js +1 -0
- package/dist/mint-components/p-2a414b2e.system.js +2 -2
- package/dist/mint-components/{p-a474b0ec.system.entry.js → p-36e9296e.system.entry.js} +1 -1
- package/dist/mint-components/p-36f7caec.system.entry.js +1 -0
- package/dist/mint-components/{p-b334bde8.entry.js → p-3925bcd6.entry.js} +2 -2
- package/dist/mint-components/p-39397731.entry.js +1 -0
- package/dist/mint-components/p-39af4acd.entry.js +240 -0
- package/dist/mint-components/{p-e2bb72eb.system.entry.js → p-3e7ec0f3.system.entry.js} +1 -1
- package/dist/mint-components/{p-59c141a2.system.js → p-3ed71bef.system.js} +1 -1
- package/dist/mint-components/{p-bf834367.system.js → p-43621f12.system.js} +1 -1
- package/dist/mint-components/{p-110dddfe.entry.js → p-4671e644.entry.js} +1 -1
- package/dist/mint-components/{p-0f028514.system.js → p-4babe350.system.js} +1 -1
- package/dist/mint-components/p-4c9b6fbe.system.js +1 -0
- package/dist/mint-components/p-4e373c3d.system.js +1 -0
- package/dist/mint-components/{p-03a647c2.system.js → p-4e48267b.system.js} +1 -1
- package/dist/mint-components/{p-9deac406.system.js → p-4eae91a9.system.js} +1 -1
- package/dist/mint-components/{p-0806343b.js → p-509e29e6.js} +1 -1
- package/dist/mint-components/{p-53ff8bd0.system.entry.js → p-51d53165.system.entry.js} +1 -1
- package/dist/mint-components/{p-246a2827.entry.js → p-5291891c.entry.js} +2 -2
- package/dist/mint-components/{p-c1ba2ad0.system.entry.js → p-59818690.system.entry.js} +1 -1
- package/dist/mint-components/{p-55588b46.system.js → p-5becb2ff.system.js} +1 -1
- package/dist/mint-components/{p-c39f9dc1.system.entry.js → p-5fba1a04.system.entry.js} +1 -1
- package/dist/mint-components/{p-22de9f73.system.entry.js → p-64491210.system.entry.js} +1 -1
- package/dist/mint-components/p-65e2c043.system.js +1 -0
- package/dist/mint-components/p-663303b7.entry.js +8 -0
- package/dist/mint-components/p-66a04cca.system.entry.js +1 -0
- package/dist/mint-components/{p-1df19ea2.js → p-68747d88.js} +1 -1
- package/dist/mint-components/{p-96cb9c17.entry.js → p-6c928c7d.entry.js} +1 -1
- package/dist/mint-components/p-6cae44d7.js +1 -0
- package/dist/mint-components/{p-b0ce005d.entry.js → p-721a89c6.entry.js} +2 -2
- package/dist/mint-components/{p-6e62f207.entry.js → p-76392386.entry.js} +1 -1
- package/dist/mint-components/{p-bb6f6681.system.js → p-7d5e0645.system.js} +1 -1
- package/dist/mint-components/{p-daba8cd2.system.entry.js → p-7dd1ff31.system.entry.js} +1 -1
- package/dist/mint-components/p-7f5c7bf7.system.entry.js +1 -0
- package/dist/mint-components/{p-ec8a9e91.system.entry.js → p-83c9f37b.system.entry.js} +1 -1
- package/dist/mint-components/{p-d3d281ff.entry.js → p-84b25a46.entry.js} +1 -1
- package/dist/mint-components/{p-82e09b8d.system.entry.js → p-88bf51b7.system.entry.js} +1 -1
- package/dist/mint-components/p-8a337864.js +7 -0
- package/dist/mint-components/{p-73decce7.system.js → p-8d554a89.system.js} +1 -1
- package/dist/mint-components/p-93576222.system.js +1 -0
- package/dist/mint-components/p-94454880.entry.js +1 -0
- package/dist/mint-components/p-947fe79b.entry.js +1 -0
- package/dist/mint-components/p-99c15c5e.entry.js +1 -0
- package/dist/mint-components/{p-9288cca6.system.entry.js → p-9cdbd1ac.system.entry.js} +1 -1
- package/dist/mint-components/p-9d34f4f0.entry.js +33 -0
- package/dist/mint-components/p-9e0230c3.entry.js +1 -0
- package/dist/mint-components/{p-476182e7.system.entry.js → p-9ec008cb.system.entry.js} +1 -1
- package/dist/mint-components/p-a02afa72.system.js +1 -0
- package/dist/mint-components/p-a4282d02.system.entry.js +1 -0
- package/dist/mint-components/{p-798ed3a2.entry.js → p-a45b03d2.entry.js} +1 -1
- package/dist/mint-components/{p-523ed056.system.js → p-a51533cb.system.js} +1 -1
- package/dist/mint-components/p-a5a9aa07.entry.js +189 -0
- package/dist/mint-components/p-a85f57bb.entry.js +1 -0
- package/dist/mint-components/{p-21d4f6ce.system.js → p-ac51940e.system.js} +1 -1
- package/dist/mint-components/p-b1e8a802.entry.js +1 -0
- package/dist/mint-components/{p-fec0ac31.js → p-b651706a.js} +24 -24
- package/dist/mint-components/{p-14dac608.system.entry.js → p-bc826117.system.entry.js} +1 -1
- package/dist/mint-components/p-bdd6bb13.js +1 -0
- package/dist/mint-components/{p-67846dce.system.entry.js → p-be1ae1ed.system.entry.js} +1 -1
- package/dist/mint-components/{p-3cc5474d.entry.js → p-bee1e573.entry.js} +1 -1
- package/dist/mint-components/{p-fb2c0ce4.system.entry.js → p-c1f4fb6d.system.entry.js} +1 -1
- package/dist/mint-components/p-c3b37bbf.js +1 -0
- package/dist/mint-components/{p-ff41c804.system.entry.js → p-c3babfa4.system.entry.js} +1 -1
- package/dist/mint-components/{p-18a19cb5.system.js → p-c5577dd7.system.js} +1 -1
- package/dist/mint-components/{p-02f6cda4.js → p-c5d2e4ba.js} +1 -1
- package/dist/mint-components/p-c763c0b2.js +1 -0
- package/dist/mint-components/{p-ed161025.js → p-c8610d0c.js} +1 -1
- package/dist/mint-components/p-c92a743e.entry.js +1 -0
- package/dist/mint-components/p-c9fb6102.entry.js +1 -0
- package/dist/mint-components/p-ca809fdd.system.js +1 -0
- package/dist/mint-components/{p-f52c3aec.system.entry.js → p-cb433855.system.entry.js} +1 -1
- package/dist/mint-components/{p-f44d88fa.system.js → p-cd44de66.system.js} +1 -1
- package/dist/mint-components/p-d35d8c06.entry.js +11 -0
- package/dist/mint-components/{p-cfbe2f86.entry.js → p-d468925f.entry.js} +1 -1
- package/dist/mint-components/{p-15dee492.js → p-d49e2f7a.js} +1 -1
- package/dist/mint-components/{p-9c3d78e9.js → p-d83b0cf3.js} +1 -1
- package/dist/mint-components/{p-6e7e8af6.system.js → p-def516b8.system.js} +1 -1
- package/dist/mint-components/{p-e41cb11f.js → p-e0e7635a.js} +1 -1
- package/dist/mint-components/{p-a1150633.system.entry.js → p-e12d3414.system.entry.js} +1 -1
- package/dist/mint-components/{p-ce746af8.system.js → p-e8dde8f4.system.js} +1 -1
- package/dist/mint-components/p-e93e5740.entry.js +1 -0
- package/dist/mint-components/p-e9ca48fc.system.entry.js +1 -0
- package/dist/mint-components/p-ead27698.system.entry.js +1 -0
- package/dist/mint-components/{p-1c6e4a5f.entry.js → p-f36e33ff.entry.js} +2 -2
- package/dist/mint-components/{p-1ce4fa30.system.entry.js → p-f450654b.system.entry.js} +1 -1
- package/dist/mint-components/{p-1c710e16.entry.js → p-f4cbbe47.entry.js} +1 -1
- package/dist/mint-components/{p-d68ed4a6.system.entry.js → p-f531a5c9.system.entry.js} +1 -1
- package/dist/mint-components/{p-acc93caa.system.entry.js → p-f56348dc.system.entry.js} +1 -1
- package/dist/mint-components/p-f655a7df.js +1 -0
- package/dist/mint-components/{p-855ae1b5.js → p-fb93c962.js} +1 -1
- package/dist/mint-components/{p-46ca288c.system.js → p-fc422446.system.js} +1 -1
- package/dist/mint-components/{p-fae82751.entry.js → p-fd21ae8f.entry.js} +1 -1
- package/dist/mint-components/p-fd2c5407.js +2 -2
- package/dist/types/components/{sqm-pagination/Pagination.stories.d.ts → sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts} +1 -0
- package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.d.ts +10 -0
- package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll.d.ts +19 -0
- package/dist/types/components/sqm-payout-button-scroll/usePayoutButton.d.ts +7 -0
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +0 -1
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +0 -1
- package/dist/types/components/sqm-widget-verification/keys.d.ts +4 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +8 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +26 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +60 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +23 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +7 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +16 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +32 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +9 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +5 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +8 -0
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +8 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +18 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +21 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +9 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +5 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +16 -0
- package/dist/types/components/views/copy-text-view.d.ts +0 -2
- package/dist/types/components.d.ts +296 -170
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/copy-text-view-a22ad7e7.js +0 -173
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +0 -316
- package/dist/collection/components/sqm-pagination/Pagination.stories.js +0 -12
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +0 -30
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +0 -85
- package/dist/collection/components/sqm-pagination/usePagination.js +0 -8
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -60
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +0 -315
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +0 -51
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -35
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +0 -59
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +0 -99
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +0 -75
- package/dist/esm/copy-text-view-bf55abeb.js +0 -168
- package/dist/esm/sqm-pagination_3.entry.js +0 -310
- package/dist/esm-es5/ShadowViewAddon-5bb2b69a.js +0 -1
- package/dist/esm-es5/copy-text-view-bf55abeb.js +0 -1
- package/dist/esm-es5/index.module-f122af7b.js +0 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-09cc28d6.js +0 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-9d4cb797.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-53c71782.js +0 -1
- package/dist/mint-components/p-00be5090.js +0 -1
- package/dist/mint-components/p-0161f5da.entry.js +0 -13
- package/dist/mint-components/p-1099290c.system.js +0 -1
- package/dist/mint-components/p-18a7f543.system.entry.js +0 -1
- package/dist/mint-components/p-26306ac4.system.entry.js +0 -1
- package/dist/mint-components/p-2e16db11.entry.js +0 -1
- package/dist/mint-components/p-41499327.entry.js +0 -1
- package/dist/mint-components/p-43a990b6.system.js +0 -1
- package/dist/mint-components/p-4856b234.system.entry.js +0 -1
- package/dist/mint-components/p-48b7d703.entry.js +0 -174
- package/dist/mint-components/p-494e407e.entry.js +0 -1
- package/dist/mint-components/p-5b7e2d53.entry.js +0 -1
- package/dist/mint-components/p-5d37482d.entry.js +0 -1
- package/dist/mint-components/p-5fc8d87c.system.js +0 -1
- package/dist/mint-components/p-646d302a.system.js +0 -1
- package/dist/mint-components/p-6628bc0e.system.js +0 -1
- package/dist/mint-components/p-6b0e6a6c.js +0 -1
- package/dist/mint-components/p-73c6b26d.entry.js +0 -223
- package/dist/mint-components/p-89a760ea.js +0 -1
- package/dist/mint-components/p-942d1c22.entry.js +0 -33
- package/dist/mint-components/p-b4eb9c46.entry.js +0 -11
- package/dist/mint-components/p-b5176703.entry.js +0 -1
- package/dist/mint-components/p-b71c0e2d.system.entry.js +0 -1
- package/dist/mint-components/p-bd4e9c2b.js +0 -1
- package/dist/mint-components/p-c37137cd.js +0 -2
- package/dist/mint-components/p-c7ce2c1e.system.js +0 -1
- package/dist/mint-components/p-ca17d998.entry.js +0 -1
- package/dist/mint-components/p-d666b326.js +0 -1
- package/dist/mint-components/p-ea88142c.js +0 -1
- package/dist/mint-components/p-eb4e9efb.system.entry.js +0 -1
- package/dist/mint-components/p-ecefeaa9.system.entry.js +0 -1
- package/dist/mint-components/p-f1ec1180.entry.js +0 -1
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -7
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +0 -17
- package/dist/types/components/sqm-pagination/usePagination.d.ts +0 -15
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -18
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -70
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +0 -9
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -9
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -10
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -21
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +0 -59
- package/dist/cjs/{GenericTableView-a3f48e15.js → GenericTableView-80d7642e.js} +1 -1
- package/dist/cjs/{email-registration-view-4c5d9379.js → email-registration-view-248652bb.js} +1 -1
- package/dist/cjs/{sqm-close-button-view-217239b7.js → sqm-close-button-view-fd6e8f60.js} +1 -1
- package/dist/cjs/{sqm-portal-forgot-password-view-3cd69fe7.js → sqm-portal-forgot-password-view-969c49ed.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-34771d2c.js → sqm-portal-reset-password-view-96f329ed.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-c8f91506.js → sqm-portal-verify-email-view-7ffcc0d4.js} +1 -1
- package/dist/esm/{GenericTableView-bf154727.js → GenericTableView-d59d8ab4.js} +1 -1
- package/dist/esm/{email-registration-view-12793040.js → email-registration-view-a89a88bf.js} +1 -1
- package/dist/esm/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
- package/dist/esm/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-d7ea2c56.js} +1 -1
|
@@ -1,33 +1,32 @@
|
|
|
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 {
|
|
5
|
-
import './utils-334c1e34.js';
|
|
6
|
-
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
7
|
-
import { C as CopyTextView } from './copy-text-view-bf55abeb.js';
|
|
3
|
+
import './global-6306a9b8.js';
|
|
4
|
+
import { x as xn, j as jn, a as setUserIdentity, d as dist, o as an, p as setProgramId } from './index.module-6c840c4e.js';
|
|
8
5
|
import './cjs-bdfb4486.js';
|
|
9
6
|
import './mixins-f60a614c.js';
|
|
10
|
-
import {
|
|
11
|
-
import './
|
|
7
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
+
import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
|
|
9
|
+
import './useChildElements-fc84e640.js';
|
|
12
10
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
11
|
+
import './utils-334c1e34.js';
|
|
13
12
|
import './sqm-text-span-view-8d140661.js';
|
|
14
13
|
import { A as AssetCardView } from './sqm-asset-card-view-9d93fbdd.js';
|
|
15
|
-
import { C as CloseButtonView } from './sqm-close-button-view-
|
|
14
|
+
import { C as CloseButtonView } from './sqm-close-button-view-dc65b4e3.js';
|
|
16
15
|
import './index-ffa26b43.js';
|
|
17
|
-
import { E as EmailRegistrationView } from './email-registration-view-
|
|
16
|
+
import { E as EmailRegistrationView } from './email-registration-view-a89a88bf.js';
|
|
18
17
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
19
18
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
|
|
20
19
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
|
|
21
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
22
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
23
|
-
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-
|
|
24
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
25
|
-
import './utilities-
|
|
26
|
-
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-
|
|
27
|
-
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
28
|
-
import { S as ShareButtonView, L as LeaderboardView, 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, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView,
|
|
20
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-f8e78810.js';
|
|
21
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-c6ac5430.js';
|
|
22
|
+
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
|
|
23
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-15ddbec8.js';
|
|
24
|
+
import './utilities-443732be.js';
|
|
25
|
+
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-79a85e02.js';
|
|
26
|
+
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
|
|
27
|
+
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, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as ProgressBar$2, Q as autoColorScaleCss, U as ShadowViewAddon } from './ShadowViewAddon-65c8679e.js';
|
|
29
28
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
|
|
30
|
-
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-
|
|
29
|
+
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-08c03ba7.js';
|
|
31
30
|
|
|
32
31
|
/**
|
|
33
32
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -1625,19 +1624,6 @@ const EmptyState = /*#__PURE__*/Object.freeze({
|
|
|
1625
1624
|
SlottedIntoComponent: SlottedIntoComponent
|
|
1626
1625
|
});
|
|
1627
1626
|
|
|
1628
|
-
const Pagination_stories = {
|
|
1629
|
-
title: "Components/Link Button",
|
|
1630
|
-
};
|
|
1631
|
-
const Default = () => {
|
|
1632
|
-
return h("sqm-pagination", null);
|
|
1633
|
-
};
|
|
1634
|
-
|
|
1635
|
-
const Pagination = /*#__PURE__*/Object.freeze({
|
|
1636
|
-
__proto__: null,
|
|
1637
|
-
'default': Pagination_stories,
|
|
1638
|
-
Default: Default
|
|
1639
|
-
});
|
|
1640
|
-
|
|
1641
1627
|
const scenario$2 = "@author:johan\n@owner:johan\nFeature: Share Link\n\n The share link component is a box that allows users to see and copy their share link for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users sharelink can be copied to their clipboard\n Given tooltipText is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's share link\n When the clipboard icon is clicked\n Then the link is copied to clipboard\n And a tooltip appears for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share link is \"https://www.example.com/sharelink/abc\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share link is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share link is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their sharelink\n Given a user viewing the share link component\n And the component is rendered for \"program-a\"\n When they click to copy their link\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n\n @ui\n Scenario Outline: user can edit the alignment of the share link text\n Given a user is editing the share link component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the share link component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
|
|
1642
1628
|
|
|
1643
1629
|
const ShareLink_stories = {
|
|
@@ -1646,7 +1632,7 @@ const ShareLink_stories = {
|
|
|
1646
1632
|
scenario: scenario$2,
|
|
1647
1633
|
},
|
|
1648
1634
|
};
|
|
1649
|
-
const Default
|
|
1635
|
+
const Default = () => {
|
|
1650
1636
|
const props = {
|
|
1651
1637
|
copyString: "https://noah.example.com",
|
|
1652
1638
|
open: false,
|
|
@@ -1710,7 +1696,7 @@ const FullStack = () => {
|
|
|
1710
1696
|
const ShareLink = /*#__PURE__*/Object.freeze({
|
|
1711
1697
|
__proto__: null,
|
|
1712
1698
|
'default': ShareLink_stories,
|
|
1713
|
-
Default: Default
|
|
1699
|
+
Default: Default,
|
|
1714
1700
|
Tooltip: Tooltip,
|
|
1715
1701
|
Disabled: Disabled,
|
|
1716
1702
|
Error: Error$1,
|
|
@@ -1729,7 +1715,7 @@ const BigStat_stories = {
|
|
|
1729
1715
|
scenario: scenario$3,
|
|
1730
1716
|
},
|
|
1731
1717
|
};
|
|
1732
|
-
const Default$
|
|
1718
|
+
const Default$1 = () => {
|
|
1733
1719
|
const props = { value: 990000, statvalue: "9.900,00", loading: false };
|
|
1734
1720
|
return h(BigStatView, Object.assign({}, props), "Big stat");
|
|
1735
1721
|
};
|
|
@@ -1812,7 +1798,7 @@ const MultipleStats = () => {
|
|
|
1812
1798
|
const BigStat = /*#__PURE__*/Object.freeze({
|
|
1813
1799
|
__proto__: null,
|
|
1814
1800
|
'default': BigStat_stories,
|
|
1815
|
-
Default: Default$
|
|
1801
|
+
Default: Default$1,
|
|
1816
1802
|
LeftAlign: LeftAlign,
|
|
1817
1803
|
RightAlign: RightAlign,
|
|
1818
1804
|
FlexReverse: FlexReverse,
|
|
@@ -2549,36 +2535,36 @@ const routes = `
|
|
|
2549
2535
|
`;
|
|
2550
2536
|
const TemplateNavigation = createHookStory(() => {
|
|
2551
2537
|
return (h("div", null,
|
|
2552
|
-
h("button", { onClick: () =>
|
|
2553
|
-
h("button", { onClick: () =>
|
|
2554
|
-
h("button", { onClick: () =>
|
|
2555
|
-
h("button", { onClick: () =>
|
|
2556
|
-
h("button", { onClick: () =>
|
|
2557
|
-
h("button", { onClick: () =>
|
|
2558
|
-
h("button", { onClick: () =>
|
|
2559
|
-
h("button", { onClick: () =>
|
|
2560
|
-
h("button", { onClick: () =>
|
|
2538
|
+
h("button", { onClick: () => xn.push("/") }, "/"),
|
|
2539
|
+
h("button", { onClick: () => xn.push("/foo") }, "/foo"),
|
|
2540
|
+
h("button", { onClick: () => xn.push("/bar") }, "/bar"),
|
|
2541
|
+
h("button", { onClick: () => xn.push("/baz/bang") }, "/baz/bang"),
|
|
2542
|
+
h("button", { onClick: () => xn.push("/refer") }, "/refer"),
|
|
2543
|
+
h("button", { onClick: () => xn.push("/refer/1") }, "/refer/1"),
|
|
2544
|
+
h("button", { onClick: () => xn.push("/refer/2") }, "/refer/2"),
|
|
2545
|
+
h("button", { onClick: () => xn.back() }, "Back"),
|
|
2546
|
+
h("button", { onClick: () => xn.forward() }, "Forward"),
|
|
2561
2547
|
h("hr", null),
|
|
2562
2548
|
h("sqm-router", { innerHTML: templates })));
|
|
2563
2549
|
});
|
|
2564
2550
|
const RouteNavigation = createHookStory(() => {
|
|
2565
2551
|
return (h("div", null,
|
|
2566
|
-
h("button", { onClick: () =>
|
|
2567
|
-
h("button", { onClick: () =>
|
|
2568
|
-
h("button", { onClick: () =>
|
|
2569
|
-
h("button", { onClick: () =>
|
|
2570
|
-
h("button", { onClick: () =>
|
|
2571
|
-
h("button", { onClick: () =>
|
|
2572
|
-
h("button", { onClick: () =>
|
|
2573
|
-
h("button", { onClick: () =>
|
|
2574
|
-
h("button", { onClick: () =>
|
|
2552
|
+
h("button", { onClick: () => xn.push("/") }, "/"),
|
|
2553
|
+
h("button", { onClick: () => xn.push("/foo") }, "/foo"),
|
|
2554
|
+
h("button", { onClick: () => xn.push("/bar") }, "/bar"),
|
|
2555
|
+
h("button", { onClick: () => xn.push("/baz/bang") }, "/baz/bang"),
|
|
2556
|
+
h("button", { onClick: () => xn.push("/refer") }, "/refer"),
|
|
2557
|
+
h("button", { onClick: () => xn.push("/refer/1") }, "/refer/1"),
|
|
2558
|
+
h("button", { onClick: () => xn.push("/refer/2") }, "/refer/2"),
|
|
2559
|
+
h("button", { onClick: () => xn.back() }, "Back"),
|
|
2560
|
+
h("button", { onClick: () => xn.forward() }, "Forward"),
|
|
2575
2561
|
h("hr", null),
|
|
2576
2562
|
h("sqm-router", { innerHTML: routes })));
|
|
2577
2563
|
});
|
|
2578
2564
|
const Styling = createHookStory(() => {
|
|
2579
2565
|
return (h("div", null,
|
|
2580
|
-
h("button", { onClick: () =>
|
|
2581
|
-
h("button", { onClick: () =>
|
|
2566
|
+
h("button", { onClick: () => xn.push("/") }, "/"),
|
|
2567
|
+
h("button", { onClick: () => xn.push("/foo") }, "/foo"),
|
|
2582
2568
|
h("hr", null),
|
|
2583
2569
|
h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2584
2570
|
h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2592,7 +2578,7 @@ function useTemplate(templateString) {
|
|
|
2592
2578
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
2593
2579
|
function setPath(e) {
|
|
2594
2580
|
//@ts-ignore
|
|
2595
|
-
|
|
2581
|
+
xn.push(e.target.value);
|
|
2596
2582
|
}
|
|
2597
2583
|
return {
|
|
2598
2584
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2756,8 +2742,8 @@ const FullStackFrame = () => {
|
|
|
2756
2742
|
"Current path:",
|
|
2757
2743
|
" ",
|
|
2758
2744
|
h("code", null,
|
|
2759
|
-
h("strong", null, (_a =
|
|
2760
|
-
h("button", { onClick:
|
|
2745
|
+
h("strong", null, (_a = jn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2746
|
+
h("button", { onClick: xn.back }, "Go Back")));
|
|
2761
2747
|
};
|
|
2762
2748
|
const FullStackFrameLoggedOut = () => {
|
|
2763
2749
|
var _a;
|
|
@@ -2781,8 +2767,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2781
2767
|
"Current path:",
|
|
2782
2768
|
" ",
|
|
2783
2769
|
h("code", null,
|
|
2784
|
-
h("strong", null, (_a =
|
|
2785
|
-
h("button", { onClick:
|
|
2770
|
+
h("strong", null, (_a = jn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2771
|
+
h("button", { onClick: xn.back }, "Go Back")));
|
|
2786
2772
|
};
|
|
2787
2773
|
|
|
2788
2774
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -3509,7 +3495,7 @@ function useExchangeButton() {
|
|
|
3509
3495
|
const { id, accountId } = setupGraphQL$6();
|
|
3510
3496
|
const [points, setPoints] = useState(10);
|
|
3511
3497
|
const [rate, setRate] = useState(100);
|
|
3512
|
-
const [exchange, { data, errors }] =
|
|
3498
|
+
const [exchange, { data, errors }] = an(EXCHANGE);
|
|
3513
3499
|
return {
|
|
3514
3500
|
states: {
|
|
3515
3501
|
points,
|
|
@@ -4110,16 +4096,16 @@ function DefaultTemplateView(props) {
|
|
|
4110
4096
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
4111
4097
|
gridGap: "10px",
|
|
4112
4098
|
} },
|
|
4113
|
-
h("button", { onClick: () =>
|
|
4114
|
-
props.leadSubmit && (h("button", { onClick: () =>
|
|
4115
|
-
h("button", { onClick: () =>
|
|
4116
|
-
h("button", { onClick: () =>
|
|
4117
|
-
h("button", { onClick: () =>
|
|
4118
|
-
h("button", { onClick: () =>
|
|
4119
|
-
h("button", { onClick: () =>
|
|
4120
|
-
h("button", { onClick: () =>
|
|
4121
|
-
h("button", { onClick: () =>
|
|
4122
|
-
h("button", { onClick: () =>
|
|
4099
|
+
h("button", { onClick: () => xn.push("/") }, "Dashboard"),
|
|
4100
|
+
props.leadSubmit && (h("button", { onClick: () => xn.push("/refer") }, "Submit a Referral")),
|
|
4101
|
+
h("button", { onClick: () => xn.push("/activity") }, "Activity"),
|
|
4102
|
+
h("button", { onClick: () => xn.push("/editProfile") }, "Edit Profile"),
|
|
4103
|
+
h("button", { onClick: () => xn.push("/login") }, "Login"),
|
|
4104
|
+
h("button", { onClick: () => xn.push("/register") }, "Register"),
|
|
4105
|
+
h("button", { onClick: () => xn.push("/emailVerification") }, "Email Verification"),
|
|
4106
|
+
h("button", { onClick: () => xn.push("/verifyEmail") }, "Verify Email"),
|
|
4107
|
+
h("button", { onClick: () => xn.push("/forgotPassword") }, "Forgot Password"),
|
|
4108
|
+
h("button", { onClick: () => xn.push("/resetPassword") }, "Reset Password")),
|
|
4123
4109
|
h("br", null),
|
|
4124
4110
|
h("div", { innerHTML: states.previewTemplate })));
|
|
4125
4111
|
}
|
|
@@ -7286,14 +7272,14 @@ const loadingProps = {
|
|
|
7286
7272
|
},
|
|
7287
7273
|
content: { pageLabel: "Sign in to your account" },
|
|
7288
7274
|
};
|
|
7289
|
-
const Default$
|
|
7275
|
+
const Default$2 = () => h(PortalLoginView, Object.assign({}, defaultProps$2));
|
|
7290
7276
|
const LoginWithError = () => h(PortalLoginView, Object.assign({}, errorProps));
|
|
7291
7277
|
const LoginLoading = () => h(PortalLoginView, Object.assign({}, loadingProps));
|
|
7292
7278
|
|
|
7293
7279
|
const PortalLogin = /*#__PURE__*/Object.freeze({
|
|
7294
7280
|
__proto__: null,
|
|
7295
7281
|
'default': PortalLogin_stories,
|
|
7296
|
-
Default: Default$
|
|
7282
|
+
Default: Default$2,
|
|
7297
7283
|
LoginWithError: LoginWithError,
|
|
7298
7284
|
LoginLoading: LoginLoading
|
|
7299
7285
|
});
|
|
@@ -7396,7 +7382,7 @@ const slottedProps = {
|
|
|
7396
7382
|
h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
|
|
7397
7383
|
},
|
|
7398
7384
|
};
|
|
7399
|
-
const Default$
|
|
7385
|
+
const Default$3 = () => h(PortalRegisterView, Object.assign({}, defaultProps$3));
|
|
7400
7386
|
const RegisterWithError = () => h(PortalRegisterView, Object.assign({}, errorProps$1));
|
|
7401
7387
|
const RegisterLoading = () => h(PortalRegisterView, Object.assign({}, loadingProps$1));
|
|
7402
7388
|
const FieldsHidden = () => {
|
|
@@ -7423,7 +7409,7 @@ const TermsAndConditions = () => (h(PortalRegisterView, Object.assign({}, defaul
|
|
|
7423
7409
|
const PortalRegister = /*#__PURE__*/Object.freeze({
|
|
7424
7410
|
__proto__: null,
|
|
7425
7411
|
'default': PortalRegister_stories,
|
|
7426
|
-
Default: Default$
|
|
7412
|
+
Default: Default$3,
|
|
7427
7413
|
RegisterWithError: RegisterWithError,
|
|
7428
7414
|
RegisterLoading: RegisterLoading,
|
|
7429
7415
|
FieldsHidden: FieldsHidden,
|
|
@@ -7499,7 +7485,7 @@ const successProps = {
|
|
|
7499
7485
|
messageSlot: "Enter your email below to receive a password reset link.",
|
|
7500
7486
|
},
|
|
7501
7487
|
};
|
|
7502
|
-
const Default$
|
|
7488
|
+
const Default$4 = () => h(PortalForgotPasswordView, Object.assign({}, defaultProps$4));
|
|
7503
7489
|
const ForgotPasswordWithError = () => (h(PortalForgotPasswordView, Object.assign({}, errorProps$2)));
|
|
7504
7490
|
const ForgotPasswordLoading = () => (h(PortalForgotPasswordView, Object.assign({}, loadingProps$2)));
|
|
7505
7491
|
const ForgotPasswordSuccess = () => (h(PortalForgotPasswordView, Object.assign({}, successProps)));
|
|
@@ -7507,7 +7493,7 @@ const ForgotPasswordSuccess = () => (h(PortalForgotPasswordView, Object.assign({
|
|
|
7507
7493
|
const PortalForgotPassword = /*#__PURE__*/Object.freeze({
|
|
7508
7494
|
__proto__: null,
|
|
7509
7495
|
'default': PortalForgotPassword_stories,
|
|
7510
|
-
Default: Default$
|
|
7496
|
+
Default: Default$4,
|
|
7511
7497
|
ForgotPasswordWithError: ForgotPasswordWithError,
|
|
7512
7498
|
ForgotPasswordLoading: ForgotPasswordLoading,
|
|
7513
7499
|
ForgotPasswordSuccess: ForgotPasswordSuccess
|
|
@@ -7578,7 +7564,7 @@ const loadingVerificationProps = {
|
|
|
7578
7564
|
callbacks: defaultCallbacks,
|
|
7579
7565
|
content: defaultContent,
|
|
7580
7566
|
};
|
|
7581
|
-
const Default$
|
|
7567
|
+
const Default$5 = () => h(PortalEmailVerificationView, Object.assign({}, defaultProps$5));
|
|
7582
7568
|
const EmailVerificationWithError = () => (h(PortalEmailVerificationView, Object.assign({}, errorProps$3)));
|
|
7583
7569
|
const EmailVerificationLoading = () => (h(PortalEmailVerificationView, Object.assign({}, loadingProps$3)));
|
|
7584
7570
|
const EmailVerificationCheckingVerification = () => (h(PortalEmailVerificationView, Object.assign({}, loadingVerificationProps)));
|
|
@@ -7587,7 +7573,7 @@ const EmailVerificationSuccess = () => (h(PortalEmailVerificationView, Object.as
|
|
|
7587
7573
|
const PortalEmailVerification = /*#__PURE__*/Object.freeze({
|
|
7588
7574
|
__proto__: null,
|
|
7589
7575
|
'default': PortalEmailVerification_stories,
|
|
7590
|
-
Default: Default$
|
|
7576
|
+
Default: Default$5,
|
|
7591
7577
|
EmailVerificationWithError: EmailVerificationWithError,
|
|
7592
7578
|
EmailVerificationLoading: EmailVerificationLoading,
|
|
7593
7579
|
EmailVerificationCheckingVerification: EmailVerificationCheckingVerification,
|
|
@@ -7740,7 +7726,7 @@ const validatingCodeProps = {
|
|
|
7740
7726
|
failed: () => console.log("failed"),
|
|
7741
7727
|
},
|
|
7742
7728
|
};
|
|
7743
|
-
const Default$
|
|
7729
|
+
const Default$6 = () => h(PortalResetPasswordView, Object.assign({}, defaultProps$6));
|
|
7744
7730
|
const DefaultWithoutConfirmField = () => (h(PortalResetPasswordView, Object.assign({}, defaultPropsNoConfirm)));
|
|
7745
7731
|
const ResetPasswordWithError = () => (h(PortalResetPasswordView, Object.assign({}, errorProps$4)));
|
|
7746
7732
|
const ResetPasswordLoading = () => (h(PortalResetPasswordView, Object.assign({}, loadingProps$4)));
|
|
@@ -7750,7 +7736,7 @@ const CodeValidating = () => (h(PortalResetPasswordView, Object.assign({}, valid
|
|
|
7750
7736
|
const PortalResetPassword = /*#__PURE__*/Object.freeze({
|
|
7751
7737
|
__proto__: null,
|
|
7752
7738
|
'default': PortalResetPassword_stories,
|
|
7753
|
-
Default: Default$
|
|
7739
|
+
Default: Default$6,
|
|
7754
7740
|
DefaultWithoutConfirmField: DefaultWithoutConfirmField,
|
|
7755
7741
|
ResetPasswordWithError: ResetPasswordWithError,
|
|
7756
7742
|
ResetPasswordLoading: ResetPasswordLoading,
|
|
@@ -7813,7 +7799,7 @@ const PortalVerifyEmail = /*#__PURE__*/Object.freeze({
|
|
|
7813
7799
|
const AssetCard_stories = {
|
|
7814
7800
|
title: "Components/Asset Card",
|
|
7815
7801
|
};
|
|
7816
|
-
const Default$
|
|
7802
|
+
const Default$7 = () => {
|
|
7817
7803
|
const props = {
|
|
7818
7804
|
text: { titleText: "Marketing Banner" },
|
|
7819
7805
|
imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
|
|
@@ -7841,7 +7827,7 @@ const CardWithNoImg = () => {
|
|
|
7841
7827
|
const AssetCard = /*#__PURE__*/Object.freeze({
|
|
7842
7828
|
__proto__: null,
|
|
7843
7829
|
'default': AssetCard_stories,
|
|
7844
|
-
Default: Default$
|
|
7830
|
+
Default: Default$7,
|
|
7845
7831
|
CardWithLongText: CardWithLongText,
|
|
7846
7832
|
CardWithNoImg: CardWithNoImg
|
|
7847
7833
|
});
|
|
@@ -8062,7 +8048,7 @@ const successProps$3 = {
|
|
|
8062
8048
|
submit: (e) => console.log("Submit", e),
|
|
8063
8049
|
},
|
|
8064
8050
|
};
|
|
8065
|
-
const Default$
|
|
8051
|
+
const Default$8 = () => h(PortalChangePasswordView, Object.assign({}, defaultProps$7));
|
|
8066
8052
|
const Open = () => h(PortalChangePasswordView, Object.assign({}, openProps));
|
|
8067
8053
|
const Error$2 = () => h(PortalChangePasswordView, Object.assign({}, errorProps$6));
|
|
8068
8054
|
const PaswordError = () => (h(PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
|
|
@@ -8072,7 +8058,7 @@ const Success = () => h(PortalChangePasswordView, Object.assign({}, successProps
|
|
|
8072
8058
|
const ChangePassword = /*#__PURE__*/Object.freeze({
|
|
8073
8059
|
__proto__: null,
|
|
8074
8060
|
'default': ChangePassword_stories,
|
|
8075
|
-
Default: Default$
|
|
8061
|
+
Default: Default$8,
|
|
8076
8062
|
Open: Open,
|
|
8077
8063
|
Error: Error$2,
|
|
8078
8064
|
PaswordError: PaswordError,
|
|
@@ -8299,7 +8285,7 @@ const successProps$4 = {
|
|
|
8299
8285
|
onChange: (e) => console.log(e),
|
|
8300
8286
|
},
|
|
8301
8287
|
};
|
|
8302
|
-
const Default$
|
|
8288
|
+
const Default$9 = () => h(PortalProfileView, Object.assign({}, defaultProps$8));
|
|
8303
8289
|
const DefaultNoCountry = () => h(PortalProfileView, Object.assign({}, noCountry));
|
|
8304
8290
|
const Loading$2 = () => h(PortalProfileView, Object.assign({}, loadingProps$6));
|
|
8305
8291
|
const Disabled$1 = () => h(PortalProfileView, Object.assign({}, disabledProps));
|
|
@@ -8309,7 +8295,7 @@ const Success$1 = () => h(PortalProfileView, Object.assign({}, successProps$4));
|
|
|
8309
8295
|
const PortalProfile = /*#__PURE__*/Object.freeze({
|
|
8310
8296
|
__proto__: null,
|
|
8311
8297
|
'default': PortalProfile_stories,
|
|
8312
|
-
Default: Default$
|
|
8298
|
+
Default: Default$9,
|
|
8313
8299
|
DefaultNoCountry: DefaultNoCountry,
|
|
8314
8300
|
Loading: Loading$2,
|
|
8315
8301
|
Disabled: Disabled$1,
|
|
@@ -10269,7 +10255,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
|
|
|
10269
10255
|
const PoweredByImg_stories = {
|
|
10270
10256
|
title: "Powered By",
|
|
10271
10257
|
};
|
|
10272
|
-
const Default$
|
|
10258
|
+
const Default$a = () => {
|
|
10273
10259
|
return h(PoweredByImg$1, null);
|
|
10274
10260
|
};
|
|
10275
10261
|
const CustomColor = () => {
|
|
@@ -10282,7 +10268,7 @@ const CustomWidthAndHeight = () => {
|
|
|
10282
10268
|
const PoweredByImg = /*#__PURE__*/Object.freeze({
|
|
10283
10269
|
__proto__: null,
|
|
10284
10270
|
'default': PoweredByImg_stories,
|
|
10285
|
-
Default: Default$
|
|
10271
|
+
Default: Default$a,
|
|
10286
10272
|
CustomColor: CustomColor,
|
|
10287
10273
|
CustomWidthAndHeight: CustomWidthAndHeight
|
|
10288
10274
|
});
|
|
@@ -10669,7 +10655,7 @@ const defaultRegisterProps = {
|
|
|
10669
10655
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
10670
10656
|
},
|
|
10671
10657
|
};
|
|
10672
|
-
const Default$
|
|
10658
|
+
const Default$b = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a))));
|
|
10673
10659
|
const DefaultChecked = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
|
|
10674
10660
|
...defaultProps$a.states,
|
|
10675
10661
|
checked: true,
|
|
@@ -10724,7 +10710,7 @@ const TermsAndConditionsLongCustomLabel = createHookStory(() => (h(PortalRegiste
|
|
|
10724
10710
|
const CheckboxField = /*#__PURE__*/Object.freeze({
|
|
10725
10711
|
__proto__: null,
|
|
10726
10712
|
'default': CheckboxField_stories,
|
|
10727
|
-
Default: Default$
|
|
10713
|
+
Default: Default$b,
|
|
10728
10714
|
DefaultChecked: DefaultChecked,
|
|
10729
10715
|
CustomLabel: CustomLabel,
|
|
10730
10716
|
Error: Error$4,
|
|
@@ -10826,7 +10812,7 @@ const defaultProps$b = {
|
|
|
10826
10812
|
],
|
|
10827
10813
|
},
|
|
10828
10814
|
};
|
|
10829
|
-
const Default$
|
|
10815
|
+
const Default$c = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b))));
|
|
10830
10816
|
const CustomLabel$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
|
|
10831
10817
|
...defaultProps$b.content,
|
|
10832
10818
|
dropdownLabel: "Pick your favorite",
|
|
@@ -10854,7 +10840,7 @@ const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign(
|
|
|
10854
10840
|
const DropdownField = /*#__PURE__*/Object.freeze({
|
|
10855
10841
|
__proto__: null,
|
|
10856
10842
|
'default': DropdownField_stories,
|
|
10857
|
-
Default: Default$
|
|
10843
|
+
Default: Default$c,
|
|
10858
10844
|
CustomLabel: CustomLabel$1,
|
|
10859
10845
|
Error: Error$5,
|
|
10860
10846
|
CustomError: CustomError$1
|
|
@@ -10964,7 +10950,7 @@ const defaultRegisterProps$1 = {
|
|
|
10964
10950
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
10965
10951
|
},
|
|
10966
10952
|
};
|
|
10967
|
-
const Default$
|
|
10953
|
+
const Default$d = () => h(InputFieldView, Object.assign({}, defaultProps$c));
|
|
10968
10954
|
const CustomLabel$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { content: { ...defaultProps$c.content, fieldLabel: "My Label" } })));
|
|
10969
10955
|
const Error$6 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10970
10956
|
...defaultProps$c.states,
|
|
@@ -11014,7 +11000,7 @@ const RegistrationFieldCustomLabel = () => (h(PortalRegisterView, Object.assign(
|
|
|
11014
11000
|
const InputField = /*#__PURE__*/Object.freeze({
|
|
11015
11001
|
__proto__: null,
|
|
11016
11002
|
'default': InputField_stories,
|
|
11017
|
-
Default: Default$
|
|
11003
|
+
Default: Default$d,
|
|
11018
11004
|
CustomLabel: CustomLabel$2,
|
|
11019
11005
|
Error: Error$6,
|
|
11020
11006
|
CustomError: CustomError$2,
|
|
@@ -12637,21 +12623,6 @@ const sharebutton = (slot) => {
|
|
|
12637
12623
|
h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
|
|
12638
12624
|
h("sqm-share-button", { medium: "twitter" }, "Post about us on X"))));
|
|
12639
12625
|
};
|
|
12640
|
-
const shareButtonsWithPromoCodes = (slot) => {
|
|
12641
|
-
return (h("sqm-portal-container", { gap: "large", slot: slot },
|
|
12642
|
-
h("sqm-text", null, "Choose how you want to share:"),
|
|
12643
|
-
h("sqm-text", null,
|
|
12644
|
-
h("sub", null, "Share with your friends:"),
|
|
12645
|
-
h("sqm-share-code", null),
|
|
12646
|
-
h("sqm-share-link", null)),
|
|
12647
|
-
h("sqm-portal-container", { gap: "x-small" },
|
|
12648
|
-
h("sqm-share-button", { medium: "email" }, "Share via email"),
|
|
12649
|
-
h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
|
|
12650
|
-
h("sqm-share-button", { medium: "twitter" }, "Post about us on X"),
|
|
12651
|
-
h("sqm-portal-container", { gap: "x-small" },
|
|
12652
|
-
h("span", { style: { textAlign: "center", color: "var(--sl-color-gray-500)" } }, "You have copied this code before"),
|
|
12653
|
-
h("sqm-pagination", null)))));
|
|
12654
|
-
};
|
|
12655
12626
|
const timeline = (slot, count) => {
|
|
12656
12627
|
return (h("sqm-timeline", { slot: slot, icon: "circle" },
|
|
12657
12628
|
count > 0 && (h("sqm-timeline-entry", { reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
|
|
@@ -12674,11 +12645,6 @@ const TimelineAndShareButtons = () => {
|
|
|
12674
12645
|
timeline("left", 3),
|
|
12675
12646
|
sharebutton("right")));
|
|
12676
12647
|
};
|
|
12677
|
-
const OneTimeUsePromoCodes = () => {
|
|
12678
|
-
return (h("sqm-referral-card", null,
|
|
12679
|
-
timeline("left", 4),
|
|
12680
|
-
shareButtonsWithPromoCodes("right")));
|
|
12681
|
-
};
|
|
12682
12648
|
const StartAlignment = () => {
|
|
12683
12649
|
return (h("sqm-referral-card", { "vertical-alignment": "start" },
|
|
12684
12650
|
timeline("left", 4),
|
|
@@ -12755,7 +12721,6 @@ const ReferralCard = /*#__PURE__*/Object.freeze({
|
|
|
12755
12721
|
ImageAndShareButtons: ImageAndShareButtons,
|
|
12756
12722
|
LimitWidth: LimitWidth,
|
|
12757
12723
|
TimelineAndShareButtons: TimelineAndShareButtons,
|
|
12758
|
-
OneTimeUsePromoCodes: OneTimeUsePromoCodes,
|
|
12759
12724
|
StartAlignment: StartAlignment,
|
|
12760
12725
|
CenterAlignment: CenterAlignment,
|
|
12761
12726
|
EndAlignment: EndAlignment,
|
|
@@ -13857,82 +13822,6 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
13857
13822
|
Error: Error$7
|
|
13858
13823
|
});
|
|
13859
13824
|
|
|
13860
|
-
const scenario$A = "@author:sam\n@owner:sam\nFeature: Referral Code\n\n The referral code component is a box that allows users to see and copy their referral promo code for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users referral code can be copied to their clipboard\n Given tooltiptext is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's referral code\n When the clipboard icon is clicked\n Then the code is copied to clipboard\n And a tooltip will appear for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip will appear for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share code is \"SHARECODE001\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their code\n Given a user viewing the referral code component\n And the component is rendered for \"program-a\"\n When they click to copy their code\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n\n @ui\n Scenario Outline: user can edit the alignment of the share code text\n Given a user is editing the referral code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the referral code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
|
|
13861
|
-
|
|
13862
|
-
const ReferralCode_stories = {
|
|
13863
|
-
title: "Components/Referral Code",
|
|
13864
|
-
parameters: {
|
|
13865
|
-
scenario: scenario$A,
|
|
13866
|
-
},
|
|
13867
|
-
};
|
|
13868
|
-
const ReferralCode = () => {
|
|
13869
|
-
return (h("sqm-referral-code", { tooltiptext: "Copied to Clipboard" }));
|
|
13870
|
-
};
|
|
13871
|
-
const ShowNotificationText = () => {
|
|
13872
|
-
return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before" }));
|
|
13873
|
-
};
|
|
13874
|
-
const ShowNotificationTextWithButton = () => {
|
|
13875
|
-
return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-outside" }));
|
|
13876
|
-
};
|
|
13877
|
-
const ShowNotificationTextWithButtonBelow = () => {
|
|
13878
|
-
return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-below" }));
|
|
13879
|
-
};
|
|
13880
|
-
const CustomTooltipText$1 = () => {
|
|
13881
|
-
return (h("sqm-referral-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
13882
|
-
};
|
|
13883
|
-
const TextAlignCenter$2 = () => {
|
|
13884
|
-
return h("sqm-referral-code", { textAlign: "center" });
|
|
13885
|
-
};
|
|
13886
|
-
const TextAlignRight$2 = () => {
|
|
13887
|
-
return h("sqm-referral-code", { textAlign: "right" });
|
|
13888
|
-
};
|
|
13889
|
-
const CustomTooltipDuration$1 = () => {
|
|
13890
|
-
return (h("sqm-referral-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
13891
|
-
};
|
|
13892
|
-
const CopyButton$2 = () => {
|
|
13893
|
-
return (h(CopyTextView, Object.assign({}, {
|
|
13894
|
-
copyString: "https://noah.example.com",
|
|
13895
|
-
open: false,
|
|
13896
|
-
tooltiptext: "Copied!",
|
|
13897
|
-
isCopyIcon: false,
|
|
13898
|
-
buttonStyle: "button-outside",
|
|
13899
|
-
})));
|
|
13900
|
-
};
|
|
13901
|
-
const CopyButtonBelow$2 = () => {
|
|
13902
|
-
return (h(CopyTextView, Object.assign({}, {
|
|
13903
|
-
copyString: "https://noah.example.com",
|
|
13904
|
-
open: false,
|
|
13905
|
-
tooltiptext: "Copied!",
|
|
13906
|
-
buttonStyle: "button-below",
|
|
13907
|
-
})));
|
|
13908
|
-
};
|
|
13909
|
-
const Error$8 = () => {
|
|
13910
|
-
const props = {
|
|
13911
|
-
copyString: "https://noah.example.com",
|
|
13912
|
-
disabled: true,
|
|
13913
|
-
open: true,
|
|
13914
|
-
tooltiptext: "Copied!",
|
|
13915
|
-
error: true,
|
|
13916
|
-
};
|
|
13917
|
-
return h(CopyTextView, Object.assign({}, props));
|
|
13918
|
-
};
|
|
13919
|
-
|
|
13920
|
-
const ReferralCode$1 = /*#__PURE__*/Object.freeze({
|
|
13921
|
-
__proto__: null,
|
|
13922
|
-
'default': ReferralCode_stories,
|
|
13923
|
-
ReferralCode: ReferralCode,
|
|
13924
|
-
ShowNotificationText: ShowNotificationText,
|
|
13925
|
-
ShowNotificationTextWithButton: ShowNotificationTextWithButton,
|
|
13926
|
-
ShowNotificationTextWithButtonBelow: ShowNotificationTextWithButtonBelow,
|
|
13927
|
-
CustomTooltipText: CustomTooltipText$1,
|
|
13928
|
-
TextAlignCenter: TextAlignCenter$2,
|
|
13929
|
-
TextAlignRight: TextAlignRight$2,
|
|
13930
|
-
CustomTooltipDuration: CustomTooltipDuration$1,
|
|
13931
|
-
CopyButton: CopyButton$2,
|
|
13932
|
-
CopyButtonBelow: CopyButtonBelow$2,
|
|
13933
|
-
Error: Error$8
|
|
13934
|
-
});
|
|
13935
|
-
|
|
13936
13825
|
// import scenario from "./ShareCode.feature";
|
|
13937
13826
|
const EmailRegistration_stories = {
|
|
13938
13827
|
title: "Components/Email Registration",
|
|
@@ -13959,7 +13848,7 @@ const defaultProps$d = {
|
|
|
13959
13848
|
fraudErrorMessageTitle: "Looks like you tried referring yourself",
|
|
13960
13849
|
},
|
|
13961
13850
|
};
|
|
13962
|
-
const Default$
|
|
13851
|
+
const Default$e = () => h(EmailRegistrationView, Object.assign({}, defaultProps$d));
|
|
13963
13852
|
const HasFirstNameLastName = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
13964
13853
|
...defaultProps$d,
|
|
13965
13854
|
content: {
|
|
@@ -13996,7 +13885,7 @@ const Loading$4 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
|
13996
13885
|
loading: true,
|
|
13997
13886
|
},
|
|
13998
13887
|
})));
|
|
13999
|
-
const Error$
|
|
13888
|
+
const Error$8 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
14000
13889
|
...defaultProps$d,
|
|
14001
13890
|
states: {
|
|
14002
13891
|
error: "Something went wrong. Please try again.",
|
|
@@ -14024,23 +13913,23 @@ const EmptyEmailError = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
|
14024
13913
|
const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
14025
13914
|
__proto__: null,
|
|
14026
13915
|
'default': EmailRegistration_stories,
|
|
14027
|
-
Default: Default$
|
|
13916
|
+
Default: Default$e,
|
|
14028
13917
|
HasFirstNameLastName: HasFirstNameLastName,
|
|
14029
13918
|
WithSlots: WithSlots,
|
|
14030
13919
|
NoBorder: NoBorder$1,
|
|
14031
13920
|
BackgroundColor: BackgroundColor$2,
|
|
14032
13921
|
Loading: Loading$4,
|
|
14033
|
-
Error: Error$
|
|
13922
|
+
Error: Error$8,
|
|
14034
13923
|
FraudError: FraudError,
|
|
14035
13924
|
EmptyEmailError: EmptyEmailError
|
|
14036
13925
|
});
|
|
14037
13926
|
|
|
14038
|
-
const scenario$
|
|
13927
|
+
const scenario$A = "@author:truman\n@owner:truman\nFeature: Coupon Code\n\n The coupon code component is a box that allows users to see and copy their coupon code for a given program\n\n @motivating\n Scenario: Component only fetches codes from current program\n Given a user has multiple rewards from various programs\n When the component is loaded\n Then it fetches the user's rewards from only the program associated with the widget\n\n @motivating\n Scenario: Component only looks at fueltank rewards\n Given a user has multiple rewards of different types\n When the component is loaded\n Then it filters the user's reward to only return FUELTANK rewards\n\n\n @motivating\n Scenario: The first (i.e. most recently received) reward is the reward that is displayed\n Given a user has at least one fueltank reward\n And the fueltank reward is available\n Then the coupon code component shows the first reward returned\n And this reward is the most recently received reward by the user\n\n @motivating\n Scenario Outline: Coupon code has multiple states depending on reward status\n Given a user has at least one fueltank reward\n And the reward has most recent status <status>\n And the dateScheduledFor field is <dateScheduledFor>\n Then the component's status is set to <componentStatus>\n And the <errorMessageTextProp> is displayed under the input field\n\n Examples:\n | status | dateScheduledFor | componentStatus | errorMessageTextProp |\n | AVAILABLE | null | AVAILABLE | N/A |\n | EXPIRED | null | EXPIRED | expiredErrorMessage |\n | REDEEMED | null | REDEEMED | redeemedMessage |\n | CANCELLED | null | CANCELLED | cancelledErrorMessage |\n | PENDING | null | EMPTY_TANK | fullfillmentErrorMessage |\n | PENDING | 123412341234 | PENDING | pendingErrorMessage |\n | null | null | ERROR | genericErrorMessage |\n\n Scenario Outline: Coupon code's error message text props are grouped\n Given an end user is viewing the coupon code component in the widget editor\n And they are looking at the component's properties\n Then they see <prop>\n And <prop> is grouped under \"Coupon code error\"\n Examples:\n | prop |\n | N/A |\n | expiredErrorMessage |\n | redeemedMessage |\n | cancelledErrorMessage |\n | fullfillmentErrorMessage |\n | pendingErrorMessage |\n | genericErrorMessage |\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @ui\n Scenario: Component shows an error state when there is an error\n Given a user is viewing the coupon code component\n When there is an error in the coupon code\n Then in place of the coupon code is an alert banner\n And the alert banner gives information about the error to the user\n\n @ui\n Scenario: Component shows an loading state\n Given a user is viewing the coupon code component\n When the coupon code is loading in\n Then the text inside the input is \"Loading...\"\n And the coupon code input box has a gray background\n And the cursor is set to \"default\"\n And the user cannot copy the text\n\n @ui\n Scenario Outline: User can edit the alignment of the coupon code text\n Given a user is editing the coupon code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the coupon code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n\n @minutia\n Scenario: ICU string converts to a date\n Given a user is viewing a live coupon code code component\n And the \"pendingErrorText\" has the \"{unpendDate}\" ICU string\n And the program is configured for rewards to be pending\n Then the user will see an info alert banner\n And the ICU string is converted to the unpend date\n";
|
|
14039
13928
|
|
|
14040
13929
|
const CouponCode_stories = {
|
|
14041
13930
|
title: "Components/Coupon Code",
|
|
14042
13931
|
parameters: {
|
|
14043
|
-
scenario: scenario$
|
|
13932
|
+
scenario: scenario$A,
|
|
14044
13933
|
},
|
|
14045
13934
|
};
|
|
14046
13935
|
const defaultProps$e = {
|
|
@@ -14055,25 +13944,25 @@ const defaultProps$e = {
|
|
|
14055
13944
|
const CouponCode = () => {
|
|
14056
13945
|
return h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
|
|
14057
13946
|
};
|
|
14058
|
-
const CustomTooltipText$
|
|
13947
|
+
const CustomTooltipText$1 = () => {
|
|
14059
13948
|
return h("sqm-coupon-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
|
|
14060
13949
|
};
|
|
14061
|
-
const CustomTooltipDuration$
|
|
13950
|
+
const CustomTooltipDuration$1 = () => {
|
|
14062
13951
|
return (h("sqm-coupon-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
14063
13952
|
};
|
|
14064
|
-
const TextAlignCenter$
|
|
13953
|
+
const TextAlignCenter$2 = () => {
|
|
14065
13954
|
return h("sqm-coupon-code", { textAlign: "center" });
|
|
14066
13955
|
};
|
|
14067
|
-
const TextAlignRight$
|
|
13956
|
+
const TextAlignRight$2 = () => {
|
|
14068
13957
|
return h("sqm-coupon-code", { textAlign: "right" });
|
|
14069
13958
|
};
|
|
14070
|
-
const CopyButton$
|
|
13959
|
+
const CopyButton$2 = () => {
|
|
14071
13960
|
return (h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside" })));
|
|
14072
13961
|
};
|
|
14073
13962
|
const CopyButtonCustomLabel = () => {
|
|
14074
13963
|
return (h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside", "copy-button-label": "test long custom label" })));
|
|
14075
13964
|
};
|
|
14076
|
-
const CopyButtonBelow$
|
|
13965
|
+
const CopyButtonBelow$2 = () => {
|
|
14077
13966
|
return (h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-below" })));
|
|
14078
13967
|
};
|
|
14079
13968
|
const CopyButtonBelowCustomLabel = () => {
|
|
@@ -14111,13 +14000,13 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14111
14000
|
__proto__: null,
|
|
14112
14001
|
'default': CouponCode_stories,
|
|
14113
14002
|
CouponCode: CouponCode,
|
|
14114
|
-
CustomTooltipText: CustomTooltipText$
|
|
14115
|
-
CustomTooltipDuration: CustomTooltipDuration$
|
|
14116
|
-
TextAlignCenter: TextAlignCenter$
|
|
14117
|
-
TextAlignRight: TextAlignRight$
|
|
14118
|
-
CopyButton: CopyButton$
|
|
14003
|
+
CustomTooltipText: CustomTooltipText$1,
|
|
14004
|
+
CustomTooltipDuration: CustomTooltipDuration$1,
|
|
14005
|
+
TextAlignCenter: TextAlignCenter$2,
|
|
14006
|
+
TextAlignRight: TextAlignRight$2,
|
|
14007
|
+
CopyButton: CopyButton$2,
|
|
14119
14008
|
CopyButtonCustomLabel: CopyButtonCustomLabel,
|
|
14120
|
-
CopyButtonBelow: CopyButtonBelow$
|
|
14009
|
+
CopyButtonBelow: CopyButtonBelow$2,
|
|
14121
14010
|
CopyButtonBelowCustomLabel: CopyButtonBelowCustomLabel,
|
|
14122
14011
|
Loading: Loading$5,
|
|
14123
14012
|
CopyButtonLoading: CopyButtonLoading,
|
|
@@ -14130,12 +14019,12 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14130
14019
|
ErrorRedeemed: ErrorRedeemed
|
|
14131
14020
|
});
|
|
14132
14021
|
|
|
14133
|
-
const scenario$
|
|
14022
|
+
const scenario$B = "@author:noah\n@owner:noah\n\nFeature: Logout Current User\n\n Background:\n Given a user viewing an instant access widget\n\n @motivating\n @ui\n Scenario: A user on an instant access widget\n Given the user is identified\n And the user is logged in\n Then the component identifies the user by displaying their email in an ICU string\n And the users email displayed in the ICU string using hte \"{email}\" variable\n\n @motivating\n @ui\n Scenario: Users can switch who they are identified as through a link\n Given the user is identified\n And the user is logged in\n When the user clicks the link in the component\n Then the saved user identity is emptied\n And they are sent back to the registration form to re-identify themselves\n\n @minutia\n Scenario: Logout link empties the saved User Identity\n Given a valid user identity\n And the user is viewing the \"logged-in\" template\n When they click the logout link\n Then the user identity is set to \"undefined\"\n And the user is returned to the \"logged-out\" template";
|
|
14134
14023
|
|
|
14135
14024
|
const LogoutCurrentUser_stories = {
|
|
14136
14025
|
title: "Components/Logout Current User",
|
|
14137
14026
|
parameters: {
|
|
14138
|
-
scenario: scenario$
|
|
14027
|
+
scenario: scenario$B,
|
|
14139
14028
|
},
|
|
14140
14029
|
};
|
|
14141
14030
|
const defaultProps$f = {
|
|
@@ -14145,22 +14034,22 @@ const defaultProps$f = {
|
|
|
14145
14034
|
loading: false,
|
|
14146
14035
|
emailErrorText: "Error fetching email",
|
|
14147
14036
|
};
|
|
14148
|
-
const Default$
|
|
14037
|
+
const Default$f = () => {
|
|
14149
14038
|
return h(LogoutCurrentUserView, Object.assign({}, defaultProps$f));
|
|
14150
14039
|
};
|
|
14151
14040
|
|
|
14152
14041
|
const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
|
|
14153
14042
|
__proto__: null,
|
|
14154
14043
|
'default': LogoutCurrentUser_stories,
|
|
14155
|
-
Default: Default$
|
|
14044
|
+
Default: Default$f
|
|
14156
14045
|
});
|
|
14157
14046
|
|
|
14158
|
-
const scenario$
|
|
14047
|
+
const scenario$C = "@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 |";
|
|
14159
14048
|
|
|
14160
14049
|
const LinkButton_stories = {
|
|
14161
14050
|
title: "Components/Link Button",
|
|
14162
14051
|
parameters: {
|
|
14163
|
-
scenario: scenario$
|
|
14052
|
+
scenario: scenario$C,
|
|
14164
14053
|
},
|
|
14165
14054
|
};
|
|
14166
14055
|
const defaultProps$g = {
|
|
@@ -14168,7 +14057,7 @@ const defaultProps$g = {
|
|
|
14168
14057
|
openInNewTab: false,
|
|
14169
14058
|
buttonText: "Button Text",
|
|
14170
14059
|
};
|
|
14171
|
-
const Default$
|
|
14060
|
+
const Default$g = () => {
|
|
14172
14061
|
return h("sqm-link-button", Object.assign({}, defaultProps$g));
|
|
14173
14062
|
};
|
|
14174
14063
|
const OpenInNewTab = () => {
|
|
@@ -14178,7 +14067,7 @@ const OpenInNewTab = () => {
|
|
|
14178
14067
|
const LinkButton = /*#__PURE__*/Object.freeze({
|
|
14179
14068
|
__proto__: null,
|
|
14180
14069
|
'default': LinkButton_stories,
|
|
14181
|
-
Default: Default$
|
|
14070
|
+
Default: Default$g,
|
|
14182
14071
|
OpenInNewTab: OpenInNewTab
|
|
14183
14072
|
});
|
|
14184
14073
|
|
|
@@ -14196,7 +14085,7 @@ const containerStyles = {
|
|
|
14196
14085
|
border: "1px solid black",
|
|
14197
14086
|
padding: "25px",
|
|
14198
14087
|
};
|
|
14199
|
-
const Default$
|
|
14088
|
+
const Default$h = () => {
|
|
14200
14089
|
return h(CloseButtonView, Object.assign({}, defaultProps$h));
|
|
14201
14090
|
};
|
|
14202
14091
|
const InAContainer = () => {
|
|
@@ -14211,7 +14100,7 @@ const CustomColor$1 = () => {
|
|
|
14211
14100
|
const CloseButton = /*#__PURE__*/Object.freeze({
|
|
14212
14101
|
__proto__: null,
|
|
14213
14102
|
'default': CloseButton_stories,
|
|
14214
|
-
Default: Default$
|
|
14103
|
+
Default: Default$h,
|
|
14215
14104
|
InAContainer: InAContainer,
|
|
14216
14105
|
CustomColor: CustomColor$1
|
|
14217
14106
|
});
|
|
@@ -14449,7 +14338,7 @@ const Loading$6 = () => {
|
|
|
14449
14338
|
},
|
|
14450
14339
|
} }));
|
|
14451
14340
|
};
|
|
14452
|
-
const Error$
|
|
14341
|
+
const Error$9 = () => {
|
|
14453
14342
|
return (h("sqm-payout-details-card", { demoData: {
|
|
14454
14343
|
states: {
|
|
14455
14344
|
error: true,
|
|
@@ -14490,7 +14379,7 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
|
14490
14379
|
__proto__: null,
|
|
14491
14380
|
'default': PayoutDetailsCard_stories,
|
|
14492
14381
|
Loading: Loading$6,
|
|
14493
|
-
Error: Error$
|
|
14382
|
+
Error: Error$9,
|
|
14494
14383
|
NextPayout: NextPayout,
|
|
14495
14384
|
PayoutToday: PayoutToday,
|
|
14496
14385
|
ThresholdPayout: ThresholdPayout,
|
|
@@ -14502,6 +14391,7 @@ const BankingForm_stories = {
|
|
|
14502
14391
|
};
|
|
14503
14392
|
const bankingFormProps = {
|
|
14504
14393
|
states: {
|
|
14394
|
+
showVerification: false,
|
|
14505
14395
|
hideSteps: false,
|
|
14506
14396
|
disabled: false,
|
|
14507
14397
|
loading: false,
|
|
@@ -15100,47 +14990,109 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
|
|
|
15100
14990
|
InvoiceTableDemoHook: InvoiceTableDemoHook
|
|
15101
14991
|
});
|
|
15102
14992
|
|
|
15103
|
-
const
|
|
15104
|
-
|
|
15105
|
-
const ReferralCodes_stories = {
|
|
15106
|
-
title: "Components/Referral Codes",
|
|
15107
|
-
parameters: {
|
|
15108
|
-
scenario: scenario$E,
|
|
15109
|
-
},
|
|
14993
|
+
const WidgetEmailVerification_stories = {
|
|
14994
|
+
title: "Components/Widget Email Verification",
|
|
15110
14995
|
};
|
|
15111
|
-
const
|
|
15112
|
-
|
|
14996
|
+
const defaultProps$k = {
|
|
14997
|
+
email: "",
|
|
14998
|
+
error: "",
|
|
14999
|
+
loading: false,
|
|
15113
15000
|
};
|
|
15114
|
-
const
|
|
15115
|
-
|
|
15116
|
-
|
|
15117
|
-
|
|
15118
|
-
|
|
15001
|
+
const Default$i = () => (h("sqm-email-verification", { demoData: {} }));
|
|
15002
|
+
const Loading$7 = () => (h("sqm-email-verification", { demoData: {
|
|
15003
|
+
states: {
|
|
15004
|
+
...defaultProps$k,
|
|
15005
|
+
loading: true,
|
|
15006
|
+
},
|
|
15007
|
+
} }));
|
|
15008
|
+
const Error$a = () => (h("sqm-email-verification", { demoData: {
|
|
15009
|
+
states: {
|
|
15010
|
+
...defaultProps$k,
|
|
15011
|
+
error: "Email is invalid",
|
|
15012
|
+
},
|
|
15013
|
+
} }));
|
|
15014
|
+
|
|
15015
|
+
const WidgetEmailVerification = /*#__PURE__*/Object.freeze({
|
|
15016
|
+
__proto__: null,
|
|
15017
|
+
'default': WidgetEmailVerification_stories,
|
|
15018
|
+
Default: Default$i,
|
|
15019
|
+
Loading: Loading$7,
|
|
15020
|
+
Error: Error$a
|
|
15021
|
+
});
|
|
15022
|
+
|
|
15023
|
+
const WidgetCodeVerification_stories = {
|
|
15024
|
+
title: "Components/Widget Code Verification",
|
|
15119
15025
|
};
|
|
15120
|
-
const
|
|
15121
|
-
|
|
15026
|
+
const defaultProps$l = {
|
|
15027
|
+
email: "testemail@example.com",
|
|
15028
|
+
loading: false,
|
|
15029
|
+
verifyFailed: false,
|
|
15030
|
+
codeResent: false,
|
|
15031
|
+
};
|
|
15032
|
+
const Default$j = () => (h("sqm-code-verification", { demoData: { states: defaultProps$l } }));
|
|
15033
|
+
const Loading$8 = () => (h("sqm-code-verification", { demoData: {
|
|
15034
|
+
states: {
|
|
15035
|
+
...defaultProps$l,
|
|
15036
|
+
loading: true,
|
|
15037
|
+
},
|
|
15038
|
+
} }));
|
|
15039
|
+
const CodeResent = () => (h("sqm-code-verification", { demoData: {
|
|
15040
|
+
states: {
|
|
15041
|
+
...defaultProps$l,
|
|
15042
|
+
codeResent: true,
|
|
15043
|
+
},
|
|
15044
|
+
} }));
|
|
15045
|
+
const VerificationFailed = () => (h("sqm-code-verification", { demoData: {
|
|
15046
|
+
states: {
|
|
15047
|
+
...defaultProps$l,
|
|
15048
|
+
verifyFailed: true,
|
|
15049
|
+
},
|
|
15050
|
+
} }));
|
|
15051
|
+
|
|
15052
|
+
const WidgetCodeVerification = /*#__PURE__*/Object.freeze({
|
|
15053
|
+
__proto__: null,
|
|
15054
|
+
'default': WidgetCodeVerification_stories,
|
|
15055
|
+
Default: Default$j,
|
|
15056
|
+
Loading: Loading$8,
|
|
15057
|
+
CodeResent: CodeResent,
|
|
15058
|
+
VerificationFailed: VerificationFailed
|
|
15059
|
+
});
|
|
15060
|
+
|
|
15061
|
+
const PayoutButtonScroll_stories = {
|
|
15062
|
+
title: "Components/Payout Scroll Button",
|
|
15122
15063
|
};
|
|
15123
|
-
const
|
|
15124
|
-
|
|
15064
|
+
const defaultProps$m = {
|
|
15065
|
+
payoutSettingsComplete: false,
|
|
15125
15066
|
};
|
|
15126
|
-
const
|
|
15127
|
-
|
|
15128
|
-
|
|
15129
|
-
|
|
15130
|
-
|
|
15067
|
+
const Default$k = () => (h("sqm-payout-button-scroll", { demoData: { states: defaultProps$m } }));
|
|
15068
|
+
const CompletedTaxForm = () => (h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$m, payoutSettingsComplete: true } } }));
|
|
15069
|
+
|
|
15070
|
+
const PayoutButtonScroll = /*#__PURE__*/Object.freeze({
|
|
15071
|
+
__proto__: null,
|
|
15072
|
+
'default': PayoutButtonScroll_stories,
|
|
15073
|
+
Default: Default$k,
|
|
15074
|
+
CompletedTaxForm: CompletedTaxForm
|
|
15075
|
+
});
|
|
15076
|
+
|
|
15077
|
+
const PayoutStatusAlert_stories = {
|
|
15078
|
+
title: "Components/Payout Status Alert",
|
|
15131
15079
|
};
|
|
15132
|
-
const
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
|
-
shareCodeWithPreviouslyCopied("shareCodes"),
|
|
15136
|
-
shareButtons("shareButtons")));
|
|
15080
|
+
const defaultProps$n = {
|
|
15081
|
+
status: "INFORMATION_REQUIRED",
|
|
15082
|
+
loading: false,
|
|
15137
15083
|
};
|
|
15084
|
+
const InformationRequired = () => (h("sqm-payout-status-alert", { demoData: { states: defaultProps$n } }));
|
|
15085
|
+
const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION_NEEDED" } } }));
|
|
15086
|
+
const Hold = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "HOLD" } } }));
|
|
15087
|
+
const Loading$9 = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, loading: true } } }));
|
|
15138
15088
|
|
|
15139
|
-
const
|
|
15089
|
+
const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
15140
15090
|
__proto__: null,
|
|
15141
|
-
'default':
|
|
15142
|
-
|
|
15143
|
-
|
|
15091
|
+
'default': PayoutStatusAlert_stories,
|
|
15092
|
+
InformationRequired: InformationRequired,
|
|
15093
|
+
VerifyIdentity: VerifyIdentity,
|
|
15094
|
+
Hold: Hold,
|
|
15095
|
+
Loading: Loading$9
|
|
15144
15096
|
});
|
|
15145
15097
|
|
|
15146
15098
|
/**
|
|
@@ -15155,7 +15107,7 @@ const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
|
|
|
15155
15107
|
*
|
|
15156
15108
|
*/
|
|
15157
15109
|
//
|
|
15158
|
-
const Default$
|
|
15110
|
+
const Default$l = `
|
|
15159
15111
|
// No CSS
|
|
15160
15112
|
`;
|
|
15161
15113
|
const Orangey = `
|
|
@@ -15189,7 +15141,7 @@ const Klip = `
|
|
|
15189
15141
|
|
|
15190
15142
|
const Themes = /*#__PURE__*/Object.freeze({
|
|
15191
15143
|
__proto__: null,
|
|
15192
|
-
Default: Default$
|
|
15144
|
+
Default: Default$l,
|
|
15193
15145
|
Orangey: Orangey,
|
|
15194
15146
|
Netflix: Netflix,
|
|
15195
15147
|
SaaSquatchCorporate: SaaSquatchCorporate,
|
|
@@ -17788,7 +17740,6 @@ const stories = [
|
|
|
17788
17740
|
InvoiceTableCells,
|
|
17789
17741
|
UseInvoiceTableCells,
|
|
17790
17742
|
ShareButton,
|
|
17791
|
-
Pagination,
|
|
17792
17743
|
ShareLink,
|
|
17793
17744
|
BigStat,
|
|
17794
17745
|
Leaderboard,
|
|
@@ -17857,8 +17808,6 @@ const stories = [
|
|
|
17857
17808
|
Tabs,
|
|
17858
17809
|
ShareCode$1,
|
|
17859
17810
|
CouponCode$1,
|
|
17860
|
-
ReferralCode$1,
|
|
17861
|
-
ReferralCodes$1,
|
|
17862
17811
|
LogoutCurrentUser,
|
|
17863
17812
|
LinkButton,
|
|
17864
17813
|
EmailRegistration,
|
|
@@ -17869,6 +17818,10 @@ const stories = [
|
|
|
17869
17818
|
TaxFormSlots,
|
|
17870
17819
|
PayoutDetailsCard,
|
|
17871
17820
|
BankingInfoForm,
|
|
17821
|
+
WidgetEmailVerification,
|
|
17822
|
+
WidgetCodeVerification,
|
|
17823
|
+
PayoutButtonScroll,
|
|
17824
|
+
PayoutStatusAlert,
|
|
17872
17825
|
];
|
|
17873
17826
|
const StencilStorybook = class {
|
|
17874
17827
|
constructor(hostRef) {
|