@justifi/webcomponents 4.23.1 → 5.0.0-rc-2

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 (965) 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-f5591026.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-804a4bd7.js → business-identity-schema-0c537067.js} +2 -2
  10. package/dist/cjs/{business.service-7faffa0b.js → business.service-285f6f26.js} +1 -1
  11. package/dist/cjs/button-94bdc1f0.js +20 -0
  12. package/dist/cjs/{Analytics-7ab90cae.js → check-pkg-version-18426209.js} +23 -3
  13. package/dist/cjs/{checkout.service-aae1996c.js → checkout.service-671fab62.js} +2 -2
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +37 -30
  15. package/dist/cjs/checkouts-list-params-state-418c75a3.js +14 -0
  16. package/dist/cjs/checkouts-table-17648e93.js +48 -0
  17. package/dist/cjs/{config-05767cba.js → config-b190e93e.js} +1 -1
  18. package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper.cjs.entry.js} +3 -107
  19. package/dist/cjs/dispute.service-c362a953.js +29 -0
  20. package/dist/cjs/event-types-180a85a9.js +23 -0
  21. package/dist/cjs/{table-ec9ce9f7.js → event-types-4df47396.js} +16 -8
  22. package/dist/cjs/event-types-8edaabbb.js +22 -0
  23. package/dist/cjs/form-alert_5.cjs.entry.js +9 -8
  24. package/dist/cjs/form-control-checkbox.cjs.entry.js +57 -0
  25. package/dist/cjs/form-control-date.cjs.entry.js +21 -2
  26. package/dist/cjs/form-control-error-text-a2fd5fc1.js +14 -0
  27. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +90 -0
  28. package/dist/cjs/form-control-file.cjs.entry.js +21 -2
  29. package/dist/cjs/form-control-help-text-b6f7ae6e.js +14 -0
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary.cjs.entry.js +22 -2
  32. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +21 -3
  33. package/dist/cjs/form-control-number.cjs.entry.js +21 -2
  34. package/dist/cjs/form-control-radio.cjs.entry.js +25 -17
  35. package/dist/cjs/form-control-select_3.cjs.entry.js +145 -0
  36. package/dist/cjs/{get-payout-csv-1eed32ee.js → get-payout-csv-d2aed52c.js} +2 -2
  37. package/dist/cjs/{get-subaccounts-1d2fb201.js → get-subaccounts-9aa22224.js} +2 -2
  38. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +6 -8
  39. package/dist/cjs/header-1-cb7af794.js +10 -0
  40. package/dist/cjs/header-3-75e50713.js +10 -0
  41. package/dist/cjs/iframe-input-styles-state-d0de0b24.js +26 -0
  42. package/dist/cjs/{justifi-billing-form_2.cjs.entry.js → iframe-input.cjs.entry.js} +73 -180
  43. package/dist/cjs/{index-fb499e95.js → index-5b9a3b5f.js} +1 -93
  44. package/dist/cjs/{insurance-state-80e24caf.js → index-d2d0b181.js} +2 -24
  45. package/dist/cjs/{index.esm-97cf6825.js → index.esm-a397536a.js} +1 -1
  46. package/dist/cjs/insurance-state-001cfe12.js +34 -0
  47. package/dist/cjs/justifi-additional-questions-form-step-core_8.cjs.entry.js +591 -0
  48. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +43 -43
  49. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +413 -0
  50. package/dist/cjs/justifi-business-details.cjs.entry.js +9 -9
  51. package/dist/cjs/justifi-business-form.cjs.entry.js +25 -32
  52. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +3 -2
  53. package/dist/cjs/justifi-checkout-core.cjs.entry.js +16 -20
  54. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -10
  55. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +38 -0
  56. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
  57. package/dist/cjs/justifi-details.cjs.entry.js +4 -4
  58. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +50 -11
  59. package/dist/cjs/justifi-dispute-management.cjs.entry.js +87 -2
  60. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +378 -0
  61. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -7
  62. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +18 -28
  63. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -9
  64. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +13 -8
  65. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  66. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +43 -0
  67. package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -13
  68. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
  69. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +27 -0
  70. package/dist/cjs/justifi-payouts-list.cjs.entry.js +20 -14
  71. package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -10
  72. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +17 -18
  73. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -8
  74. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +35 -0
  75. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
  76. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +11 -15
  77. package/dist/cjs/loader.cjs.js +2 -2
  78. package/dist/cjs/{package-6d1daab8.js → package-d6ef89ed.js} +1 -1
  79. package/dist/cjs/pagination-menu.cjs.entry.js +26 -0
  80. package/dist/cjs/parts-811ddb9c.js +119 -0
  81. package/dist/cjs/payment-details-core.cjs.entry.js +13 -11
  82. package/dist/cjs/{payment.service-86871f43.js → payment.service-9a5336f1.js} +2 -2
  83. package/dist/cjs/payments-list-core.cjs.entry.js +34 -27
  84. package/dist/cjs/payments-list-params-state-0ff968a7.js +14 -0
  85. package/dist/cjs/payments-table-cf5d1c33.js +32 -0
  86. package/dist/cjs/payout-details-core.cjs.entry.js +8 -5
  87. package/dist/cjs/payouts-list-core.cjs.entry.js +37 -30
  88. package/dist/cjs/payouts-list-params-state-16348184.js +14 -0
  89. package/dist/cjs/payouts-table-58881d95.js +38 -0
  90. package/dist/cjs/{schema-validations-f0363047.js → schema-validations-0be8068a.js} +2 -2
  91. package/dist/cjs/skeleton-5ca03840.js +13 -0
  92. package/dist/cjs/spinner-c11fcb44.js +12 -0
  93. package/dist/cjs/styled-host-94309bab.js +14 -0
  94. package/dist/cjs/table-filters-menu.cjs.entry.js +45 -0
  95. package/dist/cjs/terminals-list-core.cjs.entry.js +36 -29
  96. package/dist/cjs/terminals-list-params-state-95ff6a64.js +14 -0
  97. package/dist/cjs/terminals-table-91985249.js +33 -0
  98. package/dist/cjs/{utils-e88fbc94.js → utils-a21b7453.js} +31 -28
  99. package/dist/cjs/utils-fc17191b.js +29 -0
  100. package/dist/cjs/webcomponents.cjs.js +2 -2
  101. package/dist/collection/api/Analytics.js +1 -1
  102. package/dist/collection/api/Business.js +5 -0
  103. package/dist/collection/api/Dispute.js +55 -0
  104. package/dist/collection/api/DisputeEvidenceDocument.js +44 -0
  105. package/dist/collection/api/Payment.js +6 -9
  106. package/dist/collection/api/services/dispute.service.js +20 -0
  107. package/dist/collection/collection-manifest.json +16 -17
  108. package/dist/collection/components/billing-form/billing-form.js +2 -19
  109. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -19
  110. package/dist/collection/components/business-details/business-details-core.js +8 -7
  111. package/dist/collection/components/business-details/business-details-loading.js +6 -0
  112. package/dist/collection/components/business-details/business-details.js +5 -13
  113. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -11
  114. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -11
  115. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -11
  116. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -19
  117. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -6
  118. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -4
  119. package/dist/collection/components/business-forms/business-form/business-form.js +18 -59
  120. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -1
  121. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +2 -6
  122. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  123. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +22 -52
  124. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  125. package/dist/collection/components/business-forms/owner-form/owner-form.js +6 -6
  126. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +18 -40
  127. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +6 -11
  128. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +19 -44
  129. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +18 -40
  130. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +6 -11
  131. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -47
  132. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +6 -11
  133. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -1
  134. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +17 -39
  135. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +6 -6
  136. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +21 -42
  137. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  138. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +4 -3
  139. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +18 -39
  140. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +6 -11
  141. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +32 -23
  142. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
  143. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -20
  144. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +7 -11
  145. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +30 -31
  146. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +2 -11
  147. package/dist/collection/components/business-forms/utils/event-types.js +21 -0
  148. package/dist/collection/components/business-forms/utils/index.js +4 -0
  149. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +65 -0
  150. package/dist/collection/components/checkout/card-form/card-form.js +67 -0
  151. package/dist/collection/components/checkout/checkout-core.js +19 -28
  152. package/dist/collection/components/checkout/checkout.js +7 -7
  153. package/dist/collection/components/checkout/message-event-types.js +4 -0
  154. package/dist/collection/components/checkout/new-payment-method.js +23 -15
  155. package/dist/collection/components/checkout/payment-method-options.js +1 -11
  156. package/dist/collection/components/checkout/save-new-payment-method.js +3 -4
  157. package/dist/collection/components/checkout/saved-payment-method.js +6 -5
  158. package/dist/collection/components/checkout/sezzle-payment-method.js +6 -4
  159. package/dist/collection/components/checkouts-list/checkouts-list-core.js +43 -36
  160. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +8 -61
  161. package/dist/collection/components/checkouts-list/checkouts-list-params-state.js +8 -0
  162. package/dist/collection/components/checkouts-list/checkouts-list.js +7 -29
  163. package/dist/collection/components/checkouts-list/checkouts-table.js +13 -12
  164. package/dist/collection/components/dispute-management/dispute-actions.js +31 -0
  165. package/dist/collection/components/dispute-management/dispute-management-core.js +131 -17
  166. package/dist/collection/components/dispute-management/dispute-management.js +143 -2
  167. package/dist/collection/components/dispute-management/dispute-notification.js +135 -15
  168. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +110 -0
  169. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +106 -0
  170. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +106 -0
  171. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +117 -0
  172. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +362 -0
  173. package/dist/collection/components/dispute-management/dispute-response/dispute-response-form-types.js +12 -0
  174. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +186 -0
  175. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +106 -0
  176. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +106 -0
  177. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +106 -0
  178. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +106 -0
  179. package/dist/collection/components/dispute-management/dispute-response/schemas/additional-statement-schema.js +5 -0
  180. package/dist/collection/components/dispute-management/dispute-response/schemas/cancellation-policy-schema.js +6 -0
  181. package/dist/collection/components/dispute-management/dispute-response/schemas/customer-details-schema.js +7 -0
  182. package/dist/collection/components/dispute-management/dispute-response/schemas/dispute-reason-schema.js +5 -0
  183. package/dist/collection/components/dispute-management/dispute-response/schemas/duplicate-charge-schema.js +6 -0
  184. package/dist/collection/components/dispute-management/dispute-response/schemas/electronic-evidence-schema.js +5 -0
  185. package/dist/collection/components/dispute-management/dispute-response/schemas/product-or-service-schema.js +6 -0
  186. package/dist/collection/components/dispute-management/dispute-response/schemas/refund-policy-schema.js +6 -0
  187. package/dist/collection/components/dispute-management/dispute-response/schemas/shipping-details-schema.js +8 -0
  188. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +106 -0
  189. package/dist/collection/components/dispute-management/event-types.js +20 -0
  190. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +8 -17
  191. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +5 -5
  192. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +19 -22
  193. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +6 -6
  194. package/dist/collection/components/pagination-menu/pagination-menu.js +5 -4
  195. package/dist/collection/components/payment-details/payment-details-core.js +15 -13
  196. package/dist/collection/components/payment-details/payment-details.js +5 -28
  197. package/dist/collection/components/payments-list/payments-list-core.js +40 -33
  198. package/dist/collection/components/payments-list/payments-list-filters.js +8 -61
  199. package/dist/collection/components/payments-list/payments-list-params-state.js +8 -0
  200. package/dist/collection/components/payments-list/payments-list.js +7 -29
  201. package/dist/collection/components/payments-list/payments-table.js +15 -14
  202. package/dist/collection/components/payout-details/payout-details-core.js +10 -8
  203. package/dist/collection/components/payout-details/payout-details.js +5 -5
  204. package/dist/collection/components/payouts-list/payouts-list-core.js +43 -36
  205. package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -60
  206. package/dist/collection/components/payouts-list/payouts-list-params-state.js +8 -0
  207. package/dist/collection/components/payouts-list/payouts-list.js +6 -28
  208. package/dist/collection/components/payouts-list/payouts-table.js +19 -18
  209. package/dist/collection/components/refund-form/refund-form.js +1 -11
  210. package/dist/collection/components/refund-form/refund-form.stories.js +1 -60
  211. package/dist/collection/components/terminals-list/terminals-list-core.js +43 -36
  212. package/dist/collection/components/terminals-list/terminals-list-filters.js +8 -61
  213. package/dist/collection/components/terminals-list/terminals-list-params-state.js +8 -0
  214. package/dist/collection/components/terminals-list/terminals-list.js +7 -29
  215. package/dist/collection/components/terminals-list/terminals-table.js +9 -8
  216. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +20 -24
  217. package/dist/collection/styles/parts.js +74 -0
  218. package/dist/collection/ui-components/button.js +6 -12
  219. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  220. package/dist/collection/ui-components/details/details.js +2 -4
  221. package/dist/collection/ui-components/details/utils.js +7 -10
  222. package/dist/collection/ui-components/filters/table-filters-menu.js +5 -1
  223. package/dist/collection/ui-components/form/form-control-checkbox.js +31 -16
  224. package/dist/collection/ui-components/form/form-control-date.js +25 -1
  225. package/dist/collection/ui-components/form/form-control-file-v2.js +177 -0
  226. package/dist/collection/ui-components/form/form-control-file.js +22 -2
  227. package/dist/collection/ui-components/form/form-control-monetary.js +25 -1
  228. package/dist/collection/ui-components/form/form-control-number-masked.js +24 -1
  229. package/dist/collection/ui-components/form/form-control-number.js +24 -1
  230. package/dist/collection/ui-components/form/form-control-radio.js +50 -40
  231. package/dist/collection/ui-components/form/form-control-select.js +25 -1
  232. package/dist/collection/ui-components/form/form-control-text.js +24 -1
  233. package/dist/collection/ui-components/form/form-control-textarea.js +27 -2
  234. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +2 -1
  235. package/dist/collection/ui-components/form/form-helpers/form-control-error-text.js +9 -0
  236. package/dist/collection/ui-components/form/form-helpers/form-control-help-text.js +9 -0
  237. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +2 -1
  238. package/dist/collection/ui-components/form/form.js +1 -1
  239. package/dist/collection/ui-components/form/hidden-input.js +85 -0
  240. package/dist/collection/ui-components/form/iframe-input-styles-state.js +21 -0
  241. package/dist/collection/ui-components/form/iframe-input.js +215 -0
  242. package/dist/collection/ui-components/headers/header-1.js +5 -0
  243. package/dist/collection/ui-components/headers/header-2.js +5 -0
  244. package/dist/collection/ui-components/headers/header-3.js +5 -0
  245. package/dist/collection/ui-components/index.js +6 -0
  246. package/dist/collection/ui-components/skeleton.js +4 -34
  247. package/dist/collection/ui-components/spinner.js +6 -0
  248. package/dist/collection/ui-components/table/event-types.js +6 -0
  249. package/dist/collection/ui-components/table-empty-state.js +2 -1
  250. package/dist/collection/ui-components/table-error-state.js +2 -1
  251. package/dist/collection/ui-components/table-loading-state.js +3 -1
  252. package/dist/collection/utils/table.js +2 -2
  253. package/dist/collection/utils/utils.js +27 -26
  254. package/dist/docs.json +3573 -4721
  255. package/dist/esm/{Business-b73d5055.js → Business-29c69f22.js} +6 -1
  256. package/dist/esm/Dispute-5fd28ec9.js +57 -0
  257. package/dist/esm/{Payment-2a868d0c.js → Payment-4f72d277.js} +7 -9
  258. package/dist/esm/additional-questions-details_5.entry.js +9 -28
  259. package/dist/esm/bank-account-form_9.entry.js +481 -0
  260. package/dist/esm/{business-additional-questions-schema-d94f8975.js → business-additional-questions-schema-48e93928.js} +2 -2
  261. package/dist/esm/business-details-core.entry.js +26 -4
  262. package/dist/esm/{business-form-options-d790973e.js → business-form-options-018f62a5.js} +1 -1
  263. package/dist/esm/{business-identity-schema-2756dbc6.js → business-identity-schema-75126188.js} +2 -2
  264. package/dist/esm/{business.service-97a3da69.js → business.service-182aea6f.js} +1 -1
  265. package/dist/esm/button-1886a33d.js +18 -0
  266. package/dist/esm/{Analytics-77dc80f3.js → check-pkg-version-157854b7.js} +23 -4
  267. package/dist/esm/{checkout.service-c1e44e0c.js → checkout.service-32a6ebe8.js} +2 -2
  268. package/dist/esm/checkouts-list-core.entry.js +36 -29
  269. package/dist/esm/checkouts-list-params-state-1d968971.js +10 -0
  270. package/dist/esm/checkouts-table-8b116232.js +44 -0
  271. package/dist/esm/{config-27764a9d.js → config-187b3ae1.js} +1 -1
  272. package/dist/esm/{custom-popper_4.entry.js → custom-popper.entry.js} +4 -105
  273. package/dist/esm/dispute.service-4e5059aa.js +27 -0
  274. package/dist/esm/{table-44e3d1e7.js → event-types-01dcdcbd.js} +17 -9
  275. package/dist/esm/event-types-07cdb9a0.js +22 -0
  276. package/dist/esm/event-types-5c87de02.js +23 -0
  277. package/dist/esm/form-alert_5.entry.js +9 -8
  278. package/dist/esm/form-control-checkbox.entry.js +53 -0
  279. package/dist/esm/form-control-date.entry.js +21 -2
  280. package/dist/esm/form-control-error-text-3b2553b5.js +12 -0
  281. package/dist/esm/form-control-file-v2_2.entry.js +85 -0
  282. package/dist/esm/form-control-file.entry.js +21 -2
  283. package/dist/esm/form-control-help-text-a2fc3617.js +12 -0
  284. package/dist/esm/form-control-help-text.entry.js +1 -1
  285. package/dist/esm/form-control-monetary.entry.js +22 -2
  286. package/dist/esm/form-control-number-masked_2.entry.js +21 -3
  287. package/dist/esm/form-control-number.entry.js +21 -2
  288. package/dist/esm/form-control-radio.entry.js +25 -17
  289. package/dist/esm/form-control-select_3.entry.js +139 -0
  290. package/dist/esm/{get-payout-csv-3b83b088.js → get-payout-csv-e6058aa7.js} +2 -2
  291. package/dist/esm/{get-subaccounts-dd20cfa4.js → get-subaccounts-0b8af245.js} +2 -2
  292. package/dist/esm/gross-payment-chart-core.entry.js +6 -8
  293. package/dist/esm/header-1-c6a00a22.js +8 -0
  294. package/dist/esm/header-3-a1c6d475.js +8 -0
  295. package/dist/esm/iframe-input-styles-state-ff730fe5.js +23 -0
  296. package/dist/esm/{justifi-billing-form_2.entry.js → iframe-input.entry.js} +73 -179
  297. package/dist/esm/{index-57431c24.js → index-29fcfdf5.js} +1 -93
  298. package/dist/esm/{insurance-state-8ce01e59.js → index-a47fdc7f.js} +2 -21
  299. package/dist/esm/{index.esm-ed37201b.js → index.esm-0b6849c2.js} +1 -1
  300. package/dist/esm/insurance-state-8fc9376f.js +28 -0
  301. package/dist/esm/justifi-additional-questions-form-step-core_8.entry.js +580 -0
  302. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +43 -43
  303. package/dist/esm/justifi-additional-statement_8.entry.js +402 -0
  304. package/dist/esm/justifi-business-details.entry.js +8 -8
  305. package/dist/esm/justifi-business-form.entry.js +21 -28
  306. package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -2
  307. package/dist/esm/justifi-checkout-core.entry.js +16 -20
  308. package/dist/esm/justifi-checkout.entry.js +9 -9
  309. package/dist/esm/justifi-checkouts-list-filters.entry.js +34 -0
  310. package/dist/esm/justifi-checkouts-list.entry.js +13 -13
  311. package/dist/esm/justifi-details.entry.js +4 -4
  312. package/dist/esm/justifi-dispute-management-core.entry.js +50 -11
  313. package/dist/esm/justifi-dispute-management.entry.js +87 -2
  314. package/dist/esm/justifi-dispute-notification_3.entry.js +372 -0
  315. package/dist/esm/justifi-gross-payment-chart.entry.js +6 -6
  316. package/dist/esm/justifi-owner-form_3.entry.js +16 -26
  317. package/dist/esm/justifi-payment-details.entry.js +9 -8
  318. package/dist/esm/justifi-payment-provisioning-core.entry.js +12 -7
  319. package/dist/esm/justifi-payment-provisioning.entry.js +6 -7
  320. package/dist/esm/justifi-payments-list-filters.entry.js +39 -0
  321. package/dist/esm/justifi-payments-list.entry.js +12 -12
  322. package/dist/esm/justifi-payout-details.entry.js +9 -8
  323. package/dist/esm/justifi-payouts-list-filters.entry.js +23 -0
  324. package/dist/esm/justifi-payouts-list.entry.js +19 -13
  325. package/dist/esm/justifi-refund-form.entry.js +7 -10
  326. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +17 -18
  327. package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
  328. package/dist/esm/justifi-terminals-list-filters.entry.js +31 -0
  329. package/dist/esm/justifi-terminals-list.entry.js +11 -11
  330. package/dist/esm/justifi-tokenize-payment-method.entry.js +10 -14
  331. package/dist/esm/loader.js +3 -3
  332. package/dist/esm/{package-627f73c1.js → package-9e3b7f9e.js} +1 -1
  333. package/dist/esm/pagination-menu.entry.js +22 -0
  334. package/dist/esm/parts-186d437f.js +72 -0
  335. package/dist/esm/payment-details-core.entry.js +13 -11
  336. package/dist/esm/{payment.service-ca6b5bc5.js → payment.service-45f90e06.js} +2 -2
  337. package/dist/esm/payments-list-core.entry.js +33 -26
  338. package/dist/esm/payments-list-params-state-b3dab8bc.js +10 -0
  339. package/dist/esm/payments-table-d6fbab5b.js +28 -0
  340. package/dist/esm/payout-details-core.entry.js +8 -5
  341. package/dist/esm/payouts-list-core.entry.js +36 -29
  342. package/dist/esm/payouts-list-params-state-49618e7a.js +10 -0
  343. package/dist/esm/payouts-table-2e61a116.js +34 -0
  344. package/dist/esm/{schema-validations-93a9d504.js → schema-validations-c7d4f9df.js} +2 -2
  345. package/dist/esm/skeleton-8f71cdf7.js +11 -0
  346. package/dist/esm/spinner-879489b3.js +10 -0
  347. package/dist/esm/styled-host-32228b45.js +12 -0
  348. package/dist/esm/table-filters-menu.entry.js +41 -0
  349. package/dist/esm/terminals-list-core.entry.js +35 -28
  350. package/dist/esm/terminals-list-params-state-2c48d35f.js +10 -0
  351. package/dist/esm/terminals-table-8e42977c.js +29 -0
  352. package/dist/esm/{utils-1df1e55a.js → utils-54543523.js} +31 -30
  353. package/dist/esm/utils-d7633e66.js +22 -0
  354. package/dist/esm/webcomponents.js +3 -3
  355. package/dist/module/Business.js +6 -1
  356. package/dist/module/Payment.js +62 -10
  357. package/dist/module/additional-questions-details2.js +1 -5
  358. package/dist/module/additional-questions.js +4 -15
  359. package/dist/module/additional-statement.js +52 -13
  360. package/dist/module/{justifi-card-form.d.ts → bank-account-form.d.ts} +4 -4
  361. package/dist/module/bank-account-form.js +6 -0
  362. package/dist/module/bank-account-form2.js +44 -0
  363. package/dist/module/billing-form.js +6 -18
  364. package/dist/module/business-additional-questions-form-step-core.js +8 -21
  365. package/dist/module/business-additional-questions-form-step.js +3 -15
  366. package/dist/module/business-bank-account-form-step.js +11 -18
  367. package/dist/module/business-core-info-form-step-core.js +11 -18
  368. package/dist/module/business-core-info-form-step.js +5 -11
  369. package/dist/module/business-core-info.js +6 -11
  370. package/dist/module/business-details-core2.js +25 -3
  371. package/dist/module/business-document-upload-form-step.js +12 -18
  372. package/dist/module/business-document-upload-input-group.js +3 -9
  373. package/dist/module/business-documents-on-file.js +4 -3
  374. package/dist/module/business-owners-form-step-core.js +12 -18
  375. package/dist/module/business-owners-form-step.js +5 -11
  376. package/dist/module/business-representative-form-inputs.js +6 -11
  377. package/dist/module/business-representative-form-step-core.js +9 -17
  378. package/dist/module/business-representative-form-step.js +5 -11
  379. package/dist/module/business-representative.js +6 -11
  380. package/dist/module/business-terms-conditions-form-step.js +16 -22
  381. package/dist/module/business-terms-conditions-text.js +2 -5
  382. package/dist/module/button.js +6 -12
  383. package/dist/module/cancellation-policy.js +49 -13
  384. package/dist/module/{justifi-payment-form.d.ts → card-form.d.ts} +4 -4
  385. package/dist/module/card-form.js +6 -0
  386. package/dist/module/card-form2.js +46 -0
  387. package/dist/module/check-pkg-version.js +76 -1
  388. package/dist/module/checkout-core.js +55 -30
  389. package/dist/module/checkouts-list-core2.js +47 -77
  390. package/dist/module/checkouts-list-params-state.js +10 -0
  391. package/dist/module/config.js +1 -1
  392. package/dist/module/custom-popper2.js +2 -2
  393. package/dist/module/customer-details.js +50 -13
  394. package/dist/module/details.js +3 -5
  395. package/dist/module/dispute-management-core.js +74 -39
  396. package/dist/module/dispute-notification.js +41 -8
  397. package/dist/module/dispute-response-actions.js +117 -0
  398. package/dist/module/dispute-response-core.js +280 -0
  399. package/dist/module/dispute-response-form-types.js +59 -0
  400. package/dist/module/dispute-response.js +198 -0
  401. package/dist/module/duplicate-charge.js +49 -13
  402. package/dist/module/electronic-evidence.js +49 -20
  403. package/dist/module/{table.js → event-types.js} +16 -8
  404. package/dist/module/event-types2.js +23 -0
  405. package/dist/module/event-types3.js +22 -0
  406. package/dist/module/form-alert2.js +2 -1
  407. package/dist/module/form-control-checkbox2.js +29 -27
  408. package/dist/module/form-control-date2.js +25 -10
  409. package/dist/module/form-control-error-text.js +10 -4
  410. package/dist/module/{payouts-list-filters.d.ts → form-control-file-v2.d.ts} +4 -4
  411. package/dist/module/form-control-file-v2.js +6 -0
  412. package/dist/module/form-control-file-v22.js +59 -0
  413. package/dist/module/form-control-file2.js +25 -10
  414. package/dist/module/form-control-help-text.js +1 -1
  415. package/dist/module/form-control-help-text2.js +9 -32
  416. package/dist/module/form-control-help-text3.js +35 -0
  417. package/dist/module/form-control-monetary2.js +26 -16
  418. package/dist/module/form-control-number-masked2.js +25 -11
  419. package/dist/module/form-control-number.js +24 -15
  420. package/dist/module/form-control-radio2.js +31 -30
  421. package/dist/module/form-control-select2.js +25 -10
  422. package/dist/module/form-control-text2.js +24 -10
  423. package/dist/module/form-control-textarea2.js +26 -11
  424. package/dist/module/form-control-tooltip2.js +2 -1
  425. package/dist/module/form.js +1 -1
  426. package/dist/module/generic-info-details2.js +1 -5
  427. package/dist/module/get-payout-csv.js +1 -1
  428. package/dist/module/get-subaccounts.js +1 -1
  429. package/dist/module/gross-payment-chart-core2.js +3 -6
  430. package/dist/module/header-1.js +8 -0
  431. package/dist/module/{payments-list-filters.d.ts → hidden-input.d.ts} +4 -4
  432. package/dist/module/hidden-input.js +6 -0
  433. package/dist/module/hidden-input2.js +100 -0
  434. package/dist/module/identity-address-form.js +4 -10
  435. package/dist/module/iframe-input-styles-state.js +23 -0
  436. package/dist/module/iframe-input.d.ts +11 -0
  437. package/dist/module/iframe-input.js +6 -0
  438. package/dist/module/{payment-method-form.js → iframe-input2.js} +83 -131
  439. package/dist/module/index2.js +167 -3572
  440. package/dist/module/index3.js +3599 -0
  441. package/dist/module/insurance-state.js +6 -191
  442. package/dist/module/justifi-business-details.js +2 -3
  443. package/dist/module/justifi-business-form.js +16 -36
  444. package/dist/module/justifi-checkout.js +52 -23
  445. package/dist/module/justifi-checkouts-list-filters.d.ts +11 -0
  446. package/dist/module/justifi-checkouts-list-filters.js +77 -0
  447. package/dist/module/justifi-checkouts-list.js +8 -45
  448. package/dist/module/justifi-dispute-management.js +109 -34
  449. package/dist/module/justifi-dispute-response-core.d.ts +11 -0
  450. package/dist/module/justifi-dispute-response-core.js +6 -0
  451. package/dist/module/justifi-dispute-response.d.ts +11 -0
  452. package/dist/module/justifi-dispute-response.js +6 -0
  453. package/dist/module/justifi-gross-payment-chart.js +2 -3
  454. package/dist/module/justifi-payment-details.js +3 -4
  455. package/dist/module/justifi-payment-provisioning.js +12 -24
  456. package/dist/module/justifi-payments-list-filters.d.ts +11 -0
  457. package/dist/module/justifi-payments-list-filters.js +94 -0
  458. package/dist/module/justifi-payments-list.js +9 -58
  459. package/dist/module/justifi-payout-details.js +2 -3
  460. package/dist/module/justifi-payouts-list-filters.d.ts +11 -0
  461. package/dist/module/justifi-payouts-list-filters.js +66 -0
  462. package/dist/module/justifi-payouts-list.js +14 -45
  463. package/dist/module/justifi-refund-form.js +4 -19
  464. package/dist/module/justifi-season-interruption-insurance.js +16 -5
  465. package/dist/module/justifi-terminals-list-filters.d.ts +11 -0
  466. package/dist/module/{terminals-list-filters2.js → justifi-terminals-list-filters.js} +25 -28
  467. package/dist/module/justifi-terminals-list.js +8 -51
  468. package/dist/module/justifi-tokenize-payment-method.js +51 -25
  469. package/dist/module/legal-address-details2.js +1 -5
  470. package/dist/module/legal-address-form-step-core.js +10 -17
  471. package/dist/module/legal-address-form-step.js +3 -9
  472. package/dist/module/legal-address-form.js +5 -10
  473. package/dist/module/new-payment-method.js +72 -30
  474. package/dist/module/owner-details2.js +1 -5
  475. package/dist/module/owner-form-core2.js +10 -25
  476. package/dist/module/owner-form-inputs2.js +5 -11
  477. package/dist/module/owner-form.js +5 -11
  478. package/dist/module/package.js +1 -1
  479. package/dist/module/pagination-menu2.js +4 -3
  480. package/dist/module/parts.js +72 -0
  481. package/dist/module/payment-details-core2.js +11 -9
  482. package/dist/module/payment-method-options.js +47 -24
  483. package/dist/module/payment-provisioning-actions.js +1 -1
  484. package/dist/module/payment-provisioning-core.js +21 -28
  485. package/dist/module/payment-provisioning-form-buttons.js +4 -2
  486. package/dist/module/payment-provisioning-form-steps.js +11 -24
  487. package/dist/module/payments-list-core2.js +46 -88
  488. package/dist/module/payments-list-params-state.js +10 -0
  489. package/dist/module/payout-details-core2.js +6 -3
  490. package/dist/module/payouts-list-core2.js +53 -83
  491. package/dist/module/payouts-list-params-state.js +10 -0
  492. package/dist/module/product-or-service.js +46 -13
  493. package/dist/module/refund-policy.js +49 -13
  494. package/dist/module/representative-details2.js +1 -5
  495. package/dist/module/save-new-payment-method.js +10 -5
  496. package/dist/module/saved-payment-method.js +19 -6
  497. package/dist/module/season-interruption-insurance-core.js +29 -19
  498. package/dist/module/sezzle-payment-method.js +19 -5
  499. package/dist/module/shipping-details.js +53 -19
  500. package/dist/module/skeleton.js +4 -34
  501. package/dist/module/spinner.js +10 -0
  502. package/dist/module/styled-host.js +1 -1
  503. package/dist/module/table-filters-menu2.js +12 -2
  504. package/dist/module/terminals-list-core2.js +43 -79
  505. package/dist/module/terminals-list-params-state.js +10 -0
  506. package/dist/module/utils.js +14 -19
  507. package/dist/module/utils2.js +31 -30
  508. package/dist/module/utils3.js +25 -30
  509. package/dist/module/utils4.js +23 -24
  510. package/dist/types/api/Business.d.ts +4 -0
  511. package/dist/types/api/Checkout.d.ts +1 -3
  512. package/dist/types/api/ComponentError.d.ts +0 -6
  513. package/dist/types/api/ComponentEvents.d.ts +23 -0
  514. package/dist/types/api/Dispute.d.ts +76 -0
  515. package/dist/types/api/DisputeEvidenceDocument.d.ts +23 -0
  516. package/dist/types/api/Payment.d.ts +6 -11
  517. package/dist/types/api/Payout.d.ts +1 -3
  518. package/dist/types/api/Terminal.d.ts +1 -4
  519. package/dist/types/api/services/dispute.service.d.ts +14 -0
  520. package/dist/types/components/billing-form/billing-form.d.ts +0 -5
  521. package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +0 -8
  522. package/dist/types/components/business-details/business-details-core.d.ts +2 -2
  523. package/dist/types/components/business-details/business-details-loading.d.ts +1 -0
  524. package/dist/types/components/business-details/business-details.d.ts +2 -10
  525. package/dist/types/components/business-details/representative-details/representative-details.d.ts +0 -8
  526. package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +0 -5
  527. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
  528. package/dist/types/components/business-forms/business-form/business-form.d.ts +4 -11
  529. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -5
  530. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +4 -6
  531. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -2
  532. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +3 -5
  533. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +2 -7
  534. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -8
  535. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -5
  536. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -7
  537. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +4 -6
  538. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -7
  539. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +3 -5
  540. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -2
  541. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +3 -5
  542. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +3 -5
  543. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -7
  544. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +5 -5
  545. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
  546. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +2 -7
  547. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +5 -5
  548. package/dist/types/components/business-forms/utils/event-types.d.ts +19 -0
  549. package/dist/types/components/business-forms/utils/index.d.ts +4 -0
  550. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +7 -0
  551. package/dist/types/components/checkout/card-form/card-form.d.ts +9 -0
  552. package/dist/types/components/checkout/checkout-core.d.ts +5 -4
  553. package/dist/types/components/checkout/checkout.d.ts +2 -2
  554. package/dist/types/components/checkout/message-event-types.d.ts +4 -0
  555. package/dist/types/components/checkout/new-payment-method.d.ts +3 -3
  556. package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
  557. package/dist/types/components/checkout/saved-payment-method.d.ts +1 -1
  558. package/dist/types/components/checkout/sezzle-payment-method.d.ts +1 -1
  559. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +7 -8
  560. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +1 -3
  561. package/dist/types/components/checkouts-list/checkouts-list-params-state.d.ts +5 -0
  562. package/dist/types/components/checkouts-list/checkouts-list.d.ts +2 -24
  563. package/dist/types/components/checkouts-list/checkouts-table.d.ts +6 -6
  564. package/dist/types/components/dispute-management/dispute-actions.d.ts +9 -0
  565. package/dist/types/components/dispute-management/dispute-management-core.d.ts +14 -3
  566. package/dist/types/components/dispute-management/dispute-management.d.ts +15 -0
  567. package/dist/types/components/dispute-management/dispute-notification.d.ts +9 -3
  568. package/dist/types/components/dispute-management/dispute-response/additional-statement.d.ts +17 -0
  569. package/dist/types/components/dispute-management/dispute-response/cancellation-policy.d.ts +15 -0
  570. package/dist/types/components/dispute-management/dispute-response/customer-details.d.ts +15 -0
  571. package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +40 -0
  572. package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +46 -0
  573. package/dist/types/components/dispute-management/dispute-response/dispute-response-form-types.d.ts +20 -0
  574. package/dist/types/components/dispute-management/dispute-response/dispute-response.d.ts +35 -0
  575. package/dist/types/components/dispute-management/dispute-response/duplicate-charge.d.ts +15 -0
  576. package/dist/types/components/dispute-management/dispute-response/electronic-evidence.d.ts +15 -0
  577. package/dist/types/components/dispute-management/dispute-response/product-or-service.d.ts +15 -0
  578. package/dist/types/components/dispute-management/dispute-response/refund-policy.d.ts +15 -0
  579. package/dist/types/components/dispute-management/dispute-response/schemas/additional-statement-schema.d.ts +6 -0
  580. package/dist/types/components/dispute-management/dispute-response/schemas/cancellation-policy-schema.d.ts +8 -0
  581. package/dist/types/components/dispute-management/dispute-response/schemas/customer-details-schema.d.ts +10 -0
  582. package/dist/types/components/dispute-management/dispute-response/schemas/dispute-reason-schema.d.ts +6 -0
  583. package/dist/types/components/dispute-management/dispute-response/schemas/duplicate-charge-schema.d.ts +8 -0
  584. package/dist/types/components/dispute-management/dispute-response/schemas/electronic-evidence-schema.d.ts +6 -0
  585. package/dist/types/components/dispute-management/dispute-response/schemas/product-or-service-schema.d.ts +8 -0
  586. package/dist/types/components/dispute-management/dispute-response/schemas/refund-policy-schema.d.ts +8 -0
  587. package/dist/types/components/dispute-management/dispute-response/schemas/shipping-details-schema.d.ts +12 -0
  588. package/dist/types/components/dispute-management/dispute-response/shipping-details.d.ts +15 -0
  589. package/dist/types/components/dispute-management/event-types.d.ts +18 -0
  590. package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +2 -2
  591. package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +3 -3
  592. package/dist/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +4 -4
  593. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  594. package/dist/types/components/payment-details/payment-details-core.d.ts +2 -2
  595. package/dist/types/components/payment-details/payment-details.d.ts +2 -25
  596. package/dist/types/components/payments-list/payments-list-core.d.ts +6 -7
  597. package/dist/types/components/payments-list/payments-list-filters.d.ts +1 -4
  598. package/dist/types/components/payments-list/payments-list-params-state.d.ts +5 -0
  599. package/dist/types/components/payments-list/payments-list.d.ts +2 -24
  600. package/dist/types/components/payments-list/payments-table.d.ts +7 -7
  601. package/dist/types/components/payout-details/payout-details-core.d.ts +2 -2
  602. package/dist/types/components/payout-details/payout-details.d.ts +3 -3
  603. package/dist/types/components/payouts-list/payouts-list-core.d.ts +7 -8
  604. package/dist/types/components/payouts-list/payouts-list-filters.d.ts +0 -3
  605. package/dist/types/components/payouts-list/payouts-list-params-state.d.ts +5 -0
  606. package/dist/types/components/payouts-list/payouts-list.d.ts +2 -24
  607. package/dist/types/components/payouts-list/payouts-table.d.ts +9 -9
  608. package/dist/types/components/terminals-list/terminals-list-core.d.ts +7 -8
  609. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -4
  610. package/dist/types/components/terminals-list/terminals-list-params-state.d.ts +5 -0
  611. package/dist/types/components/terminals-list/terminals-list.d.ts +2 -24
  612. package/dist/types/components/terminals-list/terminals-table.d.ts +4 -4
  613. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -5
  614. package/dist/types/components.d.ts +465 -1338
  615. package/dist/types/styles/parts.d.ts +58 -0
  616. package/dist/types/ui-components/details/utils.d.ts +0 -1
  617. package/dist/types/ui-components/filters/table-filters-menu.d.ts +1 -0
  618. package/dist/types/ui-components/form/form-control-checkbox.d.ts +3 -3
  619. package/dist/types/ui-components/form/form-control-date.d.ts +2 -0
  620. package/dist/types/ui-components/form/form-control-file-v2.d.ts +15 -0
  621. package/dist/types/ui-components/form/form-control-file.d.ts +2 -0
  622. package/dist/types/ui-components/form/form-control-monetary.d.ts +2 -0
  623. package/dist/types/ui-components/form/form-control-number-masked.d.ts +2 -0
  624. package/dist/types/ui-components/form/form-control-number.d.ts +2 -0
  625. package/dist/types/ui-components/form/form-control-radio.d.ts +6 -7
  626. package/dist/types/ui-components/form/form-control-select.d.ts +2 -0
  627. package/dist/types/ui-components/form/form-control-text.d.ts +2 -0
  628. package/dist/types/ui-components/form/form-control-textarea.d.ts +2 -0
  629. package/dist/types/ui-components/form/form-helpers/form-control-error-text.d.ts +4 -0
  630. package/dist/types/ui-components/form/form-helpers/form-control-help-text.d.ts +4 -0
  631. package/dist/types/ui-components/form/form.d.ts +1 -1
  632. package/dist/types/ui-components/form/hidden-input.d.ts +11 -0
  633. package/dist/types/ui-components/form/iframe-input-styles-state.d.ts +3 -0
  634. package/dist/types/ui-components/form/iframe-input.d.ts +21 -0
  635. package/dist/types/ui-components/headers/header-1.d.ts +6 -0
  636. package/dist/types/ui-components/headers/header-2.d.ts +6 -0
  637. package/dist/types/ui-components/headers/header-3.d.ts +6 -0
  638. package/dist/types/ui-components/index.d.ts +6 -0
  639. package/dist/types/ui-components/skeleton.d.ts +1 -2
  640. package/dist/types/ui-components/spinner.d.ts +2 -0
  641. package/dist/types/ui-components/table/event-types.d.ts +5 -0
  642. package/dist/types/utils/utils.d.ts +3 -2
  643. package/dist/webcomponents/p-0201ec6c.entry.js +1 -0
  644. package/dist/webcomponents/p-08b8d1f0.entry.js +1 -0
  645. package/dist/webcomponents/p-0aa63869.entry.js +1 -0
  646. package/dist/webcomponents/p-0cc6c539.js +1 -0
  647. package/dist/webcomponents/p-0ccbc022.entry.js +1 -0
  648. package/dist/webcomponents/{p-1815a43b.js → p-0ea387a2.js} +1 -1
  649. package/dist/webcomponents/p-0eb86b3f.entry.js +1 -0
  650. package/dist/webcomponents/{p-5a62fca2.js → p-0f23ff58.js} +1 -1
  651. package/dist/webcomponents/p-110cae83.entry.js +1 -0
  652. package/dist/webcomponents/p-16ba9bea.js +1 -0
  653. package/dist/webcomponents/p-1ce22da6.entry.js +1 -0
  654. package/dist/webcomponents/p-1dbae48b.entry.js +1 -0
  655. package/dist/webcomponents/p-275f2154.js +1 -0
  656. package/dist/webcomponents/p-2783e363.js +2 -0
  657. package/dist/webcomponents/p-28029272.entry.js +1 -0
  658. package/dist/webcomponents/p-323ba4df.entry.js +1 -0
  659. package/dist/webcomponents/p-32a5bf4e.js +1 -0
  660. package/dist/webcomponents/p-34c14f59.js +1 -0
  661. package/dist/webcomponents/p-438df53f.entry.js +1 -0
  662. package/dist/webcomponents/p-441c1cf8.js +1 -0
  663. package/dist/webcomponents/p-4972d608.entry.js +1 -0
  664. package/dist/webcomponents/p-4a576796.js +1 -0
  665. package/dist/webcomponents/p-4cc3c7f9.js +1 -0
  666. package/dist/webcomponents/p-4d916b2d.js +1 -0
  667. package/dist/webcomponents/p-4eb3dcfa.entry.js +1 -0
  668. package/dist/webcomponents/p-5456a794.js +1 -0
  669. package/dist/webcomponents/p-5844a0f0.js +1 -0
  670. package/dist/webcomponents/p-597bd1e1.entry.js +1 -0
  671. package/dist/webcomponents/p-5bbe1133.entry.js +1 -0
  672. package/dist/webcomponents/p-5c6d08a6.entry.js +1 -0
  673. package/dist/webcomponents/p-5cb947bc.entry.js +1 -0
  674. package/dist/webcomponents/p-5d3f81c0.entry.js +1 -0
  675. package/dist/webcomponents/p-663a00cd.entry.js +1 -0
  676. package/dist/webcomponents/p-6677c60d.entry.js +1 -0
  677. package/dist/webcomponents/p-667ebd79.js +1 -0
  678. package/dist/webcomponents/p-68694a17.entry.js +1 -0
  679. package/dist/webcomponents/p-6ab77b89.js +1 -0
  680. package/dist/webcomponents/p-6b840696.entry.js +1 -0
  681. package/dist/webcomponents/p-6f4bfdff.entry.js +1 -0
  682. package/dist/webcomponents/p-6fbd6abb.js +1 -0
  683. package/dist/webcomponents/p-6feeb9f2.js +1 -0
  684. package/dist/webcomponents/p-7216ef00.entry.js +1 -0
  685. package/dist/webcomponents/p-73a18b5a.entry.js +1 -0
  686. package/dist/webcomponents/p-73f9be7c.js +1 -0
  687. package/dist/webcomponents/p-7693ed02.entry.js +1 -0
  688. package/dist/webcomponents/{p-4cf7f4ae.js → p-79b7c30d.js} +1 -1
  689. package/dist/webcomponents/p-7a975a3c.js +1 -0
  690. package/dist/webcomponents/p-7b9f21cd.entry.js +1 -0
  691. package/dist/webcomponents/p-7f796066.entry.js +1 -0
  692. package/dist/webcomponents/p-808bb677.entry.js +1 -0
  693. package/dist/webcomponents/p-83584c56.entry.js +1 -0
  694. package/dist/webcomponents/p-88acfa7c.entry.js +1 -0
  695. package/dist/webcomponents/p-8a94d2c8.js +1 -0
  696. package/dist/webcomponents/p-8c7a81c1.js +1 -0
  697. package/dist/webcomponents/p-8da3667c.js +1 -0
  698. package/dist/webcomponents/p-90dc2f2c.js +1 -0
  699. package/dist/webcomponents/p-9c2e00cc.js +1 -0
  700. package/dist/webcomponents/p-9ef9a625.entry.js +1 -0
  701. package/dist/webcomponents/p-9f773228.js +1 -0
  702. package/dist/webcomponents/p-a07b1816.js +1 -0
  703. package/dist/webcomponents/p-a3949f32.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-b0311e88.js → p-af834eb8.js} +1 -1
  707. package/dist/webcomponents/p-b056034f.entry.js +1 -0
  708. package/dist/webcomponents/p-b1d4e520.entry.js +1 -0
  709. package/dist/webcomponents/p-b392ec21.js +1 -0
  710. package/dist/webcomponents/p-b867dd5d.entry.js +1 -0
  711. package/dist/webcomponents/{p-544a4e7a.js → p-bb0f8b70.js} +1 -1
  712. package/dist/webcomponents/p-bb61c6e0.js +1 -0
  713. package/dist/webcomponents/p-bbcaa29b.entry.js +1 -0
  714. package/dist/webcomponents/p-bfe9748b.js +1 -0
  715. package/dist/webcomponents/p-c092cbb2.js +1 -0
  716. package/dist/webcomponents/p-c2a2b9fe.entry.js +1 -0
  717. package/dist/webcomponents/p-c9670f3c.entry.js +1 -0
  718. package/dist/webcomponents/p-cc977850.js +1 -0
  719. package/dist/webcomponents/p-cefd50f8.entry.js +1 -0
  720. package/dist/webcomponents/p-d53c5ea5.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-db8c12ee.js +1 -0
  724. package/dist/webcomponents/p-e1ee92f5.entry.js +1 -0
  725. package/dist/webcomponents/p-e396506c.entry.js +1 -0
  726. package/dist/webcomponents/p-e723bc30.entry.js +1 -0
  727. package/dist/webcomponents/p-ec60d318.entry.js +1 -0
  728. package/dist/webcomponents/p-ed8918d1.entry.js +1 -0
  729. package/dist/webcomponents/{p-f6f8dabc.js → p-edb57087.js} +1 -1
  730. package/dist/webcomponents/p-ee4a2aac.entry.js +1 -0
  731. package/dist/webcomponents/p-ef4c49b9.js +1 -0
  732. package/dist/webcomponents/p-f20b6ce1.js +1 -0
  733. package/dist/webcomponents/{p-c13a7d10.js → p-f4722957.js} +1 -1
  734. package/dist/webcomponents/p-f88d5c0d.entry.js +1 -0
  735. package/dist/webcomponents/p-f8a3b942.entry.js +1 -0
  736. package/dist/webcomponents/p-f99e8150.entry.js +1 -0
  737. package/dist/webcomponents/{p-628693c1.entry.js → p-f9fdcc1a.entry.js} +4 -4
  738. package/dist/webcomponents/p-fa2e3dc7.entry.js +1 -0
  739. package/dist/webcomponents/{p-ccbff4fa.entry.js → p-faa35b47.entry.js} +1 -1
  740. package/dist/webcomponents/p-fc3daedd.js +1 -0
  741. package/dist/webcomponents/webcomponents.esm.js +1 -1
  742. package/package.json +1 -1
  743. package/dist/cjs/business-form-types-719b7f52.js +0 -50
  744. package/dist/cjs/button-3f400a66.js +0 -26
  745. package/dist/cjs/check-pkg-version-fe8c72a9.js +0 -24
  746. package/dist/cjs/checkouts-list-filters.cjs.entry.js +0 -35
  747. package/dist/cjs/checkouts-table-00b6482f.js +0 -47
  748. package/dist/cjs/dispute-30c806f6.js +0 -10
  749. package/dist/cjs/exported-parts-a994d693.js +0 -9
  750. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +0 -641
  751. package/dist/cjs/form-control-error-text.cjs.entry.js +0 -21
  752. package/dist/cjs/form-control-textarea.cjs.entry.js +0 -49
  753. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +0 -173
  754. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -79
  755. package/dist/cjs/justifi-card-form.cjs.entry.js +0 -80
  756. package/dist/cjs/justifi-new-payment-method_5.cjs.entry.js +0 -320
  757. package/dist/cjs/justifi-payment-form.cjs.entry.js +0 -141
  758. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +0 -34
  759. package/dist/cjs/pagination-menu_2.cjs.entry.js +0 -54
  760. package/dist/cjs/payments-list-filters.cjs.entry.js +0 -40
  761. package/dist/cjs/payments-table-7087e771.js +0 -31
  762. package/dist/cjs/payouts-list-filters.cjs.entry.js +0 -24
  763. package/dist/cjs/payouts-table-4858eb84.js +0 -37
  764. package/dist/cjs/skeleton-748c5dde.js +0 -43
  765. package/dist/cjs/styled-host-1adf46c3.js +0 -14
  766. package/dist/cjs/terminals-list-filters.cjs.entry.js +0 -32
  767. package/dist/cjs/terminals-table-12410159.js +0 -32
  768. package/dist/cjs/utils-189dc30d.js +0 -35
  769. package/dist/cjs/utils-ba79e868.js +0 -37
  770. package/dist/collection/components/bank-account-form/bank-account-form.js +0 -281
  771. package/dist/collection/components/billing-form/billing-form.css +0 -51
  772. package/dist/collection/components/business-details/shared-business-details.css +0 -3
  773. package/dist/collection/components/business-forms/business-form/business-form.css +0 -121
  774. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.css +0 -18
  775. package/dist/collection/components/business-forms/utils/business-form-types.js +0 -48
  776. package/dist/collection/components/card-form/card-form.js +0 -300
  777. package/dist/collection/components/checkout/checkout-core.css +0 -110
  778. package/dist/collection/components/checkout/form-check-input.css +0 -20
  779. package/dist/collection/components/checkout/header.css +0 -4
  780. package/dist/collection/components/checkout/payment-method-options.css +0 -15
  781. package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +0 -8
  782. package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +0 -8
  783. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +0 -90
  784. package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +0 -8
  785. package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +0 -8
  786. package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +0 -8
  787. package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +0 -8
  788. package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +0 -16
  789. package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +0 -8
  790. package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +0 -12
  791. package/dist/collection/components/dispute-management/dispute.js +0 -8
  792. package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +0 -3
  793. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.css +0 -11
  794. package/dist/collection/components/payment-form/payment-form.css +0 -97
  795. package/dist/collection/components/payment-form/payment-form.js +0 -372
  796. package/dist/collection/components/payment-form/payment-method-selector.css +0 -39
  797. package/dist/collection/components/payment-form/payment-method-selector.js +0 -74
  798. package/dist/collection/components/payment-method-form/message-event-types.js +0 -16
  799. package/dist/collection/components/payment-method-form/payment-method-form.css +0 -13
  800. package/dist/collection/components/payment-method-form/payment-method-form.js +0 -298
  801. package/dist/collection/components/refund-form/refund-form.css +0 -59
  802. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +0 -9
  803. package/dist/collection/ui-components/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -52
  804. package/dist/collection/utils/get-computed-theme.js +0 -50
  805. package/dist/esm/business-form-types-8fd61b0e.js +0 -50
  806. package/dist/esm/button-34e75e0f.js +0 -24
  807. package/dist/esm/check-pkg-version-fbf01ce7.js +0 -22
  808. package/dist/esm/checkouts-list-filters.entry.js +0 -31
  809. package/dist/esm/checkouts-table-cd33b57c.js +0 -43
  810. package/dist/esm/dispute-4d2e0a04.js +0 -10
  811. package/dist/esm/exported-parts-70e7a12b.js +0 -7
  812. package/dist/esm/form-control-checkbox_9.entry.js +0 -629
  813. package/dist/esm/form-control-error-text.entry.js +0 -17
  814. package/dist/esm/form-control-textarea.entry.js +0 -45
  815. package/dist/esm/justifi-additional-statement_11.entry.js +0 -159
  816. package/dist/esm/justifi-bank-account-form.entry.js +0 -75
  817. package/dist/esm/justifi-card-form.entry.js +0 -76
  818. package/dist/esm/justifi-new-payment-method_5.entry.js +0 -312
  819. package/dist/esm/justifi-payment-form.entry.js +0 -137
  820. package/dist/esm/justifi-payment-method-selector.entry.js +0 -30
  821. package/dist/esm/pagination-menu_2.entry.js +0 -49
  822. package/dist/esm/payments-list-filters.entry.js +0 -36
  823. package/dist/esm/payments-table-bba91324.js +0 -27
  824. package/dist/esm/payouts-list-filters.entry.js +0 -20
  825. package/dist/esm/payouts-table-edff9bbe.js +0 -33
  826. package/dist/esm/skeleton-145a80d4.js +0 -41
  827. package/dist/esm/styled-host-e0ddb759.js +0 -12
  828. package/dist/esm/terminals-list-filters.entry.js +0 -28
  829. package/dist/esm/terminals-table-dc787616.js +0 -28
  830. package/dist/esm/utils-218275b7.js +0 -27
  831. package/dist/esm/utils-4006c425.js +0 -33
  832. package/dist/module/Analytics.js +0 -78
  833. package/dist/module/business-form-types.js +0 -50
  834. package/dist/module/checkouts-list-filters.d.ts +0 -11
  835. package/dist/module/checkouts-list-filters.js +0 -6
  836. package/dist/module/checkouts-list-filters2.js +0 -80
  837. package/dist/module/counter-dispute.js +0 -189
  838. package/dist/module/dispute-reason.js +0 -45
  839. package/dist/module/exported-parts.js +0 -7
  840. package/dist/module/form-control-error-text.d.ts +0 -11
  841. package/dist/module/form-control-error-text2.js +0 -35
  842. package/dist/module/justifi-bank-account-form.d.ts +0 -11
  843. package/dist/module/justifi-bank-account-form.js +0 -104
  844. package/dist/module/justifi-card-form.js +0 -106
  845. package/dist/module/justifi-counter-dispute.d.ts +0 -11
  846. package/dist/module/justifi-counter-dispute.js +0 -6
  847. package/dist/module/justifi-dispute-reason.d.ts +0 -11
  848. package/dist/module/justifi-dispute-reason.js +0 -6
  849. package/dist/module/justifi-payment-form.js +0 -216
  850. package/dist/module/justifi-payment-method-form.d.ts +0 -11
  851. package/dist/module/justifi-payment-method-form.js +0 -6
  852. package/dist/module/justifi-payment-method-selector.d.ts +0 -11
  853. package/dist/module/justifi-payment-method-selector.js +0 -6
  854. package/dist/module/payment-method-selector.js +0 -47
  855. package/dist/module/payments-list-filters.js +0 -6
  856. package/dist/module/payments-list-filters2.js +0 -97
  857. package/dist/module/payouts-list-filters.js +0 -6
  858. package/dist/module/payouts-list-filters2.js +0 -69
  859. package/dist/module/terminals-list-filters.d.ts +0 -11
  860. package/dist/module/terminals-list-filters.js +0 -6
  861. package/dist/module/utils5.js +0 -27
  862. package/dist/types/components/bank-account-form/bank-account-form.d.ts +0 -62
  863. package/dist/types/components/business-forms/utils/business-form-types.d.ts +0 -76
  864. package/dist/types/components/card-form/card-form.d.ts +0 -72
  865. package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +0 -3
  866. package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +0 -3
  867. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +0 -14
  868. package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +0 -3
  869. package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +0 -3
  870. package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +0 -3
  871. package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +0 -3
  872. package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +0 -4
  873. package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +0 -3
  874. package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +0 -3
  875. package/dist/types/components/dispute-management/dispute.d.ts +0 -7
  876. package/dist/types/components/payment-form/payment-form.d.ts +0 -36
  877. package/dist/types/components/payment-form/payment-method-selector.d.ts +0 -10
  878. package/dist/types/components/payment-form/tokenize.d.ts +0 -5
  879. package/dist/types/components/payment-method-form/message-event-types.d.ts +0 -16
  880. package/dist/types/components/payment-method-form/payment-method-form.d.ts +0 -25
  881. package/dist/types/ui-components/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -5
  882. package/dist/types/utils/get-computed-theme.d.ts +0 -3
  883. package/dist/webcomponents/p-08b0fb31.js +0 -1
  884. package/dist/webcomponents/p-0a963f7e.entry.js +0 -1
  885. package/dist/webcomponents/p-0d6ddff2.js +0 -1
  886. package/dist/webcomponents/p-0fbab710.entry.js +0 -1
  887. package/dist/webcomponents/p-2338affa.js +0 -1
  888. package/dist/webcomponents/p-25d2ed4c.js +0 -1
  889. package/dist/webcomponents/p-286b87ab.js +0 -1
  890. package/dist/webcomponents/p-28bd6dcd.js +0 -1
  891. package/dist/webcomponents/p-297faf3d.js +0 -1
  892. package/dist/webcomponents/p-29c8fa3d.entry.js +0 -1
  893. package/dist/webcomponents/p-2f422aad.entry.js +0 -1
  894. package/dist/webcomponents/p-3186d1fb.entry.js +0 -1
  895. package/dist/webcomponents/p-3bfb4f80.entry.js +0 -1
  896. package/dist/webcomponents/p-3c654c07.js +0 -1
  897. package/dist/webcomponents/p-3ed7fc42.entry.js +0 -1
  898. package/dist/webcomponents/p-404a847c.entry.js +0 -1
  899. package/dist/webcomponents/p-41c1c1f7.entry.js +0 -1
  900. package/dist/webcomponents/p-41c7ee13.entry.js +0 -1
  901. package/dist/webcomponents/p-420adedb.entry.js +0 -1
  902. package/dist/webcomponents/p-431d7a9e.entry.js +0 -1
  903. package/dist/webcomponents/p-448826a7.entry.js +0 -1
  904. package/dist/webcomponents/p-469804a9.entry.js +0 -1
  905. package/dist/webcomponents/p-486da67e.entry.js +0 -1
  906. package/dist/webcomponents/p-4a5e5574.entry.js +0 -1
  907. package/dist/webcomponents/p-52f9d8a0.entry.js +0 -1
  908. package/dist/webcomponents/p-54145a37.entry.js +0 -1
  909. package/dist/webcomponents/p-56d84fb3.entry.js +0 -1
  910. package/dist/webcomponents/p-57125bd1.js +0 -1
  911. package/dist/webcomponents/p-5e7c60d8.js +0 -1
  912. package/dist/webcomponents/p-5ec82df8.entry.js +0 -1
  913. package/dist/webcomponents/p-673cf8c4.js +0 -1
  914. package/dist/webcomponents/p-69527219.entry.js +0 -1
  915. package/dist/webcomponents/p-6cc30da2.js +0 -1
  916. package/dist/webcomponents/p-6d51aed8.entry.js +0 -1
  917. package/dist/webcomponents/p-72819173.entry.js +0 -1
  918. package/dist/webcomponents/p-74da98da.js +0 -1
  919. package/dist/webcomponents/p-8037704c.js +0 -1
  920. package/dist/webcomponents/p-89f6691e.js +0 -1
  921. package/dist/webcomponents/p-91de21cc.js +0 -1
  922. package/dist/webcomponents/p-942be28b.entry.js +0 -1
  923. package/dist/webcomponents/p-95ec39f6.entry.js +0 -1
  924. package/dist/webcomponents/p-9690eca9.entry.js +0 -1
  925. package/dist/webcomponents/p-9c9c7dac.js +0 -1
  926. package/dist/webcomponents/p-a76ece26.js +0 -1
  927. package/dist/webcomponents/p-a7830e98.entry.js +0 -1
  928. package/dist/webcomponents/p-a8b4f429.js +0 -1
  929. package/dist/webcomponents/p-abe513e6.entry.js +0 -1
  930. package/dist/webcomponents/p-ada9ac19.entry.js +0 -1
  931. package/dist/webcomponents/p-b0dc68b3.entry.js +0 -1
  932. package/dist/webcomponents/p-b3cac576.entry.js +0 -1
  933. package/dist/webcomponents/p-b97233cc.entry.js +0 -1
  934. package/dist/webcomponents/p-bc1984ec.entry.js +0 -1
  935. package/dist/webcomponents/p-bc8205ec.js +0 -1
  936. package/dist/webcomponents/p-bfb990fc.entry.js +0 -1
  937. package/dist/webcomponents/p-c1bf9285.entry.js +0 -1
  938. package/dist/webcomponents/p-c3fb5d3a.entry.js +0 -1
  939. package/dist/webcomponents/p-c420cb7d.entry.js +0 -1
  940. package/dist/webcomponents/p-c8243721.js +0 -1
  941. package/dist/webcomponents/p-cd19c597.entry.js +0 -1
  942. package/dist/webcomponents/p-d1f75fa6.js +0 -1
  943. package/dist/webcomponents/p-d291dc4c.entry.js +0 -1
  944. package/dist/webcomponents/p-d2eb61e6.entry.js +0 -1
  945. package/dist/webcomponents/p-d516e700.js +0 -1
  946. package/dist/webcomponents/p-da176d01.entry.js +0 -1
  947. package/dist/webcomponents/p-dcb288a3.entry.js +0 -1
  948. package/dist/webcomponents/p-df3ca87f.entry.js +0 -1
  949. package/dist/webcomponents/p-df5a1202.entry.js +0 -1
  950. package/dist/webcomponents/p-e2ce097c.js +0 -1
  951. package/dist/webcomponents/p-e5790011.entry.js +0 -1
  952. package/dist/webcomponents/p-e69b2ff8.entry.js +0 -1
  953. package/dist/webcomponents/p-e8be1b55.entry.js +0 -1
  954. package/dist/webcomponents/p-e99957ff.entry.js +0 -1
  955. package/dist/webcomponents/p-eb9ba917.entry.js +0 -1
  956. package/dist/webcomponents/p-ed95feec.entry.js +0 -1
  957. package/dist/webcomponents/p-f28a4c03.entry.js +0 -1
  958. package/dist/webcomponents/p-f698d6d9.entry.js +0 -1
  959. package/dist/webcomponents/p-fad19d75.js +0 -2
  960. package/dist/webcomponents/p-fc6f697d.entry.js +0 -1
  961. package/dist/webcomponents/p-ffe27126.entry.js +0 -1
  962. package/dist/webcomponents/webcomponents.css +0 -6
  963. /package/dist/collection/{components/payment-form/tokenize.js → api/ComponentEvents.js} +0 -0
  964. /package/dist/collection/components/{payment-method-form → checkout}/payment-method-responses.js +0 -0
  965. /package/dist/types/components/{payment-method-form → checkout}/payment-method-responses.d.ts +0 -0
