@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,11 +1,12 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import { c as configState } from './config-state.js';
2
3
  import { h as convertToLocal } from './utils2.js';
3
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
4
- import './Checkout.js';
4
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import { d as PayoutBalanceTransaction } from './Refund.js';
8
8
  import './Document.js';
9
+ import './Business.js';
9
10
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
10
11
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
11
12
  import { P as PayoutService } from './payout.service.js';
@@ -14,7 +15,6 @@ import { S as StyledHost } from './styled-host.js';
14
15
  import './details.js';
15
16
  import { T as TableClickActions } from './event-types.js';
16
17
  import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
17
- import { c as configState } from './config-state.js';
18
18
  import { d as defineCustomElement$2 } from './pagination-menu2.js';
19
19
 
20
20
  const makeGetPayoutTransactions = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
@@ -136,8 +136,10 @@ const PayoutTransactionsList = /*@__PURE__*/ proxyCustomElement(class PayoutTran
136
136
  this.initializeApi();
137
137
  }
138
138
  disconnectedCallback() {
139
- this.analytics.cleanup();
139
+ var _a;
140
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
140
141
  }
142
+ ;
141
143
  propChanged() {
142
144
  this.initializeApi();
143
145
  }
@@ -189,7 +191,7 @@ const PayoutTransactionsList = /*@__PURE__*/ proxyCustomElement(class PayoutTran
189
191
  return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
190
192
  }
