@saasquatch/mint-components 1.14.3 → 1.14.5-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.
Files changed (65) 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_17.cjs.entry.js +158 -5
  4. package/dist/cjs/sqm-big-stat_41.cjs.entry.js +87 -1
  5. package/dist/cjs/{sqm-invoice-table-view-16ac73d0.js → sqm-invoice-table-view-0f7fa309.js} +17 -0
  6. package/dist/cjs/sqm-stencilbook.cjs.entry.js +509 -893
  7. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +72 -0
  8. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +72 -3
  9. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
  10. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +16 -0
  11. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -1
  12. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +36 -1
  13. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +106 -3
  14. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +7 -0
  15. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +38 -0
  16. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +79 -1
  17. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +4 -0
  18. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +205 -2
  19. package/dist/esm/loader.js +1 -1
  20. package/dist/esm/mint-components.js +1 -1
  21. package/dist/esm/sqm-banking-info-form_17.entry.js +158 -5
  22. package/dist/esm/sqm-big-stat_41.entry.js +89 -3
  23. package/dist/esm/{sqm-invoice-table-view-2c726568.js → sqm-invoice-table-view-7f376a75.js} +17 -0
  24. package/dist/esm/sqm-stencilbook.entry.js +2494 -2878
  25. package/dist/esm-es5/loader.js +1 -1
  26. package/dist/esm-es5/mint-components.js +1 -1
  27. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  28. package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
  29. package/dist/esm-es5/sqm-invoice-table-view-7f376a75.js +1 -0
  30. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  31. package/dist/mint-components/mint-components.esm.js +1 -1
  32. package/dist/mint-components/p-37996351.system.js +1 -1
  33. package/dist/mint-components/{p-73891ac0.entry.js → p-4034b98f.entry.js} +18 -17
  34. package/dist/mint-components/{p-b06add5c.entry.js → p-4d7108af.entry.js} +2 -2
  35. package/dist/mint-components/p-9a1843cb.system.js +1 -0
  36. package/dist/mint-components/{p-207da855.system.entry.js → p-caca540c.system.entry.js} +1 -1
  37. package/dist/mint-components/p-ccd60c4b.js +1 -0
  38. package/dist/mint-components/p-db7d2444.system.entry.js +1 -0
  39. package/dist/mint-components/p-ebb4922d.entry.js +205 -0
  40. package/dist/mint-components/p-f06c4835.system.entry.js +1 -0
  41. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +16 -0
  42. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +3 -1
  43. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
  44. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
  45. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  46. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
  47. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +16 -0
  48. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +6 -0
  49. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
  50. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +3 -0
  51. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +35 -0
  52. package/dist/types/components.d.ts +154 -0
  53. package/docs/docs.docx +0 -0
  54. package/docs/raisins.json +1 -1
  55. package/grapesjs/grapesjs.js +1 -1
  56. package/package.json +1 -1
  57. package/dist/esm-es5/sqm-invoice-table-view-2c726568.js +0 -1
  58. package/dist/mint-components/p-0d68b3b1.entry.js +0 -205
  59. package/dist/mint-components/p-3f067fd5.js +0 -1
  60. package/dist/mint-components/p-6604658c.system.entry.js +0 -1
  61. package/dist/mint-components/p-a6178052.system.entry.js +0 -1
  62. package/dist/mint-components/p-a7746488.system.js +0 -1
  63. package/dist/mint-components/sqm-stencilbook.entry.js +0 -18989
  64. package/dist/mint-components/sqm-stencilbook.system.entry.js +0 -1
  65. package/shoelace/assets/icons/twitter-x.svg +0 -4
@@ -120,6 +120,18 @@ export class DocusignForm {
120
120
  * @uiName Exit button text
121
121
  */
122
122
  this.exitButton = "Exit";
123
+ /**
124
+ * @uiName Information modal title
125
+ */
126
+ this.modalTitle = "Important Note";
127
+ /**
128
+ * @uiName Information modal description text
129
+ */
130
+ this.modalDescription = "Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
131
+ /**
132
+ * @uiName Information modal button text
133
+ */
134
+ this.modalButtonText = "I understand";
123
135
  withHooks(this);
124
136
  }
125
137
  disconnectedCallback() { }
@@ -607,12 +619,75 @@ export class DocusignForm {
607
619
  "reflect": false,
608
620
  "defaultValue": "\"Exit\""
609
621
  },
