@saasquatch/mint-components 2.1.8-2 → 2.1.8-22
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-a26deae6.js → ShadowViewAddon-643b83e2.js} +403 -23
- package/dist/cjs/{data-8c8a08f6.js → data-e83f8a41.js} +2 -2
- package/dist/cjs/{global-b7b1b8fe.js → global-0f8b1267.js} +3177 -3126
- package/dist/cjs/{index.module-f8c8495f.js → index.module-42d413d9.js} +154 -149
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-72a0ef45.js → re-render-69bde9ee.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +12 -12
- package/dist/cjs/sqm-big-stat_45.cjs.entry.js +204 -43
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-lead-checkbox-field-view-0af2a157.js → sqm-lead-checkbox-field-view-d90f8941.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-lead-input-field-view-0cd7ebdb.js → sqm-lead-input-field-view-818d9e9a.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-49b152dd.js → sqm-navigation-sidebar-item-view-20693e59.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-c81fe7f1.js → sqm-portal-email-verification-view-2b4b92da.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-639337e3.js → sqm-portal-profile-view-bfdbb98d.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-424e406a.js → sqm-portal-verify-email-view-90cd89e3.js} +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.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 +5 -5
- package/dist/cjs/sqm-share-link.cjs.entry.js +271 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1287 -594
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-user-info-form-view-53306f6e.js → sqm-user-info-form-view-93e996d6.js} +2 -2
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +1 -1
- package/dist/cjs/{useChildElements-041127d7.js → useChildElements-89bc50a9.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-2398df36.js → useInstantAccessRegistration-651aa95b.js} +2 -2
- package/dist/cjs/{useLeadFormState-b4c2ab5b.js → useLeadFormState-76d3b511.js} +2 -2
- package/dist/cjs/{usePayoutStatus-0192fccd.js → usePayoutStatus-da7c44b3.js} +1 -1
- package/dist/cjs/{usePortalRegistrationForm-23ee2d62.js → usePortalRegistrationForm-31822dc4.js} +2 -2
- package/dist/cjs/{useReferralCodes-0f7948af.js → useReferralCodes-89c2b972.js} +1 -1
- package/dist/cjs/{useReferralTable-6e9de0d5.js → useReferralTable-d3ddfd05.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-4fe5b770.js → useRegistrationFormState-a223f597.js} +1 -1
- package/dist/cjs/useShareLink-1282123e.js +422 -0
- package/dist/cjs/useShareLink-3c22b1b9.js +448 -0
- package/dist/cjs/useShareLink-54e24928.js +448 -0
- package/dist/cjs/useShareLink-b664fbc7.js +450 -0
- package/dist/cjs/useShareLink-bf04b25c.js +450 -0
- package/dist/cjs/useShareLink-e8e2ae6d.js +448 -0
- package/dist/cjs/{useVerificationEmail-5d19aa99.js → useVerificationEmail-994bc32f.js} +1 -1
- package/dist/cjs/{utilities-fcdb9504.js → utilities-096934ea.js} +1 -1
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +0 -1
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -1
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +1 -27
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +131 -11
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +158 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +613 -26
- package/dist/collection/components/sqm-share-link/useShareLink.js +212 -14
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -6
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -2
- package/dist/esm/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-fcb6446a.js} +404 -25
- package/dist/esm/{data-12e6aae1.js → data-a6752028.js} +2 -2
- package/dist/esm/{global-96c14d63.js → global-b2ee3a12.js} +3177 -3126
- package/dist/esm/{index.module-b23fdad8.js → index.module-e266b4d7.js} +153 -150
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-f30aeb6b.js → re-render-4f4bd4da.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +12 -12
- package/dist/esm/sqm-big-stat_45.entry.js +204 -43
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +3 -3
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +3 -3
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-00d76ba1.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-d8f76a9d.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +4 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-7f966119.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-13e25037.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-a172bdcc.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c1a72c4f.js} +1 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.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 +5 -5
- package/dist/esm/sqm-share-link.entry.js +267 -0
- package/dist/esm/sqm-stencilbook.entry.js +3467 -2774
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-user-info-form-view-19d81a2b.js → sqm-user-info-form-view-0ef6a58f.js} +2 -2
- package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm/sqm-widget-verification.entry.js +1 -1
- package/dist/esm/{useChildElements-9bccfb72.js → useChildElements-31ba3daf.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-1388dace.js} +2 -2
- package/dist/esm/{useLeadFormState-dd4e8b08.js → useLeadFormState-cec544ea.js} +2 -2
- package/dist/esm/{usePayoutStatus-46c0c289.js → usePayoutStatus-1c12a397.js} +1 -1
- package/dist/esm/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-6d562bf8.js} +2 -2
- package/dist/esm/{useReferralCodes-52ca720f.js → useReferralCodes-1ca1fda0.js} +1 -1
- package/dist/esm/{useReferralTable-92af4133.js → useReferralTable-456931fd.js} +3 -3
- package/dist/esm/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-0cee2d21.js} +1 -1
- package/dist/esm/useShareLink-023284f3.js +445 -0
- package/dist/esm/useShareLink-436e9cad.js +445 -0
- package/dist/esm/useShareLink-4ba01373.js +447 -0
- package/dist/esm/useShareLink-79056582.js +445 -0
- package/dist/esm/useShareLink-a3329e33.js +419 -0
- package/dist/esm/useShareLink-bc20ec4c.js +447 -0
- package/dist/esm/{useVerificationEmail-c13c3b51.js → useVerificationEmail-5c6cd733.js} +1 -1
- package/dist/esm/{utilities-77b1e0cc.js → utilities-f05633da.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-fcb6446a.js +1 -0
- package/dist/esm-es5/{data-12e6aae1.js → data-a6752028.js} +1 -1
- package/dist/esm-es5/global-b2ee3a12.js +285 -0
- package/dist/esm-es5/index.module-e266b4d7.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-f30aeb6b.js → re-render-4f4bd4da.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.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-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-00d76ba1.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-d8f76a9d.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-7f966119.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-pagination_3.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-426370f1.js → sqm-portal-email-verification-view-13e25037.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-a172bdcc.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-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c1a72c4f.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.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-share-link.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-user-info-form-view-19d81a2b.js → sqm-user-info-form-view-0ef6a58f.js} +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-9bccfb72.js → useChildElements-31ba3daf.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-1388dace.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-dd4e8b08.js → useLeadFormState-cec544ea.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-46c0c289.js → usePayoutStatus-1c12a397.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-6d562bf8.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-52ca720f.js → useReferralCodes-1ca1fda0.js} +1 -1
- package/dist/esm-es5/{useReferralTable-92af4133.js → useReferralTable-456931fd.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-0cee2d21.js} +1 -1
- package/dist/esm-es5/useShareLink-023284f3.js +1 -0
- package/dist/esm-es5/useShareLink-436e9cad.js +1 -0
- package/dist/esm-es5/useShareLink-4ba01373.js +1 -0
- package/dist/esm-es5/useShareLink-79056582.js +1 -0
- package/dist/esm-es5/useShareLink-a3329e33.js +1 -0
- package/dist/esm-es5/useShareLink-bc20ec4c.js +1 -0
- package/dist/esm-es5/{useVerificationEmail-c13c3b51.js → useVerificationEmail-5c6cd733.js} +1 -1
- package/dist/esm-es5/{utilities-77b1e0cc.js → utilities-f05633da.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-7ee8f2ed.entry.js → p-04502b80.entry.js} +20 -20
- package/dist/mint-components/{p-653db72e.entry.js → p-06ca4346.entry.js} +1 -1
- package/dist/mint-components/{p-738dce27.system.entry.js → p-07da0ddd.system.entry.js} +1 -1
- package/dist/mint-components/{p-982d1f6f.entry.js → p-07f3b868.entry.js} +2 -2
- package/dist/mint-components/{p-2d5c2bd4.system.entry.js → p-0a900fb1.system.entry.js} +1 -1
- package/dist/mint-components/p-0eeb5438.js +499 -0
- package/dist/mint-components/{p-b66f45d1.entry.js → p-1435edd4.entry.js} +1 -1
- package/dist/mint-components/{p-c8a8d231.entry.js → p-1b7b65ef.entry.js} +2 -2
- package/dist/mint-components/p-1b9705fd.system.js +285 -0
- package/dist/mint-components/{p-6c4ad51a.js → p-1c4fe8af.js} +1 -1
- package/dist/mint-components/{p-fbe00c97.system.entry.js → p-1c8889ed.system.entry.js} +1 -1
- package/dist/mint-components/p-1d450b85.js +1 -0
- package/dist/mint-components/{p-70570e4d.system.entry.js → p-20280398.system.entry.js} +1 -1
- package/dist/mint-components/{p-bab4929e.js → p-21851092.js} +1 -1
- package/dist/mint-components/{p-a96c9bbb.system.entry.js → p-2774c704.system.entry.js} +1 -1
- package/dist/mint-components/{p-fe1d3cf8.system.entry.js → p-2ad9470d.system.entry.js} +1 -1
- package/dist/mint-components/{p-5ff7b000.entry.js → p-2c0bb139.entry.js} +1 -1
- package/dist/mint-components/{p-e5ea43b1.entry.js → p-2e2c5ec4.entry.js} +2 -2
- package/dist/mint-components/{p-642f2c89.js → p-30967f75.js} +1 -1
- package/dist/mint-components/{p-5492dd51.system.entry.js → p-3100e94a.system.entry.js} +1 -1
- package/dist/mint-components/p-31757712.entry.js +9 -0
- package/dist/mint-components/{p-e6240c72.js → p-320b306b.js} +1 -1
- package/dist/mint-components/{p-e84b874c.js → p-33a6ab09.js} +1 -1
- package/dist/mint-components/{p-91a96e98.entry.js → p-353ab6db.entry.js} +1 -1
- package/dist/mint-components/p-35724e1c.entry.js +1 -0
- package/dist/mint-components/p-3692c0da.system.entry.js +1 -0
- package/dist/mint-components/{p-cb0a5990.entry.js → p-44afc747.entry.js} +1 -1
- package/dist/mint-components/{p-85721089.system.js → p-452f644f.system.js} +1 -1
- package/dist/mint-components/{p-f55ecf35.system.js → p-473562fc.system.js} +1 -1
- package/dist/mint-components/{p-55676213.entry.js → p-47f594c3.entry.js} +1 -1
- package/dist/mint-components/{p-ca098be1.system.js → p-4b365f1f.system.js} +1 -1
- package/dist/mint-components/{p-e12754f5.system.entry.js → p-4da8028d.system.entry.js} +1 -1
- package/dist/mint-components/{p-95510f27.entry.js → p-504ed1f2.entry.js} +1 -1
- package/dist/mint-components/{p-f581aac7.js → p-5126508b.js} +1 -1
- package/dist/mint-components/{p-fc284f91.system.entry.js → p-5245e4ce.system.entry.js} +1 -1
- package/dist/mint-components/p-5284bb02.system.js +1 -0
- package/dist/mint-components/{p-f0baeed0.entry.js → p-5450693e.entry.js} +1 -1
- package/dist/mint-components/{p-f4e36adf.system.entry.js → p-55b1be64.system.entry.js} +1 -1
- package/dist/mint-components/{p-782af7ae.system.entry.js → p-5822a43f.system.entry.js} +1 -1
- package/dist/mint-components/{p-f39cf252.system.entry.js → p-5825aee6.system.entry.js} +1 -1
- package/dist/mint-components/{p-77b9cde8.system.js → p-59644ef8.system.js} +1 -1
- package/dist/mint-components/{p-f35d856a.system.js → p-5d79c8a0.system.js} +1 -1
- package/dist/mint-components/{p-e4f17c21.system.js → p-5e106c95.system.js} +1 -1
- package/dist/mint-components/{p-db0a2afd.entry.js → p-5f6d617a.entry.js} +1 -1
- package/dist/mint-components/{p-ff118a19.system.js → p-614630a8.system.js} +1 -1
- package/dist/mint-components/{p-bc386a7b.js → p-6684e9ad.js} +1 -1
- package/dist/mint-components/{p-8583ce0c.system.js → p-695ec086.system.js} +1 -1
- package/dist/mint-components/{p-90833864.system.entry.js → p-6e816a17.system.entry.js} +1 -1
- package/dist/mint-components/p-71c585b7.entry.js +1 -0
- package/dist/mint-components/{p-aefc6c4f.system.entry.js → p-7333d103.system.entry.js} +1 -1
- package/dist/mint-components/{p-8f2d03c7.entry.js → p-7528770e.entry.js} +1 -1
- package/dist/mint-components/{p-c8bcbf8b.system.entry.js → p-7767314d.system.entry.js} +1 -1
- package/dist/mint-components/{p-692e14c5.system.js → p-79854479.system.js} +1 -1
- package/dist/mint-components/{p-7161e1a6.js → p-7a7ebf08.js} +1 -1
- package/dist/mint-components/{p-25558a33.entry.js → p-7c0255ad.entry.js} +1 -1
- package/dist/mint-components/{p-5c4ba8a0.entry.js → p-80174c14.entry.js} +1 -1
- package/dist/mint-components/{p-ea03e50e.system.js → p-811f2cf6.system.js} +1 -1
- package/dist/mint-components/{p-7b59e13c.system.js → p-82905fda.system.js} +1 -1
- package/dist/mint-components/{p-80e116ec.system.entry.js → p-82be3d10.system.entry.js} +1 -1
- package/dist/mint-components/{p-172675ca.system.js → p-83277c69.system.js} +1 -1
- package/dist/mint-components/{p-09348341.entry.js → p-84866680.entry.js} +1 -1
- package/dist/mint-components/{p-c30d0049.system.entry.js → p-878bb2cf.system.entry.js} +1 -1
- package/dist/mint-components/{p-d4f332a7.entry.js → p-8828b210.entry.js} +7 -7
- package/dist/mint-components/{p-61897e72.entry.js → p-89f8ab67.entry.js} +1 -1
- package/dist/mint-components/p-8d7548fb.system.entry.js +1 -0
- package/dist/mint-components/{p-5ce78407.system.entry.js → p-91c4b8d5.system.entry.js} +1 -1
- package/dist/mint-components/{p-dd368927.system.entry.js → p-93cb9438.system.entry.js} +1 -1
- package/dist/mint-components/{p-5b871e38.system.entry.js → p-96cbca52.system.entry.js} +1 -1
- package/dist/mint-components/{p-d005df28.system.entry.js → p-9c381424.system.entry.js} +1 -1
- package/dist/mint-components/{p-0c0d4065.js → p-9fa6606e.js} +3 -3
- package/dist/mint-components/{p-d18dedd4.js → p-a03189bd.js} +1 -1
- package/dist/mint-components/{p-058aefe1.entry.js → p-a30f0ffd.entry.js} +1 -1
- package/dist/mint-components/{p-3adbfd0b.system.js → p-a4af948a.system.js} +1 -1
- package/dist/mint-components/{p-3366b81e.js → p-ab678644.js} +2 -2
- package/dist/mint-components/{p-d997001a.js → p-ad017a39.js} +1 -1
- package/dist/mint-components/{p-205cfdcd.system.js → p-b179621d.system.js} +1 -1
- package/dist/mint-components/{p-6668f9f0.entry.js → p-b6fc53c9.entry.js} +1 -1
- package/dist/mint-components/{p-027fc3be.system.entry.js → p-b8288385.system.entry.js} +1 -1
- package/dist/mint-components/{p-013564b3.entry.js → p-b8766db9.entry.js} +1 -1
- package/dist/mint-components/{p-3bc62ca6.entry.js → p-b9652150.entry.js} +1 -1
- package/dist/mint-components/{p-e3497e0e.system.entry.js → p-bae7d6b5.system.entry.js} +1 -1
- package/dist/mint-components/{p-a4f8abad.js → p-bd804f4c.js} +1 -1
- package/dist/mint-components/{p-d4570314.entry.js → p-c2c01ab5.entry.js} +1 -1
- package/dist/mint-components/{p-0706cf9e.system.entry.js → p-c487466f.system.entry.js} +1 -1
- package/dist/mint-components/{p-036a2617.system.js → p-c756bc32.system.js} +1 -1
- package/dist/mint-components/{p-b395470f.entry.js → p-c7815d0e.entry.js} +1 -1
- package/dist/mint-components/{p-f1374258.system.entry.js → p-c8060ef5.system.entry.js} +1 -1
- package/dist/mint-components/{p-52674798.entry.js → p-cc0fe4a3.entry.js} +1 -1
- package/dist/mint-components/{p-4da5a3fe.system.entry.js → p-d2448c85.system.entry.js} +1 -1
- package/dist/mint-components/{p-5b1d2866.system.js → p-d42aba0e.system.js} +1 -1
- package/dist/mint-components/{p-3286ef38.js → p-d5375baf.js} +1 -1
- package/dist/mint-components/p-d6c1e876.system.js +1 -0
- package/dist/mint-components/{p-035d9b65.js → p-d863acaa.js} +1 -1
- package/dist/mint-components/{p-e6ace3ab.js → p-dece706f.js} +1 -1
- package/dist/mint-components/{p-de0d6fd7.js → p-df9cfdc9.js} +1 -1
- package/dist/mint-components/{p-ec0b649a.entry.js → p-dfb50245.entry.js} +1 -1
- package/dist/mint-components/{p-7efb8782.system.js → p-e44c816e.system.js} +1 -1
- package/dist/mint-components/{p-19c441b2.system.js → p-e4d3b7a9.system.js} +1 -1
- package/dist/mint-components/{p-b2b85238.entry.js → p-e502fd80.entry.js} +1 -1
- package/dist/mint-components/{p-e00ec007.js → p-e5e8e13e.js} +1 -1
- package/dist/mint-components/{p-6e512063.entry.js → p-e6c8656e.entry.js} +1 -1
- package/dist/mint-components/{p-f8a09b0f.js → p-e7a9ce16.js} +152 -152
- package/dist/mint-components/{p-c67f8558.system.entry.js → p-e9a596d6.system.entry.js} +1 -1
- package/dist/mint-components/{p-09f7aacd.entry.js → p-ed17e1b8.entry.js} +2 -2
- package/dist/mint-components/{p-d6193876.system.js → p-f3b21df2.system.js} +1 -1
- package/dist/mint-components/{p-c45a929a.system.entry.js → p-f3ddbe2f.system.entry.js} +1 -1
- package/dist/mint-components/{p-77fa2383.entry.js → p-f6fc7569.entry.js} +1 -1
- package/dist/mint-components/{p-626b31cb.system.entry.js → p-f7948b16.system.entry.js} +1 -1
- package/dist/mint-components/{p-a0c5631b.system.js → p-f84605ec.system.js} +1 -1
- package/dist/mint-components/{p-ab0ea688.system.entry.js → p-f95952a0.system.entry.js} +1 -1
- package/dist/mint-components/{p-5141769d.system.entry.js → p-fa32d8eb.system.entry.js} +1 -1
- package/dist/mint-components/{p-0d83907e.js → p-fca34d77.js} +1 -1
- package/dist/mint-components/{p-2b4af8e8.system.entry.js → p-fe0eceba.system.entry.js} +1 -1
- package/dist/mint-components/sqm-share-link.entry.js +267 -0
- package/dist/mint-components/sqm-share-link.system.entry.js +1 -0
- package/dist/mint-components/sqm-stencilbook.entry.js +22106 -0
- package/dist/mint-components/sqm-stencilbook.system.entry.js +1 -0
- package/dist/mint-components/useShareLink-023284f3.js +445 -0
- package/dist/mint-components/useShareLink-1d7c9fd8.system.js +1 -0
- package/dist/mint-components/useShareLink-211e061c.system.js +1 -0
- package/dist/mint-components/useShareLink-2de7ffce.system.js +1 -0
- package/dist/mint-components/useShareLink-436e9cad.js +445 -0
- package/dist/mint-components/useShareLink-454939f5.system.js +1 -0
- package/dist/mint-components/useShareLink-4ba01373.js +447 -0
- package/dist/mint-components/useShareLink-79056582.js +445 -0
- package/dist/mint-components/useShareLink-a3329e33.js +419 -0
- package/dist/mint-components/useShareLink-bc20ec4c.js +447 -0
- package/dist/mint-components/useShareLink-c05fe151.system.js +1 -0
- package/dist/mint-components/useShareLink-cb5abd96.system.js +1 -0
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +0 -1
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +0 -5
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
- package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +36 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +128 -2
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +26 -4
- package/dist/types/components.d.ts +445 -12
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/shoelace/assets/icons/twitter-x.svg +4 -0
- package/dist/esm-es5/ShadowViewAddon-47f1e579.js +0 -1
- package/dist/esm-es5/global-96c14d63.js +0 -271
- package/dist/esm-es5/index.module-b23fdad8.js +0 -1
- package/dist/mint-components/p-02499e08.entry.js +0 -1
- package/dist/mint-components/p-0614dcbc.entry.js +0 -9
- package/dist/mint-components/p-217dedde.js +0 -463
- package/dist/mint-components/p-30c1ef36.system.js +0 -1
- package/dist/mint-components/p-7265bbcb.system.js +0 -271
- package/dist/mint-components/p-bf545082.system.entry.js +0 -1
- package/dist/mint-components/p-ce050888.system.js +0 -1
- package/dist/mint-components/p-d0993bb9.js +0 -1
- package/dist/mint-components/p-de343dd0.system.entry.js +0 -1
- package/dist/mint-components/p-fe70e20c.entry.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
- package/docs/stats.json +0 -122783
|
@@ -2,42 +2,78 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
require('./global-
|
|
7
|
-
const domContextHooks_module = require('./dom-context-hooks.module-
|
|
8
|
-
const index_module = require('./index.module-
|
|
9
|
-
require('./
|
|
10
|
-
require('./
|
|
11
|
-
const JSS = require('./JSS-
|
|
12
|
-
require('./
|
|
13
|
-
require('./
|
|
14
|
-
|
|
15
|
-
require('./
|
|
16
|
-
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-424e406a.js');
|
|
17
|
-
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-020f661c.js');
|
|
18
|
-
const GenericTableView = require('./GenericTableView-be5648e4.js');
|
|
19
|
-
require('./useChildElements-041127d7.js');
|
|
20
|
-
const luxon = require('./luxon-c1ad356a.js');
|
|
21
|
-
const sqmCloseButtonView = require('./sqm-close-button-view-e9f2a454.js');
|
|
22
|
-
require('./index-8c6255f5.js');
|
|
5
|
+
const index = require('./index-fd67d7bc.js');
|
|
6
|
+
require('./global-746daf93.js');
|
|
7
|
+
const domContextHooks_module = require('./dom-context-hooks.module-224e09d4.js');
|
|
8
|
+
const index_module = require('./index.module-c79bd5b0.js');
|
|
9
|
+
require('./GoogleFonts-039d880f.js');
|
|
10
|
+
require('./jss-preset-default.esm-b48f0c33.js');
|
|
11
|
+
const JSS = require('./JSS-518e9b4d.js');
|
|
12
|
+
require('./mixins-f51b04f1.js');
|
|
13
|
+
const sqmCloseButtonView = require('./sqm-close-button-view-f0739ccb.js');
|
|
14
|
+
require('./utils-e326d1b5.js');
|
|
15
|
+
require('./index-9a829282.js');
|
|
23
16
|
require('./imageUrl-a7880cab.js');
|
|
24
|
-
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
require('./
|
|
33
|
-
const
|
|
34
|
-
require('./
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
const
|
|
17
|
+
require('./cjs-2bf512b9.js');
|
|
18
|
+
const emailRegistrationView = require('./email-registration-view-efcb8798.js');
|
|
19
|
+
const sqmLeadCheckboxFieldView = require('./sqm-lead-checkbox-field-view-66bf79c7.js');
|
|
20
|
+
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-141b8e74.js');
|
|
21
|
+
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-edbe1348.js');
|
|
22
|
+
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-c9f45972.js');
|
|
23
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-dfa1e885.js');
|
|
24
|
+
require('./data-7eb11f12.js');
|
|
25
|
+
require('./sqm-text-span-view-ca0a70ba.js');
|
|
26
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-f24758ec.js');
|
|
27
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-5950c3eb.js');
|
|
28
|
+
require('./utilities-25747d38.js');
|
|
29
|
+
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-5264d4ba.js');
|
|
30
|
+
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-93b37b10.js');
|
|
31
|
+
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-ba89eede.js');
|
|
32
|
+
require('./ErrorView-dd328bfc.js');
|
|
33
|
+
const sqmQrCodeView = require('./sqm-qr-code-view-914906e4.js');
|
|
34
|
+
require('./useReferralCodes-4304f68f.js');
|
|
35
|
+
const sqmBigStatView = require('./sqm-big-stat-view-b695364f.js');
|
|
36
|
+
const useShareButton = require('./useShareButton-51b74885.js');
|
|
37
|
+
const copyTextView = require('./copy-text-view-fd17b89a.js');
|
|
38
|
+
const sqmPortalSectionView = require('./sqm-portal-section-view-f9b0ae2c.js');
|
|
39
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-39599a6d.js');
|
|
40
|
+
const sqmStatContainerView = require('./sqm-stat-container-view-731eadab.js');
|
|
41
|
+
const sqmPortalChangePasswordView = require('./sqm-portal-change-password-view-aa777a10.js');
|
|
42
|
+
const sqmPortalFooterView = require('./sqm-portal-footer-view-9d4a593d.js');
|
|
43
|
+
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-a08708f4.js');
|
|
44
|
+
require('./useChildElements-708e8262.js');
|
|
45
|
+
const useDemoBigStat = require('./useDemoBigStat-4fb173ba.js');
|
|
46
|
+
const sqmCardFeedView = require('./sqm-card-feed-view-46b4a93a.js');
|
|
47
|
+
const luxon = require('./luxon-99375875.js');
|
|
48
|
+
const sqmTaskCardView = require('./sqm-task-card-view-34f94a28.js');
|
|
49
|
+
const sqmPortalRegisterView = require('./sqm-portal-register-view-c04ac7eb.js');
|
|
50
|
+
const sqmCheckboxFieldView = require('./sqm-checkbox-field-view-09bcdb50.js');
|
|
51
|
+
const sqmCouponCodeView = require('./sqm-coupon-code-view-7a7ca5bb.js');
|
|
52
|
+
const sqmDropdownFieldView = require('./sqm-dropdown-field-view-e8493bb3.js');
|
|
53
|
+
const sqmEditProfileView = require('./sqm-edit-profile-view-2eb33fff.js');
|
|
54
|
+
const ShadowViewAddon = require('./ShadowViewAddon-bb6d86c8.js');
|
|
55
|
+
const sqmHeroView = require('./sqm-hero-view-b48fa1bd.js');
|
|
56
|
+
const sqmInputFieldView = require('./sqm-input-field-view-2268467f.js');
|
|
57
|
+
const GenericTableView = require('./GenericTableView-6ca805d1.js');
|
|
58
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-31892cf3.js');
|
|
59
|
+
const sqmNameFieldsView = require('./sqm-name-fields-view-98361d92.js');
|
|
60
|
+
const sqmPortalChangeMarketingView = require('./sqm-portal-change-marketing-view-8961e575.js');
|
|
61
|
+
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-3ff8e40d.js');
|
|
62
|
+
const sqmPortalFrameView = require('./sqm-portal-frame-view-d07af74c.js');
|
|
63
|
+
const sqmPortalLoginView = require('./sqm-portal-login-view-f5ac5571.js');
|
|
64
|
+
const sqmReferralIframeView = require('./sqm-referral-iframe-view-ad358e47.js');
|
|
65
|
+
const RewardExchangeListData = require('./RewardExchangeListData-7d1aff90.js');
|
|
66
|
+
const useShareLink = require('./useShareLink-1282123e.js');
|
|
67
|
+
const LoadingView = require('./LoadingView-a567e2eb.js');
|
|
68
|
+
const subregions = require('./subregions-d43680d2.js');
|
|
69
|
+
const utils = require('./utils-a63cf4f4.js');
|
|
70
|
+
require('./countries-473a6e62.js');
|
|
71
|
+
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-d8458b7b.js');
|
|
72
|
+
const sqmLeadFormView = require('./sqm-lead-form-view-21432255.js');
|
|
73
|
+
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-2569b521.js');
|
|
74
|
+
const sqmLeadDropdownFieldView = require('./sqm-lead-dropdown-field-view-07e55fbc.js');
|
|
75
|
+
const sqmUserInfoFormView = require('./sqm-user-info-form-view-68d199ec.js');
|
|
76
|
+
const Themes = require('./Themes-77883dd2.js');
|
|
41
77
|
|
|
42
78
|
/**
|
|
43
79
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -691,7 +727,7 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
691
727
|
_this.tags.push(tag);
|
|
692
728
|
};
|
|
693
729
|
|
|
694
|
-
this.isSpeedy = options.speedy === undefined ? "
|
|
730
|
+
this.isSpeedy = options.speedy === undefined ? "development" === 'production' : options.speedy;
|
|
695
731
|
this.tags = [];
|
|
696
732
|
this.ctr = 0;
|
|
697
733
|
this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
|
|
@@ -718,6 +754,18 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
718
754
|
|
|
719
755
|
var tag = this.tags[this.tags.length - 1];
|
|
720
756
|
|
|
757
|
+
if ("development" !== 'production') {
|
|
758
|
+
var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
|
|
759
|
+
|
|
760
|
+
if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
|
|
761
|
+
// this would only cause problem in speedy mode
|
|
762
|
+
// but we don't want enabling speedy to affect the observable behavior
|
|
763
|
+
// so we report this error at all times
|
|
764
|
+
console.error("You're attempting to insert the following rule:\n" + rule + '\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');
|
|
765
|
+
}
|
|
766
|
+
this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
|
|
767
|
+
}
|
|
768
|
+
|
|
721
769
|
if (this.isSpeedy) {
|
|
722
770
|
var sheet = sheetForTag(tag);
|
|
723
771
|
|
|
@@ -726,6 +774,9 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
726
774
|
// the big drawback is that the css won't be editable in devtools
|
|
727
775
|
sheet.insertRule(rule, sheet.cssRules.length);
|
|
728
776
|
} catch (e) {
|
|
777
|
+
if ("development" !== 'production' && !/:(-moz-placeholder|-ms-input-placeholder|-moz-read-write|-moz-read-only){/.test(rule)) {
|
|
778
|
+
console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
|
|
779
|
+
}
|
|
729
780
|
}
|
|
730
781
|
} else {
|
|
731
782
|
tag.appendChild(document.createTextNode(rule));
|
|
@@ -741,12 +792,31 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
741
792
|
});
|
|
742
793
|
this.tags = [];
|
|
743
794
|
this.ctr = 0;
|
|
795
|
+
|
|
796
|
+
if ("development" !== 'production') {
|
|
797
|
+
this._alreadyInsertedOrderInsensitiveRule = false;
|
|
798
|
+
}
|
|
744
799
|
};
|
|
745
800
|
|
|
746
801
|
return StyleSheet;
|
|
747
802
|
}();
|
|
748
803
|
|
|
749
|
-
var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var i="@import";var p="@keyframes";var k=Math.abs;var d=String.fromCharCode;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function g(e){return e.trim()}function x(e,r){return (e=r.exec(e))?e[0]:e}function y(e,r,a){return e.replace(r,a)}function j(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function C(e,r,a){return e.slice(r,a)}function A(e){return e.length}function M(e){return e.length}function O(e,r){return r.push(e),e}function S(e,r){return e.map(r).join("")}var q=1;var B=1;var D=0;var E=0;var F=0;var G="";function H(e,r,a,c,n,t,s){return {value:e,root:r,parent:a,type:c,props:n,children:t,line:q,column:B,length:s,return:""}}function I(e,r,a){return H(e,r.root,r.parent,a,r.props,r.children,0)}function J(){return F}function K(){F=E>0?z(G,--E):0;if(B--,F===10)B=1,q--;return F}function L(){F=E<D?z(G,E++):0;if(B++,F===10)B=1,q++;return F}function N(){return z(G,E)}function P(){return E}function Q(e,r){return C(G,e,r)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return q=B=1,D=A(G=e),E=0,[]}function U(e){return G="",e}function V(e){return g(Q(E-1,_(e===91?e+2:e===40?e+1:e)))}function X(e){while(F=N())if(F<33)L();else break;return R(e)>2||R(F)>3?"":" "}function Z(e,r){while(--r&&L())if(F<48||F>102||F>57&&F<65||F>70&&F<97)break;return Q(e,P()+(r<6&&N()==32&&L()==32))}function _(e){while(L())switch(F){case e:return E;case 34:case 39:return _(e===34||e===39?e:F);case 40:if(e===41)_(e);break;case 92:L();break}return E}function ee(e,r){while(L())if(e+F===47+10)break;else if(e+F===42+42&&N()===47)break;return "/*"+Q(r,E-1)+"*"+d(e===47?e:L())}function re(e){while(!R(N()))L();return Q(e,E)}function ae(e){return U(ce("",null,null,null,[""],e=T(e),0,[0],e))}function ce(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var b=1;var w=1;var $=1;var k=0;var m="";var g=n;var x=t;var j=c;var z=m;while(w)switch(p=k,k=L()){case 34:case 39:case 91:case 40:z+=V(k);break;case 9:case 10:case 13:case 32:z+=X(p);break;case 92:z+=Z(P()-1,7);continue;case 47:switch(N()){case 42:case 47:O(te(ee(L(),P()),r,a),i);break;default:z+="/";}break;case 123*b:u[f++]=A(z)*$;case 125*b:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+o:if(h>0&&A(z)-l)O(h>32?se(z+";",c,a,l-1):se(y(z," ","")+";",c,a,l-2),i);break;case 59:z+=";";default:O(j=ne(z,r,a,f,o,n,u,m,g=[],x=[],l),t);if(k===123)if(o===0)ce(z,r,j,j,g,t,l,u,x);else switch(v){case 100:case 109:case 115:ce(e,j,j,c&&O(ne(e,j,j,0,0,n,u,m,n,g=[],l),x),n,x,l,u,c?g:x);break;default:ce(z,j,j,j,[""],x,l,u,x);}}f=o=h=0,b=$=1,m=z="",l=s;break;case 58:l=1+A(z),h=p;default:if(b<1)if(k==123)--b;else if(k==125&&b++==0&&K()==125)continue;switch(z+=d(k),k*b){case 38:$=o>0?1:(z+="\f",-1);break;case 44:u[f++]=(A(z)-1)*$,$=1;break;case 64:if(N()===45)z+=V(L());v=N(),o=A(m=z+=re(P())),k++;break;case 45:if(p===45&&A(z)==2)b=0;}}return t}function ne(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[""];var p=M(h);for(var b=0,w=0,$=0;b<c;++b)for(var d=0,m=C(e,v+1,v=k(w=u[b])),x=e;d<p;++d)if(x=g(w>0?h[d]+" "+m:y(m,/&\f/g,h[d])))f[$++]=x;return H(e,r,a,t===0?n:i,f,o,l)}function te(e,r,a){return H(e,r,a,c,d(J()),C(e,2,-2),0)}function se(e,r,a,c){return H(e,r,a,t,C(e,0,c),C(e,c+1,-1),c)}function ue(c,n){switch(m(c,n)){case 5103:return a+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a+c+r+c+e+c+c;case 6828:case 4268:return a+c+e+c+c;case 6165:return a+c+e+"flex-"+c+c;case 5187:return a+c+y(c,/(\w+).+(:[^]+)/,a+"box-$1$2"+e+"flex-$1$2")+c;case 5443:return a+c+e+"flex-item-"+y(c,/flex-|-self/,"")+c;case 4675:return a+c+e+"flex-line-pack"+y(c,/align-content|flex-|-self/,"")+c;case 5548:return a+c+e+y(c,"shrink","negative")+c;case 5292:return a+c+e+y(c,"basis","preferred-size")+c;case 6060:return a+"box-"+y(c,"-grow","")+a+c+e+y(c,"grow","positive")+c;case 4554:return a+y(c,/([^-])(transform)/g,"$1"+a+"$2")+c;case 6187:return y(y(y(c,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),c,"")+c;case 5495:case 3959:return y(c,/(image-set\([^]*)/,a+"$1"+"$`$1");case 4968:return y(y(c,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+c+c;case 4095:case 3583:case 4068:case 2532:return y(c,/(.+)-inline(.+)/,a+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(A(c)-1-n>6)switch(z(c,n+1)){case 109:if(z(c,n+4)!==45)break;case 102:return y(c,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3"+"$1"+r+(z(c,n+3)==108?"$3":"$2-$3"))+c;case 115:return ~j(c,"stretch")?ue(y(c,"stretch","fill-available"),n)+c:c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,A(c)-3-(~j(c,"!important")&&10))){case 107:return y(c,":",":"+a)+c;case 101:return y(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(z(c,14)===45?"inline-":"")+"box$3"+"$1"+a+"$2$3"+"$1"+e+"$2box$3")+c}break;case 5936:switch(z(c,n+11)){case 114:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return a+c+e+c+c}return c}function ie(e,r){var a="";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||"";return a}function fe(e,r,a,s){switch(e.type){case i:case t:return e.return=e.return||e.value;case c:return "";case n:e.value=e.props.join(",");}return A(a=ie(e.children,s))?e.return=e.value+"{"+a+"}":""}function oe(e){var r=M(e);return function(a,c,n,t){var s="";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||"";return s}}function le(e){return function(r){if(!r.root)if(r=r.return)e(r);}}function ve(c,s,u,i){if(!c.return)switch(c.type){case t:c.return=ue(c.value,c.length);break;case p:return ie([I(y(c.value,"@","@"+a),c,"")],i);case n:if(c.length)return S(c.props,(function(n){switch(x(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ie([I(y(n,/:(read-\w+)/,":"+r+"$1"),c,"")],i);case"::placeholder":return ie([I(y(n,/:(plac\w+)/,":"+a+"input-$1"),c,""),I(y(n,/:(plac\w+)/,":"+r+"$1"),c,""),I(y(n,/:(plac\w+)/,e+"input-$1"),c,"")],i)}return ""}))}}
|
|
804
|
+
var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var s="@page";var u="@media";var i="@import";var f="@charset";var o="@viewport";var l="@supports";var v="@document";var h="@namespace";var p="@keyframes";var b="@font-face";var w="@counter-style";var $="@font-feature-values";var k=Math.abs;var d=String.fromCharCode;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function g(e){return e.trim()}function x(e,r){return (e=r.exec(e))?e[0]:e}function y(e,r,a){return e.replace(r,a)}function j(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function C(e,r,a){return e.slice(r,a)}function A(e){return e.length}function M(e){return e.length}function O(e,r){return r.push(e),e}function S(e,r){return e.map(r).join("")}var q=1;var B=1;var D=0;var E=0;var F=0;var G="";function H(e,r,a,c,n,t,s){return {value:e,root:r,parent:a,type:c,props:n,children:t,line:q,column:B,length:s,return:""}}function I(e,r,a){return H(e,r.root,r.parent,a,r.props,r.children,0)}function J(){return F}function K(){F=E>0?z(G,--E):0;if(B--,F===10)B=1,q--;return F}function L(){F=E<D?z(G,E++):0;if(B++,F===10)B=1,q++;return F}function N(){return z(G,E)}function P(){return E}function Q(e,r){return C(G,e,r)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return q=B=1,D=A(G=e),E=0,[]}function U(e){return G="",e}function V(e){return g(Q(E-1,_(e===91?e+2:e===40?e+1:e)))}function W(e){return U(Y(T(e)))}function X(e){while(F=N())if(F<33)L();else break;return R(e)>2||R(F)>3?"":" "}function Y(e){while(L())switch(R(F)){case 0:O(re(E-1),e);break;case 2:O(V(F),e);break;default:O(d(F),e);}return e}function Z(e,r){while(--r&&L())if(F<48||F>102||F>57&&F<65||F>70&&F<97)break;return Q(e,P()+(r<6&&N()==32&&L()==32))}function _(e){while(L())switch(F){case e:return E;case 34:case 39:return _(e===34||e===39?e:F);case 40:if(e===41)_(e);break;case 92:L();break}return E}function ee(e,r){while(L())if(e+F===47+10)break;else if(e+F===42+42&&N()===47)break;return "/*"+Q(r,E-1)+"*"+d(e===47?e:L())}function re(e){while(!R(N()))L();return Q(e,E)}function ae(e){return U(ce("",null,null,null,[""],e=T(e),0,[0],e))}function ce(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var b=1;var w=1;var $=1;var k=0;var m="";var g=n;var x=t;var j=c;var z=m;while(w)switch(p=k,k=L()){case 34:case 39:case 91:case 40:z+=V(k);break;case 9:case 10:case 13:case 32:z+=X(p);break;case 92:z+=Z(P()-1,7);continue;case 47:switch(N()){case 42:case 47:O(te(ee(L(),P()),r,a),i);break;default:z+="/";}break;case 123*b:u[f++]=A(z)*$;case 125*b:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+o:if(h>0&&A(z)-l)O(h>32?se(z+";",c,a,l-1):se(y(z," ","")+";",c,a,l-2),i);break;case 59:z+=";";default:O(j=ne(z,r,a,f,o,n,u,m,g=[],x=[],l),t);if(k===123)if(o===0)ce(z,r,j,j,g,t,l,u,x);else switch(v){case 100:case 109:case 115:ce(e,j,j,c&&O(ne(e,j,j,0,0,n,u,m,n,g=[],l),x),n,x,l,u,c?g:x);break;default:ce(z,j,j,j,[""],x,l,u,x);}}f=o=h=0,b=$=1,m=z="",l=s;break;case 58:l=1+A(z),h=p;default:if(b<1)if(k==123)--b;else if(k==125&&b++==0&&K()==125)continue;switch(z+=d(k),k*b){case 38:$=o>0?1:(z+="\f",-1);break;case 44:u[f++]=(A(z)-1)*$,$=1;break;case 64:if(N()===45)z+=V(L());v=N(),o=A(m=z+=re(P())),k++;break;case 45:if(p===45&&A(z)==2)b=0;}}return t}function ne(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[""];var p=M(h);for(var b=0,w=0,$=0;b<c;++b)for(var d=0,m=C(e,v+1,v=k(w=u[b])),x=e;d<p;++d)if(x=g(w>0?h[d]+" "+m:y(m,/&\f/g,h[d])))f[$++]=x;return H(e,r,a,t===0?n:i,f,o,l)}function te(e,r,a){return H(e,r,a,c,d(J()),C(e,2,-2),0)}function se(e,r,a,c){return H(e,r,a,t,C(e,0,c),C(e,c+1,-1),c)}function ue(c,n){switch(m(c,n)){case 5103:return a+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a+c+r+c+e+c+c;case 6828:case 4268:return a+c+e+c+c;case 6165:return a+c+e+"flex-"+c+c;case 5187:return a+c+y(c,/(\w+).+(:[^]+)/,a+"box-$1$2"+e+"flex-$1$2")+c;case 5443:return a+c+e+"flex-item-"+y(c,/flex-|-self/,"")+c;case 4675:return a+c+e+"flex-line-pack"+y(c,/align-content|flex-|-self/,"")+c;case 5548:return a+c+e+y(c,"shrink","negative")+c;case 5292:return a+c+e+y(c,"basis","preferred-size")+c;case 6060:return a+"box-"+y(c,"-grow","")+a+c+e+y(c,"grow","positive")+c;case 4554:return a+y(c,/([^-])(transform)/g,"$1"+a+"$2")+c;case 6187:return y(y(y(c,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),c,"")+c;case 5495:case 3959:return y(c,/(image-set\([^]*)/,a+"$1"+"$`$1");case 4968:return y(y(c,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+c+c;case 4095:case 3583:case 4068:case 2532:return y(c,/(.+)-inline(.+)/,a+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(A(c)-1-n>6)switch(z(c,n+1)){case 109:if(z(c,n+4)!==45)break;case 102:return y(c,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3"+"$1"+r+(z(c,n+3)==108?"$3":"$2-$3"))+c;case 115:return ~j(c,"stretch")?ue(y(c,"stretch","fill-available"),n)+c:c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,A(c)-3-(~j(c,"!important")&&10))){case 107:return y(c,":",":"+a)+c;case 101:return y(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(z(c,14)===45?"inline-":"")+"box$3"+"$1"+a+"$2$3"+"$1"+e+"$2box$3")+c}break;case 5936:switch(z(c,n+11)){case 114:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return a+c+e+c+c}return c}function ie(e,r){var a="";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||"";return a}function fe(e,r,a,s){switch(e.type){case i:case t:return e.return=e.return||e.value;case c:return "";case n:e.value=e.props.join(",");}return A(a=ie(e.children,s))?e.return=e.value+"{"+a+"}":""}function oe(e){var r=M(e);return function(a,c,n,t){var s="";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||"";return s}}function le(e){return function(r){if(!r.root)if(r=r.return)e(r);}}function ve(c,s,u,i){if(!c.return)switch(c.type){case t:c.return=ue(c.value,c.length);break;case p:return ie([I(y(c.value,"@","@"+a),c,"")],i);case n:if(c.length)return S(c.props,(function(n){switch(x(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ie([I(y(n,/:(read-\w+)/,":"+r+"$1"),c,"")],i);case"::placeholder":return ie([I(y(n,/:(plac\w+)/,":"+a+"input-$1"),c,""),I(y(n,/:(plac\w+)/,":"+r+"$1"),c,""),I(y(n,/:(plac\w+)/,e+"input-$1"),c,"")],i)}return ""}))}}function he(e){switch(e.type){case n:e.props=e.props.map((function(r){return S(W(r),(function(r,a,c){switch(z(r,0)){case 12:return C(r,1,A(r));case 0:case 40:case 43:case 62:case 126:return r;case 58:if(c[++a]==="global")c[a]="",c[++a]="\f"+C(c[a],a=1,-1);case 32:return a===1?"":r;default:switch(a){case 0:e=r;return M(c)>1?"":r;case a=M(c)-1:case 2:return a===2?r+e+e:r+e;default:return r}}}))}));}}
|
|
805
|
+
|
|
806
|
+
var weakMemoize = function weakMemoize(func) {
|
|
807
|
+
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
808
|
+
var cache = new WeakMap();
|
|
809
|
+
return function (arg) {
|
|
810
|
+
if (cache.has(arg)) {
|
|
811
|
+
// $FlowFixMe
|
|
812
|
+
return cache.get(arg);
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
var ret = func(arg);
|
|
816
|
+
cache.set(arg, ret);
|
|
817
|
+
return ret;
|
|
818
|
+
};
|
|
819
|
+
};
|
|
750
820
|
|
|
751
821
|
function memoize(fn) {
|
|
752
822
|
var cache = Object.create(null);
|
|
@@ -756,6 +826,10 @@ function memoize(fn) {
|
|
|
756
826
|
};
|
|
757
827
|
}
|
|
758
828
|
|
|
829
|
+
var last = function last(arr) {
|
|
830
|
+
return arr.length ? arr[arr.length - 1] : null;
|
|
831
|
+
};
|
|
832
|
+
|
|
759
833
|
var toRules = function toRules(parsed, points) {
|
|
760
834
|
// pretend we've started with a comma
|
|
761
835
|
var index = -1;
|
|
@@ -857,12 +931,79 @@ var removeLabel = function removeLabel(element) {
|
|
|
857
931
|
}
|
|
858
932
|
}
|
|
859
933
|
};
|
|
934
|
+
var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
|
|
935
|
+
|
|
936
|
+
var isIgnoringComment = function isIgnoringComment(element) {
|
|
937
|
+
return !!element && element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
|
|
938
|
+
};
|
|
939
|
+
|
|
940
|
+
var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
|
|
941
|
+
return function (element, index, children) {
|
|
942
|
+
if (element.type !== 'rule') return;
|
|
943
|
+
var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
|
|
944
|
+
|
|
945
|
+
if (unsafePseudoClasses && cache.compat !== true) {
|
|
946
|
+
var prevElement = index > 0 ? children[index - 1] : null;
|
|
947
|
+
|
|
948
|
+
if (prevElement && isIgnoringComment(last(prevElement.children))) {
|
|
949
|
+
return;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
unsafePseudoClasses.forEach(function (unsafePseudoClass) {
|
|
953
|
+
console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
|
|
954
|
+
});
|
|
955
|
+
}
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
var isImportRule = function isImportRule(element) {
|
|
960
|
+
return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
|
|
964
|
+
for (var i = index - 1; i >= 0; i--) {
|
|
965
|
+
if (!isImportRule(children[i])) {
|
|
966
|
+
return true;
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
return false;
|
|
971
|
+
}; // use this to remove incorrect elements from further processing
|
|
972
|
+
// so they don't get handed to the `sheet` (or anything else)
|
|
973
|
+
// as that could potentially lead to additional logs which in turn could be overhelming to the user
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
var nullifyElement = function nullifyElement(element) {
|
|
977
|
+
element.type = '';
|
|
978
|
+
element.value = '';
|
|
979
|
+
element["return"] = '';
|
|
980
|
+
element.children = '';
|
|
981
|
+
element.props = '';
|
|
982
|
+
};
|
|
983
|
+
|
|
984
|
+
var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
|
|
985
|
+
if (!isImportRule(element)) {
|
|
986
|
+
return;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
if (element.parent) {
|
|
990
|
+
console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
|
|
991
|
+
nullifyElement(element);
|
|
992
|
+
} else if (isPrependedWithRegularRules(index, children)) {
|
|
993
|
+
console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
|
|
994
|
+
nullifyElement(element);
|
|
995
|
+
}
|
|
996
|
+
};
|
|
860
997
|
|
|
861
998
|
var defaultStylisPlugins = [ve];
|
|
862
999
|
|
|
863
1000
|
var createCache = function createCache(options) {
|
|
864
1001
|
var key = options.key;
|
|
865
1002
|
|
|
1003
|
+
if ("development" !== 'production' && !key) {
|
|
1004
|
+
throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements.");
|
|
1005
|
+
}
|
|
1006
|
+
|
|
866
1007
|
if ( key === 'css') {
|
|
867
1008
|
var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
|
|
868
1009
|
// document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
|
|
@@ -888,6 +1029,13 @@ var createCache = function createCache(options) {
|
|
|
888
1029
|
|
|
889
1030
|
var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
|
|
890
1031
|
|
|
1032
|
+
if ("development" !== 'production') {
|
|
1033
|
+
// $FlowFixMe
|
|
1034
|
+
if (/[^a-z-]/.test(key)) {
|
|
1035
|
+
throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
|
|
891
1039
|
var inserted = {}; // $FlowFixMe
|
|
892
1040
|
|
|
893
1041
|
var container;
|
|
@@ -912,9 +1060,28 @@ var createCache = function createCache(options) {
|
|
|
912
1060
|
|
|
913
1061
|
var omnipresentPlugins = [compat, removeLabel];
|
|
914
1062
|
|
|
1063
|
+
if ("development" !== 'production') {
|
|
1064
|
+
omnipresentPlugins.push(createUnsafeSelectorsAlarm({
|
|
1065
|
+
get compat() {
|
|
1066
|
+
return cache.compat;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
}), incorrectImportAlarm);
|
|
1070
|
+
}
|
|
1071
|
+
|
|
915
1072
|
{
|
|
916
1073
|
var currentSheet;
|
|
917
|
-
var finalizingPlugins = [fe,
|
|
1074
|
+
var finalizingPlugins = [fe, "development" !== 'production' ? function (element) {
|
|
1075
|
+
if (!element.root) {
|
|
1076
|
+
if (element["return"]) {
|
|
1077
|
+
currentSheet.insert(element["return"]);
|
|
1078
|
+
} else if (element.value && element.type !== c) {
|
|
1079
|
+
// insert empty rule in non-production environments
|
|
1080
|
+
// so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet
|
|
1081
|
+
currentSheet.insert(element.value + "{}");
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
} : le(function (rule) {
|
|
918
1085
|
currentSheet.insert(rule);
|
|
919
1086
|
})];
|
|
920
1087
|
var serializer = oe(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
|
|
@@ -926,6 +1093,14 @@ var createCache = function createCache(options) {
|
|
|
926
1093
|
_insert = function insert(selector, serialized, sheet, shouldCache) {
|
|
927
1094
|
currentSheet = sheet;
|
|
928
1095
|
|
|
1096
|
+
if ("development" !== 'production' && serialized.map !== undefined) {
|
|
1097
|
+
currentSheet = {
|
|
1098
|
+
insert: function insert(rule) {
|
|
1099
|
+
sheet.insert(rule + serialized.map);
|
|
1100
|
+
}
|
|
1101
|
+
};
|
|
1102
|
+
}
|
|
1103
|
+
|
|
929
1104
|
stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
|
|
930
1105
|
|
|
931
1106
|
if (shouldCache) {
|
|
@@ -1055,6 +1230,8 @@ var unitlessKeys = {
|
|
|
1055
1230
|
strokeWidth: 1
|
|
1056
1231
|
};
|
|
1057
1232
|
|
|
1233
|
+
var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
|
|
1234
|
+
var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
|
|
1058
1235
|
var hyphenateRegex = /[A-Z]|^ms/g;
|
|
1059
1236
|
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
1060
1237
|
|
|
@@ -1095,12 +1272,43 @@ var processStyleValue = function processStyleValue(key, value) {
|
|
|
1095
1272
|
return value;
|
|
1096
1273
|
};
|
|
1097
1274
|
|
|
1275
|
+
if ("development" !== 'production') {
|
|
1276
|
+
var contentValuePattern = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
|
|
1277
|
+
var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
|
|
1278
|
+
var oldProcessStyleValue = processStyleValue;
|
|
1279
|
+
var msPattern = /^-ms-/;
|
|
1280
|
+
var hyphenPattern = /-(.)/g;
|
|
1281
|
+
var hyphenatedCache = {};
|
|
1282
|
+
|
|
1283
|
+
processStyleValue = function processStyleValue(key, value) {
|
|
1284
|
+
if (key === 'content') {
|
|
1285
|
+
if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
|
|
1286
|
+
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
var processed = oldProcessStyleValue(key, value);
|
|
1291
|
+
|
|
1292
|
+
if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
|
|
1293
|
+
hyphenatedCache[key] = true;
|
|
1294
|
+
console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
|
|
1295
|
+
return _char.toUpperCase();
|
|
1296
|
+
}) + "?");
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
return processed;
|
|
1300
|
+
};
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1098
1303
|
function handleInterpolation(mergedProps, registered, interpolation) {
|
|
1099
1304
|
if (interpolation == null) {
|
|
1100
1305
|
return '';
|
|
1101
1306
|
}
|
|
1102
1307
|
|
|
1103
1308
|
if (interpolation.__emotion_styles !== undefined) {
|
|
1309
|
+
if ("development" !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
|
|
1310
|
+
throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
|
|
1311
|
+
}
|
|
1104
1312
|
|
|
1105
1313
|
return interpolation;
|
|
1106
1314
|
}
|
|
@@ -1140,6 +1348,10 @@ function handleInterpolation(mergedProps, registered, interpolation) {
|
|
|
1140
1348
|
|
|
1141
1349
|
var styles = interpolation.styles + ";";
|
|
1142
1350
|
|
|
1351
|
+
if ("development" !== 'production' && interpolation.map !== undefined) {
|
|
1352
|
+
styles += interpolation.map;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1143
1355
|
return styles;
|
|
1144
1356
|
}
|
|
1145
1357
|
|
|
@@ -1153,10 +1365,28 @@ function handleInterpolation(mergedProps, registered, interpolation) {
|
|
|
1153
1365
|
var result = interpolation(mergedProps);
|
|
1154
1366
|
cursor = previousCursor;
|
|
1155
1367
|
return handleInterpolation(mergedProps, registered, result);
|
|
1368
|
+
} else if ("development" !== 'production') {
|
|
1369
|
+
console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
|
|
1156
1370
|
}
|
|
1157
1371
|
|
|
1158
1372
|
break;
|
|
1159
1373
|
}
|
|
1374
|
+
|
|
1375
|
+
case 'string':
|
|
1376
|
+
if ("development" !== 'production') {
|
|
1377
|
+
var matched = [];
|
|
1378
|
+
var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
|
|
1379
|
+
var fakeVarName = "animation" + matched.length;
|
|
1380
|
+
matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
|
|
1381
|
+
return "${" + fakeVarName + "}";
|
|
1382
|
+
});
|
|
1383
|
+
|
|
1384
|
+
if (matched.length) {
|
|
1385
|
+
console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
break;
|
|
1160
1390
|
} // finalize string values (regular strings and functions interpolated into css calls)
|
|
1161
1391
|
|
|
1162
1392
|
|
|
@@ -1186,7 +1416,7 @@ function createStringFromObject(mergedProps, registered, obj) {
|
|
|
1186
1416
|
string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
|
|
1187
1417
|
}
|
|
1188
1418
|
} else {
|
|
1189
|
-
if (_key === 'NO_COMPONENT_SELECTOR' && "
|
|
1419
|
+
if (_key === 'NO_COMPONENT_SELECTOR' && "development" !== 'production') {
|
|
1190
1420
|
throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
|
|
1191
1421
|
}
|
|
1192
1422
|
|
|
@@ -1209,6 +1439,9 @@ function createStringFromObject(mergedProps, registered, obj) {
|
|
|
1209
1439
|
|
|
1210
1440
|
default:
|
|
1211
1441
|
{
|
|
1442
|
+
if ("development" !== 'production' && _key === 'undefined') {
|
|
1443
|
+
console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
|
|
1444
|
+
}
|
|
1212
1445
|
|
|
1213
1446
|
string += _key + "{" + interpolated + "}";
|
|
1214
1447
|
}
|
|
@@ -1222,6 +1455,11 @@ function createStringFromObject(mergedProps, registered, obj) {
|
|
|
1222
1455
|
}
|
|
1223
1456
|
|
|
1224
1457
|
var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
|
|
1458
|
+
var sourceMapPattern;
|
|
1459
|
+
|
|
1460
|
+
if ("development" !== 'production') {
|
|
1461
|
+
sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
|
|
1462
|
+
} // this is the cursor for keyframes
|
|
1225
1463
|
// keyframes are stored on the SerializedStyles object as a linked list
|
|
1226
1464
|
|
|
1227
1465
|
|
|
@@ -1240,6 +1478,9 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
|
1240
1478
|
stringMode = false;
|
|
1241
1479
|
styles += handleInterpolation(mergedProps, registered, strings);
|
|
1242
1480
|
} else {
|
|
1481
|
+
if ("development" !== 'production' && strings[0] === undefined) {
|
|
1482
|
+
console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
|
|
1483
|
+
}
|
|
1243
1484
|
|
|
1244
1485
|
styles += strings[0];
|
|
1245
1486
|
} // we start at 1 since we've already handled the first arg
|
|
@@ -1249,11 +1490,23 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
|
1249
1490
|
styles += handleInterpolation(mergedProps, registered, args[i]);
|
|
1250
1491
|
|
|
1251
1492
|
if (stringMode) {
|
|
1493
|
+
if ("development" !== 'production' && strings[i] === undefined) {
|
|
1494
|
+
console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
|
|
1495
|
+
}
|
|
1252
1496
|
|
|
1253
1497
|
styles += strings[i];
|
|
1254
1498
|
}
|
|
1255
1499
|
}
|
|
1256
1500
|
|
|
1501
|
+
var sourceMap;
|
|
1502
|
+
|
|
1503
|
+
if ("development" !== 'production') {
|
|
1504
|
+
styles = styles.replace(sourceMapPattern, function (match) {
|
|
1505
|
+
sourceMap = match;
|
|
1506
|
+
return '';
|
|
1507
|
+
});
|
|
1508
|
+
} // using a global regex with .exec is stateful so lastIndex has to be reset each time
|
|
1509
|
+
|
|
1257
1510
|
|
|
1258
1511
|
labelPattern.lastIndex = 0;
|
|
1259
1512
|
var identifierName = '';
|
|
@@ -1266,6 +1519,19 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
|
1266
1519
|
|
|
1267
1520
|
var name = murmur2(styles) + identifierName;
|
|
1268
1521
|
|
|
1522
|
+
if ("development" !== 'production') {
|
|
1523
|
+
// $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
|
|
1524
|
+
return {
|
|
1525
|
+
name: name,
|
|
1526
|
+
styles: styles,
|
|
1527
|
+
map: sourceMap,
|
|
1528
|
+
next: cursor,
|
|
1529
|
+
toString: function toString() {
|
|
1530
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1531
|
+
}
|
|
1532
|
+
};
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1269
1535
|
return {
|
|
1270
1536
|
name: name,
|
|
1271
1537
|
styles: styles,
|
|
@@ -1333,6 +1599,9 @@ var createEmotion = function createEmotion(options) {
|
|
|
1333
1599
|
var cache = createCache(options); // $FlowFixMe
|
|
1334
1600
|
|
|
1335
1601
|
cache.sheet.speedy = function (value) {
|
|
1602
|
+
if ("development" !== 'production' && this.ctr !== 0) {
|
|
1603
|
+
throw new Error('speedy must be changed before any rules are inserted');
|
|
1604
|
+
}
|
|
1336
1605
|
|
|
1337
1606
|
this.isSpeedy = value;
|
|
1338
1607
|
};
|
|
@@ -1451,9 +1720,18 @@ var classnames = function classnames(args) {
|
|
|
1451
1720
|
var _createEmotion = createEmotion({
|
|
1452
1721
|
key: 'css'
|
|
1453
1722
|
}),
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1723
|
+
flush = _createEmotion.flush,
|
|
1724
|
+
hydrate = _createEmotion.hydrate,
|
|
1725
|
+
cx = _createEmotion.cx,
|
|
1726
|
+
merge$1 = _createEmotion.merge,
|
|
1727
|
+
getRegisteredStyles$1 = _createEmotion.getRegisteredStyles,
|
|
1728
|
+
injectGlobal = _createEmotion.injectGlobal,
|
|
1729
|
+
keyframes = _createEmotion.keyframes,
|
|
1730
|
+
css = _createEmotion.css,
|
|
1731
|
+
sheet = _createEmotion.sheet,
|
|
1732
|
+
cache = _createEmotion.cache;
|
|
1733
|
+
|
|
1734
|
+
function i$1(){return (i$1=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r]);}return n}).apply(this,arguments)}function a$1(n,t){return t||(t=n.slice(0)),n.raw=t,n}var l$1,s$1,u$1,c$1=css(l$1||(l$1=a$1(['\n width: 100vw;\n height: 100vh;\n\n .story-book-outer-div {\n .story-div {\n font-family: "Arial", sans-serif;\n font-size: 12px;\n }\n padding-bottom: 500px;\n }\n\n .story-div {\n position: fixed;\n box-sizing: border-box;\n top: 0;\n width: 250px;\n height: 100vh;\n z-index: 999;\n overflow-y: scroll;\n background: white;\n margin-bottom: 32px;\n }\n\n .header {\n padding: 24px 0 16px 16px;\n margin-bottom: 24px;\n color: white;\n background: #333;\n cursor: pointer;\n\n h2 {\n letter-spacing: 3px;\n font-weight: 400;\n }\n }\n\n .parentStoryList {\n list-style: none;\n padding-left: 16px;\n\n summary {\n margin-bottom: 4px;\n }\n }\n .parentStory {\n cursor: pointer;\n }\n .parentStory.selected {\n font-weight: bold;\n }\n\n .subStory {\n font-size: 12px;\n cursor: pointer;\n line-height: 1.5em;\n margin-top: 4px;\n\n a {\n display: block;\n padding: 4px 4px 4px 16px;\n }\n }\n .subStory:hover {\n background-color: #eee;\n }\n .subStory.selected {\n background-color: lightgreen;\n }\n\n .component {\n padding: 24px 16px;\n }\n\n h4.group-header {\n margin: 8px 0;\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n color: #575757;\n }\n\n .group-wrapper {\n margin-bottom: 24px;\n }\n\n .dynamic-display-wrapper {\n position: fixed;\n display: flex;\n flex-direction: column;\n bottom: 0;\n left: 100%;\n padding: 16px;\n z-index: 1000;\n background: white;\n transform: translateX(-100%);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n\n & > :not(:first-child) {\n margin-top: 12px;\n }\n\n p {\n font-size: 12px;\n margin: 0;\n padding: 0;\n }\n\n .button-wrapper {\n display: flex;\n\n & > :not(:first-child) {\n margin-left: 12px;\n }\n }\n\n & button {\n border: 1px solid #eaeaea;\n background: white;\n border-radius: 4px;\n color: #777;\n padding: 4px 12px;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n &.active {\n background: #555;\n border-color: #555;\n color: white;\n }\n }\n }\n'])));function d$1(n,t){var o,r=t.story.title.split("/"),e=r[1]?r[0]:"_";return i$1({},n,((o={})[e]=[].concat(n[e]||[],[{story:i$1({},t.story,{title:r[1]||r[0]}),subs:t.subs}]).sort(function(n,t){return n.story.title.localeCompare(t.story.title)}),o))}function p$1(n){return {story:n.default,subs:function(n,t){if(null==n)return {};var o,r,e={},i=Object.keys(n);for(r=0;r<i.length;r++)t.indexOf(o=i[r])>=0||(e[o]=n[o]);return e}(n,["default"])}}function f$1(n,t){var o,r;if(n){var e=decodeURIComponent(n).split("-"),i=e[1],a=e[2],l=null==t||null==(o=t[e[0]])?void 0:o.find(function(n){return n.story.title===i}),s=null==l||null==(r=l.subs)?void 0:r[a],u={key:n,story:s,parent:null==l?void 0:l.story,label:null==s?void 0:s.name};return u.key&&u.story&&u.parent&&u.label?u:void 0}}function y$1(l,y){var m=y.h,g=void 0===m?index.h:m,b=y.title,x=void 0===b?"Stencilbook":b,h=y.homepage,v=void 0===h?g("h3",null,"Select a story!"):h,w=y.addons,k=void 0===w?[]:w,S=domContextHooks_module.useMemo(function(){return l.map(p$1).reduce(d$1,{_:[]})},l),C=decodeURIComponent(window.location.hash).replace("#",""),z=domContextHooks_module.useState(f$1(C,S)),O=z[0],j=z[1],I=null==O?void 0:O.key,R=domContextHooks_module.useState(!0),U=R[0],_=R[1],B=domContextHooks_module.useState(!1),L=B[0],T=B[1],q=function(){return g("div",{class:"dynamic-display-wrapper"},g("button",{class:L?"active":"",onClick:function(){return T(function(n){return !n})}},"Toggle Dark Background"),g("button",{class:U?"active":"",onClick:function(){return _(function(n){return !n})}},"Toggle Sidebar"))},A=css(s$1||(s$1=a$1(["\n max-width: ",";\n margin-left: ",";\n "])),"1124px",U?"250px":"0px"),D=css(u$1||(u$1=a$1(["\n display: none;\n "])));document.body.style.backgroundColor=L?"#232323":"#fafafa";var N=function(n){var t=n.selected,o=k.reduce(function(n,o){return function(){return g(o,{story:i$1({},t)},g(n,null))}},null==t?void 0:t.story);return g(o,null)},P=function(){return g("div",{class:"story-book-outer-div"},g("div",{class:"story-div "+(U?"":D)},g("div",{class:"header",onClick:function(){j(void 0);}},g("h2",null,x)),g("ul",{class:"parentStoryList"},Object.keys(S).sort().map(function(n){return g("div",{class:"group-wrapper"},"_"!==n&&g("h4",{class:"group-header"},n),S[n].map(function(t){return g("li",{class:"parentStory"},g("details",{style:{marginBottom:"10px"}},g("summary",{style:{outline:"none"}},t.story.title),t.subs&&Object.keys(t.subs).map(function(o){var e=n+"-"+t.story.title+"-"+o,i=t.subs[o].storyName||lodash_startcase(o);return g("div",{class:"subStory "+(I===e?"selected":"")},g("a",{onClick:function(){return function(n){window.location.hash=encodeURIComponent(n),j(f$1(n,S));}(e)}},i))})))}))}))),g(q,null),g("div",{class:"component "+A},!I&&v,I&&g("div",null,g("h3",null,O.label),g(N,{selected:O}))))};return {class:c$1,children:g(P,null),View:P,selected:O}}
|
|
1457
1735
|
|
|
1458
1736
|
const NewPortal_stories = {
|
|
1459
1737
|
title: "New Portal",
|
|
@@ -1464,8 +1742,8 @@ const style = {
|
|
|
1464
1742
|
"text-decoration": "underline",
|
|
1465
1743
|
},
|
|
1466
1744
|
};
|
|
1467
|
-
const sheet = JSS.createStyleSheet(style);
|
|
1468
|
-
const styleString = sheet.toString();
|
|
1745
|
+
const sheet$1 = JSS.createStyleSheet(style);
|
|
1746
|
+
const styleString = sheet$1.toString();
|
|
1469
1747
|
const item1Props = {
|
|
1470
1748
|
states: {
|
|
1471
1749
|
active: false,
|
|
@@ -1550,7 +1828,7 @@ const Dashboard = () => {
|
|
|
1550
1828
|
index.h(Sidebar, null),
|
|
1551
1829
|
index.h("sqm-divided-layout", { direction: "column" },
|
|
1552
1830
|
index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
|
|
1553
|
-
index.h(
|
|
1831
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
1554
1832
|
labelMargin: "xx-small",
|
|
1555
1833
|
padding: "none",
|
|
1556
1834
|
label: (index.h("sqm-text", null,
|
|
@@ -1558,13 +1836,13 @@ const Dashboard = () => {
|
|
|
1558
1836
|
content: (index.h("sqm-text", null,
|
|
1559
1837
|
index.h("h1", null, "John Smith"))),
|
|
1560
1838
|
})),
|
|
1561
|
-
index.h(
|
|
1562
|
-
index.h(
|
|
1563
|
-
index.h(
|
|
1564
|
-
index.h(
|
|
1565
|
-
index.h(
|
|
1839
|
+
index.h(sqmStatContainerView.StatContainerView, Object.assign({}, { space: "64px" }),
|
|
1840
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "2,345", value: 234500, loading: false }), "Clicks"),
|
|
1841
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "58", value: 58, loading: false }), "Referrals"),
|
|
1842
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "$10,540", value: 1054000, loading: false }), "Earned"),
|
|
1843
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "$2,305", value: 230500, loading: false }), "Awaiting Payout"))),
|
|
1566
1844
|
index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
|
|
1567
|
-
index.h(
|
|
1845
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
1568
1846
|
labelMargin: "x-large",
|
|
1569
1847
|
padding: "none",
|
|
1570
1848
|
label: (index.h("sqm-text", null,
|
|
@@ -1572,21 +1850,21 @@ const Dashboard = () => {
|
|
|
1572
1850
|
content: (index.h("sqm-text", null,
|
|
1573
1851
|
index.h("p", null, "Get rewarded for referring potential customers to MyCompany. Earn commission for each successful lead you send our way"))),
|
|
1574
1852
|
})),
|
|
1575
|
-
index.h(
|
|
1853
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
1576
1854
|
labelMargin: "small",
|
|
1577
1855
|
padding: "none",
|
|
1578
1856
|
label: (index.h("sqm-text", null,
|
|
1579
1857
|
index.h("h3", null, "Share your referral link"))),
|
|
1580
1858
|
content: index.h(copyTextView.CopyTextView, Object.assign({}, sharelinkProps)),
|
|
1581
1859
|
})),
|
|
1582
|
-
index.h(
|
|
1860
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
1583
1861
|
labelMargin: "small",
|
|
1584
1862
|
padding: "none",
|
|
1585
1863
|
label: (index.h("sqm-text", null,
|
|
1586
1864
|
index.h("h3", null, "Share your referral code"))),
|
|
1587
1865
|
content: index.h(copyTextView.CopyTextView, Object.assign({}, sharecodeProps)),
|
|
1588
1866
|
})),
|
|
1589
|
-
index.h(
|
|
1867
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
1590
1868
|
labelMargin: "small",
|
|
1591
1869
|
padding: "none",
|
|
1592
1870
|
label: (index.h("sqm-text", null,
|
|
@@ -1597,9 +1875,9 @@ const Dashboard = () => {
|
|
|
1597
1875
|
gap: "xxx-large",
|
|
1598
1876
|
minWidth: "150px",
|
|
1599
1877
|
}),
|
|
1600
|
-
index.h(
|
|
1601
|
-
index.h(
|
|
1602
|
-
index.h(
|
|
1878
|
+
index.h(useShareButton.ShareButtonView, Object.assign({}, twitterButtonProps), "Post about us on X"),
|
|
1879
|
+
index.h(useShareButton.ShareButtonView, Object.assign({}, facebookButtonProps), "Share on Facebook"),
|
|
1880
|
+
index.h(useShareButton.ShareButtonView, Object.assign({}, linkedinButtonProps), "Post on Linkedin"))),
|
|
1603
1881
|
}))))));
|
|
1604
1882
|
};
|
|
1605
1883
|
const EditProfile = () => {
|
|
@@ -1643,7 +1921,7 @@ const EditProfile = () => {
|
|
|
1643
1921
|
onChange: (e) => console.log(e),
|
|
1644
1922
|
},
|
|
1645
1923
|
})),
|
|
1646
|
-
index.h(
|
|
1924
|
+
index.h(sqmPortalChangePasswordView.PortalChangePasswordView, Object.assign({}, {
|
|
1647
1925
|
states: {
|
|
1648
1926
|
open: true,
|
|
1649
1927
|
error: "",
|
|
@@ -1672,7 +1950,7 @@ const Commissions = () => {
|
|
|
1672
1950
|
index.h(Sidebar, null),
|
|
1673
1951
|
index.h("sqm-divided-layout", { direction: "column" },
|
|
1674
1952
|
index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
|
|
1675
|
-
index.h(
|
|
1953
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
1676
1954
|
labelMargin: "xx-small",
|
|
1677
1955
|
padding: "none",
|
|
1678
1956
|
label: (index.h("sqm-text", null,
|
|
@@ -1681,15 +1959,15 @@ const Commissions = () => {
|
|
|
1681
1959
|
index.h("p", null,
|
|
1682
1960
|
"for the",
|
|
1683
1961
|
" ",
|
|
1684
|
-
index.h("span", { class: sheet.classes.HeaderSubtitleBold }, "Partner Program #1"),
|
|
1962
|
+
index.h("span", { class: sheet$1.classes.HeaderSubtitleBold }, "Partner Program #1"),
|
|
1685
1963
|
" ",
|
|
1686
1964
|
"program"))),
|
|
1687
1965
|
})),
|
|
1688
|
-
index.h(
|
|
1689
|
-
index.h(
|
|
1690
|
-
index.h(
|
|
1691
|
-
index.h(
|
|
1692
|
-
index.h(
|
|
1966
|
+
index.h(sqmStatContainerView.StatContainerView, Object.assign({}, { space: "64px" }),
|
|
1967
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "$ 1,000", value: 100000, loading: false }), "Total Earned"),
|
|
1968
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "$ 800", value: 80000, loading: false }), "Available"),
|
|
1969
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "$ 180", value: 18000, loading: false }), "Pending"),
|
|
1970
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "$ 20", value: 2000, loading: false }), "Redeemed"))))));
|
|
1693
1971
|
};
|
|
1694
1972
|
const Activity = () => {
|
|
1695
1973
|
return (index.h("sqm-divided-layout", { direction: "row" },
|
|
@@ -1697,7 +1975,7 @@ const Activity = () => {
|
|
|
1697
1975
|
index.h(Sidebar, null),
|
|
1698
1976
|
index.h("sqm-divided-layout", { direction: "column" },
|
|
1699
1977
|
index.h(sqmPortalContainerView.PortalContainerView, Object.assign({}, { direction: "column", padding: "xxx-large", gap: "xxx-large" }),
|
|
1700
|
-
index.h(
|
|
1978
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
1701
1979
|
labelMargin: "xx-small",
|
|
1702
1980
|
padding: "none",
|
|
1703
1981
|
label: (index.h("sqm-text", null,
|
|
@@ -1706,30 +1984,30 @@ const Activity = () => {
|
|
|
1706
1984
|
index.h("p", null,
|
|
1707
1985
|
"for the",
|
|
1708
1986
|
" ",
|
|
1709
|
-
index.h("span", { class: sheet.classes.HeaderSubtitleBold }, "Partner Program #1"),
|
|
1987
|
+
index.h("span", { class: sheet$1.classes.HeaderSubtitleBold }, "Partner Program #1"),
|
|
1710
1988
|
" ",
|
|
1711
1989
|
"program"))),
|
|
1712
1990
|
})),
|
|
1713
|
-
index.h(
|
|
1991
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
1714
1992
|
labelMargin: "x-large",
|
|
1715
1993
|
padding: "none",
|
|
1716
1994
|
label: (index.h("sqm-text", null,
|
|
1717
1995
|
index.h("h3", null, "Referral Activity"))),
|
|
1718
|
-
content: (index.h(
|
|
1719
|
-
index.h(
|
|
1720
|
-
index.h(
|
|
1721
|
-
index.h(
|
|
1722
|
-
index.h(
|
|
1996
|
+
content: (index.h(sqmStatContainerView.StatContainerView, Object.assign({}, { space: "64px" }),
|
|
1997
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "1,000", value: 100000, loading: false }), "Total Referrals"),
|
|
1998
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "800", value: 800, loading: false }), "Converted"),
|
|
1999
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "180", value: 180, loading: false }), "Pending"),
|
|
2000
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "20", value: 20, loading: false }), "Disqualified"))),
|
|
1723
2001
|
}))),
|
|
1724
|
-
index.h(
|
|
2002
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
1725
2003
|
labelMargin: "x-large",
|
|
1726
2004
|
padding: "xxx-large",
|
|
1727
2005
|
label: (index.h("sqm-text", null,
|
|
1728
2006
|
index.h("h3", null, "Traffic Generated"))),
|
|
1729
|
-
content: (index.h(
|
|
1730
|
-
index.h(
|
|
1731
|
-
index.h(
|
|
1732
|
-
index.h(
|
|
2007
|
+
content: (index.h(sqmStatContainerView.StatContainerView, Object.assign({}, { space: "64px" }),
|
|
2008
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "1,000", value: 1000, loading: false }), "Clicks"),
|
|
2009
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "800", value: 800, loading: false }), "From share link"),
|
|
2010
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, { statvalue: "180", value: 180, loading: false }), "From share mediums"))),
|
|
1733
2011
|
})))));
|
|
1734
2012
|
};
|
|
1735
2013
|
|
|
@@ -1844,8 +2122,11 @@ var marked = domContextHooks_module.createCommonjsModule(function (module, expor
|
|
|
1844
2122
|
*/
|
|
1845
2123
|
|
|
1846
2124
|
(function (global, factory) {
|
|
1847
|
-
|
|
1848
|
-
|
|
2125
|
+
'object' === 'object' && 'object' !== 'undefined' ? module.exports = factory() :
|
|
2126
|
+
typeof undefined === 'function' && undefined.amd ? undefined(factory) :
|
|
2127
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.marked = factory());
|
|
2128
|
+
}(domContextHooks_module.commonjsGlobal, (function () { 'use strict';
|
|
2129
|
+
|
|
1849
2130
|
function _defineProperties(target, props) {
|
|
1850
2131
|
for (var i = 0; i < props.length; i++) {
|
|
1851
2132
|
var descriptor = props[i];
|
|
@@ -4927,13 +5208,13 @@ const PoweredByImg_stories = {
|
|
|
4927
5208
|
title: "Powered By",
|
|
4928
5209
|
};
|
|
4929
5210
|
const Default = () => {
|
|
4930
|
-
return index.h(
|
|
5211
|
+
return index.h(sqmPortalFooterView.PoweredByImg, null);
|
|
4931
5212
|
};
|
|
4932
5213
|
const CustomColor = () => {
|
|
4933
|
-
return index.h(
|
|
5214
|
+
return index.h(sqmPortalFooterView.PoweredByImg, { color: "salmon" });
|
|
4934
5215
|
};
|
|
4935
5216
|
const CustomWidthAndHeight = () => {
|
|
4936
|
-
return index.h(
|
|
5217
|
+
return index.h(sqmPortalFooterView.PoweredByImg, { width: 300, height: 50 });
|
|
4937
5218
|
};
|
|
4938
5219
|
|
|
4939
5220
|
const PoweredByImg = /*#__PURE__*/Object.freeze({
|
|
@@ -5067,10 +5348,10 @@ const errorProps = {
|
|
|
5067
5348
|
},
|
|
5068
5349
|
};
|
|
5069
5350
|
const Default$1 = () => {
|
|
5070
|
-
return index.h(
|
|
5351
|
+
return index.h(sqmBaseRegistrationFormView.BaseRegistrationFormView, Object.assign({}, defaultProps));
|
|
5071
5352
|
};
|
|
5072
5353
|
const EmailError = () => {
|
|
5073
|
-
return index.h(
|
|
5354
|
+
return index.h(sqmBaseRegistrationFormView.BaseRegistrationFormView, Object.assign({}, errorProps));
|
|
5074
5355
|
};
|
|
5075
5356
|
|
|
5076
5357
|
const BaseRegistrationForm = /*#__PURE__*/Object.freeze({
|
|
@@ -5090,7 +5371,7 @@ const BigStat_stories = {
|
|
|
5090
5371
|
};
|
|
5091
5372
|
const Default$2 = () => {
|
|
5092
5373
|
const props = { value: 990000, statvalue: "9.900,00", loading: false };
|
|
5093
|
-
return index.h(
|
|
5374
|
+
return index.h(sqmBigStatView.BigStatView, Object.assign({}, props), "Big stat");
|
|
5094
5375
|
};
|
|
5095
5376
|
const LeftAlign = () => {
|
|
5096
5377
|
const props = {
|
|
@@ -5099,7 +5380,7 @@ const LeftAlign = () => {
|
|
|
5099
5380
|
alignment: "left",
|
|
5100
5381
|
loading: false,
|
|
5101
5382
|
};
|
|
5102
|
-
return index.h(
|
|
5383
|
+
return index.h(sqmBigStatView.BigStatView, Object.assign({}, props), "Big stat");
|
|
5103
5384
|
};
|
|
5104
5385
|
const RightAlign = () => {
|
|
5105
5386
|
const props = {
|
|
@@ -5108,7 +5389,7 @@ const RightAlign = () => {
|
|
|
5108
5389
|
alignment: "right",
|
|
5109
5390
|
loading: false,
|
|
5110
5391
|
};
|
|
5111
|
-
return index.h(
|
|
5392
|
+
return index.h(sqmBigStatView.BigStatView, Object.assign({}, props), "Big stat");
|
|
5112
5393
|
};
|
|
5113
5394
|
const FlexReverse = () => {
|
|
5114
5395
|
const props = {
|
|
@@ -5117,7 +5398,7 @@ const FlexReverse = () => {
|
|
|
5117
5398
|
flexReverse: true,
|
|
5118
5399
|
loading: false,
|
|
5119
5400
|
};
|
|
5120
|
-
return index.h(
|
|
5401
|
+
return index.h(sqmBigStatView.BigStatView, Object.assign({}, props), "Big stat");
|
|
5121
5402
|
};
|
|
5122
5403
|
const FlexReverseRight = () => {
|
|
5123
5404
|
const props = {
|
|
@@ -5127,7 +5408,7 @@ const FlexReverseRight = () => {
|
|
|
5127
5408
|
alignment: "right",
|
|
5128
5409
|
loading: false,
|
|
5129
5410
|
};
|
|
5130
|
-
return index.h(
|
|
5411
|
+
return index.h(sqmBigStatView.BigStatView, Object.assign({}, props), "Big stat");
|
|
5131
5412
|
};
|
|
5132
5413
|
const FlexReverseLeft = () => {
|
|
5133
5414
|
const props = {
|
|
@@ -5137,7 +5418,7 @@ const FlexReverseLeft = () => {
|
|
|
5137
5418
|
alignment: "left",
|
|
5138
5419
|
loading: false,
|
|
5139
5420
|
};
|
|
5140
|
-
return index.h(
|
|
5421
|
+
return index.h(sqmBigStatView.BigStatView, Object.assign({}, props), "Big stat");
|
|
5141
5422
|
};
|
|
5142
5423
|
const NoStatValue = () => {
|
|
5143
5424
|
const props = {
|
|
@@ -5145,7 +5426,7 @@ const NoStatValue = () => {
|
|
|
5145
5426
|
statvalue: "...",
|
|
5146
5427
|
loading: false,
|
|
5147
5428
|
};
|
|
5148
|
-
return index.h(
|
|
5429
|
+
return index.h(sqmBigStatView.BigStatView, Object.assign({}, props), "Big stat");
|
|
5149
5430
|
};
|
|
5150
5431
|
const InvalidStatValue = () => {
|
|
5151
5432
|
const props = {
|
|
@@ -5153,7 +5434,7 @@ const InvalidStatValue = () => {
|
|
|
5153
5434
|
statvalue: "!!!",
|
|
5154
5435
|
loading: false,
|
|
5155
5436
|
};
|
|
5156
|
-
return index.h(
|
|
5437
|
+
return index.h(sqmBigStatView.BigStatView, Object.assign({}, props), "Big stat");
|
|
5157
5438
|
};
|
|
5158
5439
|
const CustomStyles = () => {
|
|
5159
5440
|
return (index.h("sqm-big-stat", { "stat-font-weight": "500", "stat-text-color": "#1ed760", "stat-font-size": "45", "description-text-color": "#121212", "description-font-size": "18", alignment: "center", "stat-type": "/integrationRewardsCountFiltered/AVAILABLE/global", "flex-reverse": true },
|
|
@@ -5236,7 +5517,7 @@ const View = (statType, format, label) => {
|
|
|
5236
5517
|
};
|
|
5237
5518
|
const DemoView = () => {
|
|
5238
5519
|
const [type, setType] = domContextHooks_module.useState("/someRandomThing/with/someArguments/1234");
|
|
5239
|
-
const { props, label } =
|
|
5520
|
+
const { props, label } = useDemoBigStat.useDemoBigStat({
|
|
5240
5521
|
statType: type,
|
|
5241
5522
|
render: () => { },
|
|
5242
5523
|
disconnectedCallback: () => { },
|
|
@@ -5249,7 +5530,7 @@ const DemoView = () => {
|
|
|
5249
5530
|
index.h("input", { style: { width: "300px" }, type: "text", value: type, onInput: (e) => setType(e.target.value) })),
|
|
5250
5531
|
index.h("hr", null),
|
|
5251
5532
|
index.h("div", null,
|
|
5252
|
-
index.h(
|
|
5533
|
+
index.h(sqmBigStatView.BigStatView, Object.assign({}, props), label))));
|
|
5253
5534
|
};
|
|
5254
5535
|
const Demo = createHookStory(DemoView);
|
|
5255
5536
|
const ReferralsCount = createHookStory(() => View("/referralsCount", "/(referralsCount)/:status?"));
|
|
@@ -5582,92 +5863,92 @@ const manyActions = {
|
|
|
5582
5863
|
states: { progress: 100, loading: false, loadingEvent: false },
|
|
5583
5864
|
};
|
|
5584
5865
|
const TaskCardGrid = () => {
|
|
5585
|
-
return (index.h(
|
|
5586
|
-
index.h(
|
|
5866
|
+
return (index.h(sqmCardFeedView.CardFeedView, { width: 347, gap: 24 },
|
|
5867
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)),
|
|
5587
5868
|
index.h("div", null,
|
|
5588
|
-
index.h(
|
|
5869
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions))),
|
|
5589
5870
|
index.h("div", null,
|
|
5590
5871
|
index.h("div", null,
|
|
5591
|
-
index.h(
|
|
5592
|
-
index.h(
|
|
5593
|
-
index.h(
|
|
5872
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)))),
|
|
5873
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions)),
|
|
5874
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions)),
|
|
5594
5875
|
index.h("div", null,
|
|
5595
|
-
index.h(
|
|
5876
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions))),
|
|
5596
5877
|
index.h("div", null,
|
|
5597
5878
|
index.h("div", null,
|
|
5598
|
-
index.h(
|
|
5599
|
-
index.h(
|
|
5879
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)))),
|
|
5880
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions))));
|
|
5600
5881
|
};
|
|
5601
5882
|
const TaskCardGridHighGap = () => {
|
|
5602
|
-
return (index.h(
|
|
5603
|
-
index.h(
|
|
5883
|
+
return (index.h(sqmCardFeedView.CardFeedView, { width: 400, gap: 150 },
|
|
5884
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)),
|
|
5604
5885
|
index.h("div", null,
|
|
5605
|
-
index.h(
|
|
5886
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions))),
|
|
5606
5887
|
index.h("div", null,
|
|
5607
5888
|
index.h("div", null,
|
|
5608
|
-
index.h(
|
|
5609
|
-
index.h(
|
|
5610
|
-
index.h(
|
|
5889
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)))),
|
|
5890
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions)),
|
|
5891
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions)),
|
|
5611
5892
|
index.h("div", null,
|
|
5612
|
-
index.h(
|
|
5893
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions))),
|
|
5613
5894
|
index.h("div", null,
|
|
5614
5895
|
index.h("div", null,
|
|
5615
|
-
index.h(
|
|
5616
|
-
index.h(
|
|
5896
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)))),
|
|
5897
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions))));
|
|
5617
5898
|
};
|
|
5618
5899
|
const TaskCardGridLowGap = () => {
|
|
5619
|
-
return (index.h(
|
|
5620
|
-
index.h(
|
|
5900
|
+
return (index.h(sqmCardFeedView.CardFeedView, { width: 400, gap: 12 },
|
|
5901
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)),
|
|
5621
5902
|
index.h("div", null,
|
|
5622
|
-
index.h(
|
|
5903
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions))),
|
|
5623
5904
|
index.h("div", null,
|
|
5624
5905
|
index.h("div", null,
|
|
5625
|
-
index.h(
|
|
5626
|
-
index.h(
|
|
5627
|
-
index.h(
|
|
5906
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)))),
|
|
5907
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions)),
|
|
5908
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions)),
|
|
5628
5909
|
index.h("div", null,
|
|
5629
|
-
index.h(
|
|
5910
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions))),
|
|
5630
5911
|
index.h("div", null,
|
|
5631
5912
|
index.h("div", null,
|
|
5632
|
-
index.h(
|
|
5633
|
-
index.h(
|
|
5913
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)))),
|
|
5914
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions))));
|
|
5634
5915
|
};
|
|
5635
5916
|
const TaskCardGridHighWidth = () => {
|
|
5636
|
-
return (index.h(
|
|
5637
|
-
index.h(
|
|
5917
|
+
return (index.h(sqmCardFeedView.CardFeedView, { width: 1000, gap: 24 },
|
|
5918
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)),
|
|
5638
5919
|
index.h("div", null,
|
|
5639
|
-
index.h(
|
|
5920
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions))),
|
|
5640
5921
|
index.h("div", null,
|
|
5641
5922
|
index.h("div", null,
|
|
5642
|
-
index.h(
|
|
5643
|
-
index.h(
|
|
5644
|
-
index.h(
|
|
5923
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)))),
|
|
5924
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions)),
|
|
5925
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions)),
|
|
5645
5926
|
index.h("div", null,
|
|
5646
|
-
index.h(
|
|
5927
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions))),
|
|
5647
5928
|
index.h("div", null,
|
|
5648
5929
|
index.h("div", null,
|
|
5649
|
-
index.h(
|
|
5650
|
-
index.h(
|
|
5930
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)))),
|
|
5931
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions))));
|
|
5651
5932
|
};
|
|
5652
5933
|
const TaskCardGridLowWidth = () => {
|
|
5653
|
-
return (index.h(
|
|
5654
|
-
index.h(
|
|
5934
|
+
return (index.h(sqmCardFeedView.CardFeedView, { width: 250, gap: 24 },
|
|
5935
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)),
|
|
5655
5936
|
index.h("div", null,
|
|
5656
|
-
index.h(
|
|
5937
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions))),
|
|
5657
5938
|
index.h("div", null,
|
|
5658
5939
|
index.h("div", null,
|
|
5659
|
-
index.h(
|
|
5660
|
-
index.h(
|
|
5661
|
-
index.h(
|
|
5940
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)))),
|
|
5941
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions)),
|
|
5942
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions)),
|
|
5662
5943
|
index.h("div", null,
|
|
5663
|
-
index.h(
|
|
5944
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions))),
|
|
5664
5945
|
index.h("div", null,
|
|
5665
5946
|
index.h("div", null,
|
|
5666
|
-
index.h(
|
|
5667
|
-
index.h(
|
|
5947
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction)))),
|
|
5948
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions))));
|
|
5668
5949
|
};
|
|
5669
5950
|
const CardFeedGeneric = () => {
|
|
5670
|
-
return (index.h(
|
|
5951
|
+
return (index.h(sqmCardFeedView.CardFeedView, { width: 300, gap: 24 },
|
|
5671
5952
|
index.h("div", { style: {
|
|
5672
5953
|
padding: "100px",
|
|
5673
5954
|
border: "1px dashed black",
|
|
@@ -5774,16 +6055,16 @@ const defaultRegisterProps = {
|
|
|
5774
6055
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
5775
6056
|
},
|
|
5776
6057
|
};
|
|
5777
|
-
const Default$3 = createHookStory(() => (index.h(
|
|
5778
|
-
const DefaultChecked = createHookStory(() => (index.h(
|
|
6058
|
+
const Default$3 = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFieldView, Object.assign({}, defaultProps$1))));
|
|
6059
|
+
const DefaultChecked = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFieldView, Object.assign({}, defaultProps$1, { states: {
|
|
5779
6060
|
...defaultProps$1.states,
|
|
5780
6061
|
checked: true,
|
|
5781
6062
|
} }))));
|
|
5782
|
-
const CustomLabel = createHookStory(() => (index.h(
|
|
6063
|
+
const CustomLabel = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFieldView, Object.assign({}, defaultProps$1, { content: {
|
|
5783
6064
|
...defaultProps$1.content,
|
|
5784
6065
|
checkboxLabel: "I Agree",
|
|
5785
6066
|
} }))));
|
|
5786
|
-
const Error$1 = createHookStory(() => (index.h(
|
|
6067
|
+
const Error$1 = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFieldView, Object.assign({}, defaultProps$1, { states: {
|
|
5787
6068
|
...defaultProps$1.states,
|
|
5788
6069
|
registrationFormState: {
|
|
5789
6070
|
validationErrors: {
|
|
@@ -5791,7 +6072,7 @@ const Error$1 = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView
|
|
|
5791
6072
|
},
|
|
5792
6073
|
},
|
|
5793
6074
|
} }))));
|
|
5794
|
-
const CustomError = createHookStory(() => (index.h(
|
|
6075
|
+
const CustomError = createHookStory(() => (index.h(sqmCheckboxFieldView.CheckboxFieldView, Object.assign({}, defaultProps$1, { states: {
|
|
5795
6076
|
...defaultProps$1.states,
|
|
5796
6077
|
registrationFormState: {
|
|
5797
6078
|
validationErrors: {
|
|
@@ -5802,14 +6083,14 @@ const CustomError = createHookStory(() => (index.h(ShadowViewAddon.CheckboxField
|
|
|
5802
6083
|
...defaultProps$1.content,
|
|
5803
6084
|
errorMessage: "This checkbox must be checked to continue",
|
|
5804
6085
|
} }))));
|
|
5805
|
-
const TermsAndConditions = createHookStory(() => (index.h(
|
|
6086
|
+
const TermsAndConditions = createHookStory(() => (index.h(sqmPortalRegisterView.PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
5806
6087
|
//@ts-ignore
|
|
5807
6088
|
content: {
|
|
5808
6089
|
...defaultRegisterProps.content,
|
|
5809
6090
|
terms: (index.h("p", null,
|
|
5810
6091
|
index.h("sqm-checkbox-field", null))),
|
|
5811
6092
|
} }))));
|
|
5812
|
-
const TermsAndConditionsCustomLabel = createHookStory(() => (index.h(
|
|
6093
|
+
const TermsAndConditionsCustomLabel = createHookStory(() => (index.h(sqmPortalRegisterView.PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
5813
6094
|
//@ts-ignore
|
|
5814
6095
|
content: {
|
|
5815
6096
|
...defaultRegisterProps.content,
|
|
@@ -5819,7 +6100,7 @@ const TermsAndConditionsCustomLabel = createHookStory(() => (index.h(sqmPortalVe
|
|
|
5819
6100
|
index.h("a", { href: "https://example.com", target: "_blank" }, "Terms and Conditions"),
|
|
5820
6101
|
index.h("sqm-checkbox-field", { "checkbox-label": "I agree" }))),
|
|
5821
6102
|
} }))));
|
|
5822
|
-
const TermsAndConditionsLongCustomLabel = createHookStory(() => (index.h(
|
|
6103
|
+
const TermsAndConditionsLongCustomLabel = createHookStory(() => (index.h(sqmPortalRegisterView.PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
5823
6104
|
//@ts-ignore
|
|
5824
6105
|
content: {
|
|
5825
6106
|
...defaultRegisterProps.content,
|
|
@@ -5996,31 +6277,31 @@ const CopyButtonBelowCustomLabel = () => {
|
|
|
5996
6277
|
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$3, { buttonStyle: "button-below", "copy-button-label": "test long custom label" })));
|
|
5997
6278
|
};
|
|
5998
6279
|
const Loading = () => {
|
|
5999
|
-
return index.h(
|
|
6280
|
+
return index.h(sqmCouponCodeView.CouponCodeView, Object.assign({}, defaultProps$3, { loading: true }));
|
|
6000
6281
|
};
|
|
6001
6282
|
const CopyButtonLoading = () => {
|
|
6002
|
-
return (index.h(
|
|
6283
|
+
return (index.h(sqmCouponCodeView.CouponCodeView, Object.assign({}, defaultProps$3, { buttonStyle: "button-outside", loading: true })));
|
|
6003
6284
|
};
|
|
6004
6285
|
const CopyButtonBelowLoading = () => {
|
|
6005
|
-
return (index.h(
|
|
6286
|
+
return (index.h(sqmCouponCodeView.CouponCodeView, Object.assign({}, defaultProps$3, { buttonStyle: "button-below", loading: true })));
|
|
6006
6287
|
};
|
|
6007
6288
|
const ErrorGeneric = () => {
|
|
6008
|
-
return (index.h(
|
|
6289
|
+
return (index.h(sqmCouponCodeView.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "warning", error: true, errorText: "We couldn't fetch your code. Please try again later or reach out to the Support team for help resolving this issue." })));
|
|
6009
6290
|
};
|
|
6010
6291
|
const ErrorPending = () => {
|
|
6011
|
-
return (index.h(
|
|
6292
|
+
return (index.h(sqmCouponCodeView.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "info", error: true, errorText: "Your code will be available on April 24, 2023. Mark your calendar and come back then to redeem your reward!" })));
|
|
6012
6293
|
};
|
|
6013
6294
|
const ErrorFullfillment = () => {
|
|
6014
|
-
return (index.h(
|
|
6295
|
+
return (index.h(sqmCouponCodeView.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "warning", error: true, errorText: "We couldn't fetch your code. Please try again later or reach out to the Support team for help resolving this issue." })));
|
|
6015
6296
|
};
|
|
6016
6297
|
const ErrorCancelled = () => {
|
|
6017
|
-
return (index.h(
|
|
6298
|
+
return (index.h(sqmCouponCodeView.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "warning", error: true, errorText: "This code has been cancelled. Please reach out to the Support team for help resolving this issue." })));
|
|
6018
6299
|
};
|
|
6019
6300
|
const ErrorExpired = () => {
|
|
6020
|
-
return (index.h(
|
|
6301
|
+
return (index.h(sqmCouponCodeView.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "warning", error: true, errorText: "Looks like this code has expired. Please reach out to the Support team for help resolving this issue." })));
|
|
6021
6302
|
};
|
|
6022
6303
|
const ErrorRedeemed = () => {
|
|
6023
|
-
return (index.h(
|
|
6304
|
+
return (index.h(sqmCouponCodeView.CouponCodeView, Object.assign({}, defaultProps$3, { errorType: "success", error: true, errorText: "Looks like you\u2019ve already redeemed this code." })));
|
|
6024
6305
|
};
|
|
6025
6306
|
|
|
6026
6307
|
const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -6079,7 +6360,7 @@ const Row = () => {
|
|
|
6079
6360
|
return (index.h("sqm-divided-layout", { direction: "row" },
|
|
6080
6361
|
index.h(Sidebar$1, null),
|
|
6081
6362
|
index.h("div", { style: { padding: "48px" } },
|
|
6082
|
-
index.h(
|
|
6363
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
6083
6364
|
labelMargin: "xx-small",
|
|
6084
6365
|
padding: "none",
|
|
6085
6366
|
label: (index.h("sqm-text", null,
|
|
@@ -6092,7 +6373,7 @@ const Column = () => {
|
|
|
6092
6373
|
return (index.h("sqm-divided-layout", { direction: "column" },
|
|
6093
6374
|
index.h(Sidebar$1, null),
|
|
6094
6375
|
index.h("div", { style: { padding: "48px" } },
|
|
6095
|
-
index.h(
|
|
6376
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
6096
6377
|
labelMargin: "xx-small",
|
|
6097
6378
|
padding: "none",
|
|
6098
6379
|
label: (index.h("sqm-text", null,
|
|
@@ -6105,7 +6386,7 @@ const ColumnCustomDivider = () => {
|
|
|
6105
6386
|
return (index.h("sqm-divided-layout", { direction: "column", dividerStyle: "1px solid red" },
|
|
6106
6387
|
index.h(Sidebar$1, null),
|
|
6107
6388
|
index.h("div", { style: { padding: "48px" } },
|
|
6108
|
-
index.h(
|
|
6389
|
+
index.h(sqmPortalSectionView.PortalSectionView, Object.assign({}, {
|
|
6109
6390
|
labelMargin: "xx-small",
|
|
6110
6391
|
padding: "none",
|
|
6111
6392
|
label: (index.h("sqm-text", null,
|
|
@@ -6141,12 +6422,12 @@ const defaultProps$4 = {
|
|
|
6141
6422
|
],
|
|
6142
6423
|
},
|
|
6143
6424
|
};
|
|
6144
|
-
const Default$5 = createHookStory(() => (index.h(
|
|
6145
|
-
const CustomLabel$1 = createHookStory(() => (index.h(
|
|
6425
|
+
const Default$5 = createHookStory(() => (index.h(sqmDropdownFieldView.DropdownFieldView, Object.assign({}, defaultProps$4))));
|
|
6426
|
+
const CustomLabel$1 = createHookStory(() => (index.h(sqmDropdownFieldView.DropdownFieldView, Object.assign({}, defaultProps$4, { content: {
|
|
6146
6427
|
...defaultProps$4.content,
|
|
6147
6428
|
dropdownLabel: "Pick your favorite",
|
|
6148
6429
|
} }))));
|
|
6149
|
-
const Error$2 = createHookStory(() => (index.h(
|
|
6430
|
+
const Error$2 = createHookStory(() => (index.h(sqmDropdownFieldView.DropdownFieldView, Object.assign({}, defaultProps$4, { states: {
|
|
6150
6431
|
...defaultProps$4.states,
|
|
6151
6432
|
registrationFormState: {
|
|
6152
6433
|
validationErrors: {
|
|
@@ -6154,7 +6435,7 @@ const Error$2 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView
|
|
|
6154
6435
|
},
|
|
6155
6436
|
},
|
|
6156
6437
|
} }))));
|
|
6157
|
-
const CustomError$1 = createHookStory(() => (index.h(
|
|
6438
|
+
const CustomError$1 = createHookStory(() => (index.h(sqmDropdownFieldView.DropdownFieldView, Object.assign({}, defaultProps$4, { content: {
|
|
6158
6439
|
...defaultProps$4.content,
|
|
6159
6440
|
errorMessage: "An option must be selected to continue",
|
|
6160
6441
|
}, states: {
|
|
@@ -6281,14 +6562,14 @@ const defaultProps$5 = {
|
|
|
6281
6562
|
};
|
|
6282
6563
|
const EditProfileFormDisabled = () => {
|
|
6283
6564
|
const props = defaultProps$5;
|
|
6284
|
-
return index.h(
|
|
6565
|
+
return index.h(sqmEditProfileView.EditProfileView, Object.assign({}, props));
|
|
6285
6566
|
};
|
|
6286
6567
|
const EditProfileFormEnabled = () => {
|
|
6287
6568
|
const props = {
|
|
6288
6569
|
...defaultProps$5,
|
|
6289
6570
|
states: { ...defaultProps$5.states, showEdit: true },
|
|
6290
6571
|
};
|
|
6291
|
-
return index.h(
|
|
6572
|
+
return index.h(sqmEditProfileView.EditProfileView, Object.assign({}, props));
|
|
6292
6573
|
};
|
|
6293
6574
|
const FullStackFrameWithMenu = () => {
|
|
6294
6575
|
return (index.h("sqm-edit-profile", { editprofileheader: "Edit Profile", editprofiletext: "Update your profile.", firstnametext: "Bill", lastnametext: "Bob", canceltext: "Cancel", updatetext: "Update", currentregiontext: "Current Region", showregion: true }));
|
|
@@ -6567,7 +6848,7 @@ const LoginOneColumn = () => {
|
|
|
6567
6848
|
},
|
|
6568
6849
|
};
|
|
6569
6850
|
return (index.h("div", { style: { height: "800px" } },
|
|
6570
|
-
index.h(
|
|
6851
|
+
index.h(sqmHeroView.HeroView, Object.assign({}, props))));
|
|
6571
6852
|
};
|
|
6572
6853
|
const LoginOneColumnWithMinHeight = () => {
|
|
6573
6854
|
return (index.h("sqm-hero", { background: "https://res.cloudinary.com/saasquatch/image/upload/v1683589933/Portal%20Assets/Screen-Shot-2022-01-06-at-3.23.58-AM.png", columns: 1, "padding-size": "medium", "wrap-direction": "wrap", "secondary-background": "#FFFFFF" },
|
|
@@ -6587,7 +6868,7 @@ const LoginOneColumnWithColor = () => {
|
|
|
6587
6868
|
},
|
|
6588
6869
|
};
|
|
6589
6870
|
return (index.h("div", { style: { height: "800px" } },
|
|
6590
|
-
index.h(
|
|
6871
|
+
index.h(sqmHeroView.HeroView, Object.assign({}, props))));
|
|
6591
6872
|
};
|
|
6592
6873
|
const LoginOneColumnWithImage = () => {
|
|
6593
6874
|
const props = {
|
|
@@ -6601,7 +6882,7 @@ const LoginOneColumnWithImage = () => {
|
|
|
6601
6882
|
content: { primaryColumn: index.h("sqm-portal-login", null) },
|
|
6602
6883
|
};
|
|
6603
6884
|
return (index.h("div", { style: { height: "800px" } },
|
|
6604
|
-
index.h(
|
|
6885
|
+
index.h(sqmHeroView.HeroView, Object.assign({}, props))));
|
|
6605
6886
|
};
|
|
6606
6887
|
const TwoColumnLoginLargePadding = () => {
|
|
6607
6888
|
const props = {
|
|
@@ -6621,7 +6902,7 @@ const TwoColumnLoginLargePadding = () => {
|
|
|
6621
6902
|
},
|
|
6622
6903
|
};
|
|
6623
6904
|
return (index.h("div", { style: { height: "800px" } },
|
|
6624
|
-
index.h(
|
|
6905
|
+
index.h(sqmHeroView.HeroView, Object.assign({}, props))));
|
|
6625
6906
|
};
|
|
6626
6907
|
const TwoColumnLoginMediumPadding = () => {
|
|
6627
6908
|
const props = {
|
|
@@ -6641,7 +6922,7 @@ const TwoColumnLoginMediumPadding = () => {
|
|
|
6641
6922
|
},
|
|
6642
6923
|
};
|
|
6643
6924
|
return (index.h("div", { style: { height: "800px" } },
|
|
6644
|
-
index.h(
|
|
6925
|
+
index.h(sqmHeroView.HeroView, Object.assign({}, props))));
|
|
6645
6926
|
};
|
|
6646
6927
|
const TwoColumnLoginSmallPadding = () => {
|
|
6647
6928
|
const props = {
|
|
@@ -6661,7 +6942,7 @@ const TwoColumnLoginSmallPadding = () => {
|
|
|
6661
6942
|
},
|
|
6662
6943
|
};
|
|
6663
6944
|
return (index.h("div", { style: { height: "800px" } },
|
|
6664
|
-
index.h(
|
|
6945
|
+
index.h(sqmHeroView.HeroView, Object.assign({}, props))));
|
|
6665
6946
|
};
|
|
6666
6947
|
const TwoColumnLoginNoPadding = () => {
|
|
6667
6948
|
const props = {
|
|
@@ -6681,7 +6962,7 @@ const TwoColumnLoginNoPadding = () => {
|
|
|
6681
6962
|
},
|
|
6682
6963
|
};
|
|
6683
6964
|
return (index.h("div", { style: { height: "800px" } },
|
|
6684
|
-
index.h(
|
|
6965
|
+
index.h(sqmHeroView.HeroView, Object.assign({}, props))));
|
|
6685
6966
|
};
|
|
6686
6967
|
const TwoColumnLoginReverseWrap = () => {
|
|
6687
6968
|
const props = {
|
|
@@ -6701,7 +6982,7 @@ const TwoColumnLoginReverseWrap = () => {
|
|
|
6701
6982
|
},
|
|
6702
6983
|
};
|
|
6703
6984
|
return (index.h("div", { style: { height: "800px" } },
|
|
6704
|
-
index.h(
|
|
6985
|
+
index.h(sqmHeroView.HeroView, Object.assign({}, props))));
|
|
6705
6986
|
};
|
|
6706
6987
|
const TwoColumnLoginWithImgElement = () => {
|
|
6707
6988
|
const props = {
|
|
@@ -6721,7 +7002,7 @@ const TwoColumnLoginWithImgElement = () => {
|
|
|
6721
7002
|
},
|
|
6722
7003
|
};
|
|
6723
7004
|
return (index.h("div", { style: { height: "800px" } },
|
|
6724
|
-
index.h(
|
|
7005
|
+
index.h(sqmHeroView.HeroView, Object.assign({}, props))));
|
|
6725
7006
|
};
|
|
6726
7007
|
const MinHeight = () => {
|
|
6727
7008
|
const props = {
|
|
@@ -6738,7 +7019,7 @@ const MinHeight = () => {
|
|
|
6738
7019
|
index.h("sqm-portal-login", null))),
|
|
6739
7020
|
},
|
|
6740
7021
|
};
|
|
6741
|
-
return index.h(
|
|
7022
|
+
return index.h(sqmHeroView.HeroView, Object.assign({}, props));
|
|
6742
7023
|
};
|
|
6743
7024
|
const InstantAccessLoggedOutView = () => {
|
|
6744
7025
|
return (index.h("sqm-hero", { background: "https://res.cloudinary.com/saasquatch/image/upload/v1683589933/Portal%20Assets/Screen-Shot-2022-01-06-at-3.23.58-AM.png", columns: 2, "padding-size": "medium", "wrap-direction": "wrap", "secondary-background": "var(--sqm-portal-background)", "column-to-hide-in-mobile": "primary" },
|
|
@@ -6852,9 +7133,9 @@ const defaultRegisterProps$1 = {
|
|
|
6852
7133
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
6853
7134
|
},
|
|
6854
7135
|
};
|
|
6855
|
-
const Default$6 = () => index.h(
|
|
6856
|
-
const CustomLabel$2 = () => (index.h(
|
|
6857
|
-
const Error$3 = () => (index.h(
|
|
7136
|
+
const Default$6 = () => index.h(sqmInputFieldView.InputFieldView, Object.assign({}, defaultProps$6));
|
|
7137
|
+
const CustomLabel$2 = () => (index.h(sqmInputFieldView.InputFieldView, Object.assign({}, defaultProps$6, { content: { ...defaultProps$6.content, fieldLabel: "My Label" } })));
|
|
7138
|
+
const Error$3 = () => (index.h(sqmInputFieldView.InputFieldView, Object.assign({}, defaultProps$6, { states: {
|
|
6858
7139
|
...defaultProps$6.states,
|
|
6859
7140
|
registrationFormState: {
|
|
6860
7141
|
validationErrors: {
|
|
@@ -6862,7 +7143,7 @@ const Error$3 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({},
|
|
|
6862
7143
|
},
|
|
6863
7144
|
},
|
|
6864
7145
|
} })));
|
|
6865
|
-
const CustomError$2 = () => (index.h(
|
|
7146
|
+
const CustomError$2 = () => (index.h(sqmInputFieldView.InputFieldView, Object.assign({}, defaultProps$6, { content: {
|
|
6866
7147
|
...defaultProps$6.content,
|
|
6867
7148
|
errorMessage: "A value must be entered to continue",
|
|
6868
7149
|
}, states: {
|
|
@@ -6874,26 +7155,26 @@ const CustomError$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assi
|
|
|
6874
7155
|
},
|
|
6875
7156
|
} })));
|
|
6876
7157
|
const DateType = () => {
|
|
6877
|
-
return (index.h(
|
|
7158
|
+
return (index.h(sqmInputFieldView.InputFieldView, Object.assign({}, defaultProps$6, { content: {
|
|
6878
7159
|
...defaultProps$6.content,
|
|
6879
7160
|
fieldLabel: "Date",
|
|
6880
7161
|
fieldType: "date",
|
|
6881
7162
|
} })));
|
|
6882
7163
|
};
|
|
6883
7164
|
const TelType = () => {
|
|
6884
|
-
return (index.h(
|
|
7165
|
+
return (index.h(sqmInputFieldView.InputFieldView, Object.assign({}, defaultProps$6, { content: {
|
|
6885
7166
|
...defaultProps$6.content,
|
|
6886
7167
|
fieldLabel: "Phone Number",
|
|
6887
7168
|
fieldType: "tel",
|
|
6888
7169
|
} })));
|
|
6889
7170
|
};
|
|
6890
|
-
const RegistrationField = () => (index.h(
|
|
7171
|
+
const RegistrationField = () => (index.h(sqmPortalRegisterView.PortalRegisterView, Object.assign({}, defaultRegisterProps$1, { content: {
|
|
6891
7172
|
...defaultRegisterProps$1.content,
|
|
6892
|
-
formData: index.h(
|
|
7173
|
+
formData: index.h(sqmInputFieldView.InputFieldView, Object.assign({}, defaultProps$6)),
|
|
6893
7174
|
} })));
|
|
6894
|
-
const RegistrationFieldCustomLabel = () => (index.h(
|
|
7175
|
+
const RegistrationFieldCustomLabel = () => (index.h(sqmPortalRegisterView.PortalRegisterView, Object.assign({}, defaultRegisterProps$1, { content: {
|
|
6895
7176
|
...defaultRegisterProps$1.content,
|
|
6896
|
-
formData: (index.h(
|
|
7177
|
+
formData: (index.h(sqmInputFieldView.InputFieldView, Object.assign({}, defaultProps$6, { content: {
|
|
6897
7178
|
...defaultProps$6.content,
|
|
6898
7179
|
fieldLabel: "Data",
|
|
6899
7180
|
} }))),
|
|
@@ -7117,7 +7398,7 @@ const simpleInvoiceTableProps = {
|
|
|
7117
7398
|
},
|
|
7118
7399
|
};
|
|
7119
7400
|
const SimpleInvoiceTable = () => {
|
|
7120
|
-
return (index.h(
|
|
7401
|
+
return (index.h(sqmInvoiceTableView.InvoiceTableView, { header: "Invoices", description: "Invoice table description" },
|
|
7121
7402
|
index.h(GenericTableView.GenericTableView, Object.assign({}, simpleInvoiceTableProps))));
|
|
7122
7403
|
};
|
|
7123
7404
|
const EmptyTable = () => {
|
|
@@ -7217,6 +7498,12 @@ function setupGraphQL$5() {
|
|
|
7217
7498
|
const InvoiceTable$1 = createHookStory(() => {
|
|
7218
7499
|
setupGraphQL$5();
|
|
7219
7500
|
index_module.setProgramId("22999");
|
|
7501
|
+
const props = {
|
|
7502
|
+
listType: "",
|
|
7503
|
+
render: () => { },
|
|
7504
|
+
disconnectedCallback: () => { },
|
|
7505
|
+
ignored: true,
|
|
7506
|
+
};
|
|
7220
7507
|
return (index.h("sqm-invoice-table", null,
|
|
7221
7508
|
index.h("sqm-invoice-table-download-column", null),
|
|
7222
7509
|
index.h("sqm-invoice-table-date-column", { "column-title": "Date" }),
|
|
@@ -7441,6 +7728,7 @@ const defaultStyles$1 = {
|
|
|
7441
7728
|
rankSuffix: "{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}",
|
|
7442
7729
|
};
|
|
7443
7730
|
const link = index.h("a", null, "Support");
|
|
7731
|
+
const tag = "Contact" + link + "about upgrading your plan";
|
|
7444
7732
|
const defaultElements$1 = {
|
|
7445
7733
|
empty: (index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png", "empty-state-header": "View your rank in the leaderboard", "empty-state-text": "Be the first to refer a friend and reach the top of the leaderboard" })),
|
|
7446
7734
|
};
|
|
@@ -8281,10 +8569,10 @@ const errorProps$1 = {
|
|
|
8281
8569
|
},
|
|
8282
8570
|
};
|
|
8283
8571
|
const NameFields = () => {
|
|
8284
|
-
return index.h(
|
|
8572
|
+
return index.h(sqmNameFieldsView.NameFieldsView, Object.assign({}, props));
|
|
8285
8573
|
};
|
|
8286
8574
|
const NameFieldsWithErrors = () => {
|
|
8287
|
-
return index.h(
|
|
8575
|
+
return index.h(sqmNameFieldsView.NameFieldsView, Object.assign({}, errorProps$1));
|
|
8288
8576
|
};
|
|
8289
8577
|
|
|
8290
8578
|
const NameFields$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -8335,6 +8623,20 @@ const NavigationSidebar_stories = {
|
|
|
8335
8623
|
title: "Components/Navigation Sidebar",
|
|
8336
8624
|
};
|
|
8337
8625
|
const DefaultNavigationSidebar = () => {
|
|
8626
|
+
const barProps = {
|
|
8627
|
+
data: {
|
|
8628
|
+
programs: [
|
|
8629
|
+
{
|
|
8630
|
+
key: "program1",
|
|
8631
|
+
label: "My Referral Program",
|
|
8632
|
+
},
|
|
8633
|
+
{
|
|
8634
|
+
key: "program2",
|
|
8635
|
+
label: "My Rewards Program",
|
|
8636
|
+
},
|
|
8637
|
+
],
|
|
8638
|
+
},
|
|
8639
|
+
};
|
|
8338
8640
|
const item1Props = {
|
|
8339
8641
|
states: {
|
|
8340
8642
|
active: false,
|
|
@@ -8369,6 +8671,11 @@ const NavigationSidebar = /*#__PURE__*/Object.freeze({
|
|
|
8369
8671
|
const Pagination_stories = {
|
|
8370
8672
|
title: "Components/Link Button",
|
|
8371
8673
|
};
|
|
8674
|
+
const defaultProps$9 = {
|
|
8675
|
+
link: "https://example.com",
|
|
8676
|
+
openInNewTab: false,
|
|
8677
|
+
buttonText: "Button Text",
|
|
8678
|
+
};
|
|
8372
8679
|
const Default$a = () => {
|
|
8373
8680
|
return index.h("sqm-pagination", null);
|
|
8374
8681
|
};
|
|
@@ -8436,17 +8743,17 @@ const PasswordField = /*#__PURE__*/Object.freeze({
|
|
|
8436
8743
|
const PayoutButtonScroll_stories = {
|
|
8437
8744
|
title: "Components/Payout Scroll Button",
|
|
8438
8745
|
};
|
|
8439
|
-
const defaultProps$
|
|
8746
|
+
const defaultProps$a = {
|
|
8440
8747
|
payoutSettingsComplete: true,
|
|
8441
8748
|
};
|
|
8442
|
-
const CompletedTaxForm = () => (index.h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$
|
|
8749
|
+
const CompletedTaxForm = () => (index.h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$a, payoutSettingsComplete: true } } }));
|
|
8443
8750
|
const CompletedTaxFormWithStatsContainer = () => (index.h("sqm-portal-container", { display: "flex", maxWidth: "100%", minWidth: "100%", "justify-content": "space-between", flexWrap: "nowrap" },
|
|
8444
8751
|
index.h("sqm-portal-container", { display: "flex", "max-width": "fit-content" },
|
|
8445
8752
|
index.h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/referralsCount" },
|
|
8446
8753
|
index.h("p", null, "Referrals")),
|
|
8447
8754
|
index.h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/payoutBalance" },
|
|
8448
8755
|
index.h("p", null, "Cash Balance"))),
|
|
8449
|
-
index.h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$
|
|
8756
|
+
index.h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$a, payoutSettingsComplete: true } } })));
|
|
8450
8757
|
|
|
8451
8758
|
const PayoutButtonScroll = /*#__PURE__*/Object.freeze({
|
|
8452
8759
|
__proto__: null,
|
|
@@ -8458,7 +8765,7 @@ const PayoutButtonScroll = /*#__PURE__*/Object.freeze({
|
|
|
8458
8765
|
const ChangeMarketing_stories = {
|
|
8459
8766
|
title: "Components/Change Marketing Emails Status",
|
|
8460
8767
|
};
|
|
8461
|
-
const defaultProps$
|
|
8768
|
+
const defaultProps$b = {
|
|
8462
8769
|
states: {
|
|
8463
8770
|
success: false,
|
|
8464
8771
|
loading: false,
|
|
@@ -8489,21 +8796,21 @@ const Default$b = () => {
|
|
|
8489
8796
|
return index.h("sqm-portal-change-marketing", null);
|
|
8490
8797
|
};
|
|
8491
8798
|
const Loading$3 = () => {
|
|
8492
|
-
return (index.h(
|
|
8799
|
+
return (index.h(sqmPortalChangeMarketingView.ChangeMarktingView, Object.assign({}, defaultProps$b, { states: { ...defaultProps$b.states, loading: true } })));
|
|
8493
8800
|
};
|
|
8494
8801
|
const Error$4 = () => {
|
|
8495
|
-
return (index.h(
|
|
8496
|
-
...defaultProps$
|
|
8802
|
+
return (index.h(sqmPortalChangeMarketingView.ChangeMarktingView, Object.assign({}, defaultProps$b, { states: {
|
|
8803
|
+
...defaultProps$b.states,
|
|
8497
8804
|
formState: {
|
|
8498
|
-
...defaultProps$
|
|
8805
|
+
...defaultProps$b.states.formState,
|
|
8499
8806
|
errors: { error: true },
|
|
8500
8807
|
error: "An error string",
|
|
8501
8808
|
},
|
|
8502
8809
|
} })));
|
|
8503
8810
|
};
|
|
8504
8811
|
const Success = () => {
|
|
8505
|
-
return (index.h(
|
|
8506
|
-
...defaultProps$
|
|
8812
|
+
return (index.h(sqmPortalChangeMarketingView.ChangeMarktingView, Object.assign({}, defaultProps$b, { states: {
|
|
8813
|
+
...defaultProps$b.states,
|
|
8507
8814
|
success: true,
|
|
8508
8815
|
} })));
|
|
8509
8816
|
};
|
|
@@ -8525,7 +8832,7 @@ const ChangePassword_stories = {
|
|
|
8525
8832
|
scenario: scenario$g,
|
|
8526
8833
|
},
|
|
8527
8834
|
};
|
|
8528
|
-
const defaultProps$
|
|
8835
|
+
const defaultProps$c = {
|
|
8529
8836
|
states: {
|
|
8530
8837
|
open: false,
|
|
8531
8838
|
loading: false,
|
|
@@ -8657,12 +8964,12 @@ const successProps = {
|
|
|
8657
8964
|
submit: (e) => console.log("Submit", e),
|
|
8658
8965
|
},
|
|
8659
8966
|
};
|
|
8660
|
-
const Default$c = () => index.h(
|
|
8661
|
-
const Open = () => index.h(
|
|
8662
|
-
const Error$5 = () => index.h(
|
|
8663
|
-
const PaswordError = () => (index.h(
|
|
8664
|
-
const Loading$4 = () => index.h(
|
|
8665
|
-
const Success$1 = () => index.h(
|
|
8967
|
+
const Default$c = () => index.h(sqmPortalChangePasswordView.PortalChangePasswordView, Object.assign({}, defaultProps$c));
|
|
8968
|
+
const Open = () => index.h(sqmPortalChangePasswordView.PortalChangePasswordView, Object.assign({}, openProps));
|
|
8969
|
+
const Error$5 = () => index.h(sqmPortalChangePasswordView.PortalChangePasswordView, Object.assign({}, errorProps$2));
|
|
8970
|
+
const PaswordError = () => (index.h(sqmPortalChangePasswordView.PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
|
|
8971
|
+
const Loading$4 = () => index.h(sqmPortalChangePasswordView.PortalChangePasswordView, Object.assign({}, loadingProps));
|
|
8972
|
+
const Success$1 = () => index.h(sqmPortalChangePasswordView.PortalChangePasswordView, Object.assign({}, successProps));
|
|
8666
8973
|
|
|
8667
8974
|
const ChangePassword = /*#__PURE__*/Object.freeze({
|
|
8668
8975
|
__proto__: null,
|
|
@@ -8868,7 +9175,7 @@ const defaultStates = {
|
|
|
8868
9175
|
loadingVerification: false,
|
|
8869
9176
|
countdown: 10,
|
|
8870
9177
|
};
|
|
8871
|
-
const defaultProps$
|
|
9178
|
+
const defaultProps$d = {
|
|
8872
9179
|
states: defaultStates,
|
|
8873
9180
|
callbacks: defaultCallbacks,
|
|
8874
9181
|
content: defaultContent,
|
|
@@ -8906,7 +9213,7 @@ const loadingVerificationProps = {
|
|
|
8906
9213
|
callbacks: defaultCallbacks,
|
|
8907
9214
|
content: defaultContent,
|
|
8908
9215
|
};
|
|
8909
|
-
const Default$d = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$
|
|
9216
|
+
const Default$d = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$d));
|
|
8910
9217
|
const EmailVerificationWithError = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, errorProps$3)));
|
|
8911
9218
|
const EmailVerificationLoading = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingProps$1)));
|
|
8912
9219
|
const EmailVerificationCheckingVerification = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingVerificationProps)));
|
|
@@ -8930,7 +9237,7 @@ const PortalFooter_stories = {
|
|
|
8930
9237
|
scenario: scenario$j,
|
|
8931
9238
|
},
|
|
8932
9239
|
};
|
|
8933
|
-
const defaultProps$
|
|
9240
|
+
const defaultProps$e = {
|
|
8934
9241
|
supportEmail: "support@example.com",
|
|
8935
9242
|
supportText: "For program support, contact {email}",
|
|
8936
9243
|
hidePoweredBy: false,
|
|
@@ -8940,12 +9247,12 @@ const defaultProps$d = {
|
|
|
8940
9247
|
paddingBottom: "large",
|
|
8941
9248
|
paddingLeft: "large",
|
|
8942
9249
|
};
|
|
8943
|
-
const DefaultFooter = () => index.h(
|
|
8944
|
-
const FooterWithTerms = () => (index.h(
|
|
8945
|
-
const FooterWithFAQ = () => (index.h(
|
|
8946
|
-
const FooterWithTermsAndFAQ = () => (index.h(
|
|
8947
|
-
const FooterNoPoweredBy = () => (index.h(
|
|
8948
|
-
const FooterNoSupportText = () => (index.h(
|
|
9250
|
+
const DefaultFooter = () => index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$e));
|
|
9251
|
+
const FooterWithTerms = () => (index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$e, { termsLink: "https://example.com", termsText: "Terms and Conditions" })));
|
|
9252
|
+
const FooterWithFAQ = () => (index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$e, { faqLink: "https://example.com", faqText: "FAQ" })));
|
|
9253
|
+
const FooterWithTermsAndFAQ = () => (index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$e, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
|
|
9254
|
+
const FooterNoPoweredBy = () => (index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$e, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hidePoweredBy: true })));
|
|
9255
|
+
const FooterNoSupportText = () => (index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$e, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hideSupportText: true })));
|
|
8949
9256
|
|
|
8950
9257
|
const PortalFooter = /*#__PURE__*/Object.freeze({
|
|
8951
9258
|
__proto__: null,
|
|
@@ -8966,7 +9273,7 @@ const PortalForgotPassword_stories = {
|
|
|
8966
9273
|
scenario: scenario$k,
|
|
8967
9274
|
},
|
|
8968
9275
|
};
|
|
8969
|
-
const defaultProps$
|
|
9276
|
+
const defaultProps$f = {
|
|
8970
9277
|
states: {
|
|
8971
9278
|
error: "",
|
|
8972
9279
|
loading: false,
|
|
@@ -9027,11 +9334,11 @@ const successProps$2 = {
|
|
|
9027
9334
|
successAlertText: "An email has been sent with instructions to reset your password.",
|
|
9028
9335
|
},
|
|
9029
9336
|
};
|
|
9030
|
-
const Default$e = () => index.h(
|
|
9337
|
+
const Default$e = () => index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, defaultProps$f));
|
|
9031
9338
|
const DemoDataTest = () => (index.h("sqm-portal-forgot-password", null));
|
|
9032
|
-
const ForgotPasswordWithError = () => (index.h(
|
|
9033
|
-
const ForgotPasswordLoading = () => (index.h(
|
|
9034
|
-
const ForgotPasswordSuccess = () => (index.h(
|
|
9339
|
+
const ForgotPasswordWithError = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, errorProps$4)));
|
|
9340
|
+
const ForgotPasswordLoading = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, loadingProps$2)));
|
|
9341
|
+
const ForgotPasswordSuccess = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, successProps$2)));
|
|
9035
9342
|
|
|
9036
9343
|
const PortalForgotPassword = /*#__PURE__*/Object.freeze({
|
|
9037
9344
|
__proto__: null,
|
|
@@ -9076,7 +9383,7 @@ function setupLoggedOut() {
|
|
|
9076
9383
|
const PortalFrame_stories = {
|
|
9077
9384
|
title: "Components/Microsite Frame",
|
|
9078
9385
|
};
|
|
9079
|
-
const defaultProps$
|
|
9386
|
+
const defaultProps$g = {
|
|
9080
9387
|
data: {
|
|
9081
9388
|
footer: index.h("span", null, "example@example.com"),
|
|
9082
9389
|
header: (index.h("div", { slot: "header", style: { display: "flex", flexDirection: "column" } },
|
|
@@ -9093,9 +9400,9 @@ const defaultProps$f = {
|
|
|
9093
9400
|
};
|
|
9094
9401
|
const FrameWithMenu = () => {
|
|
9095
9402
|
const props = {
|
|
9096
|
-
...defaultProps$
|
|
9403
|
+
...defaultProps$g,
|
|
9097
9404
|
};
|
|
9098
|
-
return (index.h(
|
|
9405
|
+
return (index.h(sqmPortalFrameView.PortalFrameView, Object.assign({}, props),
|
|
9099
9406
|
index.h("sqm-navigation-menu", { "menu-label": "Menu" },
|
|
9100
9407
|
index.h("sl-menu-item", { exportparts: "base: menuitem-base", value: "/widget" }, "Dashboard"),
|
|
9101
9408
|
index.h("sl-menu-item", { exportparts: "base: menuitem-base", value: "/editProfile" }, "Edit Profile"),
|
|
@@ -9104,9 +9411,9 @@ const FrameWithMenu = () => {
|
|
|
9104
9411
|
};
|
|
9105
9412
|
const FrameWithoutMenu = () => {
|
|
9106
9413
|
const props = {
|
|
9107
|
-
...defaultProps$
|
|
9414
|
+
...defaultProps$g,
|
|
9108
9415
|
};
|
|
9109
|
-
return index.h(
|
|
9416
|
+
return index.h(sqmPortalFrameView.PortalFrameView, Object.assign({}, props));
|
|
9110
9417
|
};
|
|
9111
9418
|
const FullStackFrame = () => {
|
|
9112
9419
|
var _a;
|
|
@@ -9171,7 +9478,7 @@ const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
|
9171
9478
|
const PortalGoogleRegistrationForm_stories = {
|
|
9172
9479
|
title: "Components/Microsite Google Register",
|
|
9173
9480
|
};
|
|
9174
|
-
const defaultProps$
|
|
9481
|
+
const defaultProps$h = {
|
|
9175
9482
|
states: {
|
|
9176
9483
|
error: "",
|
|
9177
9484
|
loading: false,
|
|
@@ -9197,7 +9504,7 @@ const defaultProps$g = {
|
|
|
9197
9504
|
passwordField: null,
|
|
9198
9505
|
formData: (index.h("div", null,
|
|
9199
9506
|
" ",
|
|
9200
|
-
index.h(
|
|
9507
|
+
index.h(sqmNameFieldsView.NameFieldsView, { states: {
|
|
9201
9508
|
optional: false,
|
|
9202
9509
|
registrationFormState: {
|
|
9203
9510
|
validationErrors: undefined,
|
|
@@ -9217,7 +9524,7 @@ const defaultProps$g = {
|
|
|
9217
9524
|
},
|
|
9218
9525
|
};
|
|
9219
9526
|
const errorProps$5 = {
|
|
9220
|
-
...defaultProps$
|
|
9527
|
+
...defaultProps$h,
|
|
9221
9528
|
states: {
|
|
9222
9529
|
error: "Something went wrong. Please try again.",
|
|
9223
9530
|
loading: false,
|
|
@@ -9233,7 +9540,7 @@ const errorProps$5 = {
|
|
|
9233
9540
|
},
|
|
9234
9541
|
};
|
|
9235
9542
|
const loadingProps$3 = {
|
|
9236
|
-
...defaultProps$
|
|
9543
|
+
...defaultProps$h,
|
|
9237
9544
|
states: {
|
|
9238
9545
|
error: "",
|
|
9239
9546
|
loading: true,
|
|
@@ -9251,8 +9558,8 @@ const loadingProps$3 = {
|
|
|
9251
9558
|
const Default$f = () => (index.h("sqm-portal-google-registration-form", null));
|
|
9252
9559
|
const RegisterWithError = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, errorProps$5)));
|
|
9253
9560
|
const RegisterLoading = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, loadingProps$3)));
|
|
9254
|
-
const TermsAndConditions$2 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$
|
|
9255
|
-
...defaultProps$
|
|
9561
|
+
const TermsAndConditions$2 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$h, { content: {
|
|
9562
|
+
...defaultProps$h.content,
|
|
9256
9563
|
terms: (index.h("p", null,
|
|
9257
9564
|
"By signing up you agree to the",
|
|
9258
9565
|
" ",
|
|
@@ -9316,7 +9623,7 @@ const PortalGoogleLoginFormStories = /*#__PURE__*/Object.freeze({
|
|
|
9316
9623
|
const PortalLogin_stories = {
|
|
9317
9624
|
title: "Components/Microsite Login",
|
|
9318
9625
|
};
|
|
9319
|
-
const defaultProps$
|
|
9626
|
+
const defaultProps$i = {
|
|
9320
9627
|
states: {
|
|
9321
9628
|
error: "",
|
|
9322
9629
|
loading: false,
|
|
@@ -9362,7 +9669,7 @@ const loadingProps$4 = {
|
|
|
9362
9669
|
},
|
|
9363
9670
|
};
|
|
9364
9671
|
const googleProps = {
|
|
9365
|
-
...defaultProps$
|
|
9672
|
+
...defaultProps$i,
|
|
9366
9673
|
content: {
|
|
9367
9674
|
secondaryButton: (index.h("span", null,
|
|
9368
9675
|
"Don't have an account?",
|
|
@@ -9371,8 +9678,8 @@ const googleProps = {
|
|
|
9371
9678
|
googleButton: index.h("sl-button", null, "Sign in with Google"),
|
|
9372
9679
|
},
|
|
9373
9680
|
};
|
|
9374
|
-
const Default$h = () => (index.h("sqm-portal-login", { demoData: { ...defaultProps$
|
|
9375
|
-
const Text = () => index.h(
|
|
9681
|
+
const Default$h = () => (index.h("sqm-portal-login", { demoData: { ...defaultProps$i } }));
|
|
9682
|
+
const Text = () => index.h(sqmPortalLoginView.PortalLoginView, Object.assign({}, defaultProps$i));
|
|
9376
9683
|
const IsGoogle = () => (index.h("sqm-portal-login", { demoData: { ...googleProps } }));
|
|
9377
9684
|
const LoginWithError = () => (index.h("sqm-portal-login", { demoData: { ...errorProps$6 } }));
|
|
9378
9685
|
const LoginLoading = () => (index.h("sqm-portal-login", { demoData: { ...loadingProps$4 } }));
|
|
@@ -9390,7 +9697,7 @@ const PortalLogin = /*#__PURE__*/Object.freeze({
|
|
|
9390
9697
|
const PortalProfile_stories = {
|
|
9391
9698
|
title: "Components/Microsite Profile",
|
|
9392
9699
|
};
|
|
9393
|
-
const defaultProps$
|
|
9700
|
+
const defaultProps$j = {
|
|
9394
9701
|
states: {
|
|
9395
9702
|
success: false,
|
|
9396
9703
|
loading: false,
|
|
@@ -9606,7 +9913,7 @@ const successProps$3 = {
|
|
|
9606
9913
|
onChange: (e) => console.log(e),
|
|
9607
9914
|
},
|
|
9608
9915
|
};
|
|
9609
|
-
const Default$i = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$
|
|
9916
|
+
const Default$i = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$j));
|
|
9610
9917
|
const DefaultNoCountry = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, noCountry));
|
|
9611
9918
|
const Loading$6 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, loadingProps$5));
|
|
9612
9919
|
const Disabled = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, disabledProps));
|
|
@@ -9627,7 +9934,7 @@ const PortalProfile = /*#__PURE__*/Object.freeze({
|
|
|
9627
9934
|
const PortalRegister_stories = {
|
|
9628
9935
|
title: "Components/Microsite Register",
|
|
9629
9936
|
};
|
|
9630
|
-
const defaultProps$
|
|
9937
|
+
const defaultProps$k = {
|
|
9631
9938
|
states: {
|
|
9632
9939
|
registrationFormState: {},
|
|
9633
9940
|
error: "",
|
|
@@ -9722,9 +10029,9 @@ const slottedProps = {
|
|
|
9722
10029
|
index.h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
|
|
9723
10030
|
},
|
|
9724
10031
|
};
|
|
9725
|
-
const Default$j = () => index.h(
|
|
9726
|
-
const RegisterWithError$1 = () => index.h(
|
|
9727
|
-
const RegisterLoading$1 = () => index.h(
|
|
10032
|
+
const Default$j = () => index.h(sqmPortalRegisterView.PortalRegisterView, Object.assign({}, defaultProps$k));
|
|
10033
|
+
const RegisterWithError$1 = () => index.h(sqmPortalRegisterView.PortalRegisterView, Object.assign({}, errorProps$8));
|
|
10034
|
+
const RegisterLoading$1 = () => index.h(sqmPortalRegisterView.PortalRegisterView, Object.assign({}, loadingProps$6));
|
|
9728
10035
|
const FieldsHidden = () => {
|
|
9729
10036
|
return (index.h("sqm-portal-register", { demoData: {
|
|
9730
10037
|
states: {
|
|
@@ -9737,9 +10044,9 @@ const FieldsHidden = () => {
|
|
|
9737
10044
|
},
|
|
9738
10045
|
} }));
|
|
9739
10046
|
};
|
|
9740
|
-
const SlottedInputs = () => index.h(
|
|
9741
|
-
const TermsAndConditions$3 = () => (index.h(
|
|
9742
|
-
...defaultProps$
|
|
10047
|
+
const SlottedInputs = () => index.h(sqmPortalRegisterView.PortalRegisterView, Object.assign({}, slottedProps));
|
|
10048
|
+
const TermsAndConditions$3 = () => (index.h(sqmPortalRegisterView.PortalRegisterView, Object.assign({}, defaultProps$k, { content: {
|
|
10049
|
+
...defaultProps$k.content,
|
|
9743
10050
|
terms: (index.h("p", null,
|
|
9744
10051
|
"By signing up you agree to the",
|
|
9745
10052
|
" ",
|
|
@@ -9761,7 +10068,7 @@ const PortalRegistrationForm_stories = {
|
|
|
9761
10068
|
title: "Components/Microsite Portal Register",
|
|
9762
10069
|
};
|
|
9763
10070
|
// TODO: Figure out if we can delete this component and it's stories since we have a duplicate
|
|
9764
|
-
const defaultProps$
|
|
10071
|
+
const defaultProps$l = {
|
|
9765
10072
|
states: {
|
|
9766
10073
|
error: "",
|
|
9767
10074
|
loading: false,
|
|
@@ -9838,7 +10145,7 @@ const slottedProps$1 = {
|
|
|
9838
10145
|
index.h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
|
|
9839
10146
|
},
|
|
9840
10147
|
};
|
|
9841
|
-
const Default$k = () => index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$
|
|
10148
|
+
const Default$k = () => index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$l));
|
|
9842
10149
|
const RegisterWithError$2 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, errorProps$9)));
|
|
9843
10150
|
const RegisterLoading$2 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, loadingProps$7)));
|
|
9844
10151
|
const FieldsHidden$1 = () => {
|
|
@@ -9854,12 +10161,12 @@ const FieldsHidden$1 = () => {
|
|
|
9854
10161
|
} }));
|
|
9855
10162
|
};
|
|
9856
10163
|
const SlottedInputs$1 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, slottedProps$1)));
|
|
9857
|
-
const RegisterWithMarketingEmailsCheckbox = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$
|
|
9858
|
-
...defaultProps$
|
|
10164
|
+
const RegisterWithMarketingEmailsCheckbox = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$l, { content: {
|
|
10165
|
+
...defaultProps$l.content,
|
|
9859
10166
|
emailOptIn: (index.h("sqm-checkbox-field", { checkboxLabel: "I would like to receive marketing and promotional emails for this referral program" })),
|
|
9860
10167
|
} })));
|
|
9861
|
-
const TermsAndConditions$4 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$
|
|
9862
|
-
...defaultProps$
|
|
10168
|
+
const TermsAndConditions$4 = () => (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, Object.assign({}, defaultProps$l, { content: {
|
|
10169
|
+
...defaultProps$l.content,
|
|
9863
10170
|
terms: (index.h("p", null,
|
|
9864
10171
|
"By signing up you agree to the",
|
|
9865
10172
|
" ",
|
|
@@ -9886,7 +10193,7 @@ const PortalResetPassword_stories = {
|
|
|
9886
10193
|
scenario: scenario$l,
|
|
9887
10194
|
},
|
|
9888
10195
|
};
|
|
9889
|
-
const defaultProps$
|
|
10196
|
+
const defaultProps$m = {
|
|
9890
10197
|
states: {
|
|
9891
10198
|
error: "",
|
|
9892
10199
|
loading: false,
|
|
@@ -10024,7 +10331,7 @@ const validatingCodeProps = {
|
|
|
10024
10331
|
failed: () => console.log("failed"),
|
|
10025
10332
|
},
|
|
10026
10333
|
};
|
|
10027
|
-
const Default$l = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$
|
|
10334
|
+
const Default$l = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$m));
|
|
10028
10335
|
const DefaultWithoutConfirmField = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultPropsNoConfirm)));
|
|
10029
10336
|
const ResetPasswordWithError = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, errorProps$a)));
|
|
10030
10337
|
const ResetPasswordLoading = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, loadingProps$8)));
|
|
@@ -10226,7 +10533,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
|
|
|
10226
10533
|
const QRCode_stories = {
|
|
10227
10534
|
title: "Components/QR Code",
|
|
10228
10535
|
};
|
|
10229
|
-
const defaultProps$
|
|
10536
|
+
const defaultProps$n = {
|
|
10230
10537
|
hideTitle: false,
|
|
10231
10538
|
loading: false,
|
|
10232
10539
|
alignment: "center",
|
|
@@ -10245,28 +10552,28 @@ const defaultProps$m = {
|
|
|
10245
10552
|
errorDescriptionText: "Please refresh this page and try again",
|
|
10246
10553
|
};
|
|
10247
10554
|
const Default$m = () => {
|
|
10248
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10555
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$n));
|
|
10249
10556
|
};
|
|
10250
10557
|
const HideTitle = () => {
|
|
10251
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10558
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$n, { hideTitle: true }));
|
|
10252
10559
|
};
|
|
10253
10560
|
const LeftAlign$1 = () => {
|
|
10254
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10561
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$n, { alignment: "left" }));
|
|
10255
10562
|
};
|
|
10256
10563
|
const CenterAlign = () => {
|
|
10257
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10564
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$n, { alignment: "center" }));
|
|
10258
10565
|
};
|
|
10259
10566
|
const RightAlign$1 = () => {
|
|
10260
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10567
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$n, { alignment: "right" }));
|
|
10261
10568
|
};
|
|
10262
10569
|
const Loading$7 = () => {
|
|
10263
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10570
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$n, { loading: true }));
|
|
10264
10571
|
};
|
|
10265
10572
|
const Error$7 = () => {
|
|
10266
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10573
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$n, { error: true }));
|
|
10267
10574
|
};
|
|
10268
10575
|
const DownloadError = () => {
|
|
10269
|
-
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$
|
|
10576
|
+
return index.h(sqmQrCodeView.QrCodeView, Object.assign({}, defaultProps$n, { error: true }));
|
|
10270
10577
|
};
|
|
10271
10578
|
|
|
10272
10579
|
const QRCode = /*#__PURE__*/Object.freeze({
|
|
@@ -10301,8 +10608,8 @@ const style$1 = {
|
|
|
10301
10608
|
gap: "var(--sl-spacing-small)",
|
|
10302
10609
|
},
|
|
10303
10610
|
};
|
|
10304
|
-
const sheet$
|
|
10305
|
-
const styleString$1 = sheet$
|
|
10611
|
+
const sheet$2 = JSS.createStyleSheet(style$1);
|
|
10612
|
+
const styleString$1 = sheet$2.toString();
|
|
10306
10613
|
const vanillaStyle = `
|
|
10307
10614
|
:host{
|
|
10308
10615
|
display: block;
|
|
@@ -10333,14 +10640,14 @@ const RadioCardView = ({ title, icon, description, selected, }) => {
|
|
|
10333
10640
|
const border = selected
|
|
10334
10641
|
? "var(--sqm-border-thickness) solid var(--sqm-primary-color)"
|
|
10335
10642
|
: "var(--sqm-border-thickness) solid var(--sqm-border-color)";
|
|
10336
|
-
return (index.h("div", { part: "sqm-base", class: sheet$
|
|
10643
|
+
return (index.h("div", { part: "sqm-base", class: sheet$2.classes.Container, style: {
|
|
10337
10644
|
border,
|
|
10338
10645
|
} },
|
|
10339
10646
|
index.h("style", { type: "text/css" },
|
|
10340
10647
|
styleString$1,
|
|
10341
10648
|
vanillaStyle),
|
|
10342
10649
|
index.h("sl-checkbox", { checked: selected }),
|
|
10343
|
-
index.h("div", { part: "sqm-title-container", class: sheet$
|
|
10650
|
+
index.h("div", { part: "sqm-title-container", class: sheet$2.classes.TitleContainer },
|
|
10344
10651
|
index.h("sl-icon", { name: icon }),
|
|
10345
10652
|
index.h("p", null, title)),
|
|
10346
10653
|
index.h("p", null, description)));
|
|
@@ -10349,17 +10656,17 @@ const RadioCardView = ({ title, icon, description, selected, }) => {
|
|
|
10349
10656
|
const RadioCard_stories = {
|
|
10350
10657
|
title: "Components/Radio Card",
|
|
10351
10658
|
};
|
|
10352
|
-
const defaultProps$
|
|
10659
|
+
const defaultProps$o = {
|
|
10353
10660
|
selected: false,
|
|
10354
10661
|
title: "Card Title",
|
|
10355
10662
|
description: "Description text goes here",
|
|
10356
10663
|
icon: "apple",
|
|
10357
10664
|
};
|
|
10358
10665
|
const DefaultView = () => {
|
|
10359
|
-
return index.h(RadioCardView, Object.assign({}, defaultProps$
|
|
10666
|
+
return index.h(RadioCardView, Object.assign({}, defaultProps$o));
|
|
10360
10667
|
};
|
|
10361
10668
|
const Selected = () => {
|
|
10362
|
-
return index.h(RadioCardView, Object.assign({}, defaultProps$
|
|
10669
|
+
return index.h(RadioCardView, Object.assign({}, defaultProps$o, { selected: true }));
|
|
10363
10670
|
};
|
|
10364
10671
|
|
|
10365
10672
|
const RadioCard = /*#__PURE__*/Object.freeze({
|
|
@@ -10704,13 +11011,12 @@ const props$1 = {
|
|
|
10704
11011
|
iframeSrc: "https://example.com",
|
|
10705
11012
|
iframeHeight: "100%",
|
|
10706
11013
|
iframeWidth: "100%",
|
|
10707
|
-
codeParam: "rsCode",
|
|
10708
11014
|
},
|
|
10709
11015
|
},
|
|
10710
11016
|
};
|
|
10711
11017
|
const ReferralIframe = () => {
|
|
10712
11018
|
return (index.h("div", { style: { width: "1000px", height: "1000px" } },
|
|
10713
|
-
index.h(
|
|
11019
|
+
index.h(sqmReferralIframeView.ReferralIframeView, Object.assign({}, props$1))));
|
|
10714
11020
|
};
|
|
10715
11021
|
const ReferralIframeError = () => {
|
|
10716
11022
|
return (index.h("div", { style: { width: "1000px", height: "1000px" } },
|
|
@@ -11861,14 +12167,14 @@ const defaultTaxDocument = {
|
|
|
11861
12167
|
type: "W9",
|
|
11862
12168
|
dateCreated: luxon.luxon.DateTime.now().toMillis() - 1000000,
|
|
11863
12169
|
};
|
|
11864
|
-
const defaultProps$
|
|
12170
|
+
const defaultProps$p = {
|
|
11865
12171
|
statusText: "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PROCESSING {Payment Processing} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",
|
|
11866
12172
|
statusLongText: "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Processing until {scheduledPayoutDate}. Payout is then scheduled based on your settings.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PROCESSING {Processing until {scheduledPayoutDate}. Payout is then scheduled based on your settings.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }",
|
|
11867
12173
|
rewardReceivedText: "Reward received on",
|
|
11868
12174
|
hideDetails: false,
|
|
11869
12175
|
};
|
|
11870
12176
|
const CashReward = () => {
|
|
11871
|
-
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [{ ...cashReward }], taxConnection: taxConnection }, defaultProps$
|
|
12177
|
+
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [{ ...cashReward }], taxConnection: taxConnection }, defaultProps$p)));
|
|
11872
12178
|
};
|
|
11873
12179
|
const PayoutApproved = () => {
|
|
11874
12180
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -11880,7 +12186,7 @@ const PayoutApproved = () => {
|
|
|
11880
12186
|
dateScheduled: Date.now() - 600000000,
|
|
11881
12187
|
},
|
|
11882
12188
|
},
|
|
11883
|
-
], taxConnection: taxConnection }, defaultProps$
|
|
12189
|
+
], taxConnection: taxConnection }, defaultProps$p)));
|
|
11884
12190
|
};
|
|
11885
12191
|
const PayoutProcessing = () => {
|
|
11886
12192
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -11892,7 +12198,7 @@ const PayoutProcessing = () => {
|
|
|
11892
12198
|
dateScheduled: getDays$1(),
|
|
11893
12199
|
},
|
|
11894
12200
|
},
|
|
11895
|
-
], taxConnection: taxConnection }, defaultProps$
|
|
12201
|
+
], taxConnection: taxConnection }, defaultProps$p)));
|
|
11896
12202
|
};
|
|
11897
12203
|
const PayoutFailed$1 = () => {
|
|
11898
12204
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -11904,7 +12210,7 @@ const PayoutFailed$1 = () => {
|
|
|
11904
12210
|
dateScheduled: Date.now() - 100000,
|
|
11905
12211
|
},
|
|
11906
12212
|
},
|
|
11907
|
-
], taxConnection: taxConnection }, defaultProps$
|
|
12213
|
+
], taxConnection: taxConnection }, defaultProps$p)));
|
|
11908
12214
|
};
|
|
11909
12215
|
const PayoutCancelled$1 = () => {
|
|
11910
12216
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -11916,7 +12222,7 @@ const PayoutCancelled$1 = () => {
|
|
|
11916
12222
|
dateScheduled: Date.now() - 100000,
|
|
11917
12223
|
},
|
|
11918
12224
|
},
|
|
11919
|
-
], taxConnection: taxConnection }, defaultProps$
|
|
12225
|
+
], taxConnection: taxConnection }, defaultProps$p)));
|
|
11920
12226
|
};
|
|
11921
12227
|
const PendingTaxReview$1 = () => {
|
|
11922
12228
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -11934,7 +12240,7 @@ const PendingTaxReview$1 = () => {
|
|
|
11934
12240
|
status: "NOT_VERIFIED",
|
|
11935
12241
|
},
|
|
11936
12242
|
},
|
|
11937
|
-
} }, defaultProps$
|
|
12243
|
+
} }, defaultProps$p)));
|
|
11938
12244
|
};
|
|
11939
12245
|
const PendingNewTaxForm$1 = () => {
|
|
11940
12246
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -11952,7 +12258,7 @@ const PendingNewTaxForm$1 = () => {
|
|
|
11952
12258
|
status: "INACTIVE",
|
|
11953
12259
|
},
|
|
11954
12260
|
},
|
|
11955
|
-
} }, defaultProps$
|
|
12261
|
+
} }, defaultProps$p)));
|
|
11956
12262
|
};
|
|
11957
12263
|
const PendingTaxSubmission$1 = () => {
|
|
11958
12264
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -11967,7 +12273,7 @@ const PendingTaxSubmission$1 = () => {
|
|
|
11967
12273
|
...taxConnection.publisher,
|
|
11968
12274
|
currentTaxDocument: null,
|
|
11969
12275
|
},
|
|
11970
|
-
} }, defaultProps$
|
|
12276
|
+
} }, defaultProps$p)));
|
|
11971
12277
|
};
|
|
11972
12278
|
const PendingPartnerCreation$1 = () => {
|
|
11973
12279
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -11979,7 +12285,7 @@ const PendingPartnerCreation$1 = () => {
|
|
|
11979
12285
|
], taxConnection: {
|
|
11980
12286
|
...taxConnection,
|
|
11981
12287
|
connected: false,
|
|
11982
|
-
} }, defaultProps$
|
|
12288
|
+
} }, defaultProps$p)));
|
|
11983
12289
|
};
|
|
11984
12290
|
const PendingW9 = () => {
|
|
11985
12291
|
return (index.h("sqm-referral-table-rewards-cell", Object.assign({ rewards: [
|
|
@@ -11991,7 +12297,7 @@ const PendingW9 = () => {
|
|
|
11991
12297
|
], taxConnection: {
|
|
11992
12298
|
...taxConnection,
|
|
11993
12299
|
taxHandlingEnabled: false,
|
|
11994
|
-
} }, defaultProps$
|
|
12300
|
+
} }, defaultProps$p)));
|
|
11995
12301
|
};
|
|
11996
12302
|
|
|
11997
12303
|
const TaxAndCashReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
|
|
@@ -12157,6 +12463,12 @@ function setupGraphQLKlip({ token, id }) {
|
|
|
12157
12463
|
const ReferralTable$1 = createHookStory(() => {
|
|
12158
12464
|
setupGraphQL$8();
|
|
12159
12465
|
index_module.setProgramId("sam-partner-test-2");
|
|
12466
|
+
const props = {
|
|
12467
|
+
listType: "",
|
|
12468
|
+
render: () => { },
|
|
12469
|
+
disconnectedCallback: () => { },
|
|
12470
|
+
ignored: true,
|
|
12471
|
+
};
|
|
12160
12472
|
return (index.h("sqm-referral-table", null,
|
|
12161
12473
|
index.h("sqm-referral-table-user-column", null),
|
|
12162
12474
|
index.h("sqm-referral-table-status-column", null),
|
|
@@ -12164,6 +12476,14 @@ const ReferralTable$1 = createHookStory(() => {
|
|
|
12164
12476
|
index.h("sqm-referral-table-rewards-column", null)));
|
|
12165
12477
|
});
|
|
12166
12478
|
const ReferralTableDemoHook = createHookStory(() => {
|
|
12479
|
+
// setupGraphQL();
|
|
12480
|
+
// setProgramId("sam-partner-test-2");
|
|
12481
|
+
const props = {
|
|
12482
|
+
listType: "",
|
|
12483
|
+
render: () => { },
|
|
12484
|
+
disconnectedCallback: () => { },
|
|
12485
|
+
ignored: true,
|
|
12486
|
+
};
|
|
12167
12487
|
return (index.h("sqm-referral-table", null,
|
|
12168
12488
|
index.h("sqm-referral-table-user-column", null),
|
|
12169
12489
|
index.h("sqm-referral-table-status-column", null),
|
|
@@ -12171,6 +12491,14 @@ const ReferralTableDemoHook = createHookStory(() => {
|
|
|
12171
12491
|
index.h("sqm-referral-table-rewards-column", null)));
|
|
12172
12492
|
});
|
|
12173
12493
|
const ReferralTableDemoHookShowReferrer = createHookStory(() => {
|
|
12494
|
+
// setupGraphQL();
|
|
12495
|
+
// setProgramId("sam-partner-test-2");
|
|
12496
|
+
const props = {
|
|
12497
|
+
listType: "",
|
|
12498
|
+
render: () => { },
|
|
12499
|
+
disconnectedCallback: () => { },
|
|
12500
|
+
ignored: true,
|
|
12501
|
+
};
|
|
12174
12502
|
return (index.h("sqm-referral-table", { "show-referrer": "true" },
|
|
12175
12503
|
index.h("sqm-referral-table-user-column", null),
|
|
12176
12504
|
index.h("sqm-referral-table-status-column", null),
|
|
@@ -12183,6 +12511,12 @@ const ReferralTableEn = createHookStory(() => {
|
|
|
12183
12511
|
id: "samenglish",
|
|
12184
12512
|
});
|
|
12185
12513
|
index_module.setProgramId("klip-referral-program");
|
|
12514
|
+
const props = {
|
|
12515
|
+
listType: "",
|
|
12516
|
+
render: () => { },
|
|
12517
|
+
disconnectedCallback: () => { },
|
|
12518
|
+
ignored: true,
|
|
12519
|
+
};
|
|
12186
12520
|
return (index.h("sqm-referral-table", { "per-page": "4" },
|
|
12187
12521
|
index.h("sqm-referral-table-user-column", { "column-title": "User" }),
|
|
12188
12522
|
index.h("sqm-referral-table-status-column", { "column-title": "Referral Status" }),
|
|
@@ -12195,6 +12529,12 @@ const ReferralTableTr = createHookStory(() => {
|
|
|
12195
12529
|
id: "samturkey",
|
|
12196
12530
|
});
|
|
12197
12531
|
index_module.setProgramId("klip-referral-program");
|
|
12532
|
+
const props = {
|
|
12533
|
+
listType: "",
|
|
12534
|
+
render: () => { },
|
|
12535
|
+
disconnectedCallback: () => { },
|
|
12536
|
+
ignored: true,
|
|
12537
|
+
};
|
|
12198
12538
|
return (index.h("sqm-referral-table", { "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz \u00D6d\u00FCl Yok", "per-page": "4" },
|
|
12199
12539
|
index.h("sqm-referral-table-user-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131" }),
|
|
12200
12540
|
index.h("sqm-referral-table-status-column", { "column-title": "Durumu", "converted-status-text": "D\u00F6n\u00FC\u015Ft\u00FCr", "in-progress-status-text": "Devam etmekte" }),
|
|
@@ -12207,6 +12547,12 @@ const ReferralTableFr = createHookStory(() => {
|
|
|
12207
12547
|
id: "samfrench",
|
|
12208
12548
|
});
|
|
12209
12549
|
index_module.setProgramId("klip-referral-program");
|
|
12550
|
+
const props = {
|
|
12551
|
+
listType: "",
|
|
12552
|
+
render: () => { },
|
|
12553
|
+
disconnectedCallback: () => { },
|
|
12554
|
+
ignored: true,
|
|
12555
|
+
};
|
|
12210
12556
|
return (index.h("sqm-referral-table", { "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9f\u00E9rence Maintenant", "per-page": "4" },
|
|
12211
12557
|
index.h("sqm-referral-table-user-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9" }),
|
|
12212
12558
|
index.h("sqm-referral-table-status-column", { "column-title": "Statut de Parrainage", "converted-status-text": "Converti", "in-progress-status-text": "En cours" }),
|
|
@@ -12234,26 +12580,26 @@ const RewardExchangeList_stories = {
|
|
|
12234
12580
|
},
|
|
12235
12581
|
};
|
|
12236
12582
|
const StoryBase = (props) => {
|
|
12237
|
-
return index.h(
|
|
12238
|
-
};
|
|
12239
|
-
const ChooseReward = () => StoryBase(
|
|
12240
|
-
const CustomErrorMessage = () => StoryBase(
|
|
12241
|
-
const LongTextRewardExhange = () => StoryBase(
|
|
12242
|
-
const ChooseRewardSelected = () => StoryBase(
|
|
12243
|
-
const ChooseAmount = () => StoryBase(
|
|
12244
|
-
const ChooseAmountNoDescription = () => StoryBase(
|
|
12245
|
-
const ChooseAmountVariableAndStepped = () => StoryBase(
|
|
12246
|
-
const ChooseAmountVariableAndSteppedNoDescription = () => StoryBase(
|
|
12247
|
-
const chooseAmountVariableAndSteppedDisabled = () => StoryBase(
|
|
12248
|
-
const chooseAmountVariableAndSteppedUnavailable = () => StoryBase(
|
|
12249
|
-
const Confirm = () => StoryBase(
|
|
12250
|
-
const ConfirmVariableAndStepped = () => StoryBase(
|
|
12251
|
-
const RedemptionError = () => StoryBase(
|
|
12252
|
-
const QueryError = () => StoryBase(
|
|
12253
|
-
const SuccessPromo = () => StoryBase(
|
|
12254
|
-
const SuccessVariableAndStepped = () => StoryBase(
|
|
12255
|
-
const Loading$9 = () => StoryBase(
|
|
12256
|
-
const Empty$3 = () => StoryBase(
|
|
12583
|
+
return index.h(RewardExchangeListData.RewardExchangeView, Object.assign({}, props));
|
|
12584
|
+
};
|
|
12585
|
+
const ChooseReward = () => StoryBase(RewardExchangeListData.rewardExchange);
|
|
12586
|
+
const CustomErrorMessage = () => StoryBase(RewardExchangeListData.rewardExchangeCustomErrorMsg);
|
|
12587
|
+
const LongTextRewardExhange = () => StoryBase(RewardExchangeListData.rewardExchangeLongText);
|
|
12588
|
+
const ChooseRewardSelected = () => StoryBase(RewardExchangeListData.rewardExchangeSelected);
|
|
12589
|
+
const ChooseAmount = () => StoryBase(RewardExchangeListData.chooseAmountFixed);
|
|
12590
|
+
const ChooseAmountNoDescription = () => StoryBase(RewardExchangeListData.chooseAmountFixedNoDescription);
|
|
12591
|
+
const ChooseAmountVariableAndStepped = () => StoryBase(RewardExchangeListData.chooseAmountVariable);
|
|
12592
|
+
const ChooseAmountVariableAndSteppedNoDescription = () => StoryBase(RewardExchangeListData.chooseAmountVariableNoDescription);
|
|
12593
|
+
const chooseAmountVariableAndSteppedDisabled = () => StoryBase(RewardExchangeListData.chooseAmountVariableDisabled);
|
|
12594
|
+
const chooseAmountVariableAndSteppedUnavailable = () => StoryBase(RewardExchangeListData.chooseAmountVariableUnavailable);
|
|
12595
|
+
const Confirm = () => StoryBase(RewardExchangeListData.confirmFixed);
|
|
12596
|
+
const ConfirmVariableAndStepped = () => StoryBase(RewardExchangeListData.confirmVariable);
|
|
12597
|
+
const RedemptionError = () => StoryBase(RewardExchangeListData.redemptionError);
|
|
12598
|
+
const QueryError = () => StoryBase(RewardExchangeListData.queryError);
|
|
12599
|
+
const SuccessPromo = () => StoryBase(RewardExchangeListData.success);
|
|
12600
|
+
const SuccessVariableAndStepped = () => StoryBase(RewardExchangeListData.successVariable);
|
|
12601
|
+
const Loading$9 = () => StoryBase(RewardExchangeListData.loading);
|
|
12602
|
+
const Empty$3 = () => StoryBase(RewardExchangeListData.empty);
|
|
12257
12603
|
|
|
12258
12604
|
const RewardExchangeList = /*#__PURE__*/Object.freeze({
|
|
12259
12605
|
__proto__: null,
|
|
@@ -12359,6 +12705,12 @@ const DefaultView$1 = (props) => {
|
|
|
12359
12705
|
};
|
|
12360
12706
|
const RewardList = createHookStory(() => {
|
|
12361
12707
|
setupGraphQL$9();
|
|
12708
|
+
const props = {
|
|
12709
|
+
listType: "",
|
|
12710
|
+
render: () => { },
|
|
12711
|
+
disconnectedCallback: () => { },
|
|
12712
|
+
ignored: true,
|
|
12713
|
+
};
|
|
12362
12714
|
return (index.h("sqm-reward-exchange-list", { "list-type": "something" }));
|
|
12363
12715
|
});
|
|
12364
12716
|
const FixedGlobalReward = createHookStory(() => {
|
|
@@ -12468,6 +12820,112 @@ const rewardsData$1 = {
|
|
|
12468
12820
|
},
|
|
12469
12821
|
partnerFundsTransfer: null,
|
|
12470
12822
|
};
|
|
12823
|
+
const cashReward$1 = {
|
|
12824
|
+
id: "68c34fd98a6cb4f5f8394084",
|
|
12825
|
+
type: "CREDIT",
|
|
12826
|
+
value: 59900,
|
|
12827
|
+
prettyValue: "$599.00",
|
|
12828
|
+
availableValue: 0,
|
|
12829
|
+
prettyAvailableValue: "$0.00",
|
|
12830
|
+
prettyAssignedCredit: "$599.00",
|
|
12831
|
+
prettyRedeemedCredit: "$599.00",
|
|
12832
|
+
prettyValueNumber: "599",
|
|
12833
|
+
prettyAvailableNumber: "0",
|
|
12834
|
+
prettyRedeemedNumber: "599",
|
|
12835
|
+
unit: "CASH/USD",
|
|
12836
|
+
baseUnit: "CASH",
|
|
12837
|
+
rewardUnit: {
|
|
12838
|
+
key: "CASH/USD",
|
|
12839
|
+
name: "Cash",
|
|
12840
|
+
},
|
|
12841
|
+
name: null,
|
|
12842
|
+
dateCreated: 1757630425085,
|
|
12843
|
+
dateScheduledFor: 1757631025115,
|
|
12844
|
+
dateGiven: 1757630737115,
|
|
12845
|
+
dateExpires: null,
|
|
12846
|
+
dateCancelled: null,
|
|
12847
|
+
dateRedeemed: 1757630737115,
|
|
12848
|
+
dateModified: 1757630737115,
|
|
12849
|
+
rewardSource: "MANUAL",
|
|
12850
|
+
fuelTankCode: null,
|
|
12851
|
+
fuelTankType: null,
|
|
12852
|
+
fuelTankSyncSetting: null,
|
|
12853
|
+
currency: "USD",
|
|
12854
|
+
meta: null,
|
|
12855
|
+
programId: "40444",
|
|
12856
|
+
programRewardKey: null,
|
|
12857
|
+
globalRewardKey: "cash",
|
|
12858
|
+
program: {
|
|
12859
|
+
id: "40444",
|
|
12860
|
+
name: "Make Money Program",
|
|
12861
|
+
template: {
|
|
12862
|
+
id: "2qdmAx1fi31deo3P9O36sQ",
|
|
12863
|
+
name: "Referral Program With Objectives",
|
|
12864
|
+
},
|
|
12865
|
+
},
|
|
12866
|
+
partnerFundsTransfer: {
|
|
12867
|
+
id: "693503",
|
|
12868
|
+
status: "TRANSFERRED",
|
|
12869
|
+
dateScheduled: 1768583958000,
|
|
12870
|
+
dateTransferred: 1768583958000,
|
|
12871
|
+
dateCreated: 1767979159000,
|
|
12872
|
+
},
|
|
12873
|
+
user: {
|
|
12874
|
+
id: "8da2c67e05e3e56de7ea638c2705017945211621c80e1cd4b4aac0e423d1cdb2",
|
|
12875
|
+
accountId: "8da2c67e05e3e56de7ea638c2705017945211621c80e1cd4b4aac0e423d1cdb2",
|
|
12876
|
+
firstName: "Billy",
|
|
12877
|
+
lastName: "Jean",
|
|
12878
|
+
email: "billy.jean@impact.com",
|
|
12879
|
+
impactConnection: {
|
|
12880
|
+
connected: true,
|
|
12881
|
+
taxHandlingEnabled: true,
|
|
12882
|
+
publisher: null,
|
|
12883
|
+
},
|
|
12884
|
+
},
|
|
12885
|
+
referral: null,
|
|
12886
|
+
description: null,
|
|
12887
|
+
statuses: ["REDEEMED"],
|
|
12888
|
+
// rewardRedemptionTransactions: {
|
|
12889
|
+
// data: [
|
|
12890
|
+
// {
|
|
12891
|
+
// exchangedRewards: {
|
|
12892
|
+
// data: [],
|
|
12893
|
+
// },
|
|
12894
|
+
// redeemedRewards: {
|
|
12895
|
+
// data: [
|
|
12896
|
+
// {
|
|
12897
|
+
// prettyValue: "$599.00",
|
|
12898
|
+
// },
|
|
12899
|
+
// ],
|
|
12900
|
+
// },
|
|
12901
|
+
// creditRedeemed: 59900,
|
|
12902
|
+
// prettyRedeemedCredit: "$599.00",
|
|
12903
|
+
// dateRedeemed: 1757630737115,
|
|
12904
|
+
// },
|
|
12905
|
+
// ],
|
|
12906
|
+
// },
|
|
12907
|
+
rewardRedemptionTransactions: {
|
|
12908
|
+
data: null,
|
|
12909
|
+
},
|
|
12910
|
+
exchangedRewardRedemptionTransaction: null,
|
|
12911
|
+
pendingReasons: [],
|
|
12912
|
+
};
|
|
12913
|
+
const taxConnection$1 = {
|
|
12914
|
+
connected: true,
|
|
12915
|
+
taxHandlingEnabled: true,
|
|
12916
|
+
publisher: {
|
|
12917
|
+
requiredTaxDocumentType: "W8BEN",
|
|
12918
|
+
currentTaxDocument: {
|
|
12919
|
+
status: "NOT_VERIFIED",
|
|
12920
|
+
type: "W8BEN",
|
|
12921
|
+
dateCreated: 321321487,
|
|
12922
|
+
},
|
|
12923
|
+
withdrawalSettings: {
|
|
12924
|
+
paymentMethod: "BANK_TRANSFER",
|
|
12925
|
+
},
|
|
12926
|
+
payoutsAccount: null,
|
|
12927
|
+
},
|
|
12928
|
+
};
|
|
12471
12929
|
const RewardsCellCreditSingle = () => {
|
|
12472
12930
|
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, ...singleRedeemed } }));
|
|
12473
12931
|
};
|
|
@@ -12636,7 +13094,7 @@ const SourceCellDeletedUser = () => {
|
|
|
12636
13094
|
const SourceCellDeletedReferral = () => {
|
|
12637
13095
|
return (index.h("sqm-rewards-table-source-cell", {
|
|
12638
13096
|
//@ts-ignore
|
|
12639
|
-
reward: { ...rewardsData$1, ...deletedReferral() }, referralText: "Referral to", deletedReferralText: "Deleted Referral" }));
|
|
13097
|
+
reward: { ...rewardsData$1, ...deletedReferral(null) }, referralText: "Referral to", deletedReferralText: "Deleted Referral" }));
|
|
12640
13098
|
};
|
|
12641
13099
|
const StatusCellAvailable = () => {
|
|
12642
13100
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Available", reward: rewardsData$1 }));
|
|
@@ -12954,7 +13412,7 @@ const RewardsTable$1 = /*#__PURE__*/Object.freeze({
|
|
|
12954
13412
|
const TaxAndCashRewardsTableCell_stories = {
|
|
12955
13413
|
title: "Components/Tax And Cash Rewards Table Cell",
|
|
12956
13414
|
};
|
|
12957
|
-
const cashReward$
|
|
13415
|
+
const cashReward$2 = {
|
|
12958
13416
|
id: "68c34fd98a6cb4f5f8394084",
|
|
12959
13417
|
type: "CREDIT",
|
|
12960
13418
|
value: 59900,
|
|
@@ -13022,6 +13480,16 @@ const cashReward$1 = {
|
|
|
13022
13480
|
const pending$1 = {
|
|
13023
13481
|
statuses: ["PENDING"],
|
|
13024
13482
|
};
|
|
13483
|
+
const payoutSent = {
|
|
13484
|
+
statuses: ["PAYOUT_APPROVED"],
|
|
13485
|
+
};
|
|
13486
|
+
const payoutFailed = {
|
|
13487
|
+
statuses: ["PAYOUT_FAILED"],
|
|
13488
|
+
};
|
|
13489
|
+
const payoutCancelled = {
|
|
13490
|
+
statuses: ["PAYOUT_CANCELLED"],
|
|
13491
|
+
dateCancelled: 1355612521321,
|
|
13492
|
+
};
|
|
13025
13493
|
const processingPFT = {
|
|
13026
13494
|
partnerFundsTransfer: {
|
|
13027
13495
|
id: "123",
|
|
@@ -13031,7 +13499,7 @@ const processingPFT = {
|
|
|
13031
13499
|
dateTransferred: null,
|
|
13032
13500
|
},
|
|
13033
13501
|
};
|
|
13034
|
-
const taxConnection$
|
|
13502
|
+
const taxConnection$2 = {
|
|
13035
13503
|
connected: true,
|
|
13036
13504
|
taxHandlingEnabled: true,
|
|
13037
13505
|
publisher: {
|
|
@@ -13048,23 +13516,23 @@ const taxConnection$1 = {
|
|
|
13048
13516
|
},
|
|
13049
13517
|
};
|
|
13050
13518
|
const CashReward$1 = () => {
|
|
13051
|
-
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...cashReward$
|
|
13519
|
+
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...cashReward$2 }, availableText: "{availableAmount} remaining" }));
|
|
13052
13520
|
};
|
|
13053
13521
|
const StatusCellPendingTaxReview = () => {
|
|
13054
|
-
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...cashReward$
|
|
13055
|
-
...taxConnection$
|
|
13522
|
+
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...cashReward$2, ...pending$1, pendingReasons: ["US_TAX"] }, taxConnection: {
|
|
13523
|
+
...taxConnection$2,
|
|
13056
13524
|
publisher: {
|
|
13057
13525
|
requiredTaxDocumentType: "W8BEN",
|
|
13058
13526
|
currentTaxDocument: {
|
|
13059
13527
|
status: "",
|
|
13060
13528
|
},
|
|
13061
|
-
...taxConnection$
|
|
13529
|
+
...taxConnection$2.publisher,
|
|
13062
13530
|
},
|
|
13063
13531
|
} }));
|
|
13064
13532
|
};
|
|
13065
13533
|
const StatusCellPendingNewTaxForm = () => {
|
|
13066
13534
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: {
|
|
13067
|
-
...cashReward$
|
|
13535
|
+
...cashReward$2,
|
|
13068
13536
|
statuses: ["PENDING"],
|
|
13069
13537
|
pendingReasons: ["US_TAX"],
|
|
13070
13538
|
}, taxConnection: {
|
|
@@ -13085,10 +13553,10 @@ const StatusCellPendingNewTaxForm = () => {
|
|
|
13085
13553
|
} }));
|
|
13086
13554
|
};
|
|
13087
13555
|
const StatusCellPendingTaxSubmission = () => {
|
|
13088
|
-
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...cashReward$
|
|
13089
|
-
...taxConnection$
|
|
13556
|
+
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...cashReward$2, ...pending$1, pendingReasons: ["US_TAX"] }, taxConnection: {
|
|
13557
|
+
...taxConnection$2,
|
|
13090
13558
|
publisher: {
|
|
13091
|
-
...taxConnection$
|
|
13559
|
+
...taxConnection$2.publisher,
|
|
13092
13560
|
requiredTaxDocumentType: "W8BEN",
|
|
13093
13561
|
currentTaxDocument: null,
|
|
13094
13562
|
},
|
|
@@ -13096,27 +13564,27 @@ const StatusCellPendingTaxSubmission = () => {
|
|
|
13096
13564
|
};
|
|
13097
13565
|
const StatusCellPendingPartnerCreation = () => {
|
|
13098
13566
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: {
|
|
13099
|
-
...cashReward$
|
|
13567
|
+
...cashReward$2,
|
|
13100
13568
|
...pending$1,
|
|
13101
13569
|
pendingReasons: ["US_TAX"],
|
|
13102
13570
|
}, taxConnection: {
|
|
13103
|
-
...taxConnection$
|
|
13571
|
+
...taxConnection$2,
|
|
13104
13572
|
connected: false,
|
|
13105
13573
|
} }));
|
|
13106
13574
|
};
|
|
13107
13575
|
const StatusCellPendingW9 = () => {
|
|
13108
13576
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: {
|
|
13109
|
-
...cashReward$
|
|
13577
|
+
...cashReward$2,
|
|
13110
13578
|
...pending$1,
|
|
13111
13579
|
pendingReasons: ["US_TAX"],
|
|
13112
13580
|
}, taxConnection: {
|
|
13113
|
-
...taxConnection$
|
|
13581
|
+
...taxConnection$2,
|
|
13114
13582
|
taxHandlingEnabled: false,
|
|
13115
13583
|
} }));
|
|
13116
13584
|
};
|
|
13117
13585
|
const StatusCellPayoutSent = () => {
|
|
13118
13586
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payout Sent", reward: {
|
|
13119
|
-
...cashReward$
|
|
13587
|
+
...cashReward$2,
|
|
13120
13588
|
partnerFundsTransfer: {
|
|
13121
13589
|
id: "transfer-123",
|
|
13122
13590
|
status: "TRANSFERRED",
|
|
@@ -13124,11 +13592,11 @@ const StatusCellPayoutSent = () => {
|
|
|
13124
13592
|
dateTransferred: 1640995200000,
|
|
13125
13593
|
dateCreated: 1640995200000,
|
|
13126
13594
|
},
|
|
13127
|
-
}, taxConnection: taxConnection$
|
|
13595
|
+
}, taxConnection: taxConnection$2 }));
|
|
13128
13596
|
};
|
|
13129
13597
|
const StatusCellPayoutFailed = () => {
|
|
13130
13598
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payout Failed", reward: {
|
|
13131
|
-
...cashReward$
|
|
13599
|
+
...cashReward$2,
|
|
13132
13600
|
partnerFundsTransfer: {
|
|
13133
13601
|
id: "transfer-failed",
|
|
13134
13602
|
status: "OVERDUE",
|
|
@@ -13139,11 +13607,11 @@ const StatusCellPayoutFailed = () => {
|
|
|
13139
13607
|
} }));
|
|
13140
13608
|
};
|
|
13141
13609
|
const StatusCellPayoutProcessing = () => {
|
|
13142
|
-
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payment Processing", reward: { ...cashReward$
|
|
13610
|
+
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payment Processing", reward: { ...cashReward$2, ...processingPFT } }));
|
|
13143
13611
|
};
|
|
13144
13612
|
const StatusCellPayoutCancelled = () => {
|
|
13145
13613
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payout Cancelled", reward: {
|
|
13146
|
-
...cashReward$
|
|
13614
|
+
...cashReward$2,
|
|
13147
13615
|
partnerFundsTransfer: {
|
|
13148
13616
|
id: "transfer-reversed",
|
|
13149
13617
|
status: "REVERSED",
|
|
@@ -13331,6 +13799,14 @@ function setupGraphQLKlip$1({ token, id }) {
|
|
|
13331
13799
|
return { id, accountId };
|
|
13332
13800
|
}
|
|
13333
13801
|
const RewardTableDemoHook = createHookStory(() => {
|
|
13802
|
+
// setupGraphQL();
|
|
13803
|
+
// setProgramId("sam-partner-test-2");
|
|
13804
|
+
const props = {
|
|
13805
|
+
listType: "",
|
|
13806
|
+
render: () => { },
|
|
13807
|
+
disconnectedCallback: () => { },
|
|
13808
|
+
ignored: true,
|
|
13809
|
+
};
|
|
13334
13810
|
return (index.h("sqm-rewards-table", { "per-page": "4" },
|
|
13335
13811
|
index.h("sqm-rewards-table-reward-column", null),
|
|
13336
13812
|
index.h("sqm-rewards-table-source-column", null),
|
|
@@ -13340,6 +13816,12 @@ const RewardTableDemoHook = createHookStory(() => {
|
|
|
13340
13816
|
const RewardsTableWithProgram = createHookStory(() => {
|
|
13341
13817
|
setupGraphQL$a();
|
|
13342
13818
|
index_module.setProgramId("sam-partner-test-2");
|
|
13819
|
+
const props = {
|
|
13820
|
+
listType: "",
|
|
13821
|
+
render: () => { },
|
|
13822
|
+
disconnectedCallback: () => { },
|
|
13823
|
+
ignored: true,
|
|
13824
|
+
};
|
|
13343
13825
|
return (index.h("sqm-rewards-table", null,
|
|
13344
13826
|
index.h("sqm-rewards-table-reward-column", null),
|
|
13345
13827
|
index.h("sqm-rewards-table-status-column", null),
|
|
@@ -13349,6 +13831,12 @@ const RewardsTableWithProgram = createHookStory(() => {
|
|
|
13349
13831
|
const RewardsTableNoProgram = createHookStory(() => {
|
|
13350
13832
|
setupGraphQL$a();
|
|
13351
13833
|
index_module.setProgramId(undefined);
|
|
13834
|
+
const props = {
|
|
13835
|
+
listType: "",
|
|
13836
|
+
render: () => { },
|
|
13837
|
+
disconnectedCallback: () => { },
|
|
13838
|
+
ignored: true,
|
|
13839
|
+
};
|
|
13352
13840
|
return (index.h("sqm-rewards-table", null,
|
|
13353
13841
|
index.h("sqm-rewards-table-reward-column", null),
|
|
13354
13842
|
index.h("sqm-rewards-table-status-column", null),
|
|
@@ -13361,6 +13849,12 @@ const RewardsTableEn = createHookStory(() => {
|
|
|
13361
13849
|
id: "samenglish",
|
|
13362
13850
|
});
|
|
13363
13851
|
index_module.setProgramId(undefined);
|
|
13852
|
+
const props = {
|
|
13853
|
+
listType: "",
|
|
13854
|
+
render: () => { },
|
|
13855
|
+
disconnectedCallback: () => { },
|
|
13856
|
+
ignored: true,
|
|
13857
|
+
};
|
|
13364
13858
|
return (index.h("sqm-rewards-table", { "per-page": "4" },
|
|
13365
13859
|
index.h("sqm-rewards-table-reward-column", null),
|
|
13366
13860
|
index.h("sqm-rewards-table-status-column", null),
|
|
@@ -13373,6 +13867,12 @@ const RewardsTableTr = createHookStory(() => {
|
|
|
13373
13867
|
id: "samturkey",
|
|
13374
13868
|
});
|
|
13375
13869
|
index_module.setProgramId(undefined);
|
|
13870
|
+
const props = {
|
|
13871
|
+
listType: "",
|
|
13872
|
+
render: () => { },
|
|
13873
|
+
disconnectedCallback: () => { },
|
|
13874
|
+
ignored: true,
|
|
13875
|
+
};
|
|
13376
13876
|
return (index.h("sqm-rewards-table", { "per-page": "4", "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz Referans Yok" },
|
|
13377
13877
|
index.h("sqm-rewards-table-reward-column", { "column-title": "\u00D6d\u00FCller", "redeemed-text": "{redeemedAmount} kullan\u0131ld\u0131", "available-text": "{availableAmount} mevcut" }),
|
|
13378
13878
|
index.h("sqm-rewards-table-source-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131", "reward-exchange-text": "\u00D6d\u00FClleri Kulann\u0131n", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {Referans} REFERRED {Y\u00F6nlendiren} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Otomatik} other {}}" }),
|
|
@@ -13385,6 +13885,12 @@ const RewardsTableFr = createHookStory(() => {
|
|
|
13385
13885
|
id: "samfrench",
|
|
13386
13886
|
});
|
|
13387
13887
|
index_module.setProgramId(undefined);
|
|
13888
|
+
const props = {
|
|
13889
|
+
listType: "",
|
|
13890
|
+
render: () => { },
|
|
13891
|
+
disconnectedCallback: () => { },
|
|
13892
|
+
ignored: true,
|
|
13893
|
+
};
|
|
13388
13894
|
return (index.h("sqm-rewards-table", { "per-page": "4", "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9compenses Maintenant" },
|
|
13389
13895
|
index.h("sqm-rewards-table-reward-column", { "column-title": "R\u00E9compenses", "redeemed-text": "{redeemedAmount} rachet\u00E9e", "available-text": "{availableAmount} disponible" }),
|
|
13390
13896
|
index.h("sqm-rewards-table-source-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9", "reward-exchange-text": "\u00C9change de R\u00E9compenses", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {R\u00E9f\u00E9rence \u00E0} REFERRED {R\u00E9f\u00E9renc\u00E9 par} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Automatique} other {}}" }),
|
|
@@ -13732,37 +14238,37 @@ const WithIconPrefix = () => {
|
|
|
13732
14238
|
medium: "whatsapp",
|
|
13733
14239
|
iconslot: "prefix",
|
|
13734
14240
|
};
|
|
13735
|
-
return index.h(
|
|
14241
|
+
return index.h(useShareButton.ShareButtonView, Object.assign({}, props), "Share");
|
|
13736
14242
|
};
|
|
13737
14243
|
const WithIconSuffix = () => {
|
|
13738
14244
|
const props = { medium: "whatsapp", iconslot: "suffix" };
|
|
13739
|
-
return index.h(
|
|
14245
|
+
return index.h(useShareButton.ShareButtonView, Object.assign({}, props), "Share");
|
|
13740
14246
|
};
|
|
13741
14247
|
const WithIconOverride = () => {
|
|
13742
14248
|
const props = {
|
|
13743
14249
|
medium: "facebook",
|
|
13744
14250
|
icon: "person-badge",
|
|
13745
14251
|
};
|
|
13746
|
-
return index.h(
|
|
14252
|
+
return index.h(useShareButton.ShareButtonView, Object.assign({}, props), "Share");
|
|
13747
14253
|
};
|
|
13748
14254
|
const TextStyle = () => {
|
|
13749
14255
|
const props = {
|
|
13750
14256
|
medium: "facebook",
|
|
13751
14257
|
type: "text",
|
|
13752
14258
|
};
|
|
13753
|
-
return index.h(
|
|
14259
|
+
return index.h(useShareButton.ShareButtonView, Object.assign({}, props), "Share");
|
|
13754
14260
|
};
|
|
13755
14261
|
const WithoutIcon = () => {
|
|
13756
14262
|
const props = { medium: "facebook", hideicon: true };
|
|
13757
|
-
return index.h(
|
|
14263
|
+
return index.h(useShareButton.ShareButtonView, Object.assign({}, props), "Share");
|
|
13758
14264
|
};
|
|
13759
14265
|
const WithoutText = () => {
|
|
13760
14266
|
const props = { medium: "facebook", hidetext: true };
|
|
13761
|
-
return index.h(
|
|
14267
|
+
return index.h(useShareButton.ShareButtonView, Object.assign({}, props), "Share");
|
|
13762
14268
|
};
|
|
13763
14269
|
const TextStyleWithoutIcon = () => {
|
|
13764
14270
|
const props = { medium: "facebook", type: "text", hideicon: true };
|
|
13765
|
-
return index.h(
|
|
14271
|
+
return index.h(useShareButton.ShareButtonView, Object.assign({}, props), "Share");
|
|
13766
14272
|
};
|
|
13767
14273
|
const WithCustomColorsAndBranding = () => {
|
|
13768
14274
|
const props = {
|
|
@@ -13774,7 +14280,7 @@ const WithCustomColorsAndBranding = () => {
|
|
|
13774
14280
|
border: "2px solid yellow",
|
|
13775
14281
|
borderradius: 30,
|
|
13776
14282
|
};
|
|
13777
|
-
return index.h(
|
|
14283
|
+
return index.h(useShareButton.ShareButtonView, Object.assign({}, props), "Facebook");
|
|
13778
14284
|
};
|
|
13779
14285
|
const WithCustomBorderRadius = () => {
|
|
13780
14286
|
const props = {
|
|
@@ -13783,7 +14289,7 @@ const WithCustomBorderRadius = () => {
|
|
|
13783
14289
|
borderradius: 8,
|
|
13784
14290
|
iconslot: "prefix",
|
|
13785
14291
|
};
|
|
13786
|
-
return index.h(
|
|
14292
|
+
return index.h(useShareButton.ShareButtonView, Object.assign({}, props), "Facebook");
|
|
13787
14293
|
};
|
|
13788
14294
|
const LinkLocationTest = () => {
|
|
13789
14295
|
const props = {
|
|
@@ -13792,7 +14298,7 @@ const LinkLocationTest = () => {
|
|
|
13792
14298
|
onClick: undefined,
|
|
13793
14299
|
messageLink: "https://www.example.com",
|
|
13794
14300
|
};
|
|
13795
|
-
return index.h(
|
|
14301
|
+
return index.h(useShareButton.ShareButtonView, Object.assign({}, props), "Click me");
|
|
13796
14302
|
};
|
|
13797
14303
|
const FullStackIcon = () => {
|
|
13798
14304
|
return (index.h("div", null,
|
|
@@ -13881,11 +14387,11 @@ const BareBonesView = createHookStory(() => {
|
|
|
13881
14387
|
setupGraphQL$b();
|
|
13882
14388
|
const programId = "sam-partner-test-2";
|
|
13883
14389
|
const res = [
|
|
13884
|
-
|
|
13885
|
-
|
|
13886
|
-
|
|
13887
|
-
|
|
13888
|
-
|
|
14390
|
+
useShareButton.useShareButton({ programId, medium: "facebook" }),
|
|
14391
|
+
useShareButton.useShareButton({ programId, medium: "twitter" }),
|
|
14392
|
+
useShareButton.useShareButton({ programId, medium: "email" }),
|
|
14393
|
+
useShareButton.useShareButton({ programId, medium: "direct" }),
|
|
14394
|
+
useShareButton.useShareButton({ programId, medium: "sms" }),
|
|
13889
14395
|
];
|
|
13890
14396
|
return (index.h("div", null, res.map((r) => (index.h("div", null,
|
|
13891
14397
|
index.h("button", { onClick: r.onClick },
|
|
@@ -14055,21 +14561,140 @@ const CustomStyles$1 = () => {
|
|
|
14055
14561
|
return index.h(copyTextView.CopyTextView, Object.assign({}, props));
|
|
14056
14562
|
};
|
|
14057
14563
|
const CustomStylesWithDemoHooks = () => {
|
|
14058
|
-
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14065
|
-
|
|
14066
|
-
|
|
14067
|
-
|
|
14068
|
-
|
|
14564
|
+
return (index.h("sqm-share-link", { demoData: {
|
|
14565
|
+
copyTextViewProps: {
|
|
14566
|
+
copyString: "https://noah.example.com",
|
|
14567
|
+
open: false,
|
|
14568
|
+
tooltiptext: "Copied!",
|
|
14569
|
+
backgroundColor: "#1ed760",
|
|
14570
|
+
borderRadius: "30px",
|
|
14571
|
+
textColor: "red",
|
|
14572
|
+
buttonType: "primary",
|
|
14573
|
+
borderColor: "#121212",
|
|
14574
|
+
},
|
|
14575
|
+
}, backgroundColor: "#1ed760" }));
|
|
14069
14576
|
};
|
|
14070
14577
|
const FullStack = () => {
|
|
14071
14578
|
return index.h("sqm-share-link", null);
|
|
14072
14579
|
};
|
|
14580
|
+
// Customize URL stories
|
|
14581
|
+
const noopFn = () => { };
|
|
14582
|
+
const defaultCustomizeProps = {
|
|
14583
|
+
copyTextViewProps: {
|
|
14584
|
+
copyString: "https://ssqt.co/abc123",
|
|
14585
|
+
open: false,
|
|
14586
|
+
tooltiptext: "Copied!",
|
|
14587
|
+
},
|
|
14588
|
+
customizeUrl: true,
|
|
14589
|
+
customizeLinkLabel: "Customize Link",
|
|
14590
|
+
saveLabelText: "Save",
|
|
14591
|
+
cancelLabelText: "Cancel",
|
|
14592
|
+
isEditing: false,
|
|
14593
|
+
editValue: "",
|
|
14594
|
+
domainPrefix: "https://ssqt.co/",
|
|
14595
|
+
editsRemaining: 3,
|
|
14596
|
+
maxEdits: 5,
|
|
14597
|
+
limitReached: false,
|
|
14598
|
+
validationError: null,
|
|
14599
|
+
isValidating: false,
|
|
14600
|
+
isSaving: false,
|
|
14601
|
+
characterLimit: 15,
|
|
14602
|
+
minCharacters: 3,
|
|
14603
|
+
charactersRemaining: 15,
|
|
14604
|
+
editLimitText: "You can edit your link up to 5 times.",
|
|
14605
|
+
editLimitReachedText: "5 edit limit reached. To make more changes, please contact {supportLink}.",
|
|
14606
|
+
supportLinkText: "Support",
|
|
14607
|
+
customizeDisabled: false,
|
|
14608
|
+
customizeDisabledTooltip: "Link customization is not available.",
|
|
14609
|
+
onCustomizeClick: noopFn,
|
|
14610
|
+
onEditValueChange: noopFn,
|
|
14611
|
+
onSave: noopFn,
|
|
14612
|
+
onCancel: noopFn,
|
|
14613
|
+
};
|
|
14614
|
+
const CustomizeUrlDefault = () => {
|
|
14615
|
+
return index.h(useShareLink.ShareLinkView, Object.assign({}, defaultCustomizeProps));
|
|
14616
|
+
};
|
|
14617
|
+
const CustomizeUrlEditing = () => {
|
|
14618
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, {
|
|
14619
|
+
...defaultCustomizeProps,
|
|
14620
|
+
isEditing: true,
|
|
14621
|
+
editValue: "nvoiwb18",
|
|
14622
|
+
charactersRemaining: 7,
|
|
14623
|
+
})));
|
|
14624
|
+
};
|
|
14625
|
+
const CustomizeUrlCustomized = () => {
|
|
14626
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, {
|
|
14627
|
+
...defaultCustomizeProps,
|
|
14628
|
+
copyTextViewProps: {
|
|
14629
|
+
...defaultCustomizeProps.copyTextViewProps,
|
|
14630
|
+
copyString: "https://ssqt.co/bobtesterson",
|
|
14631
|
+
},
|
|
14632
|
+
})));
|
|
14633
|
+
};
|
|
14634
|
+
const CustomizeUrlLimitReached = () => {
|
|
14635
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, {
|
|
14636
|
+
...defaultCustomizeProps,
|
|
14637
|
+
copyTextViewProps: {
|
|
14638
|
+
...defaultCustomizeProps.copyTextViewProps,
|
|
14639
|
+
copyString: "https://ssqt.co/bobtesterson",
|
|
14640
|
+
},
|
|
14641
|
+
editsRemaining: 0,
|
|
14642
|
+
limitReached: true,
|
|
14643
|
+
})));
|
|
14644
|
+
};
|
|
14645
|
+
const CustomizeUrlDisabled = () => {
|
|
14646
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, {
|
|
14647
|
+
...defaultCustomizeProps,
|
|
14648
|
+
customizeDisabled: true,
|
|
14649
|
+
})));
|
|
14650
|
+
};
|
|
14651
|
+
const CustomizeUrlValidationError = () => {
|
|
14652
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, {
|
|
14653
|
+
...defaultCustomizeProps,
|
|
14654
|
+
isEditing: true,
|
|
14655
|
+
editValue: "nvoiwb18",
|
|
14656
|
+
charactersRemaining: 7,
|
|
14657
|
+
validationError: {
|
|
14658
|
+
code: "EXISTING_CODE_CONFLICT",
|
|
14659
|
+
title: "This link is already taken",
|
|
14660
|
+
description: "Try adding numbers, a dash or underscore to create a unique link.",
|
|
14661
|
+
},
|
|
14662
|
+
})));
|
|
14663
|
+
};
|
|
14664
|
+
const CustomizeUrlInvalidCharacters = () => {
|
|
14665
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, {
|
|
14666
|
+
...defaultCustomizeProps,
|
|
14667
|
+
isEditing: true,
|
|
14668
|
+
editValue: "nvoiwb18",
|
|
14669
|
+
charactersRemaining: 7,
|
|
14670
|
+
validationError: {
|
|
14671
|
+
code: "INVALID_CHARACTER",
|
|
14672
|
+
title: "Please use only letters, numbers, dashes and underscores",
|
|
14673
|
+
description: "Special characters can break the link when sharing.",
|
|
14674
|
+
},
|
|
14675
|
+
})));
|
|
14676
|
+
};
|
|
14677
|
+
const CustomizeUrlProfanity = () => {
|
|
14678
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, {
|
|
14679
|
+
...defaultCustomizeProps,
|
|
14680
|
+
isEditing: true,
|
|
14681
|
+
editValue: "nvoiwb18",
|
|
14682
|
+
charactersRemaining: 7,
|
|
14683
|
+
validationError: {
|
|
14684
|
+
code: "BLOCKED_WORD",
|
|
14685
|
+
title: "Please try a different link",
|
|
14686
|
+
description: "This link contains a restricted word.",
|
|
14687
|
+
},
|
|
14688
|
+
})));
|
|
14689
|
+
};
|
|
14690
|
+
const CustomizeUrlSaving = () => {
|
|
14691
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, {
|
|
14692
|
+
...defaultCustomizeProps,
|
|
14693
|
+
isEditing: true,
|
|
14694
|
+
editValue: "bobtesterson",
|
|
14695
|
+
isSaving: true,
|
|
14696
|
+
})));
|
|
14697
|
+
};
|
|
14073
14698
|
|
|
14074
14699
|
const ShareLink = /*#__PURE__*/Object.freeze({
|
|
14075
14700
|
__proto__: null,
|
|
@@ -14084,7 +14709,16 @@ const ShareLink = /*#__PURE__*/Object.freeze({
|
|
|
14084
14709
|
CopyButtonBelow: CopyButtonBelow$3,
|
|
14085
14710
|
CustomStyles: CustomStyles$1,
|
|
14086
14711
|
CustomStylesWithDemoHooks: CustomStylesWithDemoHooks,
|
|
14087
|
-
FullStack: FullStack
|
|
14712
|
+
FullStack: FullStack,
|
|
14713
|
+
CustomizeUrlDefault: CustomizeUrlDefault,
|
|
14714
|
+
CustomizeUrlEditing: CustomizeUrlEditing,
|
|
14715
|
+
CustomizeUrlCustomized: CustomizeUrlCustomized,
|
|
14716
|
+
CustomizeUrlLimitReached: CustomizeUrlLimitReached,
|
|
14717
|
+
CustomizeUrlDisabled: CustomizeUrlDisabled,
|
|
14718
|
+
CustomizeUrlValidationError: CustomizeUrlValidationError,
|
|
14719
|
+
CustomizeUrlInvalidCharacters: CustomizeUrlInvalidCharacters,
|
|
14720
|
+
CustomizeUrlProfanity: CustomizeUrlProfanity,
|
|
14721
|
+
CustomizeUrlSaving: CustomizeUrlSaving
|
|
14088
14722
|
});
|
|
14089
14723
|
|
|
14090
14724
|
const UseShareLink_stories = {
|
|
@@ -14114,7 +14748,7 @@ function setupGraphQL$c() {
|
|
|
14114
14748
|
}
|
|
14115
14749
|
const BareBonesView$1 = createHookStory(() => {
|
|
14116
14750
|
setupGraphQL$c();
|
|
14117
|
-
const res =
|
|
14751
|
+
const res = useShareLink.useShareLink({
|
|
14118
14752
|
programId: "klip-referral-program",
|
|
14119
14753
|
tooltiplifespan: 0,
|
|
14120
14754
|
tooltiptext: "",
|
|
@@ -14122,11 +14756,11 @@ const BareBonesView$1 = createHookStory(() => {
|
|
|
14122
14756
|
return (index.h("div", null,
|
|
14123
14757
|
"Sharelink:",
|
|
14124
14758
|
" ",
|
|
14125
|
-
index.h("code", { style: { borderStyle: "solid", borderWidth: "1px", padding: "2px" } }, res.copyString)));
|
|
14759
|
+
index.h("code", { style: { borderStyle: "solid", borderWidth: "1px", padding: "2px" } }, res.copyTextViewProps.copyString)));
|
|
14126
14760
|
});
|
|
14127
14761
|
const RegularView$2 = createHookStory(() => {
|
|
14128
14762
|
setupGraphQL$c();
|
|
14129
|
-
return (index.h(
|
|
14763
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, useShareLink.useShareLink({
|
|
14130
14764
|
programId: "klip-referral-program",
|
|
14131
14765
|
tooltiptext: "Copied to clipboard",
|
|
14132
14766
|
tooltiplifespan: 1000,
|
|
@@ -14134,19 +14768,29 @@ const RegularView$2 = createHookStory(() => {
|
|
|
14134
14768
|
});
|
|
14135
14769
|
const FastTooltip = createHookStory(() => {
|
|
14136
14770
|
setupGraphQL$c();
|
|
14137
|
-
return (index.h(
|
|
14771
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, useShareLink.useShareLink({
|
|
14138
14772
|
programId: "klip-referral-program",
|
|
14139
|
-
tooltiptext: "
|
|
14773
|
+
tooltiptext: "Copied to clipboard",
|
|
14140
14774
|
tooltiplifespan: 500,
|
|
14141
14775
|
}))));
|
|
14142
14776
|
});
|
|
14777
|
+
const CustomizeUrlEnabled = createHookStory(() => {
|
|
14778
|
+
setupGraphQL$c();
|
|
14779
|
+
return (index.h(useShareLink.ShareLinkView, Object.assign({}, useShareLink.useShareLink({
|
|
14780
|
+
programId: "klip-referral-program",
|
|
14781
|
+
tooltiptext: "Copied to clipboard",
|
|
14782
|
+
tooltiplifespan: 1000,
|
|
14783
|
+
customizeUrl: true,
|
|
14784
|
+
}))));
|
|
14785
|
+
});
|
|
14143
14786
|
|
|
14144
14787
|
const UseShareLink = /*#__PURE__*/Object.freeze({
|
|
14145
14788
|
__proto__: null,
|
|
14146
14789
|
'default': UseShareLink_stories,
|
|
14147
14790
|
BareBonesView: BareBonesView$1,
|
|
14148
14791
|
RegularView: RegularView$2,
|
|
14149
|
-
FastTooltip: FastTooltip
|
|
14792
|
+
FastTooltip: FastTooltip,
|
|
14793
|
+
CustomizeUrlEnabled: CustomizeUrlEnabled
|
|
14150
14794
|
});
|
|
14151
14795
|
|
|
14152
14796
|
const scenario$C = "@author:Zach\n@owner:Zach\nFeature: Tabs\n\n The Tabs takes in the Tab component as children and maps through to display their header and content.\n\n Background: A user on the portal is viewing the widget\n Given a user viewing the Tabs component\n\n @motivating\n Scenario: Content inside the active tab is shown\n Given the header is set to <tabHeader>\n And the content inside is <tabContent>\n And the user has clicked <tabHeader>\n Then the <tabContent> is shown\n Examples:\n | tabHeader | tabContent |\n | Settings | This is the settings tab |\n | General | This is the general tab |\n | History | This is the history tab |\n\n @motivating\n @ui\n Scenario: The placement of the tabs is configurable\n Given The placement prop has been passed a valid <placement>\n Then tabs are placed on the <placementResult>\n Examples:\n | placement | placementResult |\n | | top of the content |\n | left | left hand side of the content |\n | right | right hand side of the content |\n | bottom | bottom of the content |\n\n\n @minutia\n @ui\n Scenario Outline: Tabs are setup to use the brand color\n Given the brand color is set to darkblue\n Then the text inside the active tab is darkblue\n And the underline of the active tab is darkblue\n\n @ui\n Scenario: Tabs are responsive\n Given the user is on a mobile device\n When there are more tabs than the horizontal space allows for\n Then clickable arrows appear on the left and right of the tabs\n And the tabs are scrollable\n\n @landmine\n Scenario: Program section cannot be used inside of tabs\n Given a tabs component\n And tab containing a program section with program-id \"test123\"\n And the program section wraps a component using program context\n When the tabs component is rendered\n Then the \"sq:program-id\" event listener for the program section is removed\n And the component does not use program-id \"test123\" to source its data\n And falls back to the global program id";
|
|
@@ -14732,6 +15376,31 @@ const scenarioTaskCard = "@author:derek\n@owner:kutay\nFeature: Task Card\n\n\t@
|
|
|
14732
15376
|
|
|
14733
15377
|
const scenarioProgressBar = "@author:kutay\n@owner:kutay\nFeature: The progress bar can be shown as a continuous line with progress and end goal. \n\n\t@motivating\n\t@ui\n\tScenario Outline: The progress bar displays a continuous bar with the goal represented by a present\n\t\tGiven a Task Card component\n\t\tAnd the users progress is <progress>\n\t\tAnd the task goal is \"500\"\n\t\tAnd the task is not repeatable\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> shows <progress> with <unit> on the right\n\t\tAnd the circle on the progress bar is brand colour\n\t\tAnd the line behind the circle is brand colour\n\t\tAnd the line infront of the circle is grey\n\t\tAnd the gift icon has <color>\n\t\tAnd the gift icon shows \"500\" with <unit> below\n\t\tExamples:\n\t\t\t| progress | progressBar | unit | color |\n\t\t\t| 0 | ●――――――――――――――――――🎁 | $ | no |\n\t\t\t| 100 | ―――●―――――――――――――――🎁 | $ | no |\n\t\t\t| 500 | ―――――――――――――――――――🎁 | $ | yes |\n\t\t\t| 650 | ―――――――――――――――――――🎁 | $ | yes |\n\t\t\t| 1200 | ―――――――――――――――――――🎁 | $ | yes |\n\n\t@motivating\n\t@ui\n\tScenario Outline: The progress bar can be displayed with steps instead of a continuous line\n\t\tGiven a Task Card component\n\t\tAnd the user progress is <progress>\n\t\tAnd the goal is \"5\"\n\t\tAnd steps are enabled\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> has incrementing steps up to \"5\" in increments of 1\n\t\tAnd the steps behind the users progress are brand colour\n\t\tAnd the steps infront of the users progress are grey\n\t\tAnd the gift icon has <color>\n\t\tAnd the gift icon shows \"5\" below\n\t\tExamples:\n\t\t\t| progress | progressBar | color |\n\t\t\t| 0 | ―――○―――○―――○―――○―――🎁 | no |\n\t\t\t| 1 | ―――●―――○―――○―――○―――🎁 | no |\n\t\t\t| 5 | ―――●―――●―――●―――●―――🎁 | yes |\n\t\t\t| 7 | ―――●―――●―――●―――●―――🎁 | yes |\n\t\t\t| 12 | ―――●―――●―――●―――●―――🎁 | yes |\n\n\t@motivating\n\t@ui\n\tScenario Outline: The continuous progress bar will continue to progress for repeatable rewards\n\t\tGiven a Task Card component\n\t\tAnd the user progress is <progress>\n\t\tAnd the goal is \"500\"\n\t\tAnd it is repeatable\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> shows <progress> with <unit> to the right\n\t\tAnd the first <icon1> is <color1> with <text1> displayed below\n\t\tAnd the second <icon2> is <color2> with <text2> displayed below\n\t\tAnd the third <icon3> is <color3> with <text3> displayed below\n\t\tAnd the circle on the progress bar is brand colour\n\t\tAnd the line behind the circle is brand colour\n\t\tAnd the line infront of the circle is grey\n\t\tExamples:\n\t\t\t| progress | progressBar | unit | icon1 | color1 | text1 | icon2 | color2 | text 2 | icon3 | color3 | text 3 |\n\t\t\t| 250 | ――――●――――🎁―――――――🎁 | $ | NA | NA | NA | gift | greyscale | 500 | gift | greyscale | 1000 |\n\t\t\t| 500 | ―――――――――🎁―――――――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\n\t\t\t| 750 | ―――――――――🎁―――●―――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\n\t\t\t| 1000 | 🎁―――――――🎁―――――――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\n\t\t\t| 1250 | 🎁―――――――🎁―――●―――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\n\n\t@motivating\n\t@ui\n\tScenario Outline: The stepped progress bar will continue to progress for repeatable rewards\n\t\tGiven a Task Card component\n\t\tAnd the user progress is <progress>\n\t\tAnd the goal is \"5\"\n\t\tAnd steps are enabled\n\t\tAnd it is repeatable\n\t\tThen I have <progressBar>\n\t\tAnd the <progressBar> has incrementing steps up to \"5\" in increments of 1\n\t\tAnd the first <icon1> is <color1>\n\t\tAnd the second <icon2> is <color2>\n\t\tAnd the third <icon3> is <color3>\n\t\tAnd the steps behind the users progress are brand colour\n\t\tAnd the steps infront of the users progress are grey\n\t\tExamples:\n\t\t\t| progress | progressBar | icon1 | color1 | icon2 | color2 | icon3 | color3 |\n\t\t\t| 0 | ―――○―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\n\t\t\t| 1 | ―――●―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\n\t\t\t| 5 | ―――●―●―●―●―🎁―○―○―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\n\t\t\t| 7 | ―――●―●―●―●―🎁―●―●―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\n\t\t\t| 12 | 🎁―●―●―●―●―🎁―●―●―○―○―🎁 | gift | colorful | gift | colorful | gift | greyscale |";
|
|
14734
15378
|
|
|
15379
|
+
const ResizerStylesheet = `
|
|
15380
|
+
|
|
15381
|
+
:root{
|
|
15382
|
+
--checker-color-1: #ffffff00;
|
|
15383
|
+
--checker-color-2: #ffffff00;
|
|
15384
|
+
--checker-size: 7px;
|
|
15385
|
+
--checker-gradient: linear-gradient(45deg, var(--checker-color-1) 25%, transparent 25%, transparent 75%, var(--checker-color-1) 75%);
|
|
15386
|
+
}
|
|
15387
|
+
.resizer{
|
|
15388
|
+
resize: horizontal;
|
|
15389
|
+
border: 2px dashed gray;
|
|
15390
|
+
margin: -2px;
|
|
15391
|
+
padding: 12px;
|
|
15392
|
+
height: fit-content;
|
|
15393
|
+
overflow: hidden;
|
|
15394
|
+
width: 100%;
|
|
15395
|
+
}
|
|
15396
|
+
|
|
15397
|
+
.resizer{
|
|
15398
|
+
background-color: var(--checker-color-2);
|
|
15399
|
+
background-image: var(--checker-gradient), var(--checker-gradient);
|
|
15400
|
+
background-position: 0 0, var(--checker-size) var(--checker-size);
|
|
15401
|
+
background-size: calc(var(--checker-size) * 2) calc(var(--checker-size) * 2);
|
|
15402
|
+
}
|
|
15403
|
+
`;
|
|
14735
15404
|
const Resizer = (_, children) => (index.h("div", { class: "resizer" }, children));
|
|
14736
15405
|
|
|
14737
15406
|
const scenario$D = scenarioTaskCard + scenarioProgressBar;
|
|
@@ -14850,116 +15519,116 @@ const TaskCard = () => {
|
|
|
14850
15519
|
return (index.h("div", { style: storyFrame },
|
|
14851
15520
|
index.h(Resizer, null,
|
|
14852
15521
|
index.h("h4", null, "Not Repeatable"),
|
|
14853
|
-
index.h(
|
|
15522
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, description: "" }, states: { ...oneAction$1.states, progress: 0 } })),
|
|
14854
15523
|
index.h("h5", null),
|
|
14855
|
-
index.h(
|
|
15524
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, description: "" }, states: { ...coupleActions$1.states, progress: 0 } })),
|
|
14856
15525
|
index.h("h5", null),
|
|
14857
|
-
index.h(
|
|
15526
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, description: "" }, states: { ...manyActions$1.states, progress: 230 } }))),
|
|
14858
15527
|
index.h(Resizer, null,
|
|
14859
15528
|
index.h("h4", null, "Repeatable"),
|
|
14860
|
-
index.h(
|
|
15529
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true }, states: { ...oneAction$1.states, progress: 2 } })),
|
|
14861
15530
|
index.h("h5", null),
|
|
14862
|
-
index.h(
|
|
15531
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 7 } })),
|
|
14863
15532
|
index.h("h5", null),
|
|
14864
|
-
index.h(
|
|
15533
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 650 } }))),
|
|
14865
15534
|
index.h(Resizer, null,
|
|
14866
15535
|
index.h("h4", null, "Complete"),
|
|
14867
|
-
index.h(
|
|
15536
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 } })),
|
|
14868
15537
|
index.h("h5", null),
|
|
14869
|
-
index.h(
|
|
15538
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 5 } })),
|
|
14870
15539
|
index.h("h5", null),
|
|
14871
|
-
index.h(
|
|
15540
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 } }))),
|
|
14872
15541
|
index.h(Resizer, null,
|
|
14873
15542
|
index.h("h4", null, "Unavailable"),
|
|
14874
|
-
index.h(
|
|
15543
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 } }, expireRepeat)),
|
|
14875
15544
|
index.h("h5", null),
|
|
14876
|
-
index.h(
|
|
15545
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 3 } }, expireRepeat)),
|
|
14877
15546
|
index.h("h5", null),
|
|
14878
|
-
index.h(
|
|
15547
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 250 } }, expireRepeat)))));
|
|
14879
15548
|
};
|
|
14880
15549
|
const TaskCardNotRepeatable = () => {
|
|
14881
15550
|
return (index.h("div", { style: storyFrame },
|
|
14882
15551
|
index.h("div", { style: resizable },
|
|
14883
15552
|
index.h("h4", null, "One Action"),
|
|
14884
|
-
index.h(
|
|
15553
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 } })),
|
|
14885
15554
|
index.h("h5", null),
|
|
14886
|
-
index.h(
|
|
15555
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 } })),
|
|
14887
15556
|
index.h("h5", null)),
|
|
14888
15557
|
index.h("div", { style: resizable },
|
|
14889
15558
|
index.h("h4", null, "A Couple Actions"),
|
|
14890
|
-
index.h(
|
|
15559
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 } })),
|
|
14891
15560
|
index.h("h5", null),
|
|
14892
|
-
index.h(
|
|
15561
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 5 } })),
|
|
14893
15562
|
index.h("h5", null)),
|
|
14894
15563
|
index.h("div", { style: resizable },
|
|
14895
15564
|
index.h("h4", null, "Many Actions"),
|
|
14896
|
-
index.h(
|
|
15565
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 230 } })),
|
|
14897
15566
|
index.h("h5", null),
|
|
14898
|
-
index.h(
|
|
15567
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 } })),
|
|
14899
15568
|
index.h("h5", null))));
|
|
14900
15569
|
};
|
|
14901
15570
|
const TaskCardRepeatable = () => {
|
|
14902
15571
|
return (index.h("div", { style: storyFrame },
|
|
14903
15572
|
index.h("div", { style: resizable },
|
|
14904
15573
|
index.h("h4", null, "One Action"),
|
|
14905
|
-
index.h(
|
|
15574
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true }, states: { ...oneAction$1.states, progress: 0 } })),
|
|
14906
15575
|
index.h("h5", null),
|
|
14907
|
-
index.h(
|
|
15576
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true }, states: { ...oneAction$1.states, progress: 1 } })),
|
|
14908
15577
|
index.h("h5", null)),
|
|
14909
15578
|
index.h("div", { style: resizable },
|
|
14910
15579
|
index.h("h4", null, "A Couple Actions"),
|
|
14911
|
-
index.h(
|
|
15580
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 0 } })),
|
|
14912
15581
|
index.h("h5", null),
|
|
14913
|
-
index.h(
|
|
15582
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 5 } })),
|
|
14914
15583
|
index.h("h5", null),
|
|
14915
|
-
index.h(
|
|
15584
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 7 } })),
|
|
14916
15585
|
index.h("h5", null),
|
|
14917
|
-
index.h(
|
|
15586
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true }, states: { ...coupleActions$1.states, progress: 10 } })),
|
|
14918
15587
|
index.h("h5", null)),
|
|
14919
15588
|
index.h("div", { style: resizable },
|
|
14920
15589
|
index.h("h4", null, "Many Actions"),
|
|
14921
|
-
index.h(
|
|
15590
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 0 } })),
|
|
14922
15591
|
index.h("h5", null),
|
|
14923
|
-
index.h(
|
|
15592
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 500 } })),
|
|
14924
15593
|
index.h("h5", null),
|
|
14925
|
-
index.h(
|
|
15594
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 650 } })),
|
|
14926
15595
|
index.h("h5", null),
|
|
14927
|
-
index.h(
|
|
15596
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true }, states: { ...manyActions$1.states, progress: 1000 } })),
|
|
14928
15597
|
index.h("h5", null))));
|
|
14929
15598
|
};
|
|
14930
15599
|
const TaskCardRepeatableFinite = () => {
|
|
14931
15600
|
return (index.h("div", { style: storyFrame },
|
|
14932
15601
|
index.h("div", { style: resizable },
|
|
14933
15602
|
index.h("h4", null, "One Action"),
|
|
14934
|
-
index.h(
|
|
15603
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true, finite: 2 }, states: { ...oneAction$1.states, progress: 0 } })),
|
|
14935
15604
|
index.h("h5", null),
|
|
14936
|
-
index.h(
|
|
15605
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true, finite: 2 }, states: { ...oneAction$1.states, progress: 1 } })),
|
|
14937
15606
|
index.h("h5", null),
|
|
14938
|
-
index.h(
|
|
15607
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true, finite: 2 }, states: { ...oneAction$1.states, progress: 2 } })),
|
|
14939
15608
|
index.h("h5", null)),
|
|
14940
15609
|
index.h("div", { style: resizable },
|
|
14941
15610
|
index.h("h4", null, "A Couple Actions"),
|
|
14942
|
-
index.h(
|
|
15611
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 2 }, states: { ...coupleActions$1.states, progress: 2 } })),
|
|
14943
15612
|
index.h("h5", null),
|
|
14944
|
-
index.h(
|
|
15613
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 2 }, states: { ...coupleActions$1.states, progress: 5 } })),
|
|
14945
15614
|
index.h("h5", null),
|
|
14946
|
-
index.h(
|
|
15615
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 2 }, states: { ...coupleActions$1.states, progress: 10 } })),
|
|
14947
15616
|
index.h("h5", null),
|
|
14948
|
-
index.h(
|
|
15617
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 3 }, states: { ...coupleActions$1.states, progress: 12 } })),
|
|
14949
15618
|
index.h("h5", null),
|
|
14950
|
-
index.h(
|
|
15619
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, repeatable: true, finite: 3 }, states: { ...coupleActions$1.states, progress: 15 } })),
|
|
14951
15620
|
index.h("h5", null)),
|
|
14952
15621
|
index.h("div", { style: resizable },
|
|
14953
15622
|
index.h("h4", null, "Many Actions"),
|
|
14954
|
-
index.h(
|
|
15623
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 2 }, states: { ...manyActions$1.states, progress: 200 } })),
|
|
14955
15624
|
index.h("h5", null),
|
|
14956
|
-
index.h(
|
|
15625
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 3 }, states: { ...manyActions$1.states, progress: 500 } })),
|
|
14957
15626
|
index.h("h5", null),
|
|
14958
|
-
index.h(
|
|
15627
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 2 }, states: { ...manyActions$1.states, progress: 1000 } })),
|
|
14959
15628
|
index.h("h5", null),
|
|
14960
|
-
index.h(
|
|
15629
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 3 }, states: { ...manyActions$1.states, progress: 1200 } })),
|
|
14961
15630
|
index.h("h5", null),
|
|
14962
|
-
index.h(
|
|
15631
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, repeatable: true, finite: 3 }, states: { ...manyActions$1.states, progress: 1500 } })),
|
|
14963
15632
|
index.h("h5", null))));
|
|
14964
15633
|
};
|
|
14965
15634
|
const TaskCardEndDate = () => {
|
|
@@ -14972,27 +15641,27 @@ const TaskCardEndDate = () => {
|
|
|
14972
15641
|
return (index.h("div", { style: storyFrame },
|
|
14973
15642
|
index.h("div", { style: resizable },
|
|
14974
15643
|
index.h("h4", null, "One Action"),
|
|
14975
|
-
index.h(
|
|
15644
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, ...expire } })),
|
|
14976
15645
|
index.h("h5", null),
|
|
14977
|
-
index.h(
|
|
15646
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, ...expireRepeat } })),
|
|
14978
15647
|
index.h("h5", null),
|
|
14979
|
-
index.h(
|
|
15648
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, ...expireRepeat }, states: { ...oneAction$1.states, progress: 1 } })),
|
|
14980
15649
|
index.h("h5", null)),
|
|
14981
15650
|
index.h("div", { style: resizable },
|
|
14982
15651
|
index.h("h4", null, "A Couple Actions"),
|
|
14983
|
-
index.h(
|
|
15652
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...coupleActions$1.content, ...expire } })),
|
|
14984
15653
|
index.h("h5", null),
|
|
14985
|
-
index.h(
|
|
15654
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...coupleActions$1.content, ...expireRepeat } })),
|
|
14986
15655
|
index.h("h5", null),
|
|
14987
|
-
index.h(
|
|
15656
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...coupleActions$1.content, ...expireRepeat }, states: { ...coupleActions$1.states, progress: 5 } })),
|
|
14988
15657
|
index.h("h5", null)),
|
|
14989
15658
|
index.h("div", { style: resizable },
|
|
14990
15659
|
index.h("h4", null, "Many Actions"),
|
|
14991
|
-
index.h(
|
|
15660
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...manyActions$1.content, ...expire } })),
|
|
14992
15661
|
index.h("h5", null),
|
|
14993
|
-
index.h(
|
|
15662
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...manyActions$1.content, ...expireRepeat } })),
|
|
14994
15663
|
index.h("h5", null),
|
|
14995
|
-
index.h(
|
|
15664
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...manyActions$1.content, ...expireRepeat }, states: { ...manyActions$1.states, progress: 1000 } })),
|
|
14996
15665
|
index.h("h5", null))));
|
|
14997
15666
|
};
|
|
14998
15667
|
const TaskCardLoading = () => {
|
|
@@ -15002,26 +15671,26 @@ const TaskCardLoading = () => {
|
|
|
15002
15671
|
return (index.h("div", { style: storyFrame },
|
|
15003
15672
|
index.h("div", { style: resizable },
|
|
15004
15673
|
index.h("h4", null, "One Action"),
|
|
15005
|
-
index.h(
|
|
15674
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, loading)),
|
|
15006
15675
|
" ",
|
|
15007
15676
|
index.h("h5", null),
|
|
15008
|
-
index.h(
|
|
15677
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, loading)),
|
|
15009
15678
|
" ",
|
|
15010
15679
|
index.h("h5", null)),
|
|
15011
15680
|
index.h("div", { style: resizable },
|
|
15012
15681
|
index.h("h4", null, "A Couple Actions"),
|
|
15013
|
-
index.h(
|
|
15682
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, loading)),
|
|
15014
15683
|
" ",
|
|
15015
15684
|
index.h("h5", null),
|
|
15016
|
-
index.h(
|
|
15685
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, loading)),
|
|
15017
15686
|
" ",
|
|
15018
15687
|
index.h("h5", null)),
|
|
15019
15688
|
index.h("div", { style: resizable },
|
|
15020
15689
|
index.h("h4", null, "Many Actions"),
|
|
15021
|
-
index.h(
|
|
15690
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, loading)),
|
|
15022
15691
|
" ",
|
|
15023
15692
|
index.h("h5", null),
|
|
15024
|
-
index.h(
|
|
15693
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, loading)),
|
|
15025
15694
|
" ",
|
|
15026
15695
|
index.h("h5", null))));
|
|
15027
15696
|
};
|
|
@@ -15035,33 +15704,33 @@ const TaskCardNotStarted = () => {
|
|
|
15035
15704
|
return (index.h("div", { style: storyFrame },
|
|
15036
15705
|
index.h("div", { style: resizable },
|
|
15037
15706
|
index.h("h4", null, "One Action"),
|
|
15038
|
-
index.h(
|
|
15707
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 }, content: { ...oneAction$1.content, ...expire } })),
|
|
15039
15708
|
index.h("h5", null),
|
|
15040
|
-
index.h(
|
|
15709
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 }, content: { ...oneAction$1.content, ...expire } })),
|
|
15041
15710
|
index.h("h5", null),
|
|
15042
|
-
index.h(
|
|
15711
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 }, content: { ...oneAction$1.content, ...expireRepeat } })),
|
|
15043
15712
|
index.h("h5", null),
|
|
15044
|
-
index.h(
|
|
15713
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 }, content: { ...oneAction$1.content, ...expireRepeat } })),
|
|
15045
15714
|
index.h("h5", null)),
|
|
15046
15715
|
index.h("div", { style: resizable },
|
|
15047
15716
|
index.h("h4", null, "A Couple Actions"),
|
|
15048
|
-
index.h(
|
|
15717
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
|
|
15049
15718
|
index.h("h5", null),
|
|
15050
|
-
index.h(
|
|
15719
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
|
|
15051
15720
|
index.h("h5", null),
|
|
15052
|
-
index.h(
|
|
15721
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
|
|
15053
15722
|
index.h("h5", null),
|
|
15054
|
-
index.h(
|
|
15723
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
|
|
15055
15724
|
index.h("h5", null)),
|
|
15056
15725
|
index.h("div", { style: resizable },
|
|
15057
15726
|
index.h("h4", null, "Many Actions"),
|
|
15058
|
-
index.h(
|
|
15727
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expire } })),
|
|
15059
15728
|
index.h("h5", null),
|
|
15060
|
-
index.h(
|
|
15729
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expire } })),
|
|
15061
15730
|
index.h("h5", null),
|
|
15062
|
-
index.h(
|
|
15731
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expireRepeat } })),
|
|
15063
15732
|
index.h("h5", null),
|
|
15064
|
-
index.h(
|
|
15733
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expireRepeat } })),
|
|
15065
15734
|
index.h("h5", null))));
|
|
15066
15735
|
};
|
|
15067
15736
|
const TaskCardEnded = () => {
|
|
@@ -15074,33 +15743,33 @@ const TaskCardEnded = () => {
|
|
|
15074
15743
|
return (index.h("div", { style: storyFrame },
|
|
15075
15744
|
index.h("div", { style: resizable },
|
|
15076
15745
|
index.h("h4", null, "One Action"),
|
|
15077
|
-
index.h(
|
|
15746
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 }, content: { ...oneAction$1.content, ...expire } })),
|
|
15078
15747
|
index.h("h5", null),
|
|
15079
|
-
index.h(
|
|
15748
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 }, content: { ...oneAction$1.content, ...expire } })),
|
|
15080
15749
|
index.h("h5", null),
|
|
15081
|
-
index.h(
|
|
15750
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 0 }, content: { ...oneAction$1.content, ...expireRepeat } })),
|
|
15082
15751
|
index.h("h5", null),
|
|
15083
|
-
index.h(
|
|
15752
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { states: { ...oneAction$1.states, progress: 1 }, content: { ...oneAction$1.content, ...expireRepeat } })),
|
|
15084
15753
|
index.h("h5", null)),
|
|
15085
15754
|
index.h("div", { style: resizable },
|
|
15086
15755
|
index.h("h4", null, "A Couple Actions"),
|
|
15087
|
-
index.h(
|
|
15756
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
|
|
15088
15757
|
index.h("h5", null),
|
|
15089
|
-
index.h(
|
|
15758
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expire } })),
|
|
15090
15759
|
index.h("h5", null),
|
|
15091
|
-
index.h(
|
|
15760
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
|
|
15092
15761
|
index.h("h5", null),
|
|
15093
|
-
index.h(
|
|
15762
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { states: { ...coupleActions$1.states, progress: 1 }, content: { ...coupleActions$1.content, ...expireRepeat } })),
|
|
15094
15763
|
index.h("h5", null)),
|
|
15095
15764
|
index.h("div", { style: resizable },
|
|
15096
15765
|
index.h("h4", null, "Many Actions"),
|
|
15097
|
-
index.h(
|
|
15766
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expire } })),
|
|
15098
15767
|
index.h("h5", null),
|
|
15099
|
-
index.h(
|
|
15768
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expire } })),
|
|
15100
15769
|
index.h("h5", null),
|
|
15101
|
-
index.h(
|
|
15770
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 100 }, content: { ...manyActions$1.content, ...expireRepeat } })),
|
|
15102
15771
|
index.h("h5", null),
|
|
15103
|
-
index.h(
|
|
15772
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { states: { ...manyActions$1.states, progress: 500 }, content: { ...manyActions$1.content, ...expireRepeat } })),
|
|
15104
15773
|
index.h("h5", null))));
|
|
15105
15774
|
};
|
|
15106
15775
|
const TaskCardButtonHidden = () => {
|
|
@@ -15111,48 +15780,48 @@ const TaskCardButtonHidden = () => {
|
|
|
15111
15780
|
return (index.h("div", { style: storyFrame },
|
|
15112
15781
|
index.h(Resizer, null,
|
|
15113
15782
|
index.h("h4", null, "Not Repeatable"),
|
|
15114
|
-
index.h(
|
|
15783
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, description: "", hideButton: true }, states: { ...oneAction$1.states, progress: 0 } })),
|
|
15115
15784
|
index.h("h5", null),
|
|
15116
|
-
index.h(
|
|
15785
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: {
|
|
15117
15786
|
...coupleActions$1.content,
|
|
15118
15787
|
description: "",
|
|
15119
15788
|
hideButton: true,
|
|
15120
15789
|
}, states: { ...coupleActions$1.states, progress: 0 } })),
|
|
15121
15790
|
index.h("h5", null),
|
|
15122
|
-
index.h(
|
|
15791
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: {
|
|
15123
15792
|
...manyActions$1.content,
|
|
15124
15793
|
description: "",
|
|
15125
15794
|
hideButton: true,
|
|
15126
15795
|
}, states: { ...manyActions$1.states, progress: 230 } }))),
|
|
15127
15796
|
index.h(Resizer, null,
|
|
15128
15797
|
index.h("h4", null, "Repeatable"),
|
|
15129
|
-
index.h(
|
|
15798
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, repeatable: true, hideButton: true }, states: { ...oneAction$1.states, progress: 2 } })),
|
|
15130
15799
|
index.h("h5", null),
|
|
15131
|
-
index.h(
|
|
15800
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: {
|
|
15132
15801
|
...coupleActions$1.content,
|
|
15133
15802
|
repeatable: true,
|
|
15134
15803
|
hideButton: true,
|
|
15135
15804
|
}, states: { ...coupleActions$1.states, progress: 7 } })),
|
|
15136
15805
|
index.h("h5", null),
|
|
15137
|
-
index.h(
|
|
15806
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: {
|
|
15138
15807
|
...manyActions$1.content,
|
|
15139
15808
|
repeatable: true,
|
|
15140
15809
|
hideButton: true,
|
|
15141
15810
|
}, states: { ...manyActions$1.states, progress: 650 } }))),
|
|
15142
15811
|
index.h(Resizer, null,
|
|
15143
15812
|
index.h("h4", null, "Complete"),
|
|
15144
|
-
index.h(
|
|
15813
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, hideButton: true }, states: { ...oneAction$1.states, progress: 1 } })),
|
|
15145
15814
|
index.h("h5", null),
|
|
15146
|
-
index.h(
|
|
15815
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, hideButton: true }, states: { ...coupleActions$1.states, progress: 5 } })),
|
|
15147
15816
|
index.h("h5", null),
|
|
15148
|
-
index.h(
|
|
15817
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, hideButton: true }, states: { ...manyActions$1.states, progress: 500 } }))),
|
|
15149
15818
|
index.h(Resizer, null,
|
|
15150
15819
|
index.h("h4", null, "Unavailable"),
|
|
15151
|
-
index.h(
|
|
15820
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, oneAction$1, { content: { ...oneAction$1.content, hideButton: true }, states: { ...oneAction$1.states, progress: 0 } }, expireRepeat)),
|
|
15152
15821
|
index.h("h5", null),
|
|
15153
|
-
index.h(
|
|
15822
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, coupleActions$1, { content: { ...coupleActions$1.content, hideButton: true }, states: { ...coupleActions$1.states, progress: 3 } }, expireRepeat)),
|
|
15154
15823
|
index.h("h5", null),
|
|
15155
|
-
index.h(
|
|
15824
|
+
index.h(sqmTaskCardView.TaskCardView, Object.assign({}, manyActions$1, { content: { ...manyActions$1.content, hideButton: true }, states: { ...manyActions$1.states, progress: 250 } }, expireRepeat)))));
|
|
15156
15825
|
};
|
|
15157
15826
|
const ProgressBar = () => {
|
|
15158
15827
|
const props = {
|
|
@@ -15161,7 +15830,7 @@ const ProgressBar = () => {
|
|
|
15161
15830
|
progressBarUnit: "$",
|
|
15162
15831
|
};
|
|
15163
15832
|
return (index.h("div", null,
|
|
15164
|
-
index.h(MatrixStory, { matrix: { progress: [0, 100, 500, 650, 1200] }, props: props, Component:
|
|
15833
|
+
index.h(MatrixStory, { matrix: { progress: [0, 100, 500, 650, 1200] }, props: props, Component: sqmTaskCardView.ProgressBarView })));
|
|
15165
15834
|
};
|
|
15166
15835
|
const ProgressBarSteps = () => {
|
|
15167
15836
|
const props = {
|
|
@@ -15170,7 +15839,7 @@ const ProgressBarSteps = () => {
|
|
|
15170
15839
|
goal: 5,
|
|
15171
15840
|
};
|
|
15172
15841
|
return (index.h("div", null,
|
|
15173
|
-
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 12] }, props: props, Component:
|
|
15842
|
+
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 12] }, props: props, Component: sqmTaskCardView.ProgressBarView })));
|
|
15174
15843
|
};
|
|
15175
15844
|
const ProgressBarRepeatable = () => {
|
|
15176
15845
|
const props = {
|
|
@@ -15180,7 +15849,7 @@ const ProgressBarRepeatable = () => {
|
|
|
15180
15849
|
repeatable: true,
|
|
15181
15850
|
};
|
|
15182
15851
|
return (index.h("div", null,
|
|
15183
|
-
index.h(MatrixStory, { matrix: { progress: [0, 250, 500, 750, 1000, 1250] }, props: props, Component:
|
|
15852
|
+
index.h(MatrixStory, { matrix: { progress: [0, 250, 500, 750, 1000, 1250] }, props: props, Component: sqmTaskCardView.ProgressBarView })));
|
|
15184
15853
|
};
|
|
15185
15854
|
const ProgressBarStepsRepeatable = () => {
|
|
15186
15855
|
const props = {
|
|
@@ -15190,7 +15859,7 @@ const ProgressBarStepsRepeatable = () => {
|
|
|
15190
15859
|
repeatable: true,
|
|
15191
15860
|
};
|
|
15192
15861
|
return (index.h("div", null,
|
|
15193
|
-
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 12] }, props: props, Component:
|
|
15862
|
+
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 12] }, props: props, Component: sqmTaskCardView.ProgressBarView })));
|
|
15194
15863
|
};
|
|
15195
15864
|
const ProgressBarFinite = () => {
|
|
15196
15865
|
const props = {
|
|
@@ -15201,7 +15870,7 @@ const ProgressBarFinite = () => {
|
|
|
15201
15870
|
finite: 2,
|
|
15202
15871
|
};
|
|
15203
15872
|
return (index.h("div", null,
|
|
15204
|
-
index.h(MatrixStory, { matrix: { progress: [0, 250, 500, 750, 1000, 1250] }, props: props, Component:
|
|
15873
|
+
index.h(MatrixStory, { matrix: { progress: [0, 250, 500, 750, 1000, 1250] }, props: props, Component: sqmTaskCardView.ProgressBarView })));
|
|
15205
15874
|
};
|
|
15206
15875
|
const ProgressBarStepsFinite = () => {
|
|
15207
15876
|
const props = {
|
|
@@ -15212,7 +15881,7 @@ const ProgressBarStepsFinite = () => {
|
|
|
15212
15881
|
finite: 2,
|
|
15213
15882
|
};
|
|
15214
15883
|
return (index.h("div", null,
|
|
15215
|
-
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 10, 12] }, props: props, Component:
|
|
15884
|
+
index.h(MatrixStory, { matrix: { progress: [0, 1, 5, 7, 10, 12] }, props: props, Component: sqmTaskCardView.ProgressBarView })));
|
|
15216
15885
|
};
|
|
15217
15886
|
|
|
15218
15887
|
const TaskCard$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -15264,10 +15933,22 @@ function setupGraphQL$d() {
|
|
|
15264
15933
|
}
|
|
15265
15934
|
const TaskCard$2 = createHookStory(() => {
|
|
15266
15935
|
setupGraphQL$d();
|
|
15936
|
+
const props = {
|
|
15937
|
+
listType: "",
|
|
15938
|
+
render: () => { },
|
|
15939
|
+
disconnectedCallback: () => { },
|
|
15940
|
+
ignored: true,
|
|
15941
|
+
};
|
|
15267
15942
|
return (index.h("sqm-task-card", { "card-title": "Comment on 5 articles", "button-text": "Start reading", goal: 5, steps: true, "show-progress-bar": true, "event-key": "testEvent", "open-new-tab": true }));
|
|
15268
15943
|
});
|
|
15269
15944
|
const TaskCardFeed = createHookStory(() => {
|
|
15270
15945
|
setupGraphQL$d();
|
|
15946
|
+
const props = {
|
|
15947
|
+
listType: "",
|
|
15948
|
+
render: () => { },
|
|
15949
|
+
disconnectedCallback: () => { },
|
|
15950
|
+
ignored: true,
|
|
15951
|
+
};
|
|
15271
15952
|
return (index.h("sqm-card-feed", null,
|
|
15272
15953
|
index.h("sqm-task-card", { "reward-amount": "75", "card-title": "Refer a Friend", description: "Invite a friend to Klip and get 75 points when they signup for a free trial or contact our us about an enterprise license.", "button-text": "Start referring", "button-link": "https://klip-staging.vercel.app/app/klip-rewards", goal: 1, repeatable: true, "completed-text": "", demoData: "", "ended-message": "", "event-key": "", "expiry-message": "", "progress-bar-unit": "", "reward-duration": "2022-01-04T08:00:00.000Z/2022-01-20T08:00:00.000Z", "reward-unit": "", "starts-on-message": "", "stat-type": "", "display-duration": "2022-01-04T08:00:00.000Z/2022-01-05T08:00:00.000Z" }),
|
|
15273
15954
|
index.h("sqb-program-section", { "program-id": "klip-loyalty" },
|
|
@@ -15297,13 +15978,13 @@ const UseTaskCard = /*#__PURE__*/Object.freeze({
|
|
|
15297
15978
|
const ProgressBar_stories = {
|
|
15298
15979
|
title: "Components/Progress Bar",
|
|
15299
15980
|
};
|
|
15300
|
-
const defaultProps$
|
|
15981
|
+
const defaultProps$q = {
|
|
15301
15982
|
progress: 2,
|
|
15302
15983
|
goal: 4,
|
|
15303
15984
|
steps: true,
|
|
15304
15985
|
};
|
|
15305
15986
|
const TaxAndPayoutsProgressBar = () => {
|
|
15306
|
-
return index.h(
|
|
15987
|
+
return index.h(RewardExchangeListData.ProgressBar, Object.assign({}, defaultProps$q, { stageCount: 4, currentStage: 2 }));
|
|
15307
15988
|
};
|
|
15308
15989
|
|
|
15309
15990
|
const ProgressBar$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -15679,35 +16360,35 @@ const UserName = /*#__PURE__*/Object.freeze({
|
|
|
15679
16360
|
const WidgetCodeVerification_stories = {
|
|
15680
16361
|
title: "Components/Widget Code Verification",
|
|
15681
16362
|
};
|
|
15682
|
-
const defaultProps$
|
|
16363
|
+
const defaultProps$r = {
|
|
15683
16364
|
initialiseLoading: false,
|
|
15684
16365
|
email: "testemail@example.com",
|
|
15685
16366
|
loading: false,
|
|
15686
16367
|
verifyFailed: false,
|
|
15687
16368
|
emailResent: false,
|
|
15688
16369
|
};
|
|
15689
|
-
const Default$o = () => (index.h("sqm-code-verification", { demoData: { states: defaultProps$
|
|
16370
|
+
const Default$o = () => (index.h("sqm-code-verification", { demoData: { states: defaultProps$r } }));
|
|
15690
16371
|
const InitialLoading = () => (index.h("sqm-code-verification", { demoData: {
|
|
15691
16372
|
states: {
|
|
15692
|
-
...defaultProps$
|
|
16373
|
+
...defaultProps$r,
|
|
15693
16374
|
initialiseLoading: true,
|
|
15694
16375
|
},
|
|
15695
16376
|
} }));
|
|
15696
16377
|
const Loading$a = () => (index.h("sqm-code-verification", { demoData: {
|
|
15697
16378
|
states: {
|
|
15698
|
-
...defaultProps$
|
|
16379
|
+
...defaultProps$r,
|
|
15699
16380
|
loading: true,
|
|
15700
16381
|
},
|
|
15701
16382
|
} }));
|
|
15702
16383
|
const CodeResent = () => (index.h("sqm-code-verification", { demoData: {
|
|
15703
16384
|
states: {
|
|
15704
|
-
...defaultProps$
|
|
16385
|
+
...defaultProps$r,
|
|
15705
16386
|
emailResent: true,
|
|
15706
16387
|
},
|
|
15707
16388
|
} }));
|
|
15708
16389
|
const VerificationFailed = () => (index.h("sqm-code-verification", { demoData: {
|
|
15709
16390
|
states: {
|
|
15710
|
-
...defaultProps$
|
|
16391
|
+
...defaultProps$r,
|
|
15711
16392
|
verifyFailed: true,
|
|
15712
16393
|
},
|
|
15713
16394
|
} }));
|
|
@@ -15725,7 +16406,7 @@ const WidgetCodeVerification = /*#__PURE__*/Object.freeze({
|
|
|
15725
16406
|
const WidgetEmailVerification_stories = {
|
|
15726
16407
|
title: "Components/Widget Email Verification",
|
|
15727
16408
|
};
|
|
15728
|
-
const defaultProps$
|
|
16409
|
+
const defaultProps$s = {
|
|
15729
16410
|
email: "",
|
|
15730
16411
|
error: false,
|
|
15731
16412
|
loading: false,
|
|
@@ -15740,19 +16421,19 @@ const EmailIsPrefilled = () => (index.h("div", null,
|
|
|
15740
16421
|
index.h("sub", null, "To get your cash paid out directly to your bank account, please complete your account setup")),
|
|
15741
16422
|
index.h("sqm-email-verification", { demoData: {
|
|
15742
16423
|
states: {
|
|
15743
|
-
...defaultProps$
|
|
16424
|
+
...defaultProps$s,
|
|
15744
16425
|
email: "test@example.com",
|
|
15745
16426
|
},
|
|
15746
16427
|
} })));
|
|
15747
16428
|
const Loading$b = () => (index.h("sqm-email-verification", { demoData: {
|
|
15748
16429
|
states: {
|
|
15749
|
-
...defaultProps$
|
|
16430
|
+
...defaultProps$s,
|
|
15750
16431
|
initialLoading: true,
|
|
15751
16432
|
},
|
|
15752
16433
|
} }));
|
|
15753
16434
|
const SaveLoading = () => (index.h("sqm-email-verification", { demoData: {
|
|
15754
16435
|
states: {
|
|
15755
|
-
...defaultProps$
|
|
16436
|
+
...defaultProps$s,
|
|
15756
16437
|
loading: true,
|
|
15757
16438
|
},
|
|
15758
16439
|
} }));
|
|
@@ -15763,19 +16444,19 @@ const WithHeader$1 = () => (index.h("div", null,
|
|
|
15763
16444
|
index.h("sub", null, "To get your cash paid out directly to your bank account, please complete your account setup")),
|
|
15764
16445
|
index.h("sqm-email-verification", { demoData: {
|
|
15765
16446
|
states: {
|
|
15766
|
-
...defaultProps$
|
|
16447
|
+
...defaultProps$s,
|
|
15767
16448
|
email: "test@example.com",
|
|
15768
16449
|
},
|
|
15769
16450
|
} })));
|
|
15770
16451
|
const InvalidEmail = () => (index.h("sqm-email-verification", { demoData: {
|
|
15771
16452
|
states: {
|
|
15772
|
-
...defaultProps$
|
|
16453
|
+
...defaultProps$s,
|
|
15773
16454
|
error: true,
|
|
15774
16455
|
},
|
|
15775
16456
|
} }));
|
|
15776
16457
|
const SendCodeError = () => (index.h("sqm-email-verification", { demoData: {
|
|
15777
16458
|
states: {
|
|
15778
|
-
...defaultProps$
|
|
16459
|
+
...defaultProps$s,
|
|
15779
16460
|
sendCodeError: true,
|
|
15780
16461
|
},
|
|
15781
16462
|
} }));
|
|
@@ -16332,7 +17013,7 @@ const stepTwoProps = {
|
|
|
16332
17013
|
setCountrySearch: (c) => console.log(c),
|
|
16333
17014
|
},
|
|
16334
17015
|
data: {
|
|
16335
|
-
esRegions:
|
|
17016
|
+
esRegions: subregions.INDIRECT_TAX_SPAIN_REGIONS,
|
|
16336
17017
|
countries: [
|
|
16337
17018
|
{
|
|
16338
17019
|
countryCode: "CA",
|
|
@@ -16369,7 +17050,7 @@ const stepTwoProps = {
|
|
|
16369
17050
|
displayName: "United States",
|
|
16370
17051
|
},
|
|
16371
17052
|
],
|
|
16372
|
-
provinces:
|
|
17053
|
+
provinces: subregions.INDIRECT_TAX_PROVINCES,
|
|
16373
17054
|
},
|
|
16374
17055
|
slotProps: {
|
|
16375
17056
|
formState: {
|
|
@@ -16447,7 +17128,7 @@ const dashboardProps = {
|
|
|
16447
17128
|
disabled: false,
|
|
16448
17129
|
status: "ACTIVE",
|
|
16449
17130
|
documentType: "W9",
|
|
16450
|
-
documentTypeString:
|
|
17131
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
16451
17132
|
dateSubmitted: "Jan 18th, 2025",
|
|
16452
17133
|
noFormNeeded: false,
|
|
16453
17134
|
country: "United Kingdom",
|
|
@@ -16465,7 +17146,7 @@ const dashboardProps = {
|
|
|
16465
17146
|
},
|
|
16466
17147
|
};
|
|
16467
17148
|
const GeneralLoadingView = () => {
|
|
16468
|
-
return index.h(
|
|
17149
|
+
return index.h(LoadingView.LoadingView, null);
|
|
16469
17150
|
};
|
|
16470
17151
|
const GeneralErrorView = () => {
|
|
16471
17152
|
return (index.h("sqm-form-message", { type: "error" },
|
|
@@ -16804,7 +17485,7 @@ const StepThreeWithDocusign = () => {
|
|
|
16804
17485
|
return (index.h("sqm-docusign-form", { demoData: {
|
|
16805
17486
|
states: {
|
|
16806
17487
|
documentType: "W9",
|
|
16807
|
-
documentTypeString:
|
|
17488
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
16808
17489
|
...docusignFormProps.states,
|
|
16809
17490
|
},
|
|
16810
17491
|
} }));
|
|
@@ -16814,7 +17495,7 @@ const StepThreeWithDocusignW8BEN = () => {
|
|
|
16814
17495
|
states: {
|
|
16815
17496
|
...docusignFormProps.states,
|
|
16816
17497
|
documentType: "W8BEN",
|
|
16817
|
-
documentTypeString:
|
|
17498
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
16818
17499
|
},
|
|
16819
17500
|
} }));
|
|
16820
17501
|
};
|
|
@@ -16823,7 +17504,7 @@ const StepThreeWithDocusignW8BENE = () => {
|
|
|
16823
17504
|
states: {
|
|
16824
17505
|
...docusignFormProps.states,
|
|
16825
17506
|
documentType: "W8BENE",
|
|
16826
|
-
documentTypeString:
|
|
17507
|
+
documentTypeString: utils.taxTypeToName("W8BENE"),
|
|
16827
17508
|
formState: {
|
|
16828
17509
|
taxFormExpired: false,
|
|
16829
17510
|
participantType: "businessEntity",
|
|
@@ -16919,7 +17600,7 @@ const StepThreeWithDocusignModalOpen = () => {
|
|
|
16919
17600
|
return (index.h("sqm-docusign-form", { demoData: {
|
|
16920
17601
|
states: {
|
|
16921
17602
|
documentType: "W9",
|
|
16922
|
-
documentTypeString:
|
|
17603
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
16923
17604
|
...docusignFormProps.states,
|
|
16924
17605
|
showModal: true,
|
|
16925
17606
|
},
|
|
@@ -16992,7 +17673,7 @@ const TaxAndCashDashboardActiveW8BENForm = () => {
|
|
|
16992
17673
|
noFormNeeded: false,
|
|
16993
17674
|
canEditPayoutInfo: true,
|
|
16994
17675
|
documentType: "W8BEN",
|
|
16995
|
-
documentTypeString:
|
|
17676
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
16996
17677
|
country: "United Kingdom",
|
|
16997
17678
|
indirectTaxType: "VAT",
|
|
16998
17679
|
indirectTaxNumber: "123456",
|
|
@@ -17010,7 +17691,7 @@ const TaxAndCashDashboardActiveW8BENEForm = () => {
|
|
|
17010
17691
|
noFormNeeded: false,
|
|
17011
17692
|
canEditPayoutInfo: true,
|
|
17012
17693
|
documentType: "W8BENE",
|
|
17013
|
-
documentTypeString:
|
|
17694
|
+
documentTypeString: utils.taxTypeToName("W8BENE"),
|
|
17014
17695
|
country: "United Kingdom",
|
|
17015
17696
|
indirectTaxType: "VAT",
|
|
17016
17697
|
indirectTaxNumber: "123456",
|
|
@@ -17028,7 +17709,7 @@ const TaxAndCashDashboardNotActiveW9Form = () => {
|
|
|
17028
17709
|
canEditPayoutInfo: true,
|
|
17029
17710
|
status: "INACTIVE",
|
|
17030
17711
|
documentType: "W9",
|
|
17031
|
-
documentTypeString:
|
|
17712
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
17032
17713
|
country: "United Kingdom",
|
|
17033
17714
|
indirectTaxType: "VAT",
|
|
17034
17715
|
indirectTaxNumber: "123456",
|
|
@@ -17048,7 +17729,7 @@ const TaxAndCashDashboardNotActiveW8Form = () => {
|
|
|
17048
17729
|
canEditPayoutInfo: true,
|
|
17049
17730
|
status: "INACTIVE",
|
|
17050
17731
|
documentType: "W8BEN",
|
|
17051
|
-
documentTypeString:
|
|
17732
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17052
17733
|
country: "United Kingdom",
|
|
17053
17734
|
indirectTaxType: "VAT",
|
|
17054
17735
|
indirectTaxNumber: "123456",
|
|
@@ -17085,7 +17766,7 @@ const TaxAndCashDashboardNotVerifiedW9Form = () => {
|
|
|
17085
17766
|
disabled: false,
|
|
17086
17767
|
status: "NOT_VERIFIED",
|
|
17087
17768
|
documentType: "W9",
|
|
17088
|
-
documentTypeString:
|
|
17769
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
17089
17770
|
noFormNeeded: false,
|
|
17090
17771
|
country: "United States",
|
|
17091
17772
|
indirectTaxType: "VAT",
|
|
@@ -17106,7 +17787,7 @@ const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
|
|
|
17106
17787
|
disabled: false,
|
|
17107
17788
|
status: "NOT_VERIFIED",
|
|
17108
17789
|
documentType: "W8BEN",
|
|
17109
|
-
documentTypeString:
|
|
17790
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17110
17791
|
dateSubmitted: "Jan 18th, 2025",
|
|
17111
17792
|
noFormNeeded: false,
|
|
17112
17793
|
country: "United Kingdom",
|
|
@@ -17127,7 +17808,7 @@ const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
|
|
|
17127
17808
|
disabled: false,
|
|
17128
17809
|
status: "NOT_VERIFIED",
|
|
17129
17810
|
documentType: "W8BENE",
|
|
17130
|
-
documentTypeString:
|
|
17811
|
+
documentTypeString: utils.taxTypeToName("W8BENE"),
|
|
17131
17812
|
dateSubmitted: "Jan 18th, 2025",
|
|
17132
17813
|
noFormNeeded: false,
|
|
17133
17814
|
country: "United Kingdom",
|
|
@@ -17148,7 +17829,7 @@ const TaxAndCashDashboardNotActiveW8BENEForm = () => {
|
|
|
17148
17829
|
disabled: false,
|
|
17149
17830
|
status: "NOT_ACTIVE",
|
|
17150
17831
|
documentType: "W8BENE",
|
|
17151
|
-
documentTypeString:
|
|
17832
|
+
documentTypeString: utils.taxTypeToName("W8BENE"),
|
|
17152
17833
|
dateSubmitted: "Jan 18th, 2025",
|
|
17153
17834
|
noFormNeeded: false,
|
|
17154
17835
|
indirectTaxNumber: "123456",
|
|
@@ -17168,7 +17849,7 @@ const TaxAndCashDashboardNoFormNeeded = () => {
|
|
|
17168
17849
|
canEditPayoutInfo: true,
|
|
17169
17850
|
disabled: false,
|
|
17170
17851
|
documentType: "W9",
|
|
17171
|
-
documentTypeString:
|
|
17852
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
17172
17853
|
dateSubmitted: "Jan 18th, 2025",
|
|
17173
17854
|
noFormNeeded: true,
|
|
17174
17855
|
province: "Ontario",
|
|
@@ -17190,7 +17871,7 @@ const TaxAndCashDashboardIndirectTaxCanada = () => {
|
|
|
17190
17871
|
status: "ACTIVE",
|
|
17191
17872
|
disabled: false,
|
|
17192
17873
|
documentType: "W8BENE",
|
|
17193
|
-
documentTypeString:
|
|
17874
|
+
documentTypeString: utils.taxTypeToName("W8BENE"),
|
|
17194
17875
|
dateSubmitted: "Jan 18th, 2025",
|
|
17195
17876
|
noFormNeeded: false,
|
|
17196
17877
|
province: "Ontario",
|
|
@@ -17212,7 +17893,7 @@ const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
|
|
|
17212
17893
|
status: "ACTIVE",
|
|
17213
17894
|
disabled: false,
|
|
17214
17895
|
documentType: "W8BENE",
|
|
17215
|
-
documentTypeString:
|
|
17896
|
+
documentTypeString: utils.taxTypeToName("W8BENE"),
|
|
17216
17897
|
dateSubmitted: "Jan 18th, 2025",
|
|
17217
17898
|
noFormNeeded: false,
|
|
17218
17899
|
province: "Quebec",
|
|
@@ -17235,7 +17916,7 @@ const TaxAndCashDashboardIndirectTaxSpain = () => {
|
|
|
17235
17916
|
status: "ACTIVE",
|
|
17236
17917
|
disabled: false,
|
|
17237
17918
|
documentType: "W8BENE",
|
|
17238
|
-
documentTypeString:
|
|
17919
|
+
documentTypeString: utils.taxTypeToName("W8BENE"),
|
|
17239
17920
|
dateSubmitted: "Jan 18th, 2025",
|
|
17240
17921
|
noFormNeeded: false,
|
|
17241
17922
|
country: "Spain",
|
|
@@ -17257,7 +17938,7 @@ const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
|
|
|
17257
17938
|
canEditPayoutInfo: true,
|
|
17258
17939
|
status: "ACTIVE",
|
|
17259
17940
|
documentType: "W8BEN",
|
|
17260
|
-
documentTypeString:
|
|
17941
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17261
17942
|
dateSubmitted: "Jan 18th, 2025",
|
|
17262
17943
|
noFormNeeded: false,
|
|
17263
17944
|
notRegistered: true,
|
|
@@ -17275,7 +17956,7 @@ const TaxAndCashDashboardIdentityVerifcationRequired = () => {
|
|
|
17275
17956
|
canEditPayoutInfo: true,
|
|
17276
17957
|
status: "ACTIVE",
|
|
17277
17958
|
documentType: "W8BEN",
|
|
17278
|
-
documentTypeString:
|
|
17959
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17279
17960
|
dateSubmitted: "Jan 18th, 2025",
|
|
17280
17961
|
noFormNeeded: false,
|
|
17281
17962
|
notRegistered: true,
|
|
@@ -17293,7 +17974,7 @@ const TaxAndCashDashboardIdentityVerifcationRequiredInternal = () => {
|
|
|
17293
17974
|
canEditPayoutInfo: true,
|
|
17294
17975
|
status: "ACTIVE",
|
|
17295
17976
|
documentType: "W8BEN",
|
|
17296
|
-
documentTypeString:
|
|
17977
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17297
17978
|
dateSubmitted: "Jan 18th, 2025",
|
|
17298
17979
|
noFormNeeded: false,
|
|
17299
17980
|
notRegistered: true,
|
|
@@ -17311,7 +17992,7 @@ const TaxAndCashDashboardIdentityVerifcationReviewInternal = () => {
|
|
|
17311
17992
|
canEditPayoutInfo: true,
|
|
17312
17993
|
status: "ACTIVE",
|
|
17313
17994
|
documentType: "W8BEN",
|
|
17314
|
-
documentTypeString:
|
|
17995
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17315
17996
|
dateSubmitted: "Jan 18th, 2025",
|
|
17316
17997
|
noFormNeeded: false,
|
|
17317
17998
|
notRegistered: true,
|
|
@@ -17329,7 +18010,7 @@ const TaxAndCashDashboardIdentityVerifcationFailedInternal = () => {
|
|
|
17329
18010
|
canEditPayoutInfo: true,
|
|
17330
18011
|
status: "ACTIVE",
|
|
17331
18012
|
documentType: "W8BEN",
|
|
17332
|
-
documentTypeString:
|
|
18013
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17333
18014
|
dateSubmitted: "Jan 18th, 2025",
|
|
17334
18015
|
noFormNeeded: false,
|
|
17335
18016
|
notRegistered: true,
|
|
@@ -17347,7 +18028,7 @@ const TaxAndCashDashboardW9ThresholdReached = () => {
|
|
|
17347
18028
|
canEditPayoutInfo: true,
|
|
17348
18029
|
status: null,
|
|
17349
18030
|
documentType: "W9",
|
|
17350
|
-
documentTypeString:
|
|
18031
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
17351
18032
|
dateSubmitted: "Jan 18th, 2025",
|
|
17352
18033
|
noFormNeeded: false,
|
|
17353
18034
|
notRegistered: false,
|
|
@@ -17366,7 +18047,7 @@ const TaxAndCashDashboardNewTaxForm = () => {
|
|
|
17366
18047
|
canEditPayoutInfo: true,
|
|
17367
18048
|
status: "ACTIVE",
|
|
17368
18049
|
documentType: "W8BEN",
|
|
17369
|
-
documentTypeString:
|
|
18050
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17370
18051
|
dateSubmitted: "Jan 18th, 2025",
|
|
17371
18052
|
noFormNeeded: false,
|
|
17372
18053
|
notRegistered: true,
|
|
@@ -17385,7 +18066,7 @@ const TaxAndCashDashboardPayoutsOnHold = () => {
|
|
|
17385
18066
|
disabled: true,
|
|
17386
18067
|
status: "ACTIVE",
|
|
17387
18068
|
documentType: "W8BEN",
|
|
17388
|
-
documentTypeString:
|
|
18069
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17389
18070
|
dateSubmitted: "Jan 18th, 2025",
|
|
17390
18071
|
noFormNeeded: false,
|
|
17391
18072
|
indirectTaxNumber: "123456",
|
|
@@ -17405,7 +18086,7 @@ const TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalid = () => {
|
|
|
17405
18086
|
disabled: true,
|
|
17406
18087
|
status: "ACTIVE",
|
|
17407
18088
|
documentType: undefined,
|
|
17408
|
-
documentTypeString:
|
|
18089
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
17409
18090
|
dateSubmitted: "Jan 18th, 2025",
|
|
17410
18091
|
noFormNeeded: true,
|
|
17411
18092
|
indirectTaxNumber: "123456",
|
|
@@ -17425,7 +18106,7 @@ const TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalidUS = () => {
|
|
|
17425
18106
|
disabled: true,
|
|
17426
18107
|
status: "ACTIVE",
|
|
17427
18108
|
documentType: undefined,
|
|
17428
|
-
documentTypeString:
|
|
18109
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
17429
18110
|
dateSubmitted: "Jan 18th, 2025",
|
|
17430
18111
|
noFormNeeded: true,
|
|
17431
18112
|
indirectTaxNumber: "123456",
|
|
@@ -17486,7 +18167,7 @@ const TaxAndCashDashboardFallbackDocumentTypeW9 = () => {
|
|
|
17486
18167
|
disabled: false,
|
|
17487
18168
|
status: "ACTIVE",
|
|
17488
18169
|
documentType: "W9",
|
|
17489
|
-
documentTypeString:
|
|
18170
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
17490
18171
|
dateSubmitted: "Mar 15, 2025",
|
|
17491
18172
|
noFormNeeded: false,
|
|
17492
18173
|
indirectTaxNumber: "123456",
|
|
@@ -17507,7 +18188,7 @@ const TaxAndCashDashboardFallbackDocumentTypeW8BEN = () => {
|
|
|
17507
18188
|
disabled: false,
|
|
17508
18189
|
status: "ACTIVE",
|
|
17509
18190
|
documentType: "W8BEN",
|
|
17510
|
-
documentTypeString:
|
|
18191
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17511
18192
|
dateSubmitted: "Feb 20, 2025",
|
|
17512
18193
|
noFormNeeded: false,
|
|
17513
18194
|
indirectTaxNumber: "654321",
|
|
@@ -17549,7 +18230,7 @@ const TaxAndCashDashboardLoading = () => {
|
|
|
17549
18230
|
disabled: false,
|
|
17550
18231
|
status: "ACTIVE",
|
|
17551
18232
|
documentType: "W9",
|
|
17552
|
-
documentTypeString:
|
|
18233
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
17553
18234
|
dateSubmitted: "Jan 18th, 2025",
|
|
17554
18235
|
noFormNeeded: false,
|
|
17555
18236
|
loading: true,
|
|
@@ -17568,7 +18249,7 @@ const TaxAndCashDashboardWithLoadingError = () => {
|
|
|
17568
18249
|
canEditPayoutInfo: true,
|
|
17569
18250
|
status: "ACTIVE",
|
|
17570
18251
|
documentType: "W9",
|
|
17571
|
-
documentTypeString:
|
|
18252
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
17572
18253
|
dateSubmitted: "Jan 18th, 2025",
|
|
17573
18254
|
noFormNeeded: false,
|
|
17574
18255
|
loading: true,
|
|
@@ -17588,7 +18269,7 @@ const TaxAndCashDashboardWithGeneralError = () => {
|
|
|
17588
18269
|
disabled: false,
|
|
17589
18270
|
status: "ACTIVE",
|
|
17590
18271
|
documentType: "W9",
|
|
17591
|
-
documentTypeString:
|
|
18272
|
+
documentTypeString: utils.taxTypeToName("W9"),
|
|
17592
18273
|
dateSubmitted: "Jan 18th, 2025",
|
|
17593
18274
|
noFormNeeded: false,
|
|
17594
18275
|
indirectTaxNumber: "123456",
|
|
@@ -17612,7 +18293,7 @@ const TaxAndCashDashboardDisabled = () => {
|
|
|
17612
18293
|
disabled: true,
|
|
17613
18294
|
status: "ACTIVE",
|
|
17614
18295
|
documentType: "W8BEN",
|
|
17615
|
-
documentTypeString:
|
|
18296
|
+
documentTypeString: utils.taxTypeToName("W8BEN"),
|
|
17616
18297
|
dateSubmitted: "Jan 18th, 2025",
|
|
17617
18298
|
noFormNeeded: false,
|
|
17618
18299
|
indirectTaxNumber: "123456",
|
|
@@ -17763,45 +18444,45 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
|
17763
18444
|
const PayoutStatusAlert_stories = {
|
|
17764
18445
|
title: "Components/Payout Status Alert",
|
|
17765
18446
|
};
|
|
17766
|
-
const defaultProps$
|
|
18447
|
+
const defaultProps$t = {
|
|
17767
18448
|
error: false,
|
|
17768
18449
|
status: "INFORMATION_REQUIRED",
|
|
17769
18450
|
loading: false,
|
|
17770
18451
|
veriffLoading: false,
|
|
17771
18452
|
};
|
|
17772
|
-
const InformationRequired = () => (index.h("sqm-payout-status-alert", { demoData: { states: defaultProps$
|
|
17773
|
-
const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
17774
|
-
const VerifyIdentityRequiredInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
18453
|
+
const InformationRequired = () => (index.h("sqm-payout-status-alert", { demoData: { states: defaultProps$t } }));
|
|
18454
|
+
const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$t, status: "VERIFICATION:REQUIRED" } } }));
|
|
18455
|
+
const VerifyIdentityRequiredInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$t, status: "VERIFICATION:INTERNAL" } } }));
|
|
17775
18456
|
const VerifyIdentityReviewInternal = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
17776
18457
|
states: {
|
|
17777
|
-
...defaultProps$
|
|
18458
|
+
...defaultProps$t,
|
|
17778
18459
|
status: "VERIFICATION:REVIEW",
|
|
17779
18460
|
},
|
|
17780
18461
|
} }));
|
|
17781
|
-
const VerifyIdentityFailedInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
18462
|
+
const VerifyIdentityFailedInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$t, status: "VERIFICATION:FAILED" } } }));
|
|
17782
18463
|
const W9ThresholdReached = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
17783
18464
|
states: {
|
|
17784
|
-
...defaultProps$
|
|
18465
|
+
...defaultProps$t,
|
|
17785
18466
|
enforceUsTaxComplianceOption: "CASH_ONLY_DEFER_W9",
|
|
17786
18467
|
status: "OVER_W9_THRESHOLD",
|
|
17787
18468
|
},
|
|
17788
18469
|
} }));
|
|
17789
|
-
const Hold = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
17790
|
-
const Loading$d = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
17791
|
-
const Error$b = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
17792
|
-
const NewPayeeReview = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
17793
|
-
const PaymentHoldOnChange = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
18470
|
+
const Hold = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$t, status: "HOLD" } } }));
|
|
18471
|
+
const Loading$d = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$t, loading: true } } }));
|
|
18472
|
+
const Error$b = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$t, error: true } } }));
|
|
18473
|
+
const NewPayeeReview = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$t, status: "NEW_PAYEE_REVIEW" } } }));
|
|
18474
|
+
const PaymentHoldOnChange = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$t, status: "PAYMENT_HOLD_ON_CHANGE" } } }));
|
|
17794
18475
|
const BeneficiaryNameInvalid = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
17795
|
-
states: { ...defaultProps$
|
|
18476
|
+
states: { ...defaultProps$t, status: "BENEFICIARY_NAME_INVALID" },
|
|
17796
18477
|
} }));
|
|
17797
18478
|
const BeneficiaryNameMismatch = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
17798
|
-
states: { ...defaultProps$
|
|
18479
|
+
states: { ...defaultProps$t, status: "BENEFICIARY_NAME_MISMATCH" },
|
|
17799
18480
|
} }));
|
|
17800
|
-
const BankTaxNameMismatch = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
18481
|
+
const BankTaxNameMismatch = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$t, status: "BANK_TAX_NAME_MISMATCH" } } }));
|
|
17801
18482
|
const WithdrawalSettingsInvalid = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
17802
|
-
states: { ...defaultProps$
|
|
18483
|
+
states: { ...defaultProps$t, status: "WITHDRAWAL_SETTINGS_INVALID" },
|
|
17803
18484
|
} }));
|
|
17804
|
-
const PaymentReturned = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$
|
|
18485
|
+
const PaymentReturned = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$t, status: "PAYMENT_RETURNED" } } }));
|
|
17805
18486
|
|
|
17806
18487
|
const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
17807
18488
|
__proto__: null,
|
|
@@ -17856,10 +18537,10 @@ const style$2 = {
|
|
|
17856
18537
|
border: "var(--sqm-border-thickness) solid var(--sqm-border-color)",
|
|
17857
18538
|
},
|
|
17858
18539
|
};
|
|
17859
|
-
const sheet$
|
|
17860
|
-
const styleString$2 = sheet$
|
|
18540
|
+
const sheet$3 = JSS.createStyleSheet(style$2);
|
|
18541
|
+
const styleString$2 = sheet$3.toString();
|
|
17861
18542
|
const DocusignExpiredView = (props) => {
|
|
17862
|
-
const { classes } = sheet$
|
|
18543
|
+
const { classes } = sheet$3;
|
|
17863
18544
|
const { text } = props;
|
|
17864
18545
|
return (index.h("div", null,
|
|
17865
18546
|
index.h("style", { type: "text/css" }, styleString$2),
|
|
@@ -17906,13 +18587,13 @@ const registeredInCanada = {
|
|
|
17906
18587
|
text: indirectDetailsSlotText,
|
|
17907
18588
|
};
|
|
17908
18589
|
const RegisteredInOtherRegion = () => {
|
|
17909
|
-
return index.h(
|
|
18590
|
+
return index.h(IndirectTaxDetailsView.OtherRegionSlotView, Object.assign({}, registeredInOtherRegion));
|
|
17910
18591
|
};
|
|
17911
18592
|
const RegisteredInCanada = () => {
|
|
17912
18593
|
return index.h(IndirectDetailsSlotView, Object.assign({}, registeredInCanada));
|
|
17913
18594
|
};
|
|
17914
18595
|
const RegisteredInOtherRegionWithErrors = () => {
|
|
17915
|
-
return (index.h(
|
|
18596
|
+
return (index.h(IndirectTaxDetailsView.OtherRegionSlotView, Object.assign({}, registeredInOtherRegion, { states: {
|
|
17916
18597
|
...registeredInOtherRegion.states,
|
|
17917
18598
|
formState: {
|
|
17918
18599
|
...registeredInOtherRegion.states.formState,
|
|
@@ -17956,7 +18637,7 @@ const EmailRegistration_stories = {
|
|
|
17956
18637
|
// scenario,
|
|
17957
18638
|
},
|
|
17958
18639
|
};
|
|
17959
|
-
const defaultProps$
|
|
18640
|
+
const defaultProps$u = {
|
|
17960
18641
|
states: {
|
|
17961
18642
|
error: "",
|
|
17962
18643
|
loading: false,
|
|
@@ -17975,59 +18656,59 @@ const defaultProps$t = {
|
|
|
17975
18656
|
fraudErrorMessageTitle: "Looks like you tried referring yourself",
|
|
17976
18657
|
},
|
|
17977
18658
|
};
|
|
17978
|
-
const Default$q = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$
|
|
18659
|
+
const Default$q = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$u));
|
|
17979
18660
|
const HasFirstNameLastName = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
17980
|
-
...defaultProps$
|
|
18661
|
+
...defaultProps$u,
|
|
17981
18662
|
content: {
|
|
17982
|
-
...defaultProps$
|
|
18663
|
+
...defaultProps$u.content,
|
|
17983
18664
|
includeName: true,
|
|
17984
18665
|
},
|
|
17985
18666
|
})));
|
|
17986
18667
|
const WithSlots = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
17987
|
-
...defaultProps$
|
|
18668
|
+
...defaultProps$u,
|
|
17988
18669
|
content: {
|
|
17989
|
-
...defaultProps$
|
|
18670
|
+
...defaultProps$u.content,
|
|
17990
18671
|
topSlot: index.h("div", null, "Hello this is the top slot"),
|
|
17991
18672
|
bottomSlot: index.h("div", null, "Hello this is the bottom slot"),
|
|
17992
18673
|
},
|
|
17993
18674
|
})));
|
|
17994
18675
|
const NoBorder$1 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
17995
|
-
...defaultProps$
|
|
18676
|
+
...defaultProps$u,
|
|
17996
18677
|
content: {
|
|
17997
|
-
...defaultProps$
|
|
18678
|
+
...defaultProps$u.content,
|
|
17998
18679
|
hideBorder: true,
|
|
17999
18680
|
},
|
|
18000
18681
|
})));
|
|
18001
18682
|
const BackgroundColor$2 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18002
|
-
...defaultProps$
|
|
18683
|
+
...defaultProps$u,
|
|
18003
18684
|
content: {
|
|
18004
|
-
...defaultProps$
|
|
18685
|
+
...defaultProps$u.content,
|
|
18005
18686
|
backgroundColor: "aquamarine",
|
|
18006
18687
|
},
|
|
18007
18688
|
})));
|
|
18008
18689
|
const Loading$e = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18009
|
-
...defaultProps$
|
|
18690
|
+
...defaultProps$u,
|
|
18010
18691
|
states: {
|
|
18011
18692
|
error: "",
|
|
18012
18693
|
loading: true,
|
|
18013
18694
|
},
|
|
18014
18695
|
})));
|
|
18015
18696
|
const Error$c = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18016
|
-
...defaultProps$
|
|
18697
|
+
...defaultProps$u,
|
|
18017
18698
|
states: {
|
|
18018
18699
|
error: "Something went wrong. Please try again.",
|
|
18019
18700
|
loading: false,
|
|
18020
18701
|
},
|
|
18021
18702
|
})));
|
|
18022
18703
|
const FraudError = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18023
|
-
...defaultProps$
|
|
18704
|
+
...defaultProps$u,
|
|
18024
18705
|
states: {
|
|
18025
18706
|
error: "FRAUD",
|
|
18026
18707
|
loading: false,
|
|
18027
18708
|
},
|
|
18028
18709
|
})));
|
|
18029
18710
|
const EmptyEmailError = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18030
|
-
...defaultProps$
|
|
18711
|
+
...defaultProps$u,
|
|
18031
18712
|
states: {
|
|
18032
18713
|
error: "Something went wrong. Please try again.",
|
|
18033
18714
|
loading: false,
|
|
@@ -18054,7 +18735,7 @@ const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
|
18054
18735
|
const LeadForm_stories = {
|
|
18055
18736
|
title: "Components/Lead Form",
|
|
18056
18737
|
};
|
|
18057
|
-
const defaultProps$
|
|
18738
|
+
const defaultProps$v = {
|
|
18058
18739
|
states: {
|
|
18059
18740
|
success: false,
|
|
18060
18741
|
leadFormState: {},
|
|
@@ -18083,21 +18764,21 @@ const defaultProps$u = {
|
|
|
18083
18764
|
},
|
|
18084
18765
|
};
|
|
18085
18766
|
const successProps$5 = {
|
|
18086
|
-
...defaultProps$
|
|
18767
|
+
...defaultProps$v,
|
|
18087
18768
|
states: {
|
|
18088
|
-
...defaultProps$
|
|
18769
|
+
...defaultProps$v.states,
|
|
18089
18770
|
success: true,
|
|
18090
18771
|
error: null,
|
|
18091
18772
|
},
|
|
18092
18773
|
content: {
|
|
18093
|
-
...defaultProps$
|
|
18774
|
+
...defaultProps$v.content,
|
|
18094
18775
|
pageLabel: "Refer your friend",
|
|
18095
18776
|
},
|
|
18096
18777
|
};
|
|
18097
18778
|
const errorProps$c = {
|
|
18098
|
-
...defaultProps$
|
|
18779
|
+
...defaultProps$v,
|
|
18099
18780
|
states: {
|
|
18100
|
-
...defaultProps$
|
|
18781
|
+
...defaultProps$v.states,
|
|
18101
18782
|
error: "Something went wrong. Please try again.",
|
|
18102
18783
|
leadFormState: {
|
|
18103
18784
|
validationErrors: {
|
|
@@ -18109,16 +18790,16 @@ const errorProps$c = {
|
|
|
18109
18790
|
},
|
|
18110
18791
|
};
|
|
18111
18792
|
const loadingProps$9 = {
|
|
18112
|
-
...defaultProps$
|
|
18793
|
+
...defaultProps$v,
|
|
18113
18794
|
states: {
|
|
18114
|
-
...defaultProps$
|
|
18795
|
+
...defaultProps$v.states,
|
|
18115
18796
|
loading: true,
|
|
18116
18797
|
},
|
|
18117
18798
|
};
|
|
18118
18799
|
const slottedProps$2 = {
|
|
18119
|
-
...defaultProps$
|
|
18800
|
+
...defaultProps$v,
|
|
18120
18801
|
content: {
|
|
18121
|
-
...defaultProps$
|
|
18802
|
+
...defaultProps$v.content,
|
|
18122
18803
|
formData: (index.h("div", null,
|
|
18123
18804
|
index.h("sqm-lead-input-field", { "field-name": "firstName", "field-label": "First Name", "field-type": "text", "required-field-error-message": "Please enter a first name" }),
|
|
18124
18805
|
index.h("sqm-lead-input-field", { "field-name": "lastName", "field-label": "Last Name", "field-type": "text", "required-field-error-message": "Please enter a last name" }),
|
|
@@ -18126,10 +18807,10 @@ const slottedProps$2 = {
|
|
|
18126
18807
|
index.h("sqm-lead-dropdown-field", null))),
|
|
18127
18808
|
},
|
|
18128
18809
|
};
|
|
18129
|
-
const Default$r = () => index.h(
|
|
18130
|
-
const LeadSubmitSuccess = () => index.h(
|
|
18131
|
-
const LeadSubmitWithErrors = () => index.h(
|
|
18132
|
-
const LeadSubmitLoading = () => index.h(
|
|
18810
|
+
const Default$r = () => index.h(sqmLeadFormView.LeadFormView, Object.assign({}, defaultProps$v));
|
|
18811
|
+
const LeadSubmitSuccess = () => index.h(sqmLeadFormView.LeadFormView, Object.assign({}, successProps$5));
|
|
18812
|
+
const LeadSubmitWithErrors = () => index.h(sqmLeadFormView.LeadFormView, Object.assign({}, errorProps$c));
|
|
18813
|
+
const LeadSubmitLoading = () => index.h(sqmLeadFormView.LeadFormView, Object.assign({}, loadingProps$9));
|
|
18133
18814
|
const FieldsHidden$2 = () => {
|
|
18134
18815
|
return (index.h("sqm-lead-form", { demoData: {
|
|
18135
18816
|
states: {
|
|
@@ -18141,7 +18822,7 @@ const FieldsHidden$2 = () => {
|
|
|
18141
18822
|
},
|
|
18142
18823
|
} }));
|
|
18143
18824
|
};
|
|
18144
|
-
const SlottedInputs$2 = () => index.h(
|
|
18825
|
+
const SlottedInputs$2 = () => index.h(sqmLeadFormView.LeadFormView, Object.assign({}, slottedProps$2));
|
|
18145
18826
|
|
|
18146
18827
|
const LeadForm = /*#__PURE__*/Object.freeze({
|
|
18147
18828
|
__proto__: null,
|
|
@@ -18157,7 +18838,7 @@ const LeadForm = /*#__PURE__*/Object.freeze({
|
|
|
18157
18838
|
const LeadInputField_stories = {
|
|
18158
18839
|
title: "Components/Lead Form Input Field",
|
|
18159
18840
|
};
|
|
18160
|
-
const defaultProps$
|
|
18841
|
+
const defaultProps$w = {
|
|
18161
18842
|
states: {
|
|
18162
18843
|
leadFormState: {
|
|
18163
18844
|
validationErrors: {},
|
|
@@ -18175,27 +18856,27 @@ const defaultProps$v = {
|
|
|
18175
18856
|
fieldOptional: false,
|
|
18176
18857
|
},
|
|
18177
18858
|
};
|
|
18178
|
-
const Default$s = () => index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$
|
|
18179
|
-
const WithError$1 = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$
|
|
18180
|
-
...defaultProps$
|
|
18859
|
+
const Default$s = () => index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$w));
|
|
18860
|
+
const WithError$1 = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$w, { states: {
|
|
18861
|
+
...defaultProps$w.states,
|
|
18181
18862
|
leadFormState: {
|
|
18182
|
-
...defaultProps$
|
|
18863
|
+
...defaultProps$w.states.leadFormState,
|
|
18183
18864
|
validationErrors: {
|
|
18184
18865
|
firstName: "Please enter a first name",
|
|
18185
18866
|
},
|
|
18186
18867
|
},
|
|
18187
18868
|
} })));
|
|
18188
|
-
const Disabled$2 = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$
|
|
18189
|
-
...defaultProps$
|
|
18869
|
+
const Disabled$2 = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$w, { states: {
|
|
18870
|
+
...defaultProps$w.states,
|
|
18190
18871
|
leadFormState: {
|
|
18191
|
-
...defaultProps$
|
|
18872
|
+
...defaultProps$w.states.leadFormState,
|
|
18192
18873
|
disabled: true,
|
|
18193
18874
|
},
|
|
18194
18875
|
} })));
|
|
18195
|
-
const WithInitialValue = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$
|
|
18196
|
-
...defaultProps$
|
|
18876
|
+
const WithInitialValue = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$w, { states: {
|
|
18877
|
+
...defaultProps$w.states,
|
|
18197
18878
|
leadFormState: {
|
|
18198
|
-
...defaultProps$
|
|
18879
|
+
...defaultProps$w.states.leadFormState,
|
|
18199
18880
|
initialData: {
|
|
18200
18881
|
firstName: "Jane",
|
|
18201
18882
|
},
|
|
@@ -18214,7 +18895,7 @@ const LeadInputField = /*#__PURE__*/Object.freeze({
|
|
|
18214
18895
|
const LeadFormDropdownField_stories = {
|
|
18215
18896
|
title: "Components/Lead Form Dropdown Field",
|
|
18216
18897
|
};
|
|
18217
|
-
const defaultProps$
|
|
18898
|
+
const defaultProps$x = {
|
|
18218
18899
|
states: {
|
|
18219
18900
|
leadFormState: {
|
|
18220
18901
|
validationErrors: {},
|
|
@@ -18237,35 +18918,35 @@ const defaultProps$w = {
|
|
|
18237
18918
|
],
|
|
18238
18919
|
},
|
|
18239
18920
|
};
|
|
18240
|
-
const Default$t = () => index.h(
|
|
18241
|
-
const Multiple = () => (index.h(
|
|
18242
|
-
const WithError$2 = () => (index.h(
|
|
18243
|
-
...defaultProps$
|
|
18921
|
+
const Default$t = () => index.h(sqmLeadDropdownFieldView.LeadDropdownFieldView, Object.assign({}, defaultProps$x));
|
|
18922
|
+
const Multiple = () => (index.h(sqmLeadDropdownFieldView.LeadDropdownFieldView, Object.assign({}, defaultProps$x, { content: { ...defaultProps$x.content, multiple: true } })));
|
|
18923
|
+
const WithError$2 = () => (index.h(sqmLeadDropdownFieldView.LeadDropdownFieldView, Object.assign({}, defaultProps$x, { states: {
|
|
18924
|
+
...defaultProps$x.states,
|
|
18244
18925
|
leadFormState: {
|
|
18245
|
-
...defaultProps$
|
|
18926
|
+
...defaultProps$x.states.leadFormState,
|
|
18246
18927
|
validationErrors: {
|
|
18247
18928
|
country: "Please select a country",
|
|
18248
18929
|
},
|
|
18249
18930
|
},
|
|
18250
18931
|
} })));
|
|
18251
|
-
const Disabled$3 = () => (index.h(
|
|
18252
|
-
...defaultProps$
|
|
18932
|
+
const Disabled$3 = () => (index.h(sqmLeadDropdownFieldView.LeadDropdownFieldView, Object.assign({}, defaultProps$x, { states: {
|
|
18933
|
+
...defaultProps$x.states,
|
|
18253
18934
|
leadFormState: {
|
|
18254
|
-
...defaultProps$
|
|
18935
|
+
...defaultProps$x.states.leadFormState,
|
|
18255
18936
|
disabled: true,
|
|
18256
18937
|
},
|
|
18257
18938
|
} })));
|
|
18258
|
-
const Loading$f = () => (index.h(
|
|
18259
|
-
...defaultProps$
|
|
18939
|
+
const Loading$f = () => (index.h(sqmLeadDropdownFieldView.LeadDropdownFieldView, Object.assign({}, defaultProps$x, { states: {
|
|
18940
|
+
...defaultProps$x.states,
|
|
18260
18941
|
leadFormState: {
|
|
18261
|
-
...defaultProps$
|
|
18942
|
+
...defaultProps$x.states.leadFormState,
|
|
18262
18943
|
loading: true,
|
|
18263
18944
|
},
|
|
18264
18945
|
} })));
|
|
18265
|
-
const WithInitialValue$1 = () => (index.h(
|
|
18266
|
-
...defaultProps$
|
|
18946
|
+
const WithInitialValue$1 = () => (index.h(sqmLeadDropdownFieldView.LeadDropdownFieldView, Object.assign({}, defaultProps$x, { states: {
|
|
18947
|
+
...defaultProps$x.states,
|
|
18267
18948
|
leadFormState: {
|
|
18268
|
-
...defaultProps$
|
|
18949
|
+
...defaultProps$x.states.leadFormState,
|
|
18269
18950
|
initialData: {
|
|
18270
18951
|
country: "Canada",
|
|
18271
18952
|
},
|
|
@@ -18286,7 +18967,7 @@ const LeadFormDropdownField = /*#__PURE__*/Object.freeze({
|
|
|
18286
18967
|
const LeadCheckboxField_stories = {
|
|
18287
18968
|
title: "Components/Lead Checkbox Field",
|
|
18288
18969
|
};
|
|
18289
|
-
const defaultProps$
|
|
18970
|
+
const defaultProps$y = {
|
|
18290
18971
|
states: {
|
|
18291
18972
|
leadFormState: {
|
|
18292
18973
|
validationErrors: {},
|
|
@@ -18300,28 +18981,28 @@ const defaultProps$x = {
|
|
|
18300
18981
|
errorMessage: "{checkboxLabel} Must be checked",
|
|
18301
18982
|
},
|
|
18302
18983
|
};
|
|
18303
|
-
const Default$u = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$
|
|
18304
|
-
const CustomLabel$3 = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$
|
|
18305
|
-
...defaultProps$
|
|
18984
|
+
const Default$u = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$y))));
|
|
18985
|
+
const CustomLabel$3 = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$y, { content: {
|
|
18986
|
+
...defaultProps$y.content,
|
|
18306
18987
|
checkboxLabel: "I Agree",
|
|
18307
18988
|
} }))));
|
|
18308
|
-
const Error$d = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$
|
|
18309
|
-
...defaultProps$
|
|
18989
|
+
const Error$d = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$y, { states: {
|
|
18990
|
+
...defaultProps$y.states,
|
|
18310
18991
|
leadFormState: {
|
|
18311
18992
|
validationErrors: {
|
|
18312
18993
|
terms: "{checkboxLabel} Must be checked",
|
|
18313
18994
|
},
|
|
18314
18995
|
},
|
|
18315
18996
|
} }))));
|
|
18316
|
-
const CustomError$3 = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$
|
|
18317
|
-
...defaultProps$
|
|
18997
|
+
const CustomError$3 = createHookStory(() => (index.h(sqmLeadCheckboxFieldView.LeadCheckboxFieldView, Object.assign({}, defaultProps$y, { states: {
|
|
18998
|
+
...defaultProps$y.states,
|
|
18318
18999
|
leadFormState: {
|
|
18319
19000
|
validationErrors: {
|
|
18320
19001
|
terms: "{checkboxLabel} Must be checked",
|
|
18321
19002
|
},
|
|
18322
19003
|
},
|
|
18323
19004
|
}, content: {
|
|
18324
|
-
...defaultProps$
|
|
19005
|
+
...defaultProps$y.content,
|
|
18325
19006
|
errorMessage: "This checkbox must be checked to continue",
|
|
18326
19007
|
} }))));
|
|
18327
19008
|
|
|
@@ -20027,7 +20708,7 @@ const mergeHTMLPlugin = {
|
|
|
20027
20708
|
/**
|
|
20028
20709
|
* @param {Node} node
|
|
20029
20710
|
*/
|
|
20030
|
-
function tag(node) {
|
|
20711
|
+
function tag$1(node) {
|
|
20031
20712
|
return node.nodeName.toLowerCase();
|
|
20032
20713
|
}
|
|
20033
20714
|
|
|
@@ -20051,7 +20732,7 @@ function nodeStream(node) {
|
|
|
20051
20732
|
// Prevent void elements from having an end tag that would actually
|
|
20052
20733
|
// double them in the output. There are more void elements in HTML
|
|
20053
20734
|
// but we list only those realistically expected in code display.
|
|
20054
|
-
if (!tag(child).match(/br|hr|img|input/)) {
|
|
20735
|
+
if (!tag$1(child).match(/br|hr|img|input/)) {
|
|
20055
20736
|
result.push({
|
|
20056
20737
|
event: 'stop',
|
|
20057
20738
|
offset: offset,
|
|
@@ -20110,14 +20791,14 @@ function mergeStreams(original, highlighted, value) {
|
|
|
20110
20791
|
return ' ' + attr.nodeName + '="' + escapeHTML(attr.value) + '"';
|
|
20111
20792
|
}
|
|
20112
20793
|
// @ts-ignore
|
|
20113
|
-
result += '<' + tag(node) + [].map.call(node.attributes, attributeString).join('') + '>';
|
|
20794
|
+
result += '<' + tag$1(node) + [].map.call(node.attributes, attributeString).join('') + '>';
|
|
20114
20795
|
}
|
|
20115
20796
|
|
|
20116
20797
|
/**
|
|
20117
20798
|
* @param {Node} node
|
|
20118
20799
|
*/
|
|
20119
20800
|
function close(node) {
|
|
20120
|
-
result += '</' + tag(node) + '>';
|
|
20801
|
+
result += '</' + tag$1(node) + '>';
|
|
20121
20802
|
}
|
|
20122
20803
|
|
|
20123
20804
|
/**
|
|
@@ -21410,8 +22091,20 @@ const StencilStorybook = class {
|
|
|
21410
22091
|
});
|
|
21411
22092
|
const [selectedTheme, setSelected] = domContextHooks_module.useState("Default");
|
|
21412
22093
|
const [checkerboard, setCheckerboard] = domContextHooks_module.useState(true);
|
|
22094
|
+
const themes = Object.keys(Themes.Themes);
|
|
22095
|
+
const theme = Themes.Themes[selectedTheme];
|
|
21413
22096
|
return (index.h(index.Host, { class: Style, onClick: {} }, index.h("sqm-brand-selector", null), children));
|
|
21414
22097
|
}
|
|
21415
22098
|
};
|
|
22099
|
+
function ColorScale() {
|
|
22100
|
+
return (index.h("span", null, index.h(ColorToken, null), index.h(ColorToken, { type: "success" }), index.h(ColorToken, { type: "warning" }), index.h(ColorToken, { type: "danger" }), index.h(ColorToken, { type: "neutral" })));
|
|
22101
|
+
}
|
|
22102
|
+
function ColorToken({ type = "primary" }) {
|
|
22103
|
+
return (index.h("span", { style: {
|
|
22104
|
+
width: "1em",
|
|
22105
|
+
marginRight: "2px",
|
|
22106
|
+
padding: "0 4px",
|
|
22107
|
+
}, title: type }, type.charAt(0)));
|
|
22108
|
+
}
|
|
21416
22109
|
|
|
21417
22110
|
exports.sqm_stencilbook = StencilStorybook;
|