@justifi/webcomponents 6.15.0 → 6.16.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/dist/cjs/{Analytics-BjZHa0wt.js → Analytics-CDE3KpL6.js} +2 -2
  2. package/dist/cjs/{Api-us3AxMRC.js → Api-CaEn8pKs.js} +1 -1
  3. package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +8 -8
  4. package/dist/cjs/additional-questions_4.cjs.entry.js +1 -1
  5. package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
  6. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +13 -7
  7. package/dist/cjs/bank-account-form.cjs.entry.js +64 -12
  8. package/dist/cjs/{business-identity-schema-XiCLzxWM.js → business-identity-schema-DuOIMFjG.js} +2 -2
  9. package/dist/cjs/{business.service-_Sl3vWmu.js → business.service-DIspRonp.js} +1 -1
  10. package/dist/cjs/card-form.cjs.entry.js +12 -10
  11. package/dist/cjs/{checkout.service-B_qymeqJ.js → checkout.service-CM1Duar4.js} +1 -1
  12. package/dist/cjs/{checkout.store-DaV9lvEQ.js → checkout.store-B5lTwvUV.js} +1 -0
  13. package/dist/cjs/{country-config-DQQujh5h.js → country-config-CFC3KuVD.js} +24 -2
  14. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  15. package/dist/cjs/detect-duplicate-version-DyHHkx4J.js +29 -0
  16. package/dist/cjs/dispute-notification_2.cjs.entry.js +9 -9
  17. package/dist/cjs/{event-types-DmY59QXs.js → event-types-DNCxVTir.js} +1 -1
  18. package/dist/cjs/form-address-fields_3.cjs.entry.js +5 -5
  19. package/dist/cjs/form-alert_3.cjs.entry.js +122 -16
  20. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  21. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  22. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +1 -1
  23. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  24. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  25. package/dist/cjs/form-control-number_2.cjs.entry.js +3 -3
  26. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  27. package/dist/cjs/form-control-select_2.cjs.entry.js +22 -6
  28. package/dist/cjs/{get-subaccounts-BMY2bOFj.js → get-subaccounts-8LeFCTm6.js} +1 -1
  29. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  30. package/dist/cjs/justifi-apple-pay_12.cjs.entry.js +54 -32
  31. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +6 -6
  32. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +8 -7
  33. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  34. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -7
  35. package/dist/cjs/justifi-business-form.cjs.entry.js +9 -9
  36. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  37. package/dist/cjs/justifi-card-form.cjs.entry.js +9 -6
  38. package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +5 -5
  39. package/dist/cjs/justifi-checkout.cjs.entry.js +17 -8
  40. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -2
  41. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +9 -9
  42. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
  43. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  44. package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
  45. package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
  46. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -6
  47. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -7
  48. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  49. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -7
  50. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
  51. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -7
  52. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  53. package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -8
  54. package/dist/cjs/justifi-qr-terminal.cjs.entry.js +6 -6
  55. package/dist/cjs/justifi-refund-payment.cjs.entry.js +6 -6
  56. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
  57. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
  58. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -7
  60. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  61. package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -8
  62. package/dist/cjs/loader.cjs.js +1 -1
  63. package/dist/cjs/{package-30T__1wH.js → package-DGrVUpde.js} +1 -3
  64. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  65. package/dist/cjs/{payment.service-DRXVT-uB.js → payment.service-By7aeVkC.js} +1 -1
  66. package/dist/cjs/{payout.service-CuQ-mXKB.js → payout.service-Dn0rXkmg.js} +1 -1
  67. package/dist/cjs/{plaid.service-B58nzlUE.js → plaid.service-CjaugrzX.js} +1 -1
  68. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  69. package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
  70. package/dist/cjs/{schema-validations-sjRvL4KO.js → schema-validations-BDFa_oIq.js} +8 -2
  71. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  73. package/dist/cjs/{terminal.service-CmtSEgTc.js → terminal.service-C0_r_A60.js} +1 -1
  74. package/dist/cjs/utils-Ct_X5q0U.js +62 -0
  75. package/dist/cjs/webcomponents.cjs.js +1 -1
  76. package/dist/collection/collection-manifest.json +1 -1
  77. package/dist/collection/components/business-details/justifi-business-details.js +3 -3
  78. package/dist/collection/components/business-forms/business-form/justifi-business-form.js +2 -2
  79. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +3 -2
  80. package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +2 -2
  81. package/dist/collection/components/business-forms/schemas/schema-validations.js +8 -1
  82. package/dist/collection/components/business-forms/utils/country-config.js +3 -2
  83. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +88 -12
  84. package/dist/collection/components/checkout/billing-form/billing-form-full.js +6 -2
  85. package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +6 -2
  86. package/dist/collection/components/checkout/card-form/card-form.js +37 -11
  87. package/dist/collection/components/checkout/justifi-checkout.js +53 -4
  88. package/dist/collection/components/checkout/message-event-types.js +2 -0
  89. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
  90. package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
  91. package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +2 -2
  92. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  93. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +4 -4
  94. package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
  95. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  96. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  97. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  98. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +3 -3
  99. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  100. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  101. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  102. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  103. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  104. package/dist/collection/components/dispute-management/justifi-dispute-management.js +3 -3
  105. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  106. package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +2 -2
  107. package/dist/collection/components/insurance/season-interruption/justifi-season-interruption-insurance.js +2 -2
  108. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +63 -19
  109. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +3 -3
  110. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +33 -6
  111. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  112. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  113. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +28 -3
  114. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  115. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  116. package/dist/collection/components/modular-checkout/sub-components/paypal/justifi-paypal.js +1 -1
  117. package/dist/collection/components/order-terminals/justifi-order-terminals.js +3 -3
  118. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  119. package/dist/collection/components/payment-details/justifi-payment-details.js +10 -10
  120. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +3 -3
  121. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  122. package/dist/collection/components/payments-list/justifi-payments-list.js +3 -3
  123. package/dist/collection/components/payout-details/justifi-payout-details.js +5 -5
  124. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +3 -3
  125. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  126. package/dist/collection/components/payouts-list/justifi-payouts-list.js +3 -3
  127. package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +2 -2
  128. package/dist/collection/components/refund-payment/justifi-refund-payment.js +2 -2
  129. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  130. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +4 -4
  131. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  132. package/dist/collection/components/terminals-list/justifi-terminals-list.js +3 -3
  133. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +45 -6
  134. package/dist/collection/store/checkout.store.js +1 -0
  135. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  136. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  137. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  138. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  139. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  140. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  141. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  142. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  143. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  144. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  145. package/dist/collection/ui-components/form/form-control-text.js +37 -4
  146. package/dist/collection/ui-components/form/iframe-input.js +136 -14
  147. package/dist/collection/ui-components/form/utils.js +32 -0
  148. package/dist/collection/ui-components/internal-button.js +1 -1
  149. package/dist/collection/ui-components/radio-list-item.js +1 -1
  150. package/dist/collection/utils/detect-duplicate-version.js +24 -0
  151. package/dist/collection/utils/frame-comunication-service.js +6 -1
  152. package/dist/collection/utils/postal-code.js +19 -0
  153. package/dist/docs.json +315 -17
  154. package/dist/esm/{Analytics-BtMYbHD0.js → Analytics-tBzmPsnT.js} +2 -2
  155. package/dist/esm/{Api-nVK-rgbk.js → Api-BH6Wa9CT.js} +1 -1
  156. package/dist/esm/additional-questions-form-step_15.entry.js +8 -8
  157. package/dist/esm/additional-questions_4.entry.js +1 -1
  158. package/dist/esm/additional-statement_8.entry.js +8 -8
  159. package/dist/esm/bank-account-billing-form-simple_4.entry.js +13 -7
  160. package/dist/esm/bank-account-form.entry.js +64 -12
  161. package/dist/esm/{business-identity-schema-BP61Unwf.js → business-identity-schema-BLKCH6xV.js} +2 -2
  162. package/dist/esm/{business.service-Cq7H5w1T.js → business.service-XOnczlAa.js} +1 -1
  163. package/dist/esm/card-form.entry.js +12 -10
  164. package/dist/esm/{checkout.service-JA7oTq5d.js → checkout.service-DvSxk9EZ.js} +1 -1
  165. package/dist/esm/{checkout.store-B2mtQcB5.js → checkout.store-B8CGkx0o.js} +1 -0
  166. package/dist/esm/{country-config-F5YwgHgR.js → country-config-DJFj1v-Q.js} +23 -3
  167. package/dist/esm/custom-popper_2.entry.js +2 -2
  168. package/dist/esm/detect-duplicate-version-BD3-8NL2.js +27 -0
  169. package/dist/esm/dispute-notification_2.entry.js +9 -9
  170. package/dist/esm/{event-types-Dsf8IwD6.js → event-types-CM5AGGBD.js} +1 -1
  171. package/dist/esm/form-address-fields_3.entry.js +5 -5
  172. package/dist/esm/form-alert_3.entry.js +122 -16
  173. package/dist/esm/form-control-checkbox.entry.js +2 -2
  174. package/dist/esm/form-control-date.entry.js +2 -2
  175. package/dist/esm/form-control-file-v2_2.entry.js +1 -1
  176. package/dist/esm/form-control-file.entry.js +2 -2
  177. package/dist/esm/form-control-monetary.entry.js +2 -2
  178. package/dist/esm/form-control-number_2.entry.js +3 -3
  179. package/dist/esm/form-control-radio.entry.js +2 -2
  180. package/dist/esm/form-control-select_2.entry.js +22 -6
  181. package/dist/esm/{get-subaccounts-B-S2TGRa.js → get-subaccounts-P-x_RqL5.js} +1 -1
  182. package/dist/esm/internal-button.entry.js +1 -1
  183. package/dist/esm/justifi-apple-pay_12.entry.js +54 -32
  184. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +6 -6
  185. package/dist/esm/justifi-bank-account-form.entry.js +8 -7
  186. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  187. package/dist/esm/justifi-business-details.entry.js +7 -7
  188. package/dist/esm/justifi-business-form.entry.js +9 -9
  189. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  190. package/dist/esm/justifi-card-form.entry.js +9 -6
  191. package/dist/esm/justifi-checkout-qr-code.entry.js +5 -5
  192. package/dist/esm/justifi-checkout.entry.js +17 -8
  193. package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
  194. package/dist/esm/justifi-checkouts-list.entry.js +9 -9
  195. package/dist/esm/justifi-dispute-management.entry.js +7 -7
  196. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  197. package/dist/esm/justifi-order-terminals.entry.js +8 -8
  198. package/dist/esm/justifi-payment-details.entry.js +14 -14
  199. package/dist/esm/justifi-payment-provisioning.entry.js +6 -6
  200. package/dist/esm/justifi-payment-transactions-list.entry.js +7 -7
  201. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  202. package/dist/esm/justifi-payments-list.entry.js +7 -7
  203. package/dist/esm/justifi-payout-details.entry.js +9 -9
  204. package/dist/esm/justifi-payout-transactions-list.entry.js +7 -7
  205. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  206. package/dist/esm/justifi-payouts-list.entry.js +8 -8
  207. package/dist/esm/justifi-qr-terminal.entry.js +6 -6
  208. package/dist/esm/justifi-refund-payment.entry.js +6 -6
  209. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  210. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
  211. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
  212. package/dist/esm/justifi-terminal-orders-list.entry.js +7 -7
  213. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  214. package/dist/esm/justifi-terminals-list.entry.js +8 -8
  215. package/dist/esm/loader.js +1 -1
  216. package/dist/esm/package-DhrQechy.js +5 -0
  217. package/dist/esm/payment-method-option.entry.js +1 -1
  218. package/dist/esm/{payment.service-B42sKlQE.js → payment.service-CBUnE4bP.js} +1 -1
  219. package/dist/esm/{payout.service-BIoAgNJJ.js → payout.service-DUYaYbeJ.js} +1 -1
  220. package/dist/esm/{plaid.service-C6Ltk2ef.js → plaid.service-Umm80G4q.js} +1 -1
  221. package/dist/esm/radio-list-item.entry.js +1 -1
  222. package/dist/esm/save-new-payment-method.entry.js +2 -2
  223. package/dist/esm/{schema-validations-De7Qe0VU.js → schema-validations-8GJ34Do1.js} +8 -2
  224. package/dist/esm/table-filters-menu.entry.js +1 -1
  225. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  226. package/dist/esm/{terminal.service-DV3qIwBy.js → terminal.service-DeunLqmo.js} +1 -1
  227. package/dist/esm/utils-Cpck08K0.js +59 -0
  228. package/dist/esm/webcomponents.js +1 -1
  229. package/dist/module/additional-statement2.js +1 -1
  230. package/dist/module/bank-account-form2.js +63 -10
  231. package/dist/module/billing-form-full2.js +6 -2
  232. package/dist/module/cancellation-policy2.js +1 -1
  233. package/dist/module/card-billing-form-simple2.js +6 -2
  234. package/dist/module/card-form2.js +12 -9
  235. package/dist/module/checkout.store.js +1 -0
  236. package/dist/module/country-config.js +23 -3
  237. package/dist/module/custom-popper2.js +2 -2
  238. package/dist/module/customer-details2.js +1 -1
  239. package/dist/module/detect-duplicate-version.js +27 -0
  240. package/dist/module/dispute-notification2.js +2 -2
  241. package/dist/module/dispute-response2.js +3 -3
  242. package/dist/module/duplicate-charge2.js +1 -1
  243. package/dist/module/electronic-evidence2.js +1 -1
  244. package/dist/module/form-address-fields2.js +3 -3
  245. package/dist/module/form-control-checkbox2.js +2 -2
  246. package/dist/module/form-control-date2.js +2 -2
  247. package/dist/module/form-control-file-v22.js +1 -1
  248. package/dist/module/form-control-file2.js +2 -2
  249. package/dist/module/form-control-monetary2.js +2 -2
  250. package/dist/module/form-control-number-masked2.js +2 -2
  251. package/dist/module/form-control-number2.js +2 -2
  252. package/dist/module/form-control-radio2.js +2 -2
  253. package/dist/module/form-control-select2.js +2 -2
  254. package/dist/module/form-control-text2.js +21 -4
  255. package/dist/module/iframe-input2.js +125 -16
  256. package/dist/module/internal-button2.js +1 -1
  257. package/dist/module/justifi-bank-account-billing-form-simple.js +3 -3
  258. package/dist/module/justifi-bank-account-form.js +6 -4
  259. package/dist/module/justifi-billing-form-full.js +1 -1
  260. package/dist/module/justifi-business-details.js +3 -3
  261. package/dist/module/justifi-business-form.js +2 -2
  262. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  263. package/dist/module/justifi-card-form.js +6 -3
  264. package/dist/module/justifi-checkout-qr-code2.js +2 -2
  265. package/dist/module/justifi-checkout-summary2.js +1 -1
  266. package/dist/module/justifi-checkout.js +15 -4
  267. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  268. package/dist/module/justifi-checkouts-list.js +4 -4
  269. package/dist/module/justifi-dispute-management.js +3 -3
  270. package/dist/module/justifi-gross-payment-chart.js +2 -2
  271. package/dist/module/justifi-modular-checkout2.js +43 -19
  272. package/dist/module/justifi-order-terminals.js +3 -3
  273. package/dist/module/justifi-payment-details.js +10 -10
  274. package/dist/module/justifi-payment-provisioning.js +2 -2
  275. package/dist/module/justifi-payment-transactions-list.js +3 -3
  276. package/dist/module/justifi-payments-list-filters.js +2 -2
  277. package/dist/module/justifi-payments-list.js +3 -3
  278. package/dist/module/justifi-payout-details.js +5 -5
  279. package/dist/module/justifi-payout-transactions-list.js +3 -3
  280. package/dist/module/justifi-payouts-list-filters.js +2 -2
  281. package/dist/module/justifi-payouts-list.js +3 -3
  282. package/dist/module/justifi-paypal2.js +1 -1
  283. package/dist/module/justifi-qr-terminal.js +2 -2
  284. package/dist/module/justifi-refund-payment.js +2 -2
  285. package/dist/module/justifi-save-new-payment-method.js +1 -1
  286. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  287. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  288. package/dist/module/justifi-terminal-orders-list.js +4 -4
  289. package/dist/module/justifi-terminals-list-filters.js +1 -1
  290. package/dist/module/justifi-terminals-list.js +3 -3
  291. package/dist/module/justifi-tokenize-payment-method2.js +9 -6
  292. package/dist/module/package.js +1 -3
  293. package/dist/module/payment-method-option.js +1 -1
  294. package/dist/module/product-or-service2.js +1 -1
  295. package/dist/module/radio-list-item2.js +1 -1
  296. package/dist/module/refund-policy2.js +1 -1
  297. package/dist/module/save-new-payment-method2.js +1 -1
  298. package/dist/module/schema-validations.js +8 -2
  299. package/dist/module/shipping-details2.js +1 -1
  300. package/dist/module/table-filters-menu2.js +1 -1
  301. package/dist/module/terminal-quantity-selector2.js +1 -1
  302. package/dist/module/utils4.js +33 -1
  303. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +8 -1
  304. package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
  305. package/dist/types/components/checkout/justifi-checkout.d.ts +9 -0
  306. package/dist/types/components/checkout/message-event-types.d.ts +2 -0
  307. package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +9 -0
  308. package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +4 -1
  309. package/dist/types/components/modular-checkout/sub-components/justifi-card-form.d.ts +9 -0
  310. package/dist/types/components/tokenize-payment-method/justifi-tokenize-payment-method.d.ts +9 -0
  311. package/dist/types/components.d.ts +95 -3
  312. package/dist/types/store/checkout.store.d.ts +1 -0
  313. package/dist/types/ui-components/form/form-control-text.d.ts +1 -0
  314. package/dist/types/ui-components/form/iframe-input.d.ts +24 -0
  315. package/dist/types/ui-components/form/utils.d.ts +1 -0
  316. package/dist/types/utils/detect-duplicate-version.d.ts +7 -0
  317. package/dist/types/utils/postal-code.d.ts +3 -0
  318. package/dist/webcomponents/{p-de047614.entry.js → p-06ed3518.entry.js} +1 -1
  319. package/dist/webcomponents/p-12f5fdc0.entry.js +1 -0
  320. package/dist/webcomponents/p-1ceb65cc.entry.js +1 -0
  321. package/dist/webcomponents/{p-777470cb.entry.js → p-2272a65b.entry.js} +1 -1
  322. package/dist/webcomponents/{p-c4889a06.entry.js → p-2d25f1d1.entry.js} +1 -1
  323. package/dist/webcomponents/p-357d14ee.entry.js +1 -0
  324. package/dist/webcomponents/{p-a10beb26.entry.js → p-3d02cb78.entry.js} +1 -1
  325. package/dist/webcomponents/{p-ead48010.entry.js → p-4450dbe9.entry.js} +1 -1
  326. package/dist/webcomponents/p-4dabcfd6.entry.js +1 -0
  327. package/dist/webcomponents/p-511bc0b2.entry.js +1 -0
  328. package/dist/webcomponents/p-51238f79.entry.js +1 -0
  329. package/dist/webcomponents/p-521c534c.entry.js +1 -0
  330. package/dist/webcomponents/{p-0e9351c4.entry.js → p-5331e011.entry.js} +1 -1
  331. package/dist/webcomponents/p-5be775e8.entry.js +1 -0
  332. package/dist/webcomponents/{p-cec7164e.entry.js → p-5e196140.entry.js} +1 -1
  333. package/dist/webcomponents/{p-f40fa614.entry.js → p-5f20b0da.entry.js} +1 -1
  334. package/dist/webcomponents/p-63e02d42.entry.js +1 -0
  335. package/dist/webcomponents/{p-9e3e2e32.entry.js → p-6aaf2758.entry.js} +1 -1
  336. package/dist/webcomponents/p-6bfdc443.entry.js +1 -0
  337. package/dist/webcomponents/{p-42021e67.entry.js → p-6f3b035b.entry.js} +1 -1
  338. package/dist/webcomponents/p-6f7756b7.entry.js +1 -0
  339. package/dist/webcomponents/p-80177bcb.entry.js +1 -0
  340. package/dist/webcomponents/p-8758aec4.entry.js +1 -0
  341. package/dist/webcomponents/p-87f8d4e7.entry.js +1 -0
  342. package/dist/webcomponents/{p-88a44a02.entry.js → p-89ed2d99.entry.js} +1 -1
  343. package/dist/webcomponents/p-91358854.entry.js +1 -0
  344. package/dist/webcomponents/p-9b930446.entry.js +1 -0
  345. package/dist/webcomponents/p-9c4ac3c5.entry.js +1 -0
  346. package/dist/webcomponents/{p-B_2zgnvM.js → p-B6kC9tX2.js} +1 -1
  347. package/dist/webcomponents/{p-D7fNBSlC.js → p-BKrZL95i.js} +1 -1
  348. package/dist/webcomponents/{p-rFpPIJgu.js → p-Bo7ndXwR.js} +1 -1
  349. package/dist/webcomponents/{p-iA-Amt2z.js → p-C8J9uVEs.js} +1 -1
  350. package/dist/webcomponents/{p-DC2djVls.js → p-CEGSQXGU.js} +1 -1
  351. package/dist/webcomponents/{p-BjjKkMO1.js → p-CEHwp4sh.js} +1 -1
  352. package/dist/webcomponents/{p-C60AkJ6a.js → p-CKL24GQA.js} +1 -1
  353. package/dist/webcomponents/{p-BmaQUnqv.js → p-CRaiEpKf.js} +1 -1
  354. package/dist/webcomponents/p-CkrzG0pB.js +1 -0
  355. package/dist/webcomponents/{p-D694H6co.js → p-Cl6irPVE.js} +1 -1
  356. package/dist/webcomponents/p-Cpck08K0.js +1 -0
  357. package/dist/webcomponents/{p-C6Jq8YDT.js → p-DCpGH4xL.js} +1 -1
  358. package/dist/webcomponents/{p-pueOrhXO.js → p-DEfLsy2W.js} +1 -1
  359. package/dist/webcomponents/p-DF7oFWnO.js +1 -0
  360. package/dist/webcomponents/p-DMzYgqml.js +1 -0
  361. package/dist/webcomponents/p-DhrQechy.js +1 -0
  362. package/dist/webcomponents/p-FsWkrvEF.js +1 -0
  363. package/dist/webcomponents/p-a1e1afa4.entry.js +1 -0
  364. package/dist/webcomponents/{p-13814028.entry.js → p-a1ef7674.entry.js} +1 -1
  365. package/dist/webcomponents/p-a2c4e99f.entry.js +1 -0
  366. package/dist/webcomponents/p-a8f1c9b3.entry.js +1 -0
  367. package/dist/webcomponents/p-aba3b0dc.entry.js +1 -0
  368. package/dist/webcomponents/{p-065b854f.entry.js → p-abebb03c.entry.js} +1 -1
  369. package/dist/webcomponents/{p-1cfa634a.entry.js → p-adaa1c98.entry.js} +1 -1
  370. package/dist/webcomponents/{p-f2b3c7d5.entry.js → p-b2b0303d.entry.js} +1 -1
  371. package/dist/webcomponents/{p-59b95eae.entry.js → p-b39c7414.entry.js} +1 -1
  372. package/dist/webcomponents/p-b925d666.entry.js +1 -0
  373. package/dist/webcomponents/p-bd4d2924.entry.js +1 -0
  374. package/dist/webcomponents/p-c172decb.entry.js +1 -0
  375. package/dist/webcomponents/p-d19d7d41.entry.js +1 -0
  376. package/dist/webcomponents/p-d59d6c23.entry.js +1 -0
  377. package/dist/webcomponents/p-deff4422.entry.js +1 -0
  378. package/dist/webcomponents/p-e1fbadea.entry.js +1 -0
  379. package/dist/webcomponents/{p-1365a46b.entry.js → p-e3c7b4e5.entry.js} +1 -1
  380. package/dist/webcomponents/{p-a7c594d1.entry.js → p-e5feca94.entry.js} +1 -1
  381. package/dist/webcomponents/p-e75d1756.entry.js +1 -0
  382. package/dist/webcomponents/{p-97c6593d.entry.js → p-ebae270b.entry.js} +1 -1
  383. package/dist/webcomponents/p-ebed68aa.entry.js +1 -0
  384. package/dist/webcomponents/{p-16261d8a.entry.js → p-f0084d20.entry.js} +1 -1
  385. package/dist/webcomponents/p-f2c99647.entry.js +1 -0
  386. package/dist/webcomponents/{p-429046e1.entry.js → p-f5686720.entry.js} +1 -1
  387. package/dist/webcomponents/p-f681f747.entry.js +1 -0
  388. package/dist/webcomponents/p-fcc5af24.entry.js +1 -0
  389. package/dist/webcomponents/{p-0f7e3515.entry.js → p-fd1718e0.entry.js} +4 -4
  390. package/dist/webcomponents/p-ff67c8f7.entry.js +1 -0
  391. package/dist/webcomponents/webcomponents.esm.js +1 -1
  392. package/package.json +14 -14
  393. package/LICENSE +0 -21
  394. package/dist/cjs/check-pkg-version-CjJab8fX.js +0 -47
  395. package/dist/cjs/utils-DAyWinG2.js +0 -29
  396. package/dist/collection/utils/check-pkg-version.js +0 -42
  397. package/dist/esm/check-pkg-version-BW9zgceK.js +0 -45
  398. package/dist/esm/package-BC9n8nB2.js +0 -7
  399. package/dist/esm/utils-BnjCmwMr.js +0 -27
  400. package/dist/module/check-pkg-version.js +0 -45
  401. package/dist/types/utils/check-pkg-version.d.ts +0 -1
  402. package/dist/webcomponents/p-082f912c.entry.js +0 -1
  403. package/dist/webcomponents/p-0cd689f4.entry.js +0 -1
  404. package/dist/webcomponents/p-0fbc806f.entry.js +0 -1
  405. package/dist/webcomponents/p-10787684.entry.js +0 -1
  406. package/dist/webcomponents/p-19cabdaf.entry.js +0 -1
  407. package/dist/webcomponents/p-1fa62eba.entry.js +0 -1
  408. package/dist/webcomponents/p-2ef913b8.entry.js +0 -1
  409. package/dist/webcomponents/p-36340e63.entry.js +0 -1
  410. package/dist/webcomponents/p-388082cd.entry.js +0 -1
  411. package/dist/webcomponents/p-3a1f8c5b.entry.js +0 -1
  412. package/dist/webcomponents/p-3f2fb856.entry.js +0 -1
  413. package/dist/webcomponents/p-44ff4f2c.entry.js +0 -1
  414. package/dist/webcomponents/p-4740601b.entry.js +0 -1
  415. package/dist/webcomponents/p-6c7fca1a.entry.js +0 -1
  416. package/dist/webcomponents/p-72bb4aff.entry.js +0 -1
  417. package/dist/webcomponents/p-735d397e.entry.js +0 -1
  418. package/dist/webcomponents/p-8432cb42.entry.js +0 -1
  419. package/dist/webcomponents/p-89f0c2aa.entry.js +0 -1
  420. package/dist/webcomponents/p-9b43b90d.entry.js +0 -1
  421. package/dist/webcomponents/p-9db15fac.entry.js +0 -1
  422. package/dist/webcomponents/p-9eb00966.entry.js +0 -1
  423. package/dist/webcomponents/p-9f0ef3f3.entry.js +0 -1
  424. package/dist/webcomponents/p-BAvoKtN2.js +0 -1
  425. package/dist/webcomponents/p-BC9n8nB2.js +0 -1
  426. package/dist/webcomponents/p-BnjCmwMr.js +0 -1
  427. package/dist/webcomponents/p-Fpaf7CLD.js +0 -1
  428. package/dist/webcomponents/p-_MjmE9YT.js +0 -1
  429. package/dist/webcomponents/p-a71cc8e2.entry.js +0 -1
  430. package/dist/webcomponents/p-a8d25057.entry.js +0 -1
  431. package/dist/webcomponents/p-acb0b66c.entry.js +0 -1
  432. package/dist/webcomponents/p-b9ba7c95.entry.js +0 -1
  433. package/dist/webcomponents/p-c385f10d.entry.js +0 -1
  434. package/dist/webcomponents/p-c55fdbbf.entry.js +0 -1
  435. package/dist/webcomponents/p-ca6c5365.entry.js +0 -1
  436. package/dist/webcomponents/p-d3544e86.entry.js +0 -1
  437. package/dist/webcomponents/p-f0434a13.entry.js +0 -1
  438. package/dist/webcomponents/p-f5cb6a26.entry.js +0 -1
  439. package/dist/webcomponents/p-f9f310dc.entry.js +0 -1
  440. package/dist/webcomponents/p-fda6f27d.entry.js +0 -1
  441. package/dist/webcomponents/p-riZDHN5-.js +0 -1
