@justifi/webcomponents 4.10.0-rc.0 → 4.10.0

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 (208) hide show
  1. package/dist/cjs/{Business-79361c8a.js → Business-663db337.js} +12 -1
  2. package/dist/cjs/Identity-1c4528b8.js +49 -0
  3. package/dist/cjs/{SubAccount-b3902202.js → SubAccount-05867651.js} +1 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -1
  5. package/dist/cjs/form-control-datepart_3.cjs.entry.js +38 -34
  6. package/dist/cjs/form-control-monetary.cjs.entry.js +19 -17
  7. package/dist/cjs/form-control-number_3.cjs.entry.js +6 -2
  8. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +2 -1
  9. package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +10 -9
  10. package/dist/cjs/justifi-additional-questions_4.cjs.entry.js +3 -1
  11. package/dist/cjs/justifi-billing-form_4.cjs.entry.js +3 -3
  12. package/dist/cjs/justifi-business-address-form-step.cjs.entry.js +1 -1
  13. package/dist/cjs/justifi-business-details.cjs.entry.js +3 -1
  14. package/dist/cjs/justifi-business-form.cjs.entry.js +4 -2
  15. package/dist/cjs/justifi-business-list.cjs.entry.js +3 -2
  16. package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -4
  17. package/dist/cjs/justifi-owner-form.cjs.entry.js +5 -3
  18. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +2 -1
  19. package/dist/cjs/justifi-payment-form.cjs.entry.js +2 -1
  20. package/dist/cjs/{justifi-business-form-stepped.cjs.entry.js → justifi-payment-provisioning.cjs.entry.js} +4 -4
  21. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +2 -1
  22. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +3 -2
  23. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +3 -2
  24. package/dist/cjs/loader.cjs.js +1 -1
  25. package/dist/cjs/{payload-parsers-25ed3936.js → payload-parsers-9e72e80f.js} +3 -2
  26. package/dist/cjs/payment-details-core.cjs.entry.js +2 -1
  27. package/dist/cjs/payments-list-core.cjs.entry.js +2 -1
  28. package/dist/cjs/payout-details-core.cjs.entry.js +2 -1
  29. package/dist/cjs/payouts-list-core.cjs.entry.js +2 -1
  30. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +2 -1
  31. package/dist/cjs/{utils-6f62f7a1.js → utils-2b9940e1.js} +7 -0
  32. package/dist/cjs/webcomponents.cjs.js +1 -1
  33. package/dist/collection/api/Business.js +10 -1
  34. package/dist/collection/collection-manifest.json +7 -7
  35. package/dist/collection/components/billing-form/billing-form.js +1 -1
  36. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +4 -4
  37. package/dist/collection/components/business-forms/business-form/business-address/business-address-form.js +1 -1
  38. package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/additional-questions/business-additional-questions-form-step.js +3 -2
  39. package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-address/business-address-form-step.js +1 -1
  40. package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-representative/business-representative-form-step.js +3 -2
  41. package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/legal-address-form/legal-address-form-step.js +2 -1
  42. package/dist/collection/components/business-forms/{business-form-stepped/business-form-stepped.js → payment-provisioning/payment-provisioning.js} +4 -4
  43. package/dist/collection/components/business-forms/payment-provisioning/test/payment-provisioning.spec.js +61 -0
  44. package/dist/collection/components/business-forms/schemas/business-address-schema.js +3 -2
  45. package/dist/collection/components/checkout/checkout-core.js +4 -4
  46. package/dist/collection/components/form/form-control-datepart.js +39 -34
  47. package/dist/collection/components/form/form-control-monetary.js +22 -20
  48. package/dist/collection/components/form/form-control-number.js +1 -0
  49. package/dist/collection/components/form/form-control-select.js +3 -1
  50. package/dist/collection/components/form/form-control-text.js +2 -1
  51. package/dist/collection/components/form/test/form-control-datepart.spec.js +88 -0
  52. package/dist/collection/components/form/test/form-control-monetary.spec.js +69 -0
  53. package/dist/collection/components/form/test/form-control-number.spec.js +77 -0
  54. package/dist/collection/components/form/test/form-control-select.spec.js +84 -0
  55. package/dist/collection/components/form/test/form-control-text.spec.js +104 -0
  56. package/dist/collection/components/form/test/form.spec.js +60 -0
  57. package/dist/collection/utils/utils.js +5 -0
  58. package/dist/docs.json +231 -230
  59. package/dist/esm/{Business-1df362e0.js → Business-6cc4e473.js} +12 -2
  60. package/dist/esm/Identity-5f8f916f.js +46 -0
  61. package/dist/esm/{SubAccount-f4ae9809.js → SubAccount-61ac70eb.js} +1 -1
  62. package/dist/esm/additional-questions-details_5.entry.js +2 -1
  63. package/dist/esm/form-control-datepart_3.entry.js +38 -34
  64. package/dist/esm/form-control-monetary.entry.js +19 -17
  65. package/dist/esm/form-control-number_3.entry.js +6 -2
  66. package/dist/esm/gross-payment-chart-core.entry.js +2 -1
  67. package/dist/esm/justifi-additional-questions-form-step_5.entry.js +10 -9
  68. package/dist/esm/justifi-additional-questions_4.entry.js +3 -1
  69. package/dist/esm/justifi-billing-form_4.entry.js +3 -3
  70. package/dist/esm/justifi-business-address-form-step.entry.js +1 -1
  71. package/dist/esm/justifi-business-details.entry.js +3 -1
  72. package/dist/esm/justifi-business-form.entry.js +4 -2
  73. package/dist/esm/justifi-business-list.entry.js +3 -2
  74. package/dist/esm/justifi-checkout-core.entry.js +5 -4
  75. package/dist/esm/justifi-owner-form.entry.js +5 -3
  76. package/dist/esm/justifi-payment-balance-transactions.entry.js +2 -1
  77. package/dist/esm/justifi-payment-form.entry.js +2 -1
  78. package/dist/esm/{justifi-business-form-stepped.entry.js → justifi-payment-provisioning.entry.js} +4 -4
  79. package/dist/esm/justifi-proceeds-list.entry.js +2 -1
  80. package/dist/esm/justifi-subaccount-details.entry.js +3 -2
  81. package/dist/esm/justifi-subaccounts-list.entry.js +3 -2
  82. package/dist/esm/loader.js +1 -1
  83. package/dist/esm/{payload-parsers-1dd7474f.js → payload-parsers-caea809d.js} +3 -2
  84. package/dist/esm/payment-details-core.entry.js +2 -1
  85. package/dist/esm/payments-list-core.entry.js +2 -1
  86. package/dist/esm/payout-details-core.entry.js +2 -1
  87. package/dist/esm/payouts-list-core.entry.js +2 -1
  88. package/dist/esm/subaccount-account-details_4.entry.js +2 -1
  89. package/dist/esm/{utils-243abdb4.js → utils-d9e90399.js} +7 -1
  90. package/dist/esm/webcomponents.js +1 -1
  91. package/dist/module/Business.js +12 -2
  92. package/dist/module/Identity.js +46 -0
  93. package/dist/module/SubAccount.js +1 -1
  94. package/dist/module/business-additional-questions-form-step.js +3 -2
  95. package/dist/module/business-address-schema.js +3 -2
  96. package/dist/module/business-owners-form-step.js +2 -1
  97. package/dist/module/business-representative-form-step.js +3 -2
  98. package/dist/module/checkout-core.js +4 -4
  99. package/dist/module/form-control-datepart2.js +37 -33
  100. package/dist/module/form-control-monetary2.js +20 -18
  101. package/dist/module/form-control-number2.js +1 -0
  102. package/dist/module/form-control-select2.js +3 -1
  103. package/dist/module/form-control-text2.js +2 -1
  104. package/dist/module/justifi-payment-balance-transactions.js +1 -1
  105. package/dist/module/justifi-payment-provisioning.d.ts +11 -0
  106. package/dist/module/{justifi-business-form-stepped.js → justifi-payment-provisioning.js} +9 -9
  107. package/dist/module/justifi-subaccount-details.js +1 -1
  108. package/dist/module/justifi-subaccounts-list.js +1 -1
  109. package/dist/module/legal-address-form-step.js +3 -2
  110. package/dist/module/owner-form.js +2 -24
  111. package/dist/module/payment-details-core2.js +1 -1
  112. package/dist/module/payment-method-form.js +1 -1
  113. package/dist/module/payments-list-core2.js +1 -1
  114. package/dist/module/payout-details-core2.js +1 -1
  115. package/dist/module/payouts-list-core2.js +1 -1
  116. package/dist/module/subaccount-merchant-details2.js +1 -1
  117. package/dist/module/utils2.js +7 -1
  118. package/dist/types/api/Business.d.ts +10 -3
  119. package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +2 -2
  120. package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/additional-questions/business-additional-questions-form-step.d.ts +2 -1
  121. package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/business-representative/business-representative-form-step.d.ts +2 -1
  122. package/dist/types/components/business-forms/{business-form-stepped/business-form-stepped.d.ts → payment-provisioning/payment-provisioning.d.ts} +1 -1
  123. package/dist/types/components/form/form-control-datepart.d.ts +2 -1
  124. package/dist/types/components/form/form-control-monetary.d.ts +2 -1
  125. package/dist/types/components.d.ts +63 -63
  126. package/dist/types/utils/utils.d.ts +1 -0
  127. package/dist/webcomponents/p-03b1d0d5.entry.js +1 -0
  128. package/dist/webcomponents/p-0e189d6a.entry.js +1 -0
  129. package/dist/webcomponents/p-16dcf053.entry.js +1 -0
  130. package/dist/webcomponents/p-221b9504.entry.js +1 -0
  131. package/dist/webcomponents/p-2df32b4a.entry.js +1 -0
  132. package/dist/webcomponents/p-38ba2848.entry.js +1 -0
  133. package/dist/webcomponents/p-3d4aaa4a.entry.js +1 -0
  134. package/dist/webcomponents/p-41870765.entry.js +1 -0
  135. package/dist/webcomponents/p-461f42b8.entry.js +1 -0
  136. package/dist/webcomponents/p-48c2400e.js +1 -0
  137. package/dist/webcomponents/p-491ca87f.js +1 -0
  138. package/dist/webcomponents/p-60714f2a.entry.js +1 -0
  139. package/dist/webcomponents/p-60b2344a.js +1 -0
  140. package/dist/webcomponents/{p-fe2af0cf.entry.js → p-65500b31.entry.js} +1 -1
  141. package/dist/webcomponents/p-6d39b8bc.entry.js +1 -0
  142. package/dist/webcomponents/{p-9ce8d98c.entry.js → p-7ec301b5.entry.js} +1 -1
  143. package/dist/webcomponents/p-817211f2.entry.js +1 -0
  144. package/dist/webcomponents/{p-65510838.js → p-8482c23f.js} +1 -1
  145. package/dist/webcomponents/p-a4122c35.entry.js +1 -0
  146. package/dist/webcomponents/{p-c8d62072.entry.js → p-a68519e5.entry.js} +1 -1
  147. package/dist/webcomponents/p-af8363a1.entry.js +1 -0
  148. package/dist/webcomponents/p-b37d6888.entry.js +1 -0
  149. package/dist/webcomponents/p-b5a3bf86.entry.js +1 -0
  150. package/dist/webcomponents/p-cb8f9cb8.entry.js +1 -0
  151. package/dist/webcomponents/{p-0811bc77.entry.js → p-d0761829.entry.js} +1 -1
  152. package/dist/webcomponents/p-dbe32e75.entry.js +1 -0
  153. package/dist/webcomponents/p-e0c1cba8.js +1 -0
  154. package/dist/webcomponents/p-ea03b424.entry.js +1 -0
  155. package/dist/webcomponents/p-ec230480.entry.js +1 -0
  156. package/dist/webcomponents/{p-583dd5a2.entry.js → p-eed5f4ad.entry.js} +1 -1
  157. package/dist/webcomponents/webcomponents.esm.js +1 -1
  158. package/package.json +1 -1
  159. package/dist/cjs/Identity-b6364aee.js +0 -27
  160. package/dist/collection/components/business-forms/business-form-stepped/test/business-form-stepped.spec.js +0 -61
  161. package/dist/esm/Identity-774788c0.js +0 -25
  162. package/dist/module/justifi-business-form-stepped.d.ts +0 -11
  163. package/dist/webcomponents/p-0399f02b.entry.js +0 -1
  164. package/dist/webcomponents/p-04a98c63.js +0 -1
  165. package/dist/webcomponents/p-06888c2e.entry.js +0 -1
  166. package/dist/webcomponents/p-17f64853.entry.js +0 -1
  167. package/dist/webcomponents/p-22085999.entry.js +0 -1
  168. package/dist/webcomponents/p-252835df.entry.js +0 -1
  169. package/dist/webcomponents/p-28b38699.js +0 -1
  170. package/dist/webcomponents/p-374c44e6.entry.js +0 -1
  171. package/dist/webcomponents/p-4697ccfa.entry.js +0 -1
  172. package/dist/webcomponents/p-4781cd06.js +0 -1
  173. package/dist/webcomponents/p-4d806131.entry.js +0 -1
  174. package/dist/webcomponents/p-4e0b3206.entry.js +0 -1
  175. package/dist/webcomponents/p-5da4fbe7.entry.js +0 -1
  176. package/dist/webcomponents/p-6103c20d.entry.js +0 -1
  177. package/dist/webcomponents/p-7654c70d.entry.js +0 -1
  178. package/dist/webcomponents/p-847441ce.entry.js +0 -1
  179. package/dist/webcomponents/p-861ba3fc.entry.js +0 -1
  180. package/dist/webcomponents/p-a98eea84.entry.js +0 -1
  181. package/dist/webcomponents/p-b27c9b0d.entry.js +0 -1
  182. package/dist/webcomponents/p-e3748ea4.entry.js +0 -1
  183. package/dist/webcomponents/p-eef5ed19.entry.js +0 -1
  184. package/dist/webcomponents/p-efc7025c.entry.js +0 -1
  185. package/dist/webcomponents/p-f3453ca2.js +0 -1
  186. package/dist/webcomponents/p-f3ca6fda.entry.js +0 -1
  187. /package/dist/cjs/{state-options-96d05a98.js → state-options-4fbcb48a.js} +0 -0
  188. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/additional-questions/test/business-additional-questions-form-step.spec.js +0 -0
  189. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-address/business-address-form-step.css +0 -0
  190. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-address/test/business-address-form-step.spec.js +0 -0
  191. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-core-info/business-core-info-form-step.css +0 -0
  192. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-core-info/business-core-info-form-step.js +0 -0
  193. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-core-info/test/business-core-info-form-step.spec.js +0 -0
  194. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-owners/business-owners-form-step.css +0 -0
  195. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-owners/business-owners-form-step.js +0 -0
  196. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-owners/test/business-owners-form-step.spec.js +0 -0
  197. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-representative/business-representative-form-step.css +0 -0
  198. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-representative/test/business-representative-form-step.spec.js +0 -0
  199. /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/legal-address-form/legal-address-form-step.css +0 -0
  200. /package/dist/collection/components/business-forms/{business-form-stepped/business-form-stepped.css → payment-provisioning/payment-provisioning.css} +0 -0
  201. /package/dist/collection/{components/billing-form → utils}/state-options.js +0 -0
  202. /package/dist/esm/{state-options-fc1daf67.js → state-options-a356fb11.js} +0 -0
  203. /package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/business-address/business-address-form-step.d.ts +0 -0
  204. /package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/business-core-info/business-core-info-form-step.d.ts +0 -0
  205. /package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/business-owners/business-owners-form-step.d.ts +0 -0
  206. /package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/legal-address-form/legal-address-form-step.d.ts +0 -0
  207. /package/dist/types/{components/billing-form → utils}/state-options.d.ts +0 -0
  208. /package/dist/webcomponents/{p-8e2a88a8.js → p-6078a370.js} +0 -0
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-04-09T18:28:17",
2
+ "timestamp": "2024-04-22T16:53:18",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.10.0",
@@ -38,15 +38,15 @@
38
38
  "props": [
39
39
  {
40
40
  "name": "additionalQuestions",
41
- "type": "AdditionalQuestions",
41
+ "type": "IAdditionalQuestions",
42
42
  "complexType": {
43
- "original": "AdditionalQuestions",
44
- "resolved": "AdditionalQuestions",
43
+ "original": "IAdditionalQuestions",
44
+ "resolved": "IAdditionalQuestions",
45
45
  "references": {
46
- "AdditionalQuestions": {
46
+ "IAdditionalQuestions": {
47
47
  "location": "import",
48
48
  "path": "../../../api/Business",
49
- "id": "src/api/Business.ts::AdditionalQuestions"
49
+ "id": "src/api/Business.ts::IAdditionalQuestions"
50
50
  }
51
51
  }
52
52
  },
@@ -56,7 +56,7 @@
56
56
  "docsTags": [],
57
57
  "values": [
58
58
  {
59
- "type": "AdditionalQuestions"
59
+ "type": "IAdditionalQuestions"
60
60
  }
61
61
  ],
62
62
  "optional": false,
@@ -290,6 +290,7 @@
290
290
  "reflectToAttr": false,
291
291
  "docs": "",
292
292
  "docsTags": [],
293
+ "default": "'day'",
293
294
  "values": [
294
295
  {
295
296
  "value": "day",
@@ -464,10 +465,10 @@
464
465
  },
465
466
  {
466
467
  "name": "name",
467
- "type": "any",
468
+ "type": "string",
468
469
  "complexType": {
469
- "original": "any",
470
- "resolved": "any",
470
+ "original": "string",
471
+ "resolved": "string",
471
472
  "references": {}
472
473
  },
473
474
  "mutable": false,
@@ -477,7 +478,7 @@
477
478
  "docsTags": [],
478
479
  "values": [
479
480
  {
480
- "type": "any"
481
+ "type": "string"
481
482
  }
482
483
  ],
483
484
  "optional": false,
@@ -1617,7 +1618,7 @@
1617
1618
  }
1618
1619
  },
1619
1620
  {
1620
- "filePath": "src/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.tsx",
1621
+ "filePath": "src/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.tsx",
1621
1622
  "encapsulation": "none",
1622
1623
  "tag": "justifi-additional-questions-form-step",
1623
1624
  "readme": "# justifi-additional-questions\n\n\n",
@@ -1778,7 +1779,7 @@
1778
1779
  "slots": [],
1779
1780
  "parts": [],
1780
1781
  "dependents": [
1781
- "justifi-business-form-stepped"
1782
+ "justifi-payment-provisioning"
1782
1783
  ],
1783
1784
  "dependencies": [
1784
1785
  "form-control-monetary"
@@ -1787,7 +1788,7 @@
1787
1788
  "justifi-additional-questions-form-step": [
1788
1789
  "form-control-monetary"
1789
1790
  ],
1790
- "justifi-business-form-stepped": [
1791
+ "justifi-payment-provisioning": [
1791
1792
  "justifi-additional-questions-form-step"
1792
1793
  ]
1793
1794
  }
@@ -2356,7 +2357,7 @@
2356
2357
  }
2357
2358
  },
2358
2359
  {
2359
- "filePath": "src/components/business-forms/business-form-stepped/business-address/business-address-form-step.tsx",
2360
+ "filePath": "src/components/business-forms/payment-provisioning/business-address/business-address-form-step.tsx",
2360
2361
  "encapsulation": "shadow",
2361
2362
  "tag": "justifi-business-address-form-step",
2362
2363
  "readme": "# justifi-business-address\n\n\n",
@@ -2522,7 +2523,7 @@
2522
2523
  }
2523
2524
  },
2524
2525
  {
2525
- "filePath": "src/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.tsx",
2526
+ "filePath": "src/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.tsx",
2526
2527
  "encapsulation": "none",
2527
2528
  "tag": "justifi-business-core-info-form-step",
2528
2529
  "readme": "# justifi-business-generic-info-form\n\n\n",
@@ -2683,7 +2684,7 @@
2683
2684
  "slots": [],
2684
2685
  "parts": [],
2685
2686
  "dependents": [
2686
- "justifi-business-form-stepped"
2687
+ "justifi-payment-provisioning"
2687
2688
  ],
2688
2689
  "dependencies": [
2689
2690
  "form-control-text",
@@ -2696,7 +2697,7 @@
2696
2697
  "form-control-select",
2697
2698
  "form-control-number-masked"
2698
2699
  ],
2699
- "justifi-business-form-stepped": [
2700
+ "justifi-payment-provisioning": [
2700
2701
  "justifi-business-core-info-form-step"
2701
2702
  ]
2702
2703
  }
@@ -2973,197 +2974,6 @@
2973
2974
  ]
2974
2975
  }
2975
2976
  },
