@justifi/webcomponents 5.0.0-rc-2 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (658) hide show
  1. package/dist/cjs/{Api-f5280a80.js → Api-b0e4be29.js} +12 -0
  2. package/dist/cjs/{Checkout-a528241d.js → Checkout-2ff4f9c8.js} +6 -0
  3. package/dist/cjs/{Payment-d074b246.js → Payment-84817e2d.js} +10 -1
  4. package/dist/cjs/{SubAccount-fda5ec5b.js → SubAccount-f236913b.js} +6 -1
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  6. package/dist/cjs/badge-fbf58cb9.js +44 -0
  7. package/dist/cjs/bank-account-form_9.cjs.entry.js +56 -64
  8. package/dist/cjs/{iframe-input.cjs.entry.js → billing-form_3.cjs.entry.js} +99 -6
  9. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  10. package/dist/cjs/business.service-ffb6f478.js +38 -0
  11. package/dist/cjs/{button-94bdc1f0.js → button-e7796b07.js} +1 -1
  12. package/dist/cjs/{check-pkg-version-18426209.js → check-pkg-version-931df996.js} +3 -4
  13. package/dist/cjs/{checkout.service-671fab62.js → checkout.service-e9c05c15.js} +7 -8
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -9
  15. package/dist/cjs/checkouts-table-0f19c1e6.js +57 -0
  16. package/dist/cjs/custom-popper.cjs.entry.js +2 -2
  17. package/dist/cjs/{dispute.service-c362a953.js → dispute.service-9272a2a6.js} +8 -9
  18. package/dist/cjs/{event-types-4df47396.js → event-types-aa1a9be1.js} +3 -3
  19. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  20. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  21. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  22. package/dist/cjs/{form-control-error-text-a2fd5fc1.js → form-control-error-text-c1f49f35.js} +1 -1
  23. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
  24. package/dist/cjs/form-control-file.cjs.entry.js +4 -4
  25. package/dist/cjs/{form-control-help-text-b6f7ae6e.js → form-control-help-text-e6cc71a7.js} +1 -1
  26. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  27. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  28. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  29. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  30. package/dist/cjs/form-control-select_3.cjs.entry.js +6 -6
  31. package/dist/cjs/{get-payout-csv-d2aed52c.js → get-payout-csv-778db023.js} +7 -8
  32. package/dist/cjs/{get-subaccounts-9aa22224.js → get-subaccounts-b087fa39.js} +5 -6
  33. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  34. package/dist/cjs/{header-1-cb7af794.js → header-1-96b97cab.js} +1 -1
  35. package/dist/cjs/{header-3-75e50713.js → header-3-ce77b96b.js} +1 -1
  36. package/dist/cjs/{insurance-state-001cfe12.js → insurance-state-8959c7c7.js} +1 -1
  37. package/dist/cjs/{justifi-additional-questions-form-step-core_8.cjs.entry.js → justifi-additional-questions-form-step-core_9.cjs.entry.js} +225 -16
  38. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +54 -161
  39. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  40. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -7
  41. package/dist/cjs/justifi-business-form.cjs.entry.js +40 -15
  42. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  43. package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -11
  44. package/dist/cjs/justifi-checkout.cjs.entry.js +11 -11
  45. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
  47. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  48. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  49. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  50. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -16
  51. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -7
  52. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -9
  53. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
  54. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  56. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  57. package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
  58. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
  59. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  60. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
  61. package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -7
  62. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +21 -4
  63. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -11
  64. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  65. package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -14
  66. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +28 -15
  67. package/dist/cjs/loader.cjs.js +1 -1
  68. package/dist/cjs/{package-d6ef89ed.js → package-52ac8376.js} +1 -1
  69. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  70. package/dist/cjs/{parts-811ddb9c.js → parts-addf2176.js} +20 -2
  71. package/dist/cjs/payment-details-core.cjs.entry.js +27 -13
  72. package/dist/cjs/{payment-provisioning-actions-06466dda.js → payment-provisioning-actions-fbd30d1b.js} +31 -0
  73. package/dist/cjs/{payment.service-9a5336f1.js → payment.service-042c7c99.js} +6 -7
  74. package/dist/cjs/payments-list-core.cjs.entry.js +11 -10
  75. package/dist/cjs/payments-status-411c325c.js +58 -0
  76. package/dist/cjs/{payments-table-cf5d1c33.js → payments-table-16f3f95e.js} +12 -12
  77. package/dist/cjs/payout-details-core.cjs.entry.js +22 -7
  78. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -10
  79. package/dist/cjs/payouts-status-0951e39d.js +53 -0
  80. package/dist/cjs/{payouts-table-58881d95.js → payouts-table-bc15179c.js} +14 -16
  81. package/dist/cjs/{skeleton-5ca03840.js → skeleton-c4903a53.js} +1 -1
  82. package/dist/cjs/{spinner-c11fcb44.js → spinner-aac395e3.js} +1 -1
  83. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  84. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -8
  85. package/dist/cjs/terminals-table-3c19847b.js +45 -0
  86. package/dist/cjs/{utils-a21b7453.js → utils-5fb95d31.js} +6 -8
  87. package/dist/cjs/{utils-fc17191b.js → utils-a05a8bf6.js} +2 -2
  88. package/dist/cjs/webcomponents.cjs.js +1 -1
  89. package/dist/collection/api/BankAccount.js +12 -0
  90. package/dist/collection/api/Checkout.js +5 -0
  91. package/dist/collection/api/Payment.js +10 -1
  92. package/dist/collection/api/Payout.js +5 -1
  93. package/dist/collection/api/services/business.service.js +6 -0
  94. package/dist/collection/collection-manifest.json +4 -1
  95. package/dist/collection/components/{billing-form → billing-forms/billing-form}/billing-form.js +10 -10
  96. package/dist/collection/components/{billing-form → billing-forms}/billing-form-schema.js +13 -2
  97. package/dist/collection/components/billing-forms/billing-form-wrapper.js +183 -0
  98. package/dist/collection/components/billing-forms/postal-form/postal-form.js +136 -0
  99. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  100. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  101. package/dist/collection/components/business-forms/business-form/business-form-loading.js +6 -0
  102. package/dist/collection/components/business-forms/business-form/business-form.js +10 -4
  103. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  104. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  105. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  106. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  107. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  108. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +13 -3
  110. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  111. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +270 -0
  112. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +37 -146
  113. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +13 -3
  114. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  115. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +11 -3
  116. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  117. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +13 -3
  119. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  122. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +13 -3
  123. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +30 -0
  125. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -2
  128. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-loading.js +6 -0
  129. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  130. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  131. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
  132. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +1 -1
  133. package/dist/collection/components/checkout/card-form/card-form.js +1 -1
  134. package/dist/collection/components/checkout/checkout-core.js +30 -27
  135. package/dist/collection/components/checkout/checkout.js +29 -24
  136. package/dist/collection/components/checkout/new-payment-method.js +35 -32
  137. package/dist/collection/components/checkout/payment-method-options.js +29 -44
  138. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  139. package/dist/collection/components/checkout/saved-payment-method.js +1 -21
  140. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -21
  141. package/dist/collection/components/checkout/test/checkout.js +0 -1
  142. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  143. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  144. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  145. package/dist/collection/components/checkouts-list/checkouts-status.js +26 -11
  146. package/dist/collection/components/checkouts-list/checkouts-table.js +7 -7
  147. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  158. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  159. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  160. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  161. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
  162. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-loading.js +4 -0
  163. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +4 -2
  164. package/dist/collection/components/payment-details/payment-details-core.js +10 -12
  165. package/dist/collection/components/payment-details/payment-details-loading.js +4 -0
  166. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  167. package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
  168. package/dist/collection/components/payments-list/payments-list.js +1 -1
  169. package/dist/collection/components/payments-list/payments-status.js +51 -21
  170. package/dist/collection/components/payments-list/payments-table.js +8 -8
  171. package/dist/collection/components/payout-details/payout-details-core.js +3 -4
  172. package/dist/collection/components/payout-details/payout-details-loading.js +4 -0
  173. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  174. package/dist/collection/components/payouts-list/payouts-list-filters.js +1 -1
  175. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  176. package/dist/collection/components/payouts-list/payouts-status.js +46 -19
  177. package/dist/collection/components/payouts-list/payouts-table.js +10 -10
  178. package/dist/collection/components/refund-form/refund-form.js +1 -1
  179. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  180. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  181. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  182. package/dist/collection/components/terminals-list/terminals-status.js +21 -9
  183. package/dist/collection/components/terminals-list/terminals-table.js +4 -4
  184. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +60 -25
  185. package/dist/collection/styles/parts.js +11 -2
  186. package/dist/collection/ui-components/badge/badge.js +39 -0
  187. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  188. package/dist/collection/ui-components/details/details.js +1 -1
  189. package/dist/collection/ui-components/details/utils.js +1 -1
  190. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  191. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  192. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  194. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  196. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  197. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  198. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  199. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  200. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  201. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  202. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  203. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  204. package/dist/collection/utils/table.js +1 -1
  205. package/dist/collection/utils/utils.js +6 -8
  206. package/dist/config.js +0 -1
  207. package/dist/docs.json +779 -197
  208. package/dist/esm/{Api-391d00e2.js → Api-0cac5b8a.js} +12 -1
  209. package/dist/esm/{Checkout-0b4086f8.js → Checkout-d476bb83.js} +6 -0
  210. package/dist/esm/{Payment-4f72d277.js → Payment-47630113.js} +10 -1
  211. package/dist/esm/{SubAccount-99a00594.js → SubAccount-f31349a9.js} +6 -1
  212. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  213. package/dist/esm/badge-b034e71b.js +42 -0
  214. package/dist/esm/bank-account-form_9.entry.js +55 -63
  215. package/dist/esm/{iframe-input.entry.js → billing-form_3.entry.js} +98 -7
  216. package/dist/esm/{business-additional-questions-schema-48e93928.js → business-additional-questions-schema-aba9747e.js} +1 -1
  217. package/dist/esm/business-details-core.entry.js +3 -3
  218. package/dist/esm/{business-identity-schema-75126188.js → business-identity-schema-8b0f1619.js} +1 -1
  219. package/dist/esm/{business.service-182aea6f.js → business.service-ab2663a3.js} +8 -3
  220. package/dist/esm/{button-1886a33d.js → button-8a02823c.js} +1 -1
  221. package/dist/esm/{check-pkg-version-157854b7.js → check-pkg-version-f613bceb.js} +2 -3
  222. package/dist/esm/{checkout.service-32a6ebe8.js → checkout.service-c275270e.js} +4 -5
  223. package/dist/esm/checkouts-list-core.entry.js +10 -9
  224. package/dist/esm/checkouts-table-115bacc4.js +53 -0
  225. package/dist/esm/custom-popper.entry.js +2 -2
  226. package/dist/esm/{dispute.service-4e5059aa.js → dispute.service-882e35ed.js} +4 -5
  227. package/dist/esm/{event-types-01dcdcbd.js → event-types-948c3b14.js} +3 -3
  228. package/dist/esm/form-alert_5.entry.js +5 -5
  229. package/dist/esm/form-control-checkbox.entry.js +5 -5
  230. package/dist/esm/form-control-date.entry.js +4 -4
  231. package/dist/esm/{form-control-error-text-3b2553b5.js → form-control-error-text-066cdad4.js} +1 -1
  232. package/dist/esm/form-control-file-v2_2.entry.js +4 -4
  233. package/dist/esm/form-control-file.entry.js +4 -4
  234. package/dist/esm/{form-control-help-text-a2fc3617.js → form-control-help-text-3b6f5980.js} +1 -1
  235. package/dist/esm/form-control-monetary.entry.js +5 -5
  236. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  237. package/dist/esm/form-control-number.entry.js +5 -5
  238. package/dist/esm/form-control-radio.entry.js +3 -3
  239. package/dist/esm/form-control-select_3.entry.js +6 -6
  240. package/dist/esm/{get-payout-csv-e6058aa7.js → get-payout-csv-50aea928.js} +4 -5
  241. package/dist/esm/{get-subaccounts-0b8af245.js → get-subaccounts-ab3dd32c.js} +4 -5
  242. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  243. package/dist/esm/{header-1-c6a00a22.js → header-1-75c284dd.js} +1 -1
  244. package/dist/esm/{header-3-a1c6d475.js → header-3-4a327395.js} +1 -1
  245. package/dist/esm/{insurance-state-8fc9376f.js → insurance-state-b495be64.js} +1 -1
  246. package/dist/esm/{justifi-additional-questions-form-step-core_8.entry.js → justifi-additional-questions-form-step-core_9.entry.js} +230 -22
  247. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +53 -160
  248. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  249. package/dist/esm/justifi-business-details.entry.js +6 -7
  250. package/dist/esm/justifi-business-form.entry.js +43 -18
  251. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  252. package/dist/esm/justifi-checkout-core.entry.js +10 -11
  253. package/dist/esm/justifi-checkout.entry.js +11 -11
  254. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  255. package/dist/esm/justifi-checkouts-list.entry.js +13 -13
  256. package/dist/esm/justifi-details.entry.js +3 -3
  257. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  258. package/dist/esm/justifi-dispute-management.entry.js +9 -9
  259. package/dist/esm/justifi-dispute-notification_3.entry.js +14 -15
  260. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -6
  261. package/dist/esm/justifi-owner-form_3.entry.js +10 -11
  262. package/dist/esm/justifi-payment-details.entry.js +10 -10
  263. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  264. package/dist/esm/justifi-payment-provisioning.entry.js +6 -7
  265. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  266. package/dist/esm/justifi-payments-list.entry.js +13 -13
  267. package/dist/esm/justifi-payout-details.entry.js +10 -10
  268. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  269. package/dist/esm/justifi-payouts-list.entry.js +14 -14
  270. package/dist/esm/justifi-refund-form.entry.js +6 -6
  271. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +22 -5
  272. package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -9
  273. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  274. package/dist/esm/justifi-terminals-list.entry.js +12 -11
  275. package/dist/esm/justifi-tokenize-payment-method.entry.js +29 -16
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/{package-9e3b7f9e.js → package-9b94eb81.js} +1 -1
  278. package/dist/esm/pagination-menu.entry.js +1 -1
  279. package/dist/esm/{parts-186d437f.js → parts-93f379ab.js} +12 -3
  280. package/dist/esm/payment-details-core.entry.js +28 -14
  281. package/dist/esm/{payment-provisioning-actions-0635eff7.js → payment-provisioning-actions-a262ee82.js} +31 -1
  282. package/dist/esm/{payment.service-45f90e06.js → payment.service-92b90855.js} +4 -5
  283. package/dist/esm/payments-list-core.entry.js +11 -10
  284. package/dist/esm/payments-status-82466054.js +56 -0
  285. package/dist/esm/{payments-table-d6fbab5b.js → payments-table-c0bb25b6.js} +12 -12
  286. package/dist/esm/payout-details-core.entry.js +23 -8
  287. package/dist/esm/payouts-list-core.entry.js +11 -10
  288. package/dist/esm/payouts-status-b98c8297.js +51 -0
  289. package/dist/esm/{payouts-table-2e61a116.js → payouts-table-4382a264.js} +14 -16
  290. package/dist/esm/{schema-validations-c7d4f9df.js → schema-validations-5b0ac96b.js} +1 -1
  291. package/dist/esm/{skeleton-8f71cdf7.js → skeleton-3bcb2b5d.js} +1 -1
  292. package/dist/esm/{spinner-879489b3.js → spinner-b83f3a87.js} +1 -1
  293. package/dist/esm/table-filters-menu.entry.js +3 -3
  294. package/dist/esm/terminals-list-core.entry.js +10 -8
  295. package/dist/esm/terminals-table-8f1c2146.js +41 -0
  296. package/dist/esm/{utils-d7633e66.js → utils-7fb6331d.js} +2 -2
  297. package/dist/esm/{utils-54543523.js → utils-b76d791e.js} +7 -9
  298. package/dist/esm/webcomponents.js +1 -1
  299. package/dist/module/Checkout.js +6 -0
  300. package/dist/module/Payment.js +11 -1
  301. package/dist/module/SubAccount.js +6 -1
  302. package/dist/module/additional-questions.js +2 -2
  303. package/dist/module/additional-statement.js +2 -2
  304. package/dist/module/badge.js +42 -0
  305. package/dist/module/bank-account-form2.js +1 -1
  306. package/dist/module/billing-form-schema.js +16 -0
  307. package/dist/module/billing-form-wrapper.js +114 -0
  308. package/dist/module/{justifi-billing-form.d.ts → billing-form.d.ts} +4 -4
  309. package/dist/module/billing-form.js +4 -97
  310. package/dist/module/billing-form2.js +90 -0
  311. package/dist/module/business-additional-questions-form-step-core.js +13 -3
  312. package/dist/module/business-additional-questions-form-step.js +1 -1
  313. package/dist/module/business-additional-questions-schema.js +1 -1
  314. package/dist/module/business-address-schema.js +1 -1
  315. package/dist/module/business-bank-account-form-step-core.js +206 -0
  316. package/dist/module/business-bank-account-form-step.js +49 -157
  317. package/dist/module/business-core-info-form-step-core.js +14 -4
  318. package/dist/module/business-core-info-form-step.js +1 -1
  319. package/dist/module/business-core-info.js +2 -2
  320. package/dist/module/business-document-upload-form-step.js +2 -3
  321. package/dist/module/business-document-upload-input-group.js +1 -1
  322. package/dist/module/business-documents-on-file.js +1 -1
  323. package/dist/module/business-form-options.js +1 -1
  324. package/dist/module/business-owners-form-step-core.js +10 -2
  325. package/dist/module/business-owners-form-step.js +1 -1
  326. package/dist/module/business-representative-form-inputs.js +1 -1
  327. package/dist/module/business-representative-form-step-core.js +12 -2
  328. package/dist/module/business-representative-form-step.js +1 -1
  329. package/dist/module/business-representative.js +1 -1
  330. package/dist/module/business-terms-conditions-form-step.js +2 -3
  331. package/dist/module/business-terms-conditions-text.js +2 -2
  332. package/dist/module/business.service.js +8 -3
  333. package/dist/module/button.js +1 -1
  334. package/dist/module/cancellation-policy.js +2 -2
  335. package/dist/module/card-form2.js +1 -1
  336. package/dist/module/check-pkg-version.js +1 -2
  337. package/dist/module/checkout-core.js +51 -40
  338. package/dist/module/checkout.service.js +1 -2
  339. package/dist/module/checkouts-list-core2.js +36 -27
  340. package/dist/module/config.js +116 -2
  341. package/dist/module/custom-popper2.js +2 -2
  342. package/dist/module/customer-details.js +2 -2
  343. package/dist/module/details.js +1 -1
  344. package/dist/module/dispute-management-core.js +1 -1
  345. package/dist/module/dispute-notification.js +2 -2
  346. package/dist/module/dispute-response-actions.js +2 -3
  347. package/dist/module/dispute-response-core.js +2 -2
  348. package/dist/module/dispute-response.js +1 -1
  349. package/dist/module/duplicate-charge.js +2 -2
  350. package/dist/module/electronic-evidence.js +2 -2
  351. package/dist/module/event-types.js +2 -2
  352. package/dist/module/form-alert2.js +1 -1
  353. package/dist/module/form-control-checkbox2.js +3 -3
  354. package/dist/module/form-control-date2.js +3 -3
  355. package/dist/module/form-control-file-v22.js +1 -1
  356. package/dist/module/form-control-file2.js +3 -3
  357. package/dist/module/form-control-monetary2.js +3 -3
  358. package/dist/module/form-control-number-masked2.js +3 -3
  359. package/dist/module/form-control-number.js +2 -2
  360. package/dist/module/form-control-radio2.js +3 -3
  361. package/dist/module/form-control-select2.js +3 -3
  362. package/dist/module/form-control-text2.js +3 -3
  363. package/dist/module/form-control-textarea2.js +3 -3
  364. package/dist/module/form-control-tooltip2.js +1 -1
  365. package/dist/module/get-payout-csv.js +2 -3
  366. package/dist/module/get-subaccounts.js +2 -3
  367. package/dist/module/gross-payment-chart-core2.js +1 -1
  368. package/dist/module/hidden-input2.js +1 -1
  369. package/dist/module/identity-address-form.js +2 -2
  370. package/dist/module/iframe-input2.js +3 -3
  371. package/dist/module/justifi-billing-form-wrapper.d.ts +11 -0
  372. package/dist/module/justifi-billing-form-wrapper.js +6 -0
  373. package/dist/module/justifi-business-bank-account-form-step-core.d.ts +11 -0
  374. package/dist/module/justifi-business-bank-account-form-step-core.js +6 -0
  375. package/dist/module/justifi-business-details.js +1 -1
  376. package/dist/module/justifi-business-form.js +32 -7
  377. package/dist/module/justifi-checkout.js +53 -41
  378. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  379. package/dist/module/justifi-checkouts-list.js +2 -2
  380. package/dist/module/justifi-dispute-management.js +2 -2
  381. package/dist/module/justifi-gross-payment-chart.js +2 -3
  382. package/dist/module/justifi-payment-details.js +1 -1
  383. package/dist/module/justifi-payment-provisioning.js +33 -28
  384. package/dist/module/justifi-payments-list-filters.js +1 -1
  385. package/dist/module/justifi-payments-list.js +2 -2
  386. package/dist/module/justifi-payout-details.js +1 -1
  387. package/dist/module/justifi-payouts-list-filters.js +1 -1
  388. package/dist/module/justifi-payouts-list.js +2 -2
  389. package/dist/module/justifi-refund-form.js +2 -3
  390. package/dist/module/justifi-season-interruption-insurance.js +6 -5
  391. package/dist/module/justifi-terminals-list-filters.js +1 -1
  392. package/dist/module/justifi-terminals-list.js +3 -4
  393. package/dist/module/justifi-tokenize-payment-method.js +73 -45
  394. package/dist/module/legal-address-form-step-core.js +13 -3
  395. package/dist/module/legal-address-form-step.js +1 -1
  396. package/dist/module/legal-address-form.js +2 -2
  397. package/dist/module/new-payment-method.js +50 -43
  398. package/dist/module/owner-form-core2.js +2 -2
  399. package/dist/module/owner-form-inputs2.js +1 -1
  400. package/dist/module/owner-form.js +2 -2
  401. package/dist/module/package.js +1 -1
  402. package/dist/module/pagination-menu2.js +1 -1
  403. package/dist/module/parts.js +12 -3
  404. package/dist/module/payment-details-core2.js +25 -13
  405. package/dist/module/payment-method-options.js +49 -39
  406. package/dist/module/payment-provisioning-actions.js +32 -2
  407. package/dist/module/payment-provisioning-core.js +31 -25
  408. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  409. package/dist/module/payment-provisioning-form-steps.js +32 -26
  410. package/dist/module/payment-provisioning-loading.js +25 -0
  411. package/dist/module/payment.service.js +1 -2
  412. package/dist/module/payments-list-core2.js +12 -12
  413. package/dist/module/payments-status.js +52 -20
  414. package/dist/module/payout-details-core2.js +18 -5
  415. package/dist/module/payouts-list-core2.js +14 -16
  416. package/dist/module/payouts-status.js +47 -18
  417. package/dist/module/postal-form.d.ts +11 -0
  418. package/dist/module/postal-form.js +6 -0
  419. package/dist/module/postal-form2.js +83 -0
  420. package/dist/module/product-or-service.js +2 -2
  421. package/dist/module/refund-policy.js +2 -2
  422. package/dist/module/save-new-payment-method.js +1 -1
  423. package/dist/module/saved-payment-method.js +2 -5
  424. package/dist/module/schema-validations.js +2 -2
  425. package/dist/module/season-interruption-insurance-core.js +19 -2
  426. package/dist/module/sezzle-payment-method.js +2 -5
  427. package/dist/module/shipping-details.js +2 -2
  428. package/dist/module/spinner.js +1 -1
  429. package/dist/module/table-filters-menu2.js +2 -2
  430. package/dist/module/terminals-list-core2.js +26 -14
  431. package/dist/module/utils.js +1 -1
  432. package/dist/module/utils2.js +6 -8
  433. package/dist/module/utils3.js +23 -24
  434. package/dist/module/utils4.js +24 -23
  435. package/dist/types/api/BankAccount.d.ts +11 -0
  436. package/dist/types/api/Checkout.d.ts +4 -2
  437. package/dist/types/api/Payment.d.ts +9 -4
  438. package/dist/types/api/Payout.d.ts +4 -2
  439. package/dist/types/api/services/business.service.d.ts +7 -0
  440. package/dist/types/components/{billing-form → billing-forms/billing-form}/billing-form.d.ts +2 -2
  441. package/dist/types/components/{billing-form → billing-forms}/billing-form-schema.d.ts +11 -2
  442. package/dist/types/components/billing-forms/billing-form-wrapper.d.ts +19 -0
  443. package/dist/types/components/billing-forms/postal-form/postal-form.d.ts +20 -0
  444. package/dist/types/components/business-forms/business-form/business-form-loading.d.ts +1 -0
  445. package/dist/types/components/business-forms/business-form/business-form.d.ts +1 -0
  446. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +1 -0
  447. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +35 -0
  448. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +6 -24
  449. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +1 -0
  450. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +1 -0
  451. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +1 -0
  452. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +1 -0
  453. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +9 -0
  454. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-loading.d.ts +1 -0
  455. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
  456. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
  457. package/dist/types/components/checkout/checkout-core.d.ts +3 -6
  458. package/dist/types/components/checkout/checkout.d.ts +3 -3
  459. package/dist/types/components/checkout/new-payment-method.d.ts +4 -4
  460. package/dist/types/components/checkout/payment-method-options.d.ts +3 -5
  461. package/dist/types/components/checkout/saved-payment-method.d.ts +0 -1
  462. package/dist/types/components/checkout/sezzle-payment-method.d.ts +0 -1
  463. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +1 -1
  464. package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -1
  465. package/dist/types/components/checkouts-list/checkouts-table.d.ts +7 -6
  466. package/dist/types/components/insurance/season-interruption/season-interruption-insurance-loading.d.ts +2 -0
  467. package/dist/types/components/payment-details/payment-details-loading.d.ts +2 -0
  468. package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
  469. package/dist/types/components/payments-list/payments-status.d.ts +1 -1
  470. package/dist/types/components/payments-list/payments-table.d.ts +8 -7
  471. package/dist/types/components/payout-details/payout-details-loading.d.ts +2 -0
  472. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -1
  473. package/dist/types/components/payouts-list/payouts-status.d.ts +1 -1
  474. package/dist/types/components/payouts-list/payouts-table.d.ts +10 -9
  475. package/dist/types/components/terminals-list/terminals-list-core.d.ts +1 -1
  476. package/dist/types/components/terminals-list/terminals-status.d.ts +1 -1
  477. package/dist/types/components/terminals-list/terminals-table.d.ts +5 -4
  478. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +3 -1
  479. package/dist/types/components.d.ts +123 -77
  480. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -1
  481. package/dist/types/styles/parts.d.ts +10 -1
  482. package/dist/types/ui-components/badge/badge.d.ts +18 -0
  483. package/dist/types/utils/table.d.ts +3 -3
  484. package/dist/types/utils/utils.d.ts +2 -1
  485. package/dist/webcomponents/p-04ce1f82.js +1 -0
  486. package/dist/webcomponents/p-0544f4a4.entry.js +1 -0
  487. package/dist/webcomponents/p-060ff1a1.js +1 -0
  488. package/dist/webcomponents/p-0658b707.entry.js +1 -0
  489. package/dist/webcomponents/{p-1dbae48b.entry.js → p-09fd4ee2.entry.js} +1 -1
  490. package/dist/webcomponents/p-0d7e7957.js +1 -0
  491. package/dist/webcomponents/p-0f4168f4.entry.js +1 -0
  492. package/dist/webcomponents/p-10cface4.entry.js +1 -0
  493. package/dist/webcomponents/p-10f9ff7b.entry.js +1 -0
  494. package/dist/webcomponents/p-12233a57.entry.js +1 -0
  495. package/dist/webcomponents/p-135e24c0.js +1 -0
  496. package/dist/webcomponents/p-14d21d66.entry.js +1 -0
  497. package/dist/webcomponents/p-156f0a23.entry.js +1 -0
  498. package/dist/webcomponents/p-16a9e343.js +1 -0
  499. package/dist/webcomponents/p-1a27f22e.js +1 -0
  500. package/dist/webcomponents/p-1e2526c8.entry.js +1 -0
  501. package/dist/webcomponents/p-24a9c773.js +1 -0
  502. package/dist/webcomponents/{p-b056034f.entry.js → p-2b081961.entry.js} +1 -1
  503. package/dist/webcomponents/p-2bd8650b.js +1 -0
  504. package/dist/webcomponents/p-2c7441ea.entry.js +1 -0
  505. package/dist/webcomponents/p-2ce40098.js +1 -0
  506. package/dist/webcomponents/p-2d27d054.entry.js +1 -0
  507. package/dist/webcomponents/p-2d801915.js +1 -0
  508. package/dist/webcomponents/p-351c7fa3.entry.js +1 -0
  509. package/dist/webcomponents/p-39177d5a.js +1 -0
  510. package/dist/webcomponents/p-3f209fcc.entry.js +1 -0
  511. package/dist/webcomponents/p-3fa7d9c9.entry.js +1 -0
  512. package/dist/webcomponents/p-411382f3.js +1 -0
  513. package/dist/webcomponents/p-44604a45.js +1 -0
  514. package/dist/webcomponents/p-46769ec3.entry.js +1 -0
  515. package/dist/webcomponents/p-47cd431c.js +1 -0
  516. package/dist/webcomponents/{p-0aa63869.entry.js → p-4bcfdb99.entry.js} +1 -1
  517. package/dist/webcomponents/p-4c4f9e3b.js +1 -0
  518. package/dist/webcomponents/p-4e122ace.js +1 -0
  519. package/dist/webcomponents/p-4e92b1ac.entry.js +1 -0
  520. package/dist/webcomponents/{p-d75b52c8.entry.js → p-541b7c36.entry.js} +1 -1
  521. package/dist/webcomponents/p-560bc606.entry.js +1 -0
  522. package/dist/webcomponents/p-5d0763a5.js +1 -0
  523. package/dist/webcomponents/p-5d177a30.js +1 -0
  524. package/dist/webcomponents/p-67aef066.entry.js +1 -0
  525. package/dist/webcomponents/p-6b21b6c9.js +1 -0
  526. package/dist/webcomponents/p-6bc01617.js +1 -0
  527. package/dist/webcomponents/{p-323ba4df.entry.js → p-6e8be579.entry.js} +1 -1
  528. package/dist/webcomponents/p-72a90154.entry.js +1 -0
  529. package/dist/webcomponents/{p-8c7a81c1.js → p-730e8425.js} +1 -1
  530. package/dist/webcomponents/p-73323a41.entry.js +1 -0
  531. package/dist/webcomponents/p-73619f0a.js +1 -0
  532. package/dist/webcomponents/{p-f4722957.js → p-74736657.js} +1 -1
  533. package/dist/webcomponents/p-74d6e182.entry.js +1 -0
  534. package/dist/webcomponents/p-783f72a5.entry.js +1 -0
  535. package/dist/webcomponents/{p-08b8d1f0.entry.js → p-7b1fcab5.entry.js} +1 -1
  536. package/dist/webcomponents/p-7bddbee4.js +1 -0
  537. package/dist/webcomponents/{p-c9670f3c.entry.js → p-7db2a4d5.entry.js} +1 -1
  538. package/dist/webcomponents/p-83aa33f0.js +1 -0
  539. package/dist/webcomponents/p-850b7717.entry.js +1 -0
  540. package/dist/webcomponents/p-87ce7b69.js +1 -0
  541. package/dist/webcomponents/p-8d61499c.entry.js +1 -0
  542. package/dist/webcomponents/p-9154210a.entry.js +1 -0
  543. package/dist/webcomponents/p-92d78790.js +1 -0
  544. package/dist/webcomponents/p-96bc127e.entry.js +1 -0
  545. package/dist/webcomponents/p-98e49e54.entry.js +1 -0
  546. package/dist/webcomponents/p-a3df6c3e.entry.js +1 -0
  547. package/dist/webcomponents/p-a5008b32.entry.js +1 -0
  548. package/dist/webcomponents/p-a59636ed.js +1 -0
  549. package/dist/webcomponents/p-a7b04e24.js +1 -0
  550. package/dist/webcomponents/{p-7b9f21cd.entry.js → p-ac2588af.entry.js} +1 -1
  551. package/dist/webcomponents/p-aee49e6e.entry.js +1 -0
  552. package/dist/webcomponents/p-b04da0de.entry.js +1 -0
  553. package/dist/webcomponents/{p-b1d4e520.entry.js → p-b78da082.entry.js} +1 -1
  554. package/dist/webcomponents/p-b7b18a0f.entry.js +1 -0
  555. package/dist/webcomponents/p-ba202e33.js +1 -0
  556. package/dist/webcomponents/p-bf07d5d0.entry.js +1 -0
  557. package/dist/webcomponents/p-c0e18724.entry.js +1 -0
  558. package/dist/webcomponents/{p-cefd50f8.entry.js → p-c65c07f7.entry.js} +1 -1
  559. package/dist/webcomponents/{p-7216ef00.entry.js → p-ca6214ca.entry.js} +1 -1
  560. package/dist/webcomponents/{p-af834eb8.js → p-cb8f7bf4.js} +1 -1
  561. package/dist/webcomponents/p-ce2de434.entry.js +1 -0
  562. package/dist/webcomponents/{p-bb61c6e0.js → p-d1f78cb5.js} +1 -1
  563. package/dist/webcomponents/p-d6e51c2f.js +1 -0
  564. package/dist/webcomponents/{p-f9fdcc1a.entry.js → p-d86c1f11.entry.js} +2 -2
  565. package/dist/webcomponents/p-def672dc.entry.js +1 -0
  566. package/dist/webcomponents/p-df795bd0.entry.js +1 -0
  567. package/dist/webcomponents/{p-fa2e3dc7.entry.js → p-e0f21a47.entry.js} +1 -1
  568. package/dist/webcomponents/{p-79b7c30d.js → p-eb644cb7.js} +1 -1
  569. package/dist/webcomponents/p-f2158e48.entry.js +1 -0
  570. package/dist/webcomponents/p-f3867b82.entry.js +1 -0
  571. package/dist/webcomponents/p-f65abd18.js +1 -0
  572. package/dist/webcomponents/{p-663a00cd.entry.js → p-f76a7f9c.entry.js} +1 -1
  573. package/dist/webcomponents/p-fd6619d0.entry.js +1 -0
  574. package/dist/webcomponents/webcomponents.esm.js +1 -1
  575. package/package.json +1 -1
  576. package/dist/cjs/business.service-285f6f26.js +0 -32
  577. package/dist/cjs/checkouts-table-17648e93.js +0 -48
  578. package/dist/cjs/config-b190e93e.js +0 -15
  579. package/dist/cjs/payments-status-68ac449d.js +0 -26
  580. package/dist/cjs/payouts-status-2f7be07d.js +0 -24
  581. package/dist/cjs/terminals-table-91985249.js +0 -33
  582. package/dist/esm/checkouts-table-8b116232.js +0 -44
  583. package/dist/esm/config-187b3ae1.js +0 -13
  584. package/dist/esm/payments-status-a7c18f2a.js +0 -24
  585. package/dist/esm/payouts-status-cd58e525.js +0 -22
  586. package/dist/esm/terminals-table-8e42977c.js +0 -29
  587. package/dist/module/Api.js +0 -116
  588. package/dist/module/justifi-billing-form.js +0 -6
  589. package/dist/webcomponents/p-0201ec6c.entry.js +0 -1
  590. package/dist/webcomponents/p-0cc6c539.js +0 -1
  591. package/dist/webcomponents/p-0ccbc022.entry.js +0 -1
  592. package/dist/webcomponents/p-0e180654.js +0 -1
  593. package/dist/webcomponents/p-0eb86b3f.entry.js +0 -1
  594. package/dist/webcomponents/p-0f23ff58.js +0 -1
  595. package/dist/webcomponents/p-110cae83.entry.js +0 -1
  596. package/dist/webcomponents/p-16d2932d.js +0 -1
  597. package/dist/webcomponents/p-1ce22da6.entry.js +0 -1
  598. package/dist/webcomponents/p-206fde40.js +0 -1
  599. package/dist/webcomponents/p-28029272.entry.js +0 -1
  600. package/dist/webcomponents/p-32a5bf4e.js +0 -1
  601. package/dist/webcomponents/p-34c14f59.js +0 -1
  602. package/dist/webcomponents/p-3db8b3c7.js +0 -1
  603. package/dist/webcomponents/p-438df53f.entry.js +0 -1
  604. package/dist/webcomponents/p-441c1cf8.js +0 -1
  605. package/dist/webcomponents/p-4972d608.entry.js +0 -1
  606. package/dist/webcomponents/p-4a576796.js +0 -1
  607. package/dist/webcomponents/p-4d916b2d.js +0 -1
  608. package/dist/webcomponents/p-4eb3dcfa.entry.js +0 -1
  609. package/dist/webcomponents/p-5456a794.js +0 -1
  610. package/dist/webcomponents/p-5968ff8a.js +0 -1
  611. package/dist/webcomponents/p-597bd1e1.entry.js +0 -1
  612. package/dist/webcomponents/p-5bbe1133.entry.js +0 -1
  613. package/dist/webcomponents/p-5c6d08a6.entry.js +0 -1
  614. package/dist/webcomponents/p-5cb947bc.entry.js +0 -1
  615. package/dist/webcomponents/p-5d3f81c0.entry.js +0 -1
  616. package/dist/webcomponents/p-6677c60d.entry.js +0 -1
  617. package/dist/webcomponents/p-68694a17.entry.js +0 -1
  618. package/dist/webcomponents/p-6ab77b89.js +0 -1
  619. package/dist/webcomponents/p-6b840696.entry.js +0 -1
  620. package/dist/webcomponents/p-6f4bfdff.entry.js +0 -1
  621. package/dist/webcomponents/p-6fbd6abb.js +0 -1
  622. package/dist/webcomponents/p-6feeb9f2.js +0 -1
  623. package/dist/webcomponents/p-73a18b5a.entry.js +0 -1
  624. package/dist/webcomponents/p-7693ed02.entry.js +0 -1
  625. package/dist/webcomponents/p-7a975a3c.js +0 -1
  626. package/dist/webcomponents/p-7f796066.entry.js +0 -1
  627. package/dist/webcomponents/p-808bb677.entry.js +0 -1
  628. package/dist/webcomponents/p-83584c56.entry.js +0 -1
  629. package/dist/webcomponents/p-88acfa7c.entry.js +0 -1
  630. package/dist/webcomponents/p-8a94d2c8.js +0 -1
  631. package/dist/webcomponents/p-90dc2f2c.js +0 -1
  632. package/dist/webcomponents/p-9c2e00cc.js +0 -1
  633. package/dist/webcomponents/p-9ef9a625.entry.js +0 -1
  634. package/dist/webcomponents/p-a07b1816.js +0 -1
  635. package/dist/webcomponents/p-a3949f32.js +0 -1
  636. package/dist/webcomponents/p-ac147eef.entry.js +0 -1
  637. package/dist/webcomponents/p-b392ec21.js +0 -1
  638. package/dist/webcomponents/p-b867dd5d.entry.js +0 -1
  639. package/dist/webcomponents/p-bb0f8b70.js +0 -1
  640. package/dist/webcomponents/p-bb71cef3.js +0 -1
  641. package/dist/webcomponents/p-bbcaa29b.entry.js +0 -1
  642. package/dist/webcomponents/p-c092cbb2.js +0 -1
  643. package/dist/webcomponents/p-c2a2b9fe.entry.js +0 -1
  644. package/dist/webcomponents/p-cc977850.js +0 -1
  645. package/dist/webcomponents/p-d53c5ea5.entry.js +0 -1
  646. package/dist/webcomponents/p-d960db89.entry.js +0 -1
  647. package/dist/webcomponents/p-db8c12ee.js +0 -1
  648. package/dist/webcomponents/p-e1ee92f5.entry.js +0 -1
  649. package/dist/webcomponents/p-e396506c.entry.js +0 -1
  650. package/dist/webcomponents/p-e723bc30.entry.js +0 -1
  651. package/dist/webcomponents/p-ec60d318.entry.js +0 -1
  652. package/dist/webcomponents/p-ed8918d1.entry.js +0 -1
  653. package/dist/webcomponents/p-edb57087.js +0 -1
  654. package/dist/webcomponents/p-ee4a2aac.entry.js +0 -1
  655. package/dist/webcomponents/p-ef4c49b9.js +0 -1
  656. package/dist/webcomponents/p-f88d5c0d.entry.js +0 -1
  657. package/dist/webcomponents/p-f8a3b942.entry.js +0 -1
  658. package/dist/webcomponents/p-f99e8150.entry.js +0 -1
