@saasquatch/mint-components 1.15.0-49 → 1.15.0-50
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-e379406f.js → IndirectTaxDetailsView-6e117dd3.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-3558387a.js → ShadowViewAddon-e1bcffe2.js} +81 -58
- package/dist/cjs/{global-4a3008b4.js → global-6d0d196d.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{mockRewardData-6e4a90f9.js → mockRewardData-baa02051.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +124 -6
- package/dist/cjs/sqm-big-stat_42.cjs.entry.js +9 -6
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -8
- 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-container-view-70eaf785.js → sqm-portal-container-view-07e4343f.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-9ba1a75d.js → sqm-portal-email-verification-view-14ea3a91.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-c4c80164.js → sqm-portal-profile-view-570d2ae3.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +62 -32
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +38 -3
- package/dist/cjs/{utils-1b04e1c8.js → utils-0b09e2cb.js} +1 -1
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -8
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +1 -1
- package/dist/collection/components/sqm-referral-table/mockReferralData.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +31 -5
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +38 -41
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +1 -2
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +2 -2
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +1 -1
- package/dist/collection/components/sqm-rewards-table/mockRewardData.js +1 -1
- package/dist/collection/components/sqm-stencilbook/Themes.js +4 -0
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +16 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +36 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +106 -3
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +7 -0
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +38 -0
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +79 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +4 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +206 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
- package/dist/collection/global/styles.js +1 -1
- package/dist/collection/global/styles.ts +1 -1
- package/dist/esm/{IndirectTaxDetailsView-1600022e.js → IndirectTaxDetailsView-2eff2cc8.js} +2 -2
- package/dist/esm/{ShadowViewAddon-8af65b53.js → ShadowViewAddon-dc890af9.js} +81 -58
- package/dist/esm/{global-9c1112d1.js → global-64286824.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{mockRewardData-bdc54f2e.js → mockRewardData-3d8fe7b0.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +124 -6
- package/dist/esm/sqm-big-stat_42.entry.js +9 -6
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +2 -8
- 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-container-view-f0b1ccfc.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-10d41c81.js → sqm-portal-email-verification-view-86d50913.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-7709257a.js → sqm-portal-profile-view-c2b82f77.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +3 -3
- package/dist/esm/sqm-stencilbook.entry.js +62 -32
- package/dist/esm/sqm-tax-and-cash.entry.js +38 -3
- package/dist/esm/{utils-1d251439.js → utils-517e9b20.js} +1 -1
- package/dist/esm-es5/{IndirectTaxDetailsView-1600022e.js → IndirectTaxDetailsView-2eff2cc8.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-8af65b53.js → ShadowViewAddon-dc890af9.js} +1 -1
- package/dist/esm-es5/{global-9c1112d1.js → global-64286824.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- 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-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-f0b1ccfc.js → sqm-portal-container-view-176e92e3.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-10d41c81.js → sqm-portal-email-verification-view-86d50913.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-7709257a.js → sqm-portal-profile-view-c2b82f77.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 -1
- package/dist/esm-es5/{utils-1d251439.js → utils-517e9b20.js} +1 -1
- package/dist/mint-components/global/styles.ts +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-01082bad.js → p-01c508cc.js} +1 -1
- package/dist/mint-components/{p-a5177c16.system.entry.js → p-08cf4237.system.entry.js} +1 -1
- package/dist/mint-components/{p-1c8e7298.entry.js → p-106e808d.entry.js} +1 -1
- package/dist/mint-components/{p-76bfc42f.entry.js → p-191c1dbf.entry.js} +1 -1
- package/dist/mint-components/{p-ec6ec018.entry.js → p-1fb297f9.entry.js} +5 -5
- package/dist/mint-components/{p-9c954c08.entry.js → p-305cbc9b.entry.js} +1 -1
- package/dist/mint-components/{p-2f46db5e.system.entry.js → p-3ca0adb2.system.entry.js} +1 -1
- package/dist/mint-components/{p-314ad8e8.entry.js → p-3f35ded4.entry.js} +1 -1
- package/dist/mint-components/p-4904d54f.system.js +1 -0
- package/dist/mint-components/{p-68e6e362.js → p-50ee4d5e.js} +1 -1
- package/dist/mint-components/p-51810653.system.entry.js +1 -0
- package/dist/mint-components/{p-53c69c51.system.js → p-5856f946.system.js} +1 -1
- package/dist/mint-components/{p-e94a37bc.system.entry.js → p-59270c5f.system.entry.js} +1 -1
- package/dist/mint-components/{p-cf616a3d.system.entry.js → p-5a44e1d2.system.entry.js} +1 -1
- package/dist/mint-components/{p-aea6d974.system.js → p-5c362093.system.js} +1 -1
- package/dist/mint-components/p-620e625b.system.entry.js +1 -0
- package/dist/mint-components/{p-26fe5b91.entry.js → p-6491939b.entry.js} +11 -11
- package/dist/mint-components/{p-b34966f6.system.js → p-71bc7f52.system.js} +1 -1
- package/dist/mint-components/{p-5737a72e.system.entry.js → p-73a761b4.system.entry.js} +1 -1
- package/dist/mint-components/p-79a50a65.entry.js +1 -0
- package/dist/mint-components/p-7e0c12e3.entry.js +1 -0
- package/dist/mint-components/p-9199ab6d.system.entry.js +1 -0
- package/dist/mint-components/{p-572ec8d4.js → p-9580aac3.js} +1 -1
- package/dist/mint-components/{p-afe1ea2d.system.entry.js → p-9697bb3f.system.entry.js} +1 -1
- package/dist/mint-components/p-9b52645f.entry.js +9 -0
- package/dist/mint-components/{p-07bcefdc.js → p-9b7745db.js} +4 -4
- package/dist/mint-components/{p-f063930a.entry.js → p-9c73e84d.entry.js} +2 -2
- package/dist/mint-components/{p-07ad62e8.system.entry.js → p-a2e377aa.system.entry.js} +1 -1
- package/dist/mint-components/p-a6f4fb03.system.js +1 -0
- package/dist/mint-components/{p-880bbd84.system.js → p-aadb1a8a.system.js} +1 -1
- package/dist/mint-components/{p-11d52524.js → p-b12bd1e1.js} +1 -1
- package/dist/mint-components/{p-6964a69b.system.js → p-b3f6377c.system.js} +1 -1
- package/dist/mint-components/{p-9c298d88.entry.js → p-bcee8002.entry.js} +1 -1
- package/dist/mint-components/{p-16034601.entry.js → p-c2b880ef.entry.js} +1 -1
- package/dist/mint-components/p-cbc93735.system.entry.js +1 -0
- package/dist/mint-components/p-d5b01068.system.entry.js +1 -0
- package/dist/mint-components/{p-208b3b3d.js → p-dbf52a1f.js} +1 -1
- package/dist/mint-components/{p-8314626a.js → p-e078e746.js} +1 -1
- package/dist/mint-components/{p-9aa2c2fe.entry.js → p-e59eba75.entry.js} +1 -1
- package/dist/mint-components/{p-4e2e901f.system.entry.js → p-edfa670f.system.entry.js} +1 -1
- package/dist/mint-components/{p-972b9791.system.js → p-f03bd6ad.system.js} +1 -1
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +457 -437
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
- package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +16 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +6 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +35 -0
- package/dist/types/components.d.ts +126 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-0592dc0b.system.js +0 -1
- package/dist/mint-components/p-114fcd0e.entry.js +0 -1
- package/dist/mint-components/p-1f7a26e2.entry.js +0 -9
- package/dist/mint-components/p-5b1ae2f4.system.entry.js +0 -1
- package/dist/mint-components/p-67d1a31e.entry.js +0 -1
- package/dist/mint-components/p-802762ab.system.js +0 -1
- package/dist/mint-components/p-8f33e814.system.entry.js +0 -1
- package/dist/mint-components/p-ba2c9746.system.entry.js +0 -1
- package/dist/mint-components/p-d2df58a5.system.entry.js +0 -1
- package/dist/mint-components/p-e3a9496d.system.entry.js +0 -1
- /package/dist/esm-es5/{mockRewardData-bdc54f2e.js → mockRewardData-3d8fe7b0.js} +0 -0
- /package/dist/mint-components/{p-6cff599f.system.js → p-9841c478.system.js} +0 -0
- /package/dist/mint-components/{p-4254a9b6.js → p-a11426b2.js} +0 -0
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-6d0d196d.js');
|
|
8
8
|
const index_module = require('./index.module-39955732.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -16,8 +16,8 @@ const reRender = require('./re-render-28fed959.js');
|
|
|
16
16
|
const useChildElements = require('./useChildElements-e5fa605c.js');
|
|
17
17
|
const luxon = require('./luxon-3b809948.js');
|
|
18
18
|
const useReferralTable = require('./useReferralTable-19e7523a.js');
|
|
19
|
-
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-
|
|
20
|
-
const utils$1 = require('./utils-
|
|
19
|
+
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-6e117dd3.js');
|
|
20
|
+
const utils$1 = require('./utils-0b09e2cb.js');
|
|
21
21
|
const data = require('./data-68a42a7b.js');
|
|
22
22
|
const keys = require('./keys-cff24974.js');
|
|
23
23
|
const usePayoutStatus = require('./usePayoutStatus-3cca69e5.js');
|
|
@@ -27,7 +27,7 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
|
|
|
27
27
|
const { errors, ...formState } = props.states.formState;
|
|
28
28
|
return {
|
|
29
29
|
0: {
|
|
30
|
-
input: (index.h("sl-input", Object.assign({ required: true, label: props.text.beneficiaryAccountNameLabel, name: "/beneficiaryAccountName", id: "beneficiaryAccountName", key: "beneficiaryAccountName", type: "text" }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.beneficiaryAccountName) && {
|
|
30
|
+
input: (index.h("sl-input", Object.assign({ required: true, label: props.text.beneficiaryAccountNameLabel, name: "/beneficiaryAccountName", id: "beneficiaryAccountName", key: "beneficiaryAccountName", type: "text", "help-text": props.text.beneficiaryAccountNameDescription }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.beneficiaryAccountName) && {
|
|
31
31
|
class: "error-input",
|
|
32
32
|
helpText: getValidationErrorMessage({
|
|
33
33
|
type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.beneficiaryAccountName) === null || _c === void 0 ? void 0 : _c.type,
|
|
@@ -529,6 +529,11 @@ const mockPaymentOptions = {
|
|
|
529
529
|
};
|
|
530
530
|
|
|
531
531
|
const style = {
|
|
532
|
+
ModalTitleContainer: {
|
|
533
|
+
display: "flex",
|
|
534
|
+
gap: "var(--sl-spacing-small)",
|
|
535
|
+
alignItems: "center",
|
|
536
|
+
},
|
|
532
537
|
FormWrapper: {
|
|
533
538
|
display: "flex",
|
|
534
539
|
justifyContent: "flex-start",
|
|
@@ -651,6 +656,28 @@ const style = {
|
|
|
651
656
|
height: "26px",
|
|
652
657
|
width: "26px",
|
|
653
658
|
},
|
|
659
|
+
Dialog: {
|
|
660
|
+
"&::part(panel)": {
|
|
661
|
+
maxWidth: "420px",
|
|
662
|
+
},
|
|
663
|
+
"&::part(title)": {
|
|
664
|
+
fontSize: "var(--sl-font-size-large)",
|
|
665
|
+
fontWeight: "600",
|
|
666
|
+
},
|
|
667
|
+
"&::part(body)": {
|
|
668
|
+
padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
|
|
669
|
+
fontSize: "var(--sl-font-size-small)",
|
|
670
|
+
},
|
|
671
|
+
"&::part(footer)": {
|
|
672
|
+
display: "flex",
|
|
673
|
+
flexDirection: "column",
|
|
674
|
+
gap: "var(--sl-spacing-small)",
|
|
675
|
+
marginBottom: "var(--sl-spacing-xx-small)",
|
|
676
|
+
alignItems: "center",
|
|
677
|
+
flex: "1",
|
|
678
|
+
},
|
|
679
|
+
},
|
|
680
|
+
DialogButton: { margin: "auto", width: "100%" },
|
|
654
681
|
};
|
|
655
682
|
const sheet = JSS.createStyleSheet(style);
|
|
656
683
|
const styleString = sheet.toString();
|
|
@@ -716,6 +743,12 @@ const BankingInfoFormView = (props) => {
|
|
|
716
743
|
index.h("style", { type: "text/css" },
|
|
717
744
|
styleString,
|
|
718
745
|
vanillaStyle),
|
|
746
|
+
index.h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
|
|
747
|
+
index.h("div", { class: classes.ModalTitleContainer, slot: "label" },
|
|
748
|
+
index.h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
|
|
749
|
+
index.h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
|
|
750
|
+
index.h("p", null, text.modalDescription),
|
|
751
|
+
index.h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
|
|
719
752
|
index.h("div", { class: classes.TextContainer },
|
|
720
753
|
index.h("div", null,
|
|
721
754
|
!states.hideSteps && (index.h("p", null, global.intl.formatMessage({
|
|
@@ -775,7 +808,9 @@ const BankingInfoFormView = (props) => {
|
|
|
775
808
|
? getLoadingSkeleton("toPayPalAccount")
|
|
776
809
|
: slots.paymentFixedDaySelectSlot))))),
|
|
777
810
|
index.h("div", { class: classes.BtnContainer },
|
|
778
|
-
index.h("sl-button", { type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading
|
|
811
|
+
index.h("sl-button", Object.assign({ type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading }, (states.hideSteps
|
|
812
|
+
? { onClick: callbacks.onModalOpen }
|
|
813
|
+
: { submit: "submit" }), { exportparts: "base: primarybutton-base" }), text.continueButton),
|
|
779
814
|
!states.hideBackButton && (index.h("sl-button", { exportparts: "base: secondarybutton-base", type: "secondary", onClick: callbacks.onBack }, text.backButton))))));
|
|
780
815
|
};
|
|
781
816
|
|
|
@@ -878,6 +913,7 @@ function useBankingInfoForm(props) {
|
|
|
878
913
|
const [paymentScheduleChecked, setPaymentScheduleChecked] = stencilHooks_module.useState(undefined);
|
|
879
914
|
const [countrySearch, setCountrySearch] = stencilHooks_module.useState("");
|
|
880
915
|
const [filteredCountries, setFilteredCountries] = stencilHooks_module.useState(countries || []);
|
|
916
|
+
const [showModal, setShowModal] = stencilHooks_module.useState(false);
|
|
881
917
|
const currency = ((_c = (_b = (_a = userData === null || userData === void 0 ? void 0 : userData.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.currency) || "";
|
|
882
918
|
const isPartner = !!((_f = (_e = (_d = userData === null || userData === void 0 ? void 0 : userData.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher) === null || _f === void 0 ? void 0 : _f.withdrawalSettings);
|
|
883
919
|
const feeCap = paypalFeeMap[currency] || "";
|
|
@@ -1049,10 +1085,12 @@ function useBankingInfoForm(props) {
|
|
|
1049
1085
|
});
|
|
1050
1086
|
setErrors({ inputErrors: validationErrors });
|
|
1051
1087
|
if (Object.keys(validationErrors).length) {
|
|
1088
|
+
setShowModal(false);
|
|
1052
1089
|
return;
|
|
1053
1090
|
}
|
|
1054
1091
|
let token = undefined;
|
|
1055
1092
|
if (isPartner) {
|
|
1093
|
+
setShowModal(false);
|
|
1056
1094
|
setShowVerification(true);
|
|
1057
1095
|
token = await new Promise((res) => {
|
|
1058
1096
|
const cb = (e) => {
|
|
@@ -1065,6 +1103,7 @@ function useBankingInfoForm(props) {
|
|
|
1065
1103
|
setShowVerification(false);
|
|
1066
1104
|
}
|
|
1067
1105
|
await runMutation(formData, token);
|
|
1106
|
+
setShowModal(false);
|
|
1068
1107
|
};
|
|
1069
1108
|
const onVerification = async (token) => {
|
|
1070
1109
|
host.dispatchEvent(new CustomEvent(keys.VERIFICATION_EVENT_KEY, {
|
|
@@ -1098,6 +1137,8 @@ function useBankingInfoForm(props) {
|
|
|
1098
1137
|
setCountrySearch,
|
|
1099
1138
|
onVerification,
|
|
1100
1139
|
onVerificationHide: () => onVerification(null),
|
|
1140
|
+
onModalClose: () => setShowModal(false),
|
|
1141
|
+
onModalOpen: () => setShowModal(true),
|
|
1101
1142
|
},
|
|
1102
1143
|
states: {
|
|
1103
1144
|
showVerification,
|
|
@@ -1131,6 +1172,7 @@ function useBankingInfoForm(props) {
|
|
|
1131
1172
|
bankCountry: formState.bankCountry,
|
|
1132
1173
|
countrySearch,
|
|
1133
1174
|
email: (_j = userData === null || userData === void 0 ? void 0 : userData.user) === null || _j === void 0 ? void 0 : _j.email,
|
|
1175
|
+
showModal,
|
|
1134
1176
|
},
|
|
1135
1177
|
refs: {
|
|
1136
1178
|
formRef,
|
|
@@ -1215,7 +1257,11 @@ const BankingInfoForm = class {
|
|
|
1215
1257
|
/**
|
|
1216
1258
|
* @uiName Beneficiary account field label
|
|
1217
1259
|
*/
|
|
1218
|
-
this.beneficiaryAccountNameLabel = "
|
|
1260
|
+
this.beneficiaryAccountNameLabel = "Account holder name";
|
|
1261
|
+
/**
|
|
1262
|
+
* @uiName Beneficiary account field description
|
|
1263
|
+
*/
|
|
1264
|
+
this.beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
|
|
1219
1265
|
/**
|
|
1220
1266
|
* @uiName Bank account type field label
|
|
1221
1267
|
*/
|
|
@@ -1394,6 +1440,18 @@ const BankingInfoForm = class {
|
|
|
1394
1440
|
* @uiWidget textArea
|
|
1395
1441
|
*/
|
|
1396
1442
|
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
|
|
1443
|
+
/**
|
|
1444
|
+
* @uiName Information modal title
|
|
1445
|
+
*/
|
|
1446
|
+
this.modalTitle = "Important Note";
|
|
1447
|
+
/**
|
|
1448
|
+
* @uiName Information modal description text
|
|
1449
|
+
*/
|
|
1450
|
+
this.modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
|
|
1451
|
+
/**
|
|
1452
|
+
* @uiName Information modal button text
|
|
1453
|
+
*/
|
|
1454
|
+
this.modalButtonText = "I understand, update my information";
|
|
1397
1455
|
stencilHooks_module.h$1(this);
|
|
1398
1456
|
}
|
|
1399
1457
|
disconnectedCallback() { }
|
|
@@ -1607,6 +1665,7 @@ function useDemoBankingInfoForm(props) {
|
|
|
1607
1665
|
currency,
|
|
1608
1666
|
setCurrency,
|
|
1609
1667
|
hasPayPal: true,
|
|
1668
|
+
showModal: false,
|
|
1610
1669
|
},
|
|
1611
1670
|
callbacks: {
|
|
1612
1671
|
onVerificationHide: () => { },
|
|
@@ -1619,6 +1678,8 @@ function useDemoBankingInfoForm(props) {
|
|
|
1619
1678
|
setCountrySearch: () => { },
|
|
1620
1679
|
onBack: async () => setStep("/dashboard"),
|
|
1621
1680
|
onVerification: () => { },
|
|
1681
|
+
onModalOpen: () => { },
|
|
1682
|
+
onModalClose: () => { },
|
|
1622
1683
|
},
|
|
1623
1684
|
text: props.getTextProps(),
|
|
1624
1685
|
refs: {
|
|
@@ -1666,6 +1727,7 @@ function useDocusignForm(props) {
|
|
|
1666
1727
|
const [errors, setErrors] = stencilHooks_module.useState({});
|
|
1667
1728
|
const [loading, setLoading] = stencilHooks_module.useState(false);
|
|
1668
1729
|
const [showExitButton, setShowExitButton] = stencilHooks_module.useState(false);
|
|
1730
|
+
const [showModal, setShowModal] = stencilHooks_module.useState(true);
|
|
1669
1731
|
// Only look at current document if it's valid (same as required type)
|
|
1670
1732
|
const existingDocumentType = utils$1.validTaxDocument(publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType) && (publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument)
|
|
1671
1733
|
? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType : undefined;
|
|
@@ -1761,6 +1823,7 @@ function useDocusignForm(props) {
|
|
|
1761
1823
|
documentType: actualDocumentType,
|
|
1762
1824
|
documentTypeString: utils$1.taxTypeToName(actualDocumentType),
|
|
1763
1825
|
showExitButton,
|
|
1826
|
+
showModal,
|
|
1764
1827
|
},
|
|
1765
1828
|
data: {
|
|
1766
1829
|
taxForm: actualDocumentType,
|
|
@@ -1771,6 +1834,8 @@ function useDocusignForm(props) {
|
|
|
1771
1834
|
completeDocument,
|
|
1772
1835
|
onExit: progressStep,
|
|
1773
1836
|
setParticipantType,
|
|
1837
|
+
onModalClose: () => setShowModal(false),
|
|
1838
|
+
onModalOpen: () => setShowModal(true),
|
|
1774
1839
|
},
|
|
1775
1840
|
text: props.getTextProps(),
|
|
1776
1841
|
};
|
|
@@ -1890,6 +1955,11 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
|
|
|
1890
1955
|
};
|
|
1891
1956
|
|
|
1892
1957
|
const style$2 = {
|
|
1958
|
+
ModalTitleContainer: {
|
|
1959
|
+
display: "flex",
|
|
1960
|
+
gap: "var(--sl-spacing-small)",
|
|
1961
|
+
alignItems: "center",
|
|
1962
|
+
},
|
|
1893
1963
|
FormWrapper: {
|
|
1894
1964
|
display: "flex",
|
|
1895
1965
|
justifyContent: "flex-start",
|
|
@@ -1978,6 +2048,28 @@ const style$2 = {
|
|
|
1978
2048
|
color: "var(--sqm-text-subdued)",
|
|
1979
2049
|
fontSize: "var(--sl-font-size-medium)",
|
|
1980
2050
|
},
|
|
2051
|
+
Dialog: {
|
|
2052
|
+
"&::part(panel)": {
|
|
2053
|
+
maxWidth: "420px",
|
|
2054
|
+
},
|
|
2055
|
+
"&::part(title)": {
|
|
2056
|
+
fontSize: "var(--sl-font-size-large)",
|
|
2057
|
+
fontWeight: "600",
|
|
2058
|
+
},
|
|
2059
|
+
"&::part(body)": {
|
|
2060
|
+
padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
|
|
2061
|
+
fontSize: "var(--sl-font-size-small)",
|
|
2062
|
+
},
|
|
2063
|
+
"&::part(footer)": {
|
|
2064
|
+
display: "flex",
|
|
2065
|
+
flexDirection: "column",
|
|
2066
|
+
gap: "var(--sl-spacing-small)",
|
|
2067
|
+
marginBottom: "var(--sl-spacing-xx-small)",
|
|
2068
|
+
alignItems: "center",
|
|
2069
|
+
flex: "1",
|
|
2070
|
+
},
|
|
2071
|
+
},
|
|
2072
|
+
DialogButton: { margin: "auto", width: "100%" },
|
|
1981
2073
|
};
|
|
1982
2074
|
const sheet$2 = JSS.createStyleSheet(style$2);
|
|
1983
2075
|
const styleString$2 = sheet$2.toString();
|
|
@@ -2007,6 +2099,17 @@ const DocusignFormView = (props) => {
|
|
|
2007
2099
|
index.h("style", { type: "text/css" },
|
|
2008
2100
|
styleString$2,
|
|
2009
2101
|
vanillaStyle$1),
|
|
2102
|
+
index.h("sl-dialog", { class: sheet$2.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
|
|
2103
|
+
index.h("div", { class: classes.ModalTitleContainer, slot: "label" },
|
|
2104
|
+
index.h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
|
|
2105
|
+
index.h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
|
|
2106
|
+
index.h("p", null, global.intl.formatMessage({
|
|
2107
|
+
id: "modalText",
|
|
2108
|
+
defaultMessage: text.modalDescription,
|
|
2109
|
+
}, {
|
|
2110
|
+
br: index.h("br", null),
|
|
2111
|
+
})),
|
|
2112
|
+
index.h("sl-button", { slot: "footer", type: "primary", class: sheet$2.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
|
|
2010
2113
|
index.h("div", { class: classes.TextContainer },
|
|
2011
2114
|
index.h("div", null,
|
|
2012
2115
|
!states.hideSteps && (index.h("p", null, global.intl.formatMessage({
|
|
@@ -2160,6 +2263,18 @@ const DocusignForm = class {
|
|
|
2160
2263
|
* @uiName Exit button text
|
|
2161
2264
|
*/
|
|
2162
2265
|
this.exitButton = "Exit";
|
|
2266
|
+
/**
|
|
2267
|
+
* @uiName Information modal title
|
|
2268
|
+
*/
|
|
2269
|
+
this.modalTitle = "Important Note";
|
|
2270
|
+
/**
|
|
2271
|
+
* @uiName Information modal description text
|
|
2272
|
+
*/
|
|
2273
|
+
this.modalDescription = "Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
|
|
2274
|
+
/**
|
|
2275
|
+
* @uiName Information modal button text
|
|
2276
|
+
*/
|
|
2277
|
+
this.modalButtonText = "I understand";
|
|
2163
2278
|
stencilHooks_module.h$1(this);
|
|
2164
2279
|
}
|
|
2165
2280
|
disconnectedCallback() { }
|
|
@@ -2214,6 +2329,7 @@ function useDocusignFormDemo(props) {
|
|
|
2214
2329
|
errors: {},
|
|
2215
2330
|
},
|
|
2216
2331
|
documentType: "W9",
|
|
2332
|
+
showModal: false,
|
|
2217
2333
|
},
|
|
2218
2334
|
data: {
|
|
2219
2335
|
taxForm: "W9",
|
|
@@ -2224,6 +2340,8 @@ function useDocusignFormDemo(props) {
|
|
|
2224
2340
|
demo: {
|
|
2225
2341
|
onSubmit: () => setStep("/4"),
|
|
2226
2342
|
onBack: () => setStep("/3"),
|
|
2343
|
+
onModalOpen: () => { },
|
|
2344
|
+
onModalClose: () => { },
|
|
2227
2345
|
},
|
|
2228
2346
|
setParticipantType: (p) => console.log({ p }),
|
|
2229
2347
|
setDocusignStatus: (status) => console.log(status),
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-6d0d196d.js');
|
|
8
8
|
const index_module = require('./index.module-39955732.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -23,8 +23,8 @@ const sqmPortalLoginView = require('./sqm-portal-login-view-bb50304c.js');
|
|
|
23
23
|
const usePortalLogin = require('./usePortalLogin-e246988e.js');
|
|
24
24
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
25
25
|
const utilities = require('./utilities-be3ce1f8.js');
|
|
26
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
27
|
-
require('./sqm-portal-container-view-
|
|
26
|
+
const ShadowViewAddon = require('./ShadowViewAddon-e1bcffe2.js');
|
|
27
|
+
require('./sqm-portal-container-view-07e4343f.js');
|
|
28
28
|
const usePayoutStatus = require('./usePayoutStatus-3cca69e5.js');
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -127,6 +127,7 @@ const Netflix = {
|
|
|
127
127
|
},
|
|
128
128
|
hoverStateColor: "#777777",
|
|
129
129
|
selectedStateColor: "#E50914",
|
|
130
|
+
borderRadius: 4,
|
|
130
131
|
},
|
|
131
132
|
};
|
|
132
133
|
const Amazon = {
|
|
@@ -214,6 +215,7 @@ const Amazon = {
|
|
|
214
215
|
border: "#D5D9D9",
|
|
215
216
|
inputText: "#2f2f2f",
|
|
216
217
|
},
|
|
218
|
+
borderRadius: 4,
|
|
217
219
|
hoverStateColor: "#A2A2A2",
|
|
218
220
|
selectedStateColor: "#007185",
|
|
219
221
|
},
|
|
@@ -269,6 +271,7 @@ const Spotify = {
|
|
|
269
271
|
border: "#7c7c7c",
|
|
270
272
|
inputText: "#fff",
|
|
271
273
|
},
|
|
274
|
+
borderRadius: 30,
|
|
272
275
|
hoverStateColor: "white",
|
|
273
276
|
selectedStateColor: "white",
|
|
274
277
|
},
|
|
@@ -355,6 +358,7 @@ const Google = {
|
|
|
355
358
|
border: "#DADCE0",
|
|
356
359
|
inputText: "#202124",
|
|
357
360
|
},
|
|
361
|
+
borderRadius: 4,
|
|
358
362
|
hoverStateColor: "#9AA0A6",
|
|
359
363
|
selectedStateColor: "#4285F4",
|
|
360
364
|
},
|
|
@@ -2423,7 +2427,7 @@ const style$2 = {
|
|
|
2423
2427
|
marginLeft: "auto",
|
|
2424
2428
|
},
|
|
2425
2429
|
PayoutButtonDescription: {
|
|
2426
|
-
color: "var(--
|
|
2430
|
+
color: "var(--sqm-text-subdued)",
|
|
2427
2431
|
fontSize: "var(--sl-font-size-small)",
|
|
2428
2432
|
margin: "0",
|
|
2429
2433
|
},
|
|
@@ -5033,10 +5037,9 @@ function useRewardExchangeListDemo(props) {
|
|
|
5033
5037
|
queryError: false,
|
|
5034
5038
|
loading: false,
|
|
5035
5039
|
noExchangeOptions: false,
|
|
5036
|
-
empty: EmptySlot$1(),
|
|
5037
5040
|
},
|
|
5038
5041
|
data: {
|
|
5039
|
-
shareCode: "SHARECODE123",
|
|
5042
|
+
// shareCode: "SHARECODE123",
|
|
5040
5043
|
exchangeList: ShadowViewAddon.demoRewardExchange.data.exchangeList,
|
|
5041
5044
|
},
|
|
5042
5045
|
callbacks: {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-6d0d196d.js');
|
|
8
8
|
const index_module = require('./index.module-39955732.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-6d0d196d.js');
|
|
8
8
|
const index_module = require('./index.module-39955732.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-6d0d196d.js');
|
|
8
8
|
require('./index.module-39955732.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-
|
|
11
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
|
|
12
12
|
|
|
13
13
|
function EmptyStateView(props) {
|
|
14
14
|
const { emptyStateHeader, emptyStateImage, emptyStateText, supportText, missingFeature = "", } = props;
|
|
@@ -83,12 +83,6 @@ const PortalContainer = class {
|
|
|
83
83
|
* @uiEnumNames ["Wrap", "No Wrap"]
|
|
84
84
|
*/
|
|
85
85
|
this.flexWrap = "wrap";
|
|
86
|
-
/**
|
|
87
|
-
* @uiName Background color
|
|
88
|
-
* @uiWidget color
|
|
89
|
-
* @uiType string
|
|
90
|
-
*/
|
|
91
|
-
this.backgroundColor = "#ffffff00";
|
|
92
86
|
stencilHooks_module.h$1(this);
|
|
93
87
|
}
|
|
94
88
|
disconnectedCallback() { }
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-6d0d196d.js');
|
|
8
8
|
const index_module = require('./index.module-39955732.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-6a1e63de.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-6d0d196d.js');
|
|
8
8
|
const index_module = require('./index.module-39955732.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
package/dist/cjs/{sqm-portal-container-view-70eaf785.js → sqm-portal-container-view-07e4343f.js}
RENAMED
|
@@ -38,7 +38,7 @@ function PortalContainerView(props, children) {
|
|
|
38
38
|
maxWidth: props.maxWidth,
|
|
39
39
|
margin: props.center && "auto",
|
|
40
40
|
justifyContent: props.justifyContent,
|
|
41
|
-
backgroundColor: props.backgroundColor || "
|
|
41
|
+
backgroundColor: props.backgroundColor || "var(--sqm-portal-background)",
|
|
42
42
|
},
|
|
43
43
|
};
|
|
44
44
|
const vanillaStyle = `
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a43a63b4.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-6d0d196d.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const mixins = require('./mixins-4761d472.js');
|
|
7
7
|
const sqmTextSpanView = require('./sqm-text-span-view-7a61ae4c.js');
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-6d0d196d.js');
|
|
8
8
|
const index_module = require('./index.module-39955732.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-4761d472.js');
|
|
12
12
|
require('./sqm-text-span-view-7a61ae4c.js');
|
|
13
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
13
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-14ea3a91.js');
|
|
14
14
|
|
|
15
15
|
function usePortalEmailVerification(props) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
package/dist/cjs/{sqm-portal-profile-view-c4c80164.js → sqm-portal-profile-view-570d2ae3.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a43a63b4.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-6d0d196d.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const sqmTextSpanView = require('./sqm-text-span-view-7a61ae4c.js');
|
|
7
7
|
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-6d0d196d.js');
|
|
8
8
|
const index_module = require('./index.module-39955732.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./sqm-text-span-view-7a61ae4c.js');
|
|
13
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
13
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-570d2ae3.js');
|
|
14
14
|
const utilities = require('./utilities-be3ce1f8.js');
|
|
15
15
|
|
|
16
16
|
const GET_USER = index_module.dist.gql `
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-6d0d196d.js');
|
|
8
8
|
const index_module = require('./index.module-39955732.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -14,7 +14,7 @@ const GenericTableView = require('./GenericTableView-107ade89.js');
|
|
|
14
14
|
const reRender = require('./re-render-28fed959.js');
|
|
15
15
|
const useChildElements = require('./useChildElements-e5fa605c.js');
|
|
16
16
|
const luxon = require('./luxon-3b809948.js');
|
|
17
|
-
const mockRewardData = require('./mockRewardData-
|
|
17
|
+
const mockRewardData = require('./mockRewardData-baa02051.js');
|
|
18
18
|
const useReferralTable = require('./useReferralTable-19e7523a.js');
|
|
19
19
|
const sqmTextSpanView = require('./sqm-text-span-view-7a61ae4c.js');
|
|
20
20
|
|
|
@@ -114,7 +114,7 @@ const getMockData = () => {
|
|
|
114
114
|
prettyValue: "1 Point",
|
|
115
115
|
statuses: statuses[Math.floor(Math.random() * statuses.length)],
|
|
116
116
|
// statuses: ["PENDING"],
|
|
117
|
-
// pendingReasons: ["US_TAX", "
|
|
117
|
+
// pendingReasons: ["US_TAX", "MISSING_PAYOUT_CONFIGURATION"],
|
|
118
118
|
globalRewardKey: null,
|
|
119
119
|
programRewardKey: "partnerReward",
|
|
120
120
|
meta: {
|
|
@@ -583,7 +583,7 @@ const ReferralTableRewardsCell = class {
|
|
|
583
583
|
if (!((_l = taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.publisher) === null || _l === void 0 ? void 0 : _l.withdrawalSettings))
|
|
584
584
|
return "PENDING_PARTNER_CREATION";
|
|
585
585
|
}
|
|
586
|
-
if ((_m = reward === null || reward === void 0 ? void 0 : reward.pendingReasons) === null || _m === void 0 ? void 0 : _m.includes("
|
|
586
|
+
if ((_m = reward === null || reward === void 0 ? void 0 : reward.pendingReasons) === null || _m === void 0 ? void 0 : _m.includes("MISSING_PAYOUT_CONFIGURATION")) {
|
|
587
587
|
return "PENDING_PARTNER_CREATION";
|
|
588
588
|
}
|
|
589
589
|
if (reward.statuses.length === 1)
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-62264802.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-6d0d196d.js');
|
|
8
8
|
const index_module = require('./index.module-39955732.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -14,7 +14,7 @@ const GenericTableView = require('./GenericTableView-107ade89.js');
|
|
|
14
14
|
const reRender = require('./re-render-28fed959.js');
|
|
15
15
|
const useChildElements = require('./useChildElements-e5fa605c.js');
|
|
16
16
|
const luxon = require('./luxon-3b809948.js');
|
|
17
|
-
const mockRewardData = require('./mockRewardData-
|
|
17
|
+
const mockRewardData = require('./mockRewardData-baa02051.js');
|
|
18
18
|
const useReferralTable = require('./useReferralTable-19e7523a.js');
|
|
19
19
|
|
|
20
20
|
const debug = stencilHooks_module.browser("sq:useRewardsTable");
|
|
@@ -919,7 +919,7 @@ const RewardTableStatusCell = class {
|
|
|
919
919
|
if (!((_d = taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.publisher) === null || _d === void 0 ? void 0 : _d.withdrawalSettings))
|
|
920
920
|
return this.pendingPartnerCreation;
|
|
921
921
|
}
|
|
922
|
-
if ((_e = reward === null || reward === void 0 ? void 0 : reward.pendingReasons) === null || _e === void 0 ? void 0 : _e.includes("
|
|
922
|
+
if ((_e = reward === null || reward === void 0 ? void 0 : reward.pendingReasons) === null || _e === void 0 ? void 0 : _e.includes("MISSING_PAYOUT_CONFIGURATION")) {
|
|
923
923
|
return this.pendingPartnerCreation;
|
|
924
924
|
}
|
|
925
925
|
return "";
|