@saasquatch/mint-components 1.15.0-46 → 1.15.0-47
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-4c0acb81.js +646 -0
- package/dist/cjs/{ShadowViewAddon-85d2eed4.js → ShadowViewAddon-299060ce.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-efecb6c8.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} +287 -1976
- package/dist/cjs/sqm-big-stat_42.cjs.entry.js +143 -165
- 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-313a3d62.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-e7faaf7b.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 +4 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +12599 -11320
- 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-116d7ec5.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 +2 -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 +4 -3
- 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/ReferralTable.stories.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 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +2 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -3
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -3
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +4 -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 +2 -1
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +2 -1
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +6 -5
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +4 -3
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +4 -3
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +5 -3
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -2
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +3 -3
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +1 -1
- package/dist/collection/components/sqm-stencilbook/Themes.js +140 -162
- 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/stories/PortalTemplates.stories.js +22 -30
- package/dist/collection/utils/parseStates.js +12 -0
- package/dist/esm/IndirectTaxDetailsView-7c8fb28e.js +639 -0
- package/dist/esm/{ShadowViewAddon-d59ef625.js → ShadowViewAddon-fe5ada08.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-28b9c531.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} +211 -1893
- package/dist/esm/sqm-big-stat_42.entry.js +143 -165
- 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-db573324.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-bd3dcf0e.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 +4 -5
- package/dist/esm/sqm-stencilbook.entry.js +12595 -11316
- 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-0dc9e217.js +97 -0
- package/dist/esm-es5/IndirectTaxDetailsView-7c8fb28e.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-fe5ada08.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-28b9c531.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-db573324.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-bd3dcf0e.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-0dc9e217.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-0304f99e.system.js +1 -0
- package/dist/mint-components/{p-7daa731c.system.js → p-06061ea4.system.js} +1 -1
- package/dist/mint-components/p-0797a946.js +1 -0
- package/dist/mint-components/p-13485ce6.entry.js +1 -0
- package/dist/mint-components/p-192c1de0.system.js +1 -0
- package/dist/mint-components/p-1e79befd.entry.js +1 -0
- package/dist/mint-components/p-1eaf3ce4.system.entry.js +1 -0
- package/dist/mint-components/{p-9fcc7901.system.entry.js → p-1ed6da99.system.entry.js} +1 -1
- package/dist/mint-components/p-2378a0dd.entry.js +16 -0
- package/dist/mint-components/{p-0019d57c.entry.js → p-2a056c5e.entry.js} +1 -1
- package/dist/mint-components/p-3206d0a4.js +103 -0
- package/dist/mint-components/p-3fbb70c4.system.entry.js +1 -0
- package/dist/mint-components/{p-e1e96de9.entry.js → p-454b0d9a.entry.js} +19 -19
- package/dist/mint-components/{p-7dac5a58.system.entry.js → p-489acd82.system.entry.js} +1 -1
- package/dist/mint-components/{p-b090bbd2.js → p-4abb01c8.js} +1 -1
- package/dist/mint-components/{p-5125ec72.system.entry.js → p-4c2252a4.system.entry.js} +1 -1
- package/dist/mint-components/p-505977d4.js +1 -0
- package/dist/mint-components/p-5088a459.system.entry.js +1 -0
- package/dist/mint-components/p-661b264a.system.js +1 -0
- package/dist/mint-components/{p-7953c3da.entry.js → p-687b5dcb.entry.js} +1 -1
- package/dist/mint-components/p-6b528b15.entry.js +11 -0
- package/dist/mint-components/{p-73069eba.entry.js → p-7c07d7cd.entry.js} +1 -1
- package/dist/mint-components/p-7dc10820.system.js +1 -0
- package/dist/mint-components/{p-d4e49019.entry.js → p-80ee389c.entry.js} +1 -1
- package/dist/mint-components/p-8c126ccb.system.entry.js +1 -0
- package/dist/mint-components/{p-f2c48bc8.entry.js → p-8f55e46e.entry.js} +1 -1
- package/dist/mint-components/{p-232996b5.system.entry.js → p-907f6cd2.system.entry.js} +1 -1
- package/dist/mint-components/{p-7aba33e1.js → p-9b4c25cb.js} +1 -1
- package/dist/mint-components/p-9df8a483.entry.js +9 -0
- package/dist/mint-components/{p-3466bfaa.js → p-a341ce23.js} +2 -2
- 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-7ae3ec51.system.js → p-aba19648.system.js} +1 -1
- package/dist/mint-components/p-b5ad3804.js +394 -0
- package/dist/mint-components/p-b6d4f014.system.entry.js +1 -0
- package/dist/mint-components/p-b7e6d975.system.entry.js +1 -0
- package/dist/mint-components/{p-fad1752b.system.entry.js → p-c6c10a57.system.entry.js} +1 -1
- package/dist/mint-components/p-cf9ff8bd.system.js +1 -0
- package/dist/mint-components/p-d4c1480f.entry.js +93 -0
- package/dist/mint-components/{p-761ee9ea.entry.js → p-dc9639c9.entry.js} +2 -2
- package/dist/mint-components/{p-4ce7e3b1.entry.js → p-de5f6446.entry.js} +1 -1
- package/dist/mint-components/{p-d49373b7.system.js → p-e05bd4f8.system.js} +1 -1
- 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-e76767f4.js +1 -0
- package/dist/mint-components/{p-28aed7f7.system.entry.js → p-e93bbfed.system.entry.js} +1 -1
- package/dist/mint-components/p-f2ebbbe3.system.entry.js +1 -0
- package/dist/mint-components/{p-cc5f9775.system.entry.js → p-f4f0151b.system.entry.js} +1 -1
- package/dist/mint-components/{p-f3a52eb6.js → p-f67e3d90.js} +1 -1
- package/dist/mint-components/{p-836d3ec7.entry.js → p-fae6223c.entry.js} +2 -2
- package/dist/mint-components/{p-e70d8201.system.entry.js → p-fecc18f3.system.entry.js} +1 -1
- 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-data-column.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-invoice-table/sqm-invoice-table.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/cells/sqm-referral-table-status-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/columns/sqm-referral-table-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.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/cells/sqm-rewards-table-reward-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +3 -2
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +3 -2
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +2 -1
- 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-rewards-table/sqm-rewards-table.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +3 -3
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +5 -4
- 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 +51 -7
- 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-a121e5a1.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/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-efecb6c8.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>"
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
1
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
2
3
|
import { useEffect, useMemo, useReducer } from "@saasquatch/universal-hooks";
|
|
3
4
|
import { Component, h, Prop } from "@stencil/core";
|
|
@@ -5,10 +6,9 @@ import deepmerge from "deepmerge";
|
|
|
5
6
|
import { GenericTableView, } from "../../tables/GenericTableView";
|
|
6
7
|
import { useRequestRerender, useRerenderListener, } from "../../tables/re-render";
|
|
7
8
|
import { useChildElements } from "../../tables/useChildElements";
|
|
8
|
-
import { tryMethod, useInvoiceTable } from "./useInvoiceTable";
|
|
9
9
|
import mockInvoiceData from "./mockInvoiceData";
|
|
10
|
-
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
11
10
|
import { InvoiceTableView } from "./sqm-invoice-table-view";
|
|
11
|
+
import { tryMethod, useInvoiceTable } from "./useInvoiceTable";
|
|
12
12
|
/**
|
|
13
13
|
* @uiName Invoice Table
|
|
14
14
|
* @exampleGroup Invoices
|
|
@@ -332,7 +332,8 @@ export class InvoiceTable {
|
|
|
332
332
|
"path": "../../tables/GenericTableView"
|
|
333
333
|
},
|
|
334
334
|
"Invoice": {
|
|
335
|
-
"location": "
|
|
335
|
+
"location": "import",
|
|
336
|
+
"path": "../../saasquatch"
|
|
336
337
|
}
|
|
337
338
|
}
|
|
338
339
|
},
|
|
@@ -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,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { GenericTableView } from "../../tables/GenericTableView";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Converted as ConvertedStatus, DateCell, Denied as DeniedStatus, InProgress, PendingReview as PendingReviewStatus, Pending as PendingStatus, } from "./ReferralTableCell.stories";
|
|
4
|
+
import { AvailableNoExpiry, Denied, PayoutCancelled, PayoutFailed, PayoutSent, PendingNewTaxForm, PendingNoUnpend, PendingPartnerCreation, PendingReview, PendingTaxReview, PendingTaxSubmission, Redeemed, } from "./ReferralTableRewardsCell.stories";
|
|
5
5
|
import scenario from "./referral-table.feature";
|
|
6
6
|
export default {
|
|
7
7
|
title: "Components/Referral Table",
|
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/columns/sqm-referral-table-date-column.js
CHANGED
|
@@ -128,7 +128,8 @@ export class ReferralTableDateColumn {
|
|
|
128
128
|
"location": "global"
|
|
129
129
|
},
|
|
130
130
|
"Referral": {
|
|
131
|
-
"location": "
|
|
131
|
+
"location": "import",
|
|
132
|
+
"path": "../../../saasquatch"
|
|
132
133
|
}
|
|
133
134
|
},
|
|
134
135
|
"return": "Promise<any>"
|
|
@@ -166,7 +167,8 @@ export class ReferralTableDateColumn {
|
|
|
166
167
|
"location": "global"
|
|
167
168
|
},
|
|
168
169
|
"Referrer": {
|
|
169
|
-
"location": "
|
|
170
|
+
"location": "import",
|
|
171
|
+
"path": "../../../saasquatch"
|
|
170
172
|
}
|
|
171
173
|
},
|
|
172
174
|
"return": "Promise<any>"
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js
CHANGED
|
@@ -306,10 +306,12 @@ export class ReferralTableRewardsColumn {
|
|
|
306
306
|
"location": "global"
|
|
307
307
|
},
|
|
308
308
|
"Referral": {
|
|
309
|
-
"location": "
|
|
309
|
+
"location": "import",
|
|
310
|
+
"path": "../../../saasquatch"
|
|
310
311
|
},
|
|
311
312
|
"ImpactConnection": {
|
|
312
|
-
"location": "
|
|
313
|
+
"location": "import",
|
|
314
|
+
"path": "../../../saasquatch"
|
|
313
315
|
}
|
|
314
316
|
},
|
|
315
317
|
"return": "Promise<any>"
|
|
@@ -347,7 +349,8 @@ export class ReferralTableRewardsColumn {
|
|
|
347
349
|
"location": "global"
|
|
348
350
|
},
|
|
349
351
|
"Referrer": {
|
|
350
|
-
"location": "
|
|
352
|
+
"location": "import",
|
|
353
|
+
"path": "../../../saasquatch"
|
|
351
354
|
}
|
|
352
355
|
},
|
|
353
356
|
"return": "Promise<any>"
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js
CHANGED
|
@@ -243,10 +243,12 @@ export class ReferralTableStatusColumn {
|
|
|
243
243
|
"location": "global"
|
|
244
244
|
},
|
|
245
245
|
"Referral": {
|
|
246
|
-
"location": "
|
|
246
|
+
"location": "import",
|
|
247
|
+
"path": "../../../saasquatch"
|
|
247
248
|
},
|
|
248
249
|
"FraudStatus": {
|
|
249
|
-
"location": "
|
|
250
|
+
"location": "import",
|
|
251
|
+
"path": "../../../saasquatch"
|
|
250
252
|
}
|
|
251
253
|
},
|
|
252
254
|
"return": "Promise<any>"
|
|
@@ -284,7 +286,8 @@ export class ReferralTableStatusColumn {
|
|
|
284
286
|
"location": "global"
|
|
285
287
|
},
|
|
286
288
|
"Referrer": {
|
|
287
|
-
"location": "
|
|
289
|
+
"location": "import",
|
|
290
|
+
"path": "../../../saasquatch"
|
|
288
291
|
}
|
|
289
292
|
},
|
|
290
293
|
"return": "Promise<any>"
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js
CHANGED
|
@@ -153,7 +153,8 @@ export class ReferralTableUserColumn {
|
|
|
153
153
|
"location": "global"
|
|
154
154
|
},
|
|
155
155
|
"Referral": {
|
|
156
|
-
"location": "
|
|
156
|
+
"location": "import",
|
|
157
|
+
"path": "../../../saasquatch"
|
|
157
158
|
}
|
|
158
159
|
},
|
|
159
160
|
"return": "Promise<any>"
|
|
@@ -191,7 +192,8 @@ export class ReferralTableUserColumn {
|
|
|
191
192
|
"location": "global"
|
|
192
193
|
},
|
|
193
194
|
"Referrer": {
|
|
194
|
-
"location": "
|
|
195
|
+
"location": "import",
|
|
196
|
+
"path": "../../../saasquatch"
|
|
195
197
|
}
|
|
196
198
|
},
|
|
197
199
|
"return": "Promise<any>"
|
|
@@ -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",
|
|
@@ -201,9 +201,8 @@ export class RewardTableStatusCell {
|
|
|
201
201
|
: rewardStatus === "DENIED"
|
|
202
202
|
? this.deniedText
|
|
203
203
|
: null;
|
|
204
|
-
//
|
|
205
|
-
const getBadgeCSSClass = (
|
|
206
|
-
// const getBadgeCSSClass = (badgeType: ShoeLaceBadgeType): string => {
|
|
204
|
+
// @ts-ignore
|
|
205
|
+
const getBadgeCSSClass = (badgeType) => {
|
|
207
206
|
switch (rewardStatus) {
|
|
208
207
|
case "AVAILABLE":
|
|
209
208
|
return sheet.classes.SuccessBadge;
|
|
@@ -272,7 +271,8 @@ export class RewardTableStatusCell {
|
|
|
272
271
|
"resolved": "Reward",
|
|
273
272
|
"references": {
|
|
274
273
|
"Reward": {
|
|
275
|
-
"location": "
|
|
274
|
+
"location": "import",
|
|
275
|
+
"path": "../../../saasquatch"
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
},
|
|
@@ -291,7 +291,8 @@ export class RewardTableStatusCell {
|
|
|
291
291
|
"resolved": "ImpactConnection",
|
|
292
292
|
"references": {
|
|
293
293
|
"ImpactConnection": {
|
|
294
|
-
"location": "
|
|
294
|
+
"location": "import",
|
|
295
|
+
"path": "../../../saasquatch"
|
|
295
296
|
}
|
|
296
297
|
}
|
|
297
298
|
},
|
package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useRequestRerender } from "../../../tables/re-render";
|
|
|
5
5
|
* @uiName Reward Table Date Column
|
|
6
6
|
* @validParents ["sqm-rewards-table"]
|
|
7
7
|
* @exampleGroup Rewards
|
|
8
|
-
* @example Date Column - <sqm-rewards-table-date-column column-title="Date received" date-shown="dateGiven"></sqm-rewards-table-date-column>
|
|
8
|
+
* @example Reward Table Date Column - <sqm-rewards-table-date-column column-title="Date received" date-shown="dateGiven"></sqm-rewards-table-date-column>
|
|
9
9
|
*/
|
|
10
10
|
export class RewardTableDateColumn {
|
|
11
11
|
constructor() {
|
|
@@ -108,7 +108,8 @@ export class RewardTableDateColumn {
|
|
|
108
108
|
"location": "global"
|
|
109
109
|
},
|
|
110
110
|
"Reward": {
|
|
111
|
-
"location": "
|
|
111
|
+
"location": "import",
|
|
112
|
+
"path": "../../../saasquatch"
|
|
112
113
|
}
|
|
113
114
|
},
|
|
114
115
|
"return": "Promise<any>"
|