@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
@@ -29,7 +29,7 @@ export class AdditionalStatement {
29
29
  }
30
30
  render() {
31
31
  var _a, _b;
32
- return (h("div", { key: 'd87892b31a560cf5089bb8b94403deda25c75132' }, h("div", { key: 'a083b417adafd62cd32827014eb8566c8d8e431e', class: "row gy-3" }, h("div", { key: '832973d1fd655582b7371dcb0906b5fed9d77727', class: "col-12" }, h("h2", { key: '339e84637eb3e2080bc08c06379b436ed66cdbf3', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'a8228b7e9d8fd51f491f279975ba380a0f6f6029', class: "col-12" }, h("form-control-textarea", { key: '966cd51de65c862e9371f2e013f9f666da5f049a', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '3c21b60e1da1d208c16b4e4003242660f28f42e5', class: "col-12" }, h("form-control-file-v2", { key: 'f767738c5ebf8a63d403d48e971042aabdf91224', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
32
+ return (h("div", { key: '8dff14b5f29b28a18901b1eff60b3855d9094013' }, h("div", { key: '405d549adeb5150fd7ec834b699f83588892390e', class: "row gy-3" }, h("div", { key: 'a13e743d61fe9329e74b3a09712921cec6e253c2', class: "col-12" }, h("h2", { key: 'fbe30e865b8dbece987480e3ac804c3eabbf0746', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '921aa04960a0c30d9733bc0db71dee4fcd78af55', class: "col-12" }, h("form-control-textarea", { key: 'cc4a0136fa728cce0390e4d9dd456a7ad9095244', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '0b35f4914c18432ca326a01c002710690c15d685', class: "col-12" }, h("form-control-file-v2", { key: '8c6a32df62ea4c217fad64fa1283033a85885076', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
33
33
  }
34
34
  static get is() { return "additional-statement"; }
35
35
  static get properties() {
@@ -28,7 +28,7 @@ export class CancellationPolicy {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: 'b2b9de71bee44157e6f62cab9a759ca3a6fc7c91' }, h("div", { key: 'b54a10355e8b0dd0da69e9c07abaf4376f759f4b', class: "row gy-3" }, h("div", { key: 'ed43e475ed87fa9658060f403187a063bec1813c', class: "col-12" }, h("h2", { key: '48e9d7955c066771d8c47b55abf4fc2498bcc11a', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '783da1c2a786ee85f412303583a778dd81331e8a', class: "col-12" }, h("form-control-textarea", { key: '04267a5b01060f577eb88810c83013e6cb2bc437', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '340db58f52fa708a40a1548b84411174f1b7ca85', class: "col-12" }, h("form-control-textarea", { key: 'a8dafe6142a2ce7409d7d7dd60637e819bb99b9e', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '7ff48beda50edb31c80d0bbe5fe7948ce214a493', class: "col-12" }, h("form-control-file-v2", { key: '2f3780f2036026f49db380d5201fc6a46d4b15c6', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
31
+ return (h("div", { key: 'bd649d7bc48208dec588f5677f2c87897bc43b8b' }, h("div", { key: '63263cfe2db3bb2d6f53ddf3c01124a6f70e4994', class: "row gy-3" }, h("div", { key: '457bc4393385a88d9d815bd590425c65ebf63d7b', class: "col-12" }, h("h2", { key: '66eadc2605b0541fca47cb426c8cf5f373b003f8', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'dcdf62ecc017a197714207372104a355a42561f2', class: "col-12" }, h("form-control-textarea", { key: '06e2d122d0cb677e86fdf697d48d11db72c3a360', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'e4b7de1e1820f7c59c7465784868ce4823244285', class: "col-12" }, h("form-control-textarea", { key: 'f57c5bd832f5bdf946341efe3ec0c594ebc27108', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '61e019cea906e3cb93952cf75fb01a6b9fc9cc66', class: "col-12" }, h("form-control-file-v2", { key: '62e0f7432ae9445aa9b19b467323f9ed7d9161f6', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
32
32
  }
33
33
  static get is() { return "cancellation-policy"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class CustomerDetails {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c, _d, _e;
31
- return (h("div", { key: '4217dd2605586a82ee34515e6c9b5a3ab6358b55' }, h("div", { key: '42eb8a48d1161d329bddf574c863c92376a4bbc9', class: "row gy-3" }, h("div", { key: '4d8d1267035ed1e81e6050d7e648ff80d369365d', class: "col-12" }, h("h2", { key: '923c89d2959dd09fdbb60cfbca0d0021697dc5b8', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '5b3daa86ad6ce05babf3efd0c3c4f3a3264b4c6c', class: "col-12" }, h("form-control-text", { key: 'bd6eae36d75ec77e8d652686f2f070bbead4e385', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '3f8f8ff8fcb8a8e41053e3f9b55152296cb91d3e', class: "col-12" }, h("form-control-text", { key: 'ddf390a5e37e99b8f99b7673b6b07f3851a759f4', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: 'eed293a2acc46219bd33974f93affb3ca977fc57', class: "col-12" }, h("form-control-textarea", { key: '4f5e5b9cfc9aefe48c2c85bba3a3a308215c36b9', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '0ccfa871557435a96350e8ace59179611c01dc2c', class: "col-12" }, h("form-control-file-v2", { key: 'e9d35062a5011f4e72d60e85855efb0d7ceed8c1', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'cb184b84ccc36bd51242dcb57c96ba2d85567e4a', class: "col-12" }, h("form-control-file-v2", { key: 'b7d1d427468cd0744001102e2c704e8ad65577b6', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
31
+ return (h("div", { key: '66ed4497457aab5cd214c356b23067eb5ab977b9' }, h("div", { key: '00b2241580f26aed52fb8c0dca06ffb8e07c2303', class: "row gy-3" }, h("div", { key: '23fd971d66b3e753df7ec5e20b8155865307261f', class: "col-12" }, h("h2", { key: 'df3880ae4959e4fe6a5fa2e67287e4bb40b6fc75', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '1bd1010ba8c9bbdb4390e3d953a8cfc798a6745c', class: "col-12" }, h("form-control-text", { key: '170576aa6fbda10dcb3c3928cd8894df1f201223', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '39a99685a01018afa466fa214fd9f217b5682200', class: "col-12" }, h("form-control-text", { key: '8c99018cf0fe0c900512874be0261fb32578c803', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '6db37be2d5b9bef95c7e5e00a879847cbc89a9db', class: "col-12" }, h("form-control-textarea", { key: '48de189acf3dad170e1727b950cee28278eeabc9', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '9a85ca65d2a80c54617034af5350e7301dd475f5', class: "col-12" }, h("form-control-file-v2", { key: '0f6f2859e79998071e079bbb69fdb1b12e5b8c5d', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '8067bc3d834825f309fc3ed994b683233e2e9e90', class: "col-12" }, h("form-control-file-v2", { key: '97105708f4f6e668a6e62cb2f516969c79bedef7', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
32
32
  }
33
33
  static get is() { return "customer-details"; }
34
34
  static get properties() {
@@ -1,5 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
- import { checkPkgVersion } from "../../../utils/check-pkg-version";
2
+ import { detectDuplicateVersion } from "../../../utils/detect-duplicate-version";
3
3
  import { makeCreateDisputeEvidence, makeUpdateDisputeResponse, makeSubmitDisputeResponse, } from "./dispute-response-actions";
4
4
  import JustifiAnalytics from "../../../api/Analytics";
5
5
  import { ComponentErrorCodes, ComponentErrorSeverity } from "../../../api/ComponentError";
@@ -151,7 +151,7 @@ export class DisputeResponse {
151
151
  };
152
152
  }
153
153
  componentWillLoad() {
154
- checkPkgVersion();
154
+ detectDuplicateVersion();
155
155
  this.analytics = new JustifiAnalytics(this);
156
156
  this.initializeDisputeServiceMethods();
157
157
  }
@@ -199,7 +199,7 @@ export class DisputeResponse {
199
199
  return this.currentStep === 0;
200
200
  }
201
201
  render() {
202
- return (h("div", { key: '57664882c2d3c6833f9a9cbe01452875119c6032', class: "dispute-response-root" }, h("div", { key: '92c8e3b3426210b68063ad7474aeb13429fd4c76', class: "row gy-3" }, h("div", { key: '0f7e1236d85765054a40a06d864199feba0cad21', class: "col-12" }, h("h1", { key: 'b12f3840caeb7c17d324829874b8a4089fcb123d', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: 'c493a872abb1d058cd98fab46eefa6f68caaa351', class: "col-12" }, this.currentStepComponent), h("div", { key: '06f7818c59490ec54c58e9e0a5d7effec11bf0a6', class: "col-12" }, h("div", { key: '754852aaab1b5048ed52796a13e169228a6ac2d1', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next")))))));
202
+ return (h("div", { key: 'a558e22c9d41b40d01fd7317566b8e92b181396a', class: "dispute-response-root" }, h("div", { key: 'b5ccda631bb6b8d9587c97c5f72c73563b32a336', class: "row gy-3" }, h("div", { key: '680cd57e4c08c919284911e03c31bf88e9ea27bd', class: "col-12" }, h("h1", { key: 'aa9cad23ec784d2d037a39f536f25547e52038fd', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '39e1d9bb2cd0cca28841430139c301fd18863f81', class: "col-12" }, this.currentStepComponent), h("div", { key: '3c87124fcab317c738b2ecfdaa454b008bd921fd', class: "col-12" }, h("div", { key: '210414d3492ce600c34b8c93824c81cae12bb3b4', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next")))))));
203
203
  }
204
204
  static get is() { return "dispute-response"; }
205
205
  static get properties() {
@@ -28,7 +28,7 @@ export class DuplicateCharge {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: '805b160927f30729b321ffbafc15fe78fed732c9' }, h("div", { key: 'fcc99471b08ea21905c1246849ec41e05194834f', class: "row gy-3" }, h("div", { key: 'f7259723ec39b5ae09aaa552a99f3a8a15b85fd8', class: "col-12" }, h("h2", { key: '5f0719c624bce5542364120568079fb6921c7d6f', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '718c50ebae8b6ca9c146d81f261dad5007945a33', class: "col-12" }, h("form-control-text", { key: '090a5f0e4ca359af300f655ad94296af1a28eef0', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '217b8e9b896412a1e74d138c20d6cc42760e7a54', class: "col-12" }, h("form-control-textarea", { key: 'd9ba9a25ccaa5848f17ec8f1dfde222c29624e06', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'eb26362fb100e775339b4a64959521a1b7cad394', class: "col-12" }, h("form-control-file-v2", { key: '5753787dd59e736a7a2dea84268d93983cfdeae4', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
31
+ return (h("div", { key: '40c441cca0667d42a17b2d030cd11499b5fd0971' }, h("div", { key: '9187708d76c4a631c8741e1ec60684fdb3b7c65f', class: "row gy-3" }, h("div", { key: '9a388c46052814718253a4333da1a3e010316e14', class: "col-12" }, h("h2", { key: '677c93c72112ac96e41e43080fba1d2750bc71de', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '475e5bd708aed12d866560dd12ddde92b8643f82', class: "col-12" }, h("form-control-text", { key: 'a47b1642e9ca1475d6165403d5589f874908b1c0', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '75890d7ba8e0e0f4117477f0c52f3af0a867f3b3', class: "col-12" }, h("form-control-textarea", { key: 'c86ae32a39e1ed3be449eb91efa8039ec78b18eb', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '81d2eb27f4350e57cc3e89170839816166339731', class: "col-12" }, h("form-control-file-v2", { key: 'a7456a1a8f3363d05361667d5d9a8e99c6581bf1', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
32
32
  }
33
33
  static get is() { return "duplicate-charge"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class ElectronicEvidence {
28
28
  }
29
29
  render() {
30
30
  var _a, _b;
31
- return (h("div", { key: '1de8dc7fafbd3dba15344a817fd2c008929ab0bc' }, h("div", { key: 'dda3c4b88713e0e1b9fe25c2a4fe2d015889f2b3', class: "row gy-3" }, h("div", { key: '1638ff98ca047509306f9387e68ba83c9be5c885', class: "col-12" }, h("h2", { key: '9ee705b8558a88bd4eebe2448e2da655fbcf9bf3', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '71a392aa19784a1e25654791544fab6e9fd482a6', class: "col-12" }, h("form-control-text", { key: 'b2ef47161c0c73f010461f326f39f60efb140ae8', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '0341ecbd1404b29e223d508e937752ed67a5f9e2', class: "col-12" }, h("form-control-file-v2", { key: '00d8fd3c9bfded6f20ae8568aca1fd21564649df', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
31
+ return (h("div", { key: '592472282564a406e318b5639e1f8e3f1aeb55bd' }, h("div", { key: '0e49a34f48905ede20c17d4e2a8e529a3aaad2b9', class: "row gy-3" }, h("div", { key: '9f15e709a8a31b6c2cf3ca43d543090a8dd8ca5d', class: "col-12" }, h("h2", { key: '3223ed0c95dd5d08b5d8a481dfdc57d65ee3ea2f', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'f82434ae90705238088c1e01625c1d674337f823', class: "col-12" }, h("form-control-text", { key: '81586970861191e628ba6d3d55d792081f868193', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '1ec47d1e437926e010e19f0352c6c237cb61aeaa', class: "col-12" }, h("form-control-file-v2", { key: '8ee1599fc2142dd269ccddd08ef60cb1a337122a', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
32
32
  }
33
33
  static get is() { return "electronic-evidence"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class ProductOrService {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: '3f2d1c2f4b0595e922712f8754ae1022b2d19261' }, h("div", { key: '0ab14085510225a4d00b352014ea72f4dc0a059a', class: "row gy-3" }, h("div", { key: '12271b714bf3e6b6756274674e3413018124fa4c', class: "col-12" }, h("h2", { key: '9b6175bf1eb88788b909be3f7a46337a75856306', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '912e647000393b9146329e7d4cca78ee15837621', class: "col-12" }, h("form-control-text", { key: '7b365315a58fdfa65fa7e1e6f009dc5c70c17d95', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '03d48b21fb83a4a4b07ed6f0f7b6f08a32c10ce5', class: "col-12" }, h("form-control-date", { key: 'fbd7c448acc69aa0012999f90d3b38f9374af933', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '74683fc2825cffa9403313b21d52a4ddb76db12e', class: "col-12" }, h("form-control-file-v2", { key: '7d3e5f2f96375d884a98e207c22d2b3115ed6e1b', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
31
+ return (h("div", { key: '466646e97a89d70914e592693918d5ea524504a8' }, h("div", { key: '78f02a847c7474733400f2d4e8a6712c9689402e', class: "row gy-3" }, h("div", { key: '0367c4de7453b26becfc2edfe7f5899e6b30f554', class: "col-12" }, h("h2", { key: '10490c7e30a1ec7c23cd47f80a905e21bb874b38', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'a18c64c22a5efe19c5b6603d0497a17a54ac6fa8', class: "col-12" }, h("form-control-text", { key: '7d35738871259b0b0bf83cbb6014062d09299a21', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '24a337727ad90599b1368c2c3fff6cea4c40d172', class: "col-12" }, h("form-control-date", { key: '5222da0eed927c2bc61baba87d8c004bfbf674e0', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '1f422eea9d59d4d01d333e25e2003ecb3954656d', class: "col-12" }, h("form-control-file-v2", { key: '8df9a14fc7311e1c47ca06c9a3a32ac09a291d4b', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
32
32
  }
33
33
  static get is() { return "product-or-service"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class RefundPolicy {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c, _d;
31
- return (h("div", { key: '828ac1997382fa491920b9439099959ae5376c81' }, h("div", { key: '8d0453e4c2ec424a2010cfd01885cb4a03020d93', class: "row gy-3" }, h("div", { key: 'd15021ea6df4b3939d4564a84951ebadb50cc7cd', class: "col-12" }, h("h2", { key: '632eafab4924af0d433f28a3329877b98376ea27', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'cb55f0f106e68e9af4057a4496811db991f487d0', class: "col-12" }, h("form-control-textarea", { key: '1fdca1aea95757a0dac55b338355eeffd351c6cb', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '6f6c35c4626a764e4119dc253aded2985ac6ffbc', class: "col-12" }, h("form-control-textarea", { key: '6c0fcba48cad9f8c3cc9ed6c35d6b0e1301f9c35', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '1bf52c92c53313ab7542bfc1b2ed607e9d5db032', class: "col-12" }, h("form-control-file-v2", { key: '67b266e26d5568e3370b3f8aaad2c0d6450f67f6', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '8994ee85c8a31fc709a0fa396d97e4da576e57c3', class: "col-12" }, h("form-control-file-v2", { key: 'c468b92349b6a92f02b6eef0dc06c71dfc924c4e', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
31
+ return (h("div", { key: 'ec311e40104fb629ea148d4bd4e3b75b7384c271' }, h("div", { key: 'b520aca75b00bf6f698c551cd51efcd8ae8cddca', class: "row gy-3" }, h("div", { key: '98c7a3ae28e9b9d8de6e9f860b26224ff83e5752', class: "col-12" }, h("h2", { key: '334c7e259e7e8ba1202252e6135e1ff960ea34d4', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'bb6783c720ca99ae968580610a3af79a86bf6dc3', class: "col-12" }, h("form-control-textarea", { key: '63fbdface8c0339b9989ddb2f9f0af427845118c', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '0a138ff7a02788003437e0d7f07dbe59e4cb05a7', class: "col-12" }, h("form-control-textarea", { key: '9f2518ad7955096c93c74fd856514b68ef7d192a', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '18922e3843fa6b445b3aaa384b341aae5b2b2443', class: "col-12" }, h("form-control-file-v2", { key: '0f34e5dd3901eb74bfd20d93eb9fe6087d808b5c', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '42a5952ae76b7468bde8d2c3edd8bcb0bfde5cd6', class: "col-12" }, h("form-control-file-v2", { key: 'ad4297e944e1ac01f0f290595d70d12a9a05a93a', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
32
32
  }
33
33
  static get is() { return "refund-policy"; }
34
34
  static get properties() {
@@ -29,7 +29,7 @@ export class ShippingDetails {
29
29
  }
30
30
  render() {
31
31
  var _a, _b, _c, _d, _e;
32
- return (h("div", { key: '0d7695711048ad14596ba44e364b45e3aa3d1e39' }, h("div", { key: 'e6911e35f66ef8aaa591f54e389d67c202af8172', class: "row gy-3" }, h("div", { key: 'd59ab2fe6318a27c4b38650e4e9d07b9c851041f', class: "col-12" }, h("h2", { key: 'b8a8634fe9dcf11c332dab0c1736732e579aeb59', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '5170b37a386805e194d8cf7c769ffdbac8db8fa2', class: "col-12" }, h("form-control-text", { key: '7bc3f59737fa075134e2bc476fa26d79ddc4e26b', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: 'ef41052d0eec68b02d04638ce7cfdbc1477c16eb', class: "col-12" }, h("form-control-text", { key: 'b88d31bed47cdf09e04a29122c1adf955bdc4d25', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '743dea4d8f59e62103403fa58936ca86d7bbf216', class: "col-12" }, h("form-control-date", { key: '4be255a38f91f9bf758428d780649d2775d22153', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '7b274a743a9ca8f3cb7b86facbe12b723b8695e4', class: "col-12" }, h("form-control-textarea", { key: '833a03ac489cfa6fe6991e14a079b104b7b86ddc', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'a1363e8014fe90442e1d0f6820bf2b9cf9966c90', class: "col-12" }, h("form-control-file-v2", { key: 'beb99c4b9e898265f8a904984172fb1a6a52cb49', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
32
+ return (h("div", { key: '6673b30e9af36cb2e560d0653776a42ab1777c22' }, h("div", { key: 'f687e69208f470a40699f870c4d09b04a0487faa', class: "row gy-3" }, h("div", { key: 'ffb1b65e29b6b912cefe862a2139e57f3d81087b', class: "col-12" }, h("h2", { key: '2cea703b6f228aa127bbdb6f8c97f3f79e05d351', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'fe2ae3034571b5ed2a8e5678ae5c32d84f750835', class: "col-12" }, h("form-control-text", { key: '3b5c43c4b8baa62a756cc2dd7edb54fc0c118ede', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '807d7e0860265cb629083bb026e812e4d2ac06ff', class: "col-12" }, h("form-control-text", { key: '5367ef8b37625d6e3ca42eb68eda5e142ff5d783', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '25e85572762af0d9964849d276dd18c5b8905d6e', class: "col-12" }, h("form-control-date", { key: '821d218825643775282742b0c63f8c803a6c47e5', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '376e527d339217b897f02f0de111ea9377539769', class: "col-12" }, h("form-control-textarea", { key: 'f0130e6c0a7ca54e20f6406fbe6276fa8cffbf61', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '74699370d18065f453e68449749d5481772c4c08', class: "col-12" }, h("form-control-file-v2", { key: '5d3f0d1a199b563c9ed433cb971f541a4cb54083', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
33
33
  }
34
34
  static get is() { return "shipping-details"; }
35
35
  static get properties() {
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
3
3
  import JustifiAnalytics from "../../api/Analytics";
4
- import { checkPkgVersion } from "../../utils/check-pkg-version";
4
+ import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
5
5
  import { makeGetDispute } from "../../actions/dispute/dispute-actions";
6
6
  import { DisputeService } from "../../api/services/dispute.service";
7
7
  import { DisputeManagementClickActions } from "./event-types";
@@ -37,7 +37,7 @@ export class JustifiDisputeManagement {
37
37
  this.fetchData();
38
38
  }
39
39
  componentWillLoad() {
40
- checkPkgVersion();
40
+ detectDuplicateVersion();
41
41
  this.analytics = new JustifiAnalytics(this);
42
42
  this.initializeGetDispute();
43
43
  }
@@ -92,7 +92,7 @@ export class JustifiDisputeManagement {
92
92
  });
93
93
  }
94
94
  render() {
95
- 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 })))));
95
+ 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 })))));
96
96
  }
97
97
  static get is() { return "justifi-dispute-management"; }
98
98
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class TableFiltersMenu {
19
19
  this.showClearButton = hasFilters(this.params);
20
20
  }
21
21
  render() {
22
- return (h("div", { key: '467c453ff98299885dfde3e25a7911211220bd21', class: "d-flex gap-2" }, h("div", { key: '3a25ceab0cccbcde3fb9e3073e4e581f6a08591a', class: "dropdown pb-3" }, h("button", { key: '833cbfe0e73c388971ef9eca8240198251b4271e', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '00371051688c5b62e60c7c42cf92d8261019bd06', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'a8d97a8bde738a0ddf9f194487bc6cec590d384d', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '97b96488fff4b33f90fdab113511a529234da457' })))), h("div", { key: '41c110a579fa3da4c9a8711fec9a6b1a0ee07218' }, h(Button, { key: '83ee38c0db83d3d25779a462fc123cedc7128870', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
22
+ return (h("div", { key: 'dfea7fc09cd4d3799af064eb413088d2e68b379e', class: "d-flex gap-2" }, h("div", { key: 'dfc0ff09dc4117ce6871167376ce0b66d2df123a', class: "dropdown pb-3" }, h("button", { key: '2796cf3464e59b95edbd77e3bc9e0d60f22a9a86', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: 'e9edff3a2c800ab9fbfd834cb55338caebac1fdc', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'abf8d0f0f059a9981897e231a2255c7f2b545a0c', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '1816909bb5bc3c9f7ddd2c37a6edc5bb00260900' })))), h("div", { key: '2e3dbb4b5b8caeacc1a64dc74e2df9f7d975b680' }, h(Button, { key: '2b588ef261aa1ff4db00a90c21ca4e6c7cc90f1e', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
23
23
  }
24
24
  static get is() { return "table-filters-menu"; }
25
25
  static get properties() {
@@ -5,7 +5,7 @@ import { makeGetGrossPaymentChartData } from "../../actions/gross-payment/get-gr
5
5
  import { ErrorState } from "../../ui-components/details/utils";
6
6
  import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
7
7
  import JustifiAnalytics from "../../api/Analytics";
8
- import { checkPkgVersion } from "../../utils/check-pkg-version";
8
+ import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
9
9
  import { generateChartOptions } from "./chart-utils";
10
10
  import Spinner from "../../ui-components/spinner";
11
11
  import { StyledHost } from "../../ui-components";
@@ -17,7 +17,7 @@ export class JustifiGrossPaymentChart {
17
17
  this.wrapperErrorMessage = null;
18
18
  }
19
19
  componentWillLoad() {
20
- checkPkgVersion();
20
+ detectDuplicateVersion();
21
21
  this.analytics = new JustifiAnalytics(this);
22
22
  this.initializeGetGrossPayment();
23
23
  }
@@ -3,7 +3,7 @@ import { InsuranceService } from "../../../api/services/insurance.service";
3
3
  import { makeGetQuote, makeToggleCoverage } from "../../../actions/insurance/insurance-actions";
4
4
  import { ComponentErrorCodes, ComponentErrorSeverity } from "../../../api/ComponentError";
5
5
  import JustifiAnalytics from "../../../api/Analytics";
6
- import { checkPkgVersion } from "../../../utils/check-pkg-version";
6
+ import { detectDuplicateVersion } from "../../../utils/detect-duplicate-version";
7
7
  import { checkoutStore } from "../../../store/checkout.store";
8
8
  import { addAttribute, formatCurrency, processHTML, removeAttribute } from "../../../utils/utils";
9
9
  import { insuranceValues, insuranceErrors, validateInsuranceValues } from "../insurance-state";
@@ -25,7 +25,7 @@ export class JustifiSeasonInterruptionInsurance {
25
25
  ]);
26
26
  }
27
27
  componentWillLoad() {
28
- checkPkgVersion();
28
+ detectDuplicateVersion();
29
29
  this.analytics = new JustifiAnalytics(this);
30
30
  this.initializeServiceMethods();
31
31
  if (this.getQuote) {
@@ -1,7 +1,7 @@
1
1
  import { h, Host, } from "@stencil/core";
2
2
  import { checkoutStore, onAnyChange, getAvailablePaymentMethodTypes, getCheckoutState } from "../../store/checkout.store";
3
3
  import JustifiAnalytics from "../../api/Analytics";
4
- import { checkPkgVersion } from "../../utils/check-pkg-version";
4
+ import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
5
5
  import { ComponentErrorCodes, ComponentErrorMessages, ComponentErrorSeverity, ICheckoutStatus, } from "../../api";
6
6
  import { makeCheckoutComplete, makeGetCheckout, } from "../../actions/checkout/checkout-actions";
7
7
  import { CheckoutService } from "../../api/services/checkout.service";
@@ -11,6 +11,14 @@ import { PAYMENT_MODE, PAYMENT_METHODS, PaymentMethod } from "./ModularCheckout"
11
11
  export class JustifiModularCheckout {
12
12
  constructor() {
13
13
  this.plaidService = new PlaidService();
14
+ /**
15
+ * Mask the card number to its last four digits when the field loses focus,
16
+ * with an eye toggle to reveal it. Applies to the `justifi-card-form`
17
+ * rendered inside this checkout. Defaults to false.
18
+ *
19
+ * Anti-shoulder-surfing only, not a secrecy boundary.
20
+ */
21
+ this.maskCardNumber = false;
14
22
  this.handlePaypalStarted = () => {
15
23
  checkoutStore.isWalletProcessing = true;
16
24
  };
@@ -111,6 +119,9 @@ export class JustifiModularCheckout {
111
119
  checkoutStore.selectedPaymentMethod = undefined;
112
120
  };
113
121
  }
122
+ maskCardNumberChanged() {
123
+ checkoutStore.maskCardNumber = !!this.maskCardNumber;
124
+ }
114
125
  connectedCallback() {
115
126
  var _a;
116
127
  this.observer = new MutationObserver(() => {
@@ -124,6 +135,7 @@ export class JustifiModularCheckout {
124
135
  subtree: true,
125
136
  });
126
137
  checkoutStore.checkoutId = this.checkoutId;
138
+ checkoutStore.maskCardNumber = !!this.maskCardNumber;
127
139
  const config = {
128
140
  authToken: this.authToken,
129
141
  checkoutId: this.checkoutId,
@@ -138,7 +150,7 @@ export class JustifiModularCheckout {
138
150
  }
139
151
  componentWillLoad() {
140
152
  this.analytics = new JustifiAnalytics(this);
141
- checkPkgVersion();
153
+ detectDuplicateVersion();
142
154
  checkoutStore.authToken = this.authToken;
143
155
  this.fetchCheckout();
144
156
  // Refresh the checkout data when insurance values actually change (not on initial load)
@@ -194,11 +206,11 @@ export class JustifiModularCheckout {
194
206
  return;
195
207
  }
196
208
  },
197
- onError: (error) => {
209
+ onError: ({ error, code, severity }) => {
198
210
  this.errorEvent.emit({
199
- message: error.message,
200
- errorCode: error.code,
201
- severity: error.severity,
211
+ message: error,
212
+ errorCode: code,
213
+ severity,
202
214
  });
203
215
  },
204
216
  });
@@ -347,8 +359,14 @@ export class JustifiModularCheckout {
347
359
  if (isNewCard || isNewBankAccount) {
348
360
  if (this.paymentMethodFormRef)
349
361
  promises.push(this.paymentMethodFormRef.validate());
350
- if (this.billingFormRef)
362
+ // queryFormRefs matches justifi-tokenize-payment-method with both
363
+ // selectors, so a checkout that slots only that component gets the same
364
+ // element in both refs -- and that component already validates its own
365
+ // billing form. Validating it again doubles every hosted-field round
366
+ // trip and runs the billing form twice.
367
+ if (this.billingFormRef && this.billingFormRef !== this.paymentMethodFormRef) {
351
368
  promises.push(this.billingFormRef.validate());
369
+ }
352
370
  }
353
371
  if (promises.length === 0)
354
372
  return true;
@@ -388,6 +406,15 @@ export class JustifiModularCheckout {
388
406
  });
389
407
  return;
390
408
  }
409
+ if (!isValid) {
410
+ checkoutStore.isSubmitting = false;
411
+ this.errorEvent.emit({
412
+ message: "Please fill in all required fields.",
413
+ errorCode: ComponentErrorCodes.VALIDATION_ERROR,
414
+ severity: ComponentErrorSeverity.ERROR,
415
+ });
416
+ return;
417
+ }
391
418
  const isNewCard = ((_a = checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.NEW_CARD;
392
419
  const isNewBankAccount = ((_b = checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.NEW_BANK_ACCOUNT;
393
420
  const isPlaid = ((_c = checkoutStore.selectedPaymentMethod) === null || _c === void 0 ? void 0 : _c.type) === PAYMENT_METHODS.PLAID;
@@ -442,15 +469,6 @@ export class JustifiModularCheckout {
442
469
  return;
443
470
  }
444
471
  }
445
- if (!isValid) {
446
- checkoutStore.isSubmitting = false;
447
- this.errorEvent.emit({
448
- message: "Please fill in all required fields.",
449
- errorCode: ComponentErrorCodes.VALIDATION_ERROR,
450
- severity: ComponentErrorSeverity.ERROR,
451
- });
452
- return;
453
- }
454
472
  // Sezzle has no payment token; approval comes from the Sezzle popup
455
473
  const isSezzle = ((_e = checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type) === PAYMENT_METHODS.SEZZLE;
456
474
  if (isSezzle) {
@@ -523,10 +541,10 @@ export class JustifiModularCheckout {
523
541
  message: "Checkout completed successfully",
524
542
  });
525
543
  },
526
- onError: (error) => {
544
+ onError: ({ error }) => {
527
545
  checkoutStore.isSubmitting = false;
528
546
  this.errorEvent.emit({
529
- message: error.message,
547
+ message: error,
530
548
  errorCode: ComponentErrorCodes.COMPLETE_CHECKOUT_ERROR,
531
549
  severity: ComponentErrorSeverity.ERROR,
532
550
  });
@@ -534,7 +552,7 @@ export class JustifiModularCheckout {
534
552
  });
535
553
  }
536
554
  render() {
537
- return h(Host, { key: '127bf2aea6758c7d91e33f252a3db4bc27b066ff' });
555
+ return h(Host, { key: 'd1e1326e66bc9347de573bc8b3aa30e19178ade9' });
538
556
  }
539
557
  static get is() { return "justifi-modular-checkout"; }
540
558
  static get properties() {
@@ -604,6 +622,26 @@ export class JustifiModularCheckout {
604
622
  },
605
623
  "getter": false,
606
624
  "setter": false
625
+ },
626
+ "maskCardNumber": {
627
+ "type": "boolean",
628
+ "mutable": false,
629
+ "complexType": {
630
+ "original": "boolean",
631
+ "resolved": "boolean",
632
+ "references": {}
633
+ },
634
+ "required": false,
635
+ "optional": true,
636
+ "docs": {
637
+ "tags": [],
638
+ "text": "Mask the card number to its last four digits when the field loses focus,\nwith an eye toggle to reveal it. Applies to the `justifi-card-form`\nrendered inside this checkout. Defaults to false.\n\nAnti-shoulder-surfing only, not a secrecy boundary."
639
+ },
640
+ "getter": false,
641
+ "setter": false,
642
+ "reflect": false,
643
+ "attribute": "mask-card-number",
644
+ "defaultValue": "false"
607
645
  }
608
646
  };
609
647
  }
@@ -761,4 +799,10 @@ export class JustifiModularCheckout {
761
799
  };
762
800
  }
763
801
  static get elementRef() { return "hostEl"; }
802
+ static get watchers() {
803
+ return [{
804
+ "propName": "maskCardNumber",
805
+ "methodName": "maskCardNumberChanged"
806
+ }];
807
+ }
764
808
  }
@@ -1,12 +1,12 @@
1
1
  import { h } from "@stencil/core";
2
2
  import JustifiAnalytics from "../../../api/Analytics";
3
- import { checkPkgVersion } from "../../../utils/check-pkg-version";
3
+ import { detectDuplicateVersion } from "../../../utils/detect-duplicate-version";
4
4
  import { waitForConfig } from "../../config-provider/config-state";
5
5
  import { StyledHost } from "../../../ui-components";
6
6
  export class JustifiBankAccountBillingFormSimple {
7
7
  async componentWillLoad() {
8
8
  await waitForConfig();
9
- checkPkgVersion();
9
+ detectDuplicateVersion();
10
10
  this.analytics = new JustifiAnalytics(this);
11
11
  }
12
12
  disconnectedCallback() {
@@ -22,7 +22,7 @@ export class JustifiBankAccountBillingFormSimple {
22
22
  return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
23
23
  }
24
24
  render() {
25
- return (h(StyledHost, { key: '9848071f08342d3f5c2f7001af6e15148e713495' }, h("bank-account-billing-form-simple", { key: '35f2baeb2f017116199ccff431d0acac01ad498f', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
25
+ return (h(StyledHost, { key: 'a991c5bf6a8dfac85e274b53a0c4c6388c03f661' }, h("bank-account-billing-form-simple", { key: '0db34cb082719bdb6d5fd62c5976734cc8b0db14', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
26
26
  }
27
27
  static get is() { return "justifi-bank-account-billing-form-simple"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -1,12 +1,15 @@
1
1
  import { h } from "@stencil/core";
2
- import { checkPkgVersion } from "../../../utils/check-pkg-version";
2
+ import { detectDuplicateVersion } from "../../../utils/detect-duplicate-version";
3
3
  import JustifiAnalytics from "../../../api/Analytics";
4
4
  import { waitForConfig } from "../../config-provider/config-state";
5
5
  import { StyledHost } from "../../../ui-components";
6
6
  export class JustifiBankAccountForm {
7
+ constructor() {
8
+ this.showAccountNumberConfirmation = false;
9
+ }
7
10
  async componentWillLoad() {
8
11
  await waitForConfig();
9
- checkPkgVersion();
12
+ detectDuplicateVersion();
10
13
  this.analytics = new JustifiAnalytics(this);
11
14
  }
12
15
  disconnectedCallback() {
@@ -15,7 +18,7 @@ export class JustifiBankAccountForm {
15
18
  }
16
19
  async validate() {
17
20
  if (!this.bankAccountFormElement) {
18
- return false;
21
+ return { isValid: false };
19
22
  }
20
23
  return this.bankAccountFormElement.validate();
21
24
  }
@@ -30,15 +33,39 @@ export class JustifiBankAccountForm {
30
33
  return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
31
34
  }
32
35
  render() {
33
- return (h(StyledHost, { key: '1263233d6c63c0df4a2a6a17b263651156ad6bee' }, h("bank-account-form", { key: 'f6c6707201ef127eafc81e12535bcfa37ddf3c5d', ref: (el) => (this.bankAccountFormElement = el) })));
36
+ return (h(StyledHost, { key: '3ac1f01cffa56e4ce30214c6290af227dc21fd6f' }, h("bank-account-form", { key: 'd6c194dd830d1ea2cfcbdc0af2c3427aaa7652aa', ref: (el) => (this.bankAccountFormElement = el), showAccountNumberConfirmation: this.showAccountNumberConfirmation })));
34
37
  }
35
38
  static get is() { return "justifi-bank-account-form"; }
36
39
  static get encapsulation() { return "shadow"; }
40
+ static get properties() {
41
+ return {
42
+ "showAccountNumberConfirmation": {
43
+ "type": "boolean",
44
+ "mutable": false,
45
+ "complexType": {
46
+ "original": "boolean",
47
+ "resolved": "boolean",
48
+ "references": {}
49
+ },
50
+ "required": false,
51
+ "optional": true,
52
+ "docs": {
53
+ "tags": [],
54
+ "text": ""
55
+ },
56
+ "getter": false,
57
+ "setter": false,
58
+ "reflect": false,
59
+ "attribute": "show-account-number-confirmation",
60
+ "defaultValue": "false"
61
+ }
62
+ };
63
+ }
37
64
  static get methods() {
38
65
  return {
39
66
  "validate": {
40
67
  "complexType": {
41
- "signature": "() => Promise<any>",
68
+ "signature": "() => Promise<{ isValid: boolean; }>",
42
69
  "parameters": [],
43
70
  "references": {
44
71
  "Promise": {
@@ -46,7 +73,7 @@ export class JustifiBankAccountForm {
46
73
  "id": "global::Promise"
47
74
  }
48
75
  },
49
- "return": "Promise<any>"
76
+ "return": "Promise<{ isValid: boolean; }>"
50
77
  },
51
78
  "docs": {
52
79
  "text": "",
@@ -10,7 +10,7 @@ export class JustifiBillingFormFull {
10
10
  return (_b = (_a = this.billingFormFullRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
11
11
  }
12
12
  render() {
13
- return (h(StyledHost, { key: '0486f3f304d4751751b54a4a698ef5d7cb742947' }, h("billing-form-full", { key: '4c0822f484b70a14dca9309f6d145e1c8b6261dd', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
13
+ return (h(StyledHost, { key: 'bc205e29da4d4db453b558744e5968486ec4816f' }, h("billing-form-full", { key: '624efbdb7660c6634b878c17cad3f34cf802d8e8', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
14
14
  }
15
15
  static get is() { return "justifi-billing-form-full"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class JustifiCardBillingFormSimple {
10
10
  return (_b = (_a = this.cardBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
11
11
  }
12
12
  render() {
13
- return (h(StyledHost, { key: '252d0c30a2ce3775759aa0490592bea6608620ca' }, h("card-billing-form-simple", { key: '62a33d79b9b12dfefbfef68f0cf9ec8beb52d177', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
13
+ return (h(StyledHost, { key: 'f8cdac6b006bbaf15d7e6b92db8f781afa40899f' }, h("card-billing-form-simple", { key: 'b0973b5459109da5eac937fd0aefbff1c924924c', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
14
14
  }
15
15
  static get is() { return "justifi-card-billing-form-simple"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -1,12 +1,13 @@
1
1
  import { h } from "@stencil/core";
2
2
  import JustifiAnalytics from "../../../api/Analytics";
3
- import { checkPkgVersion } from "../../../utils/check-pkg-version";
3
+ import { detectDuplicateVersion } from "../../../utils/detect-duplicate-version";
4
4
  import { waitForConfig } from "../../config-provider/config-state";
5
5
  import { StyledHost } from "../../../ui-components";
6
+ import { checkoutStore } from "../../../store/checkout.store";
6
7
  export class JustifiCardForm {
7
8
  async componentWillLoad() {
8
9
  await waitForConfig();
9
- checkPkgVersion();
10
+ detectDuplicateVersion();
10
11
  this.analytics = new JustifiAnalytics(this);
11
12
  }
12
13
  disconnectedCallback() {
@@ -20,10 +21,34 @@ export class JustifiCardForm {
20
21
  return this.cardFormElement.tokenize({ clientId, paymentMethodMetadata, account });
21
22
  }
22
23
  render() {
23
- return (h(StyledHost, { key: '4fa9ff677d40a6733c33d34135fe85e52392f8b0' }, h("card-form", { key: '3fe97adcb966b78dc28d5902409671e88525ca41', ref: (el) => (this.cardFormElement = el) })));
24
+ var _a;
25
+ 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 })));
24
26
  }
25
27
  static get is() { return "justifi-card-form"; }
26
28
  static get encapsulation() { return "shadow"; }
29
+ static get properties() {
30
+ return {
31
+ "maskCardNumber": {
32
+ "type": "boolean",
33
+ "mutable": false,
34
+ "complexType": {
35
+ "original": "boolean",
36
+ "resolved": "boolean",
37
+ "references": {}
38
+ },
39
+ "required": false,
40
+ "optional": true,
41
+ "docs": {
42
+ "tags": [],
43
+ "text": "Mask the card number to its last four digits when the field loses focus,\nwith an eye toggle to reveal it. Defaults to false. Inside\n`justifi-modular-checkout` the wrapper's `mask-card-number` sets this;\nan explicit value here wins.\n\nAnti-shoulder-surfing only, not a secrecy boundary."
44
+ },
45
+ "getter": false,
46
+ "setter": false,
47
+ "reflect": false,
48
+ "attribute": "mask-card-number"
49
+ }
50
+ };
51
+ }
27
52
  static get methods() {
28
53
  return {
29
54
  "validate": {
@@ -5,7 +5,7 @@ import { checkoutStore } from "../../../store/checkout.store";
5
5
  import { StyledHost } from "../../../ui-components";
6
6
  export class JustifiCheckoutSummary {
7
7
  render() {
8
- 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))))))));
8
+ 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))))))));
9
9
  }
10
10
  static get is() { return "justifi-checkout-summary"; }
11
11
  static get encapsulation() { return "shadow"; }