@saasquatch/mint-components 2.2.0-0 → 2.2.0-1
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/{keys-cff24974.js → keys-5a2c9ed2.js} +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +12 -16
- package/dist/cjs/sqm-big-stat_46.cjs.entry.js +22 -26
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +14 -35
- package/dist/cjs/{sqm-partner-info-modal-view-540886b4.js → sqm-partner-info-modal-view-431ff976.js} +15 -10
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +17 -7
- package/dist/cjs/{sqm-user-info-form-view-01bf2f41.js → sqm-user-info-form-view-f1127a60.js} +2 -2
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +14 -4
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +15 -10
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +1 -30
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +13 -26
- package/dist/collection/components/sqm-widget-verification/keys.js +2 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +0 -59
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +23 -10
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +5 -4
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +1 -30
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +0 -25
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +5 -6
- package/dist/esm/keys-d7c5c851.js +8 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +12 -16
- package/dist/esm/sqm-big-stat_46.entry.js +22 -26
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-email-verification_2.entry.js +14 -35
- package/dist/esm/{sqm-partner-info-modal-view-eec8606e.js → sqm-partner-info-modal-view-b3c33bc3.js} +15 -10
- package/dist/esm/sqm-stencilbook.entry.js +17 -7
- package/dist/esm/{sqm-user-info-form-view-365cef98.js → sqm-user-info-form-view-e732dc4d.js} +2 -2
- package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/keys-d7c5c851.js +1 -0
- 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_46.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-b3c33bc3.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{sqm-user-info-form-view-365cef98.js → sqm-user-info-form-view-e732dc4d.js} +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-4d009702.system.entry.js → p-0b2a428f.system.entry.js} +1 -1
- package/dist/mint-components/p-16416781.system.entry.js +1 -0
- package/dist/mint-components/p-1bff74c0.js +1 -0
- package/dist/mint-components/p-1c413a06.system.js +1 -1
- package/dist/mint-components/{p-2d3a12f2.entry.js → p-36b91873.entry.js} +2 -2
- package/dist/mint-components/{p-038d0b8f.entry.js → p-440d3788.entry.js} +3 -3
- package/dist/mint-components/p-4c47beb0.system.js +1 -0
- package/dist/mint-components/{p-55d4caaa.entry.js → p-63102c04.entry.js} +7 -13
- package/dist/mint-components/p-6d15ce09.system.entry.js +1 -0
- package/dist/mint-components/{p-a0986077.system.entry.js → p-70a90ad8.system.entry.js} +1 -1
- package/dist/mint-components/{p-d273eb05.entry.js → p-7a744cb2.entry.js} +2 -2
- package/dist/mint-components/p-837c4cf8.js +1 -0
- package/dist/mint-components/p-987a54e2.system.js +1 -0
- package/dist/mint-components/{p-88c9cc1b.entry.js → p-a67f2ccf.entry.js} +1 -1
- package/dist/mint-components/{p-64041ee1.entry.js → p-d43c728e.entry.js} +22 -22
- package/dist/mint-components/{p-52eca331.js → p-dd5d8095.js} +1 -1
- package/dist/mint-components/{p-6194855b.system.entry.js → p-ecdbe09b.system.entry.js} +1 -1
- package/dist/mint-components/{p-a2db4345.system.js → p-ed3ae5ba.system.js} +1 -1
- package/dist/mint-components/{p-037c1a4f.system.entry.js → p-fe944f94.system.entry.js} +1 -1
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +1 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -2
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -6
- package/dist/types/components/sqm-widget-verification/keys.d.ts +2 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -10
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +0 -5
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +0 -4
- package/dist/types/components.d.ts +0 -48
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm/keys-db1897ae.js +0 -6
- package/dist/esm-es5/keys-db1897ae.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-eec8606e.js +0 -1
- package/dist/mint-components/p-39840341.js +0 -1
- package/dist/mint-components/p-574a4089.system.js +0 -1
- package/dist/mint-components/p-7d5956ec.system.entry.js +0 -1
- package/dist/mint-components/p-91369a5f.js +0 -1
- package/dist/mint-components/p-b2a99637.system.js +0 -1
- package/dist/mint-components/p-ea5eec69.system.entry.js +0 -1
|
@@ -31,7 +31,7 @@ const ShadowViewAddon = require('./ShadowViewAddon-2b3f51be.js');
|
|
|
31
31
|
require('./sqm-portal-container-view-70a47420.js');
|
|
32
32
|
const utils$1 = require('./utils-a8e0bd9b.js');
|
|
33
33
|
const data = require('./data-6b5095f8.js');
|
|
34
|
-
const keys = require('./keys-
|
|
34
|
+
const keys = require('./keys-5a2c9ed2.js');
|
|
35
35
|
require('./eventKeys-7af4df4d.js');
|
|
36
36
|
const usePayoutStatus = require('./usePayoutStatus-cf050a03.js');
|
|
37
37
|
const parseStates = require('./parseStates-d1effc19.js');
|
|
@@ -6419,7 +6419,6 @@ function getCurrentStep(user) {
|
|
|
6419
6419
|
return "/1";
|
|
6420
6420
|
}
|
|
6421
6421
|
const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
|
|
6422
|
-
console.log(user.impactConnection, "publisher data in useTaxAndCash to determine step new new");
|
|
6423
6422
|
if (user.impactConnection.connectionStatus === "STARTED") {
|
|
6424
6423
|
return "/1";
|
|
6425
6424
|
}
|
|
@@ -6651,11 +6650,6 @@ const TaxAndCashMonolith = class {
|
|
|
6651
6650
|
* @uiGroup Step 1 Properties
|
|
6652
6651
|
*/
|
|
6653
6652
|
this.step1_currency = "Currency";
|
|
6654
|
-
/**
|
|
6655
|
-
* @uiName Currency field help text
|
|
6656
|
-
* @uiGroup Step 1 Properties
|
|
6657
|
-
*/
|
|
6658
|
-
this.step1_currencyHelpText = "Choose your preferred payout currency";
|
|
6659
6653
|
/**
|
|
6660
6654
|
* Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
|
|
6661
6655
|
* @uiName Terms and conditions checkbox
|
|
@@ -7975,18 +7969,20 @@ const USER_LOOKUP = index_module.dist.gql `
|
|
|
7975
7969
|
}
|
|
7976
7970
|
`;
|
|
7977
7971
|
function useWidgetVerification() {
|
|
7978
|
-
const
|
|
7979
|
-
const [showCode, setShowCode] = index_module.In({
|
|
7972
|
+
const [showCode] = index_module.In({
|
|
7980
7973
|
namespace: keys.SHOW_CODE_NAMESPACE,
|
|
7981
7974
|
initialValue: false,
|
|
7982
7975
|
});
|
|
7983
|
-
const [email, setEmail] = index_module.In({
|
|
7984
|
-
namespace: keys.VERIFICATION_EMAIL_NAMESPACE,
|
|
7985
|
-
initialValue: userIdentity === null || userIdentity === void 0 ? void 0 : userIdentity.email,
|
|
7986
|
-
});
|
|
7987
7976
|
const setContext = index_module.En(keys.VERIFICATION_PARENT_NAMESPACE);
|
|
7988
7977
|
const [loading, setLoading] = domContextHooks_module.useState(true);
|
|
7989
|
-
const [showPartnerModal, setShowPartnerModal] =
|
|
7978
|
+
const [showPartnerModal, setShowPartnerModal] = index_module.In({
|
|
7979
|
+
namespace: keys.SHOW_PARTNER_MODAL_NAMESPACE,
|
|
7980
|
+
initialValue: false,
|
|
7981
|
+
});
|
|
7982
|
+
const [partnerCreated, setPartnerCreated] = index_module.In({
|
|
7983
|
+
namespace: keys.PARTNER_CREATED_NAMESPACE,
|
|
7984
|
+
initialValue: false,
|
|
7985
|
+
});
|
|
7990
7986
|
const [fetch] = index_module.Xe(USER_LOOKUP);
|
|
7991
7987
|
domContextHooks_module.useEffect(() => {
|
|
7992
7988
|
const checkUser = async () => {
|
|
@@ -8021,9 +8017,20 @@ function useWidgetVerification() {
|
|
|
8021
8017
|
};
|
|
8022
8018
|
const onPartnerModalComplete = () => {
|
|
8023
8019
|
setShowPartnerModal(false);
|
|
8020
|
+
setPartnerCreated(false);
|
|
8024
8021
|
setContext(true);
|
|
8025
8022
|
};
|
|
8026
|
-
|
|
8023
|
+
domContextHooks_module.useEffect(() => {
|
|
8024
|
+
if (partnerCreated)
|
|
8025
|
+
onPartnerModalComplete();
|
|
8026
|
+
}, [partnerCreated]);
|
|
8027
|
+
return {
|
|
8028
|
+
showCode,
|
|
8029
|
+
showPartnerModal,
|
|
8030
|
+
onVerification,
|
|
8031
|
+
onPartnerModalComplete,
|
|
8032
|
+
loading,
|
|
8033
|
+
};
|
|
8027
8034
|
}
|
|
8028
8035
|
|
|
8029
8036
|
const style$3 = {
|
|
@@ -8066,16 +8073,6 @@ const WidgetVerification = class {
|
|
|
8066
8073
|
* @uiGroup General Text
|
|
8067
8074
|
*/
|
|
8068
8075
|
this.general_widgetHeaderWithPartnerCreation = "Let's get you ready for rewards";
|
|
8069
|
-
/**
|
|
8070
|
-
* @uiName General verify widget header text
|
|
8071
|
-
* @uiGroup General Text
|
|
8072
|
-
*/
|
|
8073
|
-
this.general_verifyEmailHeader = "Verify your email";
|
|
8074
|
-
/**
|
|
8075
|
-
* @uiName General verify widget description text
|
|
8076
|
-
* @uiGroup General Text
|
|
8077
|
-
*/
|
|
8078
|
-
this.general_verifyEmailDescription = "To get your cash paid out directly to your bank account, please complete your account setup";
|
|
8079
8076
|
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8080
8077
|
EMAIL STEP PROPS
|
|
8081
8078
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
@@ -8260,7 +8257,6 @@ const WidgetVerification = class {
|
|
|
8260
8257
|
if (props.showPartnerModal && ((_a = partnerState === null || partnerState === void 0 ? void 0 : partnerState.states) === null || _a === void 0 ? void 0 : _a.open) === false) {
|
|
8261
8258
|
return index.h("div", null);
|
|
8262
8259
|
}
|
|
8263
|
-
// const generalText = this.getStepTextProps("general_");
|
|
8264
8260
|
const partnerText = this.getStepTextProps("createPartnerStep_");
|
|
8265
8261
|
const dialogLabel = this.general_widgetHeaderWithPartnerCreation;
|
|
8266
8262
|
const renderStepContent = () => {
|
|
@@ -11,7 +11,7 @@ const utils = require('./utils-6847bc06.js');
|
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const mixins = require('./mixins-4761d472.js');
|
|
13
13
|
const sqmTextSpanView = require('./sqm-text-span-view-8a32dd8c.js');
|
|
14
|
-
const keys = require('./keys-
|
|
14
|
+
const keys = require('./keys-5a2c9ed2.js');
|
|
15
15
|
const useVerificationEmail = require('./useVerificationEmail-994bc32f.js');
|
|
16
16
|
|
|
17
17
|
const style = {
|
|
@@ -11,8 +11,8 @@ const utils = require('./utils-6847bc06.js');
|
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const sqmTextSpanView = require('./sqm-text-span-view-8a32dd8c.js');
|
|
13
13
|
const data = require('./data-6b5095f8.js');
|
|
14
|
-
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-
|
|
15
|
-
const keys = require('./keys-
|
|
14
|
+
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-431ff976.js');
|
|
15
|
+
const keys = require('./keys-5a2c9ed2.js');
|
|
16
16
|
const eventKeys = require('./eventKeys-7af4df4d.js');
|
|
17
17
|
const parseStates = require('./parseStates-d1effc19.js');
|
|
18
18
|
const useVerificationEmail = require('./useVerificationEmail-994bc32f.js');
|
|
@@ -417,7 +417,6 @@ function useDemoWidgetEmailVerification(props) {
|
|
|
417
417
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
// new field under impactConnection:{ resolvedByEmail: boolean } - determines if connection came from managed identity
|
|
421
420
|
const GET_USER_PARTNER_INFO = index_module.dist.gql `
|
|
422
421
|
query getUserPartnerInfo {
|
|
423
422
|
user: viewer {
|
|
@@ -514,30 +513,22 @@ const START_IMPACT_CONNECTION = index_module.dist.gql `
|
|
|
514
513
|
}
|
|
515
514
|
}
|
|
516
515
|
`;
|
|
517
|
-
const GET_BRAND_NAME = index_module.dist.gql `
|
|
518
|
-
query getTenantSettings {
|
|
519
|
-
tenantSettings {
|
|
520
|
-
companyName
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
`;
|
|
524
516
|
function usePartnerInfoModal(props) {
|
|
525
|
-
var _a, _b, _c, _d, _e, _f
|
|
517
|
+
var _a, _b, _c, _d, _e, _f;
|
|
526
518
|
const locale = index_module.L();
|
|
527
|
-
const
|
|
519
|
+
const setPartnerCreated = index_module.En(keys.PARTNER_CREATED_NAMESPACE);
|
|
528
520
|
const { data: userData, loading: userLoading, refetch, } = index_module.wn(GET_USER_PARTNER_INFO, {});
|
|
529
521
|
const user = userData === null || userData === void 0 ? void 0 : userData.user;
|
|
530
522
|
const { data: currenciesData, loading: currenciesLoading } = index_module.wn(GET_CURRENCIES, { variables: { locale } });
|
|
531
523
|
const { data: countriesData, loading: countriesLoading } = index_module.wn(GET_COUNTRIES, {});
|
|
532
|
-
const { data: tenantSettingsData } = index_module.wn(GET_BRAND_NAME, {});
|
|
533
524
|
const { data: financeNetworkData } = index_module.wn(data.GET_FINANCE_NETWORK_SETTINGS, {
|
|
534
525
|
variables: { filter: {} },
|
|
535
526
|
});
|
|
536
|
-
const [startImpactConnection, { loading: connectLoading
|
|
527
|
+
const [startImpactConnection, { loading: connectLoading }] = index_module.$e(START_IMPACT_CONNECTION);
|
|
537
528
|
const [allowBankingCollection, setAllowBankingCollection] = domContextHooks_module.useState(false);
|
|
538
|
-
const [checkboxError, setCheckboxError] = domContextHooks_module.useState("");
|
|
539
529
|
// No pre-filled country, use locale to determine countryCode instead
|
|
540
|
-
const [countryCode, setCountryCode] = domContextHooks_module.useState(((_b = (_a = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.countryCode) ||
|
|
530
|
+
const [countryCode, setCountryCode] = domContextHooks_module.useState(((_b = (_a = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.countryCode) ||
|
|
531
|
+
locale.replace(/^.*_/, ""));
|
|
541
532
|
const [currency, setCurrency] = domContextHooks_module.useState(((_d = (_c = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher) === null || _d === void 0 ? void 0 : _d.currency) || "");
|
|
542
533
|
const countries = ((_e = countriesData === null || countriesData === void 0 ? void 0 : countriesData.impactPayoutCountries) === null || _e === void 0 ? void 0 : _e.data) || [];
|
|
543
534
|
// copied from useTaxAndCash for displaying currencies based on country - could be in helper?
|
|
@@ -611,13 +602,11 @@ function usePartnerInfoModal(props) {
|
|
|
611
602
|
function onCheckboxChange(e) {
|
|
612
603
|
const checked = e.target.checked;
|
|
613
604
|
setAllowBankingCollection(checked);
|
|
614
|
-
if (checked)
|
|
615
|
-
setCheckboxError("");
|
|
616
605
|
}
|
|
617
606
|
async function onSubmit() {
|
|
618
607
|
var _a, _b;
|
|
619
608
|
if (!allowBankingCollection) {
|
|
620
|
-
|
|
609
|
+
setError(props.missingFieldsErrorText);
|
|
621
610
|
return;
|
|
622
611
|
}
|
|
623
612
|
if (!countryCode || !currency) {
|
|
@@ -625,7 +614,10 @@ function usePartnerInfoModal(props) {
|
|
|
625
614
|
return;
|
|
626
615
|
}
|
|
627
616
|
setError("");
|
|
628
|
-
|
|
617
|
+
if (!user) {
|
|
618
|
+
setError(props.networkErrorText);
|
|
619
|
+
return;
|
|
620
|
+
}
|
|
629
621
|
try {
|
|
630
622
|
const vars = {
|
|
631
623
|
user: {
|
|
@@ -634,8 +626,6 @@ function usePartnerInfoModal(props) {
|
|
|
634
626
|
},
|
|
635
627
|
firstName: user.firstName,
|
|
636
628
|
lastName: user.lastName,
|
|
637
|
-
// phoneNumber: null,
|
|
638
|
-
// phoneNumberCountryCode: null,
|
|
639
629
|
countryCode,
|
|
640
630
|
currency,
|
|
641
631
|
};
|
|
@@ -646,7 +636,6 @@ function usePartnerInfoModal(props) {
|
|
|
646
636
|
}
|
|
647
637
|
const connectionResult = result
|
|
648
638
|
.startImpactConnection;
|
|
649
|
-
console.log(result, connectionResult, "result and connectionResult from creating partner from modal");
|
|
650
639
|
if (!(connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.success)) {
|
|
651
640
|
const validationMsg = (_b = connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.validationErrors) === null || _b === void 0 ? void 0 : _b.map((e) => e.message).join(". ");
|
|
652
641
|
setError(validationMsg || props.networkErrorText);
|
|
@@ -655,8 +644,8 @@ function usePartnerInfoModal(props) {
|
|
|
655
644
|
}
|
|
656
645
|
window.dispatchEvent(new Event(eventKeys.TAX_FORM_UPDATED_EVENT_KEY));
|
|
657
646
|
await refetch();
|
|
647
|
+
setPartnerCreated === null || setPartnerCreated === void 0 ? void 0 : setPartnerCreated(true);
|
|
658
648
|
setSuccess(true);
|
|
659
|
-
setVerificationContext(true);
|
|
660
649
|
}
|
|
661
650
|
catch (e) {
|
|
662
651
|
console.error("Partner creation error:", e);
|
|
@@ -671,16 +660,14 @@ function usePartnerInfoModal(props) {
|
|
|
671
660
|
open: showModal,
|
|
672
661
|
loading: userLoading || countriesLoading || currenciesLoading,
|
|
673
662
|
submitting: connectLoading,
|
|
674
|
-
isExistingPartner: impactConnection === null || impactConnection === void 0 ? void 0 : impactConnection.publisher,
|
|
663
|
+
isExistingPartner: !!(impactConnection === null || impactConnection === void 0 ? void 0 : impactConnection.publisher),
|
|
675
664
|
countryCode,
|
|
676
665
|
currency,
|
|
677
666
|
error,
|
|
678
667
|
success,
|
|
679
|
-
brandName: ((_g = tenantSettingsData === null || tenantSettingsData === void 0 ? void 0 : tenantSettingsData.tenantSettings) === null || _g === void 0 ? void 0 : _g.companyName) || "",
|
|
680
668
|
filteredCountries: filteredCountries || [],
|
|
681
669
|
filteredCurrencies: filteredCurrencies || [],
|
|
682
670
|
allowBankingCollection,
|
|
683
|
-
checkboxError,
|
|
684
671
|
disabled: userLoading || connectLoading,
|
|
685
672
|
},
|
|
686
673
|
callbacks: {
|
|
@@ -699,12 +686,6 @@ function usePartnerInfoModal(props) {
|
|
|
699
686
|
const PartnerInfoModal = class {
|
|
700
687
|
constructor(hostRef) {
|
|
701
688
|
index.registerInstance(this, hostRef);
|
|
702
|
-
/**
|
|
703
|
-
* Brand name shown in the modal header
|
|
704
|
-
*
|
|
705
|
-
* @uiName Brand name
|
|
706
|
-
*/
|
|
707
|
-
this.brandName = "";
|
|
708
689
|
/**
|
|
709
690
|
* Header text when user has no existing partner
|
|
710
691
|
*
|
|
@@ -828,7 +809,6 @@ function useDemoPartnerInfoModal(props) {
|
|
|
828
809
|
// @ts-ignore
|
|
829
810
|
return cjs.cjs({
|
|
830
811
|
states: {
|
|
831
|
-
brandName: "Test Brand",
|
|
832
812
|
open: false,
|
|
833
813
|
loading: false,
|
|
834
814
|
submitting: false,
|
|
@@ -840,7 +820,6 @@ function useDemoPartnerInfoModal(props) {
|
|
|
840
820
|
filteredCountries: [],
|
|
841
821
|
filteredCurrencies: [],
|
|
842
822
|
allowBankingCollection,
|
|
843
|
-
checkboxError: "",
|
|
844
823
|
disabled: false,
|
|
845
824
|
},
|
|
846
825
|
callbacks: {
|
package/dist/cjs/{sqm-partner-info-modal-view-540886b4.js → sqm-partner-info-modal-view-431ff976.js}
RENAMED
|
@@ -31,8 +31,6 @@ const style = {
|
|
|
31
31
|
marginTop: "var(--sl-spacing-large)",
|
|
32
32
|
},
|
|
33
33
|
ErrorMessage: {
|
|
34
|
-
color: "var(--sqm-danger-color-text, #d32f2f)",
|
|
35
|
-
fontSize: "var(--sl-font-size-small)",
|
|
36
34
|
marginTop: "var(--sl-spacing-x-small)",
|
|
37
35
|
},
|
|
38
36
|
SearchInput: {
|
|
@@ -59,6 +57,11 @@ const style = {
|
|
|
59
57
|
justifyContent: "flex-start",
|
|
60
58
|
flexDirection: "column",
|
|
61
59
|
},
|
|
60
|
+
Checkbox: {
|
|
61
|
+
"&::part(label)": {
|
|
62
|
+
fontSize: "var(--sl-font-size-small)",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
62
65
|
SubmitButton: {
|
|
63
66
|
width: "100%",
|
|
64
67
|
marginTop: "var(--sl-spacing-large)",
|
|
@@ -87,22 +90,24 @@ function PartnerInfoModalContentView(props) {
|
|
|
87
90
|
styleString),
|
|
88
91
|
index.h("div", { class: sheet.classes.FormFields },
|
|
89
92
|
description,
|
|
90
|
-
index.h("sl-select", { exportparts: "label: input-label, base: input-base, menu: select-menu", label: text.countryLabel, value: states.countryCode, disabled: states.submitting ||
|
|
93
|
+
index.h("sl-select", { exportparts: "label: input-label, base: input-base, menu: select-menu", label: text.countryLabel, value: states.countryCode, disabled: states.submitting ||
|
|
94
|
+
(!!states.countryCode && states.isExistingPartner), required: true, hoist: true, "onSl-select": callbacks.onCountryChange },
|
|
91
95
|
index.h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCountryPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => {
|
|
92
96
|
var _a;
|
|
93
97
|
callbacks.setCountrySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value);
|
|
94
98
|
} }),
|
|
95
99
|
index.h("div", { class: sheet.classes.SelectMenu }, (_a = states.filteredCountries) === null || _a === void 0 ? void 0 : _a.map((c) => (index.h("sl-menu-item", { value: c.countryCode }, c.displayName))))),
|
|
96
|
-
index.h("sl-select", { exportparts: "label: input-label, base: input-base", label: text.currencyLabel, value: states.currency, disabled: states.submitting || !!states.
|
|
97
|
-
index.h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCurrencyPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => { var _a; return callbacks.setCurrencySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value); } }),
|
|
98
|
-
_b.map((c) => (index.h("sl-menu-item", { value: c.currencyCode },
|
|
100
|
+
index.h("sl-select", { exportparts: "label: input-label, base: input-base", label: text.currencyLabel, value: states.currency, disabled: states.submitting || !!states.currency, required: true, hoist: true, "onSl-select": callbacks.onCurrencyChange },
|
|
101
|
+
index.h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCurrencyPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => { var _a; return callbacks.setCurrencySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value); } }),
|
|
102
|
+
index.h("div", { class: sheet.classes.SelectMenu }, (_b = states.filteredCurrencies) === null || _b === void 0 ? void 0 : _b.map((c) => (index.h("sl-menu-item", { value: c.currencyCode },
|
|
99
103
|
c.currencyCode,
|
|
100
104
|
" - ",
|
|
101
|
-
c.displayName)))),
|
|
105
|
+
c.displayName))))),
|
|
102
106
|
index.h("div", { class: sheet.classes.CheckboxWrapper },
|
|
103
|
-
index.h("sl-checkbox", { checked: states.allowBankingCollection === true, "onSl-change": callbacks.onCheckboxChange, disabled: states.submitting, required: true, value: states.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
|
|
104
|
-
|
|
105
|
-
|
|
107
|
+
index.h("sl-checkbox", { class: sheet.classes.Checkbox, checked: states.allowBankingCollection === true, "onSl-change": callbacks.onCheckboxChange, disabled: states.submitting, required: true, value: states.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText))),
|
|
108
|
+
states.error && (index.h("div", { class: sheet.classes.ErrorMessage },
|
|
109
|
+
index.h("sqm-form-message", { class: sheet.classes.ErrorMessage, type: "error" },
|
|
110
|
+
index.h("p", { part: "alert-description" }, states.error)))),
|
|
106
111
|
index.h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting ||
|
|
107
112
|
!states.countryCode ||
|
|
108
113
|
!states.currency ||
|
|
@@ -35,11 +35,11 @@ require('./ErrorView-ee7b0f36.js');
|
|
|
35
35
|
const sqmQrCodeView = require('./sqm-qr-code-view-1f2daa76.js');
|
|
36
36
|
const ShadowViewAddon = require('./ShadowViewAddon-2b3f51be.js');
|
|
37
37
|
const sqmPortalContainerView = require('./sqm-portal-container-view-70a47420.js');
|
|
38
|
-
const sqmUserInfoFormView = require('./sqm-user-info-form-view-
|
|
38
|
+
const sqmUserInfoFormView = require('./sqm-user-info-form-view-f1127a60.js');
|
|
39
39
|
const utils = require('./utils-a8e0bd9b.js');
|
|
40
40
|
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-818d9e9a.js');
|
|
41
41
|
require('./data-6b5095f8.js');
|
|
42
|
-
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-
|
|
42
|
+
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-431ff976.js');
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -18455,7 +18455,6 @@ const defaultText = {
|
|
|
18455
18455
|
region: "Region",
|
|
18456
18456
|
postalCode: "Postal Code",
|
|
18457
18457
|
currency: "Currency",
|
|
18458
|
-
currencyHelpText: "Select your preferred currency for payouts",
|
|
18459
18458
|
allowBankingCollection: "I agree to the {termsAndConditionsLink}",
|
|
18460
18459
|
personalInformation: "Personal Information",
|
|
18461
18460
|
continueButton: "Continue",
|
|
@@ -18778,15 +18777,13 @@ const defaultProps$y = {
|
|
|
18778
18777
|
loading: false,
|
|
18779
18778
|
submitting: false,
|
|
18780
18779
|
isExistingPartner: false,
|
|
18781
|
-
countryCode:
|
|
18782
|
-
currency:
|
|
18780
|
+
countryCode: null,
|
|
18781
|
+
currency: null,
|
|
18783
18782
|
error: "",
|
|
18784
18783
|
success: false,
|
|
18785
|
-
brandName: "Test Brand",
|
|
18786
18784
|
filteredCountries: demoCountries,
|
|
18787
18785
|
filteredCurrencies: demoCurrencies,
|
|
18788
18786
|
allowBankingCollection: false,
|
|
18789
|
-
checkboxError: "",
|
|
18790
18787
|
disabled: false,
|
|
18791
18788
|
},
|
|
18792
18789
|
callbacks: noopCallbacks,
|
|
@@ -18829,6 +18826,18 @@ const ExistingPartnerConfirm = () => {
|
|
|
18829
18826
|
};
|
|
18830
18827
|
return index.h(sqmPartnerInfoModalView.PartnerInfoModalView, Object.assign({}, props));
|
|
18831
18828
|
};
|
|
18829
|
+
const ExistingPartnerEmpty = () => {
|
|
18830
|
+
const props = {
|
|
18831
|
+
...defaultProps$y,
|
|
18832
|
+
states: {
|
|
18833
|
+
...defaultProps$y.states,
|
|
18834
|
+
isExistingPartner: true,
|
|
18835
|
+
countryCode: "",
|
|
18836
|
+
currency: "",
|
|
18837
|
+
},
|
|
18838
|
+
};
|
|
18839
|
+
return index.h(sqmPartnerInfoModalView.PartnerInfoModalView, Object.assign({}, props));
|
|
18840
|
+
};
|
|
18832
18841
|
const Submitting = () => {
|
|
18833
18842
|
const props = {
|
|
18834
18843
|
...defaultProps$y,
|
|
@@ -18883,6 +18892,7 @@ const PartnerInfoModal = /*#__PURE__*/Object.freeze({
|
|
|
18883
18892
|
NewPartnerPrefilled: NewPartnerPrefilled,
|
|
18884
18893
|
NewPartnerFullySelected: NewPartnerFullySelected,
|
|
18885
18894
|
ExistingPartnerConfirm: ExistingPartnerConfirm,
|
|
18895
|
+
ExistingPartnerEmpty: ExistingPartnerEmpty,
|
|
18886
18896
|
Submitting: Submitting,
|
|
18887
18897
|
WithError: WithError$3,
|
|
18888
18898
|
ValidationError: ValidationError$1,
|
package/dist/cjs/{sqm-user-info-form-view-01bf2f41.js → sqm-user-info-form-view-f1127a60.js}
RENAMED
|
@@ -1906,7 +1906,7 @@ const UserInfoFormView = (props) => {
|
|
|
1906
1906
|
default:
|
|
1907
1907
|
regionLabel = text.state;
|
|
1908
1908
|
}
|
|
1909
|
-
// when creating an impact connection without sending phoneNumber data, the impactAPI defaults the value to "
|
|
1909
|
+
// when creating an impact connection without sending phoneNumber data, the impactAPI defaults the value to "0000000" and the phoneNumberCountryCode to "DZ"
|
|
1910
1910
|
function isDisabledPartnerInput(field) {
|
|
1911
1911
|
var _a, _b;
|
|
1912
1912
|
if (((_a = data$1.partnerData) === null || _a === void 0 ? void 0 : _a.phoneNumber) === "0000000" &&
|
|
@@ -2036,7 +2036,7 @@ const UserInfoFormView = (props) => {
|
|
|
2036
2036
|
helpText: utils.formatErrorMessage(text.postalCode, formState.errors.postalCode),
|
|
2037
2037
|
}
|
|
2038
2038
|
: {}), { required: true })),
|
|
2039
|
-
index.h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || isDisabledPartnerInput("currency")
|
|
2039
|
+
index.h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || isDisabledPartnerInput("currency") }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
|
|
2040
2040
|
class: classes.ErrorInput,
|
|
2041
2041
|
helpText: utils.formatErrorMessage(text.currency, formState.errors.currency),
|
|
2042
2042
|
}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-8277cbb3.js');
|
|
6
6
|
const domContextHooks_module = require('./dom-context-hooks.module-e7b6727c.js');
|
|
7
7
|
const index_module = require('./index.module-42d413d9.js');
|
|
8
|
-
const keys = require('./keys-
|
|
8
|
+
const keys = require('./keys-5a2c9ed2.js');
|
|
9
9
|
|
|
10
10
|
const debug = domContextHooks_module.browser("sq:widget-verification");
|
|
11
11
|
function useTemplateChildren({ parent, callback }) {
|
|
@@ -51,15 +51,13 @@ const defaultProps = {
|
|
|
51
51
|
loading: false,
|
|
52
52
|
submitting: false,
|
|
53
53
|
isExistingPartner: false,
|
|
54
|
-
countryCode:
|
|
55
|
-
currency:
|
|
54
|
+
countryCode: null,
|
|
55
|
+
currency: null,
|
|
56
56
|
error: "",
|
|
57
57
|
success: false,
|
|
58
|
-
brandName: "Test Brand",
|
|
59
58
|
filteredCountries: demoCountries,
|
|
60
59
|
filteredCurrencies: demoCurrencies,
|
|
61
60
|
allowBankingCollection: false,
|
|
62
|
-
checkboxError: "",
|
|
63
61
|
disabled: false,
|
|
64
62
|
},
|
|
65
63
|
callbacks: noopCallbacks,
|
|
@@ -102,6 +100,18 @@ export const ExistingPartnerConfirm = () => {
|
|
|
102
100
|
};
|
|
103
101
|
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
104
102
|
};
|
|
103
|
+
export const ExistingPartnerEmpty = () => {
|
|
104
|
+
const props = {
|
|
105
|
+
...defaultProps,
|
|
106
|
+
states: {
|
|
107
|
+
...defaultProps.states,
|
|
108
|
+
isExistingPartner: true,
|
|
109
|
+
countryCode: "",
|
|
110
|
+
currency: "",
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
114
|
+
};
|
|
105
115
|
export const Submitting = () => {
|
|
106
116
|
const props = {
|
|
107
117
|
...defaultProps,
|
|
@@ -28,8 +28,6 @@ const style = {
|
|
|
28
28
|
marginTop: "var(--sl-spacing-large)",
|
|
29
29
|
},
|
|
30
30
|
ErrorMessage: {
|
|
31
|
-
color: "var(--sqm-danger-color-text, #d32f2f)",
|
|
32
|
-
fontSize: "var(--sl-font-size-small)",
|
|
33
31
|
marginTop: "var(--sl-spacing-x-small)",
|
|
34
32
|
},
|
|
35
33
|
SearchInput: {
|
|
@@ -56,6 +54,11 @@ const style = {
|
|
|
56
54
|
justifyContent: "flex-start",
|
|
57
55
|
flexDirection: "column",
|
|
58
56
|
},
|
|
57
|
+
Checkbox: {
|
|
58
|
+
"&::part(label)": {
|
|
59
|
+
fontSize: "var(--sl-font-size-small)",
|
|
60
|
+
},
|
|
61
|
+
},
|
|
59
62
|
SubmitButton: {
|
|
60
63
|
width: "100%",
|
|
61
64
|
marginTop: "var(--sl-spacing-large)",
|
|
@@ -84,22 +87,24 @@ export function PartnerInfoModalContentView(props) {
|
|
|
84
87
|
styleString),
|
|
85
88
|
h("div", { class: sheet.classes.FormFields },
|
|
86
89
|
description,
|
|
87
|
-
h("sl-select", { exportparts: "label: input-label, base: input-base, menu: select-menu", label: text.countryLabel, value: states.countryCode, disabled: states.submitting ||
|
|
90
|
+
h("sl-select", { exportparts: "label: input-label, base: input-base, menu: select-menu", label: text.countryLabel, value: states.countryCode, disabled: states.submitting ||
|
|
91
|
+
(!!states.countryCode && states.isExistingPartner), required: true, hoist: true, "onSl-select": callbacks.onCountryChange },
|
|
88
92
|
h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCountryPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => {
|
|
89
93
|
var _a;
|
|
90
94
|
callbacks.setCountrySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value);
|
|
91
95
|
} }),
|
|
92
96
|
h("div", { class: sheet.classes.SelectMenu }, (_a = states.filteredCountries) === null || _a === void 0 ? void 0 : _a.map((c) => (h("sl-menu-item", { value: c.countryCode }, c.displayName))))),
|
|
93
|
-
h("sl-select", { exportparts: "label: input-label, base: input-base", label: text.currencyLabel, value: states.currency, disabled: states.submitting || !!states.
|
|
94
|
-
h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCurrencyPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => { var _a; return callbacks.setCurrencySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value); } }),
|
|
95
|
-
_b.map((c) => (h("sl-menu-item", { value: c.currencyCode },
|
|
97
|
+
h("sl-select", { exportparts: "label: input-label, base: input-base", label: text.currencyLabel, value: states.currency, disabled: states.submitting || !!states.currency, required: true, hoist: true, "onSl-select": callbacks.onCurrencyChange },
|
|
98
|
+
h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCurrencyPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => { var _a; return callbacks.setCurrencySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value); } }),
|
|
99
|
+
h("div", { class: sheet.classes.SelectMenu }, (_b = states.filteredCurrencies) === null || _b === void 0 ? void 0 : _b.map((c) => (h("sl-menu-item", { value: c.currencyCode },
|
|
96
100
|
c.currencyCode,
|
|
97
101
|
" - ",
|
|
98
|
-
c.displayName)))),
|
|
102
|
+
c.displayName))))),
|
|
99
103
|
h("div", { class: sheet.classes.CheckboxWrapper },
|
|
100
|
-
h("sl-checkbox", { checked: states.allowBankingCollection === true, "onSl-change": callbacks.onCheckboxChange, disabled: states.submitting, required: true, value: states.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
h("sl-checkbox", { class: sheet.classes.Checkbox, checked: states.allowBankingCollection === true, "onSl-change": callbacks.onCheckboxChange, disabled: states.submitting, required: true, value: states.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText))),
|
|
105
|
+
states.error && (h("div", { class: sheet.classes.ErrorMessage },
|
|
106
|
+
h("sqm-form-message", { class: sheet.classes.ErrorMessage, type: "error" },
|
|
107
|
+
h("p", { part: "alert-description" }, states.error)))),
|
|
103
108
|
h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting ||
|
|
104
109
|
!states.countryCode ||
|
|
105
110
|
!states.currency ||
|
|
@@ -14,12 +14,6 @@ import { usePartnerInfoModal, } from "./usePartnerInfoModal";
|
|
|
14
14
|
*/
|
|
15
15
|
export class PartnerInfoModal {
|
|
16
16
|
constructor() {
|
|
17
|
-
/**
|
|
18
|
-
* Brand name shown in the modal header
|
|
19
|
-
*
|
|
20
|
-
* @uiName Brand name
|
|
21
|
-
*/
|
|
22
|
-
this.brandName = "";
|
|
23
17
|
/**
|
|
24
18
|
* Header text when user has no existing partner
|
|
25
19
|
*
|
|
@@ -135,27 +129,6 @@ export class PartnerInfoModal {
|
|
|
135
129
|
static get is() { return "sqm-partner-info-modal"; }
|
|
136
130
|
static get encapsulation() { return "shadow"; }
|
|
137
131
|
static get properties() { return {
|
|
138
|
-
"brandName": {
|
|
139
|
-
"type": "string",
|
|
140
|
-
"mutable": false,
|
|
141
|
-
"complexType": {
|
|
142
|
-
"original": "string",
|
|
143
|
-
"resolved": "string",
|
|
144
|
-
"references": {}
|
|
145
|
-
},
|
|
146
|
-
"required": false,
|
|
147
|
-
"optional": false,
|
|
148
|
-
"docs": {
|
|
149
|
-
"tags": [{
|
|
150
|
-
"text": "Brand name",
|
|
151
|
-
"name": "uiName"
|
|
152
|
-
}],
|
|
153
|
-
"text": "Brand name shown in the modal header"
|
|
154
|
-
},
|
|
155
|
-
"attribute": "brand-name",
|
|
156
|
-
"reflect": false,
|
|
157
|
-
"defaultValue": "\"\""
|
|
158
|
-
},
|
|
159
132
|
"modalHeader": {
|
|
160
133
|
"type": "string",
|
|
161
134
|
"mutable": false,
|
|
@@ -572,7 +545,7 @@ export class PartnerInfoModal {
|
|
|
572
545
|
"mutable": false,
|
|
573
546
|
"complexType": {
|
|
574
547
|
"original": "DemoData<PartnerInfoModalResult>",
|
|
575
|
-
"resolved": "{ states?: { open: boolean; loading: boolean; submitting: boolean; isExistingPartner: boolean; countryCode: string; currency: string; error: string; success: boolean;
|
|
548
|
+
"resolved": "{ states?: { open: boolean; loading: boolean; submitting: boolean; isExistingPartner: boolean; countryCode: string; currency: string; error: string; success: boolean; filteredCountries: { countryCode: string; displayName: string; }[]; filteredCurrencies: { currencyCode: string; displayName: string; }[]; allowBankingCollection: boolean; disabled: boolean; }; }",
|
|
576
549
|
"references": {
|
|
577
550
|
"DemoData": {
|
|
578
551
|
"location": "import",
|
|
@@ -609,7 +582,6 @@ function useDemoPartnerInfoModal(props) {
|
|
|
609
582
|
// @ts-ignore
|
|
610
583
|
return deepmerge({
|
|
611
584
|
states: {
|
|
612
|
-
brandName: "Test Brand",
|
|
613
585
|
open: false,
|
|
614
586
|
loading: false,
|
|
615
587
|
submitting: false,
|
|
@@ -621,7 +593,6 @@ function useDemoPartnerInfoModal(props) {
|
|
|
621
593
|
filteredCountries: [],
|
|
622
594
|
filteredCurrencies: [],
|
|
623
595
|
allowBankingCollection,
|
|
624
|
-
checkboxError: "",
|
|
625
596
|
disabled: false,
|
|
626
597
|
},
|
|
627
598
|
callbacks: {
|