@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
@@ -10,10 +10,11 @@ export declare class DateInput {
10
10
  disabled?: boolean;
11
11
  filterTimeZone?: boolean;
12
12
  showTime?: boolean;
13
+ maxDate?: string;
13
14
  handleDefaultValueChange(newValue: string): void;
14
15
  formControlInput: EventEmitter<any>;
15
16
  formControlBlur: EventEmitter<any>;
16
- get maxDate(): string;
17
+ get currentDate(): string;
17
18
  componentDidLoad(): void;
18
19
  handleFormControlInput: (event: any) => void;
19
20
  updateInput(value: any): void;
@@ -0,0 +1,19 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class RadioInput {
3
+ radioElement: HTMLInputElement;
4
+ label: string;
5
+ name: any;
6
+ value: any;
7
+ helpText?: string;
8
+ errorText?: string;
9
+ defaultChecked?: boolean;
10
+ inputHandler: (name: string, value: boolean) => void;
11
+ disabled: boolean;
12
+ handleDefaultValueChange(checked: boolean): void;
13
+ formControlInput: EventEmitter<any>;
14
+ formControlBlur: EventEmitter<any>;
15
+ componentDidLoad(): void;
16
+ handleFormControlInput: (event: any) => void;
17
+ updateInput: (checked: boolean) => void;
18
+ render(): any;
19
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class TextInput {
3
+ el: HTMLElement;
4
+ label: string;
5
+ name: any;
6
+ helpText?: string;
7
+ errorText?: string;
8
+ defaultValue: string;
9
+ maxLength?: number;
10
+ inputHandler: (name: string, value: string) => void;
11
+ keyDownHandler?: (event: any) => void;
12
+ disabled: boolean;
13
+ handleDefaultValueChange(newValue: string): void;
14
+ formControlInput: EventEmitter<any>;
15
+ formControlBlur: EventEmitter<any>;
16
+ componentDidLoad(): void;
17
+ handleFormControlInput: (event: any) => void;
18
+ updateInput: (newValue: any) => void;
19
+ render(): any;
20
+ }
@@ -1,6 +1,7 @@
1
1
  export * from './button';
2
2
  export * from './button-spinner';
3
3
  export * from './styled-host/styled-host';
4
+ export * from './table/exported-parts';
4
5
  export * from './table-empty-state';
5
6
  export * from './table-error-state';
6
7
  export * from './table-loading-state';
@@ -0,0 +1,14 @@
1
+ export declare class Table {
2
+ columnKeys: string[];
3
+ private collection;
4
+ private tableColumns;
5
+ private tableCells;
6
+ get columnData(): any[];
7
+ get rowData(): any[][];
8
+ set collectionData(collection: any[]);
9
+ constructor(collection: any[], columns: string, tableColumns: {
10
+ [key: string]: Function;
11
+ }, tableCells: {
12
+ [key: string]: Function;
13
+ });
14
+ }
@@ -9,8 +9,6 @@ export declare function formatTime(dateString: string): string;
9
9
  export declare function formatTimeSeconds(dateString: string): string;
10
10
  export declare function formatAddress(address: Address): string;
11
11
  export declare function extractComputedFontsToLoad(): string;
12
- export declare const MapPaymentStatusToBadge: (status: string) => "<span class='badge bg-success' title='This payment was successfully captured'>Succeeded</span>" | "<span class='badge bg-primary' title='This card payment was authorized, but not captured. It could still succeed or fail.'>Authorized</span>" | "<span class='badge bg-primary' title='This ACH payment was processed, but the funds haven't settled. It could still succeed or fail.'>Pending</span>" | "<span class='badge bg-danger' title='The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)'>Failed</span>" | "<span class='badge bg-danger' title='This card payment didn't go through (it won't appear in a payout)'>Failed</span>" | "<span class='badge bg-danger' title='This payment was canceled'>Canceled</span>" | "<span class='badge bg-secondary' title='The account holder disputed this payment. The amount has been returned and a fee assessed.'>Disputed</span>" | "<span class='badge bg-secondary' title='The full amount of this payment has been refunded'>Fully Refunded</span>" | "<span class='badge bg-secondary' title='A portion of this payment has been refunded'>Partially Refunded</span>";
13
- export declare const MapPayoutStatusToBadge: (status: string) => "<span class='badge bg-danger' title='Transfer to your bank account failed'>Canceled</span>" | "<span class='badge bg-danger' title='Transfer to your bank account failed'>Failed</span>" | "<span class='badge bg-secondary' title='This payout initially failed; the funds have been forwarded to your next successful payout'>Forwarded</span>" | "<span class='badge bg-primary' title='Transfer to your bank account has been initiated'>In Transit</span>" | "<span class='badge bg-success' title='Successfully deposited into your bank account'>Paid</span>" | "<span class='badge bg-primary' title='Batched and scheduled to be transferred'>Pending</span>" | "<span class='badge bg-primary' title='Batched and scheduled to be transferred'>Scheduled</span>" | "<span class='badge bg-success' title='Negative payout balance successfully withdrawn from your bank account'>Withdrawn</span>";
14
12
  /**
15
13
  * Converts a snake_case string to a human-readable format by replacing underscores with spaces and capitalizing the first letter of each word.
16
14
  *
@@ -0,0 +1 @@
1
+ import{h as e}from"./p-fad19d75.js";import{f as t,a,b as c}from"./p-a8f22d4d.js";const s=e=>{switch(e){case"created":return"<span class='badge bg-primary' title='The checkout has been created'>Created</span>";case"completed":return"<span class='badge bg-success' title='The checkout has been completed'>Completed</span>";case"attempted":return"<span class='badge bg-secondary' title='The checkout has been attempted'>Attempted</span>";case"expired":return"<span class='badge bg-danger' title='The checkout has expired'>Expired</span>"}},o="created_at,payment_amount,payment_description,payment_mode,status",l={created_at:()=>e("th",{part:"table-head-cell",scope:"col",title:"The date each checkout occurred"},"Processed On"),payment_amount:()=>e("th",{part:"table-head-cell",scope:"col",title:"The dollar amount of each checkout"},"Payment Amount"),payment_description:()=>e("th",{part:"table-head-cell",scope:"col",title:"The description of each checkout"},"Payment Description"),sub_account_name:()=>e("th",{part:"table-head-cell",scope:"col",title:"The sub account associated with the checkout"},"Sub Account"),payment_mode:()=>e("th",{part:"table-head-cell",scope:"col",title:"The payment mode of each checkout"},"Payment Mode"),status:()=>e("th",{part:"table-head-cell",scope:"col",title:"The current status of each checkout"},"Status")},n={created_at:c=>e("th",null,e("div",{class:"fw-bold"},a(c)," "),e("div",{class:"fw-bold"},t(c)," ")),payment_amount:t=>e("td",null,c(t,!0,!0)," "),payment_description:t=>e("td",null,t),sub_account_name:t=>e("td",null,t),payment_mode:t=>e("td",null,t),status:t=>e("td",{innerHTML:s(t)})};export{n as a,l as c,o as d}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as r}from"./p-fad19d75.js";import{t as i}from"./p-6cc30da2.js";import{m as o,P as e}from"./p-47dbe17d.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-7fec2bcb.js";import{P as a}from"./p-9f56ad71.js";import{C as c,a as p}from"./p-14c91ffd.js";import{g as d,a as n}from"./p-8115b2f4.js";import{J as h}from"./p-7fea661a.js";import{c as m}from"./p-74822344.js";import{S as u}from"./p-74da98da.js";import"./p-0e180654.js";import"./p-5a62fca2.js";import"./p-fb2005de.js";const f=class{constructor(r){t(this,r),this.errorEvent=s(this,"error-event",7),this.handleOnError=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.accountId=void 0,this.authToken=void 0,this.getPayouts=void 0,this.getPayoutCSV=void 0,this.errorMessage=null}componentWillLoad(){m(),this.analytics=new h(this),this.initializeServices()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeServices()}initializeServices(){if(this.accountId&&this.authToken){const t={id:this.accountId,authToken:this.authToken,service:new e};this.getPayouts=(({id:t,authToken:s,service:r})=>async({params:i,onSuccess:o,onError:e})=>{var p,h;try{const m=await r.fetchPayouts(t,s,i);if(m.error)return e({error:d(m.error),code:n(null===(h=m.error)||void 0===h?void 0:h.code),severity:c.ERROR});{const t=Object.assign({},m.page_info);o({payouts:(null===(p=m.data)||void 0===p?void 0:p.map((t=>new a(t))))||[],pagingInfo:t})}}catch(t){return e({error:d(t),code:n(null==t?void 0:t.code),severity:c.ERROR})}})(t),this.getPayoutCSV=o(t)}else this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:p.MISSING_PROPS,message:"Account ID and Auth Token are required"})}render(){return r(u,{key:"8d72aa16705df76ed49a13a59e88a40a75c23488",exportedparts:i},r("payouts-list-core",{key:"94428c879981bbc036e1d4f6c59c1e1c1146c824",getPayouts:this.getPayouts,getPayoutCSV:this.getPayoutCSV,"onError-event":this.handleOnError}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{f as justifi_payouts_list}
@@ -0,0 +1 @@
1
+ import{r as o,c as r,h as a,F as t}from"./p-fad19d75.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import{a as i}from"./p-7fec2bcb.js";import"./p-9f56ad71.js";const d={bankAccount:"Bank Account",card:"Card"},e=class{constructor(a){o(this,a),this.paymentMethodSelected=r(this,"paymentMethodSelected",7),this.paymentMethodTypes=[i.card,i.bankAccount],this.selectedPaymentMethodType=void 0}onChangeHandler(o){this.paymentMethodSelected.emit(o.target.value)}render(){return a("div",{key:"66ac630ad3bd8379c28743402fd1df3e4386dac5",class:"btn-group jfi-btn-radio-group",role:"group","aria-label":"Radio toggle group for payment method"},this.paymentMethodTypes.map((o=>a(t,null,a("input",{id:o,type:"radio",name:"paymentMethodType",value:o,onChange:o=>this.onChangeHandler(o),checked:this.selectedPaymentMethodType===o,class:"btn-check jfi-btn-radio"}),a("label",{htmlFor:o,class:"btn btn-outline-primary jfi-btn-radio-label"},d[o])))))}};e.style=":host{display:block}.jfi-btn-radio+.jfi-btn-radio-label{color:var(--jfi-radio-button-color);background-color:var(--jfi-radio-button-background-color);border-color:var(--jfi-radio-button-border-color);padding:var(--jfi-radio-button-padding);font-size:var(--jfi-radio-button-font-size)}.jfi-btn-radio:focus+.jfi-btn-radio-label{box-shadow:var(--jfi-box-shadow-focus)}.jfi-btn-radio+.jfi-btn-radio-label:hover{color:var(--jfi-radio-button-color-hover);border-color:var(--jfi-radio-button-border-color-hover);background-color:var(--jfi-radio-button-background-color-hover)}.jfi-btn-radio:checked+.jfi-btn-radio-label:hover{color:var(--jfi-radio-button-color-selected-hover);border-color:var(--jfi-radio-button-border-color-selected-hover);background-color:var(--jfi-radio-button-background-color-selected-hover)}.jfi-btn-radio:checked+.jfi-btn-radio-label{color:var(--jfi-radio-button-color-selected);background-color:var(--jfi-radio-button-background-color-selected);border-color:var(--jfi-radio-button-border-color-selected)}.jfi-btn-radio-group{font-family:var(--jfi-layout-font-family);display:inline-flex;width:var(--jfi-radio-button-group-width)}";export{e as justifi_payment_method_selector}
@@ -1 +1 @@
1
- let n;const t=new Uint8Array(16);function r(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(t)}const o=[];for(let n=0;n<256;++n)o.push((n+256).toString(16).slice(1));const e={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function c(n,t,c){if(e.randomUUID&&!t&&!n)return e.randomUUID();const u=(n=n||{}).random||(n.rng||r)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){c=c||0;for(let n=0;n<16;++n)t[c+n]=u[n];return t}return function(n,t=0){return o[n[t+0]]+o[n[t+1]]+o[n[t+2]]+o[n[t+3]]+"-"+o[n[t+4]]+o[n[t+5]]+"-"+o[n[t+6]]+o[n[t+7]]+"-"+o[n[t+8]]+o[n[t+9]]+"-"+o[n[t+10]]+o[n[t+11]]+o[n[t+12]]+o[n[t+13]]+o[n[t+14]]+o[n[t+15]]}(u)}const u=({authToken:n,apiOrigin:t})=>{async function r(){return n?{Authorization:`Bearer ${n}`,"Idempotency-Key":c(),"Content-Type":"application/json"}:{"Content-Type":"application/json"}}async function o(n,o,e,c,u){const i=`${t}/v1/${n}`,a=e?`${i}?${new URLSearchParams(e)}`:i,p=await fetch(a,{method:o,headers:await r(),body:c,signal:u});if(p)return 204===p.status?{}:p.json();!function(n){console.error(`Error fetching from ${n}`)}(a)}return{get:async function(n,t,r){return o(n,"GET",t,null,r)},post:async function(n,t,r,e){return o(n,"POST",r,JSON.stringify(t),e)},put:async function(n,t,r,e){return o(n,"PUT",r,JSON.stringify(t),e)},patch:async function(n,t,r,e){return o(n,"PATCH",r,JSON.stringify(t),e)},destroy:async function(n,t,r){return o(n,"DELETE",t,null,r)}}};export{u as A}
1
+ let n;const t=new Uint8Array(16);function r(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(t)}const o=[];for(let n=0;n<256;++n)o.push((n+256).toString(16).slice(1));const e={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function c(n,t,c){if(e.randomUUID&&!t&&!n)return e.randomUUID();const u=(n=n||{}).random||(n.rng||r)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){c=c||0;for(let n=0;n<16;++n)t[c+n]=u[n];return t}return function(n,t=0){return o[n[t+0]]+o[n[t+1]]+o[n[t+2]]+o[n[t+3]]+"-"+o[n[t+4]]+o[n[t+5]]+"-"+o[n[t+6]]+o[n[t+7]]+"-"+o[n[t+8]]+o[n[t+9]]+"-"+o[n[t+10]]+o[n[t+11]]+o[n[t+12]]+o[n[t+13]]+o[n[t+14]]+o[n[t+15]]}(u)}const u=({authToken:n,apiOrigin:t})=>{async function r(r,o,e,u,i,a){const p=`${t}/v1/${r}`,s=e?`${p}?${new URLSearchParams(e)}`:p,y=await async function(){return n?{Authorization:`Bearer ${n}`,"Idempotency-Key":c(),"Content-Type":"application/json"}:{"Content-Type":"application/json"}}(),f=Object.assign(Object.assign({},y),a),d=await fetch(s,{method:o,headers:f,body:u,signal:i});if(d)return 204===d.status?{}:d.json();!function(n){console.error(`Error fetching from ${n}`)}(s)}return{get:async function(n,t,o,e){return r(n,"GET",t,null,o,e)},post:async function(n,t,o,e){return r(n,"POST",o,JSON.stringify(t),e)},put:async function(n,t,o,e){return r(n,"PUT",o,JSON.stringify(t),e)},patch:async function(n,t,o,e){return r(n,"PATCH",o,JSON.stringify(t),e)},destroy:async function(n,t,o){return r(n,"DELETE",t,null,o)}}};export{u as A}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a}from"./p-fad19d75.js";import{c as o}from"./p-5a62fca2.js";import{J as r}from"./p-bc9ae56f.js";import"./p-6d4b585d.js";import"./p-7d3be485.js";const i=class{constructor(a){e(this,a),this.bankAccountFormReady=t(this,"bankAccountFormReady",7),this.ready=t(this,"ready",7),this.bankAccountFormTokenized=t(this,"bankAccountFormTokenize",7),this.bankAccountFormValidated=t(this,"bankAccountFormValidate",7),this.validationMode=void 0,this.iframeOrigin=o.iframeOrigin,this.internalStyleOverrides=void 0}readyHandler(e){console.warn("The 'bankAccountFormReady' event is deprecated in the next major release and will be renamed to 'ready'"),this.bankAccountFormReady.emit(e),this.ready.emit(e)}tokenizeHandler(e){console.warn("The 'bankAccountFormTokenized' event is deprecated in the next major release. Please refer to the documentation for the migration process and alternative approach. This method will be removed in the future."),this.bankAccountFormTokenized.emit(e)}validateHandler(e){console.warn("The 'bankAccountFormValidate' event is deprecated in the next major release. Please refer to the documentation for the migration process and alternative approach. This method will be removed in the future."),this.bankAccountFormValidated.emit(e)}componentWillLoad(){this.analytics=new r(this)}disconnectedCallback(){this.analytics.cleanup()}async tokenize(...e){if(!this.childRef)throw new Error("Cannot call tokenize");return this.childRef.tokenize(...e)}async validate(){if(!this.childRef)throw new Error("Cannot call validate");return this.childRef.validate()}async resize(){if(console.warn("The 'resize' method is deprecated and will be removed in the next major release. Please refer to the documentation for the migration process and alternative approach."),!this.childRef)throw new Error("Cannot call validate");return this.childRef.resize()}render(){return a("justifi-payment-method-form",{key:"e2fa64d199a6c550329c9797a6951335e7c12bc6",ref:e=>{e&&(this.childRef=e)},"iframe-origin":this.iframeOrigin,"payment-method-form-type":"bankAccount","payment-method-form-ready":this.bankAccountFormReady,"payment-method-form-validated":this.bankAccountFormValidated,"payment-method-form-tokenize":this.bankAccountFormTokenized,"payment-method-form-validation-mode":this.validationMode||"onSubmit"})}};export{i as justifi_bank_account_form}
1
+ import{r as e,c as t,h as a}from"./p-fad19d75.js";import{c as o}from"./p-5a62fca2.js";import{J as r}from"./p-7fea661a.js";import"./p-fb2005de.js";import"./p-0e180654.js";const i=class{constructor(a){e(this,a),this.bankAccountFormReady=t(this,"bankAccountFormReady",7),this.ready=t(this,"ready",7),this.bankAccountFormTokenized=t(this,"bankAccountFormTokenize",7),this.bankAccountFormValidated=t(this,"bankAccountFormValidate",7),this.validationMode=void 0,this.iframeOrigin=o.iframeOrigin,this.internalStyleOverrides=void 0}readyHandler(e){console.warn("The 'bankAccountFormReady' event is deprecated in the next major release and will be renamed to 'ready'"),this.bankAccountFormReady.emit(e),this.ready.emit(e)}tokenizeHandler(e){console.warn("The 'bankAccountFormTokenized' event is deprecated in the next major release. Please refer to the documentation for the migration process and alternative approach. This method will be removed in the future."),this.bankAccountFormTokenized.emit(e)}validateHandler(e){console.warn("The 'bankAccountFormValidate' event is deprecated in the next major release. Please refer to the documentation for the migration process and alternative approach. This method will be removed in the future."),this.bankAccountFormValidated.emit(e)}componentWillLoad(){this.analytics=new r(this)}disconnectedCallback(){this.analytics.cleanup()}async tokenize(...e){if(!this.childRef)throw new Error("Cannot call tokenize");return this.childRef.tokenize(...e)}async validate(){if(!this.childRef)throw new Error("Cannot call validate");return this.childRef.validate()}async resize(){if(console.warn("The 'resize' method is deprecated and will be removed in the next major release. Please refer to the documentation for the migration process and alternative approach."),!this.childRef)throw new Error("Cannot call validate");return this.childRef.resize()}render(){return a("justifi-payment-method-form",{key:"e2fa64d199a6c550329c9797a6951335e7c12bc6",ref:e=>{e&&(this.childRef=e)},"iframe-origin":this.iframeOrigin,"payment-method-form-type":"bankAccount","payment-method-form-ready":this.bankAccountFormReady,"payment-method-form-validated":this.bankAccountFormValidated,"payment-method-form-tokenize":this.bankAccountFormTokenized,"payment-method-form-validation-mode":this.validationMode||"onSubmit"})}};export{i as justifi_bank_account_form}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s}from"./p-fad19d75.js";import{c as i,d as a,e as r}from"./p-5968ff8a.js";import{I as o}from"./p-401d6607.js";import{F as d}from"./p-2eab3c90.js";import{O as h}from"./p-5e7c60d8.js";import{a as c}from"./p-a76ece26.js";import{i as n}from"./p-55182a59.js";import{B as f}from"./p-9c9c7dac.js";import{S as l,P as b}from"./p-525db3e8.js";import{u as m,a as u,b as p}from"./p-7d85af5c.js";import"./p-14c91ffd.js";import"./p-8115b2f4.js";import"./p-5a62fca2.js";import"./p-7d3be485.js";import"./p-1ff8810b.js";import"./p-6078a370.js";import"./p-5022f21c.js";import"./p-1815a43b.js";const y=class{constructor(s){t(this,s),this.errorEvent=e(this,"error-event",7),this.getOwner=void 0,this.patchOwner=void 0,this.postOwner=void 0,this.authToken=void 0,this.ownerId=void 0,this.businessId=void 0,this.allowOptionalFields=void 0,this.removeOwner=void 0,this.newFormOpen=void 0,this.ownersLength=void 0}async validate(){return this.coreComponent.validate()}async submit(){return this.coreComponent.submit()}async validateAndSubmit({onSuccess:t}){this.coreComponent.validateAndSubmit({onSuccess:t})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&(this.getOwner=i({authToken:this.authToken,identityId:this.ownerId,service:new o}),this.patchOwner=a({authToken:this.authToken,identityId:this.ownerId,service:new o}),this.postOwner=r({authToken:this.authToken,service:new o}))}render(){return s("owner-form-core",{key:"332d1e77d01886f13aba09b32b2d5f2199131619",ownerId:this.ownerId,businessId:this.businessId,getOwner:this.getOwner,patchOwner:this.patchOwner,postOwner:this.postOwner,allowOptionalFields:this.allowOptionalFields,removeOwner:this.removeOwner,newFormOpen:this.newFormOpen,ownersLength:this.ownersLength,ref:t=>this.coreComponent=t})}},v=class{loadingWatcher(){this.formLoading.emit(this.isLoading)}constructor(s){t(this,s),this.submitted=e(this,"submitted",7),this.ownerSubmitted=e(this,"ownerSubmitted",7),this.clickEvent=e(this,"click-event",7),this.formLoading=e(this,"formLoading",7),this.errorEvent=e(this,"error-event",7),this.getData=()=>{this.isLoading=!0,this.getOwner({onSuccess:t=>{this.instantiateOwner(t.data)},onError:({error:t,code:e,severity:s})=>{this.errorEvent.emit({message:t,errorCode:e,severity:s})},final:()=>this.isLoading=!1})},this.sendData=()=>(this.isLoading=!0,new Promise((t=>{this.ownerId?this.patchOwner({payload:this.payload,onSuccess:e=>{this.submitted.emit({data:e,metadata:{ownerID:e.data.id}}),this.ownerSubmitted.emit({id:e.data.id}),this.instantiateOwner(e.data),t(!0)},onError:({error:e,code:s,severity:i})=>{this.submitted.emit({data:{error:e}}),this.errorEvent.emit({message:e,errorCode:s,severity:i}),t(!1)},final:()=>this.isLoading=!1}):this.postOwner({payload:this.payload,onSuccess:e=>{this.submitted.emit({data:e,metadata:{ownerID:e.data.id}}),this.ownerSubmitted.emit({id:e.data.id}),this.instantiateOwner(e.data),t(!0)},onError:({error:e,code:s,severity:i})=>{this.submitted.emit({data:{error:e}}),this.errorEvent.emit({message:e,errorCode:s,severity:i}),t(!1)},final:()=>this.isLoading=!1})}))),this.instantiateOwner=async t=>{this.owner=Object.assign({},new h(t)),await this.formController.setInitialValues(this.owner)},this.handleAddOwner=()=>{this.clickEvent.emit({name:this.ownerId?c.updateOwner:c.addOwner})},this.handleRemoveOwner=()=>{this.removeOwner(this.ownerId),this.clickEvent.emit({name:c.removeOwner})},this.isLoading=!1,this.formController=void 0,this.errors={},this.owner={},this.ownerId=void 0,this.businessId=void 0,this.getOwner=void 0,this.patchOwner=void 0,this.postOwner=void 0,this.allowOptionalFields=void 0,this.removeOwner=void 0,this.newFormOpen=void 0,this.ownersLength=void 0,this.validate=this.validate.bind(this),this.submit=this.submit.bind(this),this.validateAndSubmit=this.validateAndSubmit.bind(this)}async returnOwnerData(){return this.ownerId}async validate(){return this.formController.validate()}async submit(){if(await this.validate())return this.sendData()}async validateAndSubmit(t){t.preventDefault(),await this.validate()&&this.submit()}get payload(){let t=new h(this.formController.values.getValue()).payload;return this.ownerId?t:Object.assign(Object.assign({},t),{business_id:this.businessId})}get formTitle(){return this.ownerId?"Edit Business Owner":"Add Business Owner"}get submitButtonText(){return this.ownerId?"Update":"Add"}get showRemoveButton(){return!(this.ownersLength<=1)&&(!(this.ownerId||!this.newFormOpen)||!(!this.ownerId||this.newFormOpen)||void 0)}componentWillLoad(){this.formController=new d(n("owner",this.allowOptionalFields)),this.ownerId?this.getData():this.instantiateOwner({})}componentDidLoad(){this.formController.errors.subscribe((t=>this.errors=Object.assign({},t)))}render(){return s("form",{key:"27f0d989f017bd03b84cf8c994fa96f9a65aad08",onSubmit:this.validateAndSubmit},s("fieldset",{key:"2c793f1f8777181e5db0a4cae5b9994d9188685e"},s("legend",{key:"a8951fcd990c8136cf6672424869f5c96def3cef",class:"fw-semibold fs-5"},this.formTitle),s("br",{key:"faaf0cc27c448452a5172ad7fcfcf510ec586d2b"}),s("div",{key:"486638ad24414a05f84ada3f37a89d0cc12e7ffb",class:"row gy-3"},s("owner-form-inputs",{key:"bdfe7cb3305f31d93321319ef14eee3e5b331381",ownerDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController}),s("div",{key:"9e5c63e0637e0bffe5ab77a1f73c203704115479",class:"d-flex gap-2 justify-content-start"},s(f,{key:"85de4b69c697ebf96778f538b1535bd1fb2c43e7",variant:"secondary",type:"button",onClick:this.handleRemoveOwner,hidden:!this.showRemoveButton},"Remove"),s(f,{key:"1dd026432f19f84ae2142101191e511ebd62c2b3",variant:"primary",type:"submit",onClick:this.handleAddOwner,disabled:this.isLoading},this.submitButtonText))),s("hr",{key:"2570611bbe663e2e128f03806ecb036ce750c80b"})))}static get watchers(){return{isLoading:["loadingWatcher"]}}},k=class{constructor(e){t(this,e),this.inputHandler=(t,e)=>{m(this.formController,{[t]:e})},this.onAddressFormUpdate=t=>{u(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),t))},this.ownerDefaultValue=void 0,this.errors=void 0,this.formController=void 0}render(){return s("div",{key:"6fcc165d4bc75b92403d9031ad98f05f6b1dcd34",class:"row gy-3"},s("div",{key:"74f1e42a13892e95497a99684ba9de64719edb72",class:"col-12 col-md-8"},s("form-control-text",{key:"29caea2b0b0a62822cc20c99e697f3db7c22a541",name:"name",label:"Full Name",defaultValue:this.ownerDefaultValue.name,errorText:this.errors.name,inputHandler:this.inputHandler})),s("div",{key:"5b0f8da9a0512de70558baa9cb188b4d5e773dc2",class:"col-12 col-md-4"},s("form-control-text",{key:"40d66a25fbf825fccb2e3c2b6a4b541a6888f5d7",name:"title",label:"Title",defaultValue:this.ownerDefaultValue.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),s("div",{key:"97646974ed1c539e70e602bfc8c42513b0d37c9d",class:"col-12 col-md-6"},s("form-control-text",{key:"5f4497d54b17f556c74b5c18ea25091306d5b6d6",name:"email",label:"Email Address",defaultValue:this.ownerDefaultValue.email,errorText:this.errors.email,inputHandler:this.inputHandler})),s("div",{key:"9aeb1227cd9afa053d62054222a361f42d20b925",class:"col-12 col-md-6"},s("form-control-number-masked",{key:"c97e405262075c980b7e571eb08ab2d9414fb4d5",name:"phone",label:"Phone Number",defaultValue:this.ownerDefaultValue.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:b.US})),s("div",{key:"35555ccd9bfa61bbeeb85aa9586c38902b3a08a6",class:"col-12 col-md-4"},s("form-control-date",{key:"9d865bdf390f2f88a0dc269462b6bce1d2a2675f",name:"dob_full",label:"Birth Date",defaultValue:this.ownerDefaultValue.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:t=>p(t,this.formController),helpText:"Must be 18 or older."})),s("div",{key:"8a16b08239069ac5ac5273471ab2eeae92a299d7",class:"col-12 col-md-8"},s("form-control-number-masked",{key:"8e74b1c7fef3087bd842394847c5b4c290be190c",name:"identification_number",label:"SSN",defaultValue:this.ownerDefaultValue.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:l,helpText:"Enter your full Social Security Number. It is required for Federal OFAC check."})),s("div",{key:"c07f5293a29e330d2ab62cfa72f5d56e7fdee7cf",class:"col-12"},s("justifi-identity-address-form",{key:"2b18ebc2f7de2004993d617b80067f55c6d3de4d",errors:this.errors.address,defaultValues:this.ownerDefaultValue.address,handleFormUpdate:this.onAddressFormUpdate})))}};export{y as justifi_owner_form,v as owner_form_core,k as owner_form_inputs}
1
+ import{r as t,c as e,h as s}from"./p-fad19d75.js";import{c as i,d as a,e as r}from"./p-5968ff8a.js";import{I as o}from"./p-f6f8dabc.js";import{F as d}from"./p-3c654c07.js";import{O as h}from"./p-5e7c60d8.js";import{a as c}from"./p-a76ece26.js";import{i as n}from"./p-907ba963.js";import{B as f}from"./p-9c9c7dac.js";import{S as l,P as b}from"./p-525db3e8.js";import{u as m,a as u,b as p}from"./p-7d85af5c.js";import"./p-14c91ffd.js";import"./p-8115b2f4.js";import"./p-5a62fca2.js";import"./p-0e180654.js";import"./p-1ff8810b.js";import"./p-6078a370.js";import"./p-c65b78cf.js";import"./p-1815a43b.js";const y=class{constructor(s){t(this,s),this.errorEvent=e(this,"error-event",7),this.getOwner=void 0,this.patchOwner=void 0,this.postOwner=void 0,this.authToken=void 0,this.ownerId=void 0,this.businessId=void 0,this.allowOptionalFields=void 0,this.removeOwner=void 0,this.newFormOpen=void 0,this.ownersLength=void 0}async validate(){return this.coreComponent.validate()}async submit(){return this.coreComponent.submit()}async validateAndSubmit({onSuccess:t}){this.coreComponent.validateAndSubmit({onSuccess:t})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&(this.getOwner=i({authToken:this.authToken,identityId:this.ownerId,service:new o}),this.patchOwner=a({authToken:this.authToken,identityId:this.ownerId,service:new o}),this.postOwner=r({authToken:this.authToken,service:new o}))}render(){return s("owner-form-core",{key:"332d1e77d01886f13aba09b32b2d5f2199131619",ownerId:this.ownerId,businessId:this.businessId,getOwner:this.getOwner,patchOwner:this.patchOwner,postOwner:this.postOwner,allowOptionalFields:this.allowOptionalFields,removeOwner:this.removeOwner,newFormOpen:this.newFormOpen,ownersLength:this.ownersLength,ref:t=>this.coreComponent=t})}},v=class{loadingWatcher(){this.formLoading.emit(this.isLoading)}constructor(s){t(this,s),this.submitted=e(this,"submitted",7),this.ownerSubmitted=e(this,"ownerSubmitted",7),this.clickEvent=e(this,"click-event",7),this.formLoading=e(this,"formLoading",7),this.errorEvent=e(this,"error-event",7),this.getData=()=>{this.isLoading=!0,this.getOwner({onSuccess:t=>{this.instantiateOwner(t.data)},onError:({error:t,code:e,severity:s})=>{this.errorEvent.emit({message:t,errorCode:e,severity:s})},final:()=>this.isLoading=!1})},this.sendData=()=>(this.isLoading=!0,new Promise((t=>{this.ownerId?this.patchOwner({payload:this.payload,onSuccess:e=>{this.submitted.emit({data:e,metadata:{ownerID:e.data.id}}),this.ownerSubmitted.emit({id:e.data.id}),this.instantiateOwner(e.data),t(!0)},onError:({error:e,code:s,severity:i})=>{this.submitted.emit({data:{error:e}}),this.errorEvent.emit({message:e,errorCode:s,severity:i}),t(!1)},final:()=>this.isLoading=!1}):this.postOwner({payload:this.payload,onSuccess:e=>{this.submitted.emit({data:e,metadata:{ownerID:e.data.id}}),this.ownerSubmitted.emit({id:e.data.id}),this.instantiateOwner(e.data),t(!0)},onError:({error:e,code:s,severity:i})=>{this.submitted.emit({data:{error:e}}),this.errorEvent.emit({message:e,errorCode:s,severity:i}),t(!1)},final:()=>this.isLoading=!1})}))),this.instantiateOwner=async t=>{this.owner=Object.assign({},new h(t)),await this.formController.setInitialValues(this.owner)},this.handleAddOwner=()=>{this.clickEvent.emit({name:this.ownerId?c.updateOwner:c.addOwner})},this.handleRemoveOwner=()=>{this.removeOwner(this.ownerId),this.clickEvent.emit({name:c.removeOwner})},this.isLoading=!1,this.formController=void 0,this.errors={},this.owner={},this.ownerId=void 0,this.businessId=void 0,this.getOwner=void 0,this.patchOwner=void 0,this.postOwner=void 0,this.allowOptionalFields=void 0,this.removeOwner=void 0,this.newFormOpen=void 0,this.ownersLength=void 0,this.validate=this.validate.bind(this),this.submit=this.submit.bind(this),this.validateAndSubmit=this.validateAndSubmit.bind(this)}async returnOwnerData(){return this.ownerId}async validate(){return this.formController.validate()}async submit(){if(await this.validate())return this.sendData()}async validateAndSubmit(t){t.preventDefault(),await this.validate()&&this.submit()}get payload(){let t=new h(this.formController.values.getValue()).payload;return this.ownerId?t:Object.assign(Object.assign({},t),{business_id:this.businessId})}get formTitle(){return this.ownerId?"Edit Business Owner":"Add Business Owner"}get submitButtonText(){return this.ownerId?"Update":"Add"}get showRemoveButton(){return!(this.ownersLength<=1)&&(!(this.ownerId||!this.newFormOpen)||!(!this.ownerId||this.newFormOpen)||void 0)}componentWillLoad(){this.formController=new d(n("owner",this.allowOptionalFields)),this.ownerId?this.getData():this.instantiateOwner({})}componentDidLoad(){this.formController.errors.subscribe((t=>this.errors=Object.assign({},t)))}render(){return s("form",{key:"d7ab875b1efd58b9d17e40789eb43454d5601f47",onSubmit:this.validateAndSubmit},s("fieldset",{key:"144871e2128c17ea843d3d0dc2c7b5dd51057107"},s("legend",{key:"b9a2229e0cb1220c2b848f56f512816253d98e36",class:"fw-semibold fs-5"},this.formTitle),s("br",{key:"d95786bee5d4640f970bfccea626a6d0bc7fb4a6"}),s("div",{key:"f74c1b45eda698ca786214c2d30342ead9c820f0",class:"row gy-3"},s("owner-form-inputs",{key:"bc6a213dc74e1f30c7c18f65a31e1aaa9130746a",ownerDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController}),s("div",{key:"e7536fc512a652bde416259b7f6177e5957b893f",class:"d-flex gap-2 justify-content-start"},s(f,{key:"61c88e81e942f2e324b24b2634fe365863a2f23f",variant:"secondary",type:"button",onClick:this.handleRemoveOwner,hidden:!this.showRemoveButton},"Remove"),s(f,{key:"c280f92cf606abbc1ba30bef331407af7db9cb19",variant:"primary",type:"submit",onClick:this.handleAddOwner,disabled:this.isLoading},this.submitButtonText))),s("hr",{key:"10658eebfb37c21186b7a5d36e60db5daa9f26f6"})))}static get watchers(){return{isLoading:["loadingWatcher"]}}},k=class{constructor(e){t(this,e),this.inputHandler=(t,e)=>{m(this.formController,{[t]:e})},this.onAddressFormUpdate=t=>{u(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),t))},this.ownerDefaultValue=void 0,this.errors=void 0,this.formController=void 0}render(){return s("div",{key:"00c4e99a70bdeac642774796bb6a983ad926b86d",class:"row gy-3"},s("div",{key:"457ba67f652e7ec33909764667b76b25c0c01f75",class:"col-12 col-md-8"},s("form-control-text",{key:"33293c6a0fc131c1db2d498f2ea8774cb9689b8e",name:"name",label:"Full Name",defaultValue:this.ownerDefaultValue.name,errorText:this.errors.name,inputHandler:this.inputHandler})),s("div",{key:"07be686fa8f43b04bd3a925e969ecede1286e651",class:"col-12 col-md-4"},s("form-control-text",{key:"c89285d508e0d809332f529edef3e6d3a68c4993",name:"title",label:"Title",defaultValue:this.ownerDefaultValue.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),s("div",{key:"76af9226fb138b2698c254ba26749b5d372ee14d",class:"col-12 col-md-6"},s("form-control-text",{key:"37f334b0ee260501fd99845b6196a94c56fd16da",name:"email",label:"Email Address",defaultValue:this.ownerDefaultValue.email,errorText:this.errors.email,inputHandler:this.inputHandler})),s("div",{key:"3750f6f86d1bc3c3a1796a06ef4119ee188f2b56",class:"col-12 col-md-6"},s("form-control-number-masked",{key:"283f5179e64378a7a07a654d28511558de03ca68",name:"phone",label:"Phone Number",defaultValue:this.ownerDefaultValue.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:b.US})),s("div",{key:"48186c6dfe8cd2a27de92db9970953e1e99340f2",class:"col-12 col-md-4"},s("form-control-date",{key:"6d90d43875feefd24477279232a21b4ac7a7b7bc",name:"dob_full",label:"Birth Date",defaultValue:this.ownerDefaultValue.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:t=>p(t,this.formController),helpText:"Must be 18 or older."})),s("div",{key:"19b1a6fd0dd52d3d5f52cf764ff429bd26ba8cdd",class:"col-12 col-md-8"},s("form-control-number-masked",{key:"5a7ea47c254967f0d3d546ac9949dfa3d670bc25",name:"identification_number",label:"SSN",defaultValue:this.ownerDefaultValue.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:l,helpText:"Enter your full Social Security Number. It is required for Federal OFAC check."})),s("div",{key:"59c4fcb4186d488497d66479fced70bf2dc24d89",class:"col-12"},s("justifi-identity-address-form",{key:"faff7bb194f9c2c2ff80193db18ab0030f34fc09",errors:this.errors.address,defaultValues:this.ownerDefaultValue.address,handleFormUpdate:this.onAddressFormUpdate})))}};export{y as justifi_owner_form,v as owner_form_core,k as owner_form_inputs}
@@ -0,0 +1 @@
1
+ class i{constructor(i){this.payment_mode=s[i.payment_mode],this.payment_token=i.payment_token,this.payment_status=i.payment_status,this.payment_response=i.payment_response,this.payment_error_code=i.payment_error_code,this.payment_error_description=i.payment_error_description,this.checkout_id=i.checkout_id,this.additional_transactions=i.additional_transactions,this.payment_id=i.payment_id,this.payment_method_id=i.payment_method_id,this.status=i.status,this.created_at=i.created_at,this.updated_at=i.updated_at}}class t{constructor(t){var s;this.id=t.id,this.description=t.description,this.payment_intent_id=t.payment_intent_id,this.account_id=t.account_id,this.platform_account_id=t.platform_account_id,this.payment_amount=t.payment_amount,this.payment_client_id=t.payment_client_id,this.payment_description=t.payment_description,this.payment_methods=t.payment_methods,this.payment_method_group_id=t.payment_method_group_id,this.payment_settings=t.payment_settings,this.bnpl=t.bnpl,this.total_amount=t.total_amount,this.insurance_amount=t.insurance_amount,this.status=t.status,this.payment_currency=t.payment_currency,this.mode=t.mode,this.statement_descriptor=t.statement_descriptor,this.application_fees=t.application_fees,this.successful_payment_id=t.successful_payment_id,this.created_at=t.created_at,this.updated_at=t.updated_at,this.completions=null===(s=t.completions)||void 0===s?void 0:s.map((t=>new i(t)))}get payment_mode(){var i,t,h,o,n,e;let d;if(!this.completions||0===this.completions.length)return s.unknown;const l=this.completions.sort(((i,t)=>new Date(t.updated_at).getTime()-new Date(i.updated_at).getTime()))[0];return l.payment_mode?d=l.payment_mode:(null===(h=null===(t=null===(i=l.payment_response)||void 0===i?void 0:i.data)||void 0===t?void 0:t.payment_method)||void 0===h?void 0:h.card)?d=s.card:(null===(e=null===(n=null===(o=l.payment_response)||void 0===o?void 0:o.data)||void 0===n?void 0:n.payment_method)||void 0===e?void 0:e.bank_account)&&(d=s.bank_account),d}}var s,h;!function(i){i.bnpl="Buy Now Pay Later",i.ecom="E-commerce",i.card="Card",i.bank_account="Bank Account",i.card_present="Card Present",i.unknown=""}(s||(s={})),function(i){i.failed="failed",i.succeeded="succeeded"}(h||(h={}));export{t as C}
@@ -0,0 +1 @@
1
+ import{r as s,c as i,h as t,H as r}from"./p-fad19d75.js";import{E as e}from"./p-a8b4f429.js";import{B as o}from"./p-f6f8dabc.js";import{B as a}from"./p-5e7c60d8.js";import{C as n,a as p}from"./p-14c91ffd.js";import{g as d,a as c}from"./p-8115b2f4.js";import{J as h}from"./p-7fea661a.js";import{c as f}from"./p-74822344.js";import"./p-5a62fca2.js";import"./p-0e180654.js";import"./p-1ff8810b.js";import"./p-6078a370.js";import"./p-fb2005de.js";const m=class{constructor(t){s(this,t),this.errorEvent=i(this,"error-event",7),this.businessId=void 0,this.authToken=void 0,this.errorMessage=void 0,this.getBusiness=void 0}componentWillLoad(){f(),this.analytics=new h(this),this.initializeGetBusiness()}disconnectedCallback(){this.analytics.cleanup()}initializeGetBusiness(){if(!this.businessId||!this.authToken)return this.errorMessage="Invalid business id or auth token",void this.errorEvent.emit({errorCode:p.MISSING_PROPS,message:this.errorMessage,severity:n.ERROR});this.getBusiness=(({id:s,authToken:i,service:t})=>async({onSuccess:r,onError:e})=>{var o;try{const p=await t.fetchBusiness(s,i);if(p.error)return e({error:d(p.error),code:c(null===(o=p.error)||void 0===o?void 0:o.code),severity:n.ERROR});r({business:new a(p.data)})}catch(s){const i=c(null==s?void 0:s.code);return e({error:s.message||s,code:i,severity:n.ERROR})}})({id:this.businessId,authToken:this.authToken,service:new o})}render(){return t(r,null,this.errorMessage?e(this.errorMessage):t("business-details-core",{getBusiness:this.getBusiness}))}};export{m as justifi_business_details}
@@ -0,0 +1 @@
1
+ import{r as e,h as o,c as t,H as i}from"./p-fad19d75.js";import{c as r,F as n}from"./p-3c654c07.js";import{u as a,l as s,k as d,m as f,n as c,q as l}from"./p-c65b78cf.js";import{S as u}from"./p-6078a370.js";import{n as m}from"./p-e3c22aa9.js";import{S as h}from"./p-74da98da.js";import{p as b}from"./p-fb2005de.js";import{j as w}from"./p-a8f22d4d.js";import"./p-1815a43b.js";import"./p-5e7c60d8.js";import"./p-1ff8810b.js";const g=r({name:a.required("Enter full name"),address_line1:s.required("Enter street address"),address_line2:d.nullable(),address_city:f.required("Enter city"),address_state:c.required("Select state"),address_postal_code:l.required("Enter postal code")}),p=class{constructor(o){e(this,o),this.inputHandler=(e,o)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:o}))},this.legend=void 0,this.formController=void 0,this.billingInfo=void 0,this.errors={}}componentWillLoad(){this.formController=new n(g)}componentDidLoad(){this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate()}}render(){const e=this.formController.getInitialValues();return o(h,{key:"221838c3ba8255b62db0f2feee7b227b0d240627",exportparts:"label,input,input-invalid"},o("form",{key:"87377d7776c3fdf7ffa351f25522921b233dd16f"},o("fieldset",{key:"821487e408ec634dd23417604f02f1aa212dcb2a"},this.legend&&o("legend",{key:"c042f51480e23ad455a6d3fc420f494c33d93f2c"},this.legend),o("div",{key:"6a9f2c0fd10c7786b132f7208036cf878e3fe8c1",class:"row gy-3"},o("div",{key:"b375c19faeb23927e290c4a60b4347dc64868840",class:"col-12"},o("form-control-text",{key:"be3b78234607f996efe8971082ff457e63767e22",name:"name",label:"Full Name",defaultValue:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),o("div",{key:"95d3f3bb6ff7df39deb2967db11017e8f80ca5a9",class:"col-12"},o("form-control-text",{key:"9e719038219bf7b7651679b617b2131ab5336289",name:"address_line1",label:"Street Address",defaultValue:e.address_line1,errorText:this.errors.address_line1,inputHandler:this.inputHandler})),o("div",{key:"0945bca70a70abfdce40c8d52537eb06479aface",class:"col-12"},o("form-control-text",{key:"59b9b87c005609daf501b0d7d6a8d640297c75c4",name:"address_line2",label:"Apartment, Suite, etc. (optional)",defaultValue:e.address_line2,errorText:this.errors.address_line2,inputHandler:this.inputHandler})),o("div",{key:"f3e9d8297e9e4009a0b16f331eeffb1316a92030",class:"col-12"},o("form-control-text",{key:"158a4d2e3e85700a5c80304e0316391090b52f74",name:"address_city",label:"City",defaultValue:e.address_city,errorText:this.errors.address_city,inputHandler:this.inputHandler})),o("div",{key:"67110a816d76d4c98062859733def72e88f1a3d9",class:"col-12"},o("form-control-select",{key:"d26b22251d6da9d8f7b8bb109126e804cdfbccb0",name:"address_state",label:"State",options:u,defaultValue:e.address_state,errorText:this.errors.address_state,inputHandler:this.inputHandler})),o("div",{key:"a248ef0a4860d9d634f46e96cc953c8ca0ee64f1",class:"col-12"},o("form-control-text",{key:"36f96a7e94088dd140ca9774903387ae2be3cad8",name:"address_postal_code",label:"ZIP",defaultValue:e.address_postal_code,errorText:this.errors.address_postal_code,inputHandler:this.inputHandler,maxLength:5,keyDownHandler:m}))))))}};p.style=":host{display:block}justifi-billing-form{margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}*::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){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)}";var v,y={exports:{}};v=y,console.info("\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n"),function(e){if("undefined"!=typeof window){var o,t,i=0,r=!1,n=!1,a=7,s="[iFrameSizer]",d=s.length,f=null,c=window.requestAnimationFrame,l=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),u={},m=null,h=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){x("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),b={};window.jQuery!==e&&((t=window.jQuery).fn?t.fn.iFrameResize||(t.fn.iFrameResize=function(e){return this.filter("iframe").each((function(o,t){N(t,e)})).end()}):k("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof e&&e.amd?e([],P):v.exports=P(),window.iFrameResize=window.iFrameResize||P()}function w(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function g(e,o,t){e.addEventListener(o,t,!1)}function p(e,o,t){e.removeEventListener(o,t,!1)}function y(e){return u[e]?u[e].log:r}function j(e,o){z("log",e,o,y(e))}function k(e,o){z("info",e,o,y(e))}function x(e,o){z("warn",e,o,!0)}function z(e,o,t,i){!0===i&&"object"==typeof window.console&&console[e](function(e){return s+"["+function(e){var o="Host page: "+e;return window.top!==window.self&&(o=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),o}(e)+"]"}(o),t)}function F(e){function o(){t("Height"),t("Width"),W((function(){E(V),T(L),h("onResized",V)}),V,"init")}function t(e){var o=Number(u[L]["max"+e]),t=Number(u[L]["min"+e]),i=e.toLowerCase(),r=Number(V[i]);j(L,"Checking "+i+" is in range "+t+"-"+o),r<t&&(r=t,j(L,"Set "+i+" to min value")),r>o&&(r=o,j(L,"Set "+i+" to max value")),V[i]=""+r}function i(e){return N.slice(N.indexOf(":")+a+e)}function r(e,o){var t,i;t=function(){var t,i;H("Send Page Info","pageInfo:"+(t=document.body.getBoundingClientRect(),i=V.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:i.height,iframeWidth:i.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(i.top-t.top,10),offsetLeft:parseInt(i.left-t.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,o)},b[i=o]||(b[i]=setTimeout((function(){b[i]=null,t()}),32))}function n(e){var o=e.getBoundingClientRect();return O(L),{x:Math.floor(Number(o.left)+Number(f.x)),y:Math.floor(Number(o.top)+Number(f.y))}}function c(e){var o=e?n(V.iframe):{x:0,y:0},t={x:Number(V.width)+o.x,y:Number(V.height)+o.y};j(L,"Reposition requested from iFrame (offset x:"+o.x+" y:"+o.y+")"),window.top===window.self?(f=t,l(),j(L,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](t.x,t.y):x(L,"Unable to scroll to requested position, window.parentIFrame not found")}function l(){!1===h("onScroll",f)?R():T(L)}function m(e){var o={};if(0===Number(V.width)&&0===Number(V.height)){var t=i(9).split(":");o={x:t[1],y:t[0]}}else o={x:V.width,y:V.height};h(e,{iframe:V.iframe,screenX:Number(o.x),screenY:Number(o.y),type:V.type})}function h(e,o){return S(L,e,o)}var w,v,y,z,F,M,N=e.data,V={},L=null;"[iFrameResizerChild]Ready"===N?function(){for(var e in u)H("iFrame requested init",A(e),u[e].iframe,e)}():s===(""+N).slice(0,d)&&N.slice(d).split(":")[0]in u?(z=(y=N.slice(d).split(":"))[1]?parseInt(y[1],10):0,F=u[y[0]]&&u[y[0]].iframe,M=getComputedStyle(F),V={iframe:F,id:y[0],height:z+function(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}(M)+function(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}(M),width:y[2],type:y[3]},u[L=V.id]&&(u[L].loaded=!0),(v=V.type in{true:1,false:1,undefined:1})&&j(L,"Ignoring init message from meta parent page"),!v&&function(e){var o=!0;return u[e]||(o=!1,x(V.type+" No settings for "+e+". Message was: "+N)),o}(L)&&(j(L,"Received: "+N),w=!0,null===V.iframe&&(x(L,"IFrame ("+V.id+") not found"),w=!1),w&&function(){var o,t=e.origin,i=u[L]&&u[L].checkOrigin;if(i&&""+t!="null"&&!(i.constructor===Array?function(){var e=0,o=!1;for(j(L,"Checking connection is from allowed list of origins: "+i);e<i.length;e++)if(i[e]===t){o=!0;break}return o}():(j(L,"Checking connection is from: "+(o=u[L]&&u[L].remoteHost)),t===o)))throw new Error("Unexpected message received from: "+t+" for "+V.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(u[L]&&u[L].firstRun&&u[L]&&(u[L].firstRun=!1),V.type){case"close":I(V.iframe);break;case"message":d=i(6),j(L,"onMessage passed: {iframe: "+V.iframe.id+", message: "+d+"}"),h("onMessage",{iframe:V.iframe,message:JSON.parse(d)}),j(L,"--");break;case"mouseenter":m("onMouseEnter");break;case"mouseleave":m("onMouseLeave");break;case"autoResize":u[L].autoResize=JSON.parse(i(9));break;case"scrollTo":c(!1);break;case"scrollToOffset":c(!0);break;case"pageInfo":r(u[L]&&u[L].iframe,L),function(){function e(e,i){function n(){u[t]?r(u[t].iframe,t):o()}["scroll","resize"].forEach((function(o){j(t,e+o+" listener for sendPageInfo"),i(window,o,n)}))}function o(){e("Remove ",p)}var t=L;e("Add ",g),u[t]&&(u[t].stopPageInfo=o)}();break;case"pageInfoStop":u[L]&&u[L].stopPageInfo&&(u[L].stopPageInfo(),delete u[L].stopPageInfo);break;case"inPageLink":t=i(9).split("#")[1]||"",a=decodeURIComponent(t),(s=document.getElementById(a)||document.getElementsByName(a)[0])?(e=n(s),j(L,"Moving to in page link (#"+t+") at x: "+e.x+" y: "+e.y),f={x:e.x,y:e.y},l(),j(L,"--")):window.top===window.self?j(L,"In page link #"+t+" not found"):window.parentIFrame?window.parentIFrame.moveToAnchor(t):j(L,"In page link #"+t+" not found and window.parentIFrame not found");break;case"reset":C(V);break;case"init":o(),h("onInit",V.iframe);break;default:0===Number(V.width)&&0===Number(V.height)?x("Unsupported message received ("+V.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):o()}var e,t,a,s,d}())):k(L,"Ignored: "+N)}function S(e,o,t){var i=null,r=null;if(u[e]){if("function"!=typeof(i=u[e][o]))throw new TypeError(o+" on iFrame["+e+"] is not a function");r=i(t)}return r}function M(e){delete u[e.id]}function I(e){var t=e.id;if(!1!==S(t,"onClose",t)){j(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){x(e)}S(t,"onClosed",t),j(t,"--"),M(e),o&&(o.disconnect(),o=null)}else j(t,"Close iframe cancelled by onClose event")}function O(o){null===f&&j(o,"Get page position: "+(f={x:window.pageXOffset===e?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===e?document.documentElement.scrollTop:window.pageYOffset}).x+","+f.y)}function T(e){null!==f&&(window.scrollTo(f.x,f.y),j(e,"Set page position: "+f.x+","+f.y),R())}function R(){f=null}function C(e){j(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),O(e.id),W((function(){E(e),H("reset","reset",e.iframe,e.id)}),e,"reset")}function E(e){function o(o){n||"0"!==e[o]||(n=!0,j(i,"Hidden iFrame detected, creating visibility listener"),function(){function e(){Object.keys(u).forEach((function(e){!function(e){function o(o){return"0px"===(u[e]&&u[e].iframe.style[o])}u[e]&&null!==u[e].iframe.offsetParent&&(o("height")||o("width"))&&H("Visibility change","resize",u[e].iframe,e)}(e)}))}function o(o){j("window","Mutation observed: "+o[0].target+" "+o[0].type),V(e,16)}var t,i=w();i&&(t=document.querySelector("body"),new i(o).observe(t,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}())}function t(t){!function(o){e.id?(e.iframe.style[o]=e[o]+"px",j(e.id,"IFrame ("+i+") "+o+" set to "+e[o]+"px")):j("undefined","messageData id not set")}(t),o(t)}var i=e.iframe.id;u[i]&&(u[i].sizeHeight&&t("height"),u[i].sizeWidth&&t("width"))}function W(e,o,t){t!==o.type&&c&&!window.jasmine?(j(o.id,"Requesting animation frame"),c(e)):e()}function H(e,o,t,i,r){var n,a=!1;u[i=i||t.id]&&(t&&"contentWindow"in t&&null!==t.contentWindow?(j(i,"["+e+"] Sending msg to iframe["+i+"] ("+o+") targetOrigin: "+(n=u[i]&&u[i].targetOrigin)),t.contentWindow.postMessage(s+o,n)):x(i,"["+e+"] IFrame("+i+") not found"),r&&u[i]&&u[i].warningTimeout&&(u[i].msgTimeout=setTimeout((function(){!u[i]||u[i].loaded||a||(a=!0,x(i,"IFrame has not responded within "+u[i].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),u[i].warningTimeout)))}function A(e){return e+":"+u[e].bodyMarginV1+":"+u[e].sizeWidth+":"+u[e].log+":"+u[e].interval+":"+u[e].enablePublicMethods+":"+u[e].autoResize+":"+u[e].bodyMargin+":"+u[e].heightCalculationMethod+":"+u[e].bodyBackground+":"+u[e].bodyPadding+":"+u[e].tolerance+":"+u[e].inPageLinks+":"+u[e].resizeFrom+":"+u[e].widthCalculationMethod+":"+u[e].mouseEvents}function N(t,n){function a(e){var o=e.split("Callback");if(2===o.length){var t="on"+o[0].charAt(0).toUpperCase()+o[0].slice(1);this[t]=this[e],delete this[e],x(f,"Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}var s,d,f=function(e){if("string"!=typeof e)throw new TypeError("Invaild id for iFrame. Expected String");var o;return""===e&&(t.id=(o=n&&n.id||h.id+i++,null!==document.getElementById(o)&&(o+=i++),e=o),r=(n||{}).log,j(e,"Added missing iframe ID: "+e+" ("+t.src+")")),e}(t.id);f in u&&"iFrameResizer"in t?x(f,"Ignored iFrame, already setup."):(function(e){var o;e=e||{},u[f]=Object.create(null),u[f].iframe=t,u[f].firstRun=!0,u[f].remoteHost=t.src&&t.src.split("/").slice(0,3).join("/"),function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(e),Object.keys(e).forEach(a,e),function(e){for(var o in h)Object.prototype.hasOwnProperty.call(h,o)&&(u[f][o]=Object.prototype.hasOwnProperty.call(e,o)?e[o]:h[o])}(e),u[f]&&(u[f].targetOrigin=!0===u[f].checkOrigin?""===(o=u[f].remoteHost)||null!==o.match(/^(about:blank|javascript:|file:\/\/)/)?"*":o:"*")}(n),function(){switch(j(f,"IFrame scrolling "+(u[f]&&u[f].scrolling?"enabled":"disabled")+" for "+f),t.style.overflow=!1===(u[f]&&u[f].scrolling)?"hidden":"auto",u[f]&&u[f].scrolling){case"omit":break;case!0:t.scrolling="yes";break;case!1:t.scrolling="no";break;default:t.scrolling=u[f]?u[f].scrolling:"no"}}(),function(){function e(e){var o=u[f][e];1/0!==o&&0!==o&&(t.style[e]="number"==typeof o?o+"px":o,j(f,"Set "+e+" = "+t.style[e]))}function o(e){if(u[f]["min"+e]>u[f]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}o("Height"),o("Width"),e("maxHeight"),e("minHeight"),e("maxWidth"),e("minWidth")}(),"number"!=typeof(u[f]&&u[f].bodyMargin)&&"0"!==(u[f]&&u[f].bodyMargin)||(u[f].bodyMarginV1=u[f].bodyMargin,u[f].bodyMargin=u[f].bodyMargin+"px"),s=A(f),(d=w())&&(o=function(e){if(!t.parentNode)return null;var o=new e((function(e){e.forEach((function(e){Array.prototype.slice.call(e.removedNodes).forEach((function(e){e===t&&I(t)}))}))}));return o.observe(t.parentNode,{childList:!0}),o}(d)),g(t,"load",(function(){H("iFrame.onload",s,t,e,!0),(!u[f]||!u[f].firstRun)&&u[f]&&u[f].heightCalculationMethod in l&&C({iframe:t,height:0,width:0,type:"init"})})),H("init",s,t,e,!0),u[f]&&(u[f].iframe.iFrameResizer={close:I.bind(null,u[f].iframe),removeListeners:M.bind(null,u[f].iframe),resize:H.bind(null,"Window resize","resize",u[f].iframe),moveToAnchor:function(e){H("Move to anchor","moveToAnchor:"+e,u[f].iframe,f)},sendMessage:function(e){H("Send Message","message:"+(e=JSON.stringify(e)),u[f].iframe,f)}}))}function V(e,o){null===m&&(m=setTimeout((function(){m=null,e()}),o))}function L(){"hidden"!==document.visibilityState&&(j("document","Trigger event: Visibility change"),V((function(){_("Tab Visible","resize")}),16))}function _(e,o){Object.keys(u).forEach((function(t){(function(e){return u[e]&&"parent"===u[e].resizeFrom&&u[e].autoResize&&!u[e].firstRun})(t)&&H(e,o,u[t].iframe,t)}))}function P(){function o(e,o){o&&(function(){if(!o.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==o.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+o.tagName+">")}(),N(o,e),t.push(o))}var t;return function(){var e,o=["moz","webkit","o","ms"];for(e=0;e<o.length&&!c;e+=1)c=window[o[e]+"RequestAnimationFrame"];c?c=c.bind(window):j("setup","RequestAnimationFrame not supported")}(),g(window,"message",F),g(window,"resize",(function(){j("window","Trigger event: resize"),V((function(){_("Window resize","resize")}),16)})),g(document,"visibilitychange",L),g(document,"-webkit-visibilitychange",L),function(i,r){switch(t=[],function(e){e&&e.enablePublicMethods&&x("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(i),typeof r){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(r||"iframe"),o.bind(e,i));break;case"object":o(i,r);break;default:throw new TypeError("Unexpected data type ("+typeof r+")")}return t}}}();const j=y.exports,k={card:{ready:"justifi.card.ready",tokenize:"justifi.card.tokenize",validate:"justifi.card.validate",resize:"justifi.card.resize",styleOverrides:"justifi.card.styleOverrides"},bankAccount:{ready:"justifi.bankAccount.ready",tokenize:"justifi.bankAccount.tokenize",validate:"justifi.bankAccount.validate",resize:"justifi.bankAccount.resize",styleOverrides:"justifi.bankAccount.styleOverrides"}};class x{constructor(e,o){this.iframe=e,this.iframeOrigin=o}postMessage(e,o){const t=Object.assign({eventType:e},o);this.iframe.contentWindow.postMessage(t,this.iframeOrigin)}addMessageListener(e){window.addEventListener("message",e)}removeMessageListener(e){window.removeEventListener("message",e)}postMessageWithResponseListener(e,o){return new Promise((t=>{const i=o=>{o.data.eventType===e&&(window.removeEventListener("message",i),t(o.data.data))};window.addEventListener("message",i),this.postMessage(e,o)}))}}const z=class{constructor(o){e(this,o),this.paymentMethodFormReady=t(this,"paymentMethodFormReady",7),this.paymentMethodFormValidated=t(this,"paymentMethodFormValidated",7),this.paymentMethodFormTokenized=t(this,"paymentMethodFormTokenized",7),this.computedTheme=(()=>{const e=getComputedStyle(document.body);return{loadGoogleFont:e.getPropertyValue("--jfi-load-google-font"),layout:{fontFamily:e.getPropertyValue("--jfi-layout-font-family"),padding:e.getPropertyValue("--jfi-layout-padding"),formControlSpacingHorizontal:e.getPropertyValue("--jfi-layout-form-control-spacing-x"),formControlSpacingVertical:e.getPropertyValue("--jfi-layout-form-control-spacing-y")},formControl:{backgroundColor:e.getPropertyValue("--jfi-form-control-background-color"),borderColor:e.getPropertyValue("--jfi-form-control-border-color"),borderColorFocus:e.getPropertyValue("--jfi-form-control-border-color-focus"),borderColorError:e.getPropertyValue("--jfi-form-control-border-color-error"),borderWidth:e.getPropertyValue("--jfi-form-control-border-width"),borderBottomWidth:e.getPropertyValue("--jfi-form-control-border-bottom-width"),borderLeftWidth:e.getPropertyValue("--jfi-form-control-border-left-width"),borderRightWidth:e.getPropertyValue("--jfi-form-control-border-right-width"),borderTopWidth:e.getPropertyValue("--jfi-form-control-border-top-width"),borderRadius:e.getPropertyValue("--jfi-form-control-border-radius"),borderStyle:e.getPropertyValue("--jfi-form-control-border-style"),boxShadow:e.getPropertyValue("--jfi-form-control-box-shadow"),boxShadowError:e.getPropertyValue("--jfi-form-control-box-shadow-error"),boxShadowErrorFocus:e.getPropertyValue("--jfi-form-control-box-shadow-error-focus"),boxShadowFocus:e.getPropertyValue("--jfi-form-control-box-shadow-focus"),color:e.getPropertyValue("--jfi-form-control-color"),colorFocus:e.getPropertyValue("--jfi-form-control-color-focus"),fontSize:e.getPropertyValue("--jfi-form-control-font-size"),fontWeight:e.getPropertyValue("--jfi-form-control-font-weight"),lineHeight:e.getPropertyValue("--jfi-form-control-line-height"),margin:e.getPropertyValue("--jfi-form-control-margin"),padding:e.getPropertyValue("--jfi-form-control-padding")},formLabel:{color:e.getPropertyValue("--jfi-form-label-color"),fontFamily:e.getPropertyValue("--jfi-form-label-font-family"),fontSize:e.getPropertyValue("--jfi-form-label-font-size"),fontWeight:e.getPropertyValue("--jfi-form-label-font-weight"),margin:e.getPropertyValue("--jfi-form-label-margin")},errorMessage:{color:e.getPropertyValue("--jfi-error-message-color"),margin:e.getPropertyValue("--jfi-error-message-margin"),fontSize:e.getPropertyValue("--jfi-error-message-font-size")}}})(),this.dispatchMessageEvent=e=>{const{eventType:o,data:t}=e.data,i=k[this.paymentMethodFormType];o===i.ready?(this.paymentMethodFormReady.emit(t),this.sendStyleOverrides()):o===i.tokenize?this.paymentMethodFormTokenized.emit(t):o===i.validate&&this.paymentMethodFormValidated.emit(t)},this.postMessage=(e,o)=>{this.frameService.postMessage(e,o)},this.paymentMethodFormType=void 0,this.paymentMethodFormValidationMode=void 0,this.iframeOrigin=void 0,this.singleLine=void 0}disconnectedCallback(){this.frameService.removeMessageListener(this.dispatchMessageEvent)}async resize(){this.postMessage(k[this.paymentMethodFormType].resize)}async tokenize(e,o,t){return this.frameService.postMessageWithResponseListener(k[this.paymentMethodFormType].tokenize,{clientId:e,paymentMethodMetadata:o,account:t,componentVersion:b.version})}async validate(){return this.frameService.postMessageWithResponseListener(k[this.paymentMethodFormType].validate)}sendStyleOverrides(){this.computedTheme&&this.postMessage(k[this.paymentMethodFormType].styleOverrides,{styleOverrides:this.computedTheme})}getIframeSrc(){let e=[];return this.paymentMethodFormValidationMode&&e.push(`validationMode=${this.paymentMethodFormValidationMode}`),this.singleLine&&e.push(`singleLine=${this.singleLine}`),`${this.iframeOrigin}/${this.paymentMethodFormType}${w(e)}`}initializeFrameCommunicationService(){var e;this.frameService=new x(this.iframeElement,this.iframeOrigin),null===(e=this.frameService)||void 0===e||e.addMessageListener(this.dispatchMessageEvent)}render(){return o(i,{key:"10987c92745fbff8bb85367db69b76e2bc786c88"},o("iframe",{key:"0622dd0201a04a3c918fd3d175d2a29f24609759",id:`justifi-payment-method-form-${this.paymentMethodFormType}`,src:this.getIframeSrc(),ref:e=>{this.iframeElement=e,this.initializeFrameCommunicationService()},onLoad:()=>{j({scrollbars:!1},this.iframeElement)}}))}};z.style=":host{display:block}justifi-payment-method-form iframe{border:none;width:100%}iframe{width:1px;min-width:100%}";export{p as justifi_billing_form,z as justifi_payment_method_form}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e}from"./p-fad19d75.js";import"./p-16d2932d.js";import{p as a}from"./p-56f6ce4c.js";import"./p-7fec2bcb.js";import"./p-9f56ad71.js";import{o as i}from"./p-2c51d29f.js";import{T as c,a as h,b as r}from"./p-e333620e.js";import{c as o,a as d}from"./p-02cf5e6f.js";import{T as b}from"./p-b16269d7.js";import"./p-a8f22d4d.js";const n=class{constructor(e){t(this,e),this.rowClicked=s(this,"checkout-row-clicked",7),this.errorEvent=s(this,"error-event",7),this.handleClickPrevious=t=>{const s=Object.assign({},this.params);delete s.after_cursor,this.params=Object.assign(Object.assign({},s),{before_cursor:t})},this.handleClickNext=t=>{const s=Object.assign({},this.params);delete s.before_cursor,this.params=Object.assign(Object.assign({},s),{after_cursor:t})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;s&&this.rowClicked.emit(this.checkouts.find((t=>t.id===s)))},this.setParamsOnChange=(t,s)=>{this.params=i({[t]:s},this.params)},this.clearParams=()=>{this.errorMessage="",this.params={}},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.params={}}updateOnPropChange(){this.fetchCheckouts()}componentWillLoad(){this.checkoutsTable=new b(this.checkouts,this.columns,o,d),this.getCheckouts&&this.getSubAccounts&&this.fetchCheckouts()}fetchCheckouts(){this.loading=!0,this.getCheckouts({params:this.params,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 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:"8d2c1fd960b2b3a66f3a1bf648b75576ad2e8857"},e("checkouts-list-filters",{key:"18ba9bf560499112f71a690da751c8e3c4d345a7",params:this.params,setParamsOnChange:this.setParamsOnChange,clearParams:this.clearParams}),e("div",{key:"12cf6ee2912ac6a9518634ebd470dac5f7623aff",class:"table-wrapper"},e("table",{key:"1ea2c118d7efb620dc1f39db55a510a8a473cb31",class:"table table-hover"},e("thead",{key:"5e334a090be56c82b11ae7584bdf4014cc8743c7",class:"table-head sticky-top",part:"table-head"},e("tr",{key:"233137a8b4e30bac28ded78010199bfecd0ac4e7",class:"table-light text-nowrap",part:"table-head-row"},this.checkoutsTable.columnData.map((t=>t)))),e("tbody",{key:"d4ed9d4bf3ac17d4dc7294b875734e02996c7444",class:"table-body",part:"table-body"},e(c,{key:"a7afbb627c768139af4244da5c12fae493dceafb",columnSpan:this.checkoutsTable.columnKeys.length,isLoading:this.loading}),e(h,{key:"802c43c8da770bca9a249a88d115901e9b14e102",isEmpty:this.showEmptyState,columnSpan:this.checkoutsTable.columnKeys.length}),e(r,{key:"f1cd197cf7d1d5d81868a5abfafa40df762ca3c8",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,part:"table-row "+(s%2?"table-row-even":"table-row-odd")},t)))),this.paging&&e("tfoot",{key:"f0c367854322c341515bc481159101e9659117c7",class:"sticky-bottom"},e("tr",{key:"88bc665c23665eddc4c88d27acc8c8f1cb39e277",class:"table-light align-middle"},e("td",{key:"8be265c9b43033cfd3e2c4b3f12ac6d6c104e53d",part:"pagination-bar",colSpan:this.checkoutsTable.columnData.length},e("pagination-menu",{key:"6abdb6091b78e58ec71ac6bf66f278ed9b6542fb",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext}),params:this.params})))))))}static get watchers(){return{params:["updateOnPropChange"],getCheckouts:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{n as checkouts_list_core}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i}from"./p-fad19d75.js";import{C as o}from"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-7fec2bcb.js";import"./p-9f56ad71.js";import{C as r,a as e}from"./p-14c91ffd.js";import{g as a,a as c}from"./p-8115b2f4.js";import{c as h}from"./p-74822344.js";import{c as n}from"./p-5a62fca2.js";import{J as p}from"./p-7fea661a.js";import{C as d}from"./p-2c2b57b3.js";import{m,S as f}from"./p-c5c6e61d.js";import{S as u}from"./p-74da98da.js";import{t as j}from"./p-6cc30da2.js";import{d as l}from"./p-02cf5e6f.js";import"./p-fb2005de.js";import"./p-0e180654.js";import"./p-a8f22d4d.js";const v=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event",7),this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.getCheckouts=void 0,this.getSubAccounts=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin=n.proxyApiOrigin,this.columns=l}componentWillLoad(){h(),this.analytics=new p(this),this.initializeGetData()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializeGetCheckouts(),this.initializeGetSubAccounts()}initializeGetCheckouts(){this.accountId&&this.authToken?this.getCheckouts=(({accountId:t,authToken:s,service:i,apiOrigin:e})=>async({params:h,onSuccess:n,onError:p})=>{var d,m;try{const f=await i.fetchCheckouts(t,s,h,e);if(f.error)return p({error:a(f.error),code:c(null===(m=f.error)||void 0===m?void 0:m.code),severity:r.ERROR});{const t=Object.assign({},f.page_info);n({checkouts:(null===(d=f.data)||void 0===d?void 0:d.map((t=>new o(t))))||[],pagingInfo:t})}}catch(t){const s=c(null==t?void 0:t.code);return p({error:t.message||t,code:s,severity:r.ERROR})}})({accountId:this.accountId,authToken:this.authToken,service:new d,apiOrigin:this.apiOrigin}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:r.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=m({accountId:this.accountId,authToken:this.authToken,service:new f,apiOrigin:this.apiOrigin}))}render(){return i(u,{key:"6e6faed5df0fcdc48018650867672c5d325d1934",exportparts:j},i("checkouts-list-core",{key:"92ceb10f7bd76864629ed0990a7f34fab76ce517",getCheckouts:this.getCheckouts,getSubAccounts:this.getSubAccounts,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{v as justifi_checkouts_list}
@@ -0,0 +1 @@
1
+ const a=a=>{switch(a){case"canceled":return"<span class='badge bg-danger' title='Transfer to your bank account failed'>Canceled</span>";case"failed":return"<span class='badge bg-danger' title='Transfer to your bank account failed'>Failed</span>";case"forwarded":return"<span class='badge bg-secondary' title='This payout initially failed; the funds have been forwarded to your next successful payout'>Forwarded</span>";case"in_transit":return"<span class='badge bg-primary' title='Transfer to your bank account has been initiated'>In Transit</span>";case"paid":return"<span class='badge bg-success' title='Successfully deposited into your bank account'>Paid</span>";case"pending":return"<span class='badge bg-primary' title='Batched and scheduled to be transferred'>Pending</span>";case"scheduled":return"<span class='badge bg-primary' title='Batched and scheduled to be transferred'>Scheduled</span>";case"withdrawn":return"<span class='badge bg-success' title='Negative payout balance successfully withdrawn from your bank account'>Withdrawn</span>"}};export{a as M}
@@ -0,0 +1 @@
1
+ import{r as e,h as a,c}from"./p-fad19d75.js";import{D as d}from"./p-d516e700.js";const t=class{constructor(a){e(this,a)}render(){return a("div",{key:"21cee41c41fa70a5cc6b82f14ea49ee01086fa71"},a("div",{key:"90d9a279089ce3d5e6861aaab2175ded06a5b8b3",class:"row gy-3"},a("div",{key:"15a2cdde695c98c47bae644964457c7275e0933f",class:"col-12"},a("h2",{key:"515f18bc0215936f6dc28cefbabbdbdb12c6ba61",class:"h5"},"Additional Evidence")),a("div",{key:"e1ee3b76fb7455c4feeaef6bb9368b4b07ed361b",class:"col-12"},a("form-control-textarea",{key:"3d4ce8f83f457dd28f08dc5f973a76f9a9d4e362",label:"Is there anything else you would like to say about this dispute?",name:"additional_statement"})),a("div",{key:"46445fa4158cd16fb3e2e26111c4a62fe386bbc0",class:"col-12"},a("form-control-file",{key:"025ada3f8f2c0a2c185f9be0bfbb9816a560371e",label:"Additional files",name:"uncategorized_file",multiple:!0,helpText:"Upload any additional pieces of evidence that have not already been provided."}))))}},s=class{constructor(a){e(this,a)}render(){return a("div",{key:"a35e9980fbad9752a00473711fadc0e69c16a909"},a("div",{key:"024a9bee273b6a1d470e218b2bbd541b299c0f24",class:"row gy-3"},a("div",{key:"394ba5a5fa8bf4726ca4c96cc4f1d75454f6b563",class:"col-12"},a("h2",{key:"0cb7dddab83455d8c11d888ce9638bb93d8e00c9",class:"h5"},"Cancellation Policy")),a("div",{key:"02c70eaf5b9d9876c3aa31edb070006cd6b67b98",class:"col-12"},a("form-control-textarea",{key:"266a114845ca7e793e0a8a5b98e506a867a7a98f",label:"Cancellation Policy Disclosure",name:"cancellation_policy_disclosure"})),a("div",{key:"943b51f7849ae1fcac7320f8532d15371f064db8",class:"col-12"},a("form-control-textarea",{key:"89de507fbed48afb4733b87f5e249bdafecea3af",label:"Cancellation Rebuttal",name:"cancellation_rebuttal"})),a("div",{key:"078a0874b5d203d1de4e2f2e5ae9a2eb95f28015",class:"col-12"},a("form-control-file",{key:"7f2003888aaf189a8d86ab010a54e0bd511cb198",label:"Upload Cancellation Policy",name:"cancellation_policy_file"}))))}},i=class{constructor(d){e(this,d),this.submit=c(this,"submit",7),this.clickEvent=c(this,"clickEvent",7),this.componentStepMapping=[()=>a("justifi-dispute-reason",{ref:e=>this.refs.disputeReason=e}),()=>a("justifi-product-or-service",{ref:e=>this.refs.productOrService=e}),()=>a("justifi-customer-details",{ref:e=>this.refs.customerDetails=e}),()=>a("justifi-cancellation-policy",{ref:e=>this.refs.cancellationPolicy=e}),()=>a("justifi-refund-policy",{ref:e=>this.refs.refundPolicy=e}),()=>a("justifi-duplicate-charge",{ref:e=>this.refs.duplicateCharge=e}),()=>a("justifi-electronic-evidence",{ref:e=>this.refs.electronicEvidence=e}),()=>a("justifi-shipping-details",{ref:e=>this.refs.shippingDetails=e}),()=>a("justifi-additional-statement",{ref:e=>this.refs.additionalStatement=e})],this.currentStep=0,this.refs=[]}get currentStepComponent(){return this.componentStepMapping[this.currentStep]()}get isLastStep(){return this.currentStep===this.componentStepMapping.length-1}get isFirstStep(){return 0===this.currentStep}onNext(){this.isLastStep?this.submit.emit():(this.currentStep++,this.clickEvent.emit({name:d.nextStep}))}onBack(){this.isFirstStep?this.clickEvent.emit({name:d.cancelDispute}):(this.currentStep--,this.clickEvent.emit({name:d.previousStep}))}render(){return a("div",{key:"cd8ced72339631d8f2f9439ee26f1187b7b8ab21",class:"row gy-3"},a("div",{key:"6ae94b1ce9d12b12044c4baa3c3eb9966b4b176e",class:"col-12"},a("h1",{key:"6893f2dacb6e8932e67d67095076cd2d1bc12b38",class:"h4"},"Counter dispute")),a("div",{key:"6d34423a06c634824a8b2f2ad5538e4c0b6fbf5c",class:"col-12"},this.currentStepComponent),a("div",{key:"fdfc725f0dacae3abb56dfe7300399f57300ffd5",class:"col-12"},a("div",{key:"b590b19dda4fbe8d8245dedbb66c421866b2b8f3",class:"d-flex gap-2 mt-4 justify-content-end"},a("button",{key:"4d91e8db6f5c2ef26ac938c57f7dca33cf9a33ee",class:"btn btn-secondary",onClick:()=>this.onBack()},this.isFirstStep?"Cancel":"Back"),a("button",{key:"f56fa57dd1aef4bd5b537d9e67c3aaaa784ccba2",class:"btn btn-primary",onClick:()=>this.onNext()},this.isLastStep?"Submit Counter Dispute":"Next"))))}},f=class{constructor(a){e(this,a)}render(){return a("div",{key:"4511521cc0b5d152847fe47515a932bc25632b69"},a("div",{key:"ccc20447c74727d926159c4bbd78d7aa81f406fb",class:"row gy-3"},a("div",{key:"09d693c977d9f55978df56fd94f37e65fcf42548",class:"col-12"},a("h2",{key:"ef47704c5d35b7b18e49603e050a1128728219b4",class:"h5"},"Customer Details")),a("div",{key:"0f6ee829c192d15b22208d207ab34d7c433b1c8d",class:"col-12"},a("form-control-text",{key:"8f64ca680c0dcd4b41d93523a62e0b3bbf1daf3e",label:"Full Name",name:"customer_name"})),a("div",{key:"8789d52f77c2cb673260fa12382c31725e2a7ffa",class:"col-12"},a("form-control-text",{key:"af48dedd7c9ce318a7d1009c1227cceda2d799b0",label:"Email",name:"customer_email_address"})),a("div",{key:"17fdeea69f9eab82e55d63cd55af079532696d57",class:"col-12"},a("form-control-textarea",{key:"05d930b272e0162100412bc81a05df8cd2817e21",label:"Billing Address",name:"customer_billing_address"})),a("div",{key:"abd6e1f661bfb2b5ac54460d97283b7a1092ac79",class:"col-12"},a("form-control-file",{key:"4ee87cf74482c31a297bcd108ddd0ad69f3d7366",label:"Customer Signature",name:"customer_signature"})),a("div",{key:"f33ec1c7c4791828d456e27ee1dcbc665220821d",class:"col-12"},a("form-control-file",{key:"c2bb6a3c58eb20652566d9cb1c524b4390bbab33",label:"Customer Communication",name:"customer_communication"}))))}},l=class{constructor(a){e(this,a),this.submit=c(this,"submit",7),this.clickEvent=c(this,"clickEvent",7)}acceptDispute(){this.submit.emit()}initiateCounterDispute(){this.clickEvent.emit({name:"counterDispute"})}render(){return a("div",{key:"e4d4de3446f6cd1b21fceb5b51bbbb912e2becbd"},a("h1",{key:"4f6c5d36c498c4828f9234c02910f68f1563f683",class:"h4"},"This payment was disputed"),a("p",{key:"dd69d64f749dbd7ef3dee0c02121f7a4d5c43935"},"The cardholder for this payment claims that the product was not received."),a("p",{key:"012671e73722cf571e2ffe9ec7268fc5a68211b8"},"You can either counter the dispute by presenting proof of the product's delivery to or use by the cardholder, or you can choose to accept the dispute right away, refund the cardholder, and resolve the matter."),a("h2",{key:"a305a609445a42ed31486089ee50fb6e826333e3",class:"h5"},"Dispute details"),a("div",{key:"c383e914b7f80d4899c9f9a161ede6ab19b0bb20",class:"d-table gap-2"},a("div",{key:"3a17b05d7608bd3e85462e225829e540073a58c3",class:"d-table-row gap-2"},a("span",{key:"26410fd189aede2ce647d80c17c5b1de81ae1e33",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Amount"),a("span",{key:"cf978f0256bca203c8ffba95b7d207f10354b154",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},"$50.00")),a("div",{key:"2a84d71d53c8cd8fd55bd788dd8cf5f4390876fa",class:"d-table-row gap-2"},a("span",{key:"196bc7ca8a74bcb63f72f979b1f219adedb1f19e",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Reason"),a("span",{key:"46b8a0867cae071a1d929beb684930f59b7b6bfa",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},"Product not received")),a("div",{key:"491e7f02249c12159a8488943659ba6bf2e27d71",class:"d-table-row gap-2"},a("span",{key:"04af38ed973f99c2b1e7a82c64fc27ff87a01a15",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Dispute ID"),a("span",{key:"8929ec9b7bb528d9b47851df29bd75e816018e70",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},"dis_1234567890"))),a("div",{key:"2693379df3be7315ee7acf751af6c2eaeca56dcc",class:"d-flex gap-2 mt-4 justify-content-end"},a("button",{key:"738f868f185f9bbf98d41306e8b260959b2295bd",class:"btn btn-secondary",onClick:()=>this.acceptDispute()},"Accept dispute"),a("button",{key:"83712ad248a0f8784b8b176c5620b531b21df50e",class:"btn btn-primary",onClick:()=>this.initiateCounterDispute()},"Counter dispute")))}},b=class{constructor(a){e(this,a)}render(){return a("div",{key:"012cc41aff83527468bbd2aa375c436876bc95ab",class:"row gy-3"},a("div",{key:"b52a68e86969e7f581e07b2d30b536a764778a7e",class:"col-12"},a("h2",{key:"0c03884aef100c47a4b178b2da84a7c0c6ac7609",class:"h5"},"Why are you countering this dispute?"),a("div",{key:"f538c9bb9134bc57e69e9edce4087cef376634fa",class:"row gy-3"},a("div",{key:"9c1f5e09e19d8d4830526bd2cf14c02c7b56d1f9",class:"col-12"},a("form-control-radio",{key:"f0498d4524db28040f460632165213b7756263b4",name:"disputeReason",label:"The cardholder withdrew the dispute",value:"reason1"}),a("form-control-radio",{key:"c62c544f6099c3dccf5b34cb8a0db003496b370d",name:"disputeReason",label:"The cardholder received the product or service",value:"reason2"}),a("form-control-radio",{key:"c3ea107bddf2a740612100bd67b99010fb2a345e",name:"disputeReason",label:"The cardholder was refunded",value:"reason3"}),a("form-control-radio",{key:"d31e6a36cb3adc470809bfc92f48a7a13f0f8b03",name:"disputeReason",label:"The product, service, event or booking was cancelled or delayed due to a government order or other circumstances beyond your control",value:"reason4"}),a("form-control-radio",{key:"4dd304a181be479f7a1db6eb8e6882ce801915fb",name:"disputeReason",label:"Other",value:"reason5"})))))}},o=class{constructor(a){e(this,a)}render(){return a("div",{key:"b02f7b5b70969b8bf441266b368e8ddff43dd1e0"},a("div",{key:"f6fd012b8b477f4e2130872d0b43b85adad25fdd",class:"row gy-3"},a("div",{key:"22f93a10a461f4e6e746b019861380c08bee9715",class:"col-12"},a("h2",{key:"fdcc6a3b8120bb3efa124e6bb79e96f5b444578a",class:"h5"},"Duplicate Charge")),a("div",{key:"750890417b504f0477cf3359384c589f835847e5",class:"col-12"},a("form-control-text",{key:"e3d5f7886d8c6adea82f05a29ed45b41cd7db60e",label:"Original Payment ID",name:"duplicate_charge_original_payment_id"})),a("div",{key:"d7c96b14fc113f70b88c24127edac5311323eb0a",class:"col-12"},a("form-control-textarea",{key:"26fcb96b35087c948cbfd6a469a92ca7cdb86330",label:"Duplicate Charge Explanation",name:"duplicate_charge_explanation"})),a("div",{key:"eadcc0457689882a1c19d18dd2898059d87547b0",class:"col-12"},a("form-control-file",{key:"f7aea8d759f94876bca6213de22cff28f8db8783",label:"Duplicate Charge Documentation",name:"duplicate_charge_documentation"}))))}},r=class{constructor(a){e(this,a)}render(){return a("div",{key:"9db83df31da31c0f2506636c3626bd7edfce8ee4"},a("div",{key:"5d7ddc3e3a54efe160240d1996f405e4d3038ed6",class:"row gy-3"},a("div",{key:"ea60427980d5b149ab8df1490334fda670c1af42",class:"col-12"},a("h2",{key:"b50cbc7b5d48d62dc88c4c27c568f67d46ea212f",class:"h5"},"Electronic Evidence")),a("div",{key:"523b2a97794e2772c74633bbda2926f339ad7797",class:"col-12"},a("form-control-text",{key:"f4769f6d1f3e175963fe7e8b547ae005866ba758",label:"Purchase IP Address",name:"customer_purchase_ip_address",helpText:"The IP address used by the customer during the purchase."})),a("div",{key:"eb86f2c489bfaa93daa12fb126cff980249a16de",class:"col-12"},a("form-control-textarea",{key:"7d5090db5478ec0ac38a68113a8786eca7e63549",label:"Activity Logs",name:"access_activity_log",helpText:"Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity."}))))}},n=class{constructor(a){e(this,a),this.productOrService=void 0}render(){return a("div",{key:"1093c8d9b1fe6875c3cd0fc8422f46d6ed5b8aae"},a("div",{key:"6d6df2f3a1c3567bac929adde53dd91d8aee98a3",class:"row gy-3"},a("div",{key:"0111ec6b367ab5728afba391fb62c034c68f75f4",class:"col-12"},a("h2",{key:"850b6360c847ad3da0c16e275acd07a70dcec0c2",class:"h5"},"Product & Service Details")),a("div",{key:"b00fe2787f21032de5203660f6d467d2d3bbecdc",class:"col-12"},a("form-control-text",{key:"d7ac38a0efc9f36894227f85fbee2e2886e96757",label:"Product Description",name:"product_description"})),a("div",{key:"6cda4e7ac36e124043078b3d47513d5a4ec5cac4",class:"col-12"},a("form-control-text",{key:"585744cbc9775643779ecb59752d1f883c4cdea0",label:"Service Date",name:"service_date"})),a("div",{key:"07e96df94d2c40fc9e0e2868cf5b8d4a519d1895",class:"col-12"},a("form-control-file",{key:"e98020135a597563248a5dac713d87715c11752c",label:"Service Documentation",name:"service_documentation"}))))}},y=class{constructor(a){e(this,a)}render(){return a("div",{key:"7f9095e25e7fce0b5277d332f304f99d81693a72"},a("div",{key:"9c81d685961f496f680c795d25f1d33da8693a98",class:"row gy-3"},a("div",{key:"983622ce45a875c01b6d4479e84ce5bfe079e0d6",class:"col-12"},a("h2",{key:"33e426cd1aabf66e97eaf2292c2e79e0f27a82c8",class:"h5"},"Refund Policy and Receipt")),a("div",{key:"6968a33fef60038777e4b34a528c07361486262e",class:"col-12"},a("form-control-textarea",{key:"dcded5a84ef9104045fe228f5a498b42b7c4bc72",label:"Refund Policy Disclosure",name:"refund_policy_disclosure"})),a("div",{key:"5cf7d7017f4a43f3dbf592e2191b8ac5a53f9695",class:"col-12"},a("form-control-textarea",{key:"81c95385cb04ef82fb23b95bc084c118a153280a",label:"Refund Refund Explanation",name:"refund_refusal_explanation"})),a("div",{key:"8ff60b9d1a1159073314905b56ecf46eb35a321e",class:"col-12"},a("form-control-file",{key:"f308750940e7fd12972584281169c265c28834d6",label:"Upload Refund Policy",name:"refund_policy"})),a("div",{key:"802abe379ac422c927022be29effecee97dd1694",class:"col-12"},a("form-control-file",{key:"2d166d7768de62e5f6efb3cd466b856296ce4929",label:"Upload Receipt",name:"receipt"}))))}},u=class{constructor(a){e(this,a)}render(){return a("div",{key:"b751c099794fd1e199fc33c5d09899dfd112983b"},a("div",{key:"199584570dafdf9d7592b58c786c40eab29a9e2d",class:"row gy-3"},a("div",{key:"aa22d4ccaa52177f51584faf433208d55de363af",class:"col-12"},a("h2",{key:"43b90ea2ccca89595bc9edd44e6b6c7231f6a417",class:"h5"},"Shipping Details")),a("div",{key:"337e087f6a073ce3e5add78813e127578599009f",class:"col-12"},a("form-control-text",{key:"6b451a1c2e730adb7672a7d31e2a329ddddb9801",label:"Shipping Carrier Name",name:"shipping_carrier"})),a("div",{key:"ff49c1efb33231b0c81a1b03062031eabcc8b2b5",class:"col-12"},a("form-control-text",{key:"54b17aba899f77e7c988a367fa3405fbed62b7ed",label:"Tracking Number",name:"shipping_tracking_number"})),a("div",{key:"cc9a4441663f35a49d119ffdd71562fec327d6da",class:"col-12"},a("form-control-date",{key:"3e8a41b5a6247a11e11311dcb93e5e567a2bf647",label:"Date Shipped",name:"shipping_date"})),a("div",{key:"0d76ef386013035480f2c1041ddaf4f0a7e88522",class:"col-12"},a("form-control-textarea",{key:"2c587c5c24127aac5c60c20cf6717060a5fbb35f",label:"Shipping Address",name:"shipping_address"})),a("div",{key:"783465b60c9529abfae87c0c92915c3a79e4a3e8",class:"col-12"},a("form-control-file",{key:"ab665466efa871edacc58e60ba572db7f570a83f",label:"Shipping Documentation",name:"shipping_documentation"}))))}};export{t as justifi_additional_statement,s as justifi_cancellation_policy,i as justifi_counter_dispute,f as justifi_customer_details,l as justifi_dispute_notification,b as justifi_dispute_reason,o as justifi_duplicate_charge,r as justifi_electronic_evidence,n as justifi_product_or_service,y as justifi_refund_policy,u as justifi_shipping_details}