@justifi/webcomponents 5.2.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (590) hide show
  1. package/dist/cjs/{Api-b0e4be29.js → Api-089e7501.js} +1 -0
  2. package/dist/cjs/{Checkout-2ff4f9c8.js → Checkout-0f1c8abe.js} +1 -1
  3. package/dist/cjs/Document-0b828345.js +58 -0
  4. package/dist/cjs/{Payment-84817e2d.js → Payment-c47ed1e1.js} +1 -1
  5. package/dist/cjs/{SubAccount-f236913b.js → SubAccount-509ebf93.js} +1 -1
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  7. package/dist/cjs/{badge-fbf58cb9.js → badge-ccfe03bf.js} +1 -1
  8. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +130 -0
  9. package/dist/cjs/bank-account-form_9.cjs.entry.js +18 -14
  10. package/dist/cjs/billing-form_3.cjs.entry.js +8 -7
  11. package/dist/cjs/{business-additional-questions-schema-caa23e95.js → business-additional-questions-schema-2f66f025.js} +1 -1
  12. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  13. package/dist/cjs/{business-identity-schema-0c537067.js → business-identity-schema-be495474.js} +1 -1
  14. package/dist/cjs/{business.service-ffb6f478.js → business.service-33d7c7f2.js} +8 -1
  15. package/dist/cjs/{button-e7796b07.js → button-8b634147.js} +1 -1
  16. package/dist/cjs/{check-pkg-version-dee8dbb7.js → check-pkg-version-526a9ce5.js} +2 -2
  17. package/dist/cjs/{checkout.service-e9c05c15.js → checkout.service-d9047ddb.js} +6 -4
  18. package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -10
  19. package/dist/cjs/{checkouts-table-0f19c1e6.js → checkouts-table-efa1cbab.js} +3 -3
  20. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
  21. package/dist/cjs/{dispute.service-9272a2a6.js → dispute.service-739631c7.js} +6 -4
  22. package/dist/cjs/{event-types-aa1a9be1.js → event-types-34b103b4.js} +2 -2
  23. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  24. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  25. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  26. package/dist/cjs/{form-control-error-text-c1f49f35.js → form-control-error-text-46a7f2dd.js} +1 -1
  27. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
  28. package/dist/cjs/{form-control-help-text-e6cc71a7.js → form-control-help-text-98c882e3.js} +1 -1
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  31. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  32. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  33. package/dist/cjs/{get-payout-csv-778db023.js → get-payout-csv-bdaff21b.js} +6 -5
  34. package/dist/cjs/{get-subaccounts-b087fa39.js → get-subaccounts-2db9fc01.js} +6 -5
  35. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  36. package/dist/cjs/{header-1-96b97cab.js → header-1-4c21f7ca.js} +1 -1
  37. package/dist/cjs/{header-3-ce77b96b.js → header-3-130206cc.js} +1 -1
  38. package/dist/cjs/{insurance-state-8959c7c7.js → insurance-state-21fde44f.js} +1 -1
  39. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +833 -0
  40. package/dist/cjs/{justifi-additional-questions-form-step_10.cjs.entry.js → justifi-additional-questions-form-step_9.cjs.entry.js} +30 -227
  41. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  42. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  43. package/dist/cjs/justifi-business-form.cjs.entry.js +16 -14
  44. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  45. package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -9
  46. package/dist/cjs/justifi-checkout.cjs.entry.js +12 -10
  47. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  48. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -14
  49. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  50. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  51. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -9
  52. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -14
  53. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  54. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -7
  55. package/dist/cjs/justifi-payment-details.cjs.entry.js +12 -11
  56. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  57. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  58. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +25 -4
  59. package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -15
  60. package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -11
  61. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  62. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -14
  63. package/dist/cjs/justifi-refund-form.cjs.entry.js +8 -6
  64. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  65. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
  66. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  67. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -12
  68. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +7 -6
  69. package/dist/cjs/loader.cjs.js +1 -1
  70. package/dist/cjs/{package-8b9059cc.js → package-45874555.js} +1 -1
  71. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/{parts-addf2176.js → parts-b2ff8b68.js} +14 -0
  73. package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
  74. package/dist/cjs/{payment-provisioning-actions-fbd30d1b.js → payment-provisioning-actions-382ab48c.js} +33 -2
  75. package/dist/cjs/{payment.service-042c7c99.js → payment.service-87924c1a.js} +6 -4
  76. package/dist/cjs/payments-list-core.cjs.entry.js +22 -19
  77. package/dist/cjs/payments-list-params-state-442d9944.js +22 -0
  78. package/dist/cjs/{payments-status-411c325c.js → payments-status-ec12ee6a.js} +1 -1
  79. package/dist/cjs/{payments-table-16f3f95e.js → payments-table-f3aa174d.js} +3 -3
  80. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  81. package/dist/cjs/payouts-list-core.cjs.entry.js +13 -12
  82. package/dist/cjs/{payouts-status-0951e39d.js → payouts-status-9f2e9a3a.js} +1 -1
  83. package/dist/cjs/{payouts-table-bc15179c.js → payouts-table-4efa53fa.js} +3 -3
  84. package/dist/cjs/{schema-validations-0be8068a.js → schema-validations-cc4e6071.js} +5 -92
  85. package/dist/cjs/{skeleton-c4903a53.js → skeleton-0353466d.js} +1 -1
  86. package/dist/cjs/{spinner-aac395e3.js → spinner-4fc60a51.js} +1 -1
  87. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  88. package/dist/cjs/terminals-list-core.cjs.entry.js +12 -10
  89. package/dist/cjs/{terminals-table-3c19847b.js → terminals-table-5e4bce93.js} +2 -2
  90. package/dist/cjs/{utils-a05a8bf6.js → utils-134dda01.js} +1 -1
  91. package/dist/cjs/{utils-5fb95d31.js → utils-337befa9.js} +0 -4
  92. package/dist/cjs/webcomponents.cjs.js +1 -1
  93. package/dist/collection/api/index.js +5 -0
  94. package/dist/collection/api/services/business.service.js +6 -0
  95. package/dist/collection/collection-manifest.json +3 -4
  96. package/dist/collection/components/business-forms/payment-provisioning/{document-uploads/business-document-upload-input-group.js → bank-account/bank-account-document-inputs.js} +19 -58
  97. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +85 -0
  98. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +207 -47
  99. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +15 -7
  100. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +63 -0
  101. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  102. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  103. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  104. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  105. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  106. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +32 -2
  107. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -3
  108. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -1
  109. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +8 -4
  110. package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -4
  111. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +25 -1
  112. package/dist/collection/components/checkout/card-form/card-form.js +25 -1
  113. package/dist/collection/components/checkout/checkout-core.js +20 -2
  114. package/dist/collection/components/checkout/checkout.js +22 -2
  115. package/dist/collection/components/checkout/new-payment-method.js +20 -2
  116. package/dist/collection/components/checkout/payment-method-options.js +20 -2
  117. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  118. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  119. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  120. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  121. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  122. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  123. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  125. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  126. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  127. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  128. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  129. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  130. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  131. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  133. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  134. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  135. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  136. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  137. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  138. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  139. package/dist/collection/components/payments-list/get-payments.js +4 -1
  140. package/dist/collection/components/payments-list/payments-list-core.js +10 -11
  141. package/dist/collection/components/payments-list/payments-list-filters.js +113 -3
  142. package/dist/collection/components/payments-list/payments-list-params-state.js +11 -5
  143. package/dist/collection/components/payments-list/payments-list.js +1 -1
  144. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  145. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  146. package/dist/collection/components/payouts-list/payouts-list-filters.js +1 -1
  147. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  148. package/dist/collection/components/refund-form/refund-form.js +1 -1
  149. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  150. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  151. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  152. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +21 -1
  153. package/dist/collection/styles/parts.js +9 -0
  154. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  155. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  156. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  157. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  158. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  159. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  160. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  161. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  162. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  163. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  164. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  165. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  166. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  167. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  168. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  169. package/dist/config.js +1 -0
  170. package/dist/docs.json +680 -469
  171. package/dist/esm/{Api-0cac5b8a.js → Api-97801a4b.js} +1 -0
  172. package/dist/esm/{Checkout-d476bb83.js → Checkout-8325c97a.js} +1 -1
  173. package/dist/esm/Document-1907c0d4.js +55 -0
  174. package/dist/esm/{Payment-47630113.js → Payment-82d2f453.js} +1 -1
  175. package/dist/esm/{SubAccount-f31349a9.js → SubAccount-a73bf971.js} +1 -1
  176. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  177. package/dist/esm/{badge-b034e71b.js → badge-938ba4b1.js} +1 -1
  178. package/dist/esm/bank-account-document-form-inputs_4.entry.js +123 -0
  179. package/dist/esm/bank-account-form_9.entry.js +18 -14
  180. package/dist/esm/billing-form_3.entry.js +8 -7
  181. package/dist/esm/{business-additional-questions-schema-aba9747e.js → business-additional-questions-schema-212a96ed.js} +1 -1
  182. package/dist/esm/business-details-core.entry.js +3 -3
  183. package/dist/esm/{business-identity-schema-8b0f1619.js → business-identity-schema-05bd2a5f.js} +1 -1
  184. package/dist/esm/{business.service-ab2663a3.js → business.service-45c7df3c.js} +8 -2
  185. package/dist/esm/{button-8a02823c.js → button-4b3f3934.js} +1 -1
  186. package/dist/esm/{check-pkg-version-51d2616b.js → check-pkg-version-f91ed31f.js} +2 -2
  187. package/dist/esm/{checkout.service-c275270e.js → checkout.service-36e3355e.js} +6 -4
  188. package/dist/esm/checkouts-list-core.entry.js +12 -10
  189. package/dist/esm/{checkouts-table-115bacc4.js → checkouts-table-1634366d.js} +3 -3
  190. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
  191. package/dist/esm/{dispute.service-882e35ed.js → dispute.service-9b9b87e5.js} +6 -4
  192. package/dist/esm/{event-types-948c3b14.js → event-types-fd7a05d9.js} +2 -2
  193. package/dist/esm/form-alert_5.entry.js +1 -1
  194. package/dist/esm/form-control-checkbox.entry.js +5 -5
  195. package/dist/esm/form-control-date.entry.js +4 -4
  196. package/dist/esm/{form-control-error-text-066cdad4.js → form-control-error-text-b3d14e92.js} +1 -1
  197. package/dist/esm/form-control-file-v2_2.entry.js +4 -4
  198. package/dist/esm/{form-control-help-text-3b6f5980.js → form-control-help-text-7b07fc37.js} +1 -1
  199. package/dist/esm/form-control-monetary.entry.js +5 -5
  200. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  201. package/dist/esm/form-control-number.entry.js +5 -5
  202. package/dist/esm/form-control-radio.entry.js +3 -3
  203. package/dist/esm/{get-payout-csv-50aea928.js → get-payout-csv-80210301.js} +6 -5
  204. package/dist/esm/{get-subaccounts-ab3dd32c.js → get-subaccounts-d3eeb85d.js} +6 -5
  205. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  206. package/dist/esm/{header-1-75c284dd.js → header-1-4db0c986.js} +1 -1
  207. package/dist/esm/{header-3-4a327395.js → header-3-fd150ccf.js} +1 -1
  208. package/dist/esm/{insurance-state-b495be64.js → insurance-state-529e2d0d.js} +1 -1
  209. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +824 -0
  210. package/dist/esm/{justifi-additional-questions-form-step_10.entry.js → justifi-additional-questions-form-step_9.entry.js} +32 -228
  211. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  212. package/dist/esm/justifi-business-details.entry.js +6 -6
  213. package/dist/esm/justifi-business-form.entry.js +16 -14
  214. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  215. package/dist/esm/justifi-checkout-core.entry.js +10 -9
  216. package/dist/esm/justifi-checkout.entry.js +12 -10
  217. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  218. package/dist/esm/justifi-checkouts-list.entry.js +15 -14
  219. package/dist/esm/justifi-details.entry.js +2 -2
  220. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  221. package/dist/esm/justifi-dispute-management.entry.js +10 -9
  222. package/dist/esm/justifi-dispute-notification_3.entry.js +15 -14
  223. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  224. package/dist/esm/justifi-owner-form_3.entry.js +8 -7
  225. package/dist/esm/justifi-payment-details.entry.js +12 -11
  226. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  227. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  228. package/dist/esm/justifi-payments-list-filters.entry.js +25 -4
  229. package/dist/esm/justifi-payments-list.entry.js +19 -15
  230. package/dist/esm/justifi-payout-details.entry.js +12 -11
  231. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  232. package/dist/esm/justifi-payouts-list.entry.js +15 -14
  233. package/dist/esm/justifi-refund-form.entry.js +8 -6
  234. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  235. package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -9
  236. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  237. package/dist/esm/justifi-terminals-list.entry.js +13 -12
  238. package/dist/esm/justifi-tokenize-payment-method.entry.js +7 -6
  239. package/dist/esm/loader.js +1 -1
  240. package/dist/esm/{package-5eedfd72.js → package-2b7c7bc0.js} +1 -1
  241. package/dist/esm/pagination-menu.entry.js +1 -1
  242. package/dist/esm/{parts-93f379ab.js → parts-ab2bb4b5.js} +9 -1
  243. package/dist/esm/payment-details-core.entry.js +13 -13
  244. package/dist/esm/{payment-provisioning-actions-a262ee82.js → payment-provisioning-actions-726795a0.js} +33 -3
  245. package/dist/esm/{payment.service-92b90855.js → payment.service-c847c1f6.js} +6 -4
  246. package/dist/esm/payments-list-core.entry.js +22 -19
  247. package/dist/esm/payments-list-params-state-d05b24aa.js +16 -0
  248. package/dist/esm/{payments-status-82466054.js → payments-status-abf1724b.js} +1 -1
  249. package/dist/esm/{payments-table-c0bb25b6.js → payments-table-88fbab49.js} +3 -3
  250. package/dist/esm/payout-details-core.entry.js +8 -8
  251. package/dist/esm/payouts-list-core.entry.js +13 -12
  252. package/dist/esm/{payouts-status-b98c8297.js → payouts-status-d9987a8a.js} +1 -1
  253. package/dist/esm/{payouts-table-4382a264.js → payouts-table-055d3633.js} +3 -3
  254. package/dist/esm/{schema-validations-5b0ac96b.js → schema-validations-ccea6a06.js} +4 -84
  255. package/dist/esm/{skeleton-3bcb2b5d.js → skeleton-ee7c3b32.js} +1 -1
  256. package/dist/esm/{spinner-b83f3a87.js → spinner-8ec6669a.js} +1 -1
  257. package/dist/esm/table-filters-menu.entry.js +3 -3
  258. package/dist/esm/terminals-list-core.entry.js +12 -10
  259. package/dist/esm/{terminals-table-8f1c2146.js → terminals-table-2963e65b.js} +2 -2
  260. package/dist/esm/{utils-7fb6331d.js → utils-c2dc83b2.js} +1 -1
  261. package/dist/esm/{utils-b76d791e.js → utils-c37124fc.js} +1 -4
  262. package/dist/esm/webcomponents.js +1 -1
  263. package/dist/module/Checkout.js +1 -1
  264. package/dist/module/Payment.js +1 -1
  265. package/dist/module/SubAccount.js +1 -1
  266. package/dist/module/additional-questions.js +1 -1
  267. package/dist/module/additional-statement.js +2 -2
  268. package/dist/module/badge.js +1 -1
  269. package/dist/module/bank-account-document-form-inputs.d.ts +11 -0
  270. package/dist/module/bank-account-document-form-inputs.js +6 -0
  271. package/dist/module/bank-account-document-inputs.js +58 -0
  272. package/dist/module/bank-account-form-inputs.d.ts +11 -0
  273. package/dist/module/bank-account-form-inputs.js +6 -0
  274. package/dist/module/bank-account-form-inputs2.js +63 -0
  275. package/dist/module/bank-account-form2.js +3 -1
  276. package/dist/module/billing-form-wrapper.js +1 -1
  277. package/dist/module/business-additional-questions-form-step-core.js +2 -2
  278. package/dist/module/business-bank-account-form-step-core.js +239 -64
  279. package/dist/module/business-bank-account-form-step.js +42 -5
  280. package/dist/module/business-core-info-form-step-core.js +2 -2
  281. package/dist/module/business-core-info-form-step.js +1 -1
  282. package/dist/module/business-core-info-schema.js +1 -1
  283. package/dist/module/business-core-info.js +1 -1
  284. package/dist/module/business-documents-on-file.d.ts +11 -0
  285. package/dist/module/business-documents-on-file.js +4 -36
  286. package/dist/module/business-documents-on-file2.js +45 -0
  287. package/dist/module/business-form-options.js +1 -1
  288. package/dist/module/business-identity-schema.js +1 -1
  289. package/dist/module/business-owners-form-step-core.js +1 -1
  290. package/dist/module/business-owners-form-step.js +1 -1
  291. package/dist/module/business-representative-form-inputs.js +1 -1
  292. package/dist/module/business-representative-form-step-core.js +1 -1
  293. package/dist/module/business-representative-form-step.js +1 -1
  294. package/dist/module/business-terms-conditions-form-step.js +9 -11
  295. package/dist/module/business.service.js +7 -1
  296. package/dist/module/cancellation-policy.js +2 -2
  297. package/dist/module/card-form2.js +3 -1
  298. package/dist/module/checkout-core.js +5 -3
  299. package/dist/module/checkout.service.js +2 -0
  300. package/dist/module/checkouts-list-core2.js +6 -4
  301. package/dist/module/config.js +1 -0
  302. package/dist/module/custom-popper2.js +2 -2
  303. package/dist/module/customer-details.js +2 -2
  304. package/dist/module/dispute-management-core.js +1 -1
  305. package/dist/module/dispute-notification.js +2 -2
  306. package/dist/module/dispute-response-actions.js +2 -1
  307. package/dist/module/dispute-response-core.js +1 -1
  308. package/dist/module/dispute-response.js +1 -1
  309. package/dist/module/duplicate-charge.js +2 -2
  310. package/dist/module/electronic-evidence.js +2 -2
  311. package/dist/module/event-types.js +22 -61
  312. package/dist/module/event-types2.js +61 -22
  313. package/dist/module/form-alert2.js +1 -1
  314. package/dist/module/form-control-checkbox2.js +3 -3
  315. package/dist/module/form-control-date2.js +3 -3
  316. package/dist/module/form-control-error-text.js +1 -1
  317. package/dist/module/form-control-file-v22.js +1 -1
  318. package/dist/module/form-control-file2.js +3 -3
  319. package/dist/module/form-control-monetary2.js +3 -3
  320. package/dist/module/form-control-number-masked2.js +3 -3
  321. package/dist/module/form-control-number.js +3 -3
  322. package/dist/module/form-control-radio2.js +3 -3
  323. package/dist/module/form-control-select2.js +3 -3
  324. package/dist/module/form-control-text2.js +3 -3
  325. package/dist/module/form-control-textarea2.js +3 -3
  326. package/dist/module/form-control-tooltip2.js +1 -1
  327. package/dist/module/get-payout-csv.js +2 -1
  328. package/dist/module/get-subaccounts.js +2 -1
  329. package/dist/module/gross-payment-chart-core2.js +2 -2
  330. package/dist/module/hidden-input2.js +2 -2
  331. package/dist/module/iframe-input2.js +4 -4
  332. package/dist/module/justifi-business-form.js +3 -1
  333. package/dist/module/justifi-checkout.js +5 -2
  334. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  335. package/dist/module/justifi-checkouts-list.js +3 -2
  336. package/dist/module/justifi-dispute-management.js +1 -1
  337. package/dist/module/justifi-payment-details.js +2 -1
  338. package/dist/module/justifi-payment-provisioning.js +50 -56
  339. package/dist/module/justifi-payments-list-filters.js +32 -5
  340. package/dist/module/justifi-payments-list.js +7 -3
  341. package/dist/module/justifi-payout-details.js +2 -1
  342. package/dist/module/justifi-payouts-list-filters.js +2 -2
  343. package/dist/module/justifi-payouts-list.js +2 -1
  344. package/dist/module/justifi-refund-form.js +3 -1
  345. package/dist/module/justifi-season-interruption-insurance.js +3 -2
  346. package/dist/module/justifi-terminals-list-filters.js +1 -1
  347. package/dist/module/justifi-terminals-list.js +2 -1
  348. package/dist/module/justifi-tokenize-payment-method.js +4 -1
  349. package/dist/module/legal-address-form-step-core.js +1 -1
  350. package/dist/module/legal-address-form-step.js +1 -1
  351. package/dist/module/new-payment-method.js +4 -2
  352. package/dist/module/owner-details2.js +1 -1
  353. package/dist/module/owner-form-core2.js +2 -2
  354. package/dist/module/owner-form.js +1 -1
  355. package/dist/module/package.js +1 -1
  356. package/dist/module/pagination-menu2.js +1 -1
  357. package/dist/module/parts.js +9 -1
  358. package/dist/module/payment-details-core2.js +8 -8
  359. package/dist/module/payment-method-options.js +4 -2
  360. package/dist/module/payment-provisioning-actions.js +33 -3
  361. package/dist/module/payment-provisioning-core.js +50 -56
  362. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  363. package/dist/module/payment-provisioning-form-steps.js +51 -58
  364. package/dist/module/payment.service.js +2 -0
  365. package/dist/module/payments-list-core2.js +15 -13
  366. package/dist/module/payments-list-params-state.js +11 -5
  367. package/dist/module/payout-details-core2.js +2 -2
  368. package/dist/module/payouts-list-core2.js +6 -5
  369. package/dist/module/product-or-service.js +2 -2
  370. package/dist/module/refund-policy.js +2 -2
  371. package/dist/module/representative-details2.js +1 -1
  372. package/dist/module/save-new-payment-method.js +1 -1
  373. package/dist/module/saved-payment-method.js +2 -2
  374. package/dist/module/schema-validations.js +4 -31
  375. package/dist/module/season-interruption-insurance-core.js +2 -2
  376. package/dist/module/sezzle-payment-method.js +2 -2
  377. package/dist/module/shipping-details.js +2 -2
  378. package/dist/module/spinner.js +1 -1
  379. package/dist/module/table-filters-menu2.js +1 -1
  380. package/dist/module/terminals-list-core2.js +5 -3
  381. package/dist/module/utils2.js +1 -4
  382. package/dist/types/api/index.d.ts +4 -0
  383. package/dist/types/api/services/business.service.d.ts +7 -0
  384. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.d.ts +7 -0
  385. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.d.ts +7 -0
  386. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +18 -6
  387. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -1
  388. package/dist/types/components/business-forms/payment-provisioning/{document-uploads → bank-account}/business-documents-on-file.d.ts +1 -0
  389. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +9 -0
  390. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -1
  391. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +1 -0
  392. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +5 -1
  393. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
  394. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -1
  395. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +1 -0
  396. package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
  397. package/dist/types/components/checkout/checkout-core.d.ts +1 -0
  398. package/dist/types/components/checkout/checkout.d.ts +1 -0
  399. package/dist/types/components/checkout/new-payment-method.d.ts +1 -0
  400. package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
  401. package/dist/types/components/payments-list/get-payments.d.ts +2 -1
  402. package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
  403. package/dist/types/components/payments-list/payments-list-filters.d.ts +5 -0
  404. package/dist/types/components/payments-list/payments-list-params-state.d.ts +4 -3
  405. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
  406. package/dist/types/components.d.ts +95 -101
  407. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +1 -0
  408. package/dist/types/styles/parts.d.ts +8 -0
  409. package/dist/webcomponents/p-00c32bb9.entry.js +1 -0
  410. package/dist/webcomponents/{p-2ce40098.js → p-01d4e35a.js} +1 -1
  411. package/dist/webcomponents/{p-d1f78cb5.js → p-0277c1b2.js} +1 -1
  412. package/dist/webcomponents/p-045d4ebf.entry.js +1 -0
  413. package/dist/webcomponents/p-08d87a52.entry.js +1 -0
  414. package/dist/webcomponents/p-0e68b7d6.entry.js +1 -0
  415. package/dist/webcomponents/{p-7b1fcab5.entry.js → p-0f6ae5ea.entry.js} +1 -1
  416. package/dist/webcomponents/p-131db5d1.entry.js +1 -0
  417. package/dist/webcomponents/p-1603fe4d.js +1 -0
  418. package/dist/webcomponents/p-1820fd87.entry.js +1 -0
  419. package/dist/webcomponents/p-189affee.entry.js +1 -0
  420. package/dist/webcomponents/p-18a7a9e6.entry.js +1 -0
  421. package/dist/webcomponents/p-1e8a1e01.entry.js +1 -0
  422. package/dist/webcomponents/{p-4c4f9e3b.js → p-21431a04.js} +1 -1
  423. package/dist/webcomponents/{p-09fd4ee2.entry.js → p-2916bb62.entry.js} +1 -1
  424. package/dist/webcomponents/p-298e290e.js +1 -0
  425. package/dist/webcomponents/{p-74736657.js → p-2ca5b5e4.js} +1 -1
  426. package/dist/webcomponents/p-2f94d478.entry.js +1 -0
  427. package/dist/webcomponents/p-31cbc05a.entry.js +1 -0
  428. package/dist/webcomponents/p-31e2d12c.entry.js +1 -0
  429. package/dist/webcomponents/{p-2bd8650b.js → p-35b00a0d.js} +1 -1
  430. package/dist/webcomponents/p-3e0f3d87.entry.js +1 -0
  431. package/dist/webcomponents/{p-f65abd18.js → p-3e716e03.js} +1 -1
  432. package/dist/webcomponents/p-40e23b13.js +1 -0
  433. package/dist/webcomponents/p-415deed1.entry.js +1 -0
  434. package/dist/webcomponents/p-44d2c762.entry.js +1 -0
  435. package/dist/webcomponents/{p-c6051278.entry.js → p-47a3003c.entry.js} +1 -1
  436. package/dist/webcomponents/p-4bad3621.js +1 -0
  437. package/dist/webcomponents/{p-c2efe406.js → p-4c820f81.js} +1 -1
  438. package/dist/webcomponents/p-58f5e37b.entry.js +1 -0
  439. package/dist/webcomponents/{p-d86c1f11.entry.js → p-5afefc50.entry.js} +2 -2
  440. package/dist/webcomponents/{p-92d78790.js → p-5b72bab7.js} +1 -1
  441. package/dist/webcomponents/{p-7db2a4d5.entry.js → p-5baec916.entry.js} +1 -1
  442. package/dist/webcomponents/{p-f76a7f9c.entry.js → p-5bf4535a.entry.js} +1 -1
  443. package/dist/webcomponents/p-61f0a2ce.js +1 -0
  444. package/dist/webcomponents/{p-e0f21a47.entry.js → p-62696f63.entry.js} +1 -1
  445. package/dist/webcomponents/p-63caad6e.entry.js +1 -0
  446. package/dist/webcomponents/p-66b6c56b.js +1 -0
  447. package/dist/webcomponents/p-6d2c8be2.entry.js +1 -0
  448. package/dist/webcomponents/p-72992c97.entry.js +1 -0
  449. package/dist/webcomponents/p-72ff0d5f.entry.js +1 -0
  450. package/dist/webcomponents/p-74014392.entry.js +1 -0
  451. package/dist/webcomponents/p-7542ebd6.entry.js +1 -0
  452. package/dist/webcomponents/p-778e9dd0.entry.js +1 -0
  453. package/dist/webcomponents/p-7b04f492.entry.js +1 -0
  454. package/dist/webcomponents/p-7bcec768.entry.js +1 -0
  455. package/dist/webcomponents/{p-5d0763a5.js → p-7c31ec70.js} +1 -1
  456. package/dist/webcomponents/p-85b5eeb6.entry.js +1 -0
  457. package/dist/webcomponents/p-8815bf82.entry.js +1 -0
  458. package/dist/webcomponents/{p-44604a45.js → p-8f25f016.js} +1 -1
  459. package/dist/webcomponents/{p-411382f3.js → p-938993c7.js} +1 -1
  460. package/dist/webcomponents/{p-d6e51c2f.js → p-94eba309.js} +1 -1
  461. package/dist/webcomponents/p-9540d2f2.js +1 -0
  462. package/dist/webcomponents/p-960a8ec2.js +1 -0
  463. package/dist/webcomponents/{p-83aa33f0.js → p-9894484a.js} +1 -1
  464. package/dist/webcomponents/p-98dad117.entry.js +1 -0
  465. package/dist/webcomponents/{p-f5a7a7d1.entry.js → p-991df3a1.entry.js} +1 -1
  466. package/dist/webcomponents/p-9ad6e792.entry.js +1 -0
  467. package/dist/webcomponents/p-a2076a0e.js +1 -0
  468. package/dist/webcomponents/p-aa02cf71.js +1 -0
  469. package/dist/webcomponents/p-ab1504b6.entry.js +1 -0
  470. package/dist/webcomponents/p-ab254da1.entry.js +1 -0
  471. package/dist/webcomponents/p-af66f580.entry.js +1 -0
  472. package/dist/webcomponents/p-b15ad5df.js +1 -0
  473. package/dist/webcomponents/p-b2209632.entry.js +1 -0
  474. package/dist/webcomponents/p-b6e90400.entry.js +1 -0
  475. package/dist/webcomponents/{p-2b081961.entry.js → p-bada4783.entry.js} +1 -1
  476. package/dist/webcomponents/{p-eb644cb7.js → p-c5c03d88.js} +1 -1
  477. package/dist/webcomponents/p-ca361ef6.entry.js +1 -0
  478. package/dist/webcomponents/p-ccd91d8a.entry.js +1 -0
  479. package/dist/webcomponents/p-d07c45e6.entry.js +1 -0
  480. package/dist/webcomponents/p-d0bde1cb.js +1 -0
  481. package/dist/webcomponents/p-d8c04275.js +1 -0
  482. package/dist/webcomponents/{p-9069fab5.js → p-d91c46dc.js} +1 -1
  483. package/dist/webcomponents/{p-541b7c36.entry.js → p-db37b175.entry.js} +1 -1
  484. package/dist/webcomponents/p-dd867d1f.js +1 -0
  485. package/dist/webcomponents/p-ddcd2ff7.entry.js +1 -0
  486. package/dist/webcomponents/p-de13f23c.js +1 -0
  487. package/dist/webcomponents/p-dec18cc4.js +1 -0
  488. package/dist/webcomponents/{p-39177d5a.js → p-e63fdbca.js} +1 -1
  489. package/dist/webcomponents/{p-730e8425.js → p-e8c3c23f.js} +1 -1
  490. package/dist/webcomponents/p-eae512f0.entry.js +1 -0
  491. package/dist/webcomponents/p-f0c0cbc8.entry.js +1 -0
  492. package/dist/webcomponents/{p-24a9c773.js → p-f19f9f61.js} +1 -1
  493. package/dist/webcomponents/p-f28ddbe8.entry.js +1 -0
  494. package/dist/webcomponents/p-f2f2e20e.js +1 -0
  495. package/dist/webcomponents/p-f694e1c8.js +1 -0
  496. package/dist/webcomponents/p-fa2b405c.entry.js +1 -0
  497. package/dist/webcomponents/{p-bf07d5d0.entry.js → p-facada09.entry.js} +1 -1
  498. package/dist/webcomponents/p-fdbcd486.js +1 -0
  499. package/dist/webcomponents/webcomponents.esm.js +1 -1
  500. package/package.json +1 -1
  501. package/dist/cjs/form-control-file.cjs.entry.js +0 -67
  502. package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
  503. package/dist/cjs/justifi-additional-questions-form-step-core_9.cjs.entry.js +0 -800
  504. package/dist/cjs/payments-list-params-state-0ff968a7.js +0 -14
  505. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +0 -338
  506. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +0 -40
  507. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +0 -52
  508. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +0 -8
  509. package/dist/collection/components/business-forms/schemas/business-document-upload-schema.js +0 -23
  510. package/dist/esm/form-control-file.entry.js +0 -63
  511. package/dist/esm/form-control-select_3.entry.js +0 -139
  512. package/dist/esm/justifi-additional-questions-form-step-core_9.entry.js +0 -788
  513. package/dist/esm/payments-list-params-state-b3dab8bc.js +0 -10
  514. package/dist/module/business-document-upload-form-step.js +0 -272
  515. package/dist/module/business-document-upload-input-group.js +0 -128
  516. package/dist/module/business-terms-conditions-text.js +0 -28
  517. package/dist/module/justifi-business-document-upload-form-step.d.ts +0 -11
  518. package/dist/module/justifi-business-document-upload-form-step.js +0 -6
  519. package/dist/module/justifi-business-document-upload-input-group.d.ts +0 -11
  520. package/dist/module/justifi-business-document-upload-input-group.js +0 -6
  521. package/dist/module/justifi-business-documents-on-file.d.ts +0 -11
  522. package/dist/module/justifi-business-documents-on-file.js +0 -6
  523. package/dist/module/justifi-business-terms-conditions-text.d.ts +0 -11
  524. package/dist/module/justifi-business-terms-conditions-text.js +0 -6
  525. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +0 -42
  526. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.d.ts +0 -21
  527. package/dist/types/components/business-forms/payment-provisioning/document-uploads/input-configurations.d.ts +0 -45
  528. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.d.ts +0 -3
  529. package/dist/types/components/business-forms/schemas/business-document-upload-schema.d.ts +0 -17
  530. package/dist/webcomponents/p-04ce1f82.js +0 -1
  531. package/dist/webcomponents/p-0544f4a4.entry.js +0 -1
  532. package/dist/webcomponents/p-060ff1a1.js +0 -1
  533. package/dist/webcomponents/p-0658b707.entry.js +0 -1
  534. package/dist/webcomponents/p-0d7e7957.js +0 -1
  535. package/dist/webcomponents/p-10cface4.entry.js +0 -1
  536. package/dist/webcomponents/p-10f9ff7b.entry.js +0 -1
  537. package/dist/webcomponents/p-12233a57.entry.js +0 -1
  538. package/dist/webcomponents/p-135e24c0.js +0 -1
  539. package/dist/webcomponents/p-1a27f22e.js +0 -1
  540. package/dist/webcomponents/p-1e2526c8.entry.js +0 -1
  541. package/dist/webcomponents/p-270033ba.entry.js +0 -1
  542. package/dist/webcomponents/p-2a17a29c.entry.js +0 -1
  543. package/dist/webcomponents/p-2c7441ea.entry.js +0 -1
  544. package/dist/webcomponents/p-2d27d054.entry.js +0 -1
  545. package/dist/webcomponents/p-2d801915.js +0 -1
  546. package/dist/webcomponents/p-332bd5ab.entry.js +0 -1
  547. package/dist/webcomponents/p-351c7fa3.entry.js +0 -1
  548. package/dist/webcomponents/p-3f209fcc.entry.js +0 -1
  549. package/dist/webcomponents/p-427881b1.entry.js +0 -1
  550. package/dist/webcomponents/p-46769ec3.entry.js +0 -1
  551. package/dist/webcomponents/p-47cd431c.js +0 -1
  552. package/dist/webcomponents/p-4acfed0d.entry.js +0 -1
  553. package/dist/webcomponents/p-4bcfdb99.entry.js +0 -1
  554. package/dist/webcomponents/p-4e122ace.js +0 -1
  555. package/dist/webcomponents/p-5d177a30.js +0 -1
  556. package/dist/webcomponents/p-64a1ae2c.entry.js +0 -1
  557. package/dist/webcomponents/p-67aef066.entry.js +0 -1
  558. package/dist/webcomponents/p-6ad11a9f.entry.js +0 -1
  559. package/dist/webcomponents/p-6bc01617.js +0 -1
  560. package/dist/webcomponents/p-6e8be579.entry.js +0 -1
  561. package/dist/webcomponents/p-72a90154.entry.js +0 -1
  562. package/dist/webcomponents/p-73323a41.entry.js +0 -1
  563. package/dist/webcomponents/p-73619f0a.js +0 -1
  564. package/dist/webcomponents/p-74d6e182.entry.js +0 -1
  565. package/dist/webcomponents/p-7aff48a1.entry.js +0 -1
  566. package/dist/webcomponents/p-7bddbee4.js +0 -1
  567. package/dist/webcomponents/p-87ce7b69.js +0 -1
  568. package/dist/webcomponents/p-8d61499c.entry.js +0 -1
  569. package/dist/webcomponents/p-948b7710.entry.js +0 -1
  570. package/dist/webcomponents/p-96bc127e.entry.js +0 -1
  571. package/dist/webcomponents/p-98b027b7.entry.js +0 -1
  572. package/dist/webcomponents/p-a3df6c3e.entry.js +0 -1
  573. package/dist/webcomponents/p-a5008b32.entry.js +0 -1
  574. package/dist/webcomponents/p-a59636ed.js +0 -1
  575. package/dist/webcomponents/p-a7b04e24.js +0 -1
  576. package/dist/webcomponents/p-ac2588af.entry.js +0 -1
  577. package/dist/webcomponents/p-b78da082.entry.js +0 -1
  578. package/dist/webcomponents/p-b86e804e.entry.js +0 -1
  579. package/dist/webcomponents/p-ba202e33.js +0 -1
  580. package/dist/webcomponents/p-bb842885.entry.js +0 -1
  581. package/dist/webcomponents/p-c358b253.entry.js +0 -1
  582. package/dist/webcomponents/p-ca6214ca.entry.js +0 -1
  583. package/dist/webcomponents/p-cb8f7bf4.js +0 -1
  584. package/dist/webcomponents/p-ce2de434.entry.js +0 -1
  585. package/dist/webcomponents/p-d5dace8b.entry.js +0 -1
  586. package/dist/webcomponents/p-dc6e1e5f.entry.js +0 -1
  587. package/dist/webcomponents/p-f2158e48.entry.js +0 -1
  588. package/dist/webcomponents/p-f3867b82.entry.js +0 -1
  589. package/dist/webcomponents/p-fc3daedd.js +0 -1
  590. package/dist/webcomponents/p-fd6619d0.entry.js +0 -1
