@justifi/webcomponents 4.23.1 → 5.0.0-rc-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (955) 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/button-94bdc1f0.js +20 -0
  11. package/dist/cjs/{Analytics-7ab90cae.js → check-pkg-version-23c816dd.js} +22 -2
  12. package/dist/cjs/{checkout.service-aae1996c.js → checkout.service-9891a349.js} +1 -1
  13. package/dist/cjs/checkouts-list-core.cjs.entry.js +37 -30
  14. package/dist/cjs/checkouts-list-params-state-418c75a3.js +14 -0
  15. package/dist/cjs/checkouts-table-17648e93.js +48 -0
  16. package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper.cjs.entry.js} +3 -107
  17. package/dist/cjs/dispute.service-2064ae0f.js +29 -0
  18. package/dist/cjs/event-types-180a85a9.js +23 -0
  19. package/dist/cjs/{table-ec9ce9f7.js → event-types-4df47396.js} +16 -8
  20. package/dist/cjs/event-types-8edaabbb.js +22 -0
  21. package/dist/cjs/form-alert_5.cjs.entry.js +9 -8
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +57 -0
  23. package/dist/cjs/form-control-date.cjs.entry.js +21 -2
  24. package/dist/cjs/form-control-error-text-a2fd5fc1.js +14 -0
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +90 -0
  26. package/dist/cjs/form-control-file.cjs.entry.js +21 -2
  27. package/dist/cjs/form-control-help-text-b6f7ae6e.js +14 -0
  28. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +22 -2
  30. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +21 -3
  31. package/dist/cjs/form-control-number.cjs.entry.js +21 -2
  32. package/dist/cjs/form-control-radio.cjs.entry.js +25 -17
  33. package/dist/cjs/form-control-select_3.cjs.entry.js +145 -0
  34. package/dist/cjs/{get-payout-csv-1eed32ee.js → get-payout-csv-4e60474e.js} +1 -1
  35. package/dist/cjs/{get-subaccounts-1d2fb201.js → get-subaccounts-2ea9676c.js} +1 -1
  36. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +6 -8
  37. package/dist/cjs/header-1-cb7af794.js +10 -0
  38. package/dist/cjs/header-3-75e50713.js +10 -0
  39. package/dist/cjs/iframe-input-styles-state-d0de0b24.js +26 -0
  40. package/dist/cjs/{justifi-billing-form_2.cjs.entry.js → iframe-input.cjs.entry.js} +73 -180
  41. package/dist/cjs/{index-fb499e95.js → index-5b9a3b5f.js} +1 -93
  42. package/dist/cjs/{insurance-state-80e24caf.js → index-d2d0b181.js} +2 -24
  43. package/dist/cjs/{index.esm-97cf6825.js → index.esm-a397536a.js} +1 -1
  44. package/dist/cjs/insurance-state-001cfe12.js +34 -0
  45. package/dist/cjs/justifi-additional-questions-form-step-core_8.cjs.entry.js +591 -0
  46. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +41 -41
  47. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +413 -0
  48. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -7
  49. package/dist/cjs/justifi-business-form.cjs.entry.js +24 -31
  50. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +3 -2
  51. package/dist/cjs/justifi-checkout-core.cjs.entry.js +15 -19
  52. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
  53. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +38 -0
  54. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -13
  55. package/dist/cjs/justifi-details.cjs.entry.js +4 -4
  56. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +50 -11
  57. package/dist/cjs/justifi-dispute-management.cjs.entry.js +87 -2
  58. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +378 -0
  59. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -6
  60. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +16 -26
  61. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -8
  62. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +13 -8
  63. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -6
  64. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +43 -0
  65. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
  66. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -8
  67. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +27 -0
  68. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -13
  69. package/dist/cjs/justifi-refund-form.cjs.entry.js +6 -9
  70. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +17 -18
  71. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -7
  72. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +35 -0
  73. package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
  74. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +10 -14
  75. package/dist/cjs/loader.cjs.js +2 -2
  76. package/dist/cjs/{package-6d1daab8.js → package-1a3b3cdf.js} +1 -1
  77. package/dist/cjs/pagination-menu.cjs.entry.js +26 -0
  78. package/dist/cjs/parts-811ddb9c.js +119 -0
  79. package/dist/cjs/payment-details-core.cjs.entry.js +13 -11
  80. package/dist/cjs/{payment.service-86871f43.js → payment.service-0a8c3a01.js} +1 -1
  81. package/dist/cjs/payments-list-core.cjs.entry.js +34 -27
  82. package/dist/cjs/payments-list-params-state-0ff968a7.js +14 -0
  83. package/dist/cjs/payments-table-cf5d1c33.js +32 -0
  84. package/dist/cjs/payout-details-core.cjs.entry.js +8 -5
  85. package/dist/cjs/payouts-list-core.cjs.entry.js +37 -30
  86. package/dist/cjs/payouts-list-params-state-16348184.js +14 -0
  87. package/dist/cjs/payouts-table-58881d95.js +38 -0
  88. package/dist/cjs/{schema-validations-f0363047.js → schema-validations-0be8068a.js} +2 -2
  89. package/dist/cjs/skeleton-5ca03840.js +13 -0
  90. package/dist/cjs/spinner-c11fcb44.js +12 -0
  91. package/dist/cjs/styled-host-94309bab.js +14 -0
  92. package/dist/cjs/table-filters-menu.cjs.entry.js +45 -0
  93. package/dist/cjs/terminals-list-core.cjs.entry.js +36 -29
  94. package/dist/cjs/terminals-list-params-state-95ff6a64.js +14 -0
  95. package/dist/cjs/terminals-table-91985249.js +33 -0
  96. package/dist/cjs/{utils-e88fbc94.js → utils-a21b7453.js} +31 -28
  97. package/dist/cjs/utils-fc17191b.js +29 -0
  98. package/dist/cjs/webcomponents.cjs.js +2 -2
  99. package/dist/collection/api/Analytics.js +1 -1
  100. package/dist/collection/api/Business.js +5 -0
  101. package/dist/collection/api/Dispute.js +55 -0
  102. package/dist/collection/api/DisputeEvidenceDocument.js +44 -0
  103. package/dist/collection/api/Payment.js +6 -9
  104. package/dist/collection/api/services/dispute.service.js +20 -0
  105. package/dist/collection/collection-manifest.json +16 -17
  106. package/dist/collection/components/billing-form/billing-form.js +2 -19
  107. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -19
  108. package/dist/collection/components/business-details/business-details-core.js +8 -7
  109. package/dist/collection/components/business-details/business-details-loading.js +6 -0
  110. package/dist/collection/components/business-details/business-details.js +5 -13
  111. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -11
  112. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -11
  113. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -11
  114. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -19
  115. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -6
  116. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -4
  117. package/dist/collection/components/business-forms/business-form/business-form.js +18 -59
  118. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -1
  119. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +2 -6
  120. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  121. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +22 -52
  122. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  123. package/dist/collection/components/business-forms/owner-form/owner-form.js +6 -6
  124. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +18 -40
  125. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +6 -11
  126. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +19 -44
  127. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +18 -40
  128. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +6 -11
  129. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -47
  130. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +6 -11
  131. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -1
  132. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +17 -39
  133. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +6 -6
  134. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +21 -42
  135. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  136. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +4 -3
  137. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +18 -39
  138. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +6 -11
  139. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +32 -23
  140. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
  141. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -20
  142. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +7 -11
  143. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +30 -31
  144. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +2 -11
  145. package/dist/collection/components/business-forms/utils/event-types.js +21 -0
  146. package/dist/collection/components/business-forms/utils/index.js +4 -0
  147. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +65 -0
  148. package/dist/collection/components/checkout/card-form/card-form.js +67 -0
  149. package/dist/collection/components/checkout/checkout-core.js +19 -28
  150. package/dist/collection/components/checkout/checkout.js +7 -7
  151. package/dist/collection/components/checkout/message-event-types.js +4 -0
  152. package/dist/collection/components/checkout/new-payment-method.js +23 -15
  153. package/dist/collection/components/checkout/payment-method-options.js +1 -11
  154. package/dist/collection/components/checkout/save-new-payment-method.js +3 -4
  155. package/dist/collection/components/checkout/saved-payment-method.js +6 -5
  156. package/dist/collection/components/checkout/sezzle-payment-method.js +6 -4
  157. package/dist/collection/components/checkouts-list/checkouts-list-core.js +43 -36
  158. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +8 -61
  159. package/dist/collection/components/checkouts-list/checkouts-list-params-state.js +8 -0
  160. package/dist/collection/components/checkouts-list/checkouts-list.js +7 -29
  161. package/dist/collection/components/checkouts-list/checkouts-table.js +13 -12
  162. package/dist/collection/components/dispute-management/dispute-actions.js +31 -0
  163. package/dist/collection/components/dispute-management/dispute-management-core.js +131 -17
  164. package/dist/collection/components/dispute-management/dispute-management.js +143 -2
  165. package/dist/collection/components/dispute-management/dispute-notification.js +135 -15
  166. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +110 -0
  167. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +106 -0
  168. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +106 -0
  169. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +117 -0
  170. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +362 -0
  171. package/dist/collection/components/dispute-management/dispute-response/dispute-response-form-types.js +12 -0
  172. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +186 -0
  173. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +106 -0
  174. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +106 -0
  175. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +106 -0
  176. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +106 -0
  177. package/dist/collection/components/dispute-management/dispute-response/schemas/additional-statement-schema.js +5 -0
  178. package/dist/collection/components/dispute-management/dispute-response/schemas/cancellation-policy-schema.js +6 -0
  179. package/dist/collection/components/dispute-management/dispute-response/schemas/customer-details-schema.js +7 -0
  180. package/dist/collection/components/dispute-management/dispute-response/schemas/dispute-reason-schema.js +5 -0
  181. package/dist/collection/components/dispute-management/dispute-response/schemas/duplicate-charge-schema.js +6 -0
  182. package/dist/collection/components/dispute-management/dispute-response/schemas/electronic-evidence-schema.js +5 -0
  183. package/dist/collection/components/dispute-management/dispute-response/schemas/product-or-service-schema.js +6 -0
  184. package/dist/collection/components/dispute-management/dispute-response/schemas/refund-policy-schema.js +6 -0
  185. package/dist/collection/components/dispute-management/dispute-response/schemas/shipping-details-schema.js +8 -0
  186. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +106 -0
  187. package/dist/collection/components/dispute-management/event-types.js +20 -0
  188. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +8 -17
  189. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +5 -5
  190. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +19 -22
  191. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +6 -6
  192. package/dist/collection/components/pagination-menu/pagination-menu.js +5 -4
  193. package/dist/collection/components/payment-details/payment-details-core.js +15 -13
  194. package/dist/collection/components/payment-details/payment-details.js +5 -28
  195. package/dist/collection/components/payments-list/payments-list-core.js +40 -33
  196. package/dist/collection/components/payments-list/payments-list-filters.js +8 -61
  197. package/dist/collection/components/payments-list/payments-list-params-state.js +8 -0
  198. package/dist/collection/components/payments-list/payments-list.js +7 -29
  199. package/dist/collection/components/payments-list/payments-table.js +15 -14
  200. package/dist/collection/components/payout-details/payout-details-core.js +10 -8
  201. package/dist/collection/components/payout-details/payout-details.js +5 -5
  202. package/dist/collection/components/payouts-list/payouts-list-core.js +43 -36
  203. package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -60
  204. package/dist/collection/components/payouts-list/payouts-list-params-state.js +8 -0
  205. package/dist/collection/components/payouts-list/payouts-list.js +6 -28
  206. package/dist/collection/components/payouts-list/payouts-table.js +19 -18
  207. package/dist/collection/components/refund-form/refund-form.js +1 -11
  208. package/dist/collection/components/refund-form/refund-form.stories.js +1 -60
  209. package/dist/collection/components/terminals-list/terminals-list-core.js +43 -36
  210. package/dist/collection/components/terminals-list/terminals-list-filters.js +8 -61
  211. package/dist/collection/components/terminals-list/terminals-list-params-state.js +8 -0
  212. package/dist/collection/components/terminals-list/terminals-list.js +7 -29
  213. package/dist/collection/components/terminals-list/terminals-table.js +9 -8
  214. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +20 -24
  215. package/dist/collection/styles/parts.js +74 -0
  216. package/dist/collection/ui-components/button.js +6 -12
  217. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  218. package/dist/collection/ui-components/details/details.js +2 -4
  219. package/dist/collection/ui-components/details/utils.js +7 -10
  220. package/dist/collection/ui-components/filters/table-filters-menu.js +5 -1
  221. package/dist/collection/ui-components/form/form-control-checkbox.js +31 -16
  222. package/dist/collection/ui-components/form/form-control-date.js +25 -1
  223. package/dist/collection/ui-components/form/form-control-file-v2.js +177 -0
  224. package/dist/collection/ui-components/form/form-control-file.js +22 -2
  225. package/dist/collection/ui-components/form/form-control-monetary.js +25 -1
  226. package/dist/collection/ui-components/form/form-control-number-masked.js +24 -1
  227. package/dist/collection/ui-components/form/form-control-number.js +24 -1
  228. package/dist/collection/ui-components/form/form-control-radio.js +50 -40
  229. package/dist/collection/ui-components/form/form-control-select.js +25 -1
  230. package/dist/collection/ui-components/form/form-control-text.js +24 -1
  231. package/dist/collection/ui-components/form/form-control-textarea.js +27 -2
  232. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +2 -1
  233. package/dist/collection/ui-components/form/form-helpers/form-control-error-text.js +9 -0
  234. package/dist/collection/ui-components/form/form-helpers/form-control-help-text.js +9 -0
  235. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +2 -1
  236. package/dist/collection/ui-components/form/form.js +1 -1
  237. package/dist/collection/ui-components/form/hidden-input.js +85 -0
  238. package/dist/collection/ui-components/form/iframe-input-styles-state.js +21 -0
  239. package/dist/collection/ui-components/form/iframe-input.js +215 -0
  240. package/dist/collection/ui-components/headers/header-1.js +5 -0
  241. package/dist/collection/ui-components/headers/header-2.js +5 -0
  242. package/dist/collection/ui-components/headers/header-3.js +5 -0
  243. package/dist/collection/ui-components/index.js +6 -0
  244. package/dist/collection/ui-components/skeleton.js +4 -34
  245. package/dist/collection/ui-components/spinner.js +6 -0
  246. package/dist/collection/ui-components/table/event-types.js +6 -0
  247. package/dist/collection/ui-components/table-empty-state.js +2 -1
  248. package/dist/collection/ui-components/table-error-state.js +2 -1
  249. package/dist/collection/ui-components/table-loading-state.js +3 -1
  250. package/dist/collection/utils/table.js +2 -2
  251. package/dist/collection/utils/utils.js +27 -26
  252. package/dist/docs.json +3573 -4721
  253. package/dist/esm/{Business-b73d5055.js → Business-29c69f22.js} +6 -1
  254. package/dist/esm/Dispute-5fd28ec9.js +57 -0
  255. package/dist/esm/{Payment-2a868d0c.js → Payment-4f72d277.js} +7 -9
  256. package/dist/esm/additional-questions-details_5.entry.js +9 -28
  257. package/dist/esm/bank-account-form_9.entry.js +481 -0
  258. package/dist/esm/{business-additional-questions-schema-d94f8975.js → business-additional-questions-schema-48e93928.js} +2 -2
  259. package/dist/esm/business-details-core.entry.js +26 -4
  260. package/dist/esm/{business-form-options-d790973e.js → business-form-options-018f62a5.js} +1 -1
  261. package/dist/esm/{business-identity-schema-2756dbc6.js → business-identity-schema-75126188.js} +2 -2
  262. package/dist/esm/button-1886a33d.js +18 -0
  263. package/dist/esm/{Analytics-77dc80f3.js → check-pkg-version-c2078b31.js} +22 -3
  264. package/dist/esm/{checkout.service-c1e44e0c.js → checkout.service-925ded8e.js} +1 -1
  265. package/dist/esm/checkouts-list-core.entry.js +36 -29
  266. package/dist/esm/checkouts-list-params-state-1d968971.js +10 -0
  267. package/dist/esm/checkouts-table-8b116232.js +44 -0
  268. package/dist/esm/{custom-popper_4.entry.js → custom-popper.entry.js} +4 -105
  269. package/dist/esm/dispute.service-588dd905.js +27 -0
  270. package/dist/esm/{table-44e3d1e7.js → event-types-01dcdcbd.js} +17 -9
  271. package/dist/esm/event-types-07cdb9a0.js +22 -0
  272. package/dist/esm/event-types-5c87de02.js +23 -0
  273. package/dist/esm/form-alert_5.entry.js +9 -8
  274. package/dist/esm/form-control-checkbox.entry.js +53 -0
  275. package/dist/esm/form-control-date.entry.js +21 -2
  276. package/dist/esm/form-control-error-text-3b2553b5.js +12 -0
  277. package/dist/esm/form-control-file-v2_2.entry.js +85 -0
  278. package/dist/esm/form-control-file.entry.js +21 -2
  279. package/dist/esm/form-control-help-text-a2fc3617.js +12 -0
  280. package/dist/esm/form-control-help-text.entry.js +1 -1
  281. package/dist/esm/form-control-monetary.entry.js +22 -2
  282. package/dist/esm/form-control-number-masked_2.entry.js +21 -3
  283. package/dist/esm/form-control-number.entry.js +21 -2
  284. package/dist/esm/form-control-radio.entry.js +25 -17
  285. package/dist/esm/form-control-select_3.entry.js +139 -0
  286. package/dist/esm/{get-payout-csv-3b83b088.js → get-payout-csv-b95a5d54.js} +1 -1
  287. package/dist/esm/{get-subaccounts-dd20cfa4.js → get-subaccounts-b9a00d48.js} +1 -1
  288. package/dist/esm/gross-payment-chart-core.entry.js +6 -8
  289. package/dist/esm/header-1-c6a00a22.js +8 -0
  290. package/dist/esm/header-3-a1c6d475.js +8 -0
  291. package/dist/esm/iframe-input-styles-state-ff730fe5.js +23 -0
  292. package/dist/esm/{justifi-billing-form_2.entry.js → iframe-input.entry.js} +73 -179
  293. package/dist/esm/{index-57431c24.js → index-29fcfdf5.js} +1 -93
  294. package/dist/esm/{insurance-state-8ce01e59.js → index-a47fdc7f.js} +2 -21
  295. package/dist/esm/{index.esm-ed37201b.js → index.esm-0b6849c2.js} +1 -1
  296. package/dist/esm/insurance-state-8fc9376f.js +28 -0
  297. package/dist/esm/justifi-additional-questions-form-step-core_8.entry.js +580 -0
  298. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +41 -41
  299. package/dist/esm/justifi-additional-statement_8.entry.js +402 -0
  300. package/dist/esm/justifi-business-details.entry.js +6 -6
  301. package/dist/esm/justifi-business-form.entry.js +20 -27
  302. package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -2
  303. package/dist/esm/justifi-checkout-core.entry.js +15 -19
  304. package/dist/esm/justifi-checkout.entry.js +8 -8
  305. package/dist/esm/justifi-checkouts-list-filters.entry.js +34 -0
  306. package/dist/esm/justifi-checkouts-list.entry.js +12 -12
  307. package/dist/esm/justifi-details.entry.js +4 -4
  308. package/dist/esm/justifi-dispute-management-core.entry.js +50 -11
  309. package/dist/esm/justifi-dispute-management.entry.js +87 -2
  310. package/dist/esm/justifi-dispute-notification_3.entry.js +372 -0
  311. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  312. package/dist/esm/justifi-owner-form_3.entry.js +14 -24
  313. package/dist/esm/justifi-payment-details.entry.js +8 -7
  314. package/dist/esm/justifi-payment-provisioning-core.entry.js +12 -7
  315. package/dist/esm/justifi-payment-provisioning.entry.js +4 -5
  316. package/dist/esm/justifi-payments-list-filters.entry.js +39 -0
  317. package/dist/esm/justifi-payments-list.entry.js +11 -11
  318. package/dist/esm/justifi-payout-details.entry.js +8 -7
  319. package/dist/esm/justifi-payouts-list-filters.entry.js +23 -0
  320. package/dist/esm/justifi-payouts-list.entry.js +18 -12
  321. package/dist/esm/justifi-refund-form.entry.js +6 -9
  322. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +17 -18
  323. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
  324. package/dist/esm/justifi-terminals-list-filters.entry.js +31 -0
  325. package/dist/esm/justifi-terminals-list.entry.js +10 -10
  326. package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -13
  327. package/dist/esm/loader.js +3 -3
  328. package/dist/esm/{package-627f73c1.js → package-84f77b11.js} +1 -1
  329. package/dist/esm/pagination-menu.entry.js +22 -0
  330. package/dist/esm/parts-186d437f.js +72 -0
  331. package/dist/esm/payment-details-core.entry.js +13 -11
  332. package/dist/esm/{payment.service-ca6b5bc5.js → payment.service-064fac31.js} +1 -1
  333. package/dist/esm/payments-list-core.entry.js +33 -26
  334. package/dist/esm/payments-list-params-state-b3dab8bc.js +10 -0
  335. package/dist/esm/payments-table-d6fbab5b.js +28 -0
  336. package/dist/esm/payout-details-core.entry.js +8 -5
  337. package/dist/esm/payouts-list-core.entry.js +36 -29
  338. package/dist/esm/payouts-list-params-state-49618e7a.js +10 -0
  339. package/dist/esm/payouts-table-2e61a116.js +34 -0
  340. package/dist/esm/{schema-validations-93a9d504.js → schema-validations-c7d4f9df.js} +2 -2
  341. package/dist/esm/skeleton-8f71cdf7.js +11 -0
  342. package/dist/esm/spinner-879489b3.js +10 -0
  343. package/dist/esm/styled-host-32228b45.js +12 -0
  344. package/dist/esm/table-filters-menu.entry.js +41 -0
  345. package/dist/esm/terminals-list-core.entry.js +35 -28
  346. package/dist/esm/terminals-list-params-state-2c48d35f.js +10 -0
  347. package/dist/esm/terminals-table-8e42977c.js +29 -0
  348. package/dist/esm/{utils-1df1e55a.js → utils-54543523.js} +31 -30
  349. package/dist/esm/utils-d7633e66.js +22 -0
  350. package/dist/esm/webcomponents.js +3 -3
  351. package/dist/module/Business.js +6 -1
  352. package/dist/module/Payment.js +62 -10
  353. package/dist/module/additional-questions-details2.js +1 -5
  354. package/dist/module/additional-questions.js +4 -15
  355. package/dist/module/additional-statement.js +52 -13
  356. package/dist/module/{justifi-card-form.d.ts → bank-account-form.d.ts} +4 -4
  357. package/dist/module/bank-account-form.js +6 -0
  358. package/dist/module/bank-account-form2.js +44 -0
  359. package/dist/module/billing-form.js +6 -18
  360. package/dist/module/business-additional-questions-form-step-core.js +8 -21
  361. package/dist/module/business-additional-questions-form-step.js +3 -15
  362. package/dist/module/business-bank-account-form-step.js +11 -18
  363. package/dist/module/business-core-info-form-step-core.js +11 -18
  364. package/dist/module/business-core-info-form-step.js +5 -11
  365. package/dist/module/business-core-info.js +6 -11
  366. package/dist/module/business-details-core2.js +25 -3
  367. package/dist/module/business-document-upload-form-step.js +12 -18
  368. package/dist/module/business-document-upload-input-group.js +3 -9
  369. package/dist/module/business-documents-on-file.js +4 -3
  370. package/dist/module/business-owners-form-step-core.js +12 -18
  371. package/dist/module/business-owners-form-step.js +5 -11
  372. package/dist/module/business-representative-form-inputs.js +6 -11
  373. package/dist/module/business-representative-form-step-core.js +9 -17
  374. package/dist/module/business-representative-form-step.js +5 -11
  375. package/dist/module/business-representative.js +6 -11
  376. package/dist/module/business-terms-conditions-form-step.js +16 -22
  377. package/dist/module/business-terms-conditions-text.js +2 -5
  378. package/dist/module/button.js +6 -12
  379. package/dist/module/cancellation-policy.js +49 -13
  380. package/dist/module/{justifi-payment-form.d.ts → card-form.d.ts} +4 -4
  381. package/dist/module/card-form.js +6 -0
  382. package/dist/module/card-form2.js +46 -0
  383. package/dist/module/check-pkg-version.js +76 -1
  384. package/dist/module/checkout-core.js +55 -30
  385. package/dist/module/checkouts-list-core2.js +47 -77
  386. package/dist/module/checkouts-list-params-state.js +10 -0
  387. package/dist/module/custom-popper2.js +2 -2
  388. package/dist/module/customer-details.js +50 -13
  389. package/dist/module/details.js +3 -5
  390. package/dist/module/dispute-management-core.js +74 -39
  391. package/dist/module/dispute-notification.js +41 -8
  392. package/dist/module/dispute-response-actions.js +117 -0
  393. package/dist/module/dispute-response-core.js +280 -0
  394. package/dist/module/dispute-response-form-types.js +59 -0
  395. package/dist/module/dispute-response.js +198 -0
  396. package/dist/module/duplicate-charge.js +49 -13
  397. package/dist/module/electronic-evidence.js +49 -20
  398. package/dist/module/{table.js → event-types.js} +16 -8
  399. package/dist/module/event-types2.js +23 -0
  400. package/dist/module/event-types3.js +22 -0
  401. package/dist/module/form-alert2.js +2 -1
  402. package/dist/module/form-control-checkbox2.js +29 -27
  403. package/dist/module/form-control-date2.js +25 -10
  404. package/dist/module/form-control-error-text.js +10 -4
  405. package/dist/module/{payouts-list-filters.d.ts → form-control-file-v2.d.ts} +4 -4
  406. package/dist/module/form-control-file-v2.js +6 -0
  407. package/dist/module/form-control-file-v22.js +59 -0
  408. package/dist/module/form-control-file2.js +25 -10
  409. package/dist/module/form-control-help-text.js +1 -1
  410. package/dist/module/form-control-help-text2.js +9 -32
  411. package/dist/module/form-control-help-text3.js +35 -0
  412. package/dist/module/form-control-monetary2.js +26 -16
  413. package/dist/module/form-control-number-masked2.js +25 -11
  414. package/dist/module/form-control-number.js +24 -15
  415. package/dist/module/form-control-radio2.js +31 -30
  416. package/dist/module/form-control-select2.js +25 -10
  417. package/dist/module/form-control-text2.js +24 -10
  418. package/dist/module/form-control-textarea2.js +26 -11
  419. package/dist/module/form-control-tooltip2.js +2 -1
  420. package/dist/module/form.js +1 -1
  421. package/dist/module/generic-info-details2.js +1 -5
  422. package/dist/module/get-payout-csv.js +1 -1
  423. package/dist/module/get-subaccounts.js +1 -1
  424. package/dist/module/gross-payment-chart-core2.js +3 -6
  425. package/dist/module/header-1.js +8 -0
  426. package/dist/module/{payments-list-filters.d.ts → hidden-input.d.ts} +4 -4
  427. package/dist/module/hidden-input.js +6 -0
  428. package/dist/module/hidden-input2.js +100 -0
  429. package/dist/module/identity-address-form.js +4 -10
  430. package/dist/module/iframe-input-styles-state.js +23 -0
  431. package/dist/module/iframe-input.d.ts +11 -0
  432. package/dist/module/iframe-input.js +6 -0
  433. package/dist/module/{payment-method-form.js → iframe-input2.js} +83 -131
  434. package/dist/module/index2.js +167 -3572
  435. package/dist/module/index3.js +3599 -0
  436. package/dist/module/insurance-state.js +6 -191
  437. package/dist/module/justifi-business-details.js +2 -3
  438. package/dist/module/justifi-business-form.js +16 -36
  439. package/dist/module/justifi-checkout.js +52 -23
  440. package/dist/module/justifi-checkouts-list-filters.d.ts +11 -0
  441. package/dist/module/justifi-checkouts-list-filters.js +77 -0
  442. package/dist/module/justifi-checkouts-list.js +8 -45
  443. package/dist/module/justifi-dispute-management.js +109 -34
  444. package/dist/module/justifi-dispute-response-core.d.ts +11 -0
  445. package/dist/module/justifi-dispute-response-core.js +6 -0
  446. package/dist/module/justifi-dispute-response.d.ts +11 -0
  447. package/dist/module/justifi-dispute-response.js +6 -0
  448. package/dist/module/justifi-gross-payment-chart.js +2 -3
  449. package/dist/module/justifi-payment-details.js +3 -4
  450. package/dist/module/justifi-payment-provisioning.js +12 -24
  451. package/dist/module/justifi-payments-list-filters.d.ts +11 -0
  452. package/dist/module/justifi-payments-list-filters.js +94 -0
  453. package/dist/module/justifi-payments-list.js +9 -58
  454. package/dist/module/justifi-payout-details.js +2 -3
  455. package/dist/module/justifi-payouts-list-filters.d.ts +11 -0
  456. package/dist/module/justifi-payouts-list-filters.js +66 -0
  457. package/dist/module/justifi-payouts-list.js +14 -45
  458. package/dist/module/justifi-refund-form.js +4 -19
  459. package/dist/module/justifi-season-interruption-insurance.js +16 -5
  460. package/dist/module/justifi-terminals-list-filters.d.ts +11 -0
  461. package/dist/module/{terminals-list-filters2.js → justifi-terminals-list-filters.js} +25 -28
  462. package/dist/module/justifi-terminals-list.js +8 -51
  463. package/dist/module/justifi-tokenize-payment-method.js +51 -25
  464. package/dist/module/legal-address-details2.js +1 -5
  465. package/dist/module/legal-address-form-step-core.js +10 -17
  466. package/dist/module/legal-address-form-step.js +3 -9
  467. package/dist/module/legal-address-form.js +5 -10
  468. package/dist/module/new-payment-method.js +72 -30
  469. package/dist/module/owner-details2.js +1 -5
  470. package/dist/module/owner-form-core2.js +10 -25
  471. package/dist/module/owner-form-inputs2.js +5 -11
  472. package/dist/module/owner-form.js +5 -11
  473. package/dist/module/package.js +1 -1
  474. package/dist/module/pagination-menu2.js +4 -3
  475. package/dist/module/parts.js +72 -0
  476. package/dist/module/payment-details-core2.js +11 -9
  477. package/dist/module/payment-method-options.js +47 -24
  478. package/dist/module/payment-provisioning-actions.js +1 -1
  479. package/dist/module/payment-provisioning-core.js +21 -28
  480. package/dist/module/payment-provisioning-form-buttons.js +4 -2
  481. package/dist/module/payment-provisioning-form-steps.js +11 -24
  482. package/dist/module/payments-list-core2.js +46 -88
  483. package/dist/module/payments-list-params-state.js +10 -0
  484. package/dist/module/payout-details-core2.js +6 -3
  485. package/dist/module/payouts-list-core2.js +53 -83
  486. package/dist/module/payouts-list-params-state.js +10 -0
  487. package/dist/module/product-or-service.js +46 -13
  488. package/dist/module/refund-policy.js +49 -13
  489. package/dist/module/representative-details2.js +1 -5
  490. package/dist/module/save-new-payment-method.js +10 -5
  491. package/dist/module/saved-payment-method.js +19 -6
  492. package/dist/module/season-interruption-insurance-core.js +29 -19
  493. package/dist/module/sezzle-payment-method.js +19 -5
  494. package/dist/module/shipping-details.js +53 -19
  495. package/dist/module/skeleton.js +4 -34
  496. package/dist/module/spinner.js +10 -0
  497. package/dist/module/styled-host.js +1 -1
  498. package/dist/module/table-filters-menu2.js +12 -2
  499. package/dist/module/terminals-list-core2.js +43 -79
  500. package/dist/module/terminals-list-params-state.js +10 -0
  501. package/dist/module/utils.js +14 -19
  502. package/dist/module/utils2.js +31 -30
  503. package/dist/module/utils3.js +25 -30
  504. package/dist/module/utils4.js +23 -24
  505. package/dist/types/api/Business.d.ts +4 -0
  506. package/dist/types/api/Checkout.d.ts +1 -3
  507. package/dist/types/api/ComponentError.d.ts +0 -6
  508. package/dist/types/api/ComponentEvents.d.ts +23 -0
  509. package/dist/types/api/Dispute.d.ts +76 -0
  510. package/dist/types/api/DisputeEvidenceDocument.d.ts +23 -0
  511. package/dist/types/api/Payment.d.ts +6 -11
  512. package/dist/types/api/Payout.d.ts +1 -3
  513. package/dist/types/api/Terminal.d.ts +1 -4
  514. package/dist/types/api/services/dispute.service.d.ts +14 -0
  515. package/dist/types/components/billing-form/billing-form.d.ts +0 -5
  516. package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +0 -8
  517. package/dist/types/components/business-details/business-details-core.d.ts +2 -2
  518. package/dist/types/components/business-details/business-details-loading.d.ts +1 -0
  519. package/dist/types/components/business-details/business-details.d.ts +2 -10
  520. package/dist/types/components/business-details/representative-details/representative-details.d.ts +0 -8
  521. package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +0 -5
  522. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
  523. package/dist/types/components/business-forms/business-form/business-form.d.ts +4 -11
  524. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -5
  525. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +4 -6
  526. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -2
  527. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +3 -5
  528. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +2 -7
  529. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -8
  530. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -5
  531. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -7
  532. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +4 -6
  533. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -7
  534. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +3 -5
  535. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -2
  536. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +3 -5
  537. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +3 -5
  538. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -7
  539. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +5 -5
  540. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
  541. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +2 -7
  542. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +5 -5
  543. package/dist/types/components/business-forms/utils/event-types.d.ts +19 -0
  544. package/dist/types/components/business-forms/utils/index.d.ts +4 -0
  545. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +7 -0
  546. package/dist/types/components/checkout/card-form/card-form.d.ts +9 -0
  547. package/dist/types/components/checkout/checkout-core.d.ts +5 -4
  548. package/dist/types/components/checkout/checkout.d.ts +2 -2
  549. package/dist/types/components/checkout/message-event-types.d.ts +4 -0
  550. package/dist/types/components/checkout/new-payment-method.d.ts +3 -3
  551. package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
  552. package/dist/types/components/checkout/saved-payment-method.d.ts +1 -1
  553. package/dist/types/components/checkout/sezzle-payment-method.d.ts +1 -1
  554. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +7 -8
  555. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +1 -3
  556. package/dist/types/components/checkouts-list/checkouts-list-params-state.d.ts +5 -0
  557. package/dist/types/components/checkouts-list/checkouts-list.d.ts +2 -24
  558. package/dist/types/components/checkouts-list/checkouts-table.d.ts +6 -6
  559. package/dist/types/components/dispute-management/dispute-actions.d.ts +9 -0
  560. package/dist/types/components/dispute-management/dispute-management-core.d.ts +14 -3
  561. package/dist/types/components/dispute-management/dispute-management.d.ts +15 -0
  562. package/dist/types/components/dispute-management/dispute-notification.d.ts +9 -3
  563. package/dist/types/components/dispute-management/dispute-response/additional-statement.d.ts +17 -0
  564. package/dist/types/components/dispute-management/dispute-response/cancellation-policy.d.ts +15 -0
  565. package/dist/types/components/dispute-management/dispute-response/customer-details.d.ts +15 -0
  566. package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +40 -0
  567. package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +46 -0
  568. package/dist/types/components/dispute-management/dispute-response/dispute-response-form-types.d.ts +20 -0
  569. package/dist/types/components/dispute-management/dispute-response/dispute-response.d.ts +35 -0
  570. package/dist/types/components/dispute-management/dispute-response/duplicate-charge.d.ts +15 -0
  571. package/dist/types/components/dispute-management/dispute-response/electronic-evidence.d.ts +15 -0
  572. package/dist/types/components/dispute-management/dispute-response/product-or-service.d.ts +15 -0
  573. package/dist/types/components/dispute-management/dispute-response/refund-policy.d.ts +15 -0
  574. package/dist/types/components/dispute-management/dispute-response/schemas/additional-statement-schema.d.ts +6 -0
  575. package/dist/types/components/dispute-management/dispute-response/schemas/cancellation-policy-schema.d.ts +8 -0
  576. package/dist/types/components/dispute-management/dispute-response/schemas/customer-details-schema.d.ts +10 -0
  577. package/dist/types/components/dispute-management/dispute-response/schemas/dispute-reason-schema.d.ts +6 -0
  578. package/dist/types/components/dispute-management/dispute-response/schemas/duplicate-charge-schema.d.ts +8 -0
  579. package/dist/types/components/dispute-management/dispute-response/schemas/electronic-evidence-schema.d.ts +6 -0
  580. package/dist/types/components/dispute-management/dispute-response/schemas/product-or-service-schema.d.ts +8 -0
  581. package/dist/types/components/dispute-management/dispute-response/schemas/refund-policy-schema.d.ts +8 -0
  582. package/dist/types/components/dispute-management/dispute-response/schemas/shipping-details-schema.d.ts +12 -0
  583. package/dist/types/components/dispute-management/dispute-response/shipping-details.d.ts +15 -0
  584. package/dist/types/components/dispute-management/event-types.d.ts +18 -0
  585. package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +2 -2
  586. package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +3 -3
  587. package/dist/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +4 -4
  588. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  589. package/dist/types/components/payment-details/payment-details-core.d.ts +2 -2
  590. package/dist/types/components/payment-details/payment-details.d.ts +2 -25
  591. package/dist/types/components/payments-list/payments-list-core.d.ts +6 -7
  592. package/dist/types/components/payments-list/payments-list-filters.d.ts +1 -4
  593. package/dist/types/components/payments-list/payments-list-params-state.d.ts +5 -0
  594. package/dist/types/components/payments-list/payments-list.d.ts +2 -24
  595. package/dist/types/components/payments-list/payments-table.d.ts +7 -7
  596. package/dist/types/components/payout-details/payout-details-core.d.ts +2 -2
  597. package/dist/types/components/payout-details/payout-details.d.ts +3 -3
  598. package/dist/types/components/payouts-list/payouts-list-core.d.ts +7 -8
  599. package/dist/types/components/payouts-list/payouts-list-filters.d.ts +0 -3
  600. package/dist/types/components/payouts-list/payouts-list-params-state.d.ts +5 -0
  601. package/dist/types/components/payouts-list/payouts-list.d.ts +2 -24
  602. package/dist/types/components/payouts-list/payouts-table.d.ts +9 -9
  603. package/dist/types/components/terminals-list/terminals-list-core.d.ts +7 -8
  604. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -4
  605. package/dist/types/components/terminals-list/terminals-list-params-state.d.ts +5 -0
  606. package/dist/types/components/terminals-list/terminals-list.d.ts +2 -24
  607. package/dist/types/components/terminals-list/terminals-table.d.ts +4 -4
  608. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -5
  609. package/dist/types/components.d.ts +465 -1338
  610. package/dist/types/styles/parts.d.ts +58 -0
  611. package/dist/types/ui-components/details/utils.d.ts +0 -1
  612. package/dist/types/ui-components/filters/table-filters-menu.d.ts +1 -0
  613. package/dist/types/ui-components/form/form-control-checkbox.d.ts +3 -3
  614. package/dist/types/ui-components/form/form-control-date.d.ts +2 -0
  615. package/dist/types/ui-components/form/form-control-file-v2.d.ts +15 -0
  616. package/dist/types/ui-components/form/form-control-file.d.ts +2 -0
  617. package/dist/types/ui-components/form/form-control-monetary.d.ts +2 -0
  618. package/dist/types/ui-components/form/form-control-number-masked.d.ts +2 -0
  619. package/dist/types/ui-components/form/form-control-number.d.ts +2 -0
  620. package/dist/types/ui-components/form/form-control-radio.d.ts +6 -7
  621. package/dist/types/ui-components/form/form-control-select.d.ts +2 -0
  622. package/dist/types/ui-components/form/form-control-text.d.ts +2 -0
  623. package/dist/types/ui-components/form/form-control-textarea.d.ts +2 -0
  624. package/dist/types/ui-components/form/form-helpers/form-control-error-text.d.ts +4 -0
  625. package/dist/types/ui-components/form/form-helpers/form-control-help-text.d.ts +4 -0
  626. package/dist/types/ui-components/form/form.d.ts +1 -1
  627. package/dist/types/ui-components/form/hidden-input.d.ts +11 -0
  628. package/dist/types/ui-components/form/iframe-input-styles-state.d.ts +3 -0
  629. package/dist/types/ui-components/form/iframe-input.d.ts +21 -0
  630. package/dist/types/ui-components/headers/header-1.d.ts +6 -0
  631. package/dist/types/ui-components/headers/header-2.d.ts +6 -0
  632. package/dist/types/ui-components/headers/header-3.d.ts +6 -0
  633. package/dist/types/ui-components/index.d.ts +6 -0
  634. package/dist/types/ui-components/skeleton.d.ts +1 -2
  635. package/dist/types/ui-components/spinner.d.ts +2 -0
  636. package/dist/types/ui-components/table/event-types.d.ts +5 -0
  637. package/dist/types/utils/utils.d.ts +3 -2
  638. package/dist/webcomponents/p-0201ec6c.entry.js +1 -0
  639. package/dist/webcomponents/p-02a0b21e.js +1 -0
  640. package/dist/webcomponents/p-08b8d1f0.entry.js +1 -0
  641. package/dist/webcomponents/p-0aa63869.entry.js +1 -0
  642. package/dist/webcomponents/p-0cc6c539.js +1 -0
  643. package/dist/webcomponents/p-0ccbc022.entry.js +1 -0
  644. package/dist/webcomponents/{p-1815a43b.js → p-0ea387a2.js} +1 -1
  645. package/dist/webcomponents/p-0eb86b3f.entry.js +1 -0
  646. package/dist/webcomponents/p-16ba9bea.js +1 -0
  647. package/dist/webcomponents/p-174b151e.js +1 -0
  648. package/dist/webcomponents/p-1ce22da6.entry.js +1 -0
  649. package/dist/webcomponents/p-1dbae48b.entry.js +1 -0
  650. package/dist/webcomponents/p-22034555.entry.js +1 -0
  651. package/dist/webcomponents/p-275f2154.js +1 -0
  652. package/dist/webcomponents/p-2783e363.js +2 -0
  653. package/dist/webcomponents/p-2a6f8329.entry.js +1 -0
  654. package/dist/webcomponents/p-2ed8e8db.entry.js +1 -0
  655. package/dist/webcomponents/p-323ba4df.entry.js +1 -0
  656. package/dist/webcomponents/p-32a5bf4e.js +1 -0
  657. package/dist/webcomponents/p-34c14f59.js +1 -0
  658. package/dist/webcomponents/p-438df53f.entry.js +1 -0
  659. package/dist/webcomponents/p-4a576796.js +1 -0
  660. package/dist/webcomponents/p-4cc3c7f9.js +1 -0
  661. package/dist/webcomponents/p-4d916b2d.js +1 -0
  662. package/dist/webcomponents/p-4f569cbf.entry.js +1 -0
  663. package/dist/webcomponents/p-53cf5687.entry.js +1 -0
  664. package/dist/webcomponents/{p-544a4e7a.js → p-54d36e97.js} +1 -1
  665. package/dist/webcomponents/p-57281853.entry.js +1 -0
  666. package/dist/webcomponents/p-5844a0f0.js +1 -0
  667. package/dist/webcomponents/p-597bd1e1.entry.js +1 -0
  668. package/dist/webcomponents/p-5cb947bc.entry.js +1 -0
  669. package/dist/webcomponents/p-5d3f81c0.entry.js +1 -0
  670. package/dist/webcomponents/p-663a00cd.entry.js +1 -0
  671. package/dist/webcomponents/p-6677c60d.entry.js +1 -0
  672. package/dist/webcomponents/p-667ebd79.js +1 -0
  673. package/dist/webcomponents/p-66c63ef7.entry.js +1 -0
  674. package/dist/webcomponents/p-68694a17.entry.js +1 -0
  675. package/dist/webcomponents/p-6b840696.entry.js +1 -0
  676. package/dist/webcomponents/p-6fbd6abb.js +1 -0
  677. package/dist/webcomponents/p-6feeb9f2.js +1 -0
  678. package/dist/webcomponents/p-7216ef00.entry.js +1 -0
  679. package/dist/webcomponents/p-733dc19b.entry.js +1 -0
  680. package/dist/webcomponents/p-73a18b5a.entry.js +1 -0
  681. package/dist/webcomponents/p-73f9be7c.js +1 -0
  682. package/dist/webcomponents/{p-4cf7f4ae.js → p-79b7c30d.js} +1 -1
  683. package/dist/webcomponents/p-7a975a3c.js +1 -0
  684. package/dist/webcomponents/p-7b9f21cd.entry.js +1 -0
  685. package/dist/webcomponents/p-808bb677.entry.js +1 -0
  686. package/dist/webcomponents/p-8a550a5e.entry.js +1 -0
  687. package/dist/webcomponents/p-8a94d2c8.js +1 -0
  688. package/dist/webcomponents/p-8c7a81c1.js +1 -0
  689. package/dist/webcomponents/p-8da3667c.js +1 -0
  690. package/dist/webcomponents/p-90dc2f2c.js +1 -0
  691. package/dist/webcomponents/p-95e688bd.entry.js +1 -0
  692. package/dist/webcomponents/p-96ea95ce.entry.js +1 -0
  693. package/dist/webcomponents/p-99c92f1f.entry.js +1 -0
  694. package/dist/webcomponents/p-9c2e00cc.js +1 -0
  695. package/dist/webcomponents/p-9c652bc3.entry.js +1 -0
  696. package/dist/webcomponents/p-9e990e7d.entry.js +1 -0
  697. package/dist/webcomponents/p-9f773228.js +1 -0
  698. package/dist/webcomponents/p-a17be58e.entry.js +1 -0
  699. package/dist/webcomponents/p-a3949f32.js +1 -0
  700. package/dist/webcomponents/p-a41a1843.entry.js +1 -0
  701. package/dist/webcomponents/p-a520766d.entry.js +1 -0
  702. package/dist/webcomponents/p-abdbcd8e.js +1 -0
  703. package/dist/webcomponents/p-ac147eef.entry.js +1 -0
  704. package/dist/webcomponents/p-af620972.js +1 -0
  705. package/dist/webcomponents/{p-b0311e88.js → p-af834eb8.js} +1 -1
  706. package/dist/webcomponents/p-b056034f.entry.js +1 -0
  707. package/dist/webcomponents/p-b1d4e520.entry.js +1 -0
  708. package/dist/webcomponents/p-b392ec21.js +1 -0
  709. package/dist/webcomponents/p-bb61c6e0.js +1 -0
  710. package/dist/webcomponents/p-bfe9748b.js +1 -0
  711. package/dist/webcomponents/p-c092cbb2.js +1 -0
  712. package/dist/webcomponents/p-c2a2b9fe.entry.js +1 -0
  713. package/dist/webcomponents/p-c740f609.entry.js +1 -0
  714. package/dist/webcomponents/p-c9670f3c.entry.js +1 -0
  715. package/dist/webcomponents/{p-bc8205ec.js → p-cb00d4f3.js} +1 -1
  716. package/dist/webcomponents/{p-89f6691e.js → p-d1c93dd3.js} +1 -1
  717. package/dist/webcomponents/p-d53c5ea5.entry.js +1 -0
  718. package/dist/webcomponents/p-d67bb568.entry.js +1 -0
  719. package/dist/webcomponents/p-d75b52c8.entry.js +1 -0
  720. package/dist/webcomponents/p-d960db89.entry.js +1 -0
  721. package/dist/webcomponents/{p-c8243721.js → p-e19589a2.js} +1 -1
  722. package/dist/webcomponents/p-ecced6e5.entry.js +1 -0
  723. package/dist/webcomponents/p-ed8918d1.entry.js +1 -0
  724. package/dist/webcomponents/p-ee4a2aac.entry.js +1 -0
  725. package/dist/webcomponents/p-ef4c49b9.js +1 -0
  726. package/dist/webcomponents/p-f0f3442e.entry.js +1 -0
  727. package/dist/webcomponents/p-f20b6ce1.js +1 -0
  728. package/dist/webcomponents/{p-c13a7d10.js → p-f4722957.js} +1 -1
  729. package/dist/webcomponents/p-f88d5c0d.entry.js +1 -0
  730. package/dist/webcomponents/{p-628693c1.entry.js → p-f9fdcc1a.entry.js} +4 -4
  731. package/dist/webcomponents/p-fa2e3dc7.entry.js +1 -0
  732. package/dist/webcomponents/{p-ccbff4fa.entry.js → p-faa35b47.entry.js} +1 -1
  733. package/dist/webcomponents/p-fc3daedd.js +1 -0
  734. package/dist/webcomponents/webcomponents.esm.js +1 -1
  735. package/package.json +1 -1
  736. package/dist/cjs/business-form-types-719b7f52.js +0 -50
  737. package/dist/cjs/button-3f400a66.js +0 -26
  738. package/dist/cjs/check-pkg-version-fe8c72a9.js +0 -24
  739. package/dist/cjs/checkouts-list-filters.cjs.entry.js +0 -35
  740. package/dist/cjs/checkouts-table-00b6482f.js +0 -47
  741. package/dist/cjs/dispute-30c806f6.js +0 -10
  742. package/dist/cjs/exported-parts-a994d693.js +0 -9
  743. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +0 -641
  744. package/dist/cjs/form-control-error-text.cjs.entry.js +0 -21
  745. package/dist/cjs/form-control-textarea.cjs.entry.js +0 -49
  746. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +0 -173
  747. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -79
  748. package/dist/cjs/justifi-card-form.cjs.entry.js +0 -80
  749. package/dist/cjs/justifi-new-payment-method_5.cjs.entry.js +0 -320
  750. package/dist/cjs/justifi-payment-form.cjs.entry.js +0 -141
  751. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +0 -34
  752. package/dist/cjs/pagination-menu_2.cjs.entry.js +0 -54
  753. package/dist/cjs/payments-list-filters.cjs.entry.js +0 -40
  754. package/dist/cjs/payments-table-7087e771.js +0 -31
  755. package/dist/cjs/payouts-list-filters.cjs.entry.js +0 -24
  756. package/dist/cjs/payouts-table-4858eb84.js +0 -37
  757. package/dist/cjs/skeleton-748c5dde.js +0 -43
  758. package/dist/cjs/styled-host-1adf46c3.js +0 -14
  759. package/dist/cjs/terminals-list-filters.cjs.entry.js +0 -32
  760. package/dist/cjs/terminals-table-12410159.js +0 -32
  761. package/dist/cjs/utils-189dc30d.js +0 -35
  762. package/dist/cjs/utils-ba79e868.js +0 -37
  763. package/dist/collection/components/bank-account-form/bank-account-form.js +0 -281
  764. package/dist/collection/components/billing-form/billing-form.css +0 -51
  765. package/dist/collection/components/business-details/shared-business-details.css +0 -3
  766. package/dist/collection/components/business-forms/business-form/business-form.css +0 -121
  767. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.css +0 -18
  768. package/dist/collection/components/business-forms/utils/business-form-types.js +0 -48
  769. package/dist/collection/components/card-form/card-form.js +0 -300
  770. package/dist/collection/components/checkout/checkout-core.css +0 -110
  771. package/dist/collection/components/checkout/form-check-input.css +0 -20
  772. package/dist/collection/components/checkout/header.css +0 -4
  773. package/dist/collection/components/checkout/payment-method-options.css +0 -15
  774. package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +0 -8
  775. package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +0 -8
  776. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +0 -90
  777. package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +0 -8
  778. package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +0 -8
  779. package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +0 -8
  780. package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +0 -8
  781. package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +0 -16
  782. package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +0 -8
  783. package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +0 -12
  784. package/dist/collection/components/dispute-management/dispute.js +0 -8
  785. package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +0 -3
  786. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.css +0 -11
  787. package/dist/collection/components/payment-form/payment-form.css +0 -97
  788. package/dist/collection/components/payment-form/payment-form.js +0 -372
  789. package/dist/collection/components/payment-form/payment-method-selector.css +0 -39
  790. package/dist/collection/components/payment-form/payment-method-selector.js +0 -74
  791. package/dist/collection/components/payment-method-form/message-event-types.js +0 -16
  792. package/dist/collection/components/payment-method-form/payment-method-form.css +0 -13
  793. package/dist/collection/components/payment-method-form/payment-method-form.js +0 -298
  794. package/dist/collection/components/refund-form/refund-form.css +0 -59
  795. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +0 -9
  796. package/dist/collection/ui-components/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -52
  797. package/dist/collection/utils/get-computed-theme.js +0 -50
  798. package/dist/esm/business-form-types-8fd61b0e.js +0 -50
  799. package/dist/esm/button-34e75e0f.js +0 -24
  800. package/dist/esm/check-pkg-version-fbf01ce7.js +0 -22
  801. package/dist/esm/checkouts-list-filters.entry.js +0 -31
  802. package/dist/esm/checkouts-table-cd33b57c.js +0 -43
  803. package/dist/esm/dispute-4d2e0a04.js +0 -10
  804. package/dist/esm/exported-parts-70e7a12b.js +0 -7
  805. package/dist/esm/form-control-checkbox_9.entry.js +0 -629
  806. package/dist/esm/form-control-error-text.entry.js +0 -17
  807. package/dist/esm/form-control-textarea.entry.js +0 -45
  808. package/dist/esm/justifi-additional-statement_11.entry.js +0 -159
  809. package/dist/esm/justifi-bank-account-form.entry.js +0 -75
  810. package/dist/esm/justifi-card-form.entry.js +0 -76
  811. package/dist/esm/justifi-new-payment-method_5.entry.js +0 -312
  812. package/dist/esm/justifi-payment-form.entry.js +0 -137
  813. package/dist/esm/justifi-payment-method-selector.entry.js +0 -30
  814. package/dist/esm/pagination-menu_2.entry.js +0 -49
  815. package/dist/esm/payments-list-filters.entry.js +0 -36
  816. package/dist/esm/payments-table-bba91324.js +0 -27
  817. package/dist/esm/payouts-list-filters.entry.js +0 -20
  818. package/dist/esm/payouts-table-edff9bbe.js +0 -33
  819. package/dist/esm/skeleton-145a80d4.js +0 -41
  820. package/dist/esm/styled-host-e0ddb759.js +0 -12
  821. package/dist/esm/terminals-list-filters.entry.js +0 -28
  822. package/dist/esm/terminals-table-dc787616.js +0 -28
  823. package/dist/esm/utils-218275b7.js +0 -27
  824. package/dist/esm/utils-4006c425.js +0 -33
  825. package/dist/module/Analytics.js +0 -78
  826. package/dist/module/business-form-types.js +0 -50
  827. package/dist/module/checkouts-list-filters.d.ts +0 -11
  828. package/dist/module/checkouts-list-filters.js +0 -6
  829. package/dist/module/checkouts-list-filters2.js +0 -80
  830. package/dist/module/counter-dispute.js +0 -189
  831. package/dist/module/dispute-reason.js +0 -45
  832. package/dist/module/exported-parts.js +0 -7
  833. package/dist/module/form-control-error-text.d.ts +0 -11
  834. package/dist/module/form-control-error-text2.js +0 -35
  835. package/dist/module/justifi-bank-account-form.d.ts +0 -11
  836. package/dist/module/justifi-bank-account-form.js +0 -104
  837. package/dist/module/justifi-card-form.js +0 -106
  838. package/dist/module/justifi-counter-dispute.d.ts +0 -11
  839. package/dist/module/justifi-counter-dispute.js +0 -6
  840. package/dist/module/justifi-dispute-reason.d.ts +0 -11
  841. package/dist/module/justifi-dispute-reason.js +0 -6
  842. package/dist/module/justifi-payment-form.js +0 -216
  843. package/dist/module/justifi-payment-method-form.d.ts +0 -11
  844. package/dist/module/justifi-payment-method-form.js +0 -6
  845. package/dist/module/justifi-payment-method-selector.d.ts +0 -11
  846. package/dist/module/justifi-payment-method-selector.js +0 -6
  847. package/dist/module/payment-method-selector.js +0 -47
  848. package/dist/module/payments-list-filters.js +0 -6
  849. package/dist/module/payments-list-filters2.js +0 -97
  850. package/dist/module/payouts-list-filters.js +0 -6
  851. package/dist/module/payouts-list-filters2.js +0 -69
  852. package/dist/module/terminals-list-filters.d.ts +0 -11
  853. package/dist/module/terminals-list-filters.js +0 -6
  854. package/dist/module/utils5.js +0 -27
  855. package/dist/types/components/bank-account-form/bank-account-form.d.ts +0 -62
  856. package/dist/types/components/business-forms/utils/business-form-types.d.ts +0 -76
  857. package/dist/types/components/card-form/card-form.d.ts +0 -72
  858. package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +0 -3
  859. package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +0 -3
  860. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +0 -14
  861. package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +0 -3
  862. package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +0 -3
  863. package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +0 -3
  864. package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +0 -3
  865. package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +0 -4
  866. package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +0 -3
  867. package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +0 -3
  868. package/dist/types/components/dispute-management/dispute.d.ts +0 -7
  869. package/dist/types/components/payment-form/payment-form.d.ts +0 -36
  870. package/dist/types/components/payment-form/payment-method-selector.d.ts +0 -10
  871. package/dist/types/components/payment-form/tokenize.d.ts +0 -5
  872. package/dist/types/components/payment-method-form/message-event-types.d.ts +0 -16
  873. package/dist/types/components/payment-method-form/payment-method-form.d.ts +0 -25
  874. package/dist/types/ui-components/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -5
  875. package/dist/types/utils/get-computed-theme.d.ts +0 -3
  876. package/dist/webcomponents/p-08b0fb31.js +0 -1
  877. package/dist/webcomponents/p-0a963f7e.entry.js +0 -1
  878. package/dist/webcomponents/p-0d6ddff2.js +0 -1
  879. package/dist/webcomponents/p-0fbab710.entry.js +0 -1
  880. package/dist/webcomponents/p-2338affa.js +0 -1
  881. package/dist/webcomponents/p-25d2ed4c.js +0 -1
  882. package/dist/webcomponents/p-286b87ab.js +0 -1
  883. package/dist/webcomponents/p-28bd6dcd.js +0 -1
  884. package/dist/webcomponents/p-297faf3d.js +0 -1
  885. package/dist/webcomponents/p-29c8fa3d.entry.js +0 -1
  886. package/dist/webcomponents/p-2f422aad.entry.js +0 -1
  887. package/dist/webcomponents/p-3186d1fb.entry.js +0 -1
  888. package/dist/webcomponents/p-3bfb4f80.entry.js +0 -1
  889. package/dist/webcomponents/p-3c654c07.js +0 -1
  890. package/dist/webcomponents/p-3ed7fc42.entry.js +0 -1
  891. package/dist/webcomponents/p-404a847c.entry.js +0 -1
  892. package/dist/webcomponents/p-41c1c1f7.entry.js +0 -1
  893. package/dist/webcomponents/p-41c7ee13.entry.js +0 -1
  894. package/dist/webcomponents/p-420adedb.entry.js +0 -1
  895. package/dist/webcomponents/p-431d7a9e.entry.js +0 -1
  896. package/dist/webcomponents/p-448826a7.entry.js +0 -1
  897. package/dist/webcomponents/p-469804a9.entry.js +0 -1
  898. package/dist/webcomponents/p-486da67e.entry.js +0 -1
  899. package/dist/webcomponents/p-4a5e5574.entry.js +0 -1
  900. package/dist/webcomponents/p-52f9d8a0.entry.js +0 -1
  901. package/dist/webcomponents/p-54145a37.entry.js +0 -1
  902. package/dist/webcomponents/p-56d84fb3.entry.js +0 -1
  903. package/dist/webcomponents/p-57125bd1.js +0 -1
  904. package/dist/webcomponents/p-5e7c60d8.js +0 -1
  905. package/dist/webcomponents/p-5ec82df8.entry.js +0 -1
  906. package/dist/webcomponents/p-673cf8c4.js +0 -1
  907. package/dist/webcomponents/p-69527219.entry.js +0 -1
  908. package/dist/webcomponents/p-6cc30da2.js +0 -1
  909. package/dist/webcomponents/p-6d51aed8.entry.js +0 -1
  910. package/dist/webcomponents/p-72819173.entry.js +0 -1
  911. package/dist/webcomponents/p-74da98da.js +0 -1
  912. package/dist/webcomponents/p-8037704c.js +0 -1
  913. package/dist/webcomponents/p-91de21cc.js +0 -1
  914. package/dist/webcomponents/p-942be28b.entry.js +0 -1
  915. package/dist/webcomponents/p-95ec39f6.entry.js +0 -1
  916. package/dist/webcomponents/p-9690eca9.entry.js +0 -1
  917. package/dist/webcomponents/p-9c9c7dac.js +0 -1
  918. package/dist/webcomponents/p-a76ece26.js +0 -1
  919. package/dist/webcomponents/p-a7830e98.entry.js +0 -1
  920. package/dist/webcomponents/p-a8b4f429.js +0 -1
  921. package/dist/webcomponents/p-abe513e6.entry.js +0 -1
  922. package/dist/webcomponents/p-ada9ac19.entry.js +0 -1
  923. package/dist/webcomponents/p-b0dc68b3.entry.js +0 -1
  924. package/dist/webcomponents/p-b3cac576.entry.js +0 -1
  925. package/dist/webcomponents/p-b97233cc.entry.js +0 -1
  926. package/dist/webcomponents/p-bc1984ec.entry.js +0 -1
  927. package/dist/webcomponents/p-bfb990fc.entry.js +0 -1
  928. package/dist/webcomponents/p-c1bf9285.entry.js +0 -1
  929. package/dist/webcomponents/p-c3fb5d3a.entry.js +0 -1
  930. package/dist/webcomponents/p-c420cb7d.entry.js +0 -1
  931. package/dist/webcomponents/p-cd19c597.entry.js +0 -1
  932. package/dist/webcomponents/p-d1f75fa6.js +0 -1
  933. package/dist/webcomponents/p-d291dc4c.entry.js +0 -1
  934. package/dist/webcomponents/p-d2eb61e6.entry.js +0 -1
  935. package/dist/webcomponents/p-d516e700.js +0 -1
  936. package/dist/webcomponents/p-da176d01.entry.js +0 -1
  937. package/dist/webcomponents/p-dcb288a3.entry.js +0 -1
  938. package/dist/webcomponents/p-df3ca87f.entry.js +0 -1
  939. package/dist/webcomponents/p-df5a1202.entry.js +0 -1
  940. package/dist/webcomponents/p-e2ce097c.js +0 -1
  941. package/dist/webcomponents/p-e5790011.entry.js +0 -1
  942. package/dist/webcomponents/p-e69b2ff8.entry.js +0 -1
  943. package/dist/webcomponents/p-e8be1b55.entry.js +0 -1
  944. package/dist/webcomponents/p-e99957ff.entry.js +0 -1
  945. package/dist/webcomponents/p-eb9ba917.entry.js +0 -1
  946. package/dist/webcomponents/p-ed95feec.entry.js +0 -1
  947. package/dist/webcomponents/p-f28a4c03.entry.js +0 -1
  948. package/dist/webcomponents/p-f698d6d9.entry.js +0 -1
  949. package/dist/webcomponents/p-fad19d75.js +0 -2
  950. package/dist/webcomponents/p-fc6f697d.entry.js +0 -1
  951. package/dist/webcomponents/p-ffe27126.entry.js +0 -1
  952. package/dist/webcomponents/webcomponents.css +0 -6
  953. /package/dist/collection/{components/payment-form/tokenize.js → api/ComponentEvents.js} +0 -0
  954. /package/dist/collection/components/{payment-method-form → checkout}/payment-method-responses.js +0 -0
  955. /package/dist/types/components/{payment-method-form → checkout}/payment-method-responses.d.ts +0 -0
