@justifi/webcomponents 4.23.0 → 5.0.0-rc-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 (957) hide show
  1. package/dist/cjs/{Business-aa799fec.js → Business-cfd6a2dd.js} +5 -0
  2. package/dist/cjs/Dispute-eb6bad54.js +59 -0
  3. package/dist/cjs/{Payment-87b47c43.js → Payment-d074b246.js} +7 -9
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +9 -28
  5. package/dist/cjs/bank-account-form_9.cjs.entry.js +493 -0
  6. package/dist/cjs/{business-additional-questions-schema-0cddd038.js → business-additional-questions-schema-caa23e95.js} +2 -2
  7. package/dist/cjs/business-details-core.cjs.entry.js +26 -4
  8. package/dist/cjs/{business-form-options-5db0bd5e.js → business-form-options-4bcb8943.js} +1 -1
  9. package/dist/cjs/{business-identity-schema-f5a3b008.js → business-identity-schema-0c537067.js} +2 -2
  10. package/dist/cjs/button-94bdc1f0.js +20 -0
  11. package/dist/cjs/{Analytics-25d3d168.js → check-pkg-version-23c816dd.js} +22 -2
  12. package/dist/cjs/{checkout.service-aae1996c.js → checkout.service-9891a349.js} +1 -1
  13. package/dist/cjs/checkouts-list-core.cjs.entry.js +37 -30
  14. package/dist/cjs/checkouts-list-params-state-418c75a3.js +14 -0
  15. package/dist/cjs/checkouts-table-17648e93.js +48 -0
  16. package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper.cjs.entry.js} +3 -107
  17. package/dist/cjs/dispute.service-2064ae0f.js +29 -0
  18. package/dist/cjs/event-types-180a85a9.js +23 -0
  19. package/dist/cjs/{table-ec9ce9f7.js → event-types-4df47396.js} +16 -8
  20. package/dist/cjs/event-types-8edaabbb.js +22 -0
  21. package/dist/cjs/form-alert_5.cjs.entry.js +9 -8
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +57 -0
  23. package/dist/cjs/form-control-date.cjs.entry.js +21 -2
  24. package/dist/cjs/form-control-error-text-a2fd5fc1.js +14 -0
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +90 -0
  26. package/dist/cjs/form-control-file.cjs.entry.js +21 -2
  27. package/dist/cjs/form-control-help-text-b6f7ae6e.js +14 -0
  28. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +22 -2
  30. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +21 -3
  31. package/dist/cjs/form-control-number.cjs.entry.js +21 -2
  32. package/dist/cjs/form-control-radio.cjs.entry.js +25 -17
  33. package/dist/cjs/form-control-select_3.cjs.entry.js +145 -0
  34. package/dist/cjs/{get-payout-csv-1eed32ee.js → get-payout-csv-4e60474e.js} +1 -1
  35. package/dist/cjs/{get-subaccounts-1d2fb201.js → get-subaccounts-2ea9676c.js} +1 -1
  36. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +6 -8
  37. package/dist/cjs/header-1-cb7af794.js +10 -0
  38. package/dist/cjs/header-3-75e50713.js +10 -0
  39. package/dist/cjs/iframe-input-styles-state-d0de0b24.js +26 -0
  40. package/dist/cjs/{justifi-billing-form_2.cjs.entry.js → iframe-input.cjs.entry.js} +73 -180
  41. package/dist/cjs/{index-fb499e95.js → index-5b9a3b5f.js} +1 -93
  42. package/dist/cjs/{insurance-state-80e24caf.js → index-d2d0b181.js} +2 -24
  43. package/dist/cjs/{index.esm-97cf6825.js → index.esm-a397536a.js} +1 -1
  44. package/dist/cjs/insurance-state-001cfe12.js +34 -0
  45. package/dist/cjs/justifi-additional-questions-form-step-core_8.cjs.entry.js +591 -0
  46. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +41 -41
  47. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +413 -0
  48. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -7
  49. package/dist/cjs/justifi-business-form.cjs.entry.js +24 -31
  50. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +3 -2
  51. package/dist/cjs/justifi-checkout-core.cjs.entry.js +15 -19
  52. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
  53. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +38 -0
  54. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -13
  55. package/dist/cjs/justifi-details.cjs.entry.js +4 -4
  56. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +50 -11
  57. package/dist/cjs/justifi-dispute-management.cjs.entry.js +87 -2
  58. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +378 -0
  59. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -6
  60. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +16 -26
  61. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -8
  62. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +13 -8
  63. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -6
  64. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +43 -0
  65. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
  66. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -8
  67. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +27 -0
  68. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -13
  69. package/dist/cjs/justifi-refund-form.cjs.entry.js +6 -9
  70. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +17 -18
  71. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -7
  72. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +35 -0
  73. package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
  74. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +10 -14
  75. package/dist/cjs/loader.cjs.js +2 -2
  76. package/dist/cjs/{package-bc606eae.js → package-1a3b3cdf.js} +1 -1
  77. package/dist/cjs/pagination-menu.cjs.entry.js +26 -0
  78. package/dist/cjs/parts-811ddb9c.js +119 -0
  79. package/dist/cjs/payment-details-core.cjs.entry.js +13 -11
  80. package/dist/cjs/{payment.service-86871f43.js → payment.service-0a8c3a01.js} +1 -1
  81. package/dist/cjs/payments-list-core.cjs.entry.js +34 -27
  82. package/dist/cjs/payments-list-params-state-0ff968a7.js +14 -0
  83. package/dist/cjs/payments-table-cf5d1c33.js +32 -0
  84. package/dist/cjs/payout-details-core.cjs.entry.js +8 -5
  85. package/dist/cjs/payouts-list-core.cjs.entry.js +37 -30
  86. package/dist/cjs/payouts-list-params-state-16348184.js +14 -0
  87. package/dist/cjs/payouts-table-58881d95.js +38 -0
  88. package/dist/cjs/{schema-validations-e8a17401.js → schema-validations-0be8068a.js} +3 -3
  89. package/dist/cjs/skeleton-5ca03840.js +13 -0
  90. package/dist/cjs/spinner-c11fcb44.js +12 -0
  91. package/dist/cjs/styled-host-94309bab.js +14 -0
  92. package/dist/cjs/table-filters-menu.cjs.entry.js +45 -0
  93. package/dist/cjs/terminals-list-core.cjs.entry.js +36 -29
  94. package/dist/cjs/terminals-list-params-state-95ff6a64.js +14 -0
  95. package/dist/cjs/terminals-table-91985249.js +33 -0
  96. package/dist/cjs/{utils-e88fbc94.js → utils-a21b7453.js} +31 -28
  97. package/dist/cjs/utils-fc17191b.js +29 -0
  98. package/dist/cjs/webcomponents.cjs.js +2 -2
  99. package/dist/collection/api/Analytics.js +1 -1
  100. package/dist/collection/api/Business.js +5 -0
  101. package/dist/collection/api/Dispute.js +55 -0
  102. package/dist/collection/api/DisputeEvidenceDocument.js +44 -0
  103. package/dist/collection/api/Payment.js +6 -9
  104. package/dist/collection/api/services/dispute.service.js +20 -0
  105. package/dist/collection/collection-manifest.json +16 -17
  106. package/dist/collection/components/billing-form/billing-form.js +2 -19
  107. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -19
  108. package/dist/collection/components/business-details/business-details-core.js +8 -7
  109. package/dist/collection/components/business-details/business-details-loading.js +6 -0
  110. package/dist/collection/components/business-details/business-details.js +5 -13
  111. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -11
  112. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -11
  113. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -11
  114. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -19
  115. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -6
  116. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -4
  117. package/dist/collection/components/business-forms/business-form/business-form.js +18 -59
  118. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -1
  119. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +2 -6
  120. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  121. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +22 -52
  122. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  123. package/dist/collection/components/business-forms/owner-form/owner-form.js +6 -6
  124. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +18 -40
  125. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +6 -11
  126. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +19 -44
  127. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +18 -40
  128. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +6 -11
  129. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -47
  130. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +6 -11
  131. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -1
  132. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +17 -39
  133. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +6 -6
  134. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +21 -42
  135. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  136. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +4 -3
  137. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +18 -39
  138. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +6 -11
  139. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +32 -23
  140. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
  141. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -20
  142. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +7 -11
  143. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +30 -31
  144. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +2 -11
  145. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -1
  146. package/dist/collection/components/business-forms/utils/event-types.js +21 -0
  147. package/dist/collection/components/business-forms/utils/index.js +4 -0
  148. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +65 -0
  149. package/dist/collection/components/checkout/card-form/card-form.js +67 -0
  150. package/dist/collection/components/checkout/checkout-core.js +19 -28
  151. package/dist/collection/components/checkout/checkout.js +7 -7
  152. package/dist/collection/components/checkout/message-event-types.js +4 -0
  153. package/dist/collection/components/checkout/new-payment-method.js +23 -15
  154. package/dist/collection/components/checkout/payment-method-options.js +1 -11
  155. package/dist/collection/components/checkout/save-new-payment-method.js +3 -4
  156. package/dist/collection/components/checkout/saved-payment-method.js +6 -5
  157. package/dist/collection/components/checkout/sezzle-payment-method.js +6 -4
  158. package/dist/collection/components/checkouts-list/checkouts-list-core.js +43 -36
  159. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +8 -61
  160. package/dist/collection/components/checkouts-list/checkouts-list-params-state.js +8 -0
  161. package/dist/collection/components/checkouts-list/checkouts-list.js +7 -29
  162. package/dist/collection/components/checkouts-list/checkouts-table.js +13 -12
  163. package/dist/collection/components/dispute-management/dispute-actions.js +31 -0
  164. package/dist/collection/components/dispute-management/dispute-management-core.js +131 -17
  165. package/dist/collection/components/dispute-management/dispute-management.js +143 -2
  166. package/dist/collection/components/dispute-management/dispute-notification.js +135 -15
  167. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +110 -0
  168. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +106 -0
  169. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +106 -0
  170. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +117 -0
  171. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +362 -0
  172. package/dist/collection/components/dispute-management/dispute-response/dispute-response-form-types.js +12 -0
  173. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +186 -0
  174. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +106 -0
  175. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +106 -0
  176. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +106 -0
  177. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +106 -0
  178. package/dist/collection/components/dispute-management/dispute-response/schemas/additional-statement-schema.js +5 -0
  179. package/dist/collection/components/dispute-management/dispute-response/schemas/cancellation-policy-schema.js +6 -0
  180. package/dist/collection/components/dispute-management/dispute-response/schemas/customer-details-schema.js +7 -0
  181. package/dist/collection/components/dispute-management/dispute-response/schemas/dispute-reason-schema.js +5 -0
  182. package/dist/collection/components/dispute-management/dispute-response/schemas/duplicate-charge-schema.js +6 -0
  183. package/dist/collection/components/dispute-management/dispute-response/schemas/electronic-evidence-schema.js +5 -0
  184. package/dist/collection/components/dispute-management/dispute-response/schemas/product-or-service-schema.js +6 -0
  185. package/dist/collection/components/dispute-management/dispute-response/schemas/refund-policy-schema.js +6 -0
  186. package/dist/collection/components/dispute-management/dispute-response/schemas/shipping-details-schema.js +8 -0
  187. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +106 -0
  188. package/dist/collection/components/dispute-management/event-types.js +20 -0
  189. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +8 -17
  190. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +5 -5
  191. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +19 -22
  192. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +6 -6
  193. package/dist/collection/components/pagination-menu/pagination-menu.js +5 -4
  194. package/dist/collection/components/payment-details/payment-details-core.js +15 -13
  195. package/dist/collection/components/payment-details/payment-details.js +5 -28
  196. package/dist/collection/components/payments-list/payments-list-core.js +40 -33
  197. package/dist/collection/components/payments-list/payments-list-filters.js +8 -61
  198. package/dist/collection/components/payments-list/payments-list-params-state.js +8 -0
  199. package/dist/collection/components/payments-list/payments-list.js +7 -29
  200. package/dist/collection/components/payments-list/payments-table.js +15 -14
  201. package/dist/collection/components/payout-details/payout-details-core.js +10 -8
  202. package/dist/collection/components/payout-details/payout-details.js +5 -5
  203. package/dist/collection/components/payouts-list/payouts-list-core.js +43 -36
  204. package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -60
  205. package/dist/collection/components/payouts-list/payouts-list-params-state.js +8 -0
  206. package/dist/collection/components/payouts-list/payouts-list.js +6 -28
  207. package/dist/collection/components/payouts-list/payouts-table.js +19 -18
  208. package/dist/collection/components/refund-form/refund-form.js +1 -11
  209. package/dist/collection/components/refund-form/refund-form.stories.js +1 -60
  210. package/dist/collection/components/terminals-list/terminals-list-core.js +43 -36
  211. package/dist/collection/components/terminals-list/terminals-list-filters.js +8 -61
  212. package/dist/collection/components/terminals-list/terminals-list-params-state.js +8 -0
  213. package/dist/collection/components/terminals-list/terminals-list.js +7 -29
  214. package/dist/collection/components/terminals-list/terminals-table.js +9 -8
  215. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +20 -24
  216. package/dist/collection/styles/parts.js +74 -0
  217. package/dist/collection/ui-components/button.js +6 -12
  218. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  219. package/dist/collection/ui-components/details/details.js +2 -4
  220. package/dist/collection/ui-components/details/utils.js +7 -10
  221. package/dist/collection/ui-components/filters/table-filters-menu.js +5 -1
  222. package/dist/collection/ui-components/form/form-control-checkbox.js +31 -16
  223. package/dist/collection/ui-components/form/form-control-date.js +25 -1
  224. package/dist/collection/ui-components/form/form-control-file-v2.js +177 -0
  225. package/dist/collection/ui-components/form/form-control-file.js +22 -2
  226. package/dist/collection/ui-components/form/form-control-monetary.js +25 -1
  227. package/dist/collection/ui-components/form/form-control-number-masked.js +24 -1
  228. package/dist/collection/ui-components/form/form-control-number.js +24 -1
  229. package/dist/collection/ui-components/form/form-control-radio.js +50 -40
  230. package/dist/collection/ui-components/form/form-control-select.js +25 -1
  231. package/dist/collection/ui-components/form/form-control-text.js +24 -1
  232. package/dist/collection/ui-components/form/form-control-textarea.js +27 -2
  233. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +2 -1
  234. package/dist/collection/ui-components/form/form-helpers/form-control-error-text.js +9 -0
  235. package/dist/collection/ui-components/form/form-helpers/form-control-help-text.js +9 -0
  236. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +2 -1
  237. package/dist/collection/ui-components/form/form.js +1 -1
  238. package/dist/collection/ui-components/form/hidden-input.js +85 -0
  239. package/dist/collection/ui-components/form/iframe-input-styles-state.js +21 -0
  240. package/dist/collection/ui-components/form/iframe-input.js +215 -0
  241. package/dist/collection/ui-components/headers/header-1.js +5 -0
  242. package/dist/collection/ui-components/headers/header-2.js +5 -0
  243. package/dist/collection/ui-components/headers/header-3.js +5 -0
  244. package/dist/collection/ui-components/index.js +6 -0
  245. package/dist/collection/ui-components/skeleton.js +4 -34
  246. package/dist/collection/ui-components/spinner.js +6 -0
  247. package/dist/collection/ui-components/table/event-types.js +6 -0
  248. package/dist/collection/ui-components/table-empty-state.js +2 -1
  249. package/dist/collection/ui-components/table-error-state.js +2 -1
  250. package/dist/collection/ui-components/table-loading-state.js +3 -1
  251. package/dist/collection/utils/table.js +2 -2
  252. package/dist/collection/utils/utils.js +27 -26
  253. package/dist/docs.json +3573 -4721
  254. package/dist/esm/{Business-b73d5055.js → Business-29c69f22.js} +6 -1
  255. package/dist/esm/Dispute-5fd28ec9.js +57 -0
  256. package/dist/esm/{Payment-2a868d0c.js → Payment-4f72d277.js} +7 -9
  257. package/dist/esm/additional-questions-details_5.entry.js +9 -28
  258. package/dist/esm/bank-account-form_9.entry.js +481 -0
  259. package/dist/esm/{business-additional-questions-schema-af4aa8ae.js → business-additional-questions-schema-48e93928.js} +2 -2
  260. package/dist/esm/business-details-core.entry.js +26 -4
  261. package/dist/esm/{business-form-options-d790973e.js → business-form-options-018f62a5.js} +1 -1
  262. package/dist/esm/{business-identity-schema-1a5cb306.js → business-identity-schema-75126188.js} +2 -2
  263. package/dist/esm/button-1886a33d.js +18 -0
  264. package/dist/esm/{Analytics-810c3026.js → check-pkg-version-c2078b31.js} +22 -3
  265. package/dist/esm/{checkout.service-c1e44e0c.js → checkout.service-925ded8e.js} +1 -1
  266. package/dist/esm/checkouts-list-core.entry.js +36 -29
  267. package/dist/esm/checkouts-list-params-state-1d968971.js +10 -0
  268. package/dist/esm/checkouts-table-8b116232.js +44 -0
  269. package/dist/esm/{custom-popper_4.entry.js → custom-popper.entry.js} +4 -105
  270. package/dist/esm/dispute.service-588dd905.js +27 -0
  271. package/dist/esm/{table-44e3d1e7.js → event-types-01dcdcbd.js} +17 -9
  272. package/dist/esm/event-types-07cdb9a0.js +22 -0
  273. package/dist/esm/event-types-5c87de02.js +23 -0
  274. package/dist/esm/form-alert_5.entry.js +9 -8
  275. package/dist/esm/form-control-checkbox.entry.js +53 -0
  276. package/dist/esm/form-control-date.entry.js +21 -2
  277. package/dist/esm/form-control-error-text-3b2553b5.js +12 -0
  278. package/dist/esm/form-control-file-v2_2.entry.js +85 -0
  279. package/dist/esm/form-control-file.entry.js +21 -2
  280. package/dist/esm/form-control-help-text-a2fc3617.js +12 -0
  281. package/dist/esm/form-control-help-text.entry.js +1 -1
  282. package/dist/esm/form-control-monetary.entry.js +22 -2
  283. package/dist/esm/form-control-number-masked_2.entry.js +21 -3
  284. package/dist/esm/form-control-number.entry.js +21 -2
  285. package/dist/esm/form-control-radio.entry.js +25 -17
  286. package/dist/esm/form-control-select_3.entry.js +139 -0
  287. package/dist/esm/{get-payout-csv-3b83b088.js → get-payout-csv-b95a5d54.js} +1 -1
  288. package/dist/esm/{get-subaccounts-dd20cfa4.js → get-subaccounts-b9a00d48.js} +1 -1
  289. package/dist/esm/gross-payment-chart-core.entry.js +6 -8
  290. package/dist/esm/header-1-c6a00a22.js +8 -0
  291. package/dist/esm/header-3-a1c6d475.js +8 -0
  292. package/dist/esm/iframe-input-styles-state-ff730fe5.js +23 -0
  293. package/dist/esm/{justifi-billing-form_2.entry.js → iframe-input.entry.js} +73 -179
  294. package/dist/esm/{index-57431c24.js → index-29fcfdf5.js} +1 -93
  295. package/dist/esm/{insurance-state-8ce01e59.js → index-a47fdc7f.js} +2 -21
  296. package/dist/esm/{index.esm-ed37201b.js → index.esm-0b6849c2.js} +1 -1
  297. package/dist/esm/insurance-state-8fc9376f.js +28 -0
  298. package/dist/esm/justifi-additional-questions-form-step-core_8.entry.js +580 -0
  299. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +41 -41
  300. package/dist/esm/justifi-additional-statement_8.entry.js +402 -0
  301. package/dist/esm/justifi-business-details.entry.js +6 -6
  302. package/dist/esm/justifi-business-form.entry.js +20 -27
  303. package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -2
  304. package/dist/esm/justifi-checkout-core.entry.js +15 -19
  305. package/dist/esm/justifi-checkout.entry.js +8 -8
  306. package/dist/esm/justifi-checkouts-list-filters.entry.js +34 -0
  307. package/dist/esm/justifi-checkouts-list.entry.js +12 -12
  308. package/dist/esm/justifi-details.entry.js +4 -4
  309. package/dist/esm/justifi-dispute-management-core.entry.js +50 -11
  310. package/dist/esm/justifi-dispute-management.entry.js +87 -2
  311. package/dist/esm/justifi-dispute-notification_3.entry.js +372 -0
  312. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  313. package/dist/esm/justifi-owner-form_3.entry.js +14 -24
  314. package/dist/esm/justifi-payment-details.entry.js +8 -7
  315. package/dist/esm/justifi-payment-provisioning-core.entry.js +12 -7
  316. package/dist/esm/justifi-payment-provisioning.entry.js +4 -5
  317. package/dist/esm/justifi-payments-list-filters.entry.js +39 -0
  318. package/dist/esm/justifi-payments-list.entry.js +11 -11
  319. package/dist/esm/justifi-payout-details.entry.js +8 -7
  320. package/dist/esm/justifi-payouts-list-filters.entry.js +23 -0
  321. package/dist/esm/justifi-payouts-list.entry.js +18 -12
  322. package/dist/esm/justifi-refund-form.entry.js +6 -9
  323. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +17 -18
  324. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
  325. package/dist/esm/justifi-terminals-list-filters.entry.js +31 -0
  326. package/dist/esm/justifi-terminals-list.entry.js +10 -10
  327. package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -13
  328. package/dist/esm/loader.js +3 -3
  329. package/dist/esm/{package-16f4801d.js → package-84f77b11.js} +1 -1
  330. package/dist/esm/pagination-menu.entry.js +22 -0
  331. package/dist/esm/parts-186d437f.js +72 -0
  332. package/dist/esm/payment-details-core.entry.js +13 -11
  333. package/dist/esm/{payment.service-ca6b5bc5.js → payment.service-064fac31.js} +1 -1
  334. package/dist/esm/payments-list-core.entry.js +33 -26
  335. package/dist/esm/payments-list-params-state-b3dab8bc.js +10 -0
  336. package/dist/esm/payments-table-d6fbab5b.js +28 -0
  337. package/dist/esm/payout-details-core.entry.js +8 -5
  338. package/dist/esm/payouts-list-core.entry.js +36 -29
  339. package/dist/esm/payouts-list-params-state-49618e7a.js +10 -0
  340. package/dist/esm/payouts-table-2e61a116.js +34 -0
  341. package/dist/esm/{schema-validations-5dc879a9.js → schema-validations-c7d4f9df.js} +3 -3
  342. package/dist/esm/skeleton-8f71cdf7.js +11 -0
  343. package/dist/esm/spinner-879489b3.js +10 -0
  344. package/dist/esm/styled-host-32228b45.js +12 -0
  345. package/dist/esm/table-filters-menu.entry.js +41 -0
  346. package/dist/esm/terminals-list-core.entry.js +35 -28
  347. package/dist/esm/terminals-list-params-state-2c48d35f.js +10 -0
  348. package/dist/esm/terminals-table-8e42977c.js +29 -0
  349. package/dist/esm/{utils-1df1e55a.js → utils-54543523.js} +31 -30
  350. package/dist/esm/utils-d7633e66.js +22 -0
  351. package/dist/esm/webcomponents.js +3 -3
  352. package/dist/module/Business.js +6 -1
  353. package/dist/module/Payment.js +62 -10
  354. package/dist/module/additional-questions-details2.js +1 -5
  355. package/dist/module/additional-questions.js +4 -15
  356. package/dist/module/additional-statement.js +52 -13
  357. package/dist/module/{justifi-card-form.d.ts → bank-account-form.d.ts} +4 -4
  358. package/dist/module/bank-account-form.js +6 -0
  359. package/dist/module/bank-account-form2.js +44 -0
  360. package/dist/module/billing-form.js +6 -18
  361. package/dist/module/business-additional-questions-form-step-core.js +8 -21
  362. package/dist/module/business-additional-questions-form-step.js +3 -15
  363. package/dist/module/business-bank-account-form-step.js +11 -18
  364. package/dist/module/business-core-info-form-step-core.js +11 -18
  365. package/dist/module/business-core-info-form-step.js +5 -11
  366. package/dist/module/business-core-info.js +6 -11
  367. package/dist/module/business-details-core2.js +25 -3
  368. package/dist/module/business-document-upload-form-step.js +12 -18
  369. package/dist/module/business-document-upload-input-group.js +3 -9
  370. package/dist/module/business-documents-on-file.js +4 -3
  371. package/dist/module/business-owners-form-step-core.js +12 -18
  372. package/dist/module/business-owners-form-step.js +5 -11
  373. package/dist/module/business-representative-form-inputs.js +6 -11
  374. package/dist/module/business-representative-form-step-core.js +9 -17
  375. package/dist/module/business-representative-form-step.js +5 -11
  376. package/dist/module/business-representative.js +6 -11
  377. package/dist/module/business-terms-conditions-form-step.js +16 -22
  378. package/dist/module/business-terms-conditions-text.js +2 -5
  379. package/dist/module/button.js +6 -12
  380. package/dist/module/cancellation-policy.js +49 -13
  381. package/dist/module/{justifi-payment-form.d.ts → card-form.d.ts} +4 -4
  382. package/dist/module/card-form.js +6 -0
  383. package/dist/module/card-form2.js +46 -0
  384. package/dist/module/check-pkg-version.js +76 -1
  385. package/dist/module/checkout-core.js +55 -30
  386. package/dist/module/checkouts-list-core2.js +47 -77
  387. package/dist/module/checkouts-list-params-state.js +10 -0
  388. package/dist/module/custom-popper2.js +2 -2
  389. package/dist/module/customer-details.js +50 -13
  390. package/dist/module/details.js +3 -5
  391. package/dist/module/dispute-management-core.js +74 -39
  392. package/dist/module/dispute-notification.js +41 -8
  393. package/dist/module/dispute-response-actions.js +117 -0
  394. package/dist/module/dispute-response-core.js +280 -0
  395. package/dist/module/dispute-response-form-types.js +59 -0
  396. package/dist/module/dispute-response.js +198 -0
  397. package/dist/module/duplicate-charge.js +49 -13
  398. package/dist/module/electronic-evidence.js +49 -20
  399. package/dist/module/{table.js → event-types.js} +16 -8
  400. package/dist/module/event-types2.js +23 -0
  401. package/dist/module/event-types3.js +22 -0
  402. package/dist/module/form-alert2.js +2 -1
  403. package/dist/module/form-control-checkbox2.js +29 -27
  404. package/dist/module/form-control-date2.js +25 -10
  405. package/dist/module/form-control-error-text.js +10 -4
  406. package/dist/module/{payouts-list-filters.d.ts → form-control-file-v2.d.ts} +4 -4
  407. package/dist/module/form-control-file-v2.js +6 -0
  408. package/dist/module/form-control-file-v22.js +59 -0
  409. package/dist/module/form-control-file2.js +25 -10
  410. package/dist/module/form-control-help-text.js +1 -1
  411. package/dist/module/form-control-help-text2.js +9 -32
  412. package/dist/module/form-control-help-text3.js +35 -0
  413. package/dist/module/form-control-monetary2.js +26 -16
  414. package/dist/module/form-control-number-masked2.js +25 -11
  415. package/dist/module/form-control-number.js +24 -15
  416. package/dist/module/form-control-radio2.js +31 -30
  417. package/dist/module/form-control-select2.js +25 -10
  418. package/dist/module/form-control-text2.js +24 -10
  419. package/dist/module/form-control-textarea2.js +26 -11
  420. package/dist/module/form-control-tooltip2.js +2 -1
  421. package/dist/module/form.js +1 -1
  422. package/dist/module/generic-info-details2.js +1 -5
  423. package/dist/module/get-payout-csv.js +1 -1
  424. package/dist/module/get-subaccounts.js +1 -1
  425. package/dist/module/gross-payment-chart-core2.js +3 -6
  426. package/dist/module/header-1.js +8 -0
  427. package/dist/module/{payments-list-filters.d.ts → hidden-input.d.ts} +4 -4
  428. package/dist/module/hidden-input.js +6 -0
  429. package/dist/module/hidden-input2.js +100 -0
  430. package/dist/module/identity-address-form.js +4 -10
  431. package/dist/module/iframe-input-styles-state.js +23 -0
  432. package/dist/module/iframe-input.d.ts +11 -0
  433. package/dist/module/iframe-input.js +6 -0
  434. package/dist/module/{payment-method-form.js → iframe-input2.js} +83 -131
  435. package/dist/module/index2.js +167 -3572
  436. package/dist/module/index3.js +3599 -0
  437. package/dist/module/insurance-state.js +6 -191
  438. package/dist/module/justifi-business-details.js +2 -3
  439. package/dist/module/justifi-business-form.js +16 -36
  440. package/dist/module/justifi-checkout.js +52 -23
  441. package/dist/module/justifi-checkouts-list-filters.d.ts +11 -0
  442. package/dist/module/justifi-checkouts-list-filters.js +77 -0
  443. package/dist/module/justifi-checkouts-list.js +8 -45
  444. package/dist/module/justifi-dispute-management.js +109 -34
  445. package/dist/module/justifi-dispute-response-core.d.ts +11 -0
  446. package/dist/module/justifi-dispute-response-core.js +6 -0
  447. package/dist/module/justifi-dispute-response.d.ts +11 -0
  448. package/dist/module/justifi-dispute-response.js +6 -0
  449. package/dist/module/justifi-gross-payment-chart.js +2 -3
  450. package/dist/module/justifi-payment-details.js +3 -4
  451. package/dist/module/justifi-payment-provisioning.js +12 -24
  452. package/dist/module/justifi-payments-list-filters.d.ts +11 -0
  453. package/dist/module/justifi-payments-list-filters.js +94 -0
  454. package/dist/module/justifi-payments-list.js +9 -58
  455. package/dist/module/justifi-payout-details.js +2 -3
  456. package/dist/module/justifi-payouts-list-filters.d.ts +11 -0
  457. package/dist/module/justifi-payouts-list-filters.js +66 -0
  458. package/dist/module/justifi-payouts-list.js +14 -45
  459. package/dist/module/justifi-refund-form.js +4 -19
  460. package/dist/module/justifi-season-interruption-insurance.js +16 -5
  461. package/dist/module/justifi-terminals-list-filters.d.ts +11 -0
  462. package/dist/module/{terminals-list-filters2.js → justifi-terminals-list-filters.js} +25 -28
  463. package/dist/module/justifi-terminals-list.js +8 -51
  464. package/dist/module/justifi-tokenize-payment-method.js +51 -25
  465. package/dist/module/legal-address-details2.js +1 -5
  466. package/dist/module/legal-address-form-step-core.js +10 -17
  467. package/dist/module/legal-address-form-step.js +3 -9
  468. package/dist/module/legal-address-form.js +5 -10
  469. package/dist/module/new-payment-method.js +72 -30
  470. package/dist/module/owner-details2.js +1 -5
  471. package/dist/module/owner-form-core2.js +10 -25
  472. package/dist/module/owner-form-inputs2.js +5 -11
  473. package/dist/module/owner-form.js +5 -11
  474. package/dist/module/package.js +1 -1
  475. package/dist/module/pagination-menu2.js +4 -3
  476. package/dist/module/parts.js +72 -0
  477. package/dist/module/payment-details-core2.js +11 -9
  478. package/dist/module/payment-method-options.js +47 -24
  479. package/dist/module/payment-provisioning-actions.js +1 -1
  480. package/dist/module/payment-provisioning-core.js +21 -28
  481. package/dist/module/payment-provisioning-form-buttons.js +4 -2
  482. package/dist/module/payment-provisioning-form-steps.js +11 -24
  483. package/dist/module/payments-list-core2.js +46 -88
  484. package/dist/module/payments-list-params-state.js +10 -0
  485. package/dist/module/payout-details-core2.js +6 -3
  486. package/dist/module/payouts-list-core2.js +53 -83
  487. package/dist/module/payouts-list-params-state.js +10 -0
  488. package/dist/module/product-or-service.js +46 -13
  489. package/dist/module/refund-policy.js +49 -13
  490. package/dist/module/representative-details2.js +1 -5
  491. package/dist/module/save-new-payment-method.js +10 -5
  492. package/dist/module/saved-payment-method.js +19 -6
  493. package/dist/module/schema-validations.js +1 -1
  494. package/dist/module/season-interruption-insurance-core.js +29 -19
  495. package/dist/module/sezzle-payment-method.js +19 -5
  496. package/dist/module/shipping-details.js +53 -19
  497. package/dist/module/skeleton.js +4 -34
  498. package/dist/module/spinner.js +10 -0
  499. package/dist/module/styled-host.js +1 -1
  500. package/dist/module/table-filters-menu2.js +12 -2
  501. package/dist/module/terminals-list-core2.js +43 -79
  502. package/dist/module/terminals-list-params-state.js +10 -0
  503. package/dist/module/utils.js +14 -19
  504. package/dist/module/utils2.js +31 -30
  505. package/dist/module/utils3.js +25 -30
  506. package/dist/module/utils4.js +23 -24
  507. package/dist/types/api/Business.d.ts +4 -0
  508. package/dist/types/api/Checkout.d.ts +1 -3
  509. package/dist/types/api/ComponentError.d.ts +0 -6
  510. package/dist/types/api/ComponentEvents.d.ts +23 -0
  511. package/dist/types/api/Dispute.d.ts +76 -0
  512. package/dist/types/api/DisputeEvidenceDocument.d.ts +23 -0
  513. package/dist/types/api/Payment.d.ts +6 -11
  514. package/dist/types/api/Payout.d.ts +1 -3
  515. package/dist/types/api/Terminal.d.ts +1 -4
  516. package/dist/types/api/services/dispute.service.d.ts +14 -0
  517. package/dist/types/components/billing-form/billing-form.d.ts +0 -5
  518. package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +0 -8
  519. package/dist/types/components/business-details/business-details-core.d.ts +2 -2
  520. package/dist/types/components/business-details/business-details-loading.d.ts +1 -0
  521. package/dist/types/components/business-details/business-details.d.ts +2 -10
  522. package/dist/types/components/business-details/representative-details/representative-details.d.ts +0 -8
  523. package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +0 -5
  524. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
  525. package/dist/types/components/business-forms/business-form/business-form.d.ts +4 -11
  526. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -5
  527. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +4 -6
  528. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -2
  529. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +3 -5
  530. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +2 -7
  531. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -8
  532. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -5
  533. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -7
  534. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +4 -6
  535. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -7
  536. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +3 -5
  537. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -2
  538. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +3 -5
  539. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +3 -5
  540. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -7
  541. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +5 -5
  542. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
  543. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +2 -7
  544. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +5 -5
  545. package/dist/types/components/business-forms/utils/event-types.d.ts +19 -0
  546. package/dist/types/components/business-forms/utils/index.d.ts +4 -0
  547. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +7 -0
  548. package/dist/types/components/checkout/card-form/card-form.d.ts +9 -0
  549. package/dist/types/components/checkout/checkout-core.d.ts +5 -4
  550. package/dist/types/components/checkout/checkout.d.ts +2 -2
  551. package/dist/types/components/checkout/message-event-types.d.ts +4 -0
  552. package/dist/types/components/checkout/new-payment-method.d.ts +3 -3
  553. package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
  554. package/dist/types/components/checkout/saved-payment-method.d.ts +1 -1
  555. package/dist/types/components/checkout/sezzle-payment-method.d.ts +1 -1
  556. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +7 -8
  557. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +1 -3
  558. package/dist/types/components/checkouts-list/checkouts-list-params-state.d.ts +5 -0
  559. package/dist/types/components/checkouts-list/checkouts-list.d.ts +2 -24
  560. package/dist/types/components/checkouts-list/checkouts-table.d.ts +6 -6
  561. package/dist/types/components/dispute-management/dispute-actions.d.ts +9 -0
  562. package/dist/types/components/dispute-management/dispute-management-core.d.ts +14 -3
  563. package/dist/types/components/dispute-management/dispute-management.d.ts +15 -0
  564. package/dist/types/components/dispute-management/dispute-notification.d.ts +9 -3
  565. package/dist/types/components/dispute-management/dispute-response/additional-statement.d.ts +17 -0
  566. package/dist/types/components/dispute-management/dispute-response/cancellation-policy.d.ts +15 -0
  567. package/dist/types/components/dispute-management/dispute-response/customer-details.d.ts +15 -0
  568. package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +40 -0
  569. package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +46 -0
  570. package/dist/types/components/dispute-management/dispute-response/dispute-response-form-types.d.ts +20 -0
  571. package/dist/types/components/dispute-management/dispute-response/dispute-response.d.ts +35 -0
  572. package/dist/types/components/dispute-management/dispute-response/duplicate-charge.d.ts +15 -0
  573. package/dist/types/components/dispute-management/dispute-response/electronic-evidence.d.ts +15 -0
  574. package/dist/types/components/dispute-management/dispute-response/product-or-service.d.ts +15 -0
  575. package/dist/types/components/dispute-management/dispute-response/refund-policy.d.ts +15 -0
  576. package/dist/types/components/dispute-management/dispute-response/schemas/additional-statement-schema.d.ts +6 -0
  577. package/dist/types/components/dispute-management/dispute-response/schemas/cancellation-policy-schema.d.ts +8 -0
  578. package/dist/types/components/dispute-management/dispute-response/schemas/customer-details-schema.d.ts +10 -0
  579. package/dist/types/components/dispute-management/dispute-response/schemas/dispute-reason-schema.d.ts +6 -0
  580. package/dist/types/components/dispute-management/dispute-response/schemas/duplicate-charge-schema.d.ts +8 -0
  581. package/dist/types/components/dispute-management/dispute-response/schemas/electronic-evidence-schema.d.ts +6 -0
  582. package/dist/types/components/dispute-management/dispute-response/schemas/product-or-service-schema.d.ts +8 -0
  583. package/dist/types/components/dispute-management/dispute-response/schemas/refund-policy-schema.d.ts +8 -0
  584. package/dist/types/components/dispute-management/dispute-response/schemas/shipping-details-schema.d.ts +12 -0
  585. package/dist/types/components/dispute-management/dispute-response/shipping-details.d.ts +15 -0
  586. package/dist/types/components/dispute-management/event-types.d.ts +18 -0
  587. package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +2 -2
  588. package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +3 -3
  589. package/dist/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +4 -4
  590. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  591. package/dist/types/components/payment-details/payment-details-core.d.ts +2 -2
  592. package/dist/types/components/payment-details/payment-details.d.ts +2 -25
  593. package/dist/types/components/payments-list/payments-list-core.d.ts +6 -7
  594. package/dist/types/components/payments-list/payments-list-filters.d.ts +1 -4
  595. package/dist/types/components/payments-list/payments-list-params-state.d.ts +5 -0
  596. package/dist/types/components/payments-list/payments-list.d.ts +2 -24
  597. package/dist/types/components/payments-list/payments-table.d.ts +7 -7
  598. package/dist/types/components/payout-details/payout-details-core.d.ts +2 -2
  599. package/dist/types/components/payout-details/payout-details.d.ts +3 -3
  600. package/dist/types/components/payouts-list/payouts-list-core.d.ts +7 -8
  601. package/dist/types/components/payouts-list/payouts-list-filters.d.ts +0 -3
  602. package/dist/types/components/payouts-list/payouts-list-params-state.d.ts +5 -0
  603. package/dist/types/components/payouts-list/payouts-list.d.ts +2 -24
  604. package/dist/types/components/payouts-list/payouts-table.d.ts +9 -9
  605. package/dist/types/components/terminals-list/terminals-list-core.d.ts +7 -8
  606. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -4
  607. package/dist/types/components/terminals-list/terminals-list-params-state.d.ts +5 -0
  608. package/dist/types/components/terminals-list/terminals-list.d.ts +2 -24
  609. package/dist/types/components/terminals-list/terminals-table.d.ts +4 -4
  610. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -5
  611. package/dist/types/components.d.ts +465 -1338
  612. package/dist/types/styles/parts.d.ts +58 -0
  613. package/dist/types/ui-components/details/utils.d.ts +0 -1
  614. package/dist/types/ui-components/filters/table-filters-menu.d.ts +1 -0
  615. package/dist/types/ui-components/form/form-control-checkbox.d.ts +3 -3
  616. package/dist/types/ui-components/form/form-control-date.d.ts +2 -0
  617. package/dist/types/ui-components/form/form-control-file-v2.d.ts +15 -0
  618. package/dist/types/ui-components/form/form-control-file.d.ts +2 -0
  619. package/dist/types/ui-components/form/form-control-monetary.d.ts +2 -0
  620. package/dist/types/ui-components/form/form-control-number-masked.d.ts +2 -0
  621. package/dist/types/ui-components/form/form-control-number.d.ts +2 -0
  622. package/dist/types/ui-components/form/form-control-radio.d.ts +6 -7
  623. package/dist/types/ui-components/form/form-control-select.d.ts +2 -0
  624. package/dist/types/ui-components/form/form-control-text.d.ts +2 -0
  625. package/dist/types/ui-components/form/form-control-textarea.d.ts +2 -0
  626. package/dist/types/ui-components/form/form-helpers/form-control-error-text.d.ts +4 -0
  627. package/dist/types/ui-components/form/form-helpers/form-control-help-text.d.ts +4 -0
  628. package/dist/types/ui-components/form/form.d.ts +1 -1
  629. package/dist/types/ui-components/form/hidden-input.d.ts +11 -0
  630. package/dist/types/ui-components/form/iframe-input-styles-state.d.ts +3 -0
  631. package/dist/types/ui-components/form/iframe-input.d.ts +21 -0
  632. package/dist/types/ui-components/headers/header-1.d.ts +6 -0
  633. package/dist/types/ui-components/headers/header-2.d.ts +6 -0
  634. package/dist/types/ui-components/headers/header-3.d.ts +6 -0
  635. package/dist/types/ui-components/index.d.ts +6 -0
  636. package/dist/types/ui-components/skeleton.d.ts +1 -2
  637. package/dist/types/ui-components/spinner.d.ts +2 -0
  638. package/dist/types/ui-components/table/event-types.d.ts +5 -0
  639. package/dist/types/utils/utils.d.ts +3 -2
  640. package/dist/webcomponents/p-0201ec6c.entry.js +1 -0
  641. package/dist/webcomponents/p-02a0b21e.js +1 -0
  642. package/dist/webcomponents/p-08b8d1f0.entry.js +1 -0
  643. package/dist/webcomponents/p-0aa63869.entry.js +1 -0
  644. package/dist/webcomponents/p-0cc6c539.js +1 -0
  645. package/dist/webcomponents/p-0ccbc022.entry.js +1 -0
  646. package/dist/webcomponents/{p-1815a43b.js → p-0ea387a2.js} +1 -1
  647. package/dist/webcomponents/p-0eb86b3f.entry.js +1 -0
  648. package/dist/webcomponents/p-16ba9bea.js +1 -0
  649. package/dist/webcomponents/p-174b151e.js +1 -0
  650. package/dist/webcomponents/p-1ce22da6.entry.js +1 -0
  651. package/dist/webcomponents/p-1dbae48b.entry.js +1 -0
  652. package/dist/webcomponents/p-22034555.entry.js +1 -0
  653. package/dist/webcomponents/p-275f2154.js +1 -0
  654. package/dist/webcomponents/p-2783e363.js +2 -0
  655. package/dist/webcomponents/p-2a6f8329.entry.js +1 -0
  656. package/dist/webcomponents/p-2ed8e8db.entry.js +1 -0
  657. package/dist/webcomponents/p-323ba4df.entry.js +1 -0
  658. package/dist/webcomponents/p-32a5bf4e.js +1 -0
  659. package/dist/webcomponents/p-34c14f59.js +1 -0
  660. package/dist/webcomponents/p-438df53f.entry.js +1 -0
  661. package/dist/webcomponents/p-4a576796.js +1 -0
  662. package/dist/webcomponents/p-4cc3c7f9.js +1 -0
  663. package/dist/webcomponents/p-4d916b2d.js +1 -0
  664. package/dist/webcomponents/p-4f569cbf.entry.js +1 -0
  665. package/dist/webcomponents/p-53cf5687.entry.js +1 -0
  666. package/dist/webcomponents/{p-544a4e7a.js → p-54d36e97.js} +1 -1
  667. package/dist/webcomponents/p-57281853.entry.js +1 -0
  668. package/dist/webcomponents/p-5844a0f0.js +1 -0
  669. package/dist/webcomponents/p-597bd1e1.entry.js +1 -0
  670. package/dist/webcomponents/p-5cb947bc.entry.js +1 -0
  671. package/dist/webcomponents/p-5d3f81c0.entry.js +1 -0
  672. package/dist/webcomponents/p-663a00cd.entry.js +1 -0
  673. package/dist/webcomponents/p-6677c60d.entry.js +1 -0
  674. package/dist/webcomponents/p-667ebd79.js +1 -0
  675. package/dist/webcomponents/p-66c63ef7.entry.js +1 -0
  676. package/dist/webcomponents/p-68694a17.entry.js +1 -0
  677. package/dist/webcomponents/p-6b840696.entry.js +1 -0
  678. package/dist/webcomponents/p-6fbd6abb.js +1 -0
  679. package/dist/webcomponents/p-6feeb9f2.js +1 -0
  680. package/dist/webcomponents/p-7216ef00.entry.js +1 -0
  681. package/dist/webcomponents/p-733dc19b.entry.js +1 -0
  682. package/dist/webcomponents/p-73a18b5a.entry.js +1 -0
  683. package/dist/webcomponents/p-73f9be7c.js +1 -0
  684. package/dist/webcomponents/{p-7fc27a1a.js → p-79b7c30d.js} +1 -1
  685. package/dist/webcomponents/p-7a975a3c.js +1 -0
  686. package/dist/webcomponents/p-7b9f21cd.entry.js +1 -0
  687. package/dist/webcomponents/p-808bb677.entry.js +1 -0
  688. package/dist/webcomponents/p-8a550a5e.entry.js +1 -0
  689. package/dist/webcomponents/p-8a94d2c8.js +1 -0
  690. package/dist/webcomponents/p-8c7a81c1.js +1 -0
  691. package/dist/webcomponents/p-8da3667c.js +1 -0
  692. package/dist/webcomponents/p-90dc2f2c.js +1 -0
  693. package/dist/webcomponents/p-95e688bd.entry.js +1 -0
  694. package/dist/webcomponents/p-96ea95ce.entry.js +1 -0
  695. package/dist/webcomponents/p-99c92f1f.entry.js +1 -0
  696. package/dist/webcomponents/p-9c2e00cc.js +1 -0
  697. package/dist/webcomponents/p-9c652bc3.entry.js +1 -0
  698. package/dist/webcomponents/p-9e990e7d.entry.js +1 -0
  699. package/dist/webcomponents/p-9f773228.js +1 -0
  700. package/dist/webcomponents/p-a17be58e.entry.js +1 -0
  701. package/dist/webcomponents/p-a3949f32.js +1 -0
  702. package/dist/webcomponents/p-a41a1843.entry.js +1 -0
  703. package/dist/webcomponents/p-a520766d.entry.js +1 -0
  704. package/dist/webcomponents/p-abdbcd8e.js +1 -0
  705. package/dist/webcomponents/p-ac147eef.entry.js +1 -0
  706. package/dist/webcomponents/p-af620972.js +1 -0
  707. package/dist/webcomponents/{p-fd5f2836.js → p-af834eb8.js} +1 -1
  708. package/dist/webcomponents/p-b056034f.entry.js +1 -0
  709. package/dist/webcomponents/p-b1d4e520.entry.js +1 -0
  710. package/dist/webcomponents/p-b392ec21.js +1 -0
  711. package/dist/webcomponents/p-bb61c6e0.js +1 -0
  712. package/dist/webcomponents/p-bfe9748b.js +1 -0
  713. package/dist/webcomponents/p-c092cbb2.js +1 -0
  714. package/dist/webcomponents/p-c2a2b9fe.entry.js +1 -0
  715. package/dist/webcomponents/p-c740f609.entry.js +1 -0
  716. package/dist/webcomponents/p-c9670f3c.entry.js +1 -0
  717. package/dist/webcomponents/{p-bc8205ec.js → p-cb00d4f3.js} +1 -1
  718. package/dist/webcomponents/{p-89f6691e.js → p-d1c93dd3.js} +1 -1
  719. package/dist/webcomponents/p-d53c5ea5.entry.js +1 -0
  720. package/dist/webcomponents/p-d67bb568.entry.js +1 -0
  721. package/dist/webcomponents/p-d75b52c8.entry.js +1 -0
  722. package/dist/webcomponents/p-d960db89.entry.js +1 -0
  723. package/dist/webcomponents/{p-c8243721.js → p-e19589a2.js} +1 -1
  724. package/dist/webcomponents/p-ecced6e5.entry.js +1 -0
  725. package/dist/webcomponents/p-ed8918d1.entry.js +1 -0
  726. package/dist/webcomponents/p-ee4a2aac.entry.js +1 -0
  727. package/dist/webcomponents/p-ef4c49b9.js +1 -0
  728. package/dist/webcomponents/p-f0f3442e.entry.js +1 -0
  729. package/dist/webcomponents/p-f20b6ce1.js +1 -0
  730. package/dist/webcomponents/{p-c13a7d10.js → p-f4722957.js} +1 -1
  731. package/dist/webcomponents/p-f88d5c0d.entry.js +1 -0
  732. package/dist/webcomponents/{p-628693c1.entry.js → p-f9fdcc1a.entry.js} +4 -4
  733. package/dist/webcomponents/p-fa2e3dc7.entry.js +1 -0
  734. package/dist/webcomponents/{p-ccbff4fa.entry.js → p-faa35b47.entry.js} +1 -1
  735. package/dist/webcomponents/p-fc3daedd.js +1 -0
  736. package/dist/webcomponents/webcomponents.esm.js +1 -1
  737. package/package.json +1 -1
  738. package/dist/cjs/business-form-types-719b7f52.js +0 -50
  739. package/dist/cjs/button-3f400a66.js +0 -26
  740. package/dist/cjs/check-pkg-version-f5b03b02.js +0 -24
  741. package/dist/cjs/checkouts-list-filters.cjs.entry.js +0 -35
  742. package/dist/cjs/checkouts-table-00b6482f.js +0 -47
  743. package/dist/cjs/dispute-30c806f6.js +0 -10
  744. package/dist/cjs/exported-parts-a994d693.js +0 -9
  745. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +0 -641
  746. package/dist/cjs/form-control-error-text.cjs.entry.js +0 -21
  747. package/dist/cjs/form-control-textarea.cjs.entry.js +0 -49
  748. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +0 -173
  749. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -79
  750. package/dist/cjs/justifi-card-form.cjs.entry.js +0 -80
  751. package/dist/cjs/justifi-new-payment-method_5.cjs.entry.js +0 -320
  752. package/dist/cjs/justifi-payment-form.cjs.entry.js +0 -141
  753. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +0 -34
  754. package/dist/cjs/pagination-menu_2.cjs.entry.js +0 -54
  755. package/dist/cjs/payments-list-filters.cjs.entry.js +0 -40
  756. package/dist/cjs/payments-table-7087e771.js +0 -31
  757. package/dist/cjs/payouts-list-filters.cjs.entry.js +0 -24
  758. package/dist/cjs/payouts-table-4858eb84.js +0 -37
  759. package/dist/cjs/skeleton-748c5dde.js +0 -43
  760. package/dist/cjs/styled-host-1adf46c3.js +0 -14
  761. package/dist/cjs/terminals-list-filters.cjs.entry.js +0 -32
  762. package/dist/cjs/terminals-table-12410159.js +0 -32
  763. package/dist/cjs/utils-189dc30d.js +0 -35
  764. package/dist/cjs/utils-ba79e868.js +0 -37
  765. package/dist/collection/components/bank-account-form/bank-account-form.js +0 -281
  766. package/dist/collection/components/billing-form/billing-form.css +0 -51
  767. package/dist/collection/components/business-details/shared-business-details.css +0 -3
  768. package/dist/collection/components/business-forms/business-form/business-form.css +0 -121
  769. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.css +0 -18
  770. package/dist/collection/components/business-forms/utils/business-form-types.js +0 -48
  771. package/dist/collection/components/card-form/card-form.js +0 -300
  772. package/dist/collection/components/checkout/checkout-core.css +0 -110
  773. package/dist/collection/components/checkout/form-check-input.css +0 -20
  774. package/dist/collection/components/checkout/header.css +0 -4
  775. package/dist/collection/components/checkout/payment-method-options.css +0 -15
  776. package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +0 -8
  777. package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +0 -8
  778. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +0 -90
  779. package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +0 -8
  780. package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +0 -8
  781. package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +0 -8
  782. package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +0 -8
  783. package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +0 -16
  784. package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +0 -8
  785. package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +0 -12
  786. package/dist/collection/components/dispute-management/dispute.js +0 -8
  787. package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +0 -3
  788. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.css +0 -11
  789. package/dist/collection/components/payment-form/payment-form.css +0 -97
  790. package/dist/collection/components/payment-form/payment-form.js +0 -372
  791. package/dist/collection/components/payment-form/payment-method-selector.css +0 -39
  792. package/dist/collection/components/payment-form/payment-method-selector.js +0 -74
  793. package/dist/collection/components/payment-method-form/message-event-types.js +0 -16
  794. package/dist/collection/components/payment-method-form/payment-method-form.css +0 -13
  795. package/dist/collection/components/payment-method-form/payment-method-form.js +0 -298
  796. package/dist/collection/components/refund-form/refund-form.css +0 -59
  797. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +0 -9
  798. package/dist/collection/ui-components/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -52
  799. package/dist/collection/utils/get-computed-theme.js +0 -50
  800. package/dist/esm/business-form-types-8fd61b0e.js +0 -50
  801. package/dist/esm/button-34e75e0f.js +0 -24
  802. package/dist/esm/check-pkg-version-434f72bf.js +0 -22
  803. package/dist/esm/checkouts-list-filters.entry.js +0 -31
  804. package/dist/esm/checkouts-table-cd33b57c.js +0 -43
  805. package/dist/esm/dispute-4d2e0a04.js +0 -10
  806. package/dist/esm/exported-parts-70e7a12b.js +0 -7
  807. package/dist/esm/form-control-checkbox_9.entry.js +0 -629
  808. package/dist/esm/form-control-error-text.entry.js +0 -17
  809. package/dist/esm/form-control-textarea.entry.js +0 -45
  810. package/dist/esm/justifi-additional-statement_11.entry.js +0 -159
  811. package/dist/esm/justifi-bank-account-form.entry.js +0 -75
  812. package/dist/esm/justifi-card-form.entry.js +0 -76
  813. package/dist/esm/justifi-new-payment-method_5.entry.js +0 -312
  814. package/dist/esm/justifi-payment-form.entry.js +0 -137
  815. package/dist/esm/justifi-payment-method-selector.entry.js +0 -30
  816. package/dist/esm/pagination-menu_2.entry.js +0 -49
  817. package/dist/esm/payments-list-filters.entry.js +0 -36
  818. package/dist/esm/payments-table-bba91324.js +0 -27
  819. package/dist/esm/payouts-list-filters.entry.js +0 -20
  820. package/dist/esm/payouts-table-edff9bbe.js +0 -33
  821. package/dist/esm/skeleton-145a80d4.js +0 -41
  822. package/dist/esm/styled-host-e0ddb759.js +0 -12
  823. package/dist/esm/terminals-list-filters.entry.js +0 -28
  824. package/dist/esm/terminals-table-dc787616.js +0 -28
  825. package/dist/esm/utils-218275b7.js +0 -27
  826. package/dist/esm/utils-4006c425.js +0 -33
  827. package/dist/module/Analytics.js +0 -78
  828. package/dist/module/business-form-types.js +0 -50
  829. package/dist/module/checkouts-list-filters.d.ts +0 -11
  830. package/dist/module/checkouts-list-filters.js +0 -6
  831. package/dist/module/checkouts-list-filters2.js +0 -80
  832. package/dist/module/counter-dispute.js +0 -189
  833. package/dist/module/dispute-reason.js +0 -45
  834. package/dist/module/exported-parts.js +0 -7
  835. package/dist/module/form-control-error-text.d.ts +0 -11
  836. package/dist/module/form-control-error-text2.js +0 -35
  837. package/dist/module/justifi-bank-account-form.d.ts +0 -11
  838. package/dist/module/justifi-bank-account-form.js +0 -104
  839. package/dist/module/justifi-card-form.js +0 -106
  840. package/dist/module/justifi-counter-dispute.d.ts +0 -11
  841. package/dist/module/justifi-counter-dispute.js +0 -6
  842. package/dist/module/justifi-dispute-reason.d.ts +0 -11
  843. package/dist/module/justifi-dispute-reason.js +0 -6
  844. package/dist/module/justifi-payment-form.js +0 -216
  845. package/dist/module/justifi-payment-method-form.d.ts +0 -11
  846. package/dist/module/justifi-payment-method-form.js +0 -6
  847. package/dist/module/justifi-payment-method-selector.d.ts +0 -11
  848. package/dist/module/justifi-payment-method-selector.js +0 -6
  849. package/dist/module/payment-method-selector.js +0 -47
  850. package/dist/module/payments-list-filters.js +0 -6
  851. package/dist/module/payments-list-filters2.js +0 -97
  852. package/dist/module/payouts-list-filters.js +0 -6
  853. package/dist/module/payouts-list-filters2.js +0 -69
  854. package/dist/module/terminals-list-filters.d.ts +0 -11
  855. package/dist/module/terminals-list-filters.js +0 -6
  856. package/dist/module/utils5.js +0 -27
  857. package/dist/types/components/bank-account-form/bank-account-form.d.ts +0 -62
  858. package/dist/types/components/business-forms/utils/business-form-types.d.ts +0 -76
  859. package/dist/types/components/card-form/card-form.d.ts +0 -72
  860. package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +0 -3
  861. package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +0 -3
  862. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +0 -14
  863. package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +0 -3
  864. package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +0 -3
  865. package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +0 -3
  866. package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +0 -3
  867. package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +0 -4
  868. package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +0 -3
  869. package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +0 -3
  870. package/dist/types/components/dispute-management/dispute.d.ts +0 -7
  871. package/dist/types/components/payment-form/payment-form.d.ts +0 -36
  872. package/dist/types/components/payment-form/payment-method-selector.d.ts +0 -10
  873. package/dist/types/components/payment-form/tokenize.d.ts +0 -5
  874. package/dist/types/components/payment-method-form/message-event-types.d.ts +0 -16
  875. package/dist/types/components/payment-method-form/payment-method-form.d.ts +0 -25
  876. package/dist/types/ui-components/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -5
  877. package/dist/types/utils/get-computed-theme.d.ts +0 -3
  878. package/dist/webcomponents/p-08b0fb31.js +0 -1
  879. package/dist/webcomponents/p-0a963f7e.entry.js +0 -1
  880. package/dist/webcomponents/p-0d6ddff2.js +0 -1
  881. package/dist/webcomponents/p-0fbab710.entry.js +0 -1
  882. package/dist/webcomponents/p-10277025.entry.js +0 -1
  883. package/dist/webcomponents/p-157ddb71.entry.js +0 -1
  884. package/dist/webcomponents/p-17984027.entry.js +0 -1
  885. package/dist/webcomponents/p-229f2096.entry.js +0 -1
  886. package/dist/webcomponents/p-2338affa.js +0 -1
  887. package/dist/webcomponents/p-286b87ab.js +0 -1
  888. package/dist/webcomponents/p-28bd6dcd.js +0 -1
  889. package/dist/webcomponents/p-2f422aad.entry.js +0 -1
  890. package/dist/webcomponents/p-3186d1fb.entry.js +0 -1
  891. package/dist/webcomponents/p-3c654c07.js +0 -1
  892. package/dist/webcomponents/p-3ec27a31.entry.js +0 -1
  893. package/dist/webcomponents/p-3ed7fc42.entry.js +0 -1
  894. package/dist/webcomponents/p-4046e45c.entry.js +0 -1
  895. package/dist/webcomponents/p-420adedb.entry.js +0 -1
  896. package/dist/webcomponents/p-4408a32d.js +0 -1
  897. package/dist/webcomponents/p-448826a7.entry.js +0 -1
  898. package/dist/webcomponents/p-44d3f5ed.js +0 -1
  899. package/dist/webcomponents/p-469804a9.entry.js +0 -1
  900. package/dist/webcomponents/p-486da67e.entry.js +0 -1
  901. package/dist/webcomponents/p-4a5e5574.entry.js +0 -1
  902. package/dist/webcomponents/p-54145a37.entry.js +0 -1
  903. package/dist/webcomponents/p-56d84fb3.entry.js +0 -1
  904. package/dist/webcomponents/p-59959934.entry.js +0 -1
  905. package/dist/webcomponents/p-5e7c60d8.js +0 -1
  906. package/dist/webcomponents/p-673cf8c4.js +0 -1
  907. package/dist/webcomponents/p-69527219.entry.js +0 -1
  908. package/dist/webcomponents/p-6cc30da2.js +0 -1
  909. package/dist/webcomponents/p-72819173.entry.js +0 -1
  910. package/dist/webcomponents/p-74340f69.entry.js +0 -1
  911. package/dist/webcomponents/p-74da98da.js +0 -1
  912. package/dist/webcomponents/p-81635086.entry.js +0 -1
  913. package/dist/webcomponents/p-91de21cc.js +0 -1
  914. package/dist/webcomponents/p-95ec39f6.entry.js +0 -1
  915. package/dist/webcomponents/p-9690eca9.entry.js +0 -1
  916. package/dist/webcomponents/p-9c9c7dac.js +0 -1
  917. package/dist/webcomponents/p-a76ece26.js +0 -1
  918. package/dist/webcomponents/p-a7830e98.entry.js +0 -1
  919. package/dist/webcomponents/p-a856444a.entry.js +0 -1
  920. package/dist/webcomponents/p-a8b4f429.js +0 -1
  921. package/dist/webcomponents/p-a9775002.entry.js +0 -1
  922. package/dist/webcomponents/p-ada9ac19.entry.js +0 -1
  923. package/dist/webcomponents/p-b607a07f.entry.js +0 -1
  924. package/dist/webcomponents/p-bfb990fc.entry.js +0 -1
  925. package/dist/webcomponents/p-c1bf9285.entry.js +0 -1
  926. package/dist/webcomponents/p-c3fb5d3a.entry.js +0 -1
  927. package/dist/webcomponents/p-c420cb7d.entry.js +0 -1
  928. package/dist/webcomponents/p-c5175bd7.js +0 -1
  929. package/dist/webcomponents/p-cd19c597.entry.js +0 -1
  930. package/dist/webcomponents/p-ce94232f.js +0 -1
  931. package/dist/webcomponents/p-d09e9336.entry.js +0 -1
  932. package/dist/webcomponents/p-d1f75fa6.js +0 -1
  933. package/dist/webcomponents/p-d2eb61e6.entry.js +0 -1
  934. package/dist/webcomponents/p-d516e700.js +0 -1
  935. package/dist/webcomponents/p-daa7872f.entry.js +0 -1
  936. package/dist/webcomponents/p-dcb288a3.entry.js +0 -1
  937. package/dist/webcomponents/p-dd43bf3d.entry.js +0 -1
  938. package/dist/webcomponents/p-df3ca87f.entry.js +0 -1
  939. package/dist/webcomponents/p-df5a1202.entry.js +0 -1
  940. package/dist/webcomponents/p-e2ce097c.js +0 -1
  941. package/dist/webcomponents/p-e5790011.entry.js +0 -1
  942. package/dist/webcomponents/p-e69b2ff8.entry.js +0 -1
  943. package/dist/webcomponents/p-e9919d54.entry.js +0 -1
  944. package/dist/webcomponents/p-e99957ff.entry.js +0 -1
  945. package/dist/webcomponents/p-eab21e1f.entry.js +0 -1
  946. package/dist/webcomponents/p-eb9ba917.entry.js +0 -1
  947. package/dist/webcomponents/p-ed05a597.entry.js +0 -1
  948. package/dist/webcomponents/p-ed95feec.entry.js +0 -1
  949. package/dist/webcomponents/p-f698d6d9.entry.js +0 -1
  950. package/dist/webcomponents/p-fad19d75.js +0 -2
  951. package/dist/webcomponents/p-fea520c6.entry.js +0 -1
  952. package/dist/webcomponents/p-ff4bac14.entry.js +0 -1
  953. package/dist/webcomponents/p-ffe27126.entry.js +0 -1
  954. package/dist/webcomponents/webcomponents.css +0 -6
  955. /package/dist/collection/{components/payment-form/tokenize.js → api/ComponentEvents.js} +0 -0
  956. /package/dist/collection/components/{payment-method-form → checkout}/payment-method-responses.js +0 -0
  957. /package/dist/types/components/{payment-method-form → checkout}/payment-method-responses.d.ts +0 -0