@@ -6,13 +6,13 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
9
+ import { BillingFormFields, PostalFormFields } from "./components/billing-forms/billing-form-schema";
9
10
  import { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
10
11
  import { Placement, PositioningStrategy } from "@popperjs/core";
11
12
  import { EntityDocumentType, FileSelectEvent } from "./api/Document";
12
13
  import { BillingFormFields as BillingFormFields1, FormController } from "./components";
13
14
  import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
14
15
  import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
15
- import { BillingFormFields } from "./components/billing-form/billing-form-schema";
16
16
  import { FormController as FormController1 } from "./ui-components/form/form";
17
17
  import { IApiResponse, IBnpl, ILoadedEventResponse } from "./api";
18
18
  import { ILoadedEventResponse as ILoadedEventResponse1 } from "./api/Checkout";
@@ -24,13 +24,13 @@ import { ComponentErrorCodes } from "./api/ComponentError";
24
24
  import { Identity } from "./api/Identity";
25
25
  import { PaginationProps } from "./components/pagination-menu/pagination-menu";
26
26
  export { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
27
+ export { BillingFormFields, PostalFormFields } from "./components/billing-forms/billing-form-schema";
27
28
  export { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
28
29
  export { Placement, PositioningStrategy } from "@popperjs/core";
29
30
  export { EntityDocumentType, FileSelectEvent } from "./api/Document";
30
31
  export { BillingFormFields as BillingFormFields1, FormController } from "./components";
31
32
  export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
32
33
  export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
33
- export { BillingFormFields } from "./components/billing-form/billing-form-schema";
34
34
  export { FormController as FormController1 } from "./ui-components/form/form";
35
35
  export { IApiResponse, IBnpl, ILoadedEventResponse } from "./api";
36
36
  export { ILoadedEventResponse as ILoadedEventResponse1 } from "./api/Checkout";
@@ -49,6 +49,15 @@ export namespace Components {
49
49
  "tokenize": (clientId: string, paymentMethodMetadata: any, account?: string) => Promise<any>;
50
50
  "validate": () => Promise<any>;
51
51
  }
52
+ interface BillingForm {
53
+ "fill": (fields: BillingFormFields) => Promise<void>;
54
+ "getValues": () => Promise<BillingFormFields>;
55
+ /**
56
+ * (Optional) A label for the form.
57
+ */
58
+ "legend"?: string;
59
+ "validate": () => Promise<{ isValid: boolean; }>;
60
+ }
52
61
  interface BusinessDetailsCore {
53
62
  "getBusiness": Function;
54
63
  }
@@ -223,26 +232,30 @@ export namespace Components {
223
232
  "disputeResponse": any;
224
233
  "validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
225
234
  }
226
- interface JustifiBillingForm {
227
- "fill": (fields: BillingFormFields) => Promise<void>;
228
- "getValues": () => Promise<BillingFormFields>;
235
+ interface JustifiBillingFormWrapper {
236
+ "fill": (fields: BillingFormFields | PostalFormFields) => Promise<void>;
237
+ "getValues": () => Promise<BillingFormFields | PostalFormFields>;
238
+ "hideCardBillingForm"?: boolean;
229
239
  /**
230
240
  * (Optional) A label for the form.
231
241
  */
232
242
  "legend"?: string;
243
+ "paymentMethodType"?: string;
233
244
  "validate": () => Promise<{ isValid: boolean; }>;
234
245
  }
235
- /**
236
- * The difference between this component and business-generic-info-details
237
- * is that this component is meant to be a form and send data
238
- * and the other one is meant to be just read only.
239
- */
240
246
  interface JustifiBusinessBankAccountFormStep {
241
247
  "allowOptionalFields"?: boolean;
242
248
  "authToken": string;
243
249
  "businessId": string;
244
250
  "validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
245
251
  }
252
+ interface JustifiBusinessBankAccountFormStepCore {
253
+ "allowOptionalFields"?: boolean;
254
+ "businessId": string;
255
+ "getBusiness": Function;
256
+ "postBankAccount": Function;
257
+ "validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
258
+ }
246
259
  /**
247
260
  * The difference between this component and business-core-info-details
248
261
  * is that this component is meant to be a form and send data
@@ -343,8 +356,8 @@ export namespace Components {
343
356
  "disableBnpl"?: boolean;
344
357
  "disableCreditCard"?: boolean;
345
358
  "disablePaymentMethodGroup"?: boolean;
346
- "fillBillingForm": (fields: BillingFormFields) => Promise<void>;
347
- "iframeOrigin"?: string;
359
+ "fillBillingForm": (fields: BillingFormFields | PostalFormFields) => Promise<void>;
360
+ "hideCardBillingForm"?: boolean;
348
361
  }
349
362
  interface JustifiCheckoutCore {
350
363
  "authToken": string;
@@ -354,12 +367,9 @@ export namespace Components {
354
367
  "disableBnpl"?: boolean;
355
368
  "disableCreditCard"?: boolean;
356
369
  "disablePaymentMethodGroup"?: boolean;
357
- "fillBillingForm": (fields: BillingFormFields) => Promise<void>;
370
+ "fillBillingForm": (fields: BillingFormFields | PostalFormFields) => Promise<void>;
358
371
  "getCheckout": Function;
359
- /**
360
- * URL for the rendered iFrame. End-users need not use this.
361
- */
362
- "iframeOrigin"?: string;
372
+ "hideCardBillingForm"?: boolean;
363
373
  }
364
374
  interface JustifiCheckoutsList {
365
375
  "accountId": string;
@@ -450,8 +460,8 @@ export namespace Components {
450
460
  interface JustifiNewPaymentMethod {
451
461
  "accountId": string;
452
462
  "authToken": string;
453
- "fillBillingForm": (fields: BillingFormFields) => Promise<void>;
454
- "iframeOrigin"?: string;
463
+ "fillBillingForm": (fields: BillingFormFields | PostalFormFields) => Promise<void>;
464
+ "hideCardBillingForm"?: boolean;
455
465
  "isSelected": boolean;
456
466
  "paymentMethodGroupId"?: string;
457
467
  "paymentMethodOption": PaymentMethodOption;
@@ -477,8 +487,8 @@ export namespace Components {
477
487
  "accountId": string;
478
488
  "authToken": string;
479
489
  "bnpl": IBnpl;
480
- "fillBillingForm": (fields: BillingFormFields) => Promise<void>;
481
- "iframeOrigin"?: string;
490
+ "fillBillingForm": (fields: BillingFormFields | PostalFormFields) => Promise<void>;
491
+ "hideCardBillingForm"?: boolean;
482
492
  "insuranceToggled": boolean;
483
493
  "paymentAmount": number;
484
494
  "paymentMethodGroupId"?: string;
@@ -576,7 +586,6 @@ export namespace Components {
576
586
  interface JustifiSaveNewPaymentMethod {
577
587
  }
578
588
  interface JustifiSavedPaymentMethod {
579
- "iframeOrigin"?: string;
580
589
  "isSelected": boolean;
581
590
  "paymentMethodOption": PaymentMethodOption;
582
591
  "resolvePaymentMethod": (insuranceValidation: any) => Promise<PaymentMethodPayload>;
@@ -618,7 +627,6 @@ export namespace Components {
618
627
  "accountId": string;
619
628
  "bnpl": any;
620
629
  "clientId": string;
621
- "iframeOrigin"?: string;
622
630
  "isSelected": boolean;
623
631
  "paymentAmount": number;
624
632
  "paymentMethodOption": PaymentMethodOption;
@@ -642,7 +650,8 @@ export namespace Components {
642
650
  "disableBankAccount"?: boolean;
643
651
  "disableCreditCard"?: boolean;
644
652
  "fillBillingForm": (fields: BillingFormFields1) => Promise<void>;
645
- "isLoading": boolean;
653
+ "hideCardBillingForm"?: boolean;
654
+ "hideSubmitButton"?: boolean;
646
655
  "paymentMethodGroupId": string;
647
656
  "submitButtonText": string;
648
657
  "tokenizePaymentMethod": (event?: CustomEvent) => Promise<void>;
@@ -694,6 +703,15 @@ export namespace Components {
694
703
  "getPayouts": Function;
695
704
  "getSubAccounts": Function;
696
705
  }
706
+ interface PostalForm {
707
+ "fill": (fields: PostalFormFields) => Promise<void>;
708
+ "getValues": () => Promise<PostalFormFields>;
709
+ /**
710
+ * (Optional) A label for the form.
711
+ */
712
+ "legend"?: string;
713
+ "validate": () => Promise<{ isValid: boolean; }>;
714
+ }
697
715
  interface RepresentativeDetails {
698
716
  "representative": Identity;
699
717
  }
@@ -779,6 +797,10 @@ export interface JustifiBusinessBankAccountFormStepCustomEvent<T> extends Custom
779
797
  detail: T;
780
798
  target: HTMLJustifiBusinessBankAccountFormStepElement;
781
799
  }
800
+ export interface JustifiBusinessBankAccountFormStepCoreCustomEvent<T> extends CustomEvent<T> {
801
+ detail: T;
802
+ target: HTMLJustifiBusinessBankAccountFormStepCoreElement;
803
+ }
782
804
  export interface JustifiBusinessCoreInfoFormStepCustomEvent<T> extends CustomEvent<T> {
783
805
  detail: T;
784
806
  target: HTMLJustifiBusinessCoreInfoFormStepElement;
@@ -875,10 +897,6 @@ export interface JustifiPaymentDetailsCustomEvent<T> extends CustomEvent<T> {
875
897
  detail: T;
876
898
  target: HTMLJustifiPaymentDetailsElement;
877
899
  }
878
- export interface JustifiPaymentMethodOptionsCustomEvent<T> extends CustomEvent<T> {
879
- detail: T;
880
- target: HTMLJustifiPaymentMethodOptionsElement;
881
- }
882
900
  export interface JustifiPaymentProvisioningCustomEvent<T> extends CustomEvent<T> {
883
901
  detail: T;
884
902
  target: HTMLJustifiPaymentProvisioningElement;
@@ -968,6 +986,12 @@ declare global {
968
986
  prototype: HTMLBankAccountFormElement;
969
987
  new (): HTMLBankAccountFormElement;
970
988
  };
989
+ interface HTMLBillingFormElement extends Components.BillingForm, HTMLStencilElement {
990
+ }
991
+ var HTMLBillingFormElement: {
992
+ prototype: HTMLBillingFormElement;
993
+ new (): HTMLBillingFormElement;
994
+ };
971
995
  interface HTMLBusinessDetailsCoreElementEventMap {
972
996
  "error-event": ComponentErrorEvent;
973
997
  }
@@ -1327,22 +1351,15 @@ declare global {
1327
1351
  prototype: HTMLJustifiAdditionalStatementElement;
1328
1352
  new (): HTMLJustifiAdditionalStatementElement;
1329
1353
  };
1330
- interface HTMLJustifiBillingFormElement extends Components.JustifiBillingForm, HTMLStencilElement {
1354
+ interface HTMLJustifiBillingFormWrapperElement extends Components.JustifiBillingFormWrapper, HTMLStencilElement {
1331
1355
  }
1332
- var HTMLJustifiBillingFormElement: {
1333
- prototype: HTMLJustifiBillingFormElement;
1334
- new (): HTMLJustifiBillingFormElement;
1356
+ var HTMLJustifiBillingFormWrapperElement: {
1357
+ prototype: HTMLJustifiBillingFormWrapperElement;
1358
+ new (): HTMLJustifiBillingFormWrapperElement;
1335
1359
  };
1336
1360
  interface HTMLJustifiBusinessBankAccountFormStepElementEventMap {
1337
- "complete-form-step-event": ComponentFormStepCompleteEvent;
1338
1361
  "error-event": ComponentErrorEvent;
1339
- "formLoading": boolean;
1340
1362
  }
1341
- /**
1342
- * The difference between this component and business-generic-info-details
1343
- * is that this component is meant to be a form and send data
1344
- * and the other one is meant to be just read only.
1345
- */
1346
1363
  interface HTMLJustifiBusinessBankAccountFormStepElement extends Components.JustifiBusinessBankAccountFormStep, HTMLStencilElement {
1347
1364
  addEventListener<K extends keyof HTMLJustifiBusinessBankAccountFormStepElementEventMap>(type: K, listener: (this: HTMLJustifiBusinessBankAccountFormStepElement, ev: JustifiBusinessBankAccountFormStepCustomEvent<HTMLJustifiBusinessBankAccountFormStepElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1348
1365
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -1357,6 +1374,25 @@ declare global {
1357
1374
  prototype: HTMLJustifiBusinessBankAccountFormStepElement;
1358
1375
  new (): HTMLJustifiBusinessBankAccountFormStepElement;
1359
1376
  };
1377
+ interface HTMLJustifiBusinessBankAccountFormStepCoreElementEventMap {
1378
+ "complete-form-step-event": ComponentFormStepCompleteEvent;
1379
+ "error-event": ComponentErrorEvent;
1380
+ "formLoading": boolean;
1381
+ }
1382
+ interface HTMLJustifiBusinessBankAccountFormStepCoreElement extends Components.JustifiBusinessBankAccountFormStepCore, HTMLStencilElement {
1383
+ addEventListener<K extends keyof HTMLJustifiBusinessBankAccountFormStepCoreElementEventMap>(type: K, listener: (this: HTMLJustifiBusinessBankAccountFormStepCoreElement, ev: JustifiBusinessBankAccountFormStepCoreCustomEvent<HTMLJustifiBusinessBankAccountFormStepCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1384
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1385
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1386
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1387
+ removeEventListener<K extends keyof HTMLJustifiBusinessBankAccountFormStepCoreElementEventMap>(type: K, listener: (this: HTMLJustifiBusinessBankAccountFormStepCoreElement, ev: JustifiBusinessBankAccountFormStepCoreCustomEvent<HTMLJustifiBusinessBankAccountFormStepCoreElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1388
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1389
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1390
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1391
+ }
1392
+ var HTMLJustifiBusinessBankAccountFormStepCoreElement: {
1393
+ prototype: HTMLJustifiBusinessBankAccountFormStepCoreElement;
1394
+ new (): HTMLJustifiBusinessBankAccountFormStepCoreElement;
1395
+ };
1360
1396
  /**
1361
1397
  * The difference between this component and business-core-info-details
1362
1398
  * is that this component is meant to be a form and send data
@@ -1877,18 +1913,7 @@ declare global {
1877
1913
  prototype: HTMLJustifiPaymentDetailsElement;
1878
1914
  new (): HTMLJustifiPaymentDetailsElement;
1879
1915
  };
1880
- interface HTMLJustifiPaymentMethodOptionsElementEventMap {
1881
- "toggleCreatingNewPaymentMethod": any;
1882
- }
1883
1916
  interface HTMLJustifiPaymentMethodOptionsElement extends Components.JustifiPaymentMethodOptions, HTMLStencilElement {
1884
- addEventListener<K extends keyof HTMLJustifiPaymentMethodOptionsElementEventMap>(type: K, listener: (this: HTMLJustifiPaymentMethodOptionsElement, ev: JustifiPaymentMethodOptionsCustomEvent<HTMLJustifiPaymentMethodOptionsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1885
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1886
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1887
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1888
- removeEventListener<K extends keyof HTMLJustifiPaymentMethodOptionsElementEventMap>(type: K, listener: (this: HTMLJustifiPaymentMethodOptionsElement, ev: JustifiPaymentMethodOptionsCustomEvent<HTMLJustifiPaymentMethodOptionsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1889
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1890
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1891
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1892
1917
  }
1893
1918
  var HTMLJustifiPaymentMethodOptionsElement: {
1894
1919
  prototype: HTMLJustifiPaymentMethodOptionsElement;
@@ -2281,6 +2306,12 @@ declare global {
2281
2306
  prototype: HTMLPayoutsListCoreElement;
2282
2307
  new (): HTMLPayoutsListCoreElement;
2283
2308
  };
2309
+ interface HTMLPostalFormElement extends Components.PostalForm, HTMLStencilElement {
2310
+ }
2311
+ var HTMLPostalFormElement: {
2312
+ prototype: HTMLPostalFormElement;
2313
+ new (): HTMLPostalFormElement;
2314
+ };
2284
2315
  interface HTMLRepresentativeDetailsElement extends Components.RepresentativeDetails, HTMLStencilElement {
2285
2316
  }
2286
2317
  var HTMLRepresentativeDetailsElement: {
@@ -2314,6 +2345,7 @@ declare global {
2314
2345
  interface HTMLElementTagNameMap {
2315
2346
  "additional-questions-details": HTMLAdditionalQuestionsDetailsElement;
2316
2347
  "bank-account-form": HTMLBankAccountFormElement;
2348
+ "billing-form": HTMLBillingFormElement;
2317
2349
  "business-details-core": HTMLBusinessDetailsCoreElement;
2318
2350
  "card-form": HTMLCardFormElement;
2319
2351
  "checkouts-list-core": HTMLCheckoutsListCoreElement;
@@ -2340,8 +2372,9 @@ declare global {
2340
2372
  "justifi-additional-questions-form-step": HTMLJustifiAdditionalQuestionsFormStepElement;
2341
2373
  "justifi-additional-questions-form-step-core": HTMLJustifiAdditionalQuestionsFormStepCoreElement;
2342
2374
  "justifi-additional-statement": HTMLJustifiAdditionalStatementElement;
2343
- "justifi-billing-form": HTMLJustifiBillingFormElement;
2375
+ "justifi-billing-form-wrapper": HTMLJustifiBillingFormWrapperElement;
2344
2376
  "justifi-business-bank-account-form-step": HTMLJustifiBusinessBankAccountFormStepElement;
2377
+ "justifi-business-bank-account-form-step-core": HTMLJustifiBusinessBankAccountFormStepCoreElement;
2345
2378
  "justifi-business-core-info": HTMLJustifiBusinessCoreInfoElement;
2346
2379
  "justifi-business-core-info-form-step": HTMLJustifiBusinessCoreInfoFormStepElement;
2347
2380
  "justifi-business-core-info-form-step-core": HTMLJustifiBusinessCoreInfoFormStepCoreElement;
@@ -2411,6 +2444,7 @@ declare global {
2411
2444
  "payments-list-core": HTMLPaymentsListCoreElement;
2412
2445
  "payout-details-core": HTMLPayoutDetailsCoreElement;
2413
2446
  "payouts-list-core": HTMLPayoutsListCoreElement;
2447
+ "postal-form": HTMLPostalFormElement;
2414
2448
  "representative-details": HTMLRepresentativeDetailsElement;
2415
2449
  "table-filters-menu": HTMLTableFiltersMenuElement;
2416
2450
  "terminals-list-core": HTMLTerminalsListCoreElement;
@@ -2422,6 +2456,12 @@ declare namespace LocalJSX {
2422
2456
  }
2423
2457
  interface BankAccountForm {
2424
2458
  }
2459
+ interface BillingForm {
2460
+ /**
2461
+ * (Optional) A label for the form.
2462
+ */
2463
+ "legend"?: string;
2464
+ }
2425
2465
  interface BusinessDetailsCore {
2426
2466
  "getBusiness"?: Function;
2427
2467
  "onError-event"?: (event: BusinessDetailsCoreCustomEvent<ComponentErrorEvent>) => void;
@@ -2622,24 +2662,28 @@ declare namespace LocalJSX {
2622
2662
  interface JustifiAdditionalStatement {
2623
2663
  "disputeResponse"?: any;
2624
2664
  }
2625
- interface JustifiBillingForm {
2665
+ interface JustifiBillingFormWrapper {
2666
+ "hideCardBillingForm"?: boolean;
2626
2667
  /**
2627
2668
  * (Optional) A label for the form.
2628
2669
  */
2629
2670
  "legend"?: string;
2671
+ "paymentMethodType"?: string;
2630
2672
  }
2631
- /**
2632
- * The difference between this component and business-generic-info-details
2633
- * is that this component is meant to be a form and send data
2634
- * and the other one is meant to be just read only.
2635
- */
2636
2673
  interface JustifiBusinessBankAccountFormStep {
2637
2674
  "allowOptionalFields"?: boolean;
2638
2675
  "authToken"?: string;
2639
2676
  "businessId"?: string;
2640
- "onComplete-form-step-event"?: (event: JustifiBusinessBankAccountFormStepCustomEvent<ComponentFormStepCompleteEvent>) => void;
2641
2677
  "onError-event"?: (event: JustifiBusinessBankAccountFormStepCustomEvent<ComponentErrorEvent>) => void;
2642
- "onFormLoading"?: (event: JustifiBusinessBankAccountFormStepCustomEvent<boolean>) => void;
2678
+ }
2679
+ interface JustifiBusinessBankAccountFormStepCore {
2680
+ "allowOptionalFields"?: boolean;
2681
+ "businessId"?: string;
2682
+ "getBusiness"?: Function;
2683
+ "onComplete-form-step-event"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<ComponentFormStepCompleteEvent>) => void;
2684
+ "onError-event"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<ComponentErrorEvent>) => void;
2685
+ "onFormLoading"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<boolean>) => void;
2686
+ "postBankAccount"?: Function;
2643
2687
  }
2644
2688
  /**
2645
2689
  * The difference between this component and business-core-info-details
@@ -2755,7 +2799,7 @@ declare namespace LocalJSX {
2755
2799
  "disableBnpl"?: boolean;
2756
2800
  "disableCreditCard"?: boolean;
2757
2801
  "disablePaymentMethodGroup"?: boolean;
2758
- "iframeOrigin"?: string;
2802
+ "hideCardBillingForm"?: boolean;
2759
2803
  "onError-event"?: (event: JustifiCheckoutCustomEvent<ComponentErrorEvent>) => void;
2760
2804
  "onLoaded"?: (event: JustifiCheckoutCustomEvent<ILoadedEventResponse>) => void;
2761
2805
  }
@@ -2768,10 +2812,7 @@ declare namespace LocalJSX {
2768
2812
  "disableCreditCard"?: boolean;
2769
2813
  "disablePaymentMethodGroup"?: boolean;
2770
2814
  "getCheckout"?: Function;
2771
- /**
2772
- * URL for the rendered iFrame. End-users need not use this.
2773
- */
2774
- "iframeOrigin"?: string;
2815
+ "hideCardBillingForm"?: boolean;
2775
2816
  "onError-event"?: (event: JustifiCheckoutCoreCustomEvent<ComponentErrorEvent>) => void;
2776
2817
  "onLoaded"?: (event: JustifiCheckoutCoreCustomEvent<ILoadedEventResponse1>) => void;
2777
2818
  "onSubmit-event"?: (event: JustifiCheckoutCoreCustomEvent<ComponentSubmitEvent>) => void;
@@ -2876,7 +2917,7 @@ declare namespace LocalJSX {
2876
2917
  interface JustifiNewPaymentMethod {
2877
2918
  "accountId"?: string;
2878
2919
  "authToken"?: string;
2879
- "iframeOrigin"?: string;
2920
+ "hideCardBillingForm"?: boolean;
2880
2921
  "isSelected"?: boolean;
2881
2922
  "onPaymentMethodOptionSelected"?: (event: JustifiNewPaymentMethodCustomEvent<any>) => void;
2882
2923
  "paymentMethodGroupId"?: string;
@@ -2901,9 +2942,8 @@ declare namespace LocalJSX {
2901
2942
  "accountId"?: string;
2902
2943
  "authToken"?: string;
2903
2944
  "bnpl"?: IBnpl;
2904
- "iframeOrigin"?: string;
2945
+ "hideCardBillingForm"?: boolean;
2905
2946
  "insuranceToggled"?: boolean;
2906
- "onToggleCreatingNewPaymentMethod"?: (event: JustifiPaymentMethodOptionsCustomEvent<any>) => void;
2907
2947
  "paymentAmount"?: number;
2908
2948
  "paymentMethodGroupId"?: string;
2909
2949
  "savedPaymentMethods"?: any[];
@@ -3009,7 +3049,6 @@ declare namespace LocalJSX {
3009
3049
  "onCheckboxChanged"?: (event: JustifiSaveNewPaymentMethodCustomEvent<boolean>) => void;
3010
3050
  }
3011
3051
  interface JustifiSavedPaymentMethod {
3012
- "iframeOrigin"?: string;
3013
3052
  "isSelected"?: boolean;
3014
3053
  "onPaymentMethodOptionSelected"?: (event: JustifiSavedPaymentMethodCustomEvent<any>) => void;
3015
3054
  "paymentMethodOption"?: PaymentMethodOption;
@@ -3052,7 +3091,6 @@ declare namespace LocalJSX {
3052
3091
  "accountId"?: string;
3053
3092
  "bnpl"?: any;
3054
3093
  "clientId"?: string;
3055
- "iframeOrigin"?: string;
3056
3094
  "isSelected"?: boolean;
3057
3095
  "onPaymentMethodOptionSelected"?: (event: JustifiSezzlePaymentMethodCustomEvent<any>) => void;
3058
3096
  "paymentAmount"?: number;
@@ -3075,7 +3113,8 @@ declare namespace LocalJSX {
3075
3113
  "authToken"?: string;
3076
3114
  "disableBankAccount"?: boolean;
3077
3115
  "disableCreditCard"?: boolean;
3078
- "isLoading"?: boolean;
3116
+ "hideCardBillingForm"?: boolean;
3117
+ "hideSubmitButton"?: boolean;
3079
3118
  "onError-event"?: (event: JustifiTokenizePaymentMethodCustomEvent<ComponentErrorEvent>) => void;
3080
3119
  "onSubmit-event"?: (event: JustifiTokenizePaymentMethodCustomEvent<ComponentSubmitEvent>) => void;
3081
3120
  "paymentMethodGroupId"?: string;
@@ -3134,6 +3173,12 @@ declare namespace LocalJSX {
3134
3173
  "onClick-event"?: (event: PayoutsListCoreCustomEvent<ComponentClickEvent>) => void;
3135
3174
  "onError-event"?: (event: PayoutsListCoreCustomEvent<ComponentErrorEvent>) => void;
3136
3175
  }
3176
+ interface PostalForm {
3177
+ /**
3178
+ * (Optional) A label for the form.
3179
+ */
3180
+ "legend"?: string;
3181
+ }
3137
3182
  interface RepresentativeDetails {
3138
3183
  "representative"?: Identity;
3139
3184
  }
@@ -3151,6 +3196,7 @@ declare namespace LocalJSX {
3151
3196
  interface IntrinsicElements {
3152
3197
  "additional-questions-details": AdditionalQuestionsDetails;
3153
3198
  "bank-account-form": BankAccountForm;
3199
+ "billing-form": BillingForm;
3154
3200
  "business-details-core": BusinessDetailsCore;
3155
3201
  "card-form": CardForm;
3156
3202
  "checkouts-list-core": CheckoutsListCore;
@@ -3177,8 +3223,9 @@ declare namespace LocalJSX {
3177
3223
  "justifi-additional-questions-form-step": JustifiAdditionalQuestionsFormStep;
3178
3224
  "justifi-additional-questions-form-step-core": JustifiAdditionalQuestionsFormStepCore;
3179
3225
  "justifi-additional-statement": JustifiAdditionalStatement;
3180
- "justifi-billing-form": JustifiBillingForm;
3226
+ "justifi-billing-form-wrapper": JustifiBillingFormWrapper;
3181
3227
  "justifi-business-bank-account-form-step": JustifiBusinessBankAccountFormStep;
3228
+ "justifi-business-bank-account-form-step-core": JustifiBusinessBankAccountFormStepCore;
3182
3229
  "justifi-business-core-info": JustifiBusinessCoreInfo;
3183
3230
  "justifi-business-core-info-form-step": JustifiBusinessCoreInfoFormStep;
3184
3231
  "justifi-business-core-info-form-step-core": JustifiBusinessCoreInfoFormStepCore;
@@ -3248,6 +3295,7 @@ declare namespace LocalJSX {
3248
3295
  "payments-list-core": PaymentsListCore;
3249
3296
  "payout-details-core": PayoutDetailsCore;
3250
3297
  "payouts-list-core": PayoutsListCore;
3298
+ "postal-form": PostalForm;
3251
3299
  "representative-details": RepresentativeDetails;
3252
3300
  "table-filters-menu": TableFiltersMenu;
3253
3301
  "terminals-list-core": TerminalsListCore;
@@ -3259,6 +3307,7 @@ declare module "@stencil/core" {
3259
3307
  interface IntrinsicElements {
3260
3308
  "additional-questions-details": LocalJSX.AdditionalQuestionsDetails & JSXBase.HTMLAttributes<HTMLAdditionalQuestionsDetailsElement>;
3261
3309
  "bank-account-form": LocalJSX.BankAccountForm & JSXBase.HTMLAttributes<HTMLBankAccountFormElement>;
3310
+ "billing-form": LocalJSX.BillingForm & JSXBase.HTMLAttributes<HTMLBillingFormElement>;
3262
3311
  "business-details-core": LocalJSX.BusinessDetailsCore & JSXBase.HTMLAttributes<HTMLBusinessDetailsCoreElement>;
3263
3312
  "card-form": LocalJSX.CardForm & JSXBase.HTMLAttributes<HTMLCardFormElement>;
3264
3313
  "checkouts-list-core": LocalJSX.CheckoutsListCore & JSXBase.HTMLAttributes<HTMLCheckoutsListCoreElement>;
@@ -3285,13 +3334,9 @@ declare module "@stencil/core" {
3285
3334
  "justifi-additional-questions-form-step": LocalJSX.JustifiAdditionalQuestionsFormStep & JSXBase.HTMLAttributes<HTMLJustifiAdditionalQuestionsFormStepElement>;
3286
3335
  "justifi-additional-questions-form-step-core": LocalJSX.JustifiAdditionalQuestionsFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiAdditionalQuestionsFormStepCoreElement>;
3287
3336
  "justifi-additional-statement": LocalJSX.JustifiAdditionalStatement & JSXBase.HTMLAttributes<HTMLJustifiAdditionalStatementElement>;
3288
- "justifi-billing-form": LocalJSX.JustifiBillingForm & JSXBase.HTMLAttributes<HTMLJustifiBillingFormElement>;
3289
- /**
3290
- * The difference between this component and business-generic-info-details
3291
- * is that this component is meant to be a form and send data
3292
- * and the other one is meant to be just read only.
3293
- */
3337
+ "justifi-billing-form-wrapper": LocalJSX.JustifiBillingFormWrapper & JSXBase.HTMLAttributes<HTMLJustifiBillingFormWrapperElement>;
3294
3338
  "justifi-business-bank-account-form-step": LocalJSX.JustifiBusinessBankAccountFormStep & JSXBase.HTMLAttributes<HTMLJustifiBusinessBankAccountFormStepElement>;
3339
+ "justifi-business-bank-account-form-step-core": LocalJSX.JustifiBusinessBankAccountFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiBusinessBankAccountFormStepCoreElement>;
3295
3340
  /**
3296
3341
  * The difference between this component and business-core-info-details
3297
3342
  * is that this component is meant to be a form and send data
@@ -3366,6 +3411,7 @@ declare module "@stencil/core" {
3366
3411
  "payments-list-core": LocalJSX.PaymentsListCore & JSXBase.HTMLAttributes<HTMLPaymentsListCoreElement>;
3367
3412
  "payout-details-core": LocalJSX.PayoutDetailsCore & JSXBase.HTMLAttributes<HTMLPayoutDetailsCoreElement>;
3368
3413
  "payouts-list-core": LocalJSX.PayoutsListCore & JSXBase.HTMLAttributes<HTMLPayoutsListCoreElement>;
3414
+ "postal-form": LocalJSX.PostalForm & JSXBase.HTMLAttributes<HTMLPostalFormElement>;
3369
3415
  "representative-details": LocalJSX.RepresentativeDetails & JSXBase.HTMLAttributes<HTMLRepresentativeDetailsElement>;
3370
3416
  "table-filters-menu": LocalJSX.TableFiltersMenu & JSXBase.HTMLAttributes<HTMLTableFiltersMenuElement>;
3371
3417
  "terminals-list-core": LocalJSX.TerminalsListCore & JSXBase.HTMLAttributes<HTMLTerminalsListCoreElement>;
@@ -1,5 +1,4 @@
1
1
  export declare const config: {
2
- iframeOrigin: string;
3
2
  proxyApiOrigin: string;
4
3
  proxyAuthToken: string;
5
4
  exampleAccountId: string;
@@ -51,8 +51,17 @@ export declare const getAlternateTableCellPart: (index: any) => "table-cell-even
51
51
  export declare const tableEmpty = "table-empty text color font-family background-color";
52
52
  export declare const tableError = "table-error text color font-family background-color";
53
53
  export declare const loadingSpinner = "loading-spinner";
54
- export declare const badge = "badge text color font-family";
54
+ export declare const badge = "badge font-family";
55
+ export declare const badgePrimary = "badge font-family badge-primary";
56
+ export declare const badgeSecondary = "badge font-family badge-secondary";
57
+ export declare const badgeSuccess = "badge font-family badge-success";
58
+ export declare const badgeDanger = "badge font-family badge-danger";
59
+ export declare const badgeWarning = "badge font-family badge-warning";
60
+ export declare const badgeInfo = "badge font-family badge-info";
61
+ export declare const badgeLight = "badge font-family badge-light";
62
+ export declare const badgeDark = "badge font-family badge-dark";
55
63
  export declare const dropdownMenu = "dropdown-menu text color font-family";
56
64
  export declare const radioListItem = "radio-list-item text color font-family";
57
65
  export declare const skeleton = "skeleton";
58
66
  export declare const billingForm = "billing-form";
67
+ export declare const checkoutSummary = "checkout-summary";
@@ -0,0 +1,18 @@
1
+ import { FunctionalComponent } from '../../stencil-public-runtime';
2
+ export declare enum BadgeVariant {
3
+ PRIMARY = "primary",
4
+ SECONDARY = "secondary",
5
+ SUCCESS = "success",
6
+ DANGER = "danger",
7
+ WARNING = "warning",
8
+ INFO = "info",
9
+ LIGHT = "light",
10
+ DARK = "dark"
11
+ }
12
+ interface BadgeProps {
13
+ variant: BadgeVariant;
14
+ text: string;
15
+ title: string;
16
+ }
17
+ export declare const Badge: FunctionalComponent<BadgeProps>;
18
+ export {};
@@ -1,12 +1,12 @@
1
- export declare class Table {
1
+ export declare class Table<T> {
2
2
  columnKeys: string[];
3
3
  private collection;
4
4
  private tableColumns;
5
5
  private tableCells;
6
6
  get columnData(): any[];
7
7
  get rowData(): any[][];
8
- set collectionData(collection: any[]);
9
- constructor(collection: any[], columns: string, tableColumns: {
8
+ set collectionData(collection: T[]);
9
+ constructor(collection: T[], columns: string, tableColumns: {
10
10
  [key: string]: Function;
11
11
  }, tableCells: {
12
12
  [key: string]: Function;
@@ -1,5 +1,6 @@
1
1
  import { Address } from '../api/Business';
2
- export declare function formatCurrency(amount: number, withSymbol?: boolean, withCurrencyName?: boolean): string;
2
+ import { CurrencyTypes } from '../api/Payment';
3
+ export declare const formatCurrency: (amount: number, currency?: CurrencyTypes) => string;
3
4
  export declare function formatPercentage(amount: number): string;
4
5
  export declare function formatDate(dateString: string | Date): string;
5
6
  export declare function formatMediumDate(input: string | Date): string;
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-2783e363.js";import{f as r,g as a,j as n}from"./p-ba202e33.js";const t=(t,o)=>s("button",Object.assign({class:`btn btn-${t.variant}`,onClick:t.clickHandler,part:`${{primary:a,secondary:n}[t.variant]} ${t.isLoading?r:""}`},t),t.isLoading?s("div",{class:"spinner-border spinner-border-sm",role:"status",part:"button-spinner"},s("span",{class:"visually-hidden"},"Loading...")):o);export{t as B}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e}from"./p-2783e363.js";import"./p-5d0763a5.js";import{p as a}from"./p-56f6ce4c.js";import"./p-83aa33f0.js";import"./p-2ce40098.js";import{a as i,C as r}from"./p-14c91ffd.js";import{y as c,z as h}from"./p-ba202e33.js";import{T as o,a as d,b as p,c as n,d as b}from"./p-730e8425.js";import{p as f,a as m}from"./p-4c4f9e3b.js";import{o as u,q as l}from"./p-9f773228.js";import"./p-74736657.js";import"./p-abdbcd8e.js";import"./p-5d177a30.js";import"./p-f65abd18.js";import"./p-411382f3.js";import"./p-f20b6ce1.js";const y=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event",7),this.errorEvent=s(this,"error-event",7),this.downloadCSV=t=>{this.getPayoutCSV({payoutId:t,onError:()=>{this.errorEvent.emit({errorCode:i.FETCH_ERROR,message:"Failed to download CSV",severity:r.ERROR})}})},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:o.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:o.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const e=this.payouts.find((t=>t.id===s));this.clickEvent.emit({name:o.row,data:e})},this.getPayouts=void 0,this.getSubAccounts=void 0,this.getPayoutCSV=void 0,this.columns=void 0,this.payouts=[],this.payoutsTable=void 0,this.subAccounts=[],this.loading=!0,this.errorMessage=void 0,this.paging=a,this.pagingParams={}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.payoutsTable=new d(this.payouts,this.columns,f,m(this.downloadCSV)),this.getPayouts&&this.getSubAccounts&&this.fetchData(),u("set",(()=>{this.pagingParams={}})),u("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getPayouts({params:this.requestParams,onSuccess:({payouts:t,pagingInfo:s})=>{this.payouts=t,this.paging=s,this.payoutsTable.collectionData=this.payouts,this.payoutsTable.columnKeys.includes("sub_account_name")?this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.payouts=this.payouts.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get requestParams(){return Object.assign(Object.assign({},l),this.pagingParams)}get subAccountParams(){let t=this.payouts.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.payouts.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.payoutsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e("div",{key:"c546790efb9cc49a78063b3761a9c92038acedd5"},e("div",{key:"60cc337e0c1c4eb7eb59599cdd0520e4031d1ce9",class:"table-wrapper",part:"table-wrapper"},e("table",{key:"e7188291031c23dd5bb7f843b4adebb2c5f2675e",class:"table table-hover",part:c},e("thead",{key:"eb3a3b5af4016ae73da8af381e778fe433e683c6",class:"table-head sticky-top",part:"table-head"},e("tr",{key:"9352fcc352a8ea33aa1d49844e092f89a9863ce9",class:"table-light text-nowrap",part:"table-head-row"},this.payoutsTable.columnData.map((t=>t)))),e("tbody",{key:"c924a2a65215845c119f3339b7905a6d7c3cc1fa",class:"table-body"},e(p,{key:"1d811e44a1319a102a0c56a62c56dda13eb6463e",columnSpan:this.payoutsTable.columnKeys.length,isLoading:this.loading}),e(n,{key:"4dacb3d2cf264c1c367a465cb04221be6b2f1e21",isEmpty:this.showEmptyState,columnSpan:this.payoutsTable.columnKeys.length}),e(b,{key:"b294b854e12adcf39c32aaaa34b260775c5195b3",columnSpan:this.payoutsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.payoutsTable.rowData.map(((t,s)=>e("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e("tfoot",{key:"668400d517551fa89af74f655befc11a091a0de0",class:"sticky-bottom"},e("tr",{key:"b59f6342dccf4c34cbdbddcce7cb4e1c12116fe1",class:"table-light align-middle"},e("td",{key:"022afdd48ae81ec33f85c90e045d197f0e2f90ec",part:h,colSpan:this.payoutsTable.columnData.length},e("pagination-menu",{key:"a7e7a1ccdc238af532608626b25123fcd93a6206",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{queryParams:["updateOnPropChange"],pagingParams:["updateOnPropChange"],getPayouts:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"]}}};export{y as payouts_list_core}
@@ -0,0 +1 @@
1
+ import{h as o}from"./p-2783e363.js";import{F as r}from"./p-ba202e33.js";const s=s=>o("h3",{class:`header-3 ${null==s?void 0:s.class}`,part:r},s.text);export{s as H}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e}from"./p-2783e363.js";import"./p-5d0763a5.js";import{p as a}from"./p-56f6ce4c.js";import"./p-83aa33f0.js";import"./p-2ce40098.js";import{y as i,z as r}from"./p-ba202e33.js";import{T as h,a as c,b as o,c as d,d as n}from"./p-730e8425.js";import{c as b,a as p}from"./p-39177d5a.js";import{o as f,q as u}from"./p-16ba9bea.js";import"./p-74736657.js";import"./p-abdbcd8e.js";import"./p-5d177a30.js";import"./p-411382f3.js";import"./p-f20b6ce1.js";const m=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event",7),this.errorEvent=s(this,"error-event",7),this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:h.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:h.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const e=this.checkouts.find((t=>t.id===s));this.clickEvent.emit({name:h.row,data:e})},this.getCheckouts=void 0,this.getSubAccounts=void 0,this.columns=void 0,this.checkouts=[],this.checkoutsTable=void 0,this.subAccounts=[],this.loading=!0,this.errorMessage=void 0,this.paging=a,this.pagingParams={}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.checkoutsTable=new c(this.checkouts,this.columns,b,p),this.getCheckouts&&this.getSubAccounts&&this.fetchData(),f("set",(()=>{this.pagingParams={}})),f("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getCheckouts({params:this.requestParams,onSuccess:async({checkouts:t,pagingInfo:s})=>{this.checkouts=t,this.paging=s,this.checkoutsTable.collectionData=this.checkouts,this.checkoutsTable.columnKeys.includes("sub_account_name")?await this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.checkouts=this.checkouts.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get requestParams(){return Object.assign(Object.assign({},u),this.pagingParams)}get subAccountParams(){let t=this.checkouts.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.checkouts.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.checkoutsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e("div",{key:"910d95f94623ddd9e90a182a7a47e7dfdff1d9a6"},e("div",{key:"c296c31fe48bec06067215f6aa4cfb1a9d1b681a",class:"table-wrapper"},e("table",{key:"dddd43e74de4989261b8014d2c66cba7c26e9d98",class:"table table-hover",part:i},e("thead",{key:"4eabd9c8687fbf316420c9a838a95016b20f12dd",class:"table-head sticky-top"},e("tr",{key:"2cdd7f438099613e5a670343723b883470a65dbd",class:"table-light text-nowrap"},this.checkoutsTable.columnData.map((t=>t)))),e("tbody",{key:"e3fd8f783e0e405d18bc120bf8c2ca4e2ca25f15",class:"table-body"},e(o,{key:"ec8e73a90b9951b5fba78651fdd9a93b7531ba49",columnSpan:this.checkoutsTable.columnKeys.length,isLoading:this.loading}),e(d,{key:"6b1ebf8bbd62b0ba9c7032be47c87b929bc413db",isEmpty:this.showEmptyState,columnSpan:this.checkoutsTable.columnKeys.length}),e(n,{key:"a44e8985fb208b91635afe4910fdce5fb94d17e7",columnSpan:this.checkoutsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.checkoutsTable.rowData.map(((t,s)=>e("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e("tfoot",{key:"05ac7e9796a7b4e4450151e762a409c050fc037f",class:"sticky-bottom"},e("tr",{key:"d6135d93dafeee69c6d9a12b9bd35e8c77ec3c5a",class:"table-light align-middle"},e("td",{key:"ad7b4df45f54519b759797f665bcfa68a1cd512d",part:r,colSpan:this.checkoutsTable.columnData.length},e("pagination-menu",{key:"3c97cf5daeb90e9b9a881280f25e4307b7392bcf",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{queryParams:["updateOnPropChange"],pagingParams:["updateOnPropChange"],getCheckouts:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{m as checkouts_list_core}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e}from"./p-2783e363.js";import{I as a}from"./p-1ad5995e.js";import{C as h}from"./p-525db3e8.js";import{l as o,t as r,E as d,b as c,D as f,a as n}from"./p-ef4c49b9.js";import{F as l}from"./p-c092cbb2.js";import{F as m}from"./p-4d916b2d.js";const p=class{constructor(i){t(this,i),this.formControlInput=s(this,"formControlInput",7),this.formControlBlur=s(this,"formControlBlur",7),this.imask=null,this.initializeIMask=()=>{this.textInput&&(this.imask=a(this.textInput,this.maskOptions),this.imask.on("accept",(()=>{const t=this.imask.unmaskedValue;this.inputHandler(this.name,t),this.formControlInput.emit({name:this.name,value:t})})),this.textInput.addEventListener("blur",(()=>this.formControlBlur.emit())))},this.handleFormControlInput=t=>{const s=t.target.getAttribute("name");this.formControlInput.emit({name:s,value:this.imask.unmaskedValue})},this.updateInput=t=>{this.imask&&(this.imask.value=String(t))},this.isFocused=!1,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.inputHandler=void 0,this.maskOptions=h.DECIMAL,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.initializeIMask(),this.updateInput(this.defaultValue)}disconnectedCallback(){var t;null===(t=this.imask)||void 0===t||t.destroy()}get part(){let t=d;return this.errorText&&(t=c),this.disabled&&(t=f),this.isFocused&&(t=n),t}render(){return i(e,{key:"88ef65f78570c7351c159e89fab22c453bdaa1ec"},i("div",{key:"1e7cfe678ff76dcd4833626f6cdb8f278ff65236",class:"form-group d-flex flex-column"},i("label",{key:"d3ac3a07988ebd57dd5c58ad2ffdba7399daf3e5",part:o,class:"form-label",htmlFor:this.name},this.label),i("div",{key:"382697de0c28754de0355fb819365869007c8c20",class:"input-group"},i("span",{key:"cf6f813dfcf45dd2c4c1a9b08360a0a70908d52e",class:"input-group-text",part:r},"$"),i("input",{key:"47e21184a0b08b8e64ae9974610df777537b9789",ref:t=>this.textInput=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-control monetary is-invalid":"form-control monetary",type:"text",disabled:this.disabled})),i(l,{key:"5fc015ef8bc059be448a3d8667125e0502d1f519",helpText:this.helpText,name:this.name}),i(m,{key:"e79f133b65fc016c6d8d940a631f6dd6694038d4",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{p as form_control_monetary}
1
+ import{r as t,c as s,h as i,H as e}from"./p-2783e363.js";import{I as a}from"./p-1ad5995e.js";import{C as h}from"./p-525db3e8.js";import{l as o,t as r,N as d,b as f,M as n,a as c}from"./p-ba202e33.js";import{F as l}from"./p-6bc01617.js";import{F as m}from"./p-0d7e7957.js";const p=class{constructor(i){t(this,i),this.formControlInput=s(this,"formControlInput",7),this.formControlBlur=s(this,"formControlBlur",7),this.imask=null,this.initializeIMask=()=>{this.textInput&&(this.imask=a(this.textInput,this.maskOptions),this.imask.on("accept",(()=>{const t=this.imask.unmaskedValue;this.inputHandler(this.name,t),this.formControlInput.emit({name:this.name,value:t})})),this.textInput.addEventListener("blur",(()=>this.formControlBlur.emit())))},this.handleFormControlInput=t=>{const s=t.target.getAttribute("name");this.formControlInput.emit({name:s,value:this.imask.unmaskedValue})},this.updateInput=t=>{this.imask&&(this.imask.value=String(t))},this.isFocused=!1,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.inputHandler=void 0,this.maskOptions=h.DECIMAL,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.initializeIMask(),this.updateInput(this.defaultValue)}disconnectedCallback(){var t;null===(t=this.imask)||void 0===t||t.destroy()}get part(){let t=d;return this.errorText&&(t=f),this.disabled&&(t=n),this.isFocused&&(t=c),t}render(){return i(e,{key:"17e5fecec611300d6f55ceed3aa0dbaadc198af2"},i("div",{key:"a351e02c9b118dd52c2f16f7fc12328194905923",class:"form-group d-flex flex-column"},i("label",{key:"94f503e4e1bb020ab2b7822229d45fefef5dd7e1",part:o,class:"form-label",htmlFor:this.name},this.label),i("div",{key:"2a3c6de082a5b91500061dd9af6f3e941445ad92",class:"input-group"},i("span",{key:"88b07cbae192b290ffdfdef2f4c4c07bdfac1f8b",class:"input-group-text",part:r},"$"),i("input",{key:"7de1c2fcf4ad3ab3b42a370d871d62242f262f7b",ref:t=>this.textInput=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-control monetary is-invalid":"form-control monetary",type:"text",disabled:this.disabled})),i(l,{key:"fb35421f1d48819e88130a0f78e22d12d2d34642",helpText:this.helpText,name:this.name}),i(m,{key:"c5fbe9b975039e658031bc56db89ae6f6ce34006",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{p as form_control_monetary}
@@ -0,0 +1 @@
1
+ import{h as r}from"./p-2783e363.js";import{d as t}from"./p-ba202e33.js";const e=e=>{const{errorText:o,name:s}=e;return o?r("small",{class:"form-text text-danger",id:`form-error-text-${s}`,part:t},o):null};export{e as F}