@saasquatch/mint-components 1.12.0-10 → 1.12.0-12
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 +138 -59
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +55 -15
- package/dist/cjs/sqm-code-verification.cjs.entry.js +4 -4
- package/dist/cjs/sqm-email-verification.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-invoice-table-view-c58966f8.js → sqm-invoice-table-view-301eed81.js} +78 -23
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +11 -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/useCodeVerification.js +3 -3
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +2 -2
- 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/TaxForm.stories.js +75 -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 +5 -5
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +3 -0
- 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 +86 -21
- 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/sqm-user-info-form/sqm-user-info-form-view.js +1 -6
- 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 +138 -59
- package/dist/esm/sqm-big-stat_39.entry.js +55 -15
- package/dist/esm/sqm-code-verification.entry.js +4 -4
- package/dist/esm/sqm-email-verification.entry.js +4 -4
- package/dist/esm/{sqm-invoice-table-view-d1cfdaf4.js → sqm-invoice-table-view-1f26f252.js} +78 -23
- package/dist/esm/sqm-stencilbook.entry.js +11 -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-1f26f252.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-03e1ac96.system.entry.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-635f1cf5.system.entry.js +1 -0
- package/dist/mint-components/p-78ec0d48.js +1 -0
- package/dist/mint-components/p-7d79f697.system.js +1 -0
- package/dist/mint-components/p-9379ee08.js +48 -0
- package/dist/mint-components/p-9ddcfcd7.entry.js +195 -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-a9b7e11f.entry.js +25 -0
- package/dist/mint-components/{p-1712a9fd.entry.js → p-b24b4d75.entry.js} +2 -2
- package/dist/mint-components/{p-331d060e.entry.js → p-b9e863d0.entry.js} +14 -14
- package/dist/mint-components/p-c5d26757.system.entry.js +1 -0
- package/dist/mint-components/{p-b62faaa5.system.entry.js → p-c5f84a95.system.entry.js} +1 -1
- package/dist/mint-components/p-ca809fdd.system.js +1 -1
- package/dist/mint-components/{p-e45a8501.system.entry.js → p-f7493ca6.system.entry.js} +1 -1
- package/dist/mint-components/{p-24092973.entry.js → p-f7902f51.entry.js} +2 -2
- 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-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/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-15c7a1d2.system.entry.js +0 -1
- package/dist/mint-components/p-1e616d45.system.js +0 -1
- 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-5a23b560.system.entry.js +0 -1
- 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-c41e1df8.entry.js +0 -195
- package/dist/mint-components/p-d7806f31.js +0 -48
- package/dist/mint-components/p-e990dc21.system.js +0 -1
- package/dist/mint-components/p-f340214f.entry.js +0 -25
|
@@ -751,7 +751,7 @@ const docusignFormProps = {
|
|
|
751
751
|
};
|
|
752
752
|
const dashboardProps = {
|
|
753
753
|
states: {
|
|
754
|
-
|
|
754
|
+
veriffLoading: false,
|
|
755
755
|
payoutStatus: "DONE",
|
|
756
756
|
canEditPayoutInfo: true,
|
|
757
757
|
disabled: false,
|
|
@@ -1272,7 +1272,7 @@ const TaxAndCashDashboardActiveW8BENForm = () => {
|
|
|
1272
1272
|
...dashboardProps,
|
|
1273
1273
|
states: {
|
|
1274
1274
|
payoutStatus: "DONE",
|
|
1275
|
-
|
|
1275
|
+
veriffLoading: false,
|
|
1276
1276
|
noFormNeeded: false,
|
|
1277
1277
|
canEditPayoutInfo: true,
|
|
1278
1278
|
documentType: "W8BEN",
|
|
@@ -1290,7 +1290,7 @@ const TaxAndCashDashboardActiveW8BENEForm = () => {
|
|
|
1290
1290
|
...dashboardProps,
|
|
1291
1291
|
states: {
|
|
1292
1292
|
payoutStatus: "DONE",
|
|
1293
|
-
|
|
1293
|
+
veriffLoading: false,
|
|
1294
1294
|
noFormNeeded: false,
|
|
1295
1295
|
canEditPayoutInfo: true,
|
|
1296
1296
|
documentType: "W8BENE",
|
|
@@ -1308,7 +1308,7 @@ const TaxAndCashDashboardNotActiveW9Form = () => {
|
|
|
1308
1308
|
...dashboardProps,
|
|
1309
1309
|
states: {
|
|
1310
1310
|
payoutStatus: "DONE",
|
|
1311
|
-
|
|
1311
|
+
veriffLoading: false,
|
|
1312
1312
|
noFormNeeded: false,
|
|
1313
1313
|
canEditPayoutInfo: true,
|
|
1314
1314
|
status: "INACTIVE",
|
|
@@ -1327,7 +1327,6 @@ const TaxAndCashDashboardNotVerifiedW9Form = () => {
|
|
|
1327
1327
|
...dashboardProps,
|
|
1328
1328
|
states: {
|
|
1329
1329
|
payoutStatus: "DONE",
|
|
1330
|
-
showVerifyIdentity: false,
|
|
1331
1330
|
canEditPayoutInfo: true,
|
|
1332
1331
|
disabled: false,
|
|
1333
1332
|
status: "NOT_VERIFIED",
|
|
@@ -1339,6 +1338,7 @@ const TaxAndCashDashboardNotVerifiedW9Form = () => {
|
|
|
1339
1338
|
indirectTaxNumber: "123456",
|
|
1340
1339
|
showNewFormDialog: false,
|
|
1341
1340
|
hasHold: false,
|
|
1341
|
+
veriffLoading: false,
|
|
1342
1342
|
},
|
|
1343
1343
|
} }));
|
|
1344
1344
|
};
|
|
@@ -1347,7 +1347,7 @@ const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
|
|
|
1347
1347
|
...dashboardProps,
|
|
1348
1348
|
states: {
|
|
1349
1349
|
payoutStatus: "DONE",
|
|
1350
|
-
|
|
1350
|
+
veriffLoading: false,
|
|
1351
1351
|
canEditPayoutInfo: true,
|
|
1352
1352
|
disabled: false,
|
|
1353
1353
|
status: "NOT_VERIFIED",
|
|
@@ -1368,7 +1368,7 @@ const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
|
|
|
1368
1368
|
...dashboardProps,
|
|
1369
1369
|
states: {
|
|
1370
1370
|
payoutStatus: "DONE",
|
|
1371
|
-
|
|
1371
|
+
veriffLoading: false,
|
|
1372
1372
|
canEditPayoutInfo: true,
|
|
1373
1373
|
disabled: false,
|
|
1374
1374
|
status: "NOT_VERIFIED",
|
|
@@ -1389,7 +1389,7 @@ const TaxAndCashDashboardNotActiveW8BENEForm = () => {
|
|
|
1389
1389
|
...dashboardProps,
|
|
1390
1390
|
states: {
|
|
1391
1391
|
payoutStatus: "DONE",
|
|
1392
|
-
|
|
1392
|
+
veriffLoading: false,
|
|
1393
1393
|
canEditPayoutInfo: true,
|
|
1394
1394
|
disabled: false,
|
|
1395
1395
|
status: "NOT_ACTIVE",
|
|
@@ -1410,7 +1410,7 @@ const TaxAndCashDashboardNoFormNeeded = () => {
|
|
|
1410
1410
|
...dashboardProps,
|
|
1411
1411
|
states: {
|
|
1412
1412
|
payoutStatus: "DONE",
|
|
1413
|
-
|
|
1413
|
+
veriffLoading: false,
|
|
1414
1414
|
canEditPayoutInfo: true,
|
|
1415
1415
|
disabled: false,
|
|
1416
1416
|
documentType: "W9",
|
|
@@ -1431,7 +1431,7 @@ const TaxAndCashDashboardIndirectTaxCanada = () => {
|
|
|
1431
1431
|
...dashboardProps,
|
|
1432
1432
|
states: {
|
|
1433
1433
|
payoutStatus: "DONE",
|
|
1434
|
-
|
|
1434
|
+
veriffLoading: false,
|
|
1435
1435
|
canEditPayoutInfo: true,
|
|
1436
1436
|
status: "ACTIVE",
|
|
1437
1437
|
disabled: false,
|
|
@@ -1453,7 +1453,7 @@ const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
|
|
|
1453
1453
|
...dashboardProps,
|
|
1454
1454
|
states: {
|
|
1455
1455
|
payoutStatus: "DONE",
|
|
1456
|
-
|
|
1456
|
+
veriffLoading: false,
|
|
1457
1457
|
canEditPayoutInfo: true,
|
|
1458
1458
|
status: "ACTIVE",
|
|
1459
1459
|
disabled: false,
|
|
@@ -1476,7 +1476,7 @@ const TaxAndCashDashboardIndirectTaxSpain = () => {
|
|
|
1476
1476
|
...dashboardProps,
|
|
1477
1477
|
states: {
|
|
1478
1478
|
payoutStatus: "DONE",
|
|
1479
|
-
|
|
1479
|
+
veriffLoading: false,
|
|
1480
1480
|
canEditPayoutInfo: true,
|
|
1481
1481
|
status: "ACTIVE",
|
|
1482
1482
|
disabled: false,
|
|
@@ -1499,7 +1499,7 @@ const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
|
|
|
1499
1499
|
...dashboardProps,
|
|
1500
1500
|
states: {
|
|
1501
1501
|
payoutStatus: "DONE",
|
|
1502
|
-
|
|
1502
|
+
veriffLoading: false,
|
|
1503
1503
|
canEditPayoutInfo: true,
|
|
1504
1504
|
status: "ACTIVE",
|
|
1505
1505
|
documentType: "W8BEN",
|
|
@@ -1516,10 +1516,62 @@ const TaxAndCashDashboardIdentityVerifcationRequired = () => {
|
|
|
1516
1516
|
return (index.h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1517
1517
|
...dashboardProps,
|
|
1518
1518
|
states: {
|
|
1519
|
-
payoutStatus: "
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1519
|
+
payoutStatus: "VERIFICATION:REQUIRED",
|
|
1520
|
+
veriffLoading: false,
|
|
1521
|
+
canEditPayoutInfo: true,
|
|
1522
|
+
status: "ACTIVE",
|
|
1523
|
+
documentType: "W8BEN",
|
|
1524
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1525
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1526
|
+
noFormNeeded: false,
|
|
1527
|
+
notRegistered: true,
|
|
1528
|
+
showNewFormDialog: false,
|
|
1529
|
+
hasHold: false,
|
|
1530
|
+
},
|
|
1531
|
+
} }));
|
|
1532
|
+
};
|
|
1533
|
+
const TaxAndCashDashboardIdentityVerifcationRequiredInternal = () => {
|
|
1534
|
+
return (index.h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1535
|
+
...dashboardProps,
|
|
1536
|
+
states: {
|
|
1537
|
+
payoutStatus: "VERIFICATION:INTERNAL",
|
|
1538
|
+
veriffLoading: false,
|
|
1539
|
+
canEditPayoutInfo: true,
|
|
1540
|
+
status: "ACTIVE",
|
|
1541
|
+
documentType: "W8BEN",
|
|
1542
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1543
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1544
|
+
noFormNeeded: false,
|
|
1545
|
+
notRegistered: true,
|
|
1546
|
+
showNewFormDialog: false,
|
|
1547
|
+
hasHold: false,
|
|
1548
|
+
},
|
|
1549
|
+
} }));
|
|
1550
|
+
};
|
|
1551
|
+
const TaxAndCashDashboardIdentityVerifcationReviewInternal = () => {
|
|
1552
|
+
return (index.h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1553
|
+
...dashboardProps,
|
|
1554
|
+
states: {
|
|
1555
|
+
payoutStatus: "VERIFICATION:REVIEW",
|
|
1556
|
+
veriffLoading: false,
|
|
1557
|
+
canEditPayoutInfo: true,
|
|
1558
|
+
status: "ACTIVE",
|
|
1559
|
+
documentType: "W8BEN",
|
|
1560
|
+
documentTypeString: taxTypeToName("W8BEN"),
|
|
1561
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
1562
|
+
noFormNeeded: false,
|
|
1563
|
+
notRegistered: true,
|
|
1564
|
+
showNewFormDialog: false,
|
|
1565
|
+
hasHold: false,
|
|
1566
|
+
},
|
|
1567
|
+
} }));
|
|
1568
|
+
};
|
|
1569
|
+
const TaxAndCashDashboardIdentityVerifcationFailedInternal = () => {
|
|
1570
|
+
return (index.h("sqm-tax-and-cash-dashboard", { demoData: {
|
|
1571
|
+
...dashboardProps,
|
|
1572
|
+
states: {
|
|
1573
|
+
payoutStatus: "VERIFICATION:FAILED",
|
|
1574
|
+
veriffLoading: false,
|
|
1523
1575
|
canEditPayoutInfo: true,
|
|
1524
1576
|
status: "ACTIVE",
|
|
1525
1577
|
documentType: "W8BEN",
|
|
@@ -1537,7 +1589,7 @@ const TaxAndCashDashboardNewTaxForm = () => {
|
|
|
1537
1589
|
...dashboardProps,
|
|
1538
1590
|
states: {
|
|
1539
1591
|
payoutStatus: "DONE",
|
|
1540
|
-
|
|
1592
|
+
veriffLoading: false,
|
|
1541
1593
|
canEditPayoutInfo: true,
|
|
1542
1594
|
status: "ACTIVE",
|
|
1543
1595
|
documentType: "W8BEN",
|
|
@@ -1555,7 +1607,7 @@ const TaxAndCashDashboardPayoutsOnHold = () => {
|
|
|
1555
1607
|
...dashboardProps,
|
|
1556
1608
|
states: {
|
|
1557
1609
|
payoutStatus: "DONE",
|
|
1558
|
-
|
|
1610
|
+
veriffLoading: false,
|
|
1559
1611
|
canEditPayoutInfo: true,
|
|
1560
1612
|
disabled: true,
|
|
1561
1613
|
status: "ACTIVE",
|
|
@@ -1575,7 +1627,7 @@ const TaxAndCashDashboardLoading = () => {
|
|
|
1575
1627
|
...dashboardProps,
|
|
1576
1628
|
states: {
|
|
1577
1629
|
payoutStatus: "DONE",
|
|
1578
|
-
|
|
1630
|
+
veriffLoading: false,
|
|
1579
1631
|
canEditPayoutInfo: true,
|
|
1580
1632
|
disabled: false,
|
|
1581
1633
|
status: "ACTIVE",
|
|
@@ -1594,7 +1646,7 @@ const TaxAndCashDashboardWithLoadingError = () => {
|
|
|
1594
1646
|
...dashboardProps,
|
|
1595
1647
|
states: {
|
|
1596
1648
|
payoutStatus: "DONE",
|
|
1597
|
-
|
|
1649
|
+
veriffLoading: false,
|
|
1598
1650
|
disabled: false,
|
|
1599
1651
|
canEditPayoutInfo: true,
|
|
1600
1652
|
status: "ACTIVE",
|
|
@@ -1614,7 +1666,7 @@ const TaxAndCashDashboardWithGeneralError = () => {
|
|
|
1614
1666
|
...dashboardProps,
|
|
1615
1667
|
states: {
|
|
1616
1668
|
payoutStatus: "DONE",
|
|
1617
|
-
|
|
1669
|
+
veriffLoading: false,
|
|
1618
1670
|
canEditPayoutInfo: true,
|
|
1619
1671
|
disabled: false,
|
|
1620
1672
|
status: "ACTIVE",
|
|
@@ -1638,7 +1690,7 @@ const TaxAndCashDashboardDisabled = () => {
|
|
|
1638
1690
|
...dashboardProps,
|
|
1639
1691
|
states: {
|
|
1640
1692
|
payoutStatus: "DONE",
|
|
1641
|
-
|
|
1693
|
+
veriffLoading: false,
|
|
1642
1694
|
canEditPayoutInfo: true,
|
|
1643
1695
|
disabled: true,
|
|
1644
1696
|
status: "ACTIVE",
|
|
@@ -1717,6 +1769,9 @@ const TaxForm = /*#__PURE__*/Object.freeze({
|
|
|
1717
1769
|
TaxAndCashDashboardIndirectTaxSpain: TaxAndCashDashboardIndirectTaxSpain,
|
|
1718
1770
|
TaxAndCashDashboardIndirectTaxNotRegistered: TaxAndCashDashboardIndirectTaxNotRegistered,
|
|
1719
1771
|
TaxAndCashDashboardIdentityVerifcationRequired: TaxAndCashDashboardIdentityVerifcationRequired,
|
|
1772
|
+
TaxAndCashDashboardIdentityVerifcationRequiredInternal: TaxAndCashDashboardIdentityVerifcationRequiredInternal,
|
|
1773
|
+
TaxAndCashDashboardIdentityVerifcationReviewInternal: TaxAndCashDashboardIdentityVerifcationReviewInternal,
|
|
1774
|
+
TaxAndCashDashboardIdentityVerifcationFailedInternal: TaxAndCashDashboardIdentityVerifcationFailedInternal,
|
|
1720
1775
|
TaxAndCashDashboardNewTaxForm: TaxAndCashDashboardNewTaxForm,
|
|
1721
1776
|
TaxAndCashDashboardPayoutsOnHold: TaxAndCashDashboardPayoutsOnHold,
|
|
1722
1777
|
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-301eed81.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,
|
|
@@ -15115,30 +15107,28 @@ const defaultProps$n = {
|
|
|
15115
15107
|
error: false,
|
|
15116
15108
|
status: "INFORMATION_REQUIRED",
|
|
15117
15109
|
loading: false,
|
|
15118
|
-
|
|
15110
|
+
veriffLoading: false,
|
|
15119
15111
|
};
|
|
15120
15112
|
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
|
-
} }));
|
|
15113
|
+
const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:REQUIRED" } } }));
|
|
15114
|
+
const VerifyIdentityRequiredInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:INTERNAL" } } }));
|
|
15115
|
+
const VerifyIdentityReviewInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:REVIEW" } } }));
|
|
15116
|
+
const VerifyIdentityFailedInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:FAILED" } } }));
|
|
15129
15117
|
const Hold = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "HOLD" } } }));
|
|
15130
15118
|
const Loading$9 = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, loading: true } } }));
|
|
15131
|
-
const Error$
|
|
15119
|
+
const Error$9 = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, error: true } } }));
|
|
15132
15120
|
|
|
15133
15121
|
const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
15134
15122
|
__proto__: null,
|
|
15135
15123
|
'default': PayoutStatusAlert_stories,
|
|
15136
15124
|
InformationRequired: InformationRequired,
|
|
15137
15125
|
VerifyIdentity: VerifyIdentity,
|
|
15138
|
-
|
|
15126
|
+
VerifyIdentityRequiredInternal: VerifyIdentityRequiredInternal,
|
|
15127
|
+
VerifyIdentityReviewInternal: VerifyIdentityReviewInternal,
|
|
15128
|
+
VerifyIdentityFailedInternal: VerifyIdentityFailedInternal,
|
|
15139
15129
|
Hold: Hold,
|
|
15140
15130
|
Loading: Loading$9,
|
|
15141
|
-
Error: Error$
|
|
15131
|
+
Error: Error$9
|
|
15142
15132
|
});
|
|
15143
15133
|
|
|
15144
15134
|
/**
|
|
@@ -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);
|