@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.
Files changed (112) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/mint-components.cjs.js +1 -1
  3. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +165 -61
  4. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +55 -15
  5. package/dist/cjs/sqm-code-verification.cjs.entry.js +5 -5
  6. package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
  7. package/dist/cjs/{sqm-invoice-table-view-c58966f8.js → sqm-invoice-table-view-e92c557a.js} +79 -23
  8. package/dist/cjs/sqm-stencilbook.cjs.entry.js +12 -21
  9. package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +7 -1
  10. package/dist/cjs/usePayoutStatus-5ac536a3.js +1045 -0
  11. package/dist/cjs/{useVerificationEmail-6aacdb71.js → useVerificationEmail-2eb28c2a.js} +5 -1
  12. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +1 -1
  13. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +3 -3
  14. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +7 -1
  15. package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +5 -1
  16. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +1 -0
  17. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +76 -23
  18. package/dist/collection/components/tax-and-cash/eventKeys.js +1 -0
  19. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +32 -10
  20. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +6 -1
  21. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +3 -0
  22. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +3 -0
  23. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +0 -7
  24. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -5
  25. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +0 -56
  26. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +5 -9
  27. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +28 -11
  28. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +155 -6
  29. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +20 -9
  30. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +87 -23
  31. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +153 -2
  32. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +13 -5
  33. package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
  34. package/dist/esm/loader.js +1 -1
  35. package/dist/esm/mint-components.js +1 -1
  36. package/dist/esm/sqm-banking-info-form_16.entry.js +165 -61
  37. package/dist/esm/sqm-big-stat_39.entry.js +55 -15
  38. package/dist/esm/sqm-code-verification.entry.js +5 -5
  39. package/dist/esm/sqm-email-verification.entry.js +1 -1
  40. package/dist/esm/{sqm-invoice-table-view-d1cfdaf4.js → sqm-invoice-table-view-c184248a.js} +79 -23
  41. package/dist/esm/sqm-stencilbook.entry.js +12 -21
  42. package/dist/esm/sqm-widget-verification-internal.entry.js +7 -1
  43. package/dist/esm/usePayoutStatus-d613ff10.js +1039 -0
  44. package/dist/esm/{useVerificationEmail-c32696ba.js → useVerificationEmail-2a21d0e3.js} +5 -1
  45. package/dist/esm-es5/loader.js +1 -1
  46. package/dist/esm-es5/mint-components.js +1 -1
  47. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  48. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  49. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  50. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  51. package/dist/esm-es5/sqm-invoice-table-view-c184248a.js +1 -0
  52. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  53. package/dist/esm-es5/sqm-widget-verification-internal.entry.js +1 -1
  54. package/dist/esm-es5/usePayoutStatus-d613ff10.js +6 -0
  55. package/dist/esm-es5/useVerificationEmail-2a21d0e3.js +1 -0
  56. package/dist/mint-components/mint-components.esm.js +1 -1
  57. package/dist/mint-components/{p-1712a9fd.entry.js → p-02892b2a.entry.js} +2 -2
  58. package/dist/mint-components/p-03e1ac96.system.entry.js +1 -0
  59. package/dist/mint-components/p-13ce67a3.js +1 -0
  60. package/dist/mint-components/p-209eab38.system.js +6 -0
  61. package/dist/mint-components/p-2584baa5.entry.js +16 -0
  62. package/dist/mint-components/p-2c99add0.js +31 -0
  63. package/dist/mint-components/{p-24092973.entry.js → p-4e21de5f.entry.js} +2 -2
  64. package/dist/mint-components/p-8c26c4ce.entry.js +195 -0
  65. package/dist/mint-components/{p-e45a8501.system.entry.js → p-8fa2809f.system.entry.js} +1 -1
  66. package/dist/mint-components/{p-b62faaa5.system.entry.js → p-9266a8fc.system.entry.js} +1 -1
  67. package/dist/mint-components/p-9379ee08.js +48 -0
  68. package/dist/mint-components/p-a567ba84.system.entry.js +1 -0
  69. package/dist/mint-components/p-a8c28561.system.js +1 -0
  70. package/dist/mint-components/{p-5f766d09.entry.js → p-a9b7e11f.entry.js} +2 -2
  71. package/dist/mint-components/p-b7836281.system.js +1 -0
  72. package/dist/mint-components/{p-331d060e.entry.js → p-b9e863d0.entry.js} +14 -14
  73. package/dist/mint-components/p-c520d10d.system.entry.js +1 -0
  74. package/dist/mint-components/{p-aabab609.system.entry.js → p-c5d26757.system.entry.js} +1 -1
  75. package/dist/mint-components/p-ca809fdd.system.js +1 -1
  76. package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +1 -0
  77. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +3 -0
  78. package/dist/types/components/tax-and-cash/eventKeys.d.ts +1 -0
  79. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +2 -0
  80. package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +0 -1
  81. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +0 -4
  82. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +1 -16
  83. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +3 -1
  84. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +7 -2
  85. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +25 -0
  86. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -4
  87. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +8 -4
  88. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +24 -0
  89. package/dist/types/components/tax-and-cash/useVeriffApp.d.ts +6 -0
  90. package/dist/types/components.d.ts +98 -22
  91. package/docs/docs.docx +0 -0
  92. package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
  93. package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
  94. package/docs/raisins.json +1 -1
  95. package/grapesjs/grapesjs.js +1 -1
  96. package/package.json +2 -1
  97. package/dist/cjs/usePayoutStatus-b9fb7399.js +0 -70
  98. package/dist/esm/usePayoutStatus-1a635054.js +0 -67
  99. package/dist/esm-es5/sqm-invoice-table-view-d1cfdaf4.js +0 -1
  100. package/dist/esm-es5/usePayoutStatus-1a635054.js +0 -1
  101. package/dist/esm-es5/useVerificationEmail-c32696ba.js +0 -1
  102. package/dist/mint-components/p-0e45bc0e.system.entry.js +0 -1
  103. package/dist/mint-components/p-1e616d45.system.js +0 -1
  104. package/dist/mint-components/p-282a7d85.entry.js +0 -195
  105. package/dist/mint-components/p-4364001c.entry.js +0 -12
  106. package/dist/mint-components/p-4bd7a472.js +0 -1
  107. package/dist/mint-components/p-517224ef.js +0 -19
  108. package/dist/mint-components/p-8300d8c8.system.js +0 -1
  109. package/dist/mint-components/p-8bddb468.system.entry.js +0 -1
  110. package/dist/mint-components/p-974070c4.system.entry.js +0 -1
  111. package/dist/mint-components/p-d7806f31.js +0 -48
  112. package/dist/mint-components/p-e990dc21.system.js +0 -1
