@justifi/webcomponents 5.7.0 → 5.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (428) hide show
  1. package/dist/cjs/{Payment-CQCmj3Ck.js → Document-CL5Zc72Q.js} +57 -0
  2. package/dist/cjs/{Refund-CpurRc4w.js → Refund-CYxocU06.js} +1 -0
  3. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +8 -7
  4. package/dist/cjs/bank-account-form_9.cjs.entry.js +11 -12
  5. package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-DR8vt11M.js} +1 -1
  6. package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BYaCsboD.js} +1 -1
  7. package/dist/cjs/{business.service-yVtplFhh.js → business.service-C2rg_zSw.js} +9 -2
  8. package/dist/cjs/{check-pkg-version-BYKcQDik.js → check-pkg-version-BqC8BOhm.js} +13 -3
  9. package/dist/cjs/{checkout.service-Dd2AbBn2.js → checkout.service-CyvIIMeq.js} +9 -2
  10. package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -5
  11. package/dist/cjs/custom-popper_4.cjs.entry.js +4 -4
  12. package/dist/cjs/{dispute.service-C0J-Wh-Y.js → dispute.service-CKPR1vFS.js} +9 -2
  13. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  14. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  15. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  16. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  17. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  18. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  19. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  20. package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-C9HqIv-M.js} +6 -4
  21. package/dist/cjs/{get-subaccounts-CquZS5kP.js → get-subaccounts-BNpIanJ9.js} +8 -6
  22. package/dist/cjs/iframe-input.cjs.entry.js +4 -4
  23. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +8 -7
  24. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +10 -12
  25. package/dist/cjs/justifi-business-details.cjs.entry.js +12 -5
  26. package/dist/cjs/justifi-business-form.cjs.entry.js +15 -14
  27. package/dist/cjs/justifi-checkout.cjs.entry.js +17 -7
  28. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +8 -5
  29. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +17 -13
  30. package/dist/cjs/justifi-dispute-management.cjs.entry.js +14 -6
  31. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +16 -6
  32. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +18 -9
  33. package/dist/cjs/justifi-order-terminals.cjs.entry.js +16 -12
  34. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -5
  35. package/dist/cjs/justifi-payment-details.cjs.entry.js +12 -9
  36. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +17 -7
  37. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +16 -12
  38. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  39. package/dist/cjs/justifi-payments-list.cjs.entry.js +16 -12
  40. package/dist/cjs/justifi-payout-details.cjs.entry.js +14 -10
  41. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -12
  42. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  43. package/dist/cjs/justifi-payouts-list.cjs.entry.js +16 -12
  44. package/dist/cjs/justifi-refund-payment.cjs.entry.js +14 -12
  45. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -1
  46. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +19 -22
  47. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +9 -6
  48. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +19 -12
  49. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -5
  50. package/dist/cjs/justifi-terminals-list.cjs.entry.js +16 -12
  51. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +16 -9
  52. package/dist/cjs/loader.cjs.js +1 -1
  53. package/dist/cjs/{package-CX6Njc5t.js → package-Biee4Hdo.js} +1 -1
  54. package/dist/cjs/payment-details-core.cjs.entry.js +9 -9
  55. package/dist/cjs/{payment.service-BvTU2Orj.js → payment.service-C996aLGw.js} +9 -2
  56. package/dist/cjs/payments-list-core.cjs.entry.js +9 -6
  57. package/dist/cjs/payout-details-core.cjs.entry.js +4 -4
  58. package/dist/cjs/{payout.service-C99pgxvg.js → payout.service-BwKgEbDo.js} +9 -2
  59. package/dist/cjs/payouts-list-core.cjs.entry.js +9 -6
  60. package/dist/cjs/{schema-validations-p4OCdblz.js → schema-validations-Bhz09M42.js} +1 -1
  61. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -7
  62. package/dist/cjs/{terminal-orders-table-BeeUTKtj.js → terminal-orders-table-CxY1ykZ7.js} +5 -3
  63. package/dist/cjs/{terminal.service-DEGcoaCb.js → terminal.service-D7dxg9ZQ.js} +9 -2
  64. package/dist/cjs/terminals-list-core.cjs.entry.js +9 -6
  65. package/dist/cjs/webcomponents.cjs.js +1 -1
  66. package/dist/collection/api/Analytics.js +3 -0
  67. package/dist/collection/api/Api.js +23 -12
  68. package/dist/collection/api/Payment.js +1 -0
  69. package/dist/collection/api/Payout.js +1 -0
  70. package/dist/collection/api/index.js +5 -1
  71. package/dist/collection/api/services/analytics.service.js +1 -1
  72. package/dist/collection/api/services/business.service.js +1 -1
  73. package/dist/collection/api/services/checkout.service.js +1 -1
  74. package/dist/collection/api/services/dispute.service.js +1 -1
  75. package/dist/collection/api/services/insurance.service.js +5 -8
  76. package/dist/collection/api/services/payment.service.js +1 -1
  77. package/dist/collection/api/services/payout.service.js +1 -1
  78. package/dist/collection/api/services/provision.service.js +1 -1
  79. package/dist/collection/api/services/refund.service.js +1 -1
  80. package/dist/collection/api/services/reports.service.js +3 -3
  81. package/dist/collection/api/services/subaccounts.service.js +1 -1
  82. package/dist/collection/api/services/terminal.service.js +1 -1
  83. package/dist/collection/api/services/terminal_orders.service.js +1 -1
  84. package/dist/collection/components/business-details/business-details.js +3 -1
  85. package/dist/collection/components/business-forms/business-form/business-form.js +3 -1
  86. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
  87. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +3 -3
  88. package/dist/collection/components/checkout/checkout.js +5 -3
  89. package/dist/collection/components/checkouts-list/checkouts-list.js +4 -2
  90. package/dist/collection/components/dispute-management/dispute-management.js +3 -2
  91. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
  92. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
  93. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
  94. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
  95. package/dist/collection/components/order-terminals/order-terminals.js +6 -1
  96. package/dist/collection/components/payment-details/payment-details-core.js +9 -8
  97. package/dist/collection/components/payment-details/payment-details.js +2 -1
  98. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +4 -2
  99. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  100. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  101. package/dist/collection/components/payments-list/payments-list.js +4 -2
  102. package/dist/collection/components/payout-details/payout-details-core.js +4 -3
  103. package/dist/collection/components/payout-details/payout-details.js +3 -1
  104. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +4 -2
  105. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  106. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  107. package/dist/collection/components/payouts-list/payouts-list.js +4 -2
  108. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  109. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  110. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -1
  111. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  112. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  113. package/dist/collection/components/terminals-list/terminals-list.js +4 -2
  114. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +6 -1
  115. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  116. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  117. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  118. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  119. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  120. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  121. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  122. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  123. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  124. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  125. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  126. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  127. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  128. package/dist/docs.json +2 -2
  129. package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
  130. package/dist/esm/{Payment-BADkZFaz.js → Document-cNXrKmGy.js} +57 -2
  131. package/dist/esm/{Refund-DOvd7RJp.js → Refund-2YJqP9qX.js} +1 -0
  132. package/dist/esm/bank-account-document-form-inputs_4.entry.js +8 -7
  133. package/dist/esm/bank-account-form_9.entry.js +4 -5
  134. package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-GpN_koGK.js} +1 -1
  135. package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-BjuQ6ajL.js} +1 -1
  136. package/dist/esm/{business.service-_645Z23O.js → business.service-ClD_YDeT.js} +8 -1
  137. package/dist/esm/{check-pkg-version-Dh7UNmHL.js → check-pkg-version-DxnKX9GQ.js} +12 -2
  138. package/dist/esm/{checkout.service-7FGjq0rO.js → checkout.service-DfzkmIe4.js} +8 -1
  139. package/dist/esm/checkouts-list-core.entry.js +8 -5
  140. package/dist/esm/custom-popper_4.entry.js +4 -4
  141. package/dist/esm/{dispute.service-lJlAFuE6.js → dispute.service-BTOWqnmk.js} +8 -1
  142. package/dist/esm/form-control-checkbox.entry.js +2 -2
  143. package/dist/esm/form-control-date.entry.js +2 -2
  144. package/dist/esm/form-control-file-v2_2.entry.js +3 -3
  145. package/dist/esm/form-control-monetary.entry.js +2 -2
  146. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  147. package/dist/esm/form-control-number.entry.js +2 -2
  148. package/dist/esm/form-control-radio.entry.js +2 -2
  149. package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-D-prcfRc.js} +5 -3
  150. package/dist/esm/{get-subaccounts-DIJtLFsb.js → get-subaccounts-B0uEyOp_.js} +7 -5
  151. package/dist/esm/iframe-input.entry.js +4 -4
  152. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -7
  153. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +10 -12
  154. package/dist/esm/justifi-business-details.entry.js +12 -5
  155. package/dist/esm/justifi-business-form.entry.js +15 -14
  156. package/dist/esm/justifi-checkout.entry.js +17 -7
  157. package/dist/esm/justifi-checkouts-list-filters.entry.js +8 -5
  158. package/dist/esm/justifi-checkouts-list.entry.js +17 -13
  159. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  160. package/dist/esm/justifi-dispute-management.entry.js +15 -7
  161. package/dist/esm/justifi-dispute-notification_3.entry.js +16 -6
  162. package/dist/esm/justifi-gross-payment-chart.entry.js +18 -9
  163. package/dist/esm/justifi-order-terminals.entry.js +16 -12
  164. package/dist/esm/justifi-owner-form_3.entry.js +9 -5
  165. package/dist/esm/justifi-payment-details.entry.js +13 -10
  166. package/dist/esm/justifi-payment-provisioning.entry.js +16 -6
  167. package/dist/esm/justifi-payment-transactions-list.entry.js +16 -12
  168. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  169. package/dist/esm/justifi-payments-list.entry.js +15 -11
  170. package/dist/esm/justifi-payout-details.entry.js +14 -10
  171. package/dist/esm/justifi-payout-transactions-list.entry.js +16 -12
  172. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  173. package/dist/esm/justifi-payouts-list.entry.js +16 -12
  174. package/dist/esm/justifi-refund-payment.entry.js +13 -11
  175. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -1
  176. package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -22
  177. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +9 -6
  178. package/dist/esm/justifi-terminal-orders-list.entry.js +18 -11
  179. package/dist/esm/justifi-terminals-list-filters.entry.js +8 -5
  180. package/dist/esm/justifi-terminals-list.entry.js +16 -12
  181. package/dist/esm/justifi-tokenize-payment-method.entry.js +16 -9
  182. package/dist/esm/loader.js +1 -1
  183. package/dist/esm/{package-DLLK41AX.js → package-DPiTQ9dr.js} +1 -1
  184. package/dist/esm/payment-details-core.entry.js +9 -9
  185. package/dist/esm/{payment.service-DdCJ1Dc7.js → payment.service-CgwLo1_s.js} +8 -1
  186. package/dist/esm/payments-list-core.entry.js +9 -6
  187. package/dist/esm/payout-details-core.entry.js +4 -4
  188. package/dist/esm/{payout.service-G1Isezyi.js → payout.service-DYFCNfLa.js} +8 -1
  189. package/dist/esm/payouts-list-core.entry.js +9 -6
  190. package/dist/esm/{schema-validations-BsbYeDDR.js → schema-validations-D9YNVLiI.js} +1 -1
  191. package/dist/esm/terminal-orders-list-core.entry.js +10 -7
  192. package/dist/esm/{terminal-orders-table-BlT9YrFD.js → terminal-orders-table-BopP465z.js} +5 -3
  193. package/dist/esm/{terminal.service-aFe-O3PC.js → terminal.service-f-whs_d4.js} +8 -1
  194. package/dist/esm/terminals-list-core.entry.js +9 -6
  195. package/dist/esm/webcomponents.js +1 -1
  196. package/dist/module/Api.js +23 -11
  197. package/dist/module/Checkout.js +22 -2
  198. package/dist/module/Payment.js +59 -3
  199. package/dist/module/Refund.js +2 -1
  200. package/dist/module/bank-account-document-inputs.js +2 -1
  201. package/dist/module/business-additional-questions-form-step.js +1 -1
  202. package/dist/module/business-bank-account-form-step-core.js +2 -2
  203. package/dist/module/business-bank-account-form-step.js +3 -2
  204. package/dist/module/business-core-info-form-step.js +1 -1
  205. package/dist/module/business-documents-on-file2.js +1 -1
  206. package/dist/module/business-owners-form-step.js +1 -1
  207. package/dist/module/business-representative-form-step.js +1 -1
  208. package/dist/module/business-terms-conditions-form-step.js +5 -6
  209. package/dist/module/business.service.js +7 -1
  210. package/dist/module/check-pkg-version.js +10 -1
  211. package/dist/module/checkout-core.js +2 -3
  212. package/dist/module/checkout.service.js +7 -1
  213. package/dist/module/checkouts-list-core2.js +3 -2
  214. package/dist/module/custom-popper2.js +2 -2
  215. package/dist/module/dispute-management-core.js +1 -1
  216. package/dist/module/dispute-notification.js +1 -1
  217. package/dist/module/dispute-response-actions.js +7 -2
  218. package/dist/module/dispute-response.js +5 -3
  219. package/dist/module/form-control-checkbox2.js +2 -2
  220. package/dist/module/form-control-date2.js +2 -2
  221. package/dist/module/form-control-file-v22.js +1 -1
  222. package/dist/module/form-control-file2.js +2 -2
  223. package/dist/module/form-control-monetary2.js +3 -3
  224. package/dist/module/form-control-number-masked2.js +2 -2
  225. package/dist/module/form-control-number.js +2 -2
  226. package/dist/module/form-control-radio2.js +2 -2
  227. package/dist/module/form-control-text2.js +2 -2
  228. package/dist/module/form-control-textarea2.js +2 -2
  229. package/dist/module/get-business.js +1 -1
  230. package/dist/module/get-payment-details.js +4 -3
  231. package/dist/module/get-payout-csv.js +1 -1
  232. package/dist/module/get-subaccounts.js +5 -4
  233. package/dist/module/gross-payment-chart-core2.js +1 -1
  234. package/dist/module/hidden-input2.js +1 -1
  235. package/dist/module/iframe-input2.js +3 -3
  236. package/dist/module/justifi-business-details.js +4 -2
  237. package/dist/module/justifi-business-form.js +5 -3
  238. package/dist/module/justifi-checkout.js +6 -4
  239. package/dist/module/justifi-checkouts-list-filters.js +3 -2
  240. package/dist/module/justifi-checkouts-list.js +7 -4
  241. package/dist/module/justifi-dispute-management.js +5 -4
  242. package/dist/module/justifi-gross-payment-chart.js +11 -4
  243. package/dist/module/justifi-order-terminals.js +8 -3
  244. package/dist/module/justifi-payment-details.js +3 -2
  245. package/dist/module/justifi-payment-provisioning.js +11 -4
  246. package/dist/module/justifi-payment-transactions-list.js +7 -4
  247. package/dist/module/justifi-payments-list-filters.js +2 -2
  248. package/dist/module/justifi-payments-list.js +8 -5
  249. package/dist/module/justifi-payout-details.js +6 -3
  250. package/dist/module/justifi-payout-transactions-list.js +7 -5
  251. package/dist/module/justifi-payouts-list-filters.js +2 -2
  252. package/dist/module/justifi-payouts-list.js +7 -4
  253. package/dist/module/justifi-refund-payment.js +5 -4
  254. package/dist/module/justifi-season-interruption-insurance.js +10 -14
  255. package/dist/module/justifi-terminal-orders-list-filters.js +4 -3
  256. package/dist/module/justifi-terminal-orders-list.js +10 -4
  257. package/dist/module/justifi-terminals-list-filters.js +3 -2
  258. package/dist/module/justifi-terminals-list.js +7 -4
  259. package/dist/module/justifi-tokenize-payment-method.js +9 -3
  260. package/dist/module/legal-address-form-step.js +1 -1
  261. package/dist/module/owner-details2.js +1 -1
  262. package/dist/module/package.js +1 -1
  263. package/dist/module/payment-details-core2.js +10 -9
  264. package/dist/module/payment-provisioning-actions.js +1 -1
  265. package/dist/module/payment-provisioning-core.js +1 -1
  266. package/dist/module/payment.service.js +7 -1
  267. package/dist/module/payments-list-core2.js +3 -2
  268. package/dist/module/payout-details-core2.js +5 -4
  269. package/dist/module/payout.service.js +7 -1
  270. package/dist/module/payouts-list-core2.js +4 -3
  271. package/dist/module/representative-details2.js +1 -1
  272. package/dist/module/season-interruption-insurance-core.js +6 -3
  273. package/dist/module/sezzle-payment-method.js +1 -1
  274. package/dist/module/terminal-orders-list-core2.js +3 -2
  275. package/dist/module/terminal.service.js +7 -1
  276. package/dist/module/terminals-list-core2.js +3 -2
  277. package/dist/module/utils2.js +1 -1
  278. package/dist/module/utils4.js +1 -1
  279. package/dist/types/api/Api.d.ts +41 -35
  280. package/dist/types/api/Payment.d.ts +2 -0
  281. package/dist/types/api/Payout.d.ts +2 -0
  282. package/dist/types/api/index.d.ts +5 -1
  283. package/dist/types/api/services/business.service.d.ts +1 -5
  284. package/dist/types/api/services/dispute.service.d.ts +1 -2
  285. package/dist/types/api/services/payout.service.d.ts +1 -2
  286. package/dist/types/api/services/provision.service.d.ts +1 -1
  287. package/dist/types/api/services/reports.service.d.ts +1 -2
  288. package/dist/types/api/services/subaccounts.service.d.ts +1 -2
  289. package/dist/types/components/order-terminals/order-terminals.d.ts +1 -0
  290. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
  291. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
  292. package/dist/webcomponents/p-0ab2f675.entry.js +1 -0
  293. package/dist/webcomponents/p-0b57ecc3.entry.js +1 -0
  294. package/dist/webcomponents/p-0deb6a38.entry.js +1 -0
  295. package/dist/webcomponents/p-16adfe77.entry.js +1 -0
  296. package/dist/webcomponents/{p-8224e3c2.entry.js → p-19b9c96a.entry.js} +1 -1
  297. package/dist/webcomponents/p-1a85f26f.entry.js +1 -0
  298. package/dist/webcomponents/p-1b22572d.entry.js +1 -0
  299. package/dist/webcomponents/p-22a0b397.entry.js +1 -0
  300. package/dist/webcomponents/{p-9dae8152.entry.js → p-24792e8e.entry.js} +1 -1
  301. package/dist/webcomponents/p-25ea4450.entry.js +1 -0
  302. package/dist/webcomponents/p-2adda453.entry.js +1 -0
  303. package/dist/webcomponents/p-2b8ac00a.entry.js +1 -0
  304. package/dist/webcomponents/p-2dbc4b19.entry.js +1 -0
  305. package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
  306. package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
  307. package/dist/webcomponents/p-3abc8eab.entry.js +1 -0
  308. package/dist/webcomponents/{p-774eee26.entry.js → p-3babed12.entry.js} +1 -1
  309. package/dist/webcomponents/p-40541e0c.entry.js +1 -0
  310. package/dist/webcomponents/p-4194214c.entry.js +1 -0
  311. package/dist/webcomponents/p-43d6bbed.entry.js +1 -0
  312. package/dist/webcomponents/p-44d8c2b1.entry.js +1 -0
  313. package/dist/webcomponents/p-4749e0d0.entry.js +1 -0
  314. package/dist/webcomponents/p-4ee0cd96.entry.js +1 -0
  315. package/dist/webcomponents/p-54281359.entry.js +1 -0
  316. package/dist/webcomponents/{p-9c1a79c5.entry.js → p-59abf1de.entry.js} +1 -1
  317. package/dist/webcomponents/p-799000c1.entry.js +1 -0
  318. package/dist/webcomponents/p-83154291.entry.js +1 -0
  319. package/dist/webcomponents/p-84d27581.entry.js +1 -0
  320. package/dist/webcomponents/p-9105f700.entry.js +1 -0
  321. package/dist/webcomponents/p-916ea4fc.entry.js +1 -0
  322. package/dist/webcomponents/{p-32345016.entry.js → p-935bbc62.entry.js} +1 -1
  323. package/dist/webcomponents/p-935fa555.entry.js +1 -0
  324. package/dist/webcomponents/p-947239a6.entry.js +1 -0
  325. package/dist/webcomponents/p-99b080d9.entry.js +1 -0
  326. package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
  327. package/dist/webcomponents/p-BM5lviat.js +1 -0
  328. package/dist/webcomponents/p-BWJ7zamv.js +1 -0
  329. package/dist/webcomponents/p-BiPRf6d2.js +1 -0
  330. package/dist/webcomponents/p-BmWpHZ-Z.js +1 -0
  331. package/dist/webcomponents/p-BzPi8Ea_.js +1 -0
  332. package/dist/webcomponents/p-C0UUR9CN.js +1 -0
  333. package/dist/webcomponents/{p-CegkOiUz.js → p-CCGhF18e.js} +1 -1
  334. package/dist/webcomponents/p-CffckWWF.js +1 -0
  335. package/dist/webcomponents/p-DNt_pMGt.js +1 -0
  336. package/dist/webcomponents/p-DPiTQ9dr.js +1 -0
  337. package/dist/webcomponents/p-DZfxGQ1I.js +1 -0
  338. package/dist/webcomponents/p-DuBhW0xA.js +1 -0
  339. package/dist/webcomponents/p-M61ygz6l.js +1 -0
  340. package/dist/webcomponents/p-ZE1NEnP3.js +1 -0
  341. package/dist/webcomponents/p-a46730eb.entry.js +1 -0
  342. package/dist/webcomponents/p-a4dd3835.entry.js +1 -0
  343. package/dist/webcomponents/p-ad85bd0d.entry.js +1 -0
  344. package/dist/webcomponents/p-af2c38f7.entry.js +1 -0
  345. package/dist/webcomponents/p-cab175e9.entry.js +1 -0
  346. package/dist/webcomponents/p-ceefc483.entry.js +1 -0
  347. package/dist/webcomponents/p-d1331dbb.entry.js +1 -0
  348. package/dist/webcomponents/p-d9c70010.entry.js +1 -0
  349. package/dist/webcomponents/p-dd05cce1.entry.js +1 -0
  350. package/dist/webcomponents/p-e00aeb33.entry.js +1 -0
  351. package/dist/webcomponents/p-e1c5ee0a.entry.js +1 -0
  352. package/dist/webcomponents/p-ea8dd3e7.entry.js +1 -0
  353. package/dist/webcomponents/p-f389c2aa.entry.js +1 -0
  354. package/dist/webcomponents/p-f8b205f7.entry.js +1 -0
  355. package/dist/webcomponents/p-o_73WSki.js +1 -0
  356. package/dist/webcomponents/p-vb3fTJEZ.js +1 -0
  357. package/dist/webcomponents/webcomponents.esm.js +1 -1
  358. package/package.json +1 -1
  359. package/dist/cjs/Api-KMweahmp.js +0 -74
  360. package/dist/cjs/Document-rXGBUaOh.js +0 -58
  361. package/dist/collection/api/ApiNew.js +0 -82
  362. package/dist/esm/Api-C9CDE-UM.js +0 -72
  363. package/dist/esm/Document-Ct-uNz2r.js +0 -55
  364. package/dist/module/ApiNew.js +0 -84
  365. package/dist/module/ComponentError.js +0 -21
  366. package/dist/module/Dispute.js +0 -57
  367. package/dist/types/api/ApiNew.d.ts +0 -61
  368. package/dist/webcomponents/p-05138b5d.entry.js +0 -1
  369. package/dist/webcomponents/p-0661622e.entry.js +0 -1
  370. package/dist/webcomponents/p-0a4abfba.entry.js +0 -1
  371. package/dist/webcomponents/p-0d73af88.entry.js +0 -1
  372. package/dist/webcomponents/p-107fdd99.entry.js +0 -1
  373. package/dist/webcomponents/p-12ea3a21.entry.js +0 -1
  374. package/dist/webcomponents/p-13a56c04.entry.js +0 -1
  375. package/dist/webcomponents/p-2ce8e7ac.entry.js +0 -1
  376. package/dist/webcomponents/p-357e1077.entry.js +0 -1
  377. package/dist/webcomponents/p-3a691b9a.entry.js +0 -1
  378. package/dist/webcomponents/p-3adEM48l.js +0 -1
  379. package/dist/webcomponents/p-3bb94f41.entry.js +0 -1
  380. package/dist/webcomponents/p-460eae73.entry.js +0 -1
  381. package/dist/webcomponents/p-48d84a6f.entry.js +0 -1
  382. package/dist/webcomponents/p-4a3ee65c.entry.js +0 -1
  383. package/dist/webcomponents/p-58f415f4.entry.js +0 -1
  384. package/dist/webcomponents/p-5ff7f253.entry.js +0 -1
  385. package/dist/webcomponents/p-6334c2bc.entry.js +0 -1
  386. package/dist/webcomponents/p-6780e07e.entry.js +0 -1
  387. package/dist/webcomponents/p-6a3a8a7a.entry.js +0 -1
  388. package/dist/webcomponents/p-76d1a604.entry.js +0 -1
  389. package/dist/webcomponents/p-833576ca.entry.js +0 -1
  390. package/dist/webcomponents/p-83d4ac72.entry.js +0 -1
  391. package/dist/webcomponents/p-AVaenhw9.js +0 -1
  392. package/dist/webcomponents/p-B1ubyLhU.js +0 -1
  393. package/dist/webcomponents/p-BBsCnePk.js +0 -1
  394. package/dist/webcomponents/p-BHbsXXRt.js +0 -1
  395. package/dist/webcomponents/p-Bxs6fi7a.js +0 -1
  396. package/dist/webcomponents/p-C0piBrye.js +0 -1
  397. package/dist/webcomponents/p-CkrVt-dj.js +0 -1
  398. package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
  399. package/dist/webcomponents/p-Cy4aIACq.js +0 -1
  400. package/dist/webcomponents/p-DLLK41AX.js +0 -1
  401. package/dist/webcomponents/p-Da_GeglS.js +0 -1
  402. package/dist/webcomponents/p-Dgxn_B6C.js +0 -1
  403. package/dist/webcomponents/p-DmIOVniD.js +0 -1
  404. package/dist/webcomponents/p-DqOTECuf.js +0 -1
  405. package/dist/webcomponents/p-Dz-Ft5b1.js +0 -1
  406. package/dist/webcomponents/p-a5af8397.entry.js +0 -1
  407. package/dist/webcomponents/p-a61f9b3c.entry.js +0 -1
  408. package/dist/webcomponents/p-a6fb7730.entry.js +0 -1
  409. package/dist/webcomponents/p-aTcDcUMZ.js +0 -1
  410. package/dist/webcomponents/p-aa954ce9.entry.js +0 -1
  411. package/dist/webcomponents/p-ac4ac963.entry.js +0 -1
  412. package/dist/webcomponents/p-ae7c6b81.entry.js +0 -1
  413. package/dist/webcomponents/p-ae8c3dab.entry.js +0 -1
  414. package/dist/webcomponents/p-b061c21c.entry.js +0 -1
  415. package/dist/webcomponents/p-b4d857b2.entry.js +0 -1
  416. package/dist/webcomponents/p-bb45705e.entry.js +0 -1
  417. package/dist/webcomponents/p-c2f3d7da.entry.js +0 -1
  418. package/dist/webcomponents/p-c7227fc1.entry.js +0 -1
  419. package/dist/webcomponents/p-c8f70818.entry.js +0 -1
  420. package/dist/webcomponents/p-c9288f47.entry.js +0 -1
  421. package/dist/webcomponents/p-d1a440e3.entry.js +0 -1
  422. package/dist/webcomponents/p-dd89c516.entry.js +0 -1
  423. package/dist/webcomponents/p-e39b5ffd.entry.js +0 -1
  424. package/dist/webcomponents/p-e5d35016.entry.js +0 -1
  425. package/dist/webcomponents/p-ebd7753d.entry.js +0 -1
  426. package/dist/webcomponents/p-ec47b7c8.entry.js +0 -1
  427. /package/dist/cjs/{ApiNew-C8nf_gS9.js → Api-C8nf_gS9.js} +0 -0
  428. /package/dist/esm/{ApiNew-KYhsw8Nv.js → Api-KYhsw8Nv.js} +0 -0
