@justifi/webcomponents 6.7.2 → 6.7.3

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 (732) hide show
  1. package/dist/cjs/{Api-QUTWjGTy.js → Api-CVbEWBG6.js} +1 -1
  2. package/dist/cjs/{Business-DWHy_-z9.js → Business-uoeKyW_a.js} +5 -0
  3. package/dist/cjs/{GooglePay-BwiJ_80p.js → GooglePay-CbKCUEfb.js} +1 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  5. package/dist/cjs/{badge-Cc87HAsf.js → badge-DkOPisAV.js} +2 -2
  6. package/dist/cjs/bank-account-document-form-inputs_8.cjs.entry.js +29 -26
  7. package/dist/cjs/bank-account-form.cjs.entry.js +7 -7
  8. package/dist/cjs/{business-additional-questions-schema-Y1mXnwUT.js → business-additional-questions-schema-BtOuMq_U.js} +5 -3
  9. package/dist/cjs/business-details-core.cjs.entry.js +7 -7
  10. package/dist/cjs/{business-form-options-e9UFw4P-.js → business-form-options-D1r-wJpo.js} +1 -1
  11. package/dist/cjs/{business-identity-schema-D_OO0Suf.js → business-identity-schema-CMvq6f8m.js} +6 -2
  12. package/dist/cjs/{business.service-q93NsTG_.js → business.service-DR4Ce5XV.js} +3 -3
  13. package/dist/cjs/{button-fUPGXjU_.js → button-C2p1BMP-.js} +2 -2
  14. package/dist/cjs/card-form.cjs.entry.js +7 -7
  15. package/dist/cjs/{check-pkg-version-BG-Rfkh5.js → check-pkg-version-Bs_9oZb4.js} +4 -4
  16. package/dist/cjs/{checkout.service-CwelwhrT.js → checkout.service-CQqd4X4y.js} +3 -3
  17. package/dist/cjs/checkouts-list-core.cjs.entry.js +14 -14
  18. package/dist/cjs/{payments-list-params-state-DfZySwaC.js → checkouts-list-params-state-vGJZ6Oe2.js} +1 -1
  19. package/dist/cjs/{checkouts-table-BBtqxG2F.js → checkouts-table-DftTbgXr.js} +3 -3
  20. package/dist/cjs/{config-state-CYoBVAca.js → config-state-BIgGhhe9.js} +1 -1
  21. package/dist/cjs/{country-config-MCOhn8o3.js → country-config-DGi9t3Ma.js} +1 -1
  22. package/dist/cjs/custom-popper_2.cjs.entry.js +6 -6
  23. package/dist/cjs/{dispute.service-q5ha39uN.js → dispute.service-aok1_zRv.js} +3 -3
  24. package/dist/cjs/form-alert_5.cjs.entry.js +11 -11
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +11 -8
  26. package/dist/cjs/form-control-date.cjs.entry.js +7 -7
  27. package/dist/cjs/{form-control-error-text-Dg_65HGK.js → form-control-error-text-BC5aRpfl.js} +2 -2
  28. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +17 -10
  29. package/dist/cjs/{form-control-help-text-tB5u1-5M.js → form-control-help-text-B2yMic8i.js} +2 -2
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +12 -8
  32. package/dist/cjs/form-control-monetary.cjs.entry.js +8 -8
  33. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +13 -11
  34. package/dist/cjs/{owner-form-core_2.cjs.entry.js → form-control-number_3.cjs.entry.js} +71 -18
  35. package/dist/cjs/form-control-radio.cjs.entry.js +9 -6
  36. package/dist/cjs/form-control-select_2.cjs.entry.js +11 -11
  37. package/dist/cjs/{get-business-D9ZHyPem.js → get-business-CtsxSYA6.js} +1 -1
  38. package/dist/cjs/{get-payment-details-DidIAK2i.js → get-payment-details-tCICJHBb.js} +3 -3
  39. package/dist/cjs/{get-subaccounts-BE_wcfM7.js → get-subaccounts-BcsCQAVN.js} +4 -4
  40. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +6 -6
  41. package/dist/cjs/{header-1-Bqejh9no.js → header-1-B-nd_U7n.js} +2 -2
  42. package/dist/cjs/{header-3-DQ649Me2.js → header-3--BEJGMFA.js} +2 -2
  43. package/dist/cjs/hidden-input_2.cjs.entry.js +10 -10
  44. package/dist/cjs/{index-mmd0OhmD.js → index-W-zoNiyM.js} +90 -21
  45. package/dist/cjs/index-p7cvUYAE.js +4450 -0
  46. package/dist/cjs/{input-handlers-D6QMwPTB.js → input-handlers-DaRKFvGI.js} +1 -1
  47. package/dist/cjs/{insurance-state-DsGnIHMM.js → insurance-state-CiVJ5e26.js} +3 -3
  48. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +23 -23
  49. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +78 -57
  50. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  51. package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +34 -34
  52. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +10 -10
  53. package/dist/cjs/justifi-business-details.cjs.entry.js +13 -13
  54. package/dist/cjs/justifi-business-form.cjs.entry.js +22 -22
  55. package/dist/cjs/justifi-checkout.cjs.entry.js +15 -15
  56. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -10
  57. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +16 -16
  58. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-details.cjs.entry.js +4 -4
  60. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +3 -3
  61. package/dist/cjs/justifi-dispute-management.cjs.entry.js +11 -11
  62. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +25 -25
  63. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11 -11
  64. package/dist/cjs/justifi-order-terminals.cjs.entry.js +17 -17
  65. package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
  66. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +23 -11
  67. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -11
  68. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +16 -16
  69. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
  70. package/dist/cjs/justifi-payments-list.cjs.entry.js +16 -16
  71. package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -12
  72. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -16
  73. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
  74. package/dist/cjs/justifi-payouts-list.cjs.entry.js +17 -17
  75. package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -16
  76. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +4 -4
  77. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +14 -14
  78. package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
  79. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -10
  80. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +14 -14
  81. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -9
  82. package/dist/cjs/justifi-terminals-list.cjs.entry.js +16 -16
  83. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +2 -2
  84. package/dist/cjs/loader.cjs.js +2 -2
  85. package/dist/cjs/{package-Df5lTFe6.js → package-DcGEg97O.js} +1 -1
  86. package/dist/cjs/pagination-menu.cjs.entry.js +2 -2
  87. package/dist/cjs/{parts-BVbaniVM.js → parts-BsBVknuf.js} +1 -0
  88. package/dist/cjs/payment-details-core.cjs.entry.js +20 -20
  89. package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
  90. package/dist/cjs/payment-provisioning-loading-B3hvtd9o.js +12 -0
  91. package/dist/cjs/{payment.service-CyHFdJ7n.js → payment.service-B4ACB8Q3.js} +3 -3
  92. package/dist/cjs/payments-list-core.cjs.entry.js +15 -15
  93. package/dist/cjs/{payouts-list-params-state-DfZySwaC.js → payments-list-params-state-vGJZ6Oe2.js} +1 -1
  94. package/dist/cjs/{payments-status-BP4u31jU.js → payments-status-BAR25wA6.js} +2 -2
  95. package/dist/cjs/{payments-table-CWXVhECV.js → payments-table-BLJ54fGU.js} +3 -3
  96. package/dist/cjs/payout-details-core.cjs.entry.js +13 -13
  97. package/dist/cjs/{payout.service-Half-hdB.js → payout.service-qVbNnemO.js} +3 -3
  98. package/dist/cjs/payouts-list-core.cjs.entry.js +15 -15
  99. package/dist/cjs/{checkouts-list-params-state-DfZySwaC.js → payouts-list-params-state-vGJZ6Oe2.js} +1 -1
  100. package/dist/cjs/{payouts-status-CM5Zy-0J.js → payouts-status-uZAaS1RP.js} +2 -2
  101. package/dist/cjs/{payouts-table-ZLTcfkUm.js → payouts-table-C4jZJ8rq.js} +3 -3
  102. package/dist/cjs/{schema-validations-Bf2mk2xU.js → schema-validations-DYYDrVol.js} +19 -3
  103. package/dist/cjs/{skeleton-B8dzxFFr.js → skeleton-BGGMhPJj.js} +2 -2
  104. package/dist/cjs/{spinner-jHyLNCGO.js → spinner-CV2CNXOQ.js} +2 -2
  105. package/dist/cjs/{styled-host-D5g7INLE.js → styled-host-DAi5SuFa.js} +1 -1
  106. package/dist/cjs/{table-CrtpRwGN.js → table-eTN_pRIP.js} +3 -3
  107. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
  108. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +14 -14
  109. package/dist/cjs/{terminal-orders-list-params-state-DfZySwaC.js → terminal-orders-list-params-state-vGJZ6Oe2.js} +1 -1
  110. package/dist/cjs/{terminal-orders-table-DT53anT3.js → terminal-orders-table-C2jG4WQa.js} +6 -6
  111. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +4 -4
  112. package/dist/cjs/{terminal.service-CFt55QNO.js → terminal.service-D1ohedi-.js} +3 -3
  113. package/dist/cjs/terminals-list-core.cjs.entry.js +14 -14
  114. package/dist/cjs/terminals-list-params-state-vGJZ6Oe2.js +22 -0
  115. package/dist/cjs/{terminals-table-DahpSz98.js → terminals-table-DZz8k4tP.js} +3 -3
  116. package/dist/cjs/{utils-CMiA4X7s.js → utils-T6hRmGuY.js} +2 -2
  117. package/dist/cjs/webcomponents.cjs.js +30 -3
  118. package/dist/collection/api/Business.js +2 -0
  119. package/dist/collection/api/Identity.js +3 -0
  120. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  121. package/dist/collection/components/business-details/business-details-core.js +2 -2
  122. package/dist/collection/components/business-details/business-details.js +2 -2
  123. package/dist/collection/components/business-details/core-info-details/core-info-details.js +1 -1
  124. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
  125. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  126. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  127. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  128. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -4
  129. package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
  130. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +4 -4
  131. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +3 -3
  132. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +5 -5
  133. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +6 -6
  134. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -7
  135. package/dist/collection/components/business-forms/owner-form/owner-form.js +4 -4
  136. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +4 -4
  137. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +4 -4
  138. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +5 -5
  139. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +5 -5
  140. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +2 -2
  141. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +3 -3
  142. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +3 -3
  143. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +35 -7
  144. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +6 -6
  145. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +2 -2
  146. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +4 -4
  147. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +19 -11
  148. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +2 -2
  149. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +20 -8
  150. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +7 -7
  151. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -6
  152. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -3
  153. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +3 -3
  154. package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +2 -0
  155. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +5 -1
  156. package/dist/collection/components/business-forms/schemas/schema-validations.js +15 -0
  157. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  158. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  159. package/dist/collection/components/checkout/checkout.js +23 -4
  160. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  161. package/dist/collection/components/checkout/saved-payment-method.js +3 -3
  162. package/dist/collection/components/checkouts-list/checkouts-list-core.js +4 -4
  163. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  164. package/dist/collection/components/checkouts-list/checkouts-list.js +3 -3
  165. package/dist/collection/components/dispute-management/dispute-management-core.js +4 -4
  166. package/dist/collection/components/dispute-management/dispute-management.js +3 -3
  167. package/dist/collection/components/dispute-management/dispute-notification.js +5 -5
  168. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +2 -2
  169. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +2 -2
  170. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +2 -2
  171. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  172. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -4
  173. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +2 -2
  174. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +2 -2
  175. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +2 -2
  176. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +2 -2
  177. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +2 -2
  178. package/dist/collection/components/filters/table-filters-menu.js +3 -3
  179. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  180. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -2
  181. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +7 -7
  182. package/dist/collection/components/modular-checkout/modular-checkout.js +3 -3
  183. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +3 -0
  184. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  185. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  186. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  187. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  188. package/dist/collection/components/modular-checkout/sub-components/google-pay.js +2 -2
  189. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +6 -6
  190. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  191. package/dist/collection/components/order-terminals/order-terminals.js +4 -4
  192. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +5 -5
  193. package/dist/collection/components/payment-details/payment-details-core.js +9 -9
  194. package/dist/collection/components/payment-details/payment-details.js +2 -2
  195. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +3 -3
  196. package/dist/collection/components/payments-list/payments-list-core.js +3 -3
  197. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  198. package/dist/collection/components/payments-list/payments-list.js +3 -3
  199. package/dist/collection/components/payout-details/payout-details-core.js +5 -5
  200. package/dist/collection/components/payout-details/payout-details.js +2 -2
  201. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +3 -3
  202. package/dist/collection/components/payouts-list/payouts-list-core.js +5 -5
  203. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  204. package/dist/collection/components/payouts-list/payouts-list.js +3 -3
  205. package/dist/collection/components/refund-payment/refund-payment.js +3 -3
  206. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +3 -3
  207. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  208. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +3 -3
  209. package/dist/collection/components/terminals-list/terminals-list-core.js +4 -4
  210. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  211. package/dist/collection/components/terminals-list/terminals-list.js +3 -3
  212. package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +1 -1
  213. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  214. package/dist/collection/ui-components/custom-popper/custom-popper.js +3 -3
  215. package/dist/collection/ui-components/details/details.js +2 -2
  216. package/dist/collection/ui-components/form/form-control-checkbox.js +16 -10
  217. package/dist/collection/ui-components/form/form-control-date.js +5 -5
  218. package/dist/collection/ui-components/form/form-control-file-v2.js +16 -8
  219. package/dist/collection/ui-components/form/form-control-file.js +16 -10
  220. package/dist/collection/ui-components/form/form-control-monetary.js +5 -5
  221. package/dist/collection/ui-components/form/form-control-number-masked.js +14 -10
  222. package/dist/collection/ui-components/form/form-control-number.js +10 -8
  223. package/dist/collection/ui-components/form/form-control-radio.js +18 -12
  224. package/dist/collection/ui-components/form/form-control-select.js +6 -6
  225. package/dist/collection/ui-components/form/form-control-text.js +5 -5
  226. package/dist/collection/ui-components/form/form-control-textarea.js +19 -11
  227. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +2 -2
  228. package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +2 -2
  229. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +1 -1
  230. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  231. package/dist/collection/ui-components/form/iframe-input.js +6 -6
  232. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  233. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +2 -2
  234. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  235. package/dist/docs.json +577 -277
  236. package/dist/esm/{Api-Dln8a6No.js → Api-ohkSjyhl.js} +1 -1
  237. package/dist/esm/{Business-B5rtFhtR.js → Business-CHJTjG_5.js} +5 -0
  238. package/dist/esm/{GooglePay-NNHE-OLJ.js → GooglePay-5EiPffHy.js} +1 -1
  239. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  240. package/dist/esm/{badge-DtrH25ss.js → badge-BW9VFFkp.js} +2 -2
  241. package/dist/esm/bank-account-document-form-inputs_8.entry.js +29 -26
  242. package/dist/esm/bank-account-form.entry.js +7 -7
  243. package/dist/esm/{business-additional-questions-schema-woG5-pgK.js → business-additional-questions-schema-DQb10ehS.js} +5 -3
  244. package/dist/esm/business-details-core.entry.js +7 -7
  245. package/dist/esm/{business-form-options-D6s5H4RI.js → business-form-options-Bm89rMmk.js} +1 -1
  246. package/dist/esm/{business-identity-schema-B7VTDF4j.js → business-identity-schema-CaMnpPqx.js} +7 -3
  247. package/dist/esm/{business.service-BrUSam2T.js → business.service-C7smiL6_.js} +3 -3
  248. package/dist/esm/{button-Bpf3VX8Q.js → button-DMeChykB.js} +2 -2
  249. package/dist/esm/card-form.entry.js +7 -7
  250. package/dist/esm/{check-pkg-version-c_8fDHCB.js → check-pkg-version-DIZ2yD72.js} +4 -4
  251. package/dist/esm/{checkout.service-Bxt1qPaY.js → checkout.service-CYq6KXZv.js} +3 -3
  252. package/dist/esm/checkouts-list-core.entry.js +14 -14
  253. package/dist/esm/{checkouts-list-params-state-gllzDQAb.js → checkouts-list-params-state-CiGfmyWW.js} +1 -1
  254. package/dist/esm/{checkouts-table-CB4GdlcZ.js → checkouts-table-B9YTe5fJ.js} +3 -3
  255. package/dist/esm/{config-state-C2NXATwF.js → config-state-kKn89dp1.js} +1 -1
  256. package/dist/esm/{country-config-BQ4D46Lb.js → country-config-CQxaTFuP.js} +1 -1
  257. package/dist/esm/custom-popper_2.entry.js +6 -6
  258. package/dist/esm/{dispute.service-DYRYxxaT.js → dispute.service-D7Dv8LTn.js} +3 -3
  259. package/dist/esm/form-alert_5.entry.js +11 -11
  260. package/dist/esm/form-control-checkbox.entry.js +11 -8
  261. package/dist/esm/form-control-date.entry.js +7 -7
  262. package/dist/esm/{form-control-error-text-BZYykCDp.js → form-control-error-text-CTQxgr7_.js} +2 -2
  263. package/dist/esm/form-control-file-v2_2.entry.js +17 -10
  264. package/dist/esm/{form-control-help-text-D-p66Yxr.js → form-control-help-text-B-aaeX6n.js} +2 -2
  265. package/dist/esm/form-control-help-text.entry.js +1 -1
  266. package/dist/esm/form-control-monetary-provisioning.entry.js +12 -8
  267. package/dist/esm/form-control-monetary.entry.js +8 -8
  268. package/dist/esm/form-control-number-masked_3.entry.js +13 -11
  269. package/dist/esm/{owner-form-core_2.entry.js → form-control-number_3.entry.js} +71 -19
  270. package/dist/esm/form-control-radio.entry.js +9 -6
  271. package/dist/esm/form-control-select_2.entry.js +11 -11
  272. package/dist/esm/{get-business-Xt7B5dSo.js → get-business-BAmwId14.js} +1 -1
  273. package/dist/esm/{get-payment-details-BJ1PLhJZ.js → get-payment-details-CPJZp31y.js} +3 -3
  274. package/dist/esm/{get-subaccounts-CzGHjlUF.js → get-subaccounts-CqMFocN0.js} +4 -4
  275. package/dist/esm/gross-payment-chart-core.entry.js +6 -6
  276. package/dist/esm/{header-1-WwkF5F9y.js → header-1-DFMANSXo.js} +2 -2
  277. package/dist/esm/{header-3-C5jS39cE.js → header-3-Ck64YtdM.js} +2 -2
  278. package/dist/esm/hidden-input_2.entry.js +10 -10
  279. package/dist/esm/index-CV0Pyo1O.js +4434 -0
  280. package/dist/esm/{index-B-fWxE5e.js → index-cDVGjRkU.js} +90 -21
  281. package/dist/esm/{input-handlers-D3y0TzH9.js → input-handlers-AgwQ-yKX.js} +1 -1
  282. package/dist/esm/{insurance-state-C11WKZU6.js → insurance-state-DQ3xzFpR.js} +3 -3
  283. package/dist/esm/internal-tokenize-payment-method_7.entry.js +23 -23
  284. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +72 -51
  285. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  286. package/dist/esm/justifi-apple-pay_8.entry.js +34 -34
  287. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +10 -10
  288. package/dist/esm/justifi-business-details.entry.js +13 -13
  289. package/dist/esm/justifi-business-form.entry.js +22 -22
  290. package/dist/esm/justifi-checkout.entry.js +15 -15
  291. package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -10
  292. package/dist/esm/justifi-checkouts-list.entry.js +16 -16
  293. package/dist/esm/justifi-config-provider.entry.js +3 -3
  294. package/dist/esm/justifi-details.entry.js +4 -4
  295. package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
  296. package/dist/esm/justifi-dispute-management.entry.js +11 -11
  297. package/dist/esm/justifi-dispute-notification_3.entry.js +25 -25
  298. package/dist/esm/justifi-gross-payment-chart.entry.js +11 -11
  299. package/dist/esm/justifi-order-terminals.entry.js +17 -17
  300. package/dist/esm/justifi-payment-details.entry.js +14 -14
  301. package/dist/esm/justifi-payment-provisioning-core.entry.js +23 -11
  302. package/dist/esm/justifi-payment-provisioning.entry.js +11 -11
  303. package/dist/esm/justifi-payment-transactions-list.entry.js +16 -16
  304. package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
  305. package/dist/esm/justifi-payments-list.entry.js +16 -16
  306. package/dist/esm/justifi-payout-details.entry.js +12 -12
  307. package/dist/esm/justifi-payout-transactions-list.entry.js +16 -16
  308. package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
  309. package/dist/esm/justifi-payouts-list.entry.js +17 -17
  310. package/dist/esm/justifi-refund-payment.entry.js +16 -16
  311. package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
  312. package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -14
  313. package/dist/esm/justifi-skeleton.entry.js +5 -5
  314. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +10 -10
  315. package/dist/esm/justifi-terminal-orders-list.entry.js +14 -14
  316. package/dist/esm/justifi-terminals-list-filters.entry.js +9 -9
  317. package/dist/esm/justifi-terminals-list.entry.js +16 -16
  318. package/dist/esm/justifi-tokenize-payment-method.entry.js +2 -2
  319. package/dist/esm/loader.js +3 -3
  320. package/dist/esm/{package-BzT9OxlN.js → package-ZkBwsSuI.js} +1 -1
  321. package/dist/esm/pagination-menu.entry.js +2 -2
  322. package/dist/esm/{parts-sA8HBfkI.js → parts-DrquDBSk.js} +1 -1
  323. package/dist/esm/payment-details-core.entry.js +20 -20
  324. package/dist/esm/payment-method-option.entry.js +4 -4
  325. package/dist/esm/payment-provisioning-loading-DU0pNyqx.js +10 -0
  326. package/dist/esm/{payment.service-BoGemgMw.js → payment.service-BGf8F56_.js} +3 -3
  327. package/dist/esm/payments-list-core.entry.js +15 -15
  328. package/dist/esm/{payments-list-params-state-gllzDQAb.js → payments-list-params-state-CiGfmyWW.js} +1 -1
  329. package/dist/esm/{payments-status-CADg1cD0.js → payments-status-Bn-MvMcF.js} +2 -2
  330. package/dist/esm/{payments-table-C6zHWwGO.js → payments-table-CF3_zGnh.js} +3 -3
  331. package/dist/esm/payout-details-core.entry.js +13 -13
  332. package/dist/esm/{payout.service-BSG50wqN.js → payout.service-Co3xg-7j.js} +3 -3
  333. package/dist/esm/payouts-list-core.entry.js +15 -15
  334. package/dist/esm/{payouts-list-params-state-gllzDQAb.js → payouts-list-params-state-CiGfmyWW.js} +1 -1
  335. package/dist/esm/{payouts-status-4VDQvaYV.js → payouts-status-ehZrz-Xx.js} +2 -2
  336. package/dist/esm/{payouts-table-BU5XbzB9.js → payouts-table-CGZJfsje.js} +3 -3
  337. package/dist/esm/{schema-validations-iamDi5JD.js → schema-validations-jBrJ0mYI.js} +19 -4
  338. package/dist/esm/{skeleton-Dtt56Fl3.js → skeleton-D9UXuoik.js} +2 -2
  339. package/dist/esm/{spinner-DikooWuI.js → spinner-ACMfJh3a.js} +2 -2
  340. package/dist/esm/{styled-host-DhOcKWqZ.js → styled-host-D6byRazK.js} +1 -1
  341. package/dist/esm/{table-1hqe6s5m.js → table-BbMG2jg9.js} +3 -3
  342. package/dist/esm/table-filters-menu.entry.js +4 -4
  343. package/dist/esm/terminal-orders-list-core.entry.js +14 -14
  344. package/dist/esm/{terminal-orders-list-params-state-gllzDQAb.js → terminal-orders-list-params-state-CiGfmyWW.js} +1 -1
  345. package/dist/esm/{terminal-orders-table-BsVBelxB.js → terminal-orders-table-uNYLd8i5.js} +6 -6
  346. package/dist/esm/terminal-quantity-selector.entry.js +4 -4
  347. package/dist/esm/{terminal.service-YKfi6Mr9.js → terminal.service-Cxs-IO0Z.js} +3 -3
  348. package/dist/esm/terminals-list-core.entry.js +14 -14
  349. package/dist/esm/terminals-list-params-state-CiGfmyWW.js +16 -0
  350. package/dist/esm/{terminals-table-CXJTn-0I.js → terminals-table-B-7FR4ug.js} +3 -3
  351. package/dist/esm/{utils-CgFsPVsv.js → utils-DhCv62Pi.js} +2 -2
  352. package/dist/esm/webcomponents.js +31 -4
  353. package/dist/module/Business.js +5 -0
  354. package/dist/module/additional-questions.js +1 -1
  355. package/dist/module/additional-statement.js +2 -2
  356. package/dist/module/bank-account-billing-form-simple.js +1 -1
  357. package/dist/module/bank-account-document-inputs.js +1 -1
  358. package/dist/module/bank-account-form-inputs-canada2.js +1 -1
  359. package/dist/module/bank-account-form-inputs2.js +1 -1
  360. package/dist/module/bank-account-form.js +2 -2
  361. package/dist/module/bank-account-read-only-value2.js +1 -1
  362. package/dist/module/bank-account.js +2 -2
  363. package/dist/module/business-additional-questions-form-step.js +2 -2
  364. package/dist/module/business-additional-questions-schema.js +3 -1
  365. package/dist/module/business-address-schema.js +1 -1
  366. package/dist/module/business-bank-account-form-step.js +1 -1
  367. package/dist/module/business-core-info.js +2 -2
  368. package/dist/module/business-details-core2.js +1 -1
  369. package/dist/module/business-identity-schema.js +5 -1
  370. package/dist/module/business-owners-form-step.js +41 -7
  371. package/dist/module/business-representative-form-inputs.js +2 -2
  372. package/dist/module/business-representative.js +2 -2
  373. package/dist/module/business-terms-conditions-form-step.js +1 -1
  374. package/dist/module/button.js +1 -1
  375. package/dist/module/cancellation-policy.js +2 -2
  376. package/dist/module/card-billing-form-simple.js +1 -1
  377. package/dist/module/card-form.js +2 -2
  378. package/dist/module/card-form2.js +2 -2
  379. package/dist/module/checkouts-list-core2.js +2 -2
  380. package/dist/module/custom-popper2.js +2 -2
  381. package/dist/module/customer-details.js +2 -2
  382. package/dist/module/details.js +1 -1
  383. package/dist/module/dispute-management-core.js +1 -1
  384. package/dist/module/dispute-notification.js +3 -3
  385. package/dist/module/dispute-response-core.js +2 -2
  386. package/dist/module/dispute-response.js +1 -1
  387. package/dist/module/duplicate-charge.js +2 -2
  388. package/dist/module/electronic-evidence.js +2 -2
  389. package/dist/module/form-address-fields.js +1 -1
  390. package/dist/module/form-control-checkbox2.js +5 -2
  391. package/dist/module/form-control-date2.js +2 -2
  392. package/dist/module/form-control-file-v22.js +4 -1
  393. package/dist/module/form-control-file2.js +5 -2
  394. package/dist/module/form-control-monetary-provisioning2.js +6 -2
  395. package/dist/module/form-control-monetary2.js +2 -2
  396. package/dist/module/form-control-number-masked2.js +4 -2
  397. package/dist/module/form-control-number.js +1 -84
  398. package/dist/module/form-control-number2.js +87 -0
  399. package/dist/module/form-control-radio2.js +5 -2
  400. package/dist/module/form-control-select2.js +2 -2
  401. package/dist/module/form-control-text2.js +2 -2
  402. package/dist/module/form-control-textarea2.js +6 -2
  403. package/dist/module/google-pay.js +2 -2
  404. package/dist/module/gross-payment-chart-core2.js +1 -1
  405. package/dist/module/hidden-input2.js +1 -1
  406. package/dist/module/identity-address-form.js +1 -1
  407. package/dist/module/iframe-input2.js +3 -3
  408. package/dist/module/index2.js +90 -21
  409. package/dist/module/internal-tokenize-payment-method2.js +1 -1
  410. package/dist/module/justifi-button2.js +1 -1
  411. package/dist/module/justifi-checkout.js +3 -3
  412. package/dist/module/justifi-checkouts-list-filters.js +3 -3
  413. package/dist/module/justifi-checkouts-list.js +1 -1
  414. package/dist/module/justifi-dispute-management.js +1 -1
  415. package/dist/module/justifi-header2.js +1 -1
  416. package/dist/module/justifi-order-terminals.js +2 -2
  417. package/dist/module/justifi-payment-provisioning.js +27 -21
  418. package/dist/module/justifi-payment-transactions-list.js +2 -2
  419. package/dist/module/justifi-payments-list-filters.js +3 -3
  420. package/dist/module/justifi-payments-list.js +1 -1
  421. package/dist/module/justifi-payout-transactions-list.js +2 -2
  422. package/dist/module/justifi-payouts-list-filters.js +3 -3
  423. package/dist/module/justifi-payouts-list.js +1 -1
  424. package/dist/module/justifi-saved-payment-method.js +1 -1
  425. package/dist/module/justifi-skeleton.js +1 -1
  426. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  427. package/dist/module/justifi-terminal-orders-list.js +1 -1
  428. package/dist/module/justifi-terminals-list-filters.js +2 -2
  429. package/dist/module/justifi-terminals-list.js +1 -1
  430. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  431. package/dist/module/legal-address-form.js +1 -1
  432. package/dist/module/modular-checkout.js +1 -1
  433. package/dist/module/owner-form-core2.js +11 -5
  434. package/dist/module/owner-form-inputs2.js +13 -7
  435. package/dist/module/owner-form.js +11 -5
  436. package/dist/module/package.js +1 -1
  437. package/dist/module/parts.js +1 -1
  438. package/dist/module/payment-details-core2.js +8 -8
  439. package/dist/module/payment-method-option.js +1 -1
  440. package/dist/module/payment-provisioning-core.js +41 -23
  441. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  442. package/dist/module/payment-provisioning-form-steps.js +27 -21
  443. package/dist/module/payments-list-core2.js +2 -2
  444. package/dist/module/payout-details-core2.js +3 -3
  445. package/dist/module/payouts-list-core2.js +2 -2
  446. package/dist/module/product-or-service.js +2 -2
  447. package/dist/module/refund-policy.js +2 -2
  448. package/dist/module/save-new-payment-method.js +1 -1
  449. package/dist/module/schema-validations.js +16 -1
  450. package/dist/module/shipping-details.js +2 -2
  451. package/dist/module/summary.js +1 -1
  452. package/dist/module/table-filters-menu2.js +2 -2
  453. package/dist/module/table.js +1 -1
  454. package/dist/module/terminal-orders-list-core2.js +2 -2
  455. package/dist/module/terminal-quantity-selector2.js +2 -2
  456. package/dist/module/terminals-list-core2.js +2 -2
  457. package/dist/types/api/Business.d.ts +4 -0
  458. package/dist/types/api/Identity.d.ts +4 -0
  459. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
  460. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +1 -0
  461. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +4 -0
  462. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +3 -3
  463. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -0
  464. package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +2 -0
  465. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +12 -0
  466. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +10 -0
  467. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -0
  468. package/dist/types/components/checkout/checkout.d.ts +19 -0
  469. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +3 -0
  470. package/dist/types/components.d.ts +378 -240
  471. package/dist/types/ui-components/form/form-control-checkbox.d.ts +2 -2
  472. package/dist/types/ui-components/form/form-control-file-v2.d.ts +2 -2
  473. package/dist/types/ui-components/form/form-control-file.d.ts +2 -2
  474. package/dist/types/ui-components/form/form-control-number-masked.d.ts +2 -2
  475. package/dist/types/ui-components/form/form-control-number.d.ts +1 -1
  476. package/dist/types/ui-components/form/form-control-radio.d.ts +3 -3
  477. package/dist/types/ui-components/form/form-control-textarea.d.ts +2 -2
  478. package/dist/webcomponents/p-001ce9f8.entry.js +1 -0
  479. package/dist/webcomponents/{p-36a0af30.entry.js → p-0467df5d.entry.js} +1 -1
  480. package/dist/webcomponents/p-0f6fa1c0.entry.js +1 -0
  481. package/dist/webcomponents/p-0fb3fd77.entry.js +1 -0
  482. package/dist/webcomponents/{p-d0c4b0ea.entry.js → p-172b0c96.entry.js} +1 -1
  483. package/dist/webcomponents/p-198d2941.entry.js +1 -0
  484. package/dist/webcomponents/p-1dbf3473.entry.js +1 -0
  485. package/dist/webcomponents/p-1eefdd41.entry.js +1 -0
  486. package/dist/webcomponents/p-252bd81d.entry.js +1 -0
  487. package/dist/webcomponents/p-265a7cb3.entry.js +1 -0
  488. package/dist/webcomponents/p-2e7143b8.entry.js +1 -0
  489. package/dist/webcomponents/p-32fac30b.entry.js +1 -0
  490. package/dist/webcomponents/p-393c9065.entry.js +1 -0
  491. package/dist/webcomponents/p-3d2495df.entry.js +1 -0
  492. package/dist/webcomponents/p-4165281d.entry.js +1 -0
  493. package/dist/webcomponents/p-4786d1ea.entry.js +1 -0
  494. package/dist/webcomponents/p-493e73a9.entry.js +1 -0
  495. package/dist/webcomponents/p-4d7a2565.entry.js +1 -0
  496. package/dist/webcomponents/p-50cc771a.entry.js +1 -0
  497. package/dist/webcomponents/p-50f16cca.entry.js +1 -0
  498. package/dist/webcomponents/p-52203b01.entry.js +1 -0
  499. package/dist/webcomponents/p-53be30e9.entry.js +1 -0
  500. package/dist/webcomponents/p-55e63bdd.entry.js +1 -0
  501. package/dist/webcomponents/p-5af4bb01.entry.js +1 -0
  502. package/dist/webcomponents/p-639e5ce9.entry.js +1 -0
  503. package/dist/webcomponents/p-65f4681c.entry.js +1 -0
  504. package/dist/webcomponents/p-66e8b443.entry.js +1 -0
  505. package/dist/webcomponents/p-6ed0be7f.entry.js +1 -0
  506. package/dist/webcomponents/p-7184c2f8.entry.js +1 -0
  507. package/dist/webcomponents/p-73b9cc29.entry.js +1 -0
  508. package/dist/webcomponents/p-782ccafb.entry.js +1 -0
  509. package/dist/webcomponents/p-79d1d6b3.entry.js +1 -0
  510. package/dist/webcomponents/{p-897b794b.entry.js → p-7b4e9ae8.entry.js} +2 -2
  511. package/dist/webcomponents/p-7c4fa66f.entry.js +1 -0
  512. package/dist/webcomponents/p-7ec771bc.entry.js +1 -0
  513. package/dist/webcomponents/{p-1a327b0e.entry.js → p-7fdfc2c8.entry.js} +1 -1
  514. package/dist/webcomponents/p-86db9040.entry.js +1 -0
  515. package/dist/webcomponents/{p-725319f3.entry.js → p-931ea171.entry.js} +1 -1
  516. package/dist/webcomponents/{p-20af8597.entry.js → p-99065f37.entry.js} +1 -1
  517. package/dist/webcomponents/p-9ce5fcb6.entry.js +1 -0
  518. package/dist/webcomponents/p-9d844936.entry.js +1 -0
  519. package/dist/webcomponents/p-AMVhBsGv.js +1 -0
  520. package/dist/webcomponents/{p-B4xdk4mG.js → p-APob2Eta.js} +1 -1
  521. package/dist/webcomponents/p-B8CPGGs6.js +1 -0
  522. package/dist/webcomponents/{p-CPpUGsw5.js → p-BAu40WfT.js} +1 -1
  523. package/dist/webcomponents/p-BPTtWj7E.js +1 -0
  524. package/dist/webcomponents/{p-Dit3fZpU.js → p-BXdZKjdB.js} +1 -1
  525. package/dist/webcomponents/p-BZ4YUsyP.js +1 -0
  526. package/dist/webcomponents/{p-CV8xqdt6.js → p-Bhk8tHxs.js} +1 -1
  527. package/dist/webcomponents/p-BhvkOTYA.js +1 -0
  528. package/dist/webcomponents/p-BqL4QuAa.js +1 -0
  529. package/dist/webcomponents/{p-BP2sTIQV.js → p-BqNNwq6C.js} +1 -1
  530. package/dist/webcomponents/p-Bz97Ujvk.js +1 -0
  531. package/dist/webcomponents/{p-C77ElQ41.js → p-C-LV3hNf.js} +1 -1
  532. package/dist/webcomponents/p-C3E-JbVM.js +1 -0
  533. package/dist/webcomponents/{p-BMJe4lzg.js → p-CAZzU98o.js} +1 -1
  534. package/dist/webcomponents/p-CGKWIBVk.js +1 -0
  535. package/dist/webcomponents/p-CHJTjG_5.js +1 -0
  536. package/dist/webcomponents/{p-DUmUUj9r.js → p-COcg4_A3.js} +1 -1
  537. package/dist/webcomponents/{p-C2Senazf.js → p-CQ36pja3.js} +1 -1
  538. package/dist/webcomponents/p-CV0Pyo1O.js +2 -0
  539. package/dist/webcomponents/{p-DfKxeSrC.js → p-Ce785aMx.js} +1 -1
  540. package/dist/webcomponents/p-CpGEMRkH.js +1 -0
  541. package/dist/webcomponents/{p-CBbwdoSa.js → p-CruQSM5j.js} +1 -1
  542. package/dist/webcomponents/p-D0PhRMmy.js +1 -0
  543. package/dist/webcomponents/p-D4EBPNuU.js +1 -0
  544. package/dist/webcomponents/{p-sCHf--Vc.js → p-D81X4BBI.js} +1 -1
  545. package/dist/webcomponents/p-D8GTwl9v.js +1 -0
  546. package/dist/webcomponents/{p-Dlrq1iZf.js → p-DBOsYeYk.js} +1 -1
  547. package/dist/webcomponents/p-DDjKoqh6.js +1 -0
  548. package/dist/webcomponents/{p-11wdbrqX.js → p-DLLFAj4z.js} +1 -1
  549. package/dist/webcomponents/p-DOnVHzNq.js +1 -0
  550. package/dist/webcomponents/{p-tGDdRx0W.js → p-DVJaoI_m.js} +1 -1
  551. package/dist/webcomponents/p-DaZF_q9T.js +1 -0
  552. package/dist/webcomponents/p-Dm07nLGs.js +1 -0
  553. package/dist/webcomponents/{p-BrRsgB8S.js → p-DpkIbI5R.js} +1 -1
  554. package/dist/webcomponents/p-DrquDBSk.js +1 -0
  555. package/dist/webcomponents/p-Dw63wyhO.js +1 -0
  556. package/dist/webcomponents/{p-D6bKoyRc.js → p-JO-3z7ao.js} +1 -1
  557. package/dist/webcomponents/{p-CCxsFwC4.js → p-MBH9QO2m.js} +1 -1
  558. package/dist/webcomponents/p-NO0z-S2W.js +1 -0
  559. package/dist/webcomponents/{p-W9WWoLzT.js → p-YYXsr-bI.js} +1 -1
  560. package/dist/webcomponents/p-ZkBwsSuI.js +1 -0
  561. package/dist/webcomponents/p-_LSWCi-4.js +1 -0
  562. package/dist/webcomponents/p-a20bddd2.entry.js +1 -0
  563. package/dist/webcomponents/p-a3510078.entry.js +1 -0
  564. package/dist/webcomponents/p-a4834220.entry.js +1 -0
  565. package/dist/webcomponents/p-a9b493c1.entry.js +1 -0
  566. package/dist/webcomponents/p-a9ecaf0f.entry.js +1 -0
  567. package/dist/webcomponents/p-b2371f43.entry.js +1 -0
  568. package/dist/webcomponents/p-bc56446a.entry.js +1 -0
  569. package/dist/webcomponents/p-c11512e7.entry.js +1 -0
  570. package/dist/webcomponents/p-c5afb831.entry.js +1 -0
  571. package/dist/webcomponents/{p-f37f3e94.entry.js → p-c7c79332.entry.js} +1 -1
  572. package/dist/webcomponents/p-c90f7ed6.entry.js +1 -0
  573. package/dist/webcomponents/p-ca8d78af.entry.js +1 -0
  574. package/dist/webcomponents/p-d0d6d1cc.entry.js +1 -0
  575. package/dist/webcomponents/p-d55c348b.entry.js +1 -0
  576. package/dist/webcomponents/p-d7fa8461.entry.js +1 -0
  577. package/dist/webcomponents/p-dff12534.entry.js +1 -0
  578. package/dist/webcomponents/p-e11c7df0.entry.js +1 -0
  579. package/dist/webcomponents/p-e1a8785d.entry.js +1 -0
  580. package/dist/webcomponents/p-e54cdb00.entry.js +1 -0
  581. package/dist/webcomponents/p-e5651bb1.entry.js +1 -0
  582. package/dist/webcomponents/p-e926be0d.entry.js +1 -0
  583. package/dist/webcomponents/p-e9daf75f.entry.js +1 -0
  584. package/dist/webcomponents/p-ea0cd47d.entry.js +1 -0
  585. package/dist/webcomponents/p-f13c4a88.entry.js +1 -0
  586. package/dist/webcomponents/p-f5f46f2d.entry.js +1 -0
  587. package/dist/webcomponents/p-mhEMV8M-.js +1 -0
  588. package/dist/webcomponents/p-sPEyLX4E.js +1 -0
  589. package/dist/webcomponents/p-wqq-X93m.js +1 -0
  590. package/dist/webcomponents/{p-DGGjRqDa.js → p-y-FoILTI.js} +1 -1
  591. package/dist/webcomponents/{p-yyedWKWX.js → p-y8av3w9x.js} +1 -1
  592. package/dist/webcomponents/p-ztF3Y786.js +1 -0
  593. package/dist/webcomponents/webcomponents.esm.js +1 -1
  594. package/package.json +8 -12
  595. package/dist/cjs/form-control-number.cjs.entry.js +0 -58
  596. package/dist/cjs/index-BhI7cJcE.js +0 -1891
  597. package/dist/cjs/terminals-list-params-state-DfZySwaC.js +0 -22
  598. package/dist/esm/form-control-number.entry.js +0 -56
  599. package/dist/esm/index-DwYM91AU.js +0 -1879
  600. package/dist/esm/terminals-list-params-state-gllzDQAb.js +0 -16
  601. package/dist/webcomponents/p-016b3e4c.entry.js +0 -1
  602. package/dist/webcomponents/p-035a4adc.entry.js +0 -1
  603. package/dist/webcomponents/p-06cae9e2.entry.js +0 -1
  604. package/dist/webcomponents/p-06f81525.entry.js +0 -1
  605. package/dist/webcomponents/p-0935600b.entry.js +0 -1
  606. package/dist/webcomponents/p-0ab9a3ae.entry.js +0 -1
  607. package/dist/webcomponents/p-0b7c4ed5.entry.js +0 -1
  608. package/dist/webcomponents/p-0bb616fc.entry.js +0 -1
  609. package/dist/webcomponents/p-138ada4a.entry.js +0 -1
  610. package/dist/webcomponents/p-148d3327.entry.js +0 -1
  611. package/dist/webcomponents/p-1575ca68.entry.js +0 -1
  612. package/dist/webcomponents/p-1e761d96.entry.js +0 -1
  613. package/dist/webcomponents/p-20e85114.entry.js +0 -1
  614. package/dist/webcomponents/p-2cb9edad.entry.js +0 -1
  615. package/dist/webcomponents/p-2d4a2d26.entry.js +0 -1
  616. package/dist/webcomponents/p-368b37ad.entry.js +0 -1
  617. package/dist/webcomponents/p-3a3935a3.entry.js +0 -1
  618. package/dist/webcomponents/p-3f14d0c4.entry.js +0 -1
  619. package/dist/webcomponents/p-4d2589b2.entry.js +0 -1
  620. package/dist/webcomponents/p-511e80a4.entry.js +0 -1
  621. package/dist/webcomponents/p-5996879d.entry.js +0 -1
  622. package/dist/webcomponents/p-5a748e49.entry.js +0 -1
  623. package/dist/webcomponents/p-5c6727ae.entry.js +0 -1
  624. package/dist/webcomponents/p-622af881.entry.js +0 -1
  625. package/dist/webcomponents/p-6454626a.entry.js +0 -1
  626. package/dist/webcomponents/p-64ebff16.entry.js +0 -1
  627. package/dist/webcomponents/p-66713269.entry.js +0 -1
  628. package/dist/webcomponents/p-679b36b5.entry.js +0 -1
  629. package/dist/webcomponents/p-71577fa1.entry.js +0 -1
  630. package/dist/webcomponents/p-77754a65.entry.js +0 -1
  631. package/dist/webcomponents/p-7ec4838f.entry.js +0 -1
  632. package/dist/webcomponents/p-88a8741b.entry.js +0 -1
  633. package/dist/webcomponents/p-899b981b.entry.js +0 -1
  634. package/dist/webcomponents/p-8c4b502d.entry.js +0 -1
  635. package/dist/webcomponents/p-8df30672.entry.js +0 -1
  636. package/dist/webcomponents/p-911b3d63.entry.js +0 -1
  637. package/dist/webcomponents/p-97b8bf5c.entry.js +0 -1
  638. package/dist/webcomponents/p-9b74a642.entry.js +0 -1
  639. package/dist/webcomponents/p-9b8aee30.entry.js +0 -1
  640. package/dist/webcomponents/p-9e94c9ef.entry.js +0 -1
  641. package/dist/webcomponents/p-B5rtFhtR.js +0 -1
  642. package/dist/webcomponents/p-BOqOio4U.js +0 -1
  643. package/dist/webcomponents/p-BUsqF4-J.js +0 -1
  644. package/dist/webcomponents/p-BYsgavgS.js +0 -1
  645. package/dist/webcomponents/p-BhqSAzpT.js +0 -1
  646. package/dist/webcomponents/p-BzT9OxlN.js +0 -1
  647. package/dist/webcomponents/p-C9VmfRis.js +0 -1
  648. package/dist/webcomponents/p-CK_XkZku.js +0 -1
  649. package/dist/webcomponents/p-CQGIjIgZ.js +0 -1
  650. package/dist/webcomponents/p-CZ3F1ZAT.js +0 -1
  651. package/dist/webcomponents/p-CgiDds_u.js +0 -1
  652. package/dist/webcomponents/p-CsgUIrv8.js +0 -1
  653. package/dist/webcomponents/p-D032AB34.js +0 -1
  654. package/dist/webcomponents/p-DATDsXcA.js +0 -1
  655. package/dist/webcomponents/p-DKGn-ILd.js +0 -1
  656. package/dist/webcomponents/p-DOcRWTul.js +0 -1
  657. package/dist/webcomponents/p-DY_3dcgR.js +0 -1
  658. package/dist/webcomponents/p-DdJYXOQX.js +0 -1
  659. package/dist/webcomponents/p-DmdEjScI.js +0 -1
  660. package/dist/webcomponents/p-DwYM91AU.js +0 -2
  661. package/dist/webcomponents/p-RTAZ4tdd.js +0 -1
  662. package/dist/webcomponents/p-Ty7R7tsw.js +0 -1
  663. package/dist/webcomponents/p-U3nU15el.js +0 -1
  664. package/dist/webcomponents/p-Uqevvbqm.js +0 -1
  665. package/dist/webcomponents/p-VRubcA-q.js +0 -1
  666. package/dist/webcomponents/p-a0b4c42b.entry.js +0 -1
  667. package/dist/webcomponents/p-af7c219d.entry.js +0 -1
  668. package/dist/webcomponents/p-b0f0d53c.entry.js +0 -1
  669. package/dist/webcomponents/p-b752c5bc.entry.js +0 -1
  670. package/dist/webcomponents/p-bbff6196.entry.js +0 -1
  671. package/dist/webcomponents/p-c0c36187.entry.js +0 -1
  672. package/dist/webcomponents/p-c920dc54.entry.js +0 -1
  673. package/dist/webcomponents/p-cdf1e61c.entry.js +0 -1
  674. package/dist/webcomponents/p-d077569e.entry.js +0 -1
  675. package/dist/webcomponents/p-d7b1b7b5.entry.js +0 -1
  676. package/dist/webcomponents/p-dc6c9c79.entry.js +0 -1
  677. package/dist/webcomponents/p-e4335938.entry.js +0 -1
  678. package/dist/webcomponents/p-e805b011.entry.js +0 -1
  679. package/dist/webcomponents/p-ecbc83bf.entry.js +0 -1
  680. package/dist/webcomponents/p-f30c939f.entry.js +0 -1
  681. package/dist/webcomponents/p-f56d7b4c.entry.js +0 -1
  682. package/dist/webcomponents/p-f99403d8.entry.js +0 -1
  683. package/dist/webcomponents/p-fb644da6.entry.js +0 -1
  684. package/dist/webcomponents/p-fc4b27ec.entry.js +0 -1
  685. package/dist/webcomponents/p-fe43449c.entry.js +0 -1
  686. package/dist/webcomponents/p-giyZ3C4E.js +0 -1
  687. package/dist/webcomponents/p-sA8HBfkI.js +0 -1
  688. package/docs/.eslintrc.cjs +0 -17
  689. package/docs/changelog/index.mdx +0 -17
  690. package/docs/entities/businessdetails/index.mdx +0 -143
  691. package/docs/entities/businessform/index.mdx +0 -241
  692. package/docs/entities/index.mdx +0 -19
  693. package/docs/entities/payment-provisioning/index.mdx +0 -128
  694. package/docs/frameworks/angular/index.mdx +0 -112
  695. package/docs/frameworks/index.mdx +0 -18
  696. package/docs/frameworks/react/index.mdx +0 -125
  697. package/docs/frameworks/vue/index.mdx +0 -102
  698. package/docs/helpers/PartsTable.js +0 -50
  699. package/docs/helpers/PropsTable.js +0 -56
  700. package/docs/helpers/index.ts +0 -3
  701. package/docs/helpers/version.js +0 -32
  702. package/docs/introduction/index.mdx +0 -125
  703. package/docs/merchant-tools/checkouts-list/index.mdx +0 -97
  704. package/docs/merchant-tools/gross-payments-chart/index.mdx +0 -83
  705. package/docs/merchant-tools/index.mdx +0 -25
  706. package/docs/merchant-tools/order-terminals/index.mdx +0 -84
  707. package/docs/merchant-tools/payment-details/index.mdx +0 -132
  708. package/docs/merchant-tools/payment-transactions-list/index.mdx +0 -85
  709. package/docs/merchant-tools/payments-list/index.mdx +0 -109
  710. package/docs/merchant-tools/payout-details/index.mdx +0 -84
  711. package/docs/merchant-tools/payout-transactions-list/index.mdx +0 -84
  712. package/docs/merchant-tools/payouts-list/index.mdx +0 -92
  713. package/docs/merchant-tools/terminal-orders-list/index.mdx +0 -85
  714. package/docs/merchant-tools/terminals-list/index.mdx +0 -93
  715. package/docs/modular-checkout/complete-examples/index.mdx +0 -20
  716. package/docs/modular-checkout/index.mdx +0 -20
  717. package/docs/modular-checkout/introduction/index.mdx +0 -102
  718. package/docs/modular-checkout/sub-components/apple-pay.mdx +0 -106
  719. package/docs/modular-checkout/sub-components/bank-account-form.mdx +0 -167
  720. package/docs/modular-checkout/sub-components/card-form.mdx +0 -178
  721. package/docs/modular-checkout/sub-components/index.mdx +0 -23
  722. package/docs/modular-checkout/sub-components/payment-method-options.mdx +0 -87
  723. package/docs/modular-checkout/sub-components/plaid-payment-method.mdx +0 -158
  724. package/docs/modular-checkout/sub-components/saved-payment-methods.mdx +0 -183
  725. package/docs/modular-checkout/sub-components/season-interruption-insurance.mdx +0 -221
  726. package/docs/modular-checkout/sub-components/sezzle-payment-method.mdx +0 -183
  727. package/docs/modular-checkout/sub-components/summary.mdx +0 -111
  728. package/docs/payment-facilitation/dispute-management/index.mdx +0 -99
  729. package/docs/payment-facilitation/index.mdx +0 -21
  730. package/docs/payment-facilitation/refund-payment/index.mdx +0 -241
  731. package/docs/payment-facilitation/tokenize-payment-method/index.mdx +0 -350
  732. package/docs/payment-facilitation/unified-fintech-checkout/342/204/242/index.mdx +0 -150
