@justifi/webcomponents 6.5.1-rc.2 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (666) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Api-BeSnjEuW.js → Api-QUTWjGTy.js} +1 -1
  3. package/dist/cjs/{GooglePay-HXBAmTgL.js → Refund-BX0mjsAQ.js} +1 -416
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  5. package/dist/cjs/bank-account-document-form-inputs_8.cjs.entry.js +206 -0
  6. package/dist/cjs/bank-account-form.cjs.entry.js +3 -3
  7. package/dist/cjs/{business-additional-questions-schema-CE-z5qrr.js → business-additional-questions-schema-Y1mXnwUT.js} +1 -7
  8. package/dist/cjs/{business-identity-schema-rMMiHyPz.js → business-identity-schema-D_OO0Suf.js} +1 -1
  9. package/dist/cjs/{business.service-DMzf08nC.js → business.service-Dffp64u6.js} +2 -2
  10. package/dist/cjs/card-form.cjs.entry.js +3 -3
  11. package/dist/cjs/{check-pkg-version-Bw6Rz_E3.js → check-pkg-version-DZC7jOGP.js} +3 -3
  12. package/dist/cjs/{checkout.service-CHNHEsrp.js → checkout.service-C1HcsrjQ.js} +2 -2
  13. package/dist/cjs/checkout.store-BA6h-dp2.js +107 -0
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +4 -5
  15. package/dist/cjs/{checkouts-table-2fOlhkc4.js → checkouts-table-Bgqkaez4.js} +1 -1
  16. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +22 -2
  17. package/dist/cjs/{dispute.service-B63kcFkU.js → dispute.service-CJsWYMYk.js} +2 -2
  18. package/dist/cjs/form-alert_5.cjs.entry.js +6 -6
  19. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  21. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  22. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
  23. package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
  24. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +4 -4
  25. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  27. package/dist/cjs/{form-control-select_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +4 -23
  28. package/dist/cjs/{get-payment-details-BN139jp0.js → get-payment-details-BblcGN2B.js} +2 -2
  29. package/dist/cjs/{get-subaccounts-IgHJX5J4.js → get-subaccounts-z4dNQDjx.js} +3 -3
  30. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +2 -2
  31. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  32. package/dist/cjs/{index-CajjbB9t.js → index-C2ITzalN.js} +0 -1
  33. package/dist/cjs/index.cjs.js +1 -1
  34. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +26 -25
  35. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +860 -29
  36. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  37. package/dist/cjs/{justifi-apple-pay_8.cjs.entry.js → justifi-apple-pay_7.cjs.entry.js} +255 -901
  38. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +3 -3
  39. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -7
  40. package/dist/cjs/justifi-business-form.cjs.entry.js +9 -10
  41. package/dist/cjs/justifi-checkout.cjs.entry.js +17 -16
  42. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -11
  43. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -11
  44. package/dist/cjs/justifi-details.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -8
  47. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -11
  48. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -6
  49. package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -12
  50. package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -8
  51. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
  52. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  53. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +8 -9
  54. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-payments-list.cjs.entry.js +9 -10
  56. package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -8
  57. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +8 -9
  58. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-payouts-list.cjs.entry.js +10 -11
  60. package/dist/cjs/justifi-refund-payment.cjs.entry.js +11 -12
  61. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  62. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
  63. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  64. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +12 -13
  65. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +8 -9
  66. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -9
  67. package/dist/cjs/justifi-terminals-list.cjs.entry.js +10 -11
  68. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
  69. package/dist/cjs/loader.cjs.js +1 -1
  70. package/dist/cjs/{justifi-owner-form_3.cjs.entry.js → owner-form-core_2.cjs.entry.js} +5 -60
  71. package/dist/cjs/{package--UMqvxMQ.js → package-CkO7M9IQ.js} +1 -1
  72. package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
  73. package/dist/cjs/payment-details-core.cjs.entry.js +11 -12
  74. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  75. package/dist/cjs/{payment.service-eOZc1Qay.js → payment.service-BZatGHKc.js} +2 -2
  76. package/dist/cjs/payments-list-core.cjs.entry.js +4 -5
  77. package/dist/cjs/{payments-table-C6SCvqLD.js → payments-table-CaJt-yMH.js} +1 -1
  78. package/dist/cjs/payout-details-core.cjs.entry.js +4 -4
  79. package/dist/cjs/{payout.service-QVl5N-UV.js → payout.service-DbgLWhwh.js} +2 -2
  80. package/dist/cjs/payouts-list-core.cjs.entry.js +4 -5
  81. package/dist/cjs/{payouts-table-CEnUtKNR.js → payouts-table-DZv0WnTS.js} +1 -1
  82. package/dist/cjs/{schema-validations-BOiGVUHM.js → schema-validations-Bf2mk2xU.js} +0 -16
  83. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  84. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +4 -5
  85. package/dist/cjs/{terminal-orders-table-g2fwrh2P.js → terminal-orders-table-F-ZFUBwH.js} +4 -4
  86. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  87. package/dist/cjs/{terminal.service-BuSFyt0j.js → terminal.service-KC8wBTJJ.js} +2 -2
  88. package/dist/cjs/terminals-list-core.cjs.entry.js +4 -5
  89. package/dist/cjs/{terminals-table-EeeLeuDN.js → terminals-table-D7sf_DBN.js} +1 -1
  90. package/dist/cjs/{utils-Bab-tddY.js → utils-D4WPxuzW.js} +0 -7
  91. package/dist/cjs/webcomponents.cjs.js +1 -1
  92. package/dist/collection/api/index.js +0 -2
  93. package/dist/collection/collection-manifest.json +1 -8
  94. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
  95. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  96. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +7 -8
  97. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -7
  98. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  99. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  100. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -8
  101. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  102. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +132 -3
  103. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  104. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
  105. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  106. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
  107. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +335 -3
  108. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +2 -2
  109. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +133 -3
  110. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +186 -3
  111. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
  112. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +129 -3
  113. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
  114. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  115. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +122 -3
  116. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  117. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  119. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  121. package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +1 -7
  122. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -14
  123. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  124. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  125. package/dist/collection/components/checkout/checkout.js +2 -2
  126. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  127. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  128. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  129. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  130. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  131. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  133. package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
  134. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  135. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  136. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  137. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  138. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  139. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  140. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  144. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  145. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  146. package/dist/collection/components/modular-checkout/ModularCheckout.js +0 -1
  147. package/dist/collection/components/modular-checkout/modular-checkout.js +9 -46
  148. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  149. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  150. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  151. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  152. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  153. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  154. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  155. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  156. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  157. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  158. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  159. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  160. package/dist/collection/components/payments-list/payments-list.js +1 -1
  161. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  162. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  163. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  164. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  165. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  166. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  167. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  168. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  169. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  170. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  171. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  172. package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +4 -3
  173. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +10 -5
  174. package/dist/collection/store/checkout.store.js +0 -4
  175. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  176. package/dist/collection/ui-components/details/details.js +1 -1
  177. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  178. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  179. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  180. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  181. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  182. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  183. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  184. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  185. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  186. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  187. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  188. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  189. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  190. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  191. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  192. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  193. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
  194. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  195. package/dist/docs.json +2692 -4612
  196. package/dist/esm/{Api-DX-IWyBw.js → Api-Dln8a6No.js} +1 -1
  197. package/dist/esm/{GooglePay-9bPcqGZ9.js → Refund-DDWRtCuX.js} +2 -406
  198. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  199. package/dist/esm/{badge-Bgosx-DC.js → badge-BWd10d-w.js} +1 -1
  200. package/dist/esm/bank-account-document-form-inputs_8.entry.js +197 -0
  201. package/dist/esm/bank-account-form.entry.js +5 -5
  202. package/dist/esm/{business-additional-questions-schema-QFJEOHF5.js → business-additional-questions-schema-woG5-pgK.js} +1 -7
  203. package/dist/esm/business-details-core.entry.js +3 -3
  204. package/dist/esm/{business-identity-schema-DB_Hhjld.js → business-identity-schema-B7VTDF4j.js} +2 -2
  205. package/dist/esm/{business.service-2j91Emgq.js → business.service-CmSijtcP.js} +2 -2
  206. package/dist/esm/{button-DBmjN7Ra.js → button-BDwVDLs-.js} +1 -1
  207. package/dist/esm/card-form.entry.js +5 -5
  208. package/dist/esm/{check-pkg-version-2BU_KPHv.js → check-pkg-version-B83yUQEx.js} +3 -3
  209. package/dist/esm/{checkout.service-D-dEMyXF.js → checkout.service-E60GnrZv.js} +2 -2
  210. package/dist/esm/checkout.store-CaS_htQd.js +101 -0
  211. package/dist/esm/checkouts-list-core.entry.js +8 -9
  212. package/dist/esm/{checkouts-table-lgbZpF1o.js → checkouts-table-BVWL1wN9.js} +3 -3
  213. package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +22 -3
  214. package/dist/esm/{dispute.service-DPumDIuV.js → dispute.service-CAZJigrO.js} +2 -2
  215. package/dist/esm/form-alert_5.entry.js +7 -7
  216. package/dist/esm/form-control-checkbox.entry.js +5 -5
  217. package/dist/esm/form-control-date.entry.js +4 -4
  218. package/dist/esm/{form-control-error-text-B5LSdUXI.js → form-control-error-text-BYooqu0N.js} +1 -1
  219. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  220. package/dist/esm/{form-control-help-text-BK9RNOf-.js → form-control-help-text-CF1UA5Sl.js} +1 -1
  221. package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
  222. package/dist/esm/form-control-monetary.entry.js +6 -6
  223. package/dist/esm/form-control-number-masked_3.entry.js +6 -6
  224. package/dist/esm/form-control-number.entry.js +5 -5
  225. package/dist/esm/form-control-radio.entry.js +3 -3
  226. package/dist/esm/{form-control-select_3.entry.js → form-control-select_2.entry.js} +7 -25
  227. package/dist/esm/{get-payment-details-CD_K6FQ3.js → get-payment-details-Dg5WRkOM.js} +1 -1
  228. package/dist/esm/{get-subaccounts-D1eF6c0B.js → get-subaccounts-CbxzednA.js} +2 -2
  229. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  230. package/dist/esm/{header-1-CPF3S2CC.js → header-1-CzkA4zNY.js} +1 -1
  231. package/dist/esm/{header-3-Cah707hu.js → header-3-eIE1RpMN.js} +1 -1
  232. package/dist/esm/hidden-input_2.entry.js +7 -7
  233. package/dist/esm/{index-DkoufM1t.js → index-DCIW8z1f.js} +0 -1
  234. package/dist/esm/index.js +1 -1
  235. package/dist/esm/{insurance-state-DRe0g_wf.js → insurance-state-By2QaBZo.js} +1 -1
  236. package/dist/esm/internal-tokenize-payment-method_7.entry.js +18 -17
  237. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +862 -31
  238. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  239. package/dist/esm/{justifi-apple-pay_8.entry.js → justifi-apple-pay_7.entry.js} +144 -789
  240. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +5 -5
  241. package/dist/esm/justifi-business-details.entry.js +8 -9
  242. package/dist/esm/justifi-business-form.entry.js +13 -14
  243. package/dist/esm/justifi-checkout.entry.js +11 -10
  244. package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
  245. package/dist/esm/justifi-checkouts-list.entry.js +11 -12
  246. package/dist/esm/justifi-details.entry.js +3 -3
  247. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  248. package/dist/esm/justifi-dispute-management.entry.js +7 -8
  249. package/dist/esm/justifi-dispute-notification_3.entry.js +13 -14
  250. package/dist/esm/justifi-gross-payment-chart.entry.js +7 -8
  251. package/dist/esm/justifi-order-terminals.entry.js +10 -11
  252. package/dist/esm/justifi-payment-details.entry.js +9 -10
  253. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  254. package/dist/esm/justifi-payment-provisioning.entry.js +7 -8
  255. package/dist/esm/justifi-payment-transactions-list.entry.js +10 -11
  256. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  257. package/dist/esm/justifi-payments-list.entry.js +11 -12
  258. package/dist/esm/justifi-payout-details.entry.js +8 -9
  259. package/dist/esm/justifi-payout-transactions-list.entry.js +10 -11
  260. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  261. package/dist/esm/justifi-payouts-list.entry.js +12 -13
  262. package/dist/esm/justifi-refund-payment.entry.js +10 -11
  263. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  264. package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -9
  265. package/dist/esm/justifi-skeleton.entry.js +3 -3
  266. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -6
  267. package/dist/esm/justifi-terminal-orders-list.entry.js +9 -10
  268. package/dist/esm/justifi-terminals-list-filters.entry.js +4 -5
  269. package/dist/esm/justifi-terminals-list.entry.js +11 -12
  270. package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
  271. package/dist/esm/loader.js +1 -1
  272. package/dist/esm/{justifi-owner-form_3.entry.js → owner-form-core_2.entry.js} +8 -62
  273. package/dist/esm/{package-Bx3wyDU2.js → package-CdVle3mx.js} +1 -1
  274. package/dist/esm/pagination-menu.entry.js +4 -4
  275. package/dist/esm/{parts-wtuY7MT2.js → parts-QmGrQis7.js} +1 -1
  276. package/dist/esm/payment-details-core.entry.js +15 -16
  277. package/dist/esm/payment-method-option.entry.js +2 -2
  278. package/dist/esm/{payment.service-BreQSu6J.js → payment.service-CWc5BPv-.js} +2 -2
  279. package/dist/esm/payments-list-core.entry.js +9 -10
  280. package/dist/esm/{payments-status-Dypl6WFL.js → payments-status-BdCVusHE.js} +1 -1
  281. package/dist/esm/{payments-table-CK9BRZEz.js → payments-table-9rC3BvV0.js} +3 -3
  282. package/dist/esm/payout-details-core.entry.js +10 -10
  283. package/dist/esm/{payout.service-DuqRe6oq.js → payout.service-iBVqRzf_.js} +2 -2
  284. package/dist/esm/payouts-list-core.entry.js +9 -10
  285. package/dist/esm/{payouts-status-hTCBgpLW.js → payouts-status-DhowllYh.js} +1 -1
  286. package/dist/esm/{payouts-table-Dd8IDBBX.js → payouts-table-Ci_J6mmU.js} +3 -3
  287. package/dist/esm/{schema-validations-B5sfox_4.js → schema-validations-iamDi5JD.js} +2 -15
  288. package/dist/esm/{skeleton-BmRZRW5K.js → skeleton-BX70wCwq.js} +1 -1
  289. package/dist/esm/{spinner-tU4D9iak.js → spinner-CcDNFgNu.js} +1 -1
  290. package/dist/esm/{table-Cjq1A6mO.js → table-KZoMaoUh.js} +2 -2
  291. package/dist/esm/table-filters-menu.entry.js +3 -3
  292. package/dist/esm/terminal-orders-list-core.entry.js +8 -9
  293. package/dist/esm/{terminal-orders-table-DSo5x2D7.js → terminal-orders-table-BGiWS5cM.js} +4 -4
  294. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  295. package/dist/esm/{terminal.service-CkzrYIA_.js → terminal.service-CxSKhtwB.js} +2 -2
  296. package/dist/esm/terminals-list-core.entry.js +8 -9
  297. package/dist/esm/{terminals-table-D9okETJr.js → terminals-table-DROFEdyn.js} +3 -3
  298. package/dist/esm/{utils-BX7Rjm1M.js → utils-C1PX_3uA.js} +1 -1
  299. package/dist/esm/{utils-CIaHqjQt.js → utils-CDaVtz_6.js} +1 -7
  300. package/dist/esm/webcomponents.js +1 -1
  301. package/dist/module/Analytics.js +0 -2
  302. package/dist/module/ModularCheckout.js +0 -1
  303. package/dist/module/additional-questions.js +2 -2
  304. package/dist/module/additional-statement.js +1 -1
  305. package/dist/module/apple-pay.js +120 -1
  306. package/dist/module/bank-account-billing-form-simple.js +1 -1
  307. package/dist/module/bank-account-document-inputs.js +1 -3
  308. package/dist/module/bank-account-form-inputs-canada2.js +1 -1
  309. package/dist/module/bank-account-form-inputs2.js +1 -1
  310. package/dist/module/bank-account-form.js +3 -3
  311. package/dist/module/bank-account-read-only-value2.js +1 -1
  312. package/dist/module/bank-account.js +2 -2
  313. package/dist/module/business-additional-questions-form-step.js +107 -20
  314. package/dist/module/business-additional-questions-schema.js +1 -7
  315. package/dist/module/business-address-schema.js +1 -1
  316. package/dist/module/business-bank-account-form-step.js +443 -35
  317. package/dist/module/business-core-info-form-step.js +108 -20
  318. package/dist/module/business-core-info-schema.js +1 -1
  319. package/dist/module/business-core-info.js +2 -2
  320. package/dist/module/business-documents-on-file2.js +2 -2
  321. package/dist/module/business-identity-schema.js +1 -1
  322. package/dist/module/business-owners-form-step.js +137 -23
  323. package/dist/module/business-representative-form-inputs.js +2 -2
  324. package/dist/module/business-representative-form-step.js +106 -22
  325. package/dist/module/business-representative.js +3 -3
  326. package/dist/module/business-terms-conditions-form-step.js +1 -3
  327. package/dist/module/business.service.js +0 -2
  328. package/dist/module/cancellation-policy.js +1 -1
  329. package/dist/module/card-billing-form-simple.js +1 -1
  330. package/dist/module/card-form.js +3 -3
  331. package/dist/module/card-form2.js +2 -2
  332. package/dist/module/checkout.service.js +0 -2
  333. package/dist/module/checkout.store.js +0 -4
  334. package/dist/module/checkouts-list-core2.js +2 -4
  335. package/dist/module/custom-popper2.js +2 -2
  336. package/dist/module/customer-details.js +1 -1
  337. package/dist/module/details.js +1 -1
  338. package/dist/module/dispute-management-core.js +1 -1
  339. package/dist/module/dispute-notification.js +2 -2
  340. package/dist/module/dispute-response-actions.js +0 -2
  341. package/dist/module/dispute-response-core.js +1 -1
  342. package/dist/module/dispute-response.js +1 -1
  343. package/dist/module/duplicate-charge.js +1 -1
  344. package/dist/module/electronic-evidence.js +1 -1
  345. package/dist/module/form-address-fields.js +1 -1
  346. package/dist/module/form-control-checkbox2.js +2 -2
  347. package/dist/module/form-control-date2.js +2 -2
  348. package/dist/module/form-control-file-v22.js +1 -1
  349. package/dist/module/form-control-file2.js +2 -2
  350. package/dist/module/form-control-monetary-provisioning2.js +2 -2
  351. package/dist/module/form-control-monetary2.js +2 -2
  352. package/dist/module/form-control-number-masked2.js +2 -2
  353. package/dist/module/form-control-number.js +2 -2
  354. package/dist/module/form-control-radio2.js +2 -2
  355. package/dist/module/form-control-select2.js +2 -2
  356. package/dist/module/form-control-text2.js +2 -2
  357. package/dist/module/form-control-textarea2.js +2 -2
  358. package/dist/module/get-payment-details.js +0 -2
  359. package/dist/module/get-subaccounts.js +0 -2
  360. package/dist/module/gross-payment-chart-core2.js +2 -2
  361. package/dist/module/hidden-input2.js +1 -1
  362. package/dist/module/identity-address-form.js +1 -1
  363. package/dist/module/iframe-input2.js +3 -3
  364. package/dist/module/internal-tokenize-payment-method2.js +1 -3
  365. package/dist/module/justifi-business-form.js +0 -2
  366. package/dist/module/justifi-button2.js +1 -1
  367. package/dist/module/justifi-checkout.js +40 -46
  368. package/dist/module/justifi-checkouts-list-filters.js +1 -3
  369. package/dist/module/justifi-checkouts-list.js +1 -3
  370. package/dist/module/justifi-dispute-management.js +1 -1
  371. package/dist/module/justifi-gross-payment-chart.js +0 -2
  372. package/dist/module/justifi-header2.js +1 -1
  373. package/dist/module/justifi-order-terminals.js +2 -4
  374. package/dist/module/justifi-payment-provisioning.js +49 -87
  375. package/dist/module/justifi-payment-transactions-list.js +2 -4
  376. package/dist/module/justifi-payments-list-filters.js +3 -3
  377. package/dist/module/justifi-payments-list.js +1 -3
  378. package/dist/module/justifi-payout-details.js +0 -2
  379. package/dist/module/justifi-payout-transactions-list.js +2 -4
  380. package/dist/module/justifi-payouts-list-filters.js +3 -3
  381. package/dist/module/justifi-payouts-list.js +1 -3
  382. package/dist/module/justifi-radio-list-item2.js +1 -1
  383. package/dist/module/justifi-refund-payment.js +0 -2
  384. package/dist/module/justifi-saved-payment-method.js +1 -1
  385. package/dist/module/justifi-season-interruption-insurance.js +1 -3
  386. package/dist/module/justifi-skeleton.js +1 -1
  387. package/dist/module/justifi-terminal-orders-list-filters.js +3 -5
  388. package/dist/module/justifi-terminal-orders-list.js +1 -3
  389. package/dist/module/justifi-terminals-list-filters.js +1 -3
  390. package/dist/module/justifi-terminals-list.js +1 -3
  391. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  392. package/dist/module/legal-address-form-step.js +95 -18
  393. package/dist/module/legal-address-form.js +2 -2
  394. package/dist/module/modular-checkout.js +6 -46
  395. package/dist/module/owner-form-core2.js +1 -1
  396. package/dist/module/owner-form-inputs2.js +3 -3
  397. package/dist/module/owner-form.js +2 -2
  398. package/dist/module/package.js +1 -1
  399. package/dist/module/pagination-menu2.js +3 -3
  400. package/dist/module/payment-details-core2.js +9 -11
  401. package/dist/module/payment-method-option.js +1 -1
  402. package/dist/module/payment-provisioning-actions.js +1 -1
  403. package/dist/module/payment-provisioning-core.js +49 -85
  404. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  405. package/dist/module/payment-provisioning-form-steps.js +49 -85
  406. package/dist/module/payment.service.js +0 -2
  407. package/dist/module/payments-list-core2.js +2 -4
  408. package/dist/module/payout-details-core2.js +4 -4
  409. package/dist/module/payout.service.js +0 -2
  410. package/dist/module/payouts-list-core2.js +2 -4
  411. package/dist/module/plaid.service.js +0 -2
  412. package/dist/module/product-or-service.js +1 -1
  413. package/dist/module/refund-policy.js +1 -1
  414. package/dist/module/save-new-payment-method.js +1 -1
  415. package/dist/module/schema-validations.js +2 -15
  416. package/dist/module/shipping-details.js +1 -1
  417. package/dist/module/summary.js +1 -1
  418. package/dist/module/table-filters-menu2.js +1 -1
  419. package/dist/module/terminal-orders-list-core2.js +2 -4
  420. package/dist/module/terminal-quantity-selector2.js +1 -1
  421. package/dist/module/terminal.service.js +0 -2
  422. package/dist/module/terminals-list-core2.js +2 -4
  423. package/dist/module/utils2.js +1 -7
  424. package/dist/types/api/Checkout.d.ts +0 -2
  425. package/dist/types/api/index.d.ts +0 -2
  426. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +26 -2
  427. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +42 -2
  428. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +25 -2
  429. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +21 -2
  430. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +37 -2
  431. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +24 -2
  432. package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +0 -6
  433. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -21
  434. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -3
  435. package/dist/types/components/checkout/checkout.d.ts +0 -1
  436. package/dist/types/components/modular-checkout/ModularCheckout.d.ts +1 -2
  437. package/dist/types/components/modular-checkout/modular-checkout.d.ts +0 -5
  438. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
  439. package/dist/types/components.d.ts +48 -422
  440. package/dist/types/store/checkout.store.d.ts +0 -1
  441. package/dist/webcomponents/index.esm.js +1 -1
  442. package/dist/webcomponents/p-0867547d.entry.js +1 -0
  443. package/dist/webcomponents/p-091d6a7e.entry.js +1 -0
  444. package/dist/webcomponents/p-0d4bea62.entry.js +1 -0
  445. package/dist/webcomponents/{p-86111a0a.entry.js → p-0eb7abed.entry.js} +1 -1
  446. package/dist/webcomponents/p-1634262a.entry.js +1 -0
  447. package/dist/webcomponents/p-1a4d0ad6.entry.js +1 -0
  448. package/dist/webcomponents/p-25e3cb85.entry.js +1 -0
  449. package/dist/webcomponents/{p-03c8c754.entry.js → p-278988e8.entry.js} +1 -1
  450. package/dist/webcomponents/p-3482ab40.entry.js +1 -0
  451. package/dist/webcomponents/p-3b5a9e94.entry.js +1 -0
  452. package/dist/webcomponents/p-44efe4ca.entry.js +1 -0
  453. package/dist/webcomponents/p-49a0ef9d.entry.js +1 -0
  454. package/dist/webcomponents/p-4bff1285.entry.js +1 -0
  455. package/dist/webcomponents/p-4d87be74.entry.js +1 -0
  456. package/dist/webcomponents/{p-4e71de94.entry.js → p-50308873.entry.js} +1 -1
  457. package/dist/webcomponents/p-51107c8f.entry.js +1 -0
  458. package/dist/webcomponents/p-51d7b9f7.entry.js +1 -0
  459. package/dist/webcomponents/p-5490e39c.entry.js +1 -0
  460. package/dist/webcomponents/p-5c60ba00.entry.js +1 -0
  461. package/dist/webcomponents/p-5d56a293.entry.js +1 -0
  462. package/dist/webcomponents/p-654d91d7.entry.js +1 -0
  463. package/dist/webcomponents/p-68c2ce90.entry.js +1 -0
  464. package/dist/webcomponents/{p-e6507b93.entry.js → p-69b0be17.entry.js} +1 -1
  465. package/dist/webcomponents/p-6e99cd4c.entry.js +1 -0
  466. package/dist/webcomponents/p-7e4bfba1.entry.js +1 -0
  467. package/dist/webcomponents/{p-0ce046fd.entry.js → p-8740871d.entry.js} +1 -1
  468. package/dist/webcomponents/p-87d23cf8.entry.js +1 -0
  469. package/dist/webcomponents/p-9065f077.entry.js +1 -0
  470. package/dist/webcomponents/p-908f6b79.entry.js +1 -0
  471. package/dist/webcomponents/p-93d98b07.entry.js +1 -0
  472. package/dist/webcomponents/p-94b2d6a1.entry.js +1 -0
  473. package/dist/webcomponents/p-980db13b.entry.js +1 -0
  474. package/dist/webcomponents/{p-fe862786.entry.js → p-99c1059c.entry.js} +1 -1
  475. package/dist/webcomponents/p-9c7c60f3.entry.js +1 -0
  476. package/dist/webcomponents/{p-BS7OgSQe.js → p-B09GVew-.js} +1 -1
  477. package/dist/webcomponents/p-B10U2_Sw.js +1 -0
  478. package/dist/webcomponents/{p-BVwVhXcQ.js → p-B69TWr1K.js} +1 -1
  479. package/dist/webcomponents/{p-CkN7DFFn.js → p-BDRSfgZJ.js} +1 -1
  480. package/dist/webcomponents/{p-KPmnq8xf.js → p-BIzMmHpn.js} +1 -1
  481. package/dist/webcomponents/p-BqXh8qSb.js +1 -0
  482. package/dist/webcomponents/p-C0FpWzgU.js +1 -0
  483. package/dist/webcomponents/{p-BKM7YeAB.js → p-CA9okQxT.js} +1 -1
  484. package/dist/webcomponents/{p-BNqo3kt0.js → p-CJ4viNrp.js} +1 -1
  485. package/dist/webcomponents/p-CMTxbXEr.js +1 -0
  486. package/dist/webcomponents/{p-DOLBAxYf.js → p-CYz0Hubu.js} +1 -1
  487. package/dist/webcomponents/p-CdVle3mx.js +1 -0
  488. package/dist/webcomponents/p-CiMKKjGV.js +1 -0
  489. package/dist/webcomponents/p-CjfgyxBN.js +1 -0
  490. package/dist/webcomponents/p-CjxyejYl.js +1 -0
  491. package/dist/webcomponents/p-CpP3EZBK.js +1 -0
  492. package/dist/webcomponents/p-D032AB34.js +1 -0
  493. package/dist/webcomponents/p-DCIW8z1f.js +1 -0
  494. package/dist/webcomponents/{p-D1WQG4I7.js → p-DOcRWTul.js} +1 -1
  495. package/dist/webcomponents/p-DQKNMVh7.js +1 -0
  496. package/dist/webcomponents/p-DU8dqq9U.js +1 -0
  497. package/dist/webcomponents/{p-bolTb61p.js → p-DUQxAYW4.js} +1 -1
  498. package/dist/webcomponents/{p-Dy5btfGV.js → p-DcHTywGe.js} +1 -1
  499. package/dist/webcomponents/{p-Cmb6PRFh.js → p-DircQtPA.js} +1 -1
  500. package/dist/webcomponents/{p-BxtmTjqW.js → p-Dp2W4Eq3.js} +1 -1
  501. package/dist/webcomponents/{p-BRbk6oSh.js → p-E8uzhk39.js} +1 -1
  502. package/dist/webcomponents/p-GenVH2BR.js +1 -0
  503. package/dist/webcomponents/{p-t8p0WAW4.js → p-H_emngUs.js} +1 -1
  504. package/dist/webcomponents/p-InCWAej0.js +1 -0
  505. package/dist/webcomponents/{p-BydKIJVC.js → p-KS3Bf_2D.js} +1 -1
  506. package/dist/webcomponents/{p-C01zp4xw.js → p-MFnmyvti.js} +1 -1
  507. package/dist/webcomponents/{p-wtuY7MT2.js → p-QmGrQis7.js} +1 -1
  508. package/dist/webcomponents/{p-DkOiS6Zr.js → p-Qmo430x1.js} +1 -1
  509. package/dist/webcomponents/p-VodztElu.js +1 -0
  510. package/dist/webcomponents/p-a4a647bd.entry.js +1 -0
  511. package/dist/webcomponents/p-abcbfb22.entry.js +1 -0
  512. package/dist/webcomponents/p-af29e819.entry.js +1 -0
  513. package/dist/webcomponents/p-b31bf32a.entry.js +1 -0
  514. package/dist/webcomponents/{p-3bacf834.entry.js → p-b6286d7b.entry.js} +1 -1
  515. package/dist/webcomponents/p-b8c816fe.entry.js +1 -0
  516. package/dist/webcomponents/p-bcec4201.entry.js +1 -0
  517. package/dist/webcomponents/{p-f2650bfc.entry.js → p-c3a625ec.entry.js} +4 -4
  518. package/dist/webcomponents/p-c6ee5aa7.entry.js +1 -0
  519. package/dist/webcomponents/{p-c8f40375.entry.js → p-c8bd7e0d.entry.js} +1 -1
  520. package/dist/webcomponents/p-c900ccca.entry.js +1 -0
  521. package/dist/webcomponents/{p-f528da70.entry.js → p-c9920e22.entry.js} +1 -1
  522. package/dist/webcomponents/p-ca3733e5.entry.js +1 -0
  523. package/dist/webcomponents/p-cb61af93.entry.js +1 -0
  524. package/dist/webcomponents/p-d29ce58e.entry.js +1 -0
  525. package/dist/webcomponents/p-d34f5a20.entry.js +1 -0
  526. package/dist/webcomponents/p-d41ad7a8.entry.js +1 -0
  527. package/dist/webcomponents/{p-a22d1078.entry.js → p-d79f9a54.entry.js} +1 -1
  528. package/dist/webcomponents/p-d8ec7cfc.entry.js +1 -0
  529. package/dist/webcomponents/p-dd0c456f.entry.js +1 -0
  530. package/dist/webcomponents/p-dda50611.entry.js +1 -0
  531. package/dist/webcomponents/p-df7e2530.entry.js +1 -0
  532. package/dist/webcomponents/p-e4a43e31.entry.js +1 -0
  533. package/dist/webcomponents/{p-aaed4997.entry.js → p-ea75759b.entry.js} +1 -1
  534. package/dist/webcomponents/p-edcb6de1.entry.js +1 -0
  535. package/dist/webcomponents/p-faaba66d.entry.js +1 -0
  536. package/dist/webcomponents/p-fc680b08.entry.js +1 -0
  537. package/dist/webcomponents/p-fcaaed23.entry.js +1 -0
  538. package/dist/webcomponents/{p-b8426810.entry.js → p-fdcb24aa.entry.js} +1 -1
  539. package/dist/webcomponents/p-fefc4dea.entry.js +1 -0
  540. package/dist/webcomponents/p-ff1bc3de.entry.js +1 -0
  541. package/dist/webcomponents/{p-BTzt8N0l.js → p-gcRtE71H.js} +1 -1
  542. package/dist/webcomponents/p-giyZ3C4E.js +1 -0
  543. package/dist/webcomponents/{p-C8yN3uBj.js → p-yyedWKWX.js} +1 -1
  544. package/dist/webcomponents/webcomponents.esm.js +1 -1
  545. package/package.json +13 -13
  546. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +0 -133
  547. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +0 -875
  548. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +0 -34
  549. package/dist/collection/api/GooglePay.js +0 -181
  550. package/dist/collection/api/services/google-pay.service.js +0 -240
  551. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +0 -265
  552. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +0 -466
  553. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +0 -307
  554. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +0 -380
  555. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +0 -270
  556. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +0 -276
  557. package/dist/collection/components/modular-checkout/sub-components/google-pay-skeleton.js +0 -10
  558. package/dist/collection/components/modular-checkout/sub-components/google-pay.js +0 -609
  559. package/dist/collection/ui-components/google-pay-button.js +0 -251
  560. package/dist/esm/bank-account-document-form-inputs_6.entry.js +0 -126
  561. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +0 -868
  562. package/dist/esm/justifi-business-representative-form-inputs.entry.js +0 -32
  563. package/dist/module/ApplePay.js +0 -121
  564. package/dist/module/GooglePay.js +0 -184
  565. package/dist/module/business-additional-questions-form-step-core.js +0 -167
  566. package/dist/module/business-bank-account-form-step-core.js +0 -458
  567. package/dist/module/business-core-info-form-step-core.js +0 -173
  568. package/dist/module/business-owners-form-step-core.js +0 -231
  569. package/dist/module/business-representative-form-step-core.js +0 -171
  570. package/dist/module/google-pay.js +0 -781
  571. package/dist/module/justifi-additional-questions-form-step-core.d.ts +0 -11
  572. package/dist/module/justifi-additional-questions-form-step-core.js +0 -6
  573. package/dist/module/justifi-business-bank-account-form-step-core.d.ts +0 -11
  574. package/dist/module/justifi-business-bank-account-form-step-core.js +0 -6
  575. package/dist/module/justifi-business-core-info-form-step-core.d.ts +0 -11
  576. package/dist/module/justifi-business-core-info-form-step-core.js +0 -6
  577. package/dist/module/justifi-business-owners-form-step-core.d.ts +0 -11
  578. package/dist/module/justifi-business-owners-form-step-core.js +0 -6
  579. package/dist/module/justifi-business-representative-form-step-core.d.ts +0 -11
  580. package/dist/module/justifi-business-representative-form-step-core.js +0 -6
  581. package/dist/module/justifi-google-pay.d.ts +0 -11
  582. package/dist/module/justifi-google-pay.js +0 -6
  583. package/dist/module/justifi-legal-address-form-step-core.d.ts +0 -11
  584. package/dist/module/justifi-legal-address-form-step-core.js +0 -6
  585. package/dist/module/legal-address-form-step-core.js +0 -154
  586. package/dist/types/api/GooglePay.d.ts +0 -271
  587. package/dist/types/api/services/google-pay.service.d.ts +0 -60
  588. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +0 -38
  589. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +0 -52
  590. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +0 -40
  591. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +0 -37
  592. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +0 -50
  593. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +0 -38
  594. package/dist/types/components/modular-checkout/sub-components/google-pay-skeleton.d.ts +0 -6
  595. package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +0 -59
  596. package/dist/types/ui-components/google-pay-button.d.ts +0 -18
  597. package/dist/webcomponents/p-03930216.entry.js +0 -1
  598. package/dist/webcomponents/p-0412f491.entry.js +0 -1
  599. package/dist/webcomponents/p-04154136.entry.js +0 -1
  600. package/dist/webcomponents/p-06ce1202.entry.js +0 -1
  601. package/dist/webcomponents/p-0772719b.entry.js +0 -1
  602. package/dist/webcomponents/p-0cd1c683.entry.js +0 -1
  603. package/dist/webcomponents/p-136b29e3.entry.js +0 -1
  604. package/dist/webcomponents/p-13bdb5ed.entry.js +0 -1
  605. package/dist/webcomponents/p-16812327.entry.js +0 -1
  606. package/dist/webcomponents/p-19dabeab.entry.js +0 -1
  607. package/dist/webcomponents/p-1d04bd7a.entry.js +0 -1
  608. package/dist/webcomponents/p-1f196690.entry.js +0 -1
  609. package/dist/webcomponents/p-270bf699.entry.js +0 -1
  610. package/dist/webcomponents/p-2da4e6ca.entry.js +0 -1
  611. package/dist/webcomponents/p-2eb123a3.entry.js +0 -1
  612. package/dist/webcomponents/p-38e1ef4b.entry.js +0 -1
  613. package/dist/webcomponents/p-3ae12b98.entry.js +0 -1
  614. package/dist/webcomponents/p-3c006a15.entry.js +0 -1
  615. package/dist/webcomponents/p-404b3f02.entry.js +0 -1
  616. package/dist/webcomponents/p-42658888.entry.js +0 -1
  617. package/dist/webcomponents/p-43390a7f.entry.js +0 -1
  618. package/dist/webcomponents/p-47f6d271.entry.js +0 -1
  619. package/dist/webcomponents/p-48d1bc83.entry.js +0 -1
  620. package/dist/webcomponents/p-4f102cfd.entry.js +0 -1
  621. package/dist/webcomponents/p-5cba8448.entry.js +0 -1
  622. package/dist/webcomponents/p-7b610d9e.entry.js +0 -1
  623. package/dist/webcomponents/p-7bf6ded7.entry.js +0 -1
  624. package/dist/webcomponents/p-7dbd0618.entry.js +0 -1
  625. package/dist/webcomponents/p-88f58abe.entry.js +0 -1
  626. package/dist/webcomponents/p-8b6b7e20.entry.js +0 -1
  627. package/dist/webcomponents/p-8f4adcfd.entry.js +0 -1
  628. package/dist/webcomponents/p-8fcd277c.entry.js +0 -1
  629. package/dist/webcomponents/p-9065d67e.entry.js +0 -1
  630. package/dist/webcomponents/p-914b590d.entry.js +0 -1
  631. package/dist/webcomponents/p-9370cf0d.entry.js +0 -1
  632. package/dist/webcomponents/p-9a795f44.entry.js +0 -1
  633. package/dist/webcomponents/p-B-0a8Xqm.js +0 -1
  634. package/dist/webcomponents/p-BN1PYSFf.js +0 -1
  635. package/dist/webcomponents/p-BitGlMSc.js +0 -1
  636. package/dist/webcomponents/p-Bli6WznP.js +0 -1
  637. package/dist/webcomponents/p-Bqlcv3ZV.js +0 -1
  638. package/dist/webcomponents/p-BuCKkdLM.js +0 -1
  639. package/dist/webcomponents/p-Bx3wyDU2.js +0 -1
  640. package/dist/webcomponents/p-C-2kW6Al.js +0 -1
  641. package/dist/webcomponents/p-CQrwlULd.js +0 -1
  642. package/dist/webcomponents/p-CVhnuewz.js +0 -1
  643. package/dist/webcomponents/p-DkoufM1t.js +0 -1
  644. package/dist/webcomponents/p-a020c889.entry.js +0 -1
  645. package/dist/webcomponents/p-a0c9f0bd.entry.js +0 -1
  646. package/dist/webcomponents/p-a6e816f6.entry.js +0 -1
  647. package/dist/webcomponents/p-a87187c3.entry.js +0 -1
  648. package/dist/webcomponents/p-a9f75a9e.entry.js +0 -1
  649. package/dist/webcomponents/p-ad9307c1.entry.js +0 -1
  650. package/dist/webcomponents/p-avgjSJ1d.js +0 -1
  651. package/dist/webcomponents/p-b3f8d5d4.entry.js +0 -1
  652. package/dist/webcomponents/p-ba0762f9.entry.js +0 -1
  653. package/dist/webcomponents/p-c41191e7.entry.js +0 -1
  654. package/dist/webcomponents/p-c621e7af.entry.js +0 -1
  655. package/dist/webcomponents/p-c63b0271.entry.js +0 -1
  656. package/dist/webcomponents/p-c7MCfTgE.js +0 -1
  657. package/dist/webcomponents/p-c88babbe.entry.js +0 -1
  658. package/dist/webcomponents/p-d2935214.entry.js +0 -1
  659. package/dist/webcomponents/p-d88d228f.entry.js +0 -1
  660. package/dist/webcomponents/p-dgG_o6wN.js +0 -1
  661. package/dist/webcomponents/p-e7e5fee9.entry.js +0 -1
  662. package/dist/webcomponents/p-e9d13cca.entry.js +0 -1
  663. package/dist/webcomponents/p-ee122560.entry.js +0 -1
  664. package/dist/webcomponents/p-f4cb581f.entry.js +0 -1
  665. package/dist/webcomponents/p-nrZ9yHcl.js +0 -1
  666. package/dist/webcomponents/p-zNSPsvs3.js +0 -1
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-DwYM91AU.js";import{R as r}from"./p-QmGrQis7.js";const t=()=>s("div",{class:"d-flex justify-content-center"},s("div",{class:"spinner-border",role:"status",part:r},s("span",{class:"visually-hidden"},"Loading...")));export{t as S}
@@ -1 +1 @@
1
- import{h as t}from"./p-DwYM91AU.js";import{S as e,T as r}from"./p-wtuY7MT2.js";import{a}from"./p-BS7OgSQe.js";import"./p-tGDdRx0W.js";import"./p-Cjcsf8ku.js";import{b as s}from"./p-CQrwlULd.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{B as d,a as o}from"./p-DOLBAxYf.js";const i="created_at,updated_at,order_status,quantity",p={created_at:()=>t("th",{part:e,scope:"col",title:"The date and time the order was created"},"Created At"),updated_at:()=>t("th",{part:e,scope:"col",title:"The date and time the order was last updated"},"Updated At"),order_status:()=>t("th",{part:e,scope:"col",title:"The current status of the order"},"Order Status"),business_id:()=>t("th",{part:e,scope:"col",title:"The business ID associated with the order"},"Business ID"),company_name:()=>t("th",{part:e,scope:"col",title:"The business name associated with the order"},"Business Name"),provider:()=>t("th",{part:e,scope:"col",title:"The provider associated with the order"},"Provider"),order_type:()=>t("th",{part:e,scope:"col",title:"The type of order"},"Order Type"),quantity:()=>t("th",{part:e,scope:"col",title:"The number of terminals associated with the order"},"Order Quantity")},l={created_at:(e,s)=>t("td",{part:r(s)},t("div",{class:"fw-bold"},a(e.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},a(e.created_at,{showTime:!0}))),updated_at:(e,s)=>t("td",{part:r(s)},t("div",{class:"fw-bold"},a(e.updated_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},a(e.updated_at,{showTime:!0}))),order_status:(e,a)=>t("td",{part:r(a)},t(o,Object.assign({},{submitted:{variant:d.PRIMARY,title:"This order is submitted",text:"Submitted"},completed:{variant:d.SUCCESS,title:"This order has been completed",text:"Completed"},created:{variant:d.SECONDARY,title:"This order is created",text:"Created"},in_progress:{variant:d.PRIMARY,title:"This order is in progress",text:"In Progress"},on_hold:{variant:d.WARNING,title:"This order is on hold",text:"On Hold"},canceled:{variant:d.DANGER,title:"This order is canceled",text:"Canceled"}}[e.order_status]))),business_id:(e,a)=>t("td",{part:r(a)},e.business_id),company_name:(e,a)=>t("td",{part:r(a)},e.company_name),provider:(e,a)=>t("td",{part:r(a)},e.provider),order_type:(e,a)=>{let d;return e.order_type===s.boardingOnly?d="Boarding Only":e.order_type===s.boardingShipping&&(d="Boarding & Shipping"),t("td",{part:r(a)},d)},quantity:(e,a)=>t("td",{part:r(a)},e.terminals.length)};export{l as a,i as d,p as t}
1
+ import{h as t}from"./p-DwYM91AU.js";import{S as e,T as r}from"./p-QmGrQis7.js";import{a}from"./p-B09GVew-.js";import"./p-tGDdRx0W.js";import"./p-Cjcsf8ku.js";import{b as s}from"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{B as d,a as i}from"./p-CYz0Hubu.js";const o="created_at,updated_at,order_status,quantity",p={created_at:()=>t("th",{part:e,scope:"col",title:"The date and time the order was created"},"Created At"),updated_at:()=>t("th",{part:e,scope:"col",title:"The date and time the order was last updated"},"Updated At"),order_status:()=>t("th",{part:e,scope:"col",title:"The current status of the order"},"Order Status"),business_id:()=>t("th",{part:e,scope:"col",title:"The business ID associated with the order"},"Business ID"),company_name:()=>t("th",{part:e,scope:"col",title:"The business name associated with the order"},"Business Name"),provider:()=>t("th",{part:e,scope:"col",title:"The provider associated with the order"},"Provider"),order_type:()=>t("th",{part:e,scope:"col",title:"The type of order"},"Order Type"),quantity:()=>t("th",{part:e,scope:"col",title:"The number of terminals associated with the order"},"Order Quantity")},l={created_at:(e,s)=>t("td",{part:r(s)},t("div",{class:"fw-bold"},a(e.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},a(e.created_at,{showTime:!0}))),updated_at:(e,s)=>t("td",{part:r(s)},t("div",{class:"fw-bold"},a(e.updated_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},a(e.updated_at,{showTime:!0}))),order_status:(e,a)=>t("td",{part:r(a)},t(i,Object.assign({},{submitted:{variant:d.PRIMARY,title:"This order is submitted",text:"Submitted"},completed:{variant:d.SUCCESS,title:"This order has been completed",text:"Completed"},created:{variant:d.SECONDARY,title:"This order is created",text:"Created"},in_progress:{variant:d.PRIMARY,title:"This order is in progress",text:"In Progress"},on_hold:{variant:d.WARNING,title:"This order is on hold",text:"On Hold"},canceled:{variant:d.DANGER,title:"This order is canceled",text:"Canceled"}}[e.order_status]))),business_id:(e,a)=>t("td",{part:r(a)},e.business_id),company_name:(e,a)=>t("td",{part:r(a)},e.company_name),provider:(e,a)=>t("td",{part:r(a)},e.provider),order_type:(e,a)=>{let d;return e.order_type===s.boardingOnly?d="Boarding Only":e.order_type===s.boardingShipping&&(d="Boarding & Shipping"),t("td",{part:r(a)},d)},quantity:(e,a)=>t("td",{part:r(a)},e.terminals.length)};export{l as a,o as d,p as t}
@@ -1 +1 @@
1
- import{h as t}from"./p-DwYM91AU.js";import{d as e,e as a}from"./p-BS7OgSQe.js";import{B as c,a as o}from"./p-DOLBAxYf.js";import{S as p,T as s}from"./p-wtuY7MT2.js";const r="created_at,payment_amount,payment_description,payment_mode,status",d={created_at:()=>t("th",{part:p,scope:"col",title:"The date each checkout occurred"},"Processed On"),payment_amount:()=>t("th",{part:p,scope:"col",title:"The dollar amount of each checkout"},"Payment Amount"),payment_description:()=>t("th",{part:p,scope:"col",title:"The description of each checkout"},"Payment Description"),sub_account_name:()=>t("th",{part:p,scope:"col",title:"The sub account associated with the checkout"},"Sub Account"),payment_mode:()=>t("th",{part:p,scope:"col",title:"The payment mode of each checkout"},"Payment Mode"),status:()=>t("th",{part:p,scope:"col",title:"The current status of each checkout"},"Status")},n={created_at:(c,o)=>t("td",{part:s(o)},t("div",{class:"fw-bold"},a(c.created_at)),t("div",{class:"fw-bold"},e(c.created_at))),payment_amount:(e,a)=>t("td",{part:s(a)},e.formattedPaymentAmount(e.payment_amount)),payment_description:(e,a)=>t("td",{part:s(a)},e.payment_description),sub_account_name:(e,a)=>t("td",{part:s(a)},e.sub_account_name),payment_mode:(e,a)=>t("td",{part:s(a)},e.payment_mode),status:(e,a)=>t("td",{part:s(a)},t(o,Object.assign({},{created:{variant:c.PRIMARY,title:"The checkout has been created",text:"Created"},completed:{variant:c.SUCCESS,title:"The checkout has been completed",text:"Completed"},attempted:{variant:c.SECONDARY,title:"The checkout has been attempted",text:"Attempted"},expired:{variant:c.DANGER,title:"The checkout has expired",text:"Expired"}}[e.status])))};export{n as a,d as c,r as d}
1
+ import{h as t}from"./p-DwYM91AU.js";import{d as e,e as a}from"./p-B09GVew-.js";import{B as c,a as o}from"./p-CYz0Hubu.js";import{S as p,T as s}from"./p-QmGrQis7.js";const r="created_at,payment_amount,payment_description,payment_mode,status",d={created_at:()=>t("th",{part:p,scope:"col",title:"The date each checkout occurred"},"Processed On"),payment_amount:()=>t("th",{part:p,scope:"col",title:"The dollar amount of each checkout"},"Payment Amount"),payment_description:()=>t("th",{part:p,scope:"col",title:"The description of each checkout"},"Payment Description"),sub_account_name:()=>t("th",{part:p,scope:"col",title:"The sub account associated with the checkout"},"Sub Account"),payment_mode:()=>t("th",{part:p,scope:"col",title:"The payment mode of each checkout"},"Payment Mode"),status:()=>t("th",{part:p,scope:"col",title:"The current status of each checkout"},"Status")},m={created_at:(c,o)=>t("td",{part:s(o)},t("div",{class:"fw-bold"},a(c.created_at)),t("div",{class:"fw-bold"},e(c.created_at))),payment_amount:(e,a)=>t("td",{part:s(a)},e.formattedPaymentAmount(e.payment_amount)),payment_description:(e,a)=>t("td",{part:s(a)},e.payment_description),sub_account_name:(e,a)=>t("td",{part:s(a)},e.sub_account_name),payment_mode:(e,a)=>t("td",{part:s(a)},e.payment_mode),status:(e,a)=>t("td",{part:s(a)},t(o,Object.assign({},{created:{variant:c.PRIMARY,title:"The checkout has been created",text:"Created"},completed:{variant:c.SUCCESS,title:"The checkout has been completed",text:"Completed"},attempted:{variant:c.SECONDARY,title:"The checkout has been attempted",text:"Attempted"},expired:{variant:c.DANGER,title:"The checkout has expired",text:"Expired"}}[e.status])))};export{m as a,d as c,r as d}
@@ -1 +1 @@
1
- import{h as t}from"./p-DwYM91AU.js";import{a}from"./p-BS7OgSQe.js";import{M as e}from"./p-bolTb61p.js";import{S as o,T as s}from"./p-wtuY7MT2.js";const p="created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv",r={created_at:()=>t("th",{part:o,scope:"col",title:"The date the payout was deposited"},"Created"),sub_account_name:()=>t("th",{part:o,scope:"col",title:"The sub account associated with the payout"},"Sub Account"),payments_total:()=>t("th",{part:o,scope:"col",title:"The total payments amount associated with the payout"},"Payments"),refunds_total:()=>t("th",{part:o,scope:"col",title:"The total refunds amount associated with the payout"},"Refunds"),fees_total:()=>t("th",{part:o,scope:"col",title:"The total fees amount associated with the payout"},"Fees"),other_total:()=>t("th",{part:o,scope:"col",title:"The total other amount"},"Other"),amount:()=>t("th",{part:o,scope:"col",title:"The total amount of the payout"},"Amount"),status:()=>t("th",{part:o,scope:"col",title:"The real-time status of each payout"},"Status"),csv:()=>t("th",{part:o,scope:"col",title:"Export CSV"})},l=o=>({created_at:(e,o)=>t("td",{part:s(o)},t("div",{class:"fw-bold"},a(e.created_at,{showDisplayDate:!0}))),sub_account_name:(a,e)=>t("td",{part:s(e)},a.sub_account_name),payments_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.payments_total)),refunds_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.refunds_total)),fees_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.fees_total)),other_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.other_total)),amount:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.amount)),status:(a,o)=>t("td",{part:s(o)},e(a.status)),csv:(a,e)=>t("td",{part:s(e)},t("a",{href:"#",onClick:t=>{t.preventDefault(),o(a.id)}},"CSV"))});export{l as a,p as d,r as p}
1
+ import{h as t}from"./p-DwYM91AU.js";import{a}from"./p-B09GVew-.js";import{M as e}from"./p-DUQxAYW4.js";import{S as o,T as s}from"./p-QmGrQis7.js";const p="created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv",r={created_at:()=>t("th",{part:o,scope:"col",title:"The date the payout was deposited"},"Created"),sub_account_name:()=>t("th",{part:o,scope:"col",title:"The sub account associated with the payout"},"Sub Account"),payments_total:()=>t("th",{part:o,scope:"col",title:"The total payments amount associated with the payout"},"Payments"),refunds_total:()=>t("th",{part:o,scope:"col",title:"The total refunds amount associated with the payout"},"Refunds"),fees_total:()=>t("th",{part:o,scope:"col",title:"The total fees amount associated with the payout"},"Fees"),other_total:()=>t("th",{part:o,scope:"col",title:"The total other amount"},"Other"),amount:()=>t("th",{part:o,scope:"col",title:"The total amount of the payout"},"Amount"),status:()=>t("th",{part:o,scope:"col",title:"The real-time status of each payout"},"Status"),csv:()=>t("th",{part:o,scope:"col",title:"Export CSV"})},c=o=>({created_at:(e,o)=>t("td",{part:s(o)},t("div",{class:"fw-bold"},a(e.created_at,{showDisplayDate:!0}))),sub_account_name:(a,e)=>t("td",{part:s(e)},a.sub_account_name),payments_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.payments_total)),refunds_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.refunds_total)),fees_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.fees_total)),other_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.other_total)),amount:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.amount)),status:(a,o)=>t("td",{part:s(o)},e(a.status)),csv:(a,e)=>t("td",{part:s(e)},t("a",{href:"#",onClick:t=>{t.preventDefault(),o(a.id)}},"CSV"))});export{c as a,p as d,r as p}
@@ -0,0 +1 @@
1
+ import{h as r}from"./p-DwYM91AU.js";import{W as s}from"./p-QmGrQis7.js";const o=o=>r("h3",{class:`header-3 ${null==o?void 0:o.class}`,part:s},o.text);export{o as H}
@@ -0,0 +1 @@
1
+ import{A as e}from"./p-yyedWKWX.js";import"./p-Cjcsf8ku.js";import"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const r=e();class n{async fetchTerminals(e,n,t){return r.get({endpoint:"terminals",params:t,headers:{Account:e},authToken:n})}async fetchTerminal(e,n){return r.get({endpoint:`terminals/${e}`,authToken:n})}async fetchTerminalModels(e,n){return r.get({endpoint:"terminals/order_models",headers:{"sub-account":e},authToken:n})}async orderTerminals(e,n){return r.post({endpoint:"terminals/orders",body:n,headers:{"sub-account":n.sub_account_id},authToken:e})}}export{n as T}
@@ -1 +1 @@
1
- import{A as t}from"./p-C8yN3uBj.js";import"./p-Cjcsf8ku.js";import"./p-CQrwlULd.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const a=t();class n{async fetchPayouts(t,n,s){return a.get({authToken:n,endpoint:`account/${t}/payouts`,params:s})}async fetchPayout(t,n){return a.get({authToken:n,endpoint:`payouts/${t}`})}async fetchCSV(t,n){return a.get({authToken:n,endpoint:`reports/payouts/${t}`})}async fetchPayoutTransactions(t,n,s){return a.get({authToken:n,endpoint:"balance_transactions",params:s,headers:{"sub-account":t}})}}export{n as P}
1
+ import{A as t}from"./p-yyedWKWX.js";import"./p-Cjcsf8ku.js";import"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const a=t();class n{async fetchPayouts(t,n,s){return a.get({authToken:n,endpoint:`account/${t}/payouts`,params:s})}async fetchPayout(t,n){return a.get({authToken:n,endpoint:`payouts/${t}`})}async fetchCSV(t,n){return a.get({authToken:n,endpoint:`reports/payouts/${t}`})}async fetchPayoutTransactions(t,n,s){return a.get({authToken:n,endpoint:"balance_transactions",params:s,headers:{"sub-account":t}})}}export{n as P}
@@ -1 +1 @@
1
- import{h as s}from"./p-DwYM91AU.js";import{D as t,F as a,G as l,H as e}from"./p-wtuY7MT2.js";const o=a=>s("main",{class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},s("p",{part:t},a)),c=t=>s("h2",{part:l,class:"mt-4 fs-5 border-bottom pb-3"},t.sectionTitle),r=({title:a,value:l,onClick:o})=>a&&l?s("div",{class:"row justify-content-between"},s("div",{class:"col-12 col-md-4"},s("span",{class:"fw-bold",part:t},a)),s("div",{class:"col-12 col-md-8 "+(o?"text-decoration-underline text-primary":""),style:{cursor:o?"pointer":"auto"},onClick:()=>o&&o()},s("span",{class:"text-wrap",part:o?e:t},l))):null,p=({title:a,value:e,classes:o})=>s("div",{class:`d-flex flex-column ${o}`},s("span",{class:"fw-bold border-1 border-bottom ps-2 pe-2",part:l},a),s("span",{class:"pt-2 ps-2 pe-2",part:t},e)),n=({title:l,slot:e,badge:o},c)=>s("div",{slot:e,class:"p-2"},s("div",{class:"d-flex flex-row align-items-center gap-2 mb-2"},s("h1",{class:"m-0",part:a},l),o),s("div",{class:"d-flex flex-row align-items-top",part:t},c)),i=({metadata:t})=>t&&Object.keys(t).length?s("div",{class:"mt-4"},s("pre",{class:"p-2","aria-label":"metadata content"},s("code",null,JSON.stringify(t,null,2)))):null;export{i as C,c as D,o as E,n as a,p as b,r as c}
1
+ import{h as s}from"./p-DwYM91AU.js";import{D as t,F as a,G as l,H as e}from"./p-QmGrQis7.js";const o=a=>s("main",{class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},s("p",{part:t},a)),r=t=>s("h2",{part:l,class:"mt-4 fs-5 border-bottom pb-3"},t.sectionTitle),c=({title:a,value:l,onClick:o})=>a&&l?s("div",{class:"row justify-content-between"},s("div",{class:"col-12 col-md-4"},s("span",{class:"fw-bold",part:t},a)),s("div",{class:"col-12 col-md-8 "+(o?"text-decoration-underline text-primary":""),style:{cursor:o?"pointer":"auto"},onClick:()=>o&&o()},s("span",{class:"text-wrap",part:o?e:t},l))):null,p=({title:a,value:e,classes:o})=>s("div",{class:`d-flex flex-column ${o}`},s("span",{class:"fw-bold border-1 border-bottom ps-2 pe-2",part:l},a),s("span",{class:"pt-2 ps-2 pe-2",part:t},e)),n=({title:l,slot:e,badge:o},r)=>s("div",{slot:e,class:"p-2"},s("div",{class:"d-flex flex-row align-items-center gap-2 mb-2"},s("h1",{class:"m-0",part:a},l),o),s("div",{class:"d-flex flex-row align-items-top",part:t},r)),i=({metadata:t})=>t&&Object.keys(t).length?s("div",{class:"mt-4"},s("pre",{class:"p-2","aria-label":"metadata content"},s("code",null,JSON.stringify(t,null,2)))):null;export{i as C,r as D,o as E,n as a,p as b,c}
@@ -0,0 +1 @@
1
+ import{f as t}from"./p-B09GVew-.js";import{a as s}from"./p-BH0Xfn-F.js";class i{constructor(t){this.payment_mode=h[t.payment_mode],this.payment_token=t.payment_token,this.payment_status=t.payment_status,this.payment_response=t.payment_response,this.payment_error_code=t.payment_error_code,this.payment_error_description=t.payment_error_description,this.checkout_id=t.checkout_id,this.additional_transactions=t.additional_transactions,this.payment_id=t.payment_id,this.payment_method_id=t.payment_method_id,this.status=t.status,this.created_at=t.created_at,this.updated_at=t.updated_at}}class e{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=a[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 t,s,i,e,n,a;let r;if(!this.completions||0===this.completions.length)return h.unknown;const o=this.completions.sort(((t,s)=>new Date(s.updated_at).getTime()-new Date(t.updated_at).getTime()))[0];return o.payment_mode?r=o.payment_mode:(null===(i=null===(s=null===(t=o.payment_response)||void 0===t?void 0:t.data)||void 0===s?void 0:s.payment_method)||void 0===i?void 0:i.card)?r=h.card:(null===(a=null===(n=null===(e=o.payment_response)||void 0===e?void 0:e.data)||void 0===n?void 0:n.payment_method)||void 0===a?void 0:a.bank_account)&&(r=h.bank_account),r}formattedPaymentAmount(s){return t(s,this.payment_currency)}}var h,n,a,r,o,d,c,u,l,f,p,m,_,y,v,g,w,b,P,A,k,C,F,j;!function(t){t.bnpl="Buy Now Pay Later",t.ecom="E-commerce",t.card="Card",t.bank_account="Bank Account",t.card_present="Card Present",t.apple_pay="Apple Pay",t.unknown=""}(h||(h={})),function(t){t.bnpl="bnpl",t.ecom="ecom",t.apple_pay="apple_pay"}(n||(n={})),function(t){t.created="created",t.completed="completed",t.attempted="attempted",t.expired="expired"}(a||(a={})),function(t){t.failed="failed",t.succeeded="succeeded"}(r||(r={})),function(t){t.automatic="automatic",t.manual="manual"}(o||(o={})),function(t){t.card="card",t.bankAccount="bankAccount",t.sezzle="sezzle",t.plaid="plaid",t.applePay="applePay"}(d||(d={})),function(t){t.card="Card",t.bankAccount="ACH",t.unknown="Unknown"}(c||(c={})),function(t){t.pending="pending",t.automatic="automatic",t.authorized="authorized",t.succeeded="succeeded",t.failed="failed",t.canceled="canceled",t.disputed="disputed",t.fully_refunded="fully_refunded",t.partially_refunded="partially_refunded"}(u||(u={})),function(t){t.usd="usd",t.cad="cad"}(l||(l={}));class B{constructor(t){this.card=t.card?new E(t.card):void 0,this.bank_account=t.bank_account?new D(t.bank_account):void 0}get payersName(){return this.card?this.card.name:this.bank_account?this.bank_account.name:null}get lastFourDigits(){return this.card?`**** ${this.card.acct_last_four}`:this.bank_account?`**** ${this.bank_account.acct_last_four}`:null}}class D{constructor(t){this.id=t.id,this.acct_last_four=t.acct_last_four,this.name=t.name,this.brand=t.brand,this.token=t.token,this.created_at=t.created_at,this.updated_at=t.updated_at}}class E{constructor(t){this.id=t.id||"",this.acct_last_four=t.acct_last_four,this.name=t.name,this.brand=t.brand,this.token=t.token,this.created_at=t.created_at,this.updated_at=t.updated_at}}class T{constructor(t){this.id=t.id,this.account_id=t.account_id,this.currency=t.currency,this.amount=t.amount,this.amount_disputed=t.amount_disputed,this.amount_refundable=t.amount_refundable,this.amount_refunded=t.amount_refunded,this.balance=t.balance,this.captured=t.captured,this.capture_strategy=t.capture_strategy,this.description=t.description,this.disputed=t.disputed,this.disputes=t.disputes,this.error_code=t.error_code,this.error_description=t.error_description,this.expedited=t.expedited,this.fee_amount=t.fee_amount,this.is_test=t.is_test,this.metadata=t.metadata,this.payment_method=new B(t.payment_method),this.payment_intent_id=t.payment_intent_id,this.refunded=t.refunded,this.status=t.status,this.created_at=t.created_at,this.updated_at=t.updated_at}get disputedStatus(){const t=this.disputes.some((t=>t.status===s.lost));return this.disputed?t?s.lost:"open":null}get payment_type(){return this.payment_method?this.payment_method.card?c.card:c.bankAccount:c.unknown}get payers_name(){return this.payment_method.payersName}get last_four_digits(){return this.payment_method.lastFourDigits}formattedPaymentAmount(s){return t(s,this.currency)}}!function(t){t.payment="payment",t.paymentFee="payment_fee",t.payout="payout",t.refund="refund",t.feeRefund="fee_refund",t.dispute="dispute",t.disputeFee="dispute_fee",t.disputeFeeRefund="dispute_fee_refund",t.disputeRefund="dispute_refund",t.applicationFeeReturned="application_fee_returned"}(f||(f={}));class x{constructor(t){this.id=t.id,this.amount=t.amount,this.balance=t.balance,this.currency=t.currency,this.financial_transaction_id=t.financial_transaction_id,this.payment_id=t.payment_id,this.payment_balance_txn_type=t.payment_balance_txn_type,this.source_id=t.source_id,this.source_type=t.source_type,this.created_at=t.created_at,this.updated_at=t.updated_at}get displayTransactionId(){return this.payment_balance_txn_type===f.paymentFee||this.payment_balance_txn_type===f.applicationFeeReturned?"--":this.source_id}formattedPaymentAmount(s){return t(s,this.currency)}}!function(t){t.paid="paid",t.failed="failed",t.forwarded="forwarded",t.scheduled="scheduled",t.in_transit="in_transit",t.canceled="canceled"}(p||(p={})),function(t){t.paid="Paid",t.failed="Failed",t.forwarded="Forwarded",t.scheduled="Scheduled",t.in_transit="In Transit",t.canceled="Canceled"}(m||(m={}));class z{constructor(t){this.id=t.id,this.account_id=t.account_id,this.currency=t.currency,this.amount=t.amount,this.bank_account=t.bank_account,this.delivery_method=t.delivery_method||"standard",this.description=t.description,this.deposits_at=t.deposits_at,this.fees_total=t.fees_total,this.refunds_count=t.refunds_count,this.refunds_total=t.refunds_total,this.payments_count=t.payments_count,this.payments_total=t.payments_total,this.payout_type=t.payout_type,this.other_total=t.other_total,this.status=t.status,this.metadata=t.metadata,this.created_at=t.created_at,this.updated_at=t.updated_at,this.settlement_priority=t.settlement_priority||"standard"}formattedPaymentAmount(s){return t(s,this.currency)}}!function(t){t.fee="fee",t.payment="payment",t.payout="payout",t.sellerPaymentRefund="seller_payment_refund",t.disputeAmountCollected="dispute_amount_collected",t.disputeFeeCollected="dispute_fee_collected",t.sellerPayment="seller_payment",t.transfer="transfer",t.partnerPlatformProceedsCredit="partner_platform_proceeds_credit"}(_||(_={}));class I{constructor(t){this.id=t.id,this.account_id=t.account_id,this.payout_id=t.payout_id,this.financial_transaction_id=t.financial_transaction_id,this.amount=t.amount,this.fee=t.fee,this.net=t.net,this.currency=t.currency,this.source_id=t.source_id,this.description=t.description,this.txn_type=t.txn_type,this.created_at=t.created_at,this.available_on=t.available_on,this.updated_at=t.updated_at}formattedPaymentAmount(s){return t(s,this.currency)}}!function(t){t.connected="connected",t.disconnected="disconnected",t.unknown="unknown",t.pending_configuration="pending_configuration",t.archived="archived"}(y||(y={})),function(t){t.verifone="verifone"}(v||(v={}));class S{constructor(t){this.id=t.id||"",this.status=t.status,this.account_id=t.account_id||"",this.platform_account_id=t.platform_account_id||"",this.provider=t.provider||null,this.provider_id=t.provider_id||"",this.provider_serial_number=t.provider_serial_number||"",this.created_at=t.created_at||"",this.updated_at=t.updated_at||"",this.verified_at=t.verified_at||"",this.nickname=t.nickname||"",this.model_name=t.model_name||null}}!function(t){t.boardingOnly="boarding_only",t.boardingShipping="boarding_shipping"}(g||(g={})),function(t){t.created="created",t.submitted="submitted",t.completed="completed",t.in_progress="in_progress",t.on_hold="on_hold",t.canceled="canceled"}(w||(w={}));class q{constructor(t){this.id=t.id,this.business_id=t.business_id,this.company_name=t.company_name,this.sub_account_id=t.sub_account_id,this.provider=t.provider||v.verifone,this.order_items=[],this.order_type=t.order_type,this.order_status=t.order_status,this.terminals=t.terminals,this.created_at=t.created_at,this.updated_at=t.updated_at}get payload(){return{business_id:this.business_id,sub_account_id:this.sub_account_id,order_type:this.order_type,order_items:this.order_items}}get totalQuantity(){return this.order_items.reduce(((t,s)=>t+s.quantity),0)}updateTerminal(t,s){if(0===s)return void(this.order_items=this.order_items.filter((s=>s.model_name!==t)));const i=this.order_items.find((s=>s.model_name===t));i?i.quantity=s:this.order_items.push({model_name:t,quantity:s})}}!function(t){t.v400="v400",t.p400="p400+",t.e285="e285"}(b||(b={}));class H{constructor(t){this.id=t.id,this.model_name=t.model_name,this.description=t.description,this.image_url=t.image_url,this.help_url=t.help_url}}!function(t){t.test="test",t.live="live"}(P||(P={})),function(t){t.created="created",t.submitted="submitted",t.information_needed="information_needed",t.rejected="rejected",t.enabled="enabled",t.disabled="disabled",t.archived="archived"}(A||(A={}));class N{constructor(t){this.id=t.id,this.name=t.name,this.account_type=t.account_type,this.status=t.status,this.currency=t.currency,this.platform_account_id=t.platform_account_id,this.payout_account_id=t.payout_account_id,this.business_id=t.business_id,this.application_fee_rates=t.application_fee_rates,this.processing_ready=t.processing_ready,this.payout_ready=t.payout_ready,this.related_accounts=t.related_accounts,this.created_at=t.created_at,this.updated_at=t.updated_at}}!function(t){t.voidedCheck="voided_check",t.balanceSheet="balance_sheet",t.bankStatement="bank_statement",t.governmentId="government_id",t.profitAndLossStatement="profit_and_loss_statement",t.taxReturn="tax_return",t.other="other"}(k||(k={})),function(t){t.pending="pending",t.uploaded="uploaded",t.canceled="canceled",t.needed="needed"}(C||(C={}));class R{constructor(){this.voided_check=[],this.balance_sheet=[],this.bank_statement=[],this.government_id=[],this.profit_and_loss_statement=[],this.tax_return=[],this.other=[]}}class U{constructor(t,s){this.fileData=null,this.file=t.file,this.document_type=t.document_type,this.presigned_url=null,this.record_data={business_id:s,document_type:this.document_type,file_name:this.file.name,file_type:this.file.type}}async getFileData(){if(this.fileData)return this.fileData;const t=new Promise(((t,s)=>{const i=new FileReader;i.onload=s=>{this.fileData=s.target.result,t(this.fileData)},i.onerror=()=>{s(new Error("Error reading file"))},i.readAsArrayBuffer(this.file)}));return await t}setPresignedUrl(t){this.presigned_url=t}}!function(t){t.succeeded="succeeded",t.failed="failed"}(F||(F={})),function(t){t.customerRequest="customer_request",t.duplicate="duplicate",t.fraudulent="fraudulent"}(j||(j={}));class ${constructor(t){this.amount=t.amount,this.reason=t.reason,this.description=t.description,this.metadata=t.metadata}}export{e as C,k as E,a as I,T as P,j as R,N as S,w as T,n as a,g as b,y as c,z as d,S as e,u as f,x as g,I as h,q as i,H as j,$ as k,R as l,U as m}
@@ -1 +1 @@
1
- import{h as a}from"./p-DwYM91AU.js";import{I as r,J as s,K as g,L as e,M as n,N as d,O as i,P as t,Q as b}from"./p-wtuY7MT2.js";var c;!function(a){a.PRIMARY="primary",a.SECONDARY="secondary",a.SUCCESS="success",a.DANGER="danger",a.WARNING="warning",a.INFO="info",a.LIGHT="light",a.DARK="dark"}(c||(c={}));const o=c=>{const{variant:o,text:p,title:f}=c,l={default:"badge",primary:"badge bg-primary",secondary:"badge bg-secondary",success:"badge bg-success",danger:"badge bg-danger",warning:"badge bg-warning",info:"badge bg-info",light:"badge bg-light",dark:"badge bg-dark"},u={default:b,primary:t,secondary:i,success:d,danger:n,warning:e,info:g,light:s,dark:r};return a("span",{class:l[o]||l.default,part:u[o]||u.default,title:f},p)};export{c as B,o as a}
1
+ import{h as a}from"./p-DwYM91AU.js";import{I as r,J as s,K as g,L as e,M as n,N as d,O as i,P as t,Q as b}from"./p-QmGrQis7.js";var c;!function(a){a.PRIMARY="primary",a.SECONDARY="secondary",a.SUCCESS="success",a.DANGER="danger",a.WARNING="warning",a.INFO="info",a.LIGHT="light",a.DARK="dark"}(c||(c={}));const o=c=>{const{variant:o,text:p,title:f}=c,l={default:"badge",primary:"badge bg-primary",secondary:"badge bg-secondary",success:"badge bg-success",danger:"badge bg-danger",warning:"badge bg-warning",info:"badge bg-info",light:"badge bg-light",dark:"badge bg-dark"},m={default:b,primary:t,secondary:i,success:d,danger:n,warning:e,info:g,light:s,dark:r};return a("span",{class:l[o]||l.default,part:m[o]||m.default,title:f},p)};export{c as B,o as a}
@@ -0,0 +1 @@
1
+ var e={name:"@justifi/webcomponents",version:"6.6.0"};export{e as p}
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-DwYM91AU.js";import{G as t}from"./p-QmGrQis7.js";import{c as a}from"./p-BYsgavgS.js";const r=a=>s("h2",{class:`header-2 ${null==a?void 0:a.class}`,part:t},a.text),o=a({}),{state:e,on:i}=o,n=a({}),{state:p}=n,l={},m=()=>{let s=!0;return Object.keys(e).forEach((t=>{null===e[t]?(p[t]=!0,s=!1):p[t]=!1})),{isValid:s}},c=(s,t)=>{const a=l.hasOwnProperty(s),r=l[s];if(!a)return l[s]=t,!1;const o=r!==t;return o&&(l[s]=t),o};export{r as H,p as a,i as b,c as h,e as i,m as v}
@@ -0,0 +1 @@
1
+ import{A as t}from"./p-yyedWKWX.js";import"./p-Cjcsf8ku.js";import"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const e=t();class o{async fetchCheckout(t,o){return e.get({endpoint:`checkouts/${o}`,authToken:t})}async fetchCheckouts(t,o,s){return e.get({endpoint:"checkouts",params:s,headers:{Account:t},authToken:o})}async complete(t,o,s){const c=`checkouts/${o}/complete`,n={payment_mode:s.payment_mode};return s.payment_token&&(n.payment_token=s.payment_token),e.post({endpoint:c,body:n,authToken:t})}}export{o as C}
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-DwYM91AU.js";import{C as s}from"./p-QmGrQis7.js";const e=({component:e="div",height:r,width:i,className:o,styles:a={}})=>{const c=Object.assign(Object.assign({},a),{width:i,height:r});return t(e,{class:`${o} skeleton`,style:c,part:s,"aria-hidden":"true"})};export{e as S}
@@ -0,0 +1 @@
1
+ import{h as r}from"./p-DwYM91AU.js";import{E as t}from"./p-QmGrQis7.js";const o=o=>{const{errorText:e,name:s}=o;return e?r("small",{class:"form-text text-danger",id:`form-error-text-${s}`,part:t},e):null};export{o as F}
@@ -0,0 +1 @@
1
+ import{a as e}from"./p-DiJD6Iqx.js";import{S as t,C as a}from"./p-B5rtFhtR.js";import{a as s}from"./p-DfKxeSrC.js";import{b as r,a as n}from"./p-CPpUGsw5.js";const i=e=>""===e?null:e,d=/^\d+$/,l=/P\.?\s?O\.?\s?Box|Postal\sBox/i,u=e().email("Enter valid email").transform(i),o=e().matches(/^\d{10}$/,"Enter valid phone number").transform(i),c=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(i),m=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(i),b=e().matches(/^(?:http(s)?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/,"Enter valid website url").transform(i),h=e().transform(i),v=e().min(2,"Industry must be at least 2 characters").max(50,"Industry must be less than 50 characters").transform(i),E=e().matches(d,"Enter valid tax id, SSN, or EIN").test("not-repeat","Enter valid tax id, SSN, or EIN",(e=>!/^(\d)\1+$/.test(e))).test("not-seq","Enter valid tax id, SSN, or EIN",(e=>"123456789"!==e)).transform(i),N=t=>e().matches(s[t].postalRegex,"Enter valid postal code").transform(i),p=t=>t===a.CAN?e().matches(d,"Enter valid SIN").length(s[t].identityDigits,"Enter valid SIN").when("ssn_last4",{is:e=>!e||0===e.length,then:e=>e.required("Enter SIN"),otherwise:e=>e.nullable()}).test("not-repeat","Enter valid SIN",(e=>!/^(\d)\1+$/.test(e))).test("not-seq","Enter valid SIN",(e=>"123456789"!==e)).transform(i):$,S=t=>t===a.CAN?e().matches(d,"Enter valid Business Number (BN)").length(s[t].taxIdDigits,"Enter valid Business Number (BN)").test("not-repeat","Enter valid Business Number (BN)",(e=>!/^(\d)\1+$/.test(e))).test("not-seq","Enter valid Business Number (BN)",(e=>"123456789"!==e)).transform(i):E,w=e().test("not-future","Date of incorporation cannot be in the future",(e=>new Date(e)<=new Date)).transform(i),A=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(i),B=e().min(2,"Title must be at least 2 characters").max(50,"Title must be less than 50 characters").transform(i),x=t=>e().test("min","Enter a valid date",(e=>new Date(e)>=new Date("1902-01-01"))).test("age",`${t} must be at least 18 years old`,(e=>{const t=new Date(e),a=new Date;return a.setFullYear(a.getFullYear()-18),t<=a})).transform(i),$=e().matches(/^(?!000|666|9\d{2})\d{3}(?!00)\d{2}(?!0000)\d{4}$/,"Enter valid SSN").when("ssn_last4",{is:e=>!e||0===e.length,then:e=>e.required("Enter SSN"),otherwise:e=>e.nullable()}).test("not-repeat","Enter valid SSN",(e=>!/^(\d)\1+$/.test(e))).test("not-seq","Enter valid SSN",(e=>"123456789"!==e)).transform(i),y=e().min(5,"Address must be at least 5 characters").max(100,"Address must be less than 100 characters").test("not-po-box","A PO Box is not a valid address entry",(e=>!l.test(e))).transform(i),D=e().max(100,"Address must be less than 100 characters").test("not-po-box","A PO Box is not a valid address entry",(e=>!l.test(e))).transform(i),I=e().min(2,"City must be at least 2 characters").max(50,"City must be less than 50 characters").transform(i),f=e().oneOf(t.map((e=>e.value)),"Enter a 2-letter state abbreviation, such as CA").transform(i),g=e().matches(/^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$/,"Enter valid postal code").transform(i),C=e().matches(d,"Enter valid revenue").transform(i),q=e().matches(d,"Enter valid payment volume").transform(i),j=e().oneOf(r.map((e=>e.value)),"Select when service is received").transform(i),P=e().transform(i),Z=e().min(2,"Name must be at least 2 characters").max(50,"Name must be less than 50 characters").transform(i),z=e().min(2,"Name must be at least 2 characters").max(50,"Name must be less than 50 characters").transform(i),_=e().oneOf(n.map((e=>e.value)),"Select account type").transform(i),O=e().min(4,"Account number must be at least 4 digits").max(17,"Account number must be less than 17 digits").matches(d,"Enter valid account number").test("not-repeat","Enter valid account number",(e=>!/^(\d)\1+$/.test(e))).transform(i),R=e().length(9,"Routing number must be 9 digits").matches(d,"Enter valid routing number").test("not-repeat","Enter valid routing number",(e=>!/^(\d)\1+$/.test(e))).test("valid","Enter valid routing number",(e=>(e=>{if(!e)return!1;const t=Array.from(String(e),Number);return 9===t.length&&0==(3*(t[0]+t[3]+t[6])+7*(t[1]+t[4]+t[7])+(t[2]+t[5]+t[8]))%10})(e))).transform(i);export{_ as A,z as B,Z as C,d as D,R as E,m as a,h as b,c,w as d,u as e,j as f,q as g,I as h,v as i,y as j,N as k,D as l,S as m,x as n,P as o,o as p,B as q,C as r,$ as s,E as t,A as u,p as v,b as w,g as x,f as y,O as z}
@@ -0,0 +1 @@
1
+ var a,t,s;!function(a){a.ECOM="ecom",a.BNPL="bnpl",a.APPLE_PAY="apple_pay"}(a||(a={})),function(a){a.CARD="card",a.BANK_ACCOUNT="bank_account",a.APPLE_PAY="apple_pay",a.GOOGLE_PAY="google_pay",a.SEZZLE="sezzle",a.PLAID="plaid"}(t||(t={})),function(a){a.SAVED_CARD="saved_card",a.NEW_CARD="new_card",a.SAVED_BANK_ACCOUNT="saved_bank_account",a.NEW_BANK_ACCOUNT="new_bank_account",a.APPLE_PAY="apple_pay",a.GOOGLE_PAY="google_pay",a.SEZZLE="sezzle",a.PLAID="plaid"}(s||(s={}));class e{constructor(a){this.id=a.id,this.type=(a=>{switch(a){case t.CARD:return s.SAVED_CARD;case t.BANK_ACCOUNT:return s.SAVED_BANK_ACCOUNT;default:return a}})(a.type),this.status=a.status,this.invalid_reason=a.invalid_reason,this.name=a.name,this.brand=a.brand,this.acct_last_four=a.acct_last_four,this.account_type=a.account_type,this.month=a.month,this.year=a.year,this.address_line1_check=a.address_line1_check,this.address_postal_code_check=a.address_postal_code_check,this.bin_details=a.bin_details}}export{s as P,e as a,a as b}
@@ -1 +1 @@
1
- import{c as e,a as t}from"./p-DiJD6Iqx.js";import{k as a,l as n,n as s,q as i,u as r,v as l,p as o,e as d,x as m,y as c,z as p}from"./p-avgjSJ1d.js";import{C as E}from"./p-B5rtFhtR.js";const _=r=>e(r?{line1:s.nullable(),line2:n.nullable(),city:a.nullable(),state:t().nullable(),postal_code:t().nullable()}:{line1:s.required("Enter street address"),line2:n.nullable(),city:a.required("Enter city"),state:t().required("Select state"),postal_code:i(E.USA).required("Enter postal code")}),b=r=>e(r?{line1:s.nullable(),line2:n.nullable(),city:a.nullable(),state:t().nullable(),postal_code:t().nullable()}:{line1:s.required("Enter street address"),line2:n.nullable(),city:a.required("Enter city"),state:t().required("Select province"),postal_code:i(E.CAN).required("Enter postal code")}),f={[E.USA]:_,[E.CAN]:b},u=(a,n)=>n?(a=>e({name:c.required(`Enter ${a} name`),title:m.nullable(),email:d.nullable(),phone:o.nullable(),dob_full:l(a).nullable(),ssn_last4:t().nullable(),identification_number:r.nullable(),address:_(!0)}))(a):(a=>e({name:c.required(`Enter ${a} name`),title:m.required(`Enter ${a} title`),email:d.required(`Enter ${a} email`),phone:o.required("Enter phone number"),dob_full:l(a).required("Enter date of birth"),ssn_last4:t().nullable(),identification_number:r,address:_(!1)}))(a),h=(a,n)=>n?(a=>e({name:c.required(`Enter ${a} name`),title:m.nullable(),email:d.nullable(),phone:o.nullable(),dob_full:l(a).nullable(),ssn_last4:t().nullable(),identification_number:p(E.CAN).nullable(),address:b(!0)}))(a):(a=>e({name:c.required(`Enter ${a} name`),title:m.required(`Enter ${a} title`),email:d.required(`Enter ${a} email`),phone:o.required("Enter phone number"),dob_full:l(a).required("Enter date of birth"),ssn_last4:t().nullable(),identification_number:p(E.CAN),address:b(!1)}))(a),$={[E.USA]:u,[E.CAN]:h};export{_ as a,h as b,b as c,$ as d,f as e,u as i}
1
+ import{c as e,a as t}from"./p-DiJD6Iqx.js";import{h as a,l as s,j as n,k as i,s as r,n as l,p as o,e as d,q as m,u as c,v as p}from"./p-D032AB34.js";import{C as E}from"./p-B5rtFhtR.js";const _=r=>e(r?{line1:n.nullable(),line2:s.nullable(),city:a.nullable(),state:t().nullable(),postal_code:t().nullable()}:{line1:n.required("Enter street address"),line2:s.nullable(),city:a.required("Enter city"),state:t().required("Select state"),postal_code:i(E.USA).required("Enter postal code")}),b=r=>e(r?{line1:n.nullable(),line2:s.nullable(),city:a.nullable(),state:t().nullable(),postal_code:t().nullable()}:{line1:n.required("Enter street address"),line2:s.nullable(),city:a.required("Enter city"),state:t().required("Select province"),postal_code:i(E.CAN).required("Enter postal code")}),f={[E.USA]:_,[E.CAN]:b},u=(a,s)=>s?(a=>e({name:c.required(`Enter ${a} name`),title:m.nullable(),email:d.nullable(),phone:o.nullable(),dob_full:l(a).nullable(),ssn_last4:t().nullable(),identification_number:r.nullable(),address:_(!0)}))(a):(a=>e({name:c.required(`Enter ${a} name`),title:m.required(`Enter ${a} title`),email:d.required(`Enter ${a} email`),phone:o.required("Enter phone number"),dob_full:l(a).required("Enter date of birth"),ssn_last4:t().nullable(),identification_number:r,address:_(!1)}))(a),h=(a,s)=>s?(a=>e({name:c.required(`Enter ${a} name`),title:m.nullable(),email:d.nullable(),phone:o.nullable(),dob_full:l(a).nullable(),ssn_last4:t().nullable(),identification_number:p(E.CAN).nullable(),address:b(!0)}))(a):(a=>e({name:c.required(`Enter ${a} name`),title:m.required(`Enter ${a} title`),email:d.required(`Enter ${a} email`),phone:o.required("Enter phone number"),dob_full:l(a).required("Enter date of birth"),ssn_last4:t().nullable(),identification_number:p(E.CAN),address:b(!1)}))(a),$={[E.USA]:u,[E.CAN]:h};export{u as a,_ as b,h as c,b as d,f as e,$ as i}
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-DwYM91AU.js";import{D as r}from"./p-QmGrQis7.js";const e=e=>{const{helpText:m,name:s}=e;return m?t("small",{class:"form-text text-muted",id:`form-help-text-${s}`,part:r},m):null};export{e as F}
@@ -0,0 +1 @@
1
+ import{c as e}from"./p-BYsgavgS.js";import{P as n}from"./p-DCIW8z1f.js";const a={accountId:"",authToken:"",billingFormFields:{address_postal_code:""},bnplEnabled:!1,applePayEnabled:!1,insuranceEnabled:!1,bnplProviderApiVersion:"",bnplProviderCheckoutUrl:"",bnplProviderClientId:"",bnplProviderMode:"",checkoutId:"",checkoutLoaded:!1,bankAccountVerification:void 0,disableBankAccount:!1,disableCreditCard:!1,disablePaymentMethodGroup:!1,paymentAmount:0,paymentCurrency:"USD",paymentDescription:"",paymentMethodGroupId:void 0,paymentMethods:[],paymentToken:void 0,savePaymentMethod:!1,selectedPaymentMethod:void 0,totalAmount:0,plaidPublicToken:void 0,plaidLinkTokenId:void 0},{state:o,onChange:t}=e(a);function d(){var e;const a=[];if(!o.disablePaymentMethodGroup&&(null===(e=o.paymentMethods)||void 0===e?void 0:e.length)){const e=o.paymentMethods.some((e=>e.type===n.SAVED_CARD)),t=o.paymentMethods.some((e=>e.type===n.SAVED_BANK_ACCOUNT));e&&!o.disableCreditCard&&a.push(n.SAVED_CARD),t&&!o.disableBankAccount&&a.push(n.SAVED_BANK_ACCOUNT)}return o.disableCreditCard||a.push(n.NEW_CARD),o.disableBankAccount||a.push(n.NEW_BANK_ACCOUNT),o.bnplEnabled&&a.push(n.SEZZLE),o.applePayEnabled&&a.push(n.APPLE_PAY),!0!==o.bankAccountVerification||o.disableBankAccount||a.push(n.PLAID),a}function i(){var e;return{selectedPaymentMethod:o.selectedPaymentMethod,paymentAmount:o.paymentAmount,totalAmount:o.totalAmount,paymentCurrency:o.paymentCurrency,paymentDescription:o.paymentDescription,savedPaymentMethods:o.paymentMethods,savePaymentMethod:o.savePaymentMethod,bnplEnabled:o.bnplEnabled,applePayEnabled:o.applePayEnabled,insuranceEnabled:o.insuranceEnabled,disableBankAccount:o.disableBankAccount,disableCreditCard:o.disableCreditCard,disablePaymentMethodGroup:o.disablePaymentMethodGroup,paymentToken:null!==(e=o.paymentToken)&&void 0!==e?e:void 0}}function r(e){Object.keys(a).forEach((n=>{t(n,(a=>e(n,a)))}))}Object.keys(a).forEach((e=>{t(e,(n=>{o[e]=n}))}));export{i as a,t as b,o as c,d as g,r as o}
@@ -1 +1 @@
1
- import{h as t}from"./p-DwYM91AU.js";import{B as e,a}from"./p-DOLBAxYf.js";const n=n=>t(a,Object.assign({},{canceled:{variant:e.DANGER,title:"Transfer to your bank account failed",text:"Canceled"},failed:{variant:e.DANGER,title:"Transfer to your bank account failed",text:"Failed"},forwarded:{variant:e.SECONDARY,title:"This payout initially failed; the funds have been forwarded to your next successful payout",text:"Forwarded"},in_transit:{variant:e.PRIMARY,title:"Transfer to your bank account has been initiated",text:"In Transit"},paid:{variant:e.SUCCESS,title:"Successfully deposited into your bank account",text:"Paid"},pending:{variant:e.PRIMARY,title:"Batched and scheduled to be transferred",text:"Pending"},scheduled:{variant:e.PRIMARY,title:"Batched and scheduled to be transferred",text:"Scheduled"},withdrawn:{variant:e.SUCCESS,title:"Negative payout balance successfully withdrawn from your bank account",text:"Withdrawn"}}[n]));export{n as M}
1
+ import{h as t}from"./p-DwYM91AU.js";import{B as e,a}from"./p-CYz0Hubu.js";const n=n=>t(a,Object.assign({},{canceled:{variant:e.DANGER,title:"Transfer to your bank account failed",text:"Canceled"},failed:{variant:e.DANGER,title:"Transfer to your bank account failed",text:"Failed"},forwarded:{variant:e.SECONDARY,title:"This payout initially failed; the funds have been forwarded to your next successful payout",text:"Forwarded"},in_transit:{variant:e.PRIMARY,title:"Transfer to your bank account has been initiated",text:"In Transit"},paid:{variant:e.SUCCESS,title:"Successfully deposited into your bank account",text:"Paid"},pending:{variant:e.PRIMARY,title:"Batched and scheduled to be transferred",text:"Pending"},scheduled:{variant:e.PRIMARY,title:"Batched and scheduled to be transferred",text:"Scheduled"},withdrawn:{variant:e.SUCCESS,title:"Negative payout balance successfully withdrawn from your bank account",text:"Withdrawn"}}[n]));export{n as M}
@@ -1 +1 @@
1
- import{A as t}from"./p-C8yN3uBj.js";import"./p-Cjcsf8ku.js";import"./p-CQrwlULd.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const n=t();class e{async fetchBusiness(t,e){return n.get({endpoint:`entities/business/${t}`,authToken:e})}async patchBusiness(t,e,s){return n.patch({endpoint:`entities/business/${e}`,body:s,authToken:t})}}class s{async fetchIdentity(t,e){return n.get({endpoint:`entities/identity/${t}`,authToken:e})}async patchIdentity(t,e,s){return n.patch({endpoint:`entities/identity/${e}`,body:s,authToken:t})}async postIdentity(t,e){return n.post({endpoint:"entities/identity",body:e,authToken:t})}}class i{async postBankAccount(t,e){return n.post({endpoint:"entities/bank_accounts",body:e,authToken:t})}}class o{async postDocumentRecord(t,e){return n.post({endpoint:"entities/document",body:e,authToken:t})}}export{e as B,o as D,s as I,i as a}
1
+ import{A as t}from"./p-yyedWKWX.js";import"./p-Cjcsf8ku.js";import"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const n=t();class e{async fetchBusiness(t,e){return n.get({endpoint:`entities/business/${t}`,authToken:e})}async patchBusiness(t,e,s){return n.patch({endpoint:`entities/business/${e}`,body:s,authToken:t})}}class s{async fetchIdentity(t,e){return n.get({endpoint:`entities/identity/${t}`,authToken:e})}async patchIdentity(t,e,s){return n.patch({endpoint:`entities/identity/${e}`,body:s,authToken:t})}async postIdentity(t,e){return n.post({endpoint:"entities/identity",body:e,authToken:t})}}class i{async postBankAccount(t,e){return n.post({endpoint:"entities/bank_accounts",body:e,authToken:t})}}class o{async postDocumentRecord(t,e){return n.post({endpoint:"entities/document",body:e,authToken:t})}}export{e as B,o as D,s as I,i as a}
@@ -1 +1 @@
1
- import{A as e}from"./p-C8yN3uBj.js";import"./p-Cjcsf8ku.js";import"./p-CQrwlULd.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const s=e();class t{async fetchDispute(e,t){return s.get({endpoint:`disputes/${e}`,authToken:t})}async updateDisputeResponse(e,t,p){return s.patch({endpoint:`disputes/${e}/response`,body:p,authToken:t})}async submitDisputeResponse(e,t,p){return s.post({endpoint:`disputes/${e}/response`,body:p,authToken:t})}async createDisputeEvidence(e,t,p){return s.put({endpoint:`disputes/${e}/evidence`,body:p,authToken:t})}}export{t as D}
1
+ import{A as e}from"./p-yyedWKWX.js";import"./p-Cjcsf8ku.js";import"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const s=e();class t{async fetchDispute(e,t){return s.get({endpoint:`disputes/${e}`,authToken:t})}async updateDisputeResponse(e,t,p){return s.patch({endpoint:`disputes/${e}/response`,body:p,authToken:t})}async submitDisputeResponse(e,t,p){return s.post({endpoint:`disputes/${e}/response`,body:p,authToken:t})}async createDisputeEvidence(e,t,p){return s.put({endpoint:`disputes/${e}/evidence`,body:p,authToken:t})}}export{t as D}
@@ -1 +1 @@
1
- import{A as o}from"./p-C8yN3uBj.js";import{C as r}from"./p-Cjcsf8ku.js";import{S as s}from"./p-CQrwlULd.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import"./p-tGDdRx0W.js";import"./p-HXpYMWUU.js";import{g as t,a as c}from"./p-D2muobcE.js";const n=o();class a{async fetchSubAccounts(o,r,s){return n.get({authToken:r,endpoint:"sub_accounts",params:s,headers:{Account:o}})}}const p=({accountId:o,authToken:n,service:a})=>async({params:p,onSuccess:e,onError:i})=>{var u,m;try{const d=await a.fetchSubAccounts(o,n,p);if(d.error){return i({error:c(d.error),code:t(null===(m=d.error)||void 0===m?void 0:m.code),severity:r.ERROR})}{const o=Object.assign({},d.page_info);e({subAccounts:(null===(u=d.data)||void 0===u?void 0:u.map((o=>new s(o))))||[],pagingInfo:o})}}catch(o){const s=t(null==o?void 0:o.code);return i({error:o.message||o,code:s,severity:r.ERROR})}};export{a as S,p as m}
1
+ import{A as o}from"./p-yyedWKWX.js";import{C as r}from"./p-Cjcsf8ku.js";import{S as s}from"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import"./p-tGDdRx0W.js";import"./p-HXpYMWUU.js";import{g as t,a as c}from"./p-D2muobcE.js";const n=o();class a{async fetchSubAccounts(o,r,s){return n.get({authToken:r,endpoint:"sub_accounts",params:s,headers:{Account:o}})}}const e=({accountId:o,authToken:n,service:a})=>async({params:e,onSuccess:p,onError:i})=>{var u,m;try{const d=await a.fetchSubAccounts(o,n,e);if(d.error){return i({error:c(d.error),code:t(null===(m=d.error)||void 0===m?void 0:m.code),severity:r.ERROR})}{const o=Object.assign({},d.page_info);p({subAccounts:(null===(u=d.data)||void 0===u?void 0:u.map((o=>new s(o))))||[],pagingInfo:o})}}catch(o){const s=t(null==o?void 0:o.code);return i({error:o.message||o,code:s,severity:r.ERROR})}};export{a as S,e as m}
@@ -1 +1 @@
1
- import"./p-tGDdRx0W.js";import"./p-HXpYMWUU.js";import{C as r}from"./p-Cjcsf8ku.js";import{P as o}from"./p-CQrwlULd.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{g as s,a as t}from"./p-D2muobcE.js";const i=({id:i,authToken:p,service:e})=>async({onSuccess:a,onError:m,final:n})=>{var c;try{const n=await e.fetchPayment(i,p);if(n.error){m({error:t(n.error),code:s(null===(c=n.error)||void 0===c?void 0:c.code),severity:r.ERROR})}else a({payment:new o(n.data)})}catch(o){const i=s(null==o?void 0:o.code);m({error:t(o),code:i,severity:r.ERROR})}finally{n()}};export{i as m}
1
+ import"./p-tGDdRx0W.js";import"./p-HXpYMWUU.js";import{C as r}from"./p-Cjcsf8ku.js";import{P as o}from"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{g as s,a as t}from"./p-D2muobcE.js";const i=({id:i,authToken:p,service:e})=>async({onSuccess:a,onError:m,final:n})=>{var c;try{const n=await e.fetchPayment(i,p);if(n.error){m({error:t(n.error),code:s(null===(c=n.error)||void 0===c?void 0:c.code),severity:r.ERROR})}else a({payment:new o(n.data)})}catch(o){const i=s(null==o?void 0:o.code);m({error:t(o),code:i,severity:r.ERROR})}finally{n()}};export{i as m}
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-DwYM91AU.js";import{M as a}from"./p-KS3Bf_2D.js";import{a as e}from"./p-B09GVew-.js";import{S as r,T as o}from"./p-QmGrQis7.js";const s="created_at,amount,status,payment_type,description,payers_name,last_four_digits,card_brand",p={created_at:()=>t("th",{part:r,scope:"col",title:"The date and time each payment was made"},"Date"),amount:()=>t("th",{part:r,scope:"col",title:"The dollar amount of each payment"},"Amount"),status:()=>t("th",{part:r,scope:"col",title:"The current status of each payment"},"Status"),payment_type:()=>t("th",{part:r,scope:"col",title:"The type of each payment"},"Type"),description:()=>t("th",{part:r,scope:"col",title:"The payment description, if you provided one"},"Description"),payers_name:()=>t("th",{part:r,scope:"col",title:"The name associated with the payment method"},"Account Holder"),last_four_digits:()=>t("th",{part:r,scope:"col",title:"The brand and last 4 digits of the payment method"},"Payment Method"),card_brand:()=>t("th",{part:r,scope:"col",title:"The brand of the payment method"},"Card Brand")},n={created_at:(a,r)=>t("td",{part:o(r)},t("div",{class:"fw-bold"},e(a.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},e(a.created_at,{showTime:!0}))),amount:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.amount)),status:(e,r)=>t("td",{part:o(r)},a(e.status)),payment_type:(a,e)=>t("td",{part:o(e)},a.payment_type),description:(a,e)=>t("td",{part:o(e)},a.description),payers_name:(a,e)=>t("td",{part:o(e)},a.payers_name),last_four_digits:(a,e)=>t("td",{part:o(e)},a.last_four_digits),card_brand:(a,e)=>{var r,s,p;return t("td",{part:o(e)},(p=(null===(r=a.payment_method.card)||void 0===r?void 0:r.brand)||(null===(s=a.payment_method.bank_account)||void 0===s?void 0:s.brand))?{visa:"VISA",mastercard:"Mastercard",american_express:"American Express",discover:"Discover",diners_club:"Diners Club",jcb:"JCB",china_unionpay:"China UnionPay",unknown:"Unknown"}[p.toLowerCase()]||p:"N/A")}};export{n as a,s as d,p}
@@ -1 +1 @@
1
- import{A as t}from"./p-C8yN3uBj.js";import"./p-Cjcsf8ku.js";import"./p-CQrwlULd.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const n=t();class a{async fetchPayments(t,a,s){return n.get({endpoint:`account/${t}/payments`,params:s,authToken:a})}async fetchPayment(t,a){return n.get({endpoint:`payments/${t}`,authToken:a})}async fetchPaymentTransactions(t,a,s){return n.get({endpoint:`payments/${t}/payment_balance_transactions`,params:s,authToken:a})}}export{a as P}
1
+ import{A as t}from"./p-yyedWKWX.js";import"./p-Cjcsf8ku.js";import"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const n=t();class a{async fetchPayments(t,a,s){return n.get({endpoint:`account/${t}/payments`,params:s,authToken:a})}async fetchPayment(t,a){return n.get({endpoint:`payments/${t}`,authToken:a})}async fetchPaymentTransactions(t,a,s){return n.get({endpoint:`payments/${t}/payment_balance_transactions`,params:s,authToken:a})}}export{a as P}
@@ -0,0 +1 @@
1
+ import{h as r}from"./p-DwYM91AU.js";import{F as s}from"./p-QmGrQis7.js";const o=o=>r("h1",{class:`header-1 ${null==o?void 0:o.class}`,part:s},o.text);export{o as H}
@@ -1 +1 @@
1
- import{h as e}from"./p-DwYM91AU.js";import{B as t,a}from"./p-DOLBAxYf.js";var d;!function(e){e.SUCCEEDED="succeeded",e.AUTHORIZED="authorized",e.PENDING="pending",e.ACH_FAILED="achFailed",e.FAILED="failed",e.CANCELED="canceled",e.DISPUTED="disputed",e.DISPUTE_LOST="dispute_lost",e.FULLY_REFUNDED="fully_refunded",e.PARTIALLY_REFUNDED="partially_refunded"}(d||(d={}));const i=d=>e(a,Object.assign({},{succeeded:{variant:t.SUCCESS,title:"This payment was successfully captured",text:"Succeeded"},authorized:{variant:t.PRIMARY,title:"This card payment was authorized, but not captured. It could still succeed or fail.",text:"Authorized"},pending:{variant:t.PRIMARY,title:"This ACH payment was processed, but the funds have not settled. It could still succeed or fail.",text:"Pending"},achFailed:{variant:t.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)",text:"ACH Failed"},failed:{variant:t.DANGER,title:"This card payment did not go through (it will not appear in a payout)",text:"Failed"},canceled:{variant:t.DANGER,title:"This payment was canceled",text:"Canceled"},disputed:{variant:t.WARNING,title:"The account holder disputed this payment. The amount has been returned and a fee assessed.",text:"Disputed"},dispute_lost:{variant:t.SECONDARY,title:"The cardholder has won the dispute.",text:"Dispute Lost"},fully_refunded:{variant:t.SECONDARY,title:"The full amount of this payment has been refunded",text:"Fully Refunded"},partially_refunded:{variant:t.SECONDARY,title:"A portion of this payment has been refunded",text:"Partially Refunded"}}[d]));export{i as M,d as P}
1
+ import{h as e}from"./p-DwYM91AU.js";import{B as t,a}from"./p-CYz0Hubu.js";var d;!function(e){e.SUCCEEDED="succeeded",e.AUTHORIZED="authorized",e.PENDING="pending",e.ACH_FAILED="achFailed",e.FAILED="failed",e.CANCELED="canceled",e.DISPUTED="disputed",e.DISPUTE_LOST="dispute_lost",e.FULLY_REFUNDED="fully_refunded",e.PARTIALLY_REFUNDED="partially_refunded"}(d||(d={}));const i=d=>e(a,Object.assign({},{succeeded:{variant:t.SUCCESS,title:"This payment was successfully captured",text:"Succeeded"},authorized:{variant:t.PRIMARY,title:"This card payment was authorized, but not captured. It could still succeed or fail.",text:"Authorized"},pending:{variant:t.PRIMARY,title:"This ACH payment was processed, but the funds have not settled. It could still succeed or fail.",text:"Pending"},achFailed:{variant:t.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)",text:"ACH Failed"},failed:{variant:t.DANGER,title:"This card payment did not go through (it will not appear in a payout)",text:"Failed"},canceled:{variant:t.DANGER,title:"This payment was canceled",text:"Canceled"},disputed:{variant:t.WARNING,title:"The account holder disputed this payment. The amount has been returned and a fee assessed.",text:"Disputed"},dispute_lost:{variant:t.SECONDARY,title:"The cardholder has won the dispute.",text:"Dispute Lost"},fully_refunded:{variant:t.SECONDARY,title:"The full amount of this payment has been refunded",text:"Fully Refunded"},partially_refunded:{variant:t.SECONDARY,title:"A portion of this payment has been refunded",text:"Partially Refunded"}}[d]));export{i as M,d as P}
@@ -1 +1 @@
1
- import{p as t}from"./p-Bx3wyDU2.js";import{A as s}from"./p-C8yN3uBj.js";import"./p-Cjcsf8ku.js";import"./p-CQrwlULd.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const i=s();class e{async record(t){return i.post({endpoint:"analytics",body:t})}}class o{constructor(t){this.handleCustomEvent=async t=>{await this.service.record(t)},window.location.origin.includes("localhost")||window.location.origin.includes("storybook")||(this.service=new e,this.componentInstance=t,this.setUpBasicData(),this.setupLifecycleTracking(),this.trackCustomEvents())}get resourceId(){return this.componentInstance.accountId||this.componentInstance.businessId||this.componentInstance.paymentId||this.componentInstance.payoutId||this.componentInstance.checkoutId}setUpBasicData(){this.basicData={component_name:this.componentInstance.tagName,component_version:t.version,client_user_agent:navigator.userAgent,client_platform:navigator.userAgent,client_origin:window.location.origin,resource_id:this.resourceId}}trackCustomEvents(){this.eventEmitters=["submit-event","error-event"],this.eventEmitters.forEach((t=>{"function"==typeof this.componentInstance.addEventListener&&this.componentInstance.addEventListener(t,(s=>this.handleCustomEvent({event_type:t,data:Object.assign(Object.assign({},this.basicData),{error:s.detail})})))}))}setupLifecycleTracking(){const t=this.componentInstance.componentDidLoad;this.componentInstance.componentDidLoad=()=>{if(this.service.record({event_type:"init",data:this.basicData}),t)return t.apply(this.componentInstance)}}cleanup(){this.eventEmitters&&this.eventEmitters.forEach((t=>{this.componentInstance.removeEventListener(t,this.handleCustomEvent)}))}}const r=async()=>{var s,i;if("undefined"!=typeof process&&("test"===(null===(s=process.env)||void 0===s?void 0:s.NODE_ENV)||(null===(i=process.env)||void 0===i?void 0:i.JEST_WORKER_ID)))return;const e=t.version,o=t.name,r=await(async t=>{const s=await fetch("https://registry.npmjs.org/"+t+"/latest");return(await s.json()).version})(o),n=r.replace(/-rc.*/,""),a=e.split("."),c=r.split(".");a[0]!==c[0]&&console.warn(`The package ${o} is out of date. The latest version is ${n}. Please update.`)};export{o as J,r as c}
1
+ import{p as t}from"./p-CdVle3mx.js";import{A as s}from"./p-yyedWKWX.js";import"./p-Cjcsf8ku.js";import"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";const i=s();class e{async record(t){return i.post({endpoint:"analytics",body:t})}}class o{constructor(t){this.handleCustomEvent=async t=>{await this.service.record(t)},window.location.origin.includes("localhost")||window.location.origin.includes("storybook")||(this.service=new e,this.componentInstance=t,this.setUpBasicData(),this.setupLifecycleTracking(),this.trackCustomEvents())}get resourceId(){return this.componentInstance.accountId||this.componentInstance.businessId||this.componentInstance.paymentId||this.componentInstance.payoutId||this.componentInstance.checkoutId}setUpBasicData(){this.basicData={component_name:this.componentInstance.tagName,component_version:t.version,client_user_agent:navigator.userAgent,client_platform:navigator.userAgent,client_origin:window.location.origin,resource_id:this.resourceId}}trackCustomEvents(){this.eventEmitters=["submit-event","error-event"],this.eventEmitters.forEach((t=>{"function"==typeof this.componentInstance.addEventListener&&this.componentInstance.addEventListener(t,(s=>this.handleCustomEvent({event_type:t,data:Object.assign(Object.assign({},this.basicData),{error:s.detail})})))}))}setupLifecycleTracking(){const t=this.componentInstance.componentDidLoad;this.componentInstance.componentDidLoad=()=>{if(this.service.record({event_type:"init",data:this.basicData}),t)return t.apply(this.componentInstance)}}cleanup(){this.eventEmitters&&this.eventEmitters.forEach((t=>{this.componentInstance.removeEventListener(t,this.handleCustomEvent)}))}}const r=async()=>{var s,i;if("undefined"!=typeof process&&("test"===(null===(s=process.env)||void 0===s?void 0:s.NODE_ENV)||(null===(i=process.env)||void 0===i?void 0:i.JEST_WORKER_ID)))return;const e=t.version,o=t.name,r=await(async t=>{const s=await fetch("https://registry.npmjs.org/"+t+"/latest");return(await s.json()).version})(o),n=r.replace(/-rc.*/,""),a=e.split("."),c=r.split(".");a[0]!==c[0]&&console.warn(`The package ${o} is out of date. The latest version is ${n}. Please update.`)};export{o as J,r as c}
@@ -1 +1 @@
1
- const a="font-family",t="background-color",e=`text color ${a}`,s=`text-danger ${e}`,i=`heading ${e}`,r=`heading-1 ${i}`,l=`heading-2 ${i}`,n=`heading-3 ${i}`,o=`heading-4 ${i}`,$=`heading-5 ${i}`,d=`link text ${a}`,p=`button ${e}`,m=`button-primary ${p}`,u=`button-secondary ${p}`,c=`button-link ${p}`,b="button-loading",f=`label ${e}`,g=`input ${e} ${t}`,h=`input-group ${g}`,y=`input-invalid ${g}`,k=`input-disabled ${g}`,x=`input-focused ${g}`,v=`input-invalid-and-focused ${g}`,w="input-radio",j=`input-radio-focused ${w}`,q=`input-radio-checked ${w}`,z=`input-radio-checked-focused ${w}`,A=`input-radio-invalid ${w}`,B="input-checkbox",C=`input-checkbox-invalid ${B}`,D=`input-checkbox-focused ${B}`,E=`input-checkbox-checked ${B}`,F=`input-checkbox-checked-focused ${B}`,G=`input-adornment ${e}`,H=`alert-danger alert ${e}`,I=`tooltip ${e}`,J=`tooltip-icon ${e}`,K=`tooltip-inner ${e}`,L=`card ${e} ${t}`,M=`table ${e} ${t}`,N=`table-row ${e} ${t}`,O=`table-cell ${e} ${t}`,P="table-head",Q=`table-head-row ${e} ${t}`,R=`table-head-cell ${O}`,S="table-foot",T=`table-foot-row ${e} ${t}`,U=`table-foot-cell ${O}`,V=`table-cell-even ${O}`,W=`table-cell-odd ${O}`,X=a=>a%2?V:W,Y=`table-empty ${e} ${t}`,Z=`table-error ${e} ${t}`,_=`pagination-button ${p}`,aa=`pagination-button-disabled button-disabled ${p}`,ta=`pagination-button-text ${e}`,ea=`pagination-button-icon ${e}`,sa=`pagination-button-icon-next ${ea}`,ia=`pagination-button-icon-previous ${ea}`,ra="loading-spinner",la=`badge ${a}`,na=`${la} badge-primary`,oa=`${la} badge-secondary`,$a=`${la} badge-success`,da=`${la} badge-danger`,pa=`${la} badge-warning`,ma=`${la} badge-info`,ua=`${la} badge-light`,ca=`${la} badge-dark`,ba=`dropdown-menu ${e}`,fa=`dropdown-menu-button ${m}`,ga=`radio-list-item ${e}`,ha="skeleton",ya="image",ka="billing-form",xa="checkout-summary",va="filter-menu",wa=`${va} payments-list-filter-menu`,ja="payments-list-filter-param",qa=`${ja} payment-id-payments-list-filter-param`,za=`${ja} terminal-id-payments-list-filter-param`,Aa=`${ja} payment-status-payments-list-filter-param`,Ba=`${ja} created-after-payments-list-filter-param`,Ca=`${ja} created-before-payments-list-filter-param`,Da=`${va} payouts-list-filter-menu`,Ea="payouts-list-filter-param",Fa=`${Ea} created-after-payouts-list-filter-param`,Ga=`${Ea} created-before-payouts-list-filter-param`,Ha=`${va} checkouts-list-filter-menu`,Ia="checkouts-list-filter-param",Ja=`${Ia} checkout-status-checkouts-list-filter-param`,Ka=`${Ia} payment-mode-checkouts-list-filter-param`,La=`${va} terminals-list-filter-menu`,Ma="terminals-list-filter-param",Na=`${Ma} terminal-id-terminals-list-filter-param`,Oa=`${Ma} terminal-order-id-terminals-list-filter-param`,Pa=`${Ma} terminal-status-terminals-list-filter-param`,Qa=`${va} terminal-orders-list-filter-menu`,Ra="terminal-orders-list-filter-param",Sa=`${Ra} order-status-terminal-orders-list-filter-param`,Ta=`${Ra} order-type-terminal-orders-list-filter-param`,Ua=`${Ra} created-after-terminal-orders-list-filter-param`,Va=`${Ra} created-before-terminal-orders-list-filter-param`;export{h as $,Oa as A,Pa as B,ha as C,e as D,s as E,r as F,l as G,d as H,ca as I,ua as J,ma as K,pa as L,da as M,$a as N,oa as O,na as P,la as Q,ra as R,R as S,X as T,k as U,G as V,n as W,ya as X,c as Y,L as Z,u as _,x as a,C as a0,F as a1,D as a2,E as a3,B as a4,A as a5,z as a6,q as a7,j as a8,w as a9,_ as aa,aa as ab,ia as ac,ta as ad,sa as ae,m as af,b as ag,fa as ah,ba as ai,I as aj,K as ak,J as al,o as am,ka as an,$ as ao,M as ap,P as aq,Q as ar,N as as,S as at,T as au,U as av,Y as aw,Z as ax,O as ay,H as az,y as b,g as c,xa as d,Ha as e,wa as f,qa as g,Aa as h,v as i,Ba as j,Ca as k,f as l,Da as m,Fa as n,Ga as o,Ka as p,Qa as q,ga as r,Ja as s,za as t,Sa as u,Ta as v,Ua as w,Va as x,La as y,Na as z}
1
+ const a="font-family",t="background-color",e=`text color ${a}`,s=`text-danger ${e}`,i=`heading ${e}`,r=`heading-1 ${i}`,l=`heading-2 ${i}`,n=`heading-3 ${i}`,o=`heading-4 ${i}`,$=`heading-5 ${i}`,d=`link text ${a}`,p=`button ${e}`,m=`button-primary ${p}`,u=`button-secondary ${p}`,c=`button-link ${p}`,b="button-loading",f=`label ${e}`,g=`input ${e} ${t}`,h=`input-group ${g}`,y=`input-invalid ${g}`,k=`input-disabled ${g}`,x=`input-focused ${g}`,v=`input-invalid-and-focused ${g}`,w="input-radio",j=`input-radio-focused ${w}`,q=`input-radio-checked ${w}`,z=`input-radio-checked-focused ${w}`,A=`input-radio-invalid ${w}`,B="input-checkbox",C=`input-checkbox-invalid ${B}`,D=`input-checkbox-focused ${B}`,E=`input-checkbox-checked ${B}`,F=`input-checkbox-checked-focused ${B}`,G=`input-adornment ${e}`,H=`alert-danger alert ${e}`,I=`tooltip ${e}`,J=`tooltip-icon ${e}`,K=`tooltip-inner ${e}`,L=`card ${e} ${t}`,M=`table ${e} ${t}`,N=`table-row ${e} ${t}`,O=`table-cell ${e} ${t}`,P="table-head",Q=`table-head-row ${e} ${t}`,R=`table-head-cell ${O}`,S="table-foot",T=`table-foot-row ${e} ${t}`,U=`table-foot-cell ${O}`,V=`table-cell-even ${O}`,W=`table-cell-odd ${O}`,X=a=>a%2?V:W,Y=`table-empty ${e} ${t}`,Z=`table-error ${e} ${t}`,_=`pagination-button ${p}`,aa=`pagination-button-disabled button-disabled ${p}`,ta=`pagination-button-text ${e}`,ea=`pagination-button-icon ${e}`,sa=`pagination-button-icon-next ${ea}`,ia=`pagination-button-icon-previous ${ea}`,ra="loading-spinner",la=`badge ${a}`,na=`${la} badge-primary`,oa=`${la} badge-secondary`,$a=`${la} badge-success`,da=`${la} badge-danger`,pa=`${la} badge-warning`,ma=`${la} badge-info`,ua=`${la} badge-light`,ca=`${la} badge-dark`,ba=`dropdown-menu ${e}`,fa=`dropdown-menu-button ${m}`,ga=`radio-list-item ${e}`,ha="skeleton",ya="image",ka="billing-form",xa="checkout-summary",va="filter-menu",wa=`${va} payments-list-filter-menu`,ja="payments-list-filter-param",qa=`${ja} payment-id-payments-list-filter-param`,za=`${ja} terminal-id-payments-list-filter-param`,Aa=`${ja} payment-status-payments-list-filter-param`,Ba=`${ja} created-after-payments-list-filter-param`,Ca=`${ja} created-before-payments-list-filter-param`,Da=`${va} payouts-list-filter-menu`,Ea="payouts-list-filter-param",Fa=`${Ea} created-after-payouts-list-filter-param`,Ga=`${Ea} created-before-payouts-list-filter-param`,Ha=`${va} checkouts-list-filter-menu`,Ia="checkouts-list-filter-param",Ja=`${Ia} checkout-status-checkouts-list-filter-param`,Ka=`${Ia} payment-mode-checkouts-list-filter-param`,La=`${va} terminals-list-filter-menu`,Ma="terminals-list-filter-param",Na=`${Ma} terminal-id-terminals-list-filter-param`,Oa=`${Ma} terminal-order-id-terminals-list-filter-param`,Pa=`${Ma} terminal-status-terminals-list-filter-param`,Qa=`${va} terminal-orders-list-filter-menu`,Ra="terminal-orders-list-filter-param",Sa=`${Ra} order-status-terminal-orders-list-filter-param`,Ta=`${Ra} order-type-terminal-orders-list-filter-param`,Ua=`${Ra} created-after-terminal-orders-list-filter-param`,Va=`${Ra} created-before-terminal-orders-list-filter-param`;export{C as $,Oa as A,Pa as B,ha as C,e as D,s as E,r as F,l as G,d as H,ca as I,ua as J,ma as K,pa as L,da as M,$a as N,oa as O,na as P,la as Q,ra as R,R as S,X as T,k as U,G as V,n as W,ya as X,c as Y,L as Z,h as _,x as a,F as a0,D as a1,E as a2,B as a3,A as a4,z as a5,q as a6,j as a7,w as a8,_ as a9,aa,ia as ab,ta as ac,sa as ad,u as ae,m as af,b as ag,fa as ah,ba as ai,o as aj,ka as ak,$ as al,M as am,P as an,Q as ao,N as ap,S as aq,T as ar,U as as,Y as at,Z as au,O as av,H as aw,I as ax,K as ay,J as az,y as b,g as c,xa as d,Ha as e,wa as f,qa as g,Aa as h,v as i,Ba as j,Ca as k,f as l,Da as m,Fa as n,Ga as o,Ka as p,Qa as q,ga as r,Ja as s,za as t,Sa as u,Ta as v,Ua as w,Va as x,La as y,Na as z}
@@ -1 +1 @@
1
- import{h as t}from"./p-DwYM91AU.js";import{B as e,a as i}from"./p-DOLBAxYf.js";import{S as a,T as r}from"./p-wtuY7MT2.js";import{h as n}from"./p-BS7OgSQe.js";const o="nickname,provider_serial_number,status",c={nickname:()=>t("th",{part:a,scope:"col",title:"The nickname associated with the terminal"},"Nickname"),model_name:()=>t("th",{part:a,scope:"col",title:"The model name of the terminal"},"Model Name"),id:()=>t("th",{part:a,scope:"col",title:"The ID of the terminal"},"ID"),provider:()=>t("th",{part:a,scope:"col",title:"The provider of the terminal"},"Provider"),provider_serial_number:()=>t("th",{part:a,scope:"col",title:"The serial number of the terminal"},"Serial Number"),device_id:()=>t("th",{part:a,scope:"col",title:"The device/provider ID of the terminal"},"Device ID"),sub_account_name:()=>t("th",{part:a,scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>t("th",{part:a,scope:"col",title:"The current status of each terminal"},"Status")},s={nickname:(e,i)=>t("td",{part:r(i)},e.nickname),model_name:(e,i)=>t("td",{part:r(i)},e.model_name),id:(e,i)=>t("td",{part:r(i)},e.id),provider:(e,i)=>t("td",{part:r(i)},n(e.provider)),provider_serial_number:(e,i)=>t("td",{part:r(i)},e.provider_serial_number),device_id:(e,i)=>t("td",{part:r(i)},e.provider_id),sub_account_name:(e,i)=>t("td",{part:r(i)},e.sub_account_name),status:(a,n)=>t("td",{part:r(n)},t(i,Object.assign({},{connected:{variant:e.SUCCESS,title:"This terminal is connected",text:"Connected"},disconnected:{variant:e.DANGER,title:"This terminal is disconnected",text:"Disconnected"},unknown:{variant:e.SECONDARY,title:"The status of this terminal is unknown",text:"Unknown"},pending_configuration:{variant:e.WARNING,title:"This terminal is pending configuration",text:"Pending configuration"},archived:{variant:e.SECONDARY,title:"This terminal is archived",text:"Archived"}}[a.status])))};export{s as a,o as d,c as t}
1
+ import{h as t}from"./p-DwYM91AU.js";import{B as e,a as i}from"./p-CYz0Hubu.js";import{S as a,T as r}from"./p-QmGrQis7.js";import{h as n}from"./p-B09GVew-.js";const o="nickname,provider_serial_number,status",s={nickname:()=>t("th",{part:a,scope:"col",title:"The nickname associated with the terminal"},"Nickname"),model_name:()=>t("th",{part:a,scope:"col",title:"The model name of the terminal"},"Model Name"),id:()=>t("th",{part:a,scope:"col",title:"The ID of the terminal"},"ID"),provider:()=>t("th",{part:a,scope:"col",title:"The provider of the terminal"},"Provider"),provider_serial_number:()=>t("th",{part:a,scope:"col",title:"The serial number of the terminal"},"Serial Number"),device_id:()=>t("th",{part:a,scope:"col",title:"The device/provider ID of the terminal"},"Device ID"),sub_account_name:()=>t("th",{part:a,scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>t("th",{part:a,scope:"col",title:"The current status of each terminal"},"Status")},c={nickname:(e,i)=>t("td",{part:r(i)},e.nickname),model_name:(e,i)=>t("td",{part:r(i)},e.model_name),id:(e,i)=>t("td",{part:r(i)},e.id),provider:(e,i)=>t("td",{part:r(i)},n(e.provider)),provider_serial_number:(e,i)=>t("td",{part:r(i)},e.provider_serial_number),device_id:(e,i)=>t("td",{part:r(i)},e.provider_id),sub_account_name:(e,i)=>t("td",{part:r(i)},e.sub_account_name),status:(a,n)=>t("td",{part:r(n)},t(i,Object.assign({},{connected:{variant:e.SUCCESS,title:"This terminal is connected",text:"Connected"},disconnected:{variant:e.DANGER,title:"This terminal is disconnected",text:"Disconnected"},unknown:{variant:e.SECONDARY,title:"The status of this terminal is unknown",text:"Unknown"},pending_configuration:{variant:e.WARNING,title:"This terminal is pending configuration",text:"Pending configuration"},archived:{variant:e.SECONDARY,title:"This terminal is archived",text:"Archived"}}[a.status])))};export{c as a,o as d,s as t}
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-DwYM91AU.js";import{ae as r,af as a,ag as n}from"./p-QmGrQis7.js";const t=(t,o)=>s("button",Object.assign({class:`btn btn-${t.variant}`,onClick:t.clickHandler,part:`${{primary:a,secondary:r}[t.variant]} ${t.isLoading?n:""}`},t),t.isLoading?s("div",{class:"spinner-border spinner-border-sm",role:"status",part:"button-spinner"},s("span",{class:"visually-hidden"},"Loading...")):o);export{t as B}
@@ -0,0 +1 @@
1
+ import{h as i,r as s,c as t}from"./p-DwYM91AU.js";import{al as e,aj as r,af as o,D as l}from"./p-QmGrQis7.js";import{S as d}from"./p-BP2sTIQV.js";import"./p-CZfYo5-1.js";import{c as n,J as a}from"./p-MFnmyvti.js";import{C as h,a as c}from"./p-Cjcsf8ku.js";import{B as v}from"./p-DcHTywGe.js";import{B as u}from"./p-B5rtFhtR.js";import{m as p}from"./p-sCHf--Vc.js";import{S as m}from"./p-CjxyejYl.js";import"./p-tGDdRx0W.js";import"./p-HXpYMWUU.js";import{j as f,i as w,b as x}from"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-BH0Xfn-F.js";import{g as y,a as g}from"./p-D2muobcE.js";import{T as j}from"./p-C0FpWzgU.js";import{k as b}from"./p-B09GVew-.js";import"./p-CdVle3mx.js";import"./p-yyedWKWX.js";import"./p-BYsgavgS.js";const C=()=>i("div",{class:"row gap-3"},i("div",{class:"col-12"},i(m,{width:"25%"})),i("div",{class:"col-12"},i(m,{width:"100%"})),i("div",{class:"col-12 d-flex gap-3"},i(m,{width:"50%"}),i(m,{width:"50%"})),i("div",{class:"col-12 d-flex gap-3"},i(m,{width:"65%"}),i(m,{width:"35%"}))),S=()=>i("div",{class:"row gap-5"},i("div",{class:"col-12"},i(m,{width:"40%",height:"40px"})),i(C,null)),k=()=>i("div",{class:"terminal-selector-skeleton mt-4 rounded shadow-sm"},i("div",{class:"d-flex align-items-center gap-3"},i(m,{width:"125px",height:"125px",styles:{borderRadius:"8px"}}),i("div",{class:"flex-grow-1"},i("div",{class:"d-flex row flex-row"},i("div",{class:"col-6 flex-column"},i(m,null),i(m,{width:"60%"})),i("div",{class:"d-flex justify-content-end align-items-center gap-2 col-6"},i(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}),i(m,{width:"80px",height:"32px"}),i(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}))),i("div",{class:"mt-4"},i("div",{class:"d-flex flex-column gap-2"},i(m,null),i(m,null)))))),T=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event"),this.submitted=t(this,"submit-event"),this.shipping=!1,this.submitButtonText="Submit Order",this.loading={business:!0,terminals:!0},this.submitting=!1,this.error=null,this.totalQuantity=0}componentWillLoad(){this.order=new w({business_id:this.businessId,sub_account_id:this.accountId,order_type:this.shipping?x.boardingShipping:x.boardingOnly}),n(),this.analytics=new a(this),this.loadData()}disconnectedCallback(){var i;null===(i=this.analytics)||void 0===i||i.cleanup()}handleError(i,s,t){this.error={message:i,code:s,severity:t},this.errorEvent.emit({errorCode:s,message:i,severity:t})}loadData(){this.businessId&&this.authToken?(this.initializeGetBusiness(),this.initializeGetTerminalModels()):this.handleError("Invalid business id or auth token",c.MISSING_PROPS,h.ERROR)}initializeGetBusiness(){p({id:this.businessId,authToken:this.authToken,service:new v})({onSuccess:({business:i})=>{this.business=new u(i),this.loading.business=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.business=!1}})}initializeGetTerminalModels(){(({id:i,authToken:s,service:t})=>async({onSuccess:e,onError:r})=>{var o,l,d,n;try{const a=await t.fetchTerminalModels(i,s);if(a.error)return r({error:g(a.error),code:y(null===(n=a.error)||void 0===n?void 0:n.code),severity:h.ERROR});e({terminals:(null===(l=null===(o=a.data)||void 0===o?void 0:o.terminal_order_models)||void 0===l?void 0:l.map((i=>new f(i))))||[],orderLimit:null===(d=a.data)||void 0===d?void 0:d.order_limit})}catch(i){const s=y(null==i?void 0:i.code);return r({error:i.message||i,code:s,severity:h.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new j})({onSuccess:({terminals:i,orderLimit:s})=>{this.terminalModels=i,this.orderLimit=s,this.loading.terminals=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.terminals=!1}})}submitOrder(){const i=(({authToken:i,service:s,apiOrigin:t="https://wc-proxy.justifi.ai"})=>async({terminalOrder:e,onSuccess:r,onError:o})=>{var l;try{const d=await s.orderTerminals(i,e,t);if(d.error)return o({error:g(d.error),code:y(null===(l=d.error)||void 0===l?void 0:l.code),severity:h.ERROR});{const{data:i}=d;r({data:i})}}catch(i){const s=y(null==i?void 0:i.code);return o({error:i.message||i,code:s,severity:h.ERROR})}})({authToken:this.authToken,service:new j});this.submitting=!0,i({terminalOrder:this.order.payload,onSuccess:({data:i})=>{this.submitted.emit(i),this.submitting=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.submitting=!1}})}onSelectedQuantityChange(i){this.order.updateTerminal(i.detail.modelName,i.detail.quantity),this.totalQuantity=this.order.totalQuantity}renderLoading(){return i("div",null,this.loading.business&&i(S,null),this.loading.terminals&&i("div",{class:"mt-5"},i(k,null),i(k,null),i(k,null)))}renderBusinessDetails(){var s,t,o,l,d,n,a,h;if(!this.loading.business&&this.business)return i("div",{class:"d-flex flex-column gap-4 mb-5 pt-5"},i("div",{class:"row"},i("div",{class:"col-12"},i("h2",{part:r},this.business.legal_name))),i("div",{class:"row"},i("div",{class:"col-6"},i("h5",{part:e},"Representative:"),i("div",null,i("div",null,null===(t=null===(s=this.business)||void 0===s?void 0:s.representative)||void 0===t?void 0:t.name),i("div",null,null===(l=null===(o=this.business)||void 0===o?void 0:o.representative)||void 0===l?void 0:l.title),i("div",null,null===(n=null===(d=this.business)||void 0===d?void 0:d.representative)||void 0===n?void 0:n.email),i("div",null,b(null===(h=null===(a=this.business)||void 0===a?void 0:a.representative)||void 0===h?void 0:h.phone)))),i("div",{class:"col-6"},i("h5",{part:e},this.shipping?"Shipping Address:":"Business Address:"),i("div",null,this.business.legal_address.line1,this.business.legal_address.line2?`, ${this.business.legal_address.line2}`:"",i("br",null),this.business.legal_address.city,", ",this.business.legal_address.state," ",this.business.legal_address.postal_code))))}renderTerminals(){if(!this.loading.terminals&&this.terminalModels)return i("div",{class:"d-flex flex-column gap-2 mt-5"},this.terminalModels.map((s=>i("terminal-quantity-selector",{modelName:s.model_name,description:s.description,imageUrl:s.image_url,helpUrl:s.help_url,limit:this.orderLimit-this.order.totalQuantity,onSelectedQuantityChange:this.onSelectedQuantityChange.bind(this)}))))}renderOrderSection(){return i("div",{class:"mt-3"},i("div",{class:"text-end"},"Order limit: ",this.orderLimit),i("div",{class:"d-flex justify-content-end mt-3"},i("button",{class:"btn btn-primary submit-btn",onClick:this.submitOrder.bind(this),disabled:0===this.order.totalQuantity||this.submitting,part:o},this.submitting?"Submitting...":this.submitButtonText)))}render(){return i(d,{key:"d51dd6f3d59f987c8c8ee53f6f3b708f589c952b"},i("div",{key:"15f682c9b0026e66a46644f5c6564c32f9a11636",part:l},this.renderLoading(),this.renderBusinessDetails(),this.renderTerminals(),this.renderOrderSection()))}};export{T as justifi_order_terminals}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e}from"./p-DwYM91AU.js";import"./p-tGDdRx0W.js";import"./p-HXpYMWUU.js";import"./p-Cjcsf8ku.js";import"./p-CMTxbXEr.js";import{p as i}from"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{T as a,a as r,b as h,c as o,d as c,e as n,f as p,g as d,h as m,i as b,j as u,k as f,l as g}from"./p-gcRtE71H.js";import{T as l}from"./p-CZfYo5-1.js";import{t as j,a as y}from"./p-Qmo430x1.js";import{o as k,g as C}from"./p-Uqevvbqm.js";import"./p-BYsgavgS.js";import"./p-B09GVew-.js";import"./p-QmGrQis7.js";import"./p-B10U2_Sw.js";import"./p-CYz0Hubu.js";const v=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event"),this.errorEvent=s(this,"error-event"),this.terminals=[],this.subAccounts=[],this.loading=!0,this.paging=i,this.pagingParams={},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:l.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:l.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const e=this.terminals.find((t=>t.id===s));this.clickEvent.emit({name:l.row,data:e})}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.terminalsTable=new a(this.terminals,this.columns,j,y),this.getTerminals&&this.getSubAccounts&&this.fetchData(),k("set",(()=>{this.pagingParams={}})),k("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getTerminals({params:this.terminalParams,onSuccess:async({terminals:t,pagingInfo:s})=>{this.terminals=t,this.paging=s,this.terminalsTable.collectionData=this.terminals,this.terminalsTable.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.terminals=this.terminals.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 terminalParams(){const t=C();return Object.assign(Object.assign({},t),this.pagingParams)}get subAccountParams(){let t=this.terminals.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.terminals.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.terminalsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e(g,{key:"88b4eb0cd55f0a1fbad0c5e877fb3619b50c2723"},e(r,{key:"a36263fde8baf22dd073ad4d4f068eb277e83ee8"},e(h,{key:"549b77d4a69e1db447faed7fa080342d64d965d7"},e(o,{key:"f317872464002efdccba4c4d7f674c74bbfcbbd0"},this.terminalsTable.columnData.map((t=>t)))),e(c,{key:"c7ab98aaef3ff495b34bb8a656ebd722e256343c"},e(n,{key:"90e3b87dab3d29c48fc893d5bfc68c0961e42b9c",columnSpan:this.terminalsTable.columnKeys.length,isLoading:this.loading}),e(p,{key:"c0a19d89566128a1456c4a069519da694f034947",isEmpty:this.showEmptyState,columnSpan:this.terminalsTable.columnKeys.length}),e(d,{key:"9f684369eb17da5ceefc2f49a8930213eb49c37a",columnSpan:this.terminalsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.terminalsTable.rowData.map(((t,s)=>e(m,{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e(b,{key:"1e6024f718571717156c0856175529236453c394"},e(u,{key:"f44d637589cd1ede9a7417b3b66ae70999e8bdf9"},e(f,{key:"ed68613d20c6a6f01d54b31613e598825703f99e",colSpan:this.terminalsTable.columnData.length},e("pagination-menu",{key:"7b071169c52042eea2352608ad67cc6d8470dc8b",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})}))))))}static get watchers(){return{pagingParams:["updateOnPropChange"],getTerminals:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{v as terminals_list_core}
@@ -0,0 +1 @@
1
+ import{r as s,c as t,h as r}from"./p-DwYM91AU.js";import{P as i}from"./p-H_emngUs.js";import"./p-tGDdRx0W.js";import"./p-HXpYMWUU.js";import{C as o,a as e}from"./p-Cjcsf8ku.js";import{P as p}from"./p-CMTxbXEr.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{g as a,a as n}from"./p-D2muobcE.js";import{c as m,J as d}from"./p-MFnmyvti.js";import{S as c}from"./p-BP2sTIQV.js";import"./p-CZfYo5-1.js";import{d as h}from"./p-GenVH2BR.js";import"./p-yyedWKWX.js";import"./p-B09GVew-.js";import"./p-BYsgavgS.js";import"./p-CdVle3mx.js";import"./p-KS3Bf_2D.js";import"./p-CYz0Hubu.js";import"./p-QmGrQis7.js";const u=class{constructor(r){s(this,r),this.errorEvent=t(this,"error-event"),this.errorMessage=null,this.columns=h,this.handleErrorEvent=s=>{this.errorMessage=s.detail.message,this.errorEvent.emit(s.detail)}}componentWillLoad(){m(),this.analytics=new d(this),this.initializeGetPayments()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}propChanged(){this.initializeGetPayments()}initializeGetPayments(){this.accountId&&this.authToken?this.getPayments=(({id:s,authToken:t,service:r})=>async({params:i,onSuccess:e,onError:m,final:d})=>{var c,h;try{const d=await r.fetchPayments(s,t,i);if(d.error)return m({error:n(d.error),code:a(null===(h=d.error)||void 0===h?void 0:h.code),severity:o.ERROR});{const s=Object.assign({},d.page_info);e({payments:(null===(c=d.data)||void 0===c?void 0:c.map((s=>new p(s))))||[],pagingInfo:s})}}catch(s){const t=a(null==s?void 0:s.code);return m({error:s.message||s,code:t,severity:o.ERROR})}finally{return d()}})({id:this.accountId,authToken:this.authToken,service:new i}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:o.ERROR}))}render(){return r(c,{key:"dd147d100660d274dded274c741df2d64e17ab1b"},r("payments-list-core",{key:"51473c93dea52b21200816f3a56495a1760ade3b",getPayments:this.getPayments,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{u as justifi_payments_list}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,H as a}from"./p-DwYM91AU.js";import{I as i}from"./p-Ce_F4E0f.js";import{b as d,U as r,a as o,c as l,l as c}from"./p-QmGrQis7.js";import{F as n}from"./p-CpP3EZBK.js";import"./p-CZfYo5-1.js";import{C as h}from"./p-B5rtFhtR.js";import{n as f}from"./p-BnjCmwMr.js";import{b,c as u}from"./p-DfKxeSrC.js";const m=class{constructor(s){e(this,s),this.formControlInput=t(this,"formControlInput"),this.formControlBlur=t(this,"formControlBlur"),this.imask=null,this.isFocused=!1,this.initializeIMask=()=>{this.textInput&&(this.imask=i(this.textInput,{mask:this.mask}),this.imask.on("accept",(()=>{var e;const t=null===(e=this.imask)||void 0===e?void 0:e.unmaskedValue;void 0!==t&&this.inputHandler(this.name,t)})),this.textInput.addEventListener("blur",(()=>this.formControlBlur.emit())))},this.handleFormControlInput=e=>{var t;const s=e.target,a=s.getAttribute("name"),i=(null===(t=this.imask)||void 0===t?void 0:t.unmaskedValue)||s.value;this.formControlInput.emit({name:a,value:i})},this.updateInput=e=>{this.imask&&e&&(this.imask.value=String(e))}}handleDefaultValueChange(e){this.initializeIMask(),this.updateInput(e)}disconnectedCallback(){var e;null===(e=this.imask)||void 0===e||e.destroy()}componentDidLoad(){this.textInput&&(this.initializeIMask(),this.updateInput(this.defaultValue))}get part(){return this.errorText?d:this.disabled?r:this.isFocused?o:l}render(){return s(a,{key:"6c9814049ed9df9b56ece90a0cba99d567a45162"},s("div",{key:"17893086baabe9c346fa47e9f64c451635a99972",class:"form-group d-flex flex-column"},s("div",{key:"e627c915dcae3c1a6ad91e61da69c11381ed9a93",class:"d-flex align-items-start gap-2"},s("label",{key:"a74daebf653579f25c787064485227ee5ee7af08",part:c,class:"form-label",htmlFor:this.name},this.label),s("form-control-tooltip",{key:"fb5c48b9e75d8168131189081a55722d50408413",helpText:this.helpText})),s("input",{key:"10fd5ba8b26058ed7fbe3f4b789358a42933f83e",ref:e=>this.textInput=e,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",type:"text",disabled:this.disabled}),s(n,{key:"dd183a39d81748d9dd630f210126742df0b8a324",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}},p=class{constructor(t){e(this,t),this.country=h.USA}render(){var e,t,i,d,r,o,l,c,n,m;const p=u[this.country],v=b[this.country];return s(a,{key:"dde5469230a6067ab343e77b1e11e25d815caa5a"},s("div",{key:"a28ca49da90e4981e363ccc69fa59e930097cad2",class:"row gy-3"},s("div",{key:"dc6e201854c758cbbd493dd23c38a40e072cfaaf",class:"col-12"},s("form-control-text",{key:"a2e43eb37e7df69c89484f74adf7f297183818d7",name:"line1",label:"Street Address",inputHandler:this.inputHandler,defaultValue:null===(e=this.defaultValues)||void 0===e?void 0:e.line1,errorText:null===(t=this.errors)||void 0===t?void 0:t.line1,helpText:"No PO Boxes."})),s("div",{key:"e59a0af86c1146e1c5ac2b86f0e531bab76467cc",class:"col-12"},s("form-control-text",{key:"8ba59e74e6be2bc5980ff2c08126c9df77460ab2",name:"line2",label:"Address Line 2 (optional)",inputHandler:this.inputHandler,defaultValue:null===(i=this.defaultValues)||void 0===i?void 0:i.line2,errorText:null===(d=this.errors)||void 0===d?void 0:d.line2})),s("div",{key:"671a3098a6295c6702b670506a8a17190a4cf90a",class:"col-12"},s("form-control-text",{key:"cb1c90bd567e1ecb82a9be4c540eab7ca2bcfb99",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null===(r=this.defaultValues)||void 0===r?void 0:r.city,errorText:null===(o=this.errors)||void 0===o?void 0:o.city})),s("div",{key:"554e28a4a0cdc81076f0342b31ccb1cad3c122f7",class:"col-12"},s("form-control-select",{key:"9fb1e73cf440173d9a4a94f23eca5dbf77310e76",name:"state",label:p.stateLabel,options:v.stateOptions,inputHandler:this.inputHandler,defaultValue:null===(l=this.defaultValues)||void 0===l?void 0:l.state,errorText:null===(c=this.errors)||void 0===c?void 0:c.state})),s("div",{key:"fbde65bfada699a7bcab4bb642b39cae3dc123b8",class:"col-12"},s("form-control-text",{key:"9218151756e93820985c88721bb549904e0f7212",name:"postal_code",label:p.postalLabel,inputHandler:this.inputHandler,defaultValue:null===(n=this.defaultValues)||void 0===n?void 0:n.postal_code,errorText:null===(m=this.errors)||void 0===m?void 0:m.postal_code,maxLength:this.country===h.USA?5:7,keyDownHandler:this.country===h.USA?f:void 0}))))}},v=class{constructor(t){e(this,t),this.address={},this.inputHandler=(e,t)=>{this.address[e]=t,this.address=Object.assign({},this.address)}}handleAddressChange(e){this.handleFormUpdate(e)}render(){return s(a,{key:"86c91933676745470d6b28cf6843624d092adc57"},s("justifi-form-address-fields",{key:"7cbee24003b6b0446fb1203c9863151b0d2f4f15",country:this.country,errors:this.errors,defaultValues:this.defaultValues,inputHandler:this.inputHandler}))}static get watchers(){return{address:["handleAddressChange"]}}};export{m as form_control_number_masked,p as justifi_form_address_fields,v as justifi_identity_address_form}
@@ -1 +1 @@
1
- import{r as e,h as a}from"./p-DwYM91AU.js";import{c as t,a as i,F as c}from"./p-DiJD6Iqx.js";import{ao as d}from"./p-wtuY7MT2.js";import"./p-BFTU3MAI.js";const s=t({additional_statement:i().nullable()});var o,l;!function(e){e.disputeReason="dispute_reason",e.productOrService="product_or_service",e.customerDetails="customer_details",e.cancellationPolicy="cancellation_policy",e.refundPolicy="refund_policy",e.duplicateCharge="duplicate_charge",e.electronicEvidence="electronic_evidence",e.shippingDetails="shipping_details",e.additionalStatement="additional_statement"}(o||(o={})),function(e){e.activity_log="activity_log",e.cancellationPolicy="cancellation_policy",e.customerCommunication="customer_communication",e.customerSignature="customer_signature",e.duplicateChargeDocumentation="duplicate_charge_documentation",e.receipt="receipt",e.refundPolicy="refund_policy",e.serviceDocumentation="service_documentation",e.shippingDocumentation="shipping_documentation",e.uncategorizedFile="uncategorized_file"}(l||(l={}));class n{set presignedUrl(e){this._presignedUrl=e}get presignedUrl(){return this._presignedUrl}async getFileString(){const e=new Promise(((e,a)=>{const t=new FileReader;t.onload=a=>{e(a.target.result)},t.onerror=()=>{a(new Error("Error reading file"))},t.readAsArrayBuffer(this._file)}));return await e}constructor(e,a){this._file=e,this.file_name=e.name,this.file_type=e.type,this.dispute_evidence_type=a}}const r=(e,a)=>{const t=e.target,i=t.name,c=t.files;a[i]=[];for(const e of c)a[i].push(new n(e,i))},f=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.acceptedTerms=!1,this.documents={uncategorized_file:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.additionalStatement)))}componentWillLoad(){this.form=new c(s)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"5e572a30ed53b4fbcf3808ba545ce2fdf5b988aa"},a("div",{key:"90870dc58e0eab72e64ae03bdaa25bb1749d8e23",class:"row gy-3"},a("div",{key:"cc3b6f19687d02e047744e8a53d22a2f91a8b968",class:"col-12"},a("h2",{key:"230c20dc3f75e48afa4008369374fd8c175cb7ea",class:"h5",part:d},"Additional Evidence")),a("div",{key:"7b49c8012cfc07c44399969f8505db786389b38b",class:"col-12"},a("form-control-textarea",{key:"349a8a2ebda338e170c90266801ae93b6f9482ea",label:"Is there anything else you would like to say about this dispute?",name:"additional_statement",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.additional_statement,inputHandler:this.inputHandler,errorText:this.errors.additional_statement})),a("div",{key:"01cd368a2278c5de462f0998a50ba4ca5889be26",class:"col-12"},a("form-control-file-v2",{key:"f95d0b78704f9a1fd154003edbbffb062659ae27",label:"Additional files",name:"uncategorized_file",multiple:!0,helpText:"Upload any additional pieces of evidence that have not already been provided.",onChange:e=>r(e,this.documents),errorText:null===(t=this.documentErrors)||void 0===t?void 0:t.uncategorized_file}))))}},b=t({cancellation_policy_disclosure:i().nullable(),cancellation_rebuttal:i().nullable()}),h=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={cancellation_policy:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.cancellationPolicy)))}componentWillLoad(){this.form=new c(b)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"6dc5100426e8e4124d19a375250f85f8e15b28d4"},a("div",{key:"fb950108be5fd4096a7717c88943938261787f99",class:"row gy-3"},a("div",{key:"08f85a06288e19939a16d3fa52ef3b3199c56f36",class:"col-12"},a("h2",{key:"a585b93921814b1ffbb95c6f9c1de37d4104049b",class:"h5",part:d},"Cancellation Policy")),a("div",{key:"3b7c620518006738d2e36863b62a72142f167733",class:"col-12"},a("form-control-textarea",{key:"70a76160b0d29648a9e0598dd5b867a382935e03",label:"Cancellation Policy Disclosure",name:"cancellation_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.cancellation_policy_disclosure,inputHandler:this.inputHandler,errorText:this.errors.cancellation_policy_disclosure})),a("div",{key:"e06d4c794bad47e366ca702e764307fdab5e33a8",class:"col-12"},a("form-control-textarea",{key:"1b783920c5a5b94bff60d4b061cc7cc6666cc184",label:"Cancellation Rebuttal",name:"cancellation_rebuttal",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.cancellation_rebuttal,inputHandler:this.inputHandler,errorText:this.errors.cancellation_rebuttal})),a("div",{key:"3cb3371c1d3727e55140ea60a0cff96bc0f42702",class:"col-12"},a("form-control-file-v2",{key:"738a456bf4653240180963fa7e5ab20a7a4add7c",label:"Upload Cancellation Policy",name:"cancellation_policy",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.cancellation_policy}))))}},u=t({customer_name:i().nullable(),customer_email_address:i().nullable(),customer_billing_address:i().nullable()}),v=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={customer_signature:[],customer_communication:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.customerDetails)))}componentWillLoad(){this.form=new c(u)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c,s;return a("div",{key:"70e29d650d5304522f927c15b4eb5e62e203c5e0"},a("div",{key:"f50422b29cb2a4f3bca911ced94dc681adb3fc41",class:"row gy-3"},a("div",{key:"f29816d9281ea4c4db5018d3b7edb1600569357a",class:"col-12"},a("h2",{key:"a2889c95c293bf0bbf97c16e4486e307ca87729c",class:"h5",part:d},"Customer Details")),a("div",{key:"9cd45719434a1740f67b73c13fd08e0fe562168e",class:"col-12"},a("form-control-text",{key:"5a30a3aef7fbe2d3013c46e43a437724dae41213",label:"Full Name",name:"customer_name",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_name,inputHandler:this.inputHandler,errorText:this.errors.customer_name})),a("div",{key:"9812e1f9f6df949b9f15b2c3f28857db7dcf5cb7",class:"col-12"},a("form-control-text",{key:"10b146053a399039e8dbd42c3cab53b4b55c0ec3",label:"Email",name:"customer_email_address",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.customer_email_address,inputHandler:this.inputHandler,errorText:this.errors.customer_email_address})),a("div",{key:"2742a0922a223bd60d6e3d08a55190742ecf5112",class:"col-12"},a("form-control-textarea",{key:"41491e238c75716520d747cbf9f1bcc329a2d686",label:"Billing Address",name:"customer_billing_address",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.customer_billing_address,inputHandler:this.inputHandler,errorText:this.errors.customer_billing_address})),a("div",{key:"71074f31e565c24107b91b04d9aa16da77ba618c",class:"col-12"},a("form-control-file-v2",{key:"17f70cf96927b01e65430e13c2d21209e9170603",label:"Customer Signature",name:"customer_signature",onChange:e=>r(e,this.documents),errorText:null===(c=this.documentErrors)||void 0===c?void 0:c.customer_signature})),a("div",{key:"ec696695191e68c7ceb0cc41f99f9e53f2d59da1",class:"col-12"},a("form-control-file-v2",{key:"562ff8b3819f536d491f2e2e55a85a55fcda0e1c",label:"Customer Communication",name:"customer_communication",onChange:e=>r(e,this.documents),errorText:null===(s=this.documentErrors)||void 0===s?void 0:s.customer_communication}))))}},p=t({duplicate_charge_original_payment_id:i().nullable(),duplicate_charge_explanation:i().nullable()}),m=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={duplicate_charge_documentation:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.duplicateCharge)))}componentWillLoad(){this.form=new c(p)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"0b0d73b396b32f29fa389d3981d48c3f30f96fd7"},a("div",{key:"2fd16a4cf964c863a59789a2be60d94b27a95de8",class:"row gy-3"},a("div",{key:"48c15f7db3285caa9164d815615b82a84283fbfe",class:"col-12"},a("h2",{key:"397b3026311bf57588b172146fc9822f99ede63e",class:"h5",part:d},"Duplicate Charge")),a("div",{key:"c825b6efd428bee298b9b0ddf2265378cf999de9",class:"col-12"},a("form-control-text",{key:"b43283087a10826bf8e582a1e863ed4982b5c000",label:"Original Payment ID",name:"duplicate_charge_original_payment_id",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.duplicate_charge_original_payment_id,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_original_payment_id})),a("div",{key:"66d5cefa16c341f5c523eaa46de5c11f5b16e619",class:"col-12"},a("form-control-textarea",{key:"f83573136fc2ce108f186f9434f46a3f157bd102",label:"Duplicate Charge Explanation",name:"duplicate_charge_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.duplicate_charge_explanation,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_explanation})),a("div",{key:"cc47dc1d9dbac962d27494b5ff3fef572c98c7b4",class:"col-12"},a("form-control-file-v2",{key:"3cf06b6d61edd6ac96d02b12639d040f698b2526",label:"Duplicate Charge Documentation",name:"duplicate_charge_documentation",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.duplicate_charge_documentation}))))}},y=t({customer_purchase_ip_address:i().nullable()}),_=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={activity_log:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.electronicEvidence)))}componentWillLoad(){this.form=new c(y)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"1a4a1d78529c48b8f32029a3efa05b4430c6d271"},a("div",{key:"593d167f4e6b610ac3cdb8a04b4eee30a1cb4f91",class:"row gy-3"},a("div",{key:"39440c3a2802b823c85f251c4393ba76bad287c0",class:"col-12"},a("h2",{key:"f5ec8cce1bbadb772ac6dbe668cf54187d2690d7",class:"h5",part:d},"Electronic Evidence")),a("div",{key:"b9020a773c45a8f59a31ffef44b32253fdb4a551",class:"col-12"},a("form-control-text",{key:"56122eafb7f138f4472a5818cddd32cb0e17fc7e",label:"Purchase IP Address",name:"customer_purchase_ip_address",helpText:"The IP address used by the customer during the purchase.",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_purchase_ip_address,inputHandler:this.inputHandler,errorText:this.errors.customer_purchase_ip_address})),a("div",{key:"0737f585271838dd60ab9ee1e6ac83d0c6362b96",class:"col-12"},a("form-control-file-v2",{key:"63590d574ee151cbf82638002dfe513cea471035",label:"Activity Logs",name:"activity_log",helpText:"Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.",onChange:e=>r(e,this.documents),errorText:null===(t=this.documentErrors)||void 0===t?void 0:t.activity_log}))))}},k=t({product_description:i().nullable(),service_date:i().nullable()}),g=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={service_documentation:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.productOrService)))}componentWillLoad(){this.form=new c(k)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"0e2648d399af18f7959bed2e0fff56fd63b541df"},a("div",{key:"4322c227617147721ab7cf33a5e75a09bc370a0c",class:"row gy-3"},a("div",{key:"e2bc9f0642356a864e7fa323262ead13d4825fdc",class:"col-12"},a("h2",{key:"88af660c9add83da7edc7758d4645db796c80fdf",class:"h5",part:d},"Product & Service Details")),a("div",{key:"dcfb0f64e1b611eb8d53f97950d5922f7358a64c",class:"col-12"},a("form-control-text",{key:"42959d4b7c03d14fdef29a656a5f18d0d89d3b2e",label:"Product Description",name:"product_description",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.product_description,inputHandler:this.inputHandler,errorText:this.errors.product_description})),a("div",{key:"1f4173e79f10a6ac32b860ecbd62fe5c612cc5b2",class:"col-12"},a("form-control-date",{key:"6e8bab228b3a23655cbf71fe6dc72a850b38947c",label:"Service Date",name:"service_date",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.service_date,inputHandler:this.inputHandler,errorText:this.errors.service_date})),a("div",{key:"2e32f65cc5388302d067fb1a8db34e3e529435c2",class:"col-12"},a("form-control-file-v2",{key:"f9fb2ac0c6a2f37a7584eeda2460702b1e0d6cc0",label:"Service Documentation",name:"service_documentation",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.service_documentation}))))}},x=t({refund_policy_disclosure:i().nullable(),refund_refusal_explanation:i().nullable()}),j=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={refund_policy:[],receipt:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.refundPolicy)))}componentWillLoad(){this.form=new c(x)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c;return a("div",{key:"882eb01880bcfdde30abe10465fecd7390654ed6"},a("div",{key:"de2f238310e4b80976888d147e90047688ad5ada",class:"row gy-3"},a("div",{key:"305af62aa762ae6abff0678998132e8f56707550",class:"col-12"},a("h2",{key:"6e224996b82639c426d129bfd28633f3d3839f6f",class:"h5",part:d},"Refund Policy and Receipt")),a("div",{key:"b2b8d444c594bf92d04fed6640230745c5fb49ba",class:"col-12"},a("form-control-textarea",{key:"f75c6c360c485ac5253164be5d4941d859deb902",label:"Refund Policy Disclosure",name:"refund_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.refund_policy_disclosure,inputHandler:this.inputHandler})),a("div",{key:"1788d1e6ba1ddbe82795ce1a41b901a81c055f6d",class:"col-12"},a("form-control-textarea",{key:"f47fac9b8e0d6b9766311b13c760129bb6335ddd",label:"Refund Refusal Explanation",name:"refund_refusal_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.refund_refusal_explanation,inputHandler:this.inputHandler})),a("div",{key:"d96552fee8b4cdddf31148b2d3783a4e1dfb031b",class:"col-12"},a("form-control-file-v2",{key:"3c6c06201ef3a730aed41ab6b8cb62d5ee8d8128",label:"Upload Refund Policy",name:"refund_policy",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.refund_policy})),a("div",{key:"ec2271dd9646596df3106f56c6e96f618196046a",class:"col-12"},a("form-control-file-v2",{key:"48f956f2580187fc7baecc5426d5ed0a1050150b",label:"Upload Receipt",name:"receipt",onChange:e=>r(e,this.documents),errorText:null===(c=this.documentErrors)||void 0===c?void 0:c.receipt}))))}},O=t({shipping_carrier:i().nullable(),shipping_tracking_number:i().nullable(),shipping_date:i().nullable(),shipping_address:i().nullable()}),T=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={shipping_documentation:[]},this.documentList=[],this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.shippingDetails)))}componentWillLoad(){this.form=new c(O)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c,s;return a("div",{key:"90641cea619de697d7a90e6e397790f79ceb9376"},a("div",{key:"52d939e26bd26e99240d100897a530b89553e727",class:"row gy-3"},a("div",{key:"01755fbca3430bd3066377e9481038370c49b2d8",class:"col-12"},a("h2",{key:"d273fbe6ff8b7815ba5c2369748a3a20548b0a4d",class:"h5",part:d},"Shipping Details")),a("div",{key:"595f4e63dff85591713a4c895acb6628c8ef8214",class:"col-12"},a("form-control-text",{key:"958169d07544237a72facdc016d4d12ac64a4c48",label:"Shipping Carrier Name",name:"shipping_carrier",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.shipping_carrier,inputHandler:this.inputHandler,errorText:this.errors.shipping_carrier})),a("div",{key:"1d3020a30f95c5ced652871a635aba0152bbc4e3",class:"col-12"},a("form-control-text",{key:"088af20353ec2efcb65a4e597a1fb4aec23cfcbb",label:"Tracking Number",name:"shipping_tracking_number",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.shipping_tracking_number,inputHandler:this.inputHandler,errorText:this.errors.shipping_tracking_number})),a("div",{key:"536ee74c42d326d7f7f698274c846bfebf0d34dd",class:"col-12"},a("form-control-date",{key:"71ef44bd4c810a567162b7fe92199eceff9be470",label:"Date Shipped",name:"shipping_date",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.shipping_date,inputHandler:this.inputHandler,errorText:this.errors.shipping_date})),a("div",{key:"8887e0daf44be31486563e85cd989eef1da5f5ce",class:"col-12"},a("form-control-textarea",{key:"c34093bc4ee65f4fb092c377a98e01cd69bdbc7c",label:"Shipping Address",name:"shipping_address",defaultValue:null===(c=this.disputeResponse)||void 0===c?void 0:c.shipping_address,inputHandler:this.inputHandler,errorText:this.errors.shipping_address})),a("div",{key:"469a5d8c7e28fa2ad430f104f08f387448f70048",class:"col-12"},a("form-control-file-v2",{key:"a2b6c6c0c1cf32430582b97efe6bcc1d4c47147d",label:"Shipping Documentation",name:"shipping_documentation",onChange:e=>r(e,this.documents),errorText:null===(s=this.documentErrors)||void 0===s?void 0:s.shipping_documentation}))))}};export{f as justifi_additional_statement,h as justifi_cancellation_policy,v as justifi_customer_details,m as justifi_duplicate_charge,_ as justifi_electronic_evidence,g as justifi_product_or_service,j as justifi_refund_policy,T as justifi_shipping_details}
1
+ import{r as e,h as a}from"./p-DwYM91AU.js";import{c as t,a as i,F as c}from"./p-DiJD6Iqx.js";import{al as d}from"./p-QmGrQis7.js";import"./p-BFTU3MAI.js";const s=t({additional_statement:i().nullable()});var o,l;!function(e){e.disputeReason="dispute_reason",e.productOrService="product_or_service",e.customerDetails="customer_details",e.cancellationPolicy="cancellation_policy",e.refundPolicy="refund_policy",e.duplicateCharge="duplicate_charge",e.electronicEvidence="electronic_evidence",e.shippingDetails="shipping_details",e.additionalStatement="additional_statement"}(o||(o={})),function(e){e.activity_log="activity_log",e.cancellationPolicy="cancellation_policy",e.customerCommunication="customer_communication",e.customerSignature="customer_signature",e.duplicateChargeDocumentation="duplicate_charge_documentation",e.receipt="receipt",e.refundPolicy="refund_policy",e.serviceDocumentation="service_documentation",e.shippingDocumentation="shipping_documentation",e.uncategorizedFile="uncategorized_file"}(l||(l={}));class n{set presignedUrl(e){this._presignedUrl=e}get presignedUrl(){return this._presignedUrl}async getFileString(){const e=new Promise(((e,a)=>{const t=new FileReader;t.onload=a=>{e(a.target.result)},t.onerror=()=>{a(new Error("Error reading file"))},t.readAsArrayBuffer(this._file)}));return await e}constructor(e,a){this._file=e,this.file_name=e.name,this.file_type=e.type,this.dispute_evidence_type=a}}const r=(e,a)=>{const t=e.target,i=t.name,c=t.files;a[i]=[];for(const e of c)a[i].push(new n(e,i))},f=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.acceptedTerms=!1,this.documents={uncategorized_file:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.additionalStatement)))}componentWillLoad(){this.form=new c(s)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"3c0edd8c0d1b4e20b4673e721ae05c34e070e2c6"},a("div",{key:"e95625382e55164401b28c6d3d253d775b7ccc87",class:"row gy-3"},a("div",{key:"bce8e334130812bb6d896e48d72f8a7347a58753",class:"col-12"},a("h2",{key:"d6d11c29baf12c36d90505f44cbba6139828cc41",class:"h5",part:d},"Additional Evidence")),a("div",{key:"11cba2151220a3bb5dc39c231792b2733033f2ee",class:"col-12"},a("form-control-textarea",{key:"e60e1810cb82b6daf8c61aa4ae21ead48d6794f5",label:"Is there anything else you would like to say about this dispute?",name:"additional_statement",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.additional_statement,inputHandler:this.inputHandler,errorText:this.errors.additional_statement})),a("div",{key:"e745eabe5b5a38485877904d7b0e3fc16583e00e",class:"col-12"},a("form-control-file-v2",{key:"f88b588cfe46d4d4f904b8c7008272ee0b0fffed",label:"Additional files",name:"uncategorized_file",multiple:!0,helpText:"Upload any additional pieces of evidence that have not already been provided.",onChange:e=>r(e,this.documents),errorText:null===(t=this.documentErrors)||void 0===t?void 0:t.uncategorized_file}))))}},b=t({cancellation_policy_disclosure:i().nullable(),cancellation_rebuttal:i().nullable()}),h=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={cancellation_policy:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.cancellationPolicy)))}componentWillLoad(){this.form=new c(b)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"7388c0a12447da31a25aeb4d374a4bcca26ae664"},a("div",{key:"adcc0256ebec43aac7ba65a8e35daf6e6923de25",class:"row gy-3"},a("div",{key:"f8f12898acdd5dadac559d9c967af69cbb071147",class:"col-12"},a("h2",{key:"546b58f9ef57f21743625a54c960762b990977eb",class:"h5",part:d},"Cancellation Policy")),a("div",{key:"10032390cfca9d783ee71c4546f7562b59596806",class:"col-12"},a("form-control-textarea",{key:"62afbd3d92193e954ec72808eafb8643e0d8c8d3",label:"Cancellation Policy Disclosure",name:"cancellation_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.cancellation_policy_disclosure,inputHandler:this.inputHandler,errorText:this.errors.cancellation_policy_disclosure})),a("div",{key:"df29b379fdacf3c74111952eb9ed7c20b6fbb1ed",class:"col-12"},a("form-control-textarea",{key:"8c34fddf37bd4f03e1ff8f974e35dc88a865a3cf",label:"Cancellation Rebuttal",name:"cancellation_rebuttal",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.cancellation_rebuttal,inputHandler:this.inputHandler,errorText:this.errors.cancellation_rebuttal})),a("div",{key:"89dd8b79755ae4ab2ad203887cd928b4a9ce35e2",class:"col-12"},a("form-control-file-v2",{key:"0818e57a22be5a73f74a02575ac802cfe3b4de35",label:"Upload Cancellation Policy",name:"cancellation_policy",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.cancellation_policy}))))}},u=t({customer_name:i().nullable(),customer_email_address:i().nullable(),customer_billing_address:i().nullable()}),v=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={customer_signature:[],customer_communication:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.customerDetails)))}componentWillLoad(){this.form=new c(u)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c,s;return a("div",{key:"539e3799c613e2220ef11e3bd19457fa04610c4b"},a("div",{key:"9f612621bd98060cb407cf2d628903733d6517f2",class:"row gy-3"},a("div",{key:"de829fd15e9ae4b044a96c8addaabb8cd63224c4",class:"col-12"},a("h2",{key:"a4805da605e259ca9450da2c7fc652848ae58c80",class:"h5",part:d},"Customer Details")),a("div",{key:"1cf94d2b9a71c4728ebf4b8c92a8e91eba490e16",class:"col-12"},a("form-control-text",{key:"bf1c4eaf372b919dea002c4a7a15c6748e12adff",label:"Full Name",name:"customer_name",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_name,inputHandler:this.inputHandler,errorText:this.errors.customer_name})),a("div",{key:"8b7b472e818795a015984ce06d3a44c9a6bf3bfb",class:"col-12"},a("form-control-text",{key:"845cc2af35390837d63f628f78d4c866f1bbae85",label:"Email",name:"customer_email_address",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.customer_email_address,inputHandler:this.inputHandler,errorText:this.errors.customer_email_address})),a("div",{key:"2e7122420d04961f5cc48d4dffc4eb3a881f2727",class:"col-12"},a("form-control-textarea",{key:"80177b3e9b57cc750ab02e30694e33fbf3ef526a",label:"Billing Address",name:"customer_billing_address",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.customer_billing_address,inputHandler:this.inputHandler,errorText:this.errors.customer_billing_address})),a("div",{key:"96c32ff3b76326f54cc2462ef6c47c87ba46504a",class:"col-12"},a("form-control-file-v2",{key:"3aec29d7e7e05a3d796ba7e57ec153b05267eec6",label:"Customer Signature",name:"customer_signature",onChange:e=>r(e,this.documents),errorText:null===(c=this.documentErrors)||void 0===c?void 0:c.customer_signature})),a("div",{key:"7d519c613f67229f2785511f4e16c4a74ceba73f",class:"col-12"},a("form-control-file-v2",{key:"0fbf23107e1a61f47b2ea16ecf3cdffcb64a1294",label:"Customer Communication",name:"customer_communication",onChange:e=>r(e,this.documents),errorText:null===(s=this.documentErrors)||void 0===s?void 0:s.customer_communication}))))}},p=t({duplicate_charge_original_payment_id:i().nullable(),duplicate_charge_explanation:i().nullable()}),m=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={duplicate_charge_documentation:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.duplicateCharge)))}componentWillLoad(){this.form=new c(p)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"1fe6bcfa95691c4d41a0e79ce27b88acd827f9fa"},a("div",{key:"7700ba0630b46af2150c3b1ca838b19d67da1fd7",class:"row gy-3"},a("div",{key:"eb9662311f410d86ceb123b246e8b5ea792833de",class:"col-12"},a("h2",{key:"2e087f69f8204296316a0c2c1a60ebbbeadc876b",class:"h5",part:d},"Duplicate Charge")),a("div",{key:"b5b6b23d6612151a53d2c199bf9f88ecd8c62f14",class:"col-12"},a("form-control-text",{key:"5d523482e67118204327a7cc5a9c807ac19b6ea0",label:"Original Payment ID",name:"duplicate_charge_original_payment_id",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.duplicate_charge_original_payment_id,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_original_payment_id})),a("div",{key:"656420be3d4d40375313be0261c718c32a14f9ef",class:"col-12"},a("form-control-textarea",{key:"dd1b5b86d5f5d8a89b36b3dce0bb7edf37331af5",label:"Duplicate Charge Explanation",name:"duplicate_charge_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.duplicate_charge_explanation,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_explanation})),a("div",{key:"d44f26e1ad785a2cc562506b451fbd1bd3695cf2",class:"col-12"},a("form-control-file-v2",{key:"c1f49fcee8b4a74c097ebed3153cdccf546ae886",label:"Duplicate Charge Documentation",name:"duplicate_charge_documentation",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.duplicate_charge_documentation}))))}},y=t({customer_purchase_ip_address:i().nullable()}),_=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={activity_log:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.electronicEvidence)))}componentWillLoad(){this.form=new c(y)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"be4423ae29984754d400422e27b56c6b7bdff386"},a("div",{key:"d07d55b631f4daf63f775a9e4afb06958c6186e6",class:"row gy-3"},a("div",{key:"ed012d7b827c7764e691723129ee758c249f4000",class:"col-12"},a("h2",{key:"6a55a9f39eb70b923cae3e5bd28fb8690628371f",class:"h5",part:d},"Electronic Evidence")),a("div",{key:"c6745caeac03e79e14cb24568b624ddfaf8d2daf",class:"col-12"},a("form-control-text",{key:"388e03ac3a0b870343446f54525c046611f79e95",label:"Purchase IP Address",name:"customer_purchase_ip_address",helpText:"The IP address used by the customer during the purchase.",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_purchase_ip_address,inputHandler:this.inputHandler,errorText:this.errors.customer_purchase_ip_address})),a("div",{key:"3830fc3a579d5aef3a7089a119c36f4dd8fe3a90",class:"col-12"},a("form-control-file-v2",{key:"6d52bb2b80d20794465e07a8cc5292ffd8c4130f",label:"Activity Logs",name:"activity_log",helpText:"Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.",onChange:e=>r(e,this.documents),errorText:null===(t=this.documentErrors)||void 0===t?void 0:t.activity_log}))))}},k=t({product_description:i().nullable(),service_date:i().nullable()}),g=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={service_documentation:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.productOrService)))}componentWillLoad(){this.form=new c(k)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"f7b24599316e8545d61370c50d28cbf5e0d90985"},a("div",{key:"d1edc60194b573078d5701a14e16ef0dd8f6b45d",class:"row gy-3"},a("div",{key:"4b7e12eb4a9b41b30d7c85334691136280679210",class:"col-12"},a("h2",{key:"b9e3721e4ff6610da877f49e263ef84b86cd81ea",class:"h5",part:d},"Product & Service Details")),a("div",{key:"3c41a068f079d52b88dec1cbe99769be2d793479",class:"col-12"},a("form-control-text",{key:"6419cf35e1d66d332c9dd1fde772446ef4a640f8",label:"Product Description",name:"product_description",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.product_description,inputHandler:this.inputHandler,errorText:this.errors.product_description})),a("div",{key:"813b82430e9e4d4a4fb4a025c7eb5eb1d348fb5d",class:"col-12"},a("form-control-date",{key:"2ed13c96f745e792728c11df4a443a26eb48cbc3",label:"Service Date",name:"service_date",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.service_date,inputHandler:this.inputHandler,errorText:this.errors.service_date})),a("div",{key:"139ed67db44d68e1da8c6b702b5ea2d292c2635b",class:"col-12"},a("form-control-file-v2",{key:"19affd0336fa51e9c61321047589b8e8ea4b977e",label:"Service Documentation",name:"service_documentation",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.service_documentation}))))}},x=t({refund_policy_disclosure:i().nullable(),refund_refusal_explanation:i().nullable()}),j=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={refund_policy:[],receipt:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.refundPolicy)))}componentWillLoad(){this.form=new c(x)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c;return a("div",{key:"0c86a73ee59ff870697d7cf13960f5019a24e2f6"},a("div",{key:"c7f62c366ea4a58512e7c358102defc1c39d50e8",class:"row gy-3"},a("div",{key:"a1a3ba7c17fa360c1ae3831067c75ed3f0bb523e",class:"col-12"},a("h2",{key:"b62d1a0d7901d708cb1ee6225cab267957339c19",class:"h5",part:d},"Refund Policy and Receipt")),a("div",{key:"49ad044dc2881fbcba27edb55e078bd3552411b8",class:"col-12"},a("form-control-textarea",{key:"91e4ac8355528c7d120008efec472555865ea0e1",label:"Refund Policy Disclosure",name:"refund_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.refund_policy_disclosure,inputHandler:this.inputHandler})),a("div",{key:"610629a4df918fd3679c7286a2d7ed97755ec4c6",class:"col-12"},a("form-control-textarea",{key:"1b4206d54188e8d1134780394c6af28ed9d41297",label:"Refund Refusal Explanation",name:"refund_refusal_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.refund_refusal_explanation,inputHandler:this.inputHandler})),a("div",{key:"bdf898c3fd62a4c838f242c289428f2ecad5046b",class:"col-12"},a("form-control-file-v2",{key:"cf319792746ac3e3046aa03a651f0a364c78c992",label:"Upload Refund Policy",name:"refund_policy",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.refund_policy})),a("div",{key:"1e4941fe09fba3fe8f0b143d1be0c421a4d076e4",class:"col-12"},a("form-control-file-v2",{key:"e297ef6d361fd57ca990df8ff48dd7840a460153",label:"Upload Receipt",name:"receipt",onChange:e=>r(e,this.documents),errorText:null===(c=this.documentErrors)||void 0===c?void 0:c.receipt}))))}},O=t({shipping_carrier:i().nullable(),shipping_tracking_number:i().nullable(),shipping_date:i().nullable(),shipping_address:i().nullable()}),T=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={shipping_documentation:[]},this.documentList=[],this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.shippingDetails)))}componentWillLoad(){this.form=new c(O)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c,s;return a("div",{key:"02607c4291d3eac86ca3d81c60c1c6bfa3f01aea"},a("div",{key:"c00430c399836af38a5af6aaa137e1aa4c81ee5d",class:"row gy-3"},a("div",{key:"981183064fd9cb7f26356b4df4ec2ef92b9a786d",class:"col-12"},a("h2",{key:"0b56af4d68b1198bd8bd8e2b3dd3f1fa2712f671",class:"h5",part:d},"Shipping Details")),a("div",{key:"a46018576927e599614156f003c2f6c8f4c16f78",class:"col-12"},a("form-control-text",{key:"30dd796ebe55b8b6923a113014dc198463973e29",label:"Shipping Carrier Name",name:"shipping_carrier",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.shipping_carrier,inputHandler:this.inputHandler,errorText:this.errors.shipping_carrier})),a("div",{key:"99d3d0866a39c1317f2ab0e0a9f9a78d97740821",class:"col-12"},a("form-control-text",{key:"86099d14d243209f856b7810c5ff1077160a2ba8",label:"Tracking Number",name:"shipping_tracking_number",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.shipping_tracking_number,inputHandler:this.inputHandler,errorText:this.errors.shipping_tracking_number})),a("div",{key:"6b8ea2ce1b82befc9d4e3ba99a01a41ffaaf4b77",class:"col-12"},a("form-control-date",{key:"aa351477f4ed239ab4957950566f8ba0f3f3d801",label:"Date Shipped",name:"shipping_date",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.shipping_date,inputHandler:this.inputHandler,errorText:this.errors.shipping_date})),a("div",{key:"e0382bc7aec5a61bdaf92946b62c55288a658329",class:"col-12"},a("form-control-textarea",{key:"12ef3ad5e0d988acc001de5f24fa4f2933b4325d",label:"Shipping Address",name:"shipping_address",defaultValue:null===(c=this.disputeResponse)||void 0===c?void 0:c.shipping_address,inputHandler:this.inputHandler,errorText:this.errors.shipping_address})),a("div",{key:"a8752e33ee9ad628075815c9c6ddbb98dc56adca",class:"col-12"},a("form-control-file-v2",{key:"4366911f74af44c5950e8e4870d5b5aac3927f62",label:"Shipping Documentation",name:"shipping_documentation",onChange:e=>r(e,this.documents),errorText:null===(s=this.documentErrors)||void 0===s?void 0:s.shipping_documentation}))))}};export{f as justifi_additional_statement,h as justifi_cancellation_policy,v as justifi_customer_details,m as justifi_duplicate_charge,_ as justifi_electronic_evidence,g as justifi_product_or_service,j as justifi_refund_policy,T as justifi_shipping_details}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i}from"./p-DwYM91AU.js";import{P as e}from"./p-H_emngUs.js";import{m as r}from"./p-E8uzhk39.js";import{E as o}from"./p-CJ4viNrp.js";import{C as p,a as h}from"./p-Cjcsf8ku.js";import{c as a,J as m}from"./p-MFnmyvti.js";import"./p-yyedWKWX.js";import"./p-tGDdRx0W.js";import"./p-BYsgavgS.js";import"./p-B09GVew-.js";import"./p-HXpYMWUU.js";import"./p-CMTxbXEr.js";import"./p-BH0Xfn-F.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-D2muobcE.js";import"./p-QmGrQis7.js";import"./p-CdVle3mx.js";const n=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event"),this.recordClickEvent=s(this,"record-click-event"),this.errorMessage=null,this.paymentService=new e,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.handleRecordClickEvent=t=>{this.recordClickEvent.emit({id:t.detail.id,type:t.detail.type})}}componentWillLoad(){a(),this.analytics=new m(this),this.initializeGetPaymentDetails()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetPaymentDetails()}initializeGetPaymentDetails(){this.paymentId&&this.authToken?this.getPaymentDetails=r({id:this.paymentId,authToken:this.authToken,service:new e}):(this.errorMessage="Payment ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:h.MISSING_PROPS,severity:p.ERROR}))}render(){return this.errorMessage?o(this.errorMessage):i("payment-details-core",{getPaymentDetails:this.getPaymentDetails,"onError-event":this.handleErrorEvent,"onRecord-click-event":this.handleRecordClickEvent,"enable-record-click":"true"})}static get watchers(){return{paymentId:["propChanged"],authToken:["propChanged"]}}};export{n as justifi_payment_details}