2976
- {
2977
- "filePath": "src/components/business-forms/business-form-stepped/business-form-stepped.tsx",
2978
- "encapsulation": "none",
2979
- "tag": "justifi-business-form-stepped",
2980
- "readme": "# justifi-business-info\n\n\n",
2981
- "docs": "",
2982
- "docsTags": [
2983
- {
2984
- "name": "exportedPart",
2985
- "text": "label: Label for inputs"
2986
- },
2987
- {
2988
- "name": "exportedPart",
2989
- "text": "input: The input fields"
2990
- },
2991
- {
2992
- "name": "exportedPart",
2993
- "text": "input-invalid: Invalid state for inputfs"
2994
- }
2995
- ],
2996
- "usage": {},
2997
- "props": [
2998
- {
2999
- "name": "authToken",
3000
- "type": "string",
3001
- "complexType": {
3002
- "original": "string",
3003
- "resolved": "string",
3004
- "references": {}
3005
- },
3006
- "mutable": false,
3007
- "attr": "auth-token",
3008
- "reflectToAttr": false,
3009
- "docs": "",
3010
- "docsTags": [],
3011
- "values": [
3012
- {
3013
- "type": "string"
3014
- }
3015
- ],
3016
- "optional": false,
3017
- "required": false
3018
- },
3019
- {
3020
- "name": "businessId",
3021
- "type": "string",
3022
- "complexType": {
3023
- "original": "string",
3024
- "resolved": "string",
3025
- "references": {}
3026
- },
3027
- "mutable": false,
3028
- "attr": "business-id",
3029
- "reflectToAttr": false,
3030
- "docs": "",
3031
- "docsTags": [],
3032
- "values": [
3033
- {
3034
- "type": "string"
3035
- }
3036
- ],
3037
- "optional": false,
3038
- "required": false
3039
- },
3040
- {
3041
- "name": "hideErrors",
3042
- "type": "boolean",
3043
- "complexType": {
3044
- "original": "boolean",
3045
- "resolved": "boolean",
3046
- "references": {}
3047
- },
3048
- "mutable": false,
3049
- "attr": "hide-errors",
3050
- "reflectToAttr": false,
3051
- "docs": "",
3052
- "docsTags": [],
3053
- "default": "false",
3054
- "values": [
3055
- {
3056
- "type": "boolean"
3057
- }
3058
- ],
3059
- "optional": true,
3060
- "required": false
3061
- },
3062
- {
3063
- "name": "testMode",
3064
- "type": "boolean",
3065
- "complexType": {
3066
- "original": "boolean",
3067
- "resolved": "boolean",
3068
- "references": {}
3069
- },
3070
- "mutable": false,
3071
- "attr": "test-mode",
3072
- "reflectToAttr": false,
3073
- "docs": "",
3074
- "docsTags": [],
3075
- "default": "false",
3076
- "values": [
3077
- {
3078
- "type": "boolean"
3079
- }
3080
- ],
3081
- "optional": false,
3082
- "required": false
3083
- }
3084
- ],
3085
- "methods": [],
3086
- "events": [
3087
- {
3088
- "event": "clickEvent",
3089
- "detail": "BusinessFormClickEvent",
3090
- "bubbles": true,
3091
- "complexType": {
3092
- "original": "BusinessFormClickEvent",
3093
- "resolved": "BusinessFormClickEvent",
3094
- "references": {
3095
- "BusinessFormClickEvent": {
3096
- "location": "import",
3097
- "path": "../utils/business-form-types",
3098
- "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent"
3099
- }
3100
- }
3101
- },
3102
- "cancelable": true,
3103
- "composed": true,
3104
- "docs": "",
3105
- "docsTags": []
3106
- }
3107
- ],
3108
- "listeners": [],
3109
- "styles": [],
3110
- "slots": [],
3111
- "parts": [],
3112
- "dependents": [],
3113
- "dependencies": [
3114
- "justifi-business-core-info-form-step",
3115
- "justifi-legal-address-form-step",
3116
- "justifi-additional-questions-form-step",
3117
- "justifi-business-representative-form-step",
3118
- "justifi-business-owners-form-step"
3119
- ],
3120
- "dependencyGraph": {
3121
- "justifi-business-form-stepped": [
3122
- "justifi-business-core-info-form-step",
3123
- "justifi-legal-address-form-step",
3124
- "justifi-additional-questions-form-step",
3125
- "justifi-business-representative-form-step",
3126
- "justifi-business-owners-form-step"
3127
- ],
3128
- "justifi-business-core-info-form-step": [
3129
- "form-control-text",
3130
- "form-control-select",
3131
- "form-control-number-masked"
3132
- ],
3133
- "justifi-legal-address-form-step": [
3134
- "form-control-text",
3135
- "form-control-number",
3136
- "form-control-select"
3137
- ],
3138
- "justifi-additional-questions-form-step": [
3139
- "form-control-monetary"
3140
- ],
3141
- "justifi-business-representative-form-step": [
3142
- "form-control-text",
3143
- "form-control-select",
3144
- "form-control-number-masked",
3145
- "form-control-datepart",
3146
- "form-control-number",
3147
- "justifi-business-address-form"
3148
- ],
3149
- "justifi-business-address-form": [
3150
- "form-control-text",
3151
- "form-control-select",
3152
- "form-control-number"
3153
- ],
3154
- "justifi-business-owners-form-step": [
3155
- "justifi-owner-form"
3156
- ],
3157
- "justifi-owner-form": [
3158
- "form-control-text",
3159
- "form-control-select",
3160
- "form-control-number-masked",
3161
- "form-control-datepart",
3162
- "form-control-number",
3163
- "justifi-business-address-form"
3164
- ]
3165
- }
3166
- },
3167
2977
  {
3168
2978
  "filePath": "src/components/business-list/business-list.tsx",
3169
2979
  "encapsulation": "shadow",
@@ -3388,7 +3198,7 @@
3388
3198
  }
