@saasquatch/mint-components 2.1.5-4 → 2.1.5-6

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 (25) hide show
  1. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +3 -2
  2. package/dist/cjs/sqm-big-stat_49.cjs.entry.js +2 -2
  3. package/dist/cjs/sqm-stencilbook.cjs.entry.js +13 -2
  4. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +13 -2
  5. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +3 -3
  6. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +2 -1
  7. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -2
  8. package/dist/esm/sqm-banking-info-form_10.entry.js +3 -2
  9. package/dist/esm/sqm-big-stat_49.entry.js +2 -2
  10. package/dist/esm/sqm-stencilbook.entry.js +13 -2
  11. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  12. package/dist/esm-es5/sqm-big-stat_49.entry.js +1 -1
  13. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  14. package/dist/mint-components/mint-components.esm.js +1 -1
  15. package/dist/mint-components/{p-940365f1.system.entry.js → p-01b0693c.system.entry.js} +1 -1
  16. package/dist/mint-components/{p-51384e0e.system.entry.js → p-104f7610.system.entry.js} +1 -1
  17. package/dist/mint-components/{p-d7967a1d.entry.js → p-27ddb9b6.entry.js} +1 -1
  18. package/dist/mint-components/{p-12521cf1.entry.js → p-4b4d3179.entry.js} +2 -2
  19. package/dist/mint-components/p-65d0e9a7.system.entry.js +1 -0
  20. package/dist/mint-components/p-af123d2b.system.js +1 -1
  21. package/dist/mint-components/{p-46185cc9.entry.js → p-f56b1a29.entry.js} +1 -1
  22. package/docs/docs.docx +0 -0
  23. package/docs/raisins.json +1 -1
  24. package/package.json +1 -1
  25. package/dist/mint-components/p-bb5f89ac.system.entry.js +0 -1
@@ -4253,7 +4253,7 @@ const TaxAndCashDashboardView = (props) => {
4253
4253
  ? text.taxAlertHeaderNotActiveW9
4254
4254
  : text.taxAlertHeaderNotActiveW8,
4255
4255
  }, {
4256
- documentType: states.documentTypeString || "Your",
4256
+ documentType: states.documentType || "Your",
4257
4257
  })),
4258
4258
  index.h("br", null),
