@justifi/webcomponents 5.7.0 → 5.7.2

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 (515) hide show
  1. package/dist/cjs/{ApiNew-C8nf_gS9.js → Api-Dp4CW5K6.js} +1 -1
  2. package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
  3. package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-TZnRz3-3.js} +1 -1
  4. package/dist/cjs/{Payment-CQCmj3Ck.js → Document-Qt0qiXeh.js} +58 -1
  5. package/dist/cjs/{Refund-CpurRc4w.js → Refund-BDFOEJv_.js} +2 -1
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +12 -13
  7. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -10
  8. package/dist/cjs/bank-account-form_9.cjs.entry.js +35 -25
  9. package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-JlysTRE3.js} +1 -1
  10. package/dist/cjs/business-details-core.cjs.entry.js +1 -2
  11. package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
  12. package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BksYFWls.js} +1 -1
  13. package/dist/cjs/{business.service-yVtplFhh.js → business.service-DMIMZpx4.js} +9 -2
  14. package/dist/cjs/{check-pkg-version-BYKcQDik.js → check-pkg-version-hqYwYpQq.js} +13 -3
  15. package/dist/cjs/{checkout.service-Dd2AbBn2.js → checkout.service-DKH8NODe.js} +9 -2
  16. package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -8
  17. package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-Cj2iSB_P.js} +1 -1
  18. package/dist/cjs/custom-popper_4.cjs.entry.js +4 -4
  19. package/dist/cjs/{dispute.service-C0J-Wh-Y.js → dispute.service-8j6tLV4i.js} +9 -2
  20. package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
  21. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  22. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  23. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  24. package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
  25. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  27. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  28. package/dist/cjs/{get-business-DHg5rpse.js → get-business-BJrtsomz.js} +1 -1
  29. package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-MM1u5jMc.js} +8 -6
  30. package/dist/cjs/{get-subaccounts-CquZS5kP.js → get-subaccounts-CkjWYxIU.js} +9 -7
  31. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  32. package/dist/cjs/iframe-input.cjs.entry.js +4 -4
  33. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -11
  34. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -15
  35. package/dist/cjs/justifi-business-details.cjs.entry.js +22 -10
  36. package/dist/cjs/justifi-business-form.cjs.entry.js +19 -18
  37. package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
  38. package/dist/cjs/justifi-checkout.cjs.entry.js +18 -8
  39. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -7
  40. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +20 -16
  41. package/dist/cjs/justifi-details.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-dispute-management.cjs.entry.js +15 -7
  43. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +17 -7
  44. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +19 -10
  45. package/dist/cjs/justifi-order-terminals.cjs.entry.js +20 -16
  46. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -8
  47. package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -11
  48. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +18 -8
  49. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +18 -14
  50. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
  51. package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -15
  52. package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -12
  53. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +18 -14
  54. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -15
  56. package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -14
  57. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -2
  58. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +20 -23
  59. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -8
  60. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +21 -14
  61. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -7
  62. package/dist/cjs/justifi-terminals-list.cjs.entry.js +19 -15
  63. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +19 -13
  64. package/dist/cjs/loader.cjs.js +1 -1
  65. package/dist/cjs/{package-CX6Njc5t.js → package-BCOEGxFC.js} +1 -1
  66. package/dist/cjs/payment-details-core.cjs.entry.js +10 -10
  67. package/dist/cjs/{payment.service-BvTU2Orj.js → payment.service-CCxGhTwZ.js} +9 -2
  68. package/dist/cjs/payments-list-core.cjs.entry.js +12 -9
  69. package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-BR97ybd6.js} +1 -1
  70. package/dist/cjs/payout-details-core.cjs.entry.js +5 -5
  71. package/dist/cjs/{payout.service-C99pgxvg.js → payout.service-CtphIhUK.js} +9 -2
  72. package/dist/cjs/payouts-list-core.cjs.entry.js +12 -9
  73. package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-DMcQiC1g.js} +1 -1
  74. package/dist/cjs/{schema-validations-p4OCdblz.js → schema-validations-BUor-ySb.js} +6 -7
  75. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +12 -9
  76. package/dist/cjs/{terminal-orders-table-BeeUTKtj.js → terminal-orders-table-D-CLcZws.js} +7 -5
  77. package/dist/cjs/{terminal.service-DEGcoaCb.js → terminal.service-Dv_WJkue.js} +9 -2
  78. package/dist/cjs/terminals-list-core.cjs.entry.js +12 -9
  79. package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-BEJ6sF7w.js} +1 -1
  80. package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
  81. package/dist/cjs/webcomponents.cjs.js +1 -1
  82. package/dist/collection/api/Analytics.js +3 -0
  83. package/dist/collection/api/Api.js +23 -12
  84. package/dist/collection/api/Business.js +3 -1
  85. package/dist/collection/api/Payment.js +1 -0
  86. package/dist/collection/api/Payout.js +1 -0
  87. package/dist/collection/api/index.js +5 -1
  88. package/dist/collection/api/services/analytics.service.js +1 -1
  89. package/dist/collection/api/services/business.service.js +1 -1
  90. package/dist/collection/api/services/checkout.service.js +1 -1
  91. package/dist/collection/api/services/dispute.service.js +1 -1
  92. package/dist/collection/api/services/insurance.service.js +5 -8
  93. package/dist/collection/api/services/payment.service.js +1 -1
  94. package/dist/collection/api/services/payout.service.js +1 -1
  95. package/dist/collection/api/services/provision.service.js +1 -1
  96. package/dist/collection/api/services/refund.service.js +1 -1
  97. package/dist/collection/api/services/reports.service.js +3 -3
  98. package/dist/collection/api/services/subaccounts.service.js +1 -1
  99. package/dist/collection/api/services/terminal.service.js +1 -1
  100. package/dist/collection/api/services/terminal_orders.service.js +1 -1
  101. package/dist/collection/collection-manifest.json +1 -1
  102. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
  103. package/dist/collection/components/business-details/business-details-core.js +1 -2
  104. package/dist/collection/components/business-details/business-details.js +13 -4
  105. package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
  106. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
  107. package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
  108. package/dist/collection/components/business-forms/business-form/business-form.js +3 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
  110. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -4
  111. package/dist/collection/components/business-forms/schemas/schema-validations.js +6 -7
  112. package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
  113. package/dist/collection/components/checkout/checkout.js +5 -3
  114. package/dist/collection/components/checkout/new-payment-method.js +17 -6
  115. package/dist/collection/components/checkout/payment-method-options.js +4 -5
  116. package/dist/collection/components/checkouts-list/checkouts-list.js +4 -2
  117. package/dist/collection/components/dispute-management/dispute-management.js +3 -2
  118. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
  119. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
  120. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
  121. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
  122. package/dist/collection/components/order-terminals/order-terminals.js +6 -1
  123. package/dist/collection/components/payment-details/payment-details-core.js +9 -8
  124. package/dist/collection/components/payment-details/payment-details.js +2 -1
  125. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +4 -2
  126. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  127. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  128. package/dist/collection/components/payments-list/payments-list.js +4 -2
  129. package/dist/collection/components/payout-details/payout-details-core.js +4 -3
  130. package/dist/collection/components/payout-details/payout-details.js +3 -1
  131. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +4 -2
  132. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  133. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  134. package/dist/collection/components/payouts-list/payouts-list.js +4 -2
  135. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  136. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  137. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -1
  138. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  139. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  140. package/dist/collection/components/terminals-list/terminals-list.js +4 -2
  141. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +9 -5
  142. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  143. package/dist/collection/ui-components/details/details.js +2 -2
  144. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  145. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  146. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  147. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  148. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  149. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  150. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  151. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  152. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  153. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  154. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  155. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  156. package/dist/collection/utils/utils.js +3 -0
  157. package/dist/docs.json +85 -78
  158. package/dist/esm/{ApiNew-KYhsw8Nv.js → Api-cgKcLG0y.js} +1 -1
  159. package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
  160. package/dist/esm/{Checkout-Dfpql997.js → Checkout-B9LrTq63.js} +1 -1
  161. package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
  162. package/dist/esm/{Payment-BADkZFaz.js → Document-DvWsQBM6.js} +58 -3
  163. package/dist/esm/{Refund-DOvd7RJp.js → Refund-zZewCvey.js} +2 -1
  164. package/dist/esm/additional-questions-details_5.entry.js +12 -13
  165. package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -10
  166. package/dist/esm/bank-account-form_9.entry.js +28 -18
  167. package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-CBUm3D7O.js} +1 -1
  168. package/dist/esm/business-details-core.entry.js +1 -2
  169. package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
  170. package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-CntGz8jo.js} +1 -1
  171. package/dist/esm/{business.service-_645Z23O.js → business.service-BWivPbyO.js} +8 -1
  172. package/dist/esm/{check-pkg-version-Dh7UNmHL.js → check-pkg-version-BykGn7tx.js} +12 -2
  173. package/dist/esm/{checkout.service-7FGjq0rO.js → checkout.service-Bh-Q24Cr.js} +8 -1
  174. package/dist/esm/checkouts-list-core.entry.js +11 -8
  175. package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-DcVkD83l.js} +1 -1
  176. package/dist/esm/custom-popper_4.entry.js +4 -4
  177. package/dist/esm/{dispute.service-lJlAFuE6.js → dispute.service-1AYcALSg.js} +8 -1
  178. package/dist/esm/form-alert_5.entry.js +2 -2
  179. package/dist/esm/form-control-checkbox.entry.js +2 -2
  180. package/dist/esm/form-control-date.entry.js +2 -2
  181. package/dist/esm/form-control-file-v2_2.entry.js +3 -3
  182. package/dist/esm/form-control-monetary.entry.js +3 -3
  183. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  184. package/dist/esm/form-control-number.entry.js +2 -2
  185. package/dist/esm/form-control-radio.entry.js +2 -2
  186. package/dist/esm/{get-business-CIKToQur.js → get-business-GEPTefIj.js} +1 -1
  187. package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-DXhXxFPr.js} +7 -5
  188. package/dist/esm/{get-subaccounts-DIJtLFsb.js → get-subaccounts-CtHj1UM6.js} +8 -6
  189. package/dist/esm/gross-payment-chart-core.entry.js +1 -1
  190. package/dist/esm/iframe-input.entry.js +4 -4
  191. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -11
  192. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +13 -15
  193. package/dist/esm/justifi-business-details.entry.js +23 -11
  194. package/dist/esm/justifi-business-form.entry.js +19 -18
  195. package/dist/esm/justifi-checkout-core.entry.js +2 -2
  196. package/dist/esm/justifi-checkout.entry.js +18 -8
  197. package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -7
  198. package/dist/esm/justifi-checkouts-list.entry.js +20 -16
  199. package/dist/esm/justifi-details.entry.js +2 -2
  200. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  201. package/dist/esm/justifi-dispute-management.entry.js +16 -8
  202. package/dist/esm/justifi-dispute-notification_3.entry.js +17 -7
  203. package/dist/esm/justifi-gross-payment-chart.entry.js +19 -10
  204. package/dist/esm/justifi-order-terminals.entry.js +20 -16
  205. package/dist/esm/justifi-owner-form_3.entry.js +12 -8
  206. package/dist/esm/justifi-payment-details.entry.js +15 -12
  207. package/dist/esm/justifi-payment-provisioning.entry.js +17 -7
  208. package/dist/esm/justifi-payment-transactions-list.entry.js +18 -14
  209. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  210. package/dist/esm/justifi-payments-list.entry.js +18 -14
  211. package/dist/esm/justifi-payout-details.entry.js +16 -12
  212. package/dist/esm/justifi-payout-transactions-list.entry.js +18 -14
  213. package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
  214. package/dist/esm/justifi-payouts-list.entry.js +19 -15
  215. package/dist/esm/justifi-refund-payment.entry.js +15 -13
  216. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -2
  217. package/dist/esm/justifi-season-interruption-insurance.entry.js +20 -23
  218. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -8
  219. package/dist/esm/justifi-terminal-orders-list.entry.js +20 -13
  220. package/dist/esm/justifi-terminals-list-filters.entry.js +10 -7
  221. package/dist/esm/justifi-terminals-list.entry.js +19 -15
  222. package/dist/esm/justifi-tokenize-payment-method.entry.js +19 -13
  223. package/dist/esm/loader.js +1 -1
  224. package/dist/esm/{package-DLLK41AX.js → package-BjMTOtI1.js} +1 -1
  225. package/dist/esm/payment-details-core.entry.js +10 -10
  226. package/dist/esm/{payment.service-DdCJ1Dc7.js → payment.service-2afJc31y.js} +8 -1
  227. package/dist/esm/payments-list-core.entry.js +12 -9
  228. package/dist/esm/{payments-table-BBf5fV74.js → payments-table-B8316Kqz.js} +1 -1
  229. package/dist/esm/payout-details-core.entry.js +5 -5
  230. package/dist/esm/{payout.service-G1Isezyi.js → payout.service-Bd8Tc7-Q.js} +8 -1
  231. package/dist/esm/payouts-list-core.entry.js +12 -9
  232. package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-Ip10eH4Q.js} +1 -1
  233. package/dist/esm/{schema-validations-BsbYeDDR.js → schema-validations-C7D5tPzq.js} +6 -7
  234. package/dist/esm/terminal-orders-list-core.entry.js +12 -9
  235. package/dist/esm/{terminal-orders-table-BlT9YrFD.js → terminal-orders-table-CCJT7oq4.js} +7 -5
  236. package/dist/esm/{terminal.service-aFe-O3PC.js → terminal.service-8kwGru35.js} +8 -1
  237. package/dist/esm/terminals-list-core.entry.js +12 -9
  238. package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-cMkKUVff.js} +1 -1
  239. package/dist/esm/{utils-BWcTxbSg.js → utils-DB5fh6Iv.js} +3 -0
  240. package/dist/esm/webcomponents.js +1 -1
  241. package/dist/module/Api.js +23 -11
  242. package/dist/module/Business.js +3 -1
  243. package/dist/module/Checkout.js +22 -2
  244. package/dist/module/Payment.js +59 -3
  245. package/dist/module/Refund.js +2 -1
  246. package/dist/module/additional-questions-details2.js +3 -4
  247. package/dist/module/bank-account-document-inputs.js +2 -1
  248. package/dist/module/billing-form.js +4 -3
  249. package/dist/module/business-additional-questions-form-step.js +1 -1
  250. package/dist/module/business-bank-account-form-step-core.js +2 -2
  251. package/dist/module/business-bank-account-form-step.js +3 -2
  252. package/dist/module/business-core-info-form-step.js +1 -1
  253. package/dist/module/business-details-core2.js +11 -7
  254. package/dist/module/business-documents-on-file2.js +1 -1
  255. package/dist/module/business-owners-form-step.js +1 -1
  256. package/dist/module/business-representative-form-step.js +1 -1
  257. package/dist/module/business-terms-conditions-form-step.js +6 -7
  258. package/dist/module/business.service.js +7 -1
  259. package/dist/module/check-pkg-version.js +10 -1
  260. package/dist/module/checkout-core.js +2 -3
  261. package/dist/module/checkout.service.js +7 -1
  262. package/dist/module/checkouts-list-core2.js +3 -2
  263. package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
  264. package/dist/module/core-info-details.js +6 -0
  265. package/dist/module/core-info-details2.js +34 -0
  266. package/dist/module/custom-popper2.js +2 -2
  267. package/dist/module/details.js +2 -2
  268. package/dist/module/dispute-management-core.js +1 -1
  269. package/dist/module/dispute-notification.js +1 -1
  270. package/dist/module/dispute-response-actions.js +7 -2
  271. package/dist/module/dispute-response.js +5 -3
  272. package/dist/module/form-control-checkbox2.js +2 -2
  273. package/dist/module/form-control-date2.js +2 -2
  274. package/dist/module/form-control-file-v22.js +1 -1
  275. package/dist/module/form-control-file2.js +2 -2
  276. package/dist/module/form-control-monetary2.js +3 -3
  277. package/dist/module/form-control-number-masked2.js +2 -2
  278. package/dist/module/form-control-number.js +2 -2
  279. package/dist/module/form-control-radio2.js +2 -2
  280. package/dist/module/form-control-text2.js +2 -2
  281. package/dist/module/form-control-textarea2.js +2 -2
  282. package/dist/module/get-business.js +1 -1
  283. package/dist/module/get-payment-details.js +4 -3
  284. package/dist/module/get-payout-csv.js +1 -1
  285. package/dist/module/get-subaccounts.js +5 -4
  286. package/dist/module/gross-payment-chart-core2.js +1 -1
  287. package/dist/module/hidden-input2.js +1 -1
  288. package/dist/module/iframe-input2.js +3 -3
  289. package/dist/module/justifi-business-details.js +24 -11
  290. package/dist/module/justifi-business-form.js +5 -3
  291. package/dist/module/justifi-checkout.js +6 -4
  292. package/dist/module/justifi-checkouts-list-filters.js +3 -2
  293. package/dist/module/justifi-checkouts-list.js +7 -4
  294. package/dist/module/justifi-dispute-management.js +5 -4
  295. package/dist/module/justifi-gross-payment-chart.js +11 -4
  296. package/dist/module/justifi-order-terminals.js +8 -3
  297. package/dist/module/justifi-payment-details.js +3 -2
  298. package/dist/module/justifi-payment-provisioning.js +11 -4
  299. package/dist/module/justifi-payment-transactions-list.js +7 -4
  300. package/dist/module/justifi-payments-list-filters.js +2 -2
  301. package/dist/module/justifi-payments-list.js +8 -5
  302. package/dist/module/justifi-payout-details.js +6 -3
  303. package/dist/module/justifi-payout-transactions-list.js +7 -5
  304. package/dist/module/justifi-payouts-list-filters.js +2 -2
  305. package/dist/module/justifi-payouts-list.js +7 -4
  306. package/dist/module/justifi-refund-payment.js +5 -4
  307. package/dist/module/justifi-season-interruption-insurance.js +10 -14
  308. package/dist/module/justifi-terminal-orders-list-filters.js +4 -3
  309. package/dist/module/justifi-terminal-orders-list.js +10 -4
  310. package/dist/module/justifi-terminals-list-filters.js +3 -2
  311. package/dist/module/justifi-terminals-list.js +7 -4
  312. package/dist/module/justifi-tokenize-payment-method.js +10 -5
  313. package/dist/module/legal-address-details2.js +3 -3
  314. package/dist/module/legal-address-form-step.js +1 -1
  315. package/dist/module/new-payment-method.js +15 -4
  316. package/dist/module/owner-details2.js +1 -1
  317. package/dist/module/package.js +1 -1
  318. package/dist/module/payment-details-core2.js +10 -9
  319. package/dist/module/payment-method-options.js +2 -3
  320. package/dist/module/payment-provisioning-actions.js +1 -1
  321. package/dist/module/payment-provisioning-core.js +1 -1
  322. package/dist/module/payment.service.js +7 -1
  323. package/dist/module/payments-list-core2.js +3 -2
  324. package/dist/module/payout-details-core2.js +5 -4
  325. package/dist/module/payout.service.js +7 -1
  326. package/dist/module/payouts-list-core2.js +4 -3
  327. package/dist/module/representative-details2.js +4 -4
  328. package/dist/module/schema-validations.js +4 -5
  329. package/dist/module/season-interruption-insurance-core.js +6 -3
  330. package/dist/module/sezzle-payment-method.js +1 -1
  331. package/dist/module/terminal-orders-list-core2.js +3 -2
  332. package/dist/module/terminal.service.js +7 -1
  333. package/dist/module/terminals-list-core2.js +3 -2
  334. package/dist/module/utils2.js +4 -1
  335. package/dist/module/utils4.js +1 -1
  336. package/dist/types/api/Api.d.ts +41 -35
  337. package/dist/types/api/Payment.d.ts +2 -0
  338. package/dist/types/api/Payout.d.ts +2 -0
  339. package/dist/types/api/index.d.ts +5 -1
  340. package/dist/types/api/services/business.service.d.ts +1 -5
  341. package/dist/types/api/services/dispute.service.d.ts +1 -2
  342. package/dist/types/api/services/payout.service.d.ts +1 -2
  343. package/dist/types/api/services/provision.service.d.ts +1 -1
  344. package/dist/types/api/services/reports.service.d.ts +1 -2
  345. package/dist/types/api/services/subaccounts.service.d.ts +1 -2
  346. package/dist/types/components/business-details/business-details.d.ts +1 -0
  347. package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
  348. package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
  349. package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
  350. package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
  351. package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
  352. package/dist/types/components/order-terminals/order-terminals.d.ts +1 -0
  353. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
  354. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -0
  355. package/dist/types/components.d.ts +21 -21
  356. package/dist/types/utils/utils.d.ts +1 -1
  357. package/dist/webcomponents/p-10d41e17.entry.js +1 -0
  358. package/dist/webcomponents/{p-b2192f8b.entry.js → p-1678e9e3.entry.js} +1 -1
  359. package/dist/webcomponents/p-16d29d0b.entry.js +1 -0
  360. package/dist/webcomponents/{p-8224e3c2.entry.js → p-19b9c96a.entry.js} +1 -1
  361. package/dist/webcomponents/p-22a0b397.entry.js +1 -0
  362. package/dist/webcomponents/p-292da2d4.entry.js +1 -0
  363. package/dist/webcomponents/p-2c7ae3ac.entry.js +1 -0
  364. package/dist/webcomponents/p-2c8d7aa9.entry.js +1 -0
  365. package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
  366. package/dist/webcomponents/p-33b23638.entry.js +1 -0
  367. package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
  368. package/dist/webcomponents/p-40f7e3af.entry.js +1 -0
  369. package/dist/webcomponents/p-4680f931.entry.js +1 -0
  370. package/dist/webcomponents/p-4a070b7a.entry.js +1 -0
  371. package/dist/webcomponents/p-4b51a896.entry.js +1 -0
  372. package/dist/webcomponents/p-4f8b9b99.entry.js +1 -0
  373. package/dist/webcomponents/p-57c89023.entry.js +1 -0
  374. package/dist/webcomponents/p-57fc593a.entry.js +1 -0
  375. package/dist/webcomponents/{p-9c1a79c5.entry.js → p-59abf1de.entry.js} +1 -1
  376. package/dist/webcomponents/p-5d81f36e.entry.js +1 -0
  377. package/dist/webcomponents/p-5df5aa41.entry.js +1 -0
  378. package/dist/webcomponents/p-70c498d4.entry.js +1 -0
  379. package/dist/webcomponents/p-722c5e42.entry.js +1 -0
  380. package/dist/webcomponents/{p-d2dc6f22.entry.js → p-758ce5e5.entry.js} +4 -4
  381. package/dist/webcomponents/p-77896e7b.entry.js +1 -0
  382. package/dist/webcomponents/p-77ac321c.entry.js +1 -0
  383. package/dist/webcomponents/p-7d3cf734.entry.js +1 -0
  384. package/dist/webcomponents/p-8183c2d1.entry.js +1 -0
  385. package/dist/webcomponents/p-8ad67f87.entry.js +1 -0
  386. package/dist/webcomponents/p-8c107267.entry.js +1 -0
  387. package/dist/webcomponents/{p-32345016.entry.js → p-935bbc62.entry.js} +1 -1
  388. package/dist/webcomponents/p-93df56e1.entry.js +1 -0
  389. package/dist/webcomponents/p-99b080d9.entry.js +1 -0
  390. package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
  391. package/dist/webcomponents/p-BR7flk4G.js +1 -0
  392. package/dist/webcomponents/p-BjMTOtI1.js +1 -0
  393. package/dist/webcomponents/p-Bk4gk-f7.js +1 -0
  394. package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
  395. package/dist/webcomponents/{p-CpTwq2jw.js → p-BnE7qgLh.js} +1 -1
  396. package/dist/webcomponents/{p-d-_oUZor.js → p-C1sOJl-_.js} +1 -1
  397. package/dist/webcomponents/p-COcul8pX.js +1 -0
  398. package/dist/webcomponents/p-CaGOSFHG.js +1 -0
  399. package/dist/webcomponents/p-Cm_0sqXz.js +1 -0
  400. package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
  401. package/dist/webcomponents/p-Cx60eQXT.js +1 -0
  402. package/dist/webcomponents/{p-OSmuQKbK.js → p-D2ZiLcDE.js} +1 -1
  403. package/dist/webcomponents/p-DClC2nMO.js +1 -0
  404. package/dist/webcomponents/p-DR89sFne.js +1 -0
  405. package/dist/webcomponents/{p-ByRPlUBS.js → p-DnB1x5JE.js} +1 -1
  406. package/dist/webcomponents/p-DvhDilDP.js +1 -0
  407. package/dist/webcomponents/{p-BjB_yKBJ.js → p-DzFysjCc.js} +1 -1
  408. package/dist/webcomponents/{p-DvHZ2jYI.js → p-HBDBB6lL.js} +1 -1
  409. package/dist/webcomponents/p-_pH3Hg4P.js +1 -0
  410. package/dist/webcomponents/p-a0662195.entry.js +1 -0
  411. package/dist/webcomponents/{p-82515f70.entry.js → p-a136ff22.entry.js} +1 -1
  412. package/dist/webcomponents/p-a33cfcfe.entry.js +1 -0
  413. package/dist/webcomponents/p-a6722f44.entry.js +1 -0
  414. package/dist/webcomponents/{p-9dae8152.entry.js → p-a8119fda.entry.js} +1 -1
  415. package/dist/webcomponents/p-a94952f6.entry.js +1 -0
  416. package/dist/webcomponents/p-abdae97a.entry.js +1 -0
  417. package/dist/webcomponents/p-af09b6ee.entry.js +1 -0
  418. package/dist/webcomponents/p-b0d3aab7.entry.js +1 -0
  419. package/dist/webcomponents/p-b1586aa2.entry.js +1 -0
  420. package/dist/webcomponents/p-c01544c3.entry.js +1 -0
  421. package/dist/webcomponents/p-c3c7be24.entry.js +1 -0
  422. package/dist/webcomponents/p-c5628e09.entry.js +1 -0
  423. package/dist/webcomponents/p-c5b6b76f.entry.js +1 -0
  424. package/dist/webcomponents/p-c6490254.entry.js +1 -0
  425. package/dist/webcomponents/p-ceefc483.entry.js +1 -0
  426. package/dist/webcomponents/p-clwP6zk3.js +1 -0
  427. package/dist/webcomponents/{p-774eee26.entry.js → p-d8b8b17c.entry.js} +1 -1
  428. package/dist/webcomponents/p-e2bfdba5.entry.js +1 -0
  429. package/dist/webcomponents/p-e73fe424.entry.js +1 -0
  430. package/dist/webcomponents/{p-CegkOiUz.js → p-eHhqPyVW.js} +1 -1
  431. package/dist/webcomponents/p-f23d4fdb.entry.js +1 -0
  432. package/dist/webcomponents/p-ffd197c2.entry.js +1 -0
  433. package/dist/webcomponents/p-gZGxqQgQ.js +1 -0
  434. package/dist/webcomponents/p-l3uWWMRW.js +1 -0
  435. package/dist/webcomponents/p-r__elyG4.js +1 -0
  436. package/dist/webcomponents/{p-82kiZkHt.js → p-uSM1EMk-.js} +1 -1
  437. package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
  438. package/dist/webcomponents/webcomponents.esm.js +1 -1
  439. package/package.json +1 -1
  440. package/dist/cjs/Api-KMweahmp.js +0 -74
  441. package/dist/cjs/Document-rXGBUaOh.js +0 -58
  442. package/dist/collection/api/ApiNew.js +0 -82
  443. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
  444. package/dist/esm/Api-C9CDE-UM.js +0 -72
  445. package/dist/esm/Document-Ct-uNz2r.js +0 -55
  446. package/dist/module/ApiNew.js +0 -84
  447. package/dist/module/ComponentError.js +0 -21
  448. package/dist/module/Dispute.js +0 -57
  449. package/dist/module/generic-info-details.js +0 -6
  450. package/dist/module/generic-info-details2.js +0 -34
  451. package/dist/types/api/ApiNew.d.ts +0 -61
  452. package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
  453. package/dist/webcomponents/p-05138b5d.entry.js +0 -1
  454. package/dist/webcomponents/p-0661622e.entry.js +0 -1
  455. package/dist/webcomponents/p-0a4abfba.entry.js +0 -1
  456. package/dist/webcomponents/p-0d73af88.entry.js +0 -1
  457. package/dist/webcomponents/p-107fdd99.entry.js +0 -1
  458. package/dist/webcomponents/p-12ea3a21.entry.js +0 -1
  459. package/dist/webcomponents/p-13a56c04.entry.js +0 -1
  460. package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
  461. package/dist/webcomponents/p-2ce8e7ac.entry.js +0 -1
  462. package/dist/webcomponents/p-357e1077.entry.js +0 -1
  463. package/dist/webcomponents/p-3a691b9a.entry.js +0 -1
  464. package/dist/webcomponents/p-3adEM48l.js +0 -1
  465. package/dist/webcomponents/p-3bb94f41.entry.js +0 -1
  466. package/dist/webcomponents/p-460eae73.entry.js +0 -1
  467. package/dist/webcomponents/p-48d84a6f.entry.js +0 -1
  468. package/dist/webcomponents/p-4a3ee65c.entry.js +0 -1
  469. package/dist/webcomponents/p-58f415f4.entry.js +0 -1
  470. package/dist/webcomponents/p-5ff7f253.entry.js +0 -1
  471. package/dist/webcomponents/p-6334c2bc.entry.js +0 -1
  472. package/dist/webcomponents/p-6780e07e.entry.js +0 -1
  473. package/dist/webcomponents/p-6a3a8a7a.entry.js +0 -1
  474. package/dist/webcomponents/p-76d1a604.entry.js +0 -1
  475. package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
  476. package/dist/webcomponents/p-833576ca.entry.js +0 -1
  477. package/dist/webcomponents/p-83d4ac72.entry.js +0 -1
  478. package/dist/webcomponents/p-AVaenhw9.js +0 -1
  479. package/dist/webcomponents/p-B1ubyLhU.js +0 -1
  480. package/dist/webcomponents/p-BBsCnePk.js +0 -1
  481. package/dist/webcomponents/p-BHbsXXRt.js +0 -1
  482. package/dist/webcomponents/p-Bxs6fi7a.js +0 -1
  483. package/dist/webcomponents/p-C0piBrye.js +0 -1
  484. package/dist/webcomponents/p-CkrVt-dj.js +0 -1
  485. package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
  486. package/dist/webcomponents/p-Cy4aIACq.js +0 -1
  487. package/dist/webcomponents/p-D5Sh88BE.js +0 -1
  488. package/dist/webcomponents/p-DLLK41AX.js +0 -1
  489. package/dist/webcomponents/p-Da_GeglS.js +0 -1
  490. package/dist/webcomponents/p-Dgxn_B6C.js +0 -1
  491. package/dist/webcomponents/p-DmIOVniD.js +0 -1
  492. package/dist/webcomponents/p-DqOTECuf.js +0 -1
  493. package/dist/webcomponents/p-Dz-Ft5b1.js +0 -1
  494. package/dist/webcomponents/p-a5af8397.entry.js +0 -1
  495. package/dist/webcomponents/p-a61f9b3c.entry.js +0 -1
  496. package/dist/webcomponents/p-a6fb7730.entry.js +0 -1
  497. package/dist/webcomponents/p-aTcDcUMZ.js +0 -1
  498. package/dist/webcomponents/p-aa954ce9.entry.js +0 -1
  499. package/dist/webcomponents/p-ac4ac963.entry.js +0 -1
  500. package/dist/webcomponents/p-ae7c6b81.entry.js +0 -1
  501. package/dist/webcomponents/p-ae8c3dab.entry.js +0 -1
  502. package/dist/webcomponents/p-afa54e39.entry.js +0 -1
  503. package/dist/webcomponents/p-b061c21c.entry.js +0 -1
  504. package/dist/webcomponents/p-b4d857b2.entry.js +0 -1
  505. package/dist/webcomponents/p-bb45705e.entry.js +0 -1
  506. package/dist/webcomponents/p-c2f3d7da.entry.js +0 -1
  507. package/dist/webcomponents/p-c7227fc1.entry.js +0 -1
  508. package/dist/webcomponents/p-c8f70818.entry.js +0 -1
  509. package/dist/webcomponents/p-c9288f47.entry.js +0 -1
  510. package/dist/webcomponents/p-d1a440e3.entry.js +0 -1
  511. package/dist/webcomponents/p-dd89c516.entry.js +0 -1
  512. package/dist/webcomponents/p-e39b5ffd.entry.js +0 -1
  513. package/dist/webcomponents/p-e5d35016.entry.js +0 -1
  514. package/dist/webcomponents/p-ebd7753d.entry.js +0 -1
  515. package/dist/webcomponents/p-ec47b7c8.entry.js +0 -1