191
193
  render() {
192
- return (h(StyledHost, { key: 'c15333a496ff4f29710524031b91f979fc1040a8' }, h(TableWrapper, { key: '5dda158bb634fedd8be112998c38c5ec1b72b66b' }, h(TableComponent, { key: 'f544eb0dedb71c839acf940495eae56b011beef8' }, h(TableHead, { key: '8f2a6b42184729bbc28267fc4972b4fc30707ecf' }, h(TableHeadRow, { key: '856542645f4a044e50f0ac7b5dafb16d34c17402' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'ea02584be772897876cfbf5118d41a9a05ed334f' }, h(TableLoadingState, { key: 'c1decf54fc792f923bf7eee49dd64d8af9dd6ee8', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '55472bc004d891746153ce7ed8b3e900a9d9da94', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '6a3d87df445734a7c13fd96e8dc067e2df1ae0b0', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'e5654630577e32efeb5243543fd53232827ab824' }, h(TableFootRow, { key: '331ad45703f29590dd1b03370ff431bde665e76d' }, h(TableFootCell, { key: '3c16d50d90c6c491d028a2ccbeaedab439338e77', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '8334f555005446837984ff51dc2b89ea5d7a0cd3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
194
+ return (h(StyledHost, { key: 'd37f96bf4e1d40607d3190791f513df5c1ce02d1' }, h(TableWrapper, { key: 'a6d2b2c342b6286630acb804b93c846ac42eff9b' }, h(TableComponent, { key: 'abcb7a3bbca27973bafdf0a0a1d9316d9e668aa9' }, h(TableHead, { key: 'e79c0ee71e45ca1379e354f939368cacbf1bd74e' }, h(TableHeadRow, { key: 'c64962612a826a5e53c921f43170f1d1ba16399a' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '7b33c299ac42c4e668cb4c967ecc5324ec56ede3' }, h(TableLoadingState, { key: '096000771b0ce2fe37db3329315bd780af9977a1', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '48ff70675d33875b8fdcf7c7ddf9ceed413ca2e8', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '4ffffbd73a18ef281209adbe870383f744d51da5', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '8ba623495a597e10bc8708b9984c9da92e3750a4' }, h(TableFootRow, { key: '01f6405cef206cbaf487013370ccd7c312eca3b5' }, h(TableFootCell, { key: '0b94346d3ed5f431393e2df93f0baa81b8804d2b', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'c7a24d435a90c4f8db5c0f71b1a120b11cd01b7b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
193
195
  }
194
196
  static get watchers() { return {
195
197
  "pagingParams": ["propChanged"],
@@ -36,8 +36,8 @@ const PayoutsListFilters = /*@__PURE__*/ proxyCustomElement(class PayoutsListFil
36
36
  }
37
37
  render() {
38
38
  const filterMenuParams = Object.assign({}, filterParams);
39
- return (h(StyledHost, { key: 'e6670cb708b28330f79512d01d582f7a1930fd3c' }, h("table-filters-menu", { key: '366dd0925c68feb2c8482bc27f63c7591ec38882', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: 'd5de9412726c9c3f51675eeba8ba258094632b99', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '3f693842e14574eb3a056db221dc6521d02c0ba4', class: "p-2" }, h("form-control-date", { key: 'ca0697ab9b42ff0bed8aa0cd6747cde11fdf3ab1', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
40
- convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: 'cc8a71a7de29c82644773d356ef063cbf7f97f2a', class: "p-2" }, h("form-control-date", { key: 'f878e0acedced0ed813a7410243f414ba12c6898', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
39
+ return (h(StyledHost, { key: '42c48bbbfa426540d33c49d5ef927d2da316fda5' }, h("table-filters-menu", { key: '7741ef6667ed7dc6ebbc312f145590939ce1b071', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '0f983dc3e6a735ad12aea940d7663bab98cf623d', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '27faddc94394d5e52de9d1a65a69ecda2f840360', class: "p-2" }, h("form-control-date", { key: '58cd7720a5dbcc31b32151de1402b2c4b09b94de', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
40
+ convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: 'a2a8d153acc9fa8371c8effb4cfd0146e31a3018', class: "p-2" }, h("form-control-date", { key: '9fc58f04079445952586d0913fad92305fa537a8', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
41
41
  convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
42
42
  }
43
43
  }, [1, "justifi-payouts-list-filters", {
@@ -1,13 +1,14 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
2
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
3
3
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
4
4
  import { P as PayoutService } from './payout.service.js';
5
+ import './config-state.js';
5
6
  import './utils2.js';
6
- import './Checkout.js';
7
7
  import './Pagination.js';
8
8
  import './Payment.js';
9
9
  import { P as Payout } from './Refund.js';
10
10
  import './Document.js';
11
+ import './Business.js';
11
12
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
12
13
  import { m as makeGetPayoutCSV } from './get-payout-csv.js';
13
14
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
@@ -65,8 +66,10 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
65
66
  this.initializeGetData();
66
67
  }
67
68
  disconnectedCallback() {
68
- this.analytics.cleanup();
69
+ var _a;
70
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
69
71
  }
72
+ ;
70
73
  propChanged() {
71
74
  this.initializeGetData();
72
75
  }
@@ -103,7 +106,7 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
103
106
  }
104
107
  }
105
108
  render() {
106
- return (h(StyledHost, { key: '7ce900caa8b472726cd7e100560359f2990798d9' }, h("payouts-list-core", { key: '4e5c40e2cfda6fcc5e2a5963eb432f500f76a8f9', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
109
+ return (h(StyledHost, { key: '922ee0ed12294b66d854d28aa18a06dc0438c662' }, h("payouts-list-core", { key: 'cc0557c8fdc14b16df203a6a648c3381a6ff2c13', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
107
110
  }
108
111
  static get watchers() { return {
109
112
  "accountId": ["propChanged"],
@@ -1,12 +1,13 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
- import { f as formatCurrency } from './utils2.js';
4
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
5
- import './Checkout.js';
3
+ import { c as formatCurrency } from './utils2.js';
4
+ import './config-state.js';
5
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
6
6
  import './Pagination.js';
7
7
  import './Payment.js';
8
8
  import { R as RefundReasons, g as RefundPayload } from './Refund.js';
9
9
  import './Document.js';
10
+ import './Business.js';
10
11
  import { B as Button } from './button.js';
11
12
  import { S as StyledHost } from './styled-host.js';
12
13
  import './details.js';
@@ -15,7 +16,7 @@ import { P as PaymentService } from './payment.service.js';
15
16
  import { m as makeGetPaymentDetails } from './get-payment-details.js';
16
17
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
17
18
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
18
- import { A as Api } from './ApiNew.js';
19
+ import { A as Api } from './Api.js';
19
20
  import { S as Skeleton } from './skeleton.js';
20
21
  import { d as defineCustomElement$7 } from './custom-popper2.js';
21
22
  import { d as defineCustomElement$6 } from './form-control-help-text2.js';
@@ -1,31 +1,28 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { A as Api } from './Api.js';
3
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
4
- import './Checkout.js';
3
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
5
4
  import './Pagination.js';
6
5
  import './Payment.js';
7
6
  import './Refund.js';
8
7
  import './Document.js';
8
+ import './Business.js';
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
10
10
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
11
11
  import { d as defineCustomElement$4 } from './form-control-help-text2.js';
12
12
  import { d as defineCustomElement$3 } from './form-control-radio2.js';
13
13
  import { d as defineCustomElement$2 } from './season-interruption-insurance-core.js';
14
14
 
15
+ const api = Api();
15
16
  class InsuranceService {
16
17
  async fetchQuote(authToken, payload) {
17
18
  const endpoint = 'insurance/quotes';
18
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post({
19
- endpoint,
20
- body: payload,
21
- });
19
+ const body = payload;
20
+ return api.post({ endpoint, body, authToken });
22
21
  }
23
22
  async toggleCoverage(authToken, quoteId, payload) {
24
23
  const endpoint = `insurance/quotes/${quoteId}/toggle`;
25
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post({
26
- endpoint,
27
- body: payload,
28
- });
24
+ const body = payload;
25
+ return api.post({ endpoint, body, authToken });
29
26
  }
30
27
  }
31
28
 
@@ -100,9 +97,8 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
100
97
  this.initializeServiceMethods();
101
98
  }
102
99
  disconnectedCallback() {
103
- if (this.analytics) {
104
- this.analytics.cleanup();
105
- }
100
+ var _a;
101
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
106
102
  }
107
103
  initializeServiceMethods() {
108
104
  if (!this.authToken) {
@@ -123,7 +119,7 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
123
119
  });
124
120
  }
125
121
  render() {
126
- 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 }));
122
+ 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 }));
127
123
  }
128
124
  }, [1, "justifi-season-interruption-insurance", {
129
125
  "authToken": [1, "auth-token"],
@@ -4,13 +4,14 @@ import { ah as terminalOrdersListFilterMenu, ai as orderStatusTerminalOrdersList
4
4
  import { S as StyledHost } from './styled-host.js';
5
5
  import './details.js';
6
6
  import './event-types.js';
7
+ import './config-state.js';
7
8
  import { j as convertToUTC, h as convertToLocal } from './utils2.js';
8
- import './ComponentError.js';
9
9
  import './Checkout.js';
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
12
12
  import { T as TerminalOrderStatus, a as TerminalOrderType } from './Refund.js';
13
13
  import './Document.js';
14
+ import './Business.js';
14
15
  import { d as defineCustomElement$6 } from './custom-popper2.js';
15
16
  import { d as defineCustomElement$5 } from './form-control-date2.js';
16
17
  import { d as defineCustomElement$4 } from './form-control-select2.js';
@@ -63,8 +64,8 @@ const TerminalOrdersListFilters = /*@__PURE__*/ proxyCustomElement(class Termina
63
64
  }
64
65
  render() {
65
66
  const filterMenuParams = Object.assign({}, filterParams);
66
- 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 }) ||
67
- 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 }) ||
67
+ 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 }) ||
68
+ 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 }) ||
68
69
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
69
70
  }
70
71
  }, [1, "justifi-terminal-orders-list-filters", {
@@ -4,15 +4,16 @@ import './details.js';
4
4
  import './event-types.js';
5
5
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
6
6
  import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminal-orders-list-core2.js';
7
+ import './config-state.js';
7
8
  import './utils2.js';
8
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
9
- import './Checkout.js';
9
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
12
12
  import { e as TerminalOrder } from './Refund.js';
13
13
  import './Document.js';
14
+ import './Business.js';
14
15
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
15
- import { A as Api } from './ApiNew.js';
16
+ import { A as Api } from './Api.js';
16
17
  import { d as defineCustomElement$3 } from './pagination-menu2.js';
17
18
 
18
19
  const makeGetTerminalOrders = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
@@ -74,6 +75,11 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
74
75
  this.analytics = new JustifiAnalytics(this);
75
76
  this.initializeGetData();
76
77
  }
78
+ disconnectedCallback() {
79
+ var _a;
80
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
81
+ }
82
+ ;
77
83
  initializeGetData() {
78
84
  if (this.accountId && this.authToken) {
79
85
  this.getTerminalOrders = makeGetTerminalOrders({
@@ -92,7 +98,7 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
92
98
  }
93
99
  }
94
100
  render() {
95
- return (h(StyledHost, { key: '4ebe88697536863b62a8bd63fac96eb5f93668d0' }, h("terminal-orders-list-core", { key: '6735068496d16cdd4df169708c93534bea78433a', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
101
+ return (h(StyledHost, { key: '3d9d1cf5051c5db194fb740370f655cec0495e07' }, h("terminal-orders-list-core", { key: 'dacc4dacf8c6cf91e9527916667fa5d716fc792a', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
96
102
  }
97
103
  }, [1, "justifi-terminal-orders-list", {
98
104
  "accountId": [1, "account-id"],
@@ -5,13 +5,14 @@ import { am as terminalsListFilterMenu, an as terminalIdTerminalsListFilterParam
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import './details.js';
7
7
  import './event-types.js';
8
+ import './config-state.js';
8
9
  import './utils2.js';
9
- import './ComponentError.js';
10
10
  import './Checkout.js';
11
11
  import './Pagination.js';
12
12
  import './Payment.js';
13
13
  import { I as ITerminalStatus } from './Refund.js';
14
14
  import './Document.js';
15
+ import './Business.js';
15
16
  import { d as defineCustomElement$6 } from './custom-popper2.js';
16
17
  import { d as defineCustomElement$5 } from './form-control-select2.js';
17
18
  import { d as defineCustomElement$4 } from './form-control-text2.js';
@@ -52,7 +53,7 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
52
53
  }
53
54
  render() {
54
55
  const filterMenuParams = Object.assign({}, filterParams);
55
- 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 }))))));
56
+ 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 }))))));
56
57
  }
57
58
  }, [1, "justifi-terminals-list-filters", {
58
59
  "terminalId": [1, "terminal-id"],
@@ -1,13 +1,14 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
2
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
3
3
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
4
4
  import { T as TerminalService } from './terminal.service.js';
5
+ import './config-state.js';
5
6
  import './utils2.js';
6
- import './Checkout.js';
7
7
  import './Pagination.js';
8
8
  import './Payment.js';
9
9
  import { b as Terminal } from './Refund.js';
10
10
  import './Document.js';
11
+ import './Business.js';
11
12
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
12
13
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
13
14
  import { S as StyledHost } from './styled-host.js';
@@ -64,8 +65,10 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
64
65
  this.initializeGetData();
65
66
  }
66
67
  disconnectedCallback() {
67
- this.analytics.cleanup();
68
+ var _a;
69
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
68
70
  }
71
+ ;
69
72
  propChanged() {
70
73
  this.initializeGetData();
71
74
  }
@@ -100,7 +103,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
100
103
  }
101
104
  }
102
105
  render() {
103
- return (h(StyledHost, { key: 'f80199e30923fb9a50f66570087d41c5390e20a1' }, h("terminals-list-core", { key: 'ab3ed9809c1c629b3dd8ac5039294fd23b8c16a8', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
106
+ return (h(StyledHost, { key: '8c81823f7a3c613fc1725a8c4fe3438f6186f4fe' }, h("terminals-list-core", { key: '13c38992d9e101955d39065985b6c6b22b5ace9e', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
104
107
  }
105
108
  static get watchers() { return {
106
109
  "accountId": ["propChanged"],
@@ -4,13 +4,14 @@ import { S as StyledHost } from './styled-host.js';
4
4
  import './details.js';
5
5
  import './event-types.js';
6
6
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
7
+ import './config-state.js';
7
8
  import './utils2.js';
8
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
9
- import './Checkout.js';
9
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
12
12
  import './Refund.js';
13
13
  import './Document.js';
14
+ import './Business.js';
14
15
  import { d as defineCustomElement$i } from './bank-account-form2.js';
15
16
  import { d as defineCustomElement$h } from './card-form2.js';
16
17
  import { d as defineCustomElement$g } from './custom-popper2.js';
@@ -43,6 +44,11 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
43
44
  checkPkgVersion();
44
45
  this.analytics = new JustifiAnalytics(this);
45
46
  }
47
+ disconnectedCallback() {
48
+ var _a;
49
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
50
+ }
51
+ ;
46
52
  async tokenizePaymentMethod(event) {
47
53
  event && event.preventDefault();
48
54
  this.isLoading = true;
@@ -75,11 +81,10 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
75
81
  this.paymentMethodOptionsRef.fillBillingForm(fields);
76
82
  }
77
83
  async validate() {
78
- const { isValid } = await this.paymentMethodOptionsRef.validate();
79
- return { isValid };
84
+ return this.paymentMethodOptionsRef.validate();
80
85
  }
81
86
  render() {
82
- 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)))))));
87
+ 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)))))));
83
88
  }
84
89
  }, [1, "justifi-tokenize-payment-method", {
85
90
  "authToken": [1, "auth-token"],
@@ -1,4 +1,4 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
3
3
  import { i as isEmptyObject } from './utils2.js';
4
4
 
@@ -9,9 +9,9 @@ const LegalAddressDetails = /*@__PURE__*/ proxyCustomElement(class LegalAddressD
9
9
  }
10
10
  render() {
11
11
  var _a, _b, _c, _d, _e, _f, _g;
12
- if (isEmptyObject(this.legalAddress))
12
+ if (!this.legalAddress || isEmptyObject(this.legalAddress))
13
13
  return null;
14
- return (h(Host, null, h(DetailSectionTitle, { sectionTitle: "Business Legal Address Details" }), h("div", { class: "d-table gap-2 w-100 mt-3" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Country", value: (_a = this.legalAddress) === null || _a === void 0 ? void 0 : _a.country }), h(DetailItem, { title: "Legal Address", value: (_b = this.legalAddress) === null || _b === void 0 ? void 0 : _b.line1 }), h(DetailItem, { title: "Address Line 2", value: (_c = this.legalAddress) === null || _c === void 0 ? void 0 : _c.line2 })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "City", value: (_d = this.legalAddress) === null || _d === void 0 ? void 0 : _d.city }), h(DetailItem, { title: "State", value: (_e = this.legalAddress) === null || _e === void 0 ? void 0 : _e.state }), h(DetailItem, { title: "Postal Code", value: (_g = (_f = this.legalAddress) === null || _f === void 0 ? void 0 : _f.postal_code) === null || _g === void 0 ? void 0 : _g.toString() }))))));
14
+ return (h("div", null, h(DetailSectionTitle, { sectionTitle: "Business Legal Address Details" }), h("div", { class: "d-table gap-2 w-100 mt-3" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Country", value: (_a = this.legalAddress) === null || _a === void 0 ? void 0 : _a.country }), h(DetailItem, { title: "Legal Address", value: (_b = this.legalAddress) === null || _b === void 0 ? void 0 : _b.line1 }), h(DetailItem, { title: "Address Line 2", value: (_c = this.legalAddress) === null || _c === void 0 ? void 0 : _c.line2 })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "City", value: (_d = this.legalAddress) === null || _d === void 0 ? void 0 : _d.city }), h(DetailItem, { title: "State", value: (_e = this.legalAddress) === null || _e === void 0 ? void 0 : _e.state }), h(DetailItem, { title: "Postal Code", value: (_g = (_f = this.legalAddress) === null || _f === void 0 ? void 0 : _f.postal_code) === null || _g === void 0 ? void 0 : _g.toString() }))))));
15
15
  }
16
16
  }, [0, "legal-address-details", {
17
17
  "legalAddress": [16, "legal-address"]
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
2
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
3
3
  import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
4
4
  import { B as BusinessService } from './business.service.js';
5
5
  import { d as defineCustomElement$5 } from './custom-popper2.js';
@@ -40,9 +40,18 @@ const NewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class NewPaymentMethod
40
40
  if (!this.paymentMethodFormRef || !this.billingFormRef)
41
41
  return;
42
42
  try {
43
- const isValid = await this.validate();
43
+ const { isValid, errors } = await this.validate();
44
44
  if (!isValid || !insuranceValidation.isValid) {
45
- return { validationError: true };
45
+ // get propety value from first property in errors object
46
+ const message = `${Object.values(errors)[0] || 'Validation error'}`;
47
+ return {
48
+ validationError: true,
49
+ error: {
50
+ code: 'validation_error',
51
+ message,
52
+ decline_code: undefined
53
+ }
54
+ };
46
55
  }
47
56
  const tokenizeResponse = await this.tokenize();
48
57
  if (tokenizeResponse.error) {
@@ -63,7 +72,9 @@ const NewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class NewPaymentMethod
63
72
  async validate() {
64
73
  const billingFormValidation = await this.billingFormRef.validate();
65
74
  const paymentMethodFormValidation = await this.paymentMethodFormRef.validate();
66
- return billingFormValidation.isValid && paymentMethodFormValidation.isValid;
75
+ const isValid = billingFormValidation.isValid && paymentMethodFormValidation.isValid;
76
+ const errors = Object.assign(Object.assign({}, billingFormValidation.errors), paymentMethodFormValidation.errors);
77
+ return { isValid, errors };
67
78
  }
68
79
  async tokenize() {
69
80
  try {
@@ -93,7 +104,7 @@ const NewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class NewPaymentMethod
93
104
  }
94
105
  render() {
95
106
  var _a, _b;
96
- return (h(Host, { key: 'b80791923e2276322ebe0ce3b25b2073beac188d', class: "payment-method" }, h("div", { key: '47dc555bc135d4562958cf371ca3c8b80ee7236d', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: 'e485347f39fa4b7d46d64e231931d6bdf541687c', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
107
+ return (h(Host, { key: '137378e62a729bd2287b1bdf89cb85c702cd4e12', class: "payment-method" }, h("div", { key: 'dabfcf5c56169708a8968a16aeaafefb43ca3ab8', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: 'd098e2b8f6e1230fc16fdc2cbfd616559bcf2b89', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
97
108
  }
98
109
  }, [0, "justifi-new-payment-method", {
99
110
  "authToken": [1, "auth-token"],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
3
- import { a as formatMediumDate } from './utils2.js';
3
+ import { f as formatMediumDate } from './utils2.js';
4
4
 
5
5
  const OwnerDetails = /*@__PURE__*/ proxyCustomElement(class OwnerDetails extends HTMLElement {
6
6
  constructor() {
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "5.7.0";
2
+ const version = "5.7.2";
3
3
  var packageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -1,11 +1,12 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
- import { b as formatDate, e as formatTime, s as snakeCaseToHumanReadable } from './utils2.js';
2
+ import { a as formatDate, e as formatTime, s as snakeCaseToHumanReadable } from './utils2.js';
3
3
  import { M as MapPaymentStatusToBadge } from './payments-status.js';
4
4
  import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import { d as defineCustomElement$1 } from './details.js';
7
7
  import './event-types.js';
8
8
  import { S as Skeleton } from './skeleton.js';
9
+ import { B as Badge, a as BadgeVariant } from './badge.js';
9
10
 
10
11
  const PaymentDetailsLoading = () => (h("div", { class: "row gap-3" },
11
12
  h("div", { class: "col-12" },
@@ -57,16 +58,16 @@ const PaymentDetailsCore = /*@__PURE__*/ proxyCustomElement(class PaymentDetails
57
58
  });
58
59
  }
59
60
  render() {
60
- return (h(StyledHost, { key: '00ba42c81617d9593246956e97b6b962817cc167' }, this.loading && h(PaymentDetailsLoading, { key: '1c0fee27dec985cad2cc7d41f61d137246ffcc3e' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
61
- this.payment && (h("justifi-details", { key: 'e264b42451a8966a4e6313486bc9d1ccaea0141b', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'af96a0f502cce1be451160e8ac2f92074b0ee168', slot: "head-info", badge: MapPaymentStatusToBadge(this.payment.status), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '94f876bd62dd9ccaa6f63f25326390b03c9938d5', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '96c629e2d1a99eca277ec7337cb3e00e88c1b31e', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '0d18abfae7e9fd0a692ac54640194033a5c36f41', title: "ID", value: this.payment.id })), h("div", { key: '7f9e14d7e0312ba1136cf5734754bf0af6c19774', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'a11b47796dada4f9678487edf19dcd7928b08e94', sectionTitle: "Details" }), h("div", { key: 'fa8a895e037adbbcf5856aae4f40306b789a90c8', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '84a8fa2b0dc39aa331501e00a8eb9bf93e8bb8c2', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '632fa4e703aabc7b606b939e95d1633a43fedfaa', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'bc37a80a15fea95932d04676f2c5a8a57276958b', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '588a76203897cd31b9d0c1c8de1b7b9b0b107421', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: 'c0fea24390417c591327c76568829cbf9f9147a9', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: 'e332a896b55bb58f3fd26ee892556acb08ced52d', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '844fdb40ed55ca0e2f848e7325dcb64f134fa5d6', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'dce95b409eb465e8d6373ad80b7b14a0eecc5aca', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'bed2051bd720b1a790ff59b50bee7f01e3fb222a', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
62
- h(DetailSectionTitle, { key: '3283ea5236fab75a32fe569ad29d9b70c62b49a0', sectionTitle: "Payment Method" }),
63
- h("div", { key: 'b9a0d9cfca791e3afb4a2e1e73b036319191d485', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '15da44c97292af05a14b3f7840b07bdcf34ae953', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'd8a4a431c3e3ab0d14be8992521ee89b5e126a04', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '1a8ed38a316ea943761d2dd7fda58490180ef3bc', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'db695d1b89896a7a73c83fd8a7d5837ad1e69909', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'd94879fb30ac0a05a16ce9ddb199fb5cb003a8c1', title: "Cardholder", value: this.payment.payment_method.payersName }))
61
+ return (h(StyledHost, { key: 'db2d2ec374cf0743db6bfe43e0b8f77572e9cdfd' }, this.loading && h(PaymentDetailsLoading, { key: 'c5b7481c55723d7ab8eb9b8001efadfe33c82532' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
62
+ this.payment && (h("justifi-details", { key: 'cbbd4166213c49a85c70fab920024f876394a24b', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '645552490a3d5115af19d4b3ff3d5dc80b9d3038', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '968b2420a648b0c12753dbae1ea966ba0ecd4b5e', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '056a4d72223eba4225ec6fa3f52c028be21d3fbe', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '8a010c36e237479a318dd6d03026a9b36fc78eab', title: "ID", value: this.payment.id })), h("div", { key: 'fbbb9dd12d129fd589228f23eef25ad2d048e5ba', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '51a4d8bdc3e66c17dabb77cbdcf06cd3cfdbe7e8', sectionTitle: "Details" }), h("div", { key: 'ce03ec8c368f24487ca5cf267dcc0237b4637595', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '35b94e984c638b461a26156acb08cf1647a065e4', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '5398feb78b40735d773889c57517de8784f043f0', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'e2667dba443e74b4139137d7194538b4799c59d4', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '3cc3a74d90a0d10fe5f79c6e3fa942147bdf37f0', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: 'e7f942356e5810ed1f6836002e03fab078e7da24', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '4ed5bb3102ab533914f8841de5f3bb38e059cca0', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: 'ffe0e3990db78c2e57133865f8ab5314698a6126', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'a0defbb3e570929e4667c7d96beb23a2b21090f2', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'a196e9c84f30e0cbab086c02caa15188adae0fe5', title: "Description", value: this.payment.description }), h(DetailItem, { key: '3f0215fbb1faf2defb2a614d1bb463f43f4edc97', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
63
+ h(DetailSectionTitle, { key: '3627159fa135d895c1591c1146daf6b1b3fcff3e', sectionTitle: "Payment Method" }),
64
+ h("div", { key: '00340647cfb3421627b587bcfd3e81d6cf9cb271', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'b89fd68b547f48c42636b7b0904f9c518a135a84', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '2998d39cc3d133398f2e482cd47f5d5eb2fd9bc6', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '23259226da35ecd71d07685484145d547eebcfa5', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '090a22f97bfb43ffae0c7c475ee6f9c00d92193b', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '72c41739c55d99c9efbc0d5c77fcfa0049d5c21a', title: "Cardholder", value: this.payment.payment_method.payersName }))
64
65
  ], this.payment.payment_method.bank_account && [
65
- h(DetailSectionTitle, { key: '84dae904db3c22ff5ed03abaeb57d3b0736d1fbb', sectionTitle: "Payment Method" }),
66
- h("div", { key: '400801019a53feec0478273866fffa5683b408aa', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'ca7bb52e4275659b18daacfa6367de2f32617e70', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '4885d2b5f05b6a713d61074271c7a95b23604dca', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '604ec4efe78a12a1c36d8416c9fdec70351a6dad', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '1ef77a81232e19d1063af9e863f5c9ada183715f', title: "Account Owner", value: this.payment.payment_method.payersName }))
66
+ h(DetailSectionTitle, { key: '55bfec78982d1a44c5ea863e4c5bdc64cd61f241', sectionTitle: "Payment Method" }),
67
+ h("div", { key: 'da3be8d900f1db7b0337a27e91c90d424b4970d5', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'bfcd4367c607055397d8d4417dc671d5f262acd2', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'a5ba2164eadb8bd424889cd6ed02db4679d75f91', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '96a3c52d38c8fe6dabaa032e41f87946a1fb5333', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '3dfa62ba43bd18533104b8e608ce4303a75b6451', title: "Account Owner", value: this.payment.payment_method.payersName }))
67
68
  ], this.payment.metadata && [
68
- h(DetailSectionTitle, { key: '703ee104edf87c55034c38bb9fe0de6907980a0e', sectionTitle: 'Metadata' }),
69
- h("div", { key: 'c10b66a975c6a221f86226893e13cbf57bf0d8dd', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'e73dfd81f110ec7c275fd37d1ecc71bbc22580b5', metadata: this.payment.metadata }))
69
+ h(DetailSectionTitle, { key: '6d180793de4f1d8e13c0af9e30d44faf121733cd', sectionTitle: 'Metadata' }),
70
+ h("div", { key: '76b6e75ace2f243ad86dc5f66aed0aa505a35181', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'a3ee69d8d8699a15980f170a087925d3458135a4', metadata: this.payment.metadata }))
70
71
  ])))));
71
72
  }
72
73
  static get watchers() { return {
@@ -64,12 +64,11 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
64
64
  }
65
65
  async validate() {
66
66
  const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
67
- const isValid = await newPaymentMethodElement.validate();
68
- return { isValid: isValid };
67
+ return newPaymentMethodElement.validate();
69
68
  }
70
69
  render() {
71
70
  var _a;
72
- return (h(Host, { key: '506450161ed363330132c2bfa99a6a7729e94778' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
71
+ return (h(Host, { key: 'c61e82c72aaa25e87ded723799a1eb0961c05444' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
73
72
  const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
74
73
  const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
75
74
  const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
@@ -1,4 +1,4 @@
1
- import { C as ComponentErrorSeverity } from './ComponentError.js';
1
+ import { C as ComponentErrorSeverity } from './Checkout.js';
2
2
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
3
3
 
4
4
  // Business / Entity API Actions
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
2
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
3
3
  import { c as checkProvisioningStatus } from './helpers.js';
4
4
  import { t as text } from './parts.js';
5
5
  import { S as StyledHost } from './styled-host.js';
@@ -1,4 +1,10 @@
1
- import { A as Api } from './ApiNew.js';
1
+ import { A as Api } from './Api.js';
2
+ import './Checkout.js';
3
+ import './Pagination.js';
4
+ import './Payment.js';
5
+ import './Refund.js';
6
+ import './Document.js';
7
+ import './Business.js';
2
8
 
3
9
  const api = Api();
4
10
  class PaymentService {