@@ -5,10 +5,10 @@ import { m as Checkout, C as ComponentErrorSeverity, b as ComponentErrorCodes }
5
5
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
6
6
  import './Business-CTtGaVYs.js';
7
7
  import { g as getErrorCode, a as getErrorMessage } from './utils-DaPywmTI.js';
8
- import { c as checkPkgVersion } from './check-pkg-version-BW9zgceK.js';
9
- import { J as JustifiAnalytics } from './Analytics-BtMYbHD0.js';
10
- import { C as CheckoutService } from './checkout.service-JA7oTq5d.js';
11
- import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-B-S2TGRa.js';
8
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-BD3-8NL2.js';
9
+ import { J as JustifiAnalytics } from './Analytics-tBzmPsnT.js';
10
+ import { C as CheckoutService } from './checkout.service-DvSxk9EZ.js';
11
+ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-P-x_RqL5.js';
12
12
  import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
13
13
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table-CD17nv9n.js';
14
14
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
@@ -17,8 +17,8 @@ import { B as BadgeVariant, a as Badge } from './badge-B7QMpafx.js';
17
17
  import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-Bu7gdOaV.js';
18
18
  import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state-DfRLZrOO.js';
19
19
  import './index-3wWWWrhn.js';
20
- import './package-BC9n8nB2.js';
21
- import './Api-nVK-rgbk.js';
20
+ import './package-DhrQechy.js';
21
+ import './Api-BH6Wa9CT.js';
22
22
  import './spinner-EZmqiSfd.js';