@@ -0,0 +1,402 @@
1
+ import { r as registerInstance, h } from './index-29fcfdf5.js';
2
+ import { c as create$3, a as create$6, F as FormController } from './index.esm-0b6849c2.js';
3
+ import { B as heading5 } from './parts-186d437f.js';
4
+
5
+ const AdditionalStatementSchema = create$3({
6
+ additional_statement: create$6().nullable(),
7
+ });
8
+
9
+ var DisputeEvidenceDocumentType;
10
+ (function (DisputeEvidenceDocumentType) {
11
+ DisputeEvidenceDocumentType["activity_log"] = "activity_log";
12
+ DisputeEvidenceDocumentType["cancellationPolicy"] = "cancellation_policy";
13
+ DisputeEvidenceDocumentType["customerCommunication"] = "customer_communication";
14
+ DisputeEvidenceDocumentType["customerSignature"] = "customer_signature";
15
+ DisputeEvidenceDocumentType["duplicateChargeDocumentation"] = "duplicate_charge_documentation";
16
+ DisputeEvidenceDocumentType["receipt"] = "receipt";
17
+ DisputeEvidenceDocumentType["refundPolicy"] = "refund_policy";
18
+ DisputeEvidenceDocumentType["serviceDocumentation"] = "service_documentation";
19
+ DisputeEvidenceDocumentType["shippingDocumentation"] = "shipping_documentation";
20
+ DisputeEvidenceDocumentType["uncategorizedFile"] = "uncategorized_file";
21
+ })(DisputeEvidenceDocumentType || (DisputeEvidenceDocumentType = {}));
22
+ class DisputeEvidenceDocument {
23
+ set presignedUrl(url) {
24
+ this._presignedUrl = url;
25
+ }
26
+ get presignedUrl() {
27
+ return this._presignedUrl;
28
+ }
29
+ async getFileString() {
30
+ let fileString = '';
31
+ const fileStringPromise = new Promise((resolve, reject) => {
32
+ const reader = new FileReader();
33
+ reader.onload = (e) => {
34
+ fileString = e.target.result;
35
+ resolve(fileString);
36
+ };
37
+ reader.onerror = () => {
38
+ reject(new Error('Error reading file'));
39
+ };
40
+ reader.readAsDataURL(this._file);
41
+ });
42
+ await fileStringPromise;
43
+ return fileString;
44
+ }
45
+ ;
46
+ constructor(file, dispute_evidence_type) {
47
+ this._file = file;
48
+ this.file_name = file.name;
49
+ this.file_type = file.type;
50
+ this.dispute_evidence_type = dispute_evidence_type;
51
+ }
52
+ }
53
+
54
+ var DisputeResponseFormStep;
55
+ (function (DisputeResponseFormStep) {
56
+ DisputeResponseFormStep["disputeReason"] = "dispute_reason";
57
+ DisputeResponseFormStep["productOrService"] = "product_or_service";
58
+ DisputeResponseFormStep["customerDetails"] = "customer_details";
59
+ DisputeResponseFormStep["cancellationPolicy"] = "cancellation_policy";
60
+ DisputeResponseFormStep["refundPolicy"] = "refund_policy";
61
+ DisputeResponseFormStep["duplicateCharge"] = "duplicate_charge";
62
+ DisputeResponseFormStep["electronicEvidence"] = "electronic_evidence";
63
+ DisputeResponseFormStep["shippingDetails"] = "shipping_details";
64
+ DisputeResponseFormStep["additionalStatement"] = "additional_statement";
65
+ })(DisputeResponseFormStep || (DisputeResponseFormStep = {}));
66
+
67
+ const AdditionalStatement = class {
68
+ constructor(hostRef) {
69
+ registerInstance(this, hostRef);
70
+ this.inputHandler = (name, value) => {
71
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
72
+ };
73
+ this.handleFileSelection = (e) => {
74
+ const target = e.target;
75
+ const name = target.name;
76
+ const files = target.files;
77
+ for (const file of files) {
78
+ this.documentList.push(new DisputeEvidenceDocument(file, name));
79
+ }
80
+ };
81
+ this.disputeResponse = undefined;
82
+ this.form = undefined;
83
+ this.errors = {};
84
+ this.documentList = [];
85
+ this.acceptedTerms = false;
86
+ this.acceptedTermsErrorText = undefined;
87
+ }
88
+ async validateAndSubmit(onSuccess) {
89
+ this.form.validateAndSubmit((formData) => onSuccess(formData, this.documentList, DisputeResponseFormStep.additionalStatement));
90
+ }
91
+ ;
92
+ componentWillLoad() {
93
+ this.form = new FormController(AdditionalStatementSchema);
94
+ }
95
+ componentDidLoad() {
96
+ this.form.errors.subscribe(errors => {
97
+ this.errors = Object.assign({}, errors);
98
+ });
99
+ }
100
+ render() {
101
+ var _a;
102
+ return (h("div", { key: 'b87dba6b6f0cfd8be3bd034996ad0848f31df3da' }, h("div", { key: 'b2af872dd182dede7cb2c697aa8297acc49eb6c1', class: "row gy-3" }, h("div", { key: '34815036600a5030f388c0dcb840ab7f4db0b66f', class: "col-12" }, h("h2", { key: 'c7922a6dd81112aefc028d1f7662aed993cd4c58', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '1e760ad49f1a7494181b4658f8e73a3f6ede2a22', class: "col-12" }, h("form-control-textarea", { key: '7226c1a3ef90a9f2db529f20470678bf8277738f', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'cbf8886bd32f9859e6cbe75d5c499ea3eb23aea3', class: "col-12" }, h("form-control-file-v2", { key: '05d52880aa75af84bab03122ef39c2fbc0d0cf7b', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: this.handleFileSelection })))));
103
+ }
104
+ };
105
+
106
+ const CancellationPolicySchema = create$3({
107
+ cancellation_policy_disclosure: create$6().nullable(),
108
+ cancellation_rebuttal: create$6().nullable(),
109
+ });
110
+
111
+ const CancellationPolicy = class {
112
+ constructor(hostRef) {
113
+ registerInstance(this, hostRef);
114
+ this.inputHandler = (name, value) => {
115
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
116
+ };
117
+ this.handleFileSelection = (e) => {
118
+ const target = e.target;
119
+ const name = target.name;
120
+ const files = target.files;
121
+ for (const file of files) {
122
+ this.documentList.push(new DisputeEvidenceDocument(file, name));
123
+ }
124
+ };
125
+ this.disputeResponse = undefined;
126
+ this.form = undefined;
127
+ this.errors = {};
128
+ this.documentList = [];
129
+ }
130
+ async validateAndSubmit(onSuccess) {
131
+ this.form.validateAndSubmit((formData) => onSuccess(formData, this.documentList, DisputeResponseFormStep.cancellationPolicy));
132
+ }
133
+ ;
134
+ componentWillLoad() {
135
+ this.form = new FormController(CancellationPolicySchema);
136
+ }
137
+ componentDidLoad() {
138
+ this.form.errors.subscribe(errors => {
139
+ this.errors = Object.assign({}, errors);
140
+ });
141
+ }
142
+ render() {
143
+ var _a, _b;
144
+ return (h("div", { key: 'e4e9bc25a430c01e60345523341a52e343d8ada8' }, h("div", { key: '3a22fcf75e13235e40b30686cc953a5c7963f676', class: "row gy-3" }, h("div", { key: '88cfd3d1fdc811e20367caa917ee88a1531fae96', class: "col-12" }, h("h2", { key: '56030d5fb77119d324b33c8290e62ca220425afc', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '816d7868525662ae14d549852c816840933a15e6', class: "col-12" }, h("form-control-textarea", { key: '165335b23db8c03976da96f1a369f28f1ad46505', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'b7f0333145ef1c1f3a1a6bd69f0e01a199f09da6', class: "col-12" }, h("form-control-textarea", { key: 'a456a76fd6745bd6386787e69fee81b7b48c7dc2', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '929e6f0e5fee8e6c4be4558e82b22a15806c1723', class: "col-12" }, h("form-control-file-v2", { key: '661504e19c6d2304a93a95f716b6b215832c4a90', label: "Upload Cancellation Policy", name: "cancellation_policy_file", onChange: this.handleFileSelection })))));
145
+ }
146
+ };
147
+
148
+ const CustomerDetailsSchema = create$3({
149
+ customer_name: create$6().nullable(),
150
+ customer_email_address: create$6().nullable(),
151
+ customer_billing_address: create$6().nullable(),
152
+ });
153
+
154
+ const CustomerDetails = class {
155
+ constructor(hostRef) {
156
+ registerInstance(this, hostRef);
157
+ this.inputHandler = (name, value) => {
158
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
159
+ };
160
+ this.handleFileSelection = (e) => {
161
+ const target = e.target;
162
+ const name = target.name;
163
+ const files = target.files;
164
+ for (const file of files) {
165
+ this.documentList.push(new DisputeEvidenceDocument(file, name));
166
+ }
167
+ };
168
+ this.disputeResponse = undefined;
169
+ this.form = undefined;
170
+ this.errors = {};
171
+ this.documentList = [];
172
+ }
173
+ async validateAndSubmit(onSuccess) {
174
+ this.form.validateAndSubmit((formData) => onSuccess(formData, this.documentList, DisputeResponseFormStep.customerDetails));
175
+ }
176
+ ;
177
+ componentWillLoad() {
178
+ this.form = new FormController(CustomerDetailsSchema);
179
+ }
180
+ componentDidLoad() {
181
+ this.form.errors.subscribe(errors => {
182
+ this.errors = Object.assign({}, errors);
183
+ });
184
+ }
185
+ render() {
186
+ var _a, _b, _c;
187
+ return (h("div", { key: 'f3b9a18d93cea09e6c9f7a134ed566ad12887839' }, h("div", { key: 'f9d3594930e9ae5d5907462bbe76c242019a19bc', class: "row gy-3" }, h("div", { key: '809f4e25c8a4d8652ae4711a33321b17d35f5796', class: "col-12" }, h("h2", { key: '56f784698452620cb30b532840b02ee2ca3b6a7a', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '6775574f0e8f1047a11e3e9594f9f237aee09aa2', class: "col-12" }, h("form-control-text", { key: '4fc621b96baed074292ccbe8507a58d18f005237', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'f57ace60afc3a74711dc98ea054345413ff51d48', class: "col-12" }, h("form-control-text", { key: '31a88ff6476ecd98fd6def5c39778940b448da51', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '3ea9b1729c1a516fdbf33b28674e33a5ec5f200a', class: "col-12" }, h("form-control-textarea", { key: '6eb19b40b3a514db9e1ead3e57832da37d791db6', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '363371261754410c5548fc9286a5d9edbec5e4a0', class: "col-12" }, h("form-control-file-v2", { key: 'bf3976ab48c50bb7cd6fd7c29a39a36bee8a70c5', label: "Customer Signature", name: "customer_signature", onChange: this.handleFileSelection })), h("div", { key: '7a85113b3a4c95e0571759f040a63757eead2788', class: "col-12" }, h("form-control-file-v2", { key: '686b82077404ce7c345a51b4c572452fa0491b7d', label: "Customer Communication", name: "customer_communication", onChange: this.handleFileSelection })))));
188
+ }
189
+ };
190
+
191
+ const DuplicateChargeSchema = create$3({
192
+ duplicate_charge_original_payment_id: create$6().nullable(),
193
+ duplicate_charge_explanation: create$6().nullable(),
194
+ });
195
+
196
+ const DuplicateCharge = class {
197
+ constructor(hostRef) {
198
+ registerInstance(this, hostRef);
199
+ this.inputHandler = (name, value) => {
200
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
201
+ };
202
+ this.handleFileSelection = (e) => {
203
+ const target = e.target;
204
+ const name = target.name;
205
+ const files = target.files;
206
+ for (const file of files) {
207
+ this.documentList.push(new DisputeEvidenceDocument(file, name));
208
+ }
209
+ };
210
+ this.disputeResponse = undefined;
211
+ this.form = undefined;
212
+ this.errors = {};
213
+ this.documentList = [];
214
+ }
215
+ async validateAndSubmit(onSuccess) {
216
+ this.form.validateAndSubmit((formData) => onSuccess(formData, this.documentList, DisputeResponseFormStep.duplicateCharge));
217
+ }
218
+ ;
219
+ componentWillLoad() {
220
+ this.form = new FormController(DuplicateChargeSchema);
221
+ }
222
+ componentDidLoad() {
223
+ this.form.errors.subscribe(errors => {
224
+ this.errors = Object.assign({}, errors);
225
+ });
226
+ }
227
+ render() {
228
+ var _a, _b;
229
+ return (h("div", { key: 'a6729feaab17744bbd3c256b5bdee89939c9be55' }, h("div", { key: 'd3729ddaa5983766f87aa634399704c52ee4979c', class: "row gy-3" }, h("div", { key: '9c9288b63b688e83f53353a110ec31c078068312', class: "col-12" }, h("h2", { key: '431878c838002b8a15d202793ab3701cbc81df7e', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'f8b9a8dbb78777cb9c63a4296e41fdfe4edb2c7c', class: "col-12" }, h("form-control-text", { key: '8dc4ddad5ab952a09c99deef8734374891075575', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'c5445211510dbdf1f6b547ef82ce128d3a316554', class: "col-12" }, h("form-control-textarea", { key: 'a650bf8ca839ae86d00d9df0eb77815a63ebafd6', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '47625dc4a02045230234220e24295b8260f38043', class: "col-12" }, h("form-control-file-v2", { key: '242b9ae244cc8fbad3721053a50042a76d8f40ad', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: this.handleFileSelection })))));
230
+ }
231
+ };
232
+
233
+ const ElectronicEvidenceSchema = create$3({
234
+ customer_purchase_ip_address: create$6().nullable(),
235
+ });
236
+
237
+ const ElectronicEvidence = class {
238
+ constructor(hostRef) {
239
+ registerInstance(this, hostRef);
240
+ this.handleFileSelection = (e) => {
241
+ const target = e.target;
242
+ const name = target.name;
243
+ const files = target.files;
244
+ for (const file of files) {
245
+ this.documentList.push(new DisputeEvidenceDocument(file, name));
246
+ }
247
+ };
248
+ this.inputHandler = (name, value) => {
249
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
250
+ };
251
+ this.disputeResponse = undefined;
252
+ this.form = undefined;
253
+ this.errors = {};
254
+ this.documentList = [];
255
+ }
256
+ async validateAndSubmit(onSuccess) {
257
+ this.form.validateAndSubmit((formData) => onSuccess(formData, this.documentList, DisputeResponseFormStep.electronicEvidence));
258
+ }
259
+ ;
260
+ componentWillLoad() {
261
+ this.form = new FormController(ElectronicEvidenceSchema);
262
+ }
263
+ componentDidLoad() {
264
+ this.form.errors.subscribe(errors => {
265
+ this.errors = Object.assign({}, errors);
266
+ });
267
+ }
268
+ render() {
269
+ var _a;
270
+ return (h("div", { key: '5521599b8e6d23412a06b4a9c6f5360f92ec9c12' }, h("div", { key: 'b1863623b1ffa07c18940d744184c7678515e1f3', class: "row gy-3" }, h("div", { key: '131410f3882f96e0346776db4c213e2ef17b546e', class: "col-12" }, h("h2", { key: '30120f59c8a7896f5294b4ccaf09165c1d28771e', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '7211111acc93fd40b4140d49d4b1e3d268d13829', class: "col-12" }, h("form-control-text", { key: 'eeb3aeaa550569db5c977f3d2ef68b879be446c6', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '7f98aae20a9f87d4f4f0b42f86350bb1468cc767', class: "col-12" }, h("form-control-file-v2", { key: '342b76753a12784852f2eb087941796874b90d39', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: this.handleFileSelection, errorText: this.errors.activity_log })))));
271
+ }
272
+ };
273
+
274
+ const ProductOrServiceSchema = create$3({
275
+ product_description: create$6().nullable(),
276
+ service_date: create$6().nullable(),
277
+ });
278
+
279
+ const ProductOrService = class {
280
+ constructor(hostRef) {
281
+ registerInstance(this, hostRef);
282
+ this.handleFileSelection = (e) => {
283
+ const target = e.target;
284
+ const name = target.name;
285
+ const files = target.files;
286
+ for (const file of files) {
287
+ this.documentList.push(new DisputeEvidenceDocument(file, name));
288
+ }
289
+ };
290
+ this.inputHandler = (name, value) => {
291
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
292
+ };
293
+ this.disputeResponse = undefined;
294
+ this.form = undefined;
295
+ this.errors = {};
296
+ this.documentList = [];
297
+ }
298
+ async validateAndSubmit(onSuccess) {
299
+ this.form.validateAndSubmit((formData) => onSuccess(formData, this.documentList, DisputeResponseFormStep.productOrService));
300
+ }
301
+ ;
302
+ componentWillLoad() {
303
+ this.form = new FormController(ProductOrServiceSchema);
304
+ }
305
+ componentDidLoad() {
306
+ this.form.errors.subscribe(errors => {
307
+ this.errors = Object.assign({}, errors);
308
+ });
309
+ }
310
+ render() {
311
+ var _a, _b;
312
+ return (h("div", { key: 'ad4e3c33f8bc1c295ea51257afc41e6247537022' }, h("div", { key: 'a87f06ff09eadf63ee358a84759d6bd9223c76ec', class: "row gy-3" }, h("div", { key: 'a3053e1d5e2192786fab4592a3ef5a6614fa0de3', class: "col-12" }, h("h2", { key: 'e2b97bf1d8e6f964306f1d2292f00daf5f4e997d', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '0f4e0c72a0b145ec689e7f0a96df86d10be38423', class: "col-12" }, h("form-control-text", { key: 'dd6a94690ac454a35d3b9ddeadde3ae5926ae170', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: 'd9c437dfc8e02bfacc27143e16b753b7940db409', class: "col-12" }, h("form-control-text", { key: '42e638a983cf713f0055d409b305b8fca2ac6bda', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'df1f9b6153433e60973723ab20139fe3c739a4cf', class: "col-12" }, h("form-control-file-v2", { key: '6a03cdafcf9d8a4913eaf9b876500792022c58f4', label: "Service Documentation", name: "service_documentation", onChange: this.handleFileSelection, errorText: this.errors.service_documentation })))));
313
+ }
314
+ };
315
+
316
+ const RefundPolicySchema = create$3({
317
+ refund_policy_disclosure: create$6().nullable(),
318
+ refund_refusal_explanation: create$6().nullable(),
319
+ });
320
+
321
+ const RefundPolicy = class {
322
+ constructor(hostRef) {
323
+ registerInstance(this, hostRef);
324
+ this.inputHandler = (name, value) => {
325
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
326
+ };
327
+ this.handleFileSelection = (e) => {
328
+ const target = e.target;
329
+ const name = target.name;
330
+ const files = target.files;
331
+ for (const file of files) {
332
+ this.documentList.push(new DisputeEvidenceDocument(file, name));
333
+ }
334
+ };
335
+ this.disputeResponse = undefined;
336
+ this.form = undefined;
337
+ this.errors = {};
338
+ this.documentList = [];
339
+ }
340
+ async validateAndSubmit(onSuccess) {
341
+ this.form.validateAndSubmit((formData) => onSuccess(formData, this.documentList, DisputeResponseFormStep.refundPolicy));
342
+ }
343
+ ;
344
+ componentWillLoad() {
345
+ this.form = new FormController(RefundPolicySchema);
346
+ }
347
+ componentDidLoad() {
348
+ this.form.errors.subscribe(errors => {
349
+ this.errors = Object.assign({}, errors);
350
+ });
351
+ }
352
+ render() {
353
+ var _a, _b;
354
+ return (h("div", { key: '54885e971c2d21be1d3c2a4654616e6406a425e5' }, h("div", { key: 'aefe693ee221d72f44a87806ca5ddc257bbf4073', class: "row gy-3" }, h("div", { key: '5a4c220a9cbcd8accd8dd3a3e9c5db74f520f483', class: "col-12" }, h("h2", { key: 'fee6747bc31eeee7648c5af1fec4e86dd33d2f21', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '70f2d38f553a77c6e5a4e2ec25bed11665cd56e5', class: "col-12" }, h("form-control-textarea", { key: 'a0635424932726c980d68bad1c7758159d382575', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'b63f29f32b4a2bb35ec2dbeb2d26695bd58d2c32', class: "col-12" }, h("form-control-textarea", { key: '41787fd17b44810eb19945ce7ea5f340ee40ea98', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'acff917b1af1babc1f93cf0541d9d2f22f8f4460', class: "col-12" }, h("form-control-file-v2", { key: '52bee3670ca1cae28fd2d07033796245b13306d4', label: "Upload Refund Policy", name: "refund_policy", onChange: this.handleFileSelection })), h("div", { key: '6e63ed1828f61cfec3882fba0ce0439668111a7a', class: "col-12" }, h("form-control-file-v2", { key: '99a13cfd6c0e662794c013368209c88065a7e404', label: "Upload Receipt", name: "receipt", onChange: this.handleFileSelection })))));
355
+ }
356
+ };
357
+
358
+ const ShippingDetailsSchema = create$3({
359
+ shipping_carrier: create$6().nullable(),
360
+ shipping_tracking_number: create$6().nullable(),
361
+ shipping_date: create$6().nullable(),
362
+ shipping_address: create$6().nullable(),
363
+ });
364
+
365
+ const ShippingDetails = class {
366
+ constructor(hostRef) {
367
+ registerInstance(this, hostRef);
368
+ this.inputHandler = (name, value) => {
369
+ this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
370
+ };
371
+ this.handleFileSelection = (e) => {
372
+ const target = e.target;
373
+ const name = target.name;
374
+ const files = target.files;
375
+ for (const file of files) {
376
+ this.documentList.push(new DisputeEvidenceDocument(file, name));
377
+ }
378
+ };
379
+ this.disputeResponse = undefined;
380
+ this.form = undefined;
381
+ this.errors = {};
382
+ this.documentList = [];
383
+ }
384
+ async validateAndSubmit(onSuccess) {
385
+ this.form.validateAndSubmit((formData) => onSuccess(formData, this.documentList, DisputeResponseFormStep.shippingDetails));
386
+ }
387
+ ;
388
+ componentWillLoad() {
389
+ this.form = new FormController(ShippingDetailsSchema);
390
+ }
391
+ componentDidLoad() {
392
+ this.form.errors.subscribe(errors => {
393
+ this.errors = Object.assign({}, errors);
394
+ });
395
+ }
396
+ render() {
397
+ var _a, _b, _c, _d;
398
+ return (h("div", { key: 'b2d81ec85e534890a691547a2ec8d28dcc61e784' }, h("div", { key: '3b49e0e3647e66196f586c2e58699e878658c9f3', class: "row gy-3" }, h("div", { key: 'ba6f52f0c2a44c7a39641cb9cb51bf799892a78f', class: "col-12" }, h("h2", { key: '70a108aa928d392d47bf72a32c3a2c71538fc068', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'f5e1b4c54c4d59b7b558fe817d23e5cbc71acec1', class: "col-12" }, h("form-control-text", { key: '32da6155a22359d291506e7d864b0b09fda34f99', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '55a1082190a09f2723ffbcb6075c18a094ddf5e5', class: "col-12" }, h("form-control-text", { key: '63e0883c7a8f9e01396b7c395eeac7d8612d8dcf', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '0d2f87a06e90191c274d96aed25dbc106ea3c347', class: "col-12" }, h("form-control-date", { key: '33e5da0712b67146147eea9a2de66f0b05d64a69', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '9aff91d4c4055cfe55a35fc28cf07167b4767992', class: "col-12" }, h("form-control-textarea", { key: '840beacaf520e1155cc2acc21d7e2eeaba2dacca', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '244eb1c41ee0a26c3ba8b7754404b9c736f0e1a2', class: "col-12" }, h("form-control-file-v2", { key: 'e09e9d04a0a5bb26232271fa29dbc5fcf1549dec', label: "Shipping Documentation", name: "shipping_documentation", onChange: this.handleFileSelection })))));
399
+ }
400
+ };
401
+
402
+ export { AdditionalStatement as justifi_additional_statement, CancellationPolicy as justifi_cancellation_policy, CustomerDetails as justifi_customer_details, DuplicateCharge as justifi_duplicate_charge, ElectronicEvidence as justifi_electronic_evidence, ProductOrService as justifi_product_or_service, RefundPolicy as justifi_refund_policy, ShippingDetails as justifi_shipping_details };
@@ -1,16 +1,16 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
2
- import { E as ErrorState } from './utils-218275b7.js';
3
- import { B as BusinessService } from './business.service-97a3da69.js';
4
- import { B as Business } from './Business-b73d5055.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-29fcfdf5.js';
2
+ import { E as ErrorState } from './utils-d7633e66.js';
3
+ import { B as BusinessService } from './business.service-182aea6f.js';
4
+ import { B as Business } from './Business-29c69f22.js';
5
5
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
6
6
  import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
7
- import { J as JustifiAnalytics } from './Analytics-77dc80f3.js';
8
- import { c as checkPkgVersion } from './check-pkg-version-fbf01ce7.js';
9
- import './config-27764a9d.js';
7
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-157854b7.js';
8
+ import './parts-186d437f.js';
9
+ import './config-187b3ae1.js';
10
10
  import './Api-391d00e2.js';
11
11
  import './helpers-96ea3464.js';
12
12
  import './state-options-a356fb11.js';
13
- import './package-627f73c1.js';
13
+ import './package-9e3b7f9e.js';
14
14
 
15
15
  const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
16
16
  var _a;
@@ -1,35 +1,34 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
2
- import { c as create$3, F as FormController } from './index.esm-ed37201b.js';
3
- import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './business-additional-questions-schema-d94f8975.js';
4
- import { a as addressSchema, i as identitySchema } from './business-identity-schema-2756dbc6.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
+ import { c as create$3, F as FormController } from './index.esm-0b6849c2.js';
3
+ import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './business-additional-questions-schema-48e93928.js';
4
+ import { a as addressSchema, i as identitySchema } from './business-identity-schema-75126188.js';
5
5
  import { A as Api } from './Api-391d00e2.js';
6
6
  import './Checkout-0b4086f8.js';
7
7
  import './Pagination-afc8f96d.js';
8
- import './Payment-2a868d0c.js';
8
+ import './Payment-4f72d277.js';
9
9
  import './SubAccount-99a00594.js';
10
- import { c as config } from './config-27764a9d.js';
11
- import { B as BusinessFormServerErrors, a as BusinessFormClickActions } from './business-form-types-8fd61b0e.js';
12
- import { B as Business } from './Business-b73d5055.js';
13
- import { J as JustifiAnalytics } from './Analytics-77dc80f3.js';
14
- import { S as StyledHost } from './styled-host-e0ddb759.js';
15
- import { c as checkPkgVersion } from './check-pkg-version-fbf01ce7.js';
16
- import './schema-validations-93a9d504.js';
10
+ import { c as config } from './config-187b3ae1.js';
11
+ import { B as Business, a as BusinessFormServerErrors } from './Business-29c69f22.js';
12
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-157854b7.js';
13
+ import { B as Button } from './button-1886a33d.js';
14
+ import { S as StyledHost } from './styled-host-32228b45.js';
15
+ import { H as Header1 } from './header-1-c6a00a22.js';
16
+ import { B as BusinessFormClickActions } from './event-types-5c87de02.js';
17
+ import './schema-validations-c7d4f9df.js';
17
18
  import './state-options-a356fb11.js';
18
- import './business-form-options-d790973e.js';
19
+ import './business-form-options-018f62a5.js';
20
+ import './Dispute-5fd28ec9.js';
19
21
  import './helpers-96ea3464.js';
20
- import './package-627f73c1.js';
22
+ import './package-9e3b7f9e.js';
23
+ import './parts-186d437f.js';
21
24
 
22
25
  const businessFormSchema = create$3(Object.assign(Object.assign({}, businessCoreInfoSchema().fields), { legal_address: addressSchema(), additional_questions: additionalQuestionsSchema(), representative: identitySchema('representative') }));
23
26
 
24
- const businessFormCss = ":host{display:block}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-checkbox){font-family:var(--jfi-layout-font-family);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);line-height:var(--jfi-form-control-line-height)}*::part(input-checkbox):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-checkbox-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-checkbox-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}.jfi-submit-button{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow)}.jfi-submit-button:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.jfi-submit-button:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn.jfi-submit-button:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}.btn.jfi-submit-button-loading{min-width:75px;color:var(--jfi-submit-button-color-loading);background-color:var(--jfi-submit-button-background-color-loading);border-color:var(--jfi-submit-button-border-color-loading)}.btn.jfi-submit-button-loading .spinner-border{border-top-color:var(--jfi-submit-button-color-loading);border-bottom-color:var(--jfi-submit-button-color-loading);border-left-color:var(--jfi-submit-button-color-loading)}";
25
- const JustifiBusinessFormStyle0 = businessFormCss;
26
-
27
27
  const BusinessForm = class {
28
28
  constructor(hostRef) {
29
29
  registerInstance(this, hostRef);
30
- this.submitted = createEvent(this, "submitted", 7);
31
- this.clickEventNew = createEvent(this, "click-event", 7);
32
- this.clickEventOld = createEvent(this, "clickEvent", 7);
30
+ this.submitEvent = createEvent(this, "submit-event", 7);
31
+ this.clickEvent = createEvent(this, "click-event", 7);
33
32
  this.instantiateBusiness = (data) => {
34
33
  const business = new Business(data);
35
34
  this.formController.setInitialValues(Object.assign({}, business));
@@ -91,11 +90,6 @@ const BusinessForm = class {
91
90
  disconnectedCallback() {
92
91
  this.analytics.cleanup();
93
92
  }
94
- fireClickEvents(event) {
95
- console.warn('`clickEvent` is deprecated and will be removed in the next major release. Please use `click-event` instead.');
96
- this.clickEventNew.emit(event);
97
- this.clickEventOld.emit(event);
98
- }
99
93
  get title() {
100
94
  return this.removeTitle ? '' : this.formTitle;
101
95
  }
@@ -109,13 +103,12 @@ const BusinessForm = class {
109
103
  if (response.error) {
110
104
  this.errorMessage = BusinessFormServerErrors.patchData;
111
105
  }
112
- this.submitted.emit({ data: response });
106
+ this.submitEvent.emit({ response: response });
113
107
  this.instantiateBusiness(response.data);
114
108
  }
115
109
  render() {
116
- return (h(StyledHost, { key: 'f04193b776865a18072bd3f1773f37a41d9439a4', exportparts: "label,input,input-invalid" }, h("form", { key: '7acb5fe47087e2ec1c3ea1b825e34b96ca6881fd', onSubmit: this.validateAndSubmit }, h("div", { key: 'd7548b77f1c7d8bb937a4c98420cfec097d73b42', class: "row gap-3" }, h("h1", { key: 'f7e74ba9d0b75f5da52a691ec16ba8068a23bbaa' }, this.title), h("form-alert", { key: 'cb83cf84afb00a4e315eee940d2f67817ba6302d', text: this.errorMessage, hideAlert: this.hideErrors }), h("div", { key: '7c6ab18da58b0ecca644d3f4644e78cfe945b8eb', class: "col-12 mb-4" }, h("justifi-business-core-info", { key: 'f5d7304ca3dd69dd1fc65954b57e4e77e24e36c9', formController: this.formController })), h("div", { key: 'c6e870483b690dac1c8bf3400e7dfb47e46db014', class: "col-12 mb-4" }, h("justifi-legal-address-form", { key: 'd04d51527b8c5a6594d5aef592a90b9db2900ee7', formController: this.formController })), h("div", { key: '669b426f578ad83d18b81a46c8e73d60ff68db5e', class: "col-12 mb-4" }, h("justifi-additional-questions", { key: '5eece0ad9248e76b5b57fd99b07c8e0c77120765', formController: this.formController })), h("div", { key: '61a4f31878ec2c4ee69985d4246016e951f8e05b', class: "col-12 mb-4" }, h("justifi-business-representative", { key: '5252a87a8f362be267232bab93565d14c2a1dd41', formController: this.formController })), h("div", { key: 'cf380d4345d5c0e25702d727e36940a9b6e4ee73', class: "col-12 d-flex flex-row-reverse" }, h("button", { key: '75b0dd58c32db365f581c2f1b8519fe90ec2ae51', type: "submit", class: "btn btn-primary jfi-submit-button", disabled: this.disabledState, onClick: () => this.fireClickEvents({ name: BusinessFormClickActions.submit }) }, this.isLoading ? 'Loading...' : 'Submit'))))));
110
+ return (h(StyledHost, { key: '583d9fda192de2a23255af3a66749bec30e82668' }, h("form", { key: '6de44b1f63b18b7e47c377665878435134155d2a', onSubmit: this.validateAndSubmit }, h("div", { key: 'e83cf5471df4628461978deba6a6269f5a91dc58', class: "row gap-3" }, h(Header1, { key: '228f8d97e1574c714de73884dd564aac2f58bc3c', text: this.title }), h("form-alert", { key: 'e3fe0d57a7ee44f44273481c41b3699e1ccf05d1', text: this.errorMessage, hideAlert: this.hideErrors }), h("div", { key: 'af3fc2e821a601d5046f230735ba52359f3f3710', class: "col-12 mb-4" }, h("justifi-business-core-info", { key: 'e27933c4dd6bfc3746d5071d7cdaec05c1795ec2', formController: this.formController })), h("div", { key: '4c11232954cfb171c0c249465637a3050645f36f', class: "col-12 mb-4" }, h("justifi-legal-address-form", { key: '3d9f7b042822f4b898862a0c89c00fa281daff66', formController: this.formController })), h("div", { key: 'f3b0209fc3cb1b0cd65692f0505ddfcc80a99d0a', class: "col-12 mb-4" }, h("justifi-additional-questions", { key: 'a9c0f77135d8ff2f2c2f2ffba6d288f1f1b60f61', formController: this.formController })), h("div", { key: '085df35d64de470c9f0198d52b698945759afe27', class: "col-12 mb-4" }, h("justifi-business-representative", { key: 'fdb24f037b26f9063d0d1f073d7effb6e3789f7f', formController: this.formController })), h("div", { key: '2b0617d9cd67d296de734c8becbea183555317e4', class: "col-12 d-flex flex-row-reverse" }, h(Button, { key: '7452cb606515807d9d2089330cf5861cd2dcdc1e', type: "submit", disabled: this.disabledState, variant: 'primary', onClick: () => this.clickEvent.emit({ name: BusinessFormClickActions.submit }), isLoading: this.isLoading }, "Submit"))))));
117
111
  }
118
112
  };
119
- BusinessForm.style = JustifiBusinessFormStyle0;
120
113
 
121
114
  export { BusinessForm as justifi_business_form };
@@ -1,6 +1,7 @@
1
- import { r as registerInstance, h } from './index-57431c24.js';
1
+ import { r as registerInstance, h } from './index-29fcfdf5.js';
2
2
  import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-270ac806.js';
3
3
  import { P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks-0e18300f.js';
4
+ import { h as heading2 } from './parts-186d437f.js';
4
5
  import './helpers-96ea3464.js';
5
6
  import './state-options-a356fb11.js';
6
7
 
@@ -19,7 +20,7 @@ const RepresentativeFormInputs = class {
19
20
  }
20
21
  render() {
21
22
  var _a, _b, _c, _d, _e, _f, _g;
22
- return (h("form", { key: 'd48ad76693e38dfd4fdb512afc87e5e50c4d171f' }, h("fieldset", { key: '957e468b2bace9fae8128ffc7de5754a49945454' }, h("div", { key: 'ab3845f6f8f1a508b691d6b1f02980e0d6d38f4c', class: "d-flex align-items-center gap-2" }, h("legend", { key: '79a48cd41f19c4aba31a6f6e36c5b7acaf358447', class: "mb-0" }, "Representative"), h("form-control-tooltip", { key: 'e2961b6a7ce9a360c374404f47876ea39b489297', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '16fc066cc1ddae2e6fe30119bc66a8eda966b66a', class: "mt-2" }), h("div", { key: 'e3d32b1497cb452fca36ee564da7b4f9d7e517a6', class: "row gy-3" }, h("div", { key: '0b8dba03ddfe9cebafdba03315477f522441e62f', class: "col-12 col-md-8" }, h("form-control-text", { key: 'fcee691ae2f2e169841b28cc313b2559f2cedc47', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '388aabab153c5922f4d719d2068c6041fcb1e8bc', class: "col-12 col-md-4" }, h("form-control-text", { key: 'cf3a2911172fa4972b2b108aa375872a189f8b88', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '594446afaf5d1068c3a6ddc38ed0895ee4fff14b', class: "col-12 col-md-6" }, h("form-control-text", { key: '7ede2ffbc93f20e89d32938f8d1305604ffc5970', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '9cb40530bfc63d79d00f91eeaad58f952f0fcda4', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '3967096857620f10b42e8c5f8a4754dcf094973d', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '3b3794126a3790484e23ca8731782cd4d68cf569', class: "col-12 col-md-4" }, h("form-control-date", { key: '2ea38d71ab8e616f404b7624f4e6edd75ccaa294', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '78b603dd1ae23fd4a9dd59f45273c6e3ff611fdf', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'a41976f1168af416cdecf391271eddc20cc9e7b6', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: '198432248d778343020fb0ceb0e8c9a1763130b3', class: "col-12" }, h("justifi-identity-address-form", { key: '402d91a793e197502b536f2fc5e2a9a52a97ef85', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
23
+ return (h("form", { key: '0995ea70a1732744cf159fc59a0e4aa8d9f37c1c' }, h("fieldset", { key: '0186de6a306858075d58a32af6a36d07c0b7ae39' }, h("div", { key: '70c643b23570551f0c82df144cdba8020a89c9ef', class: "d-flex align-items-center gap-2" }, h("legend", { key: 'fec6925b259580935a526a79428f9b0a7f1f4d65', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '45e3af519e4ad082fcef1ab14b1c66decfd1b2ba', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: 'b55f8129932bfbdba4d010c60931b188a7d88c57', class: "mt-2" }), h("div", { key: '2b8b87ebd71763798127aece44a91c8143612458', class: "row gy-3" }, h("div", { key: '27310ee20317a0fa977bc623bd6fa16fb1e9387a', class: "col-12 col-md-8" }, h("form-control-text", { key: 'ae638a4e2c13e5e1319eb316290ce3116244174c', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '864731a0668a86ce3fa85911b0c97e5db8878d08', class: "col-12 col-md-4" }, h("form-control-text", { key: '8f07886343469e5a054f49dfd01de4f9913f42f4', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '0efff4560cd543839a364b0b769f1b1f71163b66', class: "col-12 col-md-6" }, h("form-control-text", { key: '11f738a73989ce789770b36ce1d437d53aa53e07', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'aedf826b2e02f5bdd403451ed47051e1077fe65e', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ea237c5c3772e8bfeea31995ab0eac23014bd0fd', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '286a392a94ed5e9a9fe175116d835952cd565947', class: "col-12 col-md-4" }, h("form-control-date", { key: 'f0c5dde29769188f7d5ccc06360f69918a8bae5e', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '1326dd00d94fe8feec7ca411689370a747709eec', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '5b084d36a3be5b58534169076f34282a3d8565ac', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: 'c0ca035fd4ff10f9529be1ff6c28f8c4479c95b1', class: "col-12" }, h("justifi-identity-address-form", { key: '1f9e30e790dc3facd5590492a99490e06d74c17a', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
23
24
  }
24
25
  };
25
26