3389
3199
  },
3390
3200
  {
3391
- "filePath": "src/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.tsx",
3201
+ "filePath": "src/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.tsx",
3392
3202
  "encapsulation": "none",
3393
3203
  "tag": "justifi-business-owners-form-step",
3394
3204
  "readme": "# justifi-business-owners\n\n\n",
@@ -3549,7 +3359,7 @@
3549
3359
  "slots": [],
3550
3360
  "parts": [],
3551
3361
  "dependents": [
3552
- "justifi-business-form-stepped"
3362
+ "justifi-payment-provisioning"
3553
3363
  ],
3554
3364
  "dependencies": [
3555
3365
  "justifi-owner-form"
@@ -3571,7 +3381,7 @@
3571
3381
  "form-control-select",
3572
3382
  "form-control-number"
3573
3383
  ],
3574
- "justifi-business-form-stepped": [
3384
+ "justifi-payment-provisioning": [
3575
3385
  "justifi-business-owners-form-step"
3576
3386
  ]
3577
3387
  }
@@ -3654,7 +3464,7 @@
3654
3464
  }
3655
3465
  },
3656
3466
  {
3657
- "filePath": "src/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.tsx",
3467
+ "filePath": "src/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.tsx",
3658
3468
  "encapsulation": "none",
3659
3469
  "tag": "justifi-business-representative-form-step",
3660
3470
  "readme": "# justifi-business-representative-form-step\n\n\n",
@@ -3807,7 +3617,7 @@
3807
3617
  }