@@ -0,0 +1 @@
1
+ import{r as t,c as n,h as e}from"./p-CV0Pyo1O.js";import{aB as r,aC as i,aD as o}from"./p-DrquDBSk.js";var a="top",u="bottom",f="right",s="left",c="auto",l=[a,u,f,s],d="start",p="end",h="viewport",v="popper",b=l.reduce((function(t,n){return t.concat([n+"-"+d,n+"-"+p])}),[]),m=[].concat(l,[c]).reduce((function(t,n){return t.concat([n,n+"-"+d,n+"-"+p])}),[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function w(t){return t?(t.nodeName||"").toLowerCase():null}function x(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function g(t){return t instanceof x(t).Element||t instanceof Element}function O(t){return t instanceof x(t).HTMLElement||t instanceof HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof x(t).ShadowRoot||t instanceof ShadowRoot)}function k(t){return t.split("-")[0]}var M=Math.max,q=Math.min,B=Math.round;function E(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function A(){return!/^((?!chrome|android).)*safari/i.test(E())}function P(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=t.getBoundingClientRect(),i=1,o=1;n&&O(t)&&(i=t.offsetWidth>0&&B(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&B(r.height)/t.offsetHeight||1);var a=(g(t)?x(t):window).visualViewport,u=!A()&&e,f=(r.left+(u&&a?a.offsetLeft:0))/i,s=(r.top+(u&&a?a.offsetTop:0))/o,c=r.width/i,l=r.height/o;return{width:c,height:l,top:s,right:f+c,bottom:s+l,left:f,x:f,y:s}}function C(t){var n=P(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function R(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&j(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function S(t){return x(t).getComputedStyle(t)}function L(t){return["table","td","th"].indexOf(w(t))>=0}function W(t){return((g(t)?t.ownerDocument:t.document)||window.document).documentElement}function z(t){return"html"===w(t)?t:t.assignedSlot||t.parentNode||(j(t)?t.host:null)||W(t)}function D(t){return O(t)&&"fixed"!==S(t).position?t.offsetParent:null}function H(t){for(var n=x(t),e=D(t);e&&L(e)&&"static"===S(e).position;)e=D(e);return e&&("html"===w(e)||"body"===w(e)&&"static"===S(e).position)?n:e||function(t){var n=/firefox/i.test(E());if(/Trident/i.test(E())&&O(t)&&"fixed"===S(t).position)return null;var e=z(t);for(j(e)&&(e=e.host);O(e)&&["html","body"].indexOf(w(e))<0;){var r=S(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function T(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function I(t,n,e){return M(t,q(n,e))}function V(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function _(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function F(t){return t.split("-")[1]}var U={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G(t){var n,e=t.popper,r=t.popperRect,i=t.placement,o=t.variation,c=t.offsets,l=t.position,d=t.gpuAcceleration,h=t.adaptive,v=t.roundOffsets,b=t.isFixed,m=c.x,y=void 0===m?0:m,w=c.y,g=void 0===w?0:w,O="function"==typeof v?v({x:y,y:g}):{x:y,y:g};y=O.x,g=O.y;var j=c.hasOwnProperty("x"),k=c.hasOwnProperty("y"),M=s,q=a,E=window;if(h){var A=H(e),P="clientHeight",C="clientWidth";A===x(e)&&"static"!==S(A=W(e)).position&&"absolute"===l&&(P="scrollHeight",C="scrollWidth"),(i===a||(i===s||i===f)&&o===p)&&(q=u,g-=(b&&A===E&&E.visualViewport?E.visualViewport.height:A[P])-r.height,g*=d?1:-1),i!==s&&(i!==a&&i!==u||o!==p)||(M=f,y-=(b&&A===E&&E.visualViewport?E.visualViewport.width:A[C])-r.width,y*=d?1:-1)}var R,L=Object.assign({position:l},h&&U),z=!0===v?function(t,n){var e=t.y,r=n.devicePixelRatio||1;return{x:B(t.x*r)/r||0,y:B(e*r)/r||0}}({x:y,y:g},x(e)):{x:y,y:g};return y=z.x,g=z.y,Object.assign({},L,d?((R={})[q]=k?"0":"",R[M]=j?"0":"",R.transform=(E.devicePixelRatio||1)<=1?"translate("+y+"px, "+g+"px)":"translate3d("+y+"px, "+g+"px, 0)",R):((n={})[q]=k?g+"px":"",n[M]=j?y+"px":"",n.transform="",n))}var J={passive:!0},K={left:"right",right:"left",bottom:"top",top:"bottom"};function N(t){return t.replace(/left|right|bottom|top/g,(function(t){return K[t]}))}var Q={start:"end",end:"start"};function X(t){return t.replace(/start|end/g,(function(t){return Q[t]}))}function Y(t){var n=x(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Z(t){return P(W(t)).left+Y(t).scrollLeft}function $(t){var n=S(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function tt(t){return["html","body","#document"].indexOf(w(t))>=0?t.ownerDocument.body:O(t)&&$(t)?t:tt(z(t))}function nt(t,n){var e;void 0===n&&(n=[]);var r=tt(t),i=r===(null==(e=t.ownerDocument)?void 0:e.body),o=x(r),a=i?[o].concat(o.visualViewport||[],$(r)?r:[]):r,u=n.concat(a);return i?u:u.concat(nt(z(a)))}function et(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function rt(t,n,e){return n===h?et(function(t,n){var e=x(t),r=W(t),i=e.visualViewport,o=r.clientWidth,a=r.clientHeight,u=0,f=0;if(i){o=i.width,a=i.height;var s=A();(s||!s&&"fixed"===n)&&(u=i.offsetLeft,f=i.offsetTop)}return{width:o,height:a,x:u+Z(t),y:f}}(t,e)):g(n)?function(t,n){var e=P(t,!1,"fixed"===n);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(n,e):et(function(t){var n,e=W(t),r=Y(t),i=null==(n=t.ownerDocument)?void 0:n.body,o=M(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=M(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-r.scrollLeft+Z(t),f=-r.scrollTop;return"rtl"===S(i||e).direction&&(u+=M(e.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:u,y:f}}(W(t)))}function it(t){var n,e=t.reference,r=t.element,i=t.placement,o=i?k(i):null,c=i?F(i):null,l=e.x+e.width/2-r.width/2,h=e.y+e.height/2-r.height/2;switch(o){case a:n={x:l,y:e.y-r.height};break;case u:n={x:l,y:e.y+e.height};break;case f:n={x:e.x+e.width,y:h};break;case s:n={x:e.x-r.width,y:h};break;default:n={x:e.x,y:e.y}}var v=o?T(o):null;if(null!=v){var b="y"===v?"height":"width";switch(c){case d:n[v]=n[v]-(e[b]/2-r[b]/2);break;case p:n[v]=n[v]+(e[b]/2-r[b]/2)}}return n}function ot(t,n){void 0===n&&(n={});var e=n.placement,r=void 0===e?t.placement:e,i=n.strategy,o=void 0===i?t.strategy:i,s=n.boundary,c=void 0===s?"clippingParents":s,d=n.rootBoundary,p=void 0===d?h:d,b=n.elementContext,m=void 0===b?v:b,y=n.altBoundary,x=void 0!==y&&y,j=n.padding,k=void 0===j?0:j,B=V("number"!=typeof k?k:_(k,l)),E=t.rects.popper,A=t.elements[x?m===v?"reference":v:m],C=function(t,n,e,r){var i="clippingParents"===n?function(t){var n=nt(z(t)),e=["absolute","fixed"].indexOf(S(t).position)>=0&&O(t)?H(t):t;return g(e)?n.filter((function(t){return g(t)&&R(t,e)&&"body"!==w(t)})):[]}(t):[].concat(n),o=[].concat(i,[e]),a=o.reduce((function(n,e){var i=rt(t,e,r);return n.top=M(i.top,n.top),n.right=q(i.right,n.right),n.bottom=q(i.bottom,n.bottom),n.left=M(i.left,n.left),n}),rt(t,o[0],r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(g(A)?A:A.contextElement||W(t.elements.popper),c,p,o),L=P(t.elements.reference),D=it({reference:L,element:E,placement:r}),T=et(Object.assign({},E,D)),I=m===v?T:L,F={top:C.top-I.top+B.top,bottom:I.bottom-C.bottom+B.bottom,left:C.left-I.left+B.left,right:I.right-C.right+B.right},U=t.modifiersData.offset;if(m===v&&U){var G=U[r];Object.keys(F).forEach((function(t){var n=[f,u].indexOf(t)>=0?1:-1,e=[a,u].indexOf(t)>=0?"y":"x";F[t]+=G[e]*n}))}return F}function at(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,i=n.padding,o=n.flipVariations,a=n.allowedAutoPlacements,u=void 0===a?m:a,f=F(n.placement),s=f?o?b:b.filter((function(t){return F(t)===f})):l,c=s.filter((function(t){return u.indexOf(t)>=0}));0===c.length&&(c=s);var d=c.reduce((function(n,o){return n[o]=ot(t,{placement:o,boundary:e,rootBoundary:r,padding:i})[k(o)],n}),{});return Object.keys(d).sort((function(t,n){return d[t]-d[n]}))}var ut={name:"flip",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,r=t.name;if(!n.modifiersData[r]._skip){for(var i=e.mainAxis,o=void 0===i||i,l=e.altAxis,p=void 0===l||l,h=e.fallbackPlacements,v=e.padding,b=e.boundary,m=e.rootBoundary,y=e.altBoundary,w=e.flipVariations,x=void 0===w||w,g=e.allowedAutoPlacements,O=n.options.placement,j=k(O),M=h||(j!==O&&x?function(t){if(k(t)===c)return[];var n=N(t);return[X(t),n,X(n)]}(O):[N(O)]),q=[O].concat(M).reduce((function(t,e){return t.concat(k(e)===c?at(n,{placement:e,boundary:b,rootBoundary:m,padding:v,flipVariations:x,allowedAutoPlacements:g}):e)}),[]),B=n.rects.reference,E=n.rects.popper,A=new Map,P=!0,C=q[0],R=0;R<q.length;R++){var S=q[R],L=k(S),W=F(S)===d,z=[a,u].indexOf(L)>=0,D=z?"width":"height",H=ot(n,{placement:S,boundary:b,rootBoundary:m,altBoundary:y,padding:v}),T=z?W?f:s:W?u:a;B[D]>E[D]&&(T=N(T));var I=N(T),V=[];if(o&&V.push(H[L]<=0),p&&V.push(H[T]<=0,H[I]<=0),V.every((function(t){return t}))){C=S,P=!1;break}A.set(S,V)}if(P)for(var _=function(t){var n=q.find((function(n){var e=A.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return C=n,"break"},U=x?3:1;U>0&&"break"!==_(U);U--);n.placement!==C&&(n.modifiersData[r]._skip=!0,n.placement=C,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ft(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function st(t){return[a,f,u,s].some((function(n){return t[n]>=0}))}function ct(t,n,e){void 0===e&&(e=!1);var r,i,o=O(n),a=O(n)&&function(t){var n=t.getBoundingClientRect(),e=B(n.width)/t.offsetWidth||1,r=B(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=W(n),f=P(t,a,e),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!e)&&(("body"!==w(n)||$(u))&&(s=(r=n)!==x(r)&&O(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Y(r)),O(n)?((c=P(n,!0)).x+=n.clientLeft,c.y+=n.clientTop):u&&(c.x=Z(u))),{x:f.left+s.scrollLeft-c.x,y:f.top+s.scrollTop-c.y,width:f.width,height:f.height}}function lt(t){var n=new Map,e=new Set,r=[];function i(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||i(t)})),r}var dt={placement:"bottom",modifiers:[],strategy:"absolute"};function pt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function ht(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?dt:r;return function(t,n,r){void 0===r&&(r=i);var o,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},dt,i),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},f=[],s=!1,c={state:u,setOptions:function(r){var o="function"==typeof r?r(u.options):r;l(),u.options=Object.assign({},i,u.options,o),u.scrollParents={reference:g(t)?nt(t):t.contextElement?nt(t.contextElement):[],popper:nt(n)};var a,s,d=function(t){var n=lt(t);return y.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=d.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:c,options:void 0===n?{}:n});f.push(r||function(){})}})),c.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(pt(n,e)){u.rects={reference:ct(n,H(e),"fixed"===u.options.strategy),popper:C(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var i=u.orderedModifiers[r],o=i.fn,a=i.options;"function"==typeof o&&(u=o({state:u,options:void 0===a?{}:a,name:i.name,instance:c})||u)}else u.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(t){c.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(o())}))}))),a}),destroy:function(){l(),s=!0}};if(!pt(t,n))return c;function l(){f.forEach((function(t){return t()})),f=[]}return c.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),c}}var vt=ht({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,a=r.resize,u=void 0===a||a,f=x(n.elements.popper),s=[].concat(n.scrollParents.reference,n.scrollParents.popper);return o&&s.forEach((function(t){t.addEventListener("scroll",e.update,J)})),u&&f.addEventListener("resize",e.update,J),function(){o&&s.forEach((function(t){t.removeEventListener("scroll",e.update,J)})),u&&f.removeEventListener("resize",e.update,J)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=it({reference:n.rects.reference,element:n.rects.popper,placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,i=void 0===r||r,o=e.adaptive,a=void 0===o||o,u=e.roundOffsets,f=void 0===u||u,s={placement:k(n.placement),variation:F(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:i,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,G(Object.assign({},s,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,G(Object.assign({},s,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},i=n.elements[t];O(i)&&w(i)&&(Object.assign(i.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?i.removeAttribute(t):i.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],i=n.attributes[t]||{},o=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});O(r)&&w(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var n=t.state,e=t.name,r=t.options.offset,i=void 0===r?[0,0]:r,o=m.reduce((function(t,e){return t[e]=function(t,n,e){var r=k(t),i=[s,a].indexOf(r)>=0?-1:1,o="function"==typeof e?e(Object.assign({},n,{placement:t})):e,u=o[0],c=o[1];return u=u||0,c=(c||0)*i,[s,f].indexOf(r)>=0?{x:c,y:u}:{x:u,y:c}}(e,n.rects,i),t}),{}),u=o[n.placement],c=u.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=u.x,n.modifiersData.popperOffsets.y+=c),n.modifiersData[e]=o}},ut,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,r=t.name,i=e.mainAxis,o=void 0===i||i,c=e.altAxis,l=void 0!==c&&c,p=e.tether,h=void 0===p||p,v=e.tetherOffset,b=void 0===v?0:v,m=ot(n,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),y=k(n.placement),w=F(n.placement),x=!w,g=T(y),O="x"===g?"y":"x",j=n.modifiersData.popperOffsets,B=n.rects.reference,E=n.rects.popper,A="function"==typeof b?b(Object.assign({},n.rects,{placement:n.placement})):b,P="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),R=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,S={x:0,y:0};if(j){if(o){var L,W="y"===g?a:s,z="y"===g?u:f,D="y"===g?"height":"width",V=j[g],_=V+m[W],U=V-m[z],G=h?-E[D]/2:0,J=w===d?B[D]:E[D],K=w===d?-E[D]:-B[D],N=n.elements.arrow,Q=h&&N?C(N):{width:0,height:0},X=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Y=X[W],Z=X[z],$=I(0,B[D],Q[D]),tt=x?B[D]/2-G-$-Y-P.mainAxis:J-$-Y-P.mainAxis,nt=x?-B[D]/2+G+$+Z+P.mainAxis:K+$+Z+P.mainAxis,et=n.elements.arrow&&H(n.elements.arrow),rt=null!=(L=null==R?void 0:R[g])?L:0,it=V+nt-rt,at=I(h?q(_,V+tt-rt-(et?"y"===g?et.clientTop||0:et.clientLeft||0:0)):_,V,h?M(U,it):U);j[g]=at,S[g]=at-V}if(l){var ut,ft=j[O],st="y"===O?"height":"width",ct=ft+m["x"===g?a:s],lt=ft-m["x"===g?u:f],dt=-1!==[a,s].indexOf(y),pt=null!=(ut=null==R?void 0:R[O])?ut:0,ht=dt?ct:ft-B[st]-E[st]-pt+P.altAxis,vt=dt?ft+B[st]+E[st]-pt-P.altAxis:lt,bt=h&&dt?function(t,n,e){var r=I(t,n,e);return r>e?e:r}(ht,ft,vt):I(h?ht:ct,ft,h?vt:lt);j[O]=bt,S[O]=bt-ft}n.modifiersData[r]=S}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var n,e=t.state,r=t.name,i=t.options,o=e.elements.arrow,c=e.modifiersData.popperOffsets,d=k(e.placement),p=T(d),h=[s,f].indexOf(d)>=0?"height":"width";if(o&&c){var v=function(t,n){return V("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:_(t,l))}(i.padding,e),b=C(o),m="y"===p?a:s,y="y"===p?u:f,w=e.rects.reference[h]+e.rects.reference[p]-c[p]-e.rects.popper[h],x=c[p]-e.rects.reference[p],g=H(o),O=g?"y"===p?g.clientHeight||0:g.clientWidth||0:0,j=O/2-b[h]/2+(w/2-x/2),M=I(v[m],j,O-b[h]-v[y]);e.modifiersData[r]=((n={})[p]=M,n.centerOffset=M-j,n)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&R(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,i=n.rects.popper,o=n.modifiersData.preventOverflow,a=ot(n,{elementContext:"reference"}),u=ot(n,{altBoundary:!0}),f=ft(a,r),s=ft(u,i,o),c=st(f),l=st(s);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:l},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":l})}}]});const bt=class{constructor(e){t(this,e),this.showEvent=n(this,"showEvent",7),this.hideEvent=n(this,"hideEvent",7),this.placement="bottom",this.offset=[0,10],this.strategy="absolute",this.trigger="click",this.isOpen=!1}componentDidLoad(){this.popperInstance=vt(this.anchorRef,this.popperContentRef,this.popperOptions),"click"===this.trigger?window.addEventListener("click",this.handleClick.bind(this)):"hover"===this.trigger?(this.anchorRef.addEventListener("mouseenter",this.show.bind(this)),this.anchorRef.addEventListener("mouseleave",this.hide.bind(this)),this.popperContentRef.addEventListener("mouseenter",this.show.bind(this)),this.popperContentRef.addEventListener("mouseleave",this.hide.bind(this))):"focus"===this.trigger&&(this.anchorRef.addEventListener("focus",this.show.bind(this)),this.anchorRef.addEventListener("blur",this.hide.bind(this)))}disconnectedCallback(){"click"===this.trigger?window.removeEventListener("click",this.handleClick.bind(this)):"hover"===this.trigger?(this.anchorRef.removeEventListener("mouseenter",this.show.bind(this)),this.anchorRef.removeEventListener("mouseleave",this.hide.bind(this)),this.popperContentRef.removeEventListener("mouseenter",this.show.bind(this)),this.popperContentRef.removeEventListener("mouseleave",this.hide.bind(this))):"focus"===this.trigger&&(this.anchorRef.removeEventListener("focus",this.show.bind(this)),this.anchorRef.removeEventListener("blur",this.hide.bind(this)))}handleClick(t){const n=t.composedPath(),e=n.includes(this.anchorRef),r=n.includes(this.popperContentRef);!this.isOpen&&e?this.show():(this.isOpen&&!r||this.isOpen&&e)&&this.hide()}get popperOptions(){return{placement:this.placement,modifiers:[{name:"offset",options:{offset:this.offset}}],strategy:this.strategy}}show(){this.isOpen=!0,this.popperContentRef.setAttribute("data-show",""),this.popperInstance.update(),this.showEvent.emit()}hide(){this.isOpen=!1,this.popperContentRef.removeAttribute("data-show"),this.popperInstance.update(),this.hideEvent.emit()}render(){return e("div",{key:"d9ed696150f2def459af17d43a2a06e0fb24b2d1"},e("style",{key:"eb3f2a09ace3aa7d0d6225947a0d511cf73b107b"},"\n .popper-content {\n display: none;\n }\n .popper-content[data-show] {\n display: block;\n z-index: 1030;\n }\n "),e("div",{key:"3221d4cc026a4b9ef06aaaa38a5ad4bc5f190f81",class:"popper-content",ref:t=>this.popperContentRef=t},e("slot",{key:"6481dcba1041571349cb8c91c350c497453fe054"})))}},mt=class{constructor(n){t(this,n)}show(){this.tooltip.classList.add("show")}hide(){this.tooltip.classList.remove("show")}render(){return this.helpText?e("div",{class:"tooltip-container"},e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-question-square tooltip-icon",viewBox:"0 0 16 16",ref:t=>this.anchorIcon=t,part:o},e("path",{d:"M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z"}),e("path",{d:"M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"})),e("custom-popper",{trigger:"hover",placement:"top",anchorRef:this.anchorIcon},e("div",{class:"tooltip bs-tooltip-top",part:r,role:"tooltip",ref:t=>this.tooltip=t},e("div",{class:"tooltip-inner",part:i},this.helpText)))):null}};export{bt as custom_popper,mt as form_control_tooltip}
@@ -0,0 +1 @@
1
+ import{h as s,r as i,c as t}from"./p-CV0Pyo1O.js";import{ao as e,am as r,ah as o,B as l}from"./p-DrquDBSk.js";import{S as d}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{c as a,J as n}from"./p-DLLFAj4z.js";import{C as h,a as c}from"./p-Cjcsf8ku.js";import{B as u}from"./p-DBOsYeYk.js";import{B as v}from"./p-CHJTjG_5.js";import{m as p}from"./p-D81X4BBI.js";import{S as m}from"./p-DaZF_q9T.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import{k as f,j as w,b}from"./p-DpkIbI5R.js";import"./p-CLHwhyvu.js";import"./p-BH0Xfn-F.js";import{g as j,a as x}from"./p-D2muobcE.js";import{T as y}from"./p-MBH9QO2m.js";import{k as g}from"./p-B09GVew-.js";import"./p-ZkBwsSuI.js";import"./p-y8av3w9x.js";import"./p-D8GTwl9v.js";import"./p-DkoufM1t.js";const k=()=>s("div",{class:"row gap-3"},s("div",{class:"col-12"},s(m,{width:"25%"})),s("div",{class:"col-12"},s(m,{width:"100%"})),s("div",{class:"col-12 d-flex gap-3"},s(m,{width:"50%"}),s(m,{width:"50%"})),s("div",{class:"col-12 d-flex gap-3"},s(m,{width:"65%"}),s(m,{width:"35%"}))),B=()=>s("div",{class:"row gap-5"},s("div",{class:"col-12"},s(m,{width:"40%",height:"40px"})),s(k,null)),S=()=>s("div",{class:"terminal-selector-skeleton mt-4 rounded shadow-sm"},s("div",{class:"d-flex align-items-center gap-3"},s(m,{width:"125px",height:"125px",styles:{borderRadius:"8px"}}),s("div",{class:"flex-grow-1"},s("div",{class:"d-flex row flex-row"},s("div",{class:"col-6 flex-column"},s(m,null),s(m,{width:"60%"})),s("div",{class:"d-flex justify-content-end align-items-center gap-2 col-6"},s(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}),s(m,{width:"80px",height:"32px"}),s(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}))),s("div",{class:"mt-4"},s("div",{class:"d-flex flex-column gap-2"},s(m,null),s(m,null)))))),D=class{constructor(s){i(this,s),this.errorEvent=t(this,"error-event",7),this.submitted=t(this,"submit-event",7),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?b.boardingShipping:b.boardingOnly}),a(),this.analytics=new n(this),this.loadData()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}handleError(s,i,t){this.error={message:s,code:i,severity:t},this.errorEvent.emit({errorCode:i,message:s,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 u})({onSuccess:({business:s})=>{this.business=new v(s),this.loading.business=!1},onError:({error:s,code:i,severity:t})=>{this.handleError(s,i,t),this.loading.business=!1}})}initializeGetTerminalModels(){(({id:s,authToken:i,service:t})=>async({onSuccess:e,onError:r})=>{var o,l,d,a;try{const n=await t.fetchTerminalModels(s,i);if(n.error)return r({error:x(n.error),code:j(null===(a=n.error)||void 0===a?void 0:a.code),severity:h.ERROR});e({terminals:(null===(l=null===(o=n.data)||void 0===o?void 0:o.terminal_order_models)||void 0===l?void 0:l.map((s=>new f(s))))||[],orderLimit:null===(d=n.data)||void 0===d?void 0:d.order_limit})}catch(s){const i=j(null==s?void 0:s.code);return r({error:s.message||s,code:i,severity:h.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new y})({onSuccess:({terminals:s,orderLimit:i})=>{this.terminalModels=s,this.orderLimit=i,this.loading.terminals=!1},onError:({error:s,code:i,severity:t})=>{this.handleError(s,i,t),this.loading.terminals=!1}})}submitOrder(){const s=(({authToken:s,service:i,apiOrigin:t="https://wc-proxy.justifi.ai"})=>async({terminalOrder:e,onSuccess:r,onError:o})=>{var l;try{const d=await i.orderTerminals(s,e,t);if(d.error)return o({error:x(d.error),code:j(null===(l=d.error)||void 0===l?void 0:l.code),severity:h.ERROR});{const{data:s}=d;r({data:s})}}catch(s){const i=j(null==s?void 0:s.code);return o({error:s.message||s,code:i,severity:h.ERROR})}})({authToken:this.authToken,service:new y});this.submitting=!0,s({terminalOrder:this.order.payload,onSuccess:({data:s})=>{this.submitted.emit(s),this.submitting=!1},onError:({error:s,code:i,severity:t})=>{this.handleError(s,i,t),this.submitting=!1}})}onSelectedQuantityChange(s){this.order.updateTerminal(s.detail.modelName,s.detail.quantity),this.totalQuantity=this.order.totalQuantity}renderLoading(){return s("div",null,this.loading.business&&s(B,null),this.loading.terminals&&s("div",{class:"mt-5"},s(S,null),s(S,null),s(S,null)))}renderBusinessDetails(){var i,t,o,l,d,a,n,h;if(!this.loading.business&&this.business)return s("div",{class:"d-flex flex-column gap-4 mb-5 pt-5"},s("div",{class:"row"},s("div",{class:"col-12"},s("h2",{part:r},this.business.legal_name))),s("div",{class:"row"},s("div",{class:"col-6"},s("h5",{part:e},"Representative:"),s("div",null,s("div",null,null===(t=null===(i=this.business)||void 0===i?void 0:i.representative)||void 0===t?void 0:t.name),s("div",null,null===(l=null===(o=this.business)||void 0===o?void 0:o.representative)||void 0===l?void 0:l.title),s("div",null,null===(a=null===(d=this.business)||void 0===d?void 0:d.representative)||void 0===a?void 0:a.email),s("div",null,g(null===(h=null===(n=this.business)||void 0===n?void 0:n.representative)||void 0===h?void 0:h.phone)))),s("div",{class:"col-6"},s("h5",{part:e},this.shipping?"Shipping Address:":"Business Address:"),s("div",null,this.business.legal_address.line1,this.business.legal_address.line2?`, ${this.business.legal_address.line2}`:"",s("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 s("div",{class:"d-flex flex-column gap-2 mt-5"},this.terminalModels.map((i=>s("terminal-quantity-selector",{modelName:i.model_name,description:i.description,imageUrl:i.image_url,helpUrl:i.help_url,limit:this.orderLimit-this.order.totalQuantity,onSelectedQuantityChange:this.onSelectedQuantityChange.bind(this)}))))}renderOrderSection(){return s("div",{class:"mt-3"},s("div",{class:"text-end"},"Order limit: ",this.orderLimit),s("div",{class:"d-flex justify-content-end mt-3"},s("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 s(d,{key:"c4180b5ccbfe357a9167accfcae70270df9d248a"},s("div",{key:"2bab46cd089b8af8abb61948051eb652f57f7811",part:l},this.renderLoading(),this.renderBusinessDetails(),this.renderTerminals(),this.renderOrderSection()))}};export{D as justifi_order_terminals}
@@ -1 +1 @@
1
- import{r as l,h as i,H as t}from"./p-DwYM91AU.js";import{c as e,D as s}from"./p-DUmUUj9r.js";import{m as o,s as d,n as v}from"./p-B09GVew-.js";import"./p-sA8HBfkI.js";import"./p-HXpYMWUU.js";const u=class{constructor(i){l(this,i)}render(){return!this.additionalQuestions||o(this.additionalQuestions)?null:i("div",null,i(s,{sectionTitle:"Additional Questions"}),i("div",{class:"d-flex flex-column gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Business Revenue",value:this.additionalQuestions.business_revenue}),i(e,{title:"Business Payment Volume",value:this.additionalQuestions.business_payment_volume})))))}},a=class{constructor(i){l(this,i)}render(){return this.business?i("div",null,i(s,{sectionTitle:"Business Core Info Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Legal Name",value:this.business.legal_name}),i(e,{title:"Doing Business As (DBA)",value:this.business.doing_business_as}),i(e,{title:"Business Classification",value:d(this.business.classification)}),i(e,{title:"Industry",value:this.business.industry})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Tax ID",value:this.business.tax_id}),i(e,{title:"Website URL",value:this.business.website_url}),i(e,{title:"Email Address",value:this.business.email}),i(e,{title:"Phone Number",value:this.business.phone}))))):null}},n=class{constructor(i){l(this,i)}render(){var l,t,d,v,u,a,n;return!this.legalAddress||o(this.legalAddress)?null:i("div",null,i(s,{sectionTitle:"Business Legal Address Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Country",value:null===(l=this.legalAddress)||void 0===l?void 0:l.country}),i(e,{title:"Legal Address",value:null===(t=this.legalAddress)||void 0===t?void 0:t.line1}),i(e,{title:"Address Line 2",value:null===(d=this.legalAddress)||void 0===d?void 0:d.line2})),i("div",{class:"col-12 col-md-6"},i(e,{title:"City",value:null===(v=this.legalAddress)||void 0===v?void 0:v.city}),i(e,{title:"State",value:null===(u=this.legalAddress)||void 0===u?void 0:u.state}),i(e,{title:"Postal Code",value:null===(n=null===(a=this.legalAddress)||void 0===a?void 0:a.postal_code)||void 0===n?void 0:n.toString()})))))}},r=class{constructor(i){l(this,i)}render(){var l;return(null===(l=null==this?void 0:this.owners)||void 0===l?void 0:l.length)?i(t,null,!!(null==this?void 0:this.owners.length)&&this.owners.map((l=>{var t,o,d,u,a;return[i(s,{sectionTitle:`Owner ${null==l?void 0:l.name}'s Details`}),i("div",{class:"d-flex flex-column gap-2 w-100 mt-3"},i("div",{class:"col-md-6"},i(e,{title:"Name",value:null==l?void 0:l.name}),i(e,{title:"Title",value:null==l?void 0:l.title}),i(e,{title:"Email",value:null==l?void 0:l.email}),i(e,{title:"Phone",value:null==l?void 0:l.phone}),i(e,{title:"Date of Birth",value:v(new Date(Number(null==l?void 0:l.dob_day),Number(null==l?void 0:l.dob_month),Number(null==l?void 0:l.dob_year)))}),i(e,{title:"Identification Number",value:`********${null==l?void 0:l.ssn_last4}`}),i(e,{title:"Line 1",value:null===(t=null==l?void 0:l.address)||void 0===t?void 0:t.line1}),i(e,{title:"Line 2",value:null===(o=null==l?void 0:l.address)||void 0===o?void 0:o.line2}),i(e,{title:"City",value:null===(d=null==l?void 0:l.address)||void 0===d?void 0:d.city}),i(e,{title:"State",value:null===(u=null==l?void 0:l.address)||void 0===u?void 0:u.state}),i(e,{title:"Zip",value:null===(a=null==l?void 0:l.address)||void 0===a?void 0:a.postal_code})))]}))):null}},c=class{constructor(i){l(this,i)}render(){var l,t,d,u,a,n,r,c,h,m,p,f,w,D;return!this.representative||o(this.representative)?null:i("div",null,i(s,{sectionTitle:"Representative Details"}),i("div",{class:"d-flex flex-column gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Name",value:null===(l=this.representative)||void 0===l?void 0:l.name}),i(e,{title:"ID",value:null===(t=this.representative)||void 0===t?void 0:t.id}),i(e,{title:"Address",value:null===(u=null===(d=this.representative)||void 0===d?void 0:d.address)||void 0===u?void 0:u.line1}),i(e,{title:"Created At",value:(null===(a=this.representative)||void 0===a?void 0:a.created_at)&&v(null===(n=this.representative)||void 0===n?void 0:n.created_at)})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Title",value:null===(r=this.representative)||void 0===r?void 0:r.title}),i(e,{title:"Is Owner?",value:null===(c=this.representative)||void 0===c?void 0:c.is_owner.toString()}),i(e,{title:"Date Of Birth",value:this.representative&&v(new Date(Number(null===(h=this.representative)||void 0===h?void 0:h.dob_year),Number(null===(m=this.representative)||void 0===m?void 0:m.dob_month)-1,Number(null===(p=this.representative)||void 0===p?void 0:p.dob_day)))}),i(e,{title:"Email",value:null===(f=this.representative)||void 0===f?void 0:f.email}),i(e,{title:"Phone",value:null===(w=this.representative)||void 0===w?void 0:w.phone}),i(e,{title:"Updated At",value:this.representative&&v(null===(D=this.representative)||void 0===D?void 0:D.updated_at)})))))}};export{u as additional_questions_details,a as core_info_details,n as legal_address_details,r as owner_details,c as representative_details}
1
+ import{r as l,h as i,H as t}from"./p-CV0Pyo1O.js";import{c as e,D as s}from"./p-COcg4_A3.js";import{m as o,s as d,n as v}from"./p-B09GVew-.js";import"./p-DrquDBSk.js";import"./p-HXpYMWUU.js";const u=class{constructor(i){l(this,i)}render(){return!this.additionalQuestions||o(this.additionalQuestions)?null:i("div",null,i(s,{sectionTitle:"Additional Questions"}),i("div",{class:"d-flex flex-column gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Business Revenue",value:this.additionalQuestions.business_revenue}),i(e,{title:"Business Payment Volume",value:this.additionalQuestions.business_payment_volume})))))}},a=class{constructor(i){l(this,i)}render(){return this.business?i("div",null,i(s,{sectionTitle:"Business Core Info Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Legal Name",value:this.business.legal_name}),i(e,{title:"Doing Business As (DBA)",value:this.business.doing_business_as}),i(e,{title:"Business Classification",value:d(this.business.classification)}),i(e,{title:"Industry",value:this.business.industry})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Tax ID",value:this.business.tax_id}),i(e,{title:"Website URL",value:this.business.website_url}),i(e,{title:"Email Address",value:this.business.email}),i(e,{title:"Phone Number",value:this.business.phone}))))):null}},n=class{constructor(i){l(this,i)}render(){var l,t,d,v,u,a,n;return!this.legalAddress||o(this.legalAddress)?null:i("div",null,i(s,{sectionTitle:"Business Legal Address Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Country",value:null===(l=this.legalAddress)||void 0===l?void 0:l.country}),i(e,{title:"Legal Address",value:null===(t=this.legalAddress)||void 0===t?void 0:t.line1}),i(e,{title:"Address Line 2",value:null===(d=this.legalAddress)||void 0===d?void 0:d.line2})),i("div",{class:"col-12 col-md-6"},i(e,{title:"City",value:null===(v=this.legalAddress)||void 0===v?void 0:v.city}),i(e,{title:"State",value:null===(u=this.legalAddress)||void 0===u?void 0:u.state}),i(e,{title:"Postal Code",value:null===(n=null===(a=this.legalAddress)||void 0===a?void 0:a.postal_code)||void 0===n?void 0:n.toString()})))))}},r=class{constructor(i){l(this,i)}render(){var l;return(null===(l=null==this?void 0:this.owners)||void 0===l?void 0:l.length)?i(t,null,!!(null==this?void 0:this.owners.length)&&this.owners.map((l=>{var t,o,d,u,a;return[i(s,{sectionTitle:`Owner ${null==l?void 0:l.name}'s Details`}),i("div",{class:"d-flex flex-column gap-2 w-100 mt-3"},i("div",{class:"col-md-6"},i(e,{title:"Name",value:null==l?void 0:l.name}),i(e,{title:"Title",value:null==l?void 0:l.title}),i(e,{title:"Email",value:null==l?void 0:l.email}),i(e,{title:"Phone",value:null==l?void 0:l.phone}),i(e,{title:"Date of Birth",value:v(new Date(Number(null==l?void 0:l.dob_day),Number(null==l?void 0:l.dob_month),Number(null==l?void 0:l.dob_year)))}),i(e,{title:"Identification Number",value:`********${null==l?void 0:l.ssn_last4}`}),i(e,{title:"Line 1",value:null===(t=null==l?void 0:l.address)||void 0===t?void 0:t.line1}),i(e,{title:"Line 2",value:null===(o=null==l?void 0:l.address)||void 0===o?void 0:o.line2}),i(e,{title:"City",value:null===(d=null==l?void 0:l.address)||void 0===d?void 0:d.city}),i(e,{title:"State",value:null===(u=null==l?void 0:l.address)||void 0===u?void 0:u.state}),i(e,{title:"Zip",value:null===(a=null==l?void 0:l.address)||void 0===a?void 0:a.postal_code})))]}))):null}},c=class{constructor(i){l(this,i)}render(){var l,t,d,u,a,n,r,c,h,m,p,f,g,w;return!this.representative||o(this.representative)?null:i("div",null,i(s,{sectionTitle:"Representative Details"}),i("div",{class:"d-flex flex-column gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Name",value:null===(l=this.representative)||void 0===l?void 0:l.name}),i(e,{title:"ID",value:null===(t=this.representative)||void 0===t?void 0:t.id}),i(e,{title:"Address",value:null===(u=null===(d=this.representative)||void 0===d?void 0:d.address)||void 0===u?void 0:u.line1}),i(e,{title:"Created At",value:(null===(a=this.representative)||void 0===a?void 0:a.created_at)&&v(null===(n=this.representative)||void 0===n?void 0:n.created_at)})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Title",value:null===(r=this.representative)||void 0===r?void 0:r.title}),i(e,{title:"Is Owner?",value:null===(c=this.representative)||void 0===c?void 0:c.is_owner.toString()}),i(e,{title:"Date Of Birth",value:this.representative&&v(new Date(Number(null===(h=this.representative)||void 0===h?void 0:h.dob_year),Number(null===(m=this.representative)||void 0===m?void 0:m.dob_month)-1,Number(null===(p=this.representative)||void 0===p?void 0:p.dob_day)))}),i(e,{title:"Email",value:null===(f=this.representative)||void 0===f?void 0:f.email}),i(e,{title:"Phone",value:null===(g=this.representative)||void 0===g?void 0:g.phone}),i(e,{title:"Updated At",value:this.representative&&v(null===(w=this.representative)||void 0===w?void 0:w.updated_at)})))))}};export{u as additional_questions_details,a as core_info_details,n as legal_address_details,r as owner_details,c as representative_details}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i}from"./p-CV0Pyo1O.js";import{P as o}from"./p-Bz97Ujvk.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import{C as r,a as e}from"./p-Cjcsf8ku.js";import{e as p}from"./p-DpkIbI5R.js";import"./p-CLHwhyvu.js";import"./p-CHJTjG_5.js";import"./p-BH0Xfn-F.js";import{g as a,a as h}from"./p-D2muobcE.js";import{E as n}from"./p-COcg4_A3.js";import{c as m,J as c}from"./p-DLLFAj4z.js";import{m as u}from"./p-DYGIC0QH.js";import"./p-y8av3w9x.js";import"./p-B09GVew-.js";import"./p-D8GTwl9v.js";import"./p-DkoufM1t.js";import"./p-DrquDBSk.js";import"./p-ZkBwsSuI.js";const d=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event",7),this.enableRecordClick=!1,this.errorMessage=null,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){m(),this.analytics=new c(this),this.initializeServices()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeServices()}initializeServices(){this.payoutId&&this.authToken?(this.getPayout=(({id:t,authToken:s,service:i})=>async({onSuccess:o,onError:e})=>{var n;try{const m=await i.fetchPayout(t,s);m.error?e({error:h(m.error),code:a(null===(n=m.error)||void 0===n?void 0:n.code),severity:r.ERROR}):o(new p(m.data))}catch(t){e({error:h(t),code:a(null==t?void 0:t.code),severity:r.ERROR})}})({id:this.payoutId,authToken:this.authToken,service:new o}),this.getPayoutCSV=u({authToken:this.authToken,service:new o})):(this.errorMessage="Failed to load payout details. payoutId or authToken is not provided.",this.errorEvent.emit({message:this.errorMessage,errorCode:e.MISSING_PROPS,severity:r.ERROR}))}render(){return this.errorMessage?n(this.errorMessage):i("payout-details-core",{getPayout:this.getPayout,getPayoutCSV:this.getPayoutCSV,"onError-event":this.handleErrorEvent,enableRecordClick:this.enableRecordClick})}static get watchers(){return{payoutId:["propChanged"],authToken:["propChanged"]}}};export{d as justifi_payout_details}
@@ -1 +1 @@
1
- import{r as e,h as t}from"./p-DwYM91AU.js";import{c as s,F as a}from"./p-DiJD6Iqx.js";import{x as i,y as r,h as l,l as d,j as c,u as o}from"./p-D032AB34.js";import{an as n}from"./p-sA8HBfkI.js";import{S as f}from"./p-BP2sTIQV.js";import"./p-CZfYo5-1.js";import{H as h}from"./p-CQGIjIgZ.js";import{S as m}from"./p-B5rtFhtR.js";import"./p-BFTU3MAI.js";import"./p-DfKxeSrC.js";import"./p-CPpUGsw5.js";const b=class{constructor(t){e(this,t),this.errors={},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))}}componentWillLoad(){this.formController=new a(s({name:o.required("Enter full name"),address_line1:c.nullable(),address_line2:d.nullable(),address_city:l.nullable(),address_state:r.nullable(),address_postal_code:i.nullable()}))}componentDidLoad(){this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate(),errors:this.formController.errors.getValue()}}render(){const e=this.formController.getInitialValues();return t(f,{key:"1ae1df080e0cfac0795b758708fd8cfcd091ca10"},t("div",{key:"c13939d9ef3f56ae00e79fcf4c2c5e4e3775874a",part:n,class:"mt-4"},t("form",{key:"37affeab4ec3904a1095f868da1a767227f11e6d"},t("fieldset",{key:"f12df105d8a3196bcbc89bf78f253b6abb0b3cba"},this.legend&&t("legend",{key:"876c0303cf1e2c1475b7f076a184da6b43a9dbff"},this.legend),t("div",{key:"a0362a2eaea2c6cc263fced7fa44c89440b45aad",class:"row gy-3"},t("div",{key:"b79686ee1276d27199d7c6d6419a89eb0a9345ee",class:"col-12"},t("form-control-text",{key:"cbebd20b9418db67ea3e7ea08eec5e405df9d524",name:"name",label:"Full Name",defaultValue:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})))))))}},u=class{constructor(t){e(this,t),this.errors={},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))}}componentWillLoad(){this.formController=new a(s({name:o.required("Enter full name"),address_line1:c.required("Enter street address"),address_line2:d.nullable(),address_city:l.required("Enter city"),address_state:r.required("Select state"),address_postal_code:i.required("Enter postal code")})),this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate(),errors:this.formController.errors.getValue()}}render(){if(!this.formController)return null;const e=this.formController.getInitialValues();return t(f,null,t("div",{part:n,class:"mt-4"},t(h,{text:"Billing address",class:"fs-6 fw-bold lh-lg mb-4"}),t("form",null,t("fieldset",null,this.legend&&t("legend",null,this.legend),t("div",{class:"row gy-3"},t("div",{class:"col-12"},t("form-control-text",{name:"name",label:"Full Name",defaultValue:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),t("div",{class:"col-12"},t("form-control-text",{name:"address_line1",label:"Street Address",defaultValue:e.address_line1,errorText:this.errors.address_line1,inputHandler:this.inputHandler})),t("div",{class:"col-12"},t("form-control-text",{name:"address_line2",label:"Apartment, Suite, etc. (optional)",defaultValue:e.address_line2,errorText:this.errors.address_line2,inputHandler:this.inputHandler})),t("div",{class:"col-12"},t("form-control-text",{name:"address_city",label:"City",defaultValue:e.address_city,errorText:this.errors.address_city,inputHandler:this.inputHandler})),t("div",{class:"col-12"},t("form-control-select",{name:"address_state",label:"State",options:m,defaultValue:e.address_state,errorText:this.errors.address_state,inputHandler:this.inputHandler})),t("div",{class:"col-12"},t("form-control-text",{name:"address_postal_code",label:"Postal Code",defaultValue:e.address_postal_code,errorText:this.errors.address_postal_code,inputHandler:this.inputHandler,maxLength:7})))))))}},p=class{constructor(t){e(this,t),this.errors={},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))}}componentWillLoad(){this.formController=new a(s({name:o.nullable(),address_line1:c.nullable(),address_line2:d.nullable(),address_city:l.nullable(),address_state:r.nullable(),address_postal_code:i.required("Enter postal code")}))}componentDidLoad(){this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate(),errors:this.formController.errors.getValue()}}render(){const e=this.formController.getInitialValues();return t(f,{key:"1191dac498a26eaa1e553d041185d73a6c83976d"},t("div",{key:"bb767072391ecb9f8de3d7312e146892ae75196a",part:n},t("form",{key:"34994f535186cab1d75a3eec57f0ff449d726507"},t("fieldset",{key:"5425df6533360185d0e8428bfcf4b9896c32f7c9"},this.legend&&t("legend",{key:"db130af085d0e4dfc04ac35b8425111faf67a5b9"},this.legend),t("div",{key:"deef3521156e148936d3c502e5b7de49efa55e7b",class:"row gy-3"},t("div",{key:"a520ae53525cc81dfa0c9cd26d3d983fa870f722",class:"col-12"},t("form-control-text",{key:"27613ef0fe2a2647bf24598da29871cde0af7e55",name:"address_postal_code",label:"Postal Code",defaultValue:e.address_postal_code,errorText:this.errors.address_postal_code,inputHandler:this.inputHandler,maxLength:7})))))))}};export{b as justifi_bank_account_billing_form_simple,u as justifi_billing_form_full,p as justifi_card_billing_form_simple}
1
+ import{r as e,h as t}from"./p-CV0Pyo1O.js";import{c as s,F as a}from"./p-DiJD6Iqx.js";import{y as i,z as r,h as l,l as d,j as c,v as o}from"./p-BhvkOTYA.js";import{an as n}from"./p-DrquDBSk.js";import{S as f}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{H as h}from"./p-C3E-JbVM.js";import{S as b}from"./p-CHJTjG_5.js";import"./p-BFTU3MAI.js";import"./p-Ce785aMx.js";import"./p-BAu40WfT.js";const m=class{constructor(t){e(this,t),this.errors={},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))}}componentWillLoad(){this.formController=new a(s({name:o.required("Enter full name"),address_line1:c.nullable(),address_line2:d.nullable(),address_city:l.nullable(),address_state:r.nullable(),address_postal_code:i.nullable()}))}componentDidLoad(){this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate(),errors:this.formController.errors.getValue()}}render(){const e=this.formController.getInitialValues();return t(f,{key:"1ad536d9f27bdb1cb3da9721c486cd4f1006ecb1"},t("div",{key:"b1589bbc4bba3703c54e6a5651aaad5499c218f4",part:n,class:"mt-4"},t("form",{key:"d60bc906ec293d45c1887c0864ff4c1f28845461"},t("fieldset",{key:"166465d844cbfb0d55dae03d88b52ad202d1616c"},this.legend&&t("legend",{key:"509d5e560791fb6f96a5e755931fd7a363b21e06"},this.legend),t("div",{key:"979e4bae922ff88aae107d921136215474a847ea",class:"row gy-3"},t("div",{key:"4014b6c65739d39077d69f0e649eec0fadab0c87",class:"col-12"},t("form-control-text",{key:"2e9e1dbb43ffdd9848415ceefc8df75ec60a35e0",name:"name",label:"Full Name",defaultValue:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})))))))}},u=class{constructor(t){e(this,t),this.errors={},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))}}componentWillLoad(){this.formController=new a(s({name:o.required("Enter full name"),address_line1:c.required("Enter street address"),address_line2:d.nullable(),address_city:l.required("Enter city"),address_state:r.required("Select state"),address_postal_code:i.required("Enter postal code")})),this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate(),errors:this.formController.errors.getValue()}}render(){if(!this.formController)return null;const e=this.formController.getInitialValues();return t(f,null,t("div",{part:n,class:"mt-4"},t(h,{text:"Billing address",class:"fs-6 fw-bold lh-lg mb-4"}),t("form",null,t("fieldset",null,this.legend&&t("legend",null,this.legend),t("div",{class:"row gy-3"},t("div",{class:"col-12"},t("form-control-text",{name:"name",label:"Full Name",defaultValue:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),t("div",{class:"col-12"},t("form-control-text",{name:"address_line1",label:"Street Address",defaultValue:e.address_line1,errorText:this.errors.address_line1,inputHandler:this.inputHandler})),t("div",{class:"col-12"},t("form-control-text",{name:"address_line2",label:"Apartment, Suite, etc. (optional)",defaultValue:e.address_line2,errorText:this.errors.address_line2,inputHandler:this.inputHandler})),t("div",{class:"col-12"},t("form-control-text",{name:"address_city",label:"City",defaultValue:e.address_city,errorText:this.errors.address_city,inputHandler:this.inputHandler})),t("div",{class:"col-12"},t("form-control-select",{name:"address_state",label:"State",options:b,defaultValue:e.address_state,errorText:this.errors.address_state,inputHandler:this.inputHandler})),t("div",{class:"col-12"},t("form-control-text",{name:"address_postal_code",label:"Postal Code",defaultValue:e.address_postal_code,errorText:this.errors.address_postal_code,inputHandler:this.inputHandler,maxLength:7})))))))}},p=class{constructor(t){e(this,t),this.errors={},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))}}componentWillLoad(){this.formController=new a(s({name:o.nullable(),address_line1:c.nullable(),address_line2:d.nullable(),address_city:l.nullable(),address_state:r.nullable(),address_postal_code:i.required("Enter postal code")}))}componentDidLoad(){this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate(),errors:this.formController.errors.getValue()}}render(){const e=this.formController.getInitialValues();return t(f,{key:"5d685e6a8e7b22780431b4f2315a95c43766242e"},t("div",{key:"c71d5e6b49162ff2c21cd7b9ee0e9951c264034e",part:n},t("form",{key:"a935f2ee1999afe079c13bd3b0e3b2b5225c12d2"},t("fieldset",{key:"1808d8afc17a22d4156534dc7e54af8350d406b4"},this.legend&&t("legend",{key:"c73a35b4311515cf57d6ed5193056a9197cddaa9"},this.legend),t("div",{key:"a36b221db49c567f6fc5e20af2a60fd30eeb4568",class:"row gy-3"},t("div",{key:"907f29bec68ac9d43fd66f28226b87f2003efbaa",class:"col-12"},t("form-control-text",{key:"93024133c94fc8eb2f1a34073ea7945d873420c4",name:"address_postal_code",label:"Postal Code",defaultValue:e.address_postal_code,errorText:this.errors.address_postal_code,inputHandler:this.inputHandler,maxLength:7})))))))}};export{m as justifi_bank_account_billing_form_simple,u as justifi_billing_form_full,p as justifi_card_billing_form_simple}
@@ -1 +1 @@
1
- import{r as i}from"./p-DwYM91AU.js";import{s as t}from"./p-tGDdRx0W.js";import"./p-BYsgavgS.js";const s=class{constructor(t){i(this,t),this.apiOrigin="https://wc-proxy.justifi.ai",this.iframeOrigin="https://components.justifi.ai",this.accountId=""}componentWillLoad(){t({apiOrigin:this.apiOrigin,iframeOrigin:this.iframeOrigin,accountId:this.accountId})}render(){return null}};export{s as justifi_config_provider}
1
+ import{r as i}from"./p-CV0Pyo1O.js";import{s as t}from"./p-DVJaoI_m.js";import"./p-D8GTwl9v.js";const s=class{constructor(t){i(this,t),this.apiOrigin="https://wc-proxy.justifi.ai",this.iframeOrigin="https://components.justifi.ai",this.accountId=""}componentWillLoad(){t({apiOrigin:this.apiOrigin,iframeOrigin:this.iframeOrigin,accountId:this.accountId})}render(){return null}};export{s as justifi_config_provider}
@@ -0,0 +1 @@
1
+ import{r as s,h as t}from"./p-CV0Pyo1O.js";import{S as e}from"./p-BqNNwq6C.js";import{S as r}from"./p-DaZF_q9T.js";import"./p-DrquDBSk.js";const o=class{constructor(t){s(this,t)}render(){return t(e,{key:"0ea8007102180f34f1a6ee362f132af78de2890e"},t(r,{key:"0ed8c7d4a63c57fd7d89db17012d622eb6975bed",component:this.component,height:this.height,width:this.width,className:this.class,styles:this.customStyle}))}};export{o as justifi_skeleton}
@@ -0,0 +1 @@
1
+ import{r as s,h as t}from"./p-CV0Pyo1O.js";import{E as i}from"./p-COcg4_A3.js";import"./p-DrquDBSk.js";const o=class{constructor(t){s(this,t)}render(){return t("div",{key:"77d9c172a85e392d3c21d7d789dd2c264858f571"},this.errorMessage?i(this.errorMessage):t("main",{class:"p-2"},t("slot",{name:"head-info"}),t("slot",{name:"detail-sections"})))}};export{o as justifi_details}
@@ -0,0 +1 @@
1
+ import{c as s}from"./p-D8GTwl9v.js";const t={},a={},o=s((()=>t)),{state:c,on:e}=o,p=s((()=>a)),{state:j}=p,r=()=>Object.assign(Object.assign({},c),j),b=()=>{o.reset()};export{b as c,c as f,r as g,e as o,j as p}
@@ -1 +1 @@
1
- import{h as t}from"./p-DwYM91AU.js";import{V as e,W as r}from"./p-sA8HBfkI.js";import{a}from"./p-B09GVew-.js";import"./p-tGDdRx0W.js";import"./p-Cjcsf8ku.js";import{b as s}from"./p-BrRsgB8S.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{B as d,a as o}from"./p-U3nU15el.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-CV0Pyo1O.js";import{P as e,Q as r}from"./p-DrquDBSk.js";import{a}from"./p-B09GVew-.js";import"./p-DVJaoI_m.js";import"./p-Cjcsf8ku.js";import{b as s}from"./p-DpkIbI5R.js";import"./p-CLHwhyvu.js";import"./p-CHJTjG_5.js";import"./p-BH0Xfn-F.js";import{B as o,a as d}from"./p-BZ4YUsyP.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(d,Object.assign({},{submitted:{variant:o.PRIMARY,title:"This order is submitted",text:"Submitted"},completed:{variant:o.SUCCESS,title:"This order has been completed",text:"Completed"},created:{variant:o.SECONDARY,title:"This order is created",text:"Created"},in_progress:{variant:o.PRIMARY,title:"This order is in progress",text:"In Progress"},on_hold:{variant:o.WARNING,title:"This order is on hold",text:"On Hold"},canceled:{variant:o.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 o;return e.order_type===s.boardingOnly?o="Boarding Only":e.order_type===s.boardingShipping&&(o="Boarding & Shipping"),t("td",{part:r(a)},o)},quantity:(e,a)=>t("td",{part:r(a)},e.terminals.length)};export{l as a,i as d,p as t}
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-CV0Pyo1O.js";import{D as t}from"./p-DrquDBSk.js";import{c as r}from"./p-D8GTwl9v.js";const a=r=>s("h2",{class:`header-2 ${null==r?void 0:r.class}`,part:t},r.text),o=r({}),{state:e,on:n}=o,i=r({}),{state:l}=i,p={},c=()=>{let s=!0;return Object.keys(e).forEach((t=>{null===e[t]?(l[t]=!0,s=!1):l[t]=!1})),{isValid:s}},m=(s,t)=>{const r=p.hasOwnProperty(s),a=p[s];if(!r)return p[s]=t,!1;const o=a!==t;return o&&(p[s]=t),o};export{a as H,l as a,n as b,m as h,e as i,c as v}
@@ -1 +1 @@
1
- import{a as e}from"./p-B5rtFhtR.js";const a=[{label:"Choose business classification",value:""},{label:"Sole Proprietor",value:e.sole_proprietor},{label:"Partnership",value:e.partnership},{label:"Corporation",value:e.corporation},{label:"Public Company",value:e.public_company},{label:"Limited Liability Company (LLC)",value:e.limited},{label:"Non Profit",value:e.non_profit},{label:"Government",value:e.government}],l=[{label:"Within 7 days",value:"Within 7 days"},{label:"Within 30 days",value:"Within 30 days"},{label:"Within 90 days",value:"Within 90 days"},{label:"Within 120 days",value:"Within 120 days"},{label:"More than 120 days",value:"More than 120 days"}],s=[{label:"Yes",value:"Yes"},{label:"No",value:"No"}],i=[{label:"Yes. The majority of the business revenue is generated in 3-6 months.",value:"Yes"},{label:"No. The business revenue is generated evenly throughout the year.",value:"No"}],n=[{label:"Checking",value:"checking"},{label:"Savings",value:"savings"}];export{n as a,l as b,a as c,s as r,i as s}
1
+ import{a as e}from"./p-CHJTjG_5.js";const a=[{label:"Choose business classification",value:""},{label:"Sole Proprietor",value:e.sole_proprietor},{label:"Partnership",value:e.partnership},{label:"Corporation",value:e.corporation},{label:"Public Company",value:e.public_company},{label:"Limited Liability Company (LLC)",value:e.limited},{label:"Non Profit",value:e.non_profit},{label:"Government",value:e.government}],l=[{label:"Within 7 days",value:"Within 7 days"},{label:"Within 30 days",value:"Within 30 days"},{label:"Within 90 days",value:"Within 90 days"},{label:"Within 120 days",value:"Within 120 days"},{label:"More than 120 days",value:"More than 120 days"}],s=[{label:"Yes",value:"Yes"},{label:"No",value:"No"}],i=[{label:"Yes. The majority of the business revenue is generated in 3-6 months.",value:"Yes"},{label:"No. The business revenue is generated evenly throughout the year.",value:"No"}],n=[{label:"Checking",value:"checking"},{label:"Savings",value:"savings"}];export{n as a,l as b,a as c,s as r,i as s}
@@ -0,0 +1 @@
1
+ import{c as s}from"./p-D8GTwl9v.js";const t={},a={},o=s((()=>t)),{state:c,on:e}=o,p=s((()=>a)),{state:j}=p,r=()=>Object.assign(Object.assign({},c),j),b=()=>{o.reset()};export{b as c,c as f,r as g,e as o,j as p}
@@ -1 +1 @@
1
- import{A as e}from"./p-yyedWKWX.js";import"./p-Cjcsf8ku.js";import"./p-BrRsgB8S.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-y8av3w9x.js";import"./p-Cjcsf8ku.js";import"./p-DpkIbI5R.js";import"./p-CLHwhyvu.js";import"./p-CHJTjG_5.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}
@@ -0,0 +1 @@
1
+ import{h as a}from"./p-CV0Pyo1O.js";import{F as r,G as s,H as g,I as e,J as n,K as d,L as i,M as t,N as b}from"./p-DrquDBSk.js";var o;!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"}(o||(o={}));const c=o=>{const{variant:c,text:p,title:f}=o,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[c]||l.default,part:u[c]||u.default,title:f},p)};export{o as B,c as a}
@@ -1 +1 @@
1
- import{h as t}from"./p-DwYM91AU.js";import{B as e,a as i}from"./p-U3nU15el.js";import{V as a,W as r}from"./p-sA8HBfkI.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}
1
+ import{h as t}from"./p-CV0Pyo1O.js";import{B as e,a as i}from"./p-BZ4YUsyP.js";import{P as a,Q as r}from"./p-DrquDBSk.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{a as e}from"./p-DiJD6Iqx.js";import{S as a,C as t}from"./p-CHJTjG_5.js";import{a as s}from"./p-Ce785aMx.js";import{b as r,a as n}from"./p-BAu40WfT.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),m=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(i),c=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=a=>e().matches(s[a].postalRegex,"Enter valid postal code").transform(i),p=a=>a===t.CAN?e().matches(d,"Enter valid SIN").length(s[a].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):g,S=a=>a===t.CAN?e().matches(d,"Enter valid Business Number (BN)").length(s[a].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,A=e().test("not-future","Date of incorporation cannot be in the future",(e=>new Date(e)<=new Date)).transform(i),w=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(i),x=e().min(2,"Title must be at least 2 characters").max(50,"Title must be less than 50 characters").transform(i),B=a=>e().test("min","Enter a valid date",(e=>new Date(e)>=new Date("1902-01-01"))).test("age",`${a} must be at least 18 years old`,(e=>{const a=new Date(e),t=new Date;return t.setFullYear(t.getFullYear()-18),a<=t})).transform(i),g=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),$=e().matches(d,"Enter valid percentage").test("min","Percentage must be at least 0",(e=>!e||parseFloat(e)>=0)).test("max","Percentage must be at most 100",(e=>!e||parseFloat(e)<=100)).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),I=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),f=e().min(2,"City must be at least 2 characters").max(50,"City must be less than 50 characters").transform(i),D=e().oneOf(a.map((e=>e.value)),"Enter a 2-letter state abbreviation, such as CA").transform(i),C=e().matches(/^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$/,"Enter valid postal code").transform(i),j=e().matches(d,"Enter valid revenue").transform(i),q=e().matches(d,"Enter valid payment volume").transform(i),P=e().oneOf(r.map((e=>e.value)),"Select when service is received").transform(i),Z=e().transform(i),_=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),T=e().oneOf(n.map((e=>e.value)),"Select account type").transform(i),F=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),O=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 a=Array.from(String(e),Number);return 9===a.length&&0==(3*(a[0]+a[3]+a[6])+7*(a[1]+a[4]+a[7])+(a[2]+a[5]+a[8]))%10})(e))).transform(i);export{F as A,T as B,z as C,_ as D,d as E,O as F,c as a,h as b,m as c,A as d,u as e,P as f,q as g,f as h,v as i,y as j,N as k,I as l,S as m,$ as n,Z as o,o as p,B as q,j as r,g as s,E as t,x as u,w as v,b as w,p as x,C as y,D as z}
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-CV0Pyo1O.js";import{ag as r,ah as a,ai as n}from"./p-DrquDBSk.js";const o=(o,t)=>s("button",Object.assign({class:`btn btn-${o.variant}`,onClick:o.clickHandler,part:`${{primary:a,secondary:r}[o.variant]} ${o.isLoading?n:""}`},o),o.isLoading?s("div",{class:"spinner-border spinner-border-sm",role:"status",part:"button-spinner"},s("span",{class:"visually-hidden"},"Loading...")):t);export{o as B}