@justifi/webcomponents 4.21.0 → 4.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (596) hide show
  1. package/dist/cjs/{Analytics-880f5152.js → Analytics-0d90fa0d.js} +2 -2
  2. package/dist/cjs/{Api-b98b256f.js → Api-f5280a80.js} +6 -4
  3. package/dist/cjs/Checkout-a528241d.js +85 -0
  4. package/dist/cjs/SubAccount-cc95a4a0.js +106 -0
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  6. package/dist/cjs/{business-additional-questions-schema-26b0eecb.js → business-additional-questions-schema-19f08938.js} +2 -2
  7. package/dist/cjs/business-details-core.cjs.entry.js +1 -1
  8. package/dist/cjs/{business-identity-schema-503ecb77.js → business-identity-schema-a8bb2276.js} +2 -2
  9. package/dist/cjs/{business.service-031c0084.js → business.service-7faffa0b.js} +1 -1
  10. package/dist/cjs/{check-pkg-version-54f7dfda.js → check-pkg-version-fafb21ae.js} +1 -1
  11. package/dist/cjs/checkout.service-160f3a9c.js +36 -0
  12. package/dist/cjs/checkouts-list-core.cjs.entry.js +144 -0
  13. package/dist/cjs/checkouts-list-filters.cjs.entry.js +35 -0
  14. package/dist/cjs/checkouts-table-24c065ff.js +47 -0
  15. package/dist/cjs/{custom-popper_5.cjs.entry.js → custom-popper_4.cjs.entry.js} +4 -19
  16. package/dist/cjs/dispute-30c806f6.js +10 -0
  17. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  18. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +11 -11
  19. package/dist/cjs/form-control-date.cjs.entry.js +83 -0
  20. package/dist/cjs/form-control-error-text.cjs.entry.js +21 -0
  21. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  22. package/dist/cjs/form-control-help-text.cjs.entry.js +21 -0
  23. package/dist/cjs/{form-control-help-text_2.cjs.entry.js → form-control-monetary.cjs.entry.js} +1 -16
  24. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +99 -0
  25. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  26. package/dist/cjs/form-control-radio.cjs.entry.js +44 -0
  27. package/dist/cjs/form-control-textarea.cjs.entry.js +49 -0
  28. package/dist/cjs/{get-payout-csv-a82b2c1c.js → get-payout-csv-12dc9540.js} +3 -2
  29. package/dist/cjs/get-subaccounts-8f7a930f.js +54 -0
  30. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  31. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +10 -9
  32. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +173 -0
  33. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  34. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1678 -13
  35. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  36. package/dist/cjs/justifi-business-form.cjs.entry.js +11 -10
  37. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
  39. package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -8
  40. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -25
  41. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +121 -0
  42. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  43. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +28 -0
  44. package/dist/cjs/justifi-dispute-management.cjs.entry.js +16 -0
  45. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  46. package/dist/cjs/{justifi-new-payment-method_4.cjs.entry.js → justifi-new-payment-method_5.cjs.entry.js} +18 -1
  47. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -7
  48. package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -7
  49. package/dist/cjs/justifi-payment-form.cjs.entry.js +10 -9
  50. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +3 -2
  51. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  52. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -11
  53. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -8
  54. package/dist/cjs/justifi-payouts-list.cjs.entry.js +11 -13
  55. package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -4
  56. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
  57. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -6
  58. package/dist/cjs/justifi-terminals-list.cjs.entry.js +138 -0
  59. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +59 -0
  60. package/dist/cjs/loader.cjs.js +1 -1
  61. package/dist/{esm/payments-list-filters_2.entry.js → cjs/lodash-dbf6a6a4.js} +2 -57
  62. package/dist/cjs/{package-cb1b1015.js → package-596f102c.js} +1 -1
  63. package/dist/cjs/payment-details-core.cjs.entry.js +10 -9
  64. package/dist/cjs/{payment.service-6f79aad2.js → payment.service-83da752a.js} +3 -2
  65. package/dist/cjs/payments-list-core.cjs.entry.js +7 -7
  66. package/dist/cjs/payments-list-filters.cjs.entry.js +35 -0
  67. package/dist/cjs/payments-status-58e45b2e.js +26 -0
  68. package/dist/cjs/payout-details-core.cjs.entry.js +4 -3
  69. package/dist/cjs/payouts-list-core.cjs.entry.js +7 -23
  70. package/dist/cjs/payouts-status-2f7be07d.js +24 -0
  71. package/dist/cjs/{schema-validations-0a7e46a3.js → schema-validations-184a4356.js} +1 -1
  72. package/dist/cjs/table-20e9a053.js +23 -0
  73. package/dist/cjs/table-filters-menu.cjs.entry.js +35 -0
  74. package/dist/cjs/terminals-list-core.cjs.entry.js +143 -0
  75. package/dist/cjs/terminals-list-filters.cjs.entry.js +32 -0
  76. package/dist/cjs/terminals-table-99a7b87b.js +32 -0
  77. package/dist/cjs/{utils-52fb7fa1.js → utils-3d84442d.js} +0 -44
  78. package/dist/cjs/webcomponents.cjs.js +1 -1
  79. package/dist/collection/api/Api.js +6 -4
  80. package/dist/collection/api/Checkout.js +77 -1
  81. package/dist/collection/api/SubAccount.js +33 -0
  82. package/dist/collection/api/Terminal.js +25 -0
  83. package/dist/collection/api/get-subaccounts.js +31 -0
  84. package/dist/collection/api/index.js +2 -0
  85. package/dist/collection/api/services/checkout.service.js +10 -1
  86. package/dist/collection/api/services/subaccounts.service.js +13 -0
  87. package/dist/collection/api/services/terminal.service.js +20 -0
  88. package/dist/collection/collection-manifest.json +37 -15
  89. package/dist/collection/components/billing-form/billing-form.js +3 -3
  90. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  91. package/dist/collection/components/business-details/business-details-core.js +1 -1
  92. package/dist/collection/components/business-details/business-details.js +1 -1
  93. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -1
  94. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
  95. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  96. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  97. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  98. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
  99. package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
  100. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
  101. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -4
  102. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
  103. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
  104. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
  105. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +2 -2
  106. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +3 -3
  107. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +3 -3
  108. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +3 -3
  109. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +2 -2
  110. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +2 -2
  111. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +3 -3
  112. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
  113. package/dist/collection/components/checkout/checkout-core.js +1 -1
  114. package/dist/collection/components/checkouts-list/checkouts-list-core.js +257 -0
  115. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +84 -0
  116. package/dist/collection/components/checkouts-list/checkouts-list.js +210 -0
  117. package/dist/collection/components/checkouts-list/checkouts-status.js +13 -0
  118. package/dist/collection/components/checkouts-list/checkouts-table.js +20 -0
  119. package/dist/collection/components/checkouts-list/get-checkouts.js +31 -0
  120. package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +8 -0
  121. package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +8 -0
  122. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +90 -0
  123. package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +8 -0
  124. package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +8 -0
  125. package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +8 -0
  126. package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +8 -0
  127. package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +16 -0
  128. package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +8 -0
  129. package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +12 -0
  130. package/dist/collection/components/dispute-management/dispute-management-core.js +53 -0
  131. package/dist/collection/components/dispute-management/dispute-management.js +8 -0
  132. package/dist/collection/components/dispute-management/dispute-notification.js +48 -0
  133. package/dist/collection/components/dispute-management/dispute.js +8 -0
  134. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  135. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
  136. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  137. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  138. package/dist/collection/components/payment-details/payment-details-core.js +10 -9
  139. package/dist/collection/components/payment-details/payment-details.js +1 -1
  140. package/dist/collection/components/payment-form/payment-form.js +3 -3
  141. package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
  142. package/dist/collection/components/payments-list/payments-list-core.js +5 -5
  143. package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
  144. package/dist/collection/components/payments-list/payments-list.js +3 -5
  145. package/dist/collection/components/payments-list/payments-status.js +23 -0
  146. package/dist/collection/components/payout-details/payout-details-core.js +4 -3
  147. package/dist/collection/components/payout-details/payout-details.js +1 -1
  148. package/dist/collection/components/payouts-list/payouts-list-core.js +6 -22
  149. package/dist/collection/components/payouts-list/payouts-list.js +4 -7
  150. package/dist/collection/components/payouts-list/payouts-status.js +21 -0
  151. package/dist/collection/components/refund-form/refund-form.js +2 -2
  152. package/dist/collection/components/terminals-list/get-terminal-detail.js +29 -0
  153. package/dist/collection/components/terminals-list/get-terminals.js +31 -0
  154. package/dist/collection/components/terminals-list/terminals-list-core.js +257 -0
  155. package/dist/collection/components/terminals-list/terminals-list-filters.js +81 -0
  156. package/dist/collection/components/terminals-list/terminals-list.js +211 -0
  157. package/dist/collection/components/terminals-list/terminals-status.js +11 -0
  158. package/dist/collection/components/terminals-list/terminals-table.js +15 -0
  159. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +9 -0
  160. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +276 -0
  161. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  162. package/dist/collection/{components → ui-components}/details/details.js +1 -1
  163. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  164. package/dist/collection/{components → ui-components}/form/form-control-checkbox.js +1 -1
  165. package/dist/collection/{components → ui-components}/form/form-control-date.js +21 -2
  166. package/dist/collection/{components → ui-components}/form/form-control-file.js +1 -1
  167. package/dist/collection/{components → ui-components}/form/form-control-monetary.js +1 -1
  168. package/dist/collection/{components → ui-components}/form/form-control-number-masked.js +1 -1
  169. package/dist/collection/{components → ui-components}/form/form-control-number.js +1 -1
  170. package/dist/collection/ui-components/form/form-control-radio.js +209 -0
  171. package/dist/collection/{components → ui-components}/form/form-control-select.js +1 -1
  172. package/dist/collection/{components → ui-components}/form/form-control-text.js +1 -1
  173. package/dist/collection/ui-components/form/form-control-textarea.js +229 -0
  174. package/dist/collection/ui-components/index.js +1 -0
  175. package/dist/collection/utils/table.js +19 -0
  176. package/dist/collection/utils/utils.js +0 -42
  177. package/dist/docs.json +9587 -6724
  178. package/dist/esm/{Analytics-3dde5a98.js → Analytics-a46c0c00.js} +2 -2
  179. package/dist/esm/{Api-c8abc2e0.js → Api-391d00e2.js} +6 -4
  180. package/dist/esm/Checkout-0b4086f8.js +83 -0
  181. package/dist/esm/SubAccount-7f7e4c56.js +102 -0
  182. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  183. package/dist/esm/{business-additional-questions-schema-a5583cf8.js → business-additional-questions-schema-97f52255.js} +2 -2
  184. package/dist/esm/business-details-core.entry.js +1 -1
  185. package/dist/esm/{business-identity-schema-9e3269fb.js → business-identity-schema-434e16bc.js} +2 -2
  186. package/dist/esm/{business.service-1f589b6e.js → business.service-97a3da69.js} +1 -1
  187. package/dist/esm/{check-pkg-version-4d144b72.js → check-pkg-version-ed46fa3b.js} +1 -1
  188. package/dist/esm/checkout.service-ef1549c6.js +34 -0
  189. package/dist/esm/checkouts-list-core.entry.js +140 -0
  190. package/dist/esm/checkouts-list-filters.entry.js +31 -0
  191. package/dist/esm/checkouts-table-62c44909.js +43 -0
  192. package/dist/esm/{custom-popper_5.entry.js → custom-popper_4.entry.js} +5 -19
  193. package/dist/esm/dispute-4d2e0a04.js +10 -0
  194. package/dist/esm/form-alert_5.entry.js +3 -3
  195. package/dist/esm/form-control-checkbox_9.entry.js +11 -11
  196. package/dist/esm/form-control-date.entry.js +79 -0
  197. package/dist/esm/form-control-error-text.entry.js +17 -0
  198. package/dist/esm/form-control-file.entry.js +1 -1
  199. package/dist/esm/form-control-help-text.entry.js +17 -0
  200. package/dist/esm/{form-control-help-text_2.entry.js → form-control-monetary.entry.js} +3 -17
  201. package/dist/esm/form-control-number-masked_2.entry.js +94 -0
  202. package/dist/esm/form-control-number.entry.js +1 -1
  203. package/dist/esm/form-control-radio.entry.js +40 -0
  204. package/dist/esm/form-control-textarea.entry.js +45 -0
  205. package/dist/esm/{get-payout-csv-d29146ee.js → get-payout-csv-70974763.js} +3 -2
  206. package/dist/esm/get-subaccounts-16c8ce40.js +51 -0
  207. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  208. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +10 -9
  209. package/dist/esm/justifi-additional-statement_11.entry.js +159 -0
  210. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  211. package/dist/esm/justifi-billing-form_2.entry.js +1679 -14
  212. package/dist/esm/justifi-business-details.entry.js +6 -6
  213. package/dist/esm/justifi-business-form.entry.js +11 -10
  214. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  215. package/dist/esm/justifi-card-form.entry.js +3 -3
  216. package/dist/esm/justifi-checkout-core.entry.js +2 -7
  217. package/dist/esm/justifi-checkout.entry.js +8 -23
  218. package/dist/esm/justifi-checkouts-list.entry.js +117 -0
  219. package/dist/esm/justifi-details.entry.js +2 -2
  220. package/dist/esm/justifi-dispute-management-core.entry.js +24 -0
  221. package/dist/esm/justifi-dispute-management.entry.js +12 -0
  222. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  223. package/dist/esm/{justifi-new-payment-method_4.entry.js → justifi-new-payment-method_5.entry.js} +18 -2
  224. package/dist/esm/justifi-owner-form_3.entry.js +7 -7
  225. package/dist/esm/justifi-payment-details.entry.js +8 -7
  226. package/dist/esm/justifi-payment-form.entry.js +10 -9
  227. package/dist/esm/justifi-payment-method-selector.entry.js +3 -2
  228. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  229. package/dist/esm/justifi-payments-list.entry.js +10 -11
  230. package/dist/esm/justifi-payout-details.entry.js +8 -7
  231. package/dist/esm/justifi-payouts-list.entry.js +11 -13
  232. package/dist/esm/justifi-refund-form.entry.js +5 -4
  233. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
  234. package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -6
  235. package/dist/esm/justifi-terminals-list.entry.js +134 -0
  236. package/dist/esm/justifi-tokenize-payment-method.entry.js +55 -0
  237. package/dist/esm/loader.js +1 -1
  238. package/dist/{cjs/payments-list-filters_2.cjs.entry.js → esm/lodash-faeb5a52.js} +1 -63
  239. package/dist/esm/{package-4ab64620.js → package-6c5cc174.js} +1 -1
  240. package/dist/esm/payment-details-core.entry.js +10 -9
  241. package/dist/esm/{payment.service-f9c3e9d7.js → payment.service-2f67410b.js} +3 -2
  242. package/dist/esm/payments-list-core.entry.js +6 -6
  243. package/dist/esm/payments-list-filters.entry.js +31 -0
  244. package/dist/esm/payments-status-4937a170.js +24 -0
  245. package/dist/esm/payout-details-core.entry.js +4 -3
  246. package/dist/esm/payouts-list-core.entry.js +7 -23
  247. package/dist/esm/payouts-status-cd58e525.js +22 -0
  248. package/dist/esm/{schema-validations-e725d701.js → schema-validations-c1728516.js} +1 -1
  249. package/dist/esm/table-5da154e7.js +21 -0
  250. package/dist/esm/table-filters-menu.entry.js +31 -0
  251. package/dist/esm/terminals-list-core.entry.js +139 -0
  252. package/dist/esm/terminals-list-filters.entry.js +28 -0
  253. package/dist/esm/terminals-table-059c473e.js +28 -0
  254. package/dist/esm/{utils-620f2d78.js → utils-3daada24.js} +1 -43
  255. package/dist/esm/webcomponents.js +1 -1
  256. package/dist/module/Api.js +6 -4
  257. package/dist/module/Checkout.js +83 -0
  258. package/dist/module/SubAccount.js +102 -0
  259. package/dist/module/additional-statement.js +63 -0
  260. package/dist/module/billing-form.js +1 -1
  261. package/dist/module/business-additional-questions-form-step-core.js +1 -1
  262. package/dist/module/business-bank-account-form-step.js +3 -2
  263. package/dist/module/business-core-info-form-step-core.js +1 -1
  264. package/dist/module/business-core-info.js +1 -1
  265. package/dist/module/business-document-upload-form-step.js +1 -1
  266. package/dist/module/business-document-upload-input-group.js +1 -1
  267. package/dist/module/business-documents-on-file.js +1 -1
  268. package/dist/module/business-representative-form-inputs.js +1 -1
  269. package/dist/module/business-representative-form-step-core.js +1 -1
  270. package/dist/module/business-terms-conditions-form-step.js +3 -2
  271. package/dist/module/cancellation-policy.js +63 -0
  272. package/dist/module/checkout-core.js +2 -7
  273. package/dist/module/checkout.service.js +34 -0
  274. package/dist/module/checkouts-list-core.d.ts +11 -0
  275. package/dist/module/checkouts-list-core.js +6 -0
  276. package/dist/module/checkouts-list-core2.js +250 -0
  277. package/dist/module/checkouts-list-filters.d.ts +11 -0
  278. package/dist/module/checkouts-list-filters.js +6 -0
  279. package/dist/module/checkouts-list-filters2.js +80 -0
  280. package/dist/module/counter-dispute.js +189 -0
  281. package/dist/module/custom-popper2.js +2 -2
  282. package/dist/module/customer-details.js +69 -0
  283. package/dist/module/details.js +1 -1
  284. package/dist/module/dispute-management-core.js +160 -0
  285. package/dist/module/dispute-notification.js +36 -0
  286. package/dist/module/dispute-reason.js +45 -0
  287. package/dist/module/duplicate-charge.js +69 -0
  288. package/dist/module/electronic-evidence.js +63 -0
  289. package/dist/module/exported-parts.js +1 -34
  290. package/dist/module/form-control-checkbox2.js +1 -1
  291. package/dist/module/form-control-date2.js +5 -3
  292. package/dist/module/form-control-file2.js +1 -1
  293. package/dist/module/form-control-monetary2.js +1 -1
  294. package/dist/module/form-control-number-masked2.js +1 -1
  295. package/dist/module/form-control-number.js +1 -1
  296. package/dist/module/form-control-radio.d.ts +11 -0
  297. package/dist/module/form-control-radio.js +6 -0
  298. package/dist/module/form-control-radio2.js +78 -0
  299. package/dist/module/form-control-select2.js +1 -1
  300. package/dist/module/form-control-text2.js +1 -1
  301. package/dist/module/form-control-textarea.d.ts +11 -0
  302. package/dist/module/form-control-textarea.js +6 -0
  303. package/dist/module/form-control-textarea2.js +84 -0
  304. package/dist/module/get-payout-csv.js +2 -1
  305. package/dist/module/get-subaccounts.js +51 -0
  306. package/dist/module/gross-payment-chart-core2.js +2 -2
  307. package/dist/module/identity-address-form.js +1 -1
  308. package/dist/module/justifi-additional-statement.d.ts +11 -0
  309. package/dist/module/justifi-additional-statement.js +6 -0
  310. package/dist/module/justifi-business-form.js +3 -2
  311. package/dist/module/justifi-cancellation-policy.d.ts +11 -0
  312. package/dist/module/justifi-cancellation-policy.js +6 -0
  313. package/dist/module/justifi-checkout.js +1 -22
  314. package/dist/module/justifi-checkouts-list.d.ts +11 -0
  315. package/dist/module/justifi-checkouts-list.js +191 -0
  316. package/dist/module/justifi-counter-dispute.d.ts +11 -0
  317. package/dist/module/justifi-counter-dispute.js +6 -0
  318. package/dist/module/justifi-customer-details.d.ts +11 -0
  319. package/dist/module/justifi-customer-details.js +6 -0
  320. package/dist/module/justifi-dispute-management-core.d.ts +11 -0
  321. package/dist/module/justifi-dispute-management-core.js +6 -0
  322. package/dist/module/justifi-dispute-management.d.ts +11 -0
  323. package/dist/module/justifi-dispute-management.js +157 -0
  324. package/dist/module/justifi-dispute-notification.d.ts +11 -0
  325. package/dist/module/justifi-dispute-notification.js +6 -0
  326. package/dist/module/justifi-dispute-reason.d.ts +11 -0
  327. package/dist/module/justifi-dispute-reason.js +6 -0
  328. package/dist/module/justifi-duplicate-charge.d.ts +11 -0
  329. package/dist/module/justifi-duplicate-charge.js +6 -0
  330. package/dist/module/justifi-electronic-evidence.d.ts +11 -0
  331. package/dist/module/justifi-electronic-evidence.js +6 -0
  332. package/dist/module/justifi-payment-details.js +2 -1
  333. package/dist/module/justifi-payment-form.js +5 -4
  334. package/dist/module/justifi-payments-list.js +5 -6
  335. package/dist/module/justifi-payout-details.js +2 -1
  336. package/dist/module/justifi-payouts-list.js +5 -7
  337. package/dist/module/justifi-product-or-service.d.ts +11 -0
  338. package/dist/module/justifi-product-or-service.js +6 -0
  339. package/dist/module/justifi-refund-form.js +3 -2
  340. package/dist/module/justifi-refund-policy.d.ts +11 -0
  341. package/dist/module/justifi-refund-policy.js +6 -0
  342. package/dist/module/justifi-season-interruption-insurance.js +3 -2
  343. package/dist/module/justifi-shipping-details.d.ts +11 -0
  344. package/dist/module/justifi-shipping-details.js +6 -0
  345. package/dist/module/justifi-terminals-list.d.ts +11 -0
  346. package/dist/module/justifi-terminals-list.js +216 -0
  347. package/dist/module/justifi-tokenize-payment-method.d.ts +11 -0
  348. package/dist/module/justifi-tokenize-payment-method.js +153 -0
  349. package/dist/module/legal-address-form-step-core.js +1 -1
  350. package/dist/module/legal-address-form.js +1 -1
  351. package/dist/module/lodash.js +17204 -0
  352. package/dist/module/owner-form-core2.js +1 -1
  353. package/dist/module/owner-form-inputs2.js +1 -1
  354. package/dist/module/package.js +1 -1
  355. package/dist/module/payment-details-core2.js +9 -8
  356. package/dist/module/payment-method-form.js +1 -1
  357. package/dist/module/payment-method-selector.js +3 -2
  358. package/dist/module/payment.service.js +2 -1
  359. package/dist/module/payments-list-core2.js +7 -6
  360. package/dist/module/payments-list-filters2.js +2 -17204
  361. package/dist/module/payments-status.js +24 -0
  362. package/dist/module/payout-details-core2.js +3 -2
  363. package/dist/module/payouts-list-core2.js +8 -23
  364. package/dist/module/payouts-status.js +22 -0
  365. package/dist/module/product-or-service.js +60 -0
  366. package/dist/module/refund-policy.js +63 -0
  367. package/dist/module/saved-payment-method.js +1 -1
  368. package/dist/module/season-interruption-insurance-core.js +3 -3
  369. package/dist/module/sezzle-payment-method.js +1 -1
  370. package/dist/module/shipping-details.js +79 -0
  371. package/dist/module/table-filters-menu2.js +1 -1
  372. package/dist/module/table-loading-state.js +34 -0
  373. package/dist/module/table.js +21 -0
  374. package/dist/module/terminals-list-core.d.ts +11 -0
  375. package/dist/module/terminals-list-core.js +6 -0
  376. package/dist/module/terminals-list-core2.js +241 -0
  377. package/dist/module/terminals-list-filters.d.ts +11 -0
  378. package/dist/module/terminals-list-filters.js +6 -0
  379. package/dist/module/terminals-list-filters2.js +83 -0
  380. package/dist/module/utils2.js +1 -43
  381. package/dist/types/api/Api.d.ts +1 -1
  382. package/dist/types/api/Checkout.d.ts +74 -2
  383. package/dist/types/api/SubAccount.d.ts +51 -0
  384. package/dist/types/api/Terminal.d.ts +48 -0
  385. package/dist/types/api/get-subaccounts.d.ts +10 -0
  386. package/dist/types/api/index.d.ts +2 -0
  387. package/dist/types/api/services/checkout.service.d.ts +3 -1
  388. package/dist/types/api/services/subaccounts.service.d.ts +7 -0
  389. package/dist/types/api/services/terminal.service.d.ts +9 -0
  390. package/dist/types/components/billing-form/billing-form.d.ts +1 -1
  391. package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +1 -1
  392. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +1 -1
  393. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -1
  394. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +1 -1
  395. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
  396. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
  397. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +1 -1
  398. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +1 -1
  399. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +1 -1
  400. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
  401. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +1 -1
  402. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +1 -1
  403. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +1 -1
  404. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +1 -1
  405. package/dist/types/components/business-forms/utils/input-handlers.d.ts +1 -1
  406. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +35 -0
  407. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +15 -0
  408. package/dist/types/components/checkouts-list/checkouts-list.d.ts +44 -0
  409. package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -0
  410. package/dist/types/components/checkouts-list/checkouts-table.d.ts +17 -0
  411. package/dist/types/components/checkouts-list/get-checkouts.d.ts +10 -0
  412. package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +3 -0
  413. package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +3 -0
  414. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +14 -0
  415. package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +3 -0
  416. package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +3 -0
  417. package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +3 -0
  418. package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +3 -0
  419. package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +4 -0
  420. package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +3 -0
  421. package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +3 -0
  422. package/dist/types/components/dispute-management/dispute-management-core.d.ts +7 -0
  423. package/dist/types/components/dispute-management/dispute-management.d.ts +3 -0
  424. package/dist/types/components/dispute-management/dispute-notification.d.ts +8 -0
  425. package/dist/types/components/dispute-management/dispute.d.ts +7 -0
  426. package/dist/types/components/payments-list/payments-status.d.ts +1 -0
  427. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -2
  428. package/dist/types/components/payouts-list/payouts-status.d.ts +1 -0
  429. package/dist/types/components/terminals-list/get-terminal-detail.d.ts +8 -0
  430. package/dist/types/components/terminals-list/get-terminals.d.ts +10 -0
  431. package/dist/types/components/terminals-list/terminals-list-core.d.ts +35 -0
  432. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +13 -0
  433. package/dist/types/components/terminals-list/terminals-list.d.ts +44 -0
  434. package/dist/types/components/terminals-list/terminals-status.d.ts +1 -0
  435. package/dist/types/components/terminals-list/terminals-table.d.ts +13 -0
  436. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +22 -0
  437. package/dist/types/components.d.ts +740 -12
  438. package/dist/types/{components → ui-components}/form/form-control-date.d.ts +2 -1
  439. package/dist/types/ui-components/form/form-control-radio.d.ts +19 -0
  440. package/dist/types/ui-components/form/form-control-textarea.d.ts +20 -0
  441. package/dist/types/ui-components/index.d.ts +1 -0
  442. package/dist/types/utils/table.d.ts +14 -0
  443. package/dist/types/utils/utils.d.ts +0 -2
  444. package/dist/webcomponents/p-02cf5e6f.js +1 -0
  445. package/dist/webcomponents/p-088826fe.entry.js +1 -0
  446. package/dist/webcomponents/p-0de9e97b.entry.js +1 -0
  447. package/dist/webcomponents/{p-7d3be485.js → p-0e180654.js} +1 -1
  448. package/dist/webcomponents/{p-1d29488a.entry.js → p-0eb0d813.entry.js} +1 -1
  449. package/dist/webcomponents/{p-a3265844.entry.js → p-11ff46df.entry.js} +1 -1
  450. package/dist/webcomponents/p-16d2932d.js +1 -0
  451. package/dist/webcomponents/p-16fc16aa.entry.js +1 -0
  452. package/dist/webcomponents/p-18afa159.entry.js +1 -0
  453. package/dist/webcomponents/p-1ab798f4.entry.js +1 -0
  454. package/dist/webcomponents/p-1c44712a.entry.js +1 -0
  455. package/dist/webcomponents/p-206fde40.js +1 -0
  456. package/dist/webcomponents/p-269ba6fe.entry.js +1 -0
  457. package/dist/webcomponents/{p-1e178dd1.entry.js → p-286a4e72.entry.js} +2 -2
  458. package/dist/webcomponents/p-2c2b57b3.js +1 -0
  459. package/dist/webcomponents/{p-61514f78.entry.js → p-2c8c214f.entry.js} +1 -1
  460. package/dist/webcomponents/p-32a782c8.entry.js +1 -0
  461. package/dist/webcomponents/p-366c49b6.entry.js +1 -0
  462. package/dist/webcomponents/{p-277aee05.js → p-3d3468a8.js} +1 -1
  463. package/dist/webcomponents/{p-5df26e65.entry.js → p-3fbbdbba.entry.js} +1 -1
  464. package/dist/webcomponents/p-4422ca71.entry.js +1 -0
  465. package/dist/webcomponents/p-47dbe17d.js +1 -0
  466. package/dist/webcomponents/p-4b14abbf.entry.js +1 -0
  467. package/dist/webcomponents/p-4c0c88e4.entry.js +1 -0
  468. package/dist/webcomponents/p-56d84fb3.entry.js +1 -0
  469. package/dist/webcomponents/p-5f10b3e9.entry.js +1 -0
  470. package/dist/webcomponents/p-638c6285.entry.js +1 -0
  471. package/dist/webcomponents/{p-122c2a11.entry.js → p-69ea7334.entry.js} +1 -1
  472. package/dist/webcomponents/p-6caf6f09.entry.js +1 -0
  473. package/dist/webcomponents/{p-da1d174d.entry.js → p-72819173.entry.js} +1 -1
  474. package/dist/webcomponents/{p-799ee8c3.js → p-74822344.js} +1 -1
  475. package/dist/webcomponents/{p-bc9ae56f.js → p-7fea661a.js} +1 -1
  476. package/dist/webcomponents/p-8480e3ab.entry.js +1 -0
  477. package/dist/webcomponents/p-84987cd4.entry.js +1 -0
  478. package/dist/webcomponents/p-869ae0c7.entry.js +1 -0
  479. package/dist/webcomponents/p-8e228e5a.js +1 -0
  480. package/dist/webcomponents/p-8ec550d7.entry.js +1 -0
  481. package/dist/webcomponents/p-8f212554.entry.js +1 -0
  482. package/dist/webcomponents/p-8f26db63.entry.js +1 -0
  483. package/dist/webcomponents/p-907ba963.js +1 -0
  484. package/dist/webcomponents/p-919e6e67.entry.js +1 -0
  485. package/dist/webcomponents/p-927a147c.entry.js +1 -0
  486. package/dist/webcomponents/p-935188c8.entry.js +1 -0
  487. package/dist/webcomponents/p-9f56ad71.js +1 -0
  488. package/dist/webcomponents/p-a3143d62.entry.js +1 -0
  489. package/dist/webcomponents/{p-ca8e126f.js → p-a8f22d4d.js} +1 -1
  490. package/dist/webcomponents/p-ad443df5.entry.js +1 -0
  491. package/dist/webcomponents/p-b16269d7.js +1 -0
  492. package/dist/webcomponents/p-bba131f9.entry.js +1 -0
  493. package/dist/webcomponents/p-bfb990fc.entry.js +1 -0
  494. package/dist/webcomponents/p-c1bf9285.entry.js +1 -0
  495. package/dist/webcomponents/p-c30c8f39.entry.js +1 -0
  496. package/dist/webcomponents/p-c4df0098.entry.js +1 -0
  497. package/dist/webcomponents/p-c5c6e61d.js +1 -0
  498. package/dist/webcomponents/{p-5022f21c.js → p-c65b78cf.js} +1 -1
  499. package/dist/webcomponents/p-c6be72b0.js +10 -0
  500. package/dist/webcomponents/p-c717646f.entry.js +1 -0
  501. package/dist/webcomponents/{p-08d88fd2.entry.js → p-c8b2f11d.entry.js} +1 -1
  502. package/dist/webcomponents/p-ccbff4fa.entry.js +1 -0
  503. package/dist/webcomponents/p-cd4eaeb7.js +1 -0
  504. package/dist/webcomponents/p-cd7e866c.entry.js +1 -0
  505. package/dist/webcomponents/{p-8f447993.entry.js → p-d2eb61e6.entry.js} +1 -1
  506. package/dist/webcomponents/p-d516e700.js +1 -0
  507. package/dist/webcomponents/p-d5cd727b.entry.js +1 -0
  508. package/dist/webcomponents/p-e07d5e0f.entry.js +1 -0
  509. package/dist/webcomponents/p-e412a713.entry.js +1 -0
  510. package/dist/webcomponents/p-e69b2ff8.entry.js +1 -0
  511. package/dist/webcomponents/p-e6be8845.entry.js +1 -0
  512. package/dist/webcomponents/p-e8797be0.entry.js +1 -0
  513. package/dist/webcomponents/p-eb9ba917.entry.js +1 -0
  514. package/dist/webcomponents/{p-1eb60948.entry.js → p-eeb70281.entry.js} +1 -1
  515. package/dist/webcomponents/p-eee24bb2.entry.js +1 -0
  516. package/dist/webcomponents/{p-cd74be05.entry.js → p-efb56234.entry.js} +1 -1
  517. package/dist/webcomponents/{p-401d6607.js → p-f6f8dabc.js} +1 -1
  518. package/dist/webcomponents/{p-6d4b585d.js → p-fb2005de.js} +1 -1
  519. package/dist/webcomponents/p-fc4de0d2.js +1 -0
  520. package/dist/webcomponents/webcomponents.esm.js +1 -1
  521. package/package.json +1 -1
  522. package/dist/cjs/Payout-a2dd7b01.js +0 -45
  523. package/dist/cjs/form-control-date_3.cjs.entry.js +0 -175
  524. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1688
  525. package/dist/esm/Payout-dfe15b00.js +0 -43
  526. package/dist/esm/form-control-date_3.entry.js +0 -169
  527. package/dist/esm/justifi-payment-method-form.entry.js +0 -1684
  528. package/dist/module/Payout.js +0 -43
  529. package/dist/webcomponents/p-0c2d91a2.entry.js +0 -1
  530. package/dist/webcomponents/p-11f01df5.entry.js +0 -1
  531. package/dist/webcomponents/p-23f95a19.entry.js +0 -1
  532. package/dist/webcomponents/p-2874d4b2.entry.js +0 -10
  533. package/dist/webcomponents/p-43dfda70.entry.js +0 -1
  534. package/dist/webcomponents/p-55182a59.js +0 -1
  535. package/dist/webcomponents/p-55fe2cf2.entry.js +0 -1
  536. package/dist/webcomponents/p-5e5e8a85.js +0 -1
  537. package/dist/webcomponents/p-605614f2.entry.js +0 -1
  538. package/dist/webcomponents/p-6962044f.entry.js +0 -1
  539. package/dist/webcomponents/p-6a9e908b.entry.js +0 -1
  540. package/dist/webcomponents/p-6ba660f2.entry.js +0 -1
  541. package/dist/webcomponents/p-6e258b5f.entry.js +0 -1
  542. package/dist/webcomponents/p-770f60f9.entry.js +0 -1
  543. package/dist/webcomponents/p-7cb3854c.entry.js +0 -1
  544. package/dist/webcomponents/p-80730b71.entry.js +0 -1
  545. package/dist/webcomponents/p-8f04747b.entry.js +0 -1
  546. package/dist/webcomponents/p-9a37eee5.entry.js +0 -1
  547. package/dist/webcomponents/p-a1d037cb.entry.js +0 -1
  548. package/dist/webcomponents/p-a680c982.entry.js +0 -1
  549. package/dist/webcomponents/p-a765230f.entry.js +0 -1
  550. package/dist/webcomponents/p-b7b18954.entry.js +0 -1
  551. package/dist/webcomponents/p-c241cc62.entry.js +0 -1
  552. package/dist/webcomponents/p-d0ffb01c.entry.js +0 -1
  553. package/dist/webcomponents/p-da316a74.entry.js +0 -1
  554. package/dist/webcomponents/p-db3d1d7d.entry.js +0 -1
  555. package/dist/webcomponents/p-dee2a3f8.entry.js +0 -1
  556. package/dist/webcomponents/p-e3fab0e2.js +0 -1
  557. package/dist/webcomponents/p-e56ade55.js +0 -1
  558. package/dist/webcomponents/p-e927fd5c.entry.js +0 -1
  559. package/dist/webcomponents/p-f3e00572.entry.js +0 -1
  560. package/dist/webcomponents/p-f71a5975.entry.js +0 -1
  561. /package/dist/cjs/{exported-parts-b18c68c2.js → exported-parts-a994d693.js} +0 -0
  562. /package/dist/cjs/{index.esm-52757963.js → index.esm-97cf6825.js} +0 -0
  563. /package/dist/cjs/{utils-c1d2e426.js → utils-189dc30d.js} +0 -0
  564. /package/dist/cjs/{utils-ddacfc44.js → utils-bc03ca40.js} +0 -0
  565. /package/dist/collection/{components → ui-components}/details/utils.js +0 -0
  566. /package/dist/collection/{components → ui-components}/form/form-helpers/form-alert/form-alert.js +0 -0
  567. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -0
  568. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.js +0 -0
  569. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-tooltip/form-control-tooltip.js +0 -0
  570. /package/dist/collection/{components → ui-components}/form/form.js +0 -0
  571. /package/dist/collection/{components → ui-components}/form/utils.js +0 -0
  572. /package/dist/collection/{components → ui-components}/table/exported-parts.js +0 -0
  573. /package/dist/esm/{exported-parts-abd4c027.js → exported-parts-70e7a12b.js} +0 -0
  574. /package/dist/esm/{index.esm-fc4f5c0c.js → index.esm-ed37201b.js} +0 -0
  575. /package/dist/esm/{utils-3bb6347a.js → utils-20cdf321.js} +0 -0
  576. /package/dist/esm/{utils-01413a95.js → utils-218275b7.js} +0 -0
  577. /package/dist/types/{components → ui-components}/details/details.d.ts +0 -0
  578. /package/dist/types/{components → ui-components}/details/utils.d.ts +0 -0
  579. /package/dist/types/{components → ui-components}/form/form-control-checkbox.d.ts +0 -0
  580. /package/dist/types/{components → ui-components}/form/form-control-file.d.ts +0 -0
  581. /package/dist/types/{components → ui-components}/form/form-control-monetary.d.ts +0 -0
  582. /package/dist/types/{components → ui-components}/form/form-control-number-masked.d.ts +0 -0
  583. /package/dist/types/{components → ui-components}/form/form-control-number.d.ts +0 -0
  584. /package/dist/types/{components → ui-components}/form/form-control-select.d.ts +0 -0
  585. /package/dist/types/{components → ui-components}/form/form-control-text.d.ts +0 -0
  586. /package/dist/types/{components → ui-components}/form/form-helpers/form-alert/form-alert.d.ts +0 -0
  587. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -0
  588. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.d.ts +0 -0
  589. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +0 -0
  590. /package/dist/types/{components → ui-components}/form/form.d.ts +0 -0
  591. /package/dist/types/{components → ui-components}/form/utils.d.ts +0 -0
  592. /package/dist/types/{components → ui-components}/table/exported-parts.d.ts +0 -0
  593. /package/dist/webcomponents/{p-2eab3c90.js → p-3c654c07.js} +0 -0
  594. /package/dist/webcomponents/{p-2b6c9c4f.js → p-6cc30da2.js} +0 -0
  595. /package/dist/webcomponents/{p-dce846bf.js → p-a8b4f429.js} +0 -0
  596. /package/dist/webcomponents/{p-8df7bde8.js → p-e3c22aa9.js} +0 -0
