@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
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
import { h, r as registerInstance } from './index-b3a06de8.js';
|
|
2
|
+
import { l, k as useState, f as useEffect, n as h$1 } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
+
import { i as intl } from './global-28b9c531.js';
|
|
4
|
+
import { d as dist, t as Pn, F as Fn, i as isDemo, q as En } from './index.module-d49ae5e7.js';
|
|
5
|
+
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
7
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
+
import { E as ErrorStyles } from './mixins-f750863a.js';
|
|
9
|
+
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
10
|
+
import { V as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
|
|
11
|
+
import { u as useVerificationEmail } from './useVerificationEmail-085eda87.js';
|
|
12
|
+
|
|
13
|
+
const style = {
|
|
14
|
+
Wrapper: {
|
|
15
|
+
display: "flex",
|
|
16
|
+
flexDirection: "column",
|
|
17
|
+
gap: "var(--sl-spacing-medium)",
|
|
18
|
+
maxWidth: "550px",
|
|
19
|
+
},
|
|
20
|
+
HeaderContainer: {
|
|
21
|
+
display: "flex",
|
|
22
|
+
flexDirection: "column",
|
|
23
|
+
},
|
|
24
|
+
InputsContainer: {
|
|
25
|
+
display: "flex",
|
|
26
|
+
gap: "var(--sl-spacing-medium)",
|
|
27
|
+
position: "relative",
|
|
28
|
+
flexDirection: "column",
|
|
29
|
+
},
|
|
30
|
+
CodeInputContainer: {
|
|
31
|
+
display: "flex",
|
|
32
|
+
gap: "var(--sl-spacing-medium)",
|
|
33
|
+
},
|
|
34
|
+
CodeInput: {
|
|
35
|
+
maxWidth: "40px",
|
|
36
|
+
"&::part(input)": {
|
|
37
|
+
margin: "0",
|
|
38
|
+
padding: "0 var(--sl-input-spacing-small)",
|
|
39
|
+
fontSize: "var(--sl-font-size-large)",
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
CodeInputError: {
|
|
43
|
+
...ErrorStyles,
|
|
44
|
+
maxWidth: "40px",
|
|
45
|
+
"&::part(input)": {
|
|
46
|
+
margin: "0",
|
|
47
|
+
padding: "0 var(--sl-input-spacing-small)",
|
|
48
|
+
fontSize: "var(--sl-font-size-large)",
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
ErrorText: {
|
|
52
|
+
color: "var(--sl-color-danger-500)",
|
|
53
|
+
fontSize: "var(--sl-font-size-small)",
|
|
54
|
+
margin: "0",
|
|
55
|
+
},
|
|
56
|
+
ContinueButton: {
|
|
57
|
+
width: "100%",
|
|
58
|
+
maxWidth: "100px",
|
|
59
|
+
},
|
|
60
|
+
FooterContainer: {
|
|
61
|
+
display: "flex",
|
|
62
|
+
flexDirection: "column",
|
|
63
|
+
},
|
|
64
|
+
SkeletonOne: {
|
|
65
|
+
width: "50%",
|
|
66
|
+
height: "16px",
|
|
67
|
+
},
|
|
68
|
+
SkeletonTwo: {
|
|
69
|
+
width: "30%",
|
|
70
|
+
height: "34px",
|
|
71
|
+
},
|
|
72
|
+
SkeletonThree: {
|
|
73
|
+
width: "15%",
|
|
74
|
+
height: "24px",
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
const vanillaStyle = `
|
|
78
|
+
:host {
|
|
79
|
+
display: block;
|
|
80
|
+
}
|
|
81
|
+
:host([hidden]): {
|
|
82
|
+
display: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
`;
|
|
87
|
+
const sheet = createStyleSheet(style);
|
|
88
|
+
const styleString = sheet.toString();
|
|
89
|
+
function WidgetCodeVerificationView(props) {
|
|
90
|
+
const { states, refs, callbacks, text } = props;
|
|
91
|
+
const resendCodeText = intl.formatMessage({
|
|
92
|
+
id: "resendCodeText",
|
|
93
|
+
defaultMessage: text.resendCodeText,
|
|
94
|
+
}, {
|
|
95
|
+
resendCodeLink: (h("a", { href: "", style: { textDecoration: "none" }, onClick: (e) => {
|
|
96
|
+
e.preventDefault();
|
|
97
|
+
callbacks.resendEmail();
|
|
98
|
+
} }, text.resendCodeLabel)),
|
|
99
|
+
});
|
|
100
|
+
const codeResentSuccessfully = intl.formatMessage({
|
|
101
|
+
id: "codeResentSuccessfully",
|
|
102
|
+
defaultMessage: text.codeResentSuccessfullyText,
|
|
103
|
+
}, {
|
|
104
|
+
email: states.email,
|
|
105
|
+
});
|
|
106
|
+
const inputClass = states.verifyFailed
|
|
107
|
+
? sheet.classes.CodeInputError
|
|
108
|
+
: sheet.classes.CodeInput;
|
|
109
|
+
return (h("div", { part: "sqm-base" },
|
|
110
|
+
h("style", { type: "text/css" },
|
|
111
|
+
vanillaStyle,
|
|
112
|
+
styleString),
|
|
113
|
+
h("div", { class: sheet.classes.Wrapper },
|
|
114
|
+
h("div", { class: sheet.classes.HeaderContainer },
|
|
115
|
+
h(TextSpanView, { type: "p" }, intl.formatMessage({
|
|
116
|
+
id: `emailHeaderText`,
|
|
117
|
+
defaultMessage: states.verifyFailed
|
|
118
|
+
? text.reverifyCodeHeaderText
|
|
119
|
+
: text.verifyCodeHeaderText,
|
|
120
|
+
}, { email: states.email }))),
|
|
121
|
+
states.emailResent && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
122
|
+
h("b", null, codeResentSuccessfully))),
|
|
123
|
+
h("div", { class: sheet.classes.InputsContainer },
|
|
124
|
+
h("div", { ref: refs.codeWrapperRef, class: sheet.classes.CodeInputContainer },
|
|
125
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
126
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
127
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
128
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
129
|
+
h("sl-input", { class: inputClass, name: "code" }),
|
|
130
|
+
h("sl-input", { class: inputClass, name: "code" })),
|
|
131
|
+
states.verifyFailed && (h("p", { class: sheet.classes.ErrorText }, text.invalidCodeText)),
|
|
132
|
+
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.submitCode, disabled: states.loading || states.initialiseLoading, loading: states.loading || states.initialiseLoading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)),
|
|
133
|
+
h("div", { class: sheet.classes.FooterContainer },
|
|
134
|
+
h(TextSpanView, { type: "p" }, resendCodeText)))));
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
const VerifyEmailWithCodeMutation = dist.gql `
|
|
138
|
+
mutation submitImpactPublisherEmail2FACode(
|
|
139
|
+
$user: UserIdInput!
|
|
140
|
+
$code: String!
|
|
141
|
+
) {
|
|
142
|
+
submitImpactPublisherEmail2FACode(user: $user, code: $code) {
|
|
143
|
+
verifiedEmail
|
|
144
|
+
accessKey
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
`;
|
|
148
|
+
function useWidgetCodeVerification(props) {
|
|
149
|
+
const host = l();
|
|
150
|
+
const [_, setShowCode] = Pn(SHOW_CODE_NAMESPACE);
|
|
151
|
+
const email = Fn(VERIFICATION_EMAIL_NAMESPACE);
|
|
152
|
+
const [emailSent, setEmailSent] = useState(false);
|
|
153
|
+
const [emailResent, setEmailResent] = useState(false);
|
|
154
|
+
const [codeRef, setCodeRef] = useState(null);
|
|
155
|
+
const [validationError, setValidationError] = useState(false);
|
|
156
|
+
const [emailError, setEmailError] = useState(false);
|
|
157
|
+
const { initialized, verificationEmail, send: [sendEmail, { loading: sendLoading, errors: sendErrors }], verify: [verifyEmail, { loading: verifyLoading, errors: verifyErrors }], } = useVerificationEmail();
|
|
158
|
+
useEffect(() => {
|
|
159
|
+
if (!codeRef)
|
|
160
|
+
return;
|
|
161
|
+
const slInputs = codeRef.querySelectorAll("sl-input");
|
|
162
|
+
const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
|
|
163
|
+
codeElements.forEach((element, idx) => {
|
|
164
|
+
element.addEventListener("focus", (e) => {
|
|
165
|
+
e.target.select();
|
|
166
|
+
});
|
|
167
|
+
element.addEventListener("keydown", (e) => {
|
|
168
|
+
if (e.key === "Backspace" && e.target.value === "") {
|
|
169
|
+
codeElements[Math.max(0, idx - 1)].focus();
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
element.addEventListener("input", (e) => {
|
|
173
|
+
const input = e.data;
|
|
174
|
+
if (!input)
|
|
175
|
+
return;
|
|
176
|
+
if (idx === codeElements.length - 1) {
|
|
177
|
+
e.target.value = input.slice(0, 1);
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
if (input.length > 1) {
|
|
181
|
+
const rest = input.slice(1);
|
|
182
|
+
e.target.value = input.slice(0, 1);
|
|
183
|
+
codeElements[idx + 1].dispatchEvent(new InputEvent("input", {
|
|
184
|
+
inputType: "insertFromPaste",
|
|
185
|
+
data: rest,
|
|
186
|
+
}));
|
|
187
|
+
}
|
|
188
|
+
codeElements[idx + 1].focus();
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
}, [codeRef]);
|
|
192
|
+
const reset = () => {
|
|
193
|
+
setShowCode(false);
|
|
194
|
+
setValidationError(false);
|
|
195
|
+
};
|
|
196
|
+
const resendEmail = async () => {
|
|
197
|
+
// UI should only allow this to be called if initialized, but checking just in case
|
|
198
|
+
if (!initialized)
|
|
199
|
+
return;
|
|
200
|
+
const result = await sendEmail();
|
|
201
|
+
if (!result) {
|
|
202
|
+
setEmailError(true);
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
if (emailSent)
|
|
206
|
+
setEmailResent(true);
|
|
207
|
+
setEmailSent(true);
|
|
208
|
+
};
|
|
209
|
+
const submitCode = async () => {
|
|
210
|
+
const slInputs = codeRef.querySelectorAll("sl-input");
|
|
211
|
+
const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
|
|
212
|
+
if (codeElements.find((el) => !el.value)) {
|
|
213
|
+
setValidationError(true);
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
let code = "";
|
|
217
|
+
codeElements.forEach((element) => {
|
|
218
|
+
code = `${code}${element.value}`;
|
|
219
|
+
});
|
|
220
|
+
// UI should only allow this to be called if initialized, but checking just in case
|
|
221
|
+
if (!initialized)
|
|
222
|
+
return;
|
|
223
|
+
setValidationError(false);
|
|
224
|
+
const res = await verifyEmail(code);
|
|
225
|
+
if (res === null || res === void 0 ? void 0 : res.success) {
|
|
226
|
+
props.onVerification(res.accessKey);
|
|
227
|
+
reset();
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
setValidationError(true);
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
useEffect(() => {
|
|
234
|
+
// Wait for mutations to be determined from user lookup
|
|
235
|
+
if (!initialized)
|
|
236
|
+
return;
|
|
237
|
+
// email should already exist if user has completed email-verification
|
|
238
|
+
if (!email)
|
|
239
|
+
resendEmail();
|
|
240
|
+
else
|
|
241
|
+
setEmailSent(true);
|
|
242
|
+
}, [initialized]);
|
|
243
|
+
return {
|
|
244
|
+
refs: {
|
|
245
|
+
codeWrapperRef: setCodeRef,
|
|
246
|
+
},
|
|
247
|
+
states: {
|
|
248
|
+
email: verificationEmail,
|
|
249
|
+
emailResent,
|
|
250
|
+
resendError: sendErrors || verifyErrors,
|
|
251
|
+
initialiseLoading: !initialized,
|
|
252
|
+
loading: sendLoading || verifyLoading,
|
|
253
|
+
verifyFailed: !!validationError,
|
|
254
|
+
},
|
|
255
|
+
callbacks: {
|
|
256
|
+
resendEmail,
|
|
257
|
+
submitCode,
|
|
258
|
+
},
|
|
259
|
+
text: props.getTextProps(),
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
const WidgetCodeVerification = class {
|
|
264
|
+
constructor(hostRef) {
|
|
265
|
+
registerInstance(this, hostRef);
|
|
266
|
+
/**
|
|
267
|
+
* @uiName Verify code widget header text
|
|
268
|
+
*/
|
|
269
|
+
this.verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
270
|
+
/**
|
|
271
|
+
* @uiName Reverify code widget header text
|
|
272
|
+
*/
|
|
273
|
+
this.reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
274
|
+
/**
|
|
275
|
+
* Text displayed under verify button
|
|
276
|
+
* @uiName Resend code text
|
|
277
|
+
*/
|
|
278
|
+
this.resendCodeText = "Didn't receive your code? {resendCodeLink}";
|
|
279
|
+
/**
|
|
280
|
+
* The link that appears in the resend code link
|
|
281
|
+
* @uiName Resend code label
|
|
282
|
+
*/
|
|
283
|
+
this.resendCodeLabel = "Resend code";
|
|
284
|
+
/**
|
|
285
|
+
* Link text displayed under verify button
|
|
286
|
+
* @uiName Resend code text
|
|
287
|
+
*/
|
|
288
|
+
this.codeResentSuccessfullyText = "Another code has been sent to {email}";
|
|
289
|
+
/**
|
|
290
|
+
* Error text displayed under verification input
|
|
291
|
+
* @uiName Invalid code text
|
|
292
|
+
*/
|
|
293
|
+
this.invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
|
|
294
|
+
/**
|
|
295
|
+
* @uiName Verify code button text
|
|
296
|
+
*/
|
|
297
|
+
this.verifyText = "Verify";
|
|
298
|
+
/**
|
|
299
|
+
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
|
|
300
|
+
* @uiName Network error message
|
|
301
|
+
*/
|
|
302
|
+
this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
303
|
+
h$1(this);
|
|
304
|
+
}
|
|
305
|
+
disconnectedCallback() { }
|
|
306
|
+
getTextProps() {
|
|
307
|
+
return getProps(this);
|
|
308
|
+
}
|
|
309
|
+
render() {
|
|
310
|
+
const props = isDemo()
|
|
311
|
+
? useDemoWidgetCodeVerification(this)
|
|
312
|
+
: useWidgetCodeVerification(this);
|
|
313
|
+
return h(WidgetCodeVerificationView, Object.assign({}, props));
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
function useDemoWidgetCodeVerification(props) {
|
|
317
|
+
const [emailResent, setEmailResent] = useState(false);
|
|
318
|
+
const setVerifiedContext = En(VERIFICATION_PARENT_NAMESPACE);
|
|
319
|
+
return cjs({
|
|
320
|
+
states: {
|
|
321
|
+
initialiseLoading: false,
|
|
322
|
+
loading: false,
|
|
323
|
+
email: "test@example.com",
|
|
324
|
+
emailResent,
|
|
325
|
+
verifyFailed: false,
|
|
326
|
+
},
|
|
327
|
+
refs: {
|
|
328
|
+
codeWrapperRef: () => { },
|
|
329
|
+
},
|
|
330
|
+
callbacks: {
|
|
331
|
+
resendEmail: async () => setEmailResent(true),
|
|
332
|
+
submitCode: async () => setVerifiedContext(true),
|
|
333
|
+
},
|
|
334
|
+
text: props.getTextProps(),
|
|
335
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export { WidgetCodeVerification as sqm_code_verification };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-b3a06de8.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h$1 } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-28b9c531.js';
|
|
4
4
|
import { d as dist, t as Pn, w as wn, J, $ as $e, i as isDemo, q as En } from './index.module-d49ae5e7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-b3a06de8.js';
|
|
2
2
|
import { n as h$1 } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-28b9c531.js';
|
|
4
4
|
import './index.module-d49ae5e7.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { r as registerInstance, h as h$1, c as Host } from './index-b3a06de8.js';
|
|
2
|
+
import { n as h } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
+
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
4
|
+
import { l as luxon } from './luxon-793b7f13.js';
|
|
5
|
+
|
|
6
|
+
const InvoiceTableDataCell = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.ignored = true;
|
|
10
|
+
h(this);
|
|
11
|
+
}
|
|
12
|
+
disconnectedCallback() { }
|
|
13
|
+
render() {
|
|
14
|
+
return this.data;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const RewardTableDateCell = class {
|
|
19
|
+
constructor(hostRef) {
|
|
20
|
+
registerInstance(this, hostRef);
|
|
21
|
+
this.ignored = true;
|
|
22
|
+
this.locale = "en";
|
|
23
|
+
h(this);
|
|
24
|
+
}
|
|
25
|
+
disconnectedCallback() { }
|
|
26
|
+
render() {
|
|
27
|
+
var _a, _b;
|
|
28
|
+
const date = !this.date
|
|
29
|
+
? "-"
|
|
30
|
+
: (_b = (_a = luxon.DateTime.fromMillis(this.date)) === null || _a === void 0 ? void 0 : _a.setLocale(luxonLocale(this.locale))) === null || _b === void 0 ? void 0 : _b.toLocaleString(luxon.DateTime.DATE_MED);
|
|
31
|
+
return date;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const InvoiceTableDownloadCell = class {
|
|
36
|
+
constructor(hostRef) {
|
|
37
|
+
registerInstance(this, hostRef);
|
|
38
|
+
this.ignored = true;
|
|
39
|
+
h(this);
|
|
40
|
+
}
|
|
41
|
+
disconnectedCallback() { }
|
|
42
|
+
render() {
|
|
43
|
+
const vanillaStyle = `svg:hover, svg:hover * {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
}`;
|
|
46
|
+
return (h$1(Host, null, h$1("style", null, vanillaStyle), !!this.downloadUrl && (h$1("a", { href: this.downloadUrl, target: "_blank" }, h$1("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h$1("path", { d: "M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z", fill: "var(--sqm-text-subdued)" }), h$1("path", { d: "M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z", fill: "var(--sqm-text-subdued)" }))))));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
const TableCell = class {
|
|
51
|
+
constructor(hostRef) {
|
|
52
|
+
registerInstance(this, hostRef);
|
|
53
|
+
/** @uiName Column span */
|
|
54
|
+
this.colspan = 1;
|
|
55
|
+
/** @uiName Padding */
|
|
56
|
+
this.padding = "15px 10px";
|
|
57
|
+
}
|
|
58
|
+
render() {
|
|
59
|
+
return (h$1(Host, { style: { display: "contents" } }, h$1("td", { colSpan: this.colspan, style: { padding: this.padding } }, h$1("slot", null))));
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
const TableRow = class {
|
|
64
|
+
constructor(hostRef) {
|
|
65
|
+
registerInstance(this, hostRef);
|
|
66
|
+
/**
|
|
67
|
+
* @uiName Border
|
|
68
|
+
*/
|
|
69
|
+
this.border = "1px solid #EAEAEA";
|
|
70
|
+
}
|
|
71
|
+
render() {
|
|
72
|
+
return (h$1(Host, { style: { display: "contents" } }, h$1("tr", { style: { border: this.border } }, h$1("slot", null))));
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export { InvoiceTableDataCell as sqm_invoice_table_data_cell, RewardTableDateCell as sqm_invoice_table_date_cell, InvoiceTableDownloadCell as sqm_invoice_table_download_cell, TableCell as sqm_table_cell, TableRow as sqm_table_row };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-28b9c531.js';
|
|
4
4
|
import { d as dist, H, J, w as wn, i as isDemo } from './index.module-d49ae5e7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-18baae5b.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance } from './index-b3a06de8.js';
|
|
2
2
|
import { n as h$1, k as useState } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-28b9c531.js';
|
|
4
4
|
import { F as Fn, i as isDemo, d as dist, H, J, w as wn, $ as $e, B } from './index.module-d49ae5e7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-28b9c531.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f750863a.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
2
|
import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-28b9c531.js';
|
|
4
4
|
import { l as ln, n as nn, J, j as jn, u as useCallback, i as isDemo } from './index.module-d49ae5e7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
8
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
9
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
9
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-db573324.js';
|
|
10
10
|
|
|
11
11
|
function usePortalEmailVerification(props) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
package/dist/esm/{sqm-portal-profile-view-e594d1ee.js → sqm-portal-profile-view-bd3dcf0e.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-28b9c531.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
5
5
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-28b9c531.js';
|
|
4
4
|
import { d as dist, J, w as wn, $ as $e, i as isDemo } from './index.module-d49ae5e7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
9
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
9
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-bd3dcf0e.js';
|
|
10
10
|
import { i as isEmpty } from './utilities-6341d9fd.js';
|
|
11
11
|
|
|
12
12
|
const GET_USER = dist.gql `
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-b3a06de8.js';
|
|
2
2
|
import { n as h, j as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-28b9c531.js';
|
|
4
4
|
import { i as isDemo } from './index.module-d49ae5e7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-b3a06de8.js';
|
|
2
2
|
import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-20ad2b5f.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-28b9c531.js';
|
|
4
4
|
import { d as dist, J, H, L, w as wn, R as Rn, i as isDemo } from './index.module-d49ae5e7.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
@@ -979,9 +979,8 @@ const RewardTableStatusCell = class {
|
|
|
979
979
|
: rewardStatus === "DENIED"
|
|
980
980
|
? this.deniedText
|
|
981
981
|
: null;
|
|
982
|
-
//
|
|
983
|
-
const getBadgeCSSClass = (
|
|
984
|
-
// const getBadgeCSSClass = (badgeType: ShoeLaceBadgeType): string => {
|
|
982
|
+
// @ts-ignore
|
|
983
|
+
const getBadgeCSSClass = (badgeType) => {
|
|
985
984
|
switch (rewardStatus) {
|
|
986
985
|
case "AVAILABLE":
|
|
987
986
|
return sheet$1.classes.SuccessBadge;
|
|
@@ -995,7 +994,7 @@ const RewardTableStatusCell = class {
|
|
|
995
994
|
return sheet$1.classes.DangerBadge;
|
|
996
995
|
}
|
|
997
996
|
};
|
|
998
|
-
const badgeCSSClass = getBadgeCSSClass(
|
|
997
|
+
const badgeCSSClass = getBadgeCSSClass();
|
|
999
998
|
return (h("div", { style: { display: "contents" } }, h("style", { type: "text/css" }, styleString$1), h("sl-badge", { type: badgeType, pill: true, class: badgeCSSClass }, statusText), h("p", { class: sheet$1.classes.Date }, fraudStatusText ||
|
|
1000
999
|
pendingReasons ||
|
|
1001
1000
|
this.getPayoutStatusText(rewardStatus) ||
|