@justifi/webcomponents 6.15.0 → 6.16.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (438) hide show
  1. package/dist/cjs/{Analytics-BjZHa0wt.js → Analytics-jQsZxClw.js} +2 -2
  2. package/dist/cjs/{Api-us3AxMRC.js → Api-DqXlEWR1.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 +66 -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-Ca-olopC.js} +1 -1
  10. package/dist/cjs/card-form.cjs.entry.js +14 -10
  11. package/dist/cjs/{checkout.service-B_qymeqJ.js → checkout.service-DBHPH2ji.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-D8ZajVUT.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-luy3xnYR.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 +116 -15
  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-D11aTYj1.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 +41 -25
  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 +10 -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-B414Jbra.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-CNTe8vrp.js} +1 -1
  66. package/dist/cjs/{payout.service-CuQ-mXKB.js → payout.service-BmU3q9jO.js} +1 -1
  67. package/dist/cjs/{plaid.service-B58nzlUE.js → plaid.service-d9LAwbnX.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-BkQWZv9b.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 +90 -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 +39 -11
  87. package/dist/collection/components/checkout/justifi-checkout.js +26 -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 +50 -12
  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/postal-code.js +19 -0
  152. package/dist/docs.json +286 -17
  153. package/dist/esm/{Analytics-BtMYbHD0.js → Analytics-DihSSvAP.js} +2 -2
  154. package/dist/esm/{Api-nVK-rgbk.js → Api-INJHjnya.js} +1 -1
  155. package/dist/esm/additional-questions-form-step_15.entry.js +8 -8
  156. package/dist/esm/additional-questions_4.entry.js +1 -1
  157. package/dist/esm/additional-statement_8.entry.js +8 -8
  158. package/dist/esm/bank-account-billing-form-simple_4.entry.js +13 -7
  159. package/dist/esm/bank-account-form.entry.js +66 -12
  160. package/dist/esm/{business-identity-schema-BP61Unwf.js → business-identity-schema-BLKCH6xV.js} +2 -2
  161. package/dist/esm/{business.service-Cq7H5w1T.js → business.service-C8f7OSEu.js} +1 -1
  162. package/dist/esm/card-form.entry.js +14 -10
  163. package/dist/esm/{checkout.service-JA7oTq5d.js → checkout.service-BYDkC7uy.js} +1 -1
  164. package/dist/esm/{checkout.store-B2mtQcB5.js → checkout.store-B8CGkx0o.js} +1 -0
  165. package/dist/esm/{country-config-F5YwgHgR.js → country-config-DJFj1v-Q.js} +23 -3
  166. package/dist/esm/custom-popper_2.entry.js +2 -2
  167. package/dist/esm/detect-duplicate-version-C4r1WAzO.js +27 -0
  168. package/dist/esm/dispute-notification_2.entry.js +9 -9
  169. package/dist/esm/{event-types-Dsf8IwD6.js → event-types-S8CgMbPg.js} +1 -1
  170. package/dist/esm/form-address-fields_3.entry.js +5 -5
  171. package/dist/esm/form-alert_3.entry.js +116 -15
  172. package/dist/esm/form-control-checkbox.entry.js +2 -2
  173. package/dist/esm/form-control-date.entry.js +2 -2
  174. package/dist/esm/form-control-file-v2_2.entry.js +1 -1
  175. package/dist/esm/form-control-file.entry.js +2 -2
  176. package/dist/esm/form-control-monetary.entry.js +2 -2
  177. package/dist/esm/form-control-number_2.entry.js +3 -3
  178. package/dist/esm/form-control-radio.entry.js +2 -2
  179. package/dist/esm/form-control-select_2.entry.js +22 -6
  180. package/dist/esm/{get-subaccounts-B-S2TGRa.js → get-subaccounts-BHWiH8q9.js} +1 -1
  181. package/dist/esm/internal-button.entry.js +1 -1
  182. package/dist/esm/justifi-apple-pay_12.entry.js +41 -25
  183. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +6 -6
  184. package/dist/esm/justifi-bank-account-form.entry.js +8 -7
  185. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  186. package/dist/esm/justifi-business-details.entry.js +7 -7
  187. package/dist/esm/justifi-business-form.entry.js +9 -9
  188. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  189. package/dist/esm/justifi-card-form.entry.js +9 -6
  190. package/dist/esm/justifi-checkout-qr-code.entry.js +5 -5
  191. package/dist/esm/justifi-checkout.entry.js +10 -8
  192. package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
  193. package/dist/esm/justifi-checkouts-list.entry.js +9 -9
  194. package/dist/esm/justifi-dispute-management.entry.js +7 -7
  195. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  196. package/dist/esm/justifi-order-terminals.entry.js +8 -8
  197. package/dist/esm/justifi-payment-details.entry.js +14 -14
  198. package/dist/esm/justifi-payment-provisioning.entry.js +6 -6
  199. package/dist/esm/justifi-payment-transactions-list.entry.js +7 -7
  200. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  201. package/dist/esm/justifi-payments-list.entry.js +7 -7
  202. package/dist/esm/justifi-payout-details.entry.js +9 -9
  203. package/dist/esm/justifi-payout-transactions-list.entry.js +7 -7
  204. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  205. package/dist/esm/justifi-payouts-list.entry.js +8 -8
  206. package/dist/esm/justifi-qr-terminal.entry.js +6 -6
  207. package/dist/esm/justifi-refund-payment.entry.js +6 -6
  208. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  209. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
  210. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
  211. package/dist/esm/justifi-terminal-orders-list.entry.js +7 -7
  212. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  213. package/dist/esm/justifi-terminals-list.entry.js +8 -8
  214. package/dist/esm/loader.js +1 -1
  215. package/dist/esm/package-BQpbTebi.js +5 -0
  216. package/dist/esm/payment-method-option.entry.js +1 -1
  217. package/dist/esm/{payment.service-B42sKlQE.js → payment.service-CQXRsu6Y.js} +1 -1
  218. package/dist/esm/{payout.service-BIoAgNJJ.js → payout.service-RRyWfpEK.js} +1 -1
  219. package/dist/esm/{plaid.service-C6Ltk2ef.js → plaid.service-Cg3E3Plo.js} +1 -1
  220. package/dist/esm/radio-list-item.entry.js +1 -1
  221. package/dist/esm/save-new-payment-method.entry.js +2 -2
  222. package/dist/esm/{schema-validations-De7Qe0VU.js → schema-validations-8GJ34Do1.js} +8 -2
  223. package/dist/esm/table-filters-menu.entry.js +1 -1
  224. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  225. package/dist/esm/{terminal.service-DV3qIwBy.js → terminal.service-Dy6D8bnl.js} +1 -1
  226. package/dist/esm/utils-Cpck08K0.js +59 -0
  227. package/dist/esm/webcomponents.js +1 -1
  228. package/dist/module/additional-statement2.js +1 -1
  229. package/dist/module/bank-account-form2.js +65 -10
  230. package/dist/module/billing-form-full2.js +6 -2
  231. package/dist/module/cancellation-policy2.js +1 -1
  232. package/dist/module/card-billing-form-simple2.js +6 -2
  233. package/dist/module/card-form2.js +14 -9
  234. package/dist/module/checkout.store.js +1 -0
  235. package/dist/module/country-config.js +23 -3
  236. package/dist/module/custom-popper2.js +2 -2
  237. package/dist/module/customer-details2.js +1 -1
  238. package/dist/module/detect-duplicate-version.js +27 -0
  239. package/dist/module/dispute-notification2.js +2 -2
  240. package/dist/module/dispute-response2.js +3 -3
  241. package/dist/module/duplicate-charge2.js +1 -1
  242. package/dist/module/electronic-evidence2.js +1 -1
  243. package/dist/module/form-address-fields2.js +3 -3
  244. package/dist/module/form-control-checkbox2.js +2 -2
  245. package/dist/module/form-control-date2.js +2 -2
  246. package/dist/module/form-control-file-v22.js +1 -1
  247. package/dist/module/form-control-file2.js +2 -2
  248. package/dist/module/form-control-monetary2.js +2 -2
  249. package/dist/module/form-control-number-masked2.js +2 -2
  250. package/dist/module/form-control-number2.js +2 -2
  251. package/dist/module/form-control-radio2.js +2 -2
  252. package/dist/module/form-control-select2.js +2 -2
  253. package/dist/module/form-control-text2.js +21 -4
  254. package/dist/module/iframe-input2.js +119 -15
  255. package/dist/module/internal-button2.js +1 -1
  256. package/dist/module/justifi-bank-account-billing-form-simple.js +3 -3
  257. package/dist/module/justifi-bank-account-form.js +6 -4
  258. package/dist/module/justifi-billing-form-full.js +1 -1
  259. package/dist/module/justifi-business-details.js +3 -3
  260. package/dist/module/justifi-business-form.js +2 -2
  261. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  262. package/dist/module/justifi-card-form.js +6 -3
  263. package/dist/module/justifi-checkout-qr-code2.js +2 -2
  264. package/dist/module/justifi-checkout-summary2.js +1 -1
  265. package/dist/module/justifi-checkout.js +7 -4
  266. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  267. package/dist/module/justifi-checkouts-list.js +4 -4
  268. package/dist/module/justifi-dispute-management.js +3 -3
  269. package/dist/module/justifi-gross-payment-chart.js +2 -2
  270. package/dist/module/justifi-modular-checkout2.js +30 -12
  271. package/dist/module/justifi-order-terminals.js +3 -3
  272. package/dist/module/justifi-payment-details.js +10 -10
  273. package/dist/module/justifi-payment-provisioning.js +2 -2
  274. package/dist/module/justifi-payment-transactions-list.js +3 -3
  275. package/dist/module/justifi-payments-list-filters.js +2 -2
  276. package/dist/module/justifi-payments-list.js +3 -3
  277. package/dist/module/justifi-payout-details.js +5 -5
  278. package/dist/module/justifi-payout-transactions-list.js +3 -3
  279. package/dist/module/justifi-payouts-list-filters.js +2 -2
  280. package/dist/module/justifi-payouts-list.js +3 -3
  281. package/dist/module/justifi-paypal2.js +1 -1
  282. package/dist/module/justifi-qr-terminal.js +2 -2
  283. package/dist/module/justifi-refund-payment.js +2 -2
  284. package/dist/module/justifi-save-new-payment-method.js +1 -1
  285. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  286. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  287. package/dist/module/justifi-terminal-orders-list.js +4 -4
  288. package/dist/module/justifi-terminals-list-filters.js +1 -1
  289. package/dist/module/justifi-terminals-list.js +3 -3
  290. package/dist/module/justifi-tokenize-payment-method2.js +9 -6
  291. package/dist/module/package.js +1 -3
  292. package/dist/module/payment-method-option.js +1 -1
  293. package/dist/module/product-or-service2.js +1 -1
  294. package/dist/module/radio-list-item2.js +1 -1
  295. package/dist/module/refund-policy2.js +1 -1
  296. package/dist/module/save-new-payment-method2.js +1 -1
  297. package/dist/module/schema-validations.js +8 -2
  298. package/dist/module/shipping-details2.js +1 -1
  299. package/dist/module/table-filters-menu2.js +1 -1
  300. package/dist/module/terminal-quantity-selector2.js +1 -1
  301. package/dist/module/utils4.js +33 -1
  302. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +8 -1
  303. package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
  304. package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
  305. package/dist/types/components/checkout/message-event-types.d.ts +2 -0
  306. package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +9 -0
  307. package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +4 -1
  308. package/dist/types/components/modular-checkout/sub-components/justifi-card-form.d.ts +9 -0
  309. package/dist/types/components/tokenize-payment-method/justifi-tokenize-payment-method.d.ts +9 -0
  310. package/dist/types/components.d.ts +85 -3
  311. package/dist/types/store/checkout.store.d.ts +1 -0
  312. package/dist/types/ui-components/form/form-control-text.d.ts +1 -0
  313. package/dist/types/ui-components/form/iframe-input.d.ts +24 -0
  314. package/dist/types/ui-components/form/utils.d.ts +1 -0
  315. package/dist/types/utils/detect-duplicate-version.d.ts +7 -0
  316. package/dist/types/utils/postal-code.d.ts +3 -0
  317. package/dist/webcomponents/p-12daf522.entry.js +1 -0
  318. package/dist/webcomponents/p-1a1aef42.entry.js +1 -0
  319. package/dist/webcomponents/p-1ceb65cc.entry.js +1 -0
  320. package/dist/webcomponents/{p-0f7e3515.entry.js → p-1ff1dcc5.entry.js} +4 -4
  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-f2b3c7d5.entry.js → p-30ec1cd6.entry.js} +1 -1
  324. package/dist/webcomponents/p-357d14ee.entry.js +1 -0
  325. package/dist/webcomponents/{p-ead48010.entry.js → p-4450dbe9.entry.js} +1 -1
  326. package/dist/webcomponents/p-4c7e7880.entry.js +1 -0
  327. package/dist/webcomponents/{p-6c7fca1a.entry.js → p-4d85dd63.entry.js} +1 -1
  328. package/dist/webcomponents/p-521c534c.entry.js +1 -0
  329. package/dist/webcomponents/p-5babaaa9.entry.js +1 -0
  330. package/dist/webcomponents/{p-88a44a02.entry.js → p-5e8f26ec.entry.js} +1 -1
  331. package/dist/webcomponents/p-622c2af4.entry.js +1 -0
  332. package/dist/webcomponents/{p-9e3e2e32.entry.js → p-6aaf2758.entry.js} +1 -1
  333. package/dist/webcomponents/p-6bfdc443.entry.js +1 -0
  334. package/dist/webcomponents/{p-42021e67.entry.js → p-6f3b035b.entry.js} +1 -1
  335. package/dist/webcomponents/p-73af269e.entry.js +1 -0
  336. package/dist/webcomponents/{p-a7c594d1.entry.js → p-7ff788f8.entry.js} +1 -1
  337. package/dist/webcomponents/{p-a10beb26.entry.js → p-846ae5d5.entry.js} +1 -1
  338. package/dist/webcomponents/p-8758aec4.entry.js +1 -0
  339. package/dist/webcomponents/p-87f8d4e7.entry.js +1 -0
  340. package/dist/webcomponents/p-8c22ff9c.entry.js +1 -0
  341. package/dist/webcomponents/p-91358854.entry.js +1 -0
  342. package/dist/webcomponents/{p-13814028.entry.js → p-956707a2.entry.js} +1 -1
  343. package/dist/webcomponents/p-9c1863d5.entry.js +1 -0
  344. package/dist/webcomponents/{p-B_2zgnvM.js → p-BG8NxEUn.js} +1 -1
  345. package/dist/webcomponents/{p-DC2djVls.js → p-BKtKrQzN.js} +1 -1
  346. package/dist/webcomponents/p-BQpbTebi.js +1 -0
  347. package/dist/webcomponents/{p-BjjKkMO1.js → p-Bh5BNj74.js} +1 -1
  348. package/dist/webcomponents/{p-C6Jq8YDT.js → p-BtiJJJwv.js} +1 -1
  349. package/dist/webcomponents/p-BzESNgd8.js +1 -0
  350. package/dist/webcomponents/p-CkrzG0pB.js +1 -0
  351. package/dist/webcomponents/{p-D694H6co.js → p-Cl6irPVE.js} +1 -1
  352. package/dist/webcomponents/p-Cpck08K0.js +1 -0
  353. package/dist/webcomponents/{p-D7fNBSlC.js → p-Cy_sz0Tx.js} +1 -1
  354. package/dist/webcomponents/{p-pueOrhXO.js → p-D42DvqTW.js} +1 -1
  355. package/dist/webcomponents/{p-C60AkJ6a.js → p-DBudSN_h.js} +1 -1
  356. package/dist/webcomponents/p-DMzYgqml.js +1 -0
  357. package/dist/webcomponents/p-FsWkrvEF.js +1 -0
  358. package/dist/webcomponents/{p-BmaQUnqv.js → p-MLQyjvrV.js} +1 -1
  359. package/dist/webcomponents/p-a095b86d.entry.js +1 -0
  360. package/dist/webcomponents/p-a1e1afa4.entry.js +1 -0
  361. package/dist/webcomponents/p-a2c4e99f.entry.js +1 -0
  362. package/dist/webcomponents/p-a8f1c9b3.entry.js +1 -0
  363. package/dist/webcomponents/{p-f5cb6a26.entry.js → p-b665841f.entry.js} +1 -1
  364. package/dist/webcomponents/p-b925d666.entry.js +1 -0
  365. package/dist/webcomponents/p-bc3e46af.entry.js +1 -0
  366. package/dist/webcomponents/p-c172decb.entry.js +1 -0
  367. package/dist/webcomponents/p-c9871158.entry.js +1 -0
  368. package/dist/webcomponents/p-d19d7d41.entry.js +1 -0
  369. package/dist/webcomponents/{p-f40fa614.entry.js → p-d35cde99.entry.js} +1 -1
  370. package/dist/webcomponents/{p-1cfa634a.entry.js → p-d48f80d1.entry.js} +1 -1
  371. package/dist/webcomponents/{p-cec7164e.entry.js → p-dae31a59.entry.js} +1 -1
  372. package/dist/webcomponents/p-deff4422.entry.js +1 -0
  373. package/dist/webcomponents/{p-1365a46b.entry.js → p-e3c7b4e5.entry.js} +1 -1
  374. package/dist/webcomponents/p-e6d1e3e2.entry.js +1 -0
  375. package/dist/webcomponents/{p-97c6593d.entry.js → p-ebae270b.entry.js} +1 -1
  376. package/dist/webcomponents/p-ebed68aa.entry.js +1 -0
  377. package/dist/webcomponents/{p-16261d8a.entry.js → p-f0084d20.entry.js} +1 -1
  378. package/dist/webcomponents/{p-065b854f.entry.js → p-f0da2ca5.entry.js} +1 -1
  379. package/dist/webcomponents/{p-9b43b90d.entry.js → p-f23d7d13.entry.js} +1 -1
  380. package/dist/webcomponents/p-f2c99647.entry.js +1 -0
  381. package/dist/webcomponents/p-f458928d.entry.js +1 -0
  382. package/dist/webcomponents/{p-429046e1.entry.js → p-f5686720.entry.js} +1 -1
  383. package/dist/webcomponents/p-f681f747.entry.js +1 -0
  384. package/dist/webcomponents/{p-0e9351c4.entry.js → p-f6efd9e0.entry.js} +1 -1
  385. package/dist/webcomponents/{p-a71cc8e2.entry.js → p-fa0427d5.entry.js} +1 -1
  386. package/dist/webcomponents/p-fb1f2fe8.entry.js +1 -0
  387. package/dist/webcomponents/p-fcc5af24.entry.js +1 -0
  388. package/dist/webcomponents/{p-iA-Amt2z.js → p-hdPjEOdB.js} +1 -1
  389. package/dist/webcomponents/{p-rFpPIJgu.js → p-l3JhjHLW.js} +1 -1
  390. package/dist/webcomponents/webcomponents.esm.js +1 -1
  391. package/package.json +14 -14
  392. package/LICENSE +0 -21
  393. package/dist/cjs/check-pkg-version-CjJab8fX.js +0 -47
  394. package/dist/cjs/utils-DAyWinG2.js +0 -29
  395. package/dist/collection/utils/check-pkg-version.js +0 -42
  396. package/dist/esm/check-pkg-version-BW9zgceK.js +0 -45
  397. package/dist/esm/package-BC9n8nB2.js +0 -7
  398. package/dist/esm/utils-BnjCmwMr.js +0 -27
  399. package/dist/module/check-pkg-version.js +0 -45
  400. package/dist/types/utils/check-pkg-version.d.ts +0 -1
  401. package/dist/webcomponents/p-082f912c.entry.js +0 -1
  402. package/dist/webcomponents/p-0cd689f4.entry.js +0 -1
  403. package/dist/webcomponents/p-0fbc806f.entry.js +0 -1
  404. package/dist/webcomponents/p-10787684.entry.js +0 -1
  405. package/dist/webcomponents/p-19cabdaf.entry.js +0 -1
  406. package/dist/webcomponents/p-1fa62eba.entry.js +0 -1
  407. package/dist/webcomponents/p-2ef913b8.entry.js +0 -1
  408. package/dist/webcomponents/p-36340e63.entry.js +0 -1
  409. package/dist/webcomponents/p-388082cd.entry.js +0 -1
  410. package/dist/webcomponents/p-3a1f8c5b.entry.js +0 -1
  411. package/dist/webcomponents/p-3f2fb856.entry.js +0 -1
  412. package/dist/webcomponents/p-44ff4f2c.entry.js +0 -1
  413. package/dist/webcomponents/p-4740601b.entry.js +0 -1
  414. package/dist/webcomponents/p-59b95eae.entry.js +0 -1
  415. package/dist/webcomponents/p-72bb4aff.entry.js +0 -1
  416. package/dist/webcomponents/p-735d397e.entry.js +0 -1
  417. package/dist/webcomponents/p-8432cb42.entry.js +0 -1
  418. package/dist/webcomponents/p-89f0c2aa.entry.js +0 -1
  419. package/dist/webcomponents/p-9db15fac.entry.js +0 -1
  420. package/dist/webcomponents/p-9eb00966.entry.js +0 -1
  421. package/dist/webcomponents/p-9f0ef3f3.entry.js +0 -1
  422. package/dist/webcomponents/p-BAvoKtN2.js +0 -1
  423. package/dist/webcomponents/p-BC9n8nB2.js +0 -1
  424. package/dist/webcomponents/p-BnjCmwMr.js +0 -1
  425. package/dist/webcomponents/p-Fpaf7CLD.js +0 -1
  426. package/dist/webcomponents/p-_MjmE9YT.js +0 -1
  427. package/dist/webcomponents/p-a8d25057.entry.js +0 -1
  428. package/dist/webcomponents/p-acb0b66c.entry.js +0 -1
  429. package/dist/webcomponents/p-b9ba7c95.entry.js +0 -1
  430. package/dist/webcomponents/p-c385f10d.entry.js +0 -1
  431. package/dist/webcomponents/p-c55fdbbf.entry.js +0 -1
  432. package/dist/webcomponents/p-ca6c5365.entry.js +0 -1
  433. package/dist/webcomponents/p-d3544e86.entry.js +0 -1
  434. package/dist/webcomponents/p-de047614.entry.js +0 -1
  435. package/dist/webcomponents/p-f0434a13.entry.js +0 -1
  436. package/dist/webcomponents/p-f9f310dc.entry.js +0 -1
  437. package/dist/webcomponents/p-fda6f27d.entry.js +0 -1
  438. package/dist/webcomponents/p-riZDHN5-.js +0 -1
