@saasquatch/mint-components 2.5.0-3 → 2.5.0-4
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/{GenericTableView-4c48c630.js → GenericTableView-4633b8dc.js} +1 -1
- package/dist/cjs/{ShadowViewAddon-331ac9e4.js → ShadowViewAddon-0b9f6c4e.js} +6 -6
- package/dist/cjs/{copy-text-view-bb2c0ea7.js → copy-text-view-a3f1ef93.js} +1 -1
- 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 +6 -6
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +8 -8
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-partner-info-modal-view-d9b61d54.js → sqm-partner-info-modal-view-a0675259.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-6cc7ef05.js → sqm-portal-email-verification-view-a2a60c53.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-a767b044.js → sqm-portal-reset-password-view-6786bd86.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-user-info-form-view-9745956d.js → sqm-user-info-form-view-fd5fb0a5.js} +3 -3
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -1
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -0
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +2 -1
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +2 -2
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +2 -0
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +1 -0
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +1 -0
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -0
- package/dist/collection/components/sqm-empty/sqm-empty.js +2 -1
- package/dist/collection/components/sqm-hero/sqm-hero.js +1 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +1 -0
- package/dist/collection/components/sqm-image/sqm-image.js +1 -0
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +1 -0
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +1 -0
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +3 -1
- package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +1 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +1 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +1 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +1 -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-navigation-sidebar/sqm-navigation-sidebar.js +1 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +1 -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 +1 -0
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +1 -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 +1 -0
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -0
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +1 -1
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +1 -0
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -0
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +1 -0
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +1 -0
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -0
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +1 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +1 -0
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +3 -3
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +1 -0
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +1 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +1 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +1 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +1 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -0
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -0
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +5 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +1 -0
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -0
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +1 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +1 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +2 -1
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +1 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -0
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +1 -1
- package/dist/collection/components/views/copy-text-view.js +1 -1
- package/dist/collection/tables/GenericTableView.js +1 -1
- package/dist/esm/{GenericTableView-471a9386.js → GenericTableView-6ed48a94.js} +1 -1
- package/dist/esm/{ShadowViewAddon-ae0cd8b9.js → ShadowViewAddon-821a1ab5.js} +6 -6
- package/dist/esm/{copy-text-view-87259b11.js → copy-text-view-997fe4da.js} +1 -1
- 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 +6 -6
- package/dist/esm/sqm-big-stat_47.entry.js +8 -8
- package/dist/esm/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +1 -1
- package/dist/esm/{sqm-partner-info-modal-view-b921fed1.js → sqm-partner-info-modal-view-51cc2c1d.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-29ca7a13.js → sqm-portal-email-verification-view-bd5effa7.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-f84c04cf.js → sqm-portal-reset-password-view-d4265b2e.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +7 -7
- package/dist/esm/{sqm-user-info-form-view-81526655.js → sqm-user-info-form-view-3ab5deb7.js} +3 -3
- package/dist/esm-es5/{GenericTableView-471a9386.js → GenericTableView-6ed48a94.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-821a1ab5.js +1 -0
- package/dist/esm-es5/{copy-text-view-87259b11.js → copy-text-view-997fe4da.js} +1 -1
- 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-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-51cc2c1d.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification-view-bd5effa7.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password-view-d4265b2e.js +1 -0
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-3ab5deb7.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-361e8a80.entry.js → p-053f896c.entry.js} +1 -1
- package/dist/mint-components/p-0bb88089.system.js +1 -0
- package/dist/mint-components/{p-c51ea96f.system.entry.js → p-0eec70ac.system.entry.js} +1 -1
- package/dist/mint-components/{p-54c03a3e.entry.js → p-138b893b.entry.js} +1 -1
- package/dist/mint-components/{p-288249ae.system.entry.js → p-139c9583.system.entry.js} +1 -1
- package/dist/mint-components/{p-b69dbed8.system.js → p-1874fa92.system.js} +1 -1
- package/dist/mint-components/{p-e1b917ff.entry.js → p-3916d72c.entry.js} +3 -3
- package/dist/mint-components/p-3c46c0bc.js +1 -0
- package/dist/mint-components/p-406e6f3d.js +1 -0
- package/dist/mint-components/p-4236a9e4.js +1 -0
- package/dist/mint-components/{p-654cdee8.entry.js → p-4c79a3a2.entry.js} +1 -1
- package/dist/mint-components/{p-97b8073f.system.js → p-4d0de6f7.system.js} +1 -1
- package/dist/mint-components/{p-d276468c.js → p-543f6913.js} +1 -1
- package/dist/mint-components/{p-fa85ea51.system.entry.js → p-5486d4fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-84495fb8.entry.js → p-593237b3.entry.js} +1 -1
- package/dist/mint-components/{p-3ada35f5.entry.js → p-63a157dc.entry.js} +1 -1
- package/dist/mint-components/{p-0d89ef44.entry.js → p-7a9bbc7b.entry.js} +2 -2
- package/dist/mint-components/p-7ebb54b5.system.entry.js +1 -0
- package/dist/mint-components/{p-abf7c765.system.entry.js → p-80c9fe93.system.entry.js} +1 -1
- package/dist/mint-components/p-811f0ad3.system.js +1 -0
- package/dist/mint-components/p-817f065b.system.js +1 -0
- package/dist/mint-components/{p-dc196a22.system.entry.js → p-824cd0fa.system.entry.js} +1 -1
- package/dist/mint-components/{p-381af581.js → p-83a53576.js} +1 -1
- package/dist/mint-components/{p-231926a3.system.entry.js → p-965fda2e.system.entry.js} +1 -1
- package/dist/mint-components/p-9eff1572.system.js +1 -0
- package/dist/mint-components/{p-d870d624.system.entry.js → p-af869409.system.entry.js} +1 -1
- package/dist/mint-components/p-b1a644d9.system.js +1 -0
- package/dist/mint-components/p-b79bdbf9.js +499 -0
- package/dist/mint-components/p-bfb00685.system.js +1 -1
- package/dist/mint-components/{p-1e9c339f.entry.js → p-cc5080a3.entry.js} +1 -1
- package/dist/mint-components/{p-cf12347b.system.entry.js → p-de89f645.system.entry.js} +1 -1
- package/dist/mint-components/{p-714bf981.entry.js → p-f11a39b4.entry.js} +1 -1
- package/dist/mint-components/p-f2e2ef27.js +1 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +1 -1
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -0
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +2 -1
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +2 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -0
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +1 -0
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -0
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +2 -1
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -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 +1 -0
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +3 -1
- package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field.d.ts +1 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field.d.ts +1 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +1 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-input-field.d.ts +1 -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-navigation-sidebar/sqm-navigation-sidebar.d.ts +1 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +1 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +1 -0
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +1 -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 +1 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +1 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +1 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +1 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +1 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +1 -0
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +1 -0
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +1 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +1 -0
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +1 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +1 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -0
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +5 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +1 -0
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +1 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +1 -0
- package/dist/types/components/sqm-user-attribute/sqm-user-attribute.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +2 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -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/ShadowViewAddon-ae0cd8b9.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-b921fed1.js +0 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-29ca7a13.js +0 -1
- package/dist/esm-es5/sqm-portal-reset-password-view-f84c04cf.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-81526655.js +0 -1
- package/dist/mint-components/p-14f4cce8.js +0 -1
- package/dist/mint-components/p-3d2fe16b.js +0 -499
- package/dist/mint-components/p-549d60ee.system.entry.js +0 -1
- package/dist/mint-components/p-87f119f0.system.js +0 -1
- package/dist/mint-components/p-990e73ba.system.js +0 -1
- package/dist/mint-components/p-9c982f7e.js +0 -1
- package/dist/mint-components/p-a1b655ba.system.js +0 -1
- package/dist/mint-components/p-a4825ec2.system.js +0 -1
- package/dist/mint-components/p-b3ad957c.js +0 -1
- package/dist/mint-components/p-db73312a.system.js +0 -1
- package/dist/mint-components/p-f75ead20.js +0 -1
package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js
CHANGED
|
@@ -38,7 +38,7 @@ const styleString = sheet.toString();
|
|
|
38
38
|
export function PortalResetPasswordView(props) {
|
|
39
39
|
const { states, callbacks } = props;
|
|
40
40
|
if (states.reset) {
|
|
41
|
-
return (h("div", { class: `${sheet.classes.Wrapper} ${sheet.classes.Column}
|
|
41
|
+
return (h("div", { class: `${sheet.classes.Wrapper} ${sheet.classes.Column}`, part: "sqm-base" },
|
|
42
42
|
h("style", { type: "text/css" }, styleString),
|
|
43
43
|
h(TextSpanView, { type: "h3" }, states.content.resetPasswordHeader),
|
|
44
44
|
h("sqm-form-message", { class: sheet.classes.CodeSuccess, exportparts: "success-icon" },
|
|
@@ -50,14 +50,14 @@ export function PortalResetPasswordView(props) {
|
|
|
50
50
|
return h("div", null);
|
|
51
51
|
}
|
|
52
52
|
if (!states.oobCodeValid) {
|
|
53
|
-
return (h("div", { class: `${sheet.classes.Wrapper} ${sheet.classes.Column}
|
|
53
|
+
return (h("div", { class: `${sheet.classes.Wrapper} ${sheet.classes.Column}`, part: "sqm-base" },
|
|
54
54
|
h("style", { type: "text/css" }, styleString),
|
|
55
55
|
h("sqm-form-message", { class: sheet.classes.CodeError, type: "error", exportparts: "erroralert-icon" },
|
|
56
56
|
h("div", { part: "erroralert-text" }, states.content.codeInvalidText)),
|
|
57
57
|
h("div", null,
|
|
58
58
|
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, exportparts: "base: primarybutton-base", type: "primary" }, states.content.continueButtonText))));
|
|
59
59
|
}
|
|
60
|
-
return (h("div", { class: sheet.classes.Wrapper },
|
|
60
|
+
return (h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
|
|
61
61
|
h("style", { type: "text/css" },
|
|
62
62
|
vanillaStyle,
|
|
63
63
|
styleString),
|
|
@@ -6,6 +6,7 @@ import { PortalResetPasswordView, } from "./sqm-portal-reset-password-view";
|
|
|
6
6
|
import { usePortalResetPassword } from "./usePortalResetPassword";
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Microsite Reset Password
|
|
9
|
+
* @csspart sqm-base - The base container for the portal reset password component
|
|
9
10
|
* @csspart erroralert-text - The error message element
|
|
10
11
|
* @csspart successalert-text - The success message element
|
|
11
12
|
* @csspart success-icon - The success alert icon
|
|
@@ -7,6 +7,7 @@ import { usePortalVerifyEmail } from "./usePortalVerifyEmail";
|
|
|
7
7
|
import { getProps } from "../../utils/utils";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Verify Email
|
|
10
|
+
* @csspart sqm-base - The base container
|
|
10
11
|
* @csspart erroralert-text - The error message element
|
|
11
12
|
* @csspart successalert-text - The success message element
|
|
12
13
|
* @csspart success-icon - The success alert icon
|
|
@@ -9,6 +9,7 @@ import { ProgramExplainerView } from "./sqm-program-explainer-view";
|
|
|
9
9
|
* @exampleGroup Common Components
|
|
10
10
|
* @slots [{"name":"", "title":"Explainer", "validChildren":["sqm-program-explainer-step"]}]
|
|
11
11
|
* @example Program Explainer - <sqm-program-explainer header="How it works"><sqm-program-explainer-step description="Explore and use our product while earning points in the process!" header="Earn points" icon="cash-stack"></sqm-program-explainer-step><sqm-program-explainer-step description="Use your points and redeem rewards like one free month of Enterprise or a visa giftcard" header="Redeem rewards" icon="people"></sqm-program-explainer-step></sqm-program-explainer>
|
|
12
|
+
* @csspart sqm-base - The base container for the program explainer
|
|
12
13
|
* @csspart sqm-header - The header element
|
|
13
14
|
* @csspart sqm-grid-container - The grid container element
|
|
14
15
|
*/
|
|
@@ -7,6 +7,7 @@ import { ProgramExplainerStepView } from "./sqm-program-explainer-step-view";
|
|
|
7
7
|
* @exampleGroup Common Components
|
|
8
8
|
* @example Program Explainer Step - <sqm-program-explainer-step description="Explore and use our product while earning points in the process!" header="Earn points" icon="cash-stack"></sqm-program-explainer-step>
|
|
9
9
|
* @validParents ["sqm-program-explainer"]
|
|
10
|
+
* @csspart sqm-base - The base container for the program explainer step
|
|
10
11
|
* @csspart sqm-media - The media element (icon or image)
|
|
11
12
|
* @csspart sqm-header - The header element
|
|
12
13
|
* @csspart sqm-description - The description element
|
|
@@ -10,6 +10,7 @@ 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-base - The base container
|
|
13
14
|
* @csspart sqm-title - The QR code title
|
|
14
15
|
* @csspart primarybutton-base - The primary button base
|
|
15
16
|
* @csspart secondarybutton-base - The secondary button base
|
|
@@ -11,6 +11,7 @@ import { useChildElements } from "../../tables/useChildElements";
|
|
|
11
11
|
* @exampleGroup Referrals
|
|
12
12
|
* @slots [{"name":"left", "title":"Left Content"},{"name":"right", "title":"Right Content"},{"name":"header", "title":"Header Content"},{"name":"footer", "title":"Footer Content"}]
|
|
13
13
|
* @example Referral Card - <sqm-referral-card vertical-alignment="start"> <sqm-portal-container gap="large" slot="left" direction="column" display="grid" max-width="100%" padding="none" > <sqm-text >They’ll get a $50 credit towards a new account and you’ll get: </sqm-text> <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="Your friend purchases a Business plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$200" unit="visa giftcard" desc="Our sales team qualifies your friend as a good fit for our Enterprise plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$1000" unit="visa giftcard" desc="Your friend purchases an Enterprise plan" icon="circle" > </sqm-timeline-entry> </sqm-timeline> </sqm-portal-container> <sqm-portal-container gap="large" slot="right" direction="column" display="grid" max-width="100%" padding="none" > <sqm-text>Choose how you want to share: </sqm-text> <sqm-text> <sub>Your unique referral link:</sub> <sqm-share-link tooltip-text="Copied to Clipboard" tooltip-lifespan="1000" > </sqm-share-link> </sqm-text> <sqm-portal-container gap="x-small" direction="column" display="grid" max-width="100%" padding="none" > <sqm-share-button medium="email" icon-slot="prefix" size="medium" type="default" > Share via email </sqm-share-button> <sqm-share-button medium="linkedin" icon-slot="prefix" size="medium" type="default" > Share on LinkedIn </sqm-share-button> <sqm-share-button medium="twitter" icon-slot="prefix" size="medium" type="default" > Share on Twitter </sqm-share-button> </sqm-portal-container> </sqm-portal-container> </sqm-referral-card>
|
|
14
|
+
* @csspart sqm-base - The base container
|
|
14
15
|
* */
|
|
15
16
|
export class ReferralCard {
|
|
16
17
|
constructor() {
|
|
@@ -11,6 +11,7 @@ import { useReferralCodes } from "./useReferralCodes";
|
|
|
11
11
|
* @slots [{"name":"", "title":"Promo Codes Content"}]
|
|
12
12
|
* @exampleGroup Sharing
|
|
13
13
|
* @example Promo Codes - <sqm-referral-codes><sqm-pagination slot="pagination"></sqm-pagination><sqm-referral-code slot="shareCodes" show-notification-text="true"></sqm-referral-code><sqm-portal-container gap="small" slot="shareButtons"><sqm-share-button medium="email">Share via email</sqm-share-button><sqm-share-button medium="fbmessenger">Share on Facebook</sqm-share-button><sqm-share-button medium="whatsapp">Share on WhatsApp</sqm-share-button></sqm-portal-container></sqm-referral-codes>
|
|
14
|
+
* @csspart sqm-base - The base container
|
|
14
15
|
*/
|
|
15
16
|
export class ReferralCodes {
|
|
16
17
|
constructor() {
|
|
@@ -16,6 +16,7 @@ import { tryMethod, useReferralTable } from "./useReferralTable";
|
|
|
16
16
|
* @exampleGroup Referrals
|
|
17
17
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
18
18
|
* @example Referral Table - <sqm-referral-table per-page="4" hidden-columns="2" more-label="Next" prev-label="Prev" sm-breakpoint="599" md-breakpoint="799" > <sqm-referral-table-user-column column-title="Customer" anonymous-user="Your Friend" deleted-user="Deleted User" ></sqm-referral-table-user-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> <sqm-referral-table-date-column column-title="Date converted" date-shown="dateConverted" ></sqm-referral-table-date-column> <sqm-referral-table-status-column column-title="Status" converted-status-text="Converted" in-progress-status-text="In Progress" pending-review-status-text="Pending" denied-status-text="Denied" pending-review-status-sub-text="Awaiting review" denied-status-sub-text="Detected self-referral" ></sqm-referral-table-status-column> <sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png" empty-state-header="View your referral details" empty-state-text="Refer a friend to view the status of your referrals and rewards earned" slot="empty" ></sqm-empty> </sqm-referral-table>
|
|
19
|
+
* @csspart sqm-base - The base container for the referral table component
|
|
19
20
|
*/
|
|
20
21
|
export class ReferralTable {
|
|
21
22
|
constructor() {
|
|
@@ -11,6 +11,11 @@ import { EmailRegistrationView, } from "../views/email-registration-view";
|
|
|
11
11
|
* @exampleGroup Instant Access
|
|
12
12
|
* @example Friend Registration - <sqm-referred-registration></sqm-referred-registration>
|
|
13
13
|
* @slots [{"name":"top","title":"Top Content"},{"name":"bottom","title":"Bottom Content"}]
|
|
14
|
+
* @csspart sqm-base - The base container for the instant access registration component
|
|
15
|
+
* @csspart erroralert-icon - The error alert icon
|
|
16
|
+
* @csspart input-label - The input label
|
|
17
|
+
* @csspart input-base - The input base
|
|
18
|
+
* @csspart primarybutton-base - The primary button base
|
|
14
19
|
*/
|
|
15
20
|
export class ReferredRegistration {
|
|
16
21
|
constructor() {
|
|
@@ -14,6 +14,7 @@ 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 sqm-base - The base container
|
|
17
18
|
* @csspart choose-reward-container - The choose reward container
|
|
18
19
|
* @csspart choose-amount-container - The choose amount container
|
|
19
20
|
* @csspart confirmation-container - The confirmation container
|
|
@@ -56,7 +56,7 @@ export function ShareButtonView(props, children) {
|
|
|
56
56
|
top: 2%;
|
|
57
57
|
}
|
|
58
58
|
`;
|
|
59
|
-
return props.hide ? (h(Host, { style: { display: "none" } })) : (h("div",
|
|
59
|
+
return props.hide ? (h(Host, { style: { display: "none" } })) : (h("div", { part: "sqm-base" },
|
|
60
60
|
h("style", { type: "text/css" }, styleString),
|
|
61
61
|
h("style", { type: "text/css" }, vanillaStyle),
|
|
62
62
|
h("sl-button", { class: sheet.classes.buttonStyle, target: props.openInSameTab ? "_self" : "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: !props.isPlainLink ? props.onClick : undefined, href: props.isPlainLink ? props.messageLink : undefined, exportparts: `base: ${props.type}button-base` },
|
|
@@ -22,6 +22,7 @@ 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 sqm-base - The base container for the share button component
|
|
25
26
|
* @csspart primarybutton-base - The primary button base
|
|
26
27
|
* @csspart secondarybutton-base - The secondary button base
|
|
27
28
|
* @csspart icon - The share button icon
|
|
@@ -141,7 +141,7 @@ export function ShareLinkView(props) {
|
|
|
141
141
|
}, { editsRemaining });
|
|
142
142
|
// Editing state
|
|
143
143
|
if (isEditing) {
|
|
144
|
-
return (h("div", { class: sheet.classes.Container },
|
|
144
|
+
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
145
145
|
h("style", { type: "text/css" },
|
|
146
146
|
styleString,
|
|
147
147
|
vanillaStyle),
|
|
@@ -10,6 +10,7 @@ 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 sqm-base - The base container for the share link component
|
|
13
14
|
* @csspart alert-title - The validation error title
|
|
14
15
|
* @csspart icon-button-base - The copy icon button base
|
|
15
16
|
* @csspart primarybutton-base - The primary button base
|
|
@@ -9,6 +9,7 @@ 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-base - The base container for the stat container
|
|
12
13
|
* @csspart sqm-inner-container - The stat content container
|
|
13
14
|
* @csspart sqm-border - The stat border
|
|
14
15
|
*/
|
|
@@ -11,6 +11,7 @@ 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-base - The base container
|
|
14
15
|
* @csspart sqm-card-container - The task card container
|
|
15
16
|
* @csspart sqm-style-container - The task card style container
|
|
16
17
|
* @csspart sqm-value - The task value
|
|
@@ -8,6 +8,7 @@ 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-base - The base container for the timeline entry
|
|
11
12
|
* @csspart sqm-entry-container - The timeline entry container
|
|
12
13
|
* @csspart sqm-reward - The reward value
|
|
13
14
|
* @csspart sqm-unit - The reward unit
|
|
@@ -8,6 +8,7 @@ import { useChildElements } from "../../tables/useChildElements";
|
|
|
8
8
|
* @slots [{"name":"","title":"Timeline","validChildren":["sqm-timeline-entry"]}]
|
|
9
9
|
* @exampleGroup Common Components
|
|
10
10
|
* @example Program Timeline - <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$200" unit="visa giftcard" desc="Our sales team qualifies your friend as a good fit for our Enterprise plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$1000" unit="visa giftcard" desc="Your friend purchases an Enterprise plan" icon="circle" > </sqm-timeline-entry></sqm-timeline>
|
|
11
|
+
* @csspart sqm-base - The base container for the timeline
|
|
11
12
|
*/
|
|
12
13
|
export class Timeline {
|
|
13
14
|
constructor() {
|
|
@@ -41,7 +42,7 @@ export class Timeline {
|
|
|
41
42
|
margin-bottom: var(--sl-spacing-xx-large);
|
|
42
43
|
}
|
|
43
44
|
`;
|
|
44
|
-
return (h("div",
|
|
45
|
+
return (h("div", { part: "sqm-base" },
|
|
45
46
|
h("style", { type: "text/css" }, vanillaStyle),
|
|
46
47
|
h("slot", null)));
|
|
47
48
|
}
|
|
@@ -8,6 +8,7 @@ import { useUserAttribute } from "./useUserAttribute";
|
|
|
8
8
|
* @uiName User Attribute
|
|
9
9
|
* @exampleGroup Advanced
|
|
10
10
|
* @example User Attribute - <sqm-user-attribute value="lastSeenDate"></sqm-user-attribute>
|
|
11
|
+
* @csspart sqm-base - The base container
|
|
11
12
|
*/
|
|
12
13
|
export class UserAttribute {
|
|
13
14
|
constructor() {
|
|
@@ -7,6 +7,8 @@ import { VERIFICATION_PARENT_NAMESPACE } from "../keys";
|
|
|
7
7
|
import { WidgetCodeVerificationView, } from "./sqm-code-verification-view";
|
|
8
8
|
import { useWidgetCodeVerification } from "./useCodeVerification";
|
|
9
9
|
/**
|
|
10
|
+
* @uiName Widget Code Verification
|
|
11
|
+
* @csspart sqm-base - The base container
|
|
10
12
|
* @csspart successalert-icon - The success alert icon
|
|
11
13
|
* @csspart primarybutton-base - The primary button base
|
|
12
14
|
*/
|
|
@@ -8,6 +8,7 @@ import deepmerge from "deepmerge";
|
|
|
8
8
|
import { SHOW_CODE_NAMESPACE } from "../keys";
|
|
9
9
|
/**
|
|
10
10
|
* @uiName Widget Verification Gate
|
|
11
|
+
* @csspart sqm-base - The base container
|
|
11
12
|
* @csspart alert-title - The alert title
|
|
12
13
|
* @csspart primarybutton-base - The primary button base
|
|
13
14
|
* @csspart input-label - The input label
|
package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js
CHANGED
|
@@ -188,7 +188,7 @@ export const BankingInfoFormView = (props) => {
|
|
|
188
188
|
h("div", { class: classes.LargeSkeleton }))));
|
|
189
189
|
return skeletons;
|
|
190
190
|
};
|
|
191
|
-
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
191
|
+
return (h("sl-form", { part: "form-container", class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
192
192
|
h("style", { type: "text/css" },
|
|
193
193
|
styleString,
|
|
194
194
|
vanillaStyle),
|
|
@@ -119,7 +119,7 @@ export const DocusignFormView = (props) => {
|
|
|
119
119
|
var _a;
|
|
120
120
|
const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
|
|
121
121
|
const { classes } = sheet;
|
|
122
|
-
return (h("div", { class: classes.Container },
|
|
122
|
+
return (h("div", { class: classes.Container, part: "form-container" },
|
|
123
123
|
h("style", { type: "text/css" },
|
|
124
124
|
styleString,
|
|
125
125
|
vanillaStyle),
|
package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js
CHANGED
|
@@ -125,7 +125,7 @@ export const IndirectTaxFormView = (props) => {
|
|
|
125
125
|
var _a;
|
|
126
126
|
const { states, states: { formState }, callbacks, text, refs, slots, } = props;
|
|
127
127
|
const { classes } = sheet;
|
|
128
|
-
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
128
|
+
return (h("sl-form", { part: "form-container", class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
129
129
|
h("style", { type: "text/css" },
|
|
130
130
|
styleString,
|
|
131
131
|
vanillaStyle),
|
|
@@ -145,7 +145,7 @@ export function PayoutDetailsCardView(props) {
|
|
|
145
145
|
const { classes } = sheet;
|
|
146
146
|
const { states, text } = props;
|
|
147
147
|
const renderLoadingSkeleton = () => {
|
|
148
|
-
return (h("div", { class: classes.CardContainer },
|
|
148
|
+
return (h("div", { class: classes.CardContainer, part: "payout-details-card" },
|
|
149
149
|
h("div", { class: classes.StatusContainer, style: { display: "block" } },
|
|
150
150
|
h("sqm-skeleton", { style: { marginBottom: "var(--sl-spacing-medium)" }, width: "25%", height: "16px" }),
|
|
151
151
|
h("sqm-skeleton", { width: "25%", height: "24px" })),
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -11,6 +11,7 @@ import { parseStates } from "../../../utils/parseStates";
|
|
|
11
11
|
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqm-brand","sqb-program-section","sqb-conditional-section"]
|
|
12
12
|
* @exampleGroup Tax and Cash
|
|
13
13
|
* @example Payout Status Alert - <sqm-payout-status-alert></sqm-payout-status-alert>
|
|
14
|
+
* @csspart sqm-base - The base container
|
|
14
15
|
* @csspart alert-title - The alert title
|
|
15
16
|
* @csspart alert-description - The alert description
|
|
16
17
|
* @csspart primarybutton-base - The primary button base
|
|
@@ -15,6 +15,7 @@ import { intl } from "../../../global/global";
|
|
|
15
15
|
* @exampleGroup Tax and Cash
|
|
16
16
|
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqb-program-section","sqb-conditional-section", "template"]
|
|
17
17
|
* @example Microsite Cash Payout Form - <sqm-tax-and-cash></sqm-tax-and-cash>
|
|
18
|
+
* @csspart container - The base container for the tax and cash component
|
|
18
19
|
*/
|
|
19
20
|
export class TaxAndCashMonolith {
|
|
20
21
|
constructor() {
|
|
@@ -1180,15 +1181,15 @@ export class TaxAndCashMonolith {
|
|
|
1180
1181
|
}
|
|
1181
1182
|
switch (props.step) {
|
|
1182
1183
|
case "/1":
|
|
1183
|
-
return (h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
|
|
1184
|
+
return (h("sqm-user-info-form", Object.assign({ exportparts: "form-container: container" }, this.getGeneralStepTextProps("step1_"))));
|
|
1184
1185
|
case "/2":
|
|
1185
|
-
return (h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
|
|
1186
|
+
return (h("sqm-indirect-tax-form", Object.assign({ exportparts: "form-container: container" }, this.getGeneralStepTextProps("step2_"))));
|
|
1186
1187
|
case "/3":
|
|
1187
|
-
return (h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
|
|
1188
|
+
return (h("sqm-docusign-form", Object.assign({ exportparts: "form-container: container" }, this.getGeneralStepTextProps("step3_"))));
|
|
1188
1189
|
case "/4":
|
|
1189
|
-
return (h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
|
|
1190
|
+
return (h("sqm-banking-info-form", Object.assign({ exportparts: "form-container: container" }, this.getGeneralStepTextProps("step4_"))));
|
|
1190
1191
|
case "/dashboard":
|
|
1191
|
-
return (h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"), { stateController: props["sqm-tax-and-cash-dashboard_stateController"] || "{}" })));
|
|
1192
|
+
return (h("sqm-tax-and-cash-dashboard", Object.assign({ exportparts: "dashboard-container: container" }, this.getGeneralStepTextProps("dashboard_"), { stateController: props["sqm-tax-and-cash-dashboard_stateController"] || "{}" })));
|
|
1192
1193
|
case "/error":
|
|
1193
1194
|
return (h(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: intl.formatMessage({
|
|
1194
1195
|
id: "loadingErrorAlertDescription",
|
package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js
CHANGED
|
@@ -304,7 +304,7 @@ export const UserInfoFormView = (props) => {
|
|
|
304
304
|
var _a;
|
|
305
305
|
return states.isUser && !!((_a = data.userData) === null || _a === void 0 ? void 0 : _a[field]);
|
|
306
306
|
}
|
|
307
|
-
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
307
|
+
return (h("sl-form", { part: "form-container", class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
308
308
|
h("style", { type: "text/css" },
|
|
309
309
|
styleString,
|
|
310
310
|
vanillaStyle),
|
|
@@ -91,7 +91,7 @@ export function CopyTextView(props) {
|
|
|
91
91
|
? "top"
|
|
92
92
|
: "top-end";
|
|
93
93
|
const copyButton = (h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: tooltipPlacement, disabled: props.disabled, open: props.open, skidding: props.buttonStyle === "icon" ? -5 : 0, slot: "suffix" }, buttonStyle === "icon" ? (h("sl-icon-button", { class: sheet.classes.icon, exportparts: "base: icon-button-base", onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, name: "files", disabled: disabled })) : (h("sl-button", { exportparts: `base: ${props.buttonType || "primary"}button-base`, onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, size: "medium", style: { width: `${buttonStyle === "button-below" && "100%"}` }, disabled: disabled, type: "primary" }, props.copyButtonLabel || "Copy"))));
|
|
94
|
-
return (h("div", { class: sheet.classes.ContainerDiv },
|
|
94
|
+
return (h("div", { class: sheet.classes.ContainerDiv, part: "sqm-base" },
|
|
95
95
|
h("style", { type: "text/css" },
|
|
96
96
|
styleString,
|
|
97
97
|
vanillaStyle,
|
|
@@ -127,7 +127,7 @@ export function GenericTableView(props) {
|
|
|
127
127
|
const styleString = sheet.toString();
|
|
128
128
|
if (show === "empty")
|
|
129
129
|
return elements.emptyElement;
|
|
130
|
-
return (h("div",
|
|
130
|
+
return (h("div", { part: "sqm-base" },
|
|
131
131
|
h("style", { type: "text/css" }, styleString),
|
|
132
132
|
h("table", { class: sheet.classes.Table },
|
|
133
133
|
(showLabels || hasDropZones) && (h("thead", null,
|
|
@@ -128,7 +128,7 @@ function GenericTableView(props) {
|
|
|
128
128
|
const styleString = sheet.toString();
|
|
129
129
|
if (show === "empty")
|
|
130
130
|
return elements.emptyElement;
|
|
131
|
-
return (h("div",
|
|
131
|
+
return (h("div", { part: "sqm-base" },
|
|
132
132
|
h("style", { type: "text/css" }, styleString),
|
|
133
133
|
h("table", { class: sheet.classes.Table },
|
|
134
134
|
(showLabels || hasDropZones) && (h("thead", null,
|
|
@@ -7,7 +7,7 @@ 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
8
|
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-25f8b792.js';
|
|
9
9
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f750863a.js';
|
|
10
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
10
|
+
import { C as CopyTextView } from './copy-text-view-997fe4da.js';
|
|
11
11
|
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
12
12
|
import { u as useChildElements } from './useChildElements-06937df7.js';
|
|
13
13
|
import { l as luxon } from './luxon-1be92a8e.js';
|
|
@@ -111,7 +111,7 @@ function ShareButtonView(props, children) {
|
|
|
111
111
|
top: 2%;
|
|
112
112
|
}
|
|
113
113
|
`;
|
|
114
|
-
return props.hide ? (h(Host, { style: { display: "none" } })) : (h("div",
|
|
114
|
+
return props.hide ? (h(Host, { style: { display: "none" } })) : (h("div", { part: "sqm-base" },
|
|
115
115
|
h("style", { type: "text/css" }, styleString),
|
|
116
116
|
h("style", { type: "text/css" }, vanillaStyle),
|
|
117
117
|
h("sl-button", { class: sheet.classes.buttonStyle, target: props.openInSameTab ? "_self" : "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: !props.isPlainLink ? props.onClick : undefined, href: props.isPlainLink ? props.messageLink : undefined, exportparts: `base: ${props.type}button-base` },
|
|
@@ -228,7 +228,7 @@ function PortalChangePasswordView(props) {
|
|
|
228
228
|
};
|
|
229
229
|
const sheet = createStyleSheet(style);
|
|
230
230
|
const styleString = sheet.toString();
|
|
231
|
-
return (h("div",
|
|
231
|
+
return (h("div", { part: "sqm-base" },
|
|
232
232
|
h("style", { type: "text/css" }, styleString),
|
|
233
233
|
h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, "onSl-hide": () => callbacks.setOpen(false) },
|
|
234
234
|
h(PortalSectionView, Object.assign({}, {
|
|
@@ -2334,11 +2334,11 @@ function CouponCodeView(props) {
|
|
|
2334
2334
|
`;
|
|
2335
2335
|
const sheet = createStyleSheet(style);
|
|
2336
2336
|
const styleString = sheet.toString();
|
|
2337
|
-
return (h("div",
|
|
2337
|
+
return (h("div", { part: "sqm-base" },
|
|
2338
2338
|
h("style", { type: "text/css" },
|
|
2339
2339
|
styleString,
|
|
2340
2340
|
vanillaStyle),
|
|
2341
|
-
h("p", { class: sheet.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
2341
|
+
h("p", { class: sheet.classes.couponCodeLabel, style: { textAlign: props.textAlign }, part: "label" }, props.couponCodeLabel),
|
|
2342
2342
|
error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
2343
2343
|
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
|
|
2344
2344
|
}
|
|
@@ -4365,7 +4365,7 @@ function ShareLinkView(props) {
|
|
|
4365
4365
|
}, { editsRemaining });
|
|
4366
4366
|
// Editing state
|
|
4367
4367
|
if (isEditing) {
|
|
4368
|
-
return (h("div", { class: sheet.classes.Container },
|
|
4368
|
+
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
4369
4369
|
h("style", { type: "text/css" },
|
|
4370
4370
|
styleString,
|
|
4371
4371
|
vanillaStyle$6),
|
|
@@ -92,7 +92,7 @@ function CopyTextView(props) {
|
|
|
92
92
|
? "top"
|
|
93
93
|
: "top-end";
|
|
94
94
|
const copyButton = (h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: tooltipPlacement, disabled: props.disabled, open: props.open, skidding: props.buttonStyle === "icon" ? -5 : 0, slot: "suffix" }, buttonStyle === "icon" ? (h("sl-icon-button", { class: sheet.classes.icon, exportparts: "base: icon-button-base", onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, name: "files", disabled: disabled })) : (h("sl-button", { exportparts: `base: ${props.buttonType || "primary"}button-base`, onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, size: "medium", style: { width: `${buttonStyle === "button-below" && "100%"}` }, disabled: disabled, type: "primary" }, props.copyButtonLabel || "Copy"))));
|
|
95
|
-
return (h("div", { class: sheet.classes.ContainerDiv },
|
|
95
|
+
return (h("div", { class: sheet.classes.ContainerDiv, part: "sqm-base" },
|
|
96
96
|
h("style", { type: "text/css" },
|
|
97
97
|
styleString,
|
|
98
98
|
vanillaStyle,
|