@@ -1,27 +1,29 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-D6FDxSyt.js';
2
2
  import { c as create$3, a as create$6, F as FormController } from './index.esm-BCNUj0Dx.js';
3
- import { f as formatCurrency } from './utils-BWcTxbSg.js';
3
+ import { f as formatCurrency } from './utils-DB5fh6Iv.js';
4
+ import './config-state-CkKrqnpZ.js';
4
5
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
5
- import './Checkout-Dfpql997.js';
6
+ import './Checkout-B9LrTq63.js';
6
7
  import './Pagination-CLHwhyvu.js';
7
- import './Payment-BADkZFaz.js';
8
- import { R as RefundReasons, g as RefundPayload } from './Refund-DOvd7RJp.js';
9
- import './Document-Ct-uNz2r.js';
8
+ import './Document-DvWsQBM6.js';
9
+ import { R as RefundReasons, g as RefundPayload } from './Refund-zZewCvey.js';
10
+ import './Business-BCoP0TAV.js';
11
+ import './Dispute-BH0Xfn-F.js';
10
12
  import { B as Button } from './button-CjH5C0pG.js';
11
13
  import { S as StyledHost } from './styled-host-C7vaWLiB.js';
12
14
  import './event-types-CZfYo5-1.js';
13
- import { P as PaymentService } from './payment.service-DdCJ1Dc7.js';
14
- import { m as makeGetPaymentDetails } from './get-payment-details-CXiGG9cO.js';
15
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dh7UNmHL.js';
15
+ import { P as PaymentService } from './payment.service-2afJc31y.js';
16
+ import { m as makeGetPaymentDetails } from './get-payment-details-DXhXxFPr.js';
17
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BykGn7tx.js';
16
18
  import { g as getErrorCode, a as getErrorMessage } from './utils-Dccsn9BY.js';