@@ -712,6 +712,7 @@ const stepFourProps = {
712
712
  },
713
713
  },
714
714
  callbacks: {
715
+ onVerificationHide: () => { },
715
716
  onVerification: () => { },
716
717
  onSubmit: async () => console.log("Submit"),
717
718
  setPaymentMethodChecked: () => { },
@@ -749,7 +750,7 @@ const docusignFormProps = {
749
750
  };
750
751
  const dashboardProps = {
751
752
  states: {
752
- showVerifyIdentity: false,
753
+ veriffLoading: false,
753
754
  payoutStatus: "DONE",
754
755
  canEditPayoutInfo: true,
755
756
  disabled: false,
@@ -1270,7 +1271,7 @@ const TaxAndCashDashboardActiveW8BENForm = () => {
1270
1271
  ...dashboardProps,
1271
1272
  states: {
1272
1273
  payoutStatus: "DONE",
1273
- showVerifyIdentity: false,
1274
+ veriffLoading: false,
1274
1275
  noFormNeeded: false,
1275
1276
  canEditPayoutInfo: true,
1276
1277
  documentType: "W8BEN",
@@ -1288,7 +1289,7 @@ const TaxAndCashDashboardActiveW8BENEForm = () => {
1288
1289
  ...dashboardProps,
1289
1290
  states: {
1290
1291
  payoutStatus: "DONE",
1291
- showVerifyIdentity: false,
1292
+ veriffLoading: false,
1292
1293
  noFormNeeded: false,
1293
1294
  canEditPayoutInfo: true,
1294
1295
  documentType: "W8BENE",
@@ -1306,7 +1307,7 @@ const TaxAndCashDashboardNotActiveW9Form = () => {
1306
1307
  ...dashboardProps,
1307
1308
  states: {
1308
1309
  payoutStatus: "DONE",
1309
- showVerifyIdentity: false,
1310
+ veriffLoading: false,
1310
1311
  noFormNeeded: false,
1311
1312
  canEditPayoutInfo: true,
1312
1313
  status: "INACTIVE",
@@ -1325,7 +1326,6 @@ const TaxAndCashDashboardNotVerifiedW9Form = () => {
1325
1326
  ...dashboardProps,
1326
1327
  states: {
1327
1328
  payoutStatus: "DONE",
1328
- showVerifyIdentity: false,
1329
1329
  canEditPayoutInfo: true,
1330
1330
  disabled: false,
1331
1331
  status: "NOT_VERIFIED",
@@ -1337,6 +1337,7 @@ const TaxAndCashDashboardNotVerifiedW9Form = () => {
1337
1337
  indirectTaxNumber: "123456",
1338
1338
  showNewFormDialog: false,
1339
1339
  hasHold: false,
1340
+ veriffLoading: false,
1340
1341
  },
1341
1342
  } }));
1342
1343
  };
@@ -1345,7 +1346,7 @@ const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
1345
1346
  ...dashboardProps,
1346
1347
  states: {
1347
1348
  payoutStatus: "DONE",
1348
- showVerifyIdentity: false,
1349
+ veriffLoading: false,
1349
1350
  canEditPayoutInfo: true,
1350
1351
  disabled: false,
1351
1352
  status: "NOT_VERIFIED",
@@ -1366,7 +1367,7 @@ const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
1366
1367
  ...dashboardProps,
1367
1368
  states: {
1368
1369
  payoutStatus: "DONE",
1369
- showVerifyIdentity: false,
1370
+ veriffLoading: false,
1370
1371
  canEditPayoutInfo: true,
1371
1372
  disabled: false,
1372
1373
  status: "NOT_VERIFIED",
@@ -1387,7 +1388,7 @@ const TaxAndCashDashboardNotActiveW8BENEForm = () => {
1387
1388
  ...dashboardProps,
1388
1389
  states: {
1389
1390
  payoutStatus: "DONE",
1390
- showVerifyIdentity: false,
1391
+ veriffLoading: false,
1391
1392
  canEditPayoutInfo: true,
1392
1393
  disabled: false,
1393
1394
  status: "NOT_ACTIVE",
@@ -1408,7 +1409,7 @@ const TaxAndCashDashboardNoFormNeeded = () => {
1408
1409
  ...dashboardProps,
1409
1410
  states: {
1410
1411
  payoutStatus: "DONE",
1411
- showVerifyIdentity: false,
1412
+ veriffLoading: false,
1412
1413
  canEditPayoutInfo: true,
1413
1414
  disabled: false,
1414
1415
  documentType: "W9",
@@ -1429,7 +1430,7 @@ const TaxAndCashDashboardIndirectTaxCanada = () => {
1429
1430
  ...dashboardProps,
1430
1431
  states: {
1431
1432
  payoutStatus: "DONE",
1432
- showVerifyIdentity: false,
1433
+ veriffLoading: false,
1433
1434
  canEditPayoutInfo: true,
1434
1435
  status: "ACTIVE",
1435
1436
  disabled: false,
@@ -1451,7 +1452,7 @@ const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
1451
1452
  ...dashboardProps,
1452
1453
  states: {
1453
1454
  payoutStatus: "DONE",
1454
- showVerifyIdentity: false,
1455
+ veriffLoading: false,
1455
1456
  canEditPayoutInfo: true,
1456
1457
  status: "ACTIVE",
1457
1458
  disabled: false,
@@ -1474,7 +1475,7 @@ const TaxAndCashDashboardIndirectTaxSpain = () => {
1474
1475
  ...dashboardProps,
1475
1476
  states: {
1476
1477
  payoutStatus: "DONE",
1477
- showVerifyIdentity: false,
1478
+ veriffLoading: false,
1478
1479
  canEditPayoutInfo: true,
1479
1480
  status: "ACTIVE",
1480
1481
  disabled: false,
@@ -1497,7 +1498,7 @@ const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
1497
1498
  ...dashboardProps,
1498
1499
  states: {
1499
1500
  payoutStatus: "DONE",
1500
- showVerifyIdentity: false,
1501
+ veriffLoading: false,
1501
1502
  canEditPayoutInfo: true,
1502
1503
  status: "ACTIVE",
1503
1504
  documentType: "W8BEN",
@@ -1514,10 +1515,62 @@ const TaxAndCashDashboardIdentityVerifcationRequired = () => {
1514
1515
  return (h("sqm-tax-and-cash-dashboard", { demoData: {
1515
1516
  ...dashboardProps,
1516
1517
  states: {
1517
- payoutStatus: "VERIFICATION_NEEDED",
1518
- showVerifyIdentity: true,
1519
- showIdentityVerificationDialog: true,
1520
- identiyRequired: true,
1518
+ payoutStatus: "VERIFICATION:REQUIRED",
1519
+ veriffLoading: false,
1520
+ canEditPayoutInfo: true,
1521
+ status: "ACTIVE",
1522
+ documentType: "W8BEN",
1523
+ documentTypeString: taxTypeToName("W8BEN"),
1524
+ dateSubmitted: "Jan 18th, 2025",
1525
+ noFormNeeded: false,
1526
+ notRegistered: true,
1527
+ showNewFormDialog: false,
1528
+ hasHold: false,
1529
+ },
1530
+ } }));
1531
+ };
1532
+ const TaxAndCashDashboardIdentityVerifcationRequiredInternal = () => {
1533
+ return (h("sqm-tax-and-cash-dashboard", { demoData: {
1534
+ ...dashboardProps,
1535
+ states: {
1536
+ payoutStatus: "VERIFICATION:INTERNAL",
1537
+ veriffLoading: false,
1538
+ canEditPayoutInfo: true,
1539
+ status: "ACTIVE",
1540
+ documentType: "W8BEN",
1541
+ documentTypeString: taxTypeToName("W8BEN"),
1542
+ dateSubmitted: "Jan 18th, 2025",
1543
+ noFormNeeded: false,
1544
+ notRegistered: true,
1545
+ showNewFormDialog: false,
1546
+ hasHold: false,
1547
+ },
1548
+ } }));
1549
+ };
1550
+ const TaxAndCashDashboardIdentityVerifcationReviewInternal = () => {
1551
+ return (h("sqm-tax-and-cash-dashboard", { demoData: {
1552
+ ...dashboardProps,
1553
+ states: {
1554
+ payoutStatus: "VERIFICATION:REVIEW",
1555
+ veriffLoading: false,
1556
+ canEditPayoutInfo: true,
1557
+ status: "ACTIVE",
1558
+ documentType: "W8BEN",
1559
+ documentTypeString: taxTypeToName("W8BEN"),
1560
+ dateSubmitted: "Jan 18th, 2025",
1561
+ noFormNeeded: false,
1562
+ notRegistered: true,
1563
+ showNewFormDialog: false,
1564
+ hasHold: false,
1565
+ },
1566
+ } }));
1567
+ };
1568
+ const TaxAndCashDashboardIdentityVerifcationFailedInternal = () => {
1569
+ return (h("sqm-tax-and-cash-dashboard", { demoData: {
1570
+ ...dashboardProps,
1571
+ states: {
1572
+ payoutStatus: "VERIFICATION:FAILED",
1573
+ veriffLoading: false,
1521
1574
  canEditPayoutInfo: true,
1522
1575
  status: "ACTIVE",
1523
1576
  documentType: "W8BEN",
@@ -1535,7 +1588,7 @@ const TaxAndCashDashboardNewTaxForm = () => {
1535
1588
  ...dashboardProps,
1536
1589
  states: {
1537
1590
  payoutStatus: "DONE",
1538
- showVerifyIdentity: false,
1591
+ veriffLoading: false,
1539
1592
  canEditPayoutInfo: true,
1540
1593
  status: "ACTIVE",
1541
1594
  documentType: "W8BEN",
@@ -1553,7 +1606,7 @@ const TaxAndCashDashboardPayoutsOnHold = () => {
1553
1606
  ...dashboardProps,
1554
1607
  states: {
1555
1608
  payoutStatus: "DONE",
1556
- showVerifyIdentity: false,
1609
+ veriffLoading: false,
1557
1610
  canEditPayoutInfo: true,
1558
1611
  disabled: true,
1559
1612
  status: "ACTIVE",
@@ -1573,7 +1626,7 @@ const TaxAndCashDashboardLoading = () => {
1573
1626
  ...dashboardProps,
1574
1627
  states: {
1575
1628
  payoutStatus: "DONE",
1576
- showVerifyIdentity: false,
1629
+ veriffLoading: false,
1577
1630
  canEditPayoutInfo: true,
1578
1631
  disabled: false,
1579
1632
  status: "ACTIVE",
@@ -1592,7 +1645,7 @@ const TaxAndCashDashboardWithLoadingError = () => {
1592
1645
  ...dashboardProps,
1593
1646
  states: {
1594
1647
  payoutStatus: "DONE",
1595
- showVerifyIdentity: false,
1648
+ veriffLoading: false,
1596
1649
  disabled: false,
1597
1650
  canEditPayoutInfo: true,
1598
1651
  status: "ACTIVE",
@@ -1612,7 +1665,7 @@ const TaxAndCashDashboardWithGeneralError = () => {
1612
1665
  ...dashboardProps,
1613
1666
  states: {
1614
1667
  payoutStatus: "DONE",
1615
- showVerifyIdentity: false,
1668
+ veriffLoading: false,
1616
1669
  canEditPayoutInfo: true,
1617
1670
  disabled: false,
1618
1671
  status: "ACTIVE",
@@ -1636,7 +1689,7 @@ const TaxAndCashDashboardDisabled = () => {
1636
1689
  ...dashboardProps,
1637
1690
  states: {
1638
1691
  payoutStatus: "DONE",
1639
- showVerifyIdentity: false,
1692
+ veriffLoading: false,
1640
1693
  canEditPayoutInfo: true,
1641
1694
  disabled: true,
1642
1695
  status: "ACTIVE",
@@ -1715,6 +1768,9 @@ const TaxForm = /*#__PURE__*/Object.freeze({
1715
1768
  TaxAndCashDashboardIndirectTaxSpain: TaxAndCashDashboardIndirectTaxSpain,
1716
1769
  TaxAndCashDashboardIndirectTaxNotRegistered: TaxAndCashDashboardIndirectTaxNotRegistered,
1717
1770
  TaxAndCashDashboardIdentityVerifcationRequired: TaxAndCashDashboardIdentityVerifcationRequired,
1771
+ TaxAndCashDashboardIdentityVerifcationRequiredInternal: TaxAndCashDashboardIdentityVerifcationRequiredInternal,
1772
+ TaxAndCashDashboardIdentityVerifcationReviewInternal: TaxAndCashDashboardIdentityVerifcationReviewInternal,
1773
+ TaxAndCashDashboardIdentityVerifcationFailedInternal: TaxAndCashDashboardIdentityVerifcationFailedInternal,
1718
1774
  TaxAndCashDashboardNewTaxForm: TaxAndCashDashboardNewTaxForm,
1719
1775
  TaxAndCashDashboardPayoutsOnHold: TaxAndCashDashboardPayoutsOnHold,
1720
1776
  TaxAndCashDashboardLoading: TaxAndCashDashboardLoading,
@@ -26,7 +26,7 @@ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-7
26
26
  import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
27
27
  import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as ProgressBar$2, Q as autoColorScaleCss, U as ShadowViewAddon } from './ShadowViewAddon-69b61037.js';
28
28
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
29
- import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-d1cfdaf4.js';
29
+ import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-c184248a.js';
30
30
 
31
31
  /**
32
32
  * lodash (Custom Build) <https://lodash.com/>
@@ -14338,13 +14338,6 @@ const Loading$6 = () => {
14338
14338
  },
14339
14339
  } }));
14340
14340
  };
14341
- const Error$9 = () => {
14342
- return (h("sqm-payout-details-card", { demoData: {
14343
- states: {
14344
- error: true,
14345
- },
14346
- } }));
14347
- };
14348
14341
  const NextPayout = () => {
14349
14342
  return (h("sqm-payout-details-card", { demoData: {
14350
14343
  states: {
@@ -14379,7 +14372,6 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
14379
14372
  __proto__: null,
14380
14373
  'default': PayoutDetailsCard_stories,
14381
14374
  Loading: Loading$6,
14382
- Error: Error$9,
14383
14375
  NextPayout: NextPayout,
14384
14376
  PayoutToday: PayoutToday,
14385
14377
  ThresholdPayout: ThresholdPayout,
@@ -14408,6 +14400,7 @@ const bankingFormProps = {
14408
14400
  loadingError: false,
14409
14401
  },
14410
14402
  callbacks: {
14403
+ onVerificationHide: () => { },
14411
14404
  onVerification: () => { },
14412
14405
  onSubmit: async () => console.log("Submit"),
14413
14406
  setPaymentMethodChecked: () => { },
@@ -15111,30 +15104,28 @@ const defaultProps$n = {
15111
15104
  error: false,
15112
15105
  status: "INFORMATION_REQUIRED",
15113
15106
  loading: false,
15114
- showVerifyIdentity: false,
15107
+ veriffLoading: false,
15115
15108
  };
15116
15109
  const InformationRequired = () => (h("sqm-payout-status-alert", { demoData: { states: defaultProps$n } }));
15117
- const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION_NEEDED" } } }));
15118
- const VerifyIdentityOpen = () => (h("sqm-payout-status-alert", { demoData: {
15119
- states: {
15120
- ...defaultProps$n,
15121
- status: "VERIFICATION_NEEDED",
15122
- showVerifyIdentity: true,
15123
- },
15124
- } }));
15110
+ const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:REQUIRED" } } }));
15111
+ const VerifyIdentityRequiredInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:INTERNAL" } } }));
15112
+ const VerifyIdentityReviewInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:REVIEW" } } }));
15113
+ const VerifyIdentityFailedInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:FAILED" } } }));
15125
15114
  const Hold = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "HOLD" } } }));
15126
15115
  const Loading$9 = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, loading: true } } }));
15127
- const Error$a = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, error: true } } }));
15116
+ const Error$9 = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, error: true } } }));
15128
15117
 
15129
15118
  const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
15130
15119
  __proto__: null,
15131
15120
  'default': PayoutStatusAlert_stories,
15132
15121
  InformationRequired: InformationRequired,
15133
15122
  VerifyIdentity: VerifyIdentity,
15134
- VerifyIdentityOpen: VerifyIdentityOpen,
15123
+ VerifyIdentityRequiredInternal: VerifyIdentityRequiredInternal,
15124
+ VerifyIdentityReviewInternal: VerifyIdentityReviewInternal,
15125
+ VerifyIdentityFailedInternal: VerifyIdentityFailedInternal,
15135
15126
  Hold: Hold,
15136
15127
  Loading: Loading$9,
15137
- Error: Error$a
15128
+ Error: Error$9
15138
15129
  });
15139
15130
 
15140
15131
  /**
@@ -13,6 +13,10 @@ const USER_LOOKUP = dist.gql `
13
13
  accountId
14
14
  email
15
15
  emailVerified
16
+ managedIdentity {
17
+ email
18
+ emailVerified
19
+ }
16
20
  }
17
21
  }
18
22
  }
@@ -32,13 +36,15 @@ function useWidgetVerificationInternal() {
32
36
  const [fetch] = an(USER_LOOKUP);
33
37
  useEffect(() => {
34
38
  const checkUser = async () => {
35
- var _a;
39
+ var _a, _b, _c;
36
40
  try {
37
41
  const res = await fetch({});
38
42
  if (!res || res instanceof Error)
39
43
  throw new Error();
40
44
  if ((_a = res === null || res === void 0 ? void 0 : res.viewer) === null || _a === void 0 ? void 0 : _a.emailVerified)
41
45
  setContext(true);
46
+ 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)
47
+ setContext(true);
42
48
  }
43
49
  catch (e) {
44
50
  console.error("Could not fetch user information:", e);