622
+ "modalTitle": {
623
+ "type": "string",
624
+ "mutable": false,
625
+ "complexType": {
626
+ "original": "string",
627
+ "resolved": "string",
628
+ "references": {}
629
+ },
630
+ "required": false,
631
+ "optional": false,
632
+ "docs": {
633
+ "tags": [{
634
+ "text": "Information modal title",
635
+ "name": "uiName"
636
+ }],
637
+ "text": ""
638
+ },
639
+ "attribute": "modal-title",
640
+ "reflect": false,
641
+ "defaultValue": "\"Important Note\""
642
+ },
643
+ "modalDescription": {
644
+ "type": "string",
645
+ "mutable": false,
646
+ "complexType": {
647
+ "original": "string",
648
+ "resolved": "string",
649
+ "references": {}
650
+ },
651
+ "required": false,
652
+ "optional": false,
653
+ "docs": {
654
+ "tags": [{
655
+ "text": "Information modal description text",
656
+ "name": "uiName"
657
+ }],
658
+ "text": ""
659
+ },
660
+ "attribute": "modal-description",
661
+ "reflect": false,
662
+ "defaultValue": "\"Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.\""
663
+ },
664
+ "modalButtonText": {
665
+ "type": "string",
666
+ "mutable": false,
667
+ "complexType": {
668
+ "original": "string",
669
+ "resolved": "string",
670
+ "references": {}
671
+ },
672
+ "required": false,
673
+ "optional": false,
674
+ "docs": {
675
+ "tags": [{
676
+ "text": "Information modal button text",
677
+ "name": "uiName"
678
+ }],
679
+ "text": ""
680
+ },
681
+ "attribute": "modal-button-text",
682
+ "reflect": false,
683
+ "defaultValue": "\"I understand\""
684
+ },
610
685
  "demoData": {
611
686
  "type": "unknown",
612
687
  "mutable": false,
613
688
  "complexType": {
614
689
  "original": "DemoData<UseDocusignFormResult>",
615
- "resolved": "{ states?: { step: string; hideSteps: boolean; disabled: boolean; participantTypeDisabled: boolean; loading: boolean; urlLoading: boolean; loadingError: boolean; formState: { participantType: ParticipantType; taxFormExpired: boolean; errors: {}; }; docusignStatus: DocusignStatus; documentType: TaxDocumentType; documentTypeString: string; showExitButton: boolean; }; data?: { taxForm: TaxDocumentType; documentUrl: string; }; }",
690
+ "resolved": "{ states?: { step: string; hideSteps: boolean; disabled: boolean; participantTypeDisabled: boolean; loading: boolean; urlLoading: boolean; loadingError: boolean; formState: { participantType: ParticipantType; taxFormExpired: boolean; errors: {}; }; docusignStatus: DocusignStatus; documentType: TaxDocumentType; documentTypeString: string; showExitButton: boolean; showModal: boolean; }; data?: { taxForm: TaxDocumentType; documentUrl: string; }; }",
616
691
  "references": {
617
692
  "DemoData": {
618
693
  "location": "import",
@@ -661,6 +736,7 @@ function useDocusignFormDemo(props) {
661
736
  errors: {},
662
737
  },
663
738
  documentType: "W9",
739
+ showModal: false,
664
740
  },
665
741
  data: {
666
742
  taxForm: "W9",
@@ -671,6 +747,8 @@ function useDocusignFormDemo(props) {
671
747
  demo: {
672
748
  onSubmit: () => setStep("/4"),
673
749
  onBack: () => setStep("/3"),
750
+ onModalOpen: () => { },
751
+ onModalClose: () => { },
674
752
  },
675
753
  setParticipantType: (p) => console.log({ p }),
676
754
  setDocusignStatus: (status) => console.log(status),
@@ -44,6 +44,7 @@ export function useDocusignForm(props) {
44
44
  const [errors, setErrors] = useState({});
45
45
  const [loading, setLoading] = useState(false);
46
46
  const [showExitButton, setShowExitButton] = useState(false);
47
+ const [showModal, setShowModal] = useState(true);
47
48
  // Only look at current document if it's valid (same as required type)
48
49
  const existingDocumentType = validTaxDocument(publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType) && (publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument)
49
50
  ? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType : undefined;
@@ -139,6 +140,7 @@ export function useDocusignForm(props) {
139
140
  documentType: actualDocumentType,
140
141
  documentTypeString: taxTypeToName(actualDocumentType),
141
142
  showExitButton,
143
+ showModal,
142
144
  },
143
145
  data: {
144
146
  taxForm: actualDocumentType,
@@ -149,6 +151,8 @@ export function useDocusignForm(props) {
149
151
  completeDocument,
150
152
  onExit: progressStep,
151
153
  setParticipantType,
154
+ onModalClose: () => setShowModal(false),
155
+ onModalOpen: () => setShowModal(true),
152
156
  },
153
157
  text: props.getTextProps(),
154
158
  };
@@ -304,6 +304,21 @@ export class TaxAndCashMonolith {
304
304
  * @uiGroup Step 3 Properties
305
305
  */
306
306
  this.step3_exitButton = "Exit";
307
+ /**
308
+ * @uiName Information modal title
309
+ * @uiGroup Step 3 Properties
310
+ */
311
+ this.step3_modalTitle = "Important Note";
312
+ /**
313
+ * @uiName Information modal description text
314
+ * @uiGroup Step 3 Properties
315
+ */
316
+ this.step3_modalDescription = "Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
317
+ /**
318
+ * @uiName Information modal button text
319
+ * @uiGroup Step 3 Properties
320
+ */
321
+ this.step3_modalButtonText = "I understand";
307
322
  /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308
323
  STEP 4 PROPS:
309
324
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@@ -386,7 +401,12 @@ export class TaxAndCashMonolith {
386
401
  * @uiName Beneficiary account field label
387
402
  * @uiGroup Step 4 Properties
388
403
  */
389
- this.step4_beneficiaryAccountNameLabel = "Beneficiary account name";
404
+ this.step4_beneficiaryAccountNameLabel = "Account holder name";
405
+ /**
406
+ * @uiName Beneficiary account field description
407
+ * @uiGroup Step 4 Properties
408
+ */
409
+ this.step4_beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
390
410
  /**
391
411
  * @uiName Bank account type field label
392
412
  * @uiGroup Step 4 Properties
@@ -528,6 +548,21 @@ export class TaxAndCashMonolith {
528
548
  * @uiGroup Step 4 Properties
529
549
  */
530
550
  this.step4_verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
551
+ /**
552
+ * @uiName Information modal title
553
+ * @uiGroup Step 4 Properties
554
+ */
555
+ this.step4_modalTitle = "Important Note";
556
+ /**
557
+ * @uiName Information modal description text
558
+ * @uiGroup Step 4 Properties
559
+ */
560
+ this.step4_modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
561
+ /**
562
+ * @uiName Information modal button text
563
+ * @uiGroup Step 4 Properties
564
+ */
565
+ this.step4_modalButtonText = "I understand, update my information";
531
566
  /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
532
567
  DASHBOARD PROPS:
533
568
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@@ -2224,6 +2259,78 @@ export class TaxAndCashMonolith {
2224
2259
  "reflect": false,
2225
2260
  "defaultValue": "\"Exit\""
2226
2261
  },
2262
+ "step3_modalTitle": {
2263
+ "type": "string",
2264
+ "mutable": false,
2265
+ "complexType": {
2266
+ "original": "string",
2267
+ "resolved": "string",
2268
+ "references": {}
2269
+ },
2270
+ "required": false,
2271
+ "optional": false,
2272
+ "docs": {
2273
+ "tags": [{
2274
+ "text": "Information modal title",
2275
+ "name": "uiName"
2276
+ }, {
2277
+ "text": "Step 3 Properties",
2278
+ "name": "uiGroup"
2279
+ }],
2280
+ "text": ""
2281
+ },
2282
+ "attribute": "step-3_modal-title",
2283
+ "reflect": false,
2284
+ "defaultValue": "\"Important Note\""
2285
+ },
2286
+ "step3_modalDescription": {
2287
+ "type": "string",
2288
+ "mutable": false,
2289
+ "complexType": {
2290
+ "original": "string",
2291
+ "resolved": "string",
2292
+ "references": {}
2293
+ },
2294
+ "required": false,
2295
+ "optional": false,
2296
+ "docs": {
2297
+ "tags": [{
2298
+ "text": "Information modal description text",
2299
+ "name": "uiName"
2300
+ }, {
2301
+ "text": "Step 3 Properties",
2302
+ "name": "uiGroup"
2303
+ }],
2304
+ "text": ""
2305
+ },
2306
+ "attribute": "step-3_modal-description",
2307
+ "reflect": false,
2308
+ "defaultValue": "\"Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.\""
2309
+ },
2310
+ "step3_modalButtonText": {
2311
+ "type": "string",
2312
+ "mutable": false,
2313
+ "complexType": {
2314
+ "original": "string",
2315
+ "resolved": "string",
2316
+ "references": {}
2317
+ },
2318
+ "required": false,
2319
+ "optional": false,
2320
+ "docs": {
2321
+ "tags": [{
2322
+ "text": "Information modal button text",
2323
+ "name": "uiName"
2324
+ }, {
2325
+ "text": "Step 3 Properties",
2326
+ "name": "uiGroup"
2327
+ }],
2328
+ "text": ""
2329
+ },
2330
+ "attribute": "step-3_modal-button-text",
2331
+ "reflect": false,
2332
+ "defaultValue": "\"I understand\""
2333
+ },
2227
2334
  "step4_taxAndPayouts": {
2228
2335
  "type": "string",
2229
2336
  "mutable": false,
@@ -2582,7 +2689,31 @@ export class TaxAndCashMonolith {
2582
2689
  },
2583
2690
  "attribute": "step-4_beneficiary-account-name-label",
2584
2691
  "reflect": false,
2585
- "defaultValue": "\"Beneficiary account name\""
2692
+ "defaultValue": "\"Account holder name\""
2693
+ },
2694
+ "step4_beneficiaryAccountNameDescription": {
2695
+ "type": "string",
2696
+ "mutable": false,
2697
+ "complexType": {
2698
+ "original": "string",
2699
+ "resolved": "string",
2700
+ "references": {}
2701
+ },
2702
+ "required": false,
2703
+ "optional": false,
2704
+ "docs": {
2705
+ "tags": [{
2706
+ "text": "Beneficiary account field description",
2707
+ "name": "uiName"
2708
+ }, {
2709
+ "text": "Step 4 Properties",
2710
+ "name": "uiGroup"
2711
+ }],
2712
+ "text": ""
2713
+ },
2714
+ "attribute": "step-4_beneficiary-account-name-description",
2715
+ "reflect": false,
2716
+ "defaultValue": "\"The beneficiary name of your bank account. Ensure this matches the name on your tax form.\""
2586
2717
  },
2587
2718
  "step4_bankAccountTypeLabel": {
2588
2719
  "type": "string",
@@ -3232,6 +3363,78 @@ export class TaxAndCashMonolith {
3232
3363
  "reflect": false,
3233
3364
  "defaultValue": "\"Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.\""
3234
3365
  },
3366
+ "step4_modalTitle": {
3367
+ "type": "string",
3368
+ "mutable": false,
3369
+ "complexType": {
3370
+ "original": "string",
3371
+ "resolved": "string",
3372
+ "references": {}
3373
+ },
3374
+ "required": false,
3375
+ "optional": false,
3376
+ "docs": {
3377
+ "tags": [{
3378
+ "text": "Information modal title",
3379
+ "name": "uiName"
3380
+ }, {
3381
+ "text": "Step 4 Properties",
3382
+ "name": "uiGroup"
3383
+ }],
3384
+ "text": ""
3385
+ },
3386
+ "attribute": "step-4_modal-title",
3387
+ "reflect": false,
3388
+ "defaultValue": "\"Important Note\""
3389
+ },
3390
+ "step4_modalDescription": {
3391
+ "type": "string",
3392
+ "mutable": false,
3393
+ "complexType": {
3394
+ "original": "string",
3395
+ "resolved": "string",
3396
+ "references": {}
3397
+ },
3398
+ "required": false,
3399
+ "optional": false,
3400
+ "docs": {
3401
+ "tags": [{
3402
+ "text": "Information modal description text",
3403
+ "name": "uiName"
3404
+ }, {
3405
+ "text": "Step 4 Properties",
3406
+ "name": "uiGroup"
3407
+ }],
3408
+ "text": ""
3409
+ },
3410
+ "attribute": "step-4_modal-description",
3411
+ "reflect": false,
3412
+ "defaultValue": "\"Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.\""
3413
+ },
3414
+ "step4_modalButtonText": {
3415
+ "type": "string",
3416
+ "mutable": false,
3417
+ "complexType": {
3418
+ "original": "string",
3419
+ "resolved": "string",
3420
+ "references": {}
3421
+ },
3422
+ "required": false,
3423
+ "optional": false,
3424
+ "docs": {
3425
+ "tags": [{
3426
+ "text": "Information modal button text",
3427
+ "name": "uiName"
3428
+ }, {
3429
+ "text": "Step 4 Properties",
3430
+ "name": "uiGroup"
3431
+ }],
3432
+ "text": ""
3433
+ },
3434
+ "attribute": "step-4_modal-button-text",
3435
+ "reflect": false,
3436
+ "defaultValue": "\"I understand, update my information\""
3437
+ },
3235
3438
  "dashboard_statusTextActive": {
3236
3439
  "type": "string",
3237
3440
  "mutable": false,