@justifi/webcomponents 5.4.0 → 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 (581) hide show
  1. package/dist/cjs/{Checkout-eef27045.js → Checkout-f10bed8c.js} +1 -1
  2. package/dist/cjs/{Payment-c47ed1e1.js → Payment-3f483b7a.js} +1 -1
  3. package/dist/cjs/{SubAccount-9babbfd3.js → SubAccount-a27d4e9f.js} +4 -2
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  5. package/dist/cjs/{badge-591df67f.js → badge-364e6311.js} +1 -1
  6. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -11
  7. package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -16
  8. package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
  9. package/dist/cjs/{business-additional-questions-schema-5c100f58.js → business-additional-questions-schema-8568cb79.js} +2 -2
  10. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  11. package/dist/cjs/{business-identity-schema-3b4d16f1.js → business-identity-schema-518ab6eb.js} +2 -2
  12. package/dist/cjs/{business.service-27f67b29.js → business.service-6e8a29a2.js} +2 -2
  13. package/dist/cjs/{button-7f272a63.js → button-4a9fd41e.js} +1 -1
  14. package/dist/cjs/{check-pkg-version-52c7c2ab.js → check-pkg-version-75cc34ca.js} +1 -1
  15. package/dist/cjs/{checkout.service-46a5b9f2.js → checkout.service-61616349.js} +3 -3
  16. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
  17. package/dist/cjs/{checkouts-table-7f2081df.js → checkouts-table-14fcebd0.js} +3 -3
  18. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
  19. package/dist/cjs/{dispute.service-a36c48bf.js → dispute.service-b68fdcc4.js} +3 -3
  20. package/dist/cjs/{event-types-921f3555.js → event-types-5a6ce2b0.js} +2 -2
  21. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  23. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  24. package/dist/cjs/{form-control-error-text-377bcf59.js → form-control-error-text-3cff9b7b.js} +1 -1
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  26. package/dist/cjs/{form-control-help-text-f7369e16.js → form-control-help-text-94ffed2c.js} +1 -1
  27. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +85 -0
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +27 -40
  29. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  31. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  32. package/dist/cjs/{get-business-0bd063d2.js → get-business-d8f5db51.js} +2 -2
  33. package/dist/cjs/{get-payout-csv-c1c7f03f.js → get-payout-csv-f0c04d96.js} +3 -3
  34. package/dist/cjs/{get-subaccounts-c1d559a0.js → get-subaccounts-330a9e85.js} +3 -3
  35. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  36. package/dist/cjs/{header-1-a63a16d5.js → header-1-43b2b905.js} +1 -1
  37. package/dist/cjs/{header-3-a6e0f274.js → header-3-eb250a04.js} +1 -1
  38. package/dist/cjs/{index.esm-a397536a.js → index.esm-544c08fd.js} +0 -122
  39. package/dist/cjs/{insurance-state-ff4fca5a.js → insurance-state-71f8b653.js} +1 -1
  40. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
  41. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -17
  42. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  43. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  44. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
  45. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  46. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
  47. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
  48. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  49. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
  50. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  51. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  52. package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
  53. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
  54. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
  55. package/dist/cjs/justifi-order-terminals.cjs.entry.js +20 -22
  56. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -9
  57. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
  58. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
  60. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  61. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
  62. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
  63. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  64. package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
  65. package/dist/cjs/justifi-refund-payment.cjs.entry.js +122 -0
  66. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  67. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -7
  68. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
  69. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  70. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -6
  71. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
  72. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -9
  73. package/dist/cjs/loader.cjs.js +1 -1
  74. package/dist/cjs/{package-53904238.js → package-459e93fd.js} +2 -2
  75. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  76. package/dist/cjs/{parts-3118ab4b.js → parts-5ca90f9a.js} +2 -0
  77. package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
  78. package/dist/cjs/{payment.service-fedf131a.js → payment.service-ff43bfc4.js} +3 -3
  79. package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
  80. package/dist/cjs/{payments-status-96156930.js → payments-status-075aad0a.js} +1 -1
  81. package/dist/cjs/{payments-table-6f87d43e.js → payments-table-802d767d.js} +3 -3
  82. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  83. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
  84. package/dist/cjs/{payouts-status-aa6842ac.js → payouts-status-ced97c2b.js} +1 -1
  85. package/dist/cjs/{payouts-table-d4c8bbbc.js → payouts-table-194a4343.js} +3 -3
  86. package/dist/cjs/{schema-validations-47a256f4.js → schema-validations-a7cefbdf.js} +1 -1
  87. package/dist/cjs/{skeleton-32198b92.js → skeleton-e8aa41d0.js} +1 -1
  88. package/dist/cjs/{spinner-a5c0f3c0.js → spinner-580453f2.js} +1 -1
  89. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  90. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -10
  91. package/dist/cjs/{terminal-orders-table-eb95b278.js → terminal-orders-table-4df19497.js} +3 -3
  92. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  93. package/dist/cjs/{terminal.service-ac44fc14.js → terminal.service-56397d88.js} +3 -3
  94. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
  95. package/dist/cjs/{terminals-table-3f0c33ea.js → terminals-table-9b313566.js} +14 -2
  96. package/dist/cjs/{utils-337befa9.js → utils-54719fda.js} +8 -2
  97. package/dist/cjs/{utils-97041614.js → utils-f8714daa.js} +1 -1
  98. package/dist/cjs/webcomponents.cjs.js +1 -1
  99. package/dist/collection/actions/business/get-business.js +2 -2
  100. package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
  101. package/dist/collection/actions/terminal/order-terminals.js +2 -2
  102. package/dist/collection/api/Terminal.js +3 -1
  103. package/dist/collection/api/services/business.service.js +2 -2
  104. package/dist/collection/collection-manifest.json +6 -5
  105. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  106. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  107. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  108. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  109. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  110. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  111. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  112. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  113. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +1 -1
  114. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  115. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  116. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  117. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  119. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  122. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +255 -0
  123. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  125. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  128. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  129. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  130. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.js +6 -6
  131. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-schema.js +6 -2
  132. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.js +7 -7
  133. package/dist/collection/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.js +5 -5
  134. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  135. package/dist/collection/components/checkout/checkout-core.js +5 -5
  136. package/dist/collection/components/checkout/checkout.js +6 -6
  137. package/dist/collection/components/checkout/new-payment-method.js +5 -5
  138. package/dist/collection/components/checkout/payment-method-options.js +5 -5
  139. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  140. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  141. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  142. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  143. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  144. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  158. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  159. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  160. package/dist/collection/components/order-terminals/order-terminals.js +23 -7
  161. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  162. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  163. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  164. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  165. package/dist/collection/components/payments-list/payments-list.js +1 -1
  166. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  167. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  168. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  169. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  170. package/dist/collection/components/refund-payment/refund-payment-schema.js +16 -0
  171. package/dist/collection/components/{refund-form/refund-form.js → refund-payment/refund-payment.js} +26 -65
  172. package/dist/collection/components/refund-payment/refund-reason-options.js +19 -0
  173. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  174. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  175. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  176. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  177. package/dist/collection/components/terminals-list/terminals-list-filters.js +23 -3
  178. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  179. package/dist/collection/components/terminals-list/terminals-status.js +5 -0
  180. package/dist/collection/components/terminals-list/terminals-table.js +7 -0
  181. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -3
  182. package/dist/collection/styles/parts.js +1 -0
  183. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  184. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  185. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  186. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  187. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  188. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  189. package/dist/collection/ui-components/form/form-control-monetary.js +72 -70
  190. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  191. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  192. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  194. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  196. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  197. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  198. package/dist/collection/{components → ui-components}/pagination-menu/pagination-menu.js +4 -4
  199. package/dist/collection/utils/utils.js +8 -2
  200. package/dist/docs.json +396 -140
  201. package/dist/esm/{Checkout-2bc873fb.js → Checkout-ba139944.js} +1 -1
  202. package/dist/esm/{Payment-82d2f453.js → Payment-39bfdd06.js} +1 -1
  203. package/dist/esm/{SubAccount-0248b5ab.js → SubAccount-68403637.js} +4 -2
  204. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  205. package/dist/esm/{badge-1555ad1d.js → badge-1be14e8c.js} +1 -1
  206. package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
  207. package/dist/esm/bank-account-form_9.entry.js +16 -16
  208. package/dist/esm/billing-form_3.entry.js +11 -11
  209. package/dist/esm/{business-additional-questions-schema-df76728f.js → business-additional-questions-schema-56308a54.js} +2 -2
  210. package/dist/esm/business-details-core.entry.js +3 -3
  211. package/dist/esm/{business-identity-schema-0a78fc59.js → business-identity-schema-24fcc4ef.js} +2 -2
  212. package/dist/esm/{business.service-13890e74.js → business.service-999196a4.js} +2 -2
  213. package/dist/esm/{button-1e756c34.js → button-fcee4da7.js} +1 -1
  214. package/dist/esm/{check-pkg-version-0557a5c4.js → check-pkg-version-b4d631be.js} +1 -1
  215. package/dist/esm/{checkout.service-fe338804.js → checkout.service-e59354cc.js} +3 -3
  216. package/dist/esm/checkouts-list-core.entry.js +10 -10
  217. package/dist/esm/{checkouts-table-e339bf0c.js → checkouts-table-58604210.js} +3 -3
  218. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
  219. package/dist/esm/{dispute.service-3e1320fe.js → dispute.service-8312d46a.js} +3 -3
  220. package/dist/esm/{event-types-359ef89e.js → event-types-1bc52f1f.js} +2 -2
  221. package/dist/esm/form-alert_5.entry.js +5 -5
  222. package/dist/esm/form-control-checkbox.entry.js +5 -5
  223. package/dist/esm/form-control-date.entry.js +4 -4
  224. package/dist/esm/{form-control-error-text-1391123f.js → form-control-error-text-176d20d8.js} +1 -1
  225. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  226. package/dist/esm/{form-control-help-text-9918264e.js → form-control-help-text-83764e14.js} +1 -1
  227. package/dist/esm/form-control-monetary-provisioning.entry.js +81 -0
  228. package/dist/esm/form-control-monetary.entry.js +27 -40
  229. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  230. package/dist/esm/form-control-number.entry.js +5 -5
  231. package/dist/esm/form-control-radio.entry.js +3 -3
  232. package/dist/esm/{get-business-464419f6.js → get-business-b7511690.js} +2 -2
  233. package/dist/esm/{get-payout-csv-9021a002.js → get-payout-csv-74397995.js} +3 -3
  234. package/dist/esm/{get-subaccounts-6b048fd1.js → get-subaccounts-f8bd5c96.js} +3 -3
  235. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  236. package/dist/esm/{header-1-adb520cc.js → header-1-215a146f.js} +1 -1
  237. package/dist/esm/{header-3-ca58500e.js → header-3-afd16f23.js} +1 -1
  238. package/dist/esm/{index.esm-0b6849c2.js → index.esm-feedf26f.js} +1 -122
  239. package/dist/esm/{insurance-state-24af6ddb.js → insurance-state-d2df8e88.js} +1 -1
  240. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
  241. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -17
  242. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  243. package/dist/esm/justifi-business-details.entry.js +6 -6
  244. package/dist/esm/justifi-business-form.entry.js +14 -14
  245. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  246. package/dist/esm/justifi-checkout-core.entry.js +8 -8
  247. package/dist/esm/justifi-checkout.entry.js +9 -9
  248. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
  249. package/dist/esm/justifi-checkouts-list.entry.js +12 -12
  250. package/dist/esm/justifi-details.entry.js +2 -2
  251. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  252. package/dist/esm/justifi-dispute-management.entry.js +8 -8
  253. package/dist/esm/justifi-dispute-notification_3.entry.js +13 -13
  254. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  255. package/dist/esm/justifi-order-terminals.entry.js +20 -22
  256. package/dist/esm/justifi-owner-form_3.entry.js +9 -9
  257. package/dist/esm/justifi-payment-details.entry.js +9 -9
  258. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  259. package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
  260. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  261. package/dist/esm/justifi-payments-list.entry.js +12 -12
  262. package/dist/esm/justifi-payout-details.entry.js +9 -9
  263. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  264. package/dist/esm/justifi-payouts-list.entry.js +13 -13
  265. package/dist/esm/justifi-refund-payment.entry.js +118 -0
  266. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  267. package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
  268. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
  269. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
  270. package/dist/esm/justifi-terminals-list-filters.entry.js +9 -6
  271. package/dist/esm/justifi-terminals-list.entry.js +12 -12
  272. package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -9
  273. package/dist/esm/loader.js +1 -1
  274. package/dist/esm/{package-25d5d805.js → package-53180f2a.js} +2 -2
  275. package/dist/esm/pagination-menu.entry.js +1 -1
  276. package/dist/esm/{parts-ad835bef.js → parts-fd740f54.js} +2 -1
  277. package/dist/esm/payment-details-core.entry.js +13 -13
  278. package/dist/esm/{payment.service-2967c84b.js → payment.service-b9ec64c9.js} +3 -3
  279. package/dist/esm/payments-list-core.entry.js +11 -11
  280. package/dist/esm/{payments-status-d011e114.js → payments-status-74d22728.js} +1 -1
  281. package/dist/esm/{payments-table-3e33b856.js → payments-table-26054032.js} +3 -3
  282. package/dist/esm/payout-details-core.entry.js +8 -8
  283. package/dist/esm/payouts-list-core.entry.js +11 -11
  284. package/dist/esm/{payouts-status-181276c5.js → payouts-status-29d31099.js} +1 -1
  285. package/dist/esm/{payouts-table-199bdf64.js → payouts-table-7f31db9d.js} +3 -3
  286. package/dist/esm/{schema-validations-b1aec6a0.js → schema-validations-5af4266a.js} +1 -1
  287. package/dist/esm/{skeleton-0cde7cb6.js → skeleton-ab3f676e.js} +1 -1
  288. package/dist/esm/{spinner-342e71ff.js → spinner-27479716.js} +1 -1
  289. package/dist/esm/table-filters-menu.entry.js +3 -3
  290. package/dist/esm/terminal-orders-list-core.entry.js +10 -10
  291. package/dist/esm/{terminal-orders-table-2884305a.js → terminal-orders-table-1f6156c9.js} +3 -3
  292. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  293. package/dist/esm/{terminal.service-4fab5adc.js → terminal.service-fff19896.js} +3 -3
  294. package/dist/esm/terminals-list-core.entry.js +10 -10
  295. package/dist/esm/{terminals-table-4e1644e8.js → terminals-table-7d54e359.js} +14 -2
  296. package/dist/esm/{utils-96c6292c.js → utils-96d9c205.js} +1 -1
  297. package/dist/esm/{utils-c37124fc.js → utils-dc86cdde.js} +8 -3
  298. package/dist/esm/webcomponents.js +1 -1
  299. package/dist/module/SubAccount.js +3 -1
  300. package/dist/module/additional-questions.js +4 -4
  301. package/dist/module/additional-statement.js +1 -1
  302. package/dist/module/bank-account-document-inputs.js +1 -1
  303. package/dist/module/bank-account-form-inputs2.js +1 -1
  304. package/dist/module/bank-account-form2.js +2 -2
  305. package/dist/module/billing-form-wrapper.js +1 -1
  306. package/dist/module/billing-form2.js +3 -3
  307. package/dist/module/business-additional-questions-form-step-core.js +4 -4
  308. package/dist/module/business-additional-questions-form-step.js +4 -4
  309. package/dist/module/business-bank-account-form-step.js +1 -1
  310. package/dist/module/business-core-info-form-step.js +1 -1
  311. package/dist/module/business-core-info.js +1 -1
  312. package/dist/module/business-owners-form-step.js +1 -1
  313. package/dist/module/business-representative-form-inputs.js +1 -1
  314. package/dist/module/business-representative-form-step.js +1 -1
  315. package/dist/module/business-representative.js +1 -1
  316. package/dist/module/business-terms-conditions-form-step.js +1 -1
  317. package/dist/module/business.service.js +2 -2
  318. package/dist/module/cancellation-policy.js +1 -1
  319. package/dist/module/card-form2.js +2 -2
  320. package/dist/module/checkout-core.js +1 -1
  321. package/dist/module/checkouts-list-core2.js +1 -1
  322. package/dist/module/custom-popper2.js +2 -2
  323. package/dist/module/customer-details.js +1 -1
  324. package/dist/module/dispute-management-core.js +1 -1
  325. package/dist/module/dispute-notification.js +1 -1
  326. package/dist/module/dispute-response-core.js +1 -1
  327. package/dist/module/dispute-response.js +1 -1
  328. package/dist/module/duplicate-charge.js +1 -1
  329. package/dist/module/electronic-evidence.js +1 -1
  330. package/dist/module/form-control-checkbox2.js +2 -2
  331. package/dist/module/form-control-date2.js +2 -2
  332. package/dist/module/form-control-file-v22.js +1 -1
  333. package/dist/module/form-control-file2.js +2 -2
  334. package/dist/module/form-control-monetary-provisioning.d.ts +11 -0
  335. package/dist/module/form-control-monetary-provisioning.js +6 -0
  336. package/dist/module/form-control-monetary-provisioning2.js +109 -0
  337. package/dist/module/form-control-monetary2.js +30 -42
  338. package/dist/module/form-control-number-masked2.js +2 -2
  339. package/dist/module/form-control-number.js +2 -2
  340. package/dist/module/form-control-radio2.js +2 -2
  341. package/dist/module/form-control-select2.js +2 -2
  342. package/dist/module/form-control-text2.js +2 -2
  343. package/dist/module/form-control-textarea2.js +2 -2
  344. package/dist/module/form.js +1 -122
  345. package/dist/module/get-business.js +2 -2
  346. package/dist/module/gross-payment-chart-core2.js +1 -1
  347. package/dist/module/hidden-input2.js +1 -1
  348. package/dist/module/identity-address-form.js +1 -1
  349. package/dist/module/iframe-input2.js +3 -3
  350. package/dist/module/justifi-business-form.js +3 -3
  351. package/dist/module/justifi-checkout.js +2 -2
  352. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  353. package/dist/module/justifi-checkouts-list.js +1 -1
  354. package/dist/module/justifi-dispute-management.js +1 -1
  355. package/dist/module/justifi-order-terminals.js +10 -11
  356. package/dist/module/justifi-payment-provisioning.js +4 -4
  357. package/dist/module/justifi-payments-list-filters.js +2 -2
  358. package/dist/module/justifi-payments-list.js +1 -1
  359. package/dist/module/justifi-payouts-list-filters.js +2 -2
  360. package/dist/module/justifi-payouts-list.js +1 -1
  361. package/dist/module/justifi-refund-payment.d.ts +11 -0
  362. package/dist/module/justifi-refund-payment.js +180 -0
  363. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  364. package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
  365. package/dist/module/justifi-terminal-orders-list.js +1 -1
  366. package/dist/module/justifi-terminals-list-filters.js +6 -2
  367. package/dist/module/justifi-terminals-list.js +1 -1
  368. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  369. package/dist/module/legal-address-form-step.js +1 -1
  370. package/dist/module/legal-address-form.js +1 -1
  371. package/dist/module/new-payment-method.js +1 -1
  372. package/dist/module/owner-form-core2.js +1 -1
  373. package/dist/module/owner-form-inputs2.js +1 -1
  374. package/dist/module/owner-form.js +1 -1
  375. package/dist/module/package.js +2 -2
  376. package/dist/module/parts.js +2 -1
  377. package/dist/module/payment-details-core2.js +7 -7
  378. package/dist/module/payment-method-options.js +1 -1
  379. package/dist/module/payment-provisioning-core.js +4 -4
  380. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  381. package/dist/module/payment-provisioning-form-steps.js +4 -4
  382. package/dist/module/payments-list-core2.js +1 -1
  383. package/dist/module/payout-details-core2.js +1 -1
  384. package/dist/module/payouts-list-core2.js +1 -1
  385. package/dist/module/postal-form2.js +1 -1
  386. package/dist/module/product-or-service.js +1 -1
  387. package/dist/module/refund-policy.js +1 -1
  388. package/dist/module/save-new-payment-method.js +1 -1
  389. package/dist/module/saved-payment-method.js +1 -1
  390. package/dist/module/sezzle-payment-method.js +1 -1
  391. package/dist/module/shipping-details.js +1 -1
  392. package/dist/module/table-filters-menu2.js +1 -1
  393. package/dist/module/terminal-orders-list-core2.js +1 -1
  394. package/dist/module/terminal-quantity-selector2.js +1 -1
  395. package/dist/module/terminals-list-core2.js +13 -1
  396. package/dist/module/utils2.js +8 -3
  397. package/dist/types/actions/business/get-business.d.ts +2 -1
  398. package/dist/types/actions/terminal/get-terminal-models.d.ts +2 -1
  399. package/dist/types/actions/terminal/order-terminals.d.ts +2 -1
  400. package/dist/types/api/Terminal.d.ts +8 -3
  401. package/dist/types/api/services/business.service.d.ts +1 -1
  402. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +24 -0
  403. package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.d.ts +1 -1
  404. package/dist/types/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.d.ts +1 -1
  405. package/dist/types/components/checkout/checkout-core.d.ts +1 -1
  406. package/dist/types/components/checkout/checkout.d.ts +1 -1
  407. package/dist/types/components/checkout/new-payment-method.d.ts +1 -1
  408. package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
  409. package/dist/types/components/order-terminals/order-terminals.d.ts +1 -1
  410. package/dist/types/components/refund-payment/refund-payment-schema.d.ts +11 -0
  411. package/dist/types/components/{refund-form/refund-form.d.ts → refund-payment/refund-payment.d.ts} +6 -13
  412. package/dist/types/components/refund-payment/refund-reason-options.d.ts +5 -0
  413. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -0
  414. package/dist/types/components/terminals-list/terminals-status.d.ts +2 -1
  415. package/dist/types/components/terminals-list/terminals-table.d.ts +6 -0
  416. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
  417. package/dist/types/components.d.ts +88 -51
  418. package/dist/types/styles/parts.d.ts +1 -0
  419. package/dist/types/ui-components/form/form-control-monetary.d.ts +9 -10
  420. package/dist/types/utils/utils.d.ts +2 -1
  421. package/dist/webcomponents/p-00ae938e.entry.js +1 -0
  422. package/dist/webcomponents/p-01033194.js +1 -0
  423. package/dist/webcomponents/p-0151a19f.entry.js +1 -0
  424. package/dist/webcomponents/{p-324587d0.js → p-03c2261c.js} +1 -1
  425. package/dist/webcomponents/{p-2ca5b5e4.js → p-08b64251.js} +1 -1
  426. package/dist/webcomponents/{p-da2a9dfa.entry.js → p-0b61d4d3.entry.js} +1 -1
  427. package/dist/webcomponents/{p-365e56fc.js → p-12074378.js} +1 -1
  428. package/dist/webcomponents/p-142bfae3.js +1 -0
  429. package/dist/webcomponents/p-1aa973c4.entry.js +1 -0
  430. package/dist/webcomponents/p-2123c150.js +1 -0
  431. package/dist/webcomponents/p-23cd76af.entry.js +1 -0
  432. package/dist/webcomponents/{p-b19a37d4.js → p-26a2e837.js} +1 -1
  433. package/dist/webcomponents/p-27546fa9.entry.js +1 -0
  434. package/dist/webcomponents/p-275c3dc9.js +1 -0
  435. package/dist/webcomponents/p-2b8aaa7d.entry.js +1 -0
  436. package/dist/webcomponents/p-2c65389c.entry.js +1 -0
  437. package/dist/webcomponents/p-31dcaeaf.entry.js +1 -0
  438. package/dist/webcomponents/p-373a19fe.entry.js +1 -0
  439. package/dist/webcomponents/{p-9c57de4e.entry.js → p-375657fe.entry.js} +1 -1
  440. package/dist/webcomponents/{p-56143442.entry.js → p-385d3637.entry.js} +1 -1
  441. package/dist/webcomponents/{p-e5c60276.entry.js → p-38900c29.entry.js} +1 -1
  442. package/dist/webcomponents/{p-daf0303f.js → p-422948eb.js} +1 -1
  443. package/dist/webcomponents/p-43e225d2.entry.js +1 -0
  444. package/dist/webcomponents/{p-1fb5677e.entry.js → p-4484aa3b.entry.js} +1 -1
  445. package/dist/webcomponents/p-45f48dce.entry.js +1 -0
  446. package/dist/webcomponents/{p-9894484a.js → p-4e010557.js} +1 -1
  447. package/dist/webcomponents/p-4ef98c7a.js +1 -0
  448. package/dist/webcomponents/p-4fc263b2.js +1 -0
  449. package/dist/webcomponents/{p-4acf8ca2.js → p-537bce77.js} +1 -1
  450. package/dist/webcomponents/p-56c7fc8d.js +1 -0
  451. package/dist/webcomponents/{p-13d62477.entry.js → p-58476602.entry.js} +1 -1
  452. package/dist/webcomponents/{p-c380213d.js → p-58ee6ce9.js} +1 -1
  453. package/dist/webcomponents/p-59eef054.entry.js +1 -0
  454. package/dist/webcomponents/{p-e52e9120.entry.js → p-5a9d7ca0.entry.js} +1 -1
  455. package/dist/webcomponents/{p-78255a04.entry.js → p-5ae9faf6.entry.js} +1 -1
  456. package/dist/webcomponents/p-5b459422.entry.js +1 -0
  457. package/dist/webcomponents/p-5b76dbe1.entry.js +1 -0
  458. package/dist/webcomponents/{p-d5960545.js → p-5efe6236.js} +1 -1
  459. package/dist/webcomponents/{p-d7bcf8f0.js → p-64443fc0.js} +1 -1
  460. package/dist/webcomponents/{p-7d93c28b.js → p-673c1bca.js} +1 -1
  461. package/dist/webcomponents/{p-df9ff0ce.entry.js → p-6c79e7c3.entry.js} +1 -1
  462. package/dist/webcomponents/{p-0d01d245.entry.js → p-6d3611b6.entry.js} +1 -1
  463. package/dist/webcomponents/{p-d8ba9309.entry.js → p-745a577c.entry.js} +1 -1
  464. package/dist/webcomponents/p-76549a24.js +1 -0
  465. package/dist/webcomponents/{p-485df2fe.entry.js → p-7a6feb58.entry.js} +1 -1
  466. package/dist/webcomponents/p-80867635.entry.js +1 -0
  467. package/dist/webcomponents/p-86605101.js +1 -0
  468. package/dist/webcomponents/{p-d273f33b.js → p-927cb6df.js} +1 -1
  469. package/dist/webcomponents/{p-dd3de924.entry.js → p-92e96b57.entry.js} +1 -1
  470. package/dist/webcomponents/{p-be6fea42.entry.js → p-942d5e8f.entry.js} +1 -1
  471. package/dist/webcomponents/p-a1be025c.entry.js +1 -0
  472. package/dist/webcomponents/p-a3cced75.entry.js +1 -0
  473. package/dist/webcomponents/{p-88af0d7d.js → p-a5579f53.js} +1 -1
  474. package/dist/webcomponents/{p-17c4edf7.js → p-a5b52c1d.js} +1 -1
  475. package/dist/webcomponents/{p-45e68bb3.entry.js → p-a5f5cc2e.entry.js} +1 -1
  476. package/dist/webcomponents/{p-17eea747.js → p-a99525c5.js} +1 -1
  477. package/dist/webcomponents/p-ac40e667.js +1 -0
  478. package/dist/webcomponents/p-adecb91a.entry.js +1 -0
  479. package/dist/webcomponents/p-ae891abb.entry.js +1 -0
  480. package/dist/webcomponents/p-ae9ef225.js +1 -0
  481. package/dist/webcomponents/p-b323bbde.entry.js +1 -0
  482. package/dist/webcomponents/p-ba6fd830.entry.js +1 -0
  483. package/dist/webcomponents/{p-fdd244b1.entry.js → p-bae35151.entry.js} +1 -1
  484. package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
  485. package/dist/webcomponents/{p-073f24ba.entry.js → p-bdbbee07.entry.js} +1 -1
  486. package/dist/webcomponents/p-bdcf3a3c.entry.js +1 -0
  487. package/dist/webcomponents/{p-95e55bb1.js → p-bf12999f.js} +1 -1
  488. package/dist/webcomponents/{p-2dd39017.js → p-bf195b35.js} +1 -1
  489. package/dist/webcomponents/{p-944f1cc7.js → p-bfc2d88a.js} +1 -1
  490. package/dist/webcomponents/p-c4f8ed38.js +1 -0
  491. package/dist/webcomponents/{p-34a95381.js → p-c8b78136.js} +1 -1
  492. package/dist/webcomponents/p-c8fa00fd.entry.js +1 -0
  493. package/dist/webcomponents/p-c93d643b.js +1 -0
  494. package/dist/webcomponents/p-cc2f75a3.entry.js +1 -0
  495. package/dist/webcomponents/p-ccb9ee53.js +1 -0
  496. package/dist/webcomponents/{p-251c8e97.js → p-cd5883b9.js} +1 -1
  497. package/dist/webcomponents/p-cedad1b6.entry.js +1 -0
  498. package/dist/webcomponents/{p-a7594f8f.entry.js → p-d70610de.entry.js} +1 -1
  499. package/dist/webcomponents/p-d757fcf5.js +1 -0
  500. package/dist/webcomponents/p-d7bf921d.entry.js +1 -0
  501. package/dist/webcomponents/{p-55e21977.entry.js → p-d903d838.entry.js} +1 -1
  502. package/dist/webcomponents/{p-36e32bc4.entry.js → p-d9b5140e.entry.js} +1 -1
  503. package/dist/webcomponents/p-d9dc15d4.entry.js +1 -0
  504. package/dist/webcomponents/p-db973fa9.entry.js +1 -0
  505. package/dist/webcomponents/p-dbc1a95b.js +1 -0
  506. package/dist/webcomponents/{p-ba113075.js → p-dbf21732.js} +1 -1
  507. package/dist/webcomponents/{p-f57d5d4f.entry.js → p-ddb642a4.entry.js} +2 -2
  508. package/dist/webcomponents/p-df20bbb3.entry.js +1 -0
  509. package/dist/webcomponents/p-e9867f8b.entry.js +1 -0
  510. package/dist/webcomponents/{p-1b3a6c40.entry.js → p-ed9d22d5.entry.js} +1 -1
  511. package/dist/webcomponents/{p-d78ea308.entry.js → p-ee539373.entry.js} +1 -1
  512. package/dist/webcomponents/{p-ed3ad073.entry.js → p-f20466f7.entry.js} +1 -1
  513. package/dist/webcomponents/p-f247b169.entry.js +1 -0
  514. package/dist/webcomponents/p-f930504f.entry.js +1 -0
  515. package/dist/webcomponents/p-fc43d1c8.entry.js +1 -0
  516. package/dist/webcomponents/{p-e8fc36c1.entry.js → p-fca89e9b.entry.js} +1 -1
  517. package/dist/webcomponents/webcomponents.esm.js +1 -1
  518. package/package.json +2 -2
  519. package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
  520. package/dist/cjs/justifi-refund-form.cjs.entry.js +0 -106
  521. package/dist/collection/components/refund-form/refund-form-schema.js +0 -13
  522. package/dist/collection/components/refund-form/refund-form.stories.js +0 -109
  523. package/dist/esm/form-control-select_3.entry.js +0 -139
  524. package/dist/esm/justifi-refund-form.entry.js +0 -102
  525. package/dist/module/justifi-refund-form.d.ts +0 -11
  526. package/dist/module/justifi-refund-form.js +0 -153
  527. package/dist/types/components/refund-form/refund-form-schema.d.ts +0 -11
  528. package/dist/types/components/refund-form/refund-form.stories.d.ts +0 -27
  529. package/dist/webcomponents/p-00d55a4b.entry.js +0 -1
  530. package/dist/webcomponents/p-04d59ef8.js +0 -1
  531. package/dist/webcomponents/p-07c13189.entry.js +0 -1
  532. package/dist/webcomponents/p-0bafaf49.entry.js +0 -1
  533. package/dist/webcomponents/p-24203209.entry.js +0 -1
  534. package/dist/webcomponents/p-258087a8.entry.js +0 -1
  535. package/dist/webcomponents/p-2759d157.entry.js +0 -1
  536. package/dist/webcomponents/p-2cd9b608.entry.js +0 -1
  537. package/dist/webcomponents/p-3030f5e6.entry.js +0 -1
  538. package/dist/webcomponents/p-308ec9c7.entry.js +0 -1
  539. package/dist/webcomponents/p-454acd29.entry.js +0 -1
  540. package/dist/webcomponents/p-50b012a3.entry.js +0 -1
  541. package/dist/webcomponents/p-52e2cc5e.js +0 -1
  542. package/dist/webcomponents/p-5844a0f0.js +0 -1
  543. package/dist/webcomponents/p-5cf1898d.entry.js +0 -1
  544. package/dist/webcomponents/p-5d600828.js +0 -1
  545. package/dist/webcomponents/p-61a45f7d.entry.js +0 -1
  546. package/dist/webcomponents/p-646d007a.js +0 -1
  547. package/dist/webcomponents/p-651c881b.js +0 -1
  548. package/dist/webcomponents/p-6a4b710e.entry.js +0 -1
  549. package/dist/webcomponents/p-74f6cc28.entry.js +0 -1
  550. package/dist/webcomponents/p-8946edfd.js +0 -1
  551. package/dist/webcomponents/p-8ffd9f7c.js +0 -1
  552. package/dist/webcomponents/p-92b18902.entry.js +0 -1
  553. package/dist/webcomponents/p-92f29922.entry.js +0 -1
  554. package/dist/webcomponents/p-97f3a1b0.entry.js +0 -1
  555. package/dist/webcomponents/p-9fcab358.entry.js +0 -1
  556. package/dist/webcomponents/p-a0f715d4.js +0 -1
  557. package/dist/webcomponents/p-a35f3b5b.js +0 -1
  558. package/dist/webcomponents/p-a81cabed.js +0 -1
  559. package/dist/webcomponents/p-b7960f37.entry.js +0 -1
  560. package/dist/webcomponents/p-b7ddb76f.entry.js +0 -1
  561. package/dist/webcomponents/p-b97f433a.entry.js +0 -1
  562. package/dist/webcomponents/p-c3939138.entry.js +0 -1
  563. package/dist/webcomponents/p-c7c9725d.entry.js +0 -1
  564. package/dist/webcomponents/p-cba7d0a7.entry.js +0 -1
  565. package/dist/webcomponents/p-d43a38a4.js +0 -1
  566. package/dist/webcomponents/p-d4724349.js +0 -1
  567. package/dist/webcomponents/p-d575c2c1.entry.js +0 -1
  568. package/dist/webcomponents/p-dac9282d.entry.js +0 -1
  569. package/dist/webcomponents/p-e1dd47e1.entry.js +0 -1
  570. package/dist/webcomponents/p-e545c079.entry.js +0 -1
  571. package/dist/webcomponents/p-e5de1a00.entry.js +0 -1
  572. package/dist/webcomponents/p-f1573cad.entry.js +0 -1
  573. package/dist/webcomponents/p-f1d6e14f.js +0 -1
  574. package/dist/webcomponents/p-f30cb232.js +0 -1
  575. package/dist/webcomponents/p-f87e871d.js +0 -1
  576. package/dist/webcomponents/p-f8a95380.entry.js +0 -1
  577. package/dist/webcomponents/p-fa5688f7.entry.js +0 -1
  578. package/dist/webcomponents/p-fbdc18e4.entry.js +0 -1
  579. /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-schema.d.ts +0 -0
  580. /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.d.ts +0 -0
  581. /package/dist/types/{components → ui-components}/pagination-menu/pagination-menu.d.ts +0 -0