@@ -0,0 +1,481 @@
1
+ import { r as registerInstance, h, H as Host, c as createEvent } from './index-29fcfdf5.js';
2
+ import { i as iframeInputStylesSet } from './iframe-input-styles-state-ff730fe5.js';
3
+ import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, y as billingForm, z as radioListItem } from './parts-186d437f.js';
4
+ import { c as create$3, F as FormController } from './index.esm-0b6849c2.js';
5
+ import { u as identityNameValidation, l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation } from './schema-validations-c7d4f9df.js';
6
+ import { S as StateOptions } from './state-options-a356fb11.js';
7
+ import { n as numberOnlyHandler } from './utils-20cdf321.js';
8
+ import { c as config } from './config-27764a9d.js';
9
+ import { H as Header3 } from './header-3-a1c6d475.js';
10
+ import { a as PaymentMethodTypes } from './Payment-4f72d277.js';
11
+ import { j as snakeToCamel, b as formatCurrency } from './utils-54543523.js';
12
+ import './index-a47fdc7f.js';
13
+ import './business-form-options-018f62a5.js';
14
+ import './Business-29c69f22.js';
15
+ import './helpers-96ea3464.js';
16
+ import './Dispute-5fd28ec9.js';
17
+
18
+ const BankAccountForm = class {
19
+ constructor(hostRef) {
20
+ registerInstance(this, hostRef);
21
+ }
22
+ async validate() {
23
+ const accountNumberIsValid = await this.accountNumberIframeElement.validate();
24
+ const routingNumberIsValid = await this.routingNumberIframeElement.validate();
25
+ return accountNumberIsValid && routingNumberIsValid;
26
+ }
27
+ async tokenize(clientId, paymentMethodMetadata, account) {
28
+ return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
29
+ }
30
+ render() {
31
+ return (h(Host, { key: 'd0f0426565fedc6697eb46e6bc8d03d31eee9c37' }, h("div", { key: '6e792d5cba9421d7d106805d0e0e070ef5b116f9', class: "container-fluid p-0" }, h("div", { key: '89def9b854a7dc9a2e2fbb62d70bc6eaccfa6b0f', class: "row mb-3" }, h("iframe-input", { key: '2c0392ed840edb2364922c0d523f509ea84b3cd3', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${"https://components.justifi.ai/v1"}/accountNumber` })), h("div", { key: '6dbe7911ab8693a4850a60e2d86f4539382a341c', class: "row" }, h("iframe-input", { key: '042153db083d7fa8f4e6d2c5704054fbcf6c1af1', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${"https://components.justifi.ai/v1"}/routingNumber` })))));
32
+ }
33
+ };
34
+
35
+ const CardForm = class {
36
+ constructor(hostRef) {
37
+ registerInstance(this, hostRef);
38
+ }
39
+ async validate() {
40
+ const cardNumberIsValid = await this.cardNumberIframeElement.validate();
41
+ const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
42
+ const expirationYearIsValid = await this.expirationYearIframeElement.validate();
43
+ const cvvIsValid = await this.cvvIframeElement.validate();
44
+ return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
45
+ }
46
+ async tokenize(clientId, paymentMethodMetadata, account) {
47
+ return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
48
+ }
49
+ render() {
50
+ return (h(Host, { key: 'd667f365a95a2251fadffce158033ca8fcbc5723', class: "container-fluid p-0" }, h("div", { key: '43d8e15de893154c96b49ea1917046120daa8b2c', class: "mb-3" }, h("iframe-input", { key: 'c342a50a3194511edfbe6c1f1033bf47b743ddd6', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${"https://components.justifi.ai/v1"}/cardNumber` })), h("div", { key: '2fa70e85071ec6fe4525039de6215026795f71f4', class: "row" }, h("div", { key: 'e7dba59f040258e556664ccf84549edda8a1dd8d', class: "col-4 align-content-end" }, h("iframe-input", { key: '0c2c63ee318b0fc61ff704ffe02160aee252d281', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${"https://components.justifi.ai/v1"}/expirationMonth` })), h("div", { key: 'e211c9bc9cb15ea9571af7d965fcb1d6e4c5669d', class: "col-4 align-content-end" }, h("iframe-input", { key: 'd783cb0d28f1d08826e773efc14c2aa871905a83', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${"https://components.justifi.ai/v1"}/expirationYear` })), h("div", { key: '83af611f578e7db1984713047708e725c9c1c7b5', class: "col-4 align-content-end" }, h("iframe-input", { key: '1f53fce0b7856b8591f6454a549e123fa408be5f', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${"https://components.justifi.ai/v1"}/CVV` })))));
51
+ }
52
+ };
53
+
54
+ const HiddenInput = class {
55
+ constructor(hostRef) {
56
+ registerInstance(this, hostRef);
57
+ this.isFocused = false;
58
+ this.errorText = '';
59
+ }
60
+ async componentDidLoad() {
61
+ const fontStyles = await this.getBaseFontStyles();
62
+ iframeInputStylesSet('fontStyles', fontStyles);
63
+ const focusedStyles = await this.getFocusedStyles();
64
+ iframeInputStylesSet('focused', focusedStyles);
65
+ const focusedAndInvalidStyles = await this.getFocusedAndInvalidStyles();
66
+ iframeInputStylesSet('focusedAndInvalid', focusedAndInvalidStyles);
67
+ }
68
+ async getBaseFontStyles() {
69
+ return new Promise((resolve, _reject) => {
70
+ setTimeout(() => {
71
+ const computedStyles = getComputedStyle(this.hiddenInput);
72
+ const styles = {
73
+ fontFamily: computedStyles.fontFamily,
74
+ fontSize: computedStyles.fontSize,
75
+ fontWeight: computedStyles.fontWeight,
76
+ lineHeight: computedStyles.lineHeight,
77
+ margin: computedStyles.margin,
78
+ padding: computedStyles.padding,
79
+ color: computedStyles.color,
80
+ };
81
+ resolve(styles);
82
+ }, 500);
83
+ });
84
+ }
85
+ ;
86
+ async getFocusedStyles() {
87
+ return new Promise((resolve, _reject) => {
88
+ this.hiddenInput.focus();
89
+ setTimeout(() => {
90
+ this.hiddenInput.blur();
91
+ let computedStyles = getComputedStyle(this.hiddenInput);
92
+ resolve({
93
+ boxShadow: computedStyles.boxShadow,
94
+ border: computedStyles.border,
95
+ });
96
+ }, 500);
97
+ });
98
+ }
99
+ async getFocusedAndInvalidStyles() {
100
+ return new Promise((resolve, _reject) => {
101
+ this.hiddenInput.focus();
102
+ this.errorText = 'Error';
103
+ setTimeout(() => {
104
+ const computedStyles = getComputedStyle(this.hiddenInput);
105
+ const styles = {
106
+ boxShadow: computedStyles.boxShadow,
107
+ border: computedStyles.border,
108
+ };
109
+ this.hiddenInput.blur();
110
+ resolve(styles);
111
+ }, 500);
112
+ });
113
+ }
114
+ get part() {
115
+ if (this.isFocused && this.errorText) {
116
+ return inputInvalidAndFocused;
117
+ }
118
+ if (this.errorText) {
119
+ return inputInvalid;
120
+ }
121
+ if (this.isFocused) {
122
+ return inputFocused;
123
+ }
124
+ return input;
125
+ }
126
+ render() {
127
+ return (h(Host, { key: '61734f69c30d37c98e3896c8407225dbe49fe3a2' }, h("input", { key: 'eda00a901e028a09ccd793b1fbc4136a048a0aad', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
128
+ }
129
+ };
130
+
131
+ const BillingFormSchema = create$3({
132
+ name: identityNameValidation.required('Enter full name'),
133
+ address_line1: lineOneValidation.required('Enter street address'),
134
+ address_line2: lineTwoValidation.nullable(),
135
+ address_city: cityValidation.required('Enter city'),
136
+ address_state: stateValidation.required('Select state'),
137
+ address_postal_code: postalValidation.required('Enter postal code'),
138
+ });
139
+
140
+ const BillingForm = class {
141
+ constructor(hostRef) {
142
+ registerInstance(this, hostRef);
143
+ this.inputHandler = (name, value) => {
144
+ this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
145
+ };
146
+ this.legend = undefined;
147
+ this.formController = undefined;
148
+ this.billingInfo = undefined;
149
+ this.errors = {};
150
+ }
151
+ componentWillLoad() {
152
+ this.formController = new FormController(BillingFormSchema);
153
+ }
154
+ componentDidLoad() {
155
+ this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
156
+ this.formController.errors.subscribe(errors => {
157
+ this.errors = Object.assign({}, errors);
158
+ });
159
+ }
160
+ async getValues() {
161
+ return this.formController.values.getValue();
162
+ }
163
+ async fill(fields) {
164
+ this.formController.setInitialValues(fields);
165
+ }
166
+ async validate() {
167
+ let isValid = await this.formController.validate();
168
+ return { isValid: isValid };
169
+ }
170
+ render() {
171
+ const billingFormDefaultValue = this.formController.getInitialValues();
172
+ return (h(Host, { key: 'b3bb548839b39a87ad330b9048426baff317cae0' }, h("form", { key: '32e999825e5094e8e5399d46f67b67186f18d7b2' }, h("fieldset", { key: 'c8f13e2d392c45804bb51907a21ff80cb1148fd3' }, this.legend && h("legend", { key: 'c4117087a3391f8c28815069d832d6133459b250' }, this.legend), h("div", { key: '61d9de519f93d42bab36670108a6b923e30cff7f', class: "row gy-3" }, h("div", { key: '4753e297cbab92db6f073e9679ea9f3e9dacf432', class: "col-12" }, h("form-control-text", { key: '1f366def4cd8449cc242eb3bd71952a1548def08', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'c7efc6968d6f776be84ac16b56a785965a81501b', class: "col-12" }, h("form-control-text", { key: '789ca132aabfe42381ce55ec343494b9ac766e73', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'f750e3800a361e78c58a31091b8d07437fe7fdcf', class: "col-12" }, h("form-control-text", { key: '66e06c53dec8b254bf5f7b1d4029c17523f2ceb7', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '9868c2a9bcbed8c65ac8ca8d89ea2102fd0dd1c6', class: "col-12" }, h("form-control-text", { key: 'a637775b91a89fa32c54c97e6a97ec18b2e69024', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '274656a1a879790c99a684da3aa6070f473e2d0b', class: "col-12" }, h("form-control-select", { key: '5fca9ff62f2e2f26fc936474133dbdf24183e86d', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: 'e24b2e9961e1a464a1d99fa4982814e7d43c5a79', class: "col-12" }, h("form-control-text", { key: '1992d68c496b1331a0efbbbeb03153f9155a77d3', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
173
+ }
174
+ };
175
+
176
+ const PaymentMethodTypeLabels = {
177
+ bankAccount: 'New bank account',
178
+ card: 'New credit or debit card',
179
+ };
180
+ const NewPaymentMethod = class {
181
+ constructor(hostRef) {
182
+ registerInstance(this, hostRef);
183
+ this.paymentMethodOptionSelected = createEvent(this, "paymentMethodOptionSelected", 7);
184
+ this.onPaymentMethodOptionClick = (e) => {
185
+ e.preventDefault();
186
+ this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
187
+ };
188
+ this.iframeOrigin = config.iframeOrigin;
189
+ this.authToken = undefined;
190
+ this.accountId = undefined;
191
+ this.paymentMethodOption = undefined;
192
+ this.paymentMethodGroupId = undefined;
193
+ this.isSelected = undefined;
194
+ this.saveNewPaymentMethodChecked = false;
195
+ }
196
+ handleCheckboxChanged(event) {
197
+ this.saveNewPaymentMethodChecked = event.detail;
198
+ }
199
+ async fillBillingForm(fields) {
200
+ this.billingFormRef.fill(fields);
201
+ }
202
+ async resolvePaymentMethod(insuranceValidation) {
203
+ var _a, _b;
204
+ if (!this.paymentMethodFormRef || !this.billingFormRef)
205
+ return;
206
+ try {
207
+ const isValid = await this.validate();
208
+ if (!isValid || !insuranceValidation.isValid) {
209
+ return { validationError: true };
210
+ }
211
+ const tokenizeResponse = await this.tokenize();
212
+ if (tokenizeResponse.error) {
213
+ return { error: tokenizeResponse.error };
214
+ }
215
+ else {
216
+ const tokenizeRessponseData = tokenizeResponse.data;
217
+ return { token: ((_a = tokenizeRessponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeRessponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token) };
218
+ }
219
+ }
220
+ catch (error) {
221
+ return { error };
222
+ }
223
+ }
224
+ async validate() {
225
+ const billingFormValidation = await this.billingFormRef.validate();
226
+ const paymentMethodFormValidation = await this.paymentMethodFormRef.validate();
227
+ return billingFormValidation.isValid && paymentMethodFormValidation.isValid;
228
+ }
229
+ async tokenize() {
230
+ try {
231
+ const billingFormFieldValues = await this.billingFormRef.getValues();
232
+ let paymentMethodData;
233
+ if (this.saveNewPaymentMethodChecked) {
234
+ paymentMethodData = Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupId });
235
+ }
236
+ else {
237
+ paymentMethodData = Object.assign({}, billingFormFieldValues);
238
+ }
239
+ const clientId = this.authToken;
240
+ const tokenizeResponse = await this.paymentMethodFormRef.tokenize(clientId, paymentMethodData, this.accountId);
241
+ return tokenizeResponse;
242
+ }
243
+ catch (error) {
244
+ return error;
245
+ }
246
+ }
247
+ showNewPaymentMethodForm() {
248
+ var _a;
249
+ return (h("div", { class: "mt-4 pb-4 border-bottom" }, h("hidden-input", null), h("div", { class: "mb-4" }, ((_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id) === 'card' ? (h("card-form", { ref: (el) => this.paymentMethodFormRef = el })) : (h("bank-account-form", { ref: (el) => this.paymentMethodFormRef = el }))), h("div", { part: billingForm }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el) })), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupId })));
250
+ }
251
+ render() {
252
+ var _a, _b;
253
+ return (h(Host, { key: '4b6e52ca95845aa1c9163f4d3eafbfc98ca51deb', class: "payment-method" }, h("div", { key: 'd4aea7115ff71564a4d1e87a468174a29a040406', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '0204f84a72bb89e03772894f208895359370714b', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
254
+ }
255
+ };
256
+
257
+ class PaymentMethodOption {
258
+ constructor(paymentMethod) {
259
+ this.id = paymentMethod.id;
260
+ this.brand = paymentMethod.brand;
261
+ this.acct_last_four = paymentMethod.acct_last_four;
262
+ this.type = snakeToCamel(paymentMethod.type);
263
+ }
264
+ }
265
+ var CardBrandLabels;
266
+ (function (CardBrandLabels) {
267
+ CardBrandLabels["american_express"] = "American Express";
268
+ CardBrandLabels["diners_club"] = "Diners Club";
269
+ CardBrandLabels["discover"] = "Discover";
270
+ CardBrandLabels["jcb"] = "JCB";
271
+ CardBrandLabels["mastercard"] = "Mastercard";
272
+ CardBrandLabels["china_unionpay"] = "UnionPay";
273
+ CardBrandLabels["visa"] = "Visa";
274
+ CardBrandLabels["unknown"] = "Unknown";
275
+ })(CardBrandLabels || (CardBrandLabels = {}));
276
+
277
+ const PaymentMethodOptions = class {
278
+ constructor(hostRef) {
279
+ registerInstance(this, hostRef);
280
+ this.toggleCreatingNewPaymentMethod = createEvent(this, "toggleCreatingNewPaymentMethod", 7);
281
+ this.showCard = undefined;
282
+ this.showAch = undefined;
283
+ this.showBnpl = undefined;
284
+ this.showSavedPaymentMethods = undefined;
285
+ this.paymentMethodGroupId = undefined;
286
+ this.bnpl = undefined;
287
+ this.insuranceToggled = undefined;
288
+ this.authToken = undefined;
289
+ this.accountId = undefined;
290
+ this.iframeOrigin = config.iframeOrigin;
291
+ this.savedPaymentMethods = [];
292
+ this.paymentAmount = undefined;
293
+ this.selectedPaymentMethodId = undefined;
294
+ this.paymentMethodOptions = [];
295
+ }
296
+ async fillBillingForm(fields) {
297
+ const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
298
+ if (newPaymentMethodElement.fillBillingForm) {
299
+ newPaymentMethodElement.fillBillingForm(fields);
300
+ }
301
+ }
302
+ connectedCallback() {
303
+ this.paymentMethodsChanged();
304
+ }
305
+ paymentMethodsChanged() {
306
+ var _a, _b;
307
+ this.paymentMethodOptions = this.savedPaymentMethods
308
+ .map((paymentMethod) => new PaymentMethodOption(paymentMethod))
309
+ .filter((paymentMethod) => {
310
+ // Don't saved card or bank account if they are disabled
311
+ return ((this.showCard || paymentMethod.type !== PaymentMethodTypes.card) &&
312
+ (this.showAch || paymentMethod.type !== PaymentMethodTypes.bankAccount));
313
+ });
314
+ if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
315
+ this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.sezzle }));
316
+ }
317
+ if (this.showCard) {
318
+ this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.card }));
319
+ }
320
+ if (this.showAch) {
321
+ this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.bankAccount }));
322
+ }
323
+ if (!this.selectedPaymentMethodId) {
324
+ this.selectedPaymentMethodId = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
325
+ }
326
+ }
327
+ paymentMethodOptionSelected(event) {
328
+ this.selectedPaymentMethodId = event.detail.id;
329
+ }
330
+ async resolvePaymentMethod(insuranceValidation) {
331
+ var _a;
332
+ return await ((_a = this.selectedPaymentMethodOptionRef) === null || _a === void 0 ? void 0 : _a.resolvePaymentMethod(insuranceValidation));
333
+ }
334
+ render() {
335
+ var _a;
336
+ return (h(Host, { key: '3ab3caf94332163f031ecebe101d45c35e1416bd' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
337
+ const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
338
+ const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
339
+ const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
340
+ const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
341
+ if (newCard || newBankAccount) {
342
+ return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, paymentMethodGroupId: this.paymentMethodGroupId, ref: (el) => {
343
+ if (isSelected) {
344
+ this.selectedPaymentMethodOptionRef = el;
345
+ }
346
+ } }));
347
+ }
348
+ else if (sezzle) {
349
+ return (h("justifi-sezzle-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, paymentAmount: this.paymentAmount, bnpl: this.bnpl, ref: (el) => {
350
+ if (isSelected) {
351
+ this.selectedPaymentMethodOptionRef = el;
352
+ }
353
+ } }));
354
+ }
355
+ else if (this.showSavedPaymentMethods) {
356
+ return (h("justifi-saved-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, ref: (el) => {
357
+ if (isSelected) {
358
+ this.selectedPaymentMethodOptionRef = el;
359
+ }
360
+ } }));
361
+ }
362
+ })));
363
+ }
364
+ static get watchers() { return {
365
+ "savedPaymentMethods": ["paymentMethodsChanged"]
366
+ }; }
367
+ };
368
+
369
+ const SaveNewPaymentMethod = class {
370
+ constructor(hostRef) {
371
+ registerInstance(this, hostRef);
372
+ this.checkboxChanged = createEvent(this, "checkboxChanged", 7);
373
+ this.isChecked = false;
374
+ }
375
+ handleCheckboxChange(_name, value) {
376
+ this.isChecked = value;
377
+ this.checkboxChanged.emit(this.isChecked);
378
+ }
379
+ render() {
380
+ return (h("div", { key: '4b0ac5e02aa02214bf8ddd574db56eb9508b0607', class: "mt-4 form-check" }, h("form-control-checkbox", { key: 'bca05c6b8fa00dd7bbc34ee36ef6086ae1764b82', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange.bind(this) })));
381
+ }
382
+ };
383
+
384
+ const SavedPaymentMethod = class {
385
+ constructor(hostRef) {
386
+ registerInstance(this, hostRef);
387
+ this.paymentMethodOptionSelected = createEvent(this, "paymentMethodOptionSelected", 7);
388
+ this.onPaymentMethodOptionClick = (e) => {
389
+ e.preventDefault();
390
+ this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
391
+ };
392
+ this.iframeOrigin = config.iframeOrigin;
393
+ this.paymentMethodOption = undefined;
394
+ this.isSelected = undefined;
395
+ }
396
+ async resolvePaymentMethod(insuranceValidation) {
397
+ var _a;
398
+ if (!insuranceValidation.isValid) {
399
+ return { validationError: true };
400
+ }
401
+ return { token: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id };
402
+ }
403
+ ;
404
+ render() {
405
+ var _a, _b, _c;
406
+ return (h(Host, { key: '8e5a11a58cf828356df001461b6bb3163521f1ed', class: "payment-method" }, h("div", { key: 'c20a8a3dcea1f885b94c4829b85be8d6f401ad42', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '72b970f6808e9f938869195fa29217f44b44250e', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
407
+ }
408
+ };
409
+
410
+ const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
411
+ display: 'inline',
412
+ width: '80px',
413
+ marginLeft: '5px',
414
+ marginTop: '-5px',
415
+ } }));
416
+ const SezzlePaymentMethod = class {
417
+ constructor(hostRef) {
418
+ registerInstance(this, hostRef);
419
+ this.paymentMethodOptionSelected = createEvent(this, "paymentMethodOptionSelected", 7);
420
+ this.onPaymentMethodOptionClick = (e) => {
421
+ e.preventDefault();
422
+ this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
423
+ };
424
+ this.initializeSezzleCheckout = () => {
425
+ let resolveSezzlePromise;
426
+ this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
427
+ const bnpl = this.bnpl;
428
+ const amount = +this.paymentAmount; // convert to number
429
+ const Checkout = window.Checkout;
430
+ const checkout = new Checkout({
431
+ mode: 'popup',
432
+ publicKey: bnpl.provider_client_id,
433
+ apiMode: bnpl.provider_mode,
434
+ apiVersion: bnpl.provider_api_version,
435
+ });
436
+ checkout.sezzleButtonElement = this.sezzleButtonRef;
437
+ checkout.init({
438
+ onClick: function (event) {
439
+ event.preventDefault();
440
+ checkout.startCheckout({
441
+ checkout_url: bnpl.provider_checkout_url
442
+ });
443
+ },
444
+ onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
445
+ onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
446
+ onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
447
+ });
448
+ this.sezzleCheckout = checkout;
449
+ this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
450
+ };
451
+ this.iframeOrigin = config.iframeOrigin;
452
+ this.bnpl = undefined;
453
+ this.clientId = undefined;
454
+ this.accountId = undefined;
455
+ this.paymentMethodOption = undefined;
456
+ this.isSelected = undefined;
457
+ this.paymentAmount = undefined;
458
+ this.installmentPlan = undefined;
459
+ this.sezzleCheckout = undefined;
460
+ this.sezzlePromise = undefined;
461
+ }
462
+ componentDidRender() {
463
+ this.scriptRef.onload = () => {
464
+ this.sezzleButtonRef = document.createElement('button');
465
+ this.initializeSezzleCheckout();
466
+ };
467
+ }
468
+ async resolvePaymentMethod(insuranceValidation) {
469
+ if (!insuranceValidation.isValid) {
470
+ return { validationError: true };
471
+ }
472
+ this.sezzleButtonRef.click();
473
+ return this.sezzlePromise;
474
+ }
475
+ render() {
476
+ var _a, _b, _c;
477
+ return (h(Host, { key: 'bbe1a2f4a2418d8c9e946e15567f7df89ac06084', class: "payment-method" }, h("script", { key: 'a254fbb032a531a889d81297053be07001262706', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: '691439a9541b69f59fac8ed744d633a7cba69fbd', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '4f03055cf993502ff1999abfbd14aa5e6977b811', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
478
+ }
479
+ };
480
+
481
+ export { BankAccountForm as bank_account_form, CardForm as card_form, HiddenInput as hidden_input, BillingForm as justifi_billing_form, NewPaymentMethod as justifi_new_payment_method, PaymentMethodOptions as justifi_payment_method_options, SaveNewPaymentMethod as justifi_save_new_payment_method, SavedPaymentMethod as justifi_saved_payment_method, SezzlePaymentMethod as justifi_sezzle_payment_method };
@@ -1,5 +1,5 @@
1
- import { c as create$3 } from './index.esm-ed37201b.js';
2
- import { b as businessNameValidation, w as websiteUrlValidation, e as emailValidation, p as phoneValidation, d as doingBusinessAsValidation, a as businessClassificationValidation, i as industryValidation, t as taxIdValidation, c as dateOfIncorporationValidation, r as revenueValidation, f as paymentVolumeValidation, g as whenServiceReceivedValidation, h as recurringPaymentsValidation, j as recurringPaymentsPercentageValidation, s as seasonalBusinessValidation, o as otherPaymentDetailsValidation } from './schema-validations-93a9d504.js';
1
+ import { c as create$3 } from './index.esm-0b6849c2.js';
2
+ import { b as businessNameValidation, w as websiteUrlValidation, e as emailValidation, p as phoneValidation, d as doingBusinessAsValidation, a as businessClassificationValidation, i as industryValidation, t as taxIdValidation, c as dateOfIncorporationValidation, r as revenueValidation, f as paymentVolumeValidation, g as whenServiceReceivedValidation, h as recurringPaymentsValidation, j as recurringPaymentsPercentageValidation, s as seasonalBusinessValidation, o as otherPaymentDetailsValidation } from './schema-validations-c7d4f9df.js';
3
3
 
4
4
  const businessCoreInfoSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -1,6 +1,28 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
2
- import { L as LoadingState, E as ErrorState } from './utils-218275b7.js';
3
- import { S as StyledHost } from './styled-host-e0ddb759.js';
1
+ import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-29fcfdf5.js';
2
+ import { E as ErrorState } from './utils-d7633e66.js';
3
+ import { S as StyledHost } from './styled-host-32228b45.js';
4
+ import { S as Skeleton } from './skeleton-8f71cdf7.js';
5
+ import './parts-186d437f.js';
6
+
7
+ const BusinessDetailsLoading = () => {
8
+ const Block = () => (h("div", { class: "mt-5" },
9
+ h(Skeleton, { width: "40%", height: "1.5rem" }),
10
+ h("hr", null),
11
+ h("div", { class: "row g-3" },
12
+ h("div", { class: "col-12 col-md-6" },
13
+ h(Skeleton, null),
14
+ h(Skeleton, null),
15
+ h(Skeleton, null)),
16
+ h("div", { class: "col-12 col-md-6" },
17
+ h(Skeleton, null),
18
+ h(Skeleton, null),
19
+ h(Skeleton, null)))));
20
+ return (h(Fragment, null,
21
+ h(Block, null),
22
+ h(Block, null),
23
+ h(Block, null),
24
+ h(Block, null)));
25
+ };
4
26
 
5
27
  var RENDER_STATES;
6
28
  (function (RENDER_STATES) {
@@ -42,7 +64,7 @@ const BusinessDetailsCore = class {
42
64
  }
43
65
  render() {
44
66
  if (this.renderState === RENDER_STATES.LOADING) {
45
- return h(StyledHost, null, LoadingState());
67
+ return (h(StyledHost, null, h(BusinessDetailsLoading, null)));
46
68
  }
47
69
  if (this.renderState === RENDER_STATES.ERROR) {
48
70
  return h(StyledHost, null, ErrorState(this.errorMessage));
@@ -1,4 +1,4 @@
1
- import { a as BusinessClassification } from './Business-b73d5055.js';
1
+ import { b as BusinessClassification } from './Business-29c69f22.js';
2
2
 
3
3
  const businessClassificationOptions = [
4
4
  {
@@ -1,5 +1,5 @@
1
- import { c as create$3, a as create$6 } from './index.esm-ed37201b.js';
2
- import { l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation, u as identityNameValidation, v as identityTitleValidation, e as emailValidation, p as phoneValidation, x as dobValidation, y as ssnValidation } from './schema-validations-93a9d504.js';
1
+ import { c as create$3, a as create$6 } from './index.esm-0b6849c2.js';
2
+ import { l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation, u as identityNameValidation, v as identityTitleValidation, e as emailValidation, p as phoneValidation, x as dobValidation, y as ssnValidation } from './schema-validations-c7d4f9df.js';
3
3
 
4
4
  const addressSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -0,0 +1,18 @@
1
+ import { h } from './index-29fcfdf5.js';
2
+ import { f as buttonLoading, g as buttonPrimary, j as buttonSecondary } from './parts-186d437f.js';
3
+
4
+ const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
5
+ h("span", { class: "visually-hidden" }, "Loading...")));
6
+
7
+ const Button = (props, children) => {
8
+ const variantToButton = {
9
+ primary: buttonPrimary,
10
+ secondary: buttonSecondary,
11
+ };
12
+ const getCSSParts = () => {
13
+ return `${variantToButton[props.variant]} ${(props.isLoading) ? buttonLoading : ''}`;
14
+ };
15
+ return (h("button", Object.assign({ class: `btn btn-${props.variant}`, onClick: props.clickHandler, part: getCSSParts() }, props), props.isLoading ? ButtonSpinner() : children));
16
+ };
17
+
18
+ export { Button as B };
@@ -1,4 +1,4 @@
1
- import { p as packageJson } from './package-627f73c1.js';
1
+ import { p as packageJson } from './package-84f77b11.js';
2
2
  import { c as config } from './config-27764a9d.js';
3
3
  import { A as Api } from './Api-391d00e2.js';
4
4
 
@@ -46,7 +46,7 @@ class JustifiAnalytics {
46
46
  };
47
47
  }
48
48
  trackCustomEvents() {
49
- this.eventEmitters = ['submitted', 'error-event'];
49
+ this.eventEmitters = ['submit-event', 'error-event'];
50
50
  // for each event, add an event listener
51
51
  this.eventEmitters.forEach((eventName) => {
52
52
  // if this.componentInstance.addEventListener is a function add the event listener
@@ -75,4 +75,23 @@ class JustifiAnalytics {
75
75
  }
76
76
  }
77
77
 
78
- export { JustifiAnalytics as J };
78
+ const latestVersion = async (packageName) => {
79
+ const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
80
+ const json = await response.json();
81
+ return json.version;
82
+ };
83
+ const checkPkgVersion = async () => {
84
+ const version = packageJson.version;
85
+ const packageName = packageJson.name;
86
+ const latest = await latestVersion(packageName);
87
+ // remove rc from version and everything that comes after -rc
88
+ const latestNotRC = latest.replace(/-rc.*/, '');
89
+ // checkif there's a major version difference
90
+ const versionParts = version.split('.');
91
+ const latestParts = latest.split('.');
92
+ if (versionParts[0] !== latestParts[0]) {
93
+ console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
94
+ }
95
+ };
96
+
97
+ export { JustifiAnalytics as J, checkPkgVersion as c };
@@ -2,7 +2,7 @@ import { c as config } from './config-27764a9d.js';
2
2
  import { A as Api } from './Api-391d00e2.js';
3
3
  import './Checkout-0b4086f8.js';
4
4
  import './Pagination-afc8f96d.js';
5
- import './Payment-2a868d0c.js';
5
+ import './Payment-4f72d277.js';
6
6
  import './SubAccount-99a00594.js';
7
7
 
8
8
  class CheckoutService {