3808
3618
  ],
3809
3619
  "dependents": [
3810
- "justifi-business-form-stepped"
3620
+ "justifi-payment-provisioning"
3811
3621
  ],
3812
3622
  "dependencies": [
3813
3623
  "form-control-text",
@@ -3831,7 +3641,7 @@
3831
3641
  "form-control-select",
3832
3642
  "form-control-number"
3833
3643
  ],
3834
- "justifi-business-form-stepped": [
3644
+ "justifi-payment-provisioning": [
3835
3645
  "justifi-business-representative-form-step"
3836
3646
  ]
3837
3647
  }
@@ -4638,7 +4448,7 @@
4638
4448
  }
4639
4449
  },
4640
4450
  {
4641
- "filePath": "src/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.tsx",
4451
+ "filePath": "src/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.tsx",
4642
4452
  "encapsulation": "none",
4643
4453
  "tag": "justifi-legal-address-form-step",
4644
4454
  "readme": "# legal-address-form\n\n\n",
@@ -4799,20 +4609,20 @@
4799
4609
  "slots": [],
4800
4610
  "parts": [],
4801
4611
  "dependents": [
4802
- "justifi-business-form-stepped"
4612
+ "justifi-payment-provisioning"
4803
4613
  ],
4804
4614
  "dependencies": [
4805
4615
  "form-control-text",
4806
- "form-control-number",
4807
- "form-control-select"
4616
+ "form-control-select",
4617
+ "form-control-number"
4808
4618
  ],
4809
4619
  "dependencyGraph": {
4810
4620
  "justifi-legal-address-form-step": [
4811
4621
  "form-control-text",
4812
- "form-control-number",
4813
- "form-control-select"
4622
+ "form-control-select",
4623
+ "form-control-number"
4814
4624
  ],
4815
- "justifi-business-form-stepped": [
4625
+ "justifi-payment-provisioning": [
4816
4626
  "justifi-legal-address-form-step"
4817
4627
  ]
4818
4628
  }
@@ -6376,6 +6186,197 @@
6376
6186
  ]
6377
6187
  }