@@ -11,7 +11,7 @@ const InternalButton = /*@__PURE__*/ proxyCustomElement(class InternalButton ext
11
11
  this.type = 'button';
12
12
  }
13
13
  render() {
14
- return (h(Button, { key: '4048996761c978279f2aefbb43bbbb249fe445d9', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle, hidden: this.hidden }, this.text));
14
+ return (h(Button, { key: '11cadb5b781ec348014026437735c904aa32e254', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle, hidden: this.hidden }, this.text));
15
15
  }
16
16
  }, [256, "internal-button", {
17
17
  "text": [1],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { J as JustifiAnalytics } from './Analytics.js';
3
- import { c as checkPkgVersion } from './check-pkg-version.js';
3
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
4
4
  import { w as waitForConfig } from './config-state.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import './justifi-details2.js';
@@ -21,7 +21,7 @@ const JustifiBankAccountBillingFormSimple$1 = /*@__PURE__*/ proxyCustomElement(c
21
21
  }
22
22
  async componentWillLoad() {
23
23
  await waitForConfig();
24
- checkPkgVersion();
24
+ detectDuplicateVersion();
25
25
  this.analytics = new JustifiAnalytics(this);
26
26
  }
27
27
  disconnectedCallback() {
@@ -37,7 +37,7 @@ const JustifiBankAccountBillingFormSimple$1 = /*@__PURE__*/ proxyCustomElement(c
37
37
  return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
38
38
  }
39
39
  render() {
40
- return (h(StyledHost, { key: '9848071f08342d3f5c2f7001af6e15148e713495' }, h("bank-account-billing-form-simple", { key: '35f2baeb2f017116199ccff431d0acac01ad498f', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
40
+ return (h(StyledHost, { key: 'a991c5bf6a8dfac85e274b53a0c4c6388c03f661' }, h("bank-account-billing-form-simple", { key: '0db34cb082719bdb6d5fd62c5976734cc8b0db14', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
41
41
  }
42
42
  }, [257, "justifi-bank-account-billing-form-simple", {
43
43
  "legend": [1025],
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { c as checkPkgVersion } from './check-pkg-version.js';
2
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
3
3
  import { J as JustifiAnalytics } from './Analytics.js';
4
4
  import { w as waitForConfig } from './config-state.js';
5
5
  import { S as StyledHost } from './styled-host.js';
@@ -18,10 +18,11 @@ const JustifiBankAccountForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
18
18
  this.__registerHost();
19
19
  }
20
20
  this.__attachShadow();
21
+ this.showAccountNumberConfirmation = false;
21
22
  }
22
23
  async componentWillLoad() {
23
24
  await waitForConfig();
24
- checkPkgVersion();
25
+ detectDuplicateVersion();
25
26
  this.analytics = new JustifiAnalytics(this);
26
27
  }
27
28
  disconnectedCallback() {
@@ -30,7 +31,7 @@ const JustifiBankAccountForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
30
31
  }
31
32
  async validate() {
32
33
  if (!this.bankAccountFormElement) {
33
- return false;
34
+ return { isValid: false };
34
35
  }
35
36
  return this.bankAccountFormElement.validate();
36
37
  }
@@ -45,9 +46,10 @@ const JustifiBankAccountForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
45
46
  return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
46
47
  }
47
48
  render() {
48
- return (h(StyledHost, { key: '1263233d6c63c0df4a2a6a17b263651156ad6bee' }, h("bank-account-form", { key: 'f6c6707201ef127eafc81e12535bcfa37ddf3c5d', ref: (el) => (this.bankAccountFormElement = el) })));
49
+ return (h(StyledHost, { key: '3ac1f01cffa56e4ce30214c6290af227dc21fd6f' }, h("bank-account-form", { key: 'd6c194dd830d1ea2cfcbdc0af2c3427aaa7652aa', ref: (el) => (this.bankAccountFormElement = el), showAccountNumberConfirmation: this.showAccountNumberConfirmation })));
49
50
  }
50
51
  }, [257, "justifi-bank-account-form", {
52
+ "showAccountNumberConfirmation": [4, "show-account-number-confirmation"],
51
53
  "validate": [64],
52
54
  "tokenize": [64]
53
55
  }]);
@@ -26,7 +26,7 @@ const JustifiBillingFormFull$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
26
26
  return (_b = (_a = this.billingFormFullRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
27
27
  }
28
28
  render() {
29
- return (h(StyledHost, { key: '0486f3f304d4751751b54a4a698ef5d7cb742947' }, h("billing-form-full", { key: '4c0822f484b70a14dca9309f6d145e1c8b6261dd', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
29
+ return (h(StyledHost, { key: 'bc205e29da4d4db453b558744e5968486ec4816f' }, h("billing-form-full", { key: '624efbdb7660c6634b878c17cad3f34cf802d8e8', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
30
30
  }
31
31
  }, [257, "justifi-billing-form-full", {
32
32
  "legend": [1025],
@@ -4,7 +4,7 @@ import { B as BusinessService } from './business.service.js';
4
4
  import { m as makeGetBusiness } from './get-business.js';
5
5
  import { C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
6
6
  import { J as JustifiAnalytics } from './Analytics.js';
7
- import { c as checkPkgVersion } from './check-pkg-version.js';
7
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
8
8
  import { S as StyledHost } from './styled-host.js';
9
9
  import { d as defineCustomElement$5 } from './justifi-details2.js';
10
10
  import './event-types.js';
@@ -32,7 +32,7 @@ const JustifiBusinessDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
32
32
  this.loading = true;
33
33
  }
34
34
  componentWillLoad() {
35
- checkPkgVersion();
35
+ detectDuplicateVersion();
36
36
  this.analytics = new JustifiAnalytics(this);
37
37
  this.initializeGetBusiness();
38
38
  }
@@ -88,7 +88,7 @@ const JustifiBusinessDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
88
88
  });
89
89
  }
90
90
  render() {
91
- return (h(StyledHost, { key: '7ce48e6905cdbbf8f94470913ecfa3ef8dbb76c7' }, this.loading && h(BusinessDetailsLoading, { key: '7c3439e0c247436cd7951d3bdc32e7672c9f8447' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage && this.business && (h("justifi-details", { key: 'bf57dacf2067f2704014ce3e002958e3306bba73', errorMessage: this.errorMessage }, h("div", { key: '46d19a178ba0d33aa21a4f3900128e3e905731a9', slot: 'detail-sections' }, h("core-info-details", { key: 'ac217a4cfe6b45810a85ca320760b7331f76e60b', business: this.business }), h("legal-address-details", { key: '1fc1a196a43bcf5f9eafd09bfe74c8bb7c409797', legalAddress: this.business.legal_address }), h("representative-details", { key: '1e0833606b129f69a05946726172963cbec05189', representative: this.business.representative }), h("owner-details", { key: 'c974111dc67a8961ef6435c34843ca927ad8a7e5', owners: this.business.owners }), h("additional-questions-details", { key: '0951d284a373457e98a1dafc80231ec3ee057e0a', additionalQuestions: this.business.additional_questions }))))));
91
+ return (h(StyledHost, { key: '5591589ce180d7102dc3403143556c1302af3fe5' }, this.loading && h(BusinessDetailsLoading, { key: 'c45c978e7b9b1a2e086558be669be4f9c9962965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage && this.business && (h("justifi-details", { key: 'cbb51e9f2f7ab55573349cb2106949a5ca91833d', errorMessage: this.errorMessage }, h("div", { key: 'c85ae2fd98b56566795383c3a799b9b93853a786', slot: 'detail-sections' }, h("core-info-details", { key: '2a582bf825f75176e680882f05d287b1791a411b', business: this.business }), h("legal-address-details", { key: '3855cc37f98885547c425e7b21f3f153604ca8ee', legalAddress: this.business.legal_address }), h("representative-details", { key: '16b323711a50310012ce46f8d83d2ab8f64e1461', representative: this.business.representative }), h("owner-details", { key: 'fd3609e46477071432a5fa276b84df00d5717f2c', owners: this.business.owners }), h("additional-questions-details", { key: 'b42b0499a259c3e73c91278a5515e2dcf00c3f5f', additionalQuestions: this.business.additional_questions }))))));
92
92
  }
93
93
  static get watchers() { return {
94
94
  "businessId": ["propChanged"],
@@ -17,7 +17,7 @@ import { H as Header1 } from './header-1.js';
17
17
  import './justifi-details2.js';
18
18
  import './event-types.js';
19
19
  import './justifi-radio-list-item2.js';
20
- import { c as checkPkgVersion } from './check-pkg-version.js';
20
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
21
21
  import { S as Skeleton } from './skeleton.js';
22
22
  import { a as BusinessFormClickActions } from './event-types2.js';
23
23
  import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
@@ -93,7 +93,7 @@ const JustifiBusinessForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiBusi
93
93
  };
94
94
  }
95
95
  componentWillLoad() {
96
- checkPkgVersion();
96
+ detectDuplicateVersion();
97
97
  this.analytics = new JustifiAnalytics(this);
98
98
  this.formController = new FormController(businessFormSchema);
99
99
  this.initializeApi();
@@ -25,7 +25,7 @@ const JustifiCardBillingFormSimple$1 = /*@__PURE__*/ proxyCustomElement(class Ju
25
25
  return (_b = (_a = this.cardBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
26
26
  }
27
27
  render() {
28
- return (h(StyledHost, { key: '252d0c30a2ce3775759aa0490592bea6608620ca' }, h("card-billing-form-simple", { key: '62a33d79b9b12dfefbfef68f0cf9ec8beb52d177', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
28
+ return (h(StyledHost, { key: 'f8cdac6b006bbaf15d7e6b92db8f781afa40899f' }, h("card-billing-form-simple", { key: 'b0973b5459109da5eac937fd0aefbff1c924924c', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
29
29
  }
30
30
  }, [257, "justifi-card-billing-form-simple", {
31
31
  "legend": [1025],
@@ -1,11 +1,12 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { J as JustifiAnalytics } from './Analytics.js';
3
- import { c as checkPkgVersion } from './check-pkg-version.js';
3
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
4
4
  import { w as waitForConfig } from './config-state.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import './justifi-details2.js';
7
7
  import './event-types.js';
8
8
  import './justifi-radio-list-item2.js';
9
+ import { c as checkoutStore } from './checkout.store.js';
9
10
  import { d as defineCustomElement$5 } from './card-form2.js';
10
11
  import { d as defineCustomElement$4 } from './form-alert2.js';
11
12
  import { d as defineCustomElement$3 } from './hidden-input2.js';
@@ -21,7 +22,7 @@ const JustifiCardForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm
21
22
  }
22
23
  async componentWillLoad() {
23
24
  await waitForConfig();
24
- checkPkgVersion();
25
+ detectDuplicateVersion();
25
26
  this.analytics = new JustifiAnalytics(this);
26
27
  }
27
28
  disconnectedCallback() {
@@ -35,9 +36,11 @@ const JustifiCardForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm
35
36
  return this.cardFormElement.tokenize({ clientId, paymentMethodMetadata, account });
36
37
  }
37
38
  render() {
38
- return (h(StyledHost, { key: '4fa9ff677d40a6733c33d34135fe85e52392f8b0' }, h("card-form", { key: '3fe97adcb966b78dc28d5902409671e88525ca41', ref: (el) => (this.cardFormElement = el) })));
39
+ var _a;
40
+ return (h(StyledHost, { key: '49cf4f202b0f327bd8ca4b4b3c892ae6df4a81f6' }, h("card-form", { key: '480abf1238ed4b5bb1edd5362a432639fc9a7fb9', ref: (el) => (this.cardFormElement = el), maskCardNumber: (_a = this.maskCardNumber) !== null && _a !== void 0 ? _a : checkoutStore.maskCardNumber })));
39
41
  }
40
42
  }, [257, "justifi-card-form", {
43
+ "maskCardNumber": [4, "mask-card-number"],
41
44
  "validate": [64],
42
45
  "tokenize": [64]
43
46
  }]);
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
2
2
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers.js';
3
3
  import { C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
4
4
  import { J as JustifiAnalytics } from './Analytics.js';
5
- import { c as checkPkgVersion } from './check-pkg-version.js';
5
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
6
6
 
7
7
  var browser = {};
8
8
 
@@ -3085,7 +3085,7 @@ const JustifiCheckoutQrCode = /*@__PURE__*/ proxyCustomElement(class JustifiChec
3085
3085
  this.size = 256;
3086
3086
  }
3087
3087
  componentWillLoad() {
3088
- checkPkgVersion();
3088
+ detectDuplicateVersion();
3089
3089
  this.analytics = new JustifiAnalytics(this);
3090
3090
  }
3091
3091
  componentDidLoad() {
@@ -16,7 +16,7 @@ const JustifiCheckoutSummary = /*@__PURE__*/ proxyCustomElement(class JustifiChe
16
16
  this.__attachShadow();
17
17
  }
18
18
  render() {
19
- return (h(StyledHost, { key: '7d3447ff4daa9bf4f603ca381027b3f43cfcc6a1' }, h("section", { key: '1c8189ccde6dc986ad2d4c74da2dd10cacfc1c36' }, h("div", { key: '45e6d5f47d8a92e0bd4a7bfa427630a96f049b4a' }, h("div", { key: '9900b5fd770cd59b00803c3614216c16a803da41', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '16cec140ef6912533a80b1f6341fcc9cb341b478' }, h("span", { key: 'f8883538c99a524017bb102bfd8cfaea7062e650', part: text }, "Total"), "\u00A0", h("span", { key: '11baa64630a60c56cedfa53548c107ec3fe3c0f5', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
19
+ return (h(StyledHost, { key: '13d0570e2bdb79d842f9c0a17c7403963ea167c8' }, h("section", { key: 'c15f36caa2a9ebb66c7f0a16393926b643f1bc3b' }, h("div", { key: '1e4e5d32cebb57ceaeb3786a29a9e08c8e83ac80' }, h("div", { key: '42ff5c6ef33654a88858e8ed48e230dd674d1953', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'c21d5eb012664efdd71e82bf24a88d0fefedad8c' }, h("span", { key: 'a8876afe5d7e993077ed8c4fb140c745d98e9196', part: text }, "Total"), "\u00A0", h("span", { key: 'b81156e9f9240656b51f6ed374db9878bb3137c9', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
20
20
  }
21
21
  }, [257, "justifi-checkout-summary"]);
22
22
  function defineCustomElement() {
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { J as JustifiAnalytics } from './Analytics.js';
3
- import { c as checkPkgVersion } from './check-pkg-version.js';
3
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
4
4
  import { c as checkoutStore } from './checkout.store.js';
5
5
  import { ac as checkoutSummary } from './parts.js';
6
6
  import { S as StyledHost } from './styled-host.js';
@@ -57,6 +57,8 @@ const JustifiCheckout$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCheckout
57
57
  this.disablePaymentMethodGroup = false;
58
58
  this.hideBankAccountBillingForm = false;
59
59
  this.hideCardBillingForm = false;
60
+ /** Renders a "Confirm Account Number" field in the bank account form. */
61
+ this.showAccountNumberConfirmation = false;
60
62
  }
61
63
  propChanged() {
62
64
  this.updateStore();
@@ -67,7 +69,7 @@ const JustifiCheckout$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCheckout
67
69
  }
68
70
  }
69
71
  componentWillLoad() {
70
- checkPkgVersion();
72
+ detectDuplicateVersion();
71
73
  this.analytics = new JustifiAnalytics(this);
72
74
  }
73
75
  disconnectedCallback() {
@@ -107,9 +109,9 @@ const JustifiCheckout$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCheckout
107
109
  }
108
110
  render() {
109
111
  var _a, _b;
110
- return (h(StyledHost, { key: 'be64697a74e404e567c718562f72ca6cf644a2a4' }, h("justifi-modular-checkout", { key: '49be0912aa949927cb11bde45c6ade0eb25744be', ref: (el) => {
112
+ return (h(StyledHost, { key: '17fb502cfbf3a09b1bd59ded0cf5900cb8f9d441' }, h("justifi-modular-checkout", { key: '726bfa331037983083c4246caaabf080e6d318a1', ref: (el) => {
111
113
  this.modularCheckoutRef = el;
112
- }, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '7ae8865515c16d119d0c951670b86f53006f5a2f', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '697f67f1603f78d852c3900f424fea1559dcbbc7', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '005b320bb2318b6e5a888911fe90aeeeb8ca58f1', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: 'e6e4e720e0d619aa338b1a64ccc75f6bcfb53129' }, h("justifi-checkout-summary", { key: '5bbc4d7223f56fe70bcc9810ebcde55264e17943' }))), h("div", { key: '7c5f714e729c26a8c3589e912100d38e61cb3846', class: "col-12 mt-4" }, h("slot", { key: 'ae66ebfe4a0e1456aaabd706523ef17e9c2c4b50', name: "insurance" })), h("div", { key: '3d74c4078230299a0d093568f9edf61ddede06d6', class: "col-12 mt-4" }, h("justifi-header", { key: '98fad7779ad81e44f56d488f8f9bebb843c8b044', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: 'a522e1c11e8412c0df0b272201a9eb929e8f38a5', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: '670a875b91e3c4f41cc1f99e159ddb62d5d2cd9d', class: "d-flex flex-column" }, h("section", { key: '660a700bfdffa79b3e00da2ae186f98fbefc59de' }, h("div", { key: '3c314f058f5a6bf745800790dcad6b0f09ec9fdf' }, this.availablePaymentMethods.includes(PAYMENT_METHODS.APPLE_PAY) && (h("div", { key: '9b3003bc6a7e2a85c64d28ac1457871297fcb570', class: "mb-3" }, h("justifi-apple-pay", { key: '25fb043d7fdd2308ceaf8cef9b8e3db72c276ec8' }))), this.availablePaymentMethods.includes(PAYMENT_METHODS.GOOGLE_PAY) && (h("div", { key: '62ea38828ed1e7fe795cd92c1523e0a09dbb1249', class: "mb-3" }, h("justifi-google-pay", Object.assign({ key: '6bf9455e95950766204a4b9a16c51512961dab6d', ref: (el) => (this.googlePayRef = el) }, (this.googlePayEnv != null ? { environment: this.googlePayEnv } : {}))))), this.availablePaymentMethods.includes(PAYMENT_METHODS.PAYPAL) && (h("div", { key: 'a1af9d7ec013aced03e3eb1e768c0dcb378c8ff2', class: "mb-3" }, h("justifi-paypal", { key: '7e0106b73a4844ffc99c353cbc6365cf9c17964c' }))), h("justifi-saved-payment-methods", { key: '4f4aae6378928ebd28d1015fd9f4dde7403e20a5' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && !this.disableBnpl && (h("justifi-radio-list-item", { key: 'ac9a3b1ce4d8dff5c75417ff62aeddbb1aac5aa2', name: "paymentMethodType", value: PAYMENT_METHODS.SEZZLE, checked: ((_a = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.SEZZLE, label: h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(PAYMENT_METHODS.PLAID) && (h("justifi-radio-list-item", { key: '92fa98d5d28cfa4327631238b5fbf58e2a6096c9', name: "paymentMethodType", value: PAYMENT_METHODS.PLAID, checked: ((_b = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.PLAID, label: h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), h("justifi-tokenize-payment-method", { key: 'f40e4195ed8ef1dbff50a870b1d0136968d78fb1', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkoutStore.paymentMethodGroupId }))))), h("div", { key: '3d6b6108fa078dc2ce7a7048dffd61b5767010be', class: "mt-4" }, h("justifi-button", { key: '43370805937c92ad494cce2c493d641066c0b894', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: checkoutStore.isSubmitting || checkoutStore.isWalletProcessing, isLoading: checkoutStore.isSubmitting || checkoutStore.isWalletProcessing, customStyle: { width: '100%', textAlign: "center" } }))))));
114
+ }, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '791fcaec6a9dcae8b7388bdcd51d84acce4338d2', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '558b4603f48e7e60b51cfe01072c072020be3711', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '560f2b20143721b0de9e43369aa7b1c80cdf462e', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: '6c32d796b8f9f5b3124454ffab7649decf40bf0a' }, h("justifi-checkout-summary", { key: 'ff259c5635a56d75f54489986533ff4bbc44f9e1' }))), h("div", { key: '8541d52ae153d6b10952f8b5f92fa23241989cba', class: "col-12 mt-4" }, h("slot", { key: '71d802a975a1c3cdd2fc5f4e2e97079533885d1e', name: "insurance" })), h("div", { key: 'bdc8639a188f5b141ed59df898731e3872d994a8', class: "col-12 mt-4" }, h("justifi-header", { key: '79f2374e4538c1478f0de462739d46c3d24dfc7f', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: '2220521026073d7bb93b26abaf2c2b91dd5d0be6', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: '4e809c7ba032149e32c97ce262254307ccd5e372', class: "d-flex flex-column" }, h("section", { key: '2b25ebfb62a2e0293728987e4c362e799197f301' }, h("div", { key: '1094a63702a042682b5de049968687db34d56340' }, this.availablePaymentMethods.includes(PAYMENT_METHODS.APPLE_PAY) && (h("div", { key: 'ac2b2083a082000f605a623a2b4e937dc67f773b', class: "mb-3" }, h("justifi-apple-pay", { key: 'e8d6dfcf70c3e645a6b8beefa107a904738c8013' }))), this.availablePaymentMethods.includes(PAYMENT_METHODS.GOOGLE_PAY) && (h("div", { key: 'e7551b4165ccacbab1f305e2ff2e592ec6cb13c7', class: "mb-3" }, h("justifi-google-pay", Object.assign({ key: '3905dd687cafbfd59a496492bddaea368584e7fa', ref: (el) => (this.googlePayRef = el) }, (this.googlePayEnv != null ? { environment: this.googlePayEnv } : {}))))), this.availablePaymentMethods.includes(PAYMENT_METHODS.PAYPAL) && (h("div", { key: 'f11d39c2c4b7120b3b0fd8427bfc0c033115c28f', class: "mb-3" }, h("justifi-paypal", { key: '3560bd46b2b4b2957936b8cfe67e70c2cc4d1798' }))), h("justifi-saved-payment-methods", { key: '83298cc717152c8917b63c71c763812f8646f73e' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && !this.disableBnpl && (h("justifi-radio-list-item", { key: 'b5c94c614920fd238dd490f1aa957bc9dbe7ce3f', name: "paymentMethodType", value: PAYMENT_METHODS.SEZZLE, checked: ((_a = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.SEZZLE, label: h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(PAYMENT_METHODS.PLAID) && (h("justifi-radio-list-item", { key: '53ce4f366dd81745c88987a5f88502c1d7cdc530', name: "paymentMethodType", value: PAYMENT_METHODS.PLAID, checked: ((_b = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.PLAID, label: h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), h("justifi-tokenize-payment-method", { key: '051f49f4c0ac5a2c27fab834658f5d0f51f51889', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkoutStore.paymentMethodGroupId, showAccountNumberConfirmation: this.showAccountNumberConfirmation }))))), h("div", { key: '9d0653c43d59b2c671e4fb07dac828f822f4e8bd', class: "mt-4" }, h("justifi-button", { key: 'b4dcb91c821577fa98f0f2129eff849e70e541c7', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: checkoutStore.isSubmitting || checkoutStore.isWalletProcessing, isLoading: checkoutStore.isSubmitting || checkoutStore.isWalletProcessing, customStyle: { width: '100%', textAlign: "center" } }))))));
113
115
  }
114
116
  static get watchers() { return {
115
117
  "authToken": ["propChanged"],
@@ -129,6 +131,7 @@ const JustifiCheckout$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCheckout
129
131
  "hideCardBillingForm": [4, "hide-card-billing-form"],
130
132
  "googlePayEnv": [1, "google-pay-env"],
131
133
  "preCompleteHook": [16],
134
+ "showAccountNumberConfirmation": [4, "show-account-number-confirmation"],
132
135
  "availablePaymentMethods": [32],
133
136
  "checkout": [32],
134
137
  "complete": [32],
@@ -72,8 +72,8 @@ const JustifiCheckoutsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Jus
72
72
  }
73
73
  render() {
74
74
  const filterMenuParams = Object.assign({}, filterParams);
75
- return (h(StyledHost, { key: 'eca6b148bbea71d2ae0169aa67251ab87cadc1df' }, h("table-filters-menu", { key: '87af760346bd028aca6fb5f29ad9d16d1344e0e5', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '63a139d5d7f213bd0b7496f8076b2c95a36860a3', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'ae268b747aa817dee8e8c762132008d59ed6cb6f', class: "p-2" }, h("form-control-text", { key: 'a8a0139e9a8671c0a74f7bb5cb7d40cc5c76f9e8', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: '5fbd8588d9f64254182cf08689dda0c705755e03', class: "p-2" }, h("form-control-text", { key: '6d70a400b4936fdf3d35c00a3b95303bc3e79688', name: "successful_payment_id", label: "Successful Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.successfulPaymentId || filterParams.successful_payment_id, disabled: !!this.successfulPaymentId, part: filterParam })), h("div", { key: '96a3b1bf5eaa46dcda3f01de50d991a14cb6f455', class: "p-2" }, h("form-control-select", { key: '06572e5d0528cfc0e36c6d95210ec6bc6db119ab', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status || '', disabled: !!this.checkoutStatus, part: filterParam })), h("div", { key: '81cb0976145496cbb991b2b20d8acaee24238f65', class: "p-2" }, h("form-control-select", { key: '15db898c3fac34c2ac0262d17c07ea811ddbebd7', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: 'cbae593e372d8fcb648fff5503ac6495e75c5f2e', class: "p-2" }, h("form-control-date", { key: '06f605f92582dbf1ea654a4c14ea0089932e9aea', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
76
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '278400d92ded9bff800e4b2142434c046d1be397', class: "p-2" }, h("form-control-date", { key: '53a98e350078d690df0985627ac1a6f0e39f74ad', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
75
+ return (h(StyledHost, { key: 'a84f587608b49683633b26d23e548b576c5daba3' }, h("table-filters-menu", { key: 'd7a43576bb803d706755ce9deafda5f8732540c1', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '6ce5861f974a8d2c7bc5bcb03b7b0df60e10d780', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '492714a0263fb27222e17794a640e3855c9ba6e1', class: "p-2" }, h("form-control-text", { key: '357b10f4f290c9500fb5fe24e4bc97ea80511e2c', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: 'cc8535898de01f417080c984ed53f1582848fd74', class: "p-2" }, h("form-control-text", { key: '37aa831598c6496af4fd358f94c54a118f309d82', name: "successful_payment_id", label: "Successful Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.successfulPaymentId || filterParams.successful_payment_id, disabled: !!this.successfulPaymentId, part: filterParam })), h("div", { key: '751c3f3b60b0140b9eb954de3a0e94f5feb6075f', class: "p-2" }, h("form-control-select", { key: 'afa69abd4be56a27d0cafce1508a7edeb119d7b0', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status || '', disabled: !!this.checkoutStatus, part: filterParam })), h("div", { key: '86c4e7121a67e4ef1bb96fcb6ccbe9a900378556', class: "p-2" }, h("form-control-select", { key: 'eaa9e1b1214fb3955de0f0421760da4bf1a773a2', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: '8f28caa07d711135223507f1864343531d451a15', class: "p-2" }, h("form-control-date", { key: '038141b8b8fc669cca8c849d23cba1a7e2f1d5aa', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
76
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'ddb442863d596de25c392d14b8fb364db3afdaec', class: "p-2" }, h("form-control-date", { key: 'cee1d9337dd5f6f9c258892f89573a2b07c2180c', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
77
77
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
78
78
  }
79
79
  }, [257, "justifi-checkouts-list-filters", {
@@ -6,7 +6,7 @@ import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Business.js';
7
7
  import './ApplePay.js';
8
8
  import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
9
- import { c as checkPkgVersion } from './check-pkg-version.js';
9
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
10
10
  import { J as JustifiAnalytics } from './Analytics.js';
11
11
  import { C as CheckoutService } from './checkout.service.js';
12
12
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
@@ -127,7 +127,7 @@ const JustifiCheckoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiChe
127
127
  };
128
128
  }
129
129
  componentWillLoad() {
130
- checkPkgVersion();
130
+ detectDuplicateVersion();
131
131
  this.analytics = new JustifiAnalytics(this);
132
132
  this.checkoutsTable = new Table(this.checkouts, this.columns, checkoutTableColumns, checkoutTableCells);
133
133
  this.initializeGetData();
@@ -269,8 +269,8 @@ const JustifiCheckoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiChe
269
269
  return !this.showEmptyState && !this.showErrorState && !this.loading;
270
270
  }
271
271
  render() {
272
- 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 &&
273
- 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 }) })))))))));
272
+ 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 &&
273
+ 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 }) })))))))));
274
274
  }
275
275
  static get watchers() { return {
276
276
  "accountId": ["authPropChanged"],
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { D as Dispute, C as ComponentErrorSeverity, c as ComponentErrorCodes, l as DisputeStatus } from './Plaid.js';
3
3
  import { J as JustifiAnalytics } from './Analytics.js';
4
- import { c as checkPkgVersion } from './check-pkg-version.js';
4
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
5
5
  import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
6
6
  import { D as DisputeManagementClickActions, a as DisputeService } from './event-types3.js';
7
7
  import { S as StyledHost } from './styled-host.js';
@@ -91,7 +91,7 @@ const JustifiDisputeManagement$1 = /*@__PURE__*/ proxyCustomElement(class Justif
91
91
  this.fetchData();
92
92
  }
93
93
  componentWillLoad() {
94
- checkPkgVersion();
94
+ detectDuplicateVersion();
95
95
  this.analytics = new JustifiAnalytics(this);
96
96
  this.initializeGetDispute();
97
97
  }
@@ -146,7 +146,7 @@ const JustifiDisputeManagement$1 = /*@__PURE__*/ proxyCustomElement(class Justif
146
146
  });
147
147
  }
148
148
  render() {
149
- 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 })))));
149
+ 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 })))));
150
150
  }
151
151
  static get watchers() { return {
152
152
  "disputeId": ["propChanged"],
@@ -7,7 +7,7 @@ import './ApplePay.js';
7
7
  import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
8
8
  import { E as ErrorState } from './utils.js';
9
9
  import { J as JustifiAnalytics } from './Analytics.js';
10
- import { c as checkPkgVersion } from './check-pkg-version.js';
10
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
11
11
  import { b as formatCurrency, o as formatDisplayDate } from './utils2.js';
12
12
  import { S as Spinner } from './spinner.js';
13
13
  import { S as StyledHost } from './styled-host.js';
@@ -11069,7 +11069,7 @@ const JustifiGrossPaymentChart$1 = /*@__PURE__*/ proxyCustomElement(class Justif
11069
11069
  this.wrapperErrorMessage = null;
11070
11070
  }
11071
11071
  componentWillLoad() {
11072
- checkPkgVersion();
11072
+ detectDuplicateVersion();
11073
11073
  this.analytics = new JustifiAnalytics(this);
11074
11074
  this.initializeGetGrossPayment();
11075
11075
  }
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { c as checkoutStore, a as onAnyChange, g as getAvailablePaymentMethodTypes, b as getCheckoutState } from './checkout.store.js';
3
3
  import { J as JustifiAnalytics } from './Analytics.js';
4
- import { c as checkPkgVersion } from './check-pkg-version.js';
4
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
5
5
  import './config-state.js';
6
6
  import './dinero.js';
7
7
  import { C as ComponentErrorSeverity, c as ComponentErrorCodes, d as ComponentErrorMessages, I as ICheckoutStatus } from './Plaid.js';
@@ -24,6 +24,14 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
24
24
  this.submitEvent = createEvent(this, "submit-event", 7);
25
25
  this.checkoutChangedEvent = createEvent(this, "checkout-changed", 7);
26
26
  this.plaidService = new PlaidService();
27
+ /**
28
+ * Mask the card number to its last four digits when the field loses focus,
29
+ * with an eye toggle to reveal it. Applies to the `justifi-card-form`
30
+ * rendered inside this checkout. Defaults to false.
31
+ *
32
+ * Anti-shoulder-surfing only, not a secrecy boundary.
33
+ */
34
+ this.maskCardNumber = false;
27
35
  this.handlePaypalStarted = () => {
28
36
  checkoutStore.isWalletProcessing = true;
29
37
  };
@@ -124,6 +132,9 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
124
132
  checkoutStore.selectedPaymentMethod = undefined;
125
133
  };
126
134
  }
135
+ maskCardNumberChanged() {
136
+ checkoutStore.maskCardNumber = !!this.maskCardNumber;
137
+ }
127
138
  connectedCallback() {
128
139
  var _a;
129
140
  this.observer = new MutationObserver(() => {
@@ -137,6 +148,7 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
137
148
  subtree: true,
138
149
  });
139
150
  checkoutStore.checkoutId = this.checkoutId;
151
+ checkoutStore.maskCardNumber = !!this.maskCardNumber;
140
152
  const config = {
141
153
  authToken: this.authToken,
142
154
  checkoutId: this.checkoutId,
@@ -151,7 +163,7 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
151
163
  }
152
164
  componentWillLoad() {
153
165
  this.analytics = new JustifiAnalytics(this);
154
- checkPkgVersion();
166
+ detectDuplicateVersion();
155
167
  checkoutStore.authToken = this.authToken;
156
168
  this.fetchCheckout();
157
169
  // Refresh the checkout data when insurance values actually change (not on initial load)
@@ -401,6 +413,15 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
401
413
  });
402
414
  return;
403
415
  }
416
+ if (!isValid) {
417
+ checkoutStore.isSubmitting = false;
418
+ this.errorEvent.emit({
419
+ message: "Please fill in all required fields.",
420
+ errorCode: ComponentErrorCodes.VALIDATION_ERROR,
421
+ severity: ComponentErrorSeverity.ERROR,
422
+ });
423
+ return;
424
+ }
404
425
  const isNewCard = ((_a = checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.NEW_CARD;
405
426
  const isNewBankAccount = ((_b = checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.NEW_BANK_ACCOUNT;
406
427
  const isPlaid = ((_c = checkoutStore.selectedPaymentMethod) === null || _c === void 0 ? void 0 : _c.type) === PAYMENT_METHODS.PLAID;
@@ -455,15 +476,6 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
455
476
  return;
456
477
  }
457
478
  }
458
- if (!isValid) {
459
- checkoutStore.isSubmitting = false;
460
- this.errorEvent.emit({
461
- message: "Please fill in all required fields.",
462
- errorCode: ComponentErrorCodes.VALIDATION_ERROR,
463
- severity: ComponentErrorSeverity.ERROR,
464
- });
465
- return;
466
- }
467
479
  // Sezzle has no payment token; approval comes from the Sezzle popup
468
480
  const isSezzle = ((_e = checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type) === PAYMENT_METHODS.SEZZLE;
469
481
  if (isSezzle) {
@@ -547,17 +559,23 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
547
559
  });
548
560
  }
549
561
  render() {
550
- return h(Host, { key: '127bf2aea6758c7d91e33f252a3db4bc27b066ff' });
562
+ return h(Host, { key: '5f914d13899fe8da6a780a29689db7e9d7f9ed3e' });
551
563
  }
552
564
  get hostEl() { return this; }
565
+ static get watchers() { return {
566
+ "maskCardNumber": ["maskCardNumberChanged"]
567
+ }; }
553
568
  }, [256, "justifi-modular-checkout", {
554
569
  "authToken": [1, "auth-token"],
555
570
  "checkoutId": [1, "checkout-id"],
556
571
  "preCompleteHook": [16],
572
+ "maskCardNumber": [4, "mask-card-number"],
557
573
  "fillBillingForm": [64],
558
574
  "setSelectedPaymentMethod": [64],
559
575
  "validate": [64],
560
576
  "submitCheckout": [64]
577
+ }, undefined, {
578
+ "maskCardNumber": ["maskCardNumberChanged"]
561
579
  }]);
562
580
  function defineCustomElement() {
563
581
  if (typeof customElements === "undefined") {
@@ -4,7 +4,7 @@ import { S as StyledHost } from './styled-host.js';
4
4
  import './justifi-details2.js';
5
5
  import './event-types.js';
6
6
  import './justifi-radio-list-item2.js';
7
- import { c as checkPkgVersion } from './check-pkg-version.js';
7
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
8
8
  import { J as JustifiAnalytics } from './Analytics.js';
9
9
  import { s as TerminalModel, C as ComponentErrorSeverity, t as TerminalOrder, j as TerminalOrderType, c as ComponentErrorCodes } from './Plaid.js';
10
10
  import { B as BusinessService } from './business.service.js';
@@ -113,7 +113,7 @@ const JustifiOrderTerminals$1 = /*@__PURE__*/ proxyCustomElement(class JustifiOr
113
113
  sub_account_id: this.accountId,
114
114
  order_type: this.shipping ? TerminalOrderType.boardingShipping : TerminalOrderType.boardingOnly,
115
115
  });
116
- checkPkgVersion();
116
+ detectDuplicateVersion();
117
117
  this.analytics = new JustifiAnalytics(this);
118
118
  this.loadData();
119
119
  }
@@ -208,7 +208,7 @@ const JustifiOrderTerminals$1 = /*@__PURE__*/ proxyCustomElement(class JustifiOr
208
208
  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))));
209
209
  }
210
210
  render() {
211
- return (h(StyledHost, { key: '54455809df1f26151a5ef7d5935e38a8329cbc2e' }, h("div", { key: '6ea3b5336d4c779da65bf2b710aa8fa5757c3b19', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
211
+ return (h(StyledHost, { key: '9c1c5ef1be4ad0bc5b805321ce1c2e641c60d2b5' }, h("div", { key: '48720580edec029c7768c291429014df476e7e0f', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
212
212
  }
213
213
  }, [257, "justifi-order-terminals", {
214
214
  "businessId": [1, "business-id"],
@@ -3,7 +3,7 @@ import { P as PaymentService } from './payment.service.js';
3
3
  import { m as makeGetPaymentDetails } from './get-payment-details.js';
4
4
  import { C as ComponentErrorSeverity, c as ComponentErrorCodes, m as PaymentStatuses, l as DisputeStatus } from './Plaid.js';
5
5
  import { J as JustifiAnalytics } from './Analytics.js';
6
- import { c as checkPkgVersion } from './check-pkg-version.js';
6
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
7
7
  import './config-state.js';
8
8
  import { f as formatDate, a as formatTime, s as snakeCaseToHumanReadable } from './utils2.js';
9
9
  import './Pagination.js';
@@ -32,7 +32,7 @@ const JustifiPaymentDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPa
32
32
  this.loading = true;
33
33
  }
34
34
  componentWillLoad() {
35
- checkPkgVersion();
35
+ detectDuplicateVersion();
36
36
  this.analytics = new JustifiAnalytics(this);
37
37
  this.initializeGetPaymentDetails();
38
38
  }
@@ -97,16 +97,16 @@ const JustifiPaymentDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPa
97
97
  return this.payment.status;
98
98
  }
99
99
  render() {
100
- return (h(StyledHost, { key: 'c20a9881f121383742df4097abd211fc01fa614c' }, this.loading && h(PaymentDetailsLoading, { key: 'cea1dbe1de00b872e3eb83207c2f3f198dd0ce3f' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
101
- 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 && [
102
- h(DetailSectionTitle, { key: '615d5d3a1df6e0b32cd5d7d4dd264250f732a2f4', sectionTitle: "Payment Method" }),
103
- 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 }))
100
+ return (h(StyledHost, { key: 'a7e9a3c93f59da404cf7c3df9b2cfb8f0b66f4d8' }, this.loading && h(PaymentDetailsLoading, { key: '05e83902cbff7a519d75d7a6e4d60f339ee96d62' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
101
+ 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 && [
102
+ h(DetailSectionTitle, { key: '4a9b102db3741a4b19f641d4dda40b868b2a850d', sectionTitle: "Payment Method" }),
103
+ 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 }))
104
104
  ], this.payment.payment_method.bank_account && [
105
- h(DetailSectionTitle, { key: '697f50418855675ea222fe2dc7558d30f884ed47', sectionTitle: "Payment Method" }),
106
- 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 }))
105
+ h(DetailSectionTitle, { key: 'ddf40dd9d67bc7f1b2845e04f54e1c13ef3595d7', sectionTitle: "Payment Method" }),
106
+ 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 }))
107
107
  ], this.payment.metadata && [
108
- h(DetailSectionTitle, { key: '7f686436fda99b434f651758e420f2ad6be5d60a', sectionTitle: 'Metadata' }),
109
- h("div", { key: '67b2e9543eba5c27c1d5b7e1a70115a2eb7f274a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'f2dc90048696d2c8b0868d966d1e318e2c16fdbf', metadata: this.payment.metadata }))
108
+ h(DetailSectionTitle, { key: '27f2e988168efe8044782c0144764dd94e739986', sectionTitle: 'Metadata' }),
109
+ h("div", { key: 'b3ecbaf625f30f85e3bc8e733d5041d62c5acaeb', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '2470f5603cd55c2a196668f7ff6184ca5d1a0373', metadata: this.payment.metadata }))
110
110
  ])))));
111
111
  }
112
112
  static get watchers() { return {
@@ -7,7 +7,7 @@ import { A as Api } from './Api.js';
7
7
  import './Pagination.js';
8
8
  import { a as CountryCode, b as Business, f as checkProvisioningStatus } from './Business.js';
9
9
  import './ApplePay.js';
10
- import { c as checkPkgVersion } from './check-pkg-version.js';
10
+ import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
11
11
  import { n as isTokenExpired } from './utils2.js';
12
12
  import { j as text } from './parts.js';
13
13
  import { S as StyledHost } from './styled-host.js';
@@ -170,7 +170,7 @@ const JustifiPaymentProvisioning$1 = /*@__PURE__*/ proxyCustomElement(class Just
170
170
  this.loading = event.detail;
171
171
  }
172
172
  async componentWillLoad() {
173
- checkPkgVersion();
173
+ detectDuplicateVersion();
174
174
  this.analytics = new JustifiAnalytics(this);
175
175
  this.initializeApi();
176
176
  if (this.getBusiness) {