@saasquatch/mint-components 2.5.0-2 → 2.5.0-3
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/{data-89ac73dd.js → data-04ef5511.js} +2 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +43 -29
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +47 -17
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-partner-info-modal-view-431100ad.js → sqm-partner-info-modal-view-d9b61d54.js} +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +75 -8
- package/dist/cjs/{sqm-user-info-form-view-c5f9b79b.js → sqm-user-info-form-view-9745956d.js} +49 -46
- package/dist/cjs/{subregions-3d27e279.js → subregions-d12829d6.js} +28 -0
- package/dist/cjs/{useIndirectTaxForm-5211013b.js → useIndirectTaxForm-0969e194.js} +26 -3
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -0
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +2 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +5 -0
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +2 -0
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +7 -0
- package/dist/collection/components/sqm-empty/sqm-empty.js +2 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +8 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +4 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +8 -0
- package/dist/collection/components/sqm-image/sqm-image.js +1 -0
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +2 -0
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +4 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +7 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +1 -0
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -0
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +2 -0
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +2 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +3 -0
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +1 -1
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +5 -0
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -0
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +1 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +4 -0
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +8 -0
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +5 -0
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +8 -0
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -0
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -0
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +3 -0
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +7 -0
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +7 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +5 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +5 -0
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +7 -0
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +5 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +3 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +3 -0
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +3 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +1 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +9 -0
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +5 -0
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -0
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -0
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +3 -0
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +3 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +4 -0
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +1 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +9 -0
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +4 -0
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +4 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +4 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +19 -0
- package/dist/collection/components/tax-and-cash/data.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +4 -0
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +25 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +12 -8
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +10 -9
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +7 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +24 -13
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +55 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +25 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +64 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/TaxAndCashDashboardView.stories.js +11 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +44 -41
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +55 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +2 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +3 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +5 -0
- package/dist/collection/components/tax-and-cash/utils.js +26 -0
- package/dist/esm/{data-8698cbc6.js → data-0be04430.js} +2 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +43 -29
- package/dist/esm/sqm-big-stat_47.entry.js +47 -17
- package/dist/esm/sqm-email-verification_2.entry.js +3 -3
- package/dist/esm/{sqm-partner-info-modal-view-34d4be5b.js → sqm-partner-info-modal-view-b921fed1.js} +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -0
- package/dist/esm/sqm-stencilbook.entry.js +75 -8
- package/dist/esm/{sqm-user-info-form-view-ceb3917a.js → sqm-user-info-form-view-81526655.js} +49 -46
- package/dist/esm/{subregions-810a5c2d.js → subregions-98789b46.js} +27 -1
- package/dist/esm/{useIndirectTaxForm-4dc576f0.js → useIndirectTaxForm-bbe8779d.js} +26 -3
- package/dist/esm-es5/data-0be04430.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-b921fed1.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-81526655.js +1 -0
- package/dist/esm-es5/subregions-98789b46.js +1 -0
- package/dist/esm-es5/useIndirectTaxForm-bbe8779d.js +6 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-07b989a3.system.js +6 -0
- package/dist/mint-components/{p-05466678.entry.js → p-0d89ef44.entry.js} +3 -3
- package/dist/mint-components/p-14f4cce8.js +1 -0
- package/dist/mint-components/{p-8bdabf61.entry.js → p-1e9c339f.entry.js} +2 -2
- package/dist/mint-components/p-227ca8d4.system.js +1 -0
- package/dist/mint-components/p-231926a3.system.entry.js +1 -0
- package/dist/mint-components/p-288249ae.system.entry.js +1 -0
- package/dist/mint-components/p-53575d04.js +1 -0
- package/dist/mint-components/p-549d60ee.system.entry.js +1 -0
- package/dist/mint-components/{p-7468e5b8.entry.js → p-654cdee8.entry.js} +2 -2
- package/dist/mint-components/{p-5c52100b.js → p-7aa89fa8.js} +2 -0
- package/dist/mint-components/p-826e3db0.system.js +1 -0
- package/dist/mint-components/p-a1b655ba.system.js +1 -0
- package/dist/mint-components/p-b1feb0f1.js +108 -0
- package/dist/mint-components/p-bfb00685.system.js +1 -1
- package/dist/mint-components/{p-ee6700a3.system.entry.js → p-cf12347b.system.entry.js} +1 -1
- package/dist/mint-components/p-db73312a.system.js +1 -0
- package/dist/mint-components/p-e1b917ff.entry.js +83 -0
- package/dist/mint-components/p-f75ead20.js +1 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +1 -0
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +2 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +5 -0
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +2 -0
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +7 -0
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +2 -0
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +8 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +4 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +8 -0
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -0
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +2 -0
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +4 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +7 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +1 -0
- package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +1 -0
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +2 -0
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +2 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +3 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +5 -0
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +2 -0
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +1 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +4 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +5 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +8 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +2 -0
- package/dist/types/components/sqm-portal-google-login/sqm-portal-google-login.d.ts +1 -0
- package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +3 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +7 -0
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +7 -0
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +5 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +5 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +7 -0
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +5 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +3 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +3 -0
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +3 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +9 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +3 -0
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -0
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +3 -0
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +3 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +4 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +2 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +1 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +9 -0
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +4 -0
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +4 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/data.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +2 -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 +3 -0
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +2 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +11 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/TaxAndCashDashboardView.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +5 -0
- package/dist/types/components/tax-and-cash/utils.d.ts +5 -1
- package/dist/types/components.d.ts +54 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/data-8698cbc6.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-34d4be5b.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-ceb3917a.js +0 -1
- package/dist/esm-es5/subregions-810a5c2d.js +0 -1
- package/dist/esm-es5/useIndirectTaxForm-4dc576f0.js +0 -6
- package/dist/mint-components/p-0ad64881.js +0 -101
- package/dist/mint-components/p-41e1547d.system.entry.js +0 -1
- package/dist/mint-components/p-4481f259.entry.js +0 -83
- package/dist/mint-components/p-6c31a79b.system.entry.js +0 -1
- package/dist/mint-components/p-6cd93ea3.system.js +0 -6
- package/dist/mint-components/p-765e3379.js +0 -1
- package/dist/mint-components/p-92f520c9.js +0 -1
- package/dist/mint-components/p-93f1e26a.system.entry.js +0 -1
- package/dist/mint-components/p-9c1f5317.system.js +0 -1
- package/dist/mint-components/p-ad90628d.system.js +0 -1
- package/dist/mint-components/p-aef2db59.system.js +0 -1
- package/dist/mint-components/p-c36fedea.js +0 -1
- package/dist/mint-components/p-fd231c49.system.js +0 -1
package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js
CHANGED
|
@@ -8,6 +8,10 @@ import deepmerge from "deepmerge";
|
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Change Marketing Opt in Status
|
|
10
10
|
* @requiredFeatures ["MARKETING_EMAILS"]
|
|
11
|
+
* @csspart erroralert-text - The error message element
|
|
12
|
+
* @csspart successalert-text - The success message element
|
|
13
|
+
* @csspart erroralert-icon - The error alert icon
|
|
14
|
+
* @csspart successalert-icon - The success alert icon
|
|
11
15
|
*/
|
|
12
16
|
export class PortalChangeMarketing {
|
|
13
17
|
constructor() {
|
|
@@ -8,6 +8,14 @@ import { useState } from "@saasquatch/universal-hooks";
|
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Password Change
|
|
10
10
|
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand"]
|
|
11
|
+
* @csspart erroralert-text - The error message element
|
|
12
|
+
* @csspart successalert-text - The success message element
|
|
13
|
+
* @csspart erroralert-icon - The error alert icon
|
|
14
|
+
* @csspart successalert-icon - The success alert icon
|
|
15
|
+
* @csspart input-label - The input label
|
|
16
|
+
* @csspart input-base - The input base
|
|
17
|
+
* @csspart primarybutton-base - The primary button base
|
|
18
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
11
19
|
*/
|
|
12
20
|
export class PortalChangePassword {
|
|
13
21
|
constructor() {
|
package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js
CHANGED
|
@@ -6,6 +6,11 @@ import { PortalEmailVerificationView, } from "./sqm-portal-email-verification-vi
|
|
|
6
6
|
import { usePortalEmailVerification } from "./usePortalEmailVerification";
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Microsite Email Verification
|
|
9
|
+
* @csspart erroralert-text - The error message element
|
|
10
|
+
* @csspart successalert-text - The success message element
|
|
11
|
+
* @csspart erroralert-icon - The error alert icon
|
|
12
|
+
* @csspart successalert-icon - The success alert icon
|
|
13
|
+
* @csspart primarybutton-base - The primary button base
|
|
9
14
|
*/
|
|
10
15
|
export class PortalEmailVerification {
|
|
11
16
|
constructor() {
|
|
@@ -6,6 +6,14 @@ import { PortalForgotPasswordView, } from "./sqm-portal-forgot-password-view";
|
|
|
6
6
|
import { usePortalForgotPassword } from "./usePortalForgotPassword";
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Microsite Forgot Password
|
|
9
|
+
* @csspart erroralert-text - The error message element
|
|
10
|
+
* @csspart successalert-text - The success message element
|
|
11
|
+
* @csspart erroralert-icon - The error alert icon
|
|
12
|
+
* @csspart successalert-icon - The success alert icon
|
|
13
|
+
* @csspart input-label - The input label
|
|
14
|
+
* @csspart input-base - The input base
|
|
15
|
+
* @csspart primarybutton-base - The primary button base
|
|
16
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
9
17
|
*/
|
|
10
18
|
export class PortalForgotPassword {
|
|
11
19
|
constructor() {
|
|
@@ -7,6 +7,8 @@ import deepmerge from "deepmerge";
|
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Microsite Frame
|
|
9
9
|
* @slots [{"name":"header","title":"Header Content"},{"name":"footer","title":"Footer Content"},{"name":"","title":"Body Content"}]
|
|
10
|
+
* @csspart sqm-header - The header container
|
|
11
|
+
* @csspart sqm-footer - The footer container
|
|
10
12
|
*/
|
|
11
13
|
export class PortalFrame {
|
|
12
14
|
constructor() {
|
|
@@ -7,6 +7,7 @@ import { PortalLoginView, } from "../sqm-portal-login/sqm-portal-login-view";
|
|
|
7
7
|
import { usePortalLogin } from "../sqm-portal-login/usePortalLogin";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Login
|
|
10
|
+
* @csspart forgot-password-link - The forgot password link
|
|
10
11
|
*/
|
|
11
12
|
export class PortalGoogleLogin {
|
|
12
13
|
constructor() {
|
|
@@ -11,6 +11,9 @@ import { usePortalGoogleRegistrationForm } from "./usePortalGoogleRegistrationFo
|
|
|
11
11
|
* @uiName Google Registration
|
|
12
12
|
* @canvasRenderer always-replace
|
|
13
13
|
* @slots [{"name":"formData","title":"Additional Fields"},{"name":"terms","title":"Terms And Conditions Fields"}]
|
|
14
|
+
* @csspart input-label - The input label
|
|
15
|
+
* @csspart input-base - The input base
|
|
16
|
+
* @csspart primarybutton-base - The primary button base
|
|
14
17
|
*/
|
|
15
18
|
export class PortalGoogleRegistrationForm {
|
|
16
19
|
constructor() {
|
|
@@ -8,6 +8,13 @@ import { createStyleSheet } from "../../styling/JSS";
|
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Login
|
|
10
10
|
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand", "template"]
|
|
11
|
+
* @csspart forgot-password-link - The forgot password link
|
|
12
|
+
* @csspart erroralert-text - The error message element
|
|
13
|
+
* @csspart erroralert-icon - The error alert icon
|
|
14
|
+
* @csspart input-label - The input label
|
|
15
|
+
* @csspart input-base - The input base
|
|
16
|
+
* @csspart primarybutton-base - The primary button base
|
|
17
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
11
18
|
*/
|
|
12
19
|
export class PortalLogin {
|
|
13
20
|
constructor() {
|
|
@@ -8,6 +8,13 @@ import deepmerge from "deepmerge";
|
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Participant Profile
|
|
10
10
|
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template"]
|
|
11
|
+
* @csspart erroralert-text - The error message element
|
|
12
|
+
* @csspart successalert-text - The success message element
|
|
13
|
+
* @csspart success-icon - The success alert icon
|
|
14
|
+
* @csspart erroralert-icon - The error alert icon
|
|
15
|
+
* @csspart input-label - The input label
|
|
16
|
+
* @csspart input-base - The input base
|
|
17
|
+
* @csspart primarybutton-base - The primary button base
|
|
11
18
|
*/
|
|
12
19
|
export class PortalProfile {
|
|
13
20
|
constructor() {
|
|
@@ -8,6 +8,11 @@ import { usePortalRegister } from "./usePortalRegister";
|
|
|
8
8
|
* @uiName Microsite Registration
|
|
9
9
|
* @canvasRenderer always-replace
|
|
10
10
|
* @slots [{"name":"formData","title":"Additional Fields"},{"name":"terms","title":"Terms And Conditions Fields"}]
|
|
11
|
+
* @csspart erroralert-text - The error message element
|
|
12
|
+
* @csspart erroralert-icon - The error alert icon
|
|
13
|
+
* @csspart input-label - The input label
|
|
14
|
+
* @csspart input-base - The input base
|
|
15
|
+
* @csspart primarybutton-base - The primary button base
|
|
11
16
|
*/
|
|
12
17
|
export class PortalRegister {
|
|
13
18
|
constructor() {
|
package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js
CHANGED
|
@@ -8,6 +8,11 @@ import { usePortalRegistrationForm } from "./usePortalRegistrationForm";
|
|
|
8
8
|
* @uiName Microsite Registration
|
|
9
9
|
* @canvasRenderer always-replace
|
|
10
10
|
* @slots [{"name":"formData","title":"Additional Fields"},{"name":"terms","title":"Terms And Conditions Fields"},{"name":"emailOptIn","title":"Email Opt-in Fields"}]
|
|
11
|
+
* @csspart erroralert-text - The error message element
|
|
12
|
+
* @csspart erroralert-icon - The error alert icon
|
|
13
|
+
* @csspart input-label - The input label
|
|
14
|
+
* @csspart input-base - The input base
|
|
15
|
+
* @csspart primarybutton-base - The primary button base
|
|
11
16
|
*/
|
|
12
17
|
export class PortalRegistrationForm {
|
|
13
18
|
constructor() {
|
|
@@ -6,6 +6,13 @@ import { PortalResetPasswordView, } from "./sqm-portal-reset-password-view";
|
|
|
6
6
|
import { usePortalResetPassword } from "./usePortalResetPassword";
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Microsite Reset Password
|
|
9
|
+
* @csspart erroralert-text - The error message element
|
|
10
|
+
* @csspart successalert-text - The success message element
|
|
11
|
+
* @csspart success-icon - The success alert icon
|
|
12
|
+
* @csspart erroralert-icon - The error alert icon
|
|
13
|
+
* @csspart input-label - The input label
|
|
14
|
+
* @csspart input-base - The input base
|
|
15
|
+
* @csspart primarybutton-base - The primary button base
|
|
9
16
|
*/
|
|
10
17
|
export class PortalResetPassword {
|
|
11
18
|
constructor() {
|
|
@@ -7,6 +7,11 @@ import { usePortalVerifyEmail } from "./usePortalVerifyEmail";
|
|
|
7
7
|
import { getProps } from "../../utils/utils";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Verify Email
|
|
10
|
+
* @csspart erroralert-text - The error message element
|
|
11
|
+
* @csspart successalert-text - The success message element
|
|
12
|
+
* @csspart success-icon - The success alert icon
|
|
13
|
+
* @csspart erroralert-icon - The error alert icon
|
|
14
|
+
* @csspart primarybutton-base - The primary button base
|
|
10
15
|
*/
|
|
11
16
|
export class PortalVerifyEmail {
|
|
12
17
|
constructor() {
|
|
@@ -10,6 +10,9 @@ import { useQRCode } from "./useQRCode";
|
|
|
10
10
|
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand", "sqb-program-section", "sqb-conditional-section"]
|
|
11
11
|
* @exampleGroup Sharing
|
|
12
12
|
* @example QR Code - <sqm-qr-code></sqm-qr-code>
|
|
13
|
+
* @csspart sqm-title - The QR code title
|
|
14
|
+
* @csspart primarybutton-base - The primary button base
|
|
15
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
13
16
|
*/
|
|
14
17
|
export class QrCode {
|
|
15
18
|
constructor() {
|
|
@@ -10,6 +10,9 @@ import { useReferralCode } from "./useReferralCode";
|
|
|
10
10
|
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-referral-card","span", "sqm-referral-codes"]
|
|
11
11
|
* @exampleGroup Sharing
|
|
12
12
|
* @example Referral Code - <sqm-referral-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000" show-notification-text="true"></sqm-referral-code>
|
|
13
|
+
* @csspart icon-button-base - The copy icon button base
|
|
14
|
+
* @csspart primarybutton-base - The primary button base
|
|
15
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
13
16
|
*/
|
|
14
17
|
export class ReferralCode {
|
|
15
18
|
constructor() {
|
package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js
CHANGED
|
@@ -4,6 +4,9 @@ import { intl } from "../../../global/global";
|
|
|
4
4
|
import { createStyleSheet } from "../../../styling/JSS";
|
|
5
5
|
import { luxonLocale } from "../../../utils/utils";
|
|
6
6
|
import { TextSpanView } from "../../sqm-text-span/sqm-text-span-view";
|
|
7
|
+
/**
|
|
8
|
+
* @csspart sqm-cell-value - The reward cell value
|
|
9
|
+
*/
|
|
7
10
|
export class ReferralTableRewardsCell {
|
|
8
11
|
constructor() {
|
|
9
12
|
this.statusText = "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PROCESSING {Payment Processing} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js
CHANGED
|
@@ -4,6 +4,7 @@ import { useRequestRerender } from "../../../tables/re-render";
|
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Referral Table Rewards Column
|
|
6
6
|
* @validParents ["sqm-referral-table"]
|
|
7
|
+
* @csspart sqm-cell-value - The reward cell value
|
|
7
8
|
* @exampleGroup Referrals
|
|
8
9
|
* @example Referral Table Rewards Column - <sqm-referral-table-rewards-column column-title="Rewards" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PROCESSING {Payment Processing} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }" status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Processing until {scheduledPayoutDate}. Payout is then scheduled based on your settings.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PROCESSING {Processing until {scheduledPayoutDate}. Payout is then scheduled based on your settings.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }" fuel-tank-text="Your code is" reward-received-text="Reward received on" expiring-text="Expiring in" pending-for-text="{status} for {date}" denied-help-text="Contact support if you think this is a mistake." ></sqm-referral-table-rewards-column>
|
|
9
10
|
*/
|
|
@@ -14,6 +14,15 @@ import { useRewardExchangeList, } from "./useRewardExchangeList";
|
|
|
14
14
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
15
15
|
* @exampleGroup Rewards
|
|
16
16
|
* @example Reward Exchange - <sqm-reward-exchange-list not-available-error="{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }" choose-reward-title="Rewards" choose-amount-title="Select" confirmation-title="Confirm" reward-title="Choose a reward" cancel-text="Cancel" back-text="Back" continue-text="Continue" continue-to-confirmation-text="Continue to confirmation" redeem-text="Redeem" redeem-title="Confirm and redeem" redemption-success-text="Redeemed {sourceValue} for {destinationValue}" source-amount-message="{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}" tooltip-text="Copied" done-text="Done" select-text="Select amount to receive" query-error="Unable to load reward exchange list. Please try again" redemption-error="An error occured trying to redeem this reward. Please try again" not-enough-error="Not enough {sourceUnit} to redeem for this reward" reward-redeemed-text="Reward redeemed" promo-code="Promo Code" skeleton-card-num=8 reward-name-title="Reward" reward-amount-title="Reward Amount" cost-title="Cost to Redeem"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png" empty-state-header="Redeem rewards" empty-state-text="Use your points to redeem rewards once they become available" slot="empty"></sqm-empty></sqm-reward-exchange-list>
|
|
17
|
+
* @csspart choose-reward-container - The choose reward container
|
|
18
|
+
* @csspart choose-amount-container - The choose amount container
|
|
19
|
+
* @csspart confirmation-container - The confirmation container
|
|
20
|
+
* @csspart success-container - The success container
|
|
21
|
+
* @csspart loading-container - The loading container
|
|
22
|
+
* @csspart exchange-card-container - The exchange card container
|
|
23
|
+
* @csspart primarybutton-base - The primary button base
|
|
24
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
25
|
+
* @csspart icon-button-base - The copy icon button base
|
|
17
26
|
*/
|
|
18
27
|
export class SqmRewardExchangeList {
|
|
19
28
|
constructor() {
|
|
@@ -10,6 +10,11 @@ const style = {
|
|
|
10
10
|
"margin-right": "var(--sl-spacing-small)",
|
|
11
11
|
"flex-wrap": "wrap",
|
|
12
12
|
},
|
|
13
|
+
/**
|
|
14
|
+
* @csspart sqm-reward-cell-value - The reward value
|
|
15
|
+
* @csspart sqm-reward-cell-progress - The reward progress
|
|
16
|
+
* @csspart sqm-reward-cell-subtext - The reward subtext
|
|
17
|
+
*/
|
|
13
18
|
Details: {
|
|
14
19
|
"padding-bottom": "var(--sl-spacing-small)",
|
|
15
20
|
"max-width": "500px",
|
package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js
CHANGED
|
@@ -4,6 +4,9 @@ import { useRequestRerender } from "../../../tables/re-render";
|
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Rewards Table Reward Column
|
|
6
6
|
* @validParents ["sqm-rewards-table"]
|
|
7
|
+
* @csspart sqm-rewards-cell-value - The reward cell value
|
|
8
|
+
* @csspart sqm-rewards-cell-progress-bar - The reward progress bar
|
|
9
|
+
* @csspart sqm-rewards-cell-subtext - The reward cell subtext
|
|
7
10
|
* @exampleGroup Rewards
|
|
8
11
|
* @example Reward Column - <sqm-rewards-table-reward-column column-title="Reward" redeemed-text="{redeemedAmount} redeemed" available-text="{availableAmount} remaining" copy-text="Copied!"></sqm-rewards-table-reward-column>
|
|
9
12
|
*/
|
|
@@ -6,6 +6,7 @@ import { useScroll } from "./useScroll";
|
|
|
6
6
|
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
7
7
|
* @slots [{"name":"", "title":"Button Content"}]
|
|
8
8
|
* @slotEditor richText
|
|
9
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
9
10
|
*/
|
|
10
11
|
export class Scroll {
|
|
11
12
|
constructor() {
|
|
@@ -22,6 +22,9 @@ import deepmerge from "deepmerge";
|
|
|
22
22
|
* @example WhatsApp Share Button - <sqm-share-button medium="whatsapp">Share via WhatsApp</sqm-share-button>
|
|
23
23
|
* @example LINE Share Button - <sqm-share-button medium="linemessenger">Share via Line Messenger</sqm-share-button>
|
|
24
24
|
* @example Pinterest Share Button - <sqm-share-button medium="pinterest">Share on Pinterest</sqm-share-button>
|
|
25
|
+
* @csspart primarybutton-base - The primary button base
|
|
26
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
27
|
+
* @csspart icon - The share button icon
|
|
25
28
|
*/
|
|
26
29
|
export class ShareButton {
|
|
27
30
|
constructor() {
|
|
@@ -10,6 +10,9 @@ import { useShareCode } from "./useShareCode";
|
|
|
10
10
|
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section", "sqm-titled-section"]
|
|
11
11
|
* @exampleGroup Sharing
|
|
12
12
|
* @example Share Code - <sqm-share-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-share-code>
|
|
13
|
+
* @csspart icon-button-base - The copy icon button base
|
|
14
|
+
* @csspart primarybutton-base - The primary button base
|
|
15
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
13
16
|
*/
|
|
14
17
|
export class ShareCode {
|
|
15
18
|
constructor() {
|
|
@@ -10,6 +10,10 @@ import { useShareLink } from "./useShareLink";
|
|
|
10
10
|
* @exampleGroup Sharing
|
|
11
11
|
* @validParents ["sqm-portal-container", "sqm-titled-section", "div","sqm-hero","sqm-referral-card","sqm-instant-access-registration","sqb-program-section","sqb-conditional-section"]
|
|
12
12
|
* @example Share Link - <sqm-share-link tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-share-link>
|
|
13
|
+
* @csspart alert-title - The validation error title
|
|
14
|
+
* @csspart icon-button-base - The copy icon button base
|
|
15
|
+
* @csspart primarybutton-base - The primary button base
|
|
16
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
13
17
|
*/
|
|
14
18
|
export class ShareLink {
|
|
15
19
|
constructor() {
|
|
@@ -9,6 +9,8 @@ import { getProps } from "../../utils/utils";
|
|
|
9
9
|
* @slots [{"name":"", "title":"Stats"}]
|
|
10
10
|
* @exampleGroup Statistics
|
|
11
11
|
* @example Container with Three Stats - <sqm-stat-container space="xxx-large" display="flex"><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/rewardBalance/CREDIT/POINT/value/global"><p>Points Balance</p></sqm-big-stat><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global"><p>Giftcards Earned</p></sqm-big-stat><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount"><p>Referrals</p></sqm-big-stat></sqm-stat-container>
|
|
12
|
+
* @csspart sqm-inner-container - The stat content container
|
|
13
|
+
* @csspart sqm-border - The stat border
|
|
12
14
|
*/
|
|
13
15
|
export class StatContainer {
|
|
14
16
|
constructor() {
|
|
@@ -11,6 +11,7 @@ import { useTabs } from "./useTabs";
|
|
|
11
11
|
* @exampleGroup Layout
|
|
12
12
|
* @canvasRenderer always-replace
|
|
13
13
|
* @example Generic Tab Group - <sqm-tabs><sqm-tab header="Tab 1"><p>This is the first tab</p></sqm-tab><sqm-tab header="Tab 2"><p>This is the second tab</p></sqm-tab><sqm-tab header="Tab 3"><p>This is the third tab</p></sqm-tab></sqm-tabs>
|
|
14
|
+
* @csspart tab - A tab button
|
|
14
15
|
*/
|
|
15
16
|
export class Tabs {
|
|
16
17
|
constructor() {
|
|
@@ -11,6 +11,15 @@ import { useTaskCard } from "./useTaskCard";
|
|
|
11
11
|
* @uiName Task Card
|
|
12
12
|
* @uiOrder ["reward-amount", "reward-unit", "card-title", "description", "repeatable", "finite", "show-progress-bar", "stat-type", "progress-source", "goal", "steps", "progress-bar-unit", "show-expiry", "reward-duration", "button-text", "button-link", "open-new-tab", "ended-message", "expiry-message", "starts-on-message", "event-key", "*"]
|
|
13
13
|
* @validParents ["sqm-card-feed"]
|
|
14
|
+
* @csspart sqm-card-container - The task card container
|
|
15
|
+
* @csspart sqm-style-container - The task card style container
|
|
16
|
+
* @csspart sqm-value - The task value
|
|
17
|
+
* @csspart sqm-unit - The task value unit
|
|
18
|
+
* @csspart sqm-title - The task title
|
|
19
|
+
* @csspart task-card-icon - The task card icon
|
|
20
|
+
* @csspart chevron-icon - The details chevron icon
|
|
21
|
+
* @csspart primarybutton-base - The primary button base
|
|
22
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
14
23
|
*/
|
|
15
24
|
export class TaskCard {
|
|
16
25
|
constructor() {
|
|
@@ -5,6 +5,7 @@ import { TextSpanView } from "./sqm-text-span-view";
|
|
|
5
5
|
* @uiName Text Span
|
|
6
6
|
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-big-stat","span","sqm-text-span","sqb-program-section","sqb-conditional-section"]
|
|
7
7
|
* @canvasRenderer always-replace
|
|
8
|
+
* @csspart sqm-text-span - The text span element
|
|
8
9
|
*/
|
|
9
10
|
export class TextSpan {
|
|
10
11
|
constructor() {
|
|
@@ -8,6 +8,10 @@ import { TimelineEntryView } from "./sqm-timeline-entry-view";
|
|
|
8
8
|
* @validParents ["sqm-timeline"]
|
|
9
9
|
* @exampleGroup Common Components
|
|
10
10
|
* @example Timeline Entry - <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" icon="circle" > </sqm-timeline-entry>
|
|
11
|
+
* @csspart sqm-entry-container - The timeline entry container
|
|
12
|
+
* @csspart sqm-reward - The reward value
|
|
13
|
+
* @csspart sqm-unit - The reward unit
|
|
14
|
+
* @csspart sqm-description - The reward description
|
|
11
15
|
*/
|
|
12
16
|
export class TimelineReward {
|
|
13
17
|
constructor() {
|
|
@@ -9,6 +9,7 @@ import { PortalSectionView } from "./sqm-portal-section-view";
|
|
|
9
9
|
* @slots [{"name":"label", "title":"Label"},{"name":"content", "title":"Content"}]
|
|
10
10
|
* @exampleGroup Layout
|
|
11
11
|
* @example Titled Section - <sqm-titled-section text-align="center" label-margin="small" padding="none"><div slot="label"><h2>Section Label</h2></div><div slot="content"><p>Add your section content here!</p></div></sqm-titled-section>
|
|
12
|
+
* @csspart sqm-label - The section label
|
|
12
13
|
*/
|
|
13
14
|
export class TitledSection {
|
|
14
15
|
constructor() {
|
|
@@ -6,6 +6,10 @@ import { getProps } from "../../../utils/utils";
|
|
|
6
6
|
import { VERIFICATION_PARENT_NAMESPACE } from "../keys";
|
|
7
7
|
import { WidgetCodeVerificationView, } from "./sqm-code-verification-view";
|
|
8
8
|
import { useWidgetCodeVerification } from "./useCodeVerification";
|
|
9
|
+
/**
|
|
10
|
+
* @csspart successalert-icon - The success alert icon
|
|
11
|
+
* @csspart primarybutton-base - The primary button base
|
|
12
|
+
*/
|
|
9
13
|
export class WidgetCodeVerification {
|
|
10
14
|
constructor() {
|
|
11
15
|
/**
|
|
@@ -204,7 +204,7 @@ export function WidgetEmailVerificationView(props) {
|
|
|
204
204
|
id: "sendCodeErrorDescription",
|
|
205
205
|
defaultMessage: text.sendCodeErrorDescription,
|
|
206
206
|
}, {
|
|
207
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
207
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
208
208
|
}))),
|
|
209
209
|
states.initialLoading ? (renderLoadingSkeleton()) : (h("div", { class: sheet.classes.Wrapper },
|
|
210
210
|
h(TextSpanView, { type: "p" }, text.verifyEmailHeaderText),
|
|
@@ -8,6 +8,10 @@ import deepmerge from "deepmerge";
|
|
|
8
8
|
import { SHOW_CODE_NAMESPACE } from "../keys";
|
|
9
9
|
/**
|
|
10
10
|
* @uiName Widget Verification Gate
|
|
11
|
+
* @csspart alert-title - The alert title
|
|
12
|
+
* @csspart primarybutton-base - The primary button base
|
|
13
|
+
* @csspart input-label - The input label
|
|
14
|
+
* @csspart input-base - The input base
|
|
11
15
|
*/
|
|
12
16
|
export class WidgetEmailVerification {
|
|
13
17
|
constructor() {
|
|
@@ -1216,6 +1216,25 @@ export const TaxAndCashDashboardPayoutsOnHold = () => {
|
|
|
1216
1216
|
},
|
|
1217
1217
|
} }));
|
|
1218
1218
|
};
|
|
1219
|
+
export const TaxAndCashDashboardBalanceUnderThreshold = () => {
|
|
1220
|
+
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1221
|
+
...dashboardProps,
|
|
1222
|
+
states: {
|
|
1223
|
+
payoutStatus: "BALANCE_UNDER_THRESHOLD",
|
|
1224
|
+
minPayoutAmount: "USD50.00",
|
|
1225
|
+
veriffLoading: false,
|
|
1226
|
+
canEditPayoutInfo: true,
|
|
1227
|
+
status: "ACTIVE",
|
|
1228
|
+
documentType: "W8BEN",
|
|
1229
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1230
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1231
|
+
noFormNeeded: false,
|
|
1232
|
+
indirectTaxNumber: "123456",
|
|
1233
|
+
showNewFormDialog: false,
|
|
1234
|
+
hasHold: false,
|
|
1235
|
+
},
|
|
1236
|
+
} }));
|
|
1237
|
+
};
|
|
1219
1238
|
export const TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalid = () => {
|
|
1220
1239
|
return (h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1221
1240
|
...dashboardProps,
|
package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js
CHANGED
|
@@ -212,7 +212,7 @@ export const BankingInfoFormView = (props) => {
|
|
|
212
212
|
id: "generalDescription",
|
|
213
213
|
defaultMessage: text.error.generalDescription,
|
|
214
214
|
}, {
|
|
215
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
215
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
216
216
|
}))),
|
|
217
217
|
states.isPartner && !states.hideSteps && (h("sqm-form-message", { type: "info" },
|
|
218
218
|
h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
@@ -220,7 +220,7 @@ export const BankingInfoFormView = (props) => {
|
|
|
220
220
|
id: "isPartnerAlertDescription",
|
|
221
221
|
defaultMessage: text.isPartnerAlertDescription,
|
|
222
222
|
}, {
|
|
223
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
223
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
224
224
|
}))),
|
|
225
225
|
h("div", null,
|
|
226
226
|
h("h4", null, text.paymentMethod),
|
package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js
CHANGED
|
@@ -15,6 +15,10 @@ import { getFormInputs, paypalFeeMap, useBankingInfoForm, } from "./useBankingIn
|
|
|
15
15
|
* @uiName Banking Information Form
|
|
16
16
|
* @exampleGroup Common Components
|
|
17
17
|
*
|
|
18
|
+
* @csspart alert-title - The alert title
|
|
19
|
+
* @csspart primarybutton-base - The primary button base
|
|
20
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
21
|
+
* @csspart radio-base - The radio base
|
|
18
22
|
*/
|
|
19
23
|
export class BankingInfoForm {
|
|
20
24
|
constructor() {
|
|
@@ -149,7 +149,7 @@ export const DocusignFormView = (props) => {
|
|
|
149
149
|
id: "loadingErrorAlertDescription",
|
|
150
150
|
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
151
151
|
}, {
|
|
152
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
152
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
153
153
|
})))),
|
|
154
154
|
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
|
|
155
155
|
h("p", { part: "alert-title" }, text.error.generalTitle),
|
|
@@ -157,7 +157,7 @@ export const DocusignFormView = (props) => {
|
|
|
157
157
|
id: "generalDescription",
|
|
158
158
|
defaultMessage: text.error.generalDescription,
|
|
159
159
|
}, {
|
|
160
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
160
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
161
161
|
}))),
|
|
162
162
|
h("div", null,
|
|
163
163
|
h("div", null,
|
|
@@ -11,6 +11,8 @@ import { useDocusignForm } from "./useDocusignForm";
|
|
|
11
11
|
* @uiName DocuSign Document Submission
|
|
12
12
|
* @exampleGroup Tax and Cash Components
|
|
13
13
|
* @slots [{"name": "docusign-iframe", "title": "DocuSign IFrame Slot"}]
|
|
14
|
+
* @csspart alert-title - The alert title
|
|
15
|
+
* @csspart primarybutton-base - The primary button base
|
|
14
16
|
*/
|
|
15
17
|
export class DocusignForm {
|
|
16
18
|
constructor() {
|
package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js
CHANGED
|
@@ -147,7 +147,7 @@ export const IndirectTaxFormView = (props) => {
|
|
|
147
147
|
id: "loadingErrorAlertDescription",
|
|
148
148
|
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
149
149
|
}, {
|
|
150
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
150
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
151
151
|
})))),
|
|
152
152
|
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
|
|
153
153
|
h("p", { part: "alert-title" }, text.error.generalTitle),
|
|
@@ -155,7 +155,7 @@ export const IndirectTaxFormView = (props) => {
|
|
|
155
155
|
id: "generalDescription",
|
|
156
156
|
defaultMessage: text.error.generalDescription,
|
|
157
157
|
}, {
|
|
158
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
158
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
159
159
|
}))),
|
|
160
160
|
states.isPartnerLegacy && (h("sqm-form-message", { loading: states.loading, type: "info" },
|
|
161
161
|
h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
@@ -163,7 +163,7 @@ export const IndirectTaxFormView = (props) => {
|
|
|
163
163
|
id: "isPartnerAlertDescription",
|
|
164
164
|
defaultMessage: text.isPartnerAlertDescription,
|
|
165
165
|
}, {
|
|
166
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
166
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
167
167
|
}))),
|
|
168
168
|
h("div", null,
|
|
169
169
|
h("h4", null, text.indirectTaxDetails))),
|
|
@@ -183,7 +183,7 @@ export const IndirectTaxFormView = (props) => {
|
|
|
183
183
|
id: "cannotChangeInfoAlert",
|
|
184
184
|
defaultMessage: text.cannotChangeInfoAlert,
|
|
185
185
|
}, {
|
|
186
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
186
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
187
187
|
})),
|
|
188
188
|
h("div", { class: classes.BtnContainer },
|
|
189
189
|
h("sl-button", { class: classes.PrimaryButton, type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
|
package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js
CHANGED
|
@@ -12,6 +12,10 @@ import { useIndirectTaxForm, } from "./useIndirectTaxForm";
|
|
|
12
12
|
/**
|
|
13
13
|
* @uiName Indirect Tax Form
|
|
14
14
|
* @exampleGroup Tax and Cash Components
|
|
15
|
+
* @csspart alert-title - The alert title
|
|
16
|
+
* @csspart primarybutton-base - The primary button base
|
|
17
|
+
* @csspart secondarybutton-base - The secondary button base
|
|
18
|
+
* @csspart radio-base - The radio base
|
|
15
19
|
*/
|
|
16
20
|
export class IndirectTaxForm {
|
|
17
21
|
constructor() {
|
package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js
CHANGED
|
@@ -31,6 +31,31 @@ export const ThresholdPayout = () => {
|
|
|
31
31
|
},
|
|
32
32
|
} }));
|
|
33
33
|
};
|
|
34
|
+
export const BelowPayoutThresholdFixedDay = () => {
|
|
35
|
+
return (h("sqm-payout-details-card", { demoData: {
|
|
36
|
+
states: {
|
|
37
|
+
badgeStatus: "nextPayout",
|
|
38
|
+
belowPayoutThreshold: true,
|
|
39
|
+
},
|
|
40
|
+
} }));
|
|
41
|
+
};
|
|
42
|
+
export const BelowPayoutThresholdPayoutToday = () => {
|
|
43
|
+
return (h("sqm-payout-details-card", { demoData: {
|
|
44
|
+
states: {
|
|
45
|
+
badgeStatus: "payoutToday",
|
|
46
|
+
belowPayoutThreshold: true,
|
|
47
|
+
},
|
|
48
|
+
} }));
|
|
49
|
+
};
|
|
50
|
+
export const BelowPayoutThresholdBalanceThreshold = () => {
|
|
51
|
+
return (h("sqm-payout-details-card", { demoData: {
|
|
52
|
+
states: {
|
|
53
|
+
thresholdBalance: "50 USD",
|
|
54
|
+
badgeStatus: "thresholdPayout",
|
|
55
|
+
belowPayoutThreshold: true,
|
|
56
|
+
},
|
|
57
|
+
} }));
|
|
58
|
+
};
|
|
34
59
|
export const PaypalPayout = () => {
|
|
35
60
|
return (h("sqm-payout-details-card", { demoData: {
|
|
36
61
|
states: {
|