@justifi/webcomponents 5.3.6 → 5.4.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 (605) hide show
  1. package/dist/cjs/{Api-f5280a80.js → Api-83d93333.js} +2 -2
  2. package/dist/cjs/{Checkout-eef27045.js → Checkout-f10bed8c.js} +1 -1
  3. package/dist/cjs/{Payment-c47ed1e1.js → Payment-3f483b7a.js} +1 -1
  4. package/dist/cjs/{SubAccount-df3d28dc.js → SubAccount-a27d4e9f.js} +8 -6
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  6. package/dist/cjs/{badge-79e56b99.js → badge-364e6311.js} +1 -1
  7. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -11
  8. package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -16
  9. package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
  10. package/dist/cjs/{business-additional-questions-schema-5c100f58.js → business-additional-questions-schema-8568cb79.js} +2 -2
  11. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  12. package/dist/cjs/{business-identity-schema-3b4d16f1.js → business-identity-schema-518ab6eb.js} +2 -2
  13. package/dist/cjs/{business.service-776142b1.js → business.service-6e8a29a2.js} +3 -3
  14. package/dist/cjs/{button-797bb3cc.js → button-4a9fd41e.js} +1 -1
  15. package/dist/cjs/{check-pkg-version-1f8b660c.js → check-pkg-version-75cc34ca.js} +2 -2
  16. package/dist/cjs/{checkout.service-c01e2cd7.js → checkout.service-61616349.js} +4 -4
  17. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
  18. package/dist/cjs/{checkouts-table-61543249.js → checkouts-table-14fcebd0.js} +3 -3
  19. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
  20. package/dist/cjs/{dispute.service-399de502.js → dispute.service-b68fdcc4.js} +4 -4
  21. package/dist/cjs/{event-types-666f1f22.js → event-types-5a6ce2b0.js} +2 -2
  22. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  23. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  24. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  25. package/dist/cjs/{form-control-error-text-b782cdd0.js → form-control-error-text-3cff9b7b.js} +1 -1
  26. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  27. package/dist/cjs/{form-control-help-text-ca3c8155.js → form-control-help-text-94ffed2c.js} +1 -1
  28. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +85 -0
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +27 -40
  30. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  31. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  32. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  33. package/dist/cjs/{get-business-0bd063d2.js → get-business-d8f5db51.js} +2 -2
  34. package/dist/cjs/{get-payout-csv-11a983a0.js → get-payout-csv-f0c04d96.js} +4 -4
  35. package/dist/cjs/{get-subaccounts-224f9497.js → get-subaccounts-330a9e85.js} +4 -4
  36. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  37. package/dist/cjs/{header-1-ff669f3f.js → header-1-43b2b905.js} +1 -1
  38. package/dist/cjs/{header-3-f6642390.js → header-3-eb250a04.js} +1 -1
  39. package/dist/cjs/{index.esm-a397536a.js → index.esm-544c08fd.js} +0 -122
  40. package/dist/cjs/{insurance-state-66c9bea7.js → insurance-state-71f8b653.js} +1 -1
  41. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
  42. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +18 -18
  43. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  44. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -7
  45. package/dist/cjs/justifi-business-form.cjs.entry.js +15 -15
  46. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  47. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
  48. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -10
  49. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  50. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -13
  51. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  52. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  53. package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -9
  54. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -14
  55. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  56. package/dist/cjs/justifi-order-terminals.cjs.entry.js +22 -24
  57. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +10 -10
  58. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
  59. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  60. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  61. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  62. package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -13
  63. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
  64. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  65. package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -14
  66. package/dist/cjs/justifi-refund-payment.cjs.entry.js +122 -0
  67. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  68. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -8
  69. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +70 -0
  70. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -11
  71. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -6
  72. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -13
  73. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +10 -10
  74. package/dist/cjs/loader.cjs.js +1 -1
  75. package/dist/cjs/{package-d34fcfa5.js → package-459e93fd.js} +2 -2
  76. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  77. package/dist/cjs/{parts-1fb925c2.js → parts-5ca90f9a.js} +14 -0
  78. package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
  79. package/dist/cjs/{payment.service-f369b33c.js → payment.service-ff43bfc4.js} +4 -4
  80. package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
  81. package/dist/cjs/{payments-status-ffdc54ff.js → payments-status-075aad0a.js} +1 -1
  82. package/dist/cjs/{payments-table-98b4e5e3.js → payments-table-802d767d.js} +3 -3
  83. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  84. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
  85. package/dist/cjs/{payouts-status-64fd0c68.js → payouts-status-ced97c2b.js} +1 -1
  86. package/dist/cjs/{payouts-table-ecfb826b.js → payouts-table-194a4343.js} +3 -3
  87. package/dist/cjs/{schema-validations-47a256f4.js → schema-validations-a7cefbdf.js} +1 -1
  88. package/dist/cjs/{skeleton-2ae76f16.js → skeleton-e8aa41d0.js} +1 -1
  89. package/dist/cjs/{spinner-15764f3c.js → spinner-580453f2.js} +1 -1
  90. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  91. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +25 -11
  92. package/dist/cjs/terminal-orders-list-params-state-c419078f.js +22 -0
  93. package/dist/cjs/{terminal-orders-table-f1bed365.js → terminal-orders-table-4df19497.js} +3 -3
  94. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  95. package/dist/cjs/{terminal.service-4fd34835.js → terminal.service-56397d88.js} +6 -5
  96. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
  97. package/dist/cjs/{terminals-table-30298ce4.js → terminals-table-9b313566.js} +14 -2
  98. package/dist/cjs/{utils-337befa9.js → utils-54719fda.js} +8 -2
  99. package/dist/cjs/{utils-3e3b8061.js → utils-f8714daa.js} +1 -1
  100. package/dist/cjs/webcomponents.cjs.js +1 -1
  101. package/dist/collection/actions/business/get-business.js +2 -2
  102. package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
  103. package/dist/collection/actions/terminal/order-terminals.js +2 -2
  104. package/dist/collection/api/Api.js +2 -2
  105. package/dist/collection/api/Terminal.js +3 -1
  106. package/dist/collection/api/TerminalOrder.js +2 -2
  107. package/dist/collection/api/services/business.service.js +2 -2
  108. package/dist/collection/api/services/terminal.service.js +2 -1
  109. package/dist/collection/collection-manifest.json +7 -5
  110. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  111. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  112. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  113. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  114. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  115. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  116. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  117. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +1 -1
  119. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  122. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  123. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  125. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +255 -0
  128. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  129. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  130. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  131. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  132. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  133. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  134. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  135. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.js +6 -6
  136. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-schema.js +6 -2
  137. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.js +7 -7
  138. package/dist/collection/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.js +5 -5
  139. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  140. package/dist/collection/components/checkout/checkout-core.js +5 -5
  141. package/dist/collection/components/checkout/checkout.js +6 -6
  142. package/dist/collection/components/checkout/new-payment-method.js +5 -5
  143. package/dist/collection/components/checkout/payment-method-options.js +5 -5
  144. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  145. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  146. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  147. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  148. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  149. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  158. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  159. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  160. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  161. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  162. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  163. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  164. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  165. package/dist/collection/components/order-terminals/order-terminals.js +24 -8
  166. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  167. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  168. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  169. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  170. package/dist/collection/components/payments-list/payments-list.js +1 -1
  171. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  172. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  173. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  174. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  175. package/dist/collection/components/refund-payment/refund-payment-schema.js +16 -0
  176. package/dist/collection/components/{refund-form/refund-form.js → refund-payment/refund-payment.js} +26 -65
  177. package/dist/collection/components/refund-payment/refund-reason-options.js +19 -0
  178. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +15 -2
  179. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +141 -0
  180. package/dist/collection/components/terminal-orders-list/terminal-orders-list-params-state.js +14 -0
  181. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  182. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  183. package/dist/collection/components/terminals-list/terminals-list-filters.js +23 -3
  184. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  185. package/dist/collection/components/terminals-list/terminals-status.js +5 -0
  186. package/dist/collection/components/terminals-list/terminals-table.js +7 -0
  187. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -3
  188. package/dist/collection/styles/parts.js +8 -0
  189. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  190. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  191. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  192. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  194. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-monetary.js +72 -70
  196. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  197. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  198. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  199. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  200. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  201. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  202. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  203. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  204. package/dist/collection/{components → ui-components}/pagination-menu/pagination-menu.js +4 -4
  205. package/dist/collection/utils/utils.js +8 -2
  206. package/dist/docs.json +568 -143
  207. package/dist/esm/{Api-391d00e2.js → Api-52242eb0.js} +2 -2
  208. package/dist/esm/{Checkout-2bc873fb.js → Checkout-ba139944.js} +1 -1
  209. package/dist/esm/{Payment-82d2f453.js → Payment-39bfdd06.js} +1 -1
  210. package/dist/esm/{SubAccount-dbd4e50c.js → SubAccount-68403637.js} +7 -5
  211. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  212. package/dist/esm/{badge-6f5acf30.js → badge-1be14e8c.js} +1 -1
  213. package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
  214. package/dist/esm/bank-account-form_9.entry.js +16 -16
  215. package/dist/esm/billing-form_3.entry.js +11 -11
  216. package/dist/esm/{business-additional-questions-schema-df76728f.js → business-additional-questions-schema-56308a54.js} +2 -2
  217. package/dist/esm/business-details-core.entry.js +3 -3
  218. package/dist/esm/{business-identity-schema-0a78fc59.js → business-identity-schema-24fcc4ef.js} +2 -2
  219. package/dist/esm/{business.service-f7c3b9f7.js → business.service-999196a4.js} +3 -3
  220. package/dist/esm/{button-79dcea75.js → button-fcee4da7.js} +1 -1
  221. package/dist/esm/{check-pkg-version-8e7e585e.js → check-pkg-version-b4d631be.js} +2 -2
  222. package/dist/esm/{checkout.service-382a16ec.js → checkout.service-e59354cc.js} +4 -4
  223. package/dist/esm/checkouts-list-core.entry.js +10 -10
  224. package/dist/esm/{checkouts-table-8a53cef9.js → checkouts-table-58604210.js} +3 -3
  225. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
  226. package/dist/esm/{dispute.service-97887804.js → dispute.service-8312d46a.js} +4 -4
  227. package/dist/esm/{event-types-82515a49.js → event-types-1bc52f1f.js} +2 -2
  228. package/dist/esm/form-alert_5.entry.js +5 -5
  229. package/dist/esm/form-control-checkbox.entry.js +5 -5
  230. package/dist/esm/form-control-date.entry.js +4 -4
  231. package/dist/esm/{form-control-error-text-466c252b.js → form-control-error-text-176d20d8.js} +1 -1
  232. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  233. package/dist/esm/{form-control-help-text-242916e3.js → form-control-help-text-83764e14.js} +1 -1
  234. package/dist/esm/form-control-monetary-provisioning.entry.js +81 -0
  235. package/dist/esm/form-control-monetary.entry.js +27 -40
  236. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  237. package/dist/esm/form-control-number.entry.js +5 -5
  238. package/dist/esm/form-control-radio.entry.js +3 -3
  239. package/dist/esm/{get-business-464419f6.js → get-business-b7511690.js} +2 -2
  240. package/dist/esm/{get-payout-csv-6826271a.js → get-payout-csv-74397995.js} +4 -4
  241. package/dist/esm/{get-subaccounts-f21220dc.js → get-subaccounts-f8bd5c96.js} +4 -4
  242. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  243. package/dist/esm/{header-1-b43590e5.js → header-1-215a146f.js} +1 -1
  244. package/dist/esm/{header-3-b90e161e.js → header-3-afd16f23.js} +1 -1
  245. package/dist/esm/{index.esm-0b6849c2.js → index.esm-feedf26f.js} +1 -122
  246. package/dist/esm/{insurance-state-9e4a3359.js → insurance-state-d2df8e88.js} +1 -1
  247. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
  248. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +18 -18
  249. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  250. package/dist/esm/justifi-business-details.entry.js +7 -7
  251. package/dist/esm/justifi-business-form.entry.js +15 -15
  252. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  253. package/dist/esm/justifi-checkout-core.entry.js +8 -8
  254. package/dist/esm/justifi-checkout.entry.js +10 -10
  255. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
  256. package/dist/esm/justifi-checkouts-list.entry.js +13 -13
  257. package/dist/esm/justifi-details.entry.js +2 -2
  258. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  259. package/dist/esm/justifi-dispute-management.entry.js +9 -9
  260. package/dist/esm/justifi-dispute-notification_3.entry.js +14 -14
  261. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  262. package/dist/esm/justifi-order-terminals.entry.js +22 -24
  263. package/dist/esm/justifi-owner-form_3.entry.js +10 -10
  264. package/dist/esm/justifi-payment-details.entry.js +10 -10
  265. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  266. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  267. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  268. package/dist/esm/justifi-payments-list.entry.js +13 -13
  269. package/dist/esm/justifi-payout-details.entry.js +10 -10
  270. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  271. package/dist/esm/justifi-payouts-list.entry.js +14 -14
  272. package/dist/esm/justifi-refund-payment.entry.js +118 -0
  273. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  274. package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -8
  275. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +66 -0
  276. package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
  277. package/dist/esm/justifi-terminals-list-filters.entry.js +9 -6
  278. package/dist/esm/justifi-terminals-list.entry.js +13 -13
  279. package/dist/esm/justifi-tokenize-payment-method.entry.js +10 -10
  280. package/dist/esm/loader.js +1 -1
  281. package/dist/esm/{package-46c7f3a6.js → package-53180f2a.js} +2 -2
  282. package/dist/esm/pagination-menu.entry.js +1 -1
  283. package/dist/esm/{parts-2c5c609b.js → parts-fd740f54.js} +9 -1
  284. package/dist/esm/payment-details-core.entry.js +13 -13
  285. package/dist/esm/{payment.service-a8aa5be7.js → payment.service-b9ec64c9.js} +4 -4
  286. package/dist/esm/payments-list-core.entry.js +11 -11
  287. package/dist/esm/{payments-status-6e203ce4.js → payments-status-74d22728.js} +1 -1
  288. package/dist/esm/{payments-table-4c6093e1.js → payments-table-26054032.js} +3 -3
  289. package/dist/esm/payout-details-core.entry.js +8 -8
  290. package/dist/esm/payouts-list-core.entry.js +11 -11
  291. package/dist/esm/{payouts-status-66e830f1.js → payouts-status-29d31099.js} +1 -1
  292. package/dist/esm/{payouts-table-46fbedb6.js → payouts-table-7f31db9d.js} +3 -3
  293. package/dist/esm/{schema-validations-b1aec6a0.js → schema-validations-5af4266a.js} +1 -1
  294. package/dist/esm/{skeleton-122648e6.js → skeleton-ab3f676e.js} +1 -1
  295. package/dist/esm/{spinner-14cd9ac7.js → spinner-27479716.js} +1 -1
  296. package/dist/esm/table-filters-menu.entry.js +3 -3
  297. package/dist/esm/terminal-orders-list-core.entry.js +25 -11
  298. package/dist/esm/terminal-orders-list-params-state-8fec0a0b.js +16 -0
  299. package/dist/esm/{terminal-orders-table-83b905fd.js → terminal-orders-table-1f6156c9.js} +3 -3
  300. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  301. package/dist/esm/{terminal.service-20445fc1.js → terminal.service-fff19896.js} +6 -5
  302. package/dist/esm/terminals-list-core.entry.js +10 -10
  303. package/dist/esm/{terminals-table-dbbf9a99.js → terminals-table-7d54e359.js} +14 -2
  304. package/dist/esm/{utils-4cb0d852.js → utils-96d9c205.js} +1 -1
  305. package/dist/esm/{utils-c37124fc.js → utils-dc86cdde.js} +8 -3
  306. package/dist/esm/webcomponents.js +1 -1
  307. package/dist/module/Api.js +2 -2
  308. package/dist/module/SubAccount.js +6 -4
  309. package/dist/module/additional-questions.js +4 -4
  310. package/dist/module/additional-statement.js +1 -1
  311. package/dist/module/bank-account-document-inputs.js +1 -1
  312. package/dist/module/bank-account-form-inputs2.js +1 -1
  313. package/dist/module/bank-account-form2.js +2 -2
  314. package/dist/module/billing-form-wrapper.js +1 -1
  315. package/dist/module/billing-form2.js +3 -3
  316. package/dist/module/business-additional-questions-form-step-core.js +4 -4
  317. package/dist/module/business-additional-questions-form-step.js +4 -4
  318. package/dist/module/business-bank-account-form-step.js +1 -1
  319. package/dist/module/business-core-info-form-step.js +1 -1
  320. package/dist/module/business-core-info.js +1 -1
  321. package/dist/module/business-owners-form-step.js +1 -1
  322. package/dist/module/business-representative-form-inputs.js +1 -1
  323. package/dist/module/business-representative-form-step.js +1 -1
  324. package/dist/module/business-representative.js +1 -1
  325. package/dist/module/business-terms-conditions-form-step.js +1 -1
  326. package/dist/module/business.service.js +2 -2
  327. package/dist/module/cancellation-policy.js +1 -1
  328. package/dist/module/card-form2.js +2 -2
  329. package/dist/module/checkout-core.js +1 -1
  330. package/dist/module/checkouts-list-core2.js +1 -1
  331. package/dist/module/custom-popper2.js +2 -2
  332. package/dist/module/customer-details.js +1 -1
  333. package/dist/module/dispute-management-core.js +1 -1
  334. package/dist/module/dispute-notification.js +1 -1
  335. package/dist/module/dispute-response-core.js +1 -1
  336. package/dist/module/dispute-response.js +1 -1
  337. package/dist/module/duplicate-charge.js +1 -1
  338. package/dist/module/electronic-evidence.js +1 -1
  339. package/dist/module/form-control-checkbox2.js +2 -2
  340. package/dist/module/form-control-date2.js +2 -2
  341. package/dist/module/form-control-file-v22.js +1 -1
  342. package/dist/module/form-control-file2.js +2 -2
  343. package/dist/module/form-control-monetary-provisioning.d.ts +11 -0
  344. package/dist/module/form-control-monetary-provisioning.js +6 -0
  345. package/dist/module/form-control-monetary-provisioning2.js +109 -0
  346. package/dist/module/form-control-monetary2.js +30 -42
  347. package/dist/module/form-control-number-masked2.js +2 -2
  348. package/dist/module/form-control-number.js +2 -2
  349. package/dist/module/form-control-radio2.js +2 -2
  350. package/dist/module/form-control-select2.js +2 -2
  351. package/dist/module/form-control-text2.js +2 -2
  352. package/dist/module/form-control-textarea2.js +2 -2
  353. package/dist/module/form.js +1 -122
  354. package/dist/module/get-business.js +2 -2
  355. package/dist/module/gross-payment-chart-core2.js +1 -1
  356. package/dist/module/hidden-input2.js +1 -1
  357. package/dist/module/identity-address-form.js +1 -1
  358. package/dist/module/iframe-input2.js +3 -3
  359. package/dist/module/justifi-business-form.js +3 -3
  360. package/dist/module/justifi-checkout.js +2 -2
  361. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  362. package/dist/module/justifi-checkouts-list.js +1 -1
  363. package/dist/module/justifi-dispute-management.js +1 -1
  364. package/dist/module/justifi-order-terminals.js +11 -12
  365. package/dist/module/justifi-payment-provisioning.js +4 -4
  366. package/dist/module/justifi-payments-list-filters.js +2 -2
  367. package/dist/module/justifi-payments-list.js +1 -1
  368. package/dist/module/justifi-payouts-list-filters.js +2 -2
  369. package/dist/module/justifi-payouts-list.js +1 -1
  370. package/dist/module/justifi-refund-payment.d.ts +11 -0
  371. package/dist/module/justifi-refund-payment.js +180 -0
  372. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  373. package/dist/module/justifi-terminal-orders-list-filters.d.ts +11 -0
  374. package/dist/module/justifi-terminal-orders-list-filters.js +119 -0
  375. package/dist/module/justifi-terminal-orders-list.js +1 -1
  376. package/dist/module/justifi-terminals-list-filters.js +6 -2
  377. package/dist/module/justifi-terminals-list.js +2 -2
  378. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  379. package/dist/module/legal-address-form-step.js +1 -1
  380. package/dist/module/legal-address-form.js +1 -1
  381. package/dist/module/new-payment-method.js +1 -1
  382. package/dist/module/owner-form-core2.js +1 -1
  383. package/dist/module/owner-form-inputs2.js +1 -1
  384. package/dist/module/owner-form.js +1 -1
  385. package/dist/module/package.js +2 -2
  386. package/dist/module/parts.js +9 -1
  387. package/dist/module/payment-details-core2.js +7 -7
  388. package/dist/module/payment-method-options.js +1 -1
  389. package/dist/module/payment-provisioning-core.js +4 -4
  390. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  391. package/dist/module/payment-provisioning-form-steps.js +4 -4
  392. package/dist/module/payments-list-core2.js +1 -1
  393. package/dist/module/payout-details-core2.js +1 -1
  394. package/dist/module/payouts-list-core2.js +1 -1
  395. package/dist/module/postal-form2.js +1 -1
  396. package/dist/module/product-or-service.js +1 -1
  397. package/dist/module/refund-policy.js +1 -1
  398. package/dist/module/save-new-payment-method.js +1 -1
  399. package/dist/module/saved-payment-method.js +1 -1
  400. package/dist/module/sezzle-payment-method.js +1 -1
  401. package/dist/module/shipping-details.js +1 -1
  402. package/dist/module/table-filters-menu2.js +1 -1
  403. package/dist/module/terminal-orders-list-core2.js +15 -2
  404. package/dist/module/terminal-orders-list-params-state.js +16 -0
  405. package/dist/module/terminal-quantity-selector2.js +1 -1
  406. package/dist/module/terminal.service.js +2 -1
  407. package/dist/module/terminals-list-core2.js +13 -1
  408. package/dist/module/utils2.js +8 -3
  409. package/dist/types/actions/business/get-business.d.ts +2 -1
  410. package/dist/types/actions/terminal/get-terminal-models.d.ts +2 -1
  411. package/dist/types/actions/terminal/order-terminals.d.ts +2 -1
  412. package/dist/types/api/Api.d.ts +1 -1
  413. package/dist/types/api/Terminal.d.ts +8 -3
  414. package/dist/types/api/TerminalOrder.d.ts +9 -3
  415. package/dist/types/api/services/business.service.d.ts +1 -1
  416. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +24 -0
  417. package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.d.ts +1 -1
  418. package/dist/types/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.d.ts +1 -1
  419. package/dist/types/components/checkout/checkout-core.d.ts +1 -1
  420. package/dist/types/components/checkout/checkout.d.ts +1 -1
  421. package/dist/types/components/checkout/new-payment-method.d.ts +1 -1
  422. package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
  423. package/dist/types/components/order-terminals/order-terminals.d.ts +1 -1
  424. package/dist/types/components/refund-payment/refund-payment-schema.d.ts +11 -0
  425. package/dist/types/components/{refund-form/refund-form.d.ts → refund-payment/refund-payment.d.ts} +6 -13
  426. package/dist/types/components/refund-payment/refund-reason-options.d.ts +5 -0
  427. package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +1 -0
  428. package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +19 -0
  429. package/dist/types/components/terminal-orders-list/terminal-orders-list-params-state.d.ts +6 -0
  430. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -0
  431. package/dist/types/components/terminals-list/terminals-status.d.ts +2 -1
  432. package/dist/types/components/terminals-list/terminals-table.d.ts +6 -0
  433. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
  434. package/dist/types/components.d.ts +111 -53
  435. package/dist/types/styles/parts.d.ts +7 -0
  436. package/dist/types/ui-components/form/form-control-monetary.d.ts +9 -10
  437. package/dist/types/utils/utils.d.ts +2 -1
  438. package/dist/webcomponents/p-00ae938e.entry.js +1 -0
  439. package/dist/webcomponents/p-01033194.js +1 -0
  440. package/dist/webcomponents/p-0151a19f.entry.js +1 -0
  441. package/dist/webcomponents/{p-694078d2.js → p-03c2261c.js} +1 -1
  442. package/dist/webcomponents/{p-2ca5b5e4.js → p-08b64251.js} +1 -1
  443. package/dist/webcomponents/p-0b61d4d3.entry.js +1 -0
  444. package/dist/webcomponents/{p-547b51e9.js → p-12074378.js} +1 -1
  445. package/dist/webcomponents/p-142bfae3.js +1 -0
  446. package/dist/webcomponents/p-1aa973c4.entry.js +1 -0
  447. package/dist/webcomponents/p-2123c150.js +1 -0
  448. package/dist/webcomponents/p-23cd76af.entry.js +1 -0
  449. package/dist/webcomponents/{p-087758d3.js → p-26a2e837.js} +1 -1
  450. package/dist/webcomponents/p-27546fa9.entry.js +1 -0
  451. package/dist/webcomponents/p-275c3dc9.js +1 -0
  452. package/dist/webcomponents/p-2b8aaa7d.entry.js +1 -0
  453. package/dist/webcomponents/p-2c65389c.entry.js +1 -0
  454. package/dist/webcomponents/p-31dcaeaf.entry.js +1 -0
  455. package/dist/webcomponents/p-373a19fe.entry.js +1 -0
  456. package/dist/webcomponents/{p-3947a309.entry.js → p-375657fe.entry.js} +1 -1
  457. package/dist/webcomponents/{p-6ef3de11.entry.js → p-385d3637.entry.js} +1 -1
  458. package/dist/webcomponents/{p-f3061f2a.entry.js → p-38900c29.entry.js} +1 -1
  459. package/dist/webcomponents/{p-daf0303f.js → p-422948eb.js} +1 -1
  460. package/dist/webcomponents/{p-b92aac9b.entry.js → p-43e225d2.entry.js} +1 -1
  461. package/dist/webcomponents/{p-8c461ebc.entry.js → p-4484aa3b.entry.js} +1 -1
  462. package/dist/webcomponents/p-45f48dce.entry.js +1 -0
  463. package/dist/webcomponents/{p-9894484a.js → p-4e010557.js} +1 -1
  464. package/dist/webcomponents/p-4ef98c7a.js +1 -0
  465. package/dist/webcomponents/p-4fc263b2.js +1 -0
  466. package/dist/webcomponents/{p-4acf8ca2.js → p-537bce77.js} +1 -1
  467. package/dist/webcomponents/p-56c7fc8d.js +1 -0
  468. package/dist/webcomponents/{p-cd68707b.entry.js → p-58476602.entry.js} +1 -1
  469. package/dist/webcomponents/{p-71897cbc.js → p-58ee6ce9.js} +1 -1
  470. package/dist/webcomponents/p-59eef054.entry.js +1 -0
  471. package/dist/webcomponents/{p-2027145a.entry.js → p-5a9d7ca0.entry.js} +1 -1
  472. package/dist/webcomponents/{p-a173ccd5.entry.js → p-5ae9faf6.entry.js} +1 -1
  473. package/dist/webcomponents/p-5b459422.entry.js +1 -0
  474. package/dist/webcomponents/p-5b76dbe1.entry.js +1 -0
  475. package/dist/webcomponents/{p-046ecd01.js → p-5efe6236.js} +1 -1
  476. package/dist/webcomponents/{p-0e180654.js → p-5f6b4bc9.js} +1 -1
  477. package/dist/webcomponents/p-64443fc0.js +1 -0
  478. package/dist/webcomponents/p-673c1bca.js +1 -0
  479. package/dist/webcomponents/p-6c79e7c3.entry.js +1 -0
  480. package/dist/webcomponents/p-6d3611b6.entry.js +1 -0
  481. package/dist/webcomponents/{p-0cefd846.entry.js → p-745a577c.entry.js} +1 -1
  482. package/dist/webcomponents/p-76549a24.js +1 -0
  483. package/dist/webcomponents/{p-7ed52fbc.entry.js → p-7a6feb58.entry.js} +1 -1
  484. package/dist/webcomponents/p-80867635.entry.js +1 -0
  485. package/dist/webcomponents/p-86605101.js +1 -0
  486. package/dist/webcomponents/{p-8066b866.js → p-927cb6df.js} +1 -1
  487. package/dist/webcomponents/{p-030a8806.entry.js → p-92e96b57.entry.js} +1 -1
  488. package/dist/webcomponents/{p-8971f9da.entry.js → p-942d5e8f.entry.js} +1 -1
  489. package/dist/webcomponents/p-a1be025c.entry.js +1 -0
  490. package/dist/webcomponents/p-a3cced75.entry.js +1 -0
  491. package/dist/webcomponents/{p-c54f54ed.js → p-a5579f53.js} +1 -1
  492. package/dist/webcomponents/{p-fa987dcf.js → p-a5b52c1d.js} +1 -1
  493. package/dist/webcomponents/{p-0a60d356.entry.js → p-a5f5cc2e.entry.js} +1 -1
  494. package/dist/webcomponents/{p-b69beb1c.js → p-a99525c5.js} +1 -1
  495. package/dist/webcomponents/p-ac40e667.js +1 -0
  496. package/dist/webcomponents/p-adecb91a.entry.js +1 -0
  497. package/dist/webcomponents/p-ae891abb.entry.js +1 -0
  498. package/dist/webcomponents/p-ae9ef225.js +1 -0
  499. package/dist/webcomponents/p-b323bbde.entry.js +1 -0
  500. package/dist/webcomponents/p-ba6fd830.entry.js +1 -0
  501. package/dist/webcomponents/{p-e4514af8.entry.js → p-bae35151.entry.js} +1 -1
  502. package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
  503. package/dist/webcomponents/{p-69ac2640.entry.js → p-bdbbee07.entry.js} +1 -1
  504. package/dist/webcomponents/p-bdcf3a3c.entry.js +1 -0
  505. package/dist/webcomponents/p-beec0b60.js +1 -0
  506. package/dist/webcomponents/{p-95e55bb1.js → p-bf12999f.js} +1 -1
  507. package/dist/webcomponents/p-bf195b35.js +1 -0
  508. package/dist/webcomponents/{p-e60867c6.js → p-bfc2d88a.js} +1 -1
  509. package/dist/webcomponents/p-c4f8ed38.js +1 -0
  510. package/dist/webcomponents/{p-b5addd78.js → p-c8b78136.js} +1 -1
  511. package/dist/webcomponents/p-c8fa00fd.entry.js +1 -0
  512. package/dist/webcomponents/p-c93d643b.js +1 -0
  513. package/dist/webcomponents/p-cc2f75a3.entry.js +1 -0
  514. package/dist/webcomponents/p-ccb9ee53.js +1 -0
  515. package/dist/webcomponents/{p-ee9d433f.js → p-cd5883b9.js} +1 -1
  516. package/dist/webcomponents/p-cedad1b6.entry.js +1 -0
  517. package/dist/webcomponents/{p-8fad4359.entry.js → p-d70610de.entry.js} +1 -1
  518. package/dist/webcomponents/p-d757fcf5.js +1 -0
  519. package/dist/webcomponents/p-d7bf921d.entry.js +1 -0
  520. package/dist/webcomponents/{p-10a14943.entry.js → p-d903d838.entry.js} +1 -1
  521. package/dist/webcomponents/{p-5efe9572.entry.js → p-d9b5140e.entry.js} +1 -1
  522. package/dist/webcomponents/{p-fd4607f9.entry.js → p-d9dc15d4.entry.js} +1 -1
  523. package/dist/webcomponents/p-db973fa9.entry.js +1 -0
  524. package/dist/webcomponents/p-dbc1a95b.js +1 -0
  525. package/dist/webcomponents/{p-1e300d41.js → p-dbf21732.js} +1 -1
  526. package/dist/webcomponents/{p-e754d8e7.entry.js → p-ddb642a4.entry.js} +2 -2
  527. package/dist/webcomponents/p-df20bbb3.entry.js +1 -0
  528. package/dist/webcomponents/p-e9867f8b.entry.js +1 -0
  529. package/dist/webcomponents/p-ed9d22d5.entry.js +1 -0
  530. package/dist/webcomponents/p-ee539373.entry.js +1 -0
  531. package/dist/webcomponents/{p-685c7028.entry.js → p-f20466f7.entry.js} +1 -1
  532. package/dist/webcomponents/p-f247b169.entry.js +1 -0
  533. package/dist/webcomponents/p-f930504f.entry.js +1 -0
  534. package/dist/webcomponents/p-fc43d1c8.entry.js +1 -0
  535. package/dist/webcomponents/{p-e8fc36c1.entry.js → p-fca89e9b.entry.js} +1 -1
  536. package/dist/webcomponents/webcomponents.esm.js +1 -1
  537. package/package.json +2 -2
  538. package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
  539. package/dist/cjs/justifi-refund-form.cjs.entry.js +0 -106
  540. package/dist/collection/components/refund-form/refund-form-schema.js +0 -13
  541. package/dist/collection/components/refund-form/refund-form.stories.js +0 -109
  542. package/dist/esm/form-control-select_3.entry.js +0 -139
  543. package/dist/esm/justifi-refund-form.entry.js +0 -102
  544. package/dist/module/justifi-refund-form.d.ts +0 -11
  545. package/dist/module/justifi-refund-form.js +0 -153
  546. package/dist/types/components/refund-form/refund-form-schema.d.ts +0 -11
  547. package/dist/types/components/refund-form/refund-form.stories.d.ts +0 -27
  548. package/dist/webcomponents/p-0137575f.entry.js +0 -1
  549. package/dist/webcomponents/p-039a09b8.entry.js +0 -1
  550. package/dist/webcomponents/p-0ba77d53.entry.js +0 -1
  551. package/dist/webcomponents/p-0c22225c.entry.js +0 -1
  552. package/dist/webcomponents/p-10e32428.entry.js +0 -1
  553. package/dist/webcomponents/p-1705af62.js +0 -1
  554. package/dist/webcomponents/p-19b8c3c8.entry.js +0 -1
  555. package/dist/webcomponents/p-1a48d917.entry.js +0 -1
  556. package/dist/webcomponents/p-222fa126.entry.js +0 -1
  557. package/dist/webcomponents/p-33a17e80.entry.js +0 -1
  558. package/dist/webcomponents/p-34e18d17.entry.js +0 -1
  559. package/dist/webcomponents/p-36edba41.entry.js +0 -1
  560. package/dist/webcomponents/p-3732aa87.js +0 -1
  561. package/dist/webcomponents/p-382ab4e8.js +0 -1
  562. package/dist/webcomponents/p-3cbdca1b.js +0 -1
  563. package/dist/webcomponents/p-4d5c553d.entry.js +0 -1
  564. package/dist/webcomponents/p-5844a0f0.js +0 -1
  565. package/dist/webcomponents/p-5ee67fad.js +0 -1
  566. package/dist/webcomponents/p-638b91ff.entry.js +0 -1
  567. package/dist/webcomponents/p-6a2d6298.entry.js +0 -1
  568. package/dist/webcomponents/p-759f25a1.entry.js +0 -1
  569. package/dist/webcomponents/p-7dc9fb75.js +0 -1
  570. package/dist/webcomponents/p-7e93eac9.entry.js +0 -1
  571. package/dist/webcomponents/p-830f0971.entry.js +0 -1
  572. package/dist/webcomponents/p-833ef79e.entry.js +0 -1
  573. package/dist/webcomponents/p-9dc9aaba.js +0 -1
  574. package/dist/webcomponents/p-9f1a3199.js +0 -1
  575. package/dist/webcomponents/p-a07afdcc.entry.js +0 -1
  576. package/dist/webcomponents/p-a3d75257.js +0 -1
  577. package/dist/webcomponents/p-a957612b.entry.js +0 -1
  578. package/dist/webcomponents/p-aa21cdb1.entry.js +0 -1
  579. package/dist/webcomponents/p-aa923138.entry.js +0 -1
  580. package/dist/webcomponents/p-ad473d5c.entry.js +0 -1
  581. package/dist/webcomponents/p-b11468b5.entry.js +0 -1
  582. package/dist/webcomponents/p-b4ed5a2c.js +0 -1
  583. package/dist/webcomponents/p-b62403c2.entry.js +0 -1
  584. package/dist/webcomponents/p-b76f755a.entry.js +0 -1
  585. package/dist/webcomponents/p-b8ee505d.entry.js +0 -1
  586. package/dist/webcomponents/p-b92f125b.entry.js +0 -1
  587. package/dist/webcomponents/p-bd2340f7.entry.js +0 -1
  588. package/dist/webcomponents/p-bd2d9d29.entry.js +0 -1
  589. package/dist/webcomponents/p-bdf0ab42.js +0 -1
  590. package/dist/webcomponents/p-c406c0fa.js +0 -1
  591. package/dist/webcomponents/p-c5cc443e.entry.js +0 -1
  592. package/dist/webcomponents/p-d43a38a4.js +0 -1
  593. package/dist/webcomponents/p-d5a481e4.entry.js +0 -1
  594. package/dist/webcomponents/p-e366ef1e.js +0 -1
  595. package/dist/webcomponents/p-e400e31f.entry.js +0 -1
  596. package/dist/webcomponents/p-eb05bd1e.entry.js +0 -1
  597. package/dist/webcomponents/p-ede13cc8.js +0 -1
  598. package/dist/webcomponents/p-f04dbd80.entry.js +0 -1
  599. package/dist/webcomponents/p-f2111e68.js +0 -1
  600. package/dist/webcomponents/p-f30cb232.js +0 -1
  601. package/dist/webcomponents/p-fae67ab3.js +0 -1
  602. package/dist/webcomponents/p-ffd0c24b.entry.js +0 -1
  603. /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-schema.d.ts +0 -0
  604. /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.d.ts +0 -0
  605. /package/dist/types/{components → ui-components}/pagination-menu/pagination-menu.d.ts +0 -0
