@saasquatch/mint-components 1.15.0-44 → 1.15.0-45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/IndirectTaxDetailsView-81f1ce92.js +646 -0
- package/dist/cjs/{ShadowViewAddon-85d2eed4.js → ShadowViewAddon-bebbd4d0.js} +1014 -1014
- package/dist/cjs/data-68a42a7b.js +137 -0
- package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
- package/dist/cjs/{global-2298fc8b.js → global-242743b1.js} +73 -58
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +201 -1890
- package/dist/cjs/sqm-big-stat_42.cjs.entry.js +3 -3
- package/dist/cjs/sqm-code-verification.cjs.entry.js +342 -0
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-0a93a148.js → sqm-portal-email-verification-view-38bfdda4.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-44a83439.js → sqm-portal-profile-view-036d355e.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -4
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +11405 -10110
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1220 -0
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +11 -3
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +17 -7
- package/dist/cjs/{usePayoutStatus-f26f0467.js → usePayoutStatus-3cca69e5.js} +8 -5
- package/dist/cjs/utils-a6957c85.js +105 -0
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +1 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +1 -1
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +3 -2
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +1 -1
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +3 -3
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +6 -4
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +2 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +2 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +2 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +2 -2
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -1
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +1 -1
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -1
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +5 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +11 -8
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +1 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +3 -3
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +1 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -3
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +3 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +78 -78
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -5
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +42 -7
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +12 -8
- 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 +2 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -1
- 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 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +77 -28
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +19 -4
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +6 -5
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
- package/dist/collection/global/styles.js +73 -58
- package/dist/collection/global/styles.ts +48 -40
- package/dist/collection/utils/parseStates.js +12 -0
- package/dist/esm/IndirectTaxDetailsView-89731480.js +639 -0
- package/dist/esm/{ShadowViewAddon-d59ef625.js → ShadowViewAddon-b439f9c5.js} +1017 -1017
- package/dist/esm/data-ce8ed0ae.js +121 -0
- package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
- package/dist/esm/{global-2da1dcec.js → global-f33bb903.js} +73 -58
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +125 -1807
- package/dist/esm/sqm-big-stat_42.entry.js +3 -3
- package/dist/esm/sqm-code-verification.entry.js +338 -0
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +1 -1
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
- package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-e38ec8cc.js → sqm-portal-email-verification-view-e8661ca9.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-e594d1ee.js → sqm-portal-profile-view-70e1a345.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +3 -4
- package/dist/esm/sqm-stencilbook.entry.js +11077 -9782
- package/dist/esm/sqm-tax-and-cash.entry.js +1216 -0
- package/dist/esm/sqm-widget-verification-controller.entry.js +12 -4
- package/dist/esm/sqm-widget-verification.entry.js +17 -7
- package/dist/esm/{usePayoutStatus-3768c8c3.js → usePayoutStatus-e92a6e43.js} +8 -5
- package/dist/esm/utils-79d81bca.js +97 -0
- package/dist/esm-es5/IndirectTaxDetailsView-89731480.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-b439f9c5.js +1 -0
- package/dist/esm-es5/data-ce8ed0ae.js +1 -0
- package/dist/esm-es5/extractProps-54064fb0.js +1 -0
- package/dist/esm-es5/{global-2da1dcec.js → global-f33bb903.js} +4 -4
- 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 -0
- package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-e38ec8cc.js → sqm-portal-email-verification-view-e8661ca9.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-e594d1ee.js → sqm-portal-profile-view-70e1a345.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-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-tax-and-cash.entry.js +1 -0
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{usePayoutStatus-3768c8c3.js → usePayoutStatus-e92a6e43.js} +2 -2
- package/dist/esm-es5/utils-79d81bca.js +1 -0
- package/dist/mint-components/global/styles.ts +48 -40
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-a121e5a1.system.entry.js → p-059ad130.system.entry.js} +1 -1
- package/dist/mint-components/p-0768fe1d.system.js +1 -0
- package/dist/mint-components/p-0797a946.js +1 -0
- package/dist/mint-components/{p-d49373b7.system.js → p-10849094.system.js} +1 -1
- package/dist/mint-components/p-169c8564.system.js +1 -0
- package/dist/mint-components/p-1e79befd.entry.js +1 -0
- package/dist/mint-components/{p-761ee9ea.entry.js → p-1f8d3b1a.entry.js} +2 -2
- package/dist/mint-components/{p-4ce7e3b1.entry.js → p-227aa136.entry.js} +1 -1
- package/dist/mint-components/p-2378a0dd.entry.js +16 -0
- package/dist/mint-components/{p-f3a52eb6.js → p-24d6cfcd.js} +1 -1
- package/dist/mint-components/{p-28aed7f7.system.entry.js → p-283848df.system.entry.js} +1 -1
- package/dist/mint-components/{p-7dac5a58.system.entry.js → p-28e4b275.system.entry.js} +1 -1
- package/dist/mint-components/{p-5125ec72.system.entry.js → p-2d730bef.system.entry.js} +1 -1
- package/dist/mint-components/p-3206d0a4.js +103 -0
- package/dist/mint-components/{p-cc5f9775.system.entry.js → p-3bdccbc9.system.entry.js} +1 -1
- package/dist/mint-components/{p-73069eba.entry.js → p-44435060.entry.js} +1 -1
- package/dist/mint-components/{p-fad1752b.system.entry.js → p-4cfd562e.system.entry.js} +1 -1
- package/dist/mint-components/{p-e70d8201.system.entry.js → p-538fe844.system.entry.js} +1 -1
- package/dist/mint-components/{p-7ae3ec51.system.js → p-5a48bf9d.system.js} +1 -1
- package/dist/mint-components/{p-9fcc7901.system.entry.js → p-5dd09973.system.entry.js} +1 -1
- package/dist/mint-components/p-6a4582eb.system.entry.js +1 -0
- package/dist/mint-components/{p-d4e49019.entry.js → p-6d23f01a.entry.js} +2 -2
- package/dist/mint-components/p-6f323a9f.entry.js +11 -0
- package/dist/mint-components/p-7274fe6e.js +1 -0
- package/dist/mint-components/p-7813a75a.js +1 -0
- package/dist/mint-components/{p-e1e96de9.entry.js → p-7aef9c53.entry.js} +1 -1
- package/dist/mint-components/{p-7953c3da.entry.js → p-7cbbca72.entry.js} +1 -1
- package/dist/mint-components/p-7dc10820.system.js +1 -0
- package/dist/mint-components/p-8c126ccb.system.entry.js +1 -0
- package/dist/mint-components/p-901358ee.system.entry.js +1 -0
- package/dist/mint-components/p-9481740a.system.entry.js +1 -0
- package/dist/mint-components/{p-232996b5.system.entry.js → p-95ff58b2.system.entry.js} +1 -1
- package/dist/mint-components/{p-7aba33e1.js → p-9d48280a.js} +1 -1
- package/dist/mint-components/{p-3466bfaa.js → p-a341ce23.js} +2 -2
- package/dist/mint-components/{p-b090bbd2.js → p-a348f9b9.js} +1 -1
- package/dist/mint-components/p-a39c3535.system.entry.js +1 -0
- package/dist/mint-components/{p-5efed40f.system.js → p-a44b7a52.system.js} +2 -2
- package/dist/mint-components/p-a86635aa.system.entry.js +1 -0
- package/dist/mint-components/p-ae0636bb.system.js +1 -0
- package/dist/mint-components/{p-0019d57c.entry.js → p-b55e454d.entry.js} +1 -1
- package/dist/mint-components/p-c25b0ff4.js +394 -0
- package/dist/mint-components/{p-f2c48bc8.entry.js → p-c2e3f0f0.entry.js} +1 -1
- package/dist/mint-components/{p-7daa731c.system.js → p-c7878ec7.system.js} +1 -1
- package/dist/mint-components/p-e228b351.system.js +1 -0
- package/dist/mint-components/p-e524056f.entry.js +1 -0
- package/dist/mint-components/p-e55aafe9.system.js +1 -0
- package/dist/mint-components/{p-836d3ec7.entry.js → p-e8422f7b.entry.js} +2 -2
- package/dist/mint-components/p-ee17ee0b.entry.js +1 -0
- package/dist/mint-components/p-f2ebbbe3.system.entry.js +1 -0
- package/dist/mint-components/p-fba00613.entry.js +93 -0
- package/dist/mint-components/p-fd2ee10c.entry.js +9 -0
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
- package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +2 -1
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
- package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +3 -3
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -0
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +3 -3
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +6 -1
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -2
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -4
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components.d.ts +66 -22
- package/dist/types/global/styles.d.ts +2 -1
- package/dist/types/saasquatch.d.ts +106 -50
- package/dist/types/utils/parseStates.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 +2 -1
- package/dist/cjs/sqm-invoice-table-view-90b2433f.js +0 -2038
- package/dist/esm/sqm-invoice-table-view-df370e4a.js +0 -2022
- package/dist/esm-es5/ShadowViewAddon-d59ef625.js +0 -1
- package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-df370e4a.js +0 -1
- package/dist/mint-components/p-04cc08e7.system.entry.js +0 -1
- package/dist/mint-components/p-097a255f.js +0 -1
- package/dist/mint-components/p-15ad1e97.entry.js +0 -16
- package/dist/mint-components/p-16c55bb4.entry.js +0 -205
- package/dist/mint-components/p-26468242.js +0 -1
- package/dist/mint-components/p-31b8f0ca.system.js +0 -1
- package/dist/mint-components/p-62d924e6.system.entry.js +0 -1
- package/dist/mint-components/p-6bcac9ed.system.entry.js +0 -1
- package/dist/mint-components/p-7b97c0f4.system.entry.js +0 -1
- package/dist/mint-components/p-a8645c1b.system.js +0 -1
- package/dist/mint-components/p-bfe08ca4.system.js +0 -1
- package/dist/mint-components/p-c53bd5bd.entry.js +0 -9
- package/dist/mint-components/p-e53c3c6e.system.js +0 -1
- package/dist/mint-components/p-f3558ef0.js +0 -394
- package/dist/mint-components/p-f66ccd51.entry.js +0 -1
- package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +0 -20
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +0 -60
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +0 -7
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +0 -16
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +0 -43
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +0 -71
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +0 -43
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +0 -31
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +0 -8
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +0 -11
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +0 -24
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +0 -31
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +0 -20
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +0 -32
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +0 -50
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +0 -104
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +0 -48
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +0 -16
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
- package/shoelace/assets/icons/twitter-x.svg +0 -4
- /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
- /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
|
@@ -37,18 +37,26 @@ function useTemplateChildren({ parent, callback }) {
|
|
|
37
37
|
const WidgetVerificationController = class {
|
|
38
38
|
constructor(hostRef) {
|
|
39
39
|
index.registerInstance(this, hostRef);
|
|
40
|
+
/**
|
|
41
|
+
* @componentState { "title": "Not Verified", "slot": "not-verified", "props": { "isAuth": false } }
|
|
42
|
+
* @componentState { "title": "Verified", "slot": "verified", "props": { "isAuth": true } }
|
|
43
|
+
*/
|
|
44
|
+
this.stateController = "{}";
|
|
40
45
|
stencilHooks_module.h$1(this);
|
|
41
46
|
}
|
|
42
47
|
disconnectedCallback() { }
|
|
43
48
|
render() {
|
|
49
|
+
var _a;
|
|
44
50
|
const [context, setContext] = index_module.In({
|
|
45
51
|
namespace: keys.VERIFICATION_PARENT_NAMESPACE,
|
|
46
52
|
initialValue: false,
|
|
47
53
|
});
|
|
54
|
+
const props = JSON.parse(this.stateController);
|
|
55
|
+
const demoIsAuth = index_module.isDemo() && ((_a = props["sqm-widget-verification-controller"]) === null || _a === void 0 ? void 0 : _a.isAuth);
|
|
48
56
|
const [container, setContainer] = stencilHooks_module.useState(undefined);
|
|
49
57
|
const [slot, setSlot] = stencilHooks_module.useState(undefined);
|
|
50
58
|
const updateTemplates = index_module.useCallback(() => {
|
|
51
|
-
const isAuth = context;
|
|
59
|
+
const isAuth = demoIsAuth || context;
|
|
52
60
|
const templates = slot.querySelectorAll(`template`);
|
|
53
61
|
const template = Array.from(templates).find((t) => t.slot === (isAuth ? "verified" : "not-verified"));
|
|
54
62
|
if (template) {
|
|
@@ -96,7 +104,7 @@ const WidgetVerificationController = class {
|
|
|
96
104
|
target.style.height = "25px";
|
|
97
105
|
});
|
|
98
106
|
}
|
|
99
|
-
}, [container, slot, context]);
|
|
107
|
+
}, [container, slot, context, demoIsAuth]);
|
|
100
108
|
stencilHooks_module.useEffect(() => {
|
|
101
109
|
if (!container || !slot) {
|
|
102
110
|
debug("DOM not ready:");
|
|
@@ -105,7 +113,7 @@ const WidgetVerificationController = class {
|
|
|
105
113
|
// Run on first render
|
|
106
114
|
updateTemplates();
|
|
107
115
|
return useTemplateChildren({ parent: slot, callback: updateTemplates });
|
|
108
|
-
}, [slot, container, context]);
|
|
116
|
+
}, [slot, container, context, demoIsAuth]);
|
|
109
117
|
return (index.h(index.Host, null, index.h("div", { ref: setSlot, style: { display: "contents" } }, index.h("slot", { name: "not-verified" }), index.h("slot", { name: "verified" })), index.h("div", { ref: setContainer }, index.h("slot", { name: "shown" }))));
|
|
110
118
|
}
|
|
111
119
|
};
|
|
@@ -5,8 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
7
|
const index_module = require('./index.module-39955732.js');
|
|
8
|
+
const cjs = require('./cjs-1066ec21.js');
|
|
8
9
|
const utils = require('./utils-6847bc06.js');
|
|
9
|
-
const extractProps = require('./extractProps-
|
|
10
|
+
const extractProps = require('./extractProps-e9c55ba8.js');
|
|
10
11
|
const keys = require('./keys-cff24974.js');
|
|
11
12
|
|
|
12
13
|
const USER_LOOKUP = index_module.dist.gql `
|
|
@@ -163,6 +164,11 @@ const WidgetVerification = class {
|
|
|
163
164
|
* @uiGroup Code Verification Step
|
|
164
165
|
*/
|
|
165
166
|
this.codeStep_networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
167
|
+
/**
|
|
168
|
+
* @componentState { "title": "Email Step", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"] }
|
|
169
|
+
* @componentState { "title": "Code Step", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"] }
|
|
170
|
+
*/
|
|
171
|
+
this.stateController = "{}";
|
|
166
172
|
stencilHooks_module.h$1(this);
|
|
167
173
|
}
|
|
168
174
|
disconnectedCallback() { }
|
|
@@ -171,20 +177,20 @@ const WidgetVerification = class {
|
|
|
171
177
|
return extractProps.extractProps(props, prefix);
|
|
172
178
|
}
|
|
173
179
|
render() {
|
|
174
|
-
const
|
|
175
|
-
? useDemoWidgetVerificationInternal()
|
|
180
|
+
const props = index_module.isDemo()
|
|
181
|
+
? useDemoWidgetVerificationInternal(this)
|
|
176
182
|
: useWidgetVerification();
|
|
177
|
-
if (loading)
|
|
183
|
+
if (props.loading)
|
|
178
184
|
return index.h("sl-spinner", null);
|
|
179
185
|
const generalText = this.getStepTextProps("general_");
|
|
180
186
|
return (index.h("div", null, index.h("h3", { style: { fontSize: "24px", margin: "0" } }, generalText.verifyEmailHeader), index.h("p", { style: {
|
|
181
187
|
color: "var(--sl-color-neutral-500)",
|
|
182
188
|
fontSize: "var(--sl-font-size-medium)",
|
|
183
189
|
margin: "0",
|
|
184
|
-
} }, generalText.verifyEmailDescription), showCode ? (index.h("sqm-code-verification", Object.assign({ onVerification: onVerification }, this.getStepTextProps("codeStep_")))) : (index.h("sqm-email-verification", Object.assign({}, this.getStepTextProps("emailStep_"))))));
|
|
190
|
+
} }, generalText.verifyEmailDescription), props.showCode ? (index.h("sqm-code-verification", Object.assign({ onVerification: props.onVerification }, this.getStepTextProps("codeStep_"), extractProps.extractProps(props, "sqm-code-verification_")))) : (index.h("sqm-email-verification", Object.assign({}, this.getStepTextProps("emailStep_"), extractProps.extractProps(props, "sqm-email-verification_"))))));
|
|
185
191
|
}
|
|
186
192
|
};
|
|
187
|
-
function useDemoWidgetVerificationInternal() {
|
|
193
|
+
function useDemoWidgetVerificationInternal(props) {
|
|
188
194
|
const [showCode, setShowCode] = index_module.In({
|
|
189
195
|
namespace: keys.SHOW_CODE_NAMESPACE,
|
|
190
196
|
initialValue: false,
|
|
@@ -194,10 +200,14 @@ function useDemoWidgetVerificationInternal() {
|
|
|
194
200
|
initialValue: undefined,
|
|
195
201
|
});
|
|
196
202
|
const setContext = index_module.En(keys.VERIFICATION_PARENT_NAMESPACE);
|
|
203
|
+
const states = extractProps.parseStates(props.stateController);
|
|
204
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-widget-verification"
|
|
205
|
+
? { ...prev, ...states[key] }
|
|
206
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
197
207
|
const onVerification = () => {
|
|
198
208
|
setContext(true);
|
|
199
209
|
};
|
|
200
|
-
return { showCode, onVerification, loading: false };
|
|
210
|
+
return cjs.cjs({ showCode, onVerification, loading: false }, formatted || {}, { arrayMerge: (_, a) => a });
|
|
201
211
|
}
|
|
202
212
|
|
|
203
213
|
exports.sqm_widget_verification = WidgetVerification;
|
|
@@ -986,17 +986,20 @@ const GET_USER_STATUS = index_module.dist.gql `
|
|
|
986
986
|
}
|
|
987
987
|
`;
|
|
988
988
|
function getStatus(data) {
|
|
989
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
989
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
990
990
|
const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
|
|
991
991
|
if (!((_d = (_c = data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.connected) || !account)
|
|
992
992
|
return "INFORMATION_REQUIRED";
|
|
993
|
-
if ((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.includes("
|
|
993
|
+
if (((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.length) === 1 && ((_f = account.holdReasons) === null || _f === void 0 ? void 0 : _f.includes("NEW_PAYEE_REVIEW"))) {
|
|
994
|
+
return "DONE";
|
|
995
|
+
}
|
|
996
|
+
if ((_g = account.holdReasons) === null || _g === void 0 ? void 0 : _g.includes("IDV_CHECK_REQUIRED"))
|
|
994
997
|
return "VERIFICATION:REQUIRED";
|
|
995
|
-
if ((
|
|
998
|
+
if ((_h = account.holdReasons) === null || _h === void 0 ? void 0 : _h.includes("IDV_CHECK_REQUIRED_INTERNAL"))
|
|
996
999
|
return "VERIFICATION:INTERNAL";
|
|
997
|
-
if ((
|
|
1000
|
+
if ((_j = account.holdReasons) === null || _j === void 0 ? void 0 : _j.includes("IDV_CHECK_REVIEW_INTERNAL"))
|
|
998
1001
|
return "VERIFICATION:REVIEW";
|
|
999
|
-
if ((
|
|
1002
|
+
if ((_k = account.holdReasons) === null || _k === void 0 ? void 0 : _k.includes("IDV_CHECK_FAILED_INTERNAL"))
|
|
1000
1003
|
return "VERIFICATION:FAILED";
|
|
1001
1004
|
if (account.hold)
|
|
1002
1005
|
return "HOLD";
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-a43a63b4.js');
|
|
4
|
+
const global = require('./global-242743b1.js');
|
|
5
|
+
const JSS = require('./JSS-8503a151.js');
|
|
6
|
+
|
|
7
|
+
const style = {
|
|
8
|
+
Container: {
|
|
9
|
+
display: "flex",
|
|
10
|
+
flexDirection: "column",
|
|
11
|
+
gap: "24px",
|
|
12
|
+
},
|
|
13
|
+
HeaderContainer: {
|
|
14
|
+
display: "flex",
|
|
15
|
+
flexDirection: "column",
|
|
16
|
+
gap: "10px",
|
|
17
|
+
},
|
|
18
|
+
TitleSkeleton: {
|
|
19
|
+
width: "45%",
|
|
20
|
+
height: "40px !important",
|
|
21
|
+
},
|
|
22
|
+
StepSkeleton: {
|
|
23
|
+
width: "15%",
|
|
24
|
+
},
|
|
25
|
+
HeaderSkeleton: {
|
|
26
|
+
width: "25%",
|
|
27
|
+
height: "30px !important",
|
|
28
|
+
},
|
|
29
|
+
InputSkeleton: {
|
|
30
|
+
width: "75%",
|
|
31
|
+
},
|
|
32
|
+
ButtonSkeleton: {
|
|
33
|
+
width: "80px",
|
|
34
|
+
height: "30px !important",
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
const sheet = JSS.createStyleSheet(style);
|
|
38
|
+
const styleString = sheet.toString();
|
|
39
|
+
const LoadingView = () => {
|
|
40
|
+
return (index.h("div", { class: sheet.classes.Container },
|
|
41
|
+
index.h("style", { type: "text/css" }, styleString),
|
|
42
|
+
index.h("sl-skeleton", { class: sheet.classes.TitleSkeleton }),
|
|
43
|
+
index.h("div", { class: sheet.classes.HeaderContainer },
|
|
44
|
+
index.h("sl-skeleton", { class: sheet.classes.StepSkeleton }),
|
|
45
|
+
index.h("sl-skeleton", { class: sheet.classes.HeaderSkeleton })),
|
|
46
|
+
index.h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
|
|
47
|
+
index.h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
|
|
48
|
+
index.h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
|
|
49
|
+
index.h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
|
|
50
|
+
index.h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
|
|
51
|
+
index.h("sl-skeleton", { class: sheet.classes.StepSkeleton }),
|
|
52
|
+
index.h("sl-skeleton", { class: sheet.classes.ButtonSkeleton })));
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
function validTaxDocument(requiredType) {
|
|
56
|
+
const validTypes = ["W9", "W8BENE", "W8BEN"];
|
|
57
|
+
if (validTypes.includes(requiredType))
|
|
58
|
+
return true;
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
const objectIsFull = (obj) => {
|
|
62
|
+
return !Object.keys(obj).find((k) => obj[k] == undefined);
|
|
63
|
+
};
|
|
64
|
+
const taxTypeToName = (taxType) => {
|
|
65
|
+
switch (taxType) {
|
|
66
|
+
case "W9":
|
|
67
|
+
return "W-9";
|
|
68
|
+
case "W8BEN":
|
|
69
|
+
case "W8BENE":
|
|
70
|
+
return "W-8";
|
|
71
|
+
default:
|
|
72
|
+
return "";
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
function validateBillingField(regex, value) {
|
|
76
|
+
const trimmed = value.trim();
|
|
77
|
+
const idx = trimmed.search(regex);
|
|
78
|
+
return idx > -1;
|
|
79
|
+
}
|
|
80
|
+
const formatErrorMessage = (fieldName, errorMessage) => {
|
|
81
|
+
return global.intl.formatMessage({
|
|
82
|
+
id: fieldName,
|
|
83
|
+
defaultMessage: errorMessage,
|
|
84
|
+
}, {
|
|
85
|
+
fieldName,
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
function getCountryObj({ countryCode, locale, }) {
|
|
89
|
+
// @ts-ignore DisplayNames not in Intl type
|
|
90
|
+
const displayName = new Intl.DisplayNames([locale], {
|
|
91
|
+
type: "region",
|
|
92
|
+
}).of(countryCode);
|
|
93
|
+
return {
|
|
94
|
+
countryCode,
|
|
95
|
+
displayName,
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
exports.LoadingView = LoadingView;
|
|
100
|
+
exports.formatErrorMessage = formatErrorMessage;
|
|
101
|
+
exports.getCountryObj = getCountryObj;
|
|
102
|
+
exports.objectIsFull = objectIsFull;
|
|
103
|
+
exports.taxTypeToName = taxTypeToName;
|
|
104
|
+
exports.validTaxDocument = validTaxDocument;
|
|
105
|
+
exports.validateBillingField = validateBillingField;
|
|
@@ -9,7 +9,7 @@ import { useInstantAccessRegistration } from "./useInstantAccessRegistration";
|
|
|
9
9
|
* @validParents ["sqm-portal-container","div","sqm-hero","template", "sqb-program-section", "sqb-conditional-section"]
|
|
10
10
|
* @compatibility Built for instant access
|
|
11
11
|
* @exampleGroup Instant Access
|
|
12
|
-
* @example
|
|
12
|
+
* @example Instant Access Registration - <sqm-instant-access-registration></sqm-instant-access-registration>
|
|
13
13
|
* @slots [{"name":"top","title":"Top Content"},{"name":"bottom","title":"Bottom Content"}]
|
|
14
14
|
*/
|
|
15
15
|
export class InstantAccessRegistration {
|
package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useRequestRerender } from "../../../tables/re-render";
|
|
|
5
5
|
* @uiName Invoice Table Date Column
|
|
6
6
|
* @validParents ["sqm-invoice-table"]
|
|
7
7
|
* @exampleGroup Invoices
|
|
8
|
-
* @example Date Column - <sqm-invoice-table-date-column column-title="Date converted" date-shown="dateConverted"></sqm-invoice-table-date-column>
|
|
8
|
+
* @example Invoice Table Date Column - <sqm-invoice-table-date-column column-title="Date converted" date-shown="dateConverted"></sqm-invoice-table-date-column>
|
|
9
9
|
*/
|
|
10
10
|
export class InvoiceTableDateColumn {
|
|
11
11
|
constructor() {
|
|
@@ -63,7 +63,8 @@ export class InvoiceTableDateColumn {
|
|
|
63
63
|
"location": "global"
|
|
64
64
|
},
|
|
65
65
|
"Invoice": {
|
|
66
|
-
"location": "
|
|
66
|
+
"location": "import",
|
|
67
|
+
"path": "../../../saasquatch"
|
|
67
68
|
}
|
|
68
69
|
},
|
|
69
70
|
"return": "Promise<any>"
|
|
@@ -321,7 +321,7 @@ export class InvoiceTable {
|
|
|
321
321
|
"mutable": false,
|
|
322
322
|
"complexType": {
|
|
323
323
|
"original": "DemoData<GenericTableViewProps> & {\n mockData?: { data: Invoice[] };\n }",
|
|
324
|
-
"resolved": "Partial<Pick<GenericTableViewProps, \"states\" | \"data\" | \"elements\">> & { mockData?: { data:
|
|
324
|
+
"resolved": "Partial<Pick<GenericTableViewProps, \"states\" | \"data\" | \"elements\">> & { mockData?: { data: any[]; }; }",
|
|
325
325
|
"references": {
|
|
326
326
|
"DemoData": {
|
|
327
327
|
"location": "import",
|
|
@@ -11,9 +11,9 @@ import { useLeaderboard } from "./useLeaderboard";
|
|
|
11
11
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
12
12
|
* @requiredFeatures ["LEADERBOARDS"]
|
|
13
13
|
* @exampleGroup Leaderboard
|
|
14
|
-
* @example Referral Started - <sqm-leaderboard usersheading="Referrer" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" statsheading="Referrals" rank-type="rank" leaderboard-type="topStartedReferrers" rankheading="Rank" show-rank="true"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard" ></sqm-empty></sqm-leaderboard>
|
|
15
|
-
* @example Referral Converted - <sqm-leaderboard usersheading="Referrer" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" statsheading="Referrals" rank-type="rank" leaderboard-type="topConvertedReferrers" rankheading="Rank" show-rank="true"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard" ></sqm-empty></sqm-leaderboard>
|
|
16
|
-
* @example Points Earned - <sqm-leaderboard usersheading="Name" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" statsheading="Points" rank-type="rank" leaderboard-type="topPointEarners" rankheading="Rank" show-rank="true"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard" ></sqm-empty></sqm-leaderboard>
|
|
14
|
+
* @example Referral Started Leaderboard - <sqm-leaderboard usersheading="Referrer" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" statsheading="Referrals" rank-type="rank" leaderboard-type="topStartedReferrers" rankheading="Rank" show-rank="true"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard" ></sqm-empty></sqm-leaderboard>
|
|
15
|
+
* @example Referral Converted Leaderboard - <sqm-leaderboard usersheading="Referrer" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" statsheading="Referrals" rank-type="rank" leaderboard-type="topConvertedReferrers" rankheading="Rank" show-rank="true"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard" ></sqm-empty></sqm-leaderboard>
|
|
16
|
+
* @example Points Earned Leaderboard - <sqm-leaderboard usersheading="Name" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" statsheading="Points" rank-type="rank" leaderboard-type="topPointEarners" rankheading="Rank" show-rank="true"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard" ></sqm-empty></sqm-leaderboard>
|
|
17
17
|
* @example Anonymous Leaderboard - <div style="display: flex; align-items: flex-start; justify-content: center; width: 100%; gap: 50px;"><div style="display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; max-width: 30%;"><sqm-image width="70%" alignment="center" image-url="https://res.cloudinary.com/saasquatch-staging/image/upload/v1729728469/Leaderboard_image_z87lsm.png"></sqm-image><h2 style="margin: auto;">Top Performers</h2><p style="margin: 0; text-align: center;">The leaderboard highlights the top performers in real-time. Stay motivated, stay competitive!</p></div><sqm-leaderboard width="300px" usersheading="Referrer" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" statsheading="Referrals" rank-type="rank" leaderboard-type="topStartedReferrers" rankheading="Rank" show-rank="true" hide-names="true" hide-viewer="true"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard"></sqm-empty></sqm-leaderboard></div>
|
|
18
18
|
* @featureTooltip <div>Motivate your participants by gamifying your program. Contact <a href="mailto:saasquatch-support%40impact.com?subject=Next steps for Leaderboards feature&body=Hi Support Team, %0D%0A%0D%0A I am interested in learning more about how Leaderboards can support the growth of our referral program. Please connect me with a program strategy manager to discuss this feature further, and determine the next steps.%0D%0A%0D%0A%0D%0AThank you,%0D%0A[Add your name here]">Support</a> to upgrade your plan and add a leaderboard.</div>
|
|
19
19
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { createStyleSheet } from "../../styling/JSS";
|
|
3
2
|
import { ErrorStyles } from "../../global/mixins";
|
|
3
|
+
import { createStyleSheet } from "../../styling/JSS";
|
|
4
4
|
const style = {
|
|
5
5
|
ErrorStyle: ErrorStyles,
|
|
6
6
|
FieldsContainer: {
|
|
@@ -26,7 +26,7 @@ const vanillaStyle = `
|
|
|
26
26
|
background-color: var(--sqm-input-background, #fff);
|
|
27
27
|
border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);
|
|
28
28
|
color: var(--sqm-input-color, white);
|
|
29
|
-
border-width: var(--sqm-border-
|
|
29
|
+
border-width: var(--sqm-border-thickness, 1px);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
sl-input::part(base):focus,
|
package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Component, h, Prop } from "@stencil/core";
|
|
2
2
|
import { DateTime } from "luxon";
|
|
3
|
-
import { TextSpanView } from "../../sqm-text-span/sqm-text-span-view";
|
|
4
|
-
import { createStyleSheet } from "../../../styling/JSS";
|
|
5
3
|
import { intl } from "../../../global/global";
|
|
4
|
+
import { createStyleSheet } from "../../../styling/JSS";
|
|
6
5
|
import { luxonLocale } from "../../../utils/utils";
|
|
6
|
+
import { TextSpanView } from "../../sqm-text-span/sqm-text-span-view";
|
|
7
7
|
export class ReferralTableRewardsCell {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.statusText = "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} 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} }";
|
|
@@ -312,7 +312,8 @@ export class ReferralTableRewardsCell {
|
|
|
312
312
|
"resolved": "Reward[]",
|
|
313
313
|
"references": {
|
|
314
314
|
"Reward": {
|
|
315
|
-
"location": "
|
|
315
|
+
"location": "import",
|
|
316
|
+
"path": "../../../saasquatch"
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
319
|
},
|
|
@@ -331,7 +332,8 @@ export class ReferralTableRewardsCell {
|
|
|
331
332
|
"resolved": "ImpactConnection",
|
|
332
333
|
"references": {
|
|
333
334
|
"ImpactConnection": {
|
|
334
|
-
"location": "
|
|
335
|
+
"location": "import",
|
|
336
|
+
"path": "../../../saasquatch"
|
|
335
337
|
}
|
|
336
338
|
}
|
|
337
339
|
},
|
package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js
CHANGED
|
@@ -107,11 +107,11 @@ export class ReferralTableStatusCell {
|
|
|
107
107
|
"reflect": false
|
|
108
108
|
},
|
|
109
109
|
"fraudStatus": {
|
|
110
|
-
"type": "
|
|
110
|
+
"type": "any",
|
|
111
111
|
"mutable": false,
|
|
112
112
|
"complexType": {
|
|
113
113
|
"original": "FraudStatus",
|
|
114
|
-
"resolved": "
|
|
114
|
+
"resolved": "any",
|
|
115
115
|
"references": {
|
|
116
116
|
"FraudStatus": {
|
|
117
117
|
"location": "global"
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js
CHANGED
|
@@ -115,7 +115,7 @@ export class ReferralTableDateColumn {
|
|
|
115
115
|
static get methods() { return {
|
|
116
116
|
"renderCell": {
|
|
117
117
|
"complexType": {
|
|
118
|
-
"signature": "(data:
|
|
118
|
+
"signature": "(data: any, options?: { locale: string; }) => Promise<any>",
|
|
119
119
|
"parameters": [{
|
|
120
120
|
"tags": [],
|
|
121
121
|
"text": ""
|
|
@@ -156,7 +156,7 @@ export class ReferralTableDateColumn {
|
|
|
156
156
|
},
|
|
157
157
|
"renderReferrerCell": {
|
|
158
158
|
"complexType": {
|
|
159
|
-
"signature": "(data:
|
|
159
|
+
"signature": "(data: any) => Promise<any>",
|
|
160
160
|
"parameters": [{
|
|
161
161
|
"tags": [],
|
|
162
162
|
"text": ""
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js
CHANGED
|
@@ -293,7 +293,7 @@ export class ReferralTableRewardsColumn {
|
|
|
293
293
|
static get methods() { return {
|
|
294
294
|
"renderCell": {
|
|
295
295
|
"complexType": {
|
|
296
|
-
"signature": "(data:
|
|
296
|
+
"signature": "(data: any, options?: { locale: string; taxConnection: ImpactConnection; }) => Promise<any>",
|
|
297
297
|
"parameters": [{
|
|
298
298
|
"tags": [],
|
|
299
299
|
"text": ""
|
|
@@ -337,7 +337,7 @@ export class ReferralTableRewardsColumn {
|
|
|
337
337
|
},
|
|
338
338
|
"renderReferrerCell": {
|
|
339
339
|
"complexType": {
|
|
340
|
-
"signature": "(data:
|
|
340
|
+
"signature": "(data: any) => Promise<any>",
|
|
341
341
|
"parameters": [{
|
|
342
342
|
"tags": [],
|
|
343
343
|
"text": ""
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js
CHANGED
|
@@ -233,7 +233,7 @@ export class ReferralTableStatusColumn {
|
|
|
233
233
|
static get methods() { return {
|
|
234
234
|
"renderCell": {
|
|
235
235
|
"complexType": {
|
|
236
|
-
"signature": "(data:
|
|
236
|
+
"signature": "(data: any) => Promise<any>",
|
|
237
237
|
"parameters": [{
|
|
238
238
|
"tags": [],
|
|
239
239
|
"text": ""
|
|
@@ -274,7 +274,7 @@ export class ReferralTableStatusColumn {
|
|
|
274
274
|
},
|
|
275
275
|
"renderReferrerCell": {
|
|
276
276
|
"complexType": {
|
|
277
|
-
"signature": "(data:
|
|
277
|
+
"signature": "(data: any) => Promise<any>",
|
|
278
278
|
"parameters": [{
|
|
279
279
|
"tags": [],
|
|
280
280
|
"text": ""
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js
CHANGED
|
@@ -143,7 +143,7 @@ export class ReferralTableUserColumn {
|
|
|
143
143
|
static get methods() { return {
|
|
144
144
|
"renderCell": {
|
|
145
145
|
"complexType": {
|
|
146
|
-
"signature": "(data:
|
|
146
|
+
"signature": "(data: any) => Promise<any>",
|
|
147
147
|
"parameters": [{
|
|
148
148
|
"tags": [],
|
|
149
149
|
"text": ""
|
|
@@ -181,7 +181,7 @@ export class ReferralTableUserColumn {
|
|
|
181
181
|
},
|
|
182
182
|
"renderReferrerCell": {
|
|
183
183
|
"complexType": {
|
|
184
|
-
"signature": "(data:
|
|
184
|
+
"signature": "(data: any) => Promise<any>",
|
|
185
185
|
"parameters": [{
|
|
186
186
|
"tags": [],
|
|
187
187
|
"text": ""
|
|
@@ -9,7 +9,7 @@ import { EmailRegistrationView, } from "../views/email-registration-view";
|
|
|
9
9
|
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqb-program-section","sqb-conditional-section"]
|
|
10
10
|
* @compatibility Built for instant access
|
|
11
11
|
* @exampleGroup Instant Access
|
|
12
|
-
* @example Friend Registration - <sqm-referred-registration></sqm-referred-registration>
|
|
12
|
+
* @example Instant Access Friend Registration - <sqm-referred-registration></sqm-referred-registration>
|
|
13
13
|
* @slots [{"name":"top","title":"Top Content"},{"name":"bottom","title":"Bottom Content"}]
|
|
14
14
|
*/
|
|
15
15
|
export class ReferredRegistration {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import scenario1 from "./columns/sqm-rewards-table-date-column.feature";
|
|
3
3
|
import scenario2 from "./columns/sqm-rewards-table-reward-column.feature";
|
|
4
|
-
import scenario3 from "./columns/sqm-rewards-table-status-column.feature";
|
|
5
4
|
import scenario4 from "./columns/sqm-rewards-table-source-column.feature";
|
|
5
|
+
import scenario3 from "./columns/sqm-rewards-table-status-column.feature";
|
|
6
6
|
const scenario = scenario1 + scenario2 + scenario3 + scenario4;
|
|
7
7
|
export default {
|
|
8
8
|
title: "Components/Rewards Table Cell",
|
|
@@ -163,11 +163,11 @@ export class RewardTableRewardsCell {
|
|
|
163
163
|
static get encapsulation() { return "shadow"; }
|
|
164
164
|
static get properties() { return {
|
|
165
165
|
"reward": {
|
|
166
|
-
"type": "
|
|
166
|
+
"type": "any",
|
|
167
167
|
"mutable": false,
|
|
168
168
|
"complexType": {
|
|
169
169
|
"original": "Reward",
|
|
170
|
-
"resolved": "
|
|
170
|
+
"resolved": "any",
|
|
171
171
|
"references": {
|
|
172
172
|
"Reward": {
|
|
173
173
|
"location": "global"
|
|
@@ -179,7 +179,9 @@ export class RewardTableRewardsCell {
|
|
|
179
179
|
"docs": {
|
|
180
180
|
"tags": [],
|
|
181
181
|
"text": ""
|
|
182
|
-
}
|
|
182
|
+
},
|
|
183
|
+
"attribute": "reward",
|
|
184
|
+
"reflect": false
|
|
183
185
|
},
|
|
184
186
|
"redeemedText": {
|
|
185
187
|
"type": "string",
|
|
@@ -69,11 +69,11 @@ export class RewardTableSourceCell {
|
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
70
70
|
static get properties() { return {
|
|
71
71
|
"reward": {
|
|
72
|
-
"type": "
|
|
72
|
+
"type": "any",
|
|
73
73
|
"mutable": false,
|
|
74
74
|
"complexType": {
|
|
75
75
|
"original": "Reward",
|
|
76
|
-
"resolved": "
|
|
76
|
+
"resolved": "any",
|
|
77
77
|
"references": {
|
|
78
78
|
"Reward": {
|
|
79
79
|
"location": "global"
|
|
@@ -85,7 +85,9 @@ export class RewardTableSourceCell {
|
|
|
85
85
|
"docs": {
|
|
86
86
|
"tags": [],
|
|
87
87
|
"text": ""
|
|
88
|
-
}
|
|
88
|
+
},
|
|
89
|
+
"attribute": "reward",
|
|
90
|
+
"reflect": false
|
|
89
91
|
},
|
|
90
92
|
"deletedUserText": {
|
|
91
93
|
"type": "string",
|
|
@@ -201,8 +201,7 @@ export class RewardTableStatusCell {
|
|
|
201
201
|
: rewardStatus === "DENIED"
|
|
202
202
|
? this.deniedText
|
|
203
203
|
: null;
|
|
204
|
-
|
|
205
|
-
const getBadgeCSSClass = (rewardStatus) => {
|
|
204
|
+
const getBadgeCSSClass = (badgeType) => {
|
|
206
205
|
switch (rewardStatus) {
|
|
207
206
|
case "AVAILABLE":
|
|
208
207
|
return sheet.classes.SuccessBadge;
|
|
@@ -264,11 +263,11 @@ export class RewardTableStatusCell {
|
|
|
264
263
|
"reflect": false
|
|
265
264
|
},
|
|
266
265
|
"reward": {
|
|
267
|
-
"type": "
|
|
266
|
+
"type": "any",
|
|
268
267
|
"mutable": false,
|
|
269
268
|
"complexType": {
|
|
270
269
|
"original": "Reward",
|
|
271
|
-
"resolved": "
|
|
270
|
+
"resolved": "any",
|
|
272
271
|
"references": {
|
|
273
272
|
"Reward": {
|
|
274
273
|
"location": "global"
|
|
@@ -280,14 +279,16 @@ export class RewardTableStatusCell {
|
|
|
280
279
|
"docs": {
|
|
281
280
|
"tags": [],
|
|
282
281
|
"text": ""
|
|
283
|
-
}
|
|
282
|
+
},
|
|
283
|
+
"attribute": "reward",
|
|
284
|
+
"reflect": false
|
|
284
285
|
},
|
|
285
286
|
"taxConnection": {
|
|
286
|
-
"type": "
|
|
287
|
+
"type": "any",
|
|
287
288
|
"mutable": false,
|
|
288
289
|
"complexType": {
|
|
289
290
|
"original": "ImpactConnection",
|
|
290
|
-
"resolved": "
|
|
291
|
+
"resolved": "any",
|
|
291
292
|
"references": {
|
|
292
293
|
"ImpactConnection": {
|
|
293
294
|
"location": "global"
|
|
@@ -299,7 +300,9 @@ export class RewardTableStatusCell {
|
|
|
299
300
|
"docs": {
|
|
300
301
|
"tags": [],
|
|
301
302
|
"text": ""
|
|
302
|
-
}
|
|
303
|
+
},
|
|
304
|
+
"attribute": "tax-connection",
|
|
305
|
+
"reflect": false
|
|
303
306
|
},
|
|
304
307
|
"expiryText": {
|
|
305
308
|
"type": "string",
|
package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js
CHANGED
|
@@ -95,7 +95,7 @@ export class RewardTableDateColumn {
|
|
|
95
95
|
static get methods() { return {
|
|
96
96
|
"renderCell": {
|
|
97
97
|
"complexType": {
|
|
98
|
-
"signature": "(data:
|
|
98
|
+
"signature": "(data: any, options?: { locale: string; }) => Promise<any>",
|
|
99
99
|
"parameters": [{
|
|
100
100
|
"tags": [],
|
|
101
101
|
"text": ""
|