17
- import { A as Api } from './ApiNew-KYhsw8Nv.js';
19
+ import { A as Api } from './Api-cgKcLG0y.js';
18
20
  import { S as Skeleton } from './skeleton-Dlpibtr0.js';
19
21
  import './_commonjsHelpers-BFTU3MAI.js';
20
- import './Dispute-7MWRbTXI.js';
21
- import './parts-BrLVc_85.js';
22
- import './package-DLLK41AX.js';
23
- import './config-state-CkKrqnpZ.js';
24
22
  import './index-Cc3u0uDC.js';
23
+ import './helpers-Mu7LQT-w.js';
24
+ import './state-options-BX8GieXu.js';
25
+ import './parts-BrLVc_85.js';
26
+ import './package-BjMTOtI1.js';
25
27
 
26
28
  const amountValidation = (maxAmount) => {
27
29
  const max = +maxAmount;
@@ -1,5 +1,5 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-D6FDxSyt.js';
2
- import { p as processHTML, f as formatCurrency, r as removeAttribute, h as addAttribute } from './utils-BWcTxbSg.js';
2
+ import { p as processHTML, f as formatCurrency, r as removeAttribute, h as addAttribute } from './utils-DB5fh6Iv.js';
3
3
  import { v as validateInsuranceValues, a as insuranceValues, b as insuranceErrors, H as Header2 } from './insurance-state-CsZbKSgm.js';
4
4
  import { A as text, B as textDanger } from './parts-BrLVc_85.js';
5
5
  import { S as StyledHost } from './styled-host-C7vaWLiB.js';
@@ -113,7 +113,9 @@ const SeasonInterruptionInsuranceCore = class {
113
113
  var _a, _b, _c, _d;
114
114
  if (this.isLoading)
115
115
  return (h(StyledHost, null, h(SeasonInterruptionInsuranceLoading, null)));
116
- return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this) }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this) }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text }))));
116
+ return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this),
117
+ // don't wanna show error message, but need to show the red border
118
+ errorText: this.error ? ' ' : undefined }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this), errorText: this.error ? ' ' : undefined }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text }))));
117
119
  }
