@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
@@ -1,4 +1,4 @@
1
- import Api from "../ApiNew";
1
+ import { Api } from "..";
2
2
  const api = Api();
3
3
  export class BusinessService {
4
4
  async fetchBusiness(businessId, authToken) {
@@ -1,4 +1,4 @@
1
- import Api from "../ApiNew";
1
+ import { Api, } from "..";
2
2
  const api = Api();
3
3
  export class CheckoutService {
4
4
  async fetchCheckout(authToken, checkoutId) {
@@ -1,4 +1,4 @@
1
- import Api from "../ApiNew";
1
+ import { Api } from "..";
2
2
  const api = Api();
3
3
  export class DisputeService {
4
4
  async fetchDispute(disputeId, authToken) {
@@ -1,17 +1,14 @@
1
1
  import { Api } from "..";
2
+ const api = Api();
2
3
  export class InsuranceService {
3
4
  async fetchQuote(authToken, payload) {
4
5
  const endpoint = 'insurance/quotes';
5
- return Api({ authToken, apiOrigin: PROXY_API_ORIGIN }).post({
6
- endpoint,
7
- body: payload,
8
- });
6
+ const body = payload;
7
+ return api.post({ endpoint, body, authToken });
9
8
  }
10
9
  async toggleCoverage(authToken, quoteId, payload) {
11
10
  const endpoint = `insurance/quotes/${quoteId}/toggle`;
12
- return Api({ authToken, apiOrigin: PROXY_API_ORIGIN }).post({
13
- endpoint,
14
- body: payload,
15
- });
11
+ const body = payload;
12
+ return api.post({ endpoint, body, authToken });
16
13
  }
17
14
  }
@@ -1,4 +1,4 @@
1
- import Api from "../ApiNew";
1
+ import { Api } from "..";
2
2
  const api = Api();
3
3
  export class PaymentService {
4
4
  async fetchPayments(accountId, authToken, params) {
@@ -1,4 +1,4 @@
1
- import Api from "../ApiNew";
1
+ import { Api } from "..";
2
2
  const api = Api();
3
3
  export class PayoutService {
4
4
  async fetchPayouts(accountId, authToken, params) {
@@ -1,4 +1,4 @@
1
- import Api from "../ApiNew";
1
+ import { Api } from "..";
2
2
  const api = Api();
3
3
  export class ProvisionService {
4
4
  async postProvisioning(authToken, businessId, product) {
@@ -1,4 +1,4 @@
1
- import Api from "../ApiNew";
1
+ import { Api } from "..";
2
2
  const api = Api();
3
3
  ;
4
4
  export class RefundService {
@@ -1,8 +1,8 @@
1
- import Api from "../Api";
1
+ import { Api } from "..";
2
+ const api = Api();
2
3
  export class ReportsService {
3
4
  async fetchGrossVolumeChartData(accountId, authToken) {
4
- const api = Api({ authToken: authToken, apiOrigin: PROXY_API_ORIGIN });
5
5
  const endpoint = `account/${accountId}/reports/gross_volume`;
6
- return api.get({ endpoint });
6
+ return api.get({ endpoint, authToken });
7
7
  }
8
8
  }
@@ -1,4 +1,4 @@
1
- import Api from "../ApiNew";
1
+ import { Api } from "..";
2
2
  const api = Api();
3
3
  export class SubAccountService {
4
4
  async fetchSubAccounts(accountId, authToken, params) {
@@ -1,4 +1,4 @@
1
- import Api from "../ApiNew";
1
+ import { Api } from "..";
2
2
  const api = Api();
3
3
  export class TerminalService {
4
4
  async fetchTerminals(accountId, authToken, params) {
@@ -1,4 +1,4 @@
1
- import Api from "../ApiNew";
1
+ import { Api } from "..";
2
2
  const api = Api();
3
3
  export class TerminalOrderService {
4
4
  async fetchTerminalOrders(accountId, authToken, params) {
@@ -12,8 +12,10 @@ export class BusinessDetails {
12
12
  this.initializeGetBusiness();
13
13
  }
14
14
  disconnectedCallback() {
15
- this.analytics.cleanup();
15
+ var _a;
16
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
16
17
  }
18
+ ;
17
19
  initializeGetBusiness() {
18
20
  if (!this.businessId || !this.authToken) {
19
21
  this.errorMessage = 'Invalid business id or auth token';
@@ -52,8 +52,10 @@ export class BusinessForm {
52
52
  this.initializeApi();
53
53
  }
54
54
  disconnectedCallback() {
55
- this.analytics.cleanup();
55
+ var _a;
56
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
56
57
  }
58
+ ;
57
59
  get title() {
58
60
  return this.removeTitle ? '' : this.formTitle;
59
61
  }
@@ -19,8 +19,10 @@ export class PaymentProvisioning {
19
19
  this.initializeApi();
20
20
  }
21
21
  disconnectedCallback() {
22
- this.analytics.cleanup();
22
+ var _a;
23
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
23
24
  }
25
+ ;
24
26
  initializeApi() {
25
27
  if (this.authToken && this.businessId) {
26
28
  this.getBusiness = makeGetBusiness({
@@ -44,7 +46,7 @@ export class PaymentProvisioning {
44
46
  }
45
47
  }
46
48
  render() {
47
- 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 }));
49
+ 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 }));
48
50
  }
49
51
  static get is() { return "justifi-payment-provisioning"; }
50
52
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ export class BusinessTermsConditionsFormStep {
11
11
  this.fetchData = async () => {
12
12
  this.formLoading.emit(true);
13
13
  try {
14
- const response = await this.api.get({ endpoint: this.businessEndpoint });
14
+ const response = await this.api.get({ endpoint: this.businessEndpoint, authToken: this.authToken });
15
15
  this.acceptedTermsBefore = response.data.terms_conditions_accepted;
16
16
  }
17
17
  catch (error) {
@@ -67,7 +67,7 @@ export class BusinessTermsConditionsFormStep {
67
67
  };
68
68
  }
69
69
  async componentWillLoad() {
70
- this.api = Api({ authToken: this.authToken, apiOrigin: PROXY_API_ORIGIN });
70
+ this.api = Api();
71
71
  this.formController = new FormController(businessTermsConditionsSchema(this.allowOptionalFields));
72
72
  if (this.businessId && this.authToken) {
73
73
  this.fetchData();
@@ -108,7 +108,7 @@ export class BusinessTermsConditionsFormStep {
108
108
  return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
109
109
  }
110
110
  render() {
111
- return (h("form", { key: '2da7d2ed790cc896168c3034642b5e1c4b5aab5b' }, h("fieldset", { key: '1fd89c9ef9d1f65647280d8b7d80625ee6fcde3a' }, h("legend", { key: 'c8d4b44f530bf4b702523ebd10b2abef4321c1e5', part: heading2 }, "Terms and Conditions"), h("hr", { key: '5b16410dea6ee295e9546bb7d9f69c47b5a3a2a0' }), h("div", { key: '0863be82b21e863fbd59eadcf6eb6bf214f7be5c' }, h("p", { key: '9cc14fe90dafba81b5f979b6cd36bfb820c84d5e' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '357aa6a506fe3c4fdb2d2cdd5250096fc6707bad' }), h("div", { key: 'f9196a0f47187d263b1eea9157307e2a0bd58eab', class: "row-gy-3" }, h("div", { key: 'd753c0ea76488813acc49034e433f82ac6aea8c2', class: "col-12" }, h("form-control-checkbox", { key: 'e2fd2f318fd357959bb0768008f8c9f0242f7fe6', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
111
+ return (h("form", { key: '6bba766ba11512058470225103aa2afff318ab99' }, h("fieldset", { key: '318755ea4fc772e61ac9f8318ccf95494f71bf73' }, h("legend", { key: 'e5a268e9be8ed0a69eb8eed23ffc742228218685', part: heading2 }, "Terms and Conditions"), h("hr", { key: '100eed0ad0c8e7a5c652640c337d899be6f2131a' }), h("div", { key: '08a878a7fe9cd7b8ccb2217932d5d3a3b53bb0c9' }, h("p", { key: 'a5b3ddc655c511187327028229a893f7ea06c7ca' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '5c021ef8a8bce686a615a7478a4312f842eb4248' }), h("div", { key: '6b3172972459d33e70e6bf4b8c2c9d93a843b7f4', class: "row-gy-3" }, h("div", { key: '1e99c4eab265b0b0f370a02ddf76b15d27db961c', class: "col-12" }, h("form-control-checkbox", { key: '4c974e3fd58f34000fa70d38d3da312f9bd1fe0d', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
112
112
  }
113
113
  static get is() { return "justifi-business-terms-conditions-form-step"; }
114
114
  static get properties() {
@@ -14,8 +14,10 @@ export class Checkout {
14
14
  this.initializeGetCheckout();
15
15
  }
16
16
  disconnectedCallback() {
17
- this.analytics.cleanup();
17
+ var _a;
18
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
18
19
  }
20
+ ;
19
21
  initializeGetCheckout() {
20
22
  if (this.authToken && this.checkoutId) {
21
23
  this.getCheckout = makeGetCheckout({
@@ -48,11 +50,11 @@ export class Checkout {
48
50
  return { isValid };
49
51
  }
50
52
  render() {
51
- return (h("justifi-checkout-core", { key: '2a0e3529580beae8de71d6305e3ca9af2c705ee5', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: el => {
53
+ return (h("justifi-checkout-core", { key: 'c1c7cf4f1aadce928e3ed6a6ae05a7824d875d68', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: el => {
52
54
  if (el) {
53
55
  this.checkoutCoreRef = el;
54
56
  }
55
- } }, h("div", { key: '132ad877917930b63fdd9d4ff5432d2f6a82a76d', slot: "insurance" }, h("slot", { key: '9854d96105ebac1adc176ea195f0e0b2b792b125', name: "insurance" }))));
57
+ } }, h("div", { key: '7a4be7220e5eb199f94c5086c23e10dce68d4854', slot: "insurance" }, h("slot", { key: 'f5db23ef6dc82d0521518ea2dbfe99d8c8b6c2cc', name: "insurance" }))));
56
58
  }
57
59
  static get is() { return "justifi-checkout"; }
58
60
  static get properties() {
@@ -23,8 +23,10 @@ export class CheckoutsList {
23
23
  this.initializeGetData();
24
24
  }
25
25
  disconnectedCallback() {
26
- this.analytics.cleanup();
26
+ var _a;
27
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
27
28
  }
29
+ ;
28
30
  propChanged() {
29
31
  this.initializeGetData();
30
32
  }
@@ -59,7 +61,7 @@ export class CheckoutsList {
59
61
  }
60
62
  }
61
63
  render() {
62
- return (h(StyledHost, { key: '086d85512b11a65ac2d8960f515e373093d4bd96' }, h("checkouts-list-core", { key: 'abe06be934ac5f13ec98425f29c6b6b7c0ff4456', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
64
+ return (h(StyledHost, { key: 'c76ca3b186023ebea3ac3fe0cf6599786a2f2ea7' }, h("checkouts-list-core", { key: '484d31c0b0434181b3bd69cb9c3b6810aa0f2983', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
63
65
  }
64
66
  static get is() { return "justifi-checkouts-list"; }
65
67
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,8 @@ export class DisputeManagement {
18
18
  this.initializeGetDispute();
19
19
  }
20
20
  disconnectedCallback() {
21
- this.analytics.cleanup();
21
+ var _a;
22
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
22
23
  }
23
24
  ;
24
25
  propChanged() {
@@ -42,7 +43,7 @@ export class DisputeManagement {
42
43
  }
43
44
  }
44
45
  render() {
45
- return (h("justifi-dispute-management-core", { key: '12e281244496ede936b191dbc5b4069404d931e9', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
46
+ return (h("justifi-dispute-management-core", { key: '5abe4c29317f9baa7fc40d82e2cd533de321d58f', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
46
47
  }
47
48
  static get is() { return "justifi-dispute-management"; }
48
49
  static get properties() {
@@ -20,8 +20,10 @@ export class DisputeResponse {
20
20
  this.initializeDisputeServiceMethods();
21
21
  }
22
22
  disconnectedCallback() {
23
- this.analytics.cleanup();
23
+ var _a;
24
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
24
25
  }
26
+ ;
25
27
  propChanged() {
26
28
  this.initializeDisputeServiceMethods();
27
29
  }
@@ -53,7 +55,7 @@ export class DisputeResponse {
53
55
  }
54
56
  }
55
57
  render() {
56
- return (h(StyledHost, { key: '4c0cd0b8a082d9f2f4428868d88cbb9bde2a3a5d' }, h("justifi-dispute-response-core", { key: '58bbf7f5b2ce8efea0467efddfeffe3c752a3402', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
58
+ return (h(StyledHost, { key: '6f1fd8e2109c806c82c63cfd046739e18cc2b3b7' }, h("justifi-dispute-response-core", { key: '56cba360a731ed4054c89c11250f115a7e3b9e63', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
57
59
  }
58
60
  ;
59
61
  static get is() { return "justifi-dispute-response"; }
@@ -19,8 +19,10 @@ export class GrossPaymentChart {
19
19
  this.initializeGetGrossPayment();
20
20
  }
21
21
  disconnectedCallback() {
22
- this.analytics.cleanup();
22
+ var _a;
23
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
23
24
  }
25
+ ;
24
26
  propChanged() {
25
27
  this.initializeGetGrossPayment();
26
28
  }
@@ -92,9 +92,12 @@ export class SeasonInterruptionInsuranceCore {
92
92
  var _a, _b, _c, _d;
93
93
  if (this.isLoading)
94
94
  return (h(StyledHost, null, h(SeasonInterruptionInsuranceLoading, null)));
95
- return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this) }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this) }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text }))));
95
+ return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this),
96
+ // don't wanna show error message, but need to show the red border
97
+ errorText: this.error ? ' ' : undefined }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this), errorText: this.error ? ' ' : undefined }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text }))));
96
98
  }
97
99
  static get is() { return "justifi-season-interruption-insurance-core"; }
100
+ static get encapsulation() { return "shadow"; }
98
101
  static get properties() {
99
102
  return {
100
103
  "checkoutId": {
@@ -14,9 +14,8 @@ export class SeasonInterruptionInsurance {
14
14
  this.initializeServiceMethods();
15
15
  }
16
16
  disconnectedCallback() {
17
- if (this.analytics) {
18
- this.analytics.cleanup();
19
- }
17
+ var _a;
18
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
20
19
  }
21
20
  initializeServiceMethods() {
22
21
  if (!this.authToken) {
@@ -37,7 +36,7 @@ export class SeasonInterruptionInsurance {
37
36
  });
38
37
  }
39
38
  render() {
40
- 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 }));
39
+ 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 }));
41
40
  }
42
41
  static get is() { return "justifi-season-interruption-insurance"; }
43
42
  static get encapsulation() { return "shadow"; }
@@ -36,6 +36,11 @@ export class OrderTerminals {
36
36
  this.analytics = new JustifiAnalytics(this);
37
37
  this.loadData();
38
38
  }
39
+ disconnectedCallback() {
40
+ var _a;
41
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
42
+ }
43
+ ;
39
44
  handleError(errorMessage, code, severity) {
40
45
  this.error = { message: errorMessage, code, severity };
41
46
  this.errorEvent.emit({ errorCode: code, message: errorMessage, severity });
@@ -121,7 +126,7 @@ export class OrderTerminals {
121
126
  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))));
122
127
  }
123
128
  render() {
124
- return (h(StyledHost, { key: '47251af3261d16cfc067bca3b3810805d93ba36d' }, h("div", { key: '13c73bb09cdbad48ee7b15089daf1b6bf56cf256', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
129
+ return (h(StyledHost, { key: '95d4b374036e4713216ce61e87571a607b8c3f0a' }, h("div", { key: '3e57b055db0d1bf26b9eb38a78fa57493afd3af3', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
125
130
  }
126
131
  static get is() { return "justifi-order-terminals"; }
127
132
  static get encapsulation() { return "shadow"; }
@@ -4,6 +4,7 @@ import { MapPaymentStatusToBadge } from "../payments-list/payments-status";
4
4
  import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadInfoItem, ErrorState } from "../../ui-components/details/utils";
5
5
  import { StyledHost } from "../../ui-components";
6
6
  import PaymentDetailsLoading from "./payment-details-loading";
7
+ import { Badge, BadgeVariant } from "../../ui-components/badge/badge";
7
8
  export class PaymentDetailsCore {
8
9
  constructor() {
9
10
  this.loading = true;
@@ -37,16 +38,16 @@ export class PaymentDetailsCore {
37
38
  });
38
39
  }
39
40
  render() {
40
- return (h(StyledHost, { key: '00ba42c81617d9593246956e97b6b962817cc167' }, this.loading && h(PaymentDetailsLoading, { key: '1c0fee27dec985cad2cc7d41f61d137246ffcc3e' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
41
- 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 && [
42
- h(DetailSectionTitle, { key: '3283ea5236fab75a32fe569ad29d9b70c62b49a0', sectionTitle: "Payment Method" }),
43
- 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 }))
41
+ return (h(StyledHost, { key: 'db2d2ec374cf0743db6bfe43e0b8f77572e9cdfd' }, this.loading && h(PaymentDetailsLoading, { key: 'c5b7481c55723d7ab8eb9b8001efadfe33c82532' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
42
+ 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 && [
43
+ h(DetailSectionTitle, { key: '3627159fa135d895c1591c1146daf6b1b3fcff3e', sectionTitle: "Payment Method" }),
44
+ 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 }))
44
45
  ], this.payment.payment_method.bank_account && [
45
- h(DetailSectionTitle, { key: '84dae904db3c22ff5ed03abaeb57d3b0736d1fbb', sectionTitle: "Payment Method" }),
46
- 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 }))
46
+ h(DetailSectionTitle, { key: '55bfec78982d1a44c5ea863e4c5bdc64cd61f241', sectionTitle: "Payment Method" }),
47
+ 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 }))
47
48
  ], this.payment.metadata && [
48
- h(DetailSectionTitle, { key: '703ee104edf87c55034c38bb9fe0de6907980a0e', sectionTitle: 'Metadata' }),
49
- h("div", { key: 'c10b66a975c6a221f86226893e13cbf57bf0d8dd', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'e73dfd81f110ec7c275fd37d1ecc71bbc22580b5', metadata: this.payment.metadata }))
49
+ h(DetailSectionTitle, { key: '6d180793de4f1d8e13c0af9e30d44faf121733cd', sectionTitle: 'Metadata' }),
50
+ h("div", { key: '76b6e75ace2f243ad86dc5f66aed0aa505a35181', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'a3ee69d8d8699a15980f170a087925d3458135a4', metadata: this.payment.metadata }))
50
51
  ])))));
51
52
  }
52
53
  static get is() { return "payment-details-core"; }
@@ -20,7 +20,8 @@ export class PaymentDetails {
20
20
  this.initializeGetPaymentDetails();
21
21
  }
22
22
  disconnectedCallback() {
23
- this.analytics.cleanup();
23
+ var _a;
24
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
24
25
  }
25
26
  ;
26
27
  propChanged() {
@@ -39,8 +39,10 @@ export class PaymentTransactionsList {
39
39
  this.initializeApi();
40
40
  }
41
41
  disconnectedCallback() {
42
- this.analytics.cleanup();
42
+ var _a;
43
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
43
44
  }
45
+ ;
44
46
  propChanged() {
45
47
  this.initializeApi();
46
48
  }
@@ -89,7 +91,7 @@ export class PaymentTransactionsList {
89
91
  return !this.showEmptyState && !this.showErrorState && !this.isLoading;
90
92
  }
91
93
  render() {
92
- 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 }) })))))))));
94
+ 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 }) })))))))));
93
95
  }
94
96
  static get is() { return "justifi-payment-transactions-list"; }
95
97
  static get encapsulation() { return "shadow"; }
@@ -83,7 +83,7 @@ export class PaymentsListCore {
83
83
  return !this.showEmptyState && !this.showErrorState && !this.loading;
84
84
  }
85
85
  render() {
86
- return (h(TableWrapper, { key: '1317635730164f2193e9556589c1c8584b70cfbb' }, h(TableComponent, { key: '98f458d904f17105aa7f6fde313487fa1af08034' }, h(TableHead, { key: 'a70f53dc6484a001d51f2c937e9696ad4ea68d2c' }, h(TableHeadRow, { key: '93a807d6627175ff4030fc4de8e067809486b274' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '4051081286f20f72d3e34f2484ada5413327b608' }, h(TableLoadingState, { key: 'e94bc4c5d2d4f2a24ee8ec906aa936ad0d497b84', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'be3fe38c674d7a587f77d91c4133d39359954135', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '55bb4161c9677940b78badbbc2a621e29404e213', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: '23e336810c59ab014b4a11fa5f9f087db2de9fa1' }, h(TableFootRow, { key: '848eb4d2cfd643472de22f6cd86d9a7121acdca6' }, h(TableFootCell, { key: 'b0c325d98775e1784173d45375018d94f8fc71cc', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'b61510a421ed0fcf54ff3b3318bc8b80db18c6b1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
86
+ return (h(TableWrapper, { key: 'ebc89e8b55258a1442edad51d5238b8734aa345e' }, h(TableComponent, { key: 'b90635548604f5d486a38421e5228c61ec47c033' }, h(TableHead, { key: '3106e6ac62fc9df004a8dc1c4fa6b07763ec9d7a' }, h(TableHeadRow, { key: '68c7767762899d3ee229835d93eb9221c8b097e9' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '5ffee99d7437590c48f766d5bde24385ea31fdc5' }, h(TableLoadingState, { key: '4170ce391f84c65286f358d4e1c03f67c2f9ffcc', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '8f47428d403e763179e071756582065351fa7c63', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '5857f210589dd16232338ad39897ecd4581dc7db', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: '1cb054a34b99150f33cf1a008a64451e85af4700' }, h(TableFootRow, { key: 'd203e8a928713108cbfbde297ed18bf60cd5cb8e' }, h(TableFootCell, { key: '710c8b5915f08f14892a04c16ac069039804b4f9', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'f9f40a23e8bcbce6adf93f66e2a97f15f91f4f15', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
87
87
  }
88
88
  static get is() { return "payments-list-core"; }
89
89
  static get properties() {
@@ -43,8 +43,8 @@ export class PaymentsListFilters {
43
43
  }
44
44
  render() {
45
45
  const filterMenuParams = Object.assign({}, filterParams);
46
- 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 }) ||
47
- 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 }) ||
46
+ 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 }) ||
47
+ 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 }) ||
48
48
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
49
49
  }
50
50
  static get is() { return "justifi-payments-list-filters"; }
@@ -21,8 +21,10 @@ export class PaymentsList {
21
21
  this.initializeGetPayments();
22
22
  }
23
23
  disconnectedCallback() {
24
- this.analytics.cleanup();
24
+ var _a;
25
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
25
26
  }
27
+ ;
26
28
  propChanged() {
27
29
  this.initializeGetPayments();
28
30
  }
@@ -44,7 +46,7 @@ export class PaymentsList {
44
46
  }
45
47
  }
46
48
  render() {
47
- return (h(StyledHost, { key: '1527d43387894949810bae0fa5ebeb172f71bbaf' }, h("payments-list-core", { key: '198cbb929b4793c37a0963554d841ac7999e3c29', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
49
+ return (h(StyledHost, { key: '26ccbd4f232a44cc9a682d9496fc0eb714c89864' }, h("payments-list-core", { key: 'c2b9653272eb8e3ebcd21309a0c475514ec1aa35', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
48
50
  }
49
51
  static get is() { return "justifi-payments-list"; }
50
52
  static get encapsulation() { return "shadow"; }
@@ -4,6 +4,7 @@ import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadIn
4
4
  import { Button, StyledHost } from "../../ui-components";
5
5
  import { MapPayoutStatusToBadge } from "../payouts-list/payouts-status";
6
6
  import PayoutDetailsLoading from "./payout-details-loading";
7
+ import { Badge, BadgeVariant } from "../../ui-components/badge/badge";
7
8
  export class PayoutDetailsCore {
8
9
  constructor() {
9
10
  this.loading = true;
@@ -51,9 +52,9 @@ export class PayoutDetailsCore {
51
52
  }
52
53
  render() {
53
54
  var _a;
54
- return (h(StyledHost, { key: '62711161d74a4d4e76ea5dba50cdf658722ba3a5' }, this.loading && h(PayoutDetailsLoading, { key: '170bf58456fb93c687a9e5b71e364ed6d54ec965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'eafc4215df8ecba2f3e767e91df54a67c48e0e69', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '849a324f0d5f545e502c1632a5af30da3f6caf74', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'ae0b4f158d3baf397880061f6fe25916ca870ac6', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '2e2f16f8c1e2f5b34fe986a311be4ae084d385ab', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '724abe3799d1a1c8f9a54130af715a2057218510', title: "ID", value: this.payout.id }), h("div", { key: '7ac70b4b6eee073384e223b01304d0ad0aaf0a64', class: "m-4" }, h(Button, { key: 'fc78f5a3b14e58aa3861592e81bc60c155d520e3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '9ebede365566df145b3412b24d255e1b90740541', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '71cfc2676e1ac51b44de391547589fafb5189266', sectionTitle: "Details" }), h("div", { key: 'cba9946a2406c577d3b190cfbfe4b1eeaa27001e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1af9837addfc6fd3829fac3df8376958b7dbfbc7', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'f54690ff4578b7383feadd6420b14df1c79d398b', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '5013c67ee0ac8bd9495209fb5854a36665317d84', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '41cd7f0989ff44be01d78475e03486b2fb158911', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '6f047db81aae911ed4553fecda7baacdc5ff9209', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'b342e899b13489045a82051e563ff56c027107e8', sectionTitle: "Account" }), h("div", { key: '709be895334d0a4963ceeb762ac6e66a5a603d07', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1e14ae8f0b329038ee2aea938be0ab4c1d2c35c9', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '54ef8f31b5dd0698d50efe617db9fbdb8a2088eb', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '3cbe4043e92bc3d2a07d2970473b06bd92e56f33', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '482efcf4498b79cf724a50dd0d3ba0f38d02576d', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '7b3b961659e263e83268e178991627d04a2fcd46', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
55
- h(DetailSectionTitle, { key: 'ea5e5e83e0889ee8b542fba2ddaedc7c0adcf15a', sectionTitle: 'Metadata' }),
56
- h("div", { key: '52ed0e8f84b2a22e9846040877850b336db53a2a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '50e37d3e2a27191b6e4899fcef64f9bd39241c9e', metadata: this.payout.metadata }))
55
+ return (h(StyledHost, { key: '1d9842d26d6e1a89b3fc8a1ed6ed395f55b913ee' }, this.loading && h(PayoutDetailsLoading, { key: '95917b7cba094233316f39ed610dfda5360a47e5' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'c8f1cc9c3cc9b8e343557d38b88b31035d65c00f', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '0397f400c1576f49e664a1e5d8d5d1318935b281', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '3a3a0d511eaf43d54012f7c07688825d141f170a', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '9c33ac6ed41a0d1d91a83af12dee4c7bf401bc60', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'f60f96ff20c47f1ec0ad7f2a6f1f81a19b4a03f5', title: "ID", value: this.payout.id }), h("div", { key: '522bc205154fc2904f1c3735e9f859cfd234dff4', class: "m-4" }, h(Button, { key: 'e691e47946499a7359018fe4c774e0e23f8cb4c4', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '7f7c975c5672aaaebcda5870870cd4a52bae40b9', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '03728f098028f6304c2e608bf38e6b79809bd5aa', sectionTitle: "Details" }), h("div", { key: 'ad8416b1a6a90052f4988d9577b6c8d6a881e0a7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '0ecb52461ee59aad0914547ffc3aff948bc766a6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'bc003db9efc8ea329f4eb5e9644e013dc9578b27', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'e8ce2d2c42b66efd8ff0f87a8d9b58bd1565a019', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '47f05a33981b878ebfd4a88cbd32b71fd6bf3683', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '013126090417ea6244fd01eb0c80aeec72c05bfe', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '252b01172864c2d97b358a0fde5b0532e7298278', sectionTitle: "Account" }), h("div", { key: '4c1f0b28024141ba16803349f60395406dd31f3f', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '6c4f814276825b92c05226d1dc6522a920ab3e2a', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'c3824079766df1788264cb2ee962c5229045212c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '158c9456436cc58622d1337c11f7443497c7ae38', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '7ce5376d2c1632cbd0bd910e6290ec3caf289b73', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'a1f892fe9a638e5b5a4be23e853070355b6cf3bb', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
56
+ h(DetailSectionTitle, { key: '61d325fd74f125295c61266528e1d62e04bb6e2e', sectionTitle: 'Metadata' }),
57
+ h("div", { key: 'e574d0558fec57c0f3342c80846eb1469a9cfeb7', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ca0cc50f11489df465d29e8da5a51495433931d3', metadata: this.payout.metadata }))
57
58
  ])))));
58
59
  }
59
60
  static get is() { return "payout-details-core"; }
@@ -20,8 +20,10 @@ export class PayoutDetails {
20
20
  this.initializeServices();
21
21
  }
22
22
  disconnectedCallback() {
23
- this.analytics.cleanup();
23
+ var _a;
24
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
24
25
  }
26
+ ;
25
27
  propChanged() {
26
28
  this.initializeServices();
27
29
  }
@@ -40,8 +40,10 @@ export class PayoutTransactionsList {
40
40
  this.initializeApi();
41
41
  }
42
42
  disconnectedCallback() {
43
- this.analytics.cleanup();
43
+ var _a;
44
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
44
45
  }
46
+ ;
45
47
  propChanged() {
46
48
  this.initializeApi();
47
49
  }
@@ -93,7 +95,7 @@ export class PayoutTransactionsList {
93
95
  return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
94
96
  }
95
97
  render() {
96
- 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 }) })))))))));
98
+ 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 }) })))))))));
97
99
  }
98
100
  static get is() { return "justifi-payout-transactions-list"; }
99
101
  static get encapsulation() { return "shadow"; }