23
23
 
24
24
  const makeGetCheckouts = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError }) => {
@@ -123,7 +123,7 @@ const JustifiCheckoutsList = class {
123
123
  };
124
124
  }
125
125
  componentWillLoad() {
126
- checkPkgVersion();
126
+ detectDuplicateVersion();
127
127
  this.analytics = new JustifiAnalytics(this);
128
128
  this.checkoutsTable = new Table(this.checkouts, this.columns, checkoutTableColumns, checkoutTableCells);
129
129
  this.initializeGetData();
@@ -265,8 +265,8 @@ const JustifiCheckoutsList = class {
265
265
  return !this.showEmptyState && !this.showErrorState && !this.loading;
266
266
  }
267
267
  render() {
268
- return (h(StyledHost, { key: 'a7b1654b627bab83958b7247b27c296ee1164cfc' }, h(TableWrapper, { key: 'e3dddb238409f778e52ad036b7cd2ec41279f3dc' }, h(TableComponent, { key: 'd0960d893904207989f88685bcc80bc6c1979b47' }, h(TableHead, { key: 'dc11347964df3a6c5d4adce407e668fd0a7683cf' }, h(TableHeadRow, { key: '5c2ee6078f1ff84b273ce843b24d47161097155e' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '6c88b83f5369accef71b05713fa7b1fd43b01862' }, h(TableLoadingState, { key: 'f463c22c1f6cc7e80a698b0ae751f8ab7fb43cc5', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a9414a60b8c91f87537da7853bfb32264c2c966b', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '41ebd0d98fe7591a0cc93e1fd37f0a2027d249fb', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
269
- this.checkoutsTable.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: 'e41929553535de5f86ce9b84f5264bb1c3a43796' }, h(TableFootRow, { key: 'c4cc91e37335f5ed9b9819364978d3eeecd6f879' }, h(TableFootCell, { key: '7f0fcab1ec2c31c9f82de6b8d524f9a8166c229b', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '0949bb91fa20cb78dfb1b7a01c91db713cb92c00', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
268
+ return (h(StyledHost, { key: '5c72630838781f32e31d44510c9793ef71d863cd' }, h(TableWrapper, { key: '01c4456bfc252a55de1351bd54500ab6f9d22d2e' }, h(TableComponent, { key: '2a69c5b2d27caf1a648efed450e8eadf583e3858' }, h(TableHead, { key: 'f524af14960a68a035eb75cfa7d2c6255d0e0de3' }, h(TableHeadRow, { key: '2cbf9ac9228aa770da72e9d3d618e61094bb65b6' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '2c246fa63dd49ff4bf4a29a25717d4191a904443' }, h(TableLoadingState, { key: '83fcebd9b8775ec50b614925ad2c153d6ac1888a', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a37d1f0001e1c5f793eda759f82e58e42be49321', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '57cb26d7929f007ae9e14faf63b29b06b3097828', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
269
+ this.checkoutsTable.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: 'edd82eb558b69329970c93f207f840cca8de2884' }, h(TableFootRow, { key: 'deed2dee3d311b76888003cbeffd00c5397cc6c8' }, h(TableFootCell, { key: 'b9845ccc21e916ccef0c3f3dba37e1187c80769d', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '7af1644ff5e5cb8a2ca68705f481f5991c7a09b2', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
270
270
  }
271
271
  static get watchers() { return {
272
272
  "accountId": ["authPropChanged"],
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
2
2
  import { D as Dispute, C as ComponentErrorSeverity, b as ComponentErrorCodes, h as DisputeStatus } from './Plaid-CRcTLeaz.js';
3
- import { J as JustifiAnalytics } from './Analytics-BtMYbHD0.js';
4
- import { c as checkPkgVersion } from './check-pkg-version-BW9zgceK.js';
3
+ import { J as JustifiAnalytics } from './Analytics-tBzmPsnT.js';
4
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-BD3-8NL2.js';
5
5
  import { g as getErrorCode, a as getErrorMessage } from './utils-DaPywmTI.js';
6
- import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-Dsf8IwD6.js';
6
+ import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-CM5AGGBD.js';
7
7
  import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
8
8
  import './event-types-CZfYo5-1.js';
9
9
  import './utils-D8J8OvxY.js';
10
10
  import './dinero-HXpYMWUU.js';
11
- import './package-BC9n8nB2.js';
12
- import './Api-nVK-rgbk.js';
11
+ import './package-DhrQechy.js';
12
+ import './Api-BH6Wa9CT.js';
13
13
  import './config-state-BKOsYBXZ.js';
14
14
  import './index-3wWWWrhn.js';
15
15
  import './Pagination-CLHwhyvu.js';
@@ -76,7 +76,7 @@ const JustifiDisputeManagement = class {
76
76
  this.fetchData();
77
77
  }
78
78
  componentWillLoad() {
79
- checkPkgVersion();
79
+ detectDuplicateVersion();
80
80
  this.analytics = new JustifiAnalytics(this);
81
81
  this.initializeGetDispute();
82
82
  }
@@ -131,7 +131,7 @@ const JustifiDisputeManagement = class {
131
131
  });
132
132
  }
133
133
  render() {
134
- return (h(StyledHost, { key: 'd5af8e699e5b96a91d866a274addac1da03c2a10' }, h("div", { key: '14b445c20f27bed7e3131cbd6c8d87c0d3030c57' }, this.showDisputeResponseForm ? (h("dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading })))));
134
+ return (h(StyledHost, { key: '536b3342783fa8e51a46da6d44ec403ffdd39bcf' }, h("div", { key: 'b365ed8379080dbe949065e4c2101c288da498c5' }, this.showDisputeResponseForm ? (h("dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading })))));
135
135
  }
136
136
  static get watchers() { return {
137
137
  "disputeId": ["propChanged"],
@@ -1,19 +1,19 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
2
- import { A as Api } from './Api-nVK-rgbk.js';
2
+ import { A as Api } from './Api-BH6Wa9CT.js';
3
3
  import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
5
  import './Business-CTtGaVYs.js';
6
6
  import { g as getErrorCode, a as getErrorMessage } from './utils-DaPywmTI.js';
7
7
  import { E as ErrorState } from './utils-BFduyAPr.js';
8
- import { J as JustifiAnalytics } from './Analytics-BtMYbHD0.js';
9
- import { c as checkPkgVersion } from './check-pkg-version-BW9zgceK.js';
8
+ import { J as JustifiAnalytics } from './Analytics-tBzmPsnT.js';
9
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-BD3-8NL2.js';
10
10
  import { f as formatCurrency, o as formatDisplayDate } from './utils-D8J8OvxY.js';
11
11
  import { S as Spinner } from './spinner-EZmqiSfd.js';
12
12
  import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
13
13
  import './event-types-CZfYo5-1.js';
14
14
  import './config-state-BKOsYBXZ.js';
15
15
  import './index-3wWWWrhn.js';
16
- import './package-BC9n8nB2.js';
16
+ import './package-DhrQechy.js';
17
17
  import './parts-Bu7gdOaV.js';
18
18
  import './dinero-HXpYMWUU.js';
19
19
 
@@ -11067,7 +11067,7 @@ const JustifiGrossPaymentChart = class {
11067
11067
  this.wrapperErrorMessage = null;
11068
11068
  }
11069
11069
  componentWillLoad() {
11070
- checkPkgVersion();
11070
+ detectDuplicateVersion();
11071
11071
  this.analytics = new JustifiAnalytics(this);
11072
11072
  this.initializeGetGrossPayment();
11073
11073
  }
@@ -2,10 +2,10 @@ import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js'
2
2
  import { a9 as heading5, a8 as heading4, a1 as buttonPrimary, t as text } from './parts-Bu7gdOaV.js';
3
3
  import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
4
4
  import './event-types-CZfYo5-1.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-BW9zgceK.js';
6
- import { J as JustifiAnalytics } from './Analytics-BtMYbHD0.js';
5
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-BD3-8NL2.js';
6
+ import { J as JustifiAnalytics } from './Analytics-tBzmPsnT.js';
7
7
  import { o as TerminalModel, C as ComponentErrorSeverity, p as TerminalOrder, f as TerminalOrderType, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
8
- import { B as BusinessService } from './business.service-Cq7H5w1T.js';
8
+ import { B as BusinessService } from './business.service-XOnczlAa.js';
9
9
  import { B as Business } from './Business-CTtGaVYs.js';
10
10
  import { m as makeGetBusiness } from './get-business-IZpxKRZM.js';
11
11
  import { S as Skeleton } from './skeleton-dbktEkFS.js';
@@ -13,10 +13,10 @@ import './config-state-BKOsYBXZ.js';
13
13
  import './dinero-HXpYMWUU.js';
14
14
  import './Pagination-CLHwhyvu.js';
15
15
  import { g as getErrorCode, a as getErrorMessage } from './utils-DaPywmTI.js';
16
- import { T as TerminalService } from './terminal.service-DV3qIwBy.js';
16
+ import { T as TerminalService } from './terminal.service-DeunLqmo.js';
17
17
  import { k as formatPhoneNumber } from './utils-D8J8OvxY.js';
18
- import './package-BC9n8nB2.js';
19
- import './Api-nVK-rgbk.js';
18
+ import './package-DhrQechy.js';
19
+ import './Api-BH6Wa9CT.js';
20
20
  import './index-3wWWWrhn.js';
21
21
 
22
22
  const FormBlock = () => (h("div", { class: "row gap-3" }, h("div", { class: "col-12" }, h(Skeleton, { width: "25%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "100%" })), h("div", { class: "col-12 d-flex gap-3" }, h(Skeleton, { width: "50%" }), h(Skeleton, { width: "50%" })), h("div", { class: "col-12 d-flex gap-3" }, h(Skeleton, { width: "65%" }), h(Skeleton, { width: "35%" }))));
@@ -106,7 +106,7 @@ const JustifiOrderTerminals = class {
106
106
  sub_account_id: this.accountId,
107
107
  order_type: this.shipping ? TerminalOrderType.boardingShipping : TerminalOrderType.boardingOnly,
108
108
  });
109
- checkPkgVersion();
109
+ detectDuplicateVersion();
110
110
  this.analytics = new JustifiAnalytics(this);
111
111
  this.loadData();
112
112
  }
@@ -201,7 +201,7 @@ const JustifiOrderTerminals = class {
201
201
  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))));
202
202
  }
203
203
  render() {
204
- return (h(StyledHost, { key: '54455809df1f26151a5ef7d5935e38a8329cbc2e' }, h("div", { key: '6ea3b5336d4c779da65bf2b710aa8fa5757c3b19', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
204
+ return (h(StyledHost, { key: '9c1c5ef1be4ad0bc5b805321ce1c2e641c60d2b5' }, h("div", { key: '48720580edec029c7768c291429014df476e7e0f', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
205
205
  }
206
206
  };
207
207
 
@@ -1,9 +1,9 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
- import { P as PaymentService } from './payment.service-B42sKlQE.js';
2
+ import { P as PaymentService } from './payment.service-CBUnE4bP.js';
3
3
  import { m as makeGetPaymentDetails } from './get-payment-details-DSI41Pq5.js';
4
4
  import { C as ComponentErrorSeverity, b as ComponentErrorCodes, i as PaymentStatuses, h as DisputeStatus } from './Plaid-CRcTLeaz.js';
5
- import { J as JustifiAnalytics } from './Analytics-BtMYbHD0.js';
6
- import { c as checkPkgVersion } from './check-pkg-version-BW9zgceK.js';
5
+ import { J as JustifiAnalytics } from './Analytics-tBzmPsnT.js';
6
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-BD3-8NL2.js';
7
7
  import './config-state-BKOsYBXZ.js';
8
8
  import { b as formatDate, d as formatTime, s as snakeCaseToHumanReadable } from './utils-D8J8OvxY.js';
9
9
  import './Pagination-CLHwhyvu.js';
@@ -14,8 +14,8 @@ import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
14
14
  import './event-types-CZfYo5-1.js';
15
15
  import { S as Skeleton } from './skeleton-dbktEkFS.js';
16
16
  import { a as Badge, B as BadgeVariant } from './badge-B7QMpafx.js';
17
- import './Api-nVK-rgbk.js';
18
- import './package-BC9n8nB2.js';
17
+ import './Api-BH6Wa9CT.js';
18
+ import './package-DhrQechy.js';
19
19
  import './dinero-HXpYMWUU.js';
20
20
  import './utils-DaPywmTI.js';
21
21
  import './index-3wWWWrhn.js';
@@ -31,7 +31,7 @@ const JustifiPaymentDetails = class {
31
31
  this.loading = true;
32
32
  }
33
33
  componentWillLoad() {
34
- checkPkgVersion();
34
+ detectDuplicateVersion();
35
35
  this.analytics = new JustifiAnalytics(this);
36
36
  this.initializeGetPaymentDetails();
37
37
  }
@@ -96,16 +96,16 @@ const JustifiPaymentDetails = class {
96
96
  return this.payment.status;
97
97
  }
98
98
  render() {
99
- return (h(StyledHost, { key: 'c20a9881f121383742df4097abd211fc01fa614c' }, this.loading && h(PaymentDetailsLoading, { key: 'cea1dbe1de00b872e3eb83207c2f3f198dd0ce3f' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
100
- this.payment && (h("justifi-details", { key: '821173761c94527c920ced8af53634389ee5e6fd', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: 'c596fc0f0a72f1775295fddb96490c9c2b7c8a4d', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.PaymentStatus), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: 'bd77afb1bffcf42d07858f7f717fcbf672762766', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'ccfb0af2a6680eb76a4e6db01728204725b752c0', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '60f832dd62f9b4aed3495c6aeb38d7798aedf420', title: "ID", value: this.payment.id })), h("div", { key: '3073acb5c67e330e18f45d00b62912bcb5d6b49f', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'aae396fef7ef9394ac4f90a0d3ae5090dfd91e5c', sectionTitle: "Details" }), h("div", { key: '71330cbb6fef542f60d76a1a6bee1e1d950a95da', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '0d64521a40aff244e599a0f8946c8c1a06f6c1f5', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'b67670f8c89d38b5dac856e0326e8dc4aa79240b', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'ec82b98af9fc602c273c7d624aae13b2121f40ab', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'f785ac60c1a5520d3fefdcd746629431db689dae', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: 'ad986f25d781e51ba7991b5487dcacb63c0e2422', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: 'aa9918c2962d5e17a3bc7550dc134a85c9f863ab', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '4052d75ce51d350d3f82b05a2447cb0481b9ffa0', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '2f89484e36dc4e5a01e27033f7ff9602b2d181d7', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '41768b7db45146a949180eebb0ae53d19d39cb7b', title: "Description", value: this.payment.description }), h(DetailItem, { key: 'fef4e8b59d7ca04ee895a7b4eba58503b97956f9', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
101
- h(DetailSectionTitle, { key: '615d5d3a1df6e0b32cd5d7d4dd264250f732a2f4', sectionTitle: "Payment Method" }),
102
- h("div", { key: '37811c349258526f1fb5e1d7dda8547a01fbc4c7', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'eee5b8828dc3b5e7bf5738d95d488b03d7704934', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'dbda1d8cf16914f1adf0803340d807abc504758b', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '2887c82fcaec3a7322644a928e4291970a69d4a4', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'dc707f794882ba9143cc46541ce89f072e98a653', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '8de60a9b5d5f781d1554108fc80ae0799e3143a6', title: "Cardholder", value: this.payment.payment_method.payersName }))
99
+ return (h(StyledHost, { key: 'a7e9a3c93f59da404cf7c3df9b2cfb8f0b66f4d8' }, this.loading && h(PaymentDetailsLoading, { key: '05e83902cbff7a519d75d7a6e4d60f339ee96d62' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
100
+ this.payment && (h("justifi-details", { key: '6834945fb72058baa2ea003ddd76e42bd668e1e9', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: 'e871f1bc22b7fe5258cc1f355889fa5dcd4ba248', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.PaymentStatus), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '8307379ee887005233312e034313e63807f5aa01', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '4d52632189924a0eee5863ccb86ef8ed9cb3cd73', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '6da7139347579c1e624b0b9fd9eda91c3bceed26', title: "ID", value: this.payment.id })), h("div", { key: '702bfdbfc347dea70c59567e468921ee8a9a12cd', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '14ef79439ca64078b38fbd1cf00294353fedc711', sectionTitle: "Details" }), h("div", { key: 'db501b8356338bb8899ae31c1906aa4b2f972869', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'd162560b7d68d00f0ec49052f0f233dd17c8ca6c', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '25aa60b3b77584b7e2a950b02c261f2cc573374d', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '56f9734a9d5e99cd9ac0f501d0fdfe503bc43a43', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '9cf0070085d224bfde3112f3fd2a9a0f0ec0c644', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '1ec324fdc3c077382fb3aaa07c1d2c2cea55c851', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: '6fc4866f2f107911f15b014d451b074fea813475', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: 'd88f789cffbb9c998585f75b4951f3c1f7943317', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '17aa232392ee07c67ecfb75f33c7bf9fcdc4827b', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '2e16cb0cb370245e4d5228187648115a3097deb8', title: "Description", value: this.payment.description }), h(DetailItem, { key: '48115ee84b177a50fb5d8ff52d5fc0dcf4b54f45', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
101
+ h(DetailSectionTitle, { key: '4a9b102db3741a4b19f641d4dda40b868b2a850d', sectionTitle: "Payment Method" }),
102
+ h("div", { key: '445700f124e5bd78002a950383abd04010d17566', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '2d4af0d10f3a434a1ea959ea69edb9998babed1f', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '25d1550693424530e9159d71652966c9a95c8ea1', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '26ebdd7378212735eb9244a19300e11d2676e1b4', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '54ea6597354ee0973e8b26938929b59e2764979e', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '35570db9207f3a635e65a432645c48d719c43eb3', title: "Cardholder", value: this.payment.payment_method.payersName }))
103
103
  ], this.payment.payment_method.bank_account && [
104
- h(DetailSectionTitle, { key: '697f50418855675ea222fe2dc7558d30f884ed47', sectionTitle: "Payment Method" }),
105
- h("div", { key: 'c7a013952b32f95a74d0e0f281a0750966e58c0d', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'ea9692b3a3dac313aa366ec22f0d766ba5eb0d52', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '5826fd24417df7fbaf952d60dbb21eb7ebf6ce36', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: 'a16f0171e05a59eb302404b1c5ccfc4a62e9899b', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '88dbbfe65ef4e7d1e31c9fc98de3dfddd33526c1', title: "Account Owner", value: this.payment.payment_method.payersName }))
104
+ h(DetailSectionTitle, { key: 'ddf40dd9d67bc7f1b2845e04f54e1c13ef3595d7', sectionTitle: "Payment Method" }),
105
+ h("div", { key: '1e885546d02b46e6062ea14520cf4696ae700891', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '720d5976c091e16c3b7588f90d5d9b75f4906df4', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '83d82efdb0c25417f7124623c8da76af09dccd4a', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '3940d8a1db31b249bb826606ad8dc432eaa254c5', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '000b585a4ea9937473fa8e2e33342756b99d6c19', title: "Account Owner", value: this.payment.payment_method.payersName }))
106
106
  ], this.payment.metadata && [
107
- h(DetailSectionTitle, { key: '7f686436fda99b434f651758e420f2ad6be5d60a', sectionTitle: 'Metadata' }),
108
- h("div", { key: '67b2e9543eba5c27c1d5b7e1a70115a2eb7f274a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'f2dc90048696d2c8b0868d966d1e318e2c16fdbf', metadata: this.payment.metadata }))
107
+ h(DetailSectionTitle, { key: '27f2e988168efe8044782c0144764dd94e739986', sectionTitle: 'Metadata' }),
108
+ h("div", { key: 'b3ecbaf625f30f85e3bc8e733d5041d62c5acaeb', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '2470f5603cd55c2a196668f7ff6184ca5d1a0373', metadata: this.payment.metadata }))
109
109
  ])))));
110
110
  }
111
111
  static get watchers() { return {
@@ -1,12 +1,12 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
- import { J as JustifiAnalytics } from './Analytics-BtMYbHD0.js';
2
+ import { J as JustifiAnalytics } from './Analytics-tBzmPsnT.js';
3
3
  import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
4
4
  import { m as makeGetBusiness, b as makePostProvisioning } from './payment-provisioning-actions-VtleD509.js';
5
- import { B as BusinessService } from './business.service-Cq7H5w1T.js';
6
- import { A as Api } from './Api-nVK-rgbk.js';
5
+ import { B as BusinessService } from './business.service-XOnczlAa.js';
6
+ import { A as Api } from './Api-BH6Wa9CT.js';
7
7
  import './Pagination-CLHwhyvu.js';
8
8
  import { C as CountryCode, B as Business, e as checkProvisioningStatus } from './Business-CTtGaVYs.js';
9
- import { c as checkPkgVersion } from './check-pkg-version-BW9zgceK.js';
9
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-BD3-8NL2.js';
10
10
  import { l as isTokenExpired } from './utils-D8J8OvxY.js';
11
11
  import { t as text } from './parts-Bu7gdOaV.js';
12
12
  import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
@@ -14,7 +14,7 @@ import { H as Header1 } from './header-1-BI0o3rMW.js';
14
14
  import './event-types-CZfYo5-1.js';
15
15
  import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
16
16
  import { P as PaymentProvisioningLoading } from './payment-provisioning-loading-BxHRVFDi.js';
17
- import './package-BC9n8nB2.js';
17
+ import './package-DhrQechy.js';
18
18
  import './utils-DaPywmTI.js';
19
19
  import './config-state-BKOsYBXZ.js';
20
20
  import './index-3wWWWrhn.js';
@@ -138,7 +138,7 @@ const JustifiPaymentProvisioning = class {
138
138
  this.loading = event.detail;
139
139
  }
140
140
  async componentWillLoad() {
141
- checkPkgVersion();
141
+ detectDuplicateVersion();
142
142
  this.analytics = new JustifiAnalytics(this);
143
143
  this.initializeApi();
144
144
  if (this.getBusiness) {
@@ -4,18 +4,18 @@ import './dinero-HXpYMWUU.js';
4
4
  import { j as PaymentBalanceTransaction, C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
5
5
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
6
6
  import './Business-CTtGaVYs.js';
7
- import { J as JustifiAnalytics } from './Analytics-BtMYbHD0.js';
8
- import { c as checkPkgVersion } from './check-pkg-version-BW9zgceK.js';
7
+ import { J as JustifiAnalytics } from './Analytics-tBzmPsnT.js';
8
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-BD3-8NL2.js';
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils-DaPywmTI.js';
10
- import { P as PaymentService } from './payment.service-B42sKlQE.js';
10
+ import { P as PaymentService } from './payment.service-CBUnE4bP.js';
11
11
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table-CD17nv9n.js';
12
12
  import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
13
13
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
14
14
  import { a as convertToLocal } from './utils-D8J8OvxY.js';
15
15
  import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-Bu7gdOaV.js';
16
16
  import './index-3wWWWrhn.js';
17
- import './package-BC9n8nB2.js';
18
- import './Api-nVK-rgbk.js';
17
+ import './package-DhrQechy.js';
18
+ import './Api-BH6Wa9CT.js';
19
19
  import './spinner-EZmqiSfd.js';
20
20
 
21
21
  const makeGetPaymentTransactions = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
@@ -126,7 +126,7 @@ const JustifiPaymentTransactionsList = class {
126
126
  }
127
127
  componentWillLoad() {
128
128
  this.transactionsTable = new Table(this.balanceTransactions, this.columns, paymentTransactionTableColumns, paymentTransactionTableCells);
129
- checkPkgVersion();
129
+ detectDuplicateVersion();
130
130
  this.analytics = new JustifiAnalytics(this);
131
131
  this.initializeApi();
132
132
  }
@@ -183,7 +183,7 @@ const JustifiPaymentTransactionsList = class {
183
183
  return !this.showEmptyState && !this.showErrorState && !this.isLoading;
184
184
  }
185
185
  render() {
186
- return (h(StyledHost, { key: 'f8b0f3a58ef7f88c0ac42fc58955b28ad97922e4' }, h(TableWrapper, { key: '2dc653b63611cbdfa388b386cec9b3adf751bd12' }, h(TableComponent, { key: 'a0bd64c01870ccd4bb921d5d90c7453650131f16' }, h(TableHead, { key: 'b92ce24dab41cbaf1d8ecb1df43739d2548fe73f' }, h(TableHeadRow, { key: '5f983b93b2b9b6661cae2cf74802519175aae8cc' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'd9a51ecfc54c16a4859f9d66fb783f3876fc3428' }, h(TableLoadingState, { key: '232f1b59ddeb9f949901678a67c652cc3aedfdf7', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'bd9a853887da939c651c234cd4f0e3ab35d610d1', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'da157eb9d18d89353f6aebb085bb4becb15ac89f', 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: '41ffc1c9d3591dad7973f862b78b488e089af863' }, h(TableFootRow, { key: '17780690e1b44eb6ba13128d3ecfee73c6be06a7' }, h(TableFootCell, { key: '312b9a0b9649ffd9033ec1333b2d9d8eb666d185', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '4ef805672cf530850ecdf13e26eefc8015f80fa3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
186
+ return (h(StyledHost, { key: '5b7246beab86213a69da2f95aa1d25d4bb39c1a2' }, h(TableWrapper, { key: 'f0f04475575f66615e8a69b4c3ed436508addfb0' }, h(TableComponent, { key: '5b358517f6677994141931fbc90fb44503f1aadc' }, h(TableHead, { key: '1bcfcf413f0e1eb24da52c31efab1835277396fa' }, h(TableHeadRow, { key: '48f3636ebf63e5cf409d297c35038ba83a64c194' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'f1d55ead127da95ac35dac0f9a912b6bb2fe7034' }, h(TableLoadingState, { key: '1efd7987420496bf74f625f9d12869d86af6290a', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '7c78906045a09c1b013e76039f1190e8e83e7342', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'f5010997153999907df316b16ebf6d21b7a319ae', 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: 'eef37030a45c507b694a6b700c6a2e6f09205cfd' }, h(TableFootRow, { key: 'ee793228ac9748780f55378857a2d60801b4a464' }, h(TableFootCell, { key: 'aa8eab64af598e5d7e9d0d775a942451a95d7d52', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '84427ea168495ecfdc6661d384d7172b920346e3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
187
187
  }
188
188
  static get watchers() { return {
189
189
  "pagingParams": ["propChanged"],
@@ -60,8 +60,8 @@ const JustifiPaymentsListFilters = class {
60
60
  }
61
61
  render() {
62
62
  const filterMenuParams = Object.assign({}, filterParams);
63
- return (h(StyledHost, { key: 'e3eaa38735042ba3618a8c042e7e1b351ba3c92d' }, h("table-filters-menu", { key: 'af5a94add7dcefe868e65d46a38a662b4d7986b3', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'c2c02f915eaf984458b3f99dac4bb9317aac8b7e', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '2130e16ffea403ac5fec93e7d77aba470529264f', class: "p-2" }, h("form-control-text", { key: '4e45a57455eed0be81236e1939c2ca5e5d741c81', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: filterParam })), h("div", { key: 'fef1849cf8f58c70f0fe8a5604545cabb58901d6', class: "p-2" }, h("form-control-text", { key: 'f8f076fff19c4a90901e1adacc61023a88d0bbfa', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '304d816e47dae74e1d493df5ffd34cef2cd93600', class: "p-2" }, h("form-control-select", { key: '265350ed2411acc1bbfe6dec019a79e808713349', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status || '', disabled: !!this.paymentStatus, part: filterParam })), h("div", { key: 'd644bf25f3e524403ee5d7590d4d32fad0e56688', class: "p-2" }, h("form-control-select", { key: '871056ad4364d14a18621e4da6e49bda609ef17a', name: "payment_mode", label: "Payment Mode", options: this.paymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: 'e568ba09614c66e5a589b745dee36465e5c962b5', class: "p-2" }, h("form-control-text", { key: 'e58eb1b507c87220437ef0d9b3fcee8643408244', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: 'b27cde43483bffbef99f22d707d28bebce514069', class: "p-2" }, h("form-control-text", { key: 'bf35df034fcb1e3c2e09503b94adca74083ccb7f', name: "account_holder", label: "Account Holder", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.accountHolder || filterParams.account_holder, disabled: !!this.accountHolder, part: filterParam })), h("div", { key: '3ef0ccf656c147044586a2f88c718a0c833ee6c4', class: "p-2" }, h("form-control-date", { key: 'c6b2dbfab6749f853ecf54959cd5f94c8db7a9ae', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
64
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '02c746e653dac58005381d19eaa5371347e02297', class: "p-2" }, h("form-control-date", { key: 'dd7d369a655e0f1e10497f45cfa7085c045287d3', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
63
+ return (h(StyledHost, { key: 'fd6a6c240ed15d7d28d4d58db57085d9789e055c' }, h("table-filters-menu", { key: 'bc1524c293cc12f9d5976d1a7f888c4d35096b5a', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '5180f595ac0d5c36e16fbcb8a6751c48ac88d166', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '2771ebb890c0a9f469e02f22523cb7cfb418d513', class: "p-2" }, h("form-control-text", { key: '3c93cc523f8e5e2d9e63c1b6265e8e03c08377fa', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: filterParam })), h("div", { key: '66e985568825d8992c4081f0d459807a7773fd49', class: "p-2" }, h("form-control-text", { key: '63efc9b447218119d90a0601eb85528117197b42', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '0147be1acda5af7b2ddd3ae76e61e0e2ec33ddcd', class: "p-2" }, h("form-control-select", { key: '786ab3d3205d2feda8c11840a9c5429915f6ab4c', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status || '', disabled: !!this.paymentStatus, part: filterParam })), h("div", { key: 'e08cee43b808e3246989c277d1b5b870799b602d', class: "p-2" }, h("form-control-select", { key: 'b2edc5a654ad50a00ee8171f673c48a2f0b10699', name: "payment_mode", label: "Payment Mode", options: this.paymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: '9c393aed8075c68fa21e919fad3e66a75bf0801b', class: "p-2" }, h("form-control-text", { key: '40967dca09780e59a096f117068c1f49dc7f68fb', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: '4c5177f35cd58c1e465f5750bdf92559119bbffa', class: "p-2" }, h("form-control-text", { key: '4a905f81a07c1a10df4d72ba85657baad464cc87', name: "account_holder", label: "Account Holder", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.accountHolder || filterParams.account_holder, disabled: !!this.accountHolder, part: filterParam })), h("div", { key: '272f47c23883018d4fda9a215738b6b81764b99e', class: "p-2" }, h("form-control-date", { key: '40f7c019ec33378c42b7093c9023eb80df7f787f', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
64
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'b714a400679ed1f4bcf96afe44e9100c6e52cef7', class: "p-2" }, h("form-control-date", { key: '361a3d52c4f2c78aec9727cf6cfdd5b8d900bd3d', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
65
65
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
66
66
  }
67
67
  };
@@ -1,13 +1,13 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
- import { P as PaymentService } from './payment.service-B42sKlQE.js';
2
+ import { P as PaymentService } from './payment.service-CBUnE4bP.js';
3
3
  import './config-state-BKOsYBXZ.js';
4
4
  import './dinero-HXpYMWUU.js';
5
5
  import { e as Payment, C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
6
6
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
7
7
  import './Business-CTtGaVYs.js';
8
8
  import { g as getErrorCode, a as getErrorMessage } from './utils-DaPywmTI.js';
9
- import { J as JustifiAnalytics } from './Analytics-BtMYbHD0.js';
10
- import { c as checkPkgVersion } from './check-pkg-version-BW9zgceK.js';
9
+ import { J as JustifiAnalytics } from './Analytics-tBzmPsnT.js';
10
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-BD3-8NL2.js';
11
11
  import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
12
12
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table-CD17nv9n.js';
13
13
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
@@ -15,8 +15,8 @@ import { M as MapPaymentStatusToBadge } from './payments-status-If2fvwlv.js';
15
15
  import { a as convertToLocal } from './utils-D8J8OvxY.js';
16
16
  import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-Bu7gdOaV.js';
17
17
  import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state-DfRLZrOO.js';
18
- import './Api-nVK-rgbk.js';
19
- import './package-BC9n8nB2.js';
18
+ import './Api-BH6Wa9CT.js';
19
+ import './package-DhrQechy.js';
20
20
  import './index-3wWWWrhn.js';
21
21
  import './spinner-EZmqiSfd.js';
22
22
  import './badge-B7QMpafx.js';
@@ -121,7 +121,7 @@ const JustifiPaymentsList = class {
121
121
  };
122
122
  }
123
123
  componentWillLoad() {
124
- checkPkgVersion();
124
+ detectDuplicateVersion();
125
125
  this.analytics = new JustifiAnalytics(this);
126
126
  this.paymentsTable = new Table(this.payments, this.columns, paymentTableColumns, paymentTableCells);
127
127
  this.initializeGetPayments();
@@ -204,7 +204,7 @@ const JustifiPaymentsList = class {
204
204
  return !this.showEmptyState && !this.showErrorState && !this.loading;
205
205
  }
206
206
  render() {
207
- return (h(StyledHost, { key: 'eb828891504cbcb38a6d7b73ab2411b23bca30a2' }, h(TableWrapper, { key: 'f523dae8af945d79a36734bb35ecca94ea094fff' }, h(TableComponent, { key: '8a69883c8217fdc36280cc3f2f95c83ad449b621' }, h(TableHead, { key: '1b47d5b433eaf0a749f8bdf97afb269518840e10' }, h(TableHeadRow, { key: '4a1be7574f03aefd7687f200dc5cdc2b92a47d90' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '02ad2f601a923526c2555f598f54e674763c3cc6' }, h(TableLoadingState, { key: '274a86633dfbf13395acdfe9725cd14e13c59d8a', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '18ceb62121b9387a1bb8a8a74dfa458dba869b01', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '7cbbc7524f44ac22d16c257c5bdc4998f21d1983', 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: '0da01573eaaa7cf98b08f9f5910d536a687dc6a3' }, h(TableFootRow, { key: '402175c67d164d0f6deba109ff11230ef4772675' }, h(TableFootCell, { key: 'e2c8b098aacadcf5b0a5587e01f1191e287cd9fa', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '91bffb1511a93c0b39f7cdc711c1f92e5381f5ec', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
207
+ return (h(StyledHost, { key: 'fb137fb2b6a63b506fcdbb81104100b099d2e8a6' }, h(TableWrapper, { key: '7a40c6312ae2603179973341dee87f722879fcf4' }, h(TableComponent, { key: 'a9ea88cafb2855a684bd1b33293e4587d809937e' }, h(TableHead, { key: '9d706bb769ccceb1cdfae4fcb4e790a2df54d22f' }, h(TableHeadRow, { key: '1d9fdcd72297ca3ea68303a64088a34e07921b3b' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'aa38c971f05ed8acf1fba3f8f8c528803656fe56' }, h(TableLoadingState, { key: 'e614cce077c4f2f44d7bd1be61f316e5b1607a26', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '90dbc6b25ca32387c148f3a1648780c187f3fde0', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '7098567bc972068166e5ac34ccc89bd6c0be55a4', 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: '906207a8e9913fd0ecffa03197e38ae8bb032809' }, h(TableFootRow, { key: '6ec53fc987659a181f9851052d472c634dbc9ef9' }, h(TableFootCell, { key: 'f2247b1fa30f7327fd876ea4030d25243eaa849a', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'dbff68af085c14a1adb8d800b2cf1acaa1d02a2b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
208
208
  }
209
209
  static get watchers() { return {
210
210
  "accountId": ["propChanged"],
@@ -1,5 +1,5 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
- import { P as PayoutService } from './payout.service-BIoAgNJJ.js';
2
+ import { P as PayoutService } from './payout.service-DUYaYbeJ.js';
3
3
  import './config-state-BKOsYBXZ.js';
4
4
  import './dinero-HXpYMWUU.js';
5
5
  import { k as Payout, C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
@@ -8,16 +8,16 @@ import './Business-CTtGaVYs.js';
8
8
  import { g as getErrorCode, a as getErrorMessage } from './utils-DaPywmTI.js';
9
9
  import { h as capitalizeFirstLetter, b as formatDate, d as formatTime } from './utils-D8J8OvxY.js';
10
10
  import { a as EntityHeadInfo, b as EntityHeadInfoItem, D as DetailSectionTitle, c as DetailItem, C as CodeBlock, E as ErrorState } from './utils-BFduyAPr.js';
11
- import { J as JustifiAnalytics } from './Analytics-BtMYbHD0.js';
11
+ import { J as JustifiAnalytics } from './Analytics-tBzmPsnT.js';
12
12
  import { m as makeGetPayoutCSV, M as MapPayoutStatusToBadge } from './payouts-status-CnIf4XDi.js';
13
- import { c as checkPkgVersion } from './check-pkg-version-BW9zgceK.js';
13
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-BD3-8NL2.js';
14
14
  import { B as Button } from './button-CBzHAOFW.js';
15
15
  import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
16
16
  import './event-types-CZfYo5-1.js';
17
17
  import { S as Skeleton } from './skeleton-dbktEkFS.js';
18
18
  import { a as Badge, B as BadgeVariant } from './badge-B7QMpafx.js';
19
- import './Api-nVK-rgbk.js';
20
- import './package-BC9n8nB2.js';
19
+ import './Api-BH6Wa9CT.js';
20
+ import './package-DhrQechy.js';
21
21
  import './index-3wWWWrhn.js';
22
22
  import './parts-Bu7gdOaV.js';
23
23
 
@@ -81,7 +81,7 @@ const JustifiPayoutDetails = class {
81
81
  };
82
82
  }
83
83
  componentWillLoad() {
84
- checkPkgVersion();
84
+ detectDuplicateVersion();
85
85
  this.analytics = new JustifiAnalytics(this);
86
86
  this.initializeServices();
87
87
  if (this.getPayout) {
@@ -146,9 +146,9 @@ const JustifiPayoutDetails = class {
146
146
  }
147
147
  render() {
148
148
  var _a, _b, _c, _d;
149
- return (h(StyledHost, { key: '142db792aa54d2e598071b2787e9c3225ac53561' }, this.loading && h(PayoutDetailsLoading, { key: '34f30e5076a727a1ac1ec3e510ee497dd2118781' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '1a35e41004c25f3d1aa6f9e422dade0149d1864f', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '159e5f4ce02466d1679ab9a7288e39b58422cbc1', 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: '33852a41177edfbf5df0419dc3d09a33e8b1bea5', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '158b9ce9844ebc705582921133e3bd8748d11722', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '1066d269cec1d90311add505d19c17ca2f9a0863', title: "ID", value: this.payout.id }), h("div", { key: '4dcbce85c6e11ef99b7370f03ed33acd384d5891', class: "m-4" }, h(Button, { key: '5206d2702ba0379db1304b77ac07c92e69754f14', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'd6a4a013fb6e48f4c4ef79361a92240b6c7ee5e4', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '170281f71a4decf37ba3a5525b38935131f68600', sectionTitle: "Details" }), h("div", { key: '500a4b494c633a9dd7a029c0b742c7316dff9c16', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '72bcd40ca0b5a172e4a9854071630761e95bc0e6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '1429c2ffb77148dbaedb73e45849bbbf3f18e65e', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'cb7541a3c40f8dc9dce258b8f2c55c68782144f6', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: 'f871fdcc0a606267b04cc3865a918c7acdad9a2a', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '32b60dd33cc414bbe87ad24f6aec31fd6a907346', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'be9b1a451d296029e7fecc3b37f7cc994dbccc05', sectionTitle: "Account" }), h("div", { key: '97e6a3b1fbf8096ee44293262e4554bbe8400b31', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '48765886ae8274f95789e5262c280e4a8fc71116', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '26c552db6cae6855a50550b05258ea37d279e8c6', title: "Account Type", value: (_b = this.payout.bank_account) === null || _b === void 0 ? void 0 : _b.account_type }), h(DetailItem, { key: '5844b3d0c9b1b84da8111ea70233335246524244', title: "Institution", value: (_c = this.payout.bank_account) === null || _c === void 0 ? void 0 : _c.account_type }), h(DetailItem, { key: 'd3582f8418241f330d3b02a823f32def67dd6cc3', title: "Routing Number", value: (_d = this.payout.bank_account) === null || _d === void 0 ? void 0 : _d.routing_number }), h(DetailItem, { key: '872d385fb085bf8c908ee47d1b4e0a851125ad3c', title: "Account Number", value: this.payout.bank_account ? `**** ${this.payout.bank_account.account_number_last4}` : undefined })), this.payout.metadata && [
150
- h(DetailSectionTitle, { key: '4e8c13627b364b0bfc59a85ee15cc8212872f279', sectionTitle: 'Metadata' }),
151
- h("div", { key: 'f0071fcf1edf15c19303ac1af0760312f17ed2d4', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ae1ef093dac17315972e3aa5350028d08a34a90d', metadata: this.payout.metadata }))
149
+ return (h(StyledHost, { key: '0e371e863fbde66a5135b7c6789875d7a3266468' }, this.loading && h(PayoutDetailsLoading, { key: '44987c4fff48df008edd59702524bd51c3f935d3' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'ef6619ff38da13cb1c744e776f5b2239dcf68d25', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: 'ecbfef1736a2f21819bec8e19fc6a7788fc3343a', 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: '398051f5f80dd0c4e6bde71bfbc63ec3a6de6f48', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '4c2ece5964655d60c5538acd745f74f11e98f4e5', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '84087a0dc42dc608181bbec1a2af0985813a56ea', title: "ID", value: this.payout.id }), h("div", { key: '9a3ac5b69e20980941b3de36e0715f3e25a01a0e', class: "m-4" }, h(Button, { key: 'c2a122864b0b9cf83683633bf6fcc4c72002367a', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '63e118bc86b7c53388e4f66a4a5a417b48a78e8b', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '2401d859d24ad131733365cb092444697d40f789', sectionTitle: "Details" }), h("div", { key: 'd236343b8cbd6b6e64968f0fbb26ee895a99fad3', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'fe26f4d1fb16ca68fcc7aca444b5d96278408ae0', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '83151ee5457ddd9d982289d77cb0478105aadb99', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '7e56cd9259390ba525df943b990ff5b21faa3d40', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: '149f67385b9941098e15507d23975fb4b301ec56', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '64d7ff8c49d2ea7a0b814aded33307d119655965', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'b54b9a22b41fd7d816092dd1ee7204888bdb5725', sectionTitle: "Account" }), h("div", { key: '93d60c1e03bd9eec691d1added19357e743d9836', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'e9431f2bac333427342dc4e550c588896ded6944', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '01a433869e93d9345550bdfbee788c60ee9f8cc3', title: "Account Type", value: (_b = this.payout.bank_account) === null || _b === void 0 ? void 0 : _b.account_type }), h(DetailItem, { key: '7e6e2ac81eb77a116b4a5614bc33345dc0e1976c', title: "Institution", value: (_c = this.payout.bank_account) === null || _c === void 0 ? void 0 : _c.account_type }), h(DetailItem, { key: '7ab5fa28f98c94dda6a4c7274176d2bb964ca5d2', title: "Routing Number", value: (_d = this.payout.bank_account) === null || _d === void 0 ? void 0 : _d.routing_number }), h(DetailItem, { key: 'e05a54b74e01312708662e90c8a8b31ccfea4ec4', title: "Account Number", value: this.payout.bank_account ? `**** ${this.payout.bank_account.account_number_last4}` : undefined })), this.payout.metadata && [
150
+ h(DetailSectionTitle, { key: '7adb41b7b602ccb4c1bab169401ca51d8e627fc6', sectionTitle: 'Metadata' }),
151
+ h("div", { key: '3a8c3d28a33fcde52acab0d67708c037e85ba6c2', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '77ec3c4cd674d61cbe94dca31d41fe4b0a888211', metadata: this.payout.metadata }))
152
152
  ])))));
153
153
  }
154
154
  static get watchers() { return {
@@ -4,18 +4,18 @@ import './dinero-HXpYMWUU.js';
4
4
  import { l as PayoutBalanceTransaction, C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
5
5
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
6
6
  import './Business-CTtGaVYs.js';
7
- import { J as JustifiAnalytics } from './Analytics-BtMYbHD0.js';
8
- import { c as checkPkgVersion } from './check-pkg-version-BW9zgceK.js';
7
+ import { J as JustifiAnalytics } from './Analytics-tBzmPsnT.js';
8
+ import { d as detectDuplicateVersion } from './detect-duplicate-version-BD3-8NL2.js';
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils-DaPywmTI.js';
10
- import { P as PayoutService } from './payout.service-BIoAgNJJ.js';
10
+ import { P as PayoutService } from './payout.service-DUYaYbeJ.js';
11
11
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table-CD17nv9n.js';
12
12
  import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
13
13
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
14
14
  import { a as convertToLocal } from './utils-D8J8OvxY.js';
15
15
  import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-Bu7gdOaV.js';
16
16
  import './index-3wWWWrhn.js';
17
- import './package-BC9n8nB2.js';
18
- import './Api-nVK-rgbk.js';
17
+ import './package-DhrQechy.js';
18
+ import './Api-BH6Wa9CT.js';
19
19
  import './spinner-EZmqiSfd.js';
20
20
 
21
21
  const makeGetPayoutTransactions = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
@@ -130,7 +130,7 @@ const JustifiPayoutTransactionsList = class {
130
130
  }
131
131
  componentWillLoad() {
132
132
  this.transactionsTable = new Table(this.balanceTransactions, this.columns, payoutTransactionTableColumns, payoutTransactionTableCells);
133
- checkPkgVersion();
133
+ detectDuplicateVersion();
134
134
  this.analytics = new JustifiAnalytics(this);
135
135
  this.initializeApi();
136
136
  }
@@ -190,7 +190,7 @@ const JustifiPayoutTransactionsList = class {
190
190
  return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
191
191
  }
192
192
  render() {
193
- return (h(StyledHost, { key: '1572d59b82d7e4f2140fe94dbbb91c810f9ecda0' }, h(TableWrapper, { key: '908f08eb27b6650a86574ffb7f19e021e7ff4659' }, h(TableComponent, { key: 'ef8ae77a07274833c0ce56e90685d2001b32cfce' }, h(TableHead, { key: 'b9672731713b7bfa60d08f67359c0fb54a3d313e' }, h(TableHeadRow, { key: '175cfdf101b8d263af2163a7a51fef7a69036132' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '74475a34dde0dabee89d84013114f68e6e5f12ee' }, h(TableLoadingState, { key: '5a60a046c259d614dc830e7bb2bdc950ace10ede', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '25c2bde71c004b7a190a80e0a92cd51be80cccd1', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '1cc2b6cc80ccd0eb6fc8d7b69f0b44a369e660f8', 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: '2a1229c56c8665515bacde6da6c96b522a2af136' }, h(TableFootRow, { key: '9fe927466e38927d412ffc862ddd6bda6a6abbf5' }, h(TableFootCell, { key: 'dee4c152b024f62c1b12f542034adb894e61ac26', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '183fcc59d45b69133fba561b441bb7e63ba22ac9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
193
+ return (h(StyledHost, { key: '5da092f2d4c07bbe280146ad302a1d475a166246' }, h(TableWrapper, { key: '4700660091131d5360a8c12f9297cee467fc3b64' }, h(TableComponent, { key: '12019f0f76ced950a053945a9dfc7616a2865bbd' }, h(TableHead, { key: '6286a0ecd27b9f2433d0e4dbbe4080ebc4b0088a' }, h(TableHeadRow, { key: '625bceb0b96b8cd61af93930d5c02198b2d1ec40' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '681a77edec6a9272d83fec9731e7556ea284ee33' }, h(TableLoadingState, { key: '54a1981bc9659753716ff0c4541a21bdc4ba2cfa', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '826e1778e976e2ce175786b78f0534ae865104bc', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '8032c6af307b5900bdf60c8a7b14499b476c1dd8', 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: 'a9ab5fced17a007ae3db7e73217efc8ad754eb7f' }, h(TableFootRow, { key: 'b4d7b6644ddd22292071409d75252ce5245c7a27' }, h(TableFootCell, { key: '447d7e0f68f39cc95bba9616eae41f80c62bf806', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '4e20b754e42cd81a334b82bb2435fb5390ce3b87', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
194
194
  }
195
195
  static get watchers() { return {
196
196
  "pagingParams": ["propChanged"],
@@ -47,8 +47,8 @@ const JustifiPayoutsListFilters = class {
47
47
  }
48
48
  render() {
49
49
  const filterMenuParams = Object.assign({}, filterParams);
50
- return (h(StyledHost, { key: 'b9fee98684dd11dde1a3acb0182b5fa01e243e08' }, h("table-filters-menu", { key: '94afefa2154a91b5f3298b871036c1b43390b346', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '92fea66d7ab1a268d98904aeb5feef5dda6ac470', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'c3a6e8a2706cebfbc288dbf6c2416193b111964c', class: "p-2" }, h("form-control-select", { key: 'c40703185d3ec20f7b53f601c927510dbf5c8f35', name: "status", label: "Status", options: this.statusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.status || filterParams.status || '', disabled: !!this.status, part: filterParam })), h("div", { key: '7d8f007a0206e9a622526acfceed1f1ed67757d7', class: "p-2" }, h("form-control-date", { key: '2ca95ac4deaae4fed48b8bc0ba0e73586dcdd0ac', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
51
- convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'c5aa9f2f5dfb91de4b31efbc1019398a1377d2b1', class: "p-2" }, h("form-control-date", { key: '24d4adf0c73e773dfdb60f585c7739112dc46290', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
50
+ return (h(StyledHost, { key: '57aded74e21baf8bb4e48c372752a5f1160eede2' }, h("table-filters-menu", { key: '28bd015a59ac27d25c91aa76a98d53a1d17f1ddd', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '50afcc5bb969c562fc81ff4630a1cf0e778729b9', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '9066f408b3e80d84c1259376ea5f333c64efbd1a', class: "p-2" }, h("form-control-select", { key: '49fa9695945cf0bec87fe80ab20783ab86868e42', name: "status", label: "Status", options: this.statusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.status || filterParams.status || '', disabled: !!this.status, part: filterParam })), h("div", { key: '169fd2190f8696a194436b8b8a22477c01e28c3f', class: "p-2" }, h("form-control-date", { key: 'edc8aa14f0162f74172a7eac92bb98bf7afe0185', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
51
+ convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '6367da41915508aeb28ee8ff60f538322bfbd1c8', class: "p-2" }, h("form-control-date", { key: '2768b468eccbfb746c62c1b9172c12213e70a4ed', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
52
52
  convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: filterParam }))))));
53
53
  }
54
54
  };