@saasquatch/mint-components 1.15.0-43 → 1.15.0-45
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/{ErrorView-b2fcf954.js → ErrorView-5504c2b6.js} +1 -1
- package/dist/cjs/{GenericTableView-a9d0b798.js → GenericTableView-107ade89.js} +1 -1
- package/dist/cjs/{IndirectTaxDetailsView-d0290a12.js → IndirectTaxDetailsView-81f1ce92.js} +3 -3
- package/dist/cjs/{ShadowViewAddon-9cb7a310.js → ShadowViewAddon-bebbd4d0.js} +18 -18
- package/dist/cjs/{copy-text-view-ee147291.js → copy-text-view-95cf4875.js} +15 -4
- package/dist/cjs/{data-6d96b89c.js → data-68a42a7b.js} +1 -1
- package/dist/cjs/{email-registration-view-dca94dc9.js → email-registration-view-996fb438.js} +1 -1
- package/dist/cjs/{global-d62c5561.js → global-242743b1.js} +136 -115
- package/dist/cjs/{index-a29c60ef.js → index-a43a63b4.js} +4 -0
- package/dist/cjs/{index.module-ee84433d.js → index.module-39955732.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-2926d85f.js → luxon-3b809948.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mockRewardData-272e22d6.js → mockRewardData-6e4a90f9.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-b324deab.js → re-render-28fed959.js} +2 -2
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +41 -22
- package/dist/cjs/{sqm-base-registration-form-view-1c5094d3.js → sqm-base-registration-form-view-8847804c.js} +2 -2
- package/dist/cjs/sqm-big-stat_42.cjs.entry.js +376 -88
- package/dist/cjs/{sqm-close-button-view-b297e933.js → sqm-close-button-view-5e85ac51.js} +1 -1
- package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
- package/dist/cjs/sqm-code-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
- package/dist/cjs/sqm-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-empty_4.cjs.entry.js +5 -5
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +3 -3
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-leaderboard-rank-view-7c6cebe3.js → sqm-leaderboard-rank-view-6a1e63de.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-logout-current-user-view-11d57c12.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-item-view-10b62df1.js → sqm-navigation-sidebar-item-view-188bfc41.js} +7 -7
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-view-38a5227a.js → sqm-navigation-sidebar-view-50ee8796.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +6 -6
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-container-view-4f15143a.js → sqm-portal-container-view-70eaf785.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-156accab.js → sqm-portal-email-verification-view-38bfdda4.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-forgot-password-view-fdd97c18.js → sqm-portal-forgot-password-view-7519a332.js} +10 -9
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +19 -11
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-portal-login-view-0fbbda1b.js → sqm-portal-login-view-bb50304c.js} +2 -2
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-f226725e.js → sqm-portal-profile-view-036d355e.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-registration-form-view-399f4eaf.js → sqm-portal-registration-form-view-5a96c2f5.js} +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-portal-reset-password-view-0439a9e5.js → sqm-portal-reset-password-view-25eb2099.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-verify-email-view-05f72dec.js → sqm-portal-verify-email-view-1c4e781f.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-qr-code-view-7ee9fa56.js → sqm-qr-code-view-b18b42a8.js} +2 -2
- package/dist/cjs/sqm-qr-code.cjs.entry.js +6 -6
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +19 -19
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +16 -36
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +103 -135
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-text-span-view-ce4c0178.js → sqm-text-span-view-7a61ae4c.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -3
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -3
- package/dist/cjs/{stencil-hooks.module-3a336b0f.js → stencil-hooks.module-62264802.js} +1 -1
- package/dist/cjs/{useChildElements-1b35d945.js → useChildElements-e5fa605c.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-0537e28e.js → useInstantAccessRegistration-86b7164c.js} +3 -3
- package/dist/cjs/{usePayoutStatus-feeac99b.js → usePayoutStatus-3cca69e5.js} +2 -2
- package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-e246988e.js} +2 -2
- package/dist/cjs/{usePortalRegistrationForm-f25d89e7.js → usePortalRegistrationForm-d28621de.js} +3 -3
- package/dist/cjs/{useReferralCodes-82e8797b.js → useReferralCodes-a47dcbc2.js} +2 -2
- package/dist/cjs/{useReferralTable-7c3f9600.js → useReferralTable-19e7523a.js} +5 -5
- package/dist/cjs/{useRegistrationFormState-7b820f0c.js → useRegistrationFormState-5f44ca80.js} +2 -2
- package/dist/cjs/{useVerificationEmail-95a82767.js → useVerificationEmail-1496b993.js} +2 -2
- package/dist/cjs/{utilities-78f5e169.js → utilities-be3ce1f8.js} +2 -2
- package/dist/cjs/{utils-ce18d1bc.js → utils-a6957c85.js} +2 -2
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +1 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +1 -1
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +1 -1
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +5 -5
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +2 -2
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +7 -6
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +17 -10
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +10 -5
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +2 -9
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +10 -8
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +6 -6
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +2 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +2 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +2 -2
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -1
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -1
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -1
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +5 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +15 -31
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +1 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +1 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +1 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +1 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +44 -25
- package/dist/collection/components/sqm-stencilbook/Themes.js +311 -36
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -4
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +8 -6
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +18 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +1 -1
- package/dist/collection/components/views/copy-text-view.js +14 -3
- package/dist/collection/global/styles.js +134 -113
- package/dist/collection/global/styles.ts +215 -111
- package/dist/esm/{ErrorView-48e2b969.js → ErrorView-eaafd6f5.js} +1 -1
- package/dist/esm/{GenericTableView-3b6f9ccc.js → GenericTableView-dd9be3ea.js} +1 -1
- package/dist/esm/{IndirectTaxDetailsView-3be86bcf.js → IndirectTaxDetailsView-89731480.js} +3 -3
- package/dist/esm/{ShadowViewAddon-d8cfd6c7.js → ShadowViewAddon-b439f9c5.js} +18 -18
- package/dist/esm/{copy-text-view-4a207b17.js → copy-text-view-6dec9902.js} +15 -4
- package/dist/esm/{data-a05c78ae.js → data-ce8ed0ae.js} +1 -1
- package/dist/esm/{email-registration-view-8782c01b.js → email-registration-view-db81655f.js} +1 -1
- package/dist/esm/{global-632fb2fa.js → global-f33bb903.js} +136 -115
- package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
- package/dist/esm/{index.module-89a79f66.js → index.module-d49ae5e7.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-8d51c92b.js → luxon-793b7f13.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-bdc54f2e.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-cc945f38.js → re-render-789f9123.js} +2 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +41 -22
- package/dist/esm/{sqm-base-registration-form-view-d732a5df.js → sqm-base-registration-form-view-193f1721.js} +2 -2
- package/dist/esm/sqm-big-stat_42.entry.js +376 -88
- package/dist/esm/{sqm-close-button-view-bc2bc10e.js → sqm-close-button-view-2fa57229.js} +1 -1
- package/dist/esm/sqm-close-button.entry.js +4 -4
- package/dist/esm/sqm-code-verification.entry.js +6 -6
- package/dist/esm/sqm-context-router.entry.js +3 -3
- package/dist/esm/sqm-email-verification.entry.js +6 -6
- package/dist/esm/sqm-empty_4.entry.js +5 -5
- package/dist/esm/sqm-form-message.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +6 -6
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +3 -3
- package/dist/esm/{sqm-leaderboard-rank-view-84b3c539.js → sqm-leaderboard-rank-view-18baae5b.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-6e046743.js → sqm-navigation-sidebar-item-view-30c52ccd.js} +7 -7
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-view-f898265a.js → sqm-navigation-sidebar-view-6c13798c.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-pagination_3.entry.js +6 -6
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +3 -3
- package/dist/esm/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-f0b1ccfc.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-24ea7b3c.js → sqm-portal-email-verification-view-e8661ca9.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/{sqm-portal-forgot-password-view-55fc0873.js → sqm-portal-forgot-password-view-dc6b4f26.js} +10 -9
- package/dist/esm/sqm-portal-forgot-password.entry.js +19 -11
- package/dist/esm/sqm-portal-google-login.entry.js +6 -6
- package/dist/esm/sqm-portal-google-registration-form.entry.js +8 -8
- package/dist/esm/{sqm-portal-login-view-e870b4b0.js → sqm-portal-login-view-7670cd86.js} +2 -2
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-9b4d7ec1.js → sqm-portal-profile-view-70e1a345.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +7 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-5d651c04.js → sqm-portal-registration-form-view-8bdc3804.js} +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +7 -7
- package/dist/esm/{sqm-portal-reset-password-view-6903828e.js → sqm-portal-reset-password-view-abef7286.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/{sqm-portal-verify-email-view-01ac711f.js → sqm-portal-verify-email-view-33805220.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- package/dist/esm/{sqm-qr-code-view-62c10948.js → sqm-qr-code-view-358607d1.js} +2 -2
- package/dist/esm/sqm-qr-code.entry.js +6 -6
- package/dist/esm/sqm-referral-table_11.entry.js +19 -19
- package/dist/esm/sqm-referred-registration.entry.js +6 -6
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +16 -36
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-scroll.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +103 -135
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/sqm-tax-and-cash.entry.js +7 -7
- package/dist/esm/{sqm-text-span-view-cd3902e5.js → sqm-text-span-view-4c17b8c9.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +3 -3
- package/dist/esm/sqm-widget-verification.entry.js +3 -3
- package/dist/esm/{stencil-hooks.module-4bc38af4.js → stencil-hooks.module-20ad2b5f.js} +1 -1
- package/dist/esm/{useChildElements-7945ae56.js → useChildElements-0ca9a015.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-b224f3ce.js} +3 -3
- package/dist/esm/{usePayoutStatus-fed17fc9.js → usePayoutStatus-e92a6e43.js} +2 -2
- package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-6b1951c6.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-61bf948d.js} +3 -3
- package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-0b798295.js} +2 -2
- package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-c1511d9d.js} +5 -5
- package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-2db047e9.js} +2 -2
- package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-085eda87.js} +2 -2
- package/dist/esm/{utilities-5b0ca040.js → utilities-6341d9fd.js} +2 -2
- package/dist/esm/{utils-1654e233.js → utils-79d81bca.js} +2 -2
- package/dist/esm-es5/{ErrorView-48e2b969.js → ErrorView-eaafd6f5.js} +1 -1
- package/dist/esm-es5/{GenericTableView-3b6f9ccc.js → GenericTableView-dd9be3ea.js} +1 -1
- package/dist/esm-es5/{IndirectTaxDetailsView-3be86bcf.js → IndirectTaxDetailsView-89731480.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-b439f9c5.js +1 -0
- package/dist/esm-es5/copy-text-view-6dec9902.js +1 -0
- package/dist/esm-es5/{data-a05c78ae.js → data-ce8ed0ae.js} +1 -1
- package/dist/esm-es5/{email-registration-view-8782c01b.js → email-registration-view-db81655f.js} +1 -1
- package/dist/esm-es5/{global-632fb2fa.js → global-f33bb903.js} +5 -5
- package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
- package/dist/esm-es5/{index.module-89a79f66.js → index.module-d49ae5e7.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-8d51c92b.js → luxon-793b7f13.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-bdc54f2e.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-cc945f38.js → re-render-789f9123.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/{sqm-base-registration-form-view-d732a5df.js → sqm-base-registration-form-view-193f1721.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-bc2bc10e.js → sqm-close-button-view-2fa57229.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-form-message.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-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm-es5/{sqm-leaderboard-rank-view-84b3c539.js → sqm-leaderboard-rank-view-18baae5b.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-30c52ccd.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-f898265a.js → sqm-navigation-sidebar-view-6c13798c.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-container-view-1683ae32.js → sqm-portal-container-view-f0b1ccfc.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-24ea7b3c.js → sqm-portal-email-verification-view-e8661ca9.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-dc6b4f26.js +1 -0
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-login-view-e870b4b0.js → sqm-portal-login-view-7670cd86.js} +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-9b4d7ec1.js → sqm-portal-profile-view-70e1a345.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-5d651c04.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-6903828e.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-01ac711f.js → sqm-portal-verify-email-view-33805220.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/{sqm-qr-code-view-62c10948.js → sqm-qr-code-view-358607d1.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-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.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-route.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-cd3902e5.js → sqm-text-span-view-4c17b8c9.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.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/{stencil-hooks.module-4bc38af4.js → stencil-hooks.module-20ad2b5f.js} +1 -1
- package/dist/esm-es5/{useChildElements-7945ae56.js → useChildElements-0ca9a015.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-b224f3ce.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-fed17fc9.js → usePayoutStatus-e92a6e43.js} +1 -1
- package/dist/esm-es5/{usePortalLogin-ef647a50.js → usePortalLogin-6b1951c6.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-61bf948d.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-8f75921a.js → useReferralCodes-0b798295.js} +1 -1
- package/dist/esm-es5/{useReferralTable-b3876ed6.js → useReferralTable-c1511d9d.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-2db047e9.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-edc318cb.js → useVerificationEmail-085eda87.js} +1 -1
- package/dist/esm-es5/{utilities-5b0ca040.js → utilities-6341d9fd.js} +1 -1
- package/dist/esm-es5/{utils-1654e233.js → utils-79d81bca.js} +1 -1
- package/dist/mint-components/global/styles.ts +215 -111
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
- package/dist/mint-components/p-0126962c.entry.js +1 -0
- package/dist/mint-components/p-01dd6b18.system.js +1 -0
- package/dist/mint-components/{p-6d9e52c7.system.js → p-02c92db1.system.js} +1 -1
- package/dist/mint-components/{p-6d2f5a1d.js → p-037da77e.js} +2 -2
- package/dist/mint-components/{p-8175e85f.system.js → p-04007292.system.js} +1 -1
- package/dist/mint-components/{p-1fa9ed0d.system.entry.js → p-055e6ebd.system.entry.js} +1 -1
- package/dist/mint-components/p-0592dc0b.system.js +1 -0
- package/dist/mint-components/p-059ad130.system.entry.js +1 -0
- package/dist/mint-components/{p-d12e9cfd.system.entry.js → p-0714554e.system.entry.js} +1 -1
- package/dist/mint-components/{p-4bb1c4b2.system.js → p-0768fe1d.system.js} +1 -1
- package/dist/mint-components/{p-e518a60d.js → p-07dc6d68.js} +1 -1
- package/dist/mint-components/p-0c327ec3.entry.js +1 -0
- package/dist/mint-components/p-0e532b53.entry.js +1 -0
- package/dist/mint-components/{p-ca9e0322.system.js → p-0e73c48c.system.js} +1 -1
- package/dist/mint-components/{p-a3383f54.system.js → p-10849094.system.js} +1 -1
- package/dist/mint-components/{p-3c3aab4c.system.js → p-10c2a48c.system.js} +1 -1
- package/dist/mint-components/{p-3a62a7e2.system.js → p-12fd7ee9.system.js} +1 -1
- package/dist/mint-components/{p-7c2b9fe4.system.js → p-167be4b9.system.js} +1 -1
- package/dist/mint-components/p-169c8564.system.js +1 -0
- package/dist/mint-components/p-1bdc4f94.system.entry.js +1 -0
- package/dist/mint-components/{p-32a47b41.system.js → p-1cd0e1e9.system.js} +1 -1
- package/dist/mint-components/{p-b7d1469d.system.entry.js → p-1d46f8fa.system.entry.js} +1 -1
- package/dist/mint-components/{p-9711efb7.entry.js → p-1e79befd.entry.js} +1 -1
- package/dist/mint-components/{p-41d051b1.system.entry.js → p-1f82181b.system.entry.js} +1 -1
- package/dist/mint-components/p-1f8d3b1a.entry.js +13 -0
- package/dist/mint-components/{p-e309a219.js → p-204861a6.js} +1 -1
- package/dist/mint-components/{p-c0f19490.js → p-20b2f691.js} +1 -1
- package/dist/mint-components/p-22405668.entry.js +1 -0
- package/dist/mint-components/p-227aa136.entry.js +1 -0
- package/dist/mint-components/{p-32d60c34.entry.js → p-2378a0dd.entry.js} +1 -1
- package/dist/mint-components/{p-a60d5315.entry.js → p-238fcec6.entry.js} +1 -1
- package/dist/mint-components/p-2403c6e1.system.js +1 -0
- package/dist/mint-components/{p-0e32981f.js → p-240bec23.js} +1 -1
- package/dist/mint-components/p-24af584d.js +1 -0
- package/dist/mint-components/{p-a1e17fd2.js → p-24d6cfcd.js} +1 -1
- package/dist/mint-components/{p-df223bff.entry.js → p-27903fca.entry.js} +1 -1
- package/dist/mint-components/{p-da7708a7.entry.js → p-27bb9d05.entry.js} +1 -1
- package/dist/mint-components/{p-12e61414.system.entry.js → p-283848df.system.entry.js} +1 -1
- package/dist/mint-components/{p-6fa624ff.system.entry.js → p-28e4b275.system.entry.js} +1 -1
- package/dist/mint-components/{p-9d41d676.system.entry.js → p-2d730bef.system.entry.js} +1 -1
- package/dist/mint-components/{p-a71b9154.system.js → p-2f2bced4.system.js} +1 -1
- package/dist/mint-components/{p-d5b3397c.system.entry.js → p-30826d8f.system.entry.js} +1 -1
- package/dist/mint-components/p-3168fa90.js +1 -0
- package/dist/mint-components/p-3174c756.entry.js +1 -0
- package/dist/mint-components/{p-c75a3b4a.js → p-3206d0a4.js} +1 -1
- package/dist/mint-components/{p-865f812e.entry.js → p-322c1e5e.entry.js} +1 -1
- package/dist/mint-components/{p-3e4e74a2.system.entry.js → p-33b13e55.system.entry.js} +1 -1
- package/dist/mint-components/{p-cd651f81.js → p-35b2fde0.js} +1 -1
- package/dist/mint-components/p-36bbd4de.entry.js +1 -0
- package/dist/mint-components/{p-5ef6de10.entry.js → p-37c4ae42.entry.js} +1 -1
- package/dist/mint-components/p-37e58170.system.entry.js +1 -0
- package/dist/mint-components/{p-51aa8c38.system.entry.js → p-3bdccbc9.system.entry.js} +1 -1
- package/dist/mint-components/{p-82113e37.js → p-3eba9036.js} +1 -1
- package/dist/mint-components/{p-457962b7.system.entry.js → p-4115e328.system.entry.js} +1 -1
- package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
- package/dist/mint-components/{p-726a9924.js → p-4254a9b6.js} +1 -1
- package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
- package/dist/mint-components/{p-faba3198.entry.js → p-43ce09f0.entry.js} +1 -1
- package/dist/mint-components/{p-dbb83730.entry.js → p-44435060.entry.js} +1 -1
- package/dist/mint-components/{p-9f2edf59.system.js → p-470c9c64.system.js} +1 -1
- package/dist/mint-components/{p-4e451f75.js → p-4b12067f.js} +1 -1
- package/dist/mint-components/p-4cfd562e.system.entry.js +1 -0
- package/dist/mint-components/{p-7dabdca6.system.entry.js → p-4d8e3766.system.entry.js} +1 -1
- package/dist/mint-components/{p-f4a72903.system.entry.js → p-4e5dff09.system.entry.js} +1 -1
- package/dist/mint-components/{p-af516659.system.entry.js → p-4edcf988.system.entry.js} +1 -1
- package/dist/mint-components/{p-0a8a6d45.system.entry.js → p-538fe844.system.entry.js} +1 -1
- package/dist/mint-components/p-54212ad6.system.js +1 -0
- package/dist/mint-components/{p-fb584d7a.js → p-5500bd38.js} +1 -1
- package/dist/mint-components/{p-a9f4ddb1.js → p-572ec8d4.js} +1 -1
- package/dist/mint-components/p-59b028db.system.js +1 -0
- package/dist/mint-components/{p-96e339f6.system.js → p-5a48bf9d.system.js} +20 -20
- package/dist/mint-components/{p-6a49b077.system.entry.js → p-5cd3030b.system.entry.js} +1 -1
- package/dist/mint-components/{p-450a7705.system.entry.js → p-5dd09973.system.entry.js} +1 -1
- package/dist/mint-components/{p-bb6e411d.system.entry.js → p-5fbbc259.system.entry.js} +1 -1
- package/dist/mint-components/{p-223dd3f7.system.js → p-64997b59.system.js} +1 -1
- package/dist/mint-components/{p-6a5f57d7.entry.js → p-64e3e87a.entry.js} +3 -3
- package/dist/mint-components/{p-505951d2.system.js → p-6578ea31.system.js} +1 -1
- package/dist/mint-components/{p-94a876b9.js → p-66ac6bed.js} +1 -1
- package/dist/mint-components/p-676ca2c0.system.js +1 -0
- package/dist/mint-components/{p-74afdafb.system.js → p-67ad2252.system.js} +1 -1
- package/dist/mint-components/{p-36ffebd8.system.entry.js → p-67ca8443.system.entry.js} +1 -1
- package/dist/mint-components/{p-057f5402.js → p-68043f30.js} +1 -1
- package/dist/mint-components/p-6a4582eb.system.entry.js +1 -0
- package/dist/mint-components/{p-dbc0e4f8.system.js → p-6c0c466f.system.js} +1 -1
- package/dist/mint-components/{p-8413ade9.system.js → p-6cff599f.system.js} +1 -1
- package/dist/mint-components/{p-1878da9b.entry.js → p-6d23f01a.entry.js} +2 -2
- package/dist/mint-components/{p-ee6ec12d.entry.js → p-6f323a9f.entry.js} +1 -1
- package/dist/mint-components/{p-fbef4ecb.system.js → p-71271fbd.system.js} +1 -1
- package/dist/mint-components/{p-b6761073.entry.js → p-71a0adcf.entry.js} +1 -1
- package/dist/mint-components/{p-0984523b.js → p-7274fe6e.js} +1 -1
- package/dist/mint-components/{p-e217afd9.system.entry.js → p-7371218f.system.entry.js} +1 -1
- package/dist/mint-components/{p-d6831af5.js → p-73feb66f.js} +2 -2
- package/dist/mint-components/{p-3f7b81b8.js → p-74eaa3c0.js} +2 -2
- package/dist/mint-components/{p-fb13065a.js → p-7813a75a.js} +1 -1
- package/dist/mint-components/{p-be89074c.entry.js → p-799d62fe.entry.js} +1 -1
- package/dist/mint-components/p-7aef9c53.entry.js +258 -0
- package/dist/mint-components/{p-674b82ac.js → p-7b4f0dbc.js} +1 -1
- package/dist/mint-components/{p-b73a4df4.entry.js → p-7cbbca72.entry.js} +2 -2
- package/dist/mint-components/{p-8362cb4c.system.entry.js → p-7d456d0a.system.entry.js} +1 -1
- package/dist/mint-components/{p-f8175201.system.js → p-7dc10820.system.js} +1 -1
- package/dist/mint-components/{p-13ed8586.system.js → p-7f499d2f.system.js} +1 -1
- package/dist/mint-components/{p-44891949.entry.js → p-8278225e.entry.js} +1 -1
- package/dist/mint-components/{p-2ae0e06a.entry.js → p-84079726.entry.js} +1 -1
- package/dist/mint-components/{p-cd0ee247.entry.js → p-8408b84b.entry.js} +1 -1
- package/dist/mint-components/{p-48135f99.system.js → p-88e32c4a.system.js} +1 -1
- package/dist/mint-components/{p-c8a7e3ba.system.entry.js → p-8c126ccb.system.entry.js} +1 -1
- package/dist/mint-components/p-8caef004.js +1 -0
- package/dist/mint-components/{p-846aff6a.system.entry.js → p-8f6e124b.system.entry.js} +1 -1
- package/dist/mint-components/{p-a8cc450b.system.entry.js → p-901358ee.system.entry.js} +1 -1
- package/dist/mint-components/{p-0b3218a5.entry.js → p-92d706e7.entry.js} +1 -1
- package/dist/mint-components/p-9481740a.system.entry.js +1 -0
- package/dist/mint-components/p-951ded9b.js +1 -0
- package/dist/mint-components/{p-cf157c6e.system.entry.js → p-95ff58b2.system.entry.js} +1 -1
- package/dist/mint-components/{p-2bbff88f.entry.js → p-9713e9a9.entry.js} +1 -1
- package/dist/mint-components/{p-9acf0b39.system.entry.js → p-99a82e5a.system.entry.js} +1 -1
- package/dist/mint-components/{p-66a2b1a4.js → p-99fb2a50.js} +1 -1
- package/dist/mint-components/{p-284e4ed5.entry.js → p-9cc40be1.entry.js} +1 -1
- package/dist/mint-components/{p-7adb141e.js → p-9d48280a.js} +1 -1
- package/dist/mint-components/{p-11dff275.js → p-a341ce23.js} +1 -1
- package/dist/mint-components/{p-dc293b10.js → p-a348f9b9.js} +27 -27
- package/dist/mint-components/{p-0a37a288.system.entry.js → p-a39c3535.system.entry.js} +1 -1
- package/dist/mint-components/{p-9721a29a.system.js → p-a44b7a52.system.js} +1 -1
- package/dist/mint-components/{p-d1ae7a2d.js → p-a45680fe.js} +1 -1
- package/dist/mint-components/{p-637c0357.system.entry.js → p-a86635aa.system.entry.js} +1 -1
- package/dist/mint-components/{p-1b3ab15a.system.entry.js → p-a9be22a6.system.entry.js} +1 -1
- package/dist/mint-components/p-ac71b501.js +1 -0
- package/dist/mint-components/{p-c0b07067.system.js → p-ae0636bb.system.js} +1 -1
- package/dist/mint-components/p-b0362941.js +1 -0
- package/dist/mint-components/{p-4d478108.system.entry.js → p-b143d532.system.entry.js} +1 -1
- package/dist/mint-components/{p-de136dd3.js → p-b1ddc706.js} +1 -1
- package/dist/mint-components/p-b4638167.entry.js +1 -0
- package/dist/mint-components/p-b4eca678.js +1 -0
- package/dist/mint-components/{p-66d22d46.entry.js → p-b55e454d.entry.js} +1 -1
- package/dist/mint-components/{p-3a21f8f9.system.entry.js → p-b6083f58.system.entry.js} +1 -1
- package/dist/mint-components/{p-0df294ad.system.js → p-b6911812.system.js} +1 -1
- package/dist/mint-components/p-b6bdf89e.entry.js +1 -0
- package/dist/mint-components/{p-527216de.system.js → p-bd11230d.system.js} +1 -1
- package/dist/mint-components/{p-fa37513e.system.entry.js → p-bdb9e05a.system.entry.js} +1 -1
- package/dist/mint-components/p-be88596c.system.js +1 -0
- package/dist/mint-components/{p-a3e68251.entry.js → p-c1821c6d.entry.js} +1 -1
- package/dist/mint-components/p-c25b0ff4.js +394 -0
- package/dist/mint-components/{p-da71337b.entry.js → p-c2e3f0f0.entry.js} +1 -1
- package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
- package/dist/mint-components/{p-33f640f6.system.js → p-c7878ec7.system.js} +1 -1
- package/dist/mint-components/p-c7c11325.js +1 -0
- package/dist/mint-components/p-cfce2cfa.system.js +1 -0
- package/dist/mint-components/{p-731d06a9.entry.js → p-d54fa68e.entry.js} +1 -1
- package/dist/mint-components/p-d6c151e3.system.js +1 -0
- package/dist/mint-components/{p-a572db9b.system.entry.js → p-d7cbca3c.system.entry.js} +1 -1
- package/dist/mint-components/{p-18425f38.system.entry.js → p-dccfe305.system.entry.js} +1 -1
- package/dist/mint-components/{p-c96a25c6.js → p-ddf3c05e.js} +1 -1
- package/dist/mint-components/{p-5bedb58c.js → p-de3ef27e.js} +1 -1
- package/dist/mint-components/{p-c2fdd608.system.entry.js → p-df34f189.system.entry.js} +1 -1
- package/dist/mint-components/p-e05d092a.entry.js +1 -0
- package/dist/mint-components/p-e13ed54a.entry.js +1 -0
- package/dist/mint-components/p-e228b351.system.js +1 -0
- package/dist/mint-components/p-e523b22e.entry.js +11 -0
- package/dist/mint-components/{p-84a78d09.entry.js → p-e524056f.entry.js} +1 -1
- package/dist/mint-components/{p-59274a91.system.js → p-e7aa4f3b.system.js} +1 -1
- package/dist/mint-components/{p-2df6ce8f.entry.js → p-e8422f7b.entry.js} +2 -2
- package/dist/mint-components/{p-98698131.js → p-ea1eed5d.js} +1 -1
- package/dist/mint-components/p-ecf91505.system.js +1 -0
- package/dist/mint-components/{p-d94a4d50.system.entry.js → p-edf6bf2e.system.entry.js} +1 -1
- package/dist/mint-components/{p-8568a6ef.entry.js → p-ee17ee0b.entry.js} +1 -1
- package/dist/mint-components/{p-9b6a0152.system.entry.js → p-efd2b6ec.system.entry.js} +1 -1
- package/dist/mint-components/p-f0368b8b.system.js +1 -0
- package/dist/mint-components/{p-f53f5304.system.entry.js → p-f2ebbbe3.system.entry.js} +1 -1
- package/dist/mint-components/p-f6baa0c9.system.js +1 -0
- package/dist/mint-components/{p-042642d3.entry.js → p-f826665a.entry.js} +1 -1
- package/dist/mint-components/{p-4e526a94.js → p-fa420231.js} +1 -1
- package/dist/mint-components/p-fba00613.entry.js +93 -0
- package/dist/mint-components/{p-6cd4f2b1.system.js → p-fca47a45.system.js} +1 -1
- package/dist/mint-components/p-fd2ee10c.entry.js +9 -0
- package/dist/mint-components/p-ff3c651c.js +1 -0
- package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +0 -3
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
- package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +3 -0
- package/dist/types/components.d.ts +17 -56
- package/dist/types/global/styles.d.ts +2 -1
- package/dist/types/saasquatch.d.ts +104 -30
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-asset-card-view-21ddf04f.js +0 -51
- package/dist/cjs/sqm-asset-card.cjs.entry.js +0 -45
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +0 -29
- package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +0 -46
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +0 -107
- package/dist/collection/components/sqm-asset-card/useAssetCard.js +0 -9
- package/dist/esm/sqm-asset-card-view-fe5db3c0.js +0 -49
- package/dist/esm/sqm-asset-card.entry.js +0 -41
- package/dist/esm-es5/ShadowViewAddon-d8cfd6c7.js +0 -1
- package/dist/esm-es5/copy-text-view-4a207b17.js +0 -1
- package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +0 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-6e046743.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-55fc0873.js +0 -1
- package/dist/mint-components/p-04a6e457.entry.js +0 -1
- package/dist/mint-components/p-05f29f64.js +0 -1
- package/dist/mint-components/p-06ce54e2.entry.js +0 -258
- package/dist/mint-components/p-0f76b2dd.entry.js +0 -93
- package/dist/mint-components/p-127e66c2.system.js +0 -1
- package/dist/mint-components/p-1513309d.entry.js +0 -1
- package/dist/mint-components/p-155cf177.system.js +0 -1
- package/dist/mint-components/p-19ccb4ce.js +0 -1
- package/dist/mint-components/p-229f797b.js +0 -1
- package/dist/mint-components/p-275b4767.entry.js +0 -1
- package/dist/mint-components/p-2d52e2d7.system.js +0 -1
- package/dist/mint-components/p-301ddcaa.system.entry.js +0 -1
- package/dist/mint-components/p-38fc919b.entry.js +0 -1
- package/dist/mint-components/p-46a672e4.entry.js +0 -1
- package/dist/mint-components/p-4b42b756.entry.js +0 -1
- package/dist/mint-components/p-4b9789a2.system.js +0 -1
- package/dist/mint-components/p-4cbd7eec.js +0 -394
- package/dist/mint-components/p-52d15f87.system.js +0 -1
- package/dist/mint-components/p-5488fdd9.system.js +0 -1
- package/dist/mint-components/p-54b0b768.system.js +0 -1
- package/dist/mint-components/p-5c5964e0.js +0 -1
- package/dist/mint-components/p-5d407714.system.entry.js +0 -1
- package/dist/mint-components/p-5eebc8b4.system.entry.js +0 -1
- package/dist/mint-components/p-65ba9e94.entry.js +0 -1
- package/dist/mint-components/p-6798cad1.system.js +0 -1
- package/dist/mint-components/p-6b7a595f.system.js +0 -1
- package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
- package/dist/mint-components/p-704f162e.entry.js +0 -1
- package/dist/mint-components/p-767485b8.system.js +0 -1
- package/dist/mint-components/p-8abfeff8.entry.js +0 -1
- package/dist/mint-components/p-8c23d1b8.js +0 -1
- package/dist/mint-components/p-8d9d04b7.system.entry.js +0 -1
- package/dist/mint-components/p-8feb4180.entry.js +0 -1
- package/dist/mint-components/p-97d4d651.system.js +0 -1
- package/dist/mint-components/p-9acb5038.js +0 -1
- package/dist/mint-components/p-a27a15c5.system.entry.js +0 -1
- package/dist/mint-components/p-a91e7c05.system.entry.js +0 -1
- package/dist/mint-components/p-b637f1e4.js +0 -1
- package/dist/mint-components/p-bdd80fce.js +0 -1
- package/dist/mint-components/p-bfc7cfc0.system.js +0 -1
- package/dist/mint-components/p-c1b1f8ae.system.entry.js +0 -1
- package/dist/mint-components/p-c9745c8f.system.js +0 -1
- package/dist/mint-components/p-d6352d15.js +0 -1
- package/dist/mint-components/p-e1e62d55.entry.js +0 -1
- package/dist/mint-components/p-e2705fbe.system.js +0 -1
- package/dist/mint-components/p-e5d9e709.entry.js +0 -13
- package/dist/mint-components/p-e8ffcc68.entry.js +0 -11
- package/dist/mint-components/p-eb998f7b.entry.js +0 -9
- package/dist/mint-components/p-f26aedcd.system.js +0 -1
- package/dist/mint-components/p-f708da7b.js +0 -1
- package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +0 -7
- package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +0 -8
- package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +0 -24
- package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +0 -7
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +0 -20
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +0 -60
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +0 -7
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +0 -16
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +0 -43
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +0 -71
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +0 -43
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +0 -31
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +0 -8
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +0 -11
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +0 -24
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +0 -31
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +0 -20
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +0 -32
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +0 -50
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +0 -104
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +0 -48
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +0 -16
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as e,r as t,c as a}from"./p-
|
|
1
|
+
import{h as e,r as t,c as a}from"./p-c7c11325.js";import{b as s,j as r,f as l,n as i,u as n}from"./p-35b2fde0.js";import{i as o}from"./p-a348f9b9.js";import{d,J as c,H as u,L as m,w as p,R as h,i as v}from"./p-66ac6bed.js";import{c as E}from"./p-c1086930.js";import{l as g}from"./p-9ec99ced.js";import{c as f}from"./p-cef45012.js";import"./p-49b20dae.js";import{G as w}from"./p-b1ddc706.js";import{u as y,a as x}from"./p-4b12067f.js";import{u as b}from"./p-ac71b501.js";import{l as A}from"./p-de3ef27e.js";import{m as D}from"./p-4254a9b6.js";import{g as N}from"./p-20b2f691.js";const R=s("sq:useRewardsTable"),T=d.gql`
|
|
2
2
|
query getRewards(
|
|
3
3
|
$limit: Int!
|
|
4
4
|
$offset: Int!
|
|
@@ -141,4 +141,4 @@ import{h as e,r as t,c as a}from"./p-f708da7b.js";import{b as s,j as r,f as l,n
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
`;async function _(t,a){const s=t.tagName.toLowerCase();let r;await customElements.whenDefined(s);try{r=a()}catch(t){return R("label promise failed",t),e("span",null)}try{return await r}catch(t){R("Error rendering label",t);const a=N(t);return e("details",null,e("summary",null,"Error"),a)}}const P=class{constructor(e){t(this,e),this.perPage=4,this.hideLabels=!1,this.prevLabel="Prev",this.moreLabel="Next",this.hiddenColumns="0",this.smBreakpoint=599,this.mdBreakpoint=799,i(this)}disconnectedCallback(){}render(){const t=e(S,null),a=e(C,null),{states:s,data:i,callbacks:o,elements:d}=v()?function(e,t,a){const[s,i]=r(((e,t)=>({...e,...t})),{columns:[],rows:[],loading:!1,page:0}),o=y(),{data:d}=n((()=>{var t;return(null===(t=e.demoData)||void 0===t?void 0:t.mockData)||D(e.perPage)}),[e.perPage]),c=b();return l((()=>{i({loading:!0}),d&&async function(t){let a=d;a=d.slice(0,e.perPage);const s=t.filter((e=>{var t,a;return"loading"!==e.slot&&"empty"!==e.slot&&"loading"!==(null===(t=null==e?void 0:e.firstElementChild)||void 0===t?void 0:t.getAttribute("slot"))&&"empty"!==(null===(a=null==e?void 0:e.firstElementChild)||void 0===a?void 0:a.getAttribute("slot"))})),r=null==s?void 0:s.map((async(e,t)=>{var a;const s=null===(a=null==e?void 0:e.firstElementChild)||void 0===a?void 0:a.getAttribute("slot");if("RAISINS-PLOP-TARGET"===e.tagName&&"loading"!==s&&"empty"!==s){e.style.position="absolute",e.setAttribute("slot","column-"+t);const a=e.firstElementChild.childNodes[1];return a.innerHTML="+",a.style.lineHeight="20px",_(e,(()=>e.renderLabel(t)))}return _(e,(()=>e.renderLabel()))})),l=null==a?void 0:a.map((async e=>{const t=null==s?void 0:s.map((async t=>_(t,(()=>t.renderCell(e,void 0,{})))));return await Promise.all(t)})),n=l&&(await Promise.all(l)).filter((e=>e));i({rows:n});const o=r&&await Promise.all(r);i({columns:o,loading:!1,page:0})}(c)}),[d,c,o]),E({states:{hasPrev:!1,hasNext:!1,loading:!1,show:"rows"},callbacks:{prevPage:()=>console.log("Prev"),nextPage:()=>console.log("Next")},data:{textOverrides:{showLabels:!e.hideLabels,prevLabel:e.prevLabel,moreLabel:e.moreLabel},referralData:[],mdBreakpoint:799,smBreakpoint:599},elements:{columns:s.columns,rows:s.rows,emptyElement:t,loadingElement:a}},e.demoData||{},{arrayMerge:(e,t)=>t})}(this,t,a):function(t,a,s){var i,n,o;const d=c(),v=u(),E=p(),g=null!==(i=t.programId)&&void 0!==i?i:v,f={userId_eq:null==d?void 0:d.id,accountId_eq:null==d?void 0:d.accountId,...g?"classic"===g?{programId_exists:!1}:{programId_eq:g}:{}},[w,x]=r(((e,t)=>({...e,...t})),{columns:[],rows:[],loading:!1,page:0}),{data:A,loading:D}=m(I,{},!(null==d?void 0:d.jwt)),{envelope:N,states:R,callbacks:P}=h(T,(e=>{var t;return null===(t=null==e?void 0:e.viewer)||void 0===t?void 0:t.rewards}),{limit:t.perPage,offset:0},{rewardFilter:f,locale:E},!(null==d?void 0:d.jwt)),S=y(),C=b(),L=null==N?void 0:N.data,q=null===(n=null==A?void 0:A.viewer)||void 0===n?void 0:n.impactConnection;l((()=>{x({loading:!0}),N&&async function(t){const a=t.filter((e=>"loading"!==e.slot&&"empty"!==e.slot)),s=null==a?void 0:a.map((async e=>_(e,(()=>e.renderLabel())))),r=null==L?void 0:L.map((async t=>{const s=null==a?void 0:a.map((async a=>_(a,(()=>a.renderCell(t,{locale:E,taxConnection:q},e)))));return await Promise.all(s)})),l=r&&(await Promise.all(r)).filter((e=>e));x({rows:l});const i=s&&await Promise.all(s);x({columns:i,loading:!1,page:R.currentPage})}(C)}),[N,C,S]);const U=!(null===(o=null==w?void 0:w.rows)||void 0===o?void 0:o.length)&&!(null==L?void 0:L.length);return{states:{hasNext:R.currentPage<R.pageCount-1,hasPrev:R.currentPage>0,show:R.loading||w.loading||D?"loading":U?"empty":"rows",namespace:"sqm-rewards-table"},data:{textOverrides:{showLabels:!t.hideLabels,prevLabel:t.prevLabel,moreLabel:t.moreLabel},hiddenColumns:t.hiddenColumns,smBreakpoint:t.smBreakpoint,mdBreakpoint:t.mdBreakpoint},elements:{columns:w.columns,rows:w.rows,emptyElement:a,loadingElement:s},callbacks:{nextPage:()=>{P.setCurrentPage(R.currentPage+1)},prevPage:()=>{P.setCurrentPage(R.currentPage-1)}}}}(this,t,a);return x([this.perPage]),e(w,{states:s,data:i,callbacks:o,elements:d})}};function S(){return e("slot",{name:"empty"},e("sqm-empty",{"empty-state-image":"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png","empty-state-header":"View your rewards","empty-state-text":"Refer friends and complete tasks to view the details of your rewards"}))}function C(){return e("slot",{name:"loading"},e(L,null),e(L,null),e(L,null),e(L,null))}function L(){return e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null)))}const q=class{constructor(e){t(this,e),this.ignored=!0,this.locale="en",i(this)}disconnectedCallback(){}render(){var e,t;return this.date?null===(t=null===(e=A.DateTime.fromMillis(this.date))||void 0===e?void 0:e.setLocale(g(this.locale)))||void 0===t?void 0:t.toLocaleString(A.DateTime.DATE_MED):"-"}},U=class{constructor(e){t(this,e),this.columnTitle="Date received",this.dateShown="dateGiven",i(this)}disconnectedCallback(){}async renderCell(t,a){return e("sqm-rewards-table-date-cell",{date:t[this.dateShown],locale:null==a?void 0:a.locale})}async renderLabel(){return this.columnTitle}render(){return x([this.dateShown,this.columnTitle]),e(a,{style:{display:"none"}})}},k=f({DetailsContainer:{width:"100%",display:"flex","align-items":"center","justify-content":"space-between","margin-right":"var(--sl-spacing-small)","flex-wrap":"wrap"},Details:{"padding-bottom":"var(--sl-spacing-small)","max-width":"500px","padding-right":"var(--sl-spacing-x-small)","&::part(header)":{padding:"var(--sl-spacing-x-small)",cursor:"default"},"&::part(content)":{padding:"var(--sl-spacing-x-small) var(--sl-spacing-medium)"},"&::part(base)":{opacity:"1"},"&::part(summary-icon)":{display:"flex"}},BadgeContainer:{"& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},BoldText:{"font-weight":"var(--sl-font-weight-semibold)"},StatusBadge:{paddingLeft:"var(--sl-spacing-xxx-small)","&::part(base)":{textAlign:"center",maxWidth:"170px",whiteSpace:"pre-line"}},Fueltank:{"& .code":{display:"flex",cursor:"pointer",userSelect:"none",color:"var(--sl-color-neutral-500)","&:hover":{color:"var(--sl-color-sky-500)"}},"& .text":{maxWidth:"90%",overflow:"hidden",textOverflow:"ellipsis",color:"inherit",fontSize:"var(--sl-font-size-small)",fontWeight:"var(--sl-font-weight-bold)"},"& .icon":{position:"relative",top:"1px",marginLeft:"var(--sl-spacing-x-small)",color:"inherit"}}}),O=k.toString(),F=class{constructor(e){t(this,e)}render(){return o.locale=this.locale,e("div",{style:{display:"contents"}},e("style",{type:"text/css"},O),e((({reward:t})=>{var a;const s="CENTS"===t.unit?t.prettyValue.replace(/USD/gi,"$"):null!==(a=t.prettyValue)&&void 0!==a?a:"-",r="1"===t.prettyValueNumber||t.dateRedeemed&&"0"===t.prettyAvailableNumber;if("FUELTANK"===t.type)return e("div",{class:k.classes.Fueltank},t.prettyValue,t.fuelTankCode&&e("div",{class:"code",onClick:()=>navigator.clipboard.writeText(t.fuelTankCode)},e("sl-tooltip",{trigger:"click",placement:"top",distance:5,skidding:11,content:this.copyText,"onSl-show":e=>setTimeout((()=>e.path[0].hide()),1e3)},e("span",{class:"text"},t.fuelTankCode),e("span",{class:"icon"},e("sl-icon",{name:"files"})))));if("CREDIT"===t.type&&!r){const a=parseFloat(t.prettyValueNumber)-parseFloat(t.prettyRedeemedNumber),r=Math.round(a/parseFloat(t.prettyValueNumber)*100),l=t.statuses.includes("EXPIRED")||t.statuses.includes("CANCELLED")?e("div",null,o.formatMessage({id:"redeemedText",defaultMessage:this.redeemedText},{redeemedAmount:t.prettyRedeemedCredit})):e("div",null,o.formatMessage({id:"availableText",defaultMessage:this.availableText},{availableAmount:t.statuses.includes("PENDING")?t.prettyAssignedCredit:t.prettyAvailableValue})),i=f({Progress:{height:"3px",width:"100%",margin:"var(--sl-spacing-xx-small) 0",background:"var(--sqm-border-color)","&:after":{content:'""',display:"block",background:"var(--sqm-accent-color-icon)",borderRadius:"100px",width:`${r}%`,height:"100%"}},Container:{display:"inline-block",verticalAlign:"top",width:"150px",whiteSpace:"break",overflow:"hidden",textOverflow:"ellipsis"},Text:{fontSize:"var(--sl-font-size-medium)",color:"var(--sqm-text)"},Subtext:{fontSize:"var(--sl-font-size-small)",color:"var(--sqm-text-subdued)"}}),n=i.toString();return e("div",null,e("style",{type:"text/css"},n),e("div",{class:i.classes.Container},e("span",{part:"sqm-reward-cell-value"},s+" "),e("br",null)," ",e("div",{part:"sqm-reward-cell-progress",class:i.classes.Progress}),e("span",{part:"sqm-reward-cell-subtext",class:i.classes.Subtext},l)))}return e("div",null,s)}),{reward:this.reward}))}},V=class{constructor(e){t(this,e),this.columnTitle="Reward",this.redeemedText="{redeemedAmount} redeemed",this.availableText="{availableAmount} remaining",this.copyText="Copied!",i(this)}disconnectedCallback(){}async renderCell(t,a){return e("sqm-rewards-table-reward-cell",{reward:t,redeemedText:this.redeemedText,availableText:this.availableText,copyText:this.copyText,locale:null==a?void 0:a.locale,exportparts:"sqm-rewards-cell-value, sqm-rewards-cell-progress-bar, sqm-rewards-cell-subtext"})}async renderLabel(){return this.columnTitle}render(){return x([this.columnTitle,this.redeemedText,this.availableText,this.copyText]),e(a,{style:{display:"none"}})}},M=class{constructor(e){t(this,e),this.locale="en"}render(){o.locale=this.locale;const t=({reward:t})=>{var a;return e("span",null,o.formatMessage({id:"rewardSourceText",defaultMessage:this.rewardSourceText},{rewardSource:t.rewardSource,programName:null===(a=null==t?void 0:t.program)||void 0===a?void 0:a.name}))},a=({reward:t})=>{var a;const s=e("div",null,e("span",{style:{fontSize:"var(--sl-font-size-small)",color:"var(--sqm-text-subdued)"}},this.rewardExchangeText),e("br",null),null===(a=t.exchangedRewardRedemptionTransaction)||void 0===a?void 0:a.prettyRedeemedCredit," → ",t.prettyValue);return t.exchangedRewardRedemptionTransaction.prettyRedeemedCredit.length+t.prettyValue.length<21?s:e("div",{style:{display:"inline-block",verticalAlign:"top"}},s)},s=e=>e?e.firstName||e.lastName?e.firstName?e.lastName?`${e.firstName} ${e.lastName}`:`${e.firstName}`:`${e.lastName}`:this.anonymousUserText:this.deletedUserText;return e((()=>"FRIEND_SIGNUP"===this.reward.rewardSource||"REFERRED"===this.reward.rewardSource?null===this.reward.referral?e("p",{style:{color:"var(--sqm-text-subdued)"}},this.deletedReferralText):e("div",null,e("div",{style:{fontSize:"var(--sl-font-size-small)",color:"var(--sqm-text-subdued)"}},o.formatMessage({id:"referralText",defaultMessage:this.referralText},{rewardSource:this.reward.rewardSource})),e("div",null,s("FRIEND_SIGNUP"==this.reward.rewardSource?this.reward.referral.referredUser:this.reward.referral.referrerUser))):e(this.reward.exchangedRewardRedemptionTransaction?a:t,{reward:this.reward})),null)}},G=class{constructor(e){t(this,e),this.columnTitle="Source",this.anonymousUser="Anonymous User",this.deletedUser="Deleted User",this.rewardExchangeText="Reward Exchange",this.referralText="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}",this.rewardSourceText="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}",i(this)}disconnectedCallback(){}async renderCell(t,a){return e("sqm-rewards-table-source-cell",{reward:t,anonymousUserText:this.anonymousUser,deletedUserText:this.deletedUser,rewardExchangeText:this.rewardExchangeText,referralText:this.referralText,rewardSourceText:this.rewardSourceText,locale:null==a?void 0:a.locale})}async renderLabel(){return this.columnTitle}render(){return x([this.deletedUser,this.anonymousUser,this.columnTitle,this.rewardExchangeText,this.referralText,this.rewardSourceText]),e(a,{style:{display:"none"}})}},B=f({Badge:{"&::part(base)":{fontSize:"var(--sl-font-size-small)",padding:"4px 8px",paddingLeft:"10px",whiteSpace:"pre-line"}},RedeemBadge:{"&::part(base)":{padding:"4px 8px",fontSize:"var(--sl-font-size-small)",textAlign:"center",whiteSpace:"pre-line",background:"var(--sqm-informative-color-background)",color:"var(--sqm-informative-color-text)"}},DangerBadge:{"&::part(base)":{padding:"4px 8px",fontSize:"var(--sl-font-size-small)",textAlign:"center",whiteSpace:"pre-line",background:"var(--sqm-danger-color-background)",color:"var(--sqm-danger-color-text)"}},WarningBadge:{"&::part(base)":{padding:"4px 8px",fontSize:"var(--sl-font-size-small)",textAlign:"center",whiteSpace:"pre-line",background:"var(--sqm-warning-color-background)",color:"var(--sqm-warning-color-text)"}},SuccessBadge:{"&::part(base)":{padding:"4px 8px",fontSize:"var(--sl-font-size-small)",textAlign:"center",whiteSpace:"pre-line",background:"var(--sqm-success-color-background)",color:"var(--sqm-success-color-text)"}},Date:{fontSize:"var(--sl-font-size-small)",color:"var(--sqm-text-subdued)",margin:"0"}}),$=B.toString(),z=class{constructor(e){t(this,e),this.expiryText="Expires",this.locale="en",this.pendingUsTax="W-9 required",this.pendingTaxReview="Awaiting tax form review.",this.pendingNewTaxForm="Invalid tax form. Submit a new form to receive your rewards.",this.pendingTaxSubmission="Submit your tax documents to receive your rewards.",this.pendingPartnerCreation="Complete your tax and cash payout setup to receive your rewards.",this.pendingScheduled="Until",this.pendingUnhandled="Fulfillment error",this.pendingReviewText="Awaiting review",this.deniedText="Detected self-referral",this.payoutFailed="Payout failed due to a fulfillment issue and is current being retried.",this.payoutApproved="Reward approved for payout and was scheduled for payment based on your settings.",this.payoutCancelled="If you think this is a mistake, contact our Support team."}rewardStatus(e){var t,a,s,r,l,i,n,o,d;const c=null===(t=e.statuses)||void 0===t?void 0:t.includes("EXPIRED"),u=null===(a=e.statuses)||void 0===a?void 0:a.includes("PENDING"),p="INTEGRATION"===e.type||"FUELTANK"===e.type,m=null===(r=null===(s=e.referral)||void 0===s?void 0:s.fraudData)||void 0===r?void 0:r.moderationStatus;if("DENIED"===m)return"DENIED";if("PENDING"===m)return"PENDING_REVIEW";const h=null===(l=e.partnerFundsTransfer)||void 0===l?void 0:l.status;return"TRANSFERRED"===h||"NOT_YET_DUE"===h?"PAYOUT_APPROVED":"OVERDUE"===h?"PAYOUT_FAILED":"REVERSED"===h?"PAYOUT_CANCELLED":e.dateCancelled?"CANCELLED":c?"EXPIRED":u?"PENDING":"CREDIT"===e.type?(null===(i=e.statuses)||void 0===i?void 0:i.includes("REDEEMED"))?"REDEEMED":"AVAILABLE":"PCT_DISCOUNT"===e.type&&(null===(n=e.statuses)||void 0===n?void 0:n.includes("AVAILABLE"))?"AVAILABLE":p&&u?"PENDING":p&&(null===(o=e.statuses)||void 0===o?void 0:o.includes("CANCELLED"))?"CANCELLED":p&&(null===(d=e.statuses)||void 0===d?void 0:d.includes("AVAILABLE"))?"AVAILABLE":""}getTaxPendingReasons(e,t){var a,s,r,l,i;if(null===(a=null==e?void 0:e.pendingReasons)||void 0===a?void 0:a.includes("US_TAX")){if(!(null==t?void 0:t.taxHandlingEnabled))return this.pendingUsTax;if(!(null==t?void 0:t.connected))return this.pendingPartnerCreation;if(null===(s=null==t?void 0:t.publisher)||void 0===s?void 0:s.requiredTaxDocumentType){if(!(null===(r=null==t?void 0:t.publisher)||void 0===r?void 0:r.currentTaxDocument))return this.pendingTaxSubmission;const e=t.publisher.currentTaxDocument.status;if("INACTIVE"===e)return this.pendingNewTaxForm;if("NOT_VERIFIED"===e)return this.pendingTaxReview}if(!(null===(l=null==t?void 0:t.publisher)||void 0===l?void 0:l.withdrawalSettings))return this.pendingPartnerCreation}return(null===(i=null==e?void 0:e.pendingReasons)||void 0===i?void 0:i.includes("PAYOUT_CONFIGURATION_MISSING"))?this.pendingPartnerCreation:""}getBadgeType(e){switch(e){case"AVAILABLE":return"success";case"REDEEMED":case"PAYOUT_APPROVED":return"primary";case"PENDING":case"PENDING_REVIEW":return"warning";default:return"danger"}}getPayoutStatusText(e){switch(e){case"US_TAX":return this.pendingUsTax;case"PAYOUT_APPROVED":return this.payoutApproved;case"PAYOUT_FAILED":return this.payoutFailed;case"PAYOUT_CANCELLED":return this.payoutCancelled;case"PENDING_TAX_REVIEW":return this.pendingTaxReview;case"PENDING_NEW_TAX_FORM":return this.pendingNewTaxForm;case"PENDING_TAX_SUBMISSION":return this.pendingTaxSubmission;case"PENDING_PARTNER_CREATION":return this.pendingPartnerCreation}}render(){var t;o.locale=this.locale;const a=this.rewardStatus(this.reward),s=o.formatMessage({id:"statusMessage",defaultMessage:this.statusText},{status:a}),r=this.getBadgeType(a),l=this.reward.dateCancelled||this.reward.dateExpires||this.reward.dateRedeemed||"",i=l&&`${"AVAILABLE"===a&&this.reward.dateExpires?this.expiryText+" ":""}${null===(t=A.DateTime.fromMillis(l))||void 0===t?void 0:t.setLocale(g(g(this.locale))).toLocaleString(A.DateTime.DATE_MED)}`,n="PENDING"===a?this.getTaxPendingReasons(this.reward,this.taxConnection)||function(e){var t;const a={SCHEDULED:e.reward.dateScheduledFor&&e.pendingScheduled+" "+(null===(t=A.DateTime.fromMillis(e.reward.dateScheduledFor))||void 0===t?void 0:t.setLocale(g(g(e.locale||"en"))).toLocaleString(A.DateTime.DATE_MED)),UNHANDLED_ERROR:e.pendingUnhandled,SUSPECTED_FRAUD:e.pendingReview},s=e.getTaxPendingReasons(e.reward,e.taxConnection);return[...s?[s]:[],...e.reward.pendingReasons.map((e=>{var t;return null!==(t=a[e])&&void 0!==t?t:e}))].join(", ")}(this):null,d="PENDING_REVIEW"===a?this.pendingReviewText:"DENIED"===a?this.deniedText:null,c=(e=>{switch(console.log("badgeType",e),a){case"AVAILABLE":return B.classes.SuccessBadge;case"REDEEMED":case"PAYOUT_APPROVED":return B.classes.RedeemBadge;case"PENDING":case"PENDING_REVIEW":return B.classes.WarningBadge;default:return B.classes.DangerBadge}})(r);return e("div",{style:{display:"contents"}},e("style",{type:"text/css"},$),e("sl-badge",{type:r,pill:!0,class:c},s),e("p",{class:B.classes.Date},d||n||this.getPayoutStatusText(a)||i))}},j=class{constructor(e){t(this,e),this.columnTitle="Status",this.statusText="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_CANCELLED {Payout Cancelled} PAYOUT_FAILED {Payout Failed} EXPIRED {Expired} REDEEMED {Redeemed} DENIED {Denied} other {Not available} }",this.expiryText="Expires on ",this.pendingUsTax="W-9 required",this.pendingScheduled="Until",this.pendingUnhandled="Fulfillment error",this.pendingReviewText="Awaiting review",this.deniedText="Detected self-referral",this.pendingTaxReview="Awaiting tax form review.",this.pendingNewTaxForm="Invalid tax form. Submit a new form to receive your rewards.",this.pendingTaxSubmission="Submit your tax documents to receive your rewards.",this.pendingPartnerCreation="Complete your tax and cash payout setup to receive your rewards.",this.payoutFailed="Payout failed due to a fulfillment issue and is current being retried.",this.payoutCancelled="If you think this is a mistake, contact our Support team.",this.payoutApproved="Reward approved for payout and was scheduled for payment based on your settings.",i(this)}disconnectedCallback(){}async renderCell(t,a){return e("sqm-rewards-table-status-cell",{statusText:this.statusText,reward:t,taxConnection:null==a?void 0:a.taxConnection,expiryText:this.expiryText,pendingScheduled:this.pendingScheduled,pendingUsTax:this.pendingUsTax,pendingUnhandled:this.pendingUnhandled,pendingReviewText:this.pendingReviewText,payoutFailed:this.payoutFailed,payoutApproved:this.payoutApproved,payoutCancelled:this.payoutCancelled,deniedText:this.deniedText,locale:null==a?void 0:a.locale})}async renderLabel(){return this.columnTitle}render(){return x([this.columnTitle,this.statusText,this.expiryText,this.pendingReviewText,this.pendingScheduled,this.pendingUsTax,this.pendingUnhandled]),e(a,{style:{display:"none"}})}};export{P as sqm_rewards_table,q as sqm_rewards_table_date_cell,U as sqm_rewards_table_date_column,F as sqm_rewards_table_reward_cell,V as sqm_rewards_table_reward_column,M as sqm_rewards_table_source_cell,G as sqm_rewards_table_source_column,z as sqm_rewards_table_status_cell,j as sqm_rewards_table_status_column}
|
|
144
|
+
`;async function _(t,a){const s=t.tagName.toLowerCase();let r;await customElements.whenDefined(s);try{r=a()}catch(t){return R("label promise failed",t),e("span",null)}try{return await r}catch(t){R("Error rendering label",t);const a=N(t);return e("details",null,e("summary",null,"Error"),a)}}const P=class{constructor(e){t(this,e),this.perPage=4,this.hideLabels=!1,this.prevLabel="Prev",this.moreLabel="Next",this.hiddenColumns="0",this.smBreakpoint=599,this.mdBreakpoint=799,i(this)}disconnectedCallback(){}render(){const t=e(S,null),a=e(C,null),{states:s,data:i,callbacks:o,elements:d}=v()?function(e,t,a){const[s,i]=r(((e,t)=>({...e,...t})),{columns:[],rows:[],loading:!1,page:0}),o=y(),{data:d}=n((()=>{var t;return(null===(t=e.demoData)||void 0===t?void 0:t.mockData)||D(e.perPage)}),[e.perPage]),c=b();return l((()=>{i({loading:!0}),d&&async function(t){let a=d;a=d.slice(0,e.perPage);const s=t.filter((e=>{var t,a;return"loading"!==e.slot&&"empty"!==e.slot&&"loading"!==(null===(t=null==e?void 0:e.firstElementChild)||void 0===t?void 0:t.getAttribute("slot"))&&"empty"!==(null===(a=null==e?void 0:e.firstElementChild)||void 0===a?void 0:a.getAttribute("slot"))})),r=null==s?void 0:s.map((async(e,t)=>{var a;const s=null===(a=null==e?void 0:e.firstElementChild)||void 0===a?void 0:a.getAttribute("slot");if("RAISINS-PLOP-TARGET"===e.tagName&&"loading"!==s&&"empty"!==s){e.style.position="absolute",e.setAttribute("slot","column-"+t);const a=e.firstElementChild.childNodes[1];return a.innerHTML="+",a.style.lineHeight="20px",_(e,(()=>e.renderLabel(t)))}return _(e,(()=>e.renderLabel()))})),l=null==a?void 0:a.map((async e=>{const t=null==s?void 0:s.map((async t=>_(t,(()=>t.renderCell(e,void 0,{})))));return await Promise.all(t)})),n=l&&(await Promise.all(l)).filter((e=>e));i({rows:n});const o=r&&await Promise.all(r);i({columns:o,loading:!1,page:0})}(c)}),[d,c,o]),E({states:{hasPrev:!1,hasNext:!1,loading:!1,show:"rows"},callbacks:{prevPage:()=>console.log("Prev"),nextPage:()=>console.log("Next")},data:{textOverrides:{showLabels:!e.hideLabels,prevLabel:e.prevLabel,moreLabel:e.moreLabel},referralData:[],mdBreakpoint:799,smBreakpoint:599},elements:{columns:s.columns,rows:s.rows,emptyElement:t,loadingElement:a}},e.demoData||{},{arrayMerge:(e,t)=>t})}(this,t,a):function(t,a,s){var i,n,o;const d=c(),v=u(),E=m(),g=null!==(i=t.programId)&&void 0!==i?i:v,f={userId_eq:null==d?void 0:d.id,accountId_eq:null==d?void 0:d.accountId,...g?"classic"===g?{programId_exists:!1}:{programId_eq:g}:{}},[w,x]=r(((e,t)=>({...e,...t})),{columns:[],rows:[],loading:!1,page:0}),{data:A,loading:D}=p(I,{},!(null==d?void 0:d.jwt)),{envelope:N,states:R,callbacks:P}=h(T,(e=>{var t;return null===(t=null==e?void 0:e.viewer)||void 0===t?void 0:t.rewards}),{limit:t.perPage,offset:0},{rewardFilter:f,locale:E},!(null==d?void 0:d.jwt)),S=y(),C=b(),L=null==N?void 0:N.data,q=null===(n=null==A?void 0:A.viewer)||void 0===n?void 0:n.impactConnection;l((()=>{x({loading:!0}),N&&async function(t){const a=t.filter((e=>"loading"!==e.slot&&"empty"!==e.slot)),s=null==a?void 0:a.map((async e=>_(e,(()=>e.renderLabel())))),r=null==L?void 0:L.map((async t=>{const s=null==a?void 0:a.map((async a=>_(a,(()=>a.renderCell(t,{locale:E,taxConnection:q},e)))));return await Promise.all(s)})),l=r&&(await Promise.all(r)).filter((e=>e));x({rows:l});const i=s&&await Promise.all(s);x({columns:i,loading:!1,page:R.currentPage})}(C)}),[N,C,S]);const U=!(null===(o=null==w?void 0:w.rows)||void 0===o?void 0:o.length)&&!(null==L?void 0:L.length);return{states:{hasNext:R.currentPage<R.pageCount-1,hasPrev:R.currentPage>0,show:R.loading||w.loading||D?"loading":U?"empty":"rows",namespace:"sqm-rewards-table"},data:{textOverrides:{showLabels:!t.hideLabels,prevLabel:t.prevLabel,moreLabel:t.moreLabel},hiddenColumns:t.hiddenColumns,smBreakpoint:t.smBreakpoint,mdBreakpoint:t.mdBreakpoint},elements:{columns:w.columns,rows:w.rows,emptyElement:a,loadingElement:s},callbacks:{nextPage:()=>{P.setCurrentPage(R.currentPage+1)},prevPage:()=>{P.setCurrentPage(R.currentPage-1)}}}}(this,t,a);return x([this.perPage]),e(w,{states:s,data:i,callbacks:o,elements:d})}};function S(){return e("slot",{name:"empty"},e("sqm-empty",{"empty-state-image":"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png","empty-state-header":"View your rewards","empty-state-text":"Refer friends and complete tasks to view the details of your rewards"}))}function C(){return e("slot",{name:"loading"},e(L,null),e(L,null),e(L,null),e(L,null))}function L(){return e("sqm-table-row",null,e("sqm-table-cell",{colspan:5},e("sl-skeleton",null)))}const q=class{constructor(e){t(this,e),this.ignored=!0,this.locale="en",i(this)}disconnectedCallback(){}render(){var e,t;return this.date?null===(t=null===(e=A.DateTime.fromMillis(this.date))||void 0===e?void 0:e.setLocale(g(this.locale)))||void 0===t?void 0:t.toLocaleString(A.DateTime.DATE_MED):"-"}},U=class{constructor(e){t(this,e),this.columnTitle="Date received",this.dateShown="dateGiven",i(this)}disconnectedCallback(){}async renderCell(t,a){return e("sqm-rewards-table-date-cell",{date:t[this.dateShown],locale:null==a?void 0:a.locale})}async renderLabel(){return this.columnTitle}render(){return x([this.dateShown,this.columnTitle]),e(a,{style:{display:"none"}})}},k=f({DetailsContainer:{width:"100%",display:"flex","align-items":"center","justify-content":"space-between","margin-right":"var(--sl-spacing-small)","flex-wrap":"wrap"},Details:{"padding-bottom":"var(--sl-spacing-small)","max-width":"500px","padding-right":"var(--sl-spacing-x-small)","&::part(header)":{padding:"var(--sl-spacing-x-small)",cursor:"default"},"&::part(content)":{padding:"var(--sl-spacing-x-small) var(--sl-spacing-medium)"},"&::part(base)":{opacity:"1"},"&::part(summary-icon)":{display:"flex"}},BadgeContainer:{"& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},BoldText:{"font-weight":"var(--sl-font-weight-semibold)"},StatusBadge:{paddingLeft:"var(--sl-spacing-xxx-small)","&::part(base)":{textAlign:"center",maxWidth:"170px",whiteSpace:"pre-line"}},Fueltank:{"& .code":{display:"flex",cursor:"pointer",userSelect:"none",color:"var(--sl-color-neutral-500)","&:hover":{color:"var(--sl-color-sky-500)"}},"& .text":{maxWidth:"90%",overflow:"hidden",textOverflow:"ellipsis",color:"inherit",fontSize:"var(--sl-font-size-small)",fontWeight:"var(--sl-font-weight-bold)"},"& .icon":{position:"relative",top:"1px",marginLeft:"var(--sl-spacing-x-small)",color:"inherit"}}}),O=k.toString(),F=class{constructor(e){t(this,e)}render(){return o.locale=this.locale,e("div",{style:{display:"contents"}},e("style",{type:"text/css"},O),e((({reward:t})=>{var a;const s="CENTS"===t.unit?t.prettyValue.replace(/USD/gi,"$"):null!==(a=t.prettyValue)&&void 0!==a?a:"-",r="1"===t.prettyValueNumber||t.dateRedeemed&&"0"===t.prettyAvailableNumber;if("FUELTANK"===t.type)return e("div",{class:k.classes.Fueltank},t.prettyValue,t.fuelTankCode&&e("div",{class:"code",onClick:()=>navigator.clipboard.writeText(t.fuelTankCode)},e("sl-tooltip",{trigger:"click",placement:"top",distance:5,skidding:11,content:this.copyText,"onSl-show":e=>setTimeout((()=>e.path[0].hide()),1e3)},e("span",{class:"text"},t.fuelTankCode),e("span",{class:"icon"},e("sl-icon",{name:"files"})))));if("CREDIT"===t.type&&!r){const a=parseFloat(t.prettyValueNumber)-parseFloat(t.prettyRedeemedNumber),r=Math.round(a/parseFloat(t.prettyValueNumber)*100),l=t.statuses.includes("EXPIRED")||t.statuses.includes("CANCELLED")?e("div",null,o.formatMessage({id:"redeemedText",defaultMessage:this.redeemedText},{redeemedAmount:t.prettyRedeemedCredit})):e("div",null,o.formatMessage({id:"availableText",defaultMessage:this.availableText},{availableAmount:t.statuses.includes("PENDING")?t.prettyAssignedCredit:t.prettyAvailableValue})),i=f({Progress:{height:"3px",width:"100%",margin:"var(--sl-spacing-xx-small) 0",background:"var(--sqm-border-color)","&:after":{content:'""',display:"block",background:"var(--sqm-accent-color-icon)",borderRadius:"100px",width:`${r}%`,height:"100%"}},Container:{display:"inline-block",verticalAlign:"top",width:"150px",whiteSpace:"break",overflow:"hidden",textOverflow:"ellipsis"},Text:{fontSize:"var(--sl-font-size-medium)",color:"var(--sqm-text)"},Subtext:{fontSize:"var(--sl-font-size-small)",color:"var(--sqm-text-subdued)"}}),n=i.toString();return e("div",null,e("style",{type:"text/css"},n),e("div",{class:i.classes.Container},e("span",{part:"sqm-reward-cell-value"},s+" "),e("br",null)," ",e("div",{part:"sqm-reward-cell-progress",class:i.classes.Progress}),e("span",{part:"sqm-reward-cell-subtext",class:i.classes.Subtext},l)))}return e("div",null,s)}),{reward:this.reward}))}},V=class{constructor(e){t(this,e),this.columnTitle="Reward",this.redeemedText="{redeemedAmount} redeemed",this.availableText="{availableAmount} remaining",this.copyText="Copied!",i(this)}disconnectedCallback(){}async renderCell(t,a){return e("sqm-rewards-table-reward-cell",{reward:t,redeemedText:this.redeemedText,availableText:this.availableText,copyText:this.copyText,locale:null==a?void 0:a.locale,exportparts:"sqm-rewards-cell-value, sqm-rewards-cell-progress-bar, sqm-rewards-cell-subtext"})}async renderLabel(){return this.columnTitle}render(){return x([this.columnTitle,this.redeemedText,this.availableText,this.copyText]),e(a,{style:{display:"none"}})}},M=class{constructor(e){t(this,e),this.locale="en"}render(){o.locale=this.locale;const t=({reward:t})=>{var a;return e("span",null,o.formatMessage({id:"rewardSourceText",defaultMessage:this.rewardSourceText},{rewardSource:t.rewardSource,programName:null===(a=null==t?void 0:t.program)||void 0===a?void 0:a.name}))},a=({reward:t})=>{var a;const s=e("div",null,e("span",{style:{fontSize:"var(--sl-font-size-small)",color:"var(--sqm-text-subdued)"}},this.rewardExchangeText),e("br",null),null===(a=t.exchangedRewardRedemptionTransaction)||void 0===a?void 0:a.prettyRedeemedCredit," → ",t.prettyValue);return t.exchangedRewardRedemptionTransaction.prettyRedeemedCredit.length+t.prettyValue.length<21?s:e("div",{style:{display:"inline-block",verticalAlign:"top"}},s)},s=e=>e?e.firstName||e.lastName?e.firstName?e.lastName?`${e.firstName} ${e.lastName}`:`${e.firstName}`:`${e.lastName}`:this.anonymousUserText:this.deletedUserText;return e((()=>"FRIEND_SIGNUP"===this.reward.rewardSource||"REFERRED"===this.reward.rewardSource?null===this.reward.referral?e("p",{style:{color:"var(--sqm-text-subdued)"}},this.deletedReferralText):e("div",null,e("div",{style:{fontSize:"var(--sl-font-size-small)",color:"var(--sqm-text-subdued)"}},o.formatMessage({id:"referralText",defaultMessage:this.referralText},{rewardSource:this.reward.rewardSource})),e("div",null,s("FRIEND_SIGNUP"==this.reward.rewardSource?this.reward.referral.referredUser:this.reward.referral.referrerUser))):e(this.reward.exchangedRewardRedemptionTransaction?a:t,{reward:this.reward})),null)}},G=class{constructor(e){t(this,e),this.columnTitle="Source",this.anonymousUser="Anonymous User",this.deletedUser="Deleted User",this.rewardExchangeText="Reward Exchange",this.referralText="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}",this.rewardSourceText="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}",i(this)}disconnectedCallback(){}async renderCell(t,a){return e("sqm-rewards-table-source-cell",{reward:t,anonymousUserText:this.anonymousUser,deletedUserText:this.deletedUser,rewardExchangeText:this.rewardExchangeText,referralText:this.referralText,rewardSourceText:this.rewardSourceText,locale:null==a?void 0:a.locale})}async renderLabel(){return this.columnTitle}render(){return x([this.deletedUser,this.anonymousUser,this.columnTitle,this.rewardExchangeText,this.referralText,this.rewardSourceText]),e(a,{style:{display:"none"}})}},B=f({Badge:{"&::part(base)":{fontSize:"var(--sl-font-size-small)",padding:"4px 8px",paddingLeft:"10px",whiteSpace:"pre-line"}},RedeemBadge:{"&::part(base)":{padding:"4px 8px",fontSize:"var(--sl-font-size-small)",textAlign:"center",whiteSpace:"pre-line",background:"var(--sqm-informative-color-icon)",color:"var(--sqm-informative-color-text)"}},DangerBadge:{"&::part(base)":{padding:"4px 8px",fontSize:"var(--sl-font-size-small)",textAlign:"center",whiteSpace:"pre-line",background:"var(--sqm-danger-color-icon)",color:"var(--sqm-danger-color-text)"}},WarningBadge:{"&::part(base)":{padding:"4px 8px",fontSize:"var(--sl-font-size-small)",textAlign:"center",whiteSpace:"pre-line",background:"var(--sqm-warning-color-icon)",color:"var(--sqm-warning-color-text)"}},SuccessBadge:{"&::part(base)":{padding:"4px 8px",fontSize:"var(--sl-font-size-small)",textAlign:"center",whiteSpace:"pre-line",background:"var(--sqm-success-color-icon)",color:"var(--sqm-success-color-text)"}},Date:{fontSize:"var(--sl-font-size-small)",color:"var(--sqm-text-subdued)",margin:"0"}}),$=B.toString(),z=class{constructor(e){t(this,e),this.expiryText="Expires",this.locale="en",this.pendingUsTax="W-9 required",this.pendingTaxReview="Awaiting tax form review.",this.pendingNewTaxForm="Invalid tax form. Submit a new form to receive your rewards.",this.pendingTaxSubmission="Submit your tax documents to receive your rewards.",this.pendingPartnerCreation="Complete your tax and cash payout setup to receive your rewards.",this.pendingScheduled="Until",this.pendingUnhandled="Fulfillment error",this.pendingReviewText="Awaiting review",this.deniedText="Detected self-referral",this.payoutFailed="Payout failed due to a fulfillment issue and is current being retried.",this.payoutApproved="Reward approved for payout and was scheduled for payment based on your settings.",this.payoutCancelled="If you think this is a mistake, contact our Support team."}rewardStatus(e){var t,a,s,r,l,i,n,o,d;const c=null===(t=e.statuses)||void 0===t?void 0:t.includes("EXPIRED"),u=null===(a=e.statuses)||void 0===a?void 0:a.includes("PENDING"),m="INTEGRATION"===e.type||"FUELTANK"===e.type,p=null===(r=null===(s=e.referral)||void 0===s?void 0:s.fraudData)||void 0===r?void 0:r.moderationStatus;if("DENIED"===p)return"DENIED";if("PENDING"===p)return"PENDING_REVIEW";const h=null===(l=e.partnerFundsTransfer)||void 0===l?void 0:l.status;return"TRANSFERRED"===h||"NOT_YET_DUE"===h?"PAYOUT_APPROVED":"OVERDUE"===h?"PAYOUT_FAILED":"REVERSED"===h?"PAYOUT_CANCELLED":e.dateCancelled?"CANCELLED":c?"EXPIRED":u?"PENDING":"CREDIT"===e.type?(null===(i=e.statuses)||void 0===i?void 0:i.includes("REDEEMED"))?"REDEEMED":"AVAILABLE":"PCT_DISCOUNT"===e.type&&(null===(n=e.statuses)||void 0===n?void 0:n.includes("AVAILABLE"))?"AVAILABLE":m&&u?"PENDING":m&&(null===(o=e.statuses)||void 0===o?void 0:o.includes("CANCELLED"))?"CANCELLED":m&&(null===(d=e.statuses)||void 0===d?void 0:d.includes("AVAILABLE"))?"AVAILABLE":""}getTaxPendingReasons(e,t){var a,s,r,l,i;if(null===(a=null==e?void 0:e.pendingReasons)||void 0===a?void 0:a.includes("US_TAX")){if(!(null==t?void 0:t.taxHandlingEnabled))return this.pendingUsTax;if(!(null==t?void 0:t.connected))return this.pendingPartnerCreation;if(null===(s=null==t?void 0:t.publisher)||void 0===s?void 0:s.requiredTaxDocumentType){if(!(null===(r=null==t?void 0:t.publisher)||void 0===r?void 0:r.currentTaxDocument))return this.pendingTaxSubmission;const e=t.publisher.currentTaxDocument.status;if("INACTIVE"===e)return this.pendingNewTaxForm;if("NOT_VERIFIED"===e)return this.pendingTaxReview}if(!(null===(l=null==t?void 0:t.publisher)||void 0===l?void 0:l.withdrawalSettings))return this.pendingPartnerCreation}return(null===(i=null==e?void 0:e.pendingReasons)||void 0===i?void 0:i.includes("PAYOUT_CONFIGURATION_MISSING"))?this.pendingPartnerCreation:""}getBadgeType(e){switch(e){case"AVAILABLE":return"success";case"REDEEMED":case"PAYOUT_APPROVED":return"primary";case"PENDING":case"PENDING_REVIEW":return"warning";default:return"danger"}}getPayoutStatusText(e){switch(e){case"US_TAX":return this.pendingUsTax;case"PAYOUT_APPROVED":return this.payoutApproved;case"PAYOUT_FAILED":return this.payoutFailed;case"PAYOUT_CANCELLED":return this.payoutCancelled;case"PENDING_TAX_REVIEW":return this.pendingTaxReview;case"PENDING_NEW_TAX_FORM":return this.pendingNewTaxForm;case"PENDING_TAX_SUBMISSION":return this.pendingTaxSubmission;case"PENDING_PARTNER_CREATION":return this.pendingPartnerCreation}}render(){var t;o.locale=this.locale;const a=this.rewardStatus(this.reward),s=o.formatMessage({id:"statusMessage",defaultMessage:this.statusText},{status:a}),r=this.getBadgeType(a),l=this.reward.dateCancelled||this.reward.dateExpires||this.reward.dateRedeemed||"",i=l&&`${"AVAILABLE"===a&&this.reward.dateExpires?this.expiryText+" ":""}${null===(t=A.DateTime.fromMillis(l))||void 0===t?void 0:t.setLocale(g(g(this.locale))).toLocaleString(A.DateTime.DATE_MED)}`,n="PENDING"===a?this.getTaxPendingReasons(this.reward,this.taxConnection)||function(e){var t;const a={SCHEDULED:e.reward.dateScheduledFor&&e.pendingScheduled+" "+(null===(t=A.DateTime.fromMillis(e.reward.dateScheduledFor))||void 0===t?void 0:t.setLocale(g(g(e.locale||"en"))).toLocaleString(A.DateTime.DATE_MED)),UNHANDLED_ERROR:e.pendingUnhandled,SUSPECTED_FRAUD:e.pendingReview},s=e.getTaxPendingReasons(e.reward,e.taxConnection);return[...s?[s]:[],...e.reward.pendingReasons.map((e=>{var t;return null!==(t=a[e])&&void 0!==t?t:e}))].join(", ")}(this):null,d="PENDING_REVIEW"===a?this.pendingReviewText:"DENIED"===a?this.deniedText:null,c=(()=>{switch(a){case"AVAILABLE":return B.classes.SuccessBadge;case"REDEEMED":case"PAYOUT_APPROVED":return B.classes.RedeemBadge;case"PENDING":case"PENDING_REVIEW":return B.classes.WarningBadge;default:return B.classes.DangerBadge}})();return e("div",{style:{display:"contents"}},e("style",{type:"text/css"},$),e("sl-badge",{type:r,pill:!0,class:c},s),e("p",{class:B.classes.Date},d||n||this.getPayoutStatusText(a)||i))}},j=class{constructor(e){t(this,e),this.columnTitle="Status",this.statusText="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_CANCELLED {Payout Cancelled} PAYOUT_FAILED {Payout Failed} EXPIRED {Expired} REDEEMED {Redeemed} DENIED {Denied} other {Not available} }",this.expiryText="Expires on ",this.pendingUsTax="W-9 required",this.pendingScheduled="Until",this.pendingUnhandled="Fulfillment error",this.pendingReviewText="Awaiting review",this.deniedText="Detected self-referral",this.pendingTaxReview="Awaiting tax form review.",this.pendingNewTaxForm="Invalid tax form. Submit a new form to receive your rewards.",this.pendingTaxSubmission="Submit your tax documents to receive your rewards.",this.pendingPartnerCreation="Complete your tax and cash payout setup to receive your rewards.",this.payoutFailed="Payout failed due to a fulfillment issue and is current being retried.",this.payoutCancelled="If you think this is a mistake, contact our Support team.",this.payoutApproved="Reward approved for payout and was scheduled for payment based on your settings.",i(this)}disconnectedCallback(){}async renderCell(t,a){return e("sqm-rewards-table-status-cell",{statusText:this.statusText,reward:t,taxConnection:null==a?void 0:a.taxConnection,expiryText:this.expiryText,pendingScheduled:this.pendingScheduled,pendingUsTax:this.pendingUsTax,pendingUnhandled:this.pendingUnhandled,pendingReviewText:this.pendingReviewText,payoutFailed:this.payoutFailed,payoutApproved:this.payoutApproved,payoutCancelled:this.payoutCancelled,deniedText:this.deniedText,locale:null==a?void 0:a.locale})}async renderLabel(){return this.columnTitle}render(){return x([this.columnTitle,this.statusText,this.expiryText,this.pendingReviewText,this.pendingScheduled,this.pendingUsTax,this.pendingUnhandled]),e(a,{style:{display:"none"}})}};export{P as sqm_rewards_table,q as sqm_rewards_table_date_cell,U as sqm_rewards_table_date_column,F as sqm_rewards_table_reward_cell,V as sqm_rewards_table_reward_column,M as sqm_rewards_table_source_cell,G as sqm_rewards_table_source_column,z as sqm_rewards_table_status_cell,j as sqm_rewards_table_status_column}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as t,y as r}from"./p-
|
|
1
|
+
import{i as t,y as r}from"./p-35b2fde0.js";import{_ as s}from"./p-66ac6bed.js";const o="sq:registration-form-state";function i(){const r=t("sq:registration-form-state-internal"),s=t("sq:registration-form-state");return r?[s,r[1]]:[void 0,void 0]}function a(t){const o=s(),[i,a]=r(o,"sq:registration-form-state",t);return r(o,"sq:registration-form-state-internal",[i,a]),{registrationFormState:i,setRegistrationFormState:a}}export{o as R,i as a,a as u}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-88e32c4a.system.js","./p-fca47a45.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.f},function(e){n=e._;r=e.y}],execute:function(){e({a:s,u:i});var u="sqm:request-rerender";function s(e){var r=n();t((function(){r.dispatchEvent(new CustomEvent(u,{detail:true,bubbles:true,composed:true}))}),e)}function i(){var e=n();var s=r(),i=s[0],o=s[1];t((function(){var t=function(e){e.stopPropagation();o()};e.addEventListener(u,t);return function(){e.removeEventListener(u,t)}}),[]);return i}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-88e32c4a.system.js","./p-fca47a45.system.js","./p-6333265f.system.js","./p-ecf91505.system.js","./p-d6c151e3.system.js"],(function(t){"use strict";var n,e,r,a,s,o,i,l,c,u;return{setters:[function(t){n=t.h;e=t.c;r=t.r},function(t){a=t.u;s=t.f;o=t.n},function(t){i=t._},function(t){l=t.g},function(t){c=t.u},function(t){u=t.u}],execute:function(){var p=function(t){var r=t.content,a=t.placement,s=t.textColor,o=s===void 0?"var(--sqm-text)":s;var i=!a||a==="top"||a==="bottom"?"var(--sl-spacing-x-large) 0;":"0 var(--sl-spacing-xx-large);";var l="\n sl-tab-panel::part(base) {\n padding: "+i+";\n }\n\n sl-tab::part(base) {\n color: "+o+";\n }\n\n sl-tab-group {\n --sl-color-primary-500: var(--sqm-accent-color-icon);\n }\n\n sl-tab-group::part(tabs) {\n border-bottom: 2px solid var(--sqm-border-color);\n }\n ";return n(e,null,n("style",{type:"text/css"},l),n("sl-tab-group",{placement:a},r.tabs.map((function(t){var e=t.getAttribute("slot");if(t.tagName==="RAISINS-PLOP-TARGET"){return n("sl-tab",{slot:"nav"},n("div",{style:{marginTop:"10px"}},n("slot",{name:e})))}return[n("sl-tab",{slot:"nav",panel:e,part:"tab",id:t.getAttribute("id")||e},t.getAttribute("header")),n("sl-tab-panel",{name:e},n("slot",{name:e}))]}))),n("div",{style:{display:"none"}},n("slot",null)))};var v="sq:reveal";function b(){var t=u();var n=i();var e=c();var r=a((function(){return t.filter((function(t){return t.tagName==="SQM-TAB"||t.tagName==="RAISINS-PLOP-TARGET"})).map((function(t,n){if(t.tagName==="RAISINS-PLOP-TARGET"){var e=t;e.style.position="absolute";e.style.left="6px";var r=t.firstElementChild.childNodes[1];r.innerHTML="+";r.style.lineHeight="20px"}t.setAttribute("slot","tab-"+n);t.setAttribute("id","tab-"+n);return t}))}),[t,e]);s((function(){var t=function(t){var e;var r=t.target;t.stopPropagation();if(!r)return;var a=r.closest("sqm-tabs");if(!n.contains(r)||!a)return;var s=r.closest("sqm-tab");var o=a.shadowRoot.querySelector("sl-tab-group");(e=o)===null||e===void 0?void 0:e.show(s.id)};n.addEventListener(v,t);return function(){n.removeEventListener(v,t)}}),[]);return{content:{tabs:r}}}var f=t("sqm_tabs",function(){function t(t){r(this,t);o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=b().content;var e=l(this),r=e.placement,a=e.textColor;return n(p,{placement:r,content:t,textColor:a},n("slot",null))};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-f708da7b.js";import{u as i,f as r,n as o}from"./p-cd651f81.js";import"./p-dc293b10.js";import{M as a,_ as n,J as s,L as u,I as h,S as c,i as d}from"./p-94a876b9.js";import{c as m}from"./p-c1086930.js";import{g as l}from"./p-9ec99ced.js";import"./p-cef45012.js";import{E as p}from"./p-9acb5038.js";import{g as f,L as y}from"./p-0984523b.js";import{e as v,p as b}from"./p-0797a946.js";import{T as g,a as x,U as T,C as S,b as w,S as k,c as P,G as I,d as C,e as A,F as B,f as q,g as N,h as V}from"./p-c75a3b4a.js";const E=class{constructor(e){t(this,e),this.step1_firstName="First name",this.step1_lastName="Last name",this.step1_email="Email",this.step1_country="Country",this.step1_phoneNumber="Phone number",this.step1_address="Address",this.step1_city="City",this.step1_state="State",this.step1_province="Province",this.step1_region="Region",this.step1_postalCode="Postal code",this.step1_currency="Currency",this.step1_currencyHelpText="Choose your preferred payout currency",this.step1_allowBankingCollection="I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information",this.step1_personalInformation="Personal Information",this.step1_termsAndConditionsLabel="terms and conditions",this.step1_termsAndConditionsLink="https://terms.advocate.impact.com/PayoutTermsAndConditions.html",this.step1_searchForCurrencyText="Search for currency..",this.step2_indirectTax="Indirect Tax",this.step2_indirectTaxDescription="Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.",this.step2_indirectTaxDetails="Indirect tax details",this.step2_otherRegion="Registered for indirect tax",this.step2_otherRegionSubtext="If you’ve registered with your tax authority, add your information to stay tax compliant.",this.step2_notRegistered="Not registered for indirect tax",this.step2_notRegisteredSubtext="If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.",this.step2_selectedRegion="Country / region of indirect tax",this.step2_indirectTaxNumber="{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}",this.step2_province="Province",this.step2_indirectTaxNumberError="{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required",this.step2_qstNumber="QST number",this.step2_isRegisteredQST="I am registered for QST Tax",this.step2_isRegisteredSubRegionIncomeTax="I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.",this.step2_subRegion="Sub-region",this.step2_subRegionTaxNumberLabel="Income Tax Number",this.step2_cannotChangeInfoAlert="Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.",this.step3_taxForm="Tax form",this.step3_taxFormLabel="{documentType} Tax Form",this.step3_participantType="Participant type",this.step3_businessEntity="I represent a business",this.step3_individualParticipant="I am an individual participant",this.step3_taxFormDescription="Participants based in the US need to submit a {documentType} form.",this.step3_taxFormDescriptionIndividualParticipant="Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.",this.step3_taxFormDescriptionBusinessEntity="Participants residing outside of the US who represent a business entity need to submit a {documentType} form.",this.step3_docusignExpired="For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.",this.step3_docusignSessionWarning="For your security, we automatically end your session when you have not interacted with the form after 20 minutes.",this.step3_docusignError="There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.",this.step3_refreshButton="Refresh Page",this.step3_exitButton="Exit",this.step4_taxAndPayouts="Payouts",this.step4_directlyToBankAccount="Directly to my bank account",this.step4_toPayPalAccount="PayPal (2% processing fee capped to {feeCap})",this.step4_paymentScheduleBalanceThreshold="Pay me when my balance reaches a threshold",this.step4_paymentScheduleFixedDay="Pay me on a fixed day of the month",this.step4_paymentDaySelectLabel="Payment Day",this.step4_paymentThresholdSelectLabel="Payment threshold",this.step4_paymentDayFirstOfMonthLabelText="1st of the month",this.step4_paymentDayFifteenthOfMonthLabelText="15th of the month",this.step4_paymentMethod="Payment method",this.step4_paymentSchedule="Payment schedule",this.step4_paymentMethodSubtext="Payouts will be sent from our referral program provider, impact.com.",this.step4_payPalInputLabel="PayPal email",this.step4_bankLocationLabel="Bank country location",this.step4_beneficiaryAccountNameLabel="Beneficiary account name",this.step4_bankAccountTypeLabel="Bank account type",this.step4_checkingSelectItemLabel="Checking",this.step4_savingsSelectItemLabel="Savings",this.step4_bankAccountNumberLabel="Bank account number",this.step4_ibanLabel="IBAN",this.step4_swiftCodeLabel="SWIFT code",this.step4_routingCodeLabel="{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }",this.step4_bankNameLabel="Bank name",this.step4_classificationEntityLabel="Classification entity",this.step4_businessSelectItemLabel="Business",this.step4_individualSelectItemLabel="Individual",this.step4_foreignSelectItemLabel="Foreign",this.step4_classificationCPFLabel="Classification CPF",this.step4_patronymicNameLabel="Patronymic name",this.step4_voCodeLabel="VO code",this.step4_agencyCodeLabel="Agency code",this.step4_branchCodeLabel="Branch code",this.step4_classificationLabel="Classification",this.step4_taxPayerIdLabel="Beneficiary INN",this.step4_bankAddressLabel="Bank address",this.step4_bankCityLabel="Bank city",this.step4_bankStateLabel="Bank Province / State",this.step4_bankPostalCodeLabel="Bank postal code",this.step4_eftWithdrawalLabel="EFT Withdrawal (free)",this.step4_fxWireProcessingFeeLabel="FX Wire (Processing Fee {currency}{defaultFxFee}.00)",this.step4_verifyEmailHeaderText="Verify your email",this.step4_verifyEmailDescriptionText="Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.",this.dashboard_statusTextActive="Active",this.dashboard_statusTextNotActive="Invalid Tax Form",this.dashboard_statusTextNotVerified="Not Verified",this.dashboard_badgeTextSubmittedOn="Submitted on {dateSubmitted}.",this.dashboard_badgeTextSubmittedOnW8="Submitted on {dateSubmitted}. Valid for three years after submission.",this.dashboard_badgeTextAwaitingReview="Awaiting review. Submitted on {dateSubmitted}.",this.dashboard_taxAlertHeaderNotActiveW9="Your W9 tax form has personal information that doesn’t match your profile",this.dashboard_taxAlertHeaderNotActiveW8="{documentType} tax form is invalid",this.dashboard_taxAlertNotActiveMessageW9="Please resubmit a new {documentType} form.",this.dashboard_taxAlertNotActiveMessageW8="Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.",this.dashboard_invalidForm="Make sure your information is correct and submit new form.",this.dashboard_bankingInformationSectionHeader="Payout Information",this.dashboard_taxDocumentSectionHeader="Tax documents",this.dashboard_taxDocumentSectionSubHeader="{documentType} tax form",this.dashboard_noFormNeededSubtext="Tax documents are only required if you are based in the US or joining the referral program of a US based brand.",this.dashboard_indirectTaxInfoSectionHeader="Indirect tax",this.dashboard_indirectTaxInfoCanada="Registered in {province}, {country}",this.dashboard_indirectTaxInfoOtherCountry="Registered in {country}",this.dashboard_indirectTaxInfoSpain="Registered in {country}, {subRegion}",this.dashboard_indirectTaxTooltipSupport="To make changes to your indirect tax information, please contact our {supportLink}.",this.dashboard_indirectTaxDetails="{indirectTaxType} number: {indirectTaxNumber}",this.dashboard_newFormButton="Submit new form",this.dashboard_editPaymentInformationButton="Edit Payout Information",this.dashboard_notRegisteredForTax="Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.",this.dashboard_qstNumber="QST number: {qstNumber}",this.dashboard_subRegionTaxNumber="Income tax number: {subRegionTaxNumber}",this.dashboard_statusBadgeText="{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }",this.dashboard_thresholdPayoutText="Next payout occurs when balance is {thresholdBalance}",this.dashboard_accountText="Account",this.dashboard_invoiceColumnTitle="Invoice",this.dashboard_dateColumnTitle="Date",this.dashboard_earningsColumnTitle="Earnings",this.dashboard_indirectTaxColumnTitle="Indirect tax",this.dashboard_payoutFromImpact="Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.",this.dashboard_earningsAfterTaxColumnTitle="Earnings after tax",this.dashboard_payoutHoldAlertHeader="Your payout is on hold",this.dashboard_payoutHoldAlertDescription="Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.",this.dashboard_payoutMissingInformationText="Missing banking information, go to Impact.com to resolve.",this.dashboard_invoiceDescription="View and download your invoices to report your earnings and stay tax compliant.",this.dashboard_invoicePrevLabel="Prev",this.dashboard_invoiceMoreLabel="Next",this.dashboard_invoiceHeader="Invoices",this.dashboard_invoiceEmptyStateHeader="View your invoice details",this.dashboard_invoiceEmptyStateText="Refer a friend to view the status of your invoices and rewards earned",this.dashboard_replaceTaxFormModalHeader="Replace existing tax form",this.dashboard_replaceTaxFormModalBodyText="Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.",this.dashboard_verificationRequiredHeader="Verify your identity",this.dashboard_verificationRequiredDescription="Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.",this.dashboard_verificationRequiredInternalHeader="Identity Verification in Progress",this.dashboard_verificationRequiredInternalDescription="Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.",this.dashboard_verificationReviewInternalHeader="Identity Verification Under Review",this.dashboard_verificationReviewInternalDescription="Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.",this.dashboard_verificationFailedInternalHeader="Identity Verification Unsuccessful",this.dashboard_verificationFailedInternalDescription="Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.",this.dashboard_verificationRequiredButtonText="Start Verification",this.formStep="Step {step} of {count}",this.generalErrorTitle="There was a problem submitting your information",this.generalErrorDescription="Please review your information and try again. If this problem continues, contact our {supportLink}.",this.fieldRequiredError="{fieldName} is required",this.invalidCharacterError="{fieldName} includes characters that aren't supported.",this.fieldInvalidError="{fieldName} is invalid",this.continueButton="Continue",this.backButton="Back",this.cancelButton="Cancel",this.isPartnerAlertHeader="An account with this email already exists with our referral program provider, impact.com",this.isPartnerAlertDescription="If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.",this.searchForCountryText="Search for country..",this.loadingErrorAlertHeader="There was a problem loading your form",this.loadingErrorAlertDescription="Please refresh the page and try again. If this problem continues, contact our {supportLink}.",this.taxAndPayoutsDescription="Submit your tax documents and add your banking information to receive your rewards.",this.supportLink="support team",this.stateController="{}",o(this)}disconnectedCallback(){}getGeneralStepTextProps(t){const e=l(this);return{...v(e,t),generalErrorTitle:e.generalErrorTitle,generalErrorDescription:e.generalErrorDescription,fieldRequiredError:e.fieldRequiredError,invalidCharacterError:e.invalidCharacterError,fieldInvalidError:e.fieldInvalidError,continueButton:e.continueButton,backButton:e.backButton,cancelButton:e.cancelButton,isPartnerAlertHeader:e.isPartnerAlertHeader,isPartnerAlertDescription:e.isPartnerAlertDescription,loadingErrorAlertHeader:e.loadingErrorAlertHeader,loadingErrorAlertDescription:e.loadingErrorAlertDescription,taxAndPayoutsDescription:e.taxAndPayoutsDescription,searchForCountryText:e.searchForCountryText,formStep:e.formStep,supportLink:e.supportLink}}render(){var t,o;const E=d()?function(t){const[e,i]=h({namespace:g,initialValue:"/1"});console.log("PROPS",t);const r=b(t.stateController),o=Object.keys(r).reduce(((t,e)=>"sqm-tax-and-cash"===e?{...t,...r[e]}:{...t,[`${e}_stateController`]:r[e]}),{});return m({step:e,setStep:i},t.demoData||o||{},{arrayMerge:(t,e)=>e})}(this):function(){var t,e,o,d,m;const l=n(),p=s(),y=u(),[v,b]=h({namespace:g,initialValue:"/loading"}),[E,j]=h({namespace:x,initialValue:{}}),[L,R]=h({namespace:T,initialValue:{firstName:void 0,lastName:void 0,email:void 0,countryCode:void 0,currency:void 0}}),[_,F]=h({namespace:S,initialValue:[]}),[O,U]=h({namespace:w,initialValue:[]}),[D,G]=h({namespace:k,initialValue:[]}),{data:H,errors:M}=c({namespace:P,query:I,skip:!p,options:{batch:!1}}),Y=(null===(o=null===(e=null===(t=null==H?void 0:H.user)||void 0===t?void 0:t.impactConnection)||void 0===e?void 0:e.publisher)||void 0===o?void 0:o.countryCode)||L.countryCode;c({namespace:C,query:A,skip:!p});const{data:W}=c({namespace:B,query:q,skip:!p,variables:{filter:function(){var t,e,i;return"/1"===v?{}:"/4"===v?{currency_eq:null===(i=null===(e=null===(t=null==H?void 0:H.user)||void 0===t?void 0:t.impactConnection)||void 0===e?void 0:e.publisher)||void 0===i?void 0:i.currency}:Y?{countryCode_eq:Y}:{}}()}}),{data:Q}=c({namespace:N,query:V,skip:!p,variables:{locale:y}}),Z=i((()=>{var t,e;return null===(e=null===(t=null==W?void 0:W.impactFinanceNetworkSettings)||void 0===t?void 0:t.data)||void 0===e?void 0:e.reduce(((t,e)=>{var i,r;const o=null===(r=null===(i=null==Q?void 0:Q.currencies)||void 0===i?void 0:i.data)||void 0===r?void 0:r.find((t=>t.currencyCode===e.currency));return o?t.find((t=>t.currencyCode===e.currency))||L.countryCode&&e.countryCode!==Y?t:[...t,o]:t}),[])}),[W,Y]),z=(null==y?void 0:y.replace("_","-"))||"en",K=(t,e)=>t.displayName<e.displayName?-1:1,X=null===(d=null==W?void 0:W.impactFinanceNetworkSettings)||void 0===d?void 0:d.data,$=i((()=>new Set(null==X?void 0:X.map((t=>t.countryCode)).filter((t=>t)))),[X]),J=["CA","GB","US"],tt=i((()=>Array.from($).map((t=>f({countryCode:t,locale:z}))).sort(K).reduce(((t,e)=>J.includes(e.countryCode)?[e,...t]:[...t,e]),[])),[$]);return r((()=>{tt&&G(tt)}),[tt]),r((()=>{Z&&F(Z)}),[Z]),r((()=>{if(M)b("/error");else if(l&&p&&H){const t=null==H?void 0:H.user;if(!t||"/loading"!==v)return;const e=function(t){var e,i;if(!(null===(e=t.impactConnection)||void 0===e?void 0:e.connected)||!(null===(i=t.impactConnection)||void 0===i?void 0:i.publisher))return"/1";const{requiredTaxDocumentType:r,currentTaxDocument:o,withdrawalSettings:a,brandedSignup:n}=t.impactConnection.publisher;return r&&!o?"/3":!a&&n?"/4":"/dashboard"}(t);b(e)}}),[l,p,null===(m=null==H?void 0:H.user)||void 0===m?void 0:m.email,M]),{step:v,setStep:b,context:E,namespace:a(g),loading:"/loading"===v}}();if(null===(t=this.demoData)||void 0===t?void 0:t.showTextProps){const t=l(this);return e("div",null,null===(o=Object.keys(t))||void 0===o?void 0:o.map((t=>{if("demoData"!==t)return e("div",null,e("b",null,t,":")," ",this[t],e("hr",null))})))}return(()=>{switch(E.step){case"/1":return e("sqm-user-info-form",Object.assign({},this.getGeneralStepTextProps("step1_"),v(E,"sqm-user-info-form_")));case"/2":return e("sqm-indirect-tax-form",Object.assign({},this.getGeneralStepTextProps("step2_"),v(E,"sqm-indirect-tax-form_")));case"/3":return e("sqm-docusign-form",Object.assign({},this.getGeneralStepTextProps("step3_"),v(E,"sqm-docusign-form_")));case"/4":return e("sqm-banking-info-form",Object.assign({},this.getGeneralStepTextProps("step4_"),v(E,"sqm-banking-info-form_")));case"/dashboard":return e("sqm-tax-and-cash-dashboard",Object.assign({},this.getGeneralStepTextProps("dashboard_"),v(E,"sqm-tax-and-cash-dashboard_")));case"/error":return e(p,{loadingErrorAlertHeader:this.loadingErrorAlertHeader,loadingErrorAlertDescription:this.loadingErrorAlertDescription})}})()||e(y,null)}};export{E as sqm_tax_and_cash}
|
|
1
|
+
import{r as t,h as e}from"./p-c7c11325.js";import{u as i,f as r,n as o}from"./p-35b2fde0.js";import"./p-a348f9b9.js";import{M as a,_ as n,J as s,L as u,I as h,S as c,i as d}from"./p-66ac6bed.js";import{c as m}from"./p-c1086930.js";import{g as l}from"./p-9ec99ced.js";import"./p-cef45012.js";import{E as p}from"./p-24af584d.js";import{g as f,L as y}from"./p-7274fe6e.js";import{e as v,p as b}from"./p-0797a946.js";import{T as g,a as x,U as T,C as S,b as w,S as k,c as P,G as I,d as C,e as A,F as B,f as q,g as N,h as V}from"./p-3206d0a4.js";const E=class{constructor(e){t(this,e),this.step1_firstName="First name",this.step1_lastName="Last name",this.step1_email="Email",this.step1_country="Country",this.step1_phoneNumber="Phone number",this.step1_address="Address",this.step1_city="City",this.step1_state="State",this.step1_province="Province",this.step1_region="Region",this.step1_postalCode="Postal code",this.step1_currency="Currency",this.step1_currencyHelpText="Choose your preferred payout currency",this.step1_allowBankingCollection="I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information",this.step1_personalInformation="Personal Information",this.step1_termsAndConditionsLabel="terms and conditions",this.step1_termsAndConditionsLink="https://terms.advocate.impact.com/PayoutTermsAndConditions.html",this.step1_searchForCurrencyText="Search for currency..",this.step2_indirectTax="Indirect Tax",this.step2_indirectTaxDescription="Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.",this.step2_indirectTaxDetails="Indirect tax details",this.step2_otherRegion="Registered for indirect tax",this.step2_otherRegionSubtext="If you’ve registered with your tax authority, add your information to stay tax compliant.",this.step2_notRegistered="Not registered for indirect tax",this.step2_notRegisteredSubtext="If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.",this.step2_selectedRegion="Country / region of indirect tax",this.step2_indirectTaxNumber="{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}",this.step2_province="Province",this.step2_indirectTaxNumberError="{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required",this.step2_qstNumber="QST number",this.step2_isRegisteredQST="I am registered for QST Tax",this.step2_isRegisteredSubRegionIncomeTax="I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.",this.step2_subRegion="Sub-region",this.step2_subRegionTaxNumberLabel="Income Tax Number",this.step2_cannotChangeInfoAlert="Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.",this.step3_taxForm="Tax form",this.step3_taxFormLabel="{documentType} Tax Form",this.step3_participantType="Participant type",this.step3_businessEntity="I represent a business",this.step3_individualParticipant="I am an individual participant",this.step3_taxFormDescription="Participants based in the US need to submit a {documentType} form.",this.step3_taxFormDescriptionIndividualParticipant="Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.",this.step3_taxFormDescriptionBusinessEntity="Participants residing outside of the US who represent a business entity need to submit a {documentType} form.",this.step3_docusignExpired="For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.",this.step3_docusignSessionWarning="For your security, we automatically end your session when you have not interacted with the form after 20 minutes.",this.step3_docusignError="There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.",this.step3_refreshButton="Refresh Page",this.step3_exitButton="Exit",this.step4_taxAndPayouts="Payouts",this.step4_directlyToBankAccount="Directly to my bank account",this.step4_toPayPalAccount="PayPal (2% processing fee capped to {feeCap})",this.step4_paymentScheduleBalanceThreshold="Pay me when my balance reaches a threshold",this.step4_paymentScheduleFixedDay="Pay me on a fixed day of the month",this.step4_paymentDaySelectLabel="Payment Day",this.step4_paymentThresholdSelectLabel="Payment threshold",this.step4_paymentDayFirstOfMonthLabelText="1st of the month",this.step4_paymentDayFifteenthOfMonthLabelText="15th of the month",this.step4_paymentMethod="Payment method",this.step4_paymentSchedule="Payment schedule",this.step4_paymentMethodSubtext="Payouts will be sent from our referral program provider, impact.com.",this.step4_payPalInputLabel="PayPal email",this.step4_bankLocationLabel="Bank country location",this.step4_beneficiaryAccountNameLabel="Beneficiary account name",this.step4_bankAccountTypeLabel="Bank account type",this.step4_checkingSelectItemLabel="Checking",this.step4_savingsSelectItemLabel="Savings",this.step4_bankAccountNumberLabel="Bank account number",this.step4_ibanLabel="IBAN",this.step4_swiftCodeLabel="SWIFT code",this.step4_routingCodeLabel="{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }",this.step4_bankNameLabel="Bank name",this.step4_classificationEntityLabel="Classification entity",this.step4_businessSelectItemLabel="Business",this.step4_individualSelectItemLabel="Individual",this.step4_foreignSelectItemLabel="Foreign",this.step4_classificationCPFLabel="Classification CPF",this.step4_patronymicNameLabel="Patronymic name",this.step4_voCodeLabel="VO code",this.step4_agencyCodeLabel="Agency code",this.step4_branchCodeLabel="Branch code",this.step4_classificationLabel="Classification",this.step4_taxPayerIdLabel="Beneficiary INN",this.step4_bankAddressLabel="Bank address",this.step4_bankCityLabel="Bank city",this.step4_bankStateLabel="Bank Province / State",this.step4_bankPostalCodeLabel="Bank postal code",this.step4_eftWithdrawalLabel="EFT Withdrawal (free)",this.step4_fxWireProcessingFeeLabel="FX Wire (Processing Fee {currency}{defaultFxFee}.00)",this.step4_verifyEmailHeaderText="Verify your email",this.step4_verifyEmailDescriptionText="Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.",this.dashboard_statusTextActive="Active",this.dashboard_statusTextNotActive="Invalid Tax Form",this.dashboard_statusTextNotVerified="Not Verified",this.dashboard_badgeTextSubmittedOn="Submitted on {dateSubmitted}.",this.dashboard_badgeTextSubmittedOnW8="Submitted on {dateSubmitted}. Valid for three years after submission.",this.dashboard_badgeTextAwaitingReview="Awaiting review. Submitted on {dateSubmitted}.",this.dashboard_taxAlertHeaderNotActiveW9="Your W9 tax form has personal information that doesn’t match your profile",this.dashboard_taxAlertHeaderNotActiveW8="{documentType} tax form is invalid",this.dashboard_taxAlertNotActiveMessageW9="Please resubmit a new {documentType} form.",this.dashboard_taxAlertNotActiveMessageW8="Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.",this.dashboard_invalidForm="Make sure your information is correct and submit new form.",this.dashboard_bankingInformationSectionHeader="Payout Information",this.dashboard_taxDocumentSectionHeader="Tax documents",this.dashboard_taxDocumentSectionSubHeader="{documentType} tax form",this.dashboard_noFormNeededSubtext="Tax documents are only required if you are based in the US or joining the referral program of a US based brand.",this.dashboard_indirectTaxInfoSectionHeader="Indirect tax",this.dashboard_indirectTaxInfoCanada="Registered in {province}, {country}",this.dashboard_indirectTaxInfoOtherCountry="Registered in {country}",this.dashboard_indirectTaxInfoSpain="Registered in {country}, {subRegion}",this.dashboard_indirectTaxTooltipSupport="To make changes to your indirect tax information, please contact our {supportLink}.",this.dashboard_indirectTaxDetails="{indirectTaxType} number: {indirectTaxNumber}",this.dashboard_newFormButton="Submit new form",this.dashboard_editPaymentInformationButton="Edit Payout Information",this.dashboard_notRegisteredForTax="Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.",this.dashboard_qstNumber="QST number: {qstNumber}",this.dashboard_subRegionTaxNumber="Income tax number: {subRegionTaxNumber}",this.dashboard_statusBadgeText="{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }",this.dashboard_thresholdPayoutText="Next payout occurs when balance is {thresholdBalance}",this.dashboard_accountText="Account",this.dashboard_invoiceColumnTitle="Invoice",this.dashboard_dateColumnTitle="Date",this.dashboard_earningsColumnTitle="Earnings",this.dashboard_indirectTaxColumnTitle="Indirect tax",this.dashboard_payoutFromImpact="Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.",this.dashboard_earningsAfterTaxColumnTitle="Earnings after tax",this.dashboard_payoutHoldAlertHeader="Your payout is on hold",this.dashboard_payoutHoldAlertDescription="Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.",this.dashboard_payoutMissingInformationText="Missing banking information, go to Impact.com to resolve.",this.dashboard_invoiceDescription="View and download your invoices to report your earnings and stay tax compliant.",this.dashboard_invoicePrevLabel="Prev",this.dashboard_invoiceMoreLabel="Next",this.dashboard_invoiceHeader="Invoices",this.dashboard_invoiceEmptyStateHeader="View your invoice details",this.dashboard_invoiceEmptyStateText="Refer a friend to view the status of your invoices and rewards earned",this.dashboard_replaceTaxFormModalHeader="Replace existing tax form",this.dashboard_replaceTaxFormModalBodyText="Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.",this.dashboard_verificationRequiredHeader="Verify your identity",this.dashboard_verificationRequiredDescription="Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.",this.dashboard_verificationRequiredInternalHeader="Identity Verification in Progress",this.dashboard_verificationRequiredInternalDescription="Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.",this.dashboard_verificationReviewInternalHeader="Identity Verification Under Review",this.dashboard_verificationReviewInternalDescription="Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.",this.dashboard_verificationFailedInternalHeader="Identity Verification Unsuccessful",this.dashboard_verificationFailedInternalDescription="Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.",this.dashboard_verificationRequiredButtonText="Start Verification",this.formStep="Step {step} of {count}",this.generalErrorTitle="There was a problem submitting your information",this.generalErrorDescription="Please review your information and try again. If this problem continues, contact our {supportLink}.",this.fieldRequiredError="{fieldName} is required",this.invalidCharacterError="{fieldName} includes characters that aren't supported.",this.fieldInvalidError="{fieldName} is invalid",this.continueButton="Continue",this.backButton="Back",this.cancelButton="Cancel",this.isPartnerAlertHeader="An account with this email already exists with our referral program provider, impact.com",this.isPartnerAlertDescription="If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.",this.searchForCountryText="Search for country..",this.loadingErrorAlertHeader="There was a problem loading your form",this.loadingErrorAlertDescription="Please refresh the page and try again. If this problem continues, contact our {supportLink}.",this.taxAndPayoutsDescription="Submit your tax documents and add your banking information to receive your rewards.",this.supportLink="support team",this.stateController="{}",o(this)}disconnectedCallback(){}getGeneralStepTextProps(t){const e=l(this);return{...v(e,t),generalErrorTitle:e.generalErrorTitle,generalErrorDescription:e.generalErrorDescription,fieldRequiredError:e.fieldRequiredError,invalidCharacterError:e.invalidCharacterError,fieldInvalidError:e.fieldInvalidError,continueButton:e.continueButton,backButton:e.backButton,cancelButton:e.cancelButton,isPartnerAlertHeader:e.isPartnerAlertHeader,isPartnerAlertDescription:e.isPartnerAlertDescription,loadingErrorAlertHeader:e.loadingErrorAlertHeader,loadingErrorAlertDescription:e.loadingErrorAlertDescription,taxAndPayoutsDescription:e.taxAndPayoutsDescription,searchForCountryText:e.searchForCountryText,formStep:e.formStep,supportLink:e.supportLink}}render(){var t,o;const E=d()?function(t){const[e,i]=h({namespace:g,initialValue:"/1"});console.log("PROPS",t);const r=b(t.stateController),o=Object.keys(r).reduce(((t,e)=>"sqm-tax-and-cash"===e?{...t,...r[e]}:{...t,[`${e}_stateController`]:r[e]}),{});return m({step:e,setStep:i},t.demoData||o||{},{arrayMerge:(t,e)=>e})}(this):function(){var t,e,o,d,m;const l=n(),p=s(),y=u(),[v,b]=h({namespace:g,initialValue:"/loading"}),[E,j]=h({namespace:x,initialValue:{}}),[L,R]=h({namespace:T,initialValue:{firstName:void 0,lastName:void 0,email:void 0,countryCode:void 0,currency:void 0}}),[_,F]=h({namespace:S,initialValue:[]}),[O,U]=h({namespace:w,initialValue:[]}),[D,G]=h({namespace:k,initialValue:[]}),{data:H,errors:M}=c({namespace:P,query:I,skip:!p,options:{batch:!1}}),Y=(null===(o=null===(e=null===(t=null==H?void 0:H.user)||void 0===t?void 0:t.impactConnection)||void 0===e?void 0:e.publisher)||void 0===o?void 0:o.countryCode)||L.countryCode;c({namespace:C,query:A,skip:!p});const{data:W}=c({namespace:B,query:q,skip:!p,variables:{filter:function(){var t,e,i;return"/1"===v?{}:"/4"===v?{currency_eq:null===(i=null===(e=null===(t=null==H?void 0:H.user)||void 0===t?void 0:t.impactConnection)||void 0===e?void 0:e.publisher)||void 0===i?void 0:i.currency}:Y?{countryCode_eq:Y}:{}}()}}),{data:Q}=c({namespace:N,query:V,skip:!p,variables:{locale:y}}),Z=i((()=>{var t,e;return null===(e=null===(t=null==W?void 0:W.impactFinanceNetworkSettings)||void 0===t?void 0:t.data)||void 0===e?void 0:e.reduce(((t,e)=>{var i,r;const o=null===(r=null===(i=null==Q?void 0:Q.currencies)||void 0===i?void 0:i.data)||void 0===r?void 0:r.find((t=>t.currencyCode===e.currency));return o?t.find((t=>t.currencyCode===e.currency))||L.countryCode&&e.countryCode!==Y?t:[...t,o]:t}),[])}),[W,Y]),z=(null==y?void 0:y.replace("_","-"))||"en",K=(t,e)=>t.displayName<e.displayName?-1:1,X=null===(d=null==W?void 0:W.impactFinanceNetworkSettings)||void 0===d?void 0:d.data,$=i((()=>new Set(null==X?void 0:X.map((t=>t.countryCode)).filter((t=>t)))),[X]),J=["CA","GB","US"],tt=i((()=>Array.from($).map((t=>f({countryCode:t,locale:z}))).sort(K).reduce(((t,e)=>J.includes(e.countryCode)?[e,...t]:[...t,e]),[])),[$]);return r((()=>{tt&&G(tt)}),[tt]),r((()=>{Z&&F(Z)}),[Z]),r((()=>{if(M)b("/error");else if(l&&p&&H){const t=null==H?void 0:H.user;if(!t||"/loading"!==v)return;const e=function(t){var e,i;if(!(null===(e=t.impactConnection)||void 0===e?void 0:e.connected)||!(null===(i=t.impactConnection)||void 0===i?void 0:i.publisher))return"/1";const{requiredTaxDocumentType:r,currentTaxDocument:o,withdrawalSettings:a,brandedSignup:n}=t.impactConnection.publisher;return r&&!o?"/3":!a&&n?"/4":"/dashboard"}(t);b(e)}}),[l,p,null===(m=null==H?void 0:H.user)||void 0===m?void 0:m.email,M]),{step:v,setStep:b,context:E,namespace:a(g),loading:"/loading"===v}}();if(null===(t=this.demoData)||void 0===t?void 0:t.showTextProps){const t=l(this);return e("div",null,null===(o=Object.keys(t))||void 0===o?void 0:o.map((t=>{if("demoData"!==t)return e("div",null,e("b",null,t,":")," ",this[t],e("hr",null))})))}return(()=>{switch(E.step){case"/1":return e("sqm-user-info-form",Object.assign({},this.getGeneralStepTextProps("step1_"),v(E,"sqm-user-info-form_")));case"/2":return e("sqm-indirect-tax-form",Object.assign({},this.getGeneralStepTextProps("step2_"),v(E,"sqm-indirect-tax-form_")));case"/3":return e("sqm-docusign-form",Object.assign({},this.getGeneralStepTextProps("step3_"),v(E,"sqm-docusign-form_")));case"/4":return e("sqm-banking-info-form",Object.assign({},this.getGeneralStepTextProps("step4_"),v(E,"sqm-banking-info-form_")));case"/dashboard":return e("sqm-tax-and-cash-dashboard",Object.assign({},this.getGeneralStepTextProps("dashboard_"),v(E,"sqm-tax-and-cash-dashboard_")));case"/error":return e(p,{loadingErrorAlertHeader:this.loadingErrorAlertHeader,loadingErrorAlertDescription:this.loadingErrorAlertDescription})}})()||e(y,null)}};export{E as sqm_tax_and_cash}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-88e32c4a.system.js","./p-fca47a45.system.js","./p-6333265f.system.js","./p-7ae8fb53.system.js"],(function(e){"use strict";var t,n,r,a,o,i,s,u,d,l,c;return{setters:[function(e){t=e.r;n=e.h;r=e.c},function(e){a=e.b;o=e.k;i=e.i;s=e.f;u=e.n},function(e){d=e._},function(e){l=e.g},function(e){c=e.p}],execute:function(){var f=a("sq:useRouter");function v(e,t){if(!e)return;var n=c(e);return n.exec(t)}function p(e){var t=d();var n=o(undefined),r=n[0],a=n[1];var u=o(undefined),l=u[0],c=u[1];var p=e.contextName;var m=i(p);s((function(){var e=t.querySelectorAll("sqm-route");var n=Array.from(e);n.forEach((function(e){var t=document.createElement("template");t.setAttribute("path",e.path);t.innerHTML=e.innerHTML;e.parentNode.appendChild(t);e.parentNode.removeChild(e)}))}),[]);s((function(){var e,t;if(!l||!r){f("DOM not ready for navigation rendering on:",m);return}var n=r.querySelectorAll("template");var a=Array.from(n);var o=a.find((function(e){var t,n,r;var a=(n=(t=e.attributes)===null||t===void 0?void 0:t.path)===null||n===void 0?void 0:n.nodeValue;if((r=v(a,m))===null||r===void 0?void 0:r.length)return e}));var i=(t=(e=o===null||o===void 0?void 0:o.attributes)===null||e===void 0?void 0:e.path)===null||t===void 0?void 0:t.nodeValue;f({containerDatasetPage:l.dataset.page,templatePath:i,page:m});if(!o){f("No matching page found for ",m,", so render nothing");l.innerHTML="";l.dataset.page=m;return}f("Page updated to ",m,o);if(!!v(i,l.dataset.page)){f("don't rerender")}else if(o){l.innerHTML=o.innerHTML;l.dataset.page=m}}),[r,l,m]);return{callbacks:{setSlot:a,setContainer:c}}}var m="sqm-router{display:contents}";var y=e("sqm_context_router",function(){function e(e){t(this,e);this.ignored=true;u(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=p(l(this)).callbacks;return n(r,null,n("div",{ref:e.setSlot,style:{display:"none"}},n("slot",null)),n("div",{style:{display:"contents"},ref:e.setContainer}))};return e}());y.style=m}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js"],(function(t){"use strict";var o,r,e;return{setters:[function(t){o=t.h},function(t){r=t.c},function(t){e=t.H}],execute:function(){t("C",s);var n="\n :host{\n display: block; \n width: 100%;\n }\n";var i={right:"\nsl-input::part(input){\n text-align: right;\n}",center:" \nsl-input::part(input){\n text-align: center;\n}",left:""};var l="\n sl-input::part(input){\n cursor: default;\n }\n";function s(t){var s=t.buttonStyle,a=s===void 0?"icon":s;var c={HostBlock:e,inputStyle:{"&::part(input)":{textOverflow:"ellipsis",width:"100%",color:t.textColor||"var(--sqm-text)"},"&::part(base)":{"--sl-input-border-radius":"var(--sqm-border-radius-normal)","--sl-input-background-color":"var(--sl-color-white)","--sl-input-color":"var(--sqm-text)","--sl-input-border-color":"#D6D8F0","--sl-input-border-color-hover":"#999999","--sl-input-border-color-focus":"#999999","--sl-input-color-hover":"var(--sqm-input-color-hover)","--sl-input-color-focus":"var(--sqm-input-color-focus)","--sl-input-color-disabled":"var(--sqm-input-disabled-color)","--sl-input-background-color-focus":"var(--sqm-portal-background)","--sl-input-background-color-hover":"var(--sqm-portal-background)",cursor:"pointer",overflow:"visible",borderRadius:t.borderRadius+"px"||"var(--sqm-border-radius-normal)",background:t.backgroundColor||"var(--sqm-portal-background)",border:"1px solid "+(t.borderColor||"#d4d4d8")},width:"100%"},icon:{"&::part(base)":{color:t.textColor||"var(--sqm-text)"}},inputErrorStyle:{"&::part(base)":{border:"2px solid red"}},ContainerDiv:{display:"flex",alignItems:"flex-start",flexDirection:"column",justifyContent:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},containerStyle:{display:"flex",alignItems:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},errorTextStyle:{margin:"0",color:"var(--sqm-danger-color-text)"},notificationTextStyle:{margin:"0",color:"inherit"}};var u=r(c);var p=u.toString();var d=!t.loading&&t.error;var b=d?t.inputPlaceholderText:t.copyString;var v=d||t.loading||t.disabled;var x=t.buttonStyle==="button-below"?"bottom":t.buttonStyle==="button-outside"?"top":"top-end";var m=o("sl-tooltip",{trigger:"manual",content:t.tooltiptext,placement:x,disabled:t.disabled,open:t.open,skidding:t.buttonStyle==="icon"?-5:0,slot:"suffix"},a==="icon"?o("sl-icon-button",{class:u.classes.icon,exportparts:"base: icon-button-base",onClick:function(){var o;return(o=t.onClick)===null||o===void 0?void 0:o.call(t)},name:"files",disabled:v}):o("sl-button",{exportparts:"base: "+(t.buttonType||"primary")+"button-base",onClick:function(){var o;return(o=t.onClick)===null||o===void 0?void 0:o.call(t)},size:"medium",style:{width:""+(a==="button-below"&&"100%")},disabled:v,type:"primary"},t.copyButtonLabel||"Copy"));return o("div",{class:u.classes.ContainerDiv},o("style",{type:"text/css"},p,n,i[t.textAlign],v&&l),o("div",{class:u.classes.containerStyle,style:{flexDirection:""+(a==="button-below"?"column":"row")}},o("sl-input",{class:u.classes.inputStyle+" "+(d?u.classes.inputErrorStyle:""),exportparts:"base: input-base, input: input-label",value:t.loading?"Loading...":b,readonly:true,disabled:v},a==="icon"&&m,d&&o("p",{slot:"help-text",class:u.classes.errorTextStyle},t.errorText)),(a==="button-outside"||a==="button-below")&&m),t.isCopied&&t.showNotificationText&&t.notificationText&&o("p",{part:"sqm-notification-text",class:u.classes.notificationTextStyle},t.notificationText))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-88e32c4a.system.js","./p-6333265f.system.js","./p-02c92db1.system.js"],(function(t){"use strict";var n,e,i,o,r,s;return{setters:[function(t){n=t.r;e=t.h;i=t.c},function(t){o=t.n},function(t){r=t.l},function(t){s=t.l}],execute:function(){var l=t("sqm_invoice_table_data_cell",function(){function t(t){n(this,t);this.ignored=true;o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return this.data};return t}());var c=t("sqm_invoice_table_date_cell",function(){function t(t){n(this,t);this.ignored=true;this.locale="en";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t,n;var e=!this.date?"-":(n=(t=s.DateTime.fromMillis(this.date))===null||t===void 0?void 0:t.setLocale(r(this.locale)))===null||n===void 0?void 0:n.toLocaleString(s.DateTime.DATE_MED);return e};return t}());var a=t("sqm_invoice_table_download_cell",function(){function t(t){n(this,t);this.ignored=true;o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t="svg:hover, svg:hover * {\n cursor: pointer;\n }";return e(i,null,e("style",null,t),!!this.downloadUrl&&e("a",{href:this.downloadUrl,target:"_blank"},e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z",fill:"var(--sqm-text-subdued)"}),e("path",{d:"M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z",fill:"var(--sqm-text-subdued)"}))))};return t}());var d=t("sqm_table_cell",function(){function t(t){n(this,t);this.colspan=1;this.padding="15px 10px"}t.prototype.render=function(){return e(i,{style:{display:"contents"}},e("td",{colSpan:this.colspan,style:{padding:this.padding}},e("slot",null)))};return t}());var u=t("sqm_table_row",function(){function t(t){n(this,t);this.border="1px solid #EAEAEA"}t.prototype.render=function(){return e(i,{style:{display:"contents"}},e("tr",{style:{border:this.border}},e("slot",null)))};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-59b028db.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js"],(function(s){"use strict";var t,n,i;return{setters:[function(s){t=s.h},function(s){n=s.c},function(s){i=s.H}],execute:function(){s("C",r);var e={HostBlock:i,icon:{cursor:"pointer",position:"absolute",right:"var(--sl-spacing-medium)",top:"var(--sl-spacing-x-small)",zIndex:"100"}};var o=n(e);var c=o.toString();function r(s){var n=s.onClick;return t("div",null,t("style",{type:"text/css"},c),t("span",{class:o.classes.icon,onClick:n},t("svg",{width:"16",height:"16",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M56 5.64L50.36 0L28 22.36L5.64 0L0 5.64L22.36 28L0 50.36L5.64 56L28 33.64L50.36 56L56 50.36L33.64 28L56 5.64Z",fill:s.color||"black"}))))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r}from"./p-
|
|
1
|
+
import{r as o,h as r}from"./p-c7c11325.js";import{n as t}from"./p-35b2fde0.js";import{k as a,i as e}from"./p-66ac6bed.js";import{c as s}from"./p-c1086930.js";import{g as c}from"./p-9ec99ced.js";import"./p-cef45012.js";import"./p-49b20dae.js";import{N as d}from"./p-b4eca678.js";const i=class{constructor(r){o(this,r),this.padding="x-small",t(this)}disconnectedCallback(){}render(){const o=e()?function(o){return s({states:{active:!1},data:{label:o.label||"Dashboard",icon:o.icon||"house"},backgroundColor:o.backgroundColor,backgroundHoverColor:o.backgroundHoverColor,textColor:o.textColor,textHoverColor:o.textHoverColor,borderRadius:o.borderRadius,backgroundFocusedColor:o.backgroundFocusedColor,textFocusedColor:o.textFocusedColor,padding:o.padding},o.demoData||{},{arrayMerge:(o,r)=>r})}(c(this)):function(o){return{states:{active:a().pathname===o.path},data:{label:o.label,icon:o.icon,path:o.path},backgroundColor:o.backgroundColor,backgroundHoverColor:o.backgroundHoverColor,textColor:o.textColor,textHoverColor:o.textHoverColor,borderRadius:o.borderRadius,backgroundFocusedColor:o.backgroundFocusedColor,textFocusedColor:o.textFocusedColor,padding:o.padding}}(c(this));return r(d,Object.assign({},o))}};export{i as sqm_navigation_sidebar_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as o}from"./p-
|
|
1
|
+
import{k as o}from"./p-35b2fde0.js";import{e as i,h as l,j as d}from"./p-66ac6bed.js";import{j as n}from"./p-e7e129ac.js";import{s as v}from"./p-9ec99ced.js";function r(r){var a,u,e,s,t,c,f,m,g,p,P,j,b,w;const[h,{loading:x,errors:k}]=i(),[y,{loading:E,errors:S}]=l(),[C,I]=o(""),L=new URLSearchParams(d.location.search),R=L.get("nextPage"),T=(null===(s=null===(e=null===(u=null===(a=null==k?void 0:k.response)||void 0===a?void 0:a.errors)||void 0===u?void 0:u[0])||void 0===e?void 0:e.extensions)||void 0===s?void 0:s.message)||(null===(f=null===(c=null===(t=null==k?void 0:k.response)||void 0===t?void 0:t.errors)||void 0===c?void 0:c[0])||void 0===f?void 0:f.message)||C,U=(null===(P=null===(p=null===(g=null===(m=null==S?void 0:S.response)||void 0===m?void 0:m.errors)||void 0===g?void 0:g[0])||void 0===p?void 0:p.extensions)||void 0===P?void 0:P.message)||(null===(w=null===(b=null===(j=null==S?void 0:S.response)||void 0===j?void 0:j.errors)||void 0===b?void 0:b[0])||void 0===w?void 0:w.message)||C;return{states:{loading:x||E,error:T||U,registerPath:r.registerPath,forgotPasswordPath:r.forgotPasswordPath},callbacks:{googleSubmit:async o=>{var i,l,n,a;if(!(null===(i=o.detail)||void 0===i?void 0:i.credential))return;const u=await y({idToken:o.detail.credential});if(u instanceof Error)((null==u?void 0:u.message)||(null===(l=null==u?void 0:u.response)||void 0===l?void 0:l.error))&&((null===(n=null==u?void 0:u.response)||void 0===n?void 0:n.errors.some((o=>{var i;return"Invalid Credentials."===(null===(i=null==o?void 0:o.extensions)||void 0===i?void 0:i.message)})))?I(r.googleUserNotRegisteredError):I(r.networkErrorMessage));else if(null===(a=u.authenticateManagedIdentityWithGoogle)||void 0===a?void 0:a.token){L.delete("nextPage");const o=v(R||r.nextPage);d.push(o.href)}},submit:async o=>{var i,l;I("");let a=o.detail.formData;null==a||a.forEach(((o,i)=>{n.set(a,i,o)}));const u={email:a.email,password:a.password},e=await h(u);if(e instanceof Error)((null==e?void 0:e.message)||(null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.error))&&I(r.networkErrorMessage);else if(null===(l=e.authenticateManagedIdentityWithEmailAndPassword)||void 0===l?void 0:l.token){L.delete("nextPage");const o=v(R||r.nextPage);d.push(o.href)}}}}}export{r as u}
|