@@ -1,41 +1,36 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
2
  import './Checkout-0b4086f8.js';
3
3
  import { p as pagingDefaults } from './Pagination-afc8f96d.js';
4
- import './Payment-2a868d0c.js';
4
+ import './Payment-4f72d277.js';
5
5
  import './SubAccount-99a00594.js';
6
- import { o as onFilterChange } from './utils-4006c425.js';
7
- import { T as Table, a as TableLoadingState, b as TableEmptyState, c as TableErrorState } from './table-44e3d1e7.js';
8
- import { c as checkoutTableColumns, a as checkoutTableCells } from './checkouts-table-cd33b57c.js';
9
- import './utils-1df1e55a.js';
6
+ import { n as table, o as tableCell } from './parts-186d437f.js';
7
+ import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types-01dcdcbd.js';
8
+ import { c as checkoutTableColumns, a as checkoutTableCells } from './checkouts-table-8b116232.js';
9
+ import { o as onQueryParamsChange, q as queryParams } from './checkouts-list-params-state-1d968971.js';
10
+ import './Dispute-5fd28ec9.js';
11
+ import './spinner-879489b3.js';
12
+ import './utils-54543523.js';
13
+ import './index-a47fdc7f.js';
10
14
 
11
15
  const CheckoutsListCore = class {
12
16
  constructor(hostRef) {
13
17
  registerInstance(this, hostRef);
14
- this.rowClicked = createEvent(this, "checkout-row-clicked", 7);
18
+ this.clickEvent = createEvent(this, "click-event", 7);
15
19
  this.errorEvent = createEvent(this, "error-event", 7);
16
20
  this.handleClickPrevious = (beforeCursor) => {
17
- const newParams = Object.assign({}, this.params);
18
- delete newParams.after_cursor;
19
- this.params = Object.assign(Object.assign({}, newParams), { before_cursor: beforeCursor });
21
+ this.pagingParams = { before_cursor: beforeCursor };
22
+ this.clickEvent.emit({ name: TableClickActions.previous });
20
23
  };
21
24
  this.handleClickNext = (afterCursor) => {
22
- const newParams = Object.assign({}, this.params);
23
- delete newParams.before_cursor;
24
- this.params = Object.assign(Object.assign({}, newParams), { after_cursor: afterCursor });
25
+ this.pagingParams = { after_cursor: afterCursor };
26
+ this.clickEvent.emit({ name: TableClickActions.next });
25
27
  };
26
28
  this.rowClickHandler = (e) => {
27
29
  const clickedCheckoutID = e.target.closest('tr').dataset.rowEntityId;
28
30
  if (!clickedCheckoutID)
29
31
  return;
30
- this.rowClicked.emit(this.checkouts.find((checkout) => checkout.id === clickedCheckoutID));
31
- };
32
- this.setParamsOnChange = (name, value) => {
33
- let newParams = { [name]: value };
34
- this.params = onFilterChange(newParams, this.params);
35
- };
36
- this.clearParams = () => {
37
- this.errorMessage = '';
38
- this.params = {};
32
+ const checkoutData = this.checkouts.find((checkout) => checkout.id === clickedCheckoutID);
33
+ this.clickEvent.emit({ name: TableClickActions.row, data: checkoutData });
39
34
  };
40
35
  this.getCheckouts = undefined;
41
36
  this.getSubAccounts = undefined;
@@ -46,21 +41,28 @@ const CheckoutsListCore = class {
46
41
  this.loading = true;
47
42
  this.errorMessage = undefined;
48
43
  this.paging = pagingDefaults;
49
- this.params = {};
44
+ this.pagingParams = {};
50
45
  }
51
46
  updateOnPropChange() {
52
- this.fetchCheckouts();
47
+ this.fetchData();
53
48
  }
54
49
  componentWillLoad() {
55
50
  this.checkoutsTable = new Table(this.checkouts, this.columns, checkoutTableColumns, checkoutTableCells);
56
51
  if (this.getCheckouts && this.getSubAccounts) {
57
- this.fetchCheckouts();
52
+ this.fetchData();
58
53
  }
54
+ onQueryParamsChange('set', () => {
55
+ this.pagingParams = {};
56
+ });
57
+ onQueryParamsChange('reset', () => {
58
+ this.pagingParams = {};
59
+ this.errorMessage = '';
60
+ });
59
61
  }
60
- fetchCheckouts() {
62
+ fetchData() {
61
63
  this.loading = true;
62
64
  this.getCheckouts({
63
- params: this.params,
65
+ params: this.requestParams,
64
66
  onSuccess: async ({ checkouts, pagingInfo }) => {
65
67
  this.checkouts = checkouts;
66
68
  this.paging = pagingInfo;
@@ -107,6 +109,10 @@ const CheckoutsListCore = class {
107
109
  },
108
110
  });
109
111
  }
112
+ get requestParams() {
113
+ const combinedParams = Object.assign(Object.assign({}, queryParams), this.pagingParams);
114
+ return combinedParams;
115
+ }
110
116
  get subAccountParams() {
111
117
  let accountIdNumbers = this.checkouts.map((checkout) => checkout.account_id);
112
118
  let uniqueAccountIds = [...new Set(accountIdNumbers)];
@@ -126,10 +132,11 @@ const CheckoutsListCore = class {
126
132
  return !this.showEmptyState && !this.showErrorState && !this.loading;
127
133
  }
128
134
  render() {
129
- return (h("div", { key: '8d2c1fd960b2b3a66f3a1bf648b75576ad2e8857' }, h("checkouts-list-filters", { key: '18ba9bf560499112f71a690da751c8e3c4d345a7', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: '12cf6ee2912ac6a9518634ebd470dac5f7623aff', class: "table-wrapper" }, h("table", { key: '1ea2c118d7efb620dc1f39db55a510a8a473cb31', class: "table table-hover" }, h("thead", { key: '5e334a090be56c82b11ae7584bdf4014cc8743c7', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '233137a8b4e30bac28ded78010199bfecd0ac4e7', class: "table-light text-nowrap", part: "table-head-row" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: 'd4ed9d4bf3ac17d4dc7294b875734e02996c7444', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: 'a7afbb627c768139af4244da5c12fae493dceafb', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '802c43c8da770bca9a249a88d115901e9b14e102', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'f1cd197cf7d1d5d81868a5abfafa40df762ca3c8', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data)))), this.paging && (h("tfoot", { key: 'f0c367854322c341515bc481159101e9659117c7', class: "sticky-bottom" }, h("tr", { key: '88bc665c23665eddc4c88d27acc8c8f1cb39e277', class: "table-light align-middle" }, h("td", { key: '8be265c9b43033cfd3e2c4b3f12ac6d6c104e53d', part: "pagination-bar", colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '6abdb6091b78e58ec71ac6bf66f278ed9b6542fb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
135
+ return (h("div", { key: '7079f5dbb8f52d0e99da70f6975e65f2024bd7c9' }, h("div", { key: '8d73be1816687fe3af837d5853f75b5aad756f6e', class: "table-wrapper" }, h("table", { key: '3a9d8cb62a25d28660fa160de263ae80c2b67804', class: "table table-hover", part: table }, h("thead", { key: 'cc1954f52372d481e789cf5460118952633ab34e', class: "table-head sticky-top" }, h("tr", { key: '141e9d5f5e671181487a77dd01ea86d0f2927ba6', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: 'c6f1ba23fcda58bef598d32ec6901e7bae56fe9c', class: "table-body" }, h(TableLoadingState, { key: '746e4eaab6f4840f95a7243ac7d9a119fe4dac6c', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '7d7cfed557fe138cfd56a8283da75b8fd55ef01e', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '71e438127afde6489e232ecd19f91545da9ca8fa', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '45a0d79963f2e6edd7f2f11620c0314345b3d6d5', class: "sticky-bottom" }, h("tr", { key: '8d502311b14f5f1a7cae5d00f3bff361f4816d72', class: "table-light align-middle" }, h("td", { key: '522745aa9b5d46188dd4b351debc83601c144dfe', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '41323e6e3aa31631dca4dba29e40551b9a9d5446', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
130
136
  }
131
137
  static get watchers() { return {
132
- "params": ["updateOnPropChange"],
138
+ "queryParams": ["updateOnPropChange"],
139
+ "pagingParams": ["updateOnPropChange"],
133
140
  "getCheckouts": ["updateOnPropChange"],
134
141
  "getSubAccounts": ["updateOnPropChange"],
135
142
  "columns": ["updateOnPropChange"]
@@ -0,0 +1,10 @@
1
+ import { c as createStore } from './index-a47fdc7f.js';
2
+
3
+ const initialState = {};
4
+ const checkoutsListQueryParams = createStore(() => initialState);
5
+ const { state: queryParams, on: onQueryParamsChange } = checkoutsListQueryParams;
6
+ const clearParams = () => {
7
+ checkoutsListQueryParams.reset();
8
+ };
9
+
10
+ export { clearParams as c, onQueryParamsChange as o, queryParams as q };
@@ -0,0 +1,44 @@
1
+ import { h } from './index-29fcfdf5.js';
2
+ import { f as formatTime, a as formatDate, b as formatCurrency } from './utils-54543523.js';
3
+ import { k as tableHeadCell, m as getAlternateTableCellPart } from './parts-186d437f.js';
4
+
5
+ const MapCheckoutStatusToBadge = (status) => {
6
+ switch (status) {
7
+ case 'created':
8
+ return "<span class='badge bg-primary' title='The checkout has been created'>Created</span>";
9
+ case 'completed':
10
+ return "<span class='badge bg-success' title='The checkout has been completed'>Completed</span>";
11
+ case 'attempted':
12
+ return "<span class='badge bg-secondary' title='The checkout has been attempted'>Attempted</span>";
13
+ case 'expired':
14
+ return "<span class='badge bg-danger' title='The checkout has expired'>Expired</span>";
15
+ }
16
+ };
17
+
18
+ const defaultColumnsKeys = 'created_at,payment_amount,payment_description,payment_mode,status';
19
+ const checkoutTableColumns = {
20
+ created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date each checkout occurred" }, "Processed On")),
21
+ payment_amount: () => (h("th", { part: tableHeadCell, scope: "col", title: "The dollar amount of each checkout" }, "Payment Amount")),
22
+ payment_description: () => (h("th", { part: tableHeadCell, scope: "col", title: "The description of each checkout" }, "Payment Description")),
23
+ sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the checkout" }, "Sub Account")),
24
+ payment_mode: () => (h("th", { part: tableHeadCell, scope: "col", title: "The payment mode of each checkout" }, "Payment Mode")),
25
+ status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each checkout" }, "Status")),
26
+ };
27
+ const checkoutTableCells = {
28
+ created_at: (value, index) => (h("td", { part: getAlternateTableCellPart(index) },
29
+ h("div", { class: "fw-bold" },
30
+ formatDate(value),
31
+ " "),
32
+ h("div", { class: "fw-bold" },
33
+ formatTime(value),
34
+ " "))),
35
+ payment_amount: (value, index) => (h("td", { part: getAlternateTableCellPart(index) },
36
+ formatCurrency(value, true, true),
37
+ " ")),
38
+ payment_description: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
39
+ sub_account_name: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
40
+ payment_mode: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
41
+ status: (value, index) => (h("td", { part: getAlternateTableCellPart(index), innerHTML: MapCheckoutStatusToBadge(value) })),
42
+ };
43
+
44
+ export { checkoutTableCells as a, checkoutTableColumns as c, defaultColumnsKeys as d };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-57431c24.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
2
 
3
3
  var top = 'top';
4
4
  var bottom = 'bottom';
@@ -1875,7 +1875,7 @@ const CustomPopper = class {
1875
1875
  this.hideEvent.emit();
1876
1876
  }
1877
1877
  render() {
1878
- return (h("div", { key: '486c7b71b1b4f6d3ad8a9b9042fe5bdfe0427443' }, h("style", { key: '54a5bed99c8cf367642c63650200376cc5a90142' }, `
1878
+ return (h("div", { key: '153f64dde49d3c00975e4ab967092fe0eab2e096' }, h("style", { key: 'f3441ee39263f615a907d371e5a75be910e6ad80' }, `
1879
1879
  .popper-content {
1880
1880
  display: none;
1881
1881
  }
@@ -1883,109 +1883,8 @@ const CustomPopper = class {
1883
1883
  display: block;
1884
1884
  z-index: 1030;
1885
1885
  }
1886
- `), h("div", { key: '1c4dc36300485c1c331f39998bf23127ea5e6177', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '9dbb8f23779595303814ef10762663b809447c32' }))));
1886
+ `), h("div", { key: '840e5c3a19a9d57dda561971967130e8bf53518b', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '2b9bbfe2b4cd7bfb5ff3a6c21a99dea7e23d1124' }))));
1887
1887
  }
1888
1888
  };
1889
1889
 
1890
- const SelectInput = class {
1891
- constructor(hostRef) {
1892
- registerInstance(this, hostRef);
1893
- this.formControlInput = createEvent(this, "formControlInput", 7);
1894
- this.formControlBlur = createEvent(this, "formControlBlur", 7);
1895
- this.handleFormControlInput = (event) => {
1896
- const target = event.target;
1897
- const name = target.getAttribute('name');
1898
- this.inputHandler(name, target.value);
1899
- this.formControlInput.emit(target.value);
1900
- };
1901
- this.updateInput = (newValue) => {
1902
- this.selectElement.value = newValue;
1903
- };
1904
- this.name = undefined;
1905
- this.label = undefined;
1906
- this.options = undefined;
1907
- this.inputHandler = undefined;
1908
- this.defaultValue = undefined;
1909
- this.helpText = undefined;
1910
- this.errorText = undefined;
1911
- this.disabled = undefined;
1912
- }
1913
- handleDefaultValueChange(newValue) {
1914
- this.updateInput(newValue);
1915
- }
1916
- componentDidLoad() {
1917
- this.updateInput(this.defaultValue);
1918
- }
1919
- render() {
1920
- var _a;
1921
- return (h(Host, { key: '2825653443c2fdd8c6e059e03f9170fa0f293fe5', exportparts: "label,input,input-invalid" }, h("div", { key: '8eb3d38a99762d030b534cbb195e5f12da754ed4', class: "form-group d-flex flex-column" }, h("div", { key: 'ac41bf1269b5eec07e63eb9426d05684dac1aadc', class: "d-flex align-items-start gap-2" }, h("label", { key: 'ba1cd374fdb460b72ed509366a469c6d0cf9779e', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '7e81054e6daa2b19cae341126d49085d9c083602', helpText: this.helpText })), h("select", { key: '8eea54929eddbc98e71c0d8175e54b7e284a9f63', ref: el => (this.selectElement = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText ? 'input-invalid' : ''}`, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h("form-control-error-text", { key: 'e980065897e2c26b3f787dc576d4c5ffaeb7bdd3', errorText: this.errorText, name: this.name }))));
1922
- }
1923
- static get watchers() { return {
1924
- "defaultValue": ["handleDefaultValueChange"]
1925
- }; }
1926
- };
1927
-
1928
- const TextInput = class {
1929
- constructor(hostRef) {
1930
- registerInstance(this, hostRef);
1931
- this.formControlInput = createEvent(this, "formControlInput", 7);
1932
- this.formControlBlur = createEvent(this, "formControlBlur", 7);
1933
- this.handleFormControlInput = (event) => {
1934
- const target = event.target;
1935
- const name = target.getAttribute('name');
1936
- this.inputHandler(name, target.value);
1937
- this.formControlInput.emit({ name, value: target.value });
1938
- };
1939
- this.updateInput = (newValue) => {
1940
- const inputElement = this.el.querySelector('input');
1941
- if (inputElement) {
1942
- inputElement.value = newValue || '';
1943
- }
1944
- };
1945
- this.name = undefined;
1946
- this.label = undefined;
1947
- this.inputHandler = undefined;
1948
- this.defaultValue = undefined;
1949
- this.helpText = undefined;
1950
- this.errorText = undefined;
1951
- this.maxLength = undefined;
1952
- this.keyDownHandler = undefined;
1953
- this.disabled = undefined;
1954
- }
1955
- handleDefaultValueChange(newValue) {
1956
- this.updateInput(newValue);
1957
- }
1958
- componentDidLoad() {
1959
- this.updateInput(this.defaultValue);
1960
- }
1961
- render() {
1962
- return (h(Host, { key: '31f393afa67b52bea6b833a12be0bd06ce673bb2', exportparts: "label,input,input-invalid" }, h("div", { key: '14e875434e0f5c942623cbac1c338ef8775ed24d', class: "form-group d-flex flex-column" }, h("div", { key: '7c43ad5f89675b4db4b70e1e43a862e493ebeb30', class: "d-flex align-items-start gap-2" }, h("label", { key: '7d97de55470f39608349cf54225b927f9f029db8', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fd857b971360bf3bc87d902e28e15b17c1484bdd', helpText: this.helpText })), h("input", { key: 'ba0e1464cd736c8761cdee43715f9986480639c7', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? " input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h("form-control-error-text", { key: '31c1a57ce24a129a199864f20a0498957c2a43ea', errorText: this.errorText, name: this.name }))));
1963
- }
1964
- get el() { return getElement(this); }
1965
- static get watchers() { return {
1966
- "defaultValue": ["handleDefaultValueChange"]
1967
- }; }
1968
- };
1969
-
1970
- const TooltipComponent = class {
1971
- constructor(hostRef) {
1972
- registerInstance(this, hostRef);
1973
- this.anchorIcon = undefined;
1974
- this.tooltip = undefined;
1975
- this.helpText = undefined;
1976
- }
1977
- show() {
1978
- this.tooltip.classList.add('show');
1979
- }
1980
- hide() {
1981
- this.tooltip.classList.remove('show');
1982
- }
1983
- render() {
1984
- if (!this.helpText) {
1985
- return null;
1986
- }
1987
- return (h("div", { class: "tooltip-container" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", class: "bi bi-question-square tooltip-icon", viewBox: "0 0 16 16", ref: (el) => (this.anchorIcon = el), part: "tooltip-icon" }, h("path", { d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z" }), h("path", { d: "M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94" })), h("custom-popper", { trigger: "hover", placement: "top", anchorRef: this.anchorIcon }, h("div", { class: "tooltip bs-tooltip-top", part: "tooltip", role: "tooltip", ref: (el) => (this.tooltip = el) }, h("div", { class: "tooltip-inner", part: "tooltip-inner" }, this.helpText)))));
1988
- }
1989
- };
1990
-
1991
- export { CustomPopper as custom_popper, SelectInput as form_control_select, TextInput as form_control_text, TooltipComponent as form_control_tooltip };
1890
+ export { CustomPopper as custom_popper };
@@ -0,0 +1,27 @@
1
+ import { A as Api } from './Api-391d00e2.js';
2
+ import './Checkout-0b4086f8.js';
3
+ import './Pagination-afc8f96d.js';
4
+ import './Payment-4f72d277.js';
5
+ import './SubAccount-99a00594.js';
6
+ import { c as config } from './config-27764a9d.js';
7
+
8
+ class DisputeService {
9
+ async fetchDispute(disputeId, authToken) {
10
+ const endpoint = `disputes/${disputeId}`;
11
+ return Api({ authToken, apiOrigin: config.proxyApiOrigin }).get(endpoint);
12
+ }
13
+ async updateDisputeResponse(disputeId, authToken, payload) {
14
+ const endpoint = `disputes/${disputeId}/response`;
15
+ return Api({ authToken, apiOrigin: config.proxyApiOrigin }).patch(endpoint, payload);
16
+ }
17
+ async submitDisputeResponse(disputeId, authToken, payload) {
18
+ const endpoint = `disputes/${disputeId}/response`;
19
+ return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
20
+ }
21
+ async createDisputeEvidence(disputeId, authToken, payload) {
22
+ const endpoint = `disputes/${disputeId}/evidence`;
23
+ return Api({ authToken, apiOrigin: config.proxyApiOrigin }).put(endpoint, payload);
24
+ }
25
+ }
26
+
27
+ export { DisputeService as D };
@@ -1,4 +1,6 @@
1
- import { h } from './index-57431c24.js';
1
+ import { h } from './index-29fcfdf5.js';
2
+ import { p as tableEmpty, q as tableError, o as tableCell } from './parts-186d437f.js';
3
+ import { S as Spinner } from './spinner-879489b3.js';
2
4
 
3
5
  const TableEmptyState = (props) => {
4
6
  const { columnSpan, isEmpty } = props;
@@ -6,7 +8,7 @@ const TableEmptyState = (props) => {
6
8
  return null;
7
9
  }
8
10
  return (h("tr", null,
9
- h("td", { class: "empty-state", part: "empty-state", colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
11
+ h("td", { class: "empty-state", part: tableEmpty, colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
10
12
  };
11
13
 
12
14
  const TableErrorState = (props) => {
@@ -15,7 +17,7 @@ const TableErrorState = (props) => {
15
17
  return null;
16
18
  }
17
19
  return (h("tr", null,
18
- h("td", { class: "error-state", part: "error-state", colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
20
+ h("td", { class: "error-state", part: tableError, colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
19
21
  "An unexpected error occurred: ",
20
22
  errorMessage)));
21
23
  };
@@ -26,9 +28,8 @@ const TableLoadingState = (props) => {
26
28
  return null;
27
29
  }
28
30
  return (h("tr", null,
29
- h("td", { class: "loading-state", part: "loading-state-cell", colSpan: columnSpan, style: { textAlign: 'center' } },
30
- h("div", { part: "loading-state-spinner", class: "spinner-border", role: "status" },
31
- h("span", { class: "visually-hidden" }, "Loading...")))));
31
+ h("td", { class: "loading-state", part: tableCell, colSpan: columnSpan, style: { textAlign: 'center' } },
32
+ h(Spinner, null))));
32
33
  };
33
34
 
34
35
  class Table {
@@ -36,8 +37,8 @@ class Table {
36
37
  return this.columnKeys.map((key) => this.tableColumns[key]());
37
38
  }
38
39
  get rowData() {
39
- return this.collection.map((dataEntry) => {
40
- return this.columnKeys.map((key) => this.tableCells[key](dataEntry[key]));
40
+ return this.collection.map((dataEntry, index) => {
41
+ return this.columnKeys.map((key) => this.tableCells[key](dataEntry[key], index));
41
42
  });
42
43
  }
43
44
  set collectionData(collection) {
@@ -51,4 +52,11 @@ class Table {
51
52
  }
52
53
  }
53
54
 
54
- export { Table as T, TableLoadingState as a, TableEmptyState as b, TableErrorState as c };
55
+ var TableClickActions;
56
+ (function (TableClickActions) {
57
+ TableClickActions["row"] = "tableRow";
58
+ TableClickActions["next"] = "nextPage";
59
+ TableClickActions["previous"] = "previousPage";
60
+ })(TableClickActions || (TableClickActions = {}));
61
+
62
+ export { TableClickActions as T, Table as a, TableLoadingState as b, TableEmptyState as c, TableErrorState as d };
@@ -0,0 +1,22 @@
1
+ var DisputeManagementClickActions;
2
+ (function (DisputeManagementClickActions) {
3
+ DisputeManagementClickActions["nextStep"] = "nextStep";
4
+ DisputeManagementClickActions["previousStep"] = "previousStep";
5
+ DisputeManagementClickActions["cancelDispute"] = "cancelDispute";
6
+ DisputeManagementClickActions["respondToDispute"] = "respondToDispute";
7
+ DisputeManagementClickActions["submit"] = "submit";
8
+ })(DisputeManagementClickActions || (DisputeManagementClickActions = {}));
9
+ var DisputeResponseFormStep;
10
+ (function (DisputeResponseFormStep) {
11
+ DisputeResponseFormStep["disputeReason"] = "dispute_reason";
12
+ DisputeResponseFormStep["productOrService"] = "product_or_service";
13
+ DisputeResponseFormStep["customerDetails"] = "customer_details";
14
+ DisputeResponseFormStep["cancellationPolicy"] = "cancellation_policy";
15
+ DisputeResponseFormStep["refundPolicy"] = "refund_policy";
16
+ DisputeResponseFormStep["duplicateCharge"] = "duplicate_charge";
17
+ DisputeResponseFormStep["electronicEvidence"] = "electronic_evidence";
18
+ DisputeResponseFormStep["shippingDetails"] = "shipping_details";
19
+ DisputeResponseFormStep["additionalStatement"] = "additional_statement";
20
+ })(DisputeResponseFormStep || (DisputeResponseFormStep = {}));
21
+
22
+ export { DisputeManagementClickActions as D };
@@ -0,0 +1,23 @@
1
+ var BusinessFormClickActions;
2
+ (function (BusinessFormClickActions) {
3
+ BusinessFormClickActions["nextStep"] = "nextStep";
4
+ BusinessFormClickActions["previousStep"] = "previousStep";
5
+ BusinessFormClickActions["submit"] = "submit";
6
+ BusinessFormClickActions["removeOwner"] = "removeOwner";
7
+ BusinessFormClickActions["addOwner"] = "addOwner";
8
+ BusinessFormClickActions["addOwnerForm"] = "addOwnerForm";
9
+ BusinessFormClickActions["updateOwner"] = "updateOwner";
10
+ })(BusinessFormClickActions || (BusinessFormClickActions = {}));
11
+ var BusinessFormStep;
12
+ (function (BusinessFormStep) {
13
+ BusinessFormStep["businessInfo"] = "business_info";
14
+ BusinessFormStep["legalAddress"] = "legal_address";
15
+ BusinessFormStep["additionalQuestions"] = "additional_questions";
16
+ BusinessFormStep["representative"] = "representative";
17
+ BusinessFormStep["owners"] = "owners";
18
+ BusinessFormStep["bankAccount"] = "bank_account";
19
+ BusinessFormStep["documentUpload"] = "document_upload";
20
+ BusinessFormStep["termsAndConditions"] = "terms_and_conditions";
21
+ })(BusinessFormStep || (BusinessFormStep = {}));
22
+
23
+ export { BusinessFormClickActions as B, BusinessFormStep as a };
@@ -1,7 +1,8 @@
1
- import { r as registerInstance, h, H as Host } from './index-57431c24.js';
2
- import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as businessClassificationOptions } from './business-form-options-d790973e.js';
1
+ import { r as registerInstance, h, H as Host } from './index-29fcfdf5.js';
2
+ import { u as alertDanger, h as heading2 } from './parts-186d437f.js';
3
+ import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as businessClassificationOptions } from './business-form-options-018f62a5.js';
3
4
  import { C as CURRENCY_MASK, T as TAX_ID_MASKS, P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks-0e18300f.js';
4
- import { C as CoreBusinessInfo } from './Business-b73d5055.js';
5
+ import { C as CoreBusinessInfo } from './Business-29c69f22.js';
5
6
  import { d as deconstructDate } from './helpers-96ea3464.js';
6
7
  import { S as StateOptions } from './state-options-a356fb11.js';
7
8
  import { n as numberOnlyHandler } from './utils-20cdf321.js';
@@ -19,7 +20,7 @@ const FormAlert = class {
19
20
  if (this.hideAlert) {
20
21
  return null;
21
22
  }
22
- return (h("div", { class: 'alert alert-danger d-flex align-items-center', role: 'alert' }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", fill: "currentColor", class: "bi bi-exclamation-triangle-fill flex-shrink-0 me-2", viewBox: "0 0 16 16", role: "img", "aria-label": "Warning:" }, h("path", { d: "M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" })), h("div", null, this.text)));
23
+ return (h("div", { class: 'alert alert-danger d-flex align-items-center', role: 'alert', part: alertDanger }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", fill: "currentColor", class: "bi bi-exclamation-triangle-fill flex-shrink-0 me-2", viewBox: "0 0 16 16", role: "img", "aria-label": "Warning:" }, h("path", { d: "M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" })), h("div", null, this.text)));
23
24
  }
24
25
  };
25
26
 
@@ -41,7 +42,7 @@ const AdditionalQuestions = class {
41
42
  render() {
42
43
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
43
44
  const additionalQuestionsDefaultValue = this.formController.getInitialValues().additional_questions;
44
- return (h(Host, { key: '61cc057bc6c5776e27de37de03fd89c11e222b48', exportparts: "label,input,input-invalid" }, h("fieldset", { key: 'b979a8632db229a28fe4c7e209963d9750cb3af3' }, h("legend", { key: 'f0228638af05f24d265ff3ff08da34d9026b8bc8' }, "Additional Questions"), h("hr", { key: '985908ab74473185e4f63edf8d2ae67d21aa2c4c' }), h("div", { key: '3e5b107b36d8f02d1a7ec7f5be04cc7560dacb9b', class: "row gy-3" }, h("div", { key: '7bca3143f0e7c813b02b08bf685ed7d83a6f17d3', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '7b96fb49733b41cb4a100d9fbdf85054409d46d8', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '3103b2355eccb404733e25b1a812faf7d33643de', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '2bd4f9de5e18f8e9f7337e09b20ef2027f8efe10', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '3947678da024eacc36a4895dc82133543904ec10', class: "col-12" }, h("form-control-select", { key: 'cb6473c4ca9b410e1f73fb6821a1e6a9c4e8ba3c', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: '3ba6b5469e8b55fdf9607458ea82db534060b4da', class: "col-12" }, h("form-control-select", { key: '9239ce8bf9b5f54847dcd946b70b84cb2b188476', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '3acb380a8932d9df99c1bec4bf77806d23f16376', class: "col-12" }, h("form-control-text", { key: '71a01a5936b25f95ecd1d7a4ae926c34f0ab8f42', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: 'e31135b0483e5ab0e71ad4126bed49c2ce8e2f2d', class: "col-12" }, h("form-control-select", { key: '00c4567411859e568ac6c8663476d8a35e11dd59', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: 'f30fdb514b300844feb0a0c1bb2492d234f5f050', class: "col-12" }, h("form-control-text", { key: '6d7cf0947be6991725bee50c2fcad1298677d5e3', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
45
+ return (h(Host, { key: 'bb84bd6a1e3fa028c187a1d50c905e726549793d' }, h("fieldset", { key: '749a84c04210a561575b7182740fc6e5225756cb' }, h("legend", { key: '9b469b3014f11c3b108ca1ab85cfe61e202b9948', part: heading2 }, "Additional Questions"), h("div", { key: '1681a5e6f88b005dbf12c6e85c5b3b451a32d326', class: "row gy-3" }, h("div", { key: '8b29f94ac08449ed9d1995e1b3bd8e61692defa0', class: "col-12 col-md-6" }, h("form-control-monetary", { key: 'c05f4c9e4c14e2be2ce71f669d4f80661fac5812', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'bb7b1d913c72ead01ed7c1887ab3822082e156b4', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '33c9e231009d4368b5dcc45851f96e6329de64aa', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'b2e265d1eb6199f37cc667df427213f874764450', class: "col-12" }, h("form-control-select", { key: '0eb29219e1ee105088cd7b4953db890f31060a27', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: '368372379f4e361c1a85e56b4f5f9f46f490024e', class: "col-12" }, h("form-control-select", { key: '20c055aaecbc1c98861f675416bd17631f4427af', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: 'bd9761c491278329673db6fc552aa81d410d3d4e', class: "col-12" }, h("form-control-text", { key: '7824d74e9855743c0fa3192aa67d091676ac8032', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: '5eaf43f760d3ca83fe6ce92934827eda00bce848', class: "col-12" }, h("form-control-select", { key: 'bf239e5e8ea008e0617f4930836e2cc54b7d0bfb', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: '67bf5e9add4e24d12feb6398fd55bd8d29d293ff', class: "col-12" }, h("form-control-text", { key: 'c7956d361e51bb80a96e42f208af4b3499a54c66', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
45
46
  }
46
47
  };
47
48
 
@@ -64,7 +65,7 @@ const BusinessCoreInfo = class {
64
65
  }
65
66
  render() {
66
67
  const coreInfoDefaultValue = this.formController.getInitialValues();
67
- return (h(Host, { key: '8d81a67cdd39073a8a2c4a392b848583bfbd3bb8', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '83cf000ec3b8d66bc62d87e9adaf323e148d8caf' }, h("legend", { key: '904718bfb29a0542edf87a200c787424802a5e83' }, "General Info"), h("hr", { key: 'c62b85278d5dad53a5f87b4ce58e91092a7d8669' }), h("div", { key: 'f0bb373bf75561070fb745e0c73c3c65fd6754f1', class: "row gy-3" }, h("div", { key: 'a4d7446b5ba21a87b0f308726f0ebb6d827f4f97', class: "col-12" }, h("form-control-text", { key: '70c449d9559c0c08c449531a585fc0ffcd0a745c', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '8483e884591f2f48502d59ff3c2135a38f623752', class: "col-12" }, h("form-control-text", { key: '5037e14c786af49c92c139d83ac4b600a22e0d20', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '3de67ca2647f294aaea74964e7959e470d64ded6', class: "col-12 col-md-8" }, h("form-control-select", { key: '97f96111305371f1a4e037d49ed88cd9ee1864c6', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '9e72fce44d9dedddb78e80e60de04f9d1c011c3d', class: "col-12 col-md-4" }, h("form-control-date", { key: '7ef7d6dfc1be302b7c34c03c5795d487bfecb628', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '1f922b07e9b518ef8803e38baf592edc5e1f3d53', class: "col-12 col-md-6" }, h("form-control-text", { key: '4db75fd442ab14ff0387967f8a91fc34b666aeca', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '3f7fe65745fc046a7654a1d091c68ba54f139bda', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '3e0c9db91b9bc2eed4a048d96e7d5c8e6cf9e04e', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: 'cc4f89e9b8507752c147a9f59ed6a945ccfa0d95', class: "col-12" }, h("form-control-text", { key: '7d19bd16720da687b4a0f506509ec9fd8a6185fa', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: 'ddfacd485ca994560955ffaf3e9dc21e6300ea06', class: "col-12 col-md-6" }, h("form-control-text", { key: '9047a690090fe0c64b580c64bed78febeffafee8', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '54a8e1f648446f5be503c2f1f9e99e841f9a6e6f', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ce8821b40c1771df94bc2a9658eea34befdd462a', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
68
+ return (h(Host, { key: 'e4137edfffdb68e6dd792a9b38b13752734f5fd2' }, h("fieldset", { key: '7652930c2d961361969a454b6632ece8d34e9a7b' }, h("legend", { key: 'cb6e3a3eb561d862ea57d74bfd8a59fc8f2bb017', part: heading2 }, "General Info"), h("div", { key: '7becc4c5b16f7a77ff425b40e961fb478e50b3b4', class: "row gy-3" }, h("div", { key: '1c4d8eba65f262bf35e405e38818c2bb489c4c1a', class: "col-12" }, h("form-control-text", { key: 'f71636cf4bb91ee161e6e056cafc275950642e20', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '1865bb01a25c5f6148331a15804e31f48af4c6e8', class: "col-12" }, h("form-control-text", { key: '9d8a77ea431d826c864fe833fdb7866aa3fc6283', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: 'a271782b9750547ff609653307db7f3bfaccf25b', class: "col-12 col-md-8" }, h("form-control-select", { key: '52144fe64984bfbddc7d4488e48cc44decf44943', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '88c72bf4401345def76beff2f555f8dcd04724a5', class: "col-12 col-md-4" }, h("form-control-date", { key: '6c8b11e80c6959f257ed9a1022d6f0bc9437cf79', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: 'f5ddb61e0b705a4c16a0ae2b4610a6407cc4d919', class: "col-12 col-md-6" }, h("form-control-text", { key: '8e816266819351742ec3a00683a211d3b9ed5969', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '0e23adafca4f1dbde3a40d5f28a84278a00ef5df', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '143ad2c24b1643532186d0bbb4a0f4ada84cc880', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: '3549c796c3c9653e2006f7441a3aedff5c559660', class: "col-12" }, h("form-control-text", { key: 'ae1794226a4aeffdc0ec0ae1a1959a7e1f599024', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: 'a10bae7797bdc5c0bad910281dba1006dcf336b7', class: "col-12 col-md-6" }, h("form-control-text", { key: 'f6c80857ae53d6949d9276d4df3d04e459300c5f', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'd680203bd386b10a8385bf50d2b7a8e5a5564e29', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ca47e1b1d774b1fd61242ddd8d8adbeb21576970', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
68
69
  }
69
70
  };
70
71
 
@@ -94,7 +95,7 @@ const BusinessRepresentative = class {
94
95
  }
95
96
  render() {
96
97
  const representativeDefaultValue = this.formController.getInitialValues().representative;
97
- return (h(Host, { key: '857634ffd34ea218dce687fb0eaa95830a58bfb1', exportparts: "label,input,input-invalid" }, h("fieldset", { key: 'b3b073dc456e58c4fa67182ea3518581038419e3' }, h("legend", { key: '3c1997f718c340b5dd32e4cdbe9400d64eecf577' }, "Representative"), h("hr", { key: 'd51e5d797106af2050b884fc09802c497a180e1d' }), h("div", { key: '7e5631f8eb5c28f0a5c4193ece3039a3adc35d0a', class: "row gy-3" }, h("div", { key: '399a1f505781ed0b82fa85366ca66580e977f3e5', class: "col-12 col-md-8" }, h("form-control-text", { key: '0820b8e0b6178b997ba1938efc045ad334f061d3', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '2bb15a86304ce8755e1183835c0ed7c310a0e8b2', class: "col-12 col-md-4" }, h("form-control-text", { key: '2cc405cea169ec1bd5d72b110ce403101d029fff', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: 'd2927f863bd374c38b8028a148568068144294d7', class: "col-12 col-md-6" }, h("form-control-text", { key: '0fa24fa492e060978facf23aac2b151595bb129c', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '8c9f75ebc3c5d87fafaff48e489ad5dc091fbca4', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'f060196556cd11d9f68dab3aa7e87cba24e38afe', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '19f7bcd2a18ef1f8c937a90602bdd9f0ac8f91e5', class: "col-12 col-md-4" }, h("form-control-date", { key: '5392a1ce2cbb43a88c2d90981b56ef55ba4fdb31', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: '36203f898451d610b34afabc4bac9e20f01e53f7', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '4d4b9e4dcc0f5829068d4916d7373f6506ee9e74', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: '560e1dabe186e54a201ad02fb9054505ab5bb84c', class: "col-12" }, h("justifi-identity-address-form", { key: 'b47b48c19ca88248a9609c0e1858ba649f44c2da', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
98
+ return (h(Host, { key: '6953e0a161c91c96bbd1175f827c408532d9671d' }, h("fieldset", { key: '6d964e41c2cbe52659cff1947f34a4bed0ac086b' }, h("legend", { key: 'f7cc0797ebbfabd6cf316507949f023eecb064eb', part: heading2 }, "Representative"), h("div", { key: '83c9b653887b11a242a64da2d6e56ee0a5928c09', class: "row gy-3" }, h("div", { key: '641bf82762b34021bb4de999b7ac7bdfc7467992', class: "col-12 col-md-8" }, h("form-control-text", { key: '5c467daf7356de89b9f83d1ad623b278a8728237', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '3fe3718a17b31d15c538708bf04ac3709e4fc693', class: "col-12 col-md-4" }, h("form-control-text", { key: '12d100d5169fc48738b948ae427a25f9e56a3a43', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '96cc8dcd98a219da320060afecbe606484d5e366', class: "col-12 col-md-6" }, h("form-control-text", { key: '77847b0d23fd7e12330965948c983e8d6d4dc9a7', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '85c1991710d1eb0459d6ec38f11e3e04db190e41', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '978cb087ff6dc7cb2b9de885eafb3ef129e9c98f', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'abf26703f0a54067e37b1431730c88b3bec66ea0', class: "col-12 col-md-4" }, h("form-control-date", { key: '1dce5eca05db74ac62070152c169acf527cecde0', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: 'b95022325c2954a38fd28d0e601b948c1dea1af9', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'c3e85a5a69b44bb009756ea431433e6997dbf33e', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: 'f4e5fd0ee95bd83fc0916ebf70045e78e6ea0500', class: "col-12" }, h("justifi-identity-address-form", { key: '3559f515326eea50c760522f4a22a0231214ffc8', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
98
99
  }
99
100
  };
100
101
 
@@ -116,7 +117,7 @@ const LegalAddressForm = class {
116
117
  render() {
117
118
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
118
119
  const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
119
- return (h(Host, { key: 'c882f02585a8b78ddd35e0d28a71252324631634', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '7b41893d22bc032020060200e63f80707385585c' }, h("legend", { key: 'ddd67063e34b95920080bd649c0e3cfd1f4f1c0b' }, "Business Legal Address"), h("hr", { key: '7a74e634115497c445437543120bc8d9ff2d16ef' }), h("div", { key: 'acd00ea38decc4f4605ba058e2580626a86397a4', class: "row gy-3" }, h("div", { key: 'ca5a109b181dceab7d71bf3b7aa4cbaadc70ad6f', class: "col-12" }, h("form-control-text", { key: '67271661212a45157e37fe136a4a778552a9bfc9', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: '1d2ed08d41694bf530c92c1cd6f7092c46f93b40', class: "col-12" }, h("form-control-text", { key: '66dcae505b16fe4a5cb43e541f197d7de45f374e', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: 'ad5bd6ecb8fd5afec958d44fe6fb265b8cfac358', class: "col-12" }, h("form-control-text", { key: '33053662779ae34f6117fec9d2c8f2b3ae57ab53', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: 'fa19d830d677b2e183dff7ee8532c23e77d2d162', class: "col-12" }, h("form-control-select", { key: '481324e4af2b4af52cd9955331b402a30ca0bc45', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '76642ac99c59d4a4a75b2d8b03cffe807d96d62b', class: "col-12" }, h("form-control-text", { key: '0d46bb841e259ff86da5aff4e1e8ac9b000db331', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: '947782f5fa17fa0df3e431fe587d1efefbecdc27', class: "col-12" }, h("form-control-select", { key: 'd8848595610231ad5bf86f21eaad4bbb45617b01', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
120
+ return (h(Host, { key: 'cdc38fd9219f476ab7e96dc822e011e576ffd4a4' }, h("fieldset", { key: '2ede5cb6b37f1e3777ca0cc67301df09c3fba094' }, h("legend", { key: '172c62472d8604980ad3852706753fa57ca7de61', part: heading2 }, "Business Legal Address"), h("div", { key: 'e06b8a7685b684d0b13dca7d353a25657a193d7f', class: "row gy-3" }, h("div", { key: '666b922155f4867095c42bc8e5d532666bfa5dae', class: "col-12" }, h("form-control-text", { key: '3438b500fa38f5a8598087e9f1443c81727a25f7', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: '161beeeed0ee761e3a46eedf8be84fa41d3baa97', class: "col-12" }, h("form-control-text", { key: '50529cbf0bace2992f1a26904711b44900e7f9ae', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '9197e0c08d20fb1b4833bd5e3753bc9a98be38d3', class: "col-12" }, h("form-control-text", { key: 'a4f76e3e053a970971c65315679a26046e4bf93d', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: 'fc0751e18457603a59d6f159a8355b05f3199098', class: "col-12" }, h("form-control-select", { key: '3b9c78bdc3997badec0d0752fd8a0dcfa278ebbe', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '088917f3ec58d3e0b91a80fc545be78cb7a0d5f2', class: "col-12" }, h("form-control-text", { key: 'abb1e41d287a7ea0165f68811ee60a7985d3bcc7', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: '2f042e9969d48a35618124975def5b2fd06a9b98', class: "col-12" }, h("form-control-select", { key: '67bf02cb2b3e786b2a5a4f5817a4ffd5ff2fee96', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
120
121
  // just for now so we skip handling country specificities
121
122
  disabled: true }))))));
122
123
  }