@@ -4,13 +4,13 @@ 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 { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
7
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
8
8
  import { B as BusinessService } from './business.service.js';
9
9
  import { a as Business } from './Business.js';
10
10
  import { m as makeGetBusiness } from './get-business.js';
11
11
  import { S as Skeleton } from './skeleton.js';
12
+ import './config-state.js';
12
13
  import { n as formatPhoneNumber } from './utils2.js';
13
- import './Checkout.js';
14
14
  import './Pagination.js';
15
15
  import './Payment.js';
16
16
  import { f as TerminalModel, e as TerminalOrder, a as TerminalOrderType } from './Refund.js';
@@ -142,6 +142,11 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
142
142
  this.analytics = new JustifiAnalytics(this);
143
143
  this.loadData();
144
144
  }
145
+ disconnectedCallback() {
146
+ var _a;
147
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
148
+ }
149
+ ;
145
150
  handleError(errorMessage, code, severity) {
146
151
  this.error = { message: errorMessage, code, severity };
147
152
  this.errorEvent.emit({ errorCode: code, message: errorMessage, severity });
@@ -227,7 +232,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
227
232
  return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
228
233
  }
229
234
  render() {
230
- return (h(StyledHost, { key: '47251af3261d16cfc067bca3b3810805d93ba36d' }, h("div", { key: '13c73bb09cdbad48ee7b15089daf1b6bf56cf256', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
235
+ return (h(StyledHost, { key: '95d4b374036e4713216ce61e87571a607b8c3f0a' }, h("div", { key: '3e57b055db0d1bf26b9eb38a78fa57493afd3af3', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
231
236
  }
232
237
  }, [1, "justifi-order-terminals", {
233
238
  "businessId": [1, "business-id"],
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
2
2
  import { P as PaymentService } from './payment.service.js';
3
3
  import { m as makeGetPaymentDetails } from './get-payment-details.js';
4
4
  import { E as ErrorState } from './utils.js';
5
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
5
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
6
6
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
7
7
  import { d as defineCustomElement$3 } from './details.js';
8
8
  import { d as defineCustomElement$2 } from './payment-details-core2.js';
@@ -26,7 +26,8 @@ const PaymentDetails = /*@__PURE__*/ proxyCustomElement(class PaymentDetails ext
26
26
  this.initializeGetPaymentDetails();
27
27
  }
28
28
  disconnectedCallback() {
29
- this.analytics.cleanup();
29
+ var _a;
30
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
30
31
  }
31
32
  ;
32
33
  propChanged() {
@@ -1,9 +1,14 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
3
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
3
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
4
4
  import { m as makeGetBusiness, g as makePostProvisioning } from './payment-provisioning-actions.js';
5
5
  import { B as BusinessService } from './business.service.js';
6
- import { A as Api } from './ApiNew.js';
6
+ import { A as Api } from './Api.js';
7
+ import './Pagination.js';
8
+ import './Payment.js';
9
+ import './Refund.js';
10
+ import './Document.js';
11
+ import './Business.js';
7
12
  import { d as defineCustomElement$y } from './bank-account-document-inputs.js';
8
13
  import { d as defineCustomElement$x } from './bank-account-form-inputs2.js';
9
14
  import { d as defineCustomElement$w } from './business-documents-on-file2.js';
@@ -68,8 +73,10 @@ const PaymentProvisioning = /*@__PURE__*/ proxyCustomElement(class PaymentProvis
68
73
  this.initializeApi();
69
74
  }
70
75
  disconnectedCallback() {
71
- this.analytics.cleanup();
76
+ var _a;
77
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
72
78
  }
79
+ ;
73
80
  initializeApi() {
74
81
  if (this.authToken && this.businessId) {
75
82
  this.getBusiness = makeGetBusiness({
@@ -93,7 +100,7 @@ const PaymentProvisioning = /*@__PURE__*/ proxyCustomElement(class PaymentProvis
93
100
  }
94
101
  }
95
102
  render() {
96
- return (h("justifi-payment-provisioning-core", { key: 'ab584a720ecfc7ec4e68082fefadeb11fd2884d2', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
103
+ return (h("justifi-payment-provisioning-core", { key: '11871305b4b4974787a9278195ea0b314be250b0', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
97
104
  }
98
105
  static get watchers() { return {
99
106
  "authToken": ["propChanged"],
@@ -1,11 +1,12 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import './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 { c as PaymentBalanceTransaction } 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 PaymentService } from './payment.service.js';
@@ -129,8 +130,10 @@ const PaymentTransactionsList = /*@__PURE__*/ proxyCustomElement(class PaymentTr
129
130
  this.initializeApi();
130
131
  }
131
132
  disconnectedCallback() {
132
- this.analytics.cleanup();
133
+ var _a;
134
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
133
135
  }
136
+ ;
134
137
  propChanged() {
135
138
  this.initializeApi();
136
139
  }
@@ -179,7 +182,7 @@ const PaymentTransactionsList = /*@__PURE__*/ proxyCustomElement(class PaymentTr
179
182
  return !this.showEmptyState && !this.showErrorState && !this.isLoading;
180
183
  }
181
184
  render() {
182
- return (h(StyledHost, { key: '95b1793a1b1dd1f30857a2da18884569bb37673a' }, h(TableWrapper, { key: '213c53810f28609c5166c4b7865a4b923db64148' }, h(TableComponent, { key: 'c4c9ad468955900dd3dadf55bf74961b347db725' }, h(TableHead, { key: '0aaa96e09c54865f5bbe74abf236db20a69c0df9' }, h(TableHeadRow, { key: '69258a4be5ddba8c3db1f2e801c7101a51efadd2' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '961a12de0888c9ab76ae708f1694955cadc05ffb' }, h(TableLoadingState, { key: 'd5d5b788698eb28ff2dcccf902694fb166f7e805', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '311f9238c5ed98e1801cd482967814e2d1b98547', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '86c6728fb2a4ff6a1de0032cda9a5e6fdfb2a19c', 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: '4fe703ff7a69a534424fde0154203a0f1f0a2240' }, h(TableFootRow, { key: 'b6dafac49888c3745461a18723b74f46d1353478' }, h(TableFootCell, { key: '1906f0ab8f62c94cb976a37eb12ffb479ccb8333', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '114ec152e59ddd485f465774a7f8f656d618083a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
185
+ return (h(StyledHost, { key: '5afad0e2e8dc4f37660b09c434fa1e69014194f6' }, h(TableWrapper, { key: '90b657d1a31077ccfee1c494e5bde526572d86b1' }, h(TableComponent, { key: 'c25fd7f2cb00dff6e7d1e5102660c28c08735439' }, h(TableHead, { key: 'a6a9bfd9dff7aa5c82e2dbe5c3c5674b4e6a5c04' }, h(TableHeadRow, { key: 'a7e136e48933ae4f7dabc3cb70bda5f2016b400f' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '921169d43283f1b13921f3972e4ff912a92a27eb' }, h(TableLoadingState, { key: '69e6d2c8df07e0acb657ab0f7997b6576be86c91', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '6a8a44d407bc4cb75e003ce68b174eed3aee885f', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '599552617b6e9f4dc6451a4fbbb5fe2c402849e4', 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: 'c2cadba24db21209557443e598ae2fbb1f4f1ffa' }, h(TableFootRow, { key: 'ffa9e9f6bf3dd7bb6bb5b8626756edf7ee249074' }, h(TableFootCell, { key: '7d6a900f2aac9483004c4eda42b3592db4495cca', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '028b35bc60ff879529a10ef43de4f45ba2aeb584', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
183
186
  }
184
187
  static get watchers() { return {
185
188
  "pagingParams": ["propChanged"],
@@ -55,8 +55,8 @@ const PaymentsListFilters = /*@__PURE__*/ proxyCustomElement(class PaymentsListF
55
55
  }
56
56
  render() {
57
57
  const filterMenuParams = Object.assign({}, filterParams);
58
- return (h(StyledHost, { key: '10829c1f0fc63fa2f7d051d0cfecf99cfa7d5d53' }, h("table-filters-menu", { key: 'c59be37898d0eb1b6b6d19c4b338a527efcb6cc6', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: '716e807db90c39aa977e9b5daf6a411d3086ca63', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'a6f176d96dc459cc78135bdb2eab080876883c9e', class: "p-2" }, h("form-control-text", { key: '08acfb9b4d70e641a33482abfb20085ef1dfe193', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: 'bb19e9f99e3365163701450b28e008decd59596a', class: "p-2" }, h("form-control-text", { key: 'bbeec69309d93ac6dc519369fea831a37e09cff1', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: 'c4a260634c01d93cffe4106dc2d39b74ee74d1bb', class: "p-2" }, h("form-control-select", { key: 'f9bf9bea0a8de4387523379494a2ef6da763a532', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: 'b9f48f0df0007629e0046a9c001b4ed92e29e229', class: "p-2" }, h("form-control-date", { key: 'c997c468c94710e8f16bd5125092390d6444b247', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
59
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '792715eec40293f7877377b06d97402a9befe6c9', class: "p-2" }, h("form-control-date", { key: '5a175d01c307a5273a9d41dc8c319554dc32e2e0', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
58
+ return (h(StyledHost, { key: '41c3ce22404b0e8e536d8c230886eadc34b77208' }, h("table-filters-menu", { key: '864a91207169043f08a47c90c8f867d0e32031e2', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: 'd2a98ef4ab0094f708de21c2c3e02ec149b5e72f', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '00b9b884348d47e7dc1670064c1c0486eefc0a21', class: "p-2" }, h("form-control-text", { key: '405ee21a3780942784738a0cc0a3b423a03c2b5e', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '5401d6d05995af1fa7ab801987d79711c16aecc1', class: "p-2" }, h("form-control-text", { key: 'e1518fddbd3e62af0ddce873a191376b2504c9e0', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '131c39879c3823c3d380d4939e6b93a2771bc86a', class: "p-2" }, h("form-control-select", { key: '856053d6ce5381956a18c6a21df169898fa71616', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '76ad87197605e45ae06fefc547755df29741fa18', class: "p-2" }, h("form-control-date", { key: '7cdd9b684a87e2da99ecfe963349433bf7ac1d45', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
59
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: 'ae78b441f6dbbbdca902fb4f83f7531e80322ff2', class: "p-2" }, h("form-control-date", { key: '34d321e3cd47ccd95ea30d7a54cfb36e34af64db', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
60
60
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
61
61
  }
62
62
  }, [1, "justifi-payments-list-filters", {
@@ -1,12 +1,13 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { P as PaymentService } from './payment.service.js';
3
+ import './config-state.js';
3
4
  import './utils2.js';
4
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
5
- import './Checkout.js';
5
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
6
6
  import './Pagination.js';
7
- import { a as Payment } from './Payment.js';
7
+ import { b as Payment } from './Payment.js';
8
8
  import './Refund.js';
9
9
  import './Document.js';
10
+ import './Business.js';
10
11
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
11
12
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
12
13
  import { S as StyledHost } from './styled-host.js';
@@ -66,8 +67,10 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
66
67
  this.initializeGetPayments();
67
68
  }
68
69
  disconnectedCallback() {
69
- this.analytics.cleanup();
70
+ var _a;
71
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
70
72
  }
73
+ ;
71
74
  propChanged() {
72
75
  this.initializeGetPayments();
73
76
  }
@@ -89,7 +92,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
89
92
  }
90
93
  }
91
94
  render() {
92
- return (h(StyledHost, { key: '1527d43387894949810bae0fa5ebeb172f71bbaf' }, h("payments-list-core", { key: '198cbb929b4793c37a0963554d841ac7999e3c29', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
95
+ return (h(StyledHost, { key: '26ccbd4f232a44cc9a682d9496fc0eb714c89864' }, h("payments-list-core", { key: 'c2b9653272eb8e3ebcd21309a0c475514ec1aa35', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
93
96
  }
94
97
  static get watchers() { return {
95
98
  "accountId": ["propChanged"],
@@ -1,12 +1,13 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { P as PayoutService } from './payout.service.js';
3
+ import './config-state.js';
3
4
  import './utils2.js';
4
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
5
- import './Checkout.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 { P as Payout } from './Refund.js';
9
9
  import './Document.js';
10
+ import './Business.js';
10
11
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
11
12
  import { E as ErrorState } from './utils.js';
12
13
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
@@ -61,8 +62,10 @@ const PayoutDetails = /*@__PURE__*/ proxyCustomElement(class PayoutDetails exten
61
62
  this.initializeServices();
62
63
  }
63
64
  disconnectedCallback() {
64
- this.analytics.cleanup();
65
+ var _a;
66
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
65
67
  }
68
+ ;
66
69
  propChanged() {
67
70
  this.initializeServices();
68
71
  }
@@ -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;
@@ -79,7 +85,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
79
85
  return { isValid };
80
86
  }
81
87
  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)))))));
88
+ return (h(StyledHost, { key: 'd4dab6a0690a86229dd9b6e8bc39ea62cfa23300' }, h("form", { key: 'e2faa29095280fda65f14a4cb048c306578cf61e' }, h("fieldset", { key: '18b55da72957d26e3c3f44b9b2ef0c55d959e2ee' }, h("div", { key: '2d57f4b65361aadb7a0eed596a0595e24ef85930', class: "row gy-3" }, h("div", { key: 'd57acfc84d6af84c60636c6e7607a43926ead41f', class: "col-12" }, h("justifi-payment-method-options", { key: '1065a98d952820ba612376044c0c54fbb7ac0491', 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: 'f50dd3f73048f7ca13a57bffe1ef6f2f33d091b0', class: "col-12" }, h(Button, { key: '1b13f82171d439bedaa0b6cc31d1593c2343a930', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
83
89
  }
84
90
  }, [1, "justifi-tokenize-payment-method", {
85
91
  "authToken": [1, "auth-token"],