@saasquatch/mint-components 1.12.0-11 → 1.12.0-13
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/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +165 -61
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +55 -15
- package/dist/cjs/sqm-code-verification.cjs.entry.js +5 -5
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-invoice-table-view-c58966f8.js → sqm-invoice-table-view-e92c557a.js} +79 -23
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +12 -21
- package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +7 -1
- package/dist/cjs/usePayoutStatus-5ac536a3.js +1045 -0
- package/dist/cjs/{useVerificationEmail-6aacdb71.js → useVerificationEmail-2eb28c2a.js} +5 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +3 -3
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +7 -1
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +5 -1
- package/dist/collection/components/tax-and-cash/BankingForm.stories.js +1 -0
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +76 -23
- package/dist/collection/components/tax-and-cash/eventKeys.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +32 -10
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +6 -1
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +3 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +3 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +0 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +0 -56
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +5 -9
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +28 -11
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +155 -6
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +20 -9
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +87 -23
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +153 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +13 -5
- package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +165 -61
- package/dist/esm/sqm-big-stat_39.entry.js +55 -15
- package/dist/esm/sqm-code-verification.entry.js +5 -5
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/{sqm-invoice-table-view-d1cfdaf4.js → sqm-invoice-table-view-c184248a.js} +79 -23
- package/dist/esm/sqm-stencilbook.entry.js +12 -21
- package/dist/esm/sqm-widget-verification-internal.entry.js +7 -1
- package/dist/esm/usePayoutStatus-d613ff10.js +1039 -0
- package/dist/esm/{useVerificationEmail-c32696ba.js → useVerificationEmail-2a21d0e3.js} +5 -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_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_39.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-invoice-table-view-c184248a.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-internal.entry.js +1 -1
- package/dist/esm-es5/usePayoutStatus-d613ff10.js +6 -0
- package/dist/esm-es5/useVerificationEmail-2a21d0e3.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-1712a9fd.entry.js → p-02892b2a.entry.js} +2 -2
- package/dist/mint-components/p-03e1ac96.system.entry.js +1 -0
- package/dist/mint-components/p-13ce67a3.js +1 -0
- package/dist/mint-components/p-209eab38.system.js +6 -0
- package/dist/mint-components/p-2584baa5.entry.js +16 -0
- package/dist/mint-components/p-2c99add0.js +31 -0
- package/dist/mint-components/{p-24092973.entry.js → p-4e21de5f.entry.js} +2 -2
- package/dist/mint-components/p-8c26c4ce.entry.js +195 -0
- package/dist/mint-components/{p-e45a8501.system.entry.js → p-8fa2809f.system.entry.js} +1 -1
- package/dist/mint-components/{p-b62faaa5.system.entry.js → p-9266a8fc.system.entry.js} +1 -1
- package/dist/mint-components/p-9379ee08.js +48 -0
- package/dist/mint-components/p-a567ba84.system.entry.js +1 -0
- package/dist/mint-components/p-a8c28561.system.js +1 -0
- package/dist/mint-components/{p-5f766d09.entry.js → p-a9b7e11f.entry.js} +2 -2
- package/dist/mint-components/p-b7836281.system.js +1 -0
- package/dist/mint-components/{p-331d060e.entry.js → p-b9e863d0.entry.js} +14 -14
- package/dist/mint-components/p-c520d10d.system.entry.js +1 -0
- package/dist/mint-components/{p-aabab609.system.entry.js → p-c5d26757.system.entry.js} +1 -1
- package/dist/mint-components/p-ca809fdd.system.js +1 -1
- package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +1 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +3 -0
- package/dist/types/components/tax-and-cash/eventKeys.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +2 -0
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +0 -4
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +1 -16
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +3 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +7 -2
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +25 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -4
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +8 -4
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +24 -0
- package/dist/types/components/tax-and-cash/useVeriffApp.d.ts +6 -0
- package/dist/types/components.d.ts +98 -22
- package/docs/docs.docx +0 -0
- package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
- package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -1
- package/dist/cjs/usePayoutStatus-b9fb7399.js +0 -70
- package/dist/esm/usePayoutStatus-1a635054.js +0 -67
- package/dist/esm-es5/sqm-invoice-table-view-d1cfdaf4.js +0 -1
- package/dist/esm-es5/usePayoutStatus-1a635054.js +0 -1
- package/dist/esm-es5/useVerificationEmail-c32696ba.js +0 -1
- package/dist/mint-components/p-0e45bc0e.system.entry.js +0 -1
- package/dist/mint-components/p-1e616d45.system.js +0 -1
- package/dist/mint-components/p-282a7d85.entry.js +0 -195
- package/dist/mint-components/p-4364001c.entry.js +0 -12
- package/dist/mint-components/p-4bd7a472.js +0 -1
- package/dist/mint-components/p-517224ef.js +0 -19
- package/dist/mint-components/p-8300d8c8.system.js +0 -1
- package/dist/mint-components/p-8bddb468.system.entry.js +0 -1
- package/dist/mint-components/p-974070c4.system.entry.js +0 -1
- package/dist/mint-components/p-d7806f31.js +0 -48
- package/dist/mint-components/p-e990dc21.system.js +0 -1
|
@@ -714,6 +714,7 @@ const stepFourProps = {
|
|
|
714
714
|
},
|
|
715
715
|
},
|
|
716
716
|
callbacks: {
|
|
717
|
+
onVerificationHide: () => { },
|
|
717
718
|
onVerification: () => { },
|
|
718
719
|
onSubmit: async () => console.log("Submit"),
|
|
719
720
|
setPaymentMethodChecked: () => { },
|
|
@@ -751,7 +752,7 @@ const docusignFormProps = {
|
|
|
751
752
|
};
|
|
752
753
|
const dashboardProps = {
|
|
753
754
|
states: {
|
|
754
|
-
|
|
755
|
+
veriffLoading: false,
|
|
755
756
|
payoutStatus: "DONE",
|
|
756
757
|
canEditPayoutInfo: true,
|
|
757
758
|
disabled: false,
|
|
@@ -1272,7 +1273,7 @@ const TaxAndCashDashboardActiveW8BENForm = () => {
|
|
|
1272
1273
|
...dashboardProps,
|
|
1273
1274
|
states: {
|
|
1274
1275
|
payoutStatus: "DONE",
|
|
1275
|
-
|
|
1276
|
+
veriffLoading: false,
|
|
1276
1277
|
noFormNeeded: false,
|
|
1277
1278
|
canEditPayoutInfo: true,
|
|
1278
1279
|
documentType: "W8BEN",
|
|
@@ -1290,7 +1291,7 @@ const TaxAndCashDashboardActiveW8BENEForm = () => {
|
|
|
1290
1291
|
...dashboardProps,
|
|
1291
1292
|
states: {
|
|
1292
1293
|
payoutStatus: "DONE",
|
|
1293
|
-
|
|
1294
|
+
veriffLoading: false,
|
|
1294
1295
|
noFormNeeded: false,
|
|
1295
1296
|
canEditPayoutInfo: true,
|
|
1296
1297
|
documentType: "W8BENE",
|
|
@@ -1308,7 +1309,7 @@ const TaxAndCashDashboardNotActiveW9Form = () => {
|
|
|
1308
1309
|
...dashboardProps,
|
|
1309
1310
|
states: {
|
|
1310
1311
|
payoutStatus: "DONE",
|
|
1311
|
-
|
|
1312
|
+
veriffLoading: false,
|
|
1312
1313
|
noFormNeeded: false,
|
|
1313
1314
|
canEditPayoutInfo: true,
|
|
1314
1315
|
status: "INACTIVE",
|
|
@@ -1327,7 +1328,6 @@ const TaxAndCashDashboardNotVerifiedW9Form = () => {
|
|
|
1327
1328
|
...dashboardProps,
|
|
1328
1329
|
states: {
|
|
1329
1330
|
payoutStatus: "DONE",
|
|
1330
|
-
showVerifyIdentity: false,
|
|
1331
1331
|
canEditPayoutInfo: true,
|
|
1332
1332
|
disabled: false,
|
|
1333
1333
|
status: "NOT_VERIFIED",
|
|
@@ -1339,6 +1339,7 @@ const TaxAndCashDashboardNotVerifiedW9Form = () => {
|
|
|
1339
1339
|
indirectTaxNumber: "123456",
|
|
1340
1340
|
showNewFormDialog: false,
|
|
1341
1341
|
hasHold: false,
|
|
1342
|
+
veriffLoading: false,
|
|
1342
1343
|
},
|
|
1343
1344
|
} }));
|
|
1344
1345
|
};
|
|
@@ -1347,7 +1348,7 @@ const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
|
|
|
1347
1348
|
...dashboardProps,
|
|
1348
1349
|
states: {
|
|
1349
1350
|
payoutStatus: "DONE",
|
|
1350
|
-
|
|
1351
|
+
veriffLoading: false,
|
|
1351
1352
|
canEditPayoutInfo: true,
|
|
1352
1353
|
disabled: false,
|
|
1353
1354
|
status: "NOT_VERIFIED",
|
|
@@ -1368,7 +1369,7 @@ const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
|
|
|
1368
1369
|
...dashboardProps,
|
|
1369
1370
|
states: {
|
|
1370
1371
|
payoutStatus: "DONE",
|
|
1371
|
-
|
|
1372
|
+
veriffLoading: false,
|
|
1372
1373
|
canEditPayoutInfo: true,
|
|
1373
1374
|
disabled: false,
|
|
1374
1375
|
status: "NOT_VERIFIED",
|
|
@@ -1389,7 +1390,7 @@ const TaxAndCashDashboardNotActiveW8BENEForm = () => {
|
|
|
1389
1390
|
...dashboardProps,
|
|
1390
1391
|
states: {
|
|
1391
1392
|
payoutStatus: "DONE",
|
|
1392
|
-
|
|
1393
|
+
veriffLoading: false,
|
|
1393
1394
|
canEditPayoutInfo: true,
|
|
1394
1395
|
disabled: false,
|
|
1395
1396
|
status: "NOT_ACTIVE",
|
|
@@ -1410,7 +1411,7 @@ const TaxAndCashDashboardNoFormNeeded = () => {
|
|
|
1410
1411
|
...dashboardProps,
|
|
1411
1412
|
states: {
|
|
1412
1413
|
payoutStatus: "DONE",
|
|
1413
|
-
|
|
1414
|
+
veriffLoading: false,
|
|
1414
1415
|
canEditPayoutInfo: true,
|
|
1415
1416
|
disabled: false,
|
|
1416
1417
|
documentType: "W9",
|
|
@@ -1431,7 +1432,7 @@ const TaxAndCashDashboardIndirectTaxCanada = () => {
|
|
|
1431
1432
|
...dashboardProps,
|
|
1432
1433
|
states: {
|
|
1433
1434
|
payoutStatus: "DONE",
|
|
1434
|
-
|
|
1435
|
+
veriffLoading: false,
|
|
1435
1436
|
canEditPayoutInfo: true,
|
|
1436
1437
|
status: "ACTIVE",
|
|
1437
1438
|
disabled: false,
|
|
@@ -1453,7 +1454,7 @@ const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
|
|
|
1453
1454
|
...dashboardProps,
|
|
1454
1455
|
states: {
|
|
1455
1456
|
payoutStatus: "DONE",
|
|
1456
|
-
|
|
1457
|
+
veriffLoading: false,
|
|
1457
1458
|
canEditPayoutInfo: true,
|
|
1458
1459
|
status: "ACTIVE",
|
|
1459
1460
|
disabled: false,
|
|
@@ -1476,7 +1477,7 @@ const TaxAndCashDashboardIndirectTaxSpain = () => {
|
|
|
1476
1477
|
...dashboardProps,
|
|
1477
1478
|
states: {
|
|
1478
1479
|
payoutStatus: "DONE",
|
|
1479
|
-
|
|
1480
|
+
veriffLoading: false,
|
|
1480
1481
|
canEditPayoutInfo: true,
|
|
1481
1482
|
status: "ACTIVE",
|
|
1482
1483
|
disabled: false,
|
|
@@ -1499,7 +1500,7 @@ const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
|
|
|
1499
1500
|
...dashboardProps,
|
|
1500
1501
|
states: {
|
|
1501
1502
|
payoutStatus: "DONE",
|
|
1502
|
-
|
|
1503
|
+
veriffLoading: false,
|
|
1503
1504
|
canEditPayoutInfo: true,
|
|
1504
1505
|
status: "ACTIVE",
|
|
1505
1506
|
documentType: "W8BEN",
|
|
@@ -1516,10 +1517,62 @@ const TaxAndCashDashboardIdentityVerifcationRequired = () => {
|
|
|
1516
1517
|
return (index.h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1517
1518
|
...dashboardProps,
|
|
1518
1519
|
states: {
|
|
1519
|
-
payoutStatus: "
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1520
|
+
payoutStatus: "VERIFICATION:REQUIRED",
|
|
1521
|
+
veriffLoading: false,
|
|
1522
|
+
canEditPayoutInfo: true,
|
|
1523
|
+
status: "ACTIVE",
|
|
1524
|
+
documentType: "W8BEN",
|
|
1525
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1526
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1527
|
+
noFormNeeded: false,
|
|
1528
|
+
notRegistered: true,
|
|
1529
|
+
showNewFormDialog: false,
|
|
1530
|
+
hasHold: false,
|
|
1531
|
+
},
|
|
1532
|
+
} }));
|
|
1533
|
+
};
|
|
1534
|
+
const TaxAndCashDashboardIdentityVerifcationRequiredInternal = () => {
|
|
1535
|
+
return (index.h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1536
|
+
...dashboardProps,
|
|
1537
|
+
states: {
|
|
1538
|
+
payoutStatus: "VERIFICATION:INTERNAL",
|
|
1539
|
+
veriffLoading: false,
|
|
1540
|
+
canEditPayoutInfo: true,
|
|
1541
|
+
status: "ACTIVE",
|
|
1542
|
+
documentType: "W8BEN",
|
|
1543
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1544
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1545
|
+
noFormNeeded: false,
|
|
1546
|
+
notRegistered: true,
|
|
1547
|
+
showNewFormDialog: false,
|
|
1548
|
+
hasHold: false,
|
|
1549
|
+
},
|
|
1550
|
+
} }));
|
|
1551
|
+
};
|
|
1552
|
+
const TaxAndCashDashboardIdentityVerifcationReviewInternal = () => {
|
|
1553
|
+
return (index.h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1554
|
+
...dashboardProps,
|
|
1555
|
+
states: {
|
|
1556
|
+
payoutStatus: "VERIFICATION:REVIEW",
|
|
1557
|
+
veriffLoading: false,
|
|
1558
|
+
canEditPayoutInfo: true,
|
|
1559
|
+
status: "ACTIVE",
|
|
1560
|
+
documentType: "W8BEN",
|
|
1561
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1562
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1563
|
+
noFormNeeded: false,
|
|
1564
|
+
notRegistered: true,
|
|
1565
|
+
showNewFormDialog: false,
|
|
1566
|
+
hasHold: false,
|
|
1567
|
+
},
|
|
1568
|
+
} }));
|
|
1569
|
+
};
|
|
1570
|
+
const TaxAndCashDashboardIdentityVerifcationFailedInternal = () => {
|
|
1571
|
+
return (index.h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1572
|
+
...dashboardProps,
|
|
1573
|
+
states: {
|
|
1574
|
+
payoutStatus: "VERIFICATION:FAILED",
|
|
1575
|
+
veriffLoading: false,
|
|
1523
1576
|
canEditPayoutInfo: true,
|
|
1524
1577
|
status: "ACTIVE",
|
|
1525
1578
|
documentType: "W8BEN",
|
|
@@ -1537,7 +1590,7 @@ const TaxAndCashDashboardNewTaxForm = () => {
|
|
|
1537
1590
|
...dashboardProps,
|
|
1538
1591
|
states: {
|
|
1539
1592
|
payoutStatus: "DONE",
|
|
1540
|
-
|
|
1593
|
+
veriffLoading: false,
|
|
1541
1594
|
canEditPayoutInfo: true,
|
|
1542
1595
|
status: "ACTIVE",
|
|
1543
1596
|
documentType: "W8BEN",
|
|
@@ -1555,7 +1608,7 @@ const TaxAndCashDashboardPayoutsOnHold = () => {
|
|
|
1555
1608
|
...dashboardProps,
|
|
1556
1609
|
states: {
|
|
1557
1610
|
payoutStatus: "DONE",
|
|
1558
|
-
|
|
1611
|
+
veriffLoading: false,
|
|
1559
1612
|
canEditPayoutInfo: true,
|
|
1560
1613
|
disabled: true,
|
|
1561
1614
|
status: "ACTIVE",
|
|
@@ -1575,7 +1628,7 @@ const TaxAndCashDashboardLoading = () => {
|
|
|
1575
1628
|
...dashboardProps,
|
|
1576
1629
|
states: {
|
|
1577
1630
|
payoutStatus: "DONE",
|
|
1578
|
-
|
|
1631
|
+
veriffLoading: false,
|
|
1579
1632
|
canEditPayoutInfo: true,
|
|
1580
1633
|
disabled: false,
|
|
1581
1634
|
status: "ACTIVE",
|
|
@@ -1594,7 +1647,7 @@ const TaxAndCashDashboardWithLoadingError = () => {
|
|
|
1594
1647
|
...dashboardProps,
|
|
1595
1648
|
states: {
|
|
1596
1649
|
payoutStatus: "DONE",
|
|
1597
|
-
|
|
1650
|
+
veriffLoading: false,
|
|
1598
1651
|
disabled: false,
|
|
1599
1652
|
canEditPayoutInfo: true,
|
|
1600
1653
|
status: "ACTIVE",
|
|
@@ -1614,7 +1667,7 @@ const TaxAndCashDashboardWithGeneralError = () => {
|
|
|
1614
1667
|
...dashboardProps,
|
|
1615
1668
|
states: {
|
|
1616
1669
|
payoutStatus: "DONE",
|
|
1617
|
-
|
|
1670
|
+
veriffLoading: false,
|
|
1618
1671
|
canEditPayoutInfo: true,
|
|
1619
1672
|
disabled: false,
|
|
1620
1673
|
status: "ACTIVE",
|
|
@@ -1638,7 +1691,7 @@ const TaxAndCashDashboardDisabled = () => {
|
|
|
1638
1691
|
...dashboardProps,
|
|
1639
1692
|
states: {
|
|
1640
1693
|
payoutStatus: "DONE",
|
|
1641
|
-
|
|
1694
|
+
veriffLoading: false,
|
|
1642
1695
|
canEditPayoutInfo: true,
|
|
1643
1696
|
disabled: true,
|
|
1644
1697
|
status: "ACTIVE",
|
|
@@ -1717,6 +1770,9 @@ const TaxForm = /*#__PURE__*/Object.freeze({
|
|
|
1717
1770
|
TaxAndCashDashboardIndirectTaxSpain: TaxAndCashDashboardIndirectTaxSpain,
|
|
1718
1771
|
TaxAndCashDashboardIndirectTaxNotRegistered: TaxAndCashDashboardIndirectTaxNotRegistered,
|
|
1719
1772
|
TaxAndCashDashboardIdentityVerifcationRequired: TaxAndCashDashboardIdentityVerifcationRequired,
|
|
1773
|
+
TaxAndCashDashboardIdentityVerifcationRequiredInternal: TaxAndCashDashboardIdentityVerifcationRequiredInternal,
|
|
1774
|
+
TaxAndCashDashboardIdentityVerifcationReviewInternal: TaxAndCashDashboardIdentityVerifcationReviewInternal,
|
|
1775
|
+
TaxAndCashDashboardIdentityVerifcationFailedInternal: TaxAndCashDashboardIdentityVerifcationFailedInternal,
|
|
1720
1776
|
TaxAndCashDashboardNewTaxForm: TaxAndCashDashboardNewTaxForm,
|
|
1721
1777
|
TaxAndCashDashboardPayoutsOnHold: TaxAndCashDashboardPayoutsOnHold,
|
|
1722
1778
|
TaxAndCashDashboardLoading: TaxAndCashDashboardLoading,
|
|
@@ -30,7 +30,7 @@ const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-96f
|
|
|
30
30
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
|
|
31
31
|
const ShadowViewAddon = require('./ShadowViewAddon-040cffad.js');
|
|
32
32
|
const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
|
|
33
|
-
const sqmInvoiceTableView = require('./sqm-invoice-table-view-
|
|
33
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-e92c557a.js');
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -14342,13 +14342,6 @@ const Loading$6 = () => {
|
|
|
14342
14342
|
},
|
|
14343
14343
|
} }));
|
|
14344
14344
|
};
|
|
14345
|
-
const Error$9 = () => {
|
|
14346
|
-
return (index.h("sqm-payout-details-card", { demoData: {
|
|
14347
|
-
states: {
|
|
14348
|
-
error: true,
|
|
14349
|
-
},
|
|
14350
|
-
} }));
|
|
14351
|
-
};
|
|
14352
14345
|
const NextPayout = () => {
|
|
14353
14346
|
return (index.h("sqm-payout-details-card", { demoData: {
|
|
14354
14347
|
states: {
|
|
@@ -14383,7 +14376,6 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
|
14383
14376
|
__proto__: null,
|
|
14384
14377
|
'default': PayoutDetailsCard_stories,
|
|
14385
14378
|
Loading: Loading$6,
|
|
14386
|
-
Error: Error$9,
|
|
14387
14379
|
NextPayout: NextPayout,
|
|
14388
14380
|
PayoutToday: PayoutToday,
|
|
14389
14381
|
ThresholdPayout: ThresholdPayout,
|
|
@@ -14412,6 +14404,7 @@ const bankingFormProps = {
|
|
|
14412
14404
|
loadingError: false,
|
|
14413
14405
|
},
|
|
14414
14406
|
callbacks: {
|
|
14407
|
+
onVerificationHide: () => { },
|
|
14415
14408
|
onVerification: () => { },
|
|
14416
14409
|
onSubmit: async () => console.log("Submit"),
|
|
14417
14410
|
setPaymentMethodChecked: () => { },
|
|
@@ -15115,30 +15108,28 @@ const defaultProps$n = {
|
|
|
15115
15108
|
error: false,
|
|
15116
15109
|
status: "INFORMATION_REQUIRED",
|
|
15117
15110
|
loading: false,
|
|
15118
|
-
|
|
15111
|
+
veriffLoading: false,
|
|
15119
15112
|
};
|
|
15120
15113
|
const InformationRequired = () => (index.h("sqm-payout-status-alert", { demoData: { states: defaultProps$n } }));
|
|
15121
|
-
const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "
|
|
15122
|
-
const
|
|
15123
|
-
|
|
15124
|
-
|
|
15125
|
-
status: "VERIFICATION_NEEDED",
|
|
15126
|
-
showVerifyIdentity: true,
|
|
15127
|
-
},
|
|
15128
|
-
} }));
|
|
15114
|
+
const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:REQUIRED" } } }));
|
|
15115
|
+
const VerifyIdentityRequiredInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:INTERNAL" } } }));
|
|
15116
|
+
const VerifyIdentityReviewInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:REVIEW" } } }));
|
|
15117
|
+
const VerifyIdentityFailedInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:FAILED" } } }));
|
|
15129
15118
|
const Hold = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "HOLD" } } }));
|
|
15130
15119
|
const Loading$9 = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, loading: true } } }));
|
|
15131
|
-
const Error$
|
|
15120
|
+
const Error$9 = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, error: true } } }));
|
|
15132
15121
|
|
|
15133
15122
|
const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
15134
15123
|
__proto__: null,
|
|
15135
15124
|
'default': PayoutStatusAlert_stories,
|
|
15136
15125
|
InformationRequired: InformationRequired,
|
|
15137
15126
|
VerifyIdentity: VerifyIdentity,
|
|
15138
|
-
|
|
15127
|
+
VerifyIdentityRequiredInternal: VerifyIdentityRequiredInternal,
|
|
15128
|
+
VerifyIdentityReviewInternal: VerifyIdentityReviewInternal,
|
|
15129
|
+
VerifyIdentityFailedInternal: VerifyIdentityFailedInternal,
|
|
15139
15130
|
Hold: Hold,
|
|
15140
15131
|
Loading: Loading$9,
|
|
15141
|
-
Error: Error$
|
|
15132
|
+
Error: Error$9
|
|
15142
15133
|
});
|
|
15143
15134
|
|
|
15144
15135
|
/**
|
|
@@ -17,6 +17,10 @@ const USER_LOOKUP = index_module.dist.gql `
|
|
|
17
17
|
accountId
|
|
18
18
|
email
|
|
19
19
|
emailVerified
|
|
20
|
+
managedIdentity {
|
|
21
|
+
email
|
|
22
|
+
emailVerified
|
|
23
|
+
}
|
|
20
24
|
}
|
|
21
25
|
}
|
|
22
26
|
}
|
|
@@ -36,13 +40,15 @@ function useWidgetVerificationInternal() {
|
|
|
36
40
|
const [fetch] = index_module.an(USER_LOOKUP);
|
|
37
41
|
stencilHooks_module.useEffect(() => {
|
|
38
42
|
const checkUser = async () => {
|
|
39
|
-
var _a;
|
|
43
|
+
var _a, _b, _c;
|
|
40
44
|
try {
|
|
41
45
|
const res = await fetch({});
|
|
42
46
|
if (!res || res instanceof Error)
|
|
43
47
|
throw new Error();
|
|
44
48
|
if ((_a = res === null || res === void 0 ? void 0 : res.viewer) === null || _a === void 0 ? void 0 : _a.emailVerified)
|
|
45
49
|
setContext(true);
|
|
50
|
+
else if ((_c = (_b = res === null || res === void 0 ? void 0 : res.viewer) === null || _b === void 0 ? void 0 : _b.managedIdentity) === null || _c === void 0 ? void 0 : _c.emailVerified)
|
|
51
|
+
setContext(true);
|
|
46
52
|
}
|
|
47
53
|
catch (e) {
|
|
48
54
|
console.error("Could not fetch user information:", e);
|