@saasquatch/mint-components 1.13.0-9 → 1.13.1-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-44cb1a98.js → ShadowViewAddon-bd00066a.js} +121 -163
- package/dist/cjs/{copy-text-view-9b950efe.js → copy-text-view-a5524c20.js} +1 -1
- package/dist/cjs/extractProps-fd93ba62.js +21 -0
- package/dist/cjs/{global-19fc8a7a.js → global-e31dc4f5.js} +1 -1
- package/dist/cjs/{index.module-57703088.js → index.module-ee84433d.js} +4 -0
- package/dist/cjs/keys-cff24974.js +11 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-35b016ed.js → re-render-b324deab.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +1012 -239
- package/dist/cjs/{sqm-base-registration-form-view-d5685747.js → sqm-base-registration-form-view-8a2c8763.js} +1 -1
- package/dist/cjs/{sqm-big-stat_38.cjs.entry.js → sqm-big-stat_39.cjs.entry.js} +402 -191
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +291 -0
- package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +38 -35
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-9dfa2a16.js → sqm-invoice-table-view-baded4af.js} +172 -2
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-9bba5f7e.js → sqm-navigation-sidebar-item-view-6f35d2ee.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-98d84549.js → sqm-portal-email-verification-view-7ebb426a.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +130 -0
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-login-view-761a4d8e.js +58 -0
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-bae28ea0.js → sqm-portal-profile-view-33164798.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-registration-form-view-e947a5b3.js → sqm-portal-registration-form-view-ebf355a6.js} +13 -12
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-scroll.cjs.entry.js +109 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +279 -74
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +113 -0
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +203 -0
- package/dist/cjs/{useChildElements-854cd1e5.js → useChildElements-1b35d945.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-daff8290.js → useInstantAccessRegistration-9a46c324.js} +2 -2
- package/dist/cjs/usePayoutStatus-4b5894ef.js +1045 -0
- package/dist/cjs/usePortalLogin-63d896d1.js +74 -0
- package/dist/cjs/{usePortalRegistrationForm-a89d736e.js → usePortalRegistrationForm-f25d89e7.js} +2 -2
- package/dist/cjs/{useReferralTable-283d2316.js → useReferralTable-7c3f9600.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-986b5ea1.js → useRegistrationFormState-7b820f0c.js} +1 -1
- package/dist/cjs/useVerificationEmail-95a82767.js +173 -0
- package/dist/cjs/{utilities-c135f16f.js → utilities-78f5e169.js} +1 -1
- package/dist/collection/collection-manifest.json +8 -1
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +1 -1
- package/dist/collection/components/sqm-big-stat/useBigStat.js +6 -3
- package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +24 -10
- package/dist/collection/components/sqm-google-sign-in/useGoogleSignIn.js +34 -27
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +15 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +24 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +122 -0
- package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +37 -0
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +428 -0
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +3 -3
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +2 -13
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +2 -30
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +9 -4
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +13 -12
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +1 -1
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -3
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +7 -12
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +13 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -1
- package/dist/collection/components/sqm-share-button/useShareButton.js +11 -5
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -0
- package/dist/collection/components/sqm-text/sqm-text.js +1 -1
- package/dist/collection/components/sqm-widget-verification/keys.js +4 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +36 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +128 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +301 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +153 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +58 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +95 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +251 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +126 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +120 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +536 -0
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +169 -0
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +60 -0
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +20 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +165 -1
- package/dist/collection/components/tax-and-cash/eventKeys.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +128 -11
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +109 -39
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +15 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +3 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +3 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +0 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +0 -56
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +18 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +176 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +527 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +76 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +7 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +415 -24
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +138 -9
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +283 -17
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +17 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +23 -9
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +33 -8
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +16 -11
- package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
- package/dist/esm/{ShadowViewAddon-eba44767.js → ShadowViewAddon-444b1f38.js} +122 -163
- package/dist/esm/{copy-text-view-b060162f.js → copy-text-view-459a2e35.js} +1 -1
- package/dist/esm/extractProps-ae1afbb3.js +19 -0
- package/dist/esm/{global-bedc4329.js → global-be1f9992.js} +1 -1
- package/dist/esm/{index.module-a2989d3c.js → index.module-89a79f66.js} +5 -1
- package/dist/esm/keys-406491dc.js +6 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-268bb9c8.js → re-render-cc945f38.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +1012 -240
- package/dist/esm/{sqm-base-registration-form-view-98c4db70.js → sqm-base-registration-form-view-593d4ac3.js} +1 -1
- package/dist/esm/{sqm-big-stat_38.entry.js → sqm-big-stat_39.entry.js} +400 -190
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +287 -0
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-google-sign-in.entry.js +39 -36
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-8e2bb54a.js → sqm-invoice-table-view-af69cd33.js} +172 -2
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-56da6bca.js → sqm-navigation-sidebar-item-view-8f1c72bc.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-44c8970f.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm/sqm-portal-google-login.entry.js +126 -0
- package/dist/esm/sqm-portal-google-registration-form.entry.js +6 -6
- package/dist/esm/sqm-portal-login-view-7e49609a.js +56 -0
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-39039274.js → sqm-portal-profile-view-93003974.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/{sqm-portal-registration-form-view-90e2bfd5.js → sqm-portal-registration-form-view-32c4b488.js} +13 -12
- package/dist/esm/sqm-portal-registration-form.entry.js +4 -4
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-scroll.entry.js +105 -0
- package/dist/esm/sqm-stencilbook.entry.js +277 -72
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
- package/dist/esm/sqm-widget-verification.entry.js +199 -0
- package/dist/esm/stencil-hooks.module-4bc38af4.js +1 -1
- package/dist/esm/{useChildElements-38c11321.js → useChildElements-7945ae56.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-7255b0ca.js → useInstantAccessRegistration-cd0172c8.js} +2 -2
- package/dist/esm/usePayoutStatus-58aa56b4.js +1039 -0
- package/dist/esm/usePortalLogin-ef647a50.js +72 -0
- package/dist/esm/{usePortalRegistrationForm-5715c7a5.js → usePortalRegistrationForm-4b35a357.js} +2 -2
- package/dist/esm/{useReferralTable-d77b11f5.js → useReferralTable-b3876ed6.js} +3 -3
- package/dist/esm/{useRegistrationFormState-01cdd8c7.js → useRegistrationFormState-d6f33135.js} +1 -1
- package/dist/esm/useVerificationEmail-edc318cb.js +171 -0
- package/dist/esm/{utilities-863d06d1.js → utilities-5b0ca040.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-444b1f38.js +1 -0
- package/dist/esm-es5/{copy-text-view-b060162f.js → copy-text-view-459a2e35.js} +1 -1
- package/dist/esm-es5/extractProps-ae1afbb3.js +1 -0
- package/dist/esm-es5/{global-bedc4329.js → global-be1f9992.js} +1 -1
- package/dist/esm-es5/index.module-89a79f66.js +1 -0
- package/dist/esm-es5/keys-406491dc.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-268bb9c8.js → re-render-cc945f38.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
- package/dist/esm-es5/sqm-base-registration-form-view-593d4ac3.js +1 -0
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -0
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -0
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-view-af69cd33.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-56da6bca.js → sqm-navigation-sidebar-item-view-8f1c72bc.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-44c8970f.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -0
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-39039274.js → sqm-portal-profile-view-93003974.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-32c4b488.js +1 -0
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-scroll.entry.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -0
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
- package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +1 -1
- package/dist/esm-es5/{useChildElements-38c11321.js → useChildElements-7945ae56.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-7255b0ca.js → useInstantAccessRegistration-cd0172c8.js} +1 -1
- package/dist/esm-es5/usePayoutStatus-58aa56b4.js +6 -0
- package/dist/esm-es5/usePortalLogin-ef647a50.js +1 -0
- package/dist/esm-es5/{usePortalRegistrationForm-5715c7a5.js → usePortalRegistrationForm-4b35a357.js} +1 -1
- package/dist/esm-es5/{useReferralTable-d77b11f5.js → useReferralTable-b3876ed6.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-01cdd8c7.js → useRegistrationFormState-d6f33135.js} +1 -1
- package/dist/esm-es5/useVerificationEmail-edc318cb.js +1 -0
- package/dist/esm-es5/{utilities-863d06d1.js → utilities-5b0ca040.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-2126e1e6.entry.js → p-04a6e457.entry.js} +1 -1
- package/dist/mint-components/{p-3e1b7fb4.entry.js → p-079405ff.entry.js} +1 -1
- package/dist/mint-components/{p-35698aaa.system.js → p-0d182dc1.system.js} +1 -1
- package/dist/mint-components/p-0ebab63e.system.js +1 -0
- package/dist/mint-components/{p-ca04737a.entry.js → p-10d17989.entry.js} +1 -1
- package/dist/mint-components/{p-95c64cfd.system.js → p-13ed8586.system.js} +1 -1
- package/dist/mint-components/{p-3972037c.system.entry.js → p-141bf5c1.system.entry.js} +1 -1
- package/dist/mint-components/{p-80fc549b.entry.js → p-1513309d.entry.js} +1 -1
- package/dist/mint-components/{p-79ea1597.system.entry.js → p-164a9103.system.entry.js} +1 -1
- package/dist/mint-components/p-17cc7c9b.js +394 -0
- package/dist/mint-components/p-18425f38.system.entry.js +1 -0
- package/dist/mint-components/p-19ccb4ce.js +1 -0
- package/dist/mint-components/{p-0aa62b64.entry.js → p-1a6b7d2a.entry.js} +1 -1
- package/dist/mint-components/{p-de9afac2.system.entry.js → p-1fa9ed0d.system.entry.js} +1 -1
- package/dist/mint-components/p-21620f81.system.entry.js +1 -0
- package/dist/mint-components/p-22111c97.entry.js +9 -0
- package/dist/mint-components/p-26468242.js +1 -0
- package/dist/mint-components/{p-53aaa0a4.entry.js → p-275b4767.entry.js} +1 -1
- package/dist/mint-components/{p-618e1342.entry.js → p-284e4ed5.entry.js} +1 -1
- package/dist/mint-components/{p-e544bb9a.entry.js → p-2ae0e06a.entry.js} +1 -1
- package/dist/mint-components/p-2d52e2d7.system.js +1 -0
- package/dist/mint-components/{p-4ae54b04.entry.js → p-2da21ba4.entry.js} +1 -1
- package/dist/mint-components/{p-45436d5a.entry.js → p-2f101bae.entry.js} +1 -1
- package/dist/mint-components/p-301ddcaa.system.entry.js +1 -0
- package/dist/mint-components/p-33c96e14.entry.js +16 -0
- package/dist/mint-components/{p-731aa5c6.system.entry.js → p-36ffebd8.system.entry.js} +1 -1
- package/dist/mint-components/p-37996351.system.js +1 -0
- package/dist/mint-components/p-38c7775a.js +1 -0
- package/dist/mint-components/{p-4448febd.entry.js → p-38fc919b.entry.js} +1 -1
- package/dist/mint-components/{p-40e99b24.js → p-3db34d68.js} +1 -1
- package/dist/mint-components/{p-ebdcea27.system.entry.js → p-420554af.system.entry.js} +1 -1
- package/dist/mint-components/{p-571c451e.entry.js → p-4428294b.entry.js} +1 -1
- package/dist/mint-components/{p-a21d1a30.system.entry.js → p-4469fea6.system.entry.js} +1 -1
- package/dist/mint-components/p-44891949.entry.js +1 -0
- package/dist/mint-components/p-4794641c.system.js +1 -0
- package/dist/mint-components/p-480e08e9.js +31 -0
- package/dist/mint-components/p-48135f99.system.js +2 -2
- package/dist/mint-components/p-4acd5340.system.js +1 -0
- package/dist/mint-components/{p-492fdaf9.js → p-4e451f75.js} +1 -1
- package/dist/mint-components/p-4e526a94.js +1 -0
- package/dist/mint-components/{p-92a25556.system.entry.js → p-50c902ca.system.entry.js} +1 -1
- package/dist/mint-components/{p-4bcb04aa.system.entry.js → p-51d3cde7.system.entry.js} +1 -1
- package/dist/mint-components/p-527216de.system.js +1 -0
- package/dist/mint-components/{p-2dc5e60a.entry.js → p-54440d8d.entry.js} +1 -1
- package/dist/mint-components/p-5488fdd9.system.js +1 -0
- package/dist/mint-components/{p-8da47802.system.entry.js → p-54adee71.system.entry.js} +1 -1
- package/dist/mint-components/p-57dd28bd.system.js +1 -0
- package/dist/mint-components/{p-a8524459.system.js → p-59274a91.system.js} +1 -1
- package/dist/mint-components/{p-7989a098.system.entry.js → p-5c28406d.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a0c3ed9.system.entry.js → p-5d7e308c.system.entry.js} +1 -1
- package/dist/mint-components/{p-09c5e3ee.system.js → p-635d5ef2.system.js} +1 -1
- package/dist/mint-components/{p-6de85677.js → p-63a75798.js} +1 -1
- package/dist/mint-components/p-6427e963.entry.js +1 -0
- package/dist/mint-components/{p-506679e9.js → p-65069b66.js} +1 -1
- package/dist/mint-components/{p-9e49479a.entry.js → p-653f963f.entry.js} +2 -2
- package/dist/mint-components/{p-b9d17fa1.entry.js → p-693942df.entry.js} +1 -1
- package/dist/mint-components/p-6b7a595f.system.js +1 -0
- package/dist/mint-components/p-6cd4f2b1.system.js +1 -0
- package/dist/mint-components/{p-550ef977.js → p-6d2f5a1d.js} +2 -2
- package/dist/mint-components/p-6eaf9c57.entry.js +1 -0
- package/dist/mint-components/{p-7166caa6.system.js → p-717cc8ac.system.js} +1 -1
- package/dist/mint-components/{p-7bcf4467.system.entry.js → p-71bc04d2.system.entry.js} +1 -1
- package/dist/mint-components/p-78078e48.system.entry.js +1 -0
- package/dist/mint-components/p-784a69ac.system.entry.js +1 -0
- package/dist/mint-components/p-793d2130.js +1 -0
- package/dist/mint-components/{p-b114e746.entry.js → p-7ab21e4d.entry.js} +1 -1
- package/dist/mint-components/{p-2ab3b8d6.js → p-7f2d4212.js} +1 -1
- package/dist/mint-components/p-8175e85f.system.js +1 -0
- package/dist/mint-components/{p-81665df6.system.entry.js → p-8362cb4c.system.entry.js} +1 -1
- package/dist/mint-components/p-84cea9dd.entry.js +241 -0
- package/dist/mint-components/{p-bd4810c7.system.entry.js → p-85671c3d.system.entry.js} +1 -1
- package/dist/mint-components/{p-f9de8a59.system.js → p-89903f6d.system.js} +1 -1
- package/dist/mint-components/{p-0873eaa8.entry.js → p-8abfeff8.entry.js} +1 -1
- package/dist/mint-components/p-8c23d1b8.js +1 -0
- package/dist/mint-components/{p-8056fd5b.system.entry.js → p-8d9d04b7.system.entry.js} +1 -1
- package/dist/mint-components/{p-988ea164.system.entry.js → p-90fc6774.system.entry.js} +1 -1
- package/dist/mint-components/p-91959fbe.js +1 -0
- package/dist/mint-components/p-9320582e.system.js +1 -0
- package/dist/mint-components/p-94a876b9.js +1 -0
- package/dist/mint-components/p-962f3200.js +1 -0
- package/dist/mint-components/{p-1c5cffae.js → p-98698131.js} +1 -1
- package/dist/mint-components/{p-f32c8cb5.entry.js → p-99374849.entry.js} +1 -1
- package/dist/mint-components/{p-a4a5beb5.system.entry.js → p-99bc1231.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a16a3d8.system.entry.js → p-9b6a0152.system.entry.js} +1 -1
- package/dist/mint-components/p-9cf80e85.system.entry.js +1 -0
- package/dist/mint-components/{p-f4a1dc19.entry.js → p-a2fde301.entry.js} +1 -1
- package/dist/mint-components/p-a71b9154.system.js +1 -0
- package/dist/mint-components/p-a8645c1b.system.js +1 -0
- package/dist/mint-components/{p-635aaf11.system.entry.js → p-b287833c.system.entry.js} +1 -1
- package/dist/mint-components/{p-8975c2be.entry.js → p-b51e79b3.entry.js} +1 -1
- package/dist/mint-components/{p-f0c23e81.system.entry.js → p-b7d1469d.system.entry.js} +1 -1
- package/dist/mint-components/{p-7cb919d4.system.entry.js → p-b82e1935.system.entry.js} +1 -1
- package/dist/mint-components/p-b93fd99c.system.entry.js +1 -0
- package/dist/mint-components/p-bb0f585c.system.js +1 -0
- package/dist/mint-components/{p-1833c4f5.js → p-bbcd824a.js} +1 -1
- package/dist/mint-components/p-bd91bba4.js +1 -0
- package/dist/mint-components/{p-f2fd1910.system.js → p-bdb7d451.system.js} +1 -1
- package/dist/mint-components/{p-24c4e0b8.system.entry.js → p-c060f770.system.entry.js} +1 -1
- package/dist/mint-components/{p-1ef299d7.js → p-c0f19490.js} +1 -1
- package/dist/mint-components/{p-ca740238.system.entry.js → p-c2fdd608.system.entry.js} +1 -1
- package/dist/mint-components/p-c36506f6.system.entry.js +1 -0
- package/dist/mint-components/p-cb7bdbe4.entry.js +1 -0
- package/dist/mint-components/p-cbbfac66.entry.js +25 -0
- package/dist/mint-components/p-cc7af682.system.js +6 -0
- package/dist/mint-components/{p-4f45be94.system.js → p-cd569259.system.js} +1 -1
- package/dist/mint-components/p-cd651f81.js +2 -2
- package/dist/mint-components/p-d07f3090.entry.js +1 -0
- package/dist/mint-components/p-d6831af5.js +48 -0
- package/dist/mint-components/p-da7708a7.entry.js +1 -0
- package/dist/mint-components/p-dbcb5359.js +1 -0
- package/dist/mint-components/{p-75f50e5a.entry.js → p-dcc81e90.entry.js} +1 -1
- package/dist/mint-components/{p-1b0c58bc.system.entry.js → p-de8e9981.system.entry.js} +1 -1
- package/dist/mint-components/{p-857947fa.system.entry.js → p-e5a5ae7f.system.entry.js} +1 -1
- package/dist/mint-components/{p-045d1d49.entry.js → p-e6045498.entry.js} +1 -1
- package/dist/mint-components/{p-9b779add.entry.js → p-e6f50ffd.entry.js} +1 -1
- package/dist/mint-components/{p-c470caf6.entry.js → p-e8ffcc68.entry.js} +2 -2
- package/dist/mint-components/p-f0772618.system.entry.js +1 -0
- package/dist/mint-components/p-f29eda2f.entry.js +205 -0
- package/dist/mint-components/{p-9f231a48.system.entry.js → p-f4a72903.system.entry.js} +1 -1
- package/dist/mint-components/{p-aaeaff1a.system.entry.js → p-f4a8ee29.system.entry.js} +1 -1
- package/dist/mint-components/p-fa37513e.system.entry.js +1 -0
- package/dist/mint-components/{p-e0b344fb.entry.js → p-fe2e2f4a.entry.js} +1 -1
- package/dist/mint-components/p-ff8b8067.entry.js +33 -0
- package/dist/types/components/sqm-google-sign-in/sqm-google-sign-in.d.ts +2 -0
- package/dist/types/components/sqm-google-sign-in/useGoogleSignIn.d.ts +1 -1
- package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +6 -0
- package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.d.ts +10 -0
- package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll.d.ts +26 -0
- package/dist/types/components/sqm-payout-button-scroll/usePayoutButton.d.ts +7 -0
- package/dist/types/components/sqm-portal-google-login/sqm-portal-google-login.d.ts +74 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -4
- package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +2 -1
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -0
- package/dist/types/components/sqm-widget-verification/keys.d.ts +4 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +9 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +26 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +54 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +25 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +11 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +22 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +44 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +10 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +12 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +96 -0
- package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +15 -0
- package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +5 -0
- package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +6 -0
- package/dist/types/components/tax-and-cash/eventKeys.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +8 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +13 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +0 -4
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +1 -16
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +36 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +90 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +20 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +6 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +5 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +82 -3
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +17 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +47 -2
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/useVeriffApp.d.ts +6 -0
- package/dist/types/components.d.ts +1071 -86
- package/docs/docs.docx +0 -0
- package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
- package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -4
- package/dist/collection/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.js +0 -86
- package/dist/esm-es5/ShadowViewAddon-eba44767.js +0 -1
- package/dist/esm-es5/index.module-a2989d3c.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
- package/dist/esm-es5/sqm-base-registration-form-view-98c4db70.js +0 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-8e2bb54a.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-90e2bfd5.js +0 -1
- package/dist/mint-components/p-0323586f.entry.js +0 -223
- package/dist/mint-components/p-046f4631.system.js +0 -1
- package/dist/mint-components/p-0e53c59e.system.js +0 -1
- package/dist/mint-components/p-16c7bfda.js +0 -391
- package/dist/mint-components/p-28042d23.entry.js +0 -174
- package/dist/mint-components/p-30108c0e.js +0 -1
- package/dist/mint-components/p-31a691af.js +0 -1
- package/dist/mint-components/p-39b1a7fe.js +0 -1
- package/dist/mint-components/p-3bdd338c.system.js +0 -1
- package/dist/mint-components/p-3ec660e9.js +0 -1
- package/dist/mint-components/p-46ab5f80.system.js +0 -1
- package/dist/mint-components/p-4daa3f8a.system.entry.js +0 -1
- package/dist/mint-components/p-62f6627d.js +0 -1
- package/dist/mint-components/p-6a89b821.system.entry.js +0 -1
- package/dist/mint-components/p-749c7c9c.system.js +0 -1
- package/dist/mint-components/p-868f176e.entry.js +0 -1
- package/dist/mint-components/p-8d77feee.js +0 -1
- package/dist/mint-components/p-96b48c2b.system.js +0 -1
- package/dist/mint-components/p-a1f40614.system.entry.js +0 -1
- package/dist/mint-components/p-ac2b7eb8.system.js +0 -1
- package/dist/mint-components/p-b611eefd.entry.js +0 -1
- package/dist/mint-components/p-c4b21562.system.entry.js +0 -1
- package/dist/mint-components/p-c6a8c075.system.js +0 -1
- package/dist/mint-components/p-cd480e3f.entry.js +0 -33
- package/dist/mint-components/p-cf505e92.system.js +0 -1
- package/dist/mint-components/p-d671e44e.system.js +0 -1
- package/dist/mint-components/p-d7ed4bb5.entry.js +0 -1
- package/dist/mint-components/p-d87ce3d2.js +0 -1
- package/dist/mint-components/p-ea9fd654.entry.js +0 -9
- package/dist/mint-components/p-fe4a9dfe.system.entry.js +0 -1
- package/dist/types/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.d.ts +0 -31
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a29c60ef.js');
|
|
4
4
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
5
|
-
const global = require('./global-
|
|
6
|
-
const index_module = require('./index.module-
|
|
5
|
+
const global = require('./global-e31dc4f5.js');
|
|
6
|
+
const index_module = require('./index.module-ee84433d.js');
|
|
7
7
|
const cjs = require('./cjs-1066ec21.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
9
9
|
const JSS = require('./JSS-8503a151.js');
|
|
10
|
-
const copyTextView = require('./copy-text-view-
|
|
10
|
+
const copyTextView = require('./copy-text-view-a5524c20.js');
|
|
11
11
|
const mixins = require('./mixins-f7e0377a.js');
|
|
12
|
-
const useChildElements = require('./useChildElements-
|
|
12
|
+
const useChildElements = require('./useChildElements-1b35d945.js');
|
|
13
13
|
const luxon = require('./luxon-2926d85f.js');
|
|
14
14
|
const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
|
|
15
15
|
const index$1 = require('./index-8c6255f5.js');
|
|
16
|
-
const utilities = require('./utilities-
|
|
16
|
+
const utilities = require('./utilities-78f5e169.js');
|
|
17
17
|
const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
|
|
18
18
|
|
|
19
19
|
const medium = {
|
|
@@ -86,7 +86,7 @@ function ShareButtonView(props, children) {
|
|
|
86
86
|
return props.hide ? (index.h(index.Host, { style: { display: "none" } })) : (index.h("div", null,
|
|
87
87
|
index.h("style", { type: "text/css" }, styleString),
|
|
88
88
|
index.h("style", { type: "text/css" }, vanillaStyle),
|
|
89
|
-
index.h("sl-button", { class: sheet.classes.buttonStyle, loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: props.onClick, exportparts: `base: ${props.type}sharebutton-base` },
|
|
89
|
+
index.h("sl-button", { class: sheet.classes.buttonStyle, target: "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: props.onClick, href: props.messageLink, exportparts: `base: ${props.type}sharebutton-base` },
|
|
90
90
|
!props.hideicon && (index.h("sl-icon", { slot: props.iconslot || "prefix", name: props.icon ? props.icon : medium[props.medium].icon, exportparts: "base: icon" })),
|
|
91
91
|
!props.hidetext && children)));
|
|
92
92
|
}
|
|
@@ -464,7 +464,7 @@ function GenericShare(messageLink, errorText) {
|
|
|
464
464
|
return messageLink ? window.open(messageLink) : alert(errorText);
|
|
465
465
|
}
|
|
466
466
|
function useShareButton(props) {
|
|
467
|
-
var _a, _b;
|
|
467
|
+
var _a, _b, _c, _d;
|
|
468
468
|
const { sharetitle, sharetext, medium } = props;
|
|
469
469
|
const programId = props.programId ? props.programId : index_module.H();
|
|
470
470
|
const user = index_module.J();
|
|
@@ -484,27 +484,33 @@ function useShareButton(props) {
|
|
|
484
484
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
485
485
|
window.orientation === undefined) ||
|
|
486
486
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
487
|
+
const messageLink = (overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.messageLink);
|
|
487
488
|
async function onClick() {
|
|
488
|
-
var _a, _b, _c, _d;
|
|
489
489
|
if (overrideData) {
|
|
490
490
|
await setCopied({ referralCode: contextData.referralCode });
|
|
491
491
|
contextData.refresh();
|
|
492
492
|
}
|
|
493
493
|
if (medium.toLocaleUpperCase() === "FACEBOOK" &&
|
|
494
494
|
environment.type === "SquatchAndroid") {
|
|
495
|
-
FacebookShare(directLink,
|
|
495
|
+
FacebookShare(directLink, messageLink, props.errorText);
|
|
496
496
|
}
|
|
497
497
|
else if (medium.toLocaleUpperCase() === "DIRECT") {
|
|
498
498
|
NativeShare({ sharetitle, sharetext }, directLink, props.errorText, props.unsupportedPlatformText);
|
|
499
499
|
}
|
|
500
500
|
else {
|
|
501
|
-
GenericShare(
|
|
501
|
+
GenericShare(messageLink, props.errorText);
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
|
+
const isPlainLink = !(medium.toLocaleUpperCase() === "FACEBOOK" &&
|
|
505
|
+
environment.type === "SquatchAndroid") &&
|
|
506
|
+
medium.toLocaleUpperCase() !== "DIRECT" &&
|
|
507
|
+
messageLink;
|
|
504
508
|
return {
|
|
505
509
|
...props,
|
|
506
510
|
loading: res.loading && !(overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink),
|
|
507
|
-
|
|
511
|
+
messageLink,
|
|
512
|
+
// If we have just a normal share link onClick should be undefined so we fallback to default link behavior
|
|
513
|
+
onClick: isPlainLink ? undefined : onClick,
|
|
508
514
|
hide,
|
|
509
515
|
};
|
|
510
516
|
}
|
|
@@ -1214,9 +1220,12 @@ const payoutBalanceQuery = () => {
|
|
|
1214
1220
|
query payoutBalance {
|
|
1215
1221
|
viewer: viewer {
|
|
1216
1222
|
... on User {
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1223
|
+
id
|
|
1224
|
+
impactConnection {
|
|
1225
|
+
publisher {
|
|
1226
|
+
payoutsAccount {
|
|
1227
|
+
balance
|
|
1228
|
+
}
|
|
1220
1229
|
}
|
|
1221
1230
|
}
|
|
1222
1231
|
}
|
|
@@ -1580,56 +1589,6 @@ function PortalChangePasswordView(props) {
|
|
|
1580
1589
|
}
|
|
1581
1590
|
|
|
1582
1591
|
const style$3 = {
|
|
1583
|
-
Wrapper: mixins.AuthWrapper,
|
|
1584
|
-
Column: mixins.AuthColumn,
|
|
1585
|
-
ForgotButtonContainer: {
|
|
1586
|
-
display: "inline",
|
|
1587
|
-
cursor: "pointer",
|
|
1588
|
-
"font-size": "13px",
|
|
1589
|
-
"font-weight": "600",
|
|
1590
|
-
color: "#AAAAAA",
|
|
1591
|
-
margin: "0",
|
|
1592
|
-
},
|
|
1593
|
-
ButtonsContainer: {
|
|
1594
|
-
...mixins.AuthButtonsContainer,
|
|
1595
|
-
gap: "var(--sl-spacing-medium)",
|
|
1596
|
-
"& > *": {
|
|
1597
|
-
margin: "0 !important",
|
|
1598
|
-
},
|
|
1599
|
-
},
|
|
1600
|
-
};
|
|
1601
|
-
const vanillaStyle$1 = `
|
|
1602
|
-
:host {
|
|
1603
|
-
display: block;
|
|
1604
|
-
}
|
|
1605
|
-
:host([hidden]): {
|
|
1606
|
-
display: none;
|
|
1607
|
-
}
|
|
1608
|
-
`;
|
|
1609
|
-
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
1610
|
-
const styleString$3 = sheet$3.toString();
|
|
1611
|
-
function PortalLoginView(props) {
|
|
1612
|
-
const { states, callbacks, content } = props;
|
|
1613
|
-
return (index.h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1614
|
-
index.h("style", { type: "text/css" },
|
|
1615
|
-
vanillaStyle$1,
|
|
1616
|
-
styleString$3),
|
|
1617
|
-
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1618
|
-
index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit },
|
|
1619
|
-
props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1620
|
-
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1621
|
-
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1622
|
-
index.h("div", null,
|
|
1623
|
-
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1624
|
-
index.h("div", { class: sheet$3.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1625
|
-
index.h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1626
|
-
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
1627
|
-
content.googleButton && index.h("sl-menu-divider", null),
|
|
1628
|
-
content.googleButton,
|
|
1629
|
-
content.secondaryButton))));
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
const style$4 = {
|
|
1633
1592
|
Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
|
|
1634
1593
|
Column: mixins.AuthColumn,
|
|
1635
1594
|
HostBlock: mixins.HostBlock,
|
|
@@ -1640,7 +1599,7 @@ const style$4 = {
|
|
|
1640
1599
|
ButtonsContainer: mixins.AuthButtonsContainer,
|
|
1641
1600
|
ErrorStyle: mixins.ErrorStyles,
|
|
1642
1601
|
};
|
|
1643
|
-
const vanillaStyle$
|
|
1602
|
+
const vanillaStyle$1 = `
|
|
1644
1603
|
sqm-portal-register {
|
|
1645
1604
|
margin: 0 auto;
|
|
1646
1605
|
width: 100%;
|
|
@@ -1655,20 +1614,20 @@ sqm-portal-register {
|
|
|
1655
1614
|
display: none;
|
|
1656
1615
|
}
|
|
1657
1616
|
`;
|
|
1658
|
-
const sheet$
|
|
1659
|
-
const styleString$
|
|
1617
|
+
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
1618
|
+
const styleString$3 = sheet$3.toString();
|
|
1660
1619
|
function PortalRegisterView(props) {
|
|
1661
1620
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
1662
1621
|
const { states, refs, callbacks, content } = props;
|
|
1663
1622
|
if (states.error) {
|
|
1664
1623
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1665
1624
|
}
|
|
1666
|
-
return (index.h("div", { class: sheet$
|
|
1625
|
+
return (index.h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1667
1626
|
index.h("style", { type: "text/css" },
|
|
1668
|
-
vanillaStyle$
|
|
1669
|
-
styleString$
|
|
1627
|
+
vanillaStyle$1,
|
|
1628
|
+
styleString$3),
|
|
1670
1629
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1671
|
-
index.h("sl-form", { class: sheet$
|
|
1630
|
+
index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1672
1631
|
states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1673
1632
|
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1674
1633
|
content.formData,
|
|
@@ -1681,7 +1640,7 @@ function PortalRegisterView(props) {
|
|
|
1681
1640
|
return content.invalidEmailErrorMessage;
|
|
1682
1641
|
}
|
|
1683
1642
|
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1684
|
-
class: sheet$
|
|
1643
|
+
class: sheet$3.classes.ErrorStyle,
|
|
1685
1644
|
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1686
1645
|
content.requiredFieldErrorMessage,
|
|
1687
1646
|
}
|
|
@@ -1692,17 +1651,17 @@ function PortalRegisterView(props) {
|
|
|
1692
1651
|
value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
|
|
1693
1652
|
}
|
|
1694
1653
|
: {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
|
|
1695
|
-
class: sheet$
|
|
1654
|
+
class: sheet$3.classes.ErrorStyle,
|
|
1696
1655
|
helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
|
|
1697
1656
|
}
|
|
1698
1657
|
: [])))),
|
|
1699
1658
|
content.terms,
|
|
1700
|
-
index.h("div", { class: sheet$
|
|
1659
|
+
index.h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1701
1660
|
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1702
1661
|
content.secondaryButton))));
|
|
1703
1662
|
}
|
|
1704
1663
|
|
|
1705
|
-
const style$
|
|
1664
|
+
const style$4 = {
|
|
1706
1665
|
Description: {
|
|
1707
1666
|
"& input[type=checkbox]": {
|
|
1708
1667
|
display: "none",
|
|
@@ -1741,13 +1700,13 @@ const style$5 = {
|
|
|
1741
1700
|
},
|
|
1742
1701
|
},
|
|
1743
1702
|
};
|
|
1744
|
-
const sheet$
|
|
1745
|
-
const styleString$
|
|
1703
|
+
const sheet$4 = JSS.createStyleSheet(style$4);
|
|
1704
|
+
const styleString$4 = sheet$4.toString();
|
|
1746
1705
|
function Details(props) {
|
|
1747
1706
|
const rid = Math.random().toString(36).slice(2);
|
|
1748
1707
|
return (index.h("div", { style: { opacity: props.opacity } },
|
|
1749
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1750
|
-
index.h("span", { class: sheet$
|
|
1708
|
+
index.h("style", { type: "text/css" }, styleString$4),
|
|
1709
|
+
index.h("span", { class: sheet$4.classes.Description },
|
|
1751
1710
|
index.h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1752
1711
|
index.h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1753
1712
|
index.h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1769,7 +1728,7 @@ const GreyGift = () => {
|
|
|
1769
1728
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
|
|
1770
1729
|
};
|
|
1771
1730
|
|
|
1772
|
-
const style$
|
|
1731
|
+
const style$5 = {
|
|
1773
1732
|
ProgressBar: {
|
|
1774
1733
|
"& .progress-bar": {
|
|
1775
1734
|
height: "0",
|
|
@@ -1881,14 +1840,14 @@ const style$6 = {
|
|
|
1881
1840
|
},
|
|
1882
1841
|
},
|
|
1883
1842
|
};
|
|
1884
|
-
const sheet$
|
|
1885
|
-
const styleString$
|
|
1843
|
+
const sheet$5 = JSS.createStyleSheet(style$5, { classNamePrefix: "sqm-prog-bar" });
|
|
1844
|
+
const styleString$5 = sheet$5.toString();
|
|
1886
1845
|
function ProgressBarView(props) {
|
|
1887
1846
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1888
1847
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1889
1848
|
const { columns, items } = aggregate;
|
|
1890
|
-
return (index.h("div", { class: sheet$
|
|
1891
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1849
|
+
return (index.h("div", { class: sheet$5.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1850
|
+
index.h("style", { type: "text/css" }, styleString$5),
|
|
1892
1851
|
index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1893
1852
|
(Boolean(finite) && progress > 2 * goal)
|
|
1894
1853
|
? "progress-bar repeatable-steps"
|
|
@@ -2179,7 +2138,7 @@ const arrow_left_right = () => {
|
|
|
2179
2138
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
|
|
2180
2139
|
};
|
|
2181
2140
|
|
|
2182
|
-
const style$
|
|
2141
|
+
const style$6 = {
|
|
2183
2142
|
TaskCard: {
|
|
2184
2143
|
display: "inline-block",
|
|
2185
2144
|
width: "100%",
|
|
@@ -2333,8 +2292,8 @@ const style$7 = {
|
|
|
2333
2292
|
},
|
|
2334
2293
|
},
|
|
2335
2294
|
};
|
|
2336
|
-
const sheet$
|
|
2337
|
-
const styleString$
|
|
2295
|
+
const sheet$6 = JSS.createStyleSheet(style$6);
|
|
2296
|
+
const styleString$6 = sheet$6.toString();
|
|
2338
2297
|
function TaskCardView(props) {
|
|
2339
2298
|
var _a, _b;
|
|
2340
2299
|
const { callbacks, states, content } = props;
|
|
@@ -2370,11 +2329,11 @@ function TaskCardView(props) {
|
|
|
2370
2329
|
}
|
|
2371
2330
|
|
|
2372
2331
|
`;
|
|
2373
|
-
return (index.h("div", { class: sheet$
|
|
2332
|
+
return (index.h("div", { class: sheet$6.classes.TaskCard, part: "sqm-base" },
|
|
2374
2333
|
index.h("style", { type: "text/css" },
|
|
2375
|
-
styleString$
|
|
2334
|
+
styleString$6,
|
|
2376
2335
|
vanillaStyle),
|
|
2377
|
-
!states.loading && taskNotStarted && (index.h("div", { class: sheet$
|
|
2336
|
+
!states.loading && taskNotStarted && (index.h("div", { class: sheet$6.classes.NotStarted },
|
|
2378
2337
|
index.h("span", { class: "icon" },
|
|
2379
2338
|
index.h("sl-icon", { name: "info-circle-fill" })),
|
|
2380
2339
|
global.intl.formatMessage({
|
|
@@ -2385,7 +2344,7 @@ function TaskCardView(props) {
|
|
|
2385
2344
|
.setLocale(utils.luxonLocale(states.locale))
|
|
2386
2345
|
.toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
|
|
2387
2346
|
}))),
|
|
2388
|
-
!states.loading && taskEnded && (index.h("div", { class: sheet$
|
|
2347
|
+
!states.loading && taskEnded && (index.h("div", { class: sheet$6.classes.Ended },
|
|
2389
2348
|
index.h("span", { class: "icon" },
|
|
2390
2349
|
index.h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2391
2350
|
global.intl.formatMessage({
|
|
@@ -2405,7 +2364,7 @@ function TaskCardView(props) {
|
|
|
2405
2364
|
? "main complete"
|
|
2406
2365
|
: "main" },
|
|
2407
2366
|
index.h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2408
|
-
index.h("div", { class: sheet$
|
|
2367
|
+
index.h("div", { class: sheet$6.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
|
|
2409
2368
|
showComplete && (index.h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2410
2369
|
index.h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2411
2370
|
index.h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2421,7 +2380,7 @@ function TaskCardView(props) {
|
|
|
2421
2380
|
} }, content.cardTitle)),
|
|
2422
2381
|
states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (index.h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2423
2382
|
content.showProgressBar && states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2424
|
-
index.h("div", { class: sheet$
|
|
2383
|
+
index.h("div", { class: sheet$6.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
|
|
2425
2384
|
index.h("span", { class: "text" },
|
|
2426
2385
|
content.repeatable && (index.h("div", null,
|
|
2427
2386
|
index.h("span", { class: repetitions > 0
|
|
@@ -2492,7 +2451,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2492
2451
|
index.h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
|
|
2493
2452
|
}
|
|
2494
2453
|
|
|
2495
|
-
const vanillaStyle$
|
|
2454
|
+
const vanillaStyle$2 = `
|
|
2496
2455
|
:host{
|
|
2497
2456
|
margin: 0 auto;
|
|
2498
2457
|
width: 100%;
|
|
@@ -2548,7 +2507,7 @@ function PortalFooterView(props) {
|
|
|
2548
2507
|
const styleString = sheet.toString();
|
|
2549
2508
|
return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2550
2509
|
index.h("style", { type: "text/css" },
|
|
2551
|
-
vanillaStyle$
|
|
2510
|
+
vanillaStyle$2,
|
|
2552
2511
|
styleString),
|
|
2553
2512
|
index.h("div", { class: sheet.classes.RowContainer },
|
|
2554
2513
|
props.faqLink && (index.h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2720,7 +2679,7 @@ function ReferralIframeView(props) {
|
|
|
2720
2679
|
index.h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2721
2680
|
}
|
|
2722
2681
|
|
|
2723
|
-
const style$
|
|
2682
|
+
const style$7 = {
|
|
2724
2683
|
ErrorStyle: mixins.ErrorStyles,
|
|
2725
2684
|
FieldsContainer: {
|
|
2726
2685
|
"& sl-input": {
|
|
@@ -2728,7 +2687,7 @@ const style$8 = {
|
|
|
2728
2687
|
},
|
|
2729
2688
|
},
|
|
2730
2689
|
};
|
|
2731
|
-
const vanillaStyle$
|
|
2690
|
+
const vanillaStyle$3 = `
|
|
2732
2691
|
:host {
|
|
2733
2692
|
margin: 0 auto;
|
|
2734
2693
|
width: 100%;
|
|
@@ -2740,21 +2699,21 @@ sl-input::part(label){
|
|
|
2740
2699
|
font-weight: var(--sl-font-weight-semibold);
|
|
2741
2700
|
}
|
|
2742
2701
|
`;
|
|
2743
|
-
const sheet$
|
|
2744
|
-
const styleString$
|
|
2702
|
+
const sheet$7 = JSS.createStyleSheet(style$7);
|
|
2703
|
+
const styleString$7 = sheet$7.toString();
|
|
2745
2704
|
function NameFieldsView(props) {
|
|
2746
2705
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2747
2706
|
const { states } = props;
|
|
2748
2707
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2749
|
-
return (index.h("div", { class: sheet$
|
|
2708
|
+
return (index.h("div", { class: sheet$7.classes.FieldsContainer },
|
|
2750
2709
|
index.h("style", { type: "text/css" },
|
|
2751
|
-
vanillaStyle$
|
|
2752
|
-
styleString$
|
|
2710
|
+
vanillaStyle$3,
|
|
2711
|
+
styleString$7),
|
|
2753
2712
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
|
|
2754
2713
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2755
2714
|
}
|
|
2756
2715
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2757
|
-
class: sheet$
|
|
2716
|
+
class: sheet$7.classes.ErrorStyle,
|
|
2758
2717
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2759
2718
|
}
|
|
2760
2719
|
: []))),
|
|
@@ -2762,13 +2721,13 @@ function NameFieldsView(props) {
|
|
|
2762
2721
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2763
2722
|
}
|
|
2764
2723
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2765
|
-
class: sheet$
|
|
2724
|
+
class: sheet$7.classes.ErrorStyle,
|
|
2766
2725
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2767
2726
|
}
|
|
2768
2727
|
: [])))));
|
|
2769
2728
|
}
|
|
2770
2729
|
|
|
2771
|
-
const style$
|
|
2730
|
+
const style$8 = {
|
|
2772
2731
|
ErrorStyle: {
|
|
2773
2732
|
"&::part(control)": {
|
|
2774
2733
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2791,7 +2750,7 @@ const style$9 = {
|
|
|
2791
2750
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2792
2751
|
},
|
|
2793
2752
|
};
|
|
2794
|
-
const vanillaStyle$
|
|
2753
|
+
const vanillaStyle$4 = `
|
|
2795
2754
|
:host {
|
|
2796
2755
|
margin: 0 auto;
|
|
2797
2756
|
width: 100%;
|
|
@@ -2807,22 +2766,22 @@ sl-checkbox::part(base){
|
|
|
2807
2766
|
}
|
|
2808
2767
|
`;
|
|
2809
2768
|
JSS.jss.setup(JSS.create());
|
|
2810
|
-
const sheet$
|
|
2811
|
-
const styleString$
|
|
2769
|
+
const sheet$8 = JSS.jss.createStyleSheet(style$8);
|
|
2770
|
+
const styleString$8 = sheet$8.toString();
|
|
2812
2771
|
function CheckboxFieldView(props) {
|
|
2813
2772
|
var _a, _b, _c;
|
|
2814
2773
|
const { states, content, callbacks } = props;
|
|
2815
2774
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2816
|
-
return (index.h("div", { class: sheet$
|
|
2775
|
+
return (index.h("div", { class: sheet$8.classes.FieldContainer, part: "sqm-base" },
|
|
2817
2776
|
index.h("style", { type: "text/css" },
|
|
2818
|
-
vanillaStyle$
|
|
2819
|
-
styleString$
|
|
2777
|
+
vanillaStyle$4,
|
|
2778
|
+
styleString$8),
|
|
2820
2779
|
index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2821
2780
|
e.target.value = e.target.checked;
|
|
2822
2781
|
callbacks.setChecked(e.target.value);
|
|
2823
2782
|
} }, (!content.checkboxOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName])
|
|
2824
2783
|
? {
|
|
2825
|
-
class: sheet$
|
|
2784
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2826
2785
|
}
|
|
2827
2786
|
: [])),
|
|
2828
2787
|
global.intl.formatMessage({
|
|
@@ -2831,13 +2790,13 @@ function CheckboxFieldView(props) {
|
|
|
2831
2790
|
}, {
|
|
2832
2791
|
labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2833
2792
|
}),
|
|
2834
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$
|
|
2793
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$8.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2835
2794
|
id: `errorMessage-${content.checkboxName}`,
|
|
2836
2795
|
defaultMessage: content.errorMessage,
|
|
2837
2796
|
}))))));
|
|
2838
2797
|
}
|
|
2839
2798
|
|
|
2840
|
-
const style$
|
|
2799
|
+
const style$9 = {
|
|
2841
2800
|
ErrorStyle: {
|
|
2842
2801
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2843
2802
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2853,7 +2812,7 @@ const style$a = {
|
|
|
2853
2812
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2854
2813
|
},
|
|
2855
2814
|
};
|
|
2856
|
-
const vanillaStyle$
|
|
2815
|
+
const vanillaStyle$5 = `
|
|
2857
2816
|
:host {
|
|
2858
2817
|
margin: 0 auto;
|
|
2859
2818
|
width: 100%;
|
|
@@ -2865,36 +2824,36 @@ sl-select::part(label){
|
|
|
2865
2824
|
}
|
|
2866
2825
|
`;
|
|
2867
2826
|
JSS.jss.setup(JSS.create());
|
|
2868
|
-
const sheet$
|
|
2869
|
-
const styleString$
|
|
2827
|
+
const sheet$9 = JSS.jss.createStyleSheet(style$9);
|
|
2828
|
+
const styleString$9 = sheet$9.toString();
|
|
2870
2829
|
function DropdownFieldView(props) {
|
|
2871
2830
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2872
2831
|
const { states, content } = props;
|
|
2873
2832
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2874
|
-
return (index.h("div", { class: sheet$
|
|
2833
|
+
return (index.h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
2875
2834
|
index.h("style", { type: "text/css" },
|
|
2876
|
-
vanillaStyle$
|
|
2877
|
-
styleString$
|
|
2835
|
+
vanillaStyle$5,
|
|
2836
|
+
styleString$9),
|
|
2878
2837
|
index.h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
2879
2838
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2880
2839
|
}
|
|
2881
2840
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2882
|
-
class: sheet$
|
|
2841
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2883
2842
|
}
|
|
2884
2843
|
: [])), content.selectOptions),
|
|
2885
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$
|
|
2844
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$9.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2886
2845
|
id: `errorMessage-${content.dropdownName}`,
|
|
2887
2846
|
defaultMessage: content.errorMessage,
|
|
2888
2847
|
})))));
|
|
2889
2848
|
}
|
|
2890
2849
|
|
|
2891
|
-
const style$
|
|
2850
|
+
const style$a = {
|
|
2892
2851
|
ErrorStyle: mixins.ErrorStyles,
|
|
2893
2852
|
FieldContainer: {
|
|
2894
2853
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2895
2854
|
},
|
|
2896
2855
|
};
|
|
2897
|
-
const vanillaStyle$
|
|
2856
|
+
const vanillaStyle$6 = `
|
|
2898
2857
|
:host {
|
|
2899
2858
|
margin: 0 auto;
|
|
2900
2859
|
width: 100%;
|
|
@@ -2902,21 +2861,21 @@ const vanillaStyle$7 = `
|
|
|
2902
2861
|
}
|
|
2903
2862
|
`;
|
|
2904
2863
|
JSS.jss.setup(JSS.create());
|
|
2905
|
-
const sheet$
|
|
2906
|
-
const styleString$
|
|
2864
|
+
const sheet$a = JSS.jss.createStyleSheet(style$a);
|
|
2865
|
+
const styleString$a = sheet$a.toString();
|
|
2907
2866
|
function InputFieldView(props) {
|
|
2908
2867
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2909
2868
|
const { states, content } = props;
|
|
2910
2869
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2911
|
-
return (index.h("div", { class: sheet$
|
|
2870
|
+
return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2912
2871
|
index.h("style", { type: "text/css" },
|
|
2913
|
-
vanillaStyle$
|
|
2914
|
-
styleString$
|
|
2872
|
+
vanillaStyle$6,
|
|
2873
|
+
styleString$a),
|
|
2915
2874
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
|
|
2916
2875
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2917
2876
|
}
|
|
2918
2877
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2919
|
-
class: sheet$
|
|
2878
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2920
2879
|
helpText: global.intl.formatMessage({
|
|
2921
2880
|
id: `errorMessage-${content.fieldName}`,
|
|
2922
2881
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -3011,7 +2970,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3011
2970
|
return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3012
2971
|
}
|
|
3013
2972
|
|
|
3014
|
-
const style$
|
|
2973
|
+
const style$b = {
|
|
3015
2974
|
HostBlock: mixins.HostBlock,
|
|
3016
2975
|
Container: {
|
|
3017
2976
|
minWidth: "300px",
|
|
@@ -3362,8 +3321,8 @@ const style$c = {
|
|
|
3362
3321
|
},
|
|
3363
3322
|
};
|
|
3364
3323
|
// JSS config
|
|
3365
|
-
const sheet$
|
|
3366
|
-
const styleString$
|
|
3324
|
+
const sheet$b = JSS.createStyleSheet(style$b);
|
|
3325
|
+
const styleString$b = sheet$b.toString();
|
|
3367
3326
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3368
3327
|
function RewardExchangeView(props) {
|
|
3369
3328
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3386,7 +3345,7 @@ function RewardExchangeView(props) {
|
|
|
3386
3345
|
sourceUnit: item.sourceUnit,
|
|
3387
3346
|
})));
|
|
3388
3347
|
}
|
|
3389
|
-
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$
|
|
3348
|
+
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$b.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3390
3349
|
var _a, _b, _c, _d, _e;
|
|
3391
3350
|
return callbacks.setExchangeState({
|
|
3392
3351
|
amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
|
|
@@ -3394,7 +3353,7 @@ function RewardExchangeView(props) {
|
|
|
3394
3353
|
});
|
|
3395
3354
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3396
3355
|
var _a, _b;
|
|
3397
|
-
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3356
|
+
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$b.classes.SelectItem },
|
|
3398
3357
|
step.prettyDestinationValue,
|
|
3399
3358
|
index.h("br", null),
|
|
3400
3359
|
index.h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3413,8 +3372,8 @@ function RewardExchangeView(props) {
|
|
|
3413
3372
|
var _a;
|
|
3414
3373
|
return [
|
|
3415
3374
|
index.h("div", { part: "choose-reward-container" },
|
|
3416
|
-
index.h("div", { class: sheet$
|
|
3417
|
-
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$
|
|
3375
|
+
index.h("div", { class: sheet$b.classes.Title }, states.content.text.rewardTitle),
|
|
3376
|
+
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$b.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3418
3377
|
var _a, _b, _c, _d, _e;
|
|
3419
3378
|
const style = {
|
|
3420
3379
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3423,7 +3382,7 @@ function RewardExchangeView(props) {
|
|
|
3423
3382
|
borderRadius: "4px",
|
|
3424
3383
|
};
|
|
3425
3384
|
return (index.h("div", { key: item.key, style: style },
|
|
3426
|
-
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3385
|
+
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$b.classes.Card, style: {
|
|
3427
3386
|
cursor: item.unavailableReasonCode
|
|
3428
3387
|
? "not-allowed"
|
|
3429
3388
|
: "pointer",
|
|
@@ -3440,14 +3399,14 @@ function RewardExchangeView(props) {
|
|
|
3440
3399
|
? "rgba(0, 0, 0, 0.05)"
|
|
3441
3400
|
: "rgba(0, 0, 0, 0)",
|
|
3442
3401
|
} },
|
|
3443
|
-
index.h("div", { class: sheet$
|
|
3402
|
+
index.h("div", { class: sheet$b.classes.Image, style: {
|
|
3444
3403
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3445
3404
|
} },
|
|
3446
3405
|
index.h("img", { class: item.unavailableReasonCode
|
|
3447
3406
|
? "image subdued"
|
|
3448
3407
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3449
3408
|
index.getAssetPath("./assets/Reward-image.png") })),
|
|
3450
|
-
index.h("div", { class: sheet$
|
|
3409
|
+
index.h("div", { class: sheet$b.classes.TextArea, style: {
|
|
3451
3410
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3452
3411
|
} },
|
|
3453
3412
|
index.h("div", { class: "title", style: {
|
|
@@ -3480,7 +3439,7 @@ function RewardExchangeView(props) {
|
|
|
3480
3439
|
item.prettySourceMinValue,
|
|
3481
3440
|
}))))))));
|
|
3482
3441
|
}))),
|
|
3483
|
-
index.h("div", { class: sheet$
|
|
3442
|
+
index.h("div", { class: sheet$b.classes.Button },
|
|
3484
3443
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
|
|
3485
3444
|
];
|
|
3486
3445
|
}
|
|
@@ -3491,7 +3450,7 @@ function RewardExchangeView(props) {
|
|
|
3491
3450
|
? false
|
|
3492
3451
|
: input && !states.amount;
|
|
3493
3452
|
return (index.h("div", null,
|
|
3494
|
-
index.h("div", { class: sheet$
|
|
3453
|
+
index.h("div", { class: sheet$b.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3495
3454
|
index.h("div", { class: "wrapper" },
|
|
3496
3455
|
index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3497
3456
|
index.getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3500,7 +3459,7 @@ function RewardExchangeView(props) {
|
|
|
3500
3459
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3501
3460
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
|
|
3502
3461
|
index.h("div", { class: "space" }))),
|
|
3503
|
-
index.h("div", { class: sheet$
|
|
3462
|
+
index.h("div", { class: sheet$b.classes.Button },
|
|
3504
3463
|
index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3505
3464
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3506
3465
|
}
|
|
@@ -3508,8 +3467,8 @@ function RewardExchangeView(props) {
|
|
|
3508
3467
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3509
3468
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3510
3469
|
return (index.h("div", null,
|
|
3511
|
-
index.h("div", { class: sheet$
|
|
3512
|
-
index.h("div", { class: sheet$
|
|
3470
|
+
index.h("div", { class: sheet$b.classes.Confirmation, part: "confirmation-container" },
|
|
3471
|
+
index.h("div", { class: sheet$b.classes.Title }, states.content.text.redeemTitle),
|
|
3513
3472
|
index.h("div", { class: "wrapper" },
|
|
3514
3473
|
index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3515
3474
|
index.h("div", { class: "reward-item-container" },
|
|
@@ -3524,13 +3483,13 @@ function RewardExchangeView(props) {
|
|
|
3524
3483
|
index.h("div", { class: "wrapper top-border padding" },
|
|
3525
3484
|
index.h("div", { class: "field" }, states.content.text.costTitle),
|
|
3526
3485
|
index.h("div", { class: "value" }, cost)),
|
|
3527
|
-
index.h("div", { class: sheet$
|
|
3486
|
+
index.h("div", { class: sheet$b.classes.Button },
|
|
3528
3487
|
index.h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3529
3488
|
index.h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3530
3489
|
}
|
|
3531
3490
|
function success() {
|
|
3532
3491
|
var _a, _b, _c, _d, _e, _f;
|
|
3533
|
-
return (index.h("div", { class: sheet$
|
|
3492
|
+
return (index.h("div", { class: sheet$b.classes.Success, part: "success-container" },
|
|
3534
3493
|
index.h(Gift$1, null),
|
|
3535
3494
|
index.h(Confetti, null),
|
|
3536
3495
|
index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3545,7 +3504,7 @@ function RewardExchangeView(props) {
|
|
|
3545
3504
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
|
|
3546
3505
|
states.content.text.promoCode,
|
|
3547
3506
|
index.h(copyTextView.CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
|
|
3548
|
-
index.h("div", { class: sheet$
|
|
3507
|
+
index.h("div", { class: sheet$b.classes.Button },
|
|
3549
3508
|
index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3550
3509
|
}
|
|
3551
3510
|
const stages = {
|
|
@@ -3557,7 +3516,7 @@ function RewardExchangeView(props) {
|
|
|
3557
3516
|
const currentStage = stages[states.redeemStage];
|
|
3558
3517
|
function stageMap() {
|
|
3559
3518
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3560
|
-
return (index.h("div", { class: sheet$
|
|
3519
|
+
return (index.h("div", { class: sheet$b.classes.ProgressBar },
|
|
3561
3520
|
index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3562
3521
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3563
3522
|
return index.h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3569,10 +3528,10 @@ function RewardExchangeView(props) {
|
|
|
3569
3528
|
index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3570
3529
|
}
|
|
3571
3530
|
function loading() {
|
|
3572
|
-
return (index.h("div", { class: sheet$
|
|
3531
|
+
return (index.h("div", { class: sheet$b.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3573
3532
|
return (index.h("div", null,
|
|
3574
|
-
index.h("sl-card", { class: sheet$
|
|
3575
|
-
index.h("div", { class: sheet$
|
|
3533
|
+
index.h("sl-card", { class: sheet$b.classes.Card },
|
|
3534
|
+
index.h("div", { class: sheet$b.classes.CardLayout },
|
|
3576
3535
|
index.h("div", null,
|
|
3577
3536
|
index.h("sl-skeleton", { style: {
|
|
3578
3537
|
width: "100px",
|
|
@@ -3604,12 +3563,12 @@ function RewardExchangeView(props) {
|
|
|
3604
3563
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3605
3564
|
return;
|
|
3606
3565
|
refs.canvasRef.current = canvas;
|
|
3607
|
-
}, id: "my-canvas", class: sheet$
|
|
3566
|
+
}, id: "my-canvas", class: sheet$b.classes.Confetti }));
|
|
3608
3567
|
}
|
|
3609
3568
|
if (states.noExchangeOptions)
|
|
3610
3569
|
return states.content.text.empty;
|
|
3611
|
-
return (index.h("div", { class: sheet$
|
|
3612
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
3570
|
+
return (index.h("div", { class: sheet$b.classes.Container, part: "sqm-base" },
|
|
3571
|
+
index.h("style", { type: "text/css" }, styleString$b),
|
|
3613
3572
|
index.h("div", null,
|
|
3614
3573
|
stageMap(),
|
|
3615
3574
|
states.exchangeError && errorMessage(),
|
|
@@ -4025,7 +3984,7 @@ function CardFeedView(props, children) {
|
|
|
4025
3984
|
index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4026
3985
|
}
|
|
4027
3986
|
|
|
4028
|
-
const style$
|
|
3987
|
+
const style$c = {
|
|
4029
3988
|
HostBlock: mixins.HostBlock,
|
|
4030
3989
|
couponCodeLabel: {
|
|
4031
3990
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4033,21 +3992,21 @@ const style$d = {
|
|
|
4033
3992
|
fontSize: "var(--sl-font-size-small)",
|
|
4034
3993
|
},
|
|
4035
3994
|
};
|
|
4036
|
-
const vanillaStyle$
|
|
3995
|
+
const vanillaStyle$7 = `
|
|
4037
3996
|
:host{
|
|
4038
3997
|
display: block;
|
|
4039
3998
|
width: 100%;
|
|
4040
3999
|
}
|
|
4041
4000
|
`;
|
|
4042
|
-
const sheet$
|
|
4043
|
-
const styleString$
|
|
4001
|
+
const sheet$c = JSS.createStyleSheet(style$c);
|
|
4002
|
+
const styleString$c = sheet$c.toString();
|
|
4044
4003
|
function CouponCodeView(props) {
|
|
4045
4004
|
const error = !props.loading && props.error;
|
|
4046
4005
|
return (index.h("div", null,
|
|
4047
4006
|
index.h("style", { type: "text/css" },
|
|
4048
|
-
styleString$
|
|
4049
|
-
vanillaStyle$
|
|
4050
|
-
index.h("p", { class: sheet$
|
|
4007
|
+
styleString$c,
|
|
4008
|
+
vanillaStyle$7),
|
|
4009
|
+
index.h("p", { class: sheet$c.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4051
4010
|
error ? (index.h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4052
4011
|
index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView, Object.assign({}, props)))));
|
|
4053
4012
|
}
|
|
@@ -4150,7 +4109,6 @@ exports.NameFieldsView = NameFieldsView;
|
|
|
4150
4109
|
exports.PortalChangePasswordView = PortalChangePasswordView;
|
|
4151
4110
|
exports.PortalFooterView = PortalFooterView;
|
|
4152
4111
|
exports.PortalFrameView = PortalFrameView;
|
|
4153
|
-
exports.PortalLoginView = PortalLoginView;
|
|
4154
4112
|
exports.PortalRegisterView = PortalRegisterView;
|
|
4155
4113
|
exports.PoweredByImg = PoweredByImg;
|
|
4156
4114
|
exports.ProgressBar = ProgressBar;
|