@justifi/webcomponents 5.0.0 → 5.1.0

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 (656) hide show
  1. package/dist/cjs/{Api-f5280a80.js → Api-b0e4be29.js} +12 -0
  2. package/dist/cjs/{Checkout-a528241d.js → Checkout-2ff4f9c8.js} +6 -0
  3. package/dist/cjs/{Payment-d074b246.js → Payment-84817e2d.js} +10 -1
  4. package/dist/cjs/{SubAccount-fda5ec5b.js → SubAccount-f236913b.js} +6 -1
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  6. package/dist/cjs/badge-fbf58cb9.js +44 -0
  7. package/dist/cjs/bank-account-form_9.cjs.entry.js +56 -64
  8. package/dist/cjs/{iframe-input.cjs.entry.js → billing-form_3.cjs.entry.js} +99 -6
  9. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  10. package/dist/cjs/business.service-ffb6f478.js +38 -0
  11. package/dist/cjs/{button-94bdc1f0.js → button-e7796b07.js} +1 -1
  12. package/dist/cjs/{check-pkg-version-05db7d8e.js → check-pkg-version-931df996.js} +3 -4
  13. package/dist/cjs/{checkout.service-671fab62.js → checkout.service-e9c05c15.js} +7 -8
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -9
  15. package/dist/cjs/checkouts-table-0f19c1e6.js +57 -0
  16. package/dist/cjs/custom-popper.cjs.entry.js +2 -2
  17. package/dist/cjs/{dispute.service-c362a953.js → dispute.service-9272a2a6.js} +8 -9
  18. package/dist/cjs/{event-types-4df47396.js → event-types-aa1a9be1.js} +3 -3
  19. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  20. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  21. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  22. package/dist/cjs/{form-control-error-text-a2fd5fc1.js → form-control-error-text-c1f49f35.js} +1 -1
  23. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
  24. package/dist/cjs/form-control-file.cjs.entry.js +4 -4
  25. package/dist/cjs/{form-control-help-text-b6f7ae6e.js → form-control-help-text-e6cc71a7.js} +1 -1
  26. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  27. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  28. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  29. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  30. package/dist/cjs/form-control-select_3.cjs.entry.js +6 -6
  31. package/dist/cjs/{get-payout-csv-d2aed52c.js → get-payout-csv-778db023.js} +7 -8
  32. package/dist/cjs/{get-subaccounts-9aa22224.js → get-subaccounts-b087fa39.js} +5 -6
  33. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  34. package/dist/cjs/{header-1-cb7af794.js → header-1-96b97cab.js} +1 -1
  35. package/dist/cjs/{header-3-75e50713.js → header-3-ce77b96b.js} +1 -1
  36. package/dist/cjs/{insurance-state-001cfe12.js → insurance-state-8959c7c7.js} +1 -1
  37. package/dist/cjs/{justifi-additional-questions-form-step-core_8.cjs.entry.js → justifi-additional-questions-form-step-core_9.cjs.entry.js} +225 -16
  38. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +54 -161
  39. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  40. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -7
  41. package/dist/cjs/justifi-business-form.cjs.entry.js +40 -15
  42. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  43. package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -11
  44. package/dist/cjs/justifi-checkout.cjs.entry.js +11 -11
  45. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
  47. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  48. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  49. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  50. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -16
  51. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -7
  52. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -9
  53. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
  54. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  56. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  57. package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
  58. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
  59. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  60. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
  61. package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -7
  62. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +21 -4
  63. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -11
  64. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  65. package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -14
  66. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +28 -15
  67. package/dist/cjs/loader.cjs.js +1 -1
  68. package/dist/cjs/{package-48c58886.js → package-52ac8376.js} +1 -1
  69. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  70. package/dist/cjs/{parts-811ddb9c.js → parts-addf2176.js} +20 -2
  71. package/dist/cjs/payment-details-core.cjs.entry.js +27 -13
  72. package/dist/cjs/{payment-provisioning-actions-06466dda.js → payment-provisioning-actions-fbd30d1b.js} +31 -0
  73. package/dist/cjs/{payment.service-9a5336f1.js → payment.service-042c7c99.js} +6 -7
  74. package/dist/cjs/payments-list-core.cjs.entry.js +11 -10
  75. package/dist/cjs/payments-status-411c325c.js +58 -0
  76. package/dist/cjs/{payments-table-cf5d1c33.js → payments-table-16f3f95e.js} +12 -12
  77. package/dist/cjs/payout-details-core.cjs.entry.js +22 -7
  78. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -10
  79. package/dist/cjs/payouts-status-0951e39d.js +53 -0
  80. package/dist/cjs/{payouts-table-58881d95.js → payouts-table-bc15179c.js} +14 -16
  81. package/dist/cjs/{skeleton-5ca03840.js → skeleton-c4903a53.js} +1 -1
  82. package/dist/cjs/{spinner-c11fcb44.js → spinner-aac395e3.js} +1 -1
  83. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  84. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -8
  85. package/dist/cjs/terminals-table-3c19847b.js +45 -0
  86. package/dist/cjs/{utils-a21b7453.js → utils-5fb95d31.js} +6 -8
  87. package/dist/cjs/{utils-fc17191b.js → utils-a05a8bf6.js} +2 -2
  88. package/dist/cjs/webcomponents.cjs.js +1 -1
  89. package/dist/collection/api/BankAccount.js +12 -0
  90. package/dist/collection/api/Checkout.js +5 -0
  91. package/dist/collection/api/Payment.js +10 -1
  92. package/dist/collection/api/Payout.js +5 -1
  93. package/dist/collection/api/services/business.service.js +6 -0
  94. package/dist/collection/collection-manifest.json +4 -1
  95. package/dist/collection/components/{billing-form → billing-forms/billing-form}/billing-form.js +10 -10
  96. package/dist/collection/components/{billing-form → billing-forms}/billing-form-schema.js +13 -2
  97. package/dist/collection/components/billing-forms/billing-form-wrapper.js +183 -0
  98. package/dist/collection/components/billing-forms/postal-form/postal-form.js +136 -0
  99. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  100. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  101. package/dist/collection/components/business-forms/business-form/business-form-loading.js +6 -0
  102. package/dist/collection/components/business-forms/business-form/business-form.js +10 -4
  103. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  104. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  105. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  106. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  107. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  108. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +13 -3
  110. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  111. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +270 -0
  112. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +37 -146
  113. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +13 -3
  114. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  115. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +11 -3
  116. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  117. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +13 -3
  119. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  122. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +13 -3
  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-actions.js +30 -0
  125. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -2
  128. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-loading.js +6 -0
  129. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  130. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  131. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
  132. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +1 -1
  133. package/dist/collection/components/checkout/card-form/card-form.js +1 -1
  134. package/dist/collection/components/checkout/checkout-core.js +30 -27
  135. package/dist/collection/components/checkout/checkout.js +29 -24
  136. package/dist/collection/components/checkout/new-payment-method.js +35 -32
  137. package/dist/collection/components/checkout/payment-method-options.js +29 -44
  138. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  139. package/dist/collection/components/checkout/saved-payment-method.js +1 -21
  140. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -21
  141. package/dist/collection/components/checkout/test/checkout.js +0 -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/checkouts-list/checkouts-status.js +26 -11
  146. package/dist/collection/components/checkouts-list/checkouts-table.js +7 -7
  147. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  158. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  159. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  160. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  161. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
  162. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-loading.js +4 -0
  163. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +4 -2
  164. package/dist/collection/components/payment-details/payment-details-core.js +10 -12
  165. package/dist/collection/components/payment-details/payment-details-loading.js +4 -0
  166. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  167. package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
  168. package/dist/collection/components/payments-list/payments-list.js +1 -1
  169. package/dist/collection/components/payments-list/payments-status.js +51 -21
  170. package/dist/collection/components/payments-list/payments-table.js +8 -8
  171. package/dist/collection/components/payout-details/payout-details-core.js +3 -4
  172. package/dist/collection/components/payout-details/payout-details-loading.js +4 -0
  173. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  174. package/dist/collection/components/payouts-list/payouts-list-filters.js +1 -1
  175. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  176. package/dist/collection/components/payouts-list/payouts-status.js +46 -19
  177. package/dist/collection/components/payouts-list/payouts-table.js +10 -10
  178. package/dist/collection/components/refund-form/refund-form.js +1 -1
  179. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  180. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  181. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  182. package/dist/collection/components/terminals-list/terminals-status.js +21 -9
  183. package/dist/collection/components/terminals-list/terminals-table.js +4 -4
  184. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +60 -25
  185. package/dist/collection/styles/parts.js +11 -2
  186. package/dist/collection/ui-components/badge/badge.js +39 -0
  187. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  188. package/dist/collection/ui-components/details/details.js +1 -1
  189. package/dist/collection/ui-components/details/utils.js +1 -1
  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 +2 -2
  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/utils/table.js +1 -1
  205. package/dist/collection/utils/utils.js +6 -8
  206. package/dist/config.js +0 -1
  207. package/dist/docs.json +779 -197
  208. package/dist/esm/{Api-391d00e2.js → Api-0cac5b8a.js} +12 -1
  209. package/dist/esm/{Checkout-0b4086f8.js → Checkout-d476bb83.js} +6 -0
  210. package/dist/esm/{Payment-4f72d277.js → Payment-47630113.js} +10 -1
  211. package/dist/esm/{SubAccount-99a00594.js → SubAccount-f31349a9.js} +6 -1
  212. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  213. package/dist/esm/badge-b034e71b.js +42 -0
  214. package/dist/esm/bank-account-form_9.entry.js +55 -63
  215. package/dist/esm/{iframe-input.entry.js → billing-form_3.entry.js} +98 -7
  216. package/dist/esm/{business-additional-questions-schema-48e93928.js → business-additional-questions-schema-aba9747e.js} +1 -1
  217. package/dist/esm/business-details-core.entry.js +3 -3
  218. package/dist/esm/{business-identity-schema-75126188.js → business-identity-schema-8b0f1619.js} +1 -1
  219. package/dist/esm/{business.service-182aea6f.js → business.service-ab2663a3.js} +8 -3
  220. package/dist/esm/{button-1886a33d.js → button-8a02823c.js} +1 -1
  221. package/dist/esm/{check-pkg-version-95b9be89.js → check-pkg-version-f613bceb.js} +2 -3
  222. package/dist/esm/{checkout.service-32a6ebe8.js → checkout.service-c275270e.js} +4 -5
  223. package/dist/esm/checkouts-list-core.entry.js +10 -9
  224. package/dist/esm/checkouts-table-115bacc4.js +53 -0
  225. package/dist/esm/custom-popper.entry.js +2 -2
  226. package/dist/esm/{dispute.service-4e5059aa.js → dispute.service-882e35ed.js} +4 -5
  227. package/dist/esm/{event-types-01dcdcbd.js → event-types-948c3b14.js} +3 -3
  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-3b2553b5.js → form-control-error-text-066cdad4.js} +1 -1
  232. package/dist/esm/form-control-file-v2_2.entry.js +4 -4
  233. package/dist/esm/form-control-file.entry.js +4 -4
  234. package/dist/esm/{form-control-help-text-a2fc3617.js → form-control-help-text-3b6f5980.js} +1 -1
  235. package/dist/esm/form-control-monetary.entry.js +5 -5
  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/form-control-select_3.entry.js +6 -6
  240. package/dist/esm/{get-payout-csv-e6058aa7.js → get-payout-csv-50aea928.js} +4 -5
  241. package/dist/esm/{get-subaccounts-0b8af245.js → get-subaccounts-ab3dd32c.js} +4 -5
  242. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  243. package/dist/esm/{header-1-c6a00a22.js → header-1-75c284dd.js} +1 -1
  244. package/dist/esm/{header-3-a1c6d475.js → header-3-4a327395.js} +1 -1
  245. package/dist/esm/{insurance-state-8fc9376f.js → insurance-state-b495be64.js} +1 -1
  246. package/dist/esm/{justifi-additional-questions-form-step-core_8.entry.js → justifi-additional-questions-form-step-core_9.entry.js} +230 -22
  247. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +53 -160
  248. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  249. package/dist/esm/justifi-business-details.entry.js +6 -7
  250. package/dist/esm/justifi-business-form.entry.js +43 -18
  251. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  252. package/dist/esm/justifi-checkout-core.entry.js +10 -11
  253. package/dist/esm/justifi-checkout.entry.js +11 -11
  254. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  255. package/dist/esm/justifi-checkouts-list.entry.js +13 -13
  256. package/dist/esm/justifi-details.entry.js +3 -3
  257. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  258. package/dist/esm/justifi-dispute-management.entry.js +9 -9
  259. package/dist/esm/justifi-dispute-notification_3.entry.js +14 -15
  260. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -6
  261. package/dist/esm/justifi-owner-form_3.entry.js +10 -11
  262. package/dist/esm/justifi-payment-details.entry.js +10 -10
  263. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  264. package/dist/esm/justifi-payment-provisioning.entry.js +6 -7
  265. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  266. package/dist/esm/justifi-payments-list.entry.js +13 -13
  267. package/dist/esm/justifi-payout-details.entry.js +10 -10
  268. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  269. package/dist/esm/justifi-payouts-list.entry.js +14 -14
  270. package/dist/esm/justifi-refund-form.entry.js +6 -6
  271. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +22 -5
  272. package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -9
  273. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  274. package/dist/esm/justifi-terminals-list.entry.js +12 -11
  275. package/dist/esm/justifi-tokenize-payment-method.entry.js +29 -16
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/{package-223933b4.js → package-9b94eb81.js} +1 -1
  278. package/dist/esm/pagination-menu.entry.js +1 -1
  279. package/dist/esm/{parts-186d437f.js → parts-93f379ab.js} +12 -3
  280. package/dist/esm/payment-details-core.entry.js +28 -14
  281. package/dist/esm/{payment-provisioning-actions-0635eff7.js → payment-provisioning-actions-a262ee82.js} +31 -1
  282. package/dist/esm/{payment.service-45f90e06.js → payment.service-92b90855.js} +4 -5
  283. package/dist/esm/payments-list-core.entry.js +11 -10
  284. package/dist/esm/payments-status-82466054.js +56 -0
  285. package/dist/esm/{payments-table-d6fbab5b.js → payments-table-c0bb25b6.js} +12 -12
  286. package/dist/esm/payout-details-core.entry.js +23 -8
  287. package/dist/esm/payouts-list-core.entry.js +11 -10
  288. package/dist/esm/payouts-status-b98c8297.js +51 -0
  289. package/dist/esm/{payouts-table-2e61a116.js → payouts-table-4382a264.js} +14 -16
  290. package/dist/esm/{schema-validations-c7d4f9df.js → schema-validations-5b0ac96b.js} +1 -1
  291. package/dist/esm/{skeleton-8f71cdf7.js → skeleton-3bcb2b5d.js} +1 -1
  292. package/dist/esm/{spinner-879489b3.js → spinner-b83f3a87.js} +1 -1
  293. package/dist/esm/table-filters-menu.entry.js +3 -3
  294. package/dist/esm/terminals-list-core.entry.js +10 -8
  295. package/dist/esm/terminals-table-8f1c2146.js +41 -0
  296. package/dist/esm/{utils-d7633e66.js → utils-7fb6331d.js} +2 -2
  297. package/dist/esm/{utils-54543523.js → utils-b76d791e.js} +7 -9
  298. package/dist/esm/webcomponents.js +1 -1
  299. package/dist/module/Checkout.js +6 -0
  300. package/dist/module/Payment.js +11 -1
  301. package/dist/module/SubAccount.js +6 -1
  302. package/dist/module/additional-questions.js +2 -2
  303. package/dist/module/additional-statement.js +2 -2
  304. package/dist/module/badge.js +42 -0
  305. package/dist/module/bank-account-form2.js +1 -1
  306. package/dist/module/billing-form-schema.js +16 -0
  307. package/dist/module/billing-form-wrapper.js +114 -0
  308. package/dist/module/{justifi-billing-form.d.ts → billing-form.d.ts} +4 -4
  309. package/dist/module/billing-form.js +4 -97
  310. package/dist/module/billing-form2.js +90 -0
  311. package/dist/module/business-additional-questions-form-step-core.js +13 -3
  312. package/dist/module/business-additional-questions-form-step.js +1 -1
  313. package/dist/module/business-additional-questions-schema.js +1 -1
  314. package/dist/module/business-address-schema.js +1 -1
  315. package/dist/module/business-bank-account-form-step-core.js +206 -0
  316. package/dist/module/business-bank-account-form-step.js +49 -157
  317. package/dist/module/business-core-info-form-step-core.js +14 -4
  318. package/dist/module/business-core-info-form-step.js +1 -1
  319. package/dist/module/business-core-info.js +2 -2
  320. package/dist/module/business-document-upload-form-step.js +2 -3
  321. package/dist/module/business-document-upload-input-group.js +1 -1
  322. package/dist/module/business-documents-on-file.js +1 -1
  323. package/dist/module/business-form-options.js +1 -1
  324. package/dist/module/business-owners-form-step-core.js +10 -2
  325. package/dist/module/business-owners-form-step.js +1 -1
  326. package/dist/module/business-representative-form-inputs.js +1 -1
  327. package/dist/module/business-representative-form-step-core.js +12 -2
  328. package/dist/module/business-representative-form-step.js +1 -1
  329. package/dist/module/business-representative.js +1 -1
  330. package/dist/module/business-terms-conditions-form-step.js +2 -3
  331. package/dist/module/business-terms-conditions-text.js +2 -2
  332. package/dist/module/business.service.js +8 -3
  333. package/dist/module/button.js +1 -1
  334. package/dist/module/cancellation-policy.js +2 -2
  335. package/dist/module/card-form2.js +1 -1
  336. package/dist/module/check-pkg-version.js +1 -2
  337. package/dist/module/checkout-core.js +51 -40
  338. package/dist/module/checkout.service.js +1 -2
  339. package/dist/module/checkouts-list-core2.js +36 -27
  340. package/dist/module/config.js +116 -2
  341. package/dist/module/custom-popper2.js +2 -2
  342. package/dist/module/customer-details.js +2 -2
  343. package/dist/module/details.js +1 -1
  344. package/dist/module/dispute-management-core.js +1 -1
  345. package/dist/module/dispute-notification.js +2 -2
  346. package/dist/module/dispute-response-actions.js +2 -3
  347. package/dist/module/dispute-response-core.js +2 -2
  348. package/dist/module/dispute-response.js +1 -1
  349. package/dist/module/duplicate-charge.js +2 -2
  350. package/dist/module/electronic-evidence.js +2 -2
  351. package/dist/module/event-types.js +2 -2
  352. package/dist/module/form-alert2.js +1 -1
  353. package/dist/module/form-control-checkbox2.js +3 -3
  354. package/dist/module/form-control-date2.js +3 -3
  355. package/dist/module/form-control-file-v22.js +1 -1
  356. package/dist/module/form-control-file2.js +3 -3
  357. package/dist/module/form-control-monetary2.js +3 -3
  358. package/dist/module/form-control-number-masked2.js +3 -3
  359. package/dist/module/form-control-number.js +2 -2
  360. package/dist/module/form-control-radio2.js +3 -3
  361. package/dist/module/form-control-select2.js +3 -3
  362. package/dist/module/form-control-text2.js +3 -3
  363. package/dist/module/form-control-textarea2.js +3 -3
  364. package/dist/module/form-control-tooltip2.js +1 -1
  365. package/dist/module/get-payout-csv.js +2 -3
  366. package/dist/module/get-subaccounts.js +2 -3
  367. package/dist/module/gross-payment-chart-core2.js +1 -1
  368. package/dist/module/hidden-input2.js +1 -1
  369. package/dist/module/identity-address-form.js +2 -2
  370. package/dist/module/iframe-input2.js +3 -3
  371. package/dist/module/justifi-billing-form-wrapper.d.ts +11 -0
  372. package/dist/module/justifi-billing-form-wrapper.js +6 -0
  373. package/dist/module/justifi-business-bank-account-form-step-core.d.ts +11 -0
  374. package/dist/module/justifi-business-bank-account-form-step-core.js +6 -0
  375. package/dist/module/justifi-business-details.js +1 -1
  376. package/dist/module/justifi-business-form.js +32 -7
  377. package/dist/module/justifi-checkout.js +53 -41
  378. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  379. package/dist/module/justifi-checkouts-list.js +2 -2
  380. package/dist/module/justifi-dispute-management.js +2 -2
  381. package/dist/module/justifi-gross-payment-chart.js +2 -3
  382. package/dist/module/justifi-payment-details.js +1 -1
  383. package/dist/module/justifi-payment-provisioning.js +33 -28
  384. package/dist/module/justifi-payments-list-filters.js +1 -1
  385. package/dist/module/justifi-payments-list.js +2 -2
  386. package/dist/module/justifi-payout-details.js +1 -1
  387. package/dist/module/justifi-payouts-list-filters.js +1 -1
  388. package/dist/module/justifi-payouts-list.js +2 -2
  389. package/dist/module/justifi-refund-form.js +2 -3
  390. package/dist/module/justifi-season-interruption-insurance.js +6 -5
  391. package/dist/module/justifi-terminals-list-filters.js +1 -1
  392. package/dist/module/justifi-terminals-list.js +3 -4
  393. package/dist/module/justifi-tokenize-payment-method.js +73 -45
  394. package/dist/module/legal-address-form-step-core.js +13 -3
  395. package/dist/module/legal-address-form-step.js +1 -1
  396. package/dist/module/legal-address-form.js +2 -2
  397. package/dist/module/new-payment-method.js +50 -43
  398. package/dist/module/owner-form-core2.js +2 -2
  399. package/dist/module/owner-form-inputs2.js +1 -1
  400. package/dist/module/owner-form.js +2 -2
  401. package/dist/module/package.js +1 -1
  402. package/dist/module/pagination-menu2.js +1 -1
  403. package/dist/module/parts.js +12 -3
  404. package/dist/module/payment-details-core2.js +25 -13
  405. package/dist/module/payment-method-options.js +49 -39
  406. package/dist/module/payment-provisioning-actions.js +32 -2
  407. package/dist/module/payment-provisioning-core.js +31 -25
  408. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  409. package/dist/module/payment-provisioning-form-steps.js +32 -26
  410. package/dist/module/payment-provisioning-loading.js +25 -0
  411. package/dist/module/payment.service.js +1 -2
  412. package/dist/module/payments-list-core2.js +12 -12
  413. package/dist/module/payments-status.js +52 -20
  414. package/dist/module/payout-details-core2.js +18 -5
  415. package/dist/module/payouts-list-core2.js +14 -16
  416. package/dist/module/payouts-status.js +47 -18
  417. package/dist/module/postal-form.d.ts +11 -0
  418. package/dist/module/postal-form.js +6 -0
  419. package/dist/module/postal-form2.js +83 -0
  420. package/dist/module/product-or-service.js +2 -2
  421. package/dist/module/refund-policy.js +2 -2
  422. package/dist/module/save-new-payment-method.js +1 -1
  423. package/dist/module/saved-payment-method.js +2 -5
  424. package/dist/module/schema-validations.js +2 -2
  425. package/dist/module/season-interruption-insurance-core.js +19 -2
  426. package/dist/module/sezzle-payment-method.js +2 -5
  427. package/dist/module/shipping-details.js +2 -2
  428. package/dist/module/spinner.js +1 -1
  429. package/dist/module/table-filters-menu2.js +2 -2
  430. package/dist/module/terminals-list-core2.js +26 -14
  431. package/dist/module/utils.js +1 -1
  432. package/dist/module/utils2.js +6 -8
  433. package/dist/module/utils3.js +23 -24
  434. package/dist/module/utils4.js +24 -23
  435. package/dist/types/api/BankAccount.d.ts +11 -0
  436. package/dist/types/api/Checkout.d.ts +4 -2
  437. package/dist/types/api/Payment.d.ts +9 -4
  438. package/dist/types/api/Payout.d.ts +4 -2
  439. package/dist/types/api/services/business.service.d.ts +7 -0
  440. package/dist/types/components/{billing-form → billing-forms/billing-form}/billing-form.d.ts +2 -2
  441. package/dist/types/components/{billing-form → billing-forms}/billing-form-schema.d.ts +11 -2
  442. package/dist/types/components/billing-forms/billing-form-wrapper.d.ts +19 -0
  443. package/dist/types/components/billing-forms/postal-form/postal-form.d.ts +20 -0
  444. package/dist/types/components/business-forms/business-form/business-form-loading.d.ts +1 -0
  445. package/dist/types/components/business-forms/business-form/business-form.d.ts +1 -0
  446. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +1 -0
  447. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +35 -0
  448. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +6 -24
  449. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +1 -0
  450. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +1 -0
  451. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +1 -0
  452. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +1 -0
  453. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +9 -0
  454. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-loading.d.ts +1 -0
  455. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
  456. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
  457. package/dist/types/components/checkout/checkout-core.d.ts +3 -6
  458. package/dist/types/components/checkout/checkout.d.ts +3 -3
  459. package/dist/types/components/checkout/new-payment-method.d.ts +4 -4
  460. package/dist/types/components/checkout/payment-method-options.d.ts +3 -5
  461. package/dist/types/components/checkout/saved-payment-method.d.ts +0 -1
  462. package/dist/types/components/checkout/sezzle-payment-method.d.ts +0 -1
  463. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +1 -1
  464. package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -1
  465. package/dist/types/components/checkouts-list/checkouts-table.d.ts +7 -6
  466. package/dist/types/components/insurance/season-interruption/season-interruption-insurance-loading.d.ts +2 -0
  467. package/dist/types/components/payment-details/payment-details-loading.d.ts +2 -0
  468. package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
  469. package/dist/types/components/payments-list/payments-status.d.ts +1 -1
  470. package/dist/types/components/payments-list/payments-table.d.ts +8 -7
  471. package/dist/types/components/payout-details/payout-details-loading.d.ts +2 -0
  472. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -1
  473. package/dist/types/components/payouts-list/payouts-status.d.ts +1 -1
  474. package/dist/types/components/payouts-list/payouts-table.d.ts +10 -9
  475. package/dist/types/components/terminals-list/terminals-list-core.d.ts +1 -1
  476. package/dist/types/components/terminals-list/terminals-status.d.ts +1 -1
  477. package/dist/types/components/terminals-list/terminals-table.d.ts +5 -4
  478. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +3 -1
  479. package/dist/types/components.d.ts +123 -77
  480. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -1
  481. package/dist/types/styles/parts.d.ts +10 -1
  482. package/dist/types/ui-components/badge/badge.d.ts +18 -0
  483. package/dist/types/utils/table.d.ts +3 -3
  484. package/dist/types/utils/utils.d.ts +2 -1
  485. package/dist/webcomponents/p-04ce1f82.js +1 -0
  486. package/dist/webcomponents/p-0544f4a4.entry.js +1 -0
  487. package/dist/webcomponents/p-060ff1a1.js +1 -0
  488. package/dist/webcomponents/p-0658b707.entry.js +1 -0
  489. package/dist/webcomponents/{p-1dbae48b.entry.js → p-09fd4ee2.entry.js} +1 -1
  490. package/dist/webcomponents/p-0d7e7957.js +1 -0
  491. package/dist/webcomponents/p-0f4168f4.entry.js +1 -0
  492. package/dist/webcomponents/p-10cface4.entry.js +1 -0
  493. package/dist/webcomponents/p-10f9ff7b.entry.js +1 -0
  494. package/dist/webcomponents/p-12233a57.entry.js +1 -0
  495. package/dist/webcomponents/p-135e24c0.js +1 -0
  496. package/dist/webcomponents/p-14d21d66.entry.js +1 -0
  497. package/dist/webcomponents/p-156f0a23.entry.js +1 -0
  498. package/dist/webcomponents/p-16a9e343.js +1 -0
  499. package/dist/webcomponents/p-1a27f22e.js +1 -0
  500. package/dist/webcomponents/p-1e2526c8.entry.js +1 -0
  501. package/dist/webcomponents/p-24a9c773.js +1 -0
  502. package/dist/webcomponents/{p-b056034f.entry.js → p-2b081961.entry.js} +1 -1
  503. package/dist/webcomponents/p-2bd8650b.js +1 -0
  504. package/dist/webcomponents/p-2c7441ea.entry.js +1 -0
  505. package/dist/webcomponents/p-2ce40098.js +1 -0
  506. package/dist/webcomponents/p-2d27d054.entry.js +1 -0
  507. package/dist/webcomponents/p-2d801915.js +1 -0
  508. package/dist/webcomponents/p-351c7fa3.entry.js +1 -0
  509. package/dist/webcomponents/p-39177d5a.js +1 -0
  510. package/dist/webcomponents/p-3f209fcc.entry.js +1 -0
  511. package/dist/webcomponents/p-3fa7d9c9.entry.js +1 -0
  512. package/dist/webcomponents/p-411382f3.js +1 -0
  513. package/dist/webcomponents/p-44604a45.js +1 -0
  514. package/dist/webcomponents/p-46769ec3.entry.js +1 -0
  515. package/dist/webcomponents/p-47cd431c.js +1 -0
  516. package/dist/webcomponents/{p-0aa63869.entry.js → p-4bcfdb99.entry.js} +1 -1
  517. package/dist/webcomponents/p-4c4f9e3b.js +1 -0
  518. package/dist/webcomponents/p-4e122ace.js +1 -0
  519. package/dist/webcomponents/p-4e92b1ac.entry.js +1 -0
  520. package/dist/webcomponents/{p-d75b52c8.entry.js → p-541b7c36.entry.js} +1 -1
  521. package/dist/webcomponents/p-560bc606.entry.js +1 -0
  522. package/dist/webcomponents/p-5d0763a5.js +1 -0
  523. package/dist/webcomponents/p-5d177a30.js +1 -0
  524. package/dist/webcomponents/p-67aef066.entry.js +1 -0
  525. package/dist/webcomponents/{p-1e6077f4.js → p-6b21b6c9.js} +1 -1
  526. package/dist/webcomponents/p-6bc01617.js +1 -0
  527. package/dist/webcomponents/{p-323ba4df.entry.js → p-6e8be579.entry.js} +1 -1
  528. package/dist/webcomponents/p-72a90154.entry.js +1 -0
  529. package/dist/webcomponents/{p-8c7a81c1.js → p-730e8425.js} +1 -1
  530. package/dist/webcomponents/p-73323a41.entry.js +1 -0
  531. package/dist/webcomponents/p-73619f0a.js +1 -0
  532. package/dist/webcomponents/{p-f4722957.js → p-74736657.js} +1 -1
  533. package/dist/webcomponents/p-74d6e182.entry.js +1 -0
  534. package/dist/webcomponents/p-783f72a5.entry.js +1 -0
  535. package/dist/webcomponents/{p-08b8d1f0.entry.js → p-7b1fcab5.entry.js} +1 -1
  536. package/dist/webcomponents/p-7bddbee4.js +1 -0
  537. package/dist/webcomponents/{p-c9670f3c.entry.js → p-7db2a4d5.entry.js} +1 -1
  538. package/dist/webcomponents/p-83aa33f0.js +1 -0
  539. package/dist/webcomponents/p-850b7717.entry.js +1 -0
  540. package/dist/webcomponents/p-87ce7b69.js +1 -0
  541. package/dist/webcomponents/p-8d61499c.entry.js +1 -0
  542. package/dist/webcomponents/p-9154210a.entry.js +1 -0
  543. package/dist/webcomponents/p-92d78790.js +1 -0
  544. package/dist/webcomponents/p-96bc127e.entry.js +1 -0
  545. package/dist/webcomponents/p-98e49e54.entry.js +1 -0
  546. package/dist/webcomponents/p-a3df6c3e.entry.js +1 -0
  547. package/dist/webcomponents/p-a5008b32.entry.js +1 -0
  548. package/dist/webcomponents/p-a59636ed.js +1 -0
  549. package/dist/webcomponents/p-a7b04e24.js +1 -0
  550. package/dist/webcomponents/{p-7b9f21cd.entry.js → p-ac2588af.entry.js} +1 -1
  551. package/dist/webcomponents/p-aee49e6e.entry.js +1 -0
  552. package/dist/webcomponents/p-b04da0de.entry.js +1 -0
  553. package/dist/webcomponents/{p-b1d4e520.entry.js → p-b78da082.entry.js} +1 -1
  554. package/dist/webcomponents/p-b7b18a0f.entry.js +1 -0
  555. package/dist/webcomponents/p-ba202e33.js +1 -0
  556. package/dist/webcomponents/p-bf07d5d0.entry.js +1 -0
  557. package/dist/webcomponents/{p-a47971d8.entry.js → p-c0e18724.entry.js} +1 -1
  558. package/dist/webcomponents/{p-47e7f876.entry.js → p-c65c07f7.entry.js} +1 -1
  559. package/dist/webcomponents/{p-7216ef00.entry.js → p-ca6214ca.entry.js} +1 -1
  560. package/dist/webcomponents/{p-af834eb8.js → p-cb8f7bf4.js} +1 -1
  561. package/dist/webcomponents/p-ce2de434.entry.js +1 -0
  562. package/dist/webcomponents/{p-bb61c6e0.js → p-d1f78cb5.js} +1 -1
  563. package/dist/webcomponents/p-d6e51c2f.js +1 -0
  564. package/dist/webcomponents/{p-f9fdcc1a.entry.js → p-d86c1f11.entry.js} +2 -2
  565. package/dist/webcomponents/p-def672dc.entry.js +1 -0
  566. package/dist/webcomponents/p-df795bd0.entry.js +1 -0
  567. package/dist/webcomponents/{p-fa2e3dc7.entry.js → p-e0f21a47.entry.js} +1 -1
  568. package/dist/webcomponents/{p-79b7c30d.js → p-eb644cb7.js} +1 -1
  569. package/dist/webcomponents/p-f2158e48.entry.js +1 -0
  570. package/dist/webcomponents/p-f3867b82.entry.js +1 -0
  571. package/dist/webcomponents/p-f65abd18.js +1 -0
  572. package/dist/webcomponents/{p-663a00cd.entry.js → p-f76a7f9c.entry.js} +1 -1
  573. package/dist/webcomponents/p-fd6619d0.entry.js +1 -0
  574. package/dist/webcomponents/webcomponents.esm.js +1 -1
  575. package/package.json +1 -1
  576. package/dist/cjs/business.service-285f6f26.js +0 -32
  577. package/dist/cjs/checkouts-table-17648e93.js +0 -48
  578. package/dist/cjs/config-b190e93e.js +0 -15
  579. package/dist/cjs/payments-status-68ac449d.js +0 -26
  580. package/dist/cjs/payouts-status-2f7be07d.js +0 -24
  581. package/dist/cjs/terminals-table-91985249.js +0 -33
  582. package/dist/esm/checkouts-table-8b116232.js +0 -44
  583. package/dist/esm/config-187b3ae1.js +0 -13
  584. package/dist/esm/payments-status-a7c18f2a.js +0 -24
  585. package/dist/esm/payouts-status-cd58e525.js +0 -22
  586. package/dist/esm/terminals-table-8e42977c.js +0 -29
  587. package/dist/module/Api.js +0 -116
  588. package/dist/module/justifi-billing-form.js +0 -6
  589. package/dist/webcomponents/p-01f32098.entry.js +0 -1
  590. package/dist/webcomponents/p-0201ec6c.entry.js +0 -1
  591. package/dist/webcomponents/p-050a6855.entry.js +0 -1
  592. package/dist/webcomponents/p-0cc6c539.js +0 -1
  593. package/dist/webcomponents/p-0ccbc022.entry.js +0 -1
  594. package/dist/webcomponents/p-0e180654.js +0 -1
  595. package/dist/webcomponents/p-0eb86b3f.entry.js +0 -1
  596. package/dist/webcomponents/p-0f23ff58.js +0 -1
  597. package/dist/webcomponents/p-16d2932d.js +0 -1
  598. package/dist/webcomponents/p-1ce22da6.entry.js +0 -1
  599. package/dist/webcomponents/p-206fde40.js +0 -1
  600. package/dist/webcomponents/p-20a24f3a.entry.js +0 -1
  601. package/dist/webcomponents/p-238f1ff8.entry.js +0 -1
  602. package/dist/webcomponents/p-2462bf86.entry.js +0 -1
  603. package/dist/webcomponents/p-32a5bf4e.js +0 -1
  604. package/dist/webcomponents/p-34c14f59.js +0 -1
  605. package/dist/webcomponents/p-3db8b3c7.js +0 -1
  606. package/dist/webcomponents/p-3eabbdd4.entry.js +0 -1
  607. package/dist/webcomponents/p-438df53f.entry.js +0 -1
  608. package/dist/webcomponents/p-441c1cf8.js +0 -1
  609. package/dist/webcomponents/p-4972d608.entry.js +0 -1
  610. package/dist/webcomponents/p-4a576796.js +0 -1
  611. package/dist/webcomponents/p-4d916b2d.js +0 -1
  612. package/dist/webcomponents/p-5968ff8a.js +0 -1
  613. package/dist/webcomponents/p-597bd1e1.entry.js +0 -1
  614. package/dist/webcomponents/p-5bbe1133.entry.js +0 -1
  615. package/dist/webcomponents/p-5cb947bc.entry.js +0 -1
  616. package/dist/webcomponents/p-5d3f81c0.entry.js +0 -1
  617. package/dist/webcomponents/p-6677c60d.entry.js +0 -1
  618. package/dist/webcomponents/p-68694a17.entry.js +0 -1
  619. package/dist/webcomponents/p-6ab77b89.js +0 -1
  620. package/dist/webcomponents/p-6b840696.entry.js +0 -1
  621. package/dist/webcomponents/p-6fbd6abb.js +0 -1
  622. package/dist/webcomponents/p-6feeb9f2.js +0 -1
  623. package/dist/webcomponents/p-70eea098.entry.js +0 -1
  624. package/dist/webcomponents/p-73a18b5a.entry.js +0 -1
  625. package/dist/webcomponents/p-7a975a3c.js +0 -1
  626. package/dist/webcomponents/p-808bb677.entry.js +0 -1
  627. package/dist/webcomponents/p-80b1bcc2.entry.js +0 -1
  628. package/dist/webcomponents/p-88acfa7c.entry.js +0 -1
  629. package/dist/webcomponents/p-8a94d2c8.js +0 -1
  630. package/dist/webcomponents/p-8fe80110.entry.js +0 -1
  631. package/dist/webcomponents/p-90dc2f2c.js +0 -1
  632. package/dist/webcomponents/p-9c2d5229.entry.js +0 -1
  633. package/dist/webcomponents/p-9c2e00cc.js +0 -1
  634. package/dist/webcomponents/p-a3949f32.js +0 -1
  635. package/dist/webcomponents/p-ac147eef.entry.js +0 -1
  636. package/dist/webcomponents/p-b392ec21.js +0 -1
  637. package/dist/webcomponents/p-b6d76082.entry.js +0 -1
  638. package/dist/webcomponents/p-bb0f8b70.js +0 -1
  639. package/dist/webcomponents/p-bb71cef3.js +0 -1
  640. package/dist/webcomponents/p-bbcaa29b.entry.js +0 -1
  641. package/dist/webcomponents/p-c092cbb2.js +0 -1
  642. package/dist/webcomponents/p-c212414b.entry.js +0 -1
  643. package/dist/webcomponents/p-c2a2b9fe.entry.js +0 -1
  644. package/dist/webcomponents/p-cc977850.js +0 -1
  645. package/dist/webcomponents/p-d53c5ea5.entry.js +0 -1
  646. package/dist/webcomponents/p-d8fdf2b5.entry.js +0 -1
  647. package/dist/webcomponents/p-d960db89.entry.js +0 -1
  648. package/dist/webcomponents/p-db8c12ee.js +0 -1
  649. package/dist/webcomponents/p-e396506c.entry.js +0 -1
  650. package/dist/webcomponents/p-e4421e98.entry.js +0 -1
  651. package/dist/webcomponents/p-e7bb6520.js +0 -1
  652. package/dist/webcomponents/p-ed8918d1.entry.js +0 -1
  653. package/dist/webcomponents/p-edb57087.js +0 -1
  654. package/dist/webcomponents/p-ee4a2aac.entry.js +0 -1
  655. package/dist/webcomponents/p-ef4c49b9.js +0 -1
  656. package/dist/webcomponents/p-f88d5c0d.entry.js +0 -1