@@ -1,109 +0,0 @@
1
- export default {
2
- title: 'dev/Components/RefundForm',
3
- component: 'refund-form',
4
- argTypes: {
5
- authToken: { control: 'text' },
6
- paymentId: { control: 'text' },
7
- amount: { control: 'number' },
8
- submitButtonText: { control: 'text' },
9
- withButton: { control: 'boolean' },
10
- refundInfoText: { control: 'text' },
11
- },
12
- };
13
- const RefundFormTemplate = ({ authToken, paymentId, amount, submitButtonText, withButton, refundInfoText, }) => {
14
- return `
15
- <div>
16
- <justifi-refund-form
17
- auth-token="${authToken}"
18
- payment-id="${paymentId}"
19
- amount="${amount}"
20
- submit-button-text="${submitButtonText}"
21
- ${withButton ? 'with-button' : ''}
22
- refund-info-text="${refundInfoText}"
23
- ></justifi-refund-form>
24
- ${!withButton
25
- ? `<button id="custom-submit" type="button" class="btn btn-primary">Custom Submit</button>`
26
- : ''}
27
- </div>
28
- <style>
29
- #custom-submit {
30
- color: #fff;
31
- background-color: #007bff;
32
- border-color: #007bff;
33
- display: inline-block;
34
- font-weight: 400;
35
- text-align: center;
36
- vertical-align: middle;
37
- user-select: none;
38
- background-clip: border-box;
39
- border: 1px solid transparent;
40
- padding: .375rem .75rem;
41
- font-size: 1rem;
42
- line-height: 1.5;
43
- border-radius: .25rem;
44
- transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
45
- margin-top: 1rem;
46
- }
47
-
48
- #custom-submit:hover {
49
- color: #fff;
50
- background-color: #0069d9;
51
- border-color: #0062cc;
52
- }
53
-
54
- #custom-submit:focus {
55
- outline: 0;
56
- box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
57
- }
58
-
59
- #custom-submit:disabled {
60
- color: #fff;
61
- background-color: #007bff;
62
- border-color: #007bff;
63
- opacity: .65;
64
- }
65
- </style>
66
- <script>
67
- function listenSubmittedEvent() {
68
- const refundForm = document.querySelector('refund-form');
69
- refundForm.addEventListener('submitted', (event) => {
70
- console.log(event.detail);
71
- });
72
- }
73
-
74
- function bindCustomSubmitButton() {
75
- const externalSubmitButton = document.getElementById('custom-submit');
76
- if (externalSubmitButton) {
77
- externalSubmitButton.addEventListener('click', async () => {
78
- const refundForm = document.querySelector('refund-form');
79
- refundForm.submit();
80
- });
81
- }
82
- }
83
-
84
- (async () => {
85
- await customElements.whenDefined('refund-form');
86
- listenSubmittedEvent();
87
- bindCustomSubmitButton();
88
- })();
89
- </script>
90
- `;
91
- };
92
- export const Example = RefundFormTemplate.bind({});
93
- Example.args = {
94
- authToken: '',
95
- paymentId: '',
96
- amount: 0,
97
- submitButtonText: 'Submit',
98
- withButton: true,
99
- refundInfoText: '',
100
- };
101
- export const Styled = RefundFormTemplate.bind({});
102
- Styled.args = {
103
- authToken: '',
104
- paymentId: '',
105
- amount: 0,
106
- submitButtonText: 'Submit',
107
- withButton: true,
108
- refundInfoText: '',
109
- };
@@ -1,139 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-29fcfdf5.js';
2
- import { l as label, c as input, b as inputInvalid, a5 as inputDisabled, a as inputFocused, aj as tooltip, ak as tooltipInner, al as tooltipIcon } from './parts-ad835bef.js';
3
- import { F as FormControlErrorText } from './form-control-error-text-1391123f.js';
4
-
5
- const SelectInput = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.formControlInput = createEvent(this, "formControlInput", 7);
9
- this.formControlBlur = createEvent(this, "formControlBlur", 7);
10
- this.handleFormControlInput = (event) => {
11
- const target = event.target;
12
- const name = target.getAttribute('name');
13
- this.inputHandler(name, target.value);
14
- this.formControlInput.emit(target.value);
15
- };
16
- this.updateInput = (newValue) => {
17
- this.selectElement.value = newValue;
18
- };
19
- this.isFocused = false;
20
- this.name = undefined;
21
- this.label = undefined;
22
- this.options = undefined;
23
- this.inputHandler = undefined;
24
- this.defaultValue = undefined;
25
- this.helpText = undefined;
26
- this.errorText = undefined;
27
- this.disabled = undefined;
28
- }
29
- handleDefaultValueChange(newValue) {
30
- this.updateInput(newValue);
31
- }
32
- componentDidLoad() {
33
- this.updateInput(this.defaultValue);
34
- }
35
- get part() {
36
- let part = input;
37
- if (this.errorText) {
38
- part = inputInvalid;
39
- }
40
- if (this.disabled) {
41
- part = inputDisabled;
42
- }
43
- if (this.isFocused) {
44
- part = inputFocused;
45
- }
46
- return part;
47
- }
48
- render() {
49
- var _a;
50
- return (h(Host, { key: 'f55283c73225466b10cec78e6e5ff1c268142d1b' }, h("div", { key: '48beb377ca664b867598f8e472a3bb4825aecf9b', class: "form-group d-flex flex-column" }, h("div", { key: '13debfb6a725d7f247eb5601e3361a3964b826e9', class: "d-flex align-items-start gap-2" }, h("label", { key: '15ac64fb03a5c1cb8f55c18bd7eb41d66328e599', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '3d8b43ed6e997234f7c64daf41b2286bec93340e', helpText: this.helpText })), h("select", { key: '1c3eb5699a0b76c694a02fe50e8070483b2960e6', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
51
- this.isFocused = false;
52
- this.formControlBlur.emit();
53
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: 'd223fd1fad44de99812b0e3a3429e3931b798c2c', errorText: this.errorText, name: this.name }))));
54
- }
55
- static get watchers() { return {
56
- "defaultValue": ["handleDefaultValueChange"]
57
- }; }
58
- };
59
-
60
- const TextInput = class {
61
- constructor(hostRef) {
62
- registerInstance(this, hostRef);
63
- this.formControlInput = createEvent(this, "formControlInput", 7);
64
- this.formControlBlur = createEvent(this, "formControlBlur", 7);
65
- this.handleFormControlInput = (event) => {
66
- const target = event.target;
67
- const name = target.getAttribute('name');
68
- this.inputHandler(name, target.value);
69
- this.formControlInput.emit({ name, value: target.value });
70
- };
71
- this.updateInput = (newValue) => {
72
- const inputElement = this.el.querySelector('input');
73
- if (inputElement) {
74
- inputElement.value = newValue || '';
75
- }
76
- };
77
- this.isFocused = false;
78
- this.name = undefined;
79
- this.label = undefined;
80
- this.inputHandler = undefined;
81
- this.defaultValue = undefined;
82
- this.helpText = undefined;
83
- this.errorText = undefined;
84
- this.maxLength = undefined;
85
- this.keyDownHandler = undefined;
86
- this.disabled = undefined;
87
- }
88
- handleDefaultValueChange(newValue) {
89
- this.updateInput(newValue);
90
- }
91
- componentDidLoad() {
92
- this.updateInput(this.defaultValue);
93
- }
94
- get part() {
95
- if (this.errorText) {
96
- return inputInvalid;
97
- }
98
- if (this.disabled) {
99
- return inputDisabled;
100
- }
101
- if (this.isFocused) {
102
- return inputFocused;
103
- }
104
- return input;
105
- }
106
- render() {
107
- return (h(Host, { key: 'fde1ad44fc7048a5387f1b4cbaef5e33a4c835e9' }, h("div", { key: '6b91df1b992a5505b490fff460d21f4a9d12a816', class: "form-group d-flex flex-column" }, h("div", { key: '2605c7cbe333c8b68f861c44ca72e4b0cbd647c8', class: "d-flex align-items-start gap-2" }, h("label", { key: '603202cacc1ae6ea0210e6600791f7a9c9e87777', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'a3024f26b2ab58737422f644714cc2ee36933ac0', helpText: this.helpText })), h("input", { key: '46c19900a311b88b41c25533d6a6d4cbbb727be5', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
108
- this.isFocused = false;
109
- this.formControlBlur.emit();
110
- }, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '1f4d9ba0fe5df28d0c576b5501df94350eeddeee', errorText: this.errorText, name: this.name }))));
111
- }
112
- get el() { return getElement(this); }
113
- static get watchers() { return {
114
- "defaultValue": ["handleDefaultValueChange"]
115
- }; }
116
- };
117
-
118
- const TooltipComponent = class {
119
- constructor(hostRef) {
120
- registerInstance(this, hostRef);
121
- this.anchorIcon = undefined;
122
- this.tooltip = undefined;
123
- this.helpText = undefined;
124
- }
125
- show() {
126
- this.tooltip.classList.add('show');
127
- }
128
- hide() {
129
- this.tooltip.classList.remove('show');
130
- }
131
- render() {
132
- if (!this.helpText) {
133
- return null;
134
- }
135
- return (h("div", { class: "tooltip-container" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", class: "bi bi-question-square tooltip-icon", viewBox: "0 0 16 16", ref: (el) => (this.anchorIcon = el), part: tooltipIcon }, h("path", { d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z" }), h("path", { d: "M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94" })), h("custom-popper", { trigger: "hover", placement: "top", anchorRef: this.anchorIcon }, h("div", { class: "tooltip bs-tooltip-top", part: tooltip, role: "tooltip", ref: (el) => (this.tooltip = el) }, h("div", { class: "tooltip-inner", part: tooltipInner }, this.helpText)))));
136
- }
137
- };
138
-
139
- export { SelectInput as form_control_select, TextInput as form_control_text, TooltipComponent as form_control_tooltip };
@@ -1,102 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
- import { c as create$3, d as create$5, F as FormController } from './index.esm-0b6849c2.js';
3
- import { A as Api } from './Api-52242eb0.js';
4
- import './ComponentError-c61dce41.js';
5
- import './Checkout-2bc873fb.js';
6
- import './Pagination-afc8f96d.js';
7
- import './Payment-82d2f453.js';
8
- import './SubAccount-0248b5ab.js';
9
- import './Document-1907c0d4.js';
10
- import { C as CURRENCY_MASK } from './form-input-masks-0e18300f.js';
11
- import { S as StyledHost } from './styled-host-32228b45.js';
12
- import './utils-c37124fc.js';
13
- import './Dispute-5fd28ec9.js';
14
-
15
- const RefundFormSchema = create$3().shape({
16
- amount: create$5()
17
- .required('Amount is required')
18
- .typeError('Amount must be a number')
19
- .positive('Amount must be positive')
20
- .test('amount', 'Refund amount cannot be more than the original payment amount', function (value) {
21
- return value <= this.options.context.amount;
22
- })
23
- .nullable(),
24
- });
25
-
26
- const RefundForm = class {
27
- constructor(hostRef) {
28
- registerInstance(this, hostRef);
29
- this.submitted = createEvent(this, "submitted", 7);
30
- this.authToken = undefined;
31
- this.paymentId = undefined;
32
- this.amount = 0;
33
- this.submitButtonText = 'Submit';
34
- this.withButton = undefined;
35
- this.refundInfoText = undefined;
36
- this.errors = {};
37
- this.isSubmitting = false;
38
- }
39
- componentWillLoad() {
40
- this.formController = new FormController(RefundFormSchema);
41
- this.formController.setInitialValues({
42
- amount: this.amount,
43
- message: '',
44
- });
45
- this.initializeApi();
46
- }
47
- componentDidLoad() {
48
- this.formController.errors.subscribe(errors => {
49
- this.errors = Object.assign({}, errors);
50
- });
51
- }
52
- /**
53
- * Handles the form submission.
54
- * Prevents the default form action, validates the form, and emits the 'submitted' event.
55
- */
56
- async handleSubmit(event) {
57
- event.preventDefault();
58
- this.formController.validateAndSubmit(this.submitRefund.bind(this), {
59
- amount: this.amount,
60
- });
61
- }
62
- /**
63
- * Submits the refund request to the API.
64
- */
65
- async submitRefund() {
66
- this.isSubmitting = true;
67
- const refundFields = this.formController.values.getValue();
68
- try {
69
- await this.api.post(`payments/${this.paymentId}/refunds`, refundFields);
70
- this.submitted.emit(refundFields);
71
- }
72
- catch (error) {
73
- console.error('Error submitting refund:', error);
74
- this.submitted.emit(error);
75
- }
76
- finally {
77
- this.isSubmitting = false;
78
- }
79
- }
80
- /**
81
- * Handles input changes, updating the refundFields state.
82
- */
83
- handleInput(field, value) {
84
- this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [field]: value }));
85
- }
86
- /**
87
- * Initializes the API with the given authentication token.
88
- * Logs a warning if the auth token is missing.
89
- */
90
- initializeApi() {
91
- if (!this.authToken) {
92
- console.warn('Warning: Missing auth-token.');
93
- }
94
- this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
95
- }
96
- render() {
97
- var _a;
98
- return (h(StyledHost, { key: '7becd3fcc3a0beefef5efdb860616aa60f7e61ad' }, h("h1", { key: '7125ac0e8452db4013d9065054aca8d65ead0138' }, "Refund"), this.refundInfoText && (h("div", { key: 'b60dbcac95e75469bab9e575efe5eba40d629693', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '231e5bcb4fdd82ea4e9bb0597bfe194759eb8e22', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: '21faa4040e99ee142e0f06246fc8317dcc5dfa28', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '4a8671c7f833279c14e29ae0f4054586fa7ecbba', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: 'd4296520cb377a6b61547615a2b95a3088ace83a', class: "form-group" }, h("form-control-monetary", { key: 'dbe00249e022722aea24f9967408625b7460f0f7', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: '765d36337fc31bd6ade5b9a94397b83e7f46e2a8', class: "form-group" }, h("form-control-text", { key: '3f3bc7e95568944d876fcf95e98ba9d871479096', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '4576ce0e5d04f063fd53045845fa5a4cf5bc6383', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '6165726b003006432d82ce5792a961ea2f42d654', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
99
- }
100
- };
101
-
102
- export { RefundForm as justifi_refund_form };
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface JustifiRefundForm extends Components.JustifiRefundForm, HTMLElement {}
4
- export const JustifiRefundForm: {
5
- prototype: JustifiRefundForm;
6
- new (): JustifiRefundForm;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,153 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { c as create$3, e as create$5, F as FormController } from './form.js';
3
- import { A as Api } from './Api.js';
4
- import './ComponentError.js';
5
- import './Checkout.js';
6
- import './Pagination.js';
7
- import './Payment.js';
8
- import './SubAccount.js';
9
- import './Document.js';
10
- import { C as CURRENCY_MASK } from './form-input-masks.js';
11
- import { S as StyledHost } from './styled-host.js';
12
- import './details.js';
13
- import { d as defineCustomElement$5 } from './custom-popper2.js';
14
- import { d as defineCustomElement$4 } from './form-control-monetary2.js';
15
- import { d as defineCustomElement$3 } from './form-control-text2.js';
16
- import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
17
-
18
- const RefundFormSchema = create$3().shape({
19
- amount: create$5()
20
- .required('Amount is required')
21
- .typeError('Amount must be a number')
22
- .positive('Amount must be positive')
23
- .test('amount', 'Refund amount cannot be more than the original payment amount', function (value) {
24
- return value <= this.options.context.amount;
25
- })
26
- .nullable(),
27
- });
28
-
29
- const RefundForm = /*@__PURE__*/ proxyCustomElement(class RefundForm extends HTMLElement {
30
- constructor() {
31
- super();
32
- this.__registerHost();
33
- this.__attachShadow();
34
- this.submitted = createEvent(this, "submitted", 7);
35
- this.authToken = undefined;
36
- this.paymentId = undefined;
37
- this.amount = 0;
38
- this.submitButtonText = 'Submit';
39
- this.withButton = undefined;
40
- this.refundInfoText = undefined;
41
- this.errors = {};
42
- this.isSubmitting = false;
43
- }
44
- componentWillLoad() {
45
- this.formController = new FormController(RefundFormSchema);
46
- this.formController.setInitialValues({
47
- amount: this.amount,
48
- message: '',
49
- });
50
- this.initializeApi();
51
- }
52
- componentDidLoad() {
53
- this.formController.errors.subscribe(errors => {
54
- this.errors = Object.assign({}, errors);
55
- });
56
- }
57
- /**
58
- * Handles the form submission.
59
- * Prevents the default form action, validates the form, and emits the 'submitted' event.
60
- */
61
- async handleSubmit(event) {
62
- event.preventDefault();
63
- this.formController.validateAndSubmit(this.submitRefund.bind(this), {
64
- amount: this.amount,
65
- });
66
- }
67
- /**
68
- * Submits the refund request to the API.
69
- */
70
- async submitRefund() {
71
- this.isSubmitting = true;
72
- const refundFields = this.formController.values.getValue();
73
- try {
74
- await this.api.post(`payments/${this.paymentId}/refunds`, refundFields);
75
- this.submitted.emit(refundFields);
76
- }
77
- catch (error) {
78
- console.error('Error submitting refund:', error);
79
- this.submitted.emit(error);
80
- }
81
- finally {
82
- this.isSubmitting = false;
83
- }
84
- }
85
- /**
86
- * Handles input changes, updating the refundFields state.
87
- */
88
- handleInput(field, value) {
89
- this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [field]: value }));
90
- }
91
- /**
92
- * Initializes the API with the given authentication token.
93
- * Logs a warning if the auth token is missing.
94
- */
95
- initializeApi() {
96
- if (!this.authToken) {
97
- console.warn('Warning: Missing auth-token.');
98
- }
99
- this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
100
- }
101
- render() {
102
- var _a;
103
- return (h(StyledHost, { key: '7becd3fcc3a0beefef5efdb860616aa60f7e61ad' }, h("h1", { key: '7125ac0e8452db4013d9065054aca8d65ead0138' }, "Refund"), this.refundInfoText && (h("div", { key: 'b60dbcac95e75469bab9e575efe5eba40d629693', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '231e5bcb4fdd82ea4e9bb0597bfe194759eb8e22', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: '21faa4040e99ee142e0f06246fc8317dcc5dfa28', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '4a8671c7f833279c14e29ae0f4054586fa7ecbba', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: 'd4296520cb377a6b61547615a2b95a3088ace83a', class: "form-group" }, h("form-control-monetary", { key: 'dbe00249e022722aea24f9967408625b7460f0f7', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: '765d36337fc31bd6ade5b9a94397b83e7f46e2a8', class: "form-group" }, h("form-control-text", { key: '3f3bc7e95568944d876fcf95e98ba9d871479096', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '4576ce0e5d04f063fd53045845fa5a4cf5bc6383', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '6165726b003006432d82ce5792a961ea2f42d654', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
104
- }
105
- }, [1, "justifi-refund-form", {
106
- "authToken": [1, "auth-token"],
107
- "paymentId": [1, "payment-id"],
108
- "amount": [2],
109
- "submitButtonText": [1, "submit-button-text"],
110
- "withButton": [4, "with-button"],
111
- "refundInfoText": [1, "refund-info-text"],
112
- "errors": [32],
113
- "isSubmitting": [32]
114
- }]);
115
- function defineCustomElement$1() {
116
- if (typeof customElements === "undefined") {
117
- return;
118
- }
119
- const components = ["justifi-refund-form", "custom-popper", "form-control-monetary", "form-control-text", "form-control-tooltip"];
120
- components.forEach(tagName => { switch (tagName) {
121
- case "justifi-refund-form":
122
- if (!customElements.get(tagName)) {
123
- customElements.define(tagName, RefundForm);
124
- }
125
- break;
126
- case "custom-popper":
127
- if (!customElements.get(tagName)) {
128
- defineCustomElement$5();
129
- }
130
- break;
131
- case "form-control-monetary":
132
- if (!customElements.get(tagName)) {
133
- defineCustomElement$4();
134
- }
135
- break;
136
- case "form-control-text":
137
- if (!customElements.get(tagName)) {
138
- defineCustomElement$3();
139
- }
140
- break;
141
- case "form-control-tooltip":
142
- if (!customElements.get(tagName)) {
143
- defineCustomElement$2();
144
- }
145
- break;
146
- } });
147
- }
148
- defineCustomElement$1();
149
-
150
- const JustifiRefundForm = RefundForm;
151
- const defineCustomElement = defineCustomElement$1;
152
-
153
- export { JustifiRefundForm, defineCustomElement };
@@ -1,11 +0,0 @@
1
- import * as yup from 'yup';
2
- export interface RefundFormFields {
3
- amount: number | null;
4
- message: string;
5
- }
6
- declare const RefundFormSchema: yup.ObjectSchema<{
7
- amount: number;
8
- }, yup.AnyObject, {
9
- amount: undefined;
10
- }, "">;
11
- export default RefundFormSchema;
@@ -1,27 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- argTypes: {
5
- authToken: {
6
- control: string;
7
- };
8
- paymentId: {
9
- control: string;
10
- };
11
- amount: {
12
- control: string;
13
- };
14
- submitButtonText: {
15
- control: string;
16
- };
17
- withButton: {
18
- control: string;
19
- };
20
- refundInfoText: {
21
- control: string;
22
- };
23
- };
24
- };
25
- export default _default;
26
- export declare const Example: any;
27
- export declare const Styled: any;
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s}from"./p-2783e363.js";import{a as e,C as o}from"./p-9dd8685c.js";import{C as r}from"./p-daf0303f.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-651c881b.js";import"./p-61f0a2ce.js";import{g as a,a as c}from"./p-87f8c596.js";import{c as h,J as n}from"./p-251c8e97.js";import{C as p}from"./p-646d007a.js";import{m as d,S as m}from"./p-52e2cc5e.js";import{S as u}from"./p-bfe9748b.js";import{d as f}from"./p-17c4edf7.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";import"./p-d5960545.js";import"./p-5f6b4bc9.js";import"./p-34a95381.js";import"./p-2dd39017.js";const j=class{constructor(s){t(this,s),this.errorEvent=i(this,"error-event",7),this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.getCheckouts=void 0,this.getSubAccounts=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin="https://wc-proxy.justifi.ai",this.columns=f}componentWillLoad(){h(),this.analytics=new n(this),this.initializeGetData()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializeGetCheckouts(),this.initializeGetSubAccounts()}initializeGetCheckouts(){this.accountId&&this.authToken?this.getCheckouts=(({accountId:t,authToken:i,service:s,apiOrigin:o})=>async({params:h,onSuccess:n,onError:p})=>{var d,m;try{const u=await s.fetchCheckouts(t,i,h,o);if(u.error)return p({error:a(u.error),code:c(null===(m=u.error)||void 0===m?void 0:m.code),severity:e.ERROR});{const t=Object.assign({},u.page_info);n({checkouts:(null===(d=u.data)||void 0===d?void 0:d.map((t=>new r(t))))||[],pagingInfo:t})}}catch(t){const i=c(null==t?void 0:t.code);return p({error:t.message||t,code:i,severity:e.ERROR})}})({accountId:this.accountId,authToken:this.authToken,service:new p,apiOrigin:this.apiOrigin}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:o.MISSING_PROPS,message:this.errorMessage,severity:e.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=d({accountId:this.accountId,authToken:this.authToken,service:new m,apiOrigin:this.apiOrigin}))}render(){return s(u,{key:"ae2a18885c69808bd589848ae1b33f4a4a3085e9"},s("checkouts-list-core",{key:"86201976540a348eb800ee07e9c50f68a1f1a1cf",getCheckouts:this.getCheckouts,getSubAccounts:this.getSubAccounts,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{j as justifi_checkouts_list}
@@ -1 +0,0 @@
1
- import{h as t}from"./p-2783e363.js";import{k as e,m as a}from"./p-2dd39017.js";import{c as r}from"./p-2ca5b5e4.js";import{B as d,a as s}from"./p-34a95381.js";const o="created_at,updated_at,order_status,quantity",i={created_at:()=>t("th",{part:e,scope:"col",title:"The date and time the order was created"},"Created At"),updated_at:()=>t("th",{part:e,scope:"col",title:"The date and time the order was last updated"},"Updated At"),order_status:()=>t("th",{part:e,scope:"col",title:"The current status of the order"},"Order Status"),business_id:()=>t("th",{part:e,scope:"col",title:"The business ID associated with the order"},"Business ID"),provider:()=>t("th",{part:e,scope:"col",title:"The provider associated with the order"},"Provider"),order_type:()=>t("th",{part:e,scope:"col",title:"The type of order"},"Order Type"),quantity:()=>t("th",{part:e,scope:"col",title:"The number of terminals associated with the order"},"Order Quantity")},p={created_at:(e,d)=>t("td",{part:a(d)},t("div",{class:"fw-bold"},r(e.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},r(e.created_at,{showTime:!0}))),updated_at:(e,d)=>t("td",{part:a(d)},t("div",{class:"fw-bold"},r(e.updated_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},r(e.updated_at,{showTime:!0}))),order_status:(e,r)=>t("td",{part:a(r)},t(d,Object.assign({},{submitted:{variant:s.PRIMARY,title:"This order is submitted",text:"Submitted"},completed:{variant:s.SUCCESS,title:"This order has been completed",text:"Completed"},created:{variant:s.SECONDARY,title:"This order is created",text:"Created"}}[e.order_status]))),business_id:(e,r)=>t("td",{part:a(r)},e.business_id),provider:(e,r)=>t("td",{part:a(r)},e.provider),order_type:(e,r)=>t("td",{part:a(r)},e.order_type),quantity:(e,r)=>t("td",{part:a(r)},e.terminals.length)};export{p as a,o as d,i as t}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as i,H as s}from"./p-2783e363.js";import{I as a}from"./p-1ad5995e.js";import{b as d,a5 as o,a as l,c,l as r}from"./p-2dd39017.js";import{F as n}from"./p-d4724349.js";import{S as h}from"./p-6078a370.js";import{n as f}from"./p-e3c22aa9.js";const u=class{constructor(i){e(this,i),this.formControlInput=t(this,"formControlInput",7),this.formControlBlur=t(this,"formControlBlur",7),this.imask=null,this.initializeIMask=()=>{this.textInput&&(this.imask=a(this.textInput,{mask:this.mask}),this.imask.on("accept",(()=>{var e;const t=null===(e=this.imask)||void 0===e?void 0:e.unmaskedValue;void 0!==t&&this.inputHandler(this.name,t)})),this.textInput.addEventListener("blur",(()=>this.formControlBlur.emit())))},this.handleFormControlInput=e=>{const t=e.target,i=t.getAttribute("name");this.formControlInput.emit({name:i,value:t.value})},this.updateInput=e=>{this.imask&&e&&(this.imask.value=String(e))},this.isFocused=!1,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.inputHandler=void 0,this.mask=void 0,this.disabled=void 0}handleDefaultValueChange(e){this.initializeIMask(),this.updateInput(e)}disconnectedCallback(){var e;null===(e=this.imask)||void 0===e||e.destroy()}componentDidLoad(){this.textInput&&(this.initializeIMask(),this.updateInput(this.defaultValue))}get part(){return this.errorText?d:this.disabled?o:this.isFocused?l:c}render(){return i(s,{key:"33803369123a612e3a59159eca88fa851cc4bdda"},i("div",{key:"4ec22ee1c45e050bb3c82465620f4195f0ee9f78",class:"form-group d-flex flex-column"},i("div",{key:"54f8150c131f9e1d591e893ff850014f986ca4ce",class:"d-flex align-items-start gap-2"},i("label",{key:"10adc8be977ddc13488f86e62d43e15cc27e8061",part:r,class:"form-label",htmlFor:this.name},this.label),i("form-control-tooltip",{key:"db05a1e10871fcb9cf7bf425963b57a802e8258b",helpText:this.helpText})),i("input",{key:"05e6000baf931e6bd51eb44a149613bdad453080",ref:e=>this.textInput=e,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",type:"text",disabled:this.disabled}),i(n,{key:"82ec36209485f448694614454cbddfffa1acca9e",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}},b=class{constructor(t){e(this,t),this.inputHandler=(e,t)=>{this.address[e]=t,this.address=Object.assign({},this.address)},this.handleFormUpdate=void 0,this.errors=void 0,this.defaultValues=void 0,this.address={}}handleAddressChange(e){this.handleFormUpdate(e)}render(){var e,t,a,d,o,l,c,r,n,u,b,v;return i(s,{key:"fee663d501d8ed69d8959f3edbb7d40c8d599ed1"},i("div",{key:"62cf6575afc3a416efbf262d9ad9e9999fd0b480",class:"row gy-3"},i("div",{key:"353941d7f75be1a8f607bcfd6796e84c2923c5d4",class:"col-12 col-md-8"},i("form-control-text",{key:"029374e05a1a4523223eff583b29c264d12c34b9",name:"line1",label:"Street Address",defaultValue:null===(e=this.defaultValues)||void 0===e?void 0:e.line1,errorText:null===(t=this.errors)||void 0===t?void 0:t.line1,inputHandler:this.inputHandler,helpText:"​​Enter your address exactly as stated on your driver's license. No PO Boxes."})),i("div",{key:"5a6efdc6724785c67088a9325c427d7594061db7",class:"col-12 col-md-4"},i("form-control-text",{key:"42b98d49c6e3ccce6c4f27f0edc0b45199ad2011",name:"line2",label:"Apartment, Suite, etc. (optional)",defaultValue:null===(a=this.defaultValues)||void 0===a?void 0:a.line2,errorText:null===(d=this.errors)||void 0===d?void 0:d.line2,inputHandler:this.inputHandler})),i("div",{key:"6e8019d952b5c9b2a1eb1a291a3768e0b1281a10",class:"col-12"},i("form-control-text",{key:"46a9ccdaa06d6f7bcc83589122fb84661091898a",name:"city",label:"City",defaultValue:null===(o=this.defaultValues)||void 0===o?void 0:o.city,errorText:null===(l=this.errors)||void 0===l?void 0:l.city,inputHandler:this.inputHandler})),i("div",{key:"60d5dd274bdafbe4fa9a690cd552e680028c6e5c",class:"col-12 col-md-6"},i("form-control-select",{key:"132d048d21dff090951ffdec6812be06d13be30c",name:"state",label:"State",defaultValue:null===(c=this.defaultValues)||void 0===c?void 0:c.state,options:h,errorText:null===(r=this.errors)||void 0===r?void 0:r.state,inputHandler:this.inputHandler})),i("div",{key:"1f583d9c35eb86fd7067c619bde6d39120ac9581",class:"col-12 col-md-6"},i("form-control-text",{key:"34ae70fda0faab6da9c5a278203144ecebce15b3",name:"postal_code",label:"Postal Code",defaultValue:null===(n=this.defaultValues)||void 0===n?void 0:n.postal_code,errorText:null===(u=this.errors)||void 0===u?void 0:u.postal_code,maxLength:5,keyDownHandler:f,inputHandler:this.inputHandler})),i("div",{key:"b04acb1677d176d7b8ab3086c7ac85ece03a9f31",class:"col-12"},i("form-control-select",{key:"77bd3623328cfb5e090838adb729edc4138134fa",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null===(b=this.defaultValues)||void 0===b?void 0:b.country,errorText:null===(v=this.errors)||void 0===v?void 0:v.country,disabled:!0}))))}static get watchers(){return{address:["handleAddressChange"]}}};export{u as form_control_number_masked,b as justifi_identity_address_form}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s}from"./p-2783e363.js";import{a as e,C as r}from"./p-9dd8685c.js";import{c as o,J as a}from"./p-251c8e97.js";import{a as p}from"./p-abdbcd8e.js";import{g as n,a as c}from"./p-87f8c596.js";import{D as h}from"./p-324587d0.js";import"./p-d5960545.js";import"./p-5f6b4bc9.js";import"./p-daf0303f.js";import"./p-2ca5b5e4.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-651c881b.js";import"./p-61f0a2ce.js";const d=class{constructor(s){t(this,s),this.errorEvent=i(this,"error-event",7),this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.disputeId=void 0,this.authToken=void 0,this.apiOrigin="https://wc-proxy.justifi.ai",this.getDispute=void 0,this.errorMessage=null}componentWillLoad(){o(),this.analytics=new a(this),this.initializeGetDispute()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetDispute()}initializeGetDispute(){this.disputeId&&this.authToken?this.getDispute=(({id:t,authToken:i,service:s,apiOrigin:r})=>async({onSuccess:o,onError:a})=>{var h;try{const d=await s.fetchDispute(t,i,r);if(d.error)return a({error:n(d.error),code:c(null===(h=d.error)||void 0===h?void 0:h.code),severity:e.ERROR});{const t=Object.assign({},d.page_info);o({dispute:new p(d.data),pagingInfo:t})}}catch(t){const i=c(null==t?void 0:t.code);return a({error:t.message||t,code:i,severity:e.ERROR})}})({id:this.disputeId,authToken:this.authToken,service:new h,apiOrigin:this.apiOrigin}):(this.errorMessage="Dispute ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:r.MISSING_PROPS,severity:e.ERROR}))}render(){return s("justifi-dispute-management-core",{key:"ae0e4a208d6250c4da7033e1d8bf8c33ec041c36",getDispute:this.getDispute,disputeId:this.disputeId,authToken:this.authToken,"onError-event":this.handleErrorEvent})}static get watchers(){return{disputeId:["propChanged"],authToken:["propChanged"]}}};export{d as justifi_dispute_management}
@@ -1 +0,0 @@
1
- import{r as i,c as s,h as t}from"./p-2783e363.js";import{B as e}from"./p-944f1cc7.js";import{S as a}from"./p-bfe9748b.js";import{c as o,J as d}from"./p-251c8e97.js";import{a as c,C as r}from"./p-9dd8685c.js";import"./p-daf0303f.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-651c881b.js";import"./p-61f0a2ce.js";import"./p-2dd39017.js";import"./p-d5960545.js";import"./p-5f6b4bc9.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";const h=class{constructor(t){i(this,t),this.errorEvent=s(this,"error-event",7),this.submitEvent=s(this,"submit-event",7),this.authToken=void 0,this.accountId=void 0,this.paymentMethodGroupId=void 0,this.submitButtonText=void 0,this.disableCreditCard=void 0,this.disableBankAccount=void 0,this.hideSubmitButton=void 0,this.hideCardBillingForm=void 0,this.iframeOrigin="https://components.justifi.ai",this.isLoading=!1}componentWillLoad(){o(),this.analytics=new d(this)}async tokenizePaymentMethod(i){let s;i&&i.preventDefault(),this.isLoading=!0;try{s=await this.paymentMethodOptionsRef.resolvePaymentMethod({isValid:!0}),s.error&&this.errorEvent.emit({errorCode:s.error.code,message:s.error.message,severity:c.ERROR})}catch(i){this.errorEvent.emit({errorCode:r.TOKENIZE_ERROR,message:i.message,severity:c.ERROR})}finally{return this.submitEvent.emit({response:s}),this.isLoading=!1,s}}async fillBillingForm(i){this.paymentMethodOptionsRef.fillBillingForm(i)}render(){return t(a,{key:"b4c878459fb1601d429140d80ce02b898d6ca2ed"},t("form",{key:"11917b591a4116e5711c0afd3e68b6599d064cae"},t("fieldset",{key:"b3c4ad0c42a424091a433e9aa8375108831e6c47"},t("div",{key:"bee2fa3c6c5de31d25cb102185fc977a5436a53b",class:"row gy-3"},t("div",{key:"fb32aa9f47716077a3dad2bfd7bfc950200014ba",class:"col-12"},t("justifi-payment-method-options",{key:"dca7ac67609a13e1b14bdc042eb131a07305e0d8",ref:i=>this.paymentMethodOptionsRef=i,"show-card":!this.disableCreditCard,"show-ach":!this.disableBankAccount,"show-bnpl":!1,paymentMethodGroupId:this.paymentMethodGroupId,"show-saved-payment-methods":!1,hideCardBillingForm:this.hideCardBillingForm,authToken:this.authToken,"account-id":this.accountId,iframeOrigin:this.iframeOrigin})),t("div",{key:"2218cb2eac22fd6187da4d205fc2437a980fa2a5",class:"col-12"},t(e,{key:"1299a5a10261b375cfec1b2599cc6de7f606bad9",variant:"primary",type:"submit",onClick:i=>this.tokenizePaymentMethod(i),isLoading:this.isLoading,"data-testid":"submit-button",hidden:this.hideSubmitButton},this.submitButtonText||"Submit"))))))}};export{h as justifi_tokenize_payment_method}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as s,H as a}from"./p-2783e363.js";import{l as i,c as h,b as o,a5 as r,a as c}from"./p-2dd39017.js";import{F as d}from"./p-d4724349.js";const l=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.handleFormControlInput=t=>{const e=t.target.value;this.inputHandler(this.name,e),this.formControlInput.emit({name:this.name,value:e})},this.isFocused=!1,this.name=void 0,this.label=void 0,this.inputHandler=void 0,this.defaultValue=void 0,this.helpText=void 0,this.errorText=void 0,this.disabled=void 0,this.showTime=void 0,this.maxDate=this.currentDate}handleDefaultValueChange(t){this.updateInput(t)}get currentDate(){return this.showTime?(new Date).toISOString().slice(0,16):(new Date).toISOString().split("T")[0]}componentDidLoad(){this.updateInput(this.defaultValue)}updateInput(t){this.dateInput.value=t}get part(){let t=h;return this.errorText&&(t=o),this.disabled&&(t=r),this.isFocused&&(t=c),t}render(){return s(a,{key:"39efc4cf0cf20cd611c775f1e47ace6b445eab99"},s("div",{key:"82de246b4d67f3c1a234987c3d9259e8ed7fb3e5",class:"form-group d-flex flex-column"},s("div",{key:"033c637f965aa750c6130504f70f7fabb9d1a9da",class:"d-flex gap-2"},s("label",{key:"ce384aeee225254eac66cfcb6fbe8b6b5677cd5e",part:i,class:"form-label",htmlFor:this.name},this.label),s("form-control-tooltip",{key:"a8195ae52a1904bcdaa0ee082b77164bb399e5bc",helpText:this.helpText})),s("input",{key:"07bb64ebf4727c892bc5e873d6b8327cb0e89430",type:this.showTime?"datetime-local":"date",ref:t=>this.dateInput=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",disabled:this.disabled,max:this.maxDate}),s(d,{key:"783b7b021819a5c26441a438be7b83dabb4cfce1",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{l as form_control_date}
@@ -1 +0,0 @@
1
- import{h as e,r as a,c as t}from"./p-2783e363.js";import{b as s,a as d,s as i}from"./p-2ca5b5e4.js";import{M as c}from"./p-88af0d7d.js";import{a as b,b as f,D as l,c as h,C as r,E as o}from"./p-365e56fc.js";import{S as y}from"./p-bfe9748b.js";import{S as n}from"./p-8946edfd.js";import"./p-34a95381.js";import"./p-2dd39017.js";const v=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(n,{width:"35%",height:"30px"})),e("div",{class:"col-12"},e(n,{width:"70%"})),e("div",{class:"col-12"},e(n,{width:"40%"})),e("div",{class:"col-12"},e(n,{width:"40%"})),e("div",{class:"col-12"},e(n,{width:"100%"})),e("div",{class:"col-12"},e(n,{width:"80%"}))),k=class{constructor(e){a(this,e),this.errorEvent=t(this,"error-event",7),this.getPaymentDetails=void 0,this.payment=void 0,this.loading=!0,this.errorMessage=void 0}componentWillLoad(){this.getPaymentDetails&&this.fetchData()}updateOnPropChange(){this.fetchData()}fetchData(){this.loading=!0,this.getPaymentDetails({onSuccess:({payment:e})=>{this.payment=e,this.loading=!1,this.errorMessage=null},onError:({error:e,code:a,severity:t})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:a,message:e,severity:t}),this.loading=!1}})}render(){return e(y,{key:"00ba42c81617d9593246956e97b6b962817cc167"},this.loading&&e(v,{key:"1c0fee27dec985cad2cc7d41f61d137246ffcc3e"}),!this.loading&&this.errorMessage&&o(this.errorMessage),!this.loading&&!this.errorMessage&&this.payment&&e("justifi-details",{key:"e264b42451a8966a4e6313486bc9d1ccaea0141b","error-message":this.errorMessage},e(b,{key:"af96a0f502cce1be451160e8ac2f92074b0ee168",slot:"head-info",badge:c(this.payment.status),title:this.payment.formattedPaymentAmount(this.payment.amount)},e(f,{key:"94f876bd62dd9ccaa6f63f25326390b03c9938d5",classes:"border-1 border-end",title:"Updated At",value:`${s(this.payment.updated_at)} ${d(this.payment.updated_at)}`}),e(f,{key:"96c629e2d1a99eca277ec7337cb3e00e88c1b31e",classes:"border-1 border-end",title:"Created At",value:`${s(this.payment.created_at)} ${d(this.payment.created_at)}`}),e(f,{key:"0d18abfae7e9fd0a692ac54640194033a5c36f41",title:"ID",value:this.payment.id})),e("div",{key:"7f9e14d7e0312ba1136cf5734754bf0af6c19774",slot:"detail-sections"},e(l,{key:"a11b47796dada4f9678487edf19dcd7928b08e94",sectionTitle:"Details"}),e("div",{key:"fa8a895e037adbbcf5856aae4f40306b789a90c8",class:"d-table gap-2 w-100"},e(h,{key:"84a8fa2b0dc39aa331501e00a8eb9bf93e8bb8c2",title:"Amount",value:this.payment.formattedPaymentAmount(this.payment.amount)}),e(h,{key:"632fa4e703aabc7b606b939e95d1633a43fedfaa",title:"Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"bc37a80a15fea95932d04676f2c5a8a57276958b",title:"Refunded",value:this.payment.formattedPaymentAmount(this.payment.amount_refunded)}),e(h,{key:"588a76203897cd31b9d0c1c8de1b7b9b0b107421",title:"Net",value:this.payment.formattedPaymentAmount(this.payment.balance)}),e(h,{key:"c0fea24390417c591327c76568829cbf9f9147a9",title:"Status",value:c(this.payment.status)}),e(h,{key:"e332a896b55bb58f3fd26ee892556acb08ced52d",title:"Payment ID",value:this.payment.id}),e(h,{key:"844fdb40ed55ca0e2f848e7325dcb64f134fa5d6",title:"Processing Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"dce95b409eb465e8d6373ad80b7b14a0eecc5aca",title:"Statement Descriptor",value:this.payment.statement_descriptor}),e(h,{key:"bed2051bd720b1a790ff59b50bee7f01e3fb222a",title:"Description",value:this.payment.description})),this.payment.payment_method.card&&[e(l,{key:"3283ea5236fab75a32fe569ad29d9b70c62b49a0",sectionTitle:"Payment Method"}),e("div",{key:"b9a0d9cfca791e3afb4a2e1e73b036319191d485",class:"d-table gap-2 w-100"},e(h,{key:"15da44c97292af05a14b3f7840b07bdcf34ae953",title:"ID",value:this.payment.payment_method.card.id}),e(h,{key:"d8a4a431c3e3ab0d14be8992521ee89b5e126a04",title:"Payment Type",value:"Card"}),e(h,{key:"1a8ed38a316ea943761d2dd7fda58490180ef3bc",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),e(h,{key:"db695d1b89896a7a73c83fd8a7d5837ad1e69909",title:"Brand",value:i(this.payment.payment_method.card.brand)}),e(h,{key:"d94879fb30ac0a05a16ce9ddb199fb5cb003a8c1",title:"Cardholder",value:this.payment.payment_method.payersName}))],this.payment.payment_method.bank_account&&[e(l,{key:"84dae904db3c22ff5ed03abaeb57d3b0736d1fbb",sectionTitle:"Payment Method"}),e("div",{key:"400801019a53feec0478273866fffa5683b408aa",class:"d-table gap-2 w-100"},e(h,{key:"ca7bb52e4275659b18daacfa6367de2f32617e70",title:"ID",value:this.payment.payment_method.bank_account.id}),e(h,{key:"4885d2b5f05b6a713d61074271c7a95b23604dca",title:"Last 4 Numbers",value:this.payment.last_four_digits}),e(h,{key:"604ec4efe78a12a1c36d8416c9fdec70351a6dad",title:"Bank Name",value:this.payment.payment_method.bank_account.brand}),e(h,{key:"1ef77a81232e19d1063af9e863f5c9ada183715f",title:"Account Owner",value:this.payment.payment_method.payersName}))],e(l,{key:"1d0a45dd7b7f44b2bad75db9ddb7886b9fc36c9c",sectionTitle:"Metadata"}),e("div",{key:"364dfb72b9585b672a510b11ecf794c8293ac88d",class:"d-table gap-2 w-100"},e(r,{key:"1b9254f2f5f81959ea4e190a3a84129d8c54eccd",metadata:this.payment.metadata})))))}static get watchers(){return{getPaymentDetails:["updateOnPropChange"]}}};export{k as payment_details_core}