@@ -36,7 +36,7 @@ export class ProductOrService {
36
36
  }
37
37
  render() {
38
38
  var _a, _b;
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 })))));
39
+ return (h("div", { key: 'a40a8a641d5b0e56fea415895b33523f5981fdc2' }, h("div", { key: '82da6b545c20d56b4b0e02c214448a15edf27440', class: "row gy-3" }, h("div", { key: '00cc29411e76d553c1b3fcda0ad2b02a08401b15', class: "col-12" }, h("h2", { key: 'a313f27a3d7c23c428ef14a7269c051c9053305c', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '07efb7c5c5ce83e098838b5ccd48ca8ca93e189c', class: "col-12" }, h("form-control-text", { key: '7c94f75e3555730ac5aa65b1baed84d7530ffee1', 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: 'd679f7b7c59ac645128f99c9fed0a49bca3907bb', class: "col-12" }, h("form-control-text", { key: 'e8b13489274045c77db77c000c11a242b6aae255', 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: 'b24282195e2818158b5b6ef3c4c0581409680f4a', class: "col-12" }, h("form-control-file-v2", { key: '3e401f3149b104bb4d346bcbe6906c206abe8067', 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: '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 })))));
39
+ return (h("div", { key: 'af53582fbda822cf130de3cb9ebec8ca228285ef' }, h("div", { key: '6f2bd60cc9e03a154d876f136a7776e8b168ce2d', class: "row gy-3" }, h("div", { key: '65cf646cf92f1ae0700c873f759061adb884cc81', class: "col-12" }, h("h2", { key: '74aed04947fa6868c151a31d144dbf922acf401c', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '57632d99565dc3e007b4c4421fa26c1faf12f49b', class: "col-12" }, h("form-control-textarea", { key: '1531c99a09c71d319fc800c9108ad0ddec99704d', 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: 'ae973eeecdf7fdafa25f00977898ba453a6180b5', class: "col-12" }, h("form-control-textarea", { key: '1b6d4d9a412b0300dcbd5bf7c52af6b43a070bc8', 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: 'e37a85c57c72af2e7a055672caf654637d53254d', class: "col-12" }, h("form-control-file-v2", { key: 'a953f49dd1c77960deac827ad0e61e65e57ca701', label: "Upload Refund Policy", name: "refund_policy", onChange: this.handleFileSelection })), h("div", { key: 'e1d5e0afaf9dff41d58c280e88182fcef4880428', class: "col-12" }, h("form-control-file-v2", { key: '57a94d969de6a38e4d46ab06c6585401dddde1db', 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: '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 })))));
39
+ return (h("div", { key: '09f0b2ae6a8a8f7827646fc6173c173cd03227d9' }, h("div", { key: '3779ab211fe12611db274578aa00ebf168900afb', class: "row gy-3" }, h("div", { key: 'eedd3e14096dbb605ad6fd0e662115cfbd2091da', class: "col-12" }, h("h2", { key: '41ab8ac8ad5cdc2ad46e217645b58ca7f6ff243b', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'eacbb056741e38a64e1acdc51d8a6766a9ef25ef', class: "col-12" }, h("form-control-text", { key: 'ef39645f1557dc422ee475ba9cc6f8a0ef5109ee', 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: '338495781e1d1b412b6eb88a88c231c89dddb06a', class: "col-12" }, h("form-control-text", { key: '3f208113c4db507fc14f05f2312e4056ae3bfa50', 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: 'b7de777a2f4b413d181c54ef21b33f011b6242d1', class: "col-12" }, h("form-control-date", { key: '0bea6e634fd79db518c1377feaf0c19ba7218380', 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: '6984cbb1e60a83ea4d15a3116634c573f8d5be8f', class: "col-12" }, h("form-control-textarea", { key: '89747dfc9ddc287c91ead9428dd1b5a8a86721eb', 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: 'aacc2e70654f07afeed7687464a90612da693030', class: "col-12" }, h("form-control-file-v2", { key: 'be7c004b4f56a81273f202c32e5471461e67a197', 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: '3bab823df105738571c6feeba11700a70593fdc6' }, this.loading && h(Spinner, { key: '3ed4ffbcd589e4655bc23336c42b3934157dd7a4' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
72
+ return (h(Host, { key: '14360f11f9b118e347ee73739f03c3631fbef1a4' }, this.loading && h(Spinner, { key: 'a5190472afdbf507c6c36c8aaae1473bffc80dcf' }), !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() {
@@ -55,7 +55,7 @@ export class SeasonInterruptionInsurance {
55
55
  });
56
56
  }
57
57
  render() {
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 }));
58
+ return (h("justifi-season-interruption-insurance-core", { key: '50413e347b808cbf350573602701d5e6e7d4def5', 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 }));
59
59
  }
60
60
  static get is() { return "justifi-season-interruption-insurance"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -39,14 +39,14 @@ export class PaymentDetailsCore {
39
39
  });
40
40
  }
41
41
  render() {
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 }))
42
+ return (h(StyledHost, { key: 'b35aadc771c0b521cf558f0ab2c010ac167999f1' }, this.loading && h(PaymentDetailsLoading, { key: '9a45f73df71ecf776308acb3e0715e114166548d' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
43
+ this.payment && (h("justifi-details", { key: '0e754696b095b549dafd1789c7a1a462738f9856', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'ef94f025849fefde53daecdb2a3f6475993e2634', slot: "head-info", badge: MapPaymentStatusToBadge(this.payment.status), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '566fd465a660a2fd31e3af18b42b1ad2f687d328', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'e85a469aba3c07b93ac768189b108b3940e6bd1f', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '74c237c68cba09dd5568fa82883c69dc10e45897', title: "ID", value: this.payment.id })), h("div", { key: '69c6daf0c74b2fb003db1a7e785258f1146de701', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '4f87cd9f2a0c8777132d7b8726bdcd09cf7be433', sectionTitle: "Details" }), h("div", { key: '134845f91eef1b6dcd335ac96e59f19684ebd491', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '65c8b3540b5a0c5a4efe8f3a7aac5251def031d3', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'e25d3093be7ab1b564a4af92d7face28d49d213b', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '7d05d55d2f04facff86bdafc51e6c17e4cab80de', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '28a436948de1aa09f09891f597c40293b86d8870', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '670f5c3b79325d473cc0765c87769db9ec65434c', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: 'aa2fbe3ddee9341a0c9aadcf4bb484014a672bc6', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '214b5ded4fbf4e6310a2da856053a4f353b86363', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'ffdf2b03994b584f7be6dd1e53ab8078f85c1b7e', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '0f6bd6fa810b152c02b8ed59540755ddbd74ffba', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
44
+ h(DetailSectionTitle, { key: 'd464f0b7d46d433105e3ca30130c5fe563816282', sectionTitle: "Payment Method" }),
45
+ h("div", { key: '60485f42c8f2490d7119c5b6ecd7febca1aa77ef', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '67cd2ef5f5270294ebf607628c9597210fe65be4', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'c1000dc756f1b9dcfef34cf82b274b66324c8300', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'dc5ce24f30293851230a721fb5e0cb17841a0c26', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '4d5046cc3f23ad11ca97698ced951baa9520ab09', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '97ac51fcd928d4d4fdf79dddb5577b048e0d81e9', title: "Cardholder", value: this.payment.payment_method.payersName }))
46
46
  ], this.payment.payment_method.bank_account && [
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 })))))));
47
+ h(DetailSectionTitle, { key: '35a79ce77f5169316113a4db24a2ef8ce19e95f9', sectionTitle: "Payment Method" }),
48
+ h("div", { key: '32ad717125ad1de2ef98c652bb09f82673cf1cb9', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '18e8fafc324e72bc252939b5143c596dd43ec698', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '09ff2cfc2b6925b972c63061b19f14db20cfba3e', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '80ecb22f35368ebd46b44bc05e28083feefb38e5', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '3f813a886d42fc43523f3f936c68f1733105d62c', title: "Account Owner", value: this.payment.payment_method.payersName }))
49
+ ], h(DetailSectionTitle, { key: '1f73daaaeeab874b7b12d12eb1dd2f82b63b8bba', sectionTitle: 'Metadata' }), h("div", { key: 'a3ca93b3151773f4a98af2f703b62dba3cbb2957', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'a40ac95709ef184daa3be5034c8b96bba12acbd4', metadata: this.payment.metadata })))))));
50
50
  }
51
51
  static get is() { return "payment-details-core"; }
52
52
  static get properties() {
@@ -1,7 +1,7 @@
1
1
  import { Payment } from "../../api";
2
2
  import { ComponentErrorSeverity } from "../../api/ComponentError";
3
3
  import { getErrorCode, getErrorMessage } from "../../api/services/utils";
4
- export const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
4
+ export const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError, final }) => {
5
5
  var _a, _b;
6
6
  try {
7
7
  const response = await service.fetchPayments(id, authToken, params, apiOrigin);
@@ -28,4 +28,7 @@ export const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async
28
28
  severity: ComponentErrorSeverity.ERROR,
29
29
  });
30
30
  }
31
+ finally {
32
+ return final();
33
+ }
31
34
  };
@@ -3,7 +3,7 @@ import { pagingDefaults } from "../../api";
3
3
  import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
4
4
  import { paymentTableCells, paymentTableColumns } from "./payments-table";
5
5
  import { Table } from "../../utils/table";
6
- import { queryParams, onQueryParamsChange } from "./payments-list-params-state";
6
+ import { getRequestParams, onQueryParamsChange } from "./payments-list-params-state";
7
7
  import { table, tableCell } from "../../styles/parts";
8
8
  import { TableClickActions } from "../../ui-components/table/event-types";
9
9
  export class PaymentsListCore {
@@ -51,12 +51,11 @@ export class PaymentsListCore {
51
51
  fetchData() {
52
52
  this.loading = true;
53
53
  this.getPayments({
54
- params: this.requestParams,
54
+ params: this.params,
55
55
  onSuccess: ({ payments, pagingInfo }) => {
56
56
  this.payments = payments;
57
57
  this.paging = pagingInfo;
58
58
  this.paymentsTable.collectionData = this.payments;
59
- this.loading = false;
60
59
  },
61
60
  onError: ({ error, code, severity }) => {
62
61
  this.errorMessage = error;
@@ -65,8 +64,10 @@ export class PaymentsListCore {
65
64
  message: error,
66
65
  severity,
67
66
  });
68
- this.loading = false;
69
67
  },
68
+ final: () => {
69
+ this.loading = false;
70
+ }
70
71
  });
71
72
  }
72
73
  get entityId() {
@@ -81,12 +82,13 @@ export class PaymentsListCore {
81
82
  get showRowData() {
82
83
  return !this.showEmptyState && !this.showErrorState && !this.loading;
83
84
  }
84
- get requestParams() {
85
- const combinedParams = Object.assign(Object.assign({}, queryParams), this.pagingParams);
86
- return combinedParams;
85
+ get params() {
86
+ const requestParams = getRequestParams();
87
+ const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
88
+ return params;
87
89
  }
88
90
  render() {
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 }) })))))))));
91
+ return (h("div", { key: 'a3a996622a365ecf9960a36f249dcd3a8cea3106' }, h("div", { key: '79b86ae4a59b6c50ff72ee1dddb7d9660220e003', class: "table-wrapper" }, h("table", { key: '0f0904d5db86c1e7e3141e991bb20dade2bfb46b', class: "table table-hover", part: table }, h("thead", { key: 'a5895f88cea8962b31aed180b24fc8a287664d56', class: "table-head sticky-top" }, h("tr", { key: 'e883f164efc6a77eea64482974d4e667d264110d', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), h("tbody", { key: 'bbb65c479ca06b02d711d510516432db815b3fac', class: "table-body" }, h(TableLoadingState, { key: 'a212a7fc190e5bede2ff98e7dad737260b94fc9c', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '41543e33097fbcc753ab11fad1214b6dd06c4f78', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '06862d555775195430f95fa3efc41d301444cc4e', 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: '7453d140f8f9ca941be9cf5b9dad4491ace10095', class: "sticky-bottom" }, h("tr", { key: '5299d703ca1c741687e1340b98876cabc4c3636d', class: "table-light align-middle" }, h("td", { key: '96f9f447db74126b92f3f3f657d4253617c0b85b', part: tableCell, colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '19a8da89dfc77c2d97b3b726f9a27a72825eafe3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
90
92
  }
91
93
  static get is() { return "payments-list-core"; }
92
94
  static get properties() {
@@ -187,9 +189,6 @@ export class PaymentsListCore {
187
189
  }
188
190
  static get watchers() {
189
191
  return [{
190
- "propName": "queryParams",
191
- "methodName": "updateOnPropChange"
192
- }, {
193
192
  "propName": "pagingParams",
194
193
  "methodName": "updateOnPropChange"
195
194
  }, {
@@ -1,21 +1,39 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { debounce } from "lodash";
3
- import { queryParams, clearParams } from "./payments-list-params-state";
3
+ import { filterParams, propsParams, clearParams } from "./payments-list-params-state";
4
4
  import { StyledHost } from "../../ui-components";
5
5
  import { convertToLocal, convertToUTC } from "../../utils/utils";
6
+ import { createdAfterPaymentsListFilterParam, createdBeforePaymentsListFilterParam, filterMenu, paymentIdPaymentsListFilterParam, paymentStatusPaymentsListFilterParam, terminalIdPaymentsListFilterParam } from "../../styles/parts";
6
7
  export class PaymentsListFilters {
7
8
  constructor() {
8
9
  this.setParamsOnChange = (name, value) => {
9
- queryParams[name] = value;
10
+ filterParams[name] = value;
10
11
  };
11
12
  this.handleDateInput = (name, value) => {
12
13
  const utcDate = convertToUTC(value, { setExactTime: true });
13
14
  this.setParamsOnChange(name, utcDate);
14
15
  };
16
+ this.paymentId = undefined;
17
+ this.terminalId = undefined;
18
+ this.paymentStatus = undefined;
19
+ this.createdAfter = undefined;
20
+ this.createdBefore = undefined;
15
21
  }
16
22
  componentWillLoad() {
17
23
  // debounced input handler for text input
18
24
  this.debouncedSetParamsOnChange = debounce(this.setParamsOnChange, 300);
25
+ const propsToSet = {
26
+ payment_id: this.paymentId,
27
+ terminal_id: this.terminalId,
28
+ payment_status: this.paymentStatus,
29
+ created_after: this.createdAfter,
30
+ created_before: this.createdBefore
31
+ };
32
+ Object.entries(propsToSet).forEach(([key, value]) => {
33
+ if (value) {
34
+ propsParams[key] = value;
35
+ }
36
+ });
19
37
  }
20
38
  get paymentStatusOptions() {
21
39
  return [
@@ -29,8 +47,100 @@ export class PaymentsListFilters {
29
47
  ];
30
48
  }
31
49
  render() {
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 }))))));
50
+ const filterMenuParams = Object.assign({}, filterParams);
51
+ return (h(StyledHost, { key: '0ed766c07d1884c8be31d648c1258a3c13cc2bad' }, h("table-filters-menu", { key: '138ad8717e5b7c36549814eb2b8698111bb1b993', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '14f16a66adae6ad88429ca23cbd8c7465c3d0ed9', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '15e64e68179f9efb5a9354bb794d8989aa7d76f7', class: "p-2" }, h("form-control-text", { key: '7f825919f6904f1c8367d2039f5d441f38e492d9', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: 'a68d6dd57535f9f104aa2d8db153b4df48d83a65', class: "p-2" }, h("form-control-text", { key: '6cfbadec9bcabe92d1f2de95e6b64290f7a838ef', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '36d32e33c65e0793d5aa980df3a5f57c549ce8b3', class: "p-2" }, h("form-control-select", { key: '41194790a53ebaccdd83d95386180aabd76742f8', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '43639c4c930b0d13d6bc5a49275bcb8a6b9a2a5a', class: "p-2" }, h("form-control-date", { key: 'f6d5ae2d3694def7cfb39721d1a76a6e96007eb2', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
52
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '2c0587296cd94fbc480602ab853cb7179e948f62', class: "p-2" }, h("form-control-date", { key: 'b68302ce611cce52dd14c327fb25f6433b307d14', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
53
+ convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
33
54
  }
34
55
  static get is() { return "justifi-payments-list-filters"; }
35
56
  static get encapsulation() { return "shadow"; }
57
+ static get properties() {
58
+ return {
59
+ "paymentId": {
60
+ "type": "string",
61
+ "mutable": false,
62
+ "complexType": {
63
+ "original": "string",
64
+ "resolved": "string",
65
+ "references": {}
66
+ },
67
+ "required": false,
68
+ "optional": true,
69
+ "docs": {
70
+ "tags": [],
71
+ "text": ""
72
+ },
73
+ "attribute": "payment-id",
74
+ "reflect": false
75
+ },
76
+ "terminalId": {
77
+ "type": "string",
78
+ "mutable": false,
79
+ "complexType": {
80
+ "original": "string",
81
+ "resolved": "string",
82
+ "references": {}
83
+ },
84
+ "required": false,
85
+ "optional": true,
86
+ "docs": {
87
+ "tags": [],
88
+ "text": ""
89
+ },
90
+ "attribute": "terminal-id",
91
+ "reflect": false
92
+ },
93
+ "paymentStatus": {
94
+ "type": "string",
95
+ "mutable": false,
96
+ "complexType": {
97
+ "original": "string",
98
+ "resolved": "string",
99
+ "references": {}
100
+ },
101
+ "required": false,
102
+ "optional": true,
103
+ "docs": {
104
+ "tags": [],
105
+ "text": ""
106
+ },
107
+ "attribute": "payment-status",
108
+ "reflect": false
109
+ },
110
+ "createdAfter": {
111
+ "type": "string",
112
+ "mutable": false,
113
+ "complexType": {
114
+ "original": "string",
115
+ "resolved": "string",
116
+ "references": {}
117
+ },
118
+ "required": false,
119
+ "optional": true,
120
+ "docs": {
121
+ "tags": [],
122
+ "text": ""
123
+ },
124
+ "attribute": "created-after",
125
+ "reflect": false
126
+ },
127
+ "createdBefore": {
128
+ "type": "string",
129
+ "mutable": false,
130
+ "complexType": {
131
+ "original": "string",
132
+ "resolved": "string",
133
+ "references": {}
134
+ },
135
+ "required": false,
136
+ "optional": true,
137
+ "docs": {
138
+ "tags": [],
139
+ "text": ""
140
+ },
141
+ "attribute": "created-before",
142
+ "reflect": false
143
+ }
144
+ };
145
+ }
36
146
  }
@@ -1,8 +1,14 @@
1
1
  import { createStore } from "@stencil/store";
2
- const initialState = {};
3
- const paymentsListQueryParams = createStore(() => initialState);
4
- const { state: queryParams, on: onQueryParamsChange } = paymentsListQueryParams;
2
+ const filterParamsInitialState = {};
3
+ const propsParamsInitialState = {};
4
+ const filterParamsStore = createStore(() => filterParamsInitialState);
5
+ const { state: filterParams, on: onQueryParamsChange } = filterParamsStore;
6
+ const propsParamsStore = createStore(() => propsParamsInitialState);
7
+ const { state: propsParams } = propsParamsStore;
8
+ const getRequestParams = () => {
9
+ return Object.assign(Object.assign({}, filterParams), propsParams);
10
+ };
5
11
  const clearParams = () => {
6
- paymentsListQueryParams.reset();
12
+ filterParamsStore.reset();
7
13
  };
8
- export { paymentsListQueryParams, queryParams, onQueryParamsChange, clearParams };
14
+ export { filterParams, propsParams, onQueryParamsChange, clearParams, getRequestParams };
@@ -50,7 +50,7 @@ export class PaymentsList {
50
50
  }
51
51
  }
52
52
  render() {
53
- return (h(StyledHost, { key: 'a7d58ebf91eea679073919566cd786f8df8ebec0' }, h("payments-list-core", { key: '652e313667f05d7e6a1e94ca7acc34ba137dde98', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
53
+ return (h(StyledHost, { key: '17c610d9339435e5aa7dc6735a0b4cde7e64753a' }, h("payments-list-core", { key: 'be8ddb8088e17c8966f32705f27c48a7f58fd3f1', 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"; }
@@ -54,7 +54,7 @@ export class PayoutDetailsCore {
54
54
  }
55
55
  render() {
56
56
  var _a;
57
- return (h(StyledHost, { key: 'ace7565dae883381e2668214e01cc949470f4a6a' }, this.loading && h(PayoutDetailsLoading, { key: '9412e6135da55bddc2964b87065f212bdb1399eb' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'df9b5bf40cc35a5366e9b1ed296b0e289a9f182c', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '64575c2f0be0beaf72094c0dfe9a343fdcd25c88', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'c95da0d064416dd0fbdff948c92dcd2b116e1da5', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '765da16cba8659fecc6a4c11b2856f8b1edc3a32', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'ff60105de95f6ef897618a5e7cef2fb39257b9c5', title: "ID", value: this.payout.id }), h("div", { key: '8444116278f29220fe7260d6849ed7db2296d4b4', class: "m-4" }, h(Button, { key: '686e61a3ea27b62024e3544c32542e9ca710c96f', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '5d70b7fcd4ac63002659ffc08c3c18e4b18e3f46', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '8d17ae90696880259707d0500873127c7f134339', sectionTitle: "Details" }), h("div", { key: '80111eb713f6b643a415aaf66accfdb9e279fe03', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'a7c7809a862b315960fd3f7aa5c73c45efb55512', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'b9b03681675854eb3f0d1445f45b1e20a648ded4', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'fa34b24385e0638d7ccd8ceb7382a1f113f0c966', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '6acc6435f7f8b277abd35a8ac90e01556aaab18e', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '560cedeb5230503e74e90bb3e531aed21d317f6c', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '42e2d36cb570acad67366e65316a22dac8f4d4fc', sectionTitle: "Account" }), h("div", { key: 'f2eebf080a48ba0d818363c09269689e201ed5fc', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '6064911935f9e3ef75db3ec7707dd3a182c98c5c', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'eb44916f2659dfc6d81f4e995b3f34527d15e6c2', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '0dbf8e17dfbc1ff1cd70be1d67a6907b91478a98', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '2b377f8749d66f6fd58f5a8437c1e21fbb774706', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '886cc82be28c9cd86200adf78a61846fece1cf40', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSectionTitle, { key: 'ec5c8ab11778eff8b89be26f85c7172d38b5d4b3', sectionTitle: 'Metadata' }), h("div", { key: '9c72eeee6fb33e536c8425ba1dd6d4a0c8b066ce', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '85ea6096635c9bb6c8fc0b5298dd4cbb6411392c', metadata: this.payout.metadata })))))));
57
+ return (h(StyledHost, { key: '4549ec693037f9a88ce74520fd227022d4a2db43' }, this.loading && h(PayoutDetailsLoading, { key: '36017a6e0faef41b11d79605177e215e614a3aa1' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'c85f8ade3faf633fe0901d9500eb3353ca37bb2b', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'cd855de095506f7002e2e1c0188250b227927a17', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'acfb6cf5f22e321fa20af3b17a8efb2fad959b84', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'a5a642616006a55cd7c1b0a6782b4400fceb930c', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '239d10bb38e0f583ce9f40182ebd06d0a0ea7435', title: "ID", value: this.payout.id }), h("div", { key: '6863a35b9f6d5490ede7ee6fa82987691615b3e2', class: "m-4" }, h(Button, { key: '1760a4e1666aa8d8de5997c29c3c127a4e36f4b5', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '32adb626ca04e368ef4b194f198ebffd3b04222e', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '9e4ad804af83027bcf5a3c338bda5e70e97cc892', sectionTitle: "Details" }), h("div", { key: 'c927105a44b2da4c54d1a37ae67284f0674551c9', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'e1870dc67a0d4868670d8be56c918e78b50f905d', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '5fc96b304fc547112cd73eb4fb2630dd428830e7', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'da6ef701996e84cd8e6a07d78a25a5e9a79b9ea8', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '9e64e4d9dcfcb061bcaa7cece2420ebf345b8000', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '4a86a9dd33c22d08f05ec2728478a787a00a8322', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'db556a34c5d00c4d3e92c1cf4d01387bff3ee51d', sectionTitle: "Account" }), h("div", { key: '650b29a42b66a5c6472175c2908e3e3bedacf5d3', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'dc66788666c8171a88712615b3b9972c3b4b0d3f', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '203f2cf47a4ef904cec14e1c513f4e7debd8fce8', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'de0b55071cf0303666f6f586de3c409684cb6a7d', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'c844ae5678df1b9181e7ecc75d96b166b75afe64', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '0d53d6165128f2783bb2d2a16fe736fa89b3f897', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSectionTitle, { key: '32578f8453ceb9f8196c393b6d729bbf9e287e04', sectionTitle: 'Metadata' }), h("div", { key: 'fdacbd0d6ce9c91557043a797d41a82e88d8ad61', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '97ec42b9a84d270166a634e15cf8c3aa4d9ff532', metadata: this.payout.metadata })))))));
58
58
  }
59
59
  static get is() { return "payout-details-core"; }
60
60
  static get properties() {
@@ -137,7 +137,7 @@ export class PayoutsListCore {
137
137
  return !this.showEmptyState && !this.showErrorState && !this.loading;
138
138
  }
139
139
  render() {
140
- return (h("div", { key: 'c546790efb9cc49a78063b3761a9c92038acedd5' }, h("div", { key: '60cc337e0c1c4eb7eb59599cdd0520e4031d1ce9', class: "table-wrapper", part: "table-wrapper" }, h("table", { key: 'e7188291031c23dd5bb7f843b4adebb2c5f2675e', class: "table table-hover", part: table }, h("thead", { key: 'eb3a3b5af4016ae73da8af381e778fe433e683c6', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '9352fcc352a8ea33aa1d49844e092f89a9863ce9', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), h("tbody", { key: 'c924a2a65215845c119f3339b7905a6d7c3cc1fa', class: "table-body" }, h(TableLoadingState, { key: '1d811e44a1319a102a0c56a62c56dda13eb6463e', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4dacb3d2cf264c1c367a465cb04221be6b2f1e21', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'b294b854e12adcf39c32aaaa34b260775c5195b3', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.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: '668400d517551fa89af74f655befc11a091a0de0', class: "sticky-bottom" }, h("tr", { key: 'b59f6342dccf4c34cbdbddcce7cb4e1c12116fe1', class: "table-light align-middle" }, h("td", { key: '022afdd48ae81ec33f85c90e045d197f0e2f90ec', part: tableCell, colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'a7e7a1ccdc238af532608626b25123fcd93a6206', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
140
+ return (h("div", { key: '80d7b9e09153270375ef79961996ed56f0ee6ba2' }, h("div", { key: 'bb769ab3fc09acea181a231f98f5aa99be24e675', class: "table-wrapper", part: "table-wrapper" }, h("table", { key: 'b008fd21153c738b85e1a37c2e43932e13b8f58d', class: "table table-hover", part: table }, h("thead", { key: 'f4c7146142cc714f24dccddda4404d5534e068b5', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: 'bfd485e191f11725681a1055b049c7c11eda7858', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), h("tbody", { key: '77797d4d7ebfed8206fb5b693d973c8fb539f1b8', class: "table-body" }, h(TableLoadingState, { key: 'd8c55ac393e2952b9cde96b8fcb45cf88978d90b', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4122715eaa2363e9a21a3dec18a935bc98ac530e', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '5017f0eca302fe6c80d62d8e9af73b68d04db658', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.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: 'da997bb2d356800bdc918415a60c03d09ab0d158', class: "sticky-bottom" }, h("tr", { key: '22a61b245c6aeb630bb3887525d826d5b3589c7c', class: "table-light align-middle" }, h("td", { key: 'f378c94db17592855e94066113bc064d0f936d45', part: tableCell, colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '32f8c9fc1a401a5f7f40669d56be3f703a3fdd40', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
141
141
  }
142
142
  static get is() { return "payouts-list-core"; }
143
143
  static get properties() {
@@ -13,7 +13,7 @@ export class PayoutsListFilters {
13
13
  };
14
14
  }
15
15
  render() {
16
- return (h(StyledHost, { key: '6cbfeb85a953944c4e3d5a793ba5ef01541d6a38' }, h("table-filters-menu", { key: '08acac404fa3d3cdf0a12d8c1db26bdba741196c', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: 'fed242f0aa7a90027c54ac614938c94417f1f092', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '052f23dbc74cec6ad5d26122a8b51dc4f0e5abad', class: "p-2" }, h("form-control-date", { key: '19bbb0f862ac86820ed8422a1df87475b24a07de', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(queryParams.created_after, { showInputDate: true }) })), h("div", { key: '890b7ddad9586c2f60263e2da55dd30017925715', class: "p-2" }, h("form-control-date", { key: '0d6f1434667344b9845d3a71a22b6dd9425ac6ce', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(queryParams.created_before, { showInputDate: true }) }))))));
16
+ return (h(StyledHost, { key: 'f9ee0c87b7b241ade995fc9bbec00fa6f38c4207' }, h("table-filters-menu", { key: '2811b3d4673191dd3e1f2e1546389841d6f3dec2', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: '6f0584fbaed4fd931da456ee7a68ad25843e84d3', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '60dba9253fa74815d2af5d9d6993d4941530da6d', class: "p-2" }, h("form-control-date", { key: '453826549a4f379eca9c4ffc9d57f18f078af347', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(queryParams.created_after, { showInputDate: true }) })), h("div", { key: '646566a69b9d4a82c24151e6773eaa381c1c4970', class: "p-2" }, h("form-control-date", { key: '14a62f94d8b27d88306ed58cbfcbb0b377e57587', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(queryParams.created_before, { showInputDate: true }) }))))));
17
17
  }
18
18
  static get is() { return "justifi-payouts-list-filters"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@ export class PayoutsList {
71
71
  }
72
72
  }
73
73
  render() {
74
- return (h(StyledHost, { key: '568c562b7d0bf5cc3ea4f0bc8d0bc0e468480954', exportedparts: tableExportedParts }, h("payouts-list-core", { key: '9aea9e2fa1083617471a127ca34c3d2e6989f445', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
74
+ return (h(StyledHost, { key: '7e8c3bf1df6c6cdffdc7205f84d4b451b331f6db', exportedparts: tableExportedParts }, h("payouts-list-core", { key: '9ba8af8a562107b8fdc5bece521187ab70b90669', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
75
75
  }
76
76
  static get is() { return "justifi-payouts-list"; }
77
77
  static get encapsulation() { return "shadow"; }
@@ -75,7 +75,7 @@ export class RefundForm {
75
75
  }
76
76
  render() {
77
77
  var _a;
78
- return (h(StyledHost, { key: 'a337107e01f347769c24535d875ae75e7cfff526' }, h("h1", { key: '254b014414fffc6e3af12d22c50528915ea4d698' }, "Refund"), this.refundInfoText && (h("div", { key: 'c8eee08dfdd58a87add1a8bbf6b76521db955d32', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '8374d6e0854c35e41429b588ef373c7ed2e2368d', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: '0c4412de09f5538e3f125e9413b75b416c10f820', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '5c51fdc06f7c57851e4db6f797a830602cb31b33', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: '1b1e09d20d0b191491cdbcea601762c6c967d56b', class: "form-group" }, h("form-control-monetary", { key: 'f90e440f11213dfe4ae84675bf8ca22dc67b0e12', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: 'd61ef9b10a1ef128afaee01f91c70fb621f50cb0', class: "form-group" }, h("form-control-text", { key: 'bbe2fc33746f333cbc35fa25b2852219e2dbfbef', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '5ca8e922e08881739b403bd9cc4ab21719793961', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '2d971109b53c27779bcf11cd38d3b1b073ecd65d', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
78
+ return (h(StyledHost, { key: '21bb5742fac6f75a96b334e2806906e9d9d3a215' }, h("h1", { key: '74c81b6918611e8506bcec7ad28080437a435d35' }, "Refund"), this.refundInfoText && (h("div", { key: '1cd42cd6bf063fe52b35c9adeccbba366147a8a0', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '338b9ffd53bc98da86a0c96eceb4057c235cc524', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: 'e8335bcee9ce21198a2104913b5f084e897807d4', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '6efdd00f3a96bafb713e2d9f23a77a9cfd88dc21', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: '55680d454a42549b8c442f1897455cc6c0f4e973', class: "form-group" }, h("form-control-monetary", { key: 'c38894006ce18238f1fd7738feea4ca3c710930d', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: 'fe803d97c9b90bdb87fa99dd454859a365901688', class: "form-group" }, h("form-control-text", { key: '08a129a72043547fb57ee99a1b3326dbfb03b871', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '08ba9b480faf93f81d5f1396bc42469735fdf46d', class: "form-group d-flex flex-row-reverse" }, h("button", { key: 'a07f1a85156ef80e87e9d0b5e615c1c08eebd7d2', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
79
79
  }
80
80
  static get is() { return "justifi-refund-form"; }
81
81
  static get encapsulation() { return "shadow"; }
@@ -123,7 +123,7 @@ export class TerminalsListCore {
123
123
  return !this.showEmptyState && !this.showErrorState && !this.loading;
124
124
  }
125
125
  render() {
126
- return (h("div", { key: '6d26b39501a43d464cdf017f18a277f761f7091e' }, h("div", { key: '1742f9eec4c84c80563d9e52829cda195f6d0f35', class: "table-wrapper" }, h("table", { key: 'c286d9fe9e0e42631f281820f4d01bf3a0530a37', class: "table table-hover", part: table }, h("thead", { key: '313503778cc7867e9c1276b8ac65d06367efa9b8', class: "table-head sticky-top" }, h("tr", { key: 'fbc26ae3d1ac4600c03c171c3e77624e66fa7915', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: '458b4d6639c232a169a37e1920c5765f461fc5ed', class: "table-body" }, h(TableLoadingState, { key: 'ceeef6c53322679adff07b9bb336d9597dd573c7', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a1ef7bd86fd98c0320539a4c146d41de07901145', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '5f6cbd7d7e2d09ebb38677f1b141ccbdbac70a9f', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.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: 'cc1e06c683ad4bb83e80bd960342773cb3c78cd7', class: "sticky-bottom" }, h("tr", { key: 'e83f5fa8207affced7c4cd507aab27ba48e7df52', class: "table-light align-middle" }, h("td", { key: 'f1b6214fc5455ca39cdf2369636b07ad18b54d3d', part: tableCell, colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '5ef057eef49aaa9081b9de5ea8c48e996fa5e35a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
126
+ return (h("div", { key: 'a80b76fc1f535c9d1fea371b7655a2baa373e53c' }, h("div", { key: '3c6fb067ed034fd09c767e5f1b7ffa7ab2b0b6c2', class: "table-wrapper" }, h("table", { key: 'e24cff12e153db046b1565011bbae3db133609f9', class: "table table-hover", part: table }, h("thead", { key: 'd91e948a4b0a6da3bc67ea489bf6deb828ccb9e5', class: "table-head sticky-top" }, h("tr", { key: '7e629ab6636fceb70dd75e1163094cd44d1f525d', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: '760ed57f2a669d3a6cd54953c9d5259cb6518a60', class: "table-body" }, h(TableLoadingState, { key: '4cb50cce3d9644904fffd1969de19647c6eabc11', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '84ea8077a878aa6b94c1bd2eb1c9393ffc41b983', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '94cb9745f2951383625833a783d4d2bf8e88b1b2', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.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: '0e111df52934ff81bddd77a15d720c44f53e3096', class: "sticky-bottom" }, h("tr", { key: '0abc10194bb09342ecefb62b7a981c3809542a99', class: "table-light align-middle" }, h("td", { key: '828f58c6054dd437cb597696d5bdaf33069e69cf', part: tableCell, colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'd9f4db3f7c580fda067afff8919a695776c8f502', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
127
127
  }
128
128
  static get is() { return "terminals-list-core"; }
129
129
  static get properties() {
@@ -21,7 +21,7 @@ export class TerminalsListFilters {
21
21
  ];
22
22
  }
23
23
  render() {
24
- return (h(StyledHost, { key: 'ab88bb5f5cf8f00a875a8c42cacb9649482a8758' }, h("table-filters-menu", { key: 'a214db5a19018dd6df144ef014cf8ea17f6e5efe', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: '359432076455e6b25bfd30179bd1c66e13cacd52', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '5747e19b82b667d6d3381fd02767d4a27dd82c44', class: "p-2" }, h("form-control-text", { key: 'bc20c285338bf9d1d5c8633bc658c39ccadfeb40', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: queryParams.terminal_id })), h("div", { key: 'fed89678f531c8d3041fdcbc4f77eb81e5387018', class: "p-2" }, h("form-control-select", { key: '5958ccdebe430ce930d1258fa825aeebb6e9065a', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.status || '' }))))));
24
+ return (h(StyledHost, { key: 'f1af204ada5efea668078a7f311dead116050f92' }, h("table-filters-menu", { key: 'f7d13437f2ca0733694d8a676bde72e9b26e49e6', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: 'eb1539830b47437e8dd713a580fa3b2aa1e1bb9b', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'cbd11d34040889eb4fdceee8c1d0fa64c0b62bab', class: "p-2" }, h("form-control-text", { key: '4cfdef309714ef532970db63f7d372bf59b0b0d3', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: queryParams.terminal_id })), h("div", { key: 'd740dfff6b6c920be52bff5c17ba00fa592a083c', class: "p-2" }, h("form-control-select", { key: 'dcc2f6d5a73674bb4e7810da5cb7694074ab7d6b', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.status || '' }))))));
25
25
  }
26
26
  static get is() { return "justifi-terminals-list-filters"; }
27
27
  static get encapsulation() { return "shadow"; }
@@ -67,7 +67,7 @@ export class TerminalsList {
67
67
  }
68
68
  }
69
69
  render() {
70
- return (h(StyledHost, { key: '50ee7da4209367703551642456e6df1b38c20cb7' }, h("terminals-list-core", { key: 'e445dbf65c53397757f60d844bd50cafa8d32556', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
70
+ return (h(StyledHost, { key: '79168b27873e1b6e7d6bfded80b646d2a95292e0' }, h("terminals-list-core", { key: '2dfbc1d923cb83cc10039b4344629db17f754fbc', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
71
71
  }
72
72
  static get is() { return "justifi-terminals-list"; }
73
73
  static get encapsulation() { return "shadow"; }
@@ -3,6 +3,7 @@ import { Button, StyledHost } from "../../ui-components";
3
3
  import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
4
4
  import { checkPkgVersion } from "../../utils/check-pkg-version";
5
5
  import JustifiAnalytics from "../../api/Analytics";
6
+ import { config } from "../../../config";
6
7
  export class TokenizePaymentMethod {
7
8
  constructor() {
8
9
  this.authToken = undefined;
@@ -13,6 +14,7 @@ export class TokenizePaymentMethod {
13
14
  this.disableBankAccount = undefined;
14
15
  this.hideSubmitButton = undefined;
15
16
  this.hideCardBillingForm = undefined;
17
+ this.iframeOrigin = config.iFrameOrigin;
16
18
  this.isLoading = false;
17
19
  }
18
20
  componentWillLoad() {
@@ -50,7 +52,7 @@ export class TokenizePaymentMethod {
50
52
  this.paymentMethodOptionsRef.fillBillingForm(fields);
51
53
  }
52
54
  render() {
53
- return (h(StyledHost, { key: 'c8c9318c6bbde09a0d56ded9c7333958c5595574' }, h("form", { key: '1c36ac872c58b1a560a658f0b5a0cab9284d3969' }, h("fieldset", { key: 'c43c95a5debbb5a58db162c1f34e0845a2ab76f2' }, h("div", { key: 'c6bc1f6148395e6cfc9185919b0bd81716c1ac99', class: "row gy-3" }, h("div", { key: '887ae3e3bf713ee79b24ae1b4cd12156502d6143', class: "col-12" }, h("justifi-payment-method-options", { key: '06c89583f5d1dee641c90145d129f7192911d00e', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: '04e0ee27d0978a68d44c71c6f7767d685449ed1d', class: "col-12" }, h(Button, { key: '3e43eb8295cc7eba0e2914d94a337f724cd52b57', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText || 'Submit')))))));
55
+ return (h(StyledHost, { key: '0ddf067ee86437aa9e860da496daf9ae2b3b5cef' }, h("form", { key: '1416581ae33fdc1e3a4afee8340b5427c2ec3b8d' }, h("fieldset", { key: '1229cbac7d660a8b526f69781ee879783b119d8a' }, h("div", { key: 'ce2fa29a82caeb792caa35e7497afde46886a6a6', class: "row gy-3" }, h("div", { key: 'afdcc686fd93057ab2b44776b94d668f26f5de7c', class: "col-12" }, h("justifi-payment-method-options", { key: '5dd4d7243d930daf99acef4d730faabbfc8080c0', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, authToken: this.authToken, "account-id": this.accountId, iframeOrigin: this.iframeOrigin })), h("div", { key: '375d26a56c451018a78891157bd598437ca65fb7', class: "col-12" }, h(Button, { key: 'aa0ab5b00f58e6f8f9c6ae951cdd756ff37481ef', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText || 'Submit')))))));
54
56
  }
55
57
  static get is() { return "justifi-tokenize-payment-method"; }
56
58
  static get encapsulation() { return "shadow"; }
@@ -191,6 +193,24 @@ export class TokenizePaymentMethod {
191
193
  },
192
194
  "attribute": "hide-card-billing-form",
193
195
  "reflect": false
196
+ },
197
+ "iframeOrigin": {
198
+ "type": "string",
199
+ "mutable": false,
200
+ "complexType": {
201
+ "original": "string",
202
+ "resolved": "string",
203
+ "references": {}
204
+ },
205
+ "required": false,
206
+ "optional": true,
207
+ "docs": {
208
+ "tags": [],
209
+ "text": ""
210
+ },
211
+ "attribute": "iframe-origin",
212
+ "reflect": false,
213
+ "defaultValue": "config.iFrameOrigin"
194
214
  }
195
215
  };
196
216
  }
@@ -81,3 +81,12 @@ export const skeleton = `skeleton`;
81
81
  // ::part(billing-form) { display: none; }
82
82
  export const billingForm = `billing-form`;
83
83
  export const checkoutSummary = `checkout-summary`;
84
+ // Filters
85
+ export const filterMenu = `filter-menu`;
86
+ export const paymentsListFilterMenu = `${filterMenu} payments-list-filter-menu`;
87
+ export const paymentsListFilterParam = `payments-list-filter-param`;
88
+ export const paymentIdPaymentsListFilterParam = `${paymentsListFilterParam} payment-id-payments-list-filter-param`;
89
+ export const terminalIdPaymentsListFilterParam = `${paymentsListFilterParam} terminal-id-payments-list-filter-param`;
90
+ export const paymentStatusPaymentsListFilterParam = `${paymentsListFilterParam} payment-status-payments-list-filter-param`;
91
+ export const createdAfterPaymentsListFilterParam = `${paymentsListFilterParam} created-after-payments-list-filter-param`;
92
+ export const createdBeforePaymentsListFilterParam = `${paymentsListFilterParam} created-before-payments-list-filter-param`;