@saasquatch/mint-components 1.13.0-9 → 1.13.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-d98f73be.js} +109 -157
- 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 +265 -73
- 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-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-ddfbe8e2.js} +110 -157
- 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 +263 -71
- 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-ddfbe8e2.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-11d8ea66.system.js +1 -0
- 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-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-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-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-68d18642.entry.js +9 -0
- package/dist/mint-components/{p-b9d17fa1.entry.js → p-693942df.entry.js} +1 -1
- package/dist/mint-components/p-6b78811d.entry.js +241 -0
- 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-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-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-b3532369.js +394 -0
- 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-c8cbb40f.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-d1b92919.system.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-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/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
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-91e7729f.js';
|
|
2
2
|
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, H, J, F as Fn, w as wn, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-
|
|
3
|
+
import { i as intl } from './global-be1f9992.js';
|
|
4
|
+
import { d as dist, H, J, F as Fn, w as wn, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-89a79f66.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-
|
|
8
|
+
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-459a2e35.js';
|
|
9
9
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-83f90fa1.js';
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
10
|
+
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
11
11
|
import { l as luxon } from './luxon-8d51c92b.js';
|
|
12
12
|
import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
|
|
13
13
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
14
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
14
|
+
import { a as isValidColor, b as isMobile } from './utilities-5b0ca040.js';
|
|
15
15
|
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-1683ae32.js';
|
|
16
16
|
|
|
17
17
|
const medium = {
|
|
@@ -1212,9 +1212,12 @@ const payoutBalanceQuery = () => {
|
|
|
1212
1212
|
query payoutBalance {
|
|
1213
1213
|
viewer: viewer {
|
|
1214
1214
|
... on User {
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1215
|
+
id
|
|
1216
|
+
impactConnection {
|
|
1217
|
+
publisher {
|
|
1218
|
+
payoutsAccount {
|
|
1219
|
+
balance
|
|
1220
|
+
}
|
|
1218
1221
|
}
|
|
1219
1222
|
}
|
|
1220
1223
|
}
|
|
@@ -1578,56 +1581,6 @@ function PortalChangePasswordView(props) {
|
|
|
1578
1581
|
}
|
|
1579
1582
|
|
|
1580
1583
|
const style$3 = {
|
|
1581
|
-
Wrapper: AuthWrapper,
|
|
1582
|
-
Column: AuthColumn,
|
|
1583
|
-
ForgotButtonContainer: {
|
|
1584
|
-
display: "inline",
|
|
1585
|
-
cursor: "pointer",
|
|
1586
|
-
"font-size": "13px",
|
|
1587
|
-
"font-weight": "600",
|
|
1588
|
-
color: "#AAAAAA",
|
|
1589
|
-
margin: "0",
|
|
1590
|
-
},
|
|
1591
|
-
ButtonsContainer: {
|
|
1592
|
-
...AuthButtonsContainer,
|
|
1593
|
-
gap: "var(--sl-spacing-medium)",
|
|
1594
|
-
"& > *": {
|
|
1595
|
-
margin: "0 !important",
|
|
1596
|
-
},
|
|
1597
|
-
},
|
|
1598
|
-
};
|
|
1599
|
-
const vanillaStyle$1 = `
|
|
1600
|
-
:host {
|
|
1601
|
-
display: block;
|
|
1602
|
-
}
|
|
1603
|
-
:host([hidden]): {
|
|
1604
|
-
display: none;
|
|
1605
|
-
}
|
|
1606
|
-
`;
|
|
1607
|
-
const sheet$3 = createStyleSheet(style$3);
|
|
1608
|
-
const styleString$3 = sheet$3.toString();
|
|
1609
|
-
function PortalLoginView(props) {
|
|
1610
|
-
const { states, callbacks, content } = props;
|
|
1611
|
-
return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1612
|
-
h("style", { type: "text/css" },
|
|
1613
|
-
vanillaStyle$1,
|
|
1614
|
-
styleString$3),
|
|
1615
|
-
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1616
|
-
h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit },
|
|
1617
|
-
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1618
|
-
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1619
|
-
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1620
|
-
h("div", null,
|
|
1621
|
-
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1622
|
-
h("div", { class: sheet$3.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1623
|
-
h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1624
|
-
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
1625
|
-
content.googleButton && h("sl-menu-divider", null),
|
|
1626
|
-
content.googleButton,
|
|
1627
|
-
content.secondaryButton))));
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
const style$4 = {
|
|
1631
1584
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
1632
1585
|
Column: AuthColumn,
|
|
1633
1586
|
HostBlock: HostBlock,
|
|
@@ -1638,7 +1591,7 @@ const style$4 = {
|
|
|
1638
1591
|
ButtonsContainer: AuthButtonsContainer,
|
|
1639
1592
|
ErrorStyle: ErrorStyles,
|
|
1640
1593
|
};
|
|
1641
|
-
const vanillaStyle$
|
|
1594
|
+
const vanillaStyle$1 = `
|
|
1642
1595
|
sqm-portal-register {
|
|
1643
1596
|
margin: 0 auto;
|
|
1644
1597
|
width: 100%;
|
|
@@ -1653,20 +1606,20 @@ sqm-portal-register {
|
|
|
1653
1606
|
display: none;
|
|
1654
1607
|
}
|
|
1655
1608
|
`;
|
|
1656
|
-
const sheet$
|
|
1657
|
-
const styleString$
|
|
1609
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
1610
|
+
const styleString$3 = sheet$3.toString();
|
|
1658
1611
|
function PortalRegisterView(props) {
|
|
1659
1612
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
1660
1613
|
const { states, refs, callbacks, content } = props;
|
|
1661
1614
|
if (states.error) {
|
|
1662
1615
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1663
1616
|
}
|
|
1664
|
-
return (h("div", { class: sheet$
|
|
1617
|
+
return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1665
1618
|
h("style", { type: "text/css" },
|
|
1666
|
-
vanillaStyle$
|
|
1667
|
-
styleString$
|
|
1619
|
+
vanillaStyle$1,
|
|
1620
|
+
styleString$3),
|
|
1668
1621
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1669
|
-
h("sl-form", { class: sheet$
|
|
1622
|
+
h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1670
1623
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1671
1624
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1672
1625
|
content.formData,
|
|
@@ -1679,7 +1632,7 @@ function PortalRegisterView(props) {
|
|
|
1679
1632
|
return content.invalidEmailErrorMessage;
|
|
1680
1633
|
}
|
|
1681
1634
|
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1682
|
-
class: sheet$
|
|
1635
|
+
class: sheet$3.classes.ErrorStyle,
|
|
1683
1636
|
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1684
1637
|
content.requiredFieldErrorMessage,
|
|
1685
1638
|
}
|
|
@@ -1690,17 +1643,17 @@ function PortalRegisterView(props) {
|
|
|
1690
1643
|
value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
|
|
1691
1644
|
}
|
|
1692
1645
|
: {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
|
|
1693
|
-
class: sheet$
|
|
1646
|
+
class: sheet$3.classes.ErrorStyle,
|
|
1694
1647
|
helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
|
|
1695
1648
|
}
|
|
1696
1649
|
: [])))),
|
|
1697
1650
|
content.terms,
|
|
1698
|
-
h("div", { class: sheet$
|
|
1651
|
+
h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1699
1652
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1700
1653
|
content.secondaryButton))));
|
|
1701
1654
|
}
|
|
1702
1655
|
|
|
1703
|
-
const style$
|
|
1656
|
+
const style$4 = {
|
|
1704
1657
|
Description: {
|
|
1705
1658
|
"& input[type=checkbox]": {
|
|
1706
1659
|
display: "none",
|
|
@@ -1739,13 +1692,13 @@ const style$5 = {
|
|
|
1739
1692
|
},
|
|
1740
1693
|
},
|
|
1741
1694
|
};
|
|
1742
|
-
const sheet$
|
|
1743
|
-
const styleString$
|
|
1695
|
+
const sheet$4 = createStyleSheet(style$4);
|
|
1696
|
+
const styleString$4 = sheet$4.toString();
|
|
1744
1697
|
function Details(props) {
|
|
1745
1698
|
const rid = Math.random().toString(36).slice(2);
|
|
1746
1699
|
return (h("div", { style: { opacity: props.opacity } },
|
|
1747
|
-
h("style", { type: "text/css" }, styleString$
|
|
1748
|
-
h("span", { class: sheet$
|
|
1700
|
+
h("style", { type: "text/css" }, styleString$4),
|
|
1701
|
+
h("span", { class: sheet$4.classes.Description },
|
|
1749
1702
|
h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1750
1703
|
h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1751
1704
|
h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1767,7 +1720,7 @@ const GreyGift = () => {
|
|
|
1767
1720
|
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" })));
|
|
1768
1721
|
};
|
|
1769
1722
|
|
|
1770
|
-
const style$
|
|
1723
|
+
const style$5 = {
|
|
1771
1724
|
ProgressBar: {
|
|
1772
1725
|
"& .progress-bar": {
|
|
1773
1726
|
height: "0",
|
|
@@ -1879,14 +1832,14 @@ const style$6 = {
|
|
|
1879
1832
|
},
|
|
1880
1833
|
},
|
|
1881
1834
|
};
|
|
1882
|
-
const sheet$
|
|
1883
|
-
const styleString$
|
|
1835
|
+
const sheet$5 = createStyleSheet(style$5, { classNamePrefix: "sqm-prog-bar" });
|
|
1836
|
+
const styleString$5 = sheet$5.toString();
|
|
1884
1837
|
function ProgressBarView(props) {
|
|
1885
1838
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1886
1839
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1887
1840
|
const { columns, items } = aggregate;
|
|
1888
|
-
return (h("div", { class: sheet$
|
|
1889
|
-
h("style", { type: "text/css" }, styleString$
|
|
1841
|
+
return (h("div", { class: sheet$5.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1842
|
+
h("style", { type: "text/css" }, styleString$5),
|
|
1890
1843
|
h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1891
1844
|
(Boolean(finite) && progress > 2 * goal)
|
|
1892
1845
|
? "progress-bar repeatable-steps"
|
|
@@ -2177,7 +2130,7 @@ const arrow_left_right = () => {
|
|
|
2177
2130
|
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" })));
|
|
2178
2131
|
};
|
|
2179
2132
|
|
|
2180
|
-
const style$
|
|
2133
|
+
const style$6 = {
|
|
2181
2134
|
TaskCard: {
|
|
2182
2135
|
display: "inline-block",
|
|
2183
2136
|
width: "100%",
|
|
@@ -2331,8 +2284,8 @@ const style$7 = {
|
|
|
2331
2284
|
},
|
|
2332
2285
|
},
|
|
2333
2286
|
};
|
|
2334
|
-
const sheet$
|
|
2335
|
-
const styleString$
|
|
2287
|
+
const sheet$6 = createStyleSheet(style$6);
|
|
2288
|
+
const styleString$6 = sheet$6.toString();
|
|
2336
2289
|
function TaskCardView(props) {
|
|
2337
2290
|
var _a, _b;
|
|
2338
2291
|
const { callbacks, states, content } = props;
|
|
@@ -2368,11 +2321,11 @@ function TaskCardView(props) {
|
|
|
2368
2321
|
}
|
|
2369
2322
|
|
|
2370
2323
|
`;
|
|
2371
|
-
return (h("div", { class: sheet$
|
|
2324
|
+
return (h("div", { class: sheet$6.classes.TaskCard, part: "sqm-base" },
|
|
2372
2325
|
h("style", { type: "text/css" },
|
|
2373
|
-
styleString$
|
|
2326
|
+
styleString$6,
|
|
2374
2327
|
vanillaStyle),
|
|
2375
|
-
!states.loading && taskNotStarted && (h("div", { class: sheet$
|
|
2328
|
+
!states.loading && taskNotStarted && (h("div", { class: sheet$6.classes.NotStarted },
|
|
2376
2329
|
h("span", { class: "icon" },
|
|
2377
2330
|
h("sl-icon", { name: "info-circle-fill" })),
|
|
2378
2331
|
intl.formatMessage({
|
|
@@ -2383,7 +2336,7 @@ function TaskCardView(props) {
|
|
|
2383
2336
|
.setLocale(luxonLocale(states.locale))
|
|
2384
2337
|
.toLocaleString(luxon.DateTime.DATETIME_MED),
|
|
2385
2338
|
}))),
|
|
2386
|
-
!states.loading && taskEnded && (h("div", { class: sheet$
|
|
2339
|
+
!states.loading && taskEnded && (h("div", { class: sheet$6.classes.Ended },
|
|
2387
2340
|
h("span", { class: "icon" },
|
|
2388
2341
|
h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2389
2342
|
intl.formatMessage({
|
|
@@ -2403,7 +2356,7 @@ function TaskCardView(props) {
|
|
|
2403
2356
|
? "main complete"
|
|
2404
2357
|
: "main" },
|
|
2405
2358
|
h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2406
|
-
h("div", { class: sheet$
|
|
2359
|
+
h("div", { class: sheet$6.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
|
|
2407
2360
|
showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2408
2361
|
h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2409
2362
|
h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2419,7 +2372,7 @@ function TaskCardView(props) {
|
|
|
2419
2372
|
} }, content.cardTitle)),
|
|
2420
2373
|
states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2421
2374
|
content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2422
|
-
h("div", { class: sheet$
|
|
2375
|
+
h("div", { class: sheet$6.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
|
|
2423
2376
|
h("span", { class: "text" },
|
|
2424
2377
|
content.repeatable && (h("div", null,
|
|
2425
2378
|
h("span", { class: repetitions > 0
|
|
@@ -2490,7 +2443,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2490
2443
|
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 })));
|
|
2491
2444
|
}
|
|
2492
2445
|
|
|
2493
|
-
const vanillaStyle$
|
|
2446
|
+
const vanillaStyle$2 = `
|
|
2494
2447
|
:host{
|
|
2495
2448
|
margin: 0 auto;
|
|
2496
2449
|
width: 100%;
|
|
@@ -2546,7 +2499,7 @@ function PortalFooterView(props) {
|
|
|
2546
2499
|
const styleString = sheet.toString();
|
|
2547
2500
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2548
2501
|
h("style", { type: "text/css" },
|
|
2549
|
-
vanillaStyle$
|
|
2502
|
+
vanillaStyle$2,
|
|
2550
2503
|
styleString),
|
|
2551
2504
|
h("div", { class: sheet.classes.RowContainer },
|
|
2552
2505
|
props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2718,7 +2671,7 @@ function ReferralIframeView(props) {
|
|
|
2718
2671
|
h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2719
2672
|
}
|
|
2720
2673
|
|
|
2721
|
-
const style$
|
|
2674
|
+
const style$7 = {
|
|
2722
2675
|
ErrorStyle: ErrorStyles,
|
|
2723
2676
|
FieldsContainer: {
|
|
2724
2677
|
"& sl-input": {
|
|
@@ -2726,7 +2679,7 @@ const style$8 = {
|
|
|
2726
2679
|
},
|
|
2727
2680
|
},
|
|
2728
2681
|
};
|
|
2729
|
-
const vanillaStyle$
|
|
2682
|
+
const vanillaStyle$3 = `
|
|
2730
2683
|
:host {
|
|
2731
2684
|
margin: 0 auto;
|
|
2732
2685
|
width: 100%;
|
|
@@ -2738,21 +2691,21 @@ sl-input::part(label){
|
|
|
2738
2691
|
font-weight: var(--sl-font-weight-semibold);
|
|
2739
2692
|
}
|
|
2740
2693
|
`;
|
|
2741
|
-
const sheet$
|
|
2742
|
-
const styleString$
|
|
2694
|
+
const sheet$7 = createStyleSheet(style$7);
|
|
2695
|
+
const styleString$7 = sheet$7.toString();
|
|
2743
2696
|
function NameFieldsView(props) {
|
|
2744
2697
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2745
2698
|
const { states } = props;
|
|
2746
2699
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2747
|
-
return (h("div", { class: sheet$
|
|
2700
|
+
return (h("div", { class: sheet$7.classes.FieldsContainer },
|
|
2748
2701
|
h("style", { type: "text/css" },
|
|
2749
|
-
vanillaStyle$
|
|
2750
|
-
styleString$
|
|
2702
|
+
vanillaStyle$3,
|
|
2703
|
+
styleString$7),
|
|
2751
2704
|
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) ? {
|
|
2752
2705
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2753
2706
|
}
|
|
2754
2707
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2755
|
-
class: sheet$
|
|
2708
|
+
class: sheet$7.classes.ErrorStyle,
|
|
2756
2709
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2757
2710
|
}
|
|
2758
2711
|
: []))),
|
|
@@ -2760,13 +2713,13 @@ function NameFieldsView(props) {
|
|
|
2760
2713
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2761
2714
|
}
|
|
2762
2715
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2763
|
-
class: sheet$
|
|
2716
|
+
class: sheet$7.classes.ErrorStyle,
|
|
2764
2717
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2765
2718
|
}
|
|
2766
2719
|
: [])))));
|
|
2767
2720
|
}
|
|
2768
2721
|
|
|
2769
|
-
const style$
|
|
2722
|
+
const style$8 = {
|
|
2770
2723
|
ErrorStyle: {
|
|
2771
2724
|
"&::part(control)": {
|
|
2772
2725
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2789,7 +2742,7 @@ const style$9 = {
|
|
|
2789
2742
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2790
2743
|
},
|
|
2791
2744
|
};
|
|
2792
|
-
const vanillaStyle$
|
|
2745
|
+
const vanillaStyle$4 = `
|
|
2793
2746
|
:host {
|
|
2794
2747
|
margin: 0 auto;
|
|
2795
2748
|
width: 100%;
|
|
@@ -2805,22 +2758,22 @@ sl-checkbox::part(base){
|
|
|
2805
2758
|
}
|
|
2806
2759
|
`;
|
|
2807
2760
|
jss.setup(create());
|
|
2808
|
-
const sheet$
|
|
2809
|
-
const styleString$
|
|
2761
|
+
const sheet$8 = jss.createStyleSheet(style$8);
|
|
2762
|
+
const styleString$8 = sheet$8.toString();
|
|
2810
2763
|
function CheckboxFieldView(props) {
|
|
2811
2764
|
var _a, _b, _c;
|
|
2812
2765
|
const { states, content, callbacks } = props;
|
|
2813
2766
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2814
|
-
return (h("div", { class: sheet$
|
|
2767
|
+
return (h("div", { class: sheet$8.classes.FieldContainer, part: "sqm-base" },
|
|
2815
2768
|
h("style", { type: "text/css" },
|
|
2816
|
-
vanillaStyle$
|
|
2817
|
-
styleString$
|
|
2769
|
+
vanillaStyle$4,
|
|
2770
|
+
styleString$8),
|
|
2818
2771
|
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2819
2772
|
e.target.value = e.target.checked;
|
|
2820
2773
|
callbacks.setChecked(e.target.value);
|
|
2821
2774
|
} }, (!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])
|
|
2822
2775
|
? {
|
|
2823
|
-
class: sheet$
|
|
2776
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2824
2777
|
}
|
|
2825
2778
|
: [])),
|
|
2826
2779
|
intl.formatMessage({
|
|
@@ -2829,13 +2782,13 @@ function CheckboxFieldView(props) {
|
|
|
2829
2782
|
}, {
|
|
2830
2783
|
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2831
2784
|
}),
|
|
2832
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$
|
|
2785
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$8.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2833
2786
|
id: `errorMessage-${content.checkboxName}`,
|
|
2834
2787
|
defaultMessage: content.errorMessage,
|
|
2835
2788
|
}))))));
|
|
2836
2789
|
}
|
|
2837
2790
|
|
|
2838
|
-
const style$
|
|
2791
|
+
const style$9 = {
|
|
2839
2792
|
ErrorStyle: {
|
|
2840
2793
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2841
2794
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2851,7 +2804,7 @@ const style$a = {
|
|
|
2851
2804
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2852
2805
|
},
|
|
2853
2806
|
};
|
|
2854
|
-
const vanillaStyle$
|
|
2807
|
+
const vanillaStyle$5 = `
|
|
2855
2808
|
:host {
|
|
2856
2809
|
margin: 0 auto;
|
|
2857
2810
|
width: 100%;
|
|
@@ -2863,36 +2816,36 @@ sl-select::part(label){
|
|
|
2863
2816
|
}
|
|
2864
2817
|
`;
|
|
2865
2818
|
jss.setup(create());
|
|
2866
|
-
const sheet$
|
|
2867
|
-
const styleString$
|
|
2819
|
+
const sheet$9 = jss.createStyleSheet(style$9);
|
|
2820
|
+
const styleString$9 = sheet$9.toString();
|
|
2868
2821
|
function DropdownFieldView(props) {
|
|
2869
2822
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2870
2823
|
const { states, content } = props;
|
|
2871
2824
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2872
|
-
return (h("div", { class: sheet$
|
|
2825
|
+
return (h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
2873
2826
|
h("style", { type: "text/css" },
|
|
2874
|
-
vanillaStyle$
|
|
2875
|
-
styleString$
|
|
2827
|
+
vanillaStyle$5,
|
|
2828
|
+
styleString$9),
|
|
2876
2829
|
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]) ? {
|
|
2877
2830
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2878
2831
|
}
|
|
2879
2832
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2880
|
-
class: sheet$
|
|
2833
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2881
2834
|
}
|
|
2882
2835
|
: [])), content.selectOptions),
|
|
2883
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$
|
|
2836
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$9.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2884
2837
|
id: `errorMessage-${content.dropdownName}`,
|
|
2885
2838
|
defaultMessage: content.errorMessage,
|
|
2886
2839
|
})))));
|
|
2887
2840
|
}
|
|
2888
2841
|
|
|
2889
|
-
const style$
|
|
2842
|
+
const style$a = {
|
|
2890
2843
|
ErrorStyle: ErrorStyles,
|
|
2891
2844
|
FieldContainer: {
|
|
2892
2845
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2893
2846
|
},
|
|
2894
2847
|
};
|
|
2895
|
-
const vanillaStyle$
|
|
2848
|
+
const vanillaStyle$6 = `
|
|
2896
2849
|
:host {
|
|
2897
2850
|
margin: 0 auto;
|
|
2898
2851
|
width: 100%;
|
|
@@ -2900,21 +2853,21 @@ const vanillaStyle$7 = `
|
|
|
2900
2853
|
}
|
|
2901
2854
|
`;
|
|
2902
2855
|
jss.setup(create());
|
|
2903
|
-
const sheet$
|
|
2904
|
-
const styleString$
|
|
2856
|
+
const sheet$a = jss.createStyleSheet(style$a);
|
|
2857
|
+
const styleString$a = sheet$a.toString();
|
|
2905
2858
|
function InputFieldView(props) {
|
|
2906
2859
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2907
2860
|
const { states, content } = props;
|
|
2908
2861
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2909
|
-
return (h("div", { class: sheet$
|
|
2862
|
+
return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2910
2863
|
h("style", { type: "text/css" },
|
|
2911
|
-
vanillaStyle$
|
|
2912
|
-
styleString$
|
|
2864
|
+
vanillaStyle$6,
|
|
2865
|
+
styleString$a),
|
|
2913
2866
|
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]) ? {
|
|
2914
2867
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2915
2868
|
}
|
|
2916
2869
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2917
|
-
class: sheet$
|
|
2870
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2918
2871
|
helpText: intl.formatMessage({
|
|
2919
2872
|
id: `errorMessage-${content.fieldName}`,
|
|
2920
2873
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -3009,7 +2962,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3009
2962
|
return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3010
2963
|
}
|
|
3011
2964
|
|
|
3012
|
-
const style$
|
|
2965
|
+
const style$b = {
|
|
3013
2966
|
HostBlock: HostBlock,
|
|
3014
2967
|
Container: {
|
|
3015
2968
|
minWidth: "300px",
|
|
@@ -3360,8 +3313,8 @@ const style$c = {
|
|
|
3360
3313
|
},
|
|
3361
3314
|
};
|
|
3362
3315
|
// JSS config
|
|
3363
|
-
const sheet$
|
|
3364
|
-
const styleString$
|
|
3316
|
+
const sheet$b = createStyleSheet(style$b);
|
|
3317
|
+
const styleString$b = sheet$b.toString();
|
|
3365
3318
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3366
3319
|
function RewardExchangeView(props) {
|
|
3367
3320
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3384,7 +3337,7 @@ function RewardExchangeView(props) {
|
|
|
3384
3337
|
sourceUnit: item.sourceUnit,
|
|
3385
3338
|
})));
|
|
3386
3339
|
}
|
|
3387
|
-
return (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$
|
|
3340
|
+
return (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) => {
|
|
3388
3341
|
var _a, _b, _c, _d, _e;
|
|
3389
3342
|
return callbacks.setExchangeState({
|
|
3390
3343
|
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,
|
|
@@ -3392,7 +3345,7 @@ function RewardExchangeView(props) {
|
|
|
3392
3345
|
});
|
|
3393
3346
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3394
3347
|
var _a, _b;
|
|
3395
|
-
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3348
|
+
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$b.classes.SelectItem },
|
|
3396
3349
|
step.prettyDestinationValue,
|
|
3397
3350
|
h("br", null),
|
|
3398
3351
|
h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3411,8 +3364,8 @@ function RewardExchangeView(props) {
|
|
|
3411
3364
|
var _a;
|
|
3412
3365
|
return [
|
|
3413
3366
|
h("div", { part: "choose-reward-container" },
|
|
3414
|
-
h("div", { class: sheet$
|
|
3415
|
-
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$
|
|
3367
|
+
h("div", { class: sheet$b.classes.Title }, states.content.text.rewardTitle),
|
|
3368
|
+
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$b.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3416
3369
|
var _a, _b, _c, _d, _e;
|
|
3417
3370
|
const style = {
|
|
3418
3371
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3421,7 +3374,7 @@ function RewardExchangeView(props) {
|
|
|
3421
3374
|
borderRadius: "4px",
|
|
3422
3375
|
};
|
|
3423
3376
|
return (h("div", { key: item.key, style: style },
|
|
3424
|
-
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3377
|
+
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$b.classes.Card, style: {
|
|
3425
3378
|
cursor: item.unavailableReasonCode
|
|
3426
3379
|
? "not-allowed"
|
|
3427
3380
|
: "pointer",
|
|
@@ -3438,14 +3391,14 @@ function RewardExchangeView(props) {
|
|
|
3438
3391
|
? "rgba(0, 0, 0, 0.05)"
|
|
3439
3392
|
: "rgba(0, 0, 0, 0)",
|
|
3440
3393
|
} },
|
|
3441
|
-
h("div", { class: sheet$
|
|
3394
|
+
h("div", { class: sheet$b.classes.Image, style: {
|
|
3442
3395
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3443
3396
|
} },
|
|
3444
3397
|
h("img", { class: item.unavailableReasonCode
|
|
3445
3398
|
? "image subdued"
|
|
3446
3399
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3447
3400
|
getAssetPath("./assets/Reward-image.png") })),
|
|
3448
|
-
h("div", { class: sheet$
|
|
3401
|
+
h("div", { class: sheet$b.classes.TextArea, style: {
|
|
3449
3402
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3450
3403
|
} },
|
|
3451
3404
|
h("div", { class: "title", style: {
|
|
@@ -3478,7 +3431,7 @@ function RewardExchangeView(props) {
|
|
|
3478
3431
|
item.prettySourceMinValue,
|
|
3479
3432
|
}))))))));
|
|
3480
3433
|
}))),
|
|
3481
|
-
h("div", { class: sheet$
|
|
3434
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3482
3435
|
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))),
|
|
3483
3436
|
];
|
|
3484
3437
|
}
|
|
@@ -3489,7 +3442,7 @@ function RewardExchangeView(props) {
|
|
|
3489
3442
|
? false
|
|
3490
3443
|
: input && !states.amount;
|
|
3491
3444
|
return (h("div", null,
|
|
3492
|
-
h("div", { class: sheet$
|
|
3445
|
+
h("div", { class: sheet$b.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3493
3446
|
h("div", { class: "wrapper" },
|
|
3494
3447
|
h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3495
3448
|
getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3498,7 +3451,7 @@ function RewardExchangeView(props) {
|
|
|
3498
3451
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3499
3452
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
|
|
3500
3453
|
h("div", { class: "space" }))),
|
|
3501
|
-
h("div", { class: sheet$
|
|
3454
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3502
3455
|
h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3503
3456
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3504
3457
|
}
|
|
@@ -3506,8 +3459,8 @@ function RewardExchangeView(props) {
|
|
|
3506
3459
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3507
3460
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3508
3461
|
return (h("div", null,
|
|
3509
|
-
h("div", { class: sheet$
|
|
3510
|
-
h("div", { class: sheet$
|
|
3462
|
+
h("div", { class: sheet$b.classes.Confirmation, part: "confirmation-container" },
|
|
3463
|
+
h("div", { class: sheet$b.classes.Title }, states.content.text.redeemTitle),
|
|
3511
3464
|
h("div", { class: "wrapper" },
|
|
3512
3465
|
h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3513
3466
|
h("div", { class: "reward-item-container" },
|
|
@@ -3522,13 +3475,13 @@ function RewardExchangeView(props) {
|
|
|
3522
3475
|
h("div", { class: "wrapper top-border padding" },
|
|
3523
3476
|
h("div", { class: "field" }, states.content.text.costTitle),
|
|
3524
3477
|
h("div", { class: "value" }, cost)),
|
|
3525
|
-
h("div", { class: sheet$
|
|
3478
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3526
3479
|
h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3527
3480
|
h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3528
3481
|
}
|
|
3529
3482
|
function success() {
|
|
3530
3483
|
var _a, _b, _c, _d, _e, _f;
|
|
3531
|
-
return (h("div", { class: sheet$
|
|
3484
|
+
return (h("div", { class: sheet$b.classes.Success, part: "success-container" },
|
|
3532
3485
|
h(Gift$1, null),
|
|
3533
3486
|
h(Confetti, null),
|
|
3534
3487
|
h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3543,7 +3496,7 @@ function RewardExchangeView(props) {
|
|
|
3543
3496
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
|
|
3544
3497
|
states.content.text.promoCode,
|
|
3545
3498
|
h(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 }))),
|
|
3546
|
-
h("div", { class: sheet$
|
|
3499
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3547
3500
|
h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3548
3501
|
}
|
|
3549
3502
|
const stages = {
|
|
@@ -3555,7 +3508,7 @@ function RewardExchangeView(props) {
|
|
|
3555
3508
|
const currentStage = stages[states.redeemStage];
|
|
3556
3509
|
function stageMap() {
|
|
3557
3510
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3558
|
-
return (h("div", { class: sheet$
|
|
3511
|
+
return (h("div", { class: sheet$b.classes.ProgressBar },
|
|
3559
3512
|
h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3560
3513
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3561
3514
|
return h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3567,10 +3520,10 @@ function RewardExchangeView(props) {
|
|
|
3567
3520
|
h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3568
3521
|
}
|
|
3569
3522
|
function loading() {
|
|
3570
|
-
return (h("div", { class: sheet$
|
|
3523
|
+
return (h("div", { class: sheet$b.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3571
3524
|
return (h("div", null,
|
|
3572
|
-
h("sl-card", { class: sheet$
|
|
3573
|
-
h("div", { class: sheet$
|
|
3525
|
+
h("sl-card", { class: sheet$b.classes.Card },
|
|
3526
|
+
h("div", { class: sheet$b.classes.CardLayout },
|
|
3574
3527
|
h("div", null,
|
|
3575
3528
|
h("sl-skeleton", { style: {
|
|
3576
3529
|
width: "100px",
|
|
@@ -3602,12 +3555,12 @@ function RewardExchangeView(props) {
|
|
|
3602
3555
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3603
3556
|
return;
|
|
3604
3557
|
refs.canvasRef.current = canvas;
|
|
3605
|
-
}, id: "my-canvas", class: sheet$
|
|
3558
|
+
}, id: "my-canvas", class: sheet$b.classes.Confetti }));
|
|
3606
3559
|
}
|
|
3607
3560
|
if (states.noExchangeOptions)
|
|
3608
3561
|
return states.content.text.empty;
|
|
3609
|
-
return (h("div", { class: sheet$
|
|
3610
|
-
h("style", { type: "text/css" }, styleString$
|
|
3562
|
+
return (h("div", { class: sheet$b.classes.Container, part: "sqm-base" },
|
|
3563
|
+
h("style", { type: "text/css" }, styleString$b),
|
|
3611
3564
|
h("div", null,
|
|
3612
3565
|
stageMap(),
|
|
3613
3566
|
states.exchangeError && errorMessage(),
|
|
@@ -4023,7 +3976,7 @@ function CardFeedView(props, children) {
|
|
|
4023
3976
|
h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4024
3977
|
}
|
|
4025
3978
|
|
|
4026
|
-
const style$
|
|
3979
|
+
const style$c = {
|
|
4027
3980
|
HostBlock: HostBlock,
|
|
4028
3981
|
couponCodeLabel: {
|
|
4029
3982
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4031,21 +3984,21 @@ const style$d = {
|
|
|
4031
3984
|
fontSize: "var(--sl-font-size-small)",
|
|
4032
3985
|
},
|
|
4033
3986
|
};
|
|
4034
|
-
const vanillaStyle$
|
|
3987
|
+
const vanillaStyle$7 = `
|
|
4035
3988
|
:host{
|
|
4036
3989
|
display: block;
|
|
4037
3990
|
width: 100%;
|
|
4038
3991
|
}
|
|
4039
3992
|
`;
|
|
4040
|
-
const sheet$
|
|
4041
|
-
const styleString$
|
|
3993
|
+
const sheet$c = createStyleSheet(style$c);
|
|
3994
|
+
const styleString$c = sheet$c.toString();
|
|
4042
3995
|
function CouponCodeView(props) {
|
|
4043
3996
|
const error = !props.loading && props.error;
|
|
4044
3997
|
return (h("div", null,
|
|
4045
3998
|
h("style", { type: "text/css" },
|
|
4046
|
-
styleString$
|
|
4047
|
-
vanillaStyle$
|
|
4048
|
-
h("p", { class: sheet$
|
|
3999
|
+
styleString$c,
|
|
4000
|
+
vanillaStyle$7),
|
|
4001
|
+
h("p", { class: sheet$c.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4049
4002
|
error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4050
4003
|
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
|
|
4051
4004
|
}
|
|
@@ -4135,4 +4088,4 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4135
4088
|
h(TagName, { "stencilbook-shadow-view": randomInt })));
|
|
4136
4089
|
};
|
|
4137
4090
|
|
|
4138
|
-
export {
|
|
4091
|
+
export { empty as A, BigStatView as B, CheckboxFieldView as C, DropdownFieldView as D, EditProfileView as E, rewardExchange as F, CardFeedView as G, HeroView as H, InputFieldView as I, CouponCodeView as J, ProgressBar as K, LeaderboardView as L, autoColorScaleCss as M, NameFieldsView as N, ShadowViewAddon as O, PortalFrameView as P, useBigStat as Q, ReferralIframeView as R, ShareButtonView as S, TaskCardView as T, withShadowView as U, demoRewardExchange as V, useShareButton as a, useDemoBigStat as b, StatContainerView as c, PortalChangePasswordView as d, PortalRegisterView as e, ProgressBarView as f, PoweredByImg as g, PortalFooterView as h, RewardExchangeView as i, rewardExchangeLongText as j, rewardExchangeSelected as k, chooseAmountFixed as l, chooseAmountFixedNoDescription as m, chooseAmountVariable as n, chooseAmountVariableNoDescription as o, chooseAmountVariableDisabled as p, chooseAmountVariableUnavailable as q, rewardExchangeCustomErrorMsg as r, confirmFixed as s, confirmVariable as t, useShareLink as u, redemptionError as v, queryError as w, success as x, successVariable as y, loading as z };
|