6378
6188
  },
6189
+ {
6190
+ "filePath": "src/components/business-forms/payment-provisioning/payment-provisioning.tsx",
6191
+ "encapsulation": "none",
6192
+ "tag": "justifi-payment-provisioning",
6193
+ "readme": "# justifi-business-info\n\n\n",
6194
+ "docs": "",
6195
+ "docsTags": [
6196
+ {
6197
+ "name": "exportedPart",
6198
+ "text": "label: Label for inputs"
6199
+ },
6200
+ {
6201
+ "name": "exportedPart",
6202
+ "text": "input: The input fields"
6203
+ },
6204
+ {
6205
+ "name": "exportedPart",
6206
+ "text": "input-invalid: Invalid state for inputfs"
6207
+ }
6208
+ ],
6209
+ "usage": {},
6210
+ "props": [
6211
+ {
6212
+ "name": "authToken",
6213
+ "type": "string",
6214
+ "complexType": {
6215
+ "original": "string",
6216
+ "resolved": "string",
6217
+ "references": {}
6218
+ },
6219
+ "mutable": false,
6220
+ "attr": "auth-token",
6221
+ "reflectToAttr": false,
6222
+ "docs": "",
6223
+ "docsTags": [],
6224
+ "values": [
6225
+ {
6226
+ "type": "string"
6227
+ }
6228
+ ],
6229
+ "optional": false,
6230
+ "required": false
6231
+ },
6232
+ {
6233
+ "name": "businessId",
6234
+ "type": "string",
6235
+ "complexType": {
6236
+ "original": "string",
6237
+ "resolved": "string",
6238
+ "references": {}
6239
+ },
6240
+ "mutable": false,
6241
+ "attr": "business-id",
6242
+ "reflectToAttr": false,
6243
+ "docs": "",
6244
+ "docsTags": [],
6245
+ "values": [
6246
+ {
6247
+ "type": "string"
6248
+ }
6249
+ ],
6250
+ "optional": false,
6251
+ "required": false
6252
+ },
6253
+ {
6254
+ "name": "hideErrors",
6255
+ "type": "boolean",
6256
+ "complexType": {
6257
+ "original": "boolean",
6258
+ "resolved": "boolean",
6259
+ "references": {}
6260
+ },
6261
+ "mutable": false,
6262
+ "attr": "hide-errors",
6263
+ "reflectToAttr": false,
6264
+ "docs": "",
6265
+ "docsTags": [],
6266
+ "default": "false",
6267
+ "values": [
6268
+ {
6269
+ "type": "boolean"
6270
+ }
6271
+ ],
6272
+ "optional": true,
6273
+ "required": false
6274
+ },
6275
+ {
6276
+ "name": "testMode",
6277
+ "type": "boolean",
6278
+ "complexType": {
6279
+ "original": "boolean",
6280
+ "resolved": "boolean",
6281
+ "references": {}
6282
+ },
6283
+ "mutable": false,
6284
+ "attr": "test-mode",
6285
+ "reflectToAttr": false,
6286
+ "docs": "",
6287
+ "docsTags": [],
6288
+ "default": "false",
6289
+ "values": [
6290
+ {
6291
+ "type": "boolean"
6292
+ }
6293
+ ],
6294
+ "optional": false,
6295
+ "required": false
6296
+ }
6297
+ ],
6298
+ "methods": [],
6299
+ "events": [
6300
+ {
6301
+ "event": "clickEvent",
6302
+ "detail": "BusinessFormClickEvent",
6303
+ "bubbles": true,
6304
+ "complexType": {
6305
+ "original": "BusinessFormClickEvent",
6306
+ "resolved": "BusinessFormClickEvent",
6307
+ "references": {
6308
+ "BusinessFormClickEvent": {
6309
+ "location": "import",
6310
+ "path": "../utils/business-form-types",
6311
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent"
6312
+ }
6313
+ }
6314
+ },
6315
+ "cancelable": true,
6316
+ "composed": true,
6317
+ "docs": "",
6318
+ "docsTags": []
6319
+ }
6320
+ ],
6321
+ "listeners": [],
6322
+ "styles": [],
6323
+ "slots": [],
6324
+ "parts": [],
6325
+ "dependents": [],
6326
+ "dependencies": [
6327
+ "justifi-business-core-info-form-step",
6328
+ "justifi-legal-address-form-step",
6329
+ "justifi-additional-questions-form-step",
6330
+ "justifi-business-representative-form-step",
6331
+ "justifi-business-owners-form-step"
6332
+ ],
6333
+ "dependencyGraph": {
6334
+ "justifi-payment-provisioning": [
6335
+ "justifi-business-core-info-form-step",
6336
+ "justifi-legal-address-form-step",
6337
+ "justifi-additional-questions-form-step",
6338
+ "justifi-business-representative-form-step",
6339
+ "justifi-business-owners-form-step"
6340
+ ],
6341
+ "justifi-business-core-info-form-step": [
6342
+ "form-control-text",
6343
+ "form-control-select",
6344
+ "form-control-number-masked"
6345
+ ],
6346
+ "justifi-legal-address-form-step": [
6347
+ "form-control-text",
6348
+ "form-control-select",
6349
+ "form-control-number"
6350
+ ],
6351
+ "justifi-additional-questions-form-step": [
6352
+ "form-control-monetary"
6353
+ ],
6354
+ "justifi-business-representative-form-step": [
6355
+ "form-control-text",
6356
+ "form-control-select",
6357
+ "form-control-number-masked",
6358
+ "form-control-datepart",
6359
+ "form-control-number",
6360
+ "justifi-business-address-form"
6361
+ ],
6362
+ "justifi-business-address-form": [
6363
+ "form-control-text",
6364
+ "form-control-select",
6365
+ "form-control-number"
6366
+ ],
6367
+ "justifi-business-owners-form-step": [
6368
+ "justifi-owner-form"
6369
+ ],
6370
+ "justifi-owner-form": [
6371
+ "form-control-text",
6372
+ "form-control-select",
6373
+ "form-control-number-masked",
6374
+ "form-control-datepart",
6375
+ "form-control-number",
6376
+ "justifi-business-address-form"
6377
+ ]
6378
+ }
6379
+ },
6379
6380
  {
6380
6381
  "filePath": "src/components/payments-list/payments-list.tsx",
6381
6382
  "encapsulation": "shadow",
@@ -8853,13 +8854,13 @@
8853
8854
  "docstring": "",
8854
8855
  "path": "../../node_modules/.pnpm/yup@1.3.3/node_modules/yup/index.d.ts"
8855
8856
  },