118
120
  };
119
121
 
@@ -1,35 +1,33 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-D6FDxSyt.js';
2
- import { A as Api } from './Api-C9CDE-UM.js';
2
+ import { A as Api } from './Api-cgKcLG0y.js';
3
3
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
4
- import './Checkout-Dfpql997.js';
4
+ import './Checkout-B9LrTq63.js';
5
5
  import './Pagination-CLHwhyvu.js';
6
- import './Payment-BADkZFaz.js';
7
- import './Refund-DOvd7RJp.js';
8
- import './Document-Ct-uNz2r.js';
6
+ import './Document-DvWsQBM6.js';
7
+ import './Refund-zZewCvey.js';
8
+ import './Business-BCoP0TAV.js';
9
+ import './Dispute-BH0Xfn-F.js';
9
10
  import { g as getErrorCode, a as getErrorMessage } from './utils-Dccsn9BY.js';
10
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dh7UNmHL.js';
11
- import './utils-BWcTxbSg.js';
12
- import './_commonjsHelpers-BFTU3MAI.js';
13
- import './Dispute-7MWRbTXI.js';
14
- import './package-DLLK41AX.js';
15
- import './ApiNew-KYhsw8Nv.js';
11
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BykGn7tx.js';
16
12
  import './config-state-CkKrqnpZ.js';