@@ -123,7 +123,7 @@ export class CheckoutsListCore {
123
123
  return !this.showEmptyState && !this.showErrorState && !this.loading;
124
124
  }
125
125
  render() {
126
- return (h("div", { key: '7079f5dbb8f52d0e99da70f6975e65f2024bd7c9' }, h("div", { key: '8d73be1816687fe3af837d5853f75b5aad756f6e', class: "table-wrapper" }, h("table", { key: '3a9d8cb62a25d28660fa160de263ae80c2b67804', class: "table table-hover", part: table }, h("thead", { key: 'cc1954f52372d481e789cf5460118952633ab34e', class: "table-head sticky-top" }, h("tr", { key: '141e9d5f5e671181487a77dd01ea86d0f2927ba6', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: 'c6f1ba23fcda58bef598d32ec6901e7bae56fe9c', class: "table-body" }, h(TableLoadingState, { key: '746e4eaab6f4840f95a7243ac7d9a119fe4dac6c', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '7d7cfed557fe138cfd56a8283da75b8fd55ef01e', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '71e438127afde6489e232ecd19f91545da9ca8fa', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '45a0d79963f2e6edd7f2f11620c0314345b3d6d5', class: "sticky-bottom" }, h("tr", { key: '8d502311b14f5f1a7cae5d00f3bff361f4816d72', class: "table-light align-middle" }, h("td", { key: '522745aa9b5d46188dd4b351debc83601c144dfe', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '41323e6e3aa31631dca4dba29e40551b9a9d5446', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
126
+ return (h("div", { key: '910d95f94623ddd9e90a182a7a47e7dfdff1d9a6' }, h("div", { key: 'c296c31fe48bec06067215f6aa4cfb1a9d1b681a', class: "table-wrapper" }, h("table", { key: 'dddd43e74de4989261b8014d2c66cba7c26e9d98', class: "table table-hover", part: table }, h("thead", { key: '4eabd9c8687fbf316420c9a838a95016b20f12dd', class: "table-head sticky-top" }, h("tr", { key: '2cdd7f438099613e5a670343723b883470a65dbd', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: 'e3fd8f783e0e405d18bc120bf8c2ca4e2ca25f15', class: "table-body" }, h(TableLoadingState, { key: 'ec8e73a90b9951b5fba78651fdd9a93b7531ba49', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '6b1ebf8bbd62b0ba9c7032be47c87b929bc413db', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a44e8985fb208b91635afe4910fdce5fb94d17e7', 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: '05ac7e9796a7b4e4450151e762a409c050fc037f', class: "sticky-bottom" }, h("tr", { key: 'd6135d93dafeee69c6d9a12b9bd35e8c77ec3c5a', class: "table-light align-middle" }, h("td", { key: 'ad7b4df45f54519b759797f665bcfa68a1cd512d', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '3c97cf5daeb90e9b9a881280f25e4307b7392bcf', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
127
127
  }
128
128
  static get is() { return "checkouts-list-core"; }
129
129
  static get properties() {
@@ -24,7 +24,7 @@ export class CheckoutsListFilters {
24
24
  ];
25
25
  }
26
26
  render() {
27
- return (h(StyledHost, { key: '7eedab4f46529871c876c5b36c3dfdc4a76442bc' }, h("table-filters-menu", { key: '645593908d9b2b258a520d6fd469f668a34d5980', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: 'dd06db2469e9666efd44f0625bd41a69dd45fb1a', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'dba0a96a17a1c255236e0733fe5394638f1abc1f', class: "p-2" }, h("form-control-select", { key: 'a833d0ece1a88f04f9a68a27098c035b71bc2d86', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.status || '' })), h("div", { key: 'bb90e2e96b0542e8fb00a2ccd7cbb43f4dc8b6a8', class: "p-2" }, h("form-control-select", { key: 'c214d31111ad970f9f40c0b6b948302e4702d2ba', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.payment_mode || '' }))))));
27
+ return (h(StyledHost, { key: '5d3a970578bdcb121fbc966bded802f3a7046898' }, h("table-filters-menu", { key: 'f0579a967918b8cf6147123878bfd6d4077312a3', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: 'a145922ee7ed0d74410308fec6ab4a697bb6dcf1', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '62e82a486e74ffb37bf3421a90927570c0676cfc', class: "p-2" }, h("form-control-select", { key: '71b758acac7d47971dafdc64325d8f5940ad042b', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.status || '' })), h("div", { key: '1cafc77cd220be576b0f6470e7606037ea64ca13', class: "p-2" }, h("form-control-select", { key: '337beb5798e4db1316e2fffa2a13fa261bb2781b', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.payment_mode || '' }))))));
28
28
  }
29
29
  static get is() { return "justifi-checkouts-list-filters"; }
30
30
  static get encapsulation() { return "shadow"; }
@@ -67,7 +67,7 @@ export class CheckoutsList {
67
67
  }
68
68
  }
69
69
  render() {
70
- return (h(StyledHost, { key: 'f96da05a065d13a24cb4de2cc114a0dc10833ab2' }, h("checkouts-list-core", { key: '4e98c537644a3e22fb63d15736f5c22ff26a931f', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
70
+ return (h(StyledHost, { key: 'cac567336d8e7f104b31a852b5734de16cd32d26' }, h("checkouts-list-core", { key: '6d8006ea752a73e396941e60facb04f84c4139c8', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
71
71
  }
72
72
  static get is() { return "justifi-checkouts-list"; }
73
73
  static get encapsulation() { return "shadow"; }
@@ -1,13 +1,28 @@
1
+ import { h } from "@stencil/core";
2
+ import { Badge, BadgeVariant } from "../../ui-components/badge/badge";
1
3
  export const MapCheckoutStatusToBadge = (status) => {
2
- switch (status) {
3
- case 'created':
4
- return "<span class='badge bg-primary' title='The checkout has been created'>Created</span>";
5
- case 'completed':
6
- return "<span class='badge bg-success' title='The checkout has been completed'>Completed</span>";
7
- case 'attempted':
8
- return "<span class='badge bg-secondary' title='The checkout has been attempted'>Attempted</span>";
9
- case 'expired':
10
- return "<span class='badge bg-danger' title='The checkout has expired'>Expired</span>";
11
- }
12
- ;
4
+ const statusToBadgeProps = {
5
+ created: {
6
+ variant: BadgeVariant.PRIMARY,
7
+ title: 'The checkout has been created',
8
+ text: 'Created',
9
+ },
10
+ completed: {
11
+ variant: BadgeVariant.SUCCESS,
12
+ title: 'The checkout has been completed',
13
+ text: 'Completed',
14
+ },
15
+ attempted: {
16
+ variant: BadgeVariant.SECONDARY,
17
+ title: 'The checkout has been attempted',
18
+ text: 'Attempted',
19
+ },
20
+ expired: {
21
+ variant: BadgeVariant.DANGER,
22
+ title: 'The checkout has expired',
23
+ text: 'Expired',
24
+ },
25
+ };
26
+ const badgeProps = statusToBadgeProps[status];
27
+ return h(Badge, Object.assign({}, badgeProps));
13
28
  };
@@ -1,5 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
- import { formatCurrency, formatDate, formatTime } from "../../utils/utils";
2
+ import { formatDate, formatTime } from "../../utils/utils";
3
3
  import { MapCheckoutStatusToBadge } from "./checkouts-status";
4
4
  import { getAlternateTableCellPart, tableHeadCell } from "../../styles/parts";
5
5
  export const defaultColumnsKeys = 'created_at,payment_amount,payment_description,payment_mode,status';
@@ -12,10 +12,10 @@ export const checkoutTableColumns = {
12
12
  status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each checkout" }, "Status")),
13
13
  };
14
14
  export const checkoutTableCells = {
15
- created_at: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, formatDate(value), " "), h("div", { class: "fw-bold" }, formatTime(value), " "))),
16
- payment_amount: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, formatCurrency(value, true, true), " ")),
17
- payment_description: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
18
- sub_account_name: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
19
- payment_mode: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
20
- status: (value, index) => (h("td", { part: getAlternateTableCellPart(index), innerHTML: MapCheckoutStatusToBadge(value) })),
15
+ created_at: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, formatDate(checkout.created_at)), h("div", { class: "fw-bold" }, formatTime(checkout.created_at)))),
16
+ payment_amount: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.formattedPaymentAmount(checkout.payment_amount))),
17
+ payment_description: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.payment_description)),
18
+ sub_account_name: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.sub_account_name)),
19
+ payment_mode: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.payment_mode)),
20
+ status: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapCheckoutStatusToBadge(checkout.status))),
21
21
  };
@@ -50,7 +50,7 @@ export class DisputeManagementCore {
50
50
  });
51
51
  }
52
52
  render() {
53
- return (h("div", { key: 'd147755d1f58c2ad2230f1afd511f03ee9053b75' }, 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 }))));
53
+ return (h("div", { key: 'd7763c7713e5278f02a1b903bbc0b2c905bd23b0' }, 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 }))));
54
54
  }