8856
- "src/api/Business.ts::AdditionalQuestions": {
8857
- "declaration": "export interface AdditionalQuestions {\n business_revenue?: string;\n business_payment_volume?: string;\n business_dispute_volume?: string;\n business_receivable_volume?: string;\n}",
8857
+ "src/api/Business.ts::IAdditionalQuestions": {
8858
+ "declaration": "export interface IAdditionalQuestions {\n business_revenue?: string;\n business_payment_volume?: string;\n business_dispute_volume?: string;\n business_receivable_volume?: string;\n}",
8858
8859
  "docstring": "",
8859
8860
  "path": "src/api/Business.ts"
8860
8861
  },
8861
8862
  "src/api/Business.ts::IBusiness": {
8862
- "declaration": "export interface IBusiness {\n additional_questions: AdditionalQuestions | {};\n business_structure: BusinessStructure;\n business_type: BusinessType;\n bank_accounts: BankAccount[];\n created_at: string;\n documents: Document[];\n doing_business_as: string;\n email: string;\n id: string;\n industry: string;\n legal_address: IAddress | {};\n legal_name: string;\n metadata: any;\n owners: Identity[];\n phone: string;\n platform_account_id: string;\n product_categories: ProductCategories;\n representative: Identity | {};\n tax_id: string;\n updated_at: string;\n website_url: string;\n}",
8863
+ "declaration": "export interface IBusiness {\n additional_questions: IAdditionalQuestions | {};\n business_structure: BusinessStructure;\n business_type: BusinessType;\n bank_accounts: BankAccount[];\n created_at: string;\n documents: Document[];\n doing_business_as: string;\n email: string;\n id: string;\n industry: string;\n legal_address: IAddress | {};\n legal_name: string;\n metadata: any;\n owners: Identity[];\n phone: string;\n platform_account_id: string;\n product_categories: ProductCategories;\n representative: Identity | {};\n tax_id: string;\n updated_at: string;\n website_url: string;\n}",
8863
8864
  "docstring": "",
8864
8865
  "path": "src/api/Business.ts"
8865
8866
  },
@@ -8888,11 +8889,6 @@
8888
8889
  "docstring": "",
8889
8890
  "path": "src/components/form/form.ts"
8890
8891
  },