17
13
  import './index-Cc3u0uDC.js';
14
+ import './utils-DB5fh6Iv.js';
15
+ import './_commonjsHelpers-BFTU3MAI.js';
16
+ import './helpers-Mu7LQT-w.js';
17
+ import './state-options-BX8GieXu.js';
18
+ import './package-BjMTOtI1.js';
18
19
 
20
+ const api = Api();
19
21
  class InsuranceService {
20
22
  async fetchQuote(authToken, payload) {
21
23
  const endpoint = 'insurance/quotes';
22
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post({
23
- endpoint,
24
- body: payload,
25
- });
24
+ const body = payload;
25
+ return api.post({ endpoint, body, authToken });
26
26
  }
27
27
  async toggleCoverage(authToken, quoteId, payload) {
28
28
  const endpoint = `insurance/quotes/${quoteId}/toggle`;
29
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post({
30
- endpoint,
31
- body: payload,
32
- });
29
+ const body = payload;
30
+ return api.post({ endpoint, body, authToken });
33
31
  }
34
32
  }
35
33
 
@@ -102,9 +100,8 @@ const SeasonInterruptionInsurance = class {
102
100
  this.initializeServiceMethods();
103
101
  }
104
102
  disconnectedCallback() {
105
- if (this.analytics) {
106
- this.analytics.cleanup();
107
- }
103
+ var _a;
104
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
108
105
  }