4259
4259
  global.intl.formatMessage({
@@ -4322,6 +4322,7 @@ const TaxAndCashDashboardView = (props) => {
4322
4322
  clearTimeout(hideTimeout);
4323
4323
  };
4324
4324
  };
4325
+ console.log(states.status, states.noFormNeeded, "tax form status");
4325
4326
  return (index.h("div", null,
4326
4327
  index.h("div", null,
4327
4328
  index.h("style", { type: "text/css" },
@@ -4806,7 +4807,7 @@ const TaxAndCashDashboard = class {
4806
4807
  /**
4807
4808
  * @uiName W-9 payment threshold alert description
4808
4809
  */
4809
- this.w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
4810
+ this.w9RequiredDescription = "You have surpassed the $2000 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
4810
4811
  /**
4811
4812
  * @uiName Account review alert header
4812
4813
  */
@@ -3310,7 +3310,7 @@ const PayoutStatusAlert = class {
3310
3310
  /**
3311
3311
  * @uiName W-9 payment threshold alert description
3312
3312
  */
3313
- this.w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
3313
+ this.w9RequiredDescription = "You have surpassed the $2000 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
3314
3314
  /**
3315
3315
  * @uiName W-9 payment threshold alert button text
3316
3316
  */
@@ -3384,7 +3384,7 @@ function useDemoPayoutStatusAlert(props) {
3384
3384
  onPaymentInfoClick: () => { },
3385
3385
  onNewFormClick: () => { },
3386
3386
  },
3387
- }, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
3387
+ }, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
3388
3388
  }
3389
3389
 
3390
3390
  const GET_USER$1 = index_module.dist.gql `
@@ -17763,9 +17763,20 @@ const defaultProps$s = {
17763
17763
  const InformationRequired = () => (index.h("sqm-payout-status-alert", { demoData: { states: defaultProps$s } }));
17764
17764
  const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:REQUIRED" } } }));
17765
17765
  const VerifyIdentityRequiredInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:INTERNAL" } } }));
17766
- const VerifyIdentityReviewInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:REVIEW" } } }));
17766
+ const VerifyIdentityReviewInternal = () => (index.h("sqm-payout-status-alert", { demoData: {
17767
+ states: {
17768
+ ...defaultProps$s,
17769
+ status: "VERIFICATION:REVIEW",
17770
+ },
17771
+ } }));
17767
17772
  const VerifyIdentityFailedInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:FAILED" } } }));
17768
- const W9ThresholdReached = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "OVER_W9_THRESHOLD" } } }));
17773
+ const W9ThresholdReached = () => (index.h("sqm-payout-status-alert", { demoData: {
17774
+ states: {
17775
+ ...defaultProps$s,
17776
+ enforceUsTaxComplianceOption: "CASH_ONLY_DEFER_W9",
17777
+ status: "OVER_W9_THRESHOLD",
17778
+ },
17779
+ } }));
17769
17780
  const Hold = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "HOLD" } } }));
17770
17781
  const Loading$c = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, loading: true } } }));
17771
17782
  const Error$b = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, error: true } } }));
@@ -11,9 +11,20 @@ const defaultProps = {
11
11
  export const InformationRequired = () => (h("sqm-payout-status-alert", { demoData: { states: defaultProps } }));
12
12
  export const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:REQUIRED" } } }));
13
13
  export const VerifyIdentityRequiredInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:INTERNAL" } } }));
14
- export const VerifyIdentityReviewInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:REVIEW" } } }));
14
+ export const VerifyIdentityReviewInternal = () => (h("sqm-payout-status-alert", { demoData: {
15
+ states: {
16
+ ...defaultProps,
17
+ status: "VERIFICATION:REVIEW",
18
+ },
19
+ } }));
15
20
  export const VerifyIdentityFailedInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "VERIFICATION:FAILED" } } }));
16
- export const W9ThresholdReached = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "OVER_W9_THRESHOLD" } } }));
21
+ export const W9ThresholdReached = () => (h("sqm-payout-status-alert", { demoData: {
22
+ states: {
23
+ ...defaultProps,
24
+ enforceUsTaxComplianceOption: "CASH_ONLY_DEFER_W9",
25
+ status: "OVER_W9_THRESHOLD",
26
+ },
27
+ } }));
17
28
  export const Hold = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, status: "HOLD" } } }));
18
29
  export const Loading = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, loading: true } } }));
19
30
  export const Error = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps, error: true } } }));
@@ -134,7 +134,7 @@ export class PayoutStatusAlert {
134
134
  /**
135
135
  * @uiName W-9 payment threshold alert description
136
136
  */
137
- this.w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
137
+ this.w9RequiredDescription = "You have surpassed the $2000 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
138
138
  /**
139
139
  * @uiName W-9 payment threshold alert button text
140
140
  */
@@ -818,7 +818,7 @@ export class PayoutStatusAlert {
818
818
  },
819
819
  "attribute": "w-9-required-description",
820
820
  "reflect": false,
821
- "defaultValue": "\"You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.\""
821
+ "defaultValue": "\"You have surpassed the $2000 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.\""
822
822
  },
823
823
  "w9RequiredButtonText": {
824
824
  "type": "string",
@@ -1073,5 +1073,5 @@ function useDemoPayoutStatusAlert(props) {
1073
1073
  onPaymentInfoClick: () => { },
1074
1074
  onNewFormClick: () => { },
1075
1075
  },
1076
- }, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
1076
+ }, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
1077
1077
  }
@@ -531,7 +531,7 @@ export const TaxAndCashDashboardView = (props) => {
531
531
  ? text.taxAlertHeaderNotActiveW9
532
532
  : text.taxAlertHeaderNotActiveW8,
533
533
  }, {
534
- documentType: states.documentTypeString || "Your",
534
+ documentType: states.documentType || "Your",
535
535
  })),
536
536
  h("br", null),
537
537
  intl.formatMessage({
@@ -600,6 +600,7 @@ export const TaxAndCashDashboardView = (props) => {
600
600
  clearTimeout(hideTimeout);
601
601
  };
602
602
  };
603
+ console.log(states.status, states.noFormNeeded, "tax form status");
603
604
  return (h("div", null,
604
605
  h("div", null,
605
606
  h("style", { type: "text/css" },
@@ -244,7 +244,7 @@ export class TaxAndCashDashboard {
244
244
  /**
245
245
  * @uiName W-9 payment threshold alert description
246
246
  */
247
- this.w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
247
+ this.w9RequiredDescription = "You have surpassed the $2000 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
248
248
  /**
249
249
  * @uiName Account review alert header
250
250
  */
@@ -1397,7 +1397,7 @@ export class TaxAndCashDashboard {
1397
1397
  },
1398
1398
  "attribute": "w-9-required-description",
1399
1399
  "reflect": false,
1400
- "defaultValue": "\"You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.\""
1400
+ "defaultValue": "\"You have surpassed the $2000 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.\""
1401
1401
  },
1402
1402
  "accountReviewHeader": {
1403
1403
  "type": "string",
@@ -4249,7 +4249,7 @@ const TaxAndCashDashboardView = (props) => {
4249
4249
  ? text.taxAlertHeaderNotActiveW9
4250
4250
  : text.taxAlertHeaderNotActiveW8,
4251
4251
  }, {
4252
- documentType: states.documentTypeString || "Your",
4252
+ documentType: states.documentType || "Your",
4253
4253
  })),
4254
4254
  h("br", null),
4255
4255
  intl.formatMessage({
@@ -4318,6 +4318,7 @@ const TaxAndCashDashboardView = (props) => {
4318
4318
  clearTimeout(hideTimeout);
4319
4319
  };
4320
4320
  };
4321
+ console.log(states.status, states.noFormNeeded, "tax form status");
4321
4322
  return (h("div", null,
4322
4323
  h("div", null,
4323
4324
  h("style", { type: "text/css" },
@@ -4802,7 +4803,7 @@ const TaxAndCashDashboard = class {
4802
4803
  /**
4803
4804
  * @uiName W-9 payment threshold alert description
4804
4805
  */
4805
- this.w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
4806
+ this.w9RequiredDescription = "You have surpassed the $2000 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
4806
4807
  /**
4807
4808
  * @uiName Account review alert header
4808
4809
  */
@@ -3306,7 +3306,7 @@ const PayoutStatusAlert = class {
3306
3306
  /**
3307
3307
  * @uiName W-9 payment threshold alert description
3308
3308
  */
3309
- this.w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
3309
+ this.w9RequiredDescription = "You have surpassed the $2000 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
3310
3310
  /**
3311
3311
  * @uiName W-9 payment threshold alert button text
3312
3312
  */
@@ -3380,7 +3380,7 @@ function useDemoPayoutStatusAlert(props) {
3380
3380
  onPaymentInfoClick: () => { },
3381
3381
  onNewFormClick: () => { },
3382
3382
  },
3383
- }, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
3383
+ }, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
3384
3384
  }
3385
3385
 
3386
3386
  const GET_USER$1 = dist.gql `
@@ -17759,9 +17759,20 @@ const defaultProps$s = {
17759
17759
  const InformationRequired = () => (h("sqm-payout-status-alert", { demoData: { states: defaultProps$s } }));
17760
17760
  const VerifyIdentity = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:REQUIRED" } } }));
17761
17761
  const VerifyIdentityRequiredInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:INTERNAL" } } }));
17762
- const VerifyIdentityReviewInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:REVIEW" } } }));
17762
+ const VerifyIdentityReviewInternal = () => (h("sqm-payout-status-alert", { demoData: {
17763
+ states: {
17764
+ ...defaultProps$s,
17765
+ status: "VERIFICATION:REVIEW",
17766
+ },
17767
+ } }));
17763
17768
  const VerifyIdentityFailedInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "VERIFICATION:FAILED" } } }));
17764
- const W9ThresholdReached = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "OVER_W9_THRESHOLD" } } }));
17769
+ const W9ThresholdReached = () => (h("sqm-payout-status-alert", { demoData: {
17770
+ states: {
17771
+ ...defaultProps$s,
17772
+ enforceUsTaxComplianceOption: "CASH_ONLY_DEFER_W9",
17773
+ status: "OVER_W9_THRESHOLD",
17774
+ },
17775
+ } }));
17765
17776
  const Hold = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "HOLD" } } }));
17766
17777
  const Loading$c = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, loading: true } } }));
17767
17778
  const Error$b = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, error: true } } }));