@@ -30,7 +30,7 @@ const BusinessCoreInfo = /*@__PURE__*/ proxyCustomElement(class BusinessCoreInfo
30
30
  }
31
31
  render() {
32
32
  const coreInfoDefaultValue = this.formController.getInitialValues();
33
- return (h(Host, { key: '59fa8a9a4bef1875845633b66b60ebf2350fe61e', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '7b6c58d55cf2ed0f5020f043e164c63423d9ee4f' }, h("legend", { key: '5be18bc86f27541d7c6bb4ea4e05e3df4c9d87c0' }, "General Info"), h("hr", { key: '33747ac14e24ef2ecf9e84970cd8924b9f5a5c53' }), h("div", { key: '3d550cac878b9676d620fbea3c14dacf4db4e72f', class: "row gy-3" }, h("div", { key: 'd2226f4bdbbd87169d1ef75f9ffc1d7f6a6acba7', class: "col-12" }, h("form-control-text", { key: '4367c1eeec808b9b134c880be587f58327778bb2', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '455cacee1c69e28fc447e893bf648ff30946f66f', class: "col-12" }, h("form-control-text", { key: '1ea37fac67414741edab132c0b8d70c84cb4f1db', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '3da63dd018d2503a9b47a2b0950f95ce887ba38d', class: "col-12 col-md-8" }, h("form-control-select", { key: 'a059c7fda30418c4338ac58630170104d616c0f2', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '9157cac7c6999b25c8acf4e698d082a0fcbffe9d', class: "col-12 col-md-4" }, h("form-control-date", { key: '0726e93b8f6b2bd792102bb131c13e0806717f82', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: 'f3391ac0166116ef685c6d26e6d0705d087fa83d', class: "col-12 col-md-6" }, h("form-control-text", { key: '682a18784fab9410002c7949a7cfa606f3ec5784', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '4a2d95cc422ebc882e2a47237f5b1324a7660b36', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '0d138b6bafde2b5fc7c45f9d4d51746e5f91baaa', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: 'a895244496b196804a16931589f6f353c49476e8', class: "col-12" }, h("form-control-text", { key: '68375469c212b97e76861e5b8590dd502533a35a', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: '84d1a7f2b51b6dae3283bbd6d0f5aca81a0da07b', class: "col-12 col-md-6" }, h("form-control-text", { key: '27f9dd986a431fa14028f1faa3997bbdb623574e', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '0902cff0a887d5f19c5326ce135fed5f54d6643a', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'bbce92814cbf42f17a0a9e1e1df194d3ea3a15b0', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
33
+ return (h(Host, { key: '8d81a67cdd39073a8a2c4a392b848583bfbd3bb8', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '83cf000ec3b8d66bc62d87e9adaf323e148d8caf' }, h("legend", { key: '904718bfb29a0542edf87a200c787424802a5e83' }, "General Info"), h("hr", { key: 'c62b85278d5dad53a5f87b4ce58e91092a7d8669' }), h("div", { key: 'f0bb373bf75561070fb745e0c73c3c65fd6754f1', class: "row gy-3" }, h("div", { key: 'a4d7446b5ba21a87b0f308726f0ebb6d827f4f97', class: "col-12" }, h("form-control-text", { key: '70c449d9559c0c08c449531a585fc0ffcd0a745c', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '8483e884591f2f48502d59ff3c2135a38f623752', class: "col-12" }, h("form-control-text", { key: '5037e14c786af49c92c139d83ac4b600a22e0d20', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '3de67ca2647f294aaea74964e7959e470d64ded6', class: "col-12 col-md-8" }, h("form-control-select", { key: '97f96111305371f1a4e037d49ed88cd9ee1864c6', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '9e72fce44d9dedddb78e80e60de04f9d1c011c3d', class: "col-12 col-md-4" }, h("form-control-date", { key: '7ef7d6dfc1be302b7c34c03c5795d487bfecb628', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '1f922b07e9b518ef8803e38baf592edc5e1f3d53', class: "col-12 col-md-6" }, h("form-control-text", { key: '4db75fd442ab14ff0387967f8a91fc34b666aeca', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '3f7fe65745fc046a7654a1d091c68ba54f139bda', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '3e0c9db91b9bc2eed4a048d96e7d5c8e6cf9e04e', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: 'cc4f89e9b8507752c147a9f59ed6a945ccfa0d95', class: "col-12" }, h("form-control-text", { key: '7d19bd16720da687b4a0f506509ec9fd8a6185fa', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: 'ddfacd485ca994560955ffaf3e9dc21e6300ea06', class: "col-12 col-md-6" }, h("form-control-text", { key: '9047a690090fe0c64b580c64bed78febeffafee8', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '54a8e1f648446f5be503c2f1f9e99e841f9a6e6f', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ce8821b40c1771df94bc2a9658eea34befdd462a', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
34
34
  }
35
35
  }, [0, "justifi-business-core-info", {
36
36
  "formController": [16],
@@ -216,7 +216,7 @@ const BusinessDocumentFormStep = /*@__PURE__*/ proxyCustomElement(class Business
216
216
  return (h("justifi-business-document-upload-input-group", { paymentVolume: this.paymentVolume, inputHandler: this.inputHandler, storeFiles: this.storeFiles, errors: this.errors }));
217
217
  }
218
218
  render() {
219
- return (h("form", { key: 'f240b37d159cbf3db19e4256f97ade622e88d41b' }, h("fieldset", { key: '0555c8a1747336af04b470f750343d231cebb7cc' }, h("div", { key: '7c46295e5997aba7f769324d52def17236babe7b', class: "d-flex align-items-center gap-2" }, h("legend", { key: '2a3fe8a3031a1923df6de8752438d595d935d8f6', class: "mb-0" }, "Document Uploads"), h("form-control-tooltip", { key: '6b3f02a801ff53a1c28ee30710980f5e2790ac5c', helpText: "Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category." })), h("hr", { key: 'ac1f9e460920d3654f9c079e8c3fc84ccf7369b4', class: "mt-2" }), this.documentsOnFile, h("div", { key: '444b0f875d460d6bdddc9183bc5c797d3828c127', class: "d-flex flex-column" }, this.formInputs))));
219
+ return (h("form", { key: '5e0722b4d5ea462cf5ba6ed2de9d3a73b8bf910a' }, h("fieldset", { key: '09f3589465a6ad53080743018a57b959bef68309' }, h("div", { key: 'b6c1aa4cf4754126b11902a8b35c19e3044ba4ed', class: "d-flex align-items-center gap-2" }, h("legend", { key: '77b5d6847054afbfe6cc7e9e00762c226a582447', class: "mb-0" }, "Document Uploads"), h("form-control-tooltip", { key: '9fb518fbad5039c77436377e26e420dc01a84ca2', helpText: "Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category." })), h("hr", { key: 'e95938b42ad6d52d612bb654e39af7ee3442b454', class: "mt-2" }), this.documentsOnFile, h("div", { key: '8ee1cda96d28486faa2371bb1b82c57a57220071', class: "d-flex flex-column" }, this.formInputs))));
220
220
  }
221
221
  }, [0, "justifi-business-document-upload-form-step", {
222
222
  "authToken": [1, "auth-token"],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { E as EntityDocumentType } from './Document.js';
3
- import { d as isInRange } from './utils2.js';
3
+ import { g as isInRange } from './utils2.js';
4
4
  import { d as defineCustomElement$4 } from './custom-popper2.js';
5
5
  import { d as defineCustomElement$3 } from './form-control-error-text2.js';
6
6
  import { d as defineCustomElement$2 } from './form-control-file2.js';
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { s as snakeCaseToHumanReadable, e as formatDate, g as formatTimeSeconds } from './utils2.js';
2
+ import { s as snakeCaseToHumanReadable, a as formatDate, h as formatTimeSeconds } from './utils2.js';
3
3
 
4
4
  const BusinessDocumentsOnFile = /*@__PURE__*/ proxyCustomElement(class BusinessDocumentsOnFile extends HTMLElement {
5
5
  constructor() {
@@ -26,7 +26,7 @@ const RepresentativeFormInputs = /*@__PURE__*/ proxyCustomElement(class Represen
26
26
  }
27
27
  render() {
28
28
  var _a, _b, _c, _d, _e, _f, _g;
29
- return (h("form", { key: 'e60e25f358a68b95126f1b0238b754db71ffeb5e' }, h("fieldset", { key: 'ab9ca66102990e85694090847abda3842b4302e2' }, h("div", { key: '7fd390072a5b449efb1d18538da2a5ca985b7786', class: "d-flex align-items-center gap-2" }, h("legend", { key: '0fce87b8847777b8a2489684066a7f2ad28037a2', class: "mb-0" }, "Representative"), h("form-control-tooltip", { key: '685ab12d13997025ff840776a7868627d71c4ddf', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '87c7bf398f56addcc816803ca4b0b8b6598f47f9', class: "mt-2" }), h("div", { key: '76f9606e68374f92810686b4ee1e65855bb724dd', class: "row gy-3" }, h("div", { key: '982dfe08aba4db2ed702aaff432bea4e527ab9cb', class: "col-12 col-md-8" }, h("form-control-text", { key: '4dfbde53299db25439a8be81187d7b3cb39d1026', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '9d9428eb5a8269861170dfa3ec162f0b52581101', class: "col-12 col-md-4" }, h("form-control-text", { key: 'af3601d4dfa0ffbe0a83f467d88c34add95b57b6', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '9f56a922a12b5a8393effde4a7e5d3e62f29a8e6', class: "col-12 col-md-6" }, h("form-control-text", { key: 'cc784d334f4c4612686f62a613ac7910d680dba8', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '4f63adab539a9f285985c440fcaf112ae81f7826', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'a170c6b9a6d553216adc41ac7603841b949b4b83', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '85ea5c9bc2b3992d44247991fda34a5142e50faa', class: "col-12 col-md-4" }, h("form-control-date", { key: '0e66f5255a6d159350ecd7d228ded18441b47d26', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: 'e0dddceb3d489b9d92a19e983d2ef147c9127e68', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '0f95dd8c436a38377058bf6067d810d8bdcb7686', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: '0fb3fea4773d72d787c50e18213379ca3aed5c9e', class: "col-12" }, h("justifi-identity-address-form", { key: 'fe9cf9cc527794376968d35cdd42bfd75e550cca', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
29
+ return (h("form", { key: 'd48ad76693e38dfd4fdb512afc87e5e50c4d171f' }, h("fieldset", { key: '957e468b2bace9fae8128ffc7de5754a49945454' }, h("div", { key: 'ab3845f6f8f1a508b691d6b1f02980e0d6d38f4c', class: "d-flex align-items-center gap-2" }, h("legend", { key: '79a48cd41f19c4aba31a6f6e36c5b7acaf358447', class: "mb-0" }, "Representative"), h("form-control-tooltip", { key: 'e2961b6a7ce9a360c374404f47876ea39b489297', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '16fc066cc1ddae2e6fe30119bc66a8eda966b66a', class: "mt-2" }), h("div", { key: 'e3d32b1497cb452fca36ee564da7b4f9d7e517a6', class: "row gy-3" }, h("div", { key: '0b8dba03ddfe9cebafdba03315477f522441e62f', class: "col-12 col-md-8" }, h("form-control-text", { key: 'fcee691ae2f2e169841b28cc313b2559f2cedc47', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '388aabab153c5922f4d719d2068c6041fcb1e8bc', class: "col-12 col-md-4" }, h("form-control-text", { key: 'cf3a2911172fa4972b2b108aa375872a189f8b88', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '594446afaf5d1068c3a6ddc38ed0895ee4fff14b', class: "col-12 col-md-6" }, h("form-control-text", { key: '7ede2ffbc93f20e89d32938f8d1305604ffc5970', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '9cb40530bfc63d79d00f91eeaad58f952f0fcda4', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '3967096857620f10b42e8c5f8a4754dcf094973d', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '3b3794126a3790484e23ca8731782cd4d68cf569', class: "col-12 col-md-4" }, h("form-control-date", { key: '2ea38d71ab8e616f404b7624f4e6edd75ccaa294', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '78b603dd1ae23fd4a9dd59f45273c6e3ff611fdf', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'a41976f1168af416cdecf391271eddc20cc9e7b6', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: '198432248d778343020fb0ceb0e8c9a1763130b3', class: "col-12" }, h("justifi-identity-address-form", { key: '402d91a793e197502b536f2fc5e2a9a52a97ef85', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
30
30
  }
31
31
  }, [0, "justifi-business-representative-form-inputs", {
32
32
  "representativeDefaultValue": [8, "representative-default-value"],
@@ -86,7 +86,7 @@ const BusinessRepresentativeFormStepCore = /*@__PURE__*/ proxyCustomElement(clas
86
86
  });
87
87
  }
88
88
  render() {
89
- return (h("justifi-business-representative-form-inputs", { key: 'c007fffeb2675f9e054d74e7c59a729ad3103d21', representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }));
89
+ return (h("justifi-business-representative-form-inputs", { key: 'b139e0b7a998011fd6b2a6d21b5a0b33369125fe', representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }));
90
90
  }
91
91
  }, [0, "justifi-business-representative-form-step-core", {
92
92
  "getBusiness": [16],
@@ -3,9 +3,10 @@ import { c as create$3, d as create$7, F as FormController } from './form.js';
3
3
  import { a as BusinessFormStep, B as BusinessFormStepV2 } from './business-form-types.js';
4
4
  import { c as config } from './config.js';
5
5
  import { A as Api } from './Api.js';
6
+ import './Checkout.js';
6
7
  import './Pagination.js';
7
8
  import './Payment.js';
8
- import './Payout.js';
9
+ import './SubAccount.js';
9
10
  import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
10
11
  import { d as defineCustomElement$4 } from './form-control-checkbox2.js';
11
12
  import { d as defineCustomElement$3 } from './form-control-error-text2.js';
@@ -133,7 +134,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
133
134
  });
134
135
  }
135
136
  render() {
136
- return (h("form", { key: '3f269771c368a23afd1c7b139b0fce416d18f161' }, h("fieldset", { key: 'a94a5bf100cb5a10b156b8cf94dc85f03cc1f6ae' }, h("legend", { key: 'facb4a29cebd5147fe3c35d336df04546b550d74' }, "Terms and Conditions"), h("hr", { key: '3dafaab7d2d35bf9a00f87da643f6e1efaa7b147' }), h("justifi-business-terms-conditions-text", { key: '60a1370c8b0d817d79130e8607f6d663c4648c78' }), h("br", { key: 'e72e81a34b31a00ebe3a0d01e24dc096df7bc2a9' }), h("div", { key: '676ed858195c1b90a9e4fdc22ba9654ff944dc93', class: "row-gy-3" }, h("div", { key: '20039587eb6144a05078799f6a41feb59f43dbd2', class: "col-12" }, h("form-control-checkbox", { key: 'fc8eaa81e530b55f24e2ec994b97b4c181af94b2', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText }))))));
137
+ return (h("form", { key: 'e675f117eb90a0690e148a1164fffde5d4f01419' }, h("fieldset", { key: 'e1cb1fe38b7365cc282eb91689afb40d6b01136c' }, h("legend", { key: 'e57a4bc006983c3ee3805445d750ea330bedd477' }, "Terms and Conditions"), h("hr", { key: '7b373693bd10d6493816b3dd9ae07d826bd7ff84' }), h("justifi-business-terms-conditions-text", { key: '984b3668240861df4947c60068c1be079a3eb7e1' }), h("br", { key: '15dfba53dd81d39be4ea216bf798f51881abf23d' }), h("div", { key: 'b426c709c11435911efb4289b68fa8f86c2569f2', class: "row-gy-3" }, h("div", { key: '307c51a7f78613807054a5d1480318fdb9316bff', class: "col-12" }, h("form-control-checkbox", { key: '6069cb9929c7ea0f2c1b2cbc99dad61806c80429', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText }))))));
137
138
  }
138
139
  }, [0, "justifi-business-terms-conditions-form-step", {
139
140
  "authToken": [1, "auth-token"],
@@ -0,0 +1,63 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$6 } from './custom-popper2.js';
3
+ import { d as defineCustomElement$5 } from './form-control-error-text2.js';
4
+ import { d as defineCustomElement$4 } from './form-control-file2.js';
5
+ import { d as defineCustomElement$3 } from './form-control-help-text2.js';
6
+ import { d as defineCustomElement$2 } from './form-control-textarea2.js';
7
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
8
+
9
+ const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPolicy extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ this.__registerHost();
13
+ }
14
+ render() {
15
+ return (h("div", { key: 'a35e9980fbad9752a00473711fadc0e69c16a909' }, h("div", { key: '024a9bee273b6a1d470e218b2bbd541b299c0f24', class: "row gy-3" }, h("div", { key: '394ba5a5fa8bf4726ca4c96cc4f1d75454f6b563', class: "col-12" }, h("h2", { key: '0cb7dddab83455d8c11d888ce9638bb93d8e00c9', class: "h5" }, "Cancellation Policy")), h("div", { key: '02c70eaf5b9d9876c3aa31edb070006cd6b67b98', class: "col-12" }, h("form-control-textarea", { key: '266a114845ca7e793e0a8a5b98e506a867a7a98f', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure" })), h("div", { key: '943b51f7849ae1fcac7320f8532d15371f064db8', class: "col-12" }, h("form-control-textarea", { key: '89de507fbed48afb4733b87f5e249bdafecea3af', label: "Cancellation Rebuttal", name: "cancellation_rebuttal" })), h("div", { key: '078a0874b5d203d1de4e2f2e5ae9a2eb95f28015', class: "col-12" }, h("form-control-file", { key: '7f2003888aaf189a8d86ab010a54e0bd511cb198', label: "Upload Cancellation Policy", name: "cancellation_policy_file" })))));
16
+ }
17
+ }, [0, "justifi-cancellation-policy"]);
18
+ function defineCustomElement() {
19
+ if (typeof customElements === "undefined") {
20
+ return;
21
+ }
22
+ const components = ["justifi-cancellation-policy", "custom-popper", "form-control-error-text", "form-control-file", "form-control-help-text", "form-control-textarea", "form-control-tooltip"];
23
+ components.forEach(tagName => { switch (tagName) {
24
+ case "justifi-cancellation-policy":
25
+ if (!customElements.get(tagName)) {
26
+ customElements.define(tagName, CancellationPolicy);
27
+ }
28
+ break;
29
+ case "custom-popper":
30
+ if (!customElements.get(tagName)) {
31
+ defineCustomElement$6();
32
+ }
33
+ break;
34
+ case "form-control-error-text":
35
+ if (!customElements.get(tagName)) {
36
+ defineCustomElement$5();
37
+ }
38
+ break;
39
+ case "form-control-file":
40
+ if (!customElements.get(tagName)) {
41
+ defineCustomElement$4();
42
+ }
43
+ break;
44
+ case "form-control-help-text":
45
+ if (!customElements.get(tagName)) {
46
+ defineCustomElement$3();
47
+ }
48
+ break;
49
+ case "form-control-textarea":
50
+ if (!customElements.get(tagName)) {
51
+ defineCustomElement$2();
52
+ }
53
+ break;
54
+ case "form-control-tooltip":
55
+ if (!customElements.get(tagName)) {
56
+ defineCustomElement$1();
57
+ }
58
+ break;
59
+ } });
60
+ }
61
+ defineCustomElement();
62
+
63
+ export { CancellationPolicy as C, defineCustomElement as d };
@@ -1,6 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { a as formatCurrency } from './utils2.js';
2
+ import { c as formatCurrency } from './utils2.js';
3
3
  import { c as config } from './config.js';
4
+ import { C as Checkout } from './Checkout.js';
4
5
  import { a as ComponentErrorSeverity } from './ComponentError.js';
5
6
  import { i as insuranceValuesOn, v as validateInsuranceValues, a as insuranceValues } from './insurance-state.js';
6
7
  import { B as Button } from './button.js';
@@ -19,12 +20,6 @@ import { d as defineCustomElement$3 } from './save-new-payment-method.js';
19
20
  import { d as defineCustomElement$2 } from './saved-payment-method.js';
20
21
  import { d as defineCustomElement$1 } from './sezzle-payment-method.js';
21
22
 
22
- class Checkout {
23
- constructor(data) {
24
- Object.assign(this, data);
25
- }
26
- }
27
-
28
23
  const checkoutCoreCss = ":host{display:block}justifi-payment-method-form{display:block;margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}.jfi-checkout-core{color:var(--jfi-body-color)}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}*::part(invalid-feedback){color:var(--jfi-error-message-color);font-size:var(--jfi-error-message-font-size);margin:var(--jfi-error-message-margin);line-height:normal}.jfi-submit-button{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow);line-height:var(--jfi-submit-button-line-height);text-transform:var(--jfi-submit-button-text-transform)}.jfi-submit-button:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.jfi-submit-button:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn.jfi-submit-button:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}.btn.jfi-submit-button-loading{min-width:75px;color:var(--jfi-submit-button-color-loading);background-color:var(--jfi-submit-button-background-color-loading);border-color:var(--jfi-submit-button-border-color-loading)}.btn.jfi-submit-button-loading .spinner-border{border-top-color:var(--jfi-submit-button-color-loading);border-bottom-color:var(--jfi-submit-button-color-loading);border-left-color:var(--jfi-submit-button-color-loading)}";
29
24
  const JustifiCheckoutCoreStyle0 = checkoutCoreCss;
30
25
 
@@ -0,0 +1,34 @@
1
+ import { c as config } from './config.js';
2
+ import { A as Api } from './Api.js';
3
+ import './Checkout.js';
4
+ import './Pagination.js';
5
+ import './Payment.js';
6
+ import './SubAccount.js';
7
+
8
+ class CheckoutService {
9
+ async fetchCheckout(authToken, checkoutId) {
10
+ const endpoint = `checkouts/${checkoutId}`;
11
+ return Api({ authToken, apiOrigin: config.proxyApiOrigin }).get(endpoint);
12
+ }
13
+ async fetchCheckouts(accountId, authToken, params, apiOrigin) {
14
+ if (!apiOrigin) {
15
+ apiOrigin = config.proxyApiOrigin;
16
+ }
17
+ const headers = { Account: accountId };
18
+ const api = Api({ authToken, apiOrigin: apiOrigin });
19
+ const endpoint = 'checkouts';
20
+ return api.get(endpoint, params, null, headers);
21
+ }
22
+ async complete(authToken, checkoutId, payment) {
23
+ const endpoint = `checkouts/${checkoutId}/complete`;
24
+ const payload = {
25
+ payment_mode: payment.payment_mode,
26
+ };
27
+ if (payment.payment_token) {
28
+ payload.payment_token = payment.payment_token;
29
+ }
30
+ return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
31
+ }
32
+ }
33
+
34
+ export { CheckoutService as C };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface CheckoutsListCore extends Components.CheckoutsListCore, HTMLElement {}
4
+ export const CheckoutsListCore: {
5
+ prototype: CheckoutsListCore;
6
+ new (): CheckoutsListCore;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { C as CheckoutsListCore$1, d as defineCustomElement$1 } from './checkouts-list-core2.js';
2
+
3
+ const CheckoutsListCore = CheckoutsListCore$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { CheckoutsListCore, defineCustomElement };
@@ -0,0 +1,250 @@
1
+ import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import './Checkout.js';
3
+ import { p as pagingDefaults } from './Pagination.js';
4
+ import './Payment.js';
5
+ import './SubAccount.js';
6
+ import { d as defineCustomElement$1, o as onFilterChange } from './table-filters-menu2.js';
7
+ import { T as TableLoadingState, a as TableEmptyState, b as TableErrorState } from './table-loading-state.js';
8
+ import { a as formatDate, b as formatTime, c as formatCurrency } from './utils2.js';
9
+ import { T as Table } from './table.js';
10
+ import { d as defineCustomElement$7 } from './checkouts-list-filters2.js';
11
+ import { d as defineCustomElement$6 } from './custom-popper2.js';
12
+ import { d as defineCustomElement$5 } from './form-control-error-text2.js';
13
+ import { d as defineCustomElement$4 } from './form-control-select2.js';
14
+ import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
15
+ import { d as defineCustomElement$2 } from './pagination-menu2.js';
16
+
17
+ const MapCheckoutStatusToBadge = (status) => {
18
+ switch (status) {
19
+ case 'created':
20
+ return "<span class='badge bg-primary' title='The checkout has been created'>Created</span>";
21
+ case 'completed':
22
+ return "<span class='badge bg-success' title='The checkout has been completed'>Completed</span>";
23
+ case 'attempted':
24
+ return "<span class='badge bg-secondary' title='The checkout has been attempted'>Attempted</span>";
25
+ case 'expired':
26
+ return "<span class='badge bg-danger' title='The checkout has expired'>Expired</span>";
27
+ }
28
+ };
29
+
30
+ const defaultColumnsKeys = 'created_at,payment_amount,payment_description,payment_mode,status';
31
+ const checkoutTableColumns = {
32
+ created_at: () => (h("th", { part: "table-head-cell", scope: "col", title: "The date each checkout occurred" }, "Processed On")),
33
+ payment_amount: () => (h("th", { part: "table-head-cell", scope: "col", title: "The dollar amount of each checkout" }, "Payment Amount")),
34
+ payment_description: () => (h("th", { part: "table-head-cell", scope: "col", title: "The description of each checkout" }, "Payment Description")),
35
+ sub_account_name: () => (h("th", { part: "table-head-cell", scope: "col", title: "The sub account associated with the checkout" }, "Sub Account")),
36
+ payment_mode: () => (h("th", { part: "table-head-cell", scope: "col", title: "The payment mode of each checkout" }, "Payment Mode")),
37
+ status: () => (h("th", { part: "table-head-cell", scope: "col", title: "The current status of each checkout" }, "Status")),
38
+ };
39
+ const checkoutTableCells = {
40
+ created_at: (value) => (h("th", null,
41
+ h("div", { class: "fw-bold" },
42
+ formatDate(value),
43
+ " "),
44
+ h("div", { class: "fw-bold" },
45
+ formatTime(value),
46
+ " "))),
47
+ payment_amount: (value) => (h("td", null,
48
+ formatCurrency(value, true, true),
49
+ " ")),
50
+ payment_description: (value) => (h("td", null, value)),
51
+ sub_account_name: (value) => (h("td", null, value)),
52
+ payment_mode: (value) => (h("td", null, value)),
53
+ status: (value) => (h("td", { innerHTML: MapCheckoutStatusToBadge(value) })),
54
+ };
55
+
56
+ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCore extends HTMLElement {
57
+ constructor() {
58
+ super();
59
+ this.__registerHost();
60
+ this.rowClicked = createEvent(this, "checkout-row-clicked", 7);
61
+ this.errorEvent = createEvent(this, "error-event", 7);
62
+ this.handleClickPrevious = (beforeCursor) => {
63
+ const newParams = Object.assign({}, this.params);
64
+ delete newParams.after_cursor;
65
+ this.params = Object.assign(Object.assign({}, newParams), { before_cursor: beforeCursor });
66
+ };
67
+ this.handleClickNext = (afterCursor) => {
68
+ const newParams = Object.assign({}, this.params);
69
+ delete newParams.before_cursor;
70
+ this.params = Object.assign(Object.assign({}, newParams), { after_cursor: afterCursor });
71
+ };
72
+ this.rowClickHandler = (e) => {
73
+ const clickedCheckoutID = e.target.closest('tr').dataset.rowEntityId;
74
+ if (!clickedCheckoutID)
75
+ return;
76
+ this.rowClicked.emit(this.checkouts.find((checkout) => checkout.id === clickedCheckoutID));
77
+ };
78
+ this.setParamsOnChange = (name, value) => {
79
+ let newParams = { [name]: value };
80
+ this.params = onFilterChange(newParams, this.params);
81
+ };
82
+ this.clearParams = () => {
83
+ this.errorMessage = '';
84
+ this.params = {};
85
+ };
86
+ this.getCheckouts = undefined;
87
+ this.getSubAccounts = undefined;
88
+ this.columns = undefined;
89
+ this.checkouts = [];
90
+ this.checkoutsTable = undefined;
91
+ this.subAccounts = [];
92
+ this.loading = true;
93
+ this.errorMessage = undefined;
94
+ this.paging = pagingDefaults;
95
+ this.params = {};
96
+ }
97
+ updateOnPropChange() {
98
+ this.fetchCheckouts();
99
+ }
100
+ componentWillLoad() {
101
+ this.checkoutsTable = new Table(this.checkouts, this.columns, checkoutTableColumns, checkoutTableCells);
102
+ if (this.getCheckouts && this.getSubAccounts) {
103
+ this.fetchCheckouts();
104
+ }
105
+ }
106
+ fetchCheckouts() {
107
+ this.loading = true;
108
+ this.getCheckouts({
109
+ params: this.params,
110
+ onSuccess: async ({ checkouts, pagingInfo }) => {
111
+ this.checkouts = checkouts;
112
+ this.paging = pagingInfo;
113
+ this.checkoutsTable.collectionData = this.checkouts;
114
+ const shouldFetchSubAccounts = this.checkoutsTable.columnKeys.includes('sub_account_name');
115
+ if (shouldFetchSubAccounts) {
116
+ await this.fetchSubAccounts();
117
+ }
118
+ else {
119
+ this.loading = false;
120
+ }
121
+ },
122
+ onError: ({ error, code, severity }) => {
123
+ this.errorMessage = error;
124
+ this.errorEvent.emit({
125
+ errorCode: code,
126
+ message: error,
127
+ severity,
128
+ });
129
+ this.loading = false;
130
+ },
131
+ });
132
+ }
133
+ async fetchSubAccounts() {
134
+ this.getSubAccounts({
135
+ params: this.subAccountParams,
136
+ onSuccess: ({ subAccounts }) => {
137
+ this.subAccounts = subAccounts;
138
+ this.checkouts = this.checkouts.map((checkout) => {
139
+ var _a;
140
+ checkout.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === checkout.account_id)) === null || _a === void 0 ? void 0 : _a.name;
141
+ return checkout;
142
+ });
143
+ this.loading = false;
144
+ },
145
+ onError: ({ error, code, severity }) => {
146
+ this.errorMessage = error;
147
+ this.errorEvent.emit({
148
+ errorCode: code,
149
+ message: error,
150
+ severity,
151
+ });
152
+ this.loading = false;
153
+ },
154
+ });
155
+ }
156
+ get subAccountParams() {
157
+ let accountIdNumbers = this.checkouts.map((checkout) => checkout.account_id);
158
+ let uniqueAccountIds = [...new Set(accountIdNumbers)];
159
+ let accountIdString = uniqueAccountIds.join(',');
160
+ return { sub_account_id: accountIdString };
161
+ }
162
+ get entityId() {
163
+ return this.checkouts.map((checkout) => checkout.id);
164
+ }
165
+ get showEmptyState() {
166
+ return !this.loading && !this.errorMessage && this.checkoutsTable.rowData.length < 1;
167
+ }
168
+ get showErrorState() {
169
+ return !this.loading && !!this.errorMessage;
170
+ }
171
+ get showRowData() {
172
+ return !this.showEmptyState && !this.showErrorState && !this.loading;
173
+ }
174
+ render() {
175
+ return (h("div", { key: '8d2c1fd960b2b3a66f3a1bf648b75576ad2e8857' }, h("checkouts-list-filters", { key: '18ba9bf560499112f71a690da751c8e3c4d345a7', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: '12cf6ee2912ac6a9518634ebd470dac5f7623aff', class: "table-wrapper" }, h("table", { key: '1ea2c118d7efb620dc1f39db55a510a8a473cb31', class: "table table-hover" }, h("thead", { key: '5e334a090be56c82b11ae7584bdf4014cc8743c7', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '233137a8b4e30bac28ded78010199bfecd0ac4e7', class: "table-light text-nowrap", part: "table-head-row" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: 'd4ed9d4bf3ac17d4dc7294b875734e02996c7444', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: 'a7afbb627c768139af4244da5c12fae493dceafb', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '802c43c8da770bca9a249a88d115901e9b14e102', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'f1cd197cf7d1d5d81868a5abfafa40df762ca3c8', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data)))), this.paging && (h("tfoot", { key: 'f0c367854322c341515bc481159101e9659117c7', class: "sticky-bottom" }, h("tr", { key: '88bc665c23665eddc4c88d27acc8c8f1cb39e277', class: "table-light align-middle" }, h("td", { key: '8be265c9b43033cfd3e2c4b3f12ac6d6c104e53d', part: "pagination-bar", colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '6abdb6091b78e58ec71ac6bf66f278ed9b6542fb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
176
+ }
177
+ static get watchers() { return {
178
+ "params": ["updateOnPropChange"],
179
+ "getCheckouts": ["updateOnPropChange"],
180
+ "getSubAccounts": ["updateOnPropChange"],
181
+ "columns": ["updateOnPropChange"]
182
+ }; }
183
+ }, [0, "checkouts-list-core", {
184
+ "getCheckouts": [16],
185
+ "getSubAccounts": [16],
186
+ "columns": [1],
187
+ "checkouts": [32],
188
+ "checkoutsTable": [32],
189
+ "subAccounts": [32],
190
+ "loading": [32],
191
+ "errorMessage": [32],
192
+ "paging": [32],
193
+ "params": [32]
194
+ }, undefined, {
195
+ "params": ["updateOnPropChange"],
196
+ "getCheckouts": ["updateOnPropChange"],
197
+ "getSubAccounts": ["updateOnPropChange"],
198
+ "columns": ["updateOnPropChange"]
199
+ }]);
200
+ function defineCustomElement() {
201
+ if (typeof customElements === "undefined") {
202
+ return;
203
+ }
204
+ const components = ["checkouts-list-core", "checkouts-list-filters", "custom-popper", "form-control-error-text", "form-control-select", "form-control-tooltip", "pagination-menu", "table-filters-menu"];
205
+ components.forEach(tagName => { switch (tagName) {
206
+ case "checkouts-list-core":
207
+ if (!customElements.get(tagName)) {
208
+ customElements.define(tagName, CheckoutsListCore);
209
+ }
210
+ break;
211
+ case "checkouts-list-filters":
212
+ if (!customElements.get(tagName)) {
213
+ defineCustomElement$7();
214
+ }
215
+ break;
216
+ case "custom-popper":
217
+ if (!customElements.get(tagName)) {
218
+ defineCustomElement$6();
219
+ }
220
+ break;
221
+ case "form-control-error-text":
222
+ if (!customElements.get(tagName)) {
223
+ defineCustomElement$5();
224
+ }
225
+ break;
226
+ case "form-control-select":
227
+ if (!customElements.get(tagName)) {
228
+ defineCustomElement$4();
229
+ }
230
+ break;
231
+ case "form-control-tooltip":
232
+ if (!customElements.get(tagName)) {
233
+ defineCustomElement$3();
234
+ }
235
+ break;
236
+ case "pagination-menu":
237
+ if (!customElements.get(tagName)) {
238
+ defineCustomElement$2();
239
+ }
240
+ break;
241
+ case "table-filters-menu":
242
+ if (!customElements.get(tagName)) {
243
+ defineCustomElement$1();
244
+ }
245
+ break;
246
+ } });
247
+ }
248
+ defineCustomElement();
249
+
250
+ export { CheckoutsListCore as C, defaultColumnsKeys as a, defineCustomElement as d };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface CheckoutsListFilters extends Components.CheckoutsListFilters, HTMLElement {}
4
+ export const CheckoutsListFilters: {
5
+ prototype: CheckoutsListFilters;
6
+ new (): CheckoutsListFilters;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { C as CheckoutsListFilters$1, d as defineCustomElement$1 } from './checkouts-list-filters2.js';
2
+
3
+ const CheckoutsListFilters = CheckoutsListFilters$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { CheckoutsListFilters, defineCustomElement };
@@ -0,0 +1,80 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$5 } from './custom-popper2.js';
3
+ import { d as defineCustomElement$4 } from './form-control-error-text2.js';
4
+ import { d as defineCustomElement$3 } from './form-control-select2.js';
5
+ import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
6
+ import { d as defineCustomElement$1 } from './table-filters-menu2.js';
7
+
8
+ const CheckoutsListFilters = /*@__PURE__*/ proxyCustomElement(class CheckoutsListFilters extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.params = {};
13
+ this.setParamsOnChange = undefined;
14
+ this.clearParams = undefined;
15
+ }
16
+ get checkoutStatusOptions() {
17
+ return [
18
+ { label: 'All', value: '' },
19
+ { label: 'Created', value: 'created' },
20
+ { label: 'Completed', value: 'completed' },
21
+ { label: 'Attempted', value: 'attempted' },
22
+ { label: 'Expired', value: 'expired' },
23
+ ];
24
+ }
25
+ get checkoutPaymentModeOptions() {
26
+ return [
27
+ { label: 'All', value: '' },
28
+ { label: 'E-commerce', value: 'ecom' },
29
+ { label: 'BNPL', value: 'bnpl' },
30
+ ];
31
+ }
32
+ render() {
33
+ return (h("table-filters-menu", { key: '9bbefced0a75175612e10d18a2399c2fba54a541', params: this.params, clearParams: this.clearParams }, h("div", { key: 'c9788ad56827b8a3d4452da28678d56b0b7db11c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '4f4eefcdecb67f6fa58f7daa5044bae0e0df5f6c', class: "p-2" }, h("form-control-select", { key: 'cb3d3801b90102e330a96a0454074b5374f15326', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.status || '' })), h("div", { key: 'b43631eb9021c8d496551d359440696686a3a50b', class: "p-2" }, h("form-control-select", { key: '7f2a33df18fb3d48dba2ad726a96d9107cca2bf3', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.payment_mode || '' })))));
34
+ }
35
+ }, [0, "checkouts-list-filters", {
36
+ "params": [16],
37
+ "setParamsOnChange": [16],
38
+ "clearParams": [16]
39
+ }]);
40
+ function defineCustomElement() {
41
+ if (typeof customElements === "undefined") {
42
+ return;
43
+ }
44
+ const components = ["checkouts-list-filters", "custom-popper", "form-control-error-text", "form-control-select", "form-control-tooltip", "table-filters-menu"];
45
+ components.forEach(tagName => { switch (tagName) {
46
+ case "checkouts-list-filters":
47
+ if (!customElements.get(tagName)) {
48
+ customElements.define(tagName, CheckoutsListFilters);
49
+ }
50
+ break;
51
+ case "custom-popper":
52
+ if (!customElements.get(tagName)) {
53
+ defineCustomElement$5();
54
+ }
55
+ break;
56
+ case "form-control-error-text":
57
+ if (!customElements.get(tagName)) {
58
+ defineCustomElement$4();
59
+ }
60
+ break;
61
+ case "form-control-select":
62
+ if (!customElements.get(tagName)) {
63
+ defineCustomElement$3();
64
+ }
65
+ break;
66
+ case "form-control-tooltip":
67
+ if (!customElements.get(tagName)) {
68
+ defineCustomElement$2();
69
+ }
70
+ break;
71
+ case "table-filters-menu":
72
+ if (!customElements.get(tagName)) {
73
+ defineCustomElement$1();
74
+ }
75
+ break;
76
+ } });
77
+ }
78
+ defineCustomElement();
79
+
80
+ export { CheckoutsListFilters as C, defineCustomElement as d };