109
106
  initializeServiceMethods() {
110
107
  if (!this.authToken) {
@@ -125,7 +122,7 @@ const SeasonInterruptionInsurance = class {
125
122
  });
126
123
  }
127
124
  render() {
128
- return (h("justifi-season-interruption-insurance-core", { key: '09686ee78334afa3648039ef1f6edcc307017f02', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
125
+ return (h("justifi-season-interruption-insurance-core", { key: 'e6c2083c20b0f29301d5d8eafc1d269280e96de7', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
129
126
  }
130
127
  };
131
128
 
@@ -3,16 +3,19 @@ import { f as filterParams, p as propsParams, c as clearParams } from './termina
3
3
  import { o as terminalOrdersListFilterMenu, q as orderStatusTerminalOrdersListFilterParam, r as orderTypeTerminalOrdersListFilterParam, u as createdAfterTerminalOrdersListFilterParam, v as createdBeforeTerminalOrdersListFilterParam } from './parts-BrLVc_85.js';
4
4
  import { S as StyledHost } from './styled-host-C7vaWLiB.js';
5
5
  import './event-types-CZfYo5-1.js';
6
- import { c as convertToUTC, a as convertToLocal } from './utils-BWcTxbSg.js';
6
+ import './config-state-CkKrqnpZ.js';
7
+ import { c as convertToUTC, a as convertToLocal } from './utils-DB5fh6Iv.js';
7
8
  import './ComponentError-SdntD1xf.js';
8
- import './Checkout-Dfpql997.js';
9
+ import './Checkout-B9LrTq63.js';
9
10
  import './Pagination-CLHwhyvu.js';
10
- import './Payment-BADkZFaz.js';
11
- import { T as TerminalOrderStatus, a as TerminalOrderType } from './Refund-DOvd7RJp.js';
12
- import './Document-Ct-uNz2r.js';
11
+ import './Document-DvWsQBM6.js';
12
+ import { T as TerminalOrderStatus, a as TerminalOrderType } from './Refund-zZewCvey.js';
13
+ import './Business-BCoP0TAV.js';
14
+ import './Dispute-BH0Xfn-F.js';
13
15
  import './index-Cc3u0uDC.js';
14
16
  import './_commonjsHelpers-BFTU3MAI.js';
15
- import './Dispute-7MWRbTXI.js';
17
+ import './helpers-Mu7LQT-w.js';
18
+ import './state-options-BX8GieXu.js';
16
19
 
17
20
  const TerminalOrdersListFilters = class {
18
21
  constructor(hostRef) {
@@ -58,8 +61,8 @@ const TerminalOrdersListFilters = class {
58
61
  }
59
62
  render() {
60
63
  const filterMenuParams = Object.assign({}, filterParams);
61
- return (h(StyledHost, { key: '09824ee5a8f108e810027f844cb1592acb8292ab' }, h("table-filters-menu", { key: 'bcb67931ca20d8dcf4eaedf8fff22ee3c76f2765', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: '6ad367cbf5be69defb35791da7f606efde26e945', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'd0f5ed58e440ee9ce742f043790df214c49d391c', class: "p-2" }, h("form-control-select", { key: 'd9ce05f33331e44662a39a05822b8a027e5d76f6', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status, disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: 'ffbceaaf5812af61f54abe1a76b7c9c993e1e7fc', class: "p-2" }, h("form-control-select", { key: '9557912144e169bf6060e072686ca2b5e36d6e5e', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type, disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: 'dc87e2699cae6fcb01fcb54790540aca23fd7f3a', class: "p-2" }, h("form-control-date", { key: '0d0385b71ecc3cfc60ee9218a75f546ccc2c9718', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
62
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '4152bb0d8079b019b38a9291df5005211488f21c', class: "p-2" }, h("form-control-date", { key: '24038ef6242a432f9b886a1493841216cfeaae47', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
64
+ return (h(StyledHost, { key: 'e8bd98c43f44e2c562fb4dbe08cf90a9dd8063e4' }, h("table-filters-menu", { key: '8c865c53a9bd45a251ae8eb75d31ab47228ca014', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: 'b415d03966e45cb993c544f6205adc2f3611d5da', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '7b483dd1d2254c8e3d45d6e1af4d45a839f8bdd8', class: "p-2" }, h("form-control-select", { key: '5f929730acb0c28da920f1d283d43108f06e29cb', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status, disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: '05242bf5293256a3214ce11771f1df9d5341a095', class: "p-2" }, h("form-control-select", { key: 'dac5bbd765aed70530801395449463d6f85582fe', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type, disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: '307842201ff7a5367de2857a7a59e612bb0e7976', class: "p-2" }, h("form-control-date", { key: '4dec0bead1d09989b4a1a20c128573c299b84e41', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
65
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '8ed2b9b5287221b8f521f5f05cec5e1808fed19f', class: "p-2" }, h("form-control-date", { key: 'a318ad6e0b426ef14470ee479f48d57b5b00ce2c', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
63
66
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
64
67
  }
65
68
  };
@@ -1,24 +1,26 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-D6FDxSyt.js';
2
2
  import { S as StyledHost } from './styled-host-C7vaWLiB.js';
3
3
  import './event-types-CZfYo5-1.js';
4
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dh7UNmHL.js';
5
- import { d as defaultColumnsKeys } from './terminal-orders-table-BlT9YrFD.js';
6
- import './utils-BWcTxbSg.js';
4
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BykGn7tx.js';
5
+ import { d as defaultColumnsKeys } from './terminal-orders-table-CCJT7oq4.js';
6
+ import './config-state-CkKrqnpZ.js';
7
+ import './utils-DB5fh6Iv.js';
7
8
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
8
- import './Checkout-Dfpql997.js';
9
+ import './Checkout-B9LrTq63.js';
9
10
  import './Pagination-CLHwhyvu.js';
10
- import './Payment-BADkZFaz.js';
11
- import { e as TerminalOrder } from './Refund-DOvd7RJp.js';
12
- import './Document-Ct-uNz2r.js';
11
+ import './Document-DvWsQBM6.js';
12
+ import { e as TerminalOrder } from './Refund-zZewCvey.js';
13
+ import './Business-BCoP0TAV.js';
14
+ import './Dispute-BH0Xfn-F.js';
13
15
  import { g as getErrorCode, a as getErrorMessage } from './utils-Dccsn9BY.js';
14
- import { A as Api } from './ApiNew-KYhsw8Nv.js';
15
- import './package-DLLK41AX.js';
16
+ import { A as Api } from './Api-cgKcLG0y.js';
17
+ import './package-BjMTOtI1.js';
16
18
  import './parts-BrLVc_85.js';
17
19
  import './badge-Du9GTXoB.js';
18
- import './_commonjsHelpers-BFTU3MAI.js';
19
- import './Dispute-7MWRbTXI.js';
20
- import './config-state-CkKrqnpZ.js';
21
20
  import './index-Cc3u0uDC.js';
21
+ import './_commonjsHelpers-BFTU3MAI.js';
22
+ import './helpers-Mu7LQT-w.js';
23
+ import './state-options-BX8GieXu.js';
22
24
 
23
25
  const makeGetTerminalOrders = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
24
26
  var _a, _b;
@@ -77,6 +79,11 @@ const TerminalOrdersList = class {
77
79
  this.analytics = new JustifiAnalytics(this);
78
80
  this.initializeGetData();
79
81
  }
82
+ disconnectedCallback() {
83
+ var _a;
84
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
85
+ }
86
+ ;
80
87
  initializeGetData() {
81
88
  if (this.accountId && this.authToken) {
82
89
  this.getTerminalOrders = makeGetTerminalOrders({
@@ -95,7 +102,7 @@ const TerminalOrdersList = class {
95
102
  }
96
103
  }
97
104
  render() {
98
- return (h(StyledHost, { key: '4ebe88697536863b62a8bd63fac96eb5f93668d0' }, h("terminal-orders-list-core", { key: '6735068496d16cdd4df169708c93534bea78433a', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
105
+ return (h(StyledHost, { key: '3d9d1cf5051c5db194fb740370f655cec0495e07' }, h("terminal-orders-list-core", { key: 'dacc4dacf8c6cf91e9527916667fa5d716fc792a', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
99
106
  }
100
107
  };
101
108
 
@@ -4,16 +4,19 @@ import { f as filterParams, p as propsParams, c as clearParams } from './termina
4
4
  import { w as terminalsListFilterMenu, x as terminalIdTerminalsListFilterParam, y as terminalOrderIdTerminalsListFilterParam, z as terminalStatusTerminalsListFilterParam } from './parts-BrLVc_85.js';
5
5
  import { S as StyledHost } from './styled-host-C7vaWLiB.js';
6
6
  import './event-types-CZfYo5-1.js';
7
- import './utils-BWcTxbSg.js';
7
+ import './config-state-CkKrqnpZ.js';
8
+ import './utils-DB5fh6Iv.js';
8
9
  import './ComponentError-SdntD1xf.js';
9
- import './Checkout-Dfpql997.js';
10
+ import './Checkout-B9LrTq63.js';
10
11
  import './Pagination-CLHwhyvu.js';
11
- import './Payment-BADkZFaz.js';
12
- import { I as ITerminalStatus } from './Refund-DOvd7RJp.js';
13
- import './Document-Ct-uNz2r.js';
12
+ import './Document-DvWsQBM6.js';
13
+ import { I as ITerminalStatus } from './Refund-zZewCvey.js';
14
+ import './Business-BCoP0TAV.js';
15
+ import './Dispute-BH0Xfn-F.js';
14
16
  import './_commonjsHelpers-BFTU3MAI.js';
15
17
  import './index-Cc3u0uDC.js';
16
- import './Dispute-7MWRbTXI.js';
18
+ import './helpers-Mu7LQT-w.js';
19
+ import './state-options-BX8GieXu.js';
17
20
 
18
21
  const TerminalsListFilters = class {
19
22
  constructor(hostRef) {
@@ -47,7 +50,7 @@ const TerminalsListFilters = class {
47
50
  }
48
51
  render() {
49
52
  const filterMenuParams = Object.assign({}, filterParams);
50
- return (h(StyledHost, { key: '12ddae65f38d7d13766f671536759074676f0671' }, h("table-filters-menu", { key: '1834209eb5deabf91cb4bd239b6634e70ec7e7f7', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: 'd78e4d5c268b605c6b2d15166b1a75d8837822e9', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '22e568115b7026d1b42f09065d4308f97fd6ab42', class: "p-2" }, h("form-control-text", { key: '9205a6a68abb526276ea936bb4b0db014d85ff33', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '4939fef16aca8fc3e93c17f0ad489786b7b95636', class: "p-2" }, h("form-control-text", { key: '0ade0882380430f13a763d29866f3079aeb1d40a', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '9080d991225d98d20bd5ec226b3e5b1c01c34d9d', class: "p-2" }, h("form-control-select", { key: '19c31dc742b86ba2c6a8ebdebc79108ee2a4d1d7', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
53
+ return (h(StyledHost, { key: '4d3d629e79524a5af3cdaa53a9cf4495adbb1432' }, h("table-filters-menu", { key: 'd49e21e577afc1a4975b0d860a52937772b65e48', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '0b56a893f0eba5947721b0ca9279b0d2d0e249f3', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '0f037e3d28e052423451b64fc54f551a1e78993c', class: "p-2" }, h("form-control-text", { key: '52fdf6336a67d203ef29ad4d5f3ec53d7046f151', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '8aaabed2e0ba260298cd5ee0a699007d54d7deb3', class: "p-2" }, h("form-control-text", { key: 'a15fd5e5eef01ae360a0961abb64da458a64d04f', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '5111cba84dc8685cde783235217e1be2cad8fd8f', class: "p-2" }, h("form-control-select", { key: '20c7c224ac401cb3a38f96bf25191fd62d0534f9', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
51
54
  }
52
55
  };
53
56
 
@@ -1,24 +1,26 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-D6FDxSyt.js';
2
2
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
3
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dh7UNmHL.js';
4
- import { T as TerminalService } from './terminal.service-aFe-O3PC.js';
5
- import './utils-BWcTxbSg.js';
6
- import './Checkout-Dfpql997.js';
3
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BykGn7tx.js';
4
+ import { T as TerminalService } from './terminal.service-8kwGru35.js';
5
+ import './config-state-CkKrqnpZ.js';
6
+ import './utils-DB5fh6Iv.js';
7
+ import './Checkout-B9LrTq63.js';
7
8
  import './Pagination-CLHwhyvu.js';
8
- import './Payment-BADkZFaz.js';
9
- import { b as Terminal } from './Refund-DOvd7RJp.js';
10
- import './Document-Ct-uNz2r.js';
9
+ import './Document-DvWsQBM6.js';
10
+ import { b as Terminal } from './Refund-zZewCvey.js';
11
+ import './Business-BCoP0TAV.js';
12
+ import './Dispute-BH0Xfn-F.js';
11
13
  import { g as getErrorCode, a as getErrorMessage } from './utils-Dccsn9BY.js';
12
- import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-DIJtLFsb.js';
14
+ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-CtHj1UM6.js';
13
15
  import { S as StyledHost } from './styled-host-C7vaWLiB.js';
14
16
  import './event-types-CZfYo5-1.js';
15
- import { d as defaultColumnsKeys } from './terminals-table-CkWr-6tD.js';
16
- import './package-DLLK41AX.js';
17
- import './ApiNew-KYhsw8Nv.js';
18
- import './config-state-CkKrqnpZ.js';
17
+ import { d as defaultColumnsKeys } from './terminals-table-cMkKUVff.js';
18
+ import './package-BjMTOtI1.js';
19
+ import './Api-cgKcLG0y.js';
19
20
  import './index-Cc3u0uDC.js';
20
21
  import './_commonjsHelpers-BFTU3MAI.js';
21
- import './Dispute-7MWRbTXI.js';
22
+ import './helpers-Mu7LQT-w.js';
23
+ import './state-options-BX8GieXu.js';
22
24
  import './badge-Du9GTXoB.js';
23
25
  import './parts-BrLVc_85.js';
24
26
 
@@ -68,8 +70,10 @@ const TerminalsList = class {
68
70
  this.initializeGetData();
69
71
  }
70
72
  disconnectedCallback() {
71
- this.analytics.cleanup();
73
+ var _a;
74
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
72
75
  }
76
+ ;
73
77
  propChanged() {
74
78
  this.initializeGetData();
75
79
  }
@@ -104,7 +108,7 @@ const TerminalsList = class {
104
108
  }
105
109
  }
106
110
  render() {
107
- return (h(StyledHost, { key: 'f80199e30923fb9a50f66570087d41c5390e20a1' }, h("terminals-list-core", { key: 'ab3ed9809c1c629b3dd8ac5039294fd23b8c16a8', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
111
+ return (h(StyledHost, { key: '8c81823f7a3c613fc1725a8c4fe3438f6186f4fe' }, h("terminals-list-core", { key: '13c38992d9e101955d39065985b6c6b22b5ace9e', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
108
112
  }
109
113
  static get watchers() { return {
110
114
  "accountId": ["propChanged"],
@@ -2,21 +2,23 @@ import { r as registerInstance, c as createEvent, h } from './index-D6FDxSyt.js'
2
2
  import { B as Button } from './button-CjH5C0pG.js';
3
3
  import { S as StyledHost } from './styled-host-C7vaWLiB.js';
4
4
  import './event-types-CZfYo5-1.js';
5
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dh7UNmHL.js';
6
- import './utils-BWcTxbSg.js';
5
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BykGn7tx.js';
6
+ import './config-state-CkKrqnpZ.js';
7
+ import './utils-DB5fh6Iv.js';
7
8
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
8
- import './Checkout-Dfpql997.js';
9
+ import './Checkout-B9LrTq63.js';
9
10
  import './Pagination-CLHwhyvu.js';
10
- import './Payment-BADkZFaz.js';
11
- import './Refund-DOvd7RJp.js';
12
- import './Document-Ct-uNz2r.js';
11
+ import './Document-DvWsQBM6.js';
12
+ import './Refund-zZewCvey.js';
13
+ import './Business-BCoP0TAV.js';
14
+ import './Dispute-BH0Xfn-F.js';
13
15
  import './parts-BrLVc_85.js';
14
- import './package-DLLK41AX.js';
15
- import './ApiNew-KYhsw8Nv.js';
16
- import './config-state-CkKrqnpZ.js';
16
+ import './package-BjMTOtI1.js';
17
+ import './Api-cgKcLG0y.js';
17
18
  import './index-Cc3u0uDC.js';
18
19
  import './_commonjsHelpers-BFTU3MAI.js';
19
- import './Dispute-7MWRbTXI.js';
20
+ import './helpers-Mu7LQT-w.js';
21
+ import './state-options-BX8GieXu.js';
20
22
 
21
23
  const TokenizePaymentMethod = class {
22
24
  constructor(hostRef) {
@@ -30,6 +32,11 @@ const TokenizePaymentMethod = class {
30
32
  checkPkgVersion();
31
33
  this.analytics = new JustifiAnalytics(this);
32
34
  }
35
+ disconnectedCallback() {
36
+ var _a;
37
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
38
+ }
39
+ ;
33
40
  async tokenizePaymentMethod(event) {
34
41
  event && event.preventDefault();
35
42
  this.isLoading = true;
@@ -62,11 +69,10 @@ const TokenizePaymentMethod = class {
62
69
  this.paymentMethodOptionsRef.fillBillingForm(fields);
63
70
  }
64
71
  async validate() {
65
- const { isValid } = await this.paymentMethodOptionsRef.validate();
66
- return { isValid };
72
+ return this.paymentMethodOptionsRef.validate();
67
73
  }
68
74
  render() {
69
- return (h(StyledHost, { key: '793d33a01aea2b2fc0fb450f4cafdb7e9415a368' }, h("form", { key: '39eadbabf4dcdd4c833ddad8660b05be0c104e72' }, h("fieldset", { key: '513803de33328198b00331be2030f51461831fa4' }, h("div", { key: '8546fcdd07ec1e9838bf280e31eaa213c14fcea6', class: "row gy-3" }, h("div", { key: '073430ef8c08858e692728b4afc0bbc9a4a20957', class: "col-12" }, h("justifi-payment-method-options", { key: '096d12f54fcaab8242d1bcff21f2027f3bff6bb8', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: 'dd257cd855231e9cd9ded138373d254cef484d6b', class: "col-12" }, h(Button, { key: '667161dfcb944ca6b62182cf0386be7e8a5fad1f', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
75
+ return (h(StyledHost, { key: '9f12f7a83b2cb06c83694454ea5884bd7392eb83' }, h("form", { key: '0a0a4b4a049aa85863ef5c65313b89ebf58455c5' }, h("fieldset", { key: 'c35ed423483d49615f9ebe500fcef405394f4eb6' }, h("div", { key: '80419e9ca3431d9d75cffc958daab84a2c232f49', class: "row gy-3" }, h("div", { key: 'bd465d8b364c1bc46a6a3dee3fb74087bc087580', class: "col-12" }, h("justifi-payment-method-options", { key: 'c363e501622ef81c78a728ebbd15a3a4cd89867a', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: 'ad252991a12f6d21a012b6422ecaae13412f789b', class: "col-12" }, h(Button, { key: '4bb1dcdfeb71c21d3268c11fabd1ab92b43fca5e', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
70
76
  }
71
77
  };
72
78