@@ -26,7 +26,7 @@ const RepresentativeFormInputs = /*@__PURE__*/ proxyCustomElement(class Represen
26
26
  }
27
27
  render() {
28
28
  var _a, _b, _c, _d, _e, _f, _g;
29
- return (h("form", { key: '96a926aefa6b30a3a1332198ffb2fcbb6316580c' }, h("fieldset", { key: '59a27475ed22d31dfdccf32ecf05e364bfc8deba' }, h("div", { key: '6dfde8190505808fc5101cf0832ec89785e3a73f', class: "d-flex align-items-center gap-2" }, h("legend", { key: '6342e6f1fb59e8e1e18bfff0dca55e0661f889a2', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: 'bf2f9a2ce23edb0363c074297600ee330a0143fb', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '5ab4405fdd5338b9f4f4e3b2672a3769ec7b97d9', class: "mt-2" }), h("div", { key: '2a3e3b458077f26b99c53be76970b735764ba12a', class: "row gy-3" }, h("div", { key: '03679420425d09f380589efbf7640b73c8ddaacb', class: "col-12 col-md-8" }, h("form-control-text", { key: '2ecbbc99442fa73dae73cd1cf398dbf425bf0e84', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'ff989b9f132092c028b096420314b0b67e1e94d7', class: "col-12 col-md-4" }, h("form-control-text", { key: 'f0df98d4ca3ed07e1e884df782ddf125321c0ca1', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: 'a9f9b6b5039a70ac8539605622cdbc574c01734f', class: "col-12 col-md-6" }, h("form-control-text", { key: '6e2736b9d35f9f15d6d4368a89b096bddd1e1b99', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '75e2f09476bfb82d695e41103337c2bfc64c85a3', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '8fdd1d70b62f92df2347df53494e194c22de9004', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'b670407555423c18879172d12761020b7d5cecbe', class: "col-12 col-md-4" }, h("form-control-date", { key: 'a5bca4384bbc736576147d811878ec02e1c27e10', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '414c906c37268aa87ae1cfe870d2d23fc4d6602e', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'ab0c71faa0f0982666164b63ec0612d1a82c3b7a', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: 'ea19a62d5ceddfdd297d042b0b49f711d164f06f', class: "col-12" }, h("justifi-identity-address-form", { key: '276a217bd4a538357971f3a2c5771ba45bef5b53', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
29
+ return (h("form", { key: '02b2888267736b1441b16e569a7d1ff3ab3e7e17' }, h("fieldset", { key: 'd5d4afd7df869b87272407d4e401ad802708c870' }, h("div", { key: '4e2113e9d7d16c6d2b50625dba3dfa82f7b04832', class: "d-flex align-items-center gap-2" }, h("legend", { key: '17ffa94355f1d89223c554f4fb80e38735681725', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '0df0655bc4e409ae53b93e40260486e4ff610410', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: 'bb67f7aafe877075d18ac9a7e8acaa94267035de', class: "mt-2" }), h("div", { key: 'aa5b5fb1913f64c54384d793beeb6dcd5728d10e', class: "row gy-3" }, h("div", { key: '6fe16958c76e589581bd099192fc6886f3e7eb6c', class: "col-12 col-md-8" }, h("form-control-text", { key: 'e0579c2e09c9be66b431174b6d79122349e4d859', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '98cfa2ab8e5537452ab0dae54ad95f1ac2a541f4', class: "col-12 col-md-4" }, h("form-control-text", { key: '55962d3f118bc0ffbbe1fbf62d8d6e15c0f04dfb', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: 'c8bb3ea449d7adcd0d897ee64a1383ff7639305d', class: "col-12 col-md-6" }, h("form-control-text", { key: 'df99114c3d94073a3a95b7ea2f326d27db1d4fa9', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '9fe7cce8fbaa975f2cb2f890ec60cc5696356014', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '236d3629a7d97feb7c7556b7e7ba83b0b45ca3db', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'cf99a0654ed61f599d5d854149e68abb9e52798f', class: "col-12 col-md-4" }, h("form-control-date", { key: '8bc17351844b590e16f34daaee6da1e67d433d44', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '563dd2be61ca9238c915298fb5db51dfca6468e3', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'a99b04783e2a7a439091aa79394e614d82293ac8', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: '4ae17d91e7428f54e07942a1429e554c6e7a37ac', class: "col-12" }, h("justifi-identity-address-form", { key: '8490e4d041ff22bcb481d553760ed6f34ca908aa', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
30
30
  }
31
31
  }, [0, "justifi-business-representative-form-inputs", {
32
32
  "representativeDefaultValue": [8, "representative-default-value"],
@@ -54,7 +54,7 @@ const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class Bu
54
54
  }
55
55
  }
56
56
  render() {
57
- return (h("justifi-business-representative-form-step-core", { key: '1a7dc9bc4901d5a2bb3da7a06c63952ee45b7843', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
57
+ return (h("justifi-business-representative-form-step-core", { key: '53c23a79fc8c678d98ca016f38fe7e6fe6ad9fba', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
58
58
  }
59
59
  static get watchers() { return {
60
60
  "authToken": ["propChanged"],
@@ -37,7 +37,7 @@ const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRe
37
37
  }
38
38
  render() {
39
39
  const representativeDefaultValue = this.formController.getInitialValues().representative;
40
- return (h(Host, { key: 'f6ec629438bef335e9a3e04fccc0223f7bafbc26' }, h("fieldset", { key: '82eac6e79e74cbcc76438fe3180ef1af9ae467ac' }, h("legend", { key: '31ca1bf5cc4e8eea0c28a690b28637dcd42ffa58', part: heading2 }, "Representative"), h("div", { key: 'f9e554f72dfd3f0dec491158ad83dd47baf6d6cc', class: "row gy-3" }, h("div", { key: '79350e59178a94a5af9dbacf13ed6b20fdde8d73', class: "col-12 col-md-8" }, h("form-control-text", { key: '78ce85dafde41cd8343898baa4ab802ce2f2d166', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '0b145987fc92bce37bcf3543b544754ed77db31e', class: "col-12 col-md-4" }, h("form-control-text", { key: '7d49c2ee8b342ca631cf55f57f529a77bd7c6e3f', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: 'a5c758e42bfed677f38b18298e550d1cbb753f3d', class: "col-12 col-md-6" }, h("form-control-text", { key: '5e0e9672443f2b1a7b0b63b95d007c29eae0c64d', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '32d63091cdc630f5d0908ff17f0cea17685ecb64', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '975381119e6dc8de8caf969c432ab498b600c156', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '86095ab1f1152242fcd68ad153e38b1d7f1ee98f', class: "col-12 col-md-4" }, h("form-control-date", { key: '361690e38df5bfe260bfaa200856f6e41c0c624c', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: 'b0a24f235e569fe65b518871fe90f3202a4c9666', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '54edaef9d4fed9e5dc2f6743e8168cda6e01c717', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: 'efa8fb991a119b6640d876f48cca69fc19d19301', class: "col-12" }, h("justifi-identity-address-form", { key: '50b7dcee0b96a38de05d04fbae8b986bb755c888', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
40
+ return (h(Host, { key: 'eb9c09602a11107abc465463bf7e7cdbeb98cede' }, h("fieldset", { key: '1f2a035f9796c29269a7dcd7ca874c73ed6493bb' }, h("legend", { key: '1aeaba7f119f15e1ffa75cd58d77608fe51a60c8', part: heading2 }, "Representative"), h("div", { key: '5d09c634135046c79b4ac80b5c1cfee9fbd26ce0', class: "row gy-3" }, h("div", { key: '6f03250bf88cc79ff07a1de68fef97a41a376aec', class: "col-12 col-md-8" }, h("form-control-text", { key: 'd6696ab573a305e277db56a578eaeb3fc4adf9ff', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'fd6ddc83d99b4f86f29566077249a23724741438', class: "col-12 col-md-4" }, h("form-control-text", { key: '632b12a09042ffdaf85d2fafecfab1736bbc8d36', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '65842c9cb8c616806631bd1d2902342cebf5326e', class: "col-12 col-md-6" }, h("form-control-text", { key: '8e1f64cc7f97e4b337dfcda6494fca5750656130', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'e050604c8d71e1d07f916822fbb73da4c3f5e034', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'a5bba8b362ce6070efc65e88ee80880ce855e624', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'dcbd23ab368e630ebaea9e8bdbb6985a98d5fbeb', class: "col-12 col-md-4" }, h("form-control-date", { key: '05e0e255549ad8f0760102aab5cbfe444cae5996', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: '764595ed842fd09221ef71d5c921a9ebe947556d', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '91761e52dd724a27e135a3db8b7c85643f7891d9', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: '4be6739744d6d9fcd060ed9d894502f35396a9a9', class: "col-12" }, h("justifi-identity-address-form", { key: '7c9d98057e908a068aa0783b10b2bd0f634d7ab9', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
41
41
  }
42
42
  }, [0, "justifi-business-representative", {
43
43
  "formController": [16],
@@ -139,7 +139,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
139
139
  return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
140
140
  }
141
141
  render() {
142
- return (h("form", { key: '37500e35233a820f521ee503fc638335a2f4866c' }, h("fieldset", { key: 'e2d1005578397a07b9e876c9a5996e515831c61b' }, h("legend", { key: '46918bc1bd20bb56d4e4882ae3ad9b29e3f6e319', part: heading2 }, "Terms and Conditions"), h("hr", { key: '904dc58480d9e879fcb462c861a3e398d4dd88b7' }), h("div", { key: 'aad73d0a9beddf3487a19bf2af65684309b411aa' }, h("p", { key: '10d9f2ff569e4426aaf1563a98838d89636029fd' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: 'dfb6de0078ebbbed103e7b901da879d5ee4195a4' }), h("div", { key: '4899d9b2a0c85e6d26bfd6e3d35ec1dd38f814e2', class: "row-gy-3" }, h("div", { key: '011ea552aa484fc1d6a159fb58a8fe7383887584', class: "col-12" }, h("form-control-checkbox", { key: '461b491715ed88e92795c7383af3e351e4d9d046', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
142
+ return (h("form", { key: '5d9a216a01873d989cb24057ad4c2411c1ba3654' }, h("fieldset", { key: '6de8bf419bf4bb246346edd04d6d3a195e50fe77' }, h("legend", { key: 'a2b33f3531d30ffd6df9d2b5c161ab3f1086c781', part: heading2 }, "Terms and Conditions"), h("hr", { key: '0346c558c6791e1e727579ab9fd5783c79c0c3fe' }), h("div", { key: '6de71742da5a7de4b4273b9e08cc314c8842c2cd' }, h("p", { key: 'cefd9dec798ce4bc1f5e56b33bf4a37fd4e79edf' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: 'bdac3db844cf98fe77e7599eb5176175f291b371' }), h("div", { key: '9a1ba461f721fa1c376a57964a1211abee7bd36e', class: "row-gy-3" }, h("div", { key: '208c201f35bf0179a5cc06efddbb7ba4a1c65e02', class: "col-12" }, h("form-control-checkbox", { key: '42e8a31b2694f39ca843dc8a865f0c0bad43547a', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
143
143
  }
144
144
  }, [0, "justifi-business-terms-conditions-form-step", {
145
145
  "authToken": [1, "auth-token"],
@@ -1,9 +1,9 @@
1
1
  import { A as Api } from './Api.js';
2
2
 
3
3
  class BusinessService {
4
- async fetchBusiness(businessId, authToken) {
4
+ async fetchBusiness(businessId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
5
5
  const endpoint = `entities/business/${businessId}`;
6
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
6
+ return Api({ authToken, apiOrigin }).get(endpoint);
7
7
  }
8
8
  async patchBusiness(authToken, businessId, payload) {
9
9
  const endpoint = `entities/business/${businessId}`;
@@ -41,7 +41,7 @@ const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPo
41
41
  }
42
42
  render() {
43
43
  var _a, _b, _c;
44
- return (h("div", { key: '6dc5100426e8e4124d19a375250f85f8e15b28d4' }, h("div", { key: 'fb950108be5fd4096a7717c88943938261787f99', class: "row gy-3" }, h("div", { key: '08f85a06288e19939a16d3fa52ef3b3199c56f36', class: "col-12" }, h("h2", { key: 'a585b93921814b1ffbb95c6f9c1de37d4104049b', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '3b7c620518006738d2e36863b62a72142f167733', class: "col-12" }, h("form-control-textarea", { key: '70a76160b0d29648a9e0598dd5b867a382935e03', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'e06d4c794bad47e366ca702e764307fdab5e33a8', class: "col-12" }, h("form-control-textarea", { key: '1b783920c5a5b94bff60d4b061cc7cc6666cc184', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '3cb3371c1d3727e55140ea60a0cff96bc0f42702', class: "col-12" }, h("form-control-file-v2", { key: '738a456bf4653240180963fa7e5ab20a7a4add7c', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
44
+ return (h("div", { key: '7b4cf555fd1fbfcc99aea27f60a507daa36f6ee6' }, h("div", { key: '0751a543b921a2fa8bb25e68e71c1cba6cc5229f', class: "row gy-3" }, h("div", { key: '9e4043494f5804e92af66b0f4595137f741e9556', class: "col-12" }, h("h2", { key: 'a078ec09adb7197ac0e5260ca220d868e746773c', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '814cacdfbc107e848dcf42bacb744f8b7819c248', class: "col-12" }, h("form-control-textarea", { key: 'aa867ea4cfc3d7c436e481a829a1ec779f3281d8', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'b8a6851094599ed3683f3c14f18305ff0a8ed557', class: "col-12" }, h("form-control-textarea", { key: '8292b5808ad9af2f36a4306cf0bd67b9183cc144', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: 'ee80c2f43bc56563221fcd892130c2ff6e492dcd', class: "col-12" }, h("form-control-file-v2", { key: '4ddc23ba32d324552c16fd20aff18e117cb22831', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
45
45
  }
46
46
  }, [0, "justifi-cancellation-policy", {
47
47
  "disputeResponse": [8, "dispute-response"],
@@ -55,10 +55,10 @@ const CardForm = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLEle
55
55
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: 'a97247efa8298a7e4c3498690974e482e36ae966' }, h(CardFormSkeleton, { key: '52f338782020b5926377c9968bb85364ad720c68', isReady: this.isReady }), h("div", { key: '7cb7e827c407a18e09c1e0c925896644032428b8', class: "container-fluid p-0", style: {
58
+ return (h(Host, { key: 'fdbbbe01ef33117408fd49e1b478a6c3f0be56a6' }, h(CardFormSkeleton, { key: '859d45e5e9aa80f999aeece561e7d7971289786b', isReady: this.isReady }), h("div", { key: '586ca0f390ed57f34432930298662d2f85341dfa', class: "container-fluid p-0", style: {
59
59
  opacity: this.isReady ? '1' : '0',
60
60
  height: this.isReady ? 'auto' : '0',
61
- } }, h("div", { key: '9a49fd64a1464ae0ae032883bd79c8a7e9c5d4b3', class: "mb-3" }, h("iframe-input", { key: '8778a816cbbd96f5b0c7e8f3364a704bd7aab2d8', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '53ab4f9f636acfa72744cd5d364a4ae3a3c732d4', class: "row" }, h("div", { key: '01aec684cab29a4aa24839acfc3ecc9e914c9911', class: "col-4 align-content-end" }, h("iframe-input", { key: '9c87ff44375de2d46028f2532a33856cf608c6a0', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'bc9176ebc7561c7cc0b654e837852a18c1b49f60', class: "col-4 align-content-end" }, h("iframe-input", { key: '5f6b133bc5ae94f912648d210a6e58dd4fe1e880', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '404c90decbac6b142b45c21a2997c0771bb59092', class: "col-4 align-content-end" }, h("iframe-input", { key: '1b9e89656a437b080fbf92b4ebd74772ae1f26f4', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
61
+ } }, h("div", { key: '61f374b426d49a29f16ca1d56d5d9e82e74f12aa', class: "mb-3" }, h("iframe-input", { key: '965ad04d1ea086a026917078f7e8fc7b24d2c02e', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '0485b76a5b5f2d524eb942a7a36e534953730a4e', class: "row" }, h("div", { key: '9ffbe45585e6989e096430310dd21d5e31f1aa2f', class: "col-4 align-content-end" }, h("iframe-input", { key: '5fc0327c43a2823245261391074aba703791ecc7', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '22090d11cf2e4f017db46a7d2525f65d1e85a469', class: "col-4 align-content-end" }, h("iframe-input", { key: 'a7b220a1081a241663b71619dad519611c2b98f5', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '9b6b26802c21b0b73fe71f251a584f33bed6179f', class: "col-4 align-content-end" }, h("iframe-input", { key: '59094373c4476437645d96779d65d5cea3f690d0', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
62
62
  }
63
63
  }, [0, "card-form", {
64
64
  "iframeOrigin": [1, "iframe-origin"],
@@ -153,7 +153,7 @@ const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends
153
153
  return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
154
154
  }
155
155
  render() {
156
- return (h(StyledHost, { key: '8f7bb796cec8a51b3a871ecc6f1d040636103503' }, h("div", { key: 'f616c1705dd8d9da854b496d5b028cebb4c88ce5', class: "row gy-3 jfi-checkout-core" }, h("div", { key: 'e374110371f020c9de996f4ca3932f7535e208ee', class: "col-12", part: checkoutSummary }, h(Header2, { key: 'aa9227b3ff49dc43c6a42d1988ec0669b298cef0', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'e8e9cddcc4cb11c6d7c020c1dc18d7b5bfe457c3', class: "col-12" }, h("slot", { key: '69e623e8c23aec6f49430b395f86d7134ceeddc9', name: "insurance" })), h("div", { key: 'fea072a50acb658433a36d8234b27c1fd8415dc4', class: "col-12 mt-4" }, h(Header2, { key: '9b0a5c9e5e7db31a6d6cfda87cad18786d638bd9', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '2eeae1935b2b238573be4bf1edfc5d80700d9c80', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '5c9fd0558a37ff903ec7137beeb3c49d406bcd1d', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '2538670c227dc2e96c43d878ae09357a72a7e267', class: "col-12" }, h("div", { key: 'b51e39da64972578815a2cf0cf5342d292edaa45', class: "d-flex justify-content-end" }, h(Button, { key: 'abcb099a4ad152a38d05d99781e02292efd246e0', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
156
+ return (h(StyledHost, { key: '5a3131312064d08358320f15562cd3130f125c4c' }, h("div", { key: 'a048e80b026c9cebbed53fac3acffb3db49599c2', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '2c99697464195f90d96cc58ad68d2fd6147b80b1', class: "col-12", part: checkoutSummary }, h(Header2, { key: '1b49acf33c004c11554825f5cb1341a3224c452c', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'f7513e8c9cb88f77cddae02c299e66435863ba72', class: "col-12" }, h("slot", { key: '0ae73bf9497ac5d458a816ede988f6176cdbc30f', name: "insurance" })), h("div", { key: '4395884ff39c9e2919af1cc8328a66aa409f5389', class: "col-12 mt-4" }, h(Header2, { key: '26b5631b8c3fc3f8bd2cf8c6b5fb14db49e5e187', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: 'abb63414930c847d1db7680e81bed30af974344a', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: 'fdbbbfa789f092d9f90ad15f755d529d399e2bc4', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: 'a0d8329b680e6a30da5d5a11b51e2e1018068674', class: "col-12" }, h("div", { key: '40f932b56cdd2e68bf2a1e023939d3ce7764eedb', class: "d-flex justify-content-end" }, h(Button, { key: 'c98e7e15f6258a700c3dc96003048f3b5c84e582', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
157
157
  }
158
158
  }, [1, "justifi-checkout-core", {
159
159
  "authToken": [1, "auth-token"],
@@ -182,7 +182,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
182
182
  return !this.showEmptyState && !this.showErrorState && !this.loading;
183
183
  }
184
184
  render() {
185
- return (h("div", { key: 'ae6d3dfefad89fcd28b2ad883a1d1172fffd2218' }, h("div", { key: '91329a7880cd774c71cf30722b7be49b8a0109e9', class: "table-wrapper" }, h("table", { key: '75f974cc2140089a7a42738ef0cd3bd67729ca8d', class: "table table-hover", part: table }, h("thead", { key: '6aaaee8db285ca1b94cea662f62a51040f2a0f06', class: "table-head sticky-top" }, h("tr", { key: '68215e0698b97a8389083a521bd8a493c410a196', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: 'b3aa9bd464fda772fae2e191e1cc4f4612bd514b', class: "table-body" }, h(TableLoadingState, { key: 'a874602fb597ee55def35b80474bd2228b918200', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8c30048e8766be8ca14fbbd6f990aac019904b26', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'c567bbca2ebbdc42dcfa6c07ae2c61b538643cb7', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: 'f02cd5b963f2c087b1a8ab60f25f6b1081e735aa', class: "sticky-bottom" }, h("tr", { key: 'a651ab932931db6a4ad42888a9b43e7b89a58495', class: "table-light align-middle" }, h("td", { key: '1fde503bccc4e79454d5786fac8f82bea67618e1', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '6237a008bc148f44aa7e159d530470c5114b32e4', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
185
+ return (h("div", { key: 'f94305b4a7c89d0d675e336eaac39c23328c9d98' }, h("div", { key: 'a43bbfee75303e2f88f6338933b0680e024d03fc', class: "table-wrapper" }, h("table", { key: 'd689db93b4d812c64eb074b0322e5ffc9087ec9f', class: "table table-hover", part: table }, h("thead", { key: '57f3a2e2f14af58787f9a68cbc12caf28834eea1', class: "table-head sticky-top" }, h("tr", { key: '7918b371db5dc1cd959e58a7be212faacc6e8f2c', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: '7ad39d5e2e91956d5c8bb7626e050ec5403c5aac', class: "table-body" }, h(TableLoadingState, { key: '327b6dc83a4937cae7e356185613006630b40884', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '559bf67b3fb6b959b0114a6e50a8b3ac00d518ac', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'f5e277558e63cdb335b52aaa162d7818850ca421', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '7f34a1d78f45d33f95a2c23904ac0741124b9316', class: "sticky-bottom" }, h("tr", { key: '4f91985c1ae00640ef3d29b20e9cb28240f36c21', class: "table-light align-middle" }, h("td", { key: '75d32d3c6ca4882d8e50e44a13a4081bac4c9515', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '81ec71b698e4ae3739440c7439125124f68086e0', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
186
186
  }
187
187
  static get watchers() { return {
188
188
  "pagingParams": ["updateOnPropChange"],
@@ -1876,7 +1876,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1876
1876
  this.hideEvent.emit();
1877
1877
  }
1878
1878
  render() {
1879
- return (h("div", { key: '4591c97abf65078bc67a82895364e4e3cf9e85d7' }, h("style", { key: 'bdedcb809a4197f8b40d2c37af00c8bb17028669' }, `
1879
+ return (h("div", { key: '8c840ff88bde2fd2cb7be39772e2b49699d32844' }, h("style", { key: 'b5b1bd1fa8b6f6c76723d014bf96e2ee09fe60f4' }, `
1880
1880
  .popper-content {
1881
1881
  display: none;
1882
1882
  }
@@ -1884,7 +1884,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1884
1884
  display: block;
1885
1885
  z-index: 1030;
1886
1886
  }
1887
- `), h("div", { key: '555995bdc16a697f7b38ba9113b8973b7dae1bbe', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'b71f5d424096805ed2d64ee20f30d63a9044c39c' }))));
1887
+ `), h("div", { key: '80b0e169b33d6679f372f0d34cd2320013485e10', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '4892f58a1fb5a98212f6b651f4cecc03ad7c84a2' }))));
1888
1888
  }
1889
1889
  }, [4, "custom-popper", {
1890
1890
  "placement": [1],
@@ -43,7 +43,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
43
43
  }
44
44
  render() {
45
45
  var _a, _b, _c, _d, _e;
46
- return (h("div", { key: '70e29d650d5304522f927c15b4eb5e62e203c5e0' }, h("div", { key: 'f50422b29cb2a4f3bca911ced94dc681adb3fc41', class: "row gy-3" }, h("div", { key: 'f29816d9281ea4c4db5018d3b7edb1600569357a', class: "col-12" }, h("h2", { key: 'a2889c95c293bf0bbf97c16e4486e307ca87729c', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '9cd45719434a1740f67b73c13fd08e0fe562168e', class: "col-12" }, h("form-control-text", { key: '5a30a3aef7fbe2d3013c46e43a437724dae41213', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '9812e1f9f6df949b9f15b2c3f28857db7dcf5cb7', class: "col-12" }, h("form-control-text", { key: '10b146053a399039e8dbd42c3cab53b4b55c0ec3', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '2742a0922a223bd60d6e3d08a55190742ecf5112', class: "col-12" }, h("form-control-textarea", { key: '41491e238c75716520d747cbf9f1bcc329a2d686', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '71074f31e565c24107b91b04d9aa16da77ba618c', class: "col-12" }, h("form-control-file-v2", { key: '17f70cf96927b01e65430e13c2d21209e9170603', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'ec696695191e68c7ceb0cc41f99f9e53f2d59da1', class: "col-12" }, h("form-control-file-v2", { key: '562ff8b3819f536d491f2e2e55a85a55fcda0e1c', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
46
+ return (h("div", { key: 'b7f6a56dd2c1ed9c489c9af51be7cc51645c798d' }, h("div", { key: 'a3c9a1fb87739dfb1c02ec651663ed27b75a3b39', class: "row gy-3" }, h("div", { key: 'b0a978ee641386f8bddf52787b39371a5279be68', class: "col-12" }, h("h2", { key: '51d722637868f1b380d7065edcc7ee8421eeeacc', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '5b4843b8391cf38b3322d9a4995d02cd81af95e2', class: "col-12" }, h("form-control-text", { key: '5c8725f1893aad3007552a72f928143b3a2cac57', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '20529807f6b93411a2dbcf6cf0894b084d2e854f', class: "col-12" }, h("form-control-text", { key: '22c89513e4744a745f91602a8311c64c9a7840ad', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '728c483456c7fd97d54368b9d0bf0a046ee1e169', class: "col-12" }, h("form-control-textarea", { key: '128222a80fd9e716dc20de70d3bf33b42fc147ab', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'e55c1e358c4fe57f118d13b07b6109a1d97d6c8b', class: "col-12" }, h("form-control-file-v2", { key: '00a057cfb9b9813004634dda61e047d5ac14e623', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '3389590c63a5d3044e2470d7243e67ef57697682', class: "col-12" }, h("form-control-file-v2", { key: '3eea18b33b3203e599bbf0ac94c687b2ecb321fa', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
47
47
  }
48
48
  }, [0, "justifi-customer-details", {
49
49
  "disputeResponse": [8, "dispute-response"],
@@ -72,7 +72,7 @@ const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeMana
72
72
  });
73
73
  }
74
74
  render() {
75
- return (h("div", { key: '5a8663529813801b730d449c835cfafb9924d860' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
75
+ return (h("div", { key: 'da2305d650756505b9b1920f95888425d3b8a63c' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
76
76
  }
77
77
  static get watchers() { return {
78
78
  "getDispute": ["updateOnPropChange"]
@@ -44,7 +44,7 @@ const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotifi
44
44
  }
45
45
  render() {
46
46
  var _a, _b, _c, _d, _e, _f, _g;
47
- return (h(StyledHost, { key: '77119b1227200909f4742e24df0a45e1f631c65c' }, this.isLoading && (h("div", { key: 'f0766ff057fb2f4b75b34c7d4a386bde43e49652', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'd7268194dea5ac2a3b87aea8e17573b4768e308f', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'f8863e45a917f56be302ca1b0b3d472119f6465c', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'c7b8c9c89d9488eea3be8ea0b4536f98a8151487', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '875fe7def317ce1c4547e04e83baf2b232209058', part: text }, h("h1", { key: '09646afc2aac3bf4ef9737bc12442660bbafb2dd', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '14224cffb16726eaa589118be954e0f844ffaee8' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '415028b91872a2391796872fdffdbee837a2a511', class: "h5" }, "Dispute details"), h("div", { key: 'c2b8c6be3132f98eb8c686ab88a5a6a68f92a60e', class: "d-table gap-2" }, h("div", { key: 'd11bd8b3bc680183e8bee40281cc2c294aedbd5a', class: "d-table-row gap-2" }, h("span", { key: 'd77796c0d2764329c3b482ae49ceb8b4cac03d37', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '716d8af2a250c3237af6e23b43bf50e032e9f203', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: 'daba4379197533d2a4b246e81139d81cd15761c6', class: "d-table-row gap-2" }, h("span", { key: 'a039fbf47aff16445e3411c33a7b53716c42866d', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '19087aba5c516d0c71e9f84e8b3323a044ae532a', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '68ef78b15627df3b22bcde4b90f7c216466e7468', class: "d-table-row gap-2" }, h("span", { key: '9463c281d76b5e201a55c2993253fc22d04168dc', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '5cffed27038f5571f37377c5023a88c8b7773a59', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: 'e856d924edac10116781425f6d7c4c8c6b26ced2', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '6d5278a91f79c2fe8fbdd9e391b109a6491b13b6', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '242b9076b482aae731ab6bedc1592a1a826e24c5', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'f3711546ce5bf8b6a4a8689f5db3fdbf58f45bf4' }, h("h1", { key: '06e39be43cfacf667919adbd2f4f8c596702c340', class: "h4" }, "This payment is disputed and under review"), h("p", { key: 'b3bfef2d40e197f8dc9df6f71d9f13017a4b923d' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '580144b1439d6e017726b9731b7bb15e71900092' }, h("h1", { key: '42d74d215d23409672449af86e25c945aac33ea1', class: "h4" }, "This payment was disputed"), h("p", { key: '4c337e89a32f62c8f03a53eb84737785f4b0bdb4' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '66c0f7bbada42053683dd25776a7c0abdb708315' }, h("h1", { key: '273f2d82dbe73a15da3186946763579be2801aa4', class: "h4" }, "This payment was disputed"), h("p", { key: '22172d1c6833eb5407c19dd31b85db805d07d177' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
47
+ return (h(StyledHost, { key: 'ad76721d05d9dcdfb643d865aec1a6f0684e1e05' }, this.isLoading && (h("div", { key: 'a8b8e850e168cba9281a6f6302aef53976027346', style: { marginBottom: '8px' } }, h(Skeleton, { key: '813563746b9f9b507b49762c9e1a1f006765345b', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '373c0596e6246860a17822eb5ec49f3ef9e37460', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '32f8083f0551fbea29de6ddbc847dc62fa0b0c48', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '9c032d9b8ea4b176f1fabfff45a2975ac9e6df17', part: text }, h("h1", { key: 'e1a906047a9c056138bb2bd69dddf2bbc54782c4', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '40d9d799d073318ba52a2c559c8119c64e9107aa' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: 'e2d3bc21f03cd47acc8feec8640410c1c74f9b58', class: "h5" }, "Dispute details"), h("div", { key: '3e3c440350a6dc86b42204a43f80fa700c1d06f0', class: "d-table gap-2" }, h("div", { key: '67b4dbf945dae00fe6e6144782c6c249cc032968', class: "d-table-row gap-2" }, h("span", { key: '6570c2fc92f6a526a6e2afee91fa1017f5ef3c9b', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '269f42e3737b419978fb35e741f34a751f0b0d9b', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: 'b498ff565dafbea3e3452d386883924bda431a96', class: "d-table-row gap-2" }, h("span", { key: 'afaecceeac44807453e1a99ffc0d8961022fd98f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '69b491d454f791d679528b77f9f75fc889add363', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '97515b0bd0dd113e31e6974c7e107af19eed2e73', class: "d-table-row gap-2" }, h("span", { key: 'e8a46a99bb2596d8aab980230088989c3a9455c4', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: 'aa5e2e6997bedfdbd31c2fe9ee540a4399e3a25e', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: '4e35b26867fdde02426bd047932ca854c05421b7', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '2881172b26ffb36321094ea2f8af7cc622678229', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'e57fca0b48327bb898ec19938498eb1c945bbb4d', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'c1f0a2f35d9640efdfd76b13d6969374169b2631' }, h("h1", { key: '800d59ebecc9f15890fe7f264a3b44910e322784', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '30a7d186c01e33f2a95b0cecb3a4a69b59d158e6' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '5d0fbdcc7a15817e1875d18a5f4d9cf982989ed1' }, h("h1", { key: 'b2814587c7bd46e28948346f5871456e6cc0589c', class: "h4" }, "This payment was disputed"), h("p", { key: 'bff6dbf512017e27b1fc6ea2a97b2dc47f4b2a65' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '548cf8e95c0933ec987862c162487abfd3c043bc' }, h("h1", { key: '46f96b5e6785b5a4398918c0e29302403a7194bd', class: "h4" }, "This payment was disputed"), h("p", { key: '71c3c1e1754cd0f0f042a6277ba93b2076cd7645' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
48
48
  }
49
49
  }, [1, "justifi-dispute-notification", {
50
50
  "dispute": [16],
@@ -182,7 +182,7 @@ const DisputeResponseCore = /*@__PURE__*/ proxyCustomElement(class DisputeRespon
182
182
  return this.currentStep === 0;
183
183
  }
184
184
  render() {
185
- return (h("div", { key: '452cfcf106f40c27f34df05ae2923c0909de9245', class: "row gy-3" }, h("div", { key: 'd9b608a8d880310b96e98cd4a00cabfcca77dc79', class: "col-12" }, h("h1", { key: '050aef1fa636d09880edc7d738d56eab2cf62e52', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '4e6094f9240d4db3d4bc03c59754ab3d04fed5bc', class: "col-12" }, this.currentStepComponent), h("div", { key: '9c1739bc4ed1a9104fd04531a11e02cbbb4f11cc', class: "col-12" }, h("div", { key: 'd37cda5a7689d8bf9263283eb24e1074ee3d97a0', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
185
+ return (h("div", { key: '1f44d3fa1d95758e9dc949bc9df9cb8def59aae5', class: "row gy-3" }, h("div", { key: '5245e71606a4f69a8978c27bf8d0a985ecf3b835', class: "col-12" }, h("h1", { key: 'e843ee37344171cb159fe83889ddc244487d49ed', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '7680b28f96255822f3048dc529bafa71cebf81cc', class: "col-12" }, this.currentStepComponent), h("div", { key: '3ce0c6ac049c64a3ed18e42dcc001dd1f62a5aed', class: "col-12" }, h("div", { key: '2192e17c236024e2c89ea361ac1a4e2b57c6b50e', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
186
186
  }
187
187
  }, [0, "justifi-dispute-response-core", {
188
188
  "updateDisputeResponse": [16],
@@ -79,7 +79,7 @@ const DisputeResponse = /*@__PURE__*/ proxyCustomElement(class DisputeResponse e
79
79
  }
80
80
  }
81
81
  render() {
82
- return (h(StyledHost, { key: '4c0cd0b8a082d9f2f4428868d88cbb9bde2a3a5d' }, h("justifi-dispute-response-core", { key: '58bbf7f5b2ce8efea0467efddfeffe3c752a3402', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
82
+ return (h(StyledHost, { key: '1a0ac889493d8008e9bd70e4c3aad9ea72d12453' }, h("justifi-dispute-response-core", { key: '82e11a3f0d14640beca1ebed72364662db3ffdbd', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
83
83
  }
84
84
  ;
85
85
  static get watchers() { return {
@@ -42,7 +42,7 @@ const DuplicateCharge = /*@__PURE__*/ proxyCustomElement(class DuplicateCharge e
42
42
  }
43
43
  render() {
44
44
  var _a, _b, _c;
45
- return (h("div", { key: '0b0d73b396b32f29fa389d3981d48c3f30f96fd7' }, h("div", { key: '2fd16a4cf964c863a59789a2be60d94b27a95de8', class: "row gy-3" }, h("div", { key: '48c15f7db3285caa9164d815615b82a84283fbfe', class: "col-12" }, h("h2", { key: '397b3026311bf57588b172146fc9822f99ede63e', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'c825b6efd428bee298b9b0ddf2265378cf999de9', class: "col-12" }, h("form-control-text", { key: 'b43283087a10826bf8e582a1e863ed4982b5c000', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '66d5cefa16c341f5c523eaa46de5c11f5b16e619', class: "col-12" }, h("form-control-textarea", { key: 'f83573136fc2ce108f186f9434f46a3f157bd102', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'cc47dc1d9dbac962d27494b5ff3fef572c98c7b4', class: "col-12" }, h("form-control-file-v2", { key: '3cf06b6d61edd6ac96d02b12639d040f698b2526', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
45
+ return (h("div", { key: 'eb4f8764416b3f82bb2ca4052816c55abf7a10e0' }, h("div", { key: '6e7c5c9e25cc508d253fb4506588670d5edb6d3a', class: "row gy-3" }, h("div", { key: '76afe1f271b1aeb530f8bfbadfa16b39833abff0', class: "col-12" }, h("h2", { key: '5e311a49194c20250ec12cf1872f46af1219627d', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '6e3a0d4e88f8464f1bdefb580626fd5d37af6c76', class: "col-12" }, h("form-control-text", { key: 'd5fd0e4706df1f246395ef0e1825b9c25456e713', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '01a17763a76e14e05ae84cbadd12f1eb7b8da4dc', class: "col-12" }, h("form-control-textarea", { key: '9dde7a1922f55d31b983626f1279a222c6dface6', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '736b812a5178f6340e981c98920849a39778b788', class: "col-12" }, h("form-control-file-v2", { key: '8df332685d9b4b23f48fae76b2d46c93e5ca3d40', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
46
46
  }
47
47
  }, [0, "justifi-duplicate-charge", {
48
48
  "disputeResponse": [8, "dispute-response"],
@@ -39,7 +39,7 @@ const ElectronicEvidence = /*@__PURE__*/ proxyCustomElement(class ElectronicEvid
39
39
  }
40
40
  render() {
41
41
  var _a, _b;
42
- return (h("div", { key: '1a4a1d78529c48b8f32029a3efa05b4430c6d271' }, h("div", { key: '593d167f4e6b610ac3cdb8a04b4eee30a1cb4f91', class: "row gy-3" }, h("div", { key: '39440c3a2802b823c85f251c4393ba76bad287c0', class: "col-12" }, h("h2", { key: 'f5ec8cce1bbadb772ac6dbe668cf54187d2690d7', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'b9020a773c45a8f59a31ffef44b32253fdb4a551', class: "col-12" }, h("form-control-text", { key: '56122eafb7f138f4472a5818cddd32cb0e17fc7e', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '0737f585271838dd60ab9ee1e6ac83d0c6362b96', class: "col-12" }, h("form-control-file-v2", { key: '63590d574ee151cbf82638002dfe513cea471035', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
42
+ return (h("div", { key: 'e6ddcb39f751386da5613108a8dde54a6f299a54' }, h("div", { key: '085db2253e1330617bd26326faa3fcf19c84b890', class: "row gy-3" }, h("div", { key: '5d0652116e282ed5e9cae11e1330f261652e9de4', class: "col-12" }, h("h2", { key: '5606230417d4cdb4218f6fb7af319712add4ecc7', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'ed8db92b69aca3c4661d1e84e07ecbbeb5b33b87', class: "col-12" }, h("form-control-text", { key: 'c7b4edb8172f30cd559544d1cb925861ae8fdcb2', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '077c0d5c6b5a7fd6fba2add6b6d4bfe50d3ae7d6', class: "col-12" }, h("form-control-file-v2", { key: 'ea44784a843b2d35b53caf0412a07056d68c11c3', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
43
43
  }
44
44
  }, [0, "justifi-electronic-evidence", {
45
45
  "disputeResponse": [8, "dispute-response"],
@@ -45,10 +45,10 @@ const CheckboxInput = /*@__PURE__*/ proxyCustomElement(class CheckboxInput exten
45
45
  return inputCheckbox;
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: 'd146f375ba008939c5e363b3efba27348d0bf257' }, h("div", { key: 'f4933418e2e9a5dcfbc787de2b677c1bcfa44b5e', class: 'form-group d-flex flex-column' }, h("div", { key: 'd62db927ea6b2f5be2bd1072218fda5bd2f433b6', class: "form-check" }, h("input", { key: 'a9e5db3a7f3db488315f30a0fda045eebb22ddc2', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
48
+ return (h(Host, { key: '3c0c0210457da250712c3eddf587ddb939b6cca7' }, h("div", { key: '9f73f8f1498d43cffc200ef326ead11bc5c2b8bd', class: 'form-group d-flex flex-column' }, h("div", { key: 'a126f90ae5ca483310593816dfed878582331395', class: "form-check" }, h("input", { key: '2c7243c56c3110e199fae658513cd2b1bde96678', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
49
49
  this.isFocused = false;
50
50
  this.formControlBlur.emit();
51
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '4cf2646f1be3744b7163e7c36a9dce11c99f95f6', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '875972d4db5afbc3b4043ca81f788701ce50dc31', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '94f31bd03af9ff027d75c3fab81dfc28aaae8ea8', errorText: this.errorText, name: this.name }))));
51
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '35d662a8e14e56514589fe7d08fae470896a6d65', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '80d0558981f8ed95746a7f8f3be319b4817a00c9', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'fbbda937fbf1144d5560b44719c251bdd56a6154', errorText: this.errorText, name: this.name }))));
52
52
  }
53
53
  }, [0, "form-control-checkbox", {
54
54
  "label": [1],
@@ -58,10 +58,10 @@ const DateInput = /*@__PURE__*/ proxyCustomElement(class DateInput extends HTMLE
58
58
  return part;
59
59
  }
60
60
  render() {
61
- return (h(Host, { key: '39efc4cf0cf20cd611c775f1e47ace6b445eab99' }, h("div", { key: '82de246b4d67f3c1a234987c3d9259e8ed7fb3e5', class: "form-group d-flex flex-column" }, h("div", { key: '033c637f965aa750c6130504f70f7fabb9d1a9da', class: "d-flex gap-2" }, h("label", { key: 'ce384aeee225254eac66cfcb6fbe8b6b5677cd5e', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'a8195ae52a1904bcdaa0ee082b77164bb399e5bc', helpText: this.helpText })), h("input", { key: '07bb64ebf4727c892bc5e873d6b8327cb0e89430', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
61
+ return (h(Host, { key: '0f6bd0cc62a7023483a304ff30b272f5110fd2d3' }, h("div", { key: '6ebf0fe799c7a1b74a6c875ca8bed386949fb2fe', class: "form-group d-flex flex-column" }, h("div", { key: '370b2fadb488a3cca203b8e7ab267ee629b70b8f', class: "d-flex gap-2" }, h("label", { key: '828fa9324aac9d218e1c857ce4fdc064dddc0b12', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '42adaa5e8c7b568284e5f3129ec7edc200047f73', helpText: this.helpText })), h("input", { key: '49ae4bd3455935d9ca459dfdb53d2bfd27201e60', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
62
62
  this.isFocused = false;
63
63
  this.formControlBlur.emit();
64
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '783b7b021819a5c26441a438be7b83dabb4cfce1', errorText: this.errorText, name: this.name }))));
64
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '81d1ecc4135b2f7a76e3c70d8dddc7539a7dd670', errorText: this.errorText, name: this.name }))));
65
65
  }
66
66
  static get watchers() { return {
67
67
  "defaultValue": ["handleDefaultValueChange"]
@@ -19,7 +19,7 @@ const FileInput = /*@__PURE__*/ proxyCustomElement(class FileInput extends HTMLE
19
19
  this.disabled = undefined;
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: '1350700239259ba82c0271b647d65771d7a7b8ff', exportparts: "label,input,input-invalid" }, h("div", { key: '5ffc38612a1323b6035679c338ba7fb5318abb82', class: "form-group d-flex flex-column" }, h("div", { key: 'f0bbea8568d6f30f78cc0f308685a1ac3478080c', class: "d-flex align-items-start gap-2" }, h("label", { key: '8e9202023854b1c882681666b1dd151790a9a970', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '1c984e6b3e1bdf4489dc40b5180c18ef21394d42', helpText: this.helpText })), h("input", { key: '9b848f2342852e6ad2fecd9d4c1fc183201c1233', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '80d3c4169b17ecb18dbe72127fef7a20ad4a8401', errorText: this.errorText, name: this.name }))));
22
+ return (h(Host, { key: '1671eaeeec71bcbcbd8898856f2d397a10abce97', exportparts: "label,input,input-invalid" }, h("div", { key: 'dca1e07456d2dc7f018fc25ccd2743ba87897fda', class: "form-group d-flex flex-column" }, h("div", { key: '5a8f2a9600f27a7554a8096977413263f8f7b942', class: "d-flex align-items-start gap-2" }, h("label", { key: '7ef6391bc3bd46d61463c37ccdfc27bc02027909', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'e1992a02fb94bdf71ad46fbf387bdcf0c5ca09b2', helpText: this.helpText })), h("input", { key: 'eb4e4bfcee93ca40c945db9c8d960b069b066645', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '125a576d63f4a3735397fe3b27cf2e258b86c073', errorText: this.errorText, name: this.name }))));
23
23
  }
24
24
  get el() { return this; }
25
25
  }, [0, "form-control-file-v2", {
@@ -56,10 +56,10 @@ const FileInput = /*@__PURE__*/ proxyCustomElement(class FileInput extends HTMLE
56
56
  return part;
57
57
  }
58
58
  render() {
59
- return (h(Host, { key: '459b414fc9afaa62d0160d32fecd5c63df91ec8a' }, h("div", { key: '7ad619feb3c181f49c56a36613e0379f39811ce8', class: "form-group d-flex flex-column" }, h("div", { key: '0314577aa1bd7b28405960156b80800c6fcbc560', class: "d-flex align-items-start gap-2" }, h("label", { key: '0745c59386189944bc564aa20c86a7f6e5be384d', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'e8fed0f244df3f854a1e9f8c1e0bab6f73371c4c', helpText: this.helpText })), h("input", { key: 'd03436b3841e8be14852fb156698441806658bf6', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
59
+ return (h(Host, { key: 'a70c3c2b62599cdedf34c837e29f53011e56e018' }, h("div", { key: 'ae42cd54552d7e2b95c619acf25c4b24a0c29dc9', class: "form-group d-flex flex-column" }, h("div", { key: '7b3b935921448a4e46d864dc933f5fd7c63ead93', class: "d-flex align-items-start gap-2" }, h("label", { key: '5f1e6608b4bed90aadbf8ee6c45d6f92fa40d429', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '831be18cf54359800498a91ff4d0f8111feb0603', helpText: this.helpText })), h("input", { key: '5541ad6ba3a84e1bced7b61429c93b1d3b3632df', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
60
60
  this.isFocused = false;
61
61
  this.formControlBlur.emit();
62
- } }), h(FormControlErrorText, { key: '2b3f070c8793027a9c64b2572c21d150ba387979', errorText: this.errorText, name: this.name }))));
62
+ } }), h(FormControlErrorText, { key: '7c93f4e7fc3354479bd688e9a386948dc3b349de', errorText: this.errorText, name: this.name }))));
63
63
  }
64
64
  get el() { return this; }
65
65
  }, [0, "form-control-file", {
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface FormControlMonetaryProvisioning extends Components.FormControlMonetaryProvisioning, HTMLElement {}
4
+ export const FormControlMonetaryProvisioning: {
5
+ prototype: FormControlMonetaryProvisioning;
6
+ new (): FormControlMonetaryProvisioning;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { M as MonetaryInputProvisioning, d as defineCustomElement$1 } from './form-control-monetary-provisioning2.js';
2
+
3
+ const FormControlMonetaryProvisioning = MonetaryInputProvisioning;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { FormControlMonetaryProvisioning, defineCustomElement };
@@ -0,0 +1,109 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { I as IMask } from './index3.js';
3
+ import { C as CURRENCY_MASK } from './form-input-masks.js';
4
+ import { l as label, t as text, N as inputGroup, b as inputInvalid, c as inputDisabled, d as inputFocused } from './parts.js';
5
+ import { F as FormControlHelpText } from './form-control-help-text2.js';
6
+ import { F as FormControlErrorText } from './form-control-error-text.js';
7
+ import './details.js';
8
+
9
+ const MonetaryInputProvisioning = /*@__PURE__*/ proxyCustomElement(class MonetaryInputProvisioning extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ this.__registerHost();
13
+ this.formControlInput = createEvent(this, "formControlInput", 7);
14
+ this.formControlBlur = createEvent(this, "formControlBlur", 7);
15
+ this.imask = null;
16
+ this.initializeIMask = () => {
17
+ if (!this.textInput)
18
+ return;
19
+ this.imask = IMask(this.textInput, this.maskOptions);
20
+ this.imask.on('accept', () => {
21
+ const rawValue = this.imask.unmaskedValue;
22
+ this.inputHandler(this.name, rawValue);
23
+ this.formControlInput.emit({ name: this.name, value: rawValue });
24
+ });
25
+ this.textInput.addEventListener('blur', () => this.formControlBlur.emit());
26
+ };
27
+ this.handleFormControlInput = (event) => {
28
+ const target = event.target;
29
+ const name = target.getAttribute('name');
30
+ const rawValue = this.imask.unmaskedValue;
31
+ this.formControlInput.emit({ name: name, value: rawValue });
32
+ };
33
+ this.updateInput = (newValue) => {
34
+ if (this.imask) {
35
+ this.imask.value = String(newValue);
36
+ }
37
+ };
38
+ this.isFocused = false;
39
+ this.label = undefined;
40
+ this.name = undefined;
41
+ this.helpText = undefined;
42
+ this.errorText = undefined;
43
+ this.defaultValue = undefined;
44
+ this.inputHandler = undefined;
45
+ this.maskOptions = CURRENCY_MASK.DECIMAL;
46
+ this.disabled = undefined;
47
+ }
48
+ handleDefaultValueChange(newValue) {
49
+ this.updateInput(newValue);
50
+ }
51
+ componentDidLoad() {
52
+ this.initializeIMask();
53
+ this.updateInput(this.defaultValue);
54
+ }
55
+ disconnectedCallback() {
56
+ var _a;
57
+ (_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
58
+ }
59
+ get part() {
60
+ let part = inputGroup;
61
+ if (this.errorText) {
62
+ part = inputInvalid;
63
+ }
64
+ if (this.disabled) {
65
+ part = inputDisabled;
66
+ }
67
+ if (this.isFocused) {
68
+ part = inputFocused;
69
+ }
70
+ return part;
71
+ }
72
+ render() {
73
+ return (h(Host, { key: '5383790c4e52c664e0146692c3773ac077443f89' }, h("div", { key: '3e58f5e707e80c93bf0400f43bd847bf93a90a12', class: "form-group d-flex flex-column" }, h("label", { key: 'cce6c16518524b02f9ccf05beea2ab034b609308', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '85d65b44095f1cc3d68f8ec400d8352f0d1296fe', class: "input-group" }, h("span", { key: '73e1ad02a1989d8a55dbfc8a7def799d46c58e7c', class: "input-group-text", part: text }, "$"), h("input", { key: 'f61c88cf6603e912b6104074367caa86892e7ea0', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
74
+ this.isFocused = false;
75
+ this.formControlBlur.emit();
76
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: 'fc7fc677a555016fcc9c6231a01f53ab03b0b00d', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '624bb1eb078dab076efc517d339c4d54271e5bc7', errorText: this.errorText, name: this.name }))));
77
+ }
78
+ static get watchers() { return {
79
+ "defaultValue": ["handleDefaultValueChange"]
80
+ }; }
81
+ }, [0, "form-control-monetary-provisioning", {
82
+ "label": [1],
83
+ "name": [1],
84
+ "helpText": [1, "help-text"],
85
+ "errorText": [1, "error-text"],
86
+ "defaultValue": [1, "default-value"],
87
+ "inputHandler": [16],
88
+ "maskOptions": [8, "mask-options"],
89
+ "disabled": [4],
90
+ "isFocused": [32]
91
+ }, undefined, {
92
+ "defaultValue": ["handleDefaultValueChange"]
93
+ }]);
94
+ function defineCustomElement() {
95
+ if (typeof customElements === "undefined") {
96
+ return;
97
+ }
98
+ const components = ["form-control-monetary-provisioning"];
99
+ components.forEach(tagName => { switch (tagName) {
100
+ case "form-control-monetary-provisioning":
101
+ if (!customElements.get(tagName)) {
102
+ customElements.define(tagName, MonetaryInputProvisioning);
103
+ }
104
+ break;
105
+ } });
106
+ }
107
+ defineCustomElement();
108
+
109
+ export { MonetaryInputProvisioning as M, defineCustomElement as d };