55
55
  static get is() { return "justifi-dispute-management-core"; }
56
56
  static get properties() {
@@ -48,7 +48,7 @@ export class DisputeManagement {
48
48
  }
49
49
  }
50
50
  render() {
51
- return (h("justifi-dispute-management-core", { key: '3e2a5b24484e8f1e198168910be7880732da3931', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
51
+ return (h("justifi-dispute-management-core", { key: '5cc8bd47c54dd8bda15460e7d2258bac58470496', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
52
52
  }
53
53
  static get is() { return "justifi-dispute-management"; }
54
54
  static get properties() {
@@ -35,7 +35,7 @@ export class DisputeNotification {
35
35
  }
36
36
  render() {
37
37
  var _a, _b, _c, _d, _e, _f, _g;
38
- return (h(StyledHost, { key: 'df45596c8b40c5665589e976405c38f05271812f' }, this.isLoading && (h("div", { key: '9c1f507799665e4297a9e76d24cf1656079bb146', style: { marginBottom: '8px' } }, h(Skeleton, { key: '6a6e2314fb16348e59d4ff9b4739d895b376303c', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '286352f2b7da7f3b494add74fc332a3d2a6f4d42', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'bc3985914e7dbeecbe4ea9efea1fcdd592d2600e', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: 'e0371f22a67d7ebef374e2ad4ed0e0d151b2105b', part: text }, h("h1", { key: 'a85046d309d92aee9c6a01e0311fe23d0cc48b98', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '886223ea616ea99c76b7f0e719f2bec606e6796a' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '3f12d0ded622ad0c844dee081b8eb3d444e2b4e3', class: "h5" }, "Dispute details"), h("div", { key: 'add2e0e67fcebcb484a2a30ea66a303693a95be8', class: "d-table gap-2" }, h("div", { key: '30b35751ab437971b2c0ef6ab003d7c348d3cc3f', class: "d-table-row gap-2" }, h("span", { key: '7b5ea6fdf2d644a2c31e0276185fb2a95b0ee85f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'f91e37855056374a345a8a534c9343ed71180a1e', 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: '6d2ef3c07ee006eba74caae39e1c355c4f1d0e80', class: "d-table-row gap-2" }, h("span", { key: 'cb60ccb1855a7bc15b8e411986790c33419659c3', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: 'a2c21645bbba4529576062baacbdd1166e1b4f72', 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: '4f9bfc9fa68efc18032a9367938c82fef27f6dbe', class: "d-table-row gap-2" }, h("span", { key: 'c78b105e6e1bbe3332005c71e230609c9f2a65d9', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '0d75f20d0c665cf18eb6a91eb4a890df0e0a09be', 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: '97801ea1983a7591d0c5aa933842fcce2eb12394', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '8155accf40a4512506b18de08423da53cd3c2ff7', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'b23bd82c73ae7c8c020b7ad5c60223f9a1eae8d2', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: '2b3ee4c8f1b9b0100416c7804897530e001826d3' }, h("h1", { key: 'abdeb425738b1f0cd8b27836a885f9d9e31b1774', class: "h4" }, "This payment is disputed and under review"), h("p", { key: 'aa42c034af8bef20370aac9607065e6f15a87534' }, "The cardholder is disputing this payment. A counter dispute has been submitEvent and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '2a75a70a3a45a0d42dc182b0782983220444c42b' }, h("h1", { key: '3e6c8aad4507bab77c6f0bf06c2ee26af382b8e8', class: "h4" }, "This payment was disputed"), h("p", { key: 'b1d2626f6c6529005676ead7776b988693334971' }, "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: '1b9da576c01bd69842cd3d0b65e96997842461e8' }, h("h1", { key: 'c5521ef13d0f9437b90fd34b96e43f980ab7ceb8', class: "h4" }, "This payment was disputed"), h("p", { key: 'd5724f0fd2194621a908d803752dc1965d2f0043' }, "The cardholder disputed this payment and the card issuer has settled it their favor.")))));
38
+ return (h(StyledHost, { key: 'dfcc9e5fd86a26e8d321bc5caafa3b046b022c54' }, this.isLoading && (h("div", { key: 'deffb8dc0d001fb4dc114b6810408de098ed9621', style: { marginBottom: '8px' } }, h(Skeleton, { key: '6ea0998a7a9c4b0b161e7838e5863c6581a56ccc', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'ea46373e18690a0cf1131bdf5a6b0bfc7761c68f', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '98c3b1ad8eca5f77a7c73998835b57a7bc5df4a2', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '3098144d29605462b4f042b74a0a44303cddd80f', part: text }, h("h1", { key: '7c175c4c1b5c93833d0eef68b3e6509608995483', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'df222fa47c5df85feead831a19af3b681feeb28d' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '60f58219182bf56b788a17f53556c7245180cae9', class: "h5" }, "Dispute details"), h("div", { key: '490b807d57ff8baff1d15b644c4fb8948a786125', class: "d-table gap-2" }, h("div", { key: '86ac0b527c0a742f70c487129790d722af385bea', class: "d-table-row gap-2" }, h("span", { key: '6cd2e5172ae2c4581b672a80bad96dbc372980ba', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'e2e465afca27df4b2b5831c223c93e483cbe5ed3', 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: 'ecb4a882296f4195a9ea123ee699ec55fc0fe55f', class: "d-table-row gap-2" }, h("span", { key: '6801b0a252336c9edfc1ffbdbdf54dc404fb80ca', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: 'ffb49e592ef36e469295f5c59284aa4be249f58d', 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: '652a8b454f305fc57ad1455869ac17e45fad27f9', class: "d-table-row gap-2" }, h("span", { key: '9c8f0399a88238643c029916e44c759f1db3c2f5', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: 'b20779034577e48a5960a91db06a5627e8c17282', 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: 'c02bb382f4dca09cb660c878ff2560815ce4d20a', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: 'e2cac0a0b92fff128b5d92675f2345ed7126f420', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '000d8e1d9f96c33608637780c8b2f9d7cc476213', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'bbcf4a7d6acc61a55ed33512b2297195a1bc6d72' }, h("h1", { key: '53ecca8c1f9d9a30a173dc058757df984e82a94e', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '3afc7790dee77ec5934020ea42c8b9c47dda4d4b' }, "The cardholder is disputing this payment. A counter dispute has been submitEvent and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: 'bfd88724984130c42e15882859d01cf680b34696' }, h("h1", { key: '3ab454f4e8475770cd71aada9341c035137c7989', class: "h4" }, "This payment was disputed"), h("p", { key: 'dc3c81bd81a5bc139b0eb94bdaef779a7dd217fc' }, "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: '0bd9ca6a71e978e63fff49dbc105a9078d1c0f38' }, h("h1", { key: '3e6bdea906b38af5c5191b17cbf2482ba701a481', class: "h4" }, "This payment was disputed"), h("p", { key: '05f6d5c04c28a2128bb06d27ef085eeb33377094' }, "The cardholder disputed this payment and the card issuer has settled it their favor.")))));
39
39
  }
40
40
  static get is() { return "justifi-dispute-notification"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class AdditionalStatement {
38
38
  }
39
39
  render() {
40
40
  var _a;
41
- return (h("div", { key: 'b87dba6b6f0cfd8be3bd034996ad0848f31df3da' }, h("div", { key: 'b2af872dd182dede7cb2c697aa8297acc49eb6c1', class: "row gy-3" }, h("div", { key: '34815036600a5030f388c0dcb840ab7f4db0b66f', class: "col-12" }, h("h2", { key: 'c7922a6dd81112aefc028d1f7662aed993cd4c58', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '1e760ad49f1a7494181b4658f8e73a3f6ede2a22', class: "col-12" }, h("form-control-textarea", { key: '7226c1a3ef90a9f2db529f20470678bf8277738f', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'cbf8886bd32f9859e6cbe75d5c499ea3eb23aea3', class: "col-12" }, h("form-control-file-v2", { key: '05d52880aa75af84bab03122ef39c2fbc0d0cf7b', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: this.handleFileSelection })))));
41
+ return (h("div", { key: '12a083283fd725f7eb50a5c297ef408ea4184e7a' }, h("div", { key: '6f85bc12bac843ffe6ae1e8bd6acc35db250bc1d', class: "row gy-3" }, h("div", { key: '6bb4c2442b9bbfe2689d60a83806bae6ba5e55f6', class: "col-12" }, h("h2", { key: '9a9cff6036ce2da07ee316145bd35c9971cb94ca', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'ad1e3f5be5c71475e172f1b500435248466972a0', class: "col-12" }, h("form-control-textarea", { key: 'dc41498eeabb42786d08522414fed87b1bb9ff9f', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '64560a0ec82808e6f41143ed3e2c2b1f35f7d016', class: "col-12" }, h("form-control-file-v2", { key: '8e6b407436dd6bed4612550b6dbddb61ed3ccdc6', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: this.handleFileSelection })))));
42
42
  }
43
43
  static get is() { return "justifi-additional-statement"; }
44
44
  static get properties() {
@@ -36,7 +36,7 @@ export class CancellationPolicy {
36
36
  }
37
37
  render() {
38
38
  var _a, _b;
39
- return (h("div", { key: 'e4e9bc25a430c01e60345523341a52e343d8ada8' }, h("div", { key: '3a22fcf75e13235e40b30686cc953a5c7963f676', class: "row gy-3" }, h("div", { key: '88cfd3d1fdc811e20367caa917ee88a1531fae96', class: "col-12" }, h("h2", { key: '56030d5fb77119d324b33c8290e62ca220425afc', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '816d7868525662ae14d549852c816840933a15e6', class: "col-12" }, h("form-control-textarea", { key: '165335b23db8c03976da96f1a369f28f1ad46505', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'b7f0333145ef1c1f3a1a6bd69f0e01a199f09da6', class: "col-12" }, h("form-control-textarea", { key: 'a456a76fd6745bd6386787e69fee81b7b48c7dc2', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '929e6f0e5fee8e6c4be4558e82b22a15806c1723', class: "col-12" }, h("form-control-file-v2", { key: '661504e19c6d2304a93a95f716b6b215832c4a90', label: "Upload Cancellation Policy", name: "cancellation_policy_file", onChange: this.handleFileSelection })))));
39
+ return (h("div", { key: 'bf7df11fdafa2411a0aa79c606b822a893444482' }, h("div", { key: 'a19e32d4edf9d90d23f865f54f8ae844f367ef3e', class: "row gy-3" }, h("div", { key: '9ca87dc02a3993c1b8cd187231561836ae78e517', class: "col-12" }, h("h2", { key: '5ae6844cf4d99ad19f4e4f2690015e422acea5ad', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '82ec0f39bdd823b02f4ff2482e9dd1daedd5d4fe', class: "col-12" }, h("form-control-textarea", { key: 'ed8ce058aa41f3eed1f489c4d62e4f7b16a4c801', 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: 'ed26b0813e499381b867eb50d35cf2f473a71cf7', class: "col-12" }, h("form-control-textarea", { key: '5ffd5e3b7d67cf1b2dbb883412f920bec443dc61', 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: '43f4c5e4ec9c04f66958f930cee235da0709d3bb', class: "col-12" }, h("form-control-file-v2", { key: 'bf8606a6969b4b5edb8bd945ef3d28e13d85b774', label: "Upload Cancellation Policy", name: "cancellation_policy_file", onChange: this.handleFileSelection })))));
40
40
  }
41
41
  static get is() { return "justifi-cancellation-policy"; }
42
42
  static get properties() {
@@ -36,7 +36,7 @@ export class CustomerDetails {
36
36
  }
37
37
  render() {
38
38
  var _a, _b, _c;
39
- return (h("div", { key: 'f3b9a18d93cea09e6c9f7a134ed566ad12887839' }, h("div", { key: 'f9d3594930e9ae5d5907462bbe76c242019a19bc', class: "row gy-3" }, h("div", { key: '809f4e25c8a4d8652ae4711a33321b17d35f5796', class: "col-12" }, h("h2", { key: '56f784698452620cb30b532840b02ee2ca3b6a7a', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '6775574f0e8f1047a11e3e9594f9f237aee09aa2', class: "col-12" }, h("form-control-text", { key: '4fc621b96baed074292ccbe8507a58d18f005237', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'f57ace60afc3a74711dc98ea054345413ff51d48', class: "col-12" }, h("form-control-text", { key: '31a88ff6476ecd98fd6def5c39778940b448da51', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '3ea9b1729c1a516fdbf33b28674e33a5ec5f200a', class: "col-12" }, h("form-control-textarea", { key: '6eb19b40b3a514db9e1ead3e57832da37d791db6', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '363371261754410c5548fc9286a5d9edbec5e4a0', class: "col-12" }, h("form-control-file-v2", { key: 'bf3976ab48c50bb7cd6fd7c29a39a36bee8a70c5', label: "Customer Signature", name: "customer_signature", onChange: this.handleFileSelection })), h("div", { key: '7a85113b3a4c95e0571759f040a63757eead2788', class: "col-12" }, h("form-control-file-v2", { key: '686b82077404ce7c345a51b4c572452fa0491b7d', label: "Customer Communication", name: "customer_communication", onChange: this.handleFileSelection })))));
39
+ return (h("div", { key: 'f13b1b07f7e47661e94730ac84a2f579e20c407c' }, h("div", { key: 'b50fcf45a6c872543c6a691f43e82b697706c0eb', class: "row gy-3" }, h("div", { key: '71c5a773cd7254a76d4071abbecb4067417266f7', class: "col-12" }, h("h2", { key: '84beef4a3879bb36c3d5755b5e2b23c04e018247', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'f58feed75554bdf80574dd6a961f07bc6ff67a68', class: "col-12" }, h("form-control-text", { key: 'e781dad51a096012a9fdbe56169c62abd1c7558d', 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: 'c617221a62a8226432216fa3cf1a6bdcaea53dd8', class: "col-12" }, h("form-control-text", { key: '5c4a2d8cf779c0a4cb38c5bfd29e21d610c3283b', 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: '639449c6544b6fcbaca4a777b0b2e31573c6fb85', class: "col-12" }, h("form-control-textarea", { key: '54794fdbf93af16f55f0d7e9f3b2152a774e9ff7', 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: '24c0ad1a768f69d4f181ca12cb1520d9d89df06d', class: "col-12" }, h("form-control-file-v2", { key: '20ba764e44adfd05da308dd98de210b6a6a1918c', label: "Customer Signature", name: "customer_signature", onChange: this.handleFileSelection })), h("div", { key: '0171a822afcd450db5202e4ec1925fd85ff68090', class: "col-12" }, h("form-control-file-v2", { key: '24d31b7c0ae09f10f144e80045eadab93c01ee14', label: "Customer Communication", name: "customer_communication", onChange: this.handleFileSelection })))));
40
40
  }
41
41
  static get is() { return "justifi-customer-details"; }
42
42
  static get properties() {
@@ -153,7 +153,7 @@ export class DisputeResponseCore {
153
153
  return this.currentStep === 0;
154
154
  }
155
155
  render() {
156
- return (h("div", { key: '4c1c801c82506c50ee304934ec0c42efc986f07c', class: "row gy-3" }, h("div", { key: '27c27411ac45d0a20f5fd99e4a11eb0efe6b0007', class: "col-12" }, h("h1", { key: '48aa1635accfafe2ed76e733296bade6fdeeddf5', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '79ca608ae5ba5a4249556754972216a82104c004', class: "col-12" }, this.currentStepComponent), h("div", { key: '39ecb37977d852c3528f09afced344d40e2022ac', class: "col-12" }, h("div", { key: '23d7523bffc81324b8e99b5f2354c75f52af9d52', 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"))))));
156
+ return (h("div", { key: '1ef9afc69174ac55282cf69d2a274bb993f663c3', class: "row gy-3" }, h("div", { key: 'e031c76cb6d3b1ce494436a9ab8daaa11c705d0c', class: "col-12" }, h("h1", { key: '424df36d16527588c91b246b0f355ee289161e8e', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '34a33e5de2842fddf668d45ca9e1e23a0827f061', class: "col-12" }, this.currentStepComponent), h("div", { key: 'b278568d8f69511b02642d1469adfc9ac9e7921d', class: "col-12" }, h("div", { key: '59c32d48e318f805f7c7466fa64b6ebdc9ca14b0', 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"))))));
157
157
  }
158
158
  static get is() { return "justifi-dispute-response-core"; }
159
159
  static get properties() {
@@ -60,7 +60,7 @@ export class DisputeResponse {
60
60
  }
61
61
  }
62
62
  render() {
63
- return (h(StyledHost, { key: '359300bac34b3e344e045750f354ce974f6a02ed' }, h("justifi-dispute-response-core", { key: '121c8c358b1a8a6e9084a9de00c977ff806be974', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
63
+ return (h(StyledHost, { key: 'a74ece02e19d5f6d57fc43c0eb1ed5177309b01b' }, h("justifi-dispute-response-core", { key: 'd0ad4a758750616ebce34964c9647606ff72c357', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
64
64
  }
65
65
  ;
66
66
  static get is() { return "justifi-dispute-response"; }
@@ -36,7 +36,7 @@ export class DuplicateCharge {
36
36
  }
37
37
  render() {
38
38
  var _a, _b;
39
- return (h("div", { key: 'a6729feaab17744bbd3c256b5bdee89939c9be55' }, h("div", { key: 'd3729ddaa5983766f87aa634399704c52ee4979c', class: "row gy-3" }, h("div", { key: '9c9288b63b688e83f53353a110ec31c078068312', class: "col-12" }, h("h2", { key: '431878c838002b8a15d202793ab3701cbc81df7e', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'f8b9a8dbb78777cb9c63a4296e41fdfe4edb2c7c', class: "col-12" }, h("form-control-text", { key: '8dc4ddad5ab952a09c99deef8734374891075575', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'c5445211510dbdf1f6b547ef82ce128d3a316554', class: "col-12" }, h("form-control-textarea", { key: 'a650bf8ca839ae86d00d9df0eb77815a63ebafd6', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '47625dc4a02045230234220e24295b8260f38043', class: "col-12" }, h("form-control-file-v2", { key: '242b9ae244cc8fbad3721053a50042a76d8f40ad', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: this.handleFileSelection })))));
39
+ return (h("div", { key: '8364aad095d478905124bbf4c343eafb67a802e6' }, h("div", { key: '0ae2e843703935609ff18219b3e95f3d8e308b80', class: "row gy-3" }, h("div", { key: '07da8c2c9eb4b21890fae8a1dc7a25b2e7d982da', class: "col-12" }, h("h2", { key: 'b07319016adac35476717d93cfc6287c1f3cc617', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '8cdccfc7d1104668a19d06006934e1aab1942b39', class: "col-12" }, h("form-control-text", { key: 'e0f4bdbaad56cd635f9fb7e2b7d66e4a5bb8690b', 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: '8a43060fd2531698aafbe5d0195944012833d3a3', class: "col-12" }, h("form-control-textarea", { key: '6a1709fbd761039cd649265f7e123aac58acfe09', 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: '707ce39d865cf94f89c848ab42053ef3ef5ed632', class: "col-12" }, h("form-control-file-v2", { key: '371b1db533c75243d986ecad78227b804b109651', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: this.handleFileSelection })))));
40
40
  }
41
41
  static get is() { return "justifi-duplicate-charge"; }
42
42
  static get properties() {
@@ -36,7 +36,7 @@ export class ElectronicEvidence {
36
36
  }
37
37
  render() {
38
38
  var _a;
39
- return (h("div", { key: '5521599b8e6d23412a06b4a9c6f5360f92ec9c12' }, h("div", { key: 'b1863623b1ffa07c18940d744184c7678515e1f3', class: "row gy-3" }, h("div", { key: '131410f3882f96e0346776db4c213e2ef17b546e', class: "col-12" }, h("h2", { key: '30120f59c8a7896f5294b4ccaf09165c1d28771e', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '7211111acc93fd40b4140d49d4b1e3d268d13829', class: "col-12" }, h("form-control-text", { key: 'eeb3aeaa550569db5c977f3d2ef68b879be446c6', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '7f98aae20a9f87d4f4f0b42f86350bb1468cc767', class: "col-12" }, h("form-control-file-v2", { key: '342b76753a12784852f2eb087941796874b90d39', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: this.handleFileSelection, errorText: this.errors.activity_log })))));
39
+ return (h("div", { key: 'b0c3860a9b025aa1a9fca6955619752acab44bfc' }, h("div", { key: 'cbf3b293ba7798ecfd5e0d8e8cfdaa72508901b9', class: "row gy-3" }, h("div", { key: '3dd2980b54485d10c3390e5a6e02def94ec96707', class: "col-12" }, h("h2", { key: '71eef58eeba954fa141d56f16f2e22e0cd1fd602', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '225218973496e4ef6df2d79b4c8051b21c6878c2', class: "col-12" }, h("form-control-text", { key: 'bddbdf3883a116262af125f715d23323f3592fef', 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: 'fcd7c9794d4159ccd9136c48f8eb9803f970101d', class: "col-12" }, h("form-control-file-v2", { key: 'bcdb4e3c5499b325206d660b15992e79efc2feb9', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: this.handleFileSelection, errorText: this.errors.activity_log })))));
40
40
  }
41
41
  static get is() { return "justifi-electronic-evidence"; }
42
42
  static get properties() {
@@ -36,7 +36,7 @@ export class ProductOrService {
36
36
  }
37
37
  render() {
38
38
  var _a, _b;
39
- return (h("div", { key: 'ad4e3c33f8bc1c295ea51257afc41e6247537022' }, h("div", { key: 'a87f06ff09eadf63ee358a84759d6bd9223c76ec', class: "row gy-3" }, h("div", { key: 'a3053e1d5e2192786fab4592a3ef5a6614fa0de3', class: "col-12" }, h("h2", { key: 'e2b97bf1d8e6f964306f1d2292f00daf5f4e997d', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '0f4e0c72a0b145ec689e7f0a96df86d10be38423', class: "col-12" }, h("form-control-text", { key: 'dd6a94690ac454a35d3b9ddeadde3ae5926ae170', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: 'd9c437dfc8e02bfacc27143e16b753b7940db409', class: "col-12" }, h("form-control-text", { key: '42e638a983cf713f0055d409b305b8fca2ac6bda', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'df1f9b6153433e60973723ab20139fe3c739a4cf', class: "col-12" }, h("form-control-file-v2", { key: '6a03cdafcf9d8a4913eaf9b876500792022c58f4', label: "Service Documentation", name: "service_documentation", onChange: this.handleFileSelection, errorText: this.errors.service_documentation })))));
39
+ return (h("div", { key: 'acd3ad222e15e0ddc7f3410410958bb73195529c' }, h("div", { key: '12cc20448141d7816bcfdb5171b9b979c0255267', class: "row gy-3" }, h("div", { key: '695ad169190e1ec763942ad285e47a390fbd1b41', class: "col-12" }, h("h2", { key: '44a0fb6aa27be23832c3f39f33506b57ccc7e468', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'd41bf77ff6a7d8e4fa5ef5cda4fa447dd8a8b07f', class: "col-12" }, h("form-control-text", { key: 'd81cfb94f63dc0b6711c180b7bdc86a64f375691', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '96405e6808644dbd4fadcad86f11a90b2b111812', class: "col-12" }, h("form-control-text", { key: '5de5c4df7331be1fc94e7c44ebf2c72bb127aca3', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '60366bef77d86a348cf73c7d97be53769d2473df', class: "col-12" }, h("form-control-file-v2", { key: '8ece21a45a7675cd155c469e3aa327e4a3b3106b', label: "Service Documentation", name: "service_documentation", onChange: this.handleFileSelection, errorText: this.errors.service_documentation })))));
40
40
  }
41
41
  static get is() { return "justifi-product-or-service"; }
42
42
  static get properties() {
@@ -36,7 +36,7 @@ export class RefundPolicy {
36
36
  }
37
37
  render() {
38
38
  var _a, _b;
39
- return (h("div", { key: '54885e971c2d21be1d3c2a4654616e6406a425e5' }, h("div", { key: 'aefe693ee221d72f44a87806ca5ddc257bbf4073', class: "row gy-3" }, h("div", { key: '5a4c220a9cbcd8accd8dd3a3e9c5db74f520f483', class: "col-12" }, h("h2", { key: 'fee6747bc31eeee7648c5af1fec4e86dd33d2f21', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '70f2d38f553a77c6e5a4e2ec25bed11665cd56e5', class: "col-12" }, h("form-control-textarea", { key: 'a0635424932726c980d68bad1c7758159d382575', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'b63f29f32b4a2bb35ec2dbeb2d26695bd58d2c32', class: "col-12" }, h("form-control-textarea", { key: '41787fd17b44810eb19945ce7ea5f340ee40ea98', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'acff917b1af1babc1f93cf0541d9d2f22f8f4460', class: "col-12" }, h("form-control-file-v2", { key: '52bee3670ca1cae28fd2d07033796245b13306d4', label: "Upload Refund Policy", name: "refund_policy", onChange: this.handleFileSelection })), h("div", { key: '6e63ed1828f61cfec3882fba0ce0439668111a7a', class: "col-12" }, h("form-control-file-v2", { key: '99a13cfd6c0e662794c013368209c88065a7e404', label: "Upload Receipt", name: "receipt", onChange: this.handleFileSelection })))));
39
+ return (h("div", { key: 'b91af9cbcac0c390b5c4d5c445976d4a8833907d' }, h("div", { key: '0d94fd8318404dd97dcb035d48a7fcb99b5ae87f', class: "row gy-3" }, h("div", { key: 'd97378e24b0c8a5f71a626d116df0862829f1a92', class: "col-12" }, h("h2", { key: '4e1ab56c967d24865c7609691245dae472a46976', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'a99ee9a75fb1c5b411aa2705ba9a0f14885e5358', class: "col-12" }, h("form-control-textarea", { key: '6d23c869664ecbbd369ca88e85f7a1033cf5ffe4', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '50b3def529f23f3cae755b762b43caa1f5329c21', class: "col-12" }, h("form-control-textarea", { key: 'e3bce3c6aa80af945884bbec847358a8e259a3ff', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '771b3e3e163d31ceab83904e4926f61a768ef460', class: "col-12" }, h("form-control-file-v2", { key: '872e482d0f99c2212c9ca9fe0ac56f5e8c17aa88', label: "Upload Refund Policy", name: "refund_policy", onChange: this.handleFileSelection })), h("div", { key: '857353db7a0aee5fd54215b1c5f00ddffdd5dd77', class: "col-12" }, h("form-control-file-v2", { key: 'fa7a204cddb61ed8e30b0c3d1c6227bc2ab9cdfa', label: "Upload Receipt", name: "receipt", onChange: this.handleFileSelection })))));
40
40
  }
41
41
  static get is() { return "justifi-refund-policy"; }
42
42
  static get properties() {
@@ -36,7 +36,7 @@ export class ShippingDetails {
36
36
  }
37
37
  render() {
38
38
  var _a, _b, _c, _d;
39
- return (h("div", { key: 'b2d81ec85e534890a691547a2ec8d28dcc61e784' }, h("div", { key: '3b49e0e3647e66196f586c2e58699e878658c9f3', class: "row gy-3" }, h("div", { key: 'ba6f52f0c2a44c7a39641cb9cb51bf799892a78f', class: "col-12" }, h("h2", { key: '70a108aa928d392d47bf72a32c3a2c71538fc068', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'f5e1b4c54c4d59b7b558fe817d23e5cbc71acec1', class: "col-12" }, h("form-control-text", { key: '32da6155a22359d291506e7d864b0b09fda34f99', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '55a1082190a09f2723ffbcb6075c18a094ddf5e5', class: "col-12" }, h("form-control-text", { key: '63e0883c7a8f9e01396b7c395eeac7d8612d8dcf', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '0d2f87a06e90191c274d96aed25dbc106ea3c347', class: "col-12" }, h("form-control-date", { key: '33e5da0712b67146147eea9a2de66f0b05d64a69', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '9aff91d4c4055cfe55a35fc28cf07167b4767992', class: "col-12" }, h("form-control-textarea", { key: '840beacaf520e1155cc2acc21d7e2eeaba2dacca', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '244eb1c41ee0a26c3ba8b7754404b9c736f0e1a2', class: "col-12" }, h("form-control-file-v2", { key: 'e09e9d04a0a5bb26232271fa29dbc5fcf1549dec', label: "Shipping Documentation", name: "shipping_documentation", onChange: this.handleFileSelection })))));
39
+ return (h("div", { key: '3df223d0827966f125304a5783c341ff32dc9442' }, h("div", { key: 'c4aa2d5c1be5e452284c5463a299b92c2799949a', class: "row gy-3" }, h("div", { key: '049124ca86a2ae70addb34ce9d79138f052484eb', class: "col-12" }, h("h2", { key: '426b01f9b7cdaad3b3c65ec79be2a31c2db5ec7f', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'd58211d0757a3220b880ca8dd1a2289d25f92733', class: "col-12" }, h("form-control-text", { key: '2273a6905d9e79c5c4c4cb9fcbe629b8546b1cb0', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '16685f1e217a9ed7cdea9858989a957855ca9df1', class: "col-12" }, h("form-control-text", { key: '74f2b588ab811279fc5bea972b4d045276dcfb19', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: 'd52ee413a5757a9896e1e24ec7a4d1658d2a51b3', class: "col-12" }, h("form-control-date", { key: '077e1d46323a9546918ebe6b2f096b4a9b494926', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'a02a13a8312dd4233f13363f192f5bf5e2009839', class: "col-12" }, h("form-control-textarea", { key: 'bd97071529be47d78ced13f78d77f051a36145c0', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'e83dd41ef2cd943add49784940326cf3b355cd3f', class: "col-12" }, h("form-control-file-v2", { key: 'd5ac44164b655c497a6247b7277527bb20f7ac04', label: "Shipping Documentation", name: "shipping_documentation", onChange: this.handleFileSelection })))));
40
40
  }
41
41
  static get is() { return "justifi-shipping-details"; }
42
42
  static get properties() {
@@ -69,7 +69,7 @@ export class GrossPaymentChartCore {
69
69
  }
70
70
  }
71
71
  render() {
72
- return (h(Host, { key: 'ac73fa9c5543c6c9b7170ccc99d1a48b2e1d28b5' }, this.loading && h(Spinner, { key: 'eb847368027fef8f004c913d0a09cf692f493ce3' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
72
+ return (h(Host, { key: '3bab823df105738571c6feeba11700a70593fdc6' }, this.loading && h(Spinner, { key: '3ed4ffbcd589e4655bc23336c42b3934157dd7a4' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
73
73
  }
74
74
  static get is() { return "gross-payment-chart-core"; }
75
75
  static get properties() {
@@ -3,6 +3,7 @@ import { addAttribute, formatCurrency, processHTML, removeAttribute } from "../.
3
3
  import { insuranceValues, insuranceErrors, validateInsuranceValues } from "../insurance-state";
4
4
  import { StyledHost, Header2 } from "../../../ui-components";
5
5
  import { text, textDanger } from "../../../styles/parts";
6
+ import SeasonInterruptionInsuranceLoading from "./season-interruption-insurance-loading";
6
7
  export class SeasonInterruptionInsuranceCore {
7
8
  constructor() {
8
9
  this.checkoutId = undefined;
@@ -105,7 +106,9 @@ export class SeasonInterruptionInsuranceCore {
105
106
  }
106
107
  render() {
107
108
  var _a, _b, _c, _d;
108
- return (h(StyledHost, { key: 'e665e8866cf53e7b22ff4e05c25b1059bc9e025a' }, !this.isLoading && (h("div", { key: '15e2fdb114dc837d95daeb696ec5d5769c8c80bc' }, h(Header2, { key: '19095737990f12bde58fc7bd6e63ded25f62a8e2', text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { key: 'a036659ef5b7a11a16dda7cc7558cd9940d53540', innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { key: '49b102250e07f11f91f07dfc3fba74bff4f5fd34', label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this) }), h("form-control-radio", { key: 'e784cf4340d9034e81a12454aed5a0d4afe9aea8', label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this) }), h("div", { key: '649ddbafdc560bde98470a2d868a9410a57eaba4', class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { key: '3d3651631da43d2c0f473b793cb5f6f663b7b819', innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text })))));
109
+ if (this.isLoading)
110
+ return (h(StyledHost, null, h(SeasonInterruptionInsuranceLoading, null)));
111
+ return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this) }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this) }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text }))));
109
112
  }
110
113
  static get is() { return "justifi-season-interruption-insurance-core"; }
111
114
  static get properties() {
@@ -0,0 +1,4 @@
1
+ import { h } from "@stencil/core";
2
+ import { Skeleton } from "../../../ui-components";
3
+ const SeasonInterruptionInsuranceLoading = () => (h("div", { class: "row gap-3" }, h("div", { class: "col-12" }, h(Skeleton, { width: "35%", height: "30px" })), h("div", { class: "col-12" }, h(Skeleton, { width: "70%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "40%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "40%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "100%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "80%" }))));
4
+ export default SeasonInterruptionInsuranceLoading;
@@ -32,7 +32,9 @@ export class SeasonInterruptionInsurance {
32
32
  this.initializeServiceMethods();
33
33
  }
34
34
  disconnectedCallback() {
35
- this.analytics.cleanup();
35
+ if (this.analytics) {
36
+ this.analytics.cleanup();
37
+ }
36
38
  }
37
39
  initializeServiceMethods() {
38
40
  if (!this.authToken) {
@@ -53,7 +55,7 @@ export class SeasonInterruptionInsurance {
53
55
  });
54
56
  }
55
57
  render() {
56
- return (h("justifi-season-interruption-insurance-core", { key: '4a0e93d18f16971cee44cdc9d0b312ded7728274', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
58
+ return (h("justifi-season-interruption-insurance-core", { key: '737ad53975405a658c2fc46533eb02351833b280', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
57
59
  }
58
60
  static get is() { return "justifi-season-interruption-insurance"; }
59
61
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,9 @@
1
1
  import { h } from "@stencil/core";
2
- import { formatCurrency, formatDate, formatTime, snakeCaseToHumanReadable } from "../../utils/utils";
2
+ import { formatDate, formatTime, snakeCaseToHumanReadable } from "../../utils/utils";
3
+ import { MapPaymentStatusToBadge } from "../payments-list/payments-status";
3
4
  import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadInfoItem, ErrorState } from "../../ui-components/details/utils";
4
5
  import { StyledHost } from "../../ui-components";
5
- import { MapPaymentStatusToBadge } from "../payments-list/payments-status";
6
- import Spinner from "../../ui-components/spinner";
7
- import { badge } from "../../styles/parts";
6
+ import PaymentDetailsLoading from "./payment-details-loading";
8
7
  export class PaymentDetailsCore {
9
8
  constructor() {
10
9
  this.getPaymentDetails = undefined;
@@ -40,15 +39,14 @@ export class PaymentDetailsCore {
40
39
  });
41
40
  }
42
41
  render() {
43
- var _a;
44
- return (h(StyledHost, { key: '7550877e5bc7bf30d0964d496b07c39f57ea23c7' }, this.loading && h(Spinner, { key: '320d191ef2cbd736158382f693bd4e1b2676a850' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
45
- this.payment && (h("justifi-details", { key: 'cc147622d2821fb3070d3acb17dabbe0d6acb44e', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '102fbe95740cfcbeed7d79c500841e4e69644c1b', slot: "head-info", badge: h("span", { slot: 'badge', part: badge, innerHTML: MapPaymentStatusToBadge(this.payment.status) }), title: `${formatCurrency(this.payment.amount)} ${(_a = this.payment) === null || _a === void 0 ? void 0 : _a.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: '1f6b55ebbc0abb37ced9cda26b193a779f7ba4a9', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'cb64b263862128ef00b4923cdfd986ee63d40670', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '4a245ba3ad052ef015d7c5c2abb8d05051e0784a', title: "ID", value: this.payment.id })), h("div", { key: '9721335ed8558618cae9685f83c68e2eff8dfb8b', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '8c460e5675898d68ceb335a56da05b459b81b112', sectionTitle: "Details" }), h("div", { key: '1094ca8b231926460913bbabd9c9816e04d5bb1f', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'e9640bbcf361dbeead436eea32a69fa962e34663', title: "Amount", value: formatCurrency(this.payment.amount) }), h(DetailItem, { key: 'ffa1411af9d4d78dbeaedcf7c12ce7d7c1e6eb53', title: "Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: 'c5843ff4773b7a2be2afdd659226dd46096f585d', title: "Refunded", value: formatCurrency(this.payment.amount_refunded) }), h(DetailItem, { key: '8ec788ae9ed769f6af4f32882d72d10877d1de30', title: "Net", value: formatCurrency(this.payment.balance) }), h(DetailItem, { key: 'ddd659af132d2628b8187d81ea72fc604e7ea7a8', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '15cb99e66dfc876d65aa8d446564f873aef1ef8a', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '499a906f13648cd49a3bf92ccadcc01f0fb430f6', title: "Processing Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: '75ab13ff4c06f0f58dec6c0fcaad692d6d03b68b', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'aeb538897b387e4811d35dde9fb19a5813c1c049', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
46
- h(DetailSectionTitle, { key: '4c8aa277b28bb1ffaf5fbada3a35f284ee2fabb2', sectionTitle: "Payment Method" }),
47
- h("div", { key: 'ce52033a650a4f5db13e5c3cdf97191bcb3539b1', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '168e45e35fc2e11adbf6881b17ebfd36d0a54a71', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '38af59143d2961cdc29b03e46af06b720dad3c8e', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '07518b2789187d2ae0b3f5edc6510a4b44798154', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '724207946a3e0b1b1cfe00bf0e77bfcd2f8c5982', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '34deb890ddf58566794fcb451d4d422d31f3f8b7', title: "Cardholder", value: this.payment.payment_method.payersName }))
42
+ return (h(StyledHost, { key: '714fd2a97e2879dddbaacda6d5289b3985aaeea5' }, this.loading && h(PaymentDetailsLoading, { key: '7f6d24755cea9f3b86cdcaecec470513532f37cc' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
43
+ this.payment && (h("justifi-details", { key: '9f3403ce5744053a04c1a6cde0c58a41f15547ac', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '310f3e1087843e2c10aa49b9fb7e6be734168f1d', slot: "head-info", badge: MapPaymentStatusToBadge(this.payment.status), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '5ed10250e7e04961e2fc57a017eea58e26429378', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'cd304828a7e38c8ad9fceb15b56391489a9eb938', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '5b70635442c6c76d978d40095d81cda6f7b00cfc', title: "ID", value: this.payment.id })), h("div", { key: '54558d6e59548048a548a83578d1a94694515bde', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '0780b044b54ba041e9632f94acdfe71411454297', sectionTitle: "Details" }), h("div", { key: 'e1426b161aad05e561414d6a4c77cb28d3e7c157', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '8a390a81e9b91d6582ee01a93743a8cb4fba57f4', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '8bffacbde88bd44cbdc213b7f24b93087e533670', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '78f5773c98118c39dab6df14fd9beafd7f06df1d', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'c620ecf5b7dd9f9896a4a454cc8b507b4c344f45', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '4b7529e27aecf2560d305dc6f906b4ae1f26c2d2', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '1807f3f518b3ddf1296f8c2802b8e66a7a7e8401', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '79183af038116750f07bd65bc843a879a6275961', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'a2a6b8a345068a57e8e647b5f5efa9da5c870697', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'e3c7479795cd85029e1f90b4f7e0e5cfd0cf9099', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
44
+ h(DetailSectionTitle, { key: '7d49ed552d5b2dc87e6596e025e9c877b838b25a', sectionTitle: "Payment Method" }),
45
+ h("div", { key: '9a435008ea2746b11281bd237e9a38f471e9a11d', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '9b22fcb2e38f690dfb963b783d2139813a920ddc', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '27ed56e879c9598226373f9086f79cd0cc72a9fe', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '9868b544973455fad8af21f4de2936a6d61b21a7', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '80716a8fe5b7bd933b930b35674dfe111948ef62', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'f0c0e2107b079bc6c898c91e5bd6a111b327c419', title: "Cardholder", value: this.payment.payment_method.payersName }))
48
46
  ], this.payment.payment_method.bank_account && [
49
- h(DetailSectionTitle, { key: 'fbc24139e24a3d72624db86e30d0ce7b602cafe1', sectionTitle: "Payment Method" }),
50
- h("div", { key: 'cba8888ffd57b95d82ab307f5de83c61f16a75b8', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '5d7bbf52c0b06be00bdca98df4926dfa5c7ee25f', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '19f2450384c28970a69a13aa623a0360c7818f46', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'c81914830e67c477c2407112e74afaa127c406c2', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '5c8581983f368d84d6d9044d49ea2cab923b6615', title: "Account Owner", value: this.payment.payment_method.payersName }))
51
- ], h(DetailSectionTitle, { key: 'c8ed7c6c2480365d7fec6c388103aeb1c3622c44', sectionTitle: 'Metadata' }), h("div", { key: 'cca65ed21900b912ea4a22b2e852d0c46946efd1', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'c96c267005a5ee26064d7cd6c03768f83442dfc6', metadata: this.payment.metadata })))))));
47
+ h(DetailSectionTitle, { key: '1f2d289d3c79b1c496f10ded116ab193d9c4ade0', sectionTitle: "Payment Method" }),
48
+ h("div", { key: '9b898ec3ccf34e225d465b46a0a645d46f696c91', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '71acc9fe7bca4f922075a33968229919b9660ec0', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'cd62b8e0e55a9888f1d06a107173516af1f65e9e', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '22e2dcefcb76363ca9254392e825a4612c65ac1c', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'a6e633cb3e5b82ed9c887b16a346dac257db22dc', title: "Account Owner", value: this.payment.payment_method.payersName }))
49
+ ], h(DetailSectionTitle, { key: '10d02e4d3e09b50644f7a5c1bb0beca7f0747c0e', sectionTitle: 'Metadata' }), h("div", { key: '119445b2570c4b736b4c9bb0daf88a3047b3ee97', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '794df4cfc8808ea62e6b97127fee7349698e264e', metadata: this.payment.metadata })))))));
52
50
  }
53
51
  static get is() { return "payment-details-core"; }
54
52
  static get properties() {
@@ -0,0 +1,4 @@
1
+ import { h } from "@stencil/core";
2
+ import { Skeleton } from "../../ui-components";
3
+ const PaymentDetailsLoading = () => (h("div", { class: "row gap-3" }, h("div", { class: "col-12" }, h(Skeleton, { width: "35%", height: "30px" })), h("div", { class: "col-12" }, h(Skeleton, { width: "70%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "40%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "40%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "100%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "80%" }))));
4
+ export default PaymentDetailsLoading;
@@ -86,7 +86,7 @@ export class PaymentsListCore {
86
86
  return combinedParams;
87
87
  }
88
88
  render() {
89
- return (h("div", { key: '6d3aeab1a53d5a9f73ed770de5d936e290189a9e' }, h("div", { key: 'f9750011da7c0bf0e4bc5eb91fc5c54489798890', class: "table-wrapper" }, h("table", { key: '7361cc478802a1de5513bf92ea9ec7f105168d55', class: "table table-hover", part: table }, h("thead", { key: '239402e85ae6537f4fc605b06f9f747233aef37a', class: "table-head sticky-top" }, h("tr", { key: 'f3330dae27878b313848a057d1094e094bdd66f4', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), h("tbody", { key: '1441e8920b68c7cf759188694b1cbc65a2c37795', class: "table-body" }, h(TableLoadingState, { key: '55bf8e8b8c6c859ce363ce30fb6db75f328ebca1', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '20d7f82636bc4b1a54a56ca89f2444261e26c0d6', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '10c160fafc746dece6e3837aa43021e48d7f49b9', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: '058476cc6c3369cf4700203c28f3d2c9c002656b', class: "sticky-bottom" }, h("tr", { key: '87c051940f9e49e64d661d12f5387ef5263091b4', class: "table-light align-middle" }, h("td", { key: '06fe26d1f9d57c6598fe71ebb9b48780a35fba5a', part: tableCell, colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'd23dedce32252f08d0a24eb4a474e9ee62ebd0e1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
89
+ return (h("div", { key: '6ae0c491d9ba248e878f65915448b715ae1c3381' }, h("div", { key: '3e2a5fe63f83d7a45c44486bc7dc7e2493b29520', class: "table-wrapper" }, h("table", { key: '3523e917bd342db707671ce9069a17618b20d1f8', class: "table table-hover", part: table }, h("thead", { key: 'e3436965637929742b7b827627504f8b4776cd7c', class: "table-head sticky-top" }, h("tr", { key: 'edf671796c2a0ad5b1fc9d6e3c3c0210f841946d', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), h("tbody", { key: '1cc99781f6a96dd3597fa32c31e2dff6861cc945', class: "table-body" }, h(TableLoadingState, { key: '0b1e2a89902ca170252139807512d2d91f2260f0', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '1857d904b79a0a5b9276846a6b0afd5fe54b72f0', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: 'da42e70686ca49cef71bce6fd596bd18f1f1f365', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: 'e6dd57881b2643442d61c01a5308529ba1e24dc0', class: "sticky-bottom" }, h("tr", { key: '6dfb87ce0ba57057505e961825bb54bbe5d29910', class: "table-light align-middle" }, h("td", { key: 'a47bd709a0296308c7348cda14bf1d2958f10feb', part: tableCell, colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '0db007e310d5ca49bd05b5dbc7673cc2276b9ce3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
90
90
  }
91
91
  static get is() { return "payments-list-core"; }
92
92
  static get properties() {
@@ -29,7 +29,7 @@ export class PaymentsListFilters {
29
29
  ];
30
30
  }
31
31
  render() {
32
- return (h(StyledHost, { key: '9cd31c52650516e81343bf13c3e18ed96258bc57' }, h("table-filters-menu", { key: 'eb1abd1876bd3bf52e04108e680c2b006338514c', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: '2787fa1c460d45a5d66efe5a2f3ef25333ec9201', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'f7f599337b113e9aad1c72fdb4dd88c3dec92a63', class: "p-2" }, h("form-control-text", { key: 'ee692c59649fcbe4ec0e7e5bef891d5145ac4d35', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: queryParams.payment_id })), h("div", { key: '1dce20fc5bb6a69e06e7960349e6f5623d5eef66', class: "p-2" }, h("form-control-text", { key: '2a84495e90b49bfa51912251d6c5804646248f7b', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: queryParams.terminal_id })), h("div", { key: 'bbd95d93ddb713a4ae90876b735e4f88ce6abfef', class: "p-2" }, h("form-control-select", { key: 'ce1b6ac3d27149b013c937e3bdb43257a6f16c86', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.payment_status || '' })), h("div", { key: 'ae3b27ef30ded613a255c688162a3ff561a5f5d3', class: "p-2" }, h("form-control-date", { key: 'eaefc349011d12e5f950ad12fea24507dee9516f', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(queryParams.created_after, { showInputDateTime: true }) || '', showTime: true })), h("div", { key: 'f52daff95da491a911be96d8c0f3a6dc395a95c6', class: "p-2" }, h("form-control-date", { key: 'cb8d8b5a424c3a1ca36c52608d89948d88c54cb5', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(queryParams.created_before, { showInputDateTime: true }) || '', showTime: true }))))));
32
+ return (h(StyledHost, { key: '39f88bdcf7c8823d42d4432ff41bfaa0e70b0811' }, h("table-filters-menu", { key: '67f2b375b47bd9cf037a02df48b6ca270259e3b6', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: 'bb8cd6c205b604c41ff0277c9778006ce9006259', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '6c54760335d154182895247250cc1dfa2efbf9d3', class: "p-2" }, h("form-control-text", { key: '1d72daa5c87ba8c9463da01af7552f5762d4f29b', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: queryParams.payment_id })), h("div", { key: '077585c3359b16be1833134898fa90c4367129fe', class: "p-2" }, h("form-control-text", { key: 'c62b51170db0aa184f4ed68fbc312d4a0bda5d2b', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: queryParams.terminal_id })), h("div", { key: '324cd4f6775118ef87d5bd6d0ff62300e3526dbd', class: "p-2" }, h("form-control-select", { key: '0ddbe138adf0cdb450ee91e450d3613d7114e849', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.payment_status || '' })), h("div", { key: '0e6f54d6b839aa99d6d7a572fb18b240caa12c3c', class: "p-2" }, h("form-control-date", { key: 'f8799a7d8da64e55f920da09f847d54218a6cd45', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(queryParams.created_after, { showInputDateTime: true }) || '', showTime: true })), h("div", { key: 'febd10712014933c97faf3846c83a528885418e3', class: "p-2" }, h("form-control-date", { key: '5d6b095267cae0226346c289a4b2ca8f838230ac', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(queryParams.created_before, { showInputDateTime: true }) || '', showTime: true }))))));
33
33
  }
34
34
  static get is() { return "justifi-payments-list-filters"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -50,7 +50,7 @@ export class PaymentsList {
50
50
  }
51
51
  }
52
52
  render() {
53
- return (h(StyledHost, { key: '35086c06a347cb7ee577366cd5674a2c50c4ffe5' }, h("payments-list-core", { key: 'bee1a7cf3e600a0060a62cf8151eea390dfd2cfa', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
53
+ return (h(StyledHost, { key: 'a7d58ebf91eea679073919566cd786f8df8ebec0' }, h("payments-list-core", { key: '652e313667f05d7e6a1e94ca7acc34ba137dde98', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
54
54
  }
55
55
  static get is() { return "justifi-payments-list"; }
56
56
  static get encapsulation() { return "shadow"; }