8891
- "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent": {
8892
- "declaration": "export interface BusinessFormServerErrorEvent {\n data?: any;\n message: BusinessFormServerErrors;\n}",
8893
- "docstring": "",
8894
- "path": "src/components/business-forms/utils/business-form-types.ts"
8895
- },
8896
8892
  "src/components/business-forms/utils/business-form-types.ts::OwnerFormSubmitEvent": {
8897
8893
  "declaration": "export interface OwnerFormSubmitEvent {\n data: any;\n metadata?: any;\n}",
8898
8894
  "docstring": "",
@@ -8903,6 +8899,11 @@
8903
8899
  "docstring": "",
8904
8900
  "path": "src/components/business-forms/utils/business-form-types.ts"
8905
8901
  },
8902
+ "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent": {
8903
+ "declaration": "export interface BusinessFormServerErrorEvent {\n data?: any;\n message: BusinessFormServerErrors;\n}",
8904
+ "docstring": "",
8905
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8906
+ },
8906
8907
  "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption": {
8907
8908
  "declaration": "any",
8908
8909
  "docstring": "",
@@ -1,3 +1,5 @@
1
+ import { g as getStateAbbreviation } from './utils-d9e90399.js';
2
+
1
3
  var BusinessStructure;
2
4
  (function (BusinessStructure) {
3
5
  BusinessStructure["sole_proprietorship"] = "sole_proprietorship";
@@ -29,12 +31,20 @@ class Address {
29
31
  this.line2 = address.line2;
30
32
  this.postal_code = address.postal_code;
31
33
  this.city = address.city;
32
- this.state = address.state;
34
+ this.state = getStateAbbreviation(address.state);
33
35
  this.country = address.country || 'USA';
34
36
  this.created_at = address.created_at;
35
37
  this.updated_at = address.updated_at;
36
38
  }
37
39
  }
40
+ class AdditionalQuestions {
41
+ constructor(additionalQuestions) {
42
+ this.business_revenue = additionalQuestions.business_revenue;
43
+ this.business_payment_volume = additionalQuestions.business_payment_volume;
44
+ this.business_dispute_volume = additionalQuestions.business_dispute_volume;
45
+ this.business_receivable_volume = additionalQuestions.business_receivable_volume;
46
+ }
47
+ }
38
48
  class CoreBusinessInfo {
39
49
  constructor(coreBusinessInfo) {
40
50
  this.business_structure = coreBusinessInfo.business_structure;
@@ -74,4 +84,4 @@ class Business {
74
84
  }
75
85
  }
76
86
 
77
- export { Address as A, Business as B, CoreBusinessInfo as C };
87
+ export { AdditionalQuestions as A, Business as B, CoreBusinessInfo as C, Address as a };