@justifi/webcomponents 6.12.7-rc.3 → 6.13.0

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 (506) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Analytics-GYqUuEeO.js → Analytics-DaegoP5G.js} +3 -3
  3. package/dist/cjs/{Api-Bukk55YZ.js → Api-BioDE5he.js} +1 -1
  4. package/dist/cjs/{Plaid-6FYKaSTI.js → Plaid-QLOFOTeC.js} +3 -3
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  6. package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +37 -27
  7. package/dist/cjs/additional-questions_5.cjs.entry.js +1 -1
  8. package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
  9. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +5 -5
  10. package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +2 -2
  11. package/dist/cjs/bank-account-form.cjs.entry.js +34 -5
  12. package/dist/cjs/{business-identity-schema-CC1wOwXd.js → business-identity-schema-BA385xf-.js} +3 -3
  13. package/dist/cjs/{business.service-t-p3-gP-.js → business.service-DOGeb2O6.js} +2 -2
  14. package/dist/cjs/card-form.cjs.entry.js +5 -5
  15. package/dist/cjs/{check-pkg-version-wcoV7eK1.js → check-pkg-version-BNGOOokA.js} +1 -1
  16. package/dist/cjs/checkout-actions-CjR16i7o.js +62 -0
  17. package/dist/cjs/{checkout.service-BiLHhmjP.js → checkout.service-Bdr5qUHj.js} +2 -2
  18. package/dist/cjs/{checkout.store-CztwuCnG.js → checkout.store-CZHrIuaP.js} +9 -3
  19. package/dist/cjs/{country-config-Ck-eEeZZ.js → country-config-C1bWmF8P.js} +9 -4
  20. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  21. package/dist/cjs/dispute-notification_2.cjs.entry.js +15 -15
  22. package/dist/cjs/{event-types-DcN23uI_.js → event-types-DWDQKDv4.js} +2 -2
  23. package/dist/cjs/form-address-fields_3.cjs.entry.js +3 -3
  24. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  25. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  27. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
  29. package/dist/cjs/form-control-number_2.cjs.entry.js +3 -3
  30. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  31. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  32. package/dist/cjs/{get-business-BqO_Sa6H.js → get-business-CrxvWZh6.js} +2 -2
  33. package/dist/cjs/{get-payment-details-Cs-P5xoW.js → get-payment-details-iCEkGDy4.js} +2 -2
  34. package/dist/cjs/{get-subaccounts-BbiIbUED.js → get-subaccounts-Dgl7ECtg.js} +3 -3
  35. package/dist/cjs/hidden-input_2.cjs.entry.js +6 -6
  36. package/dist/cjs/{insurance-state-Xe2auE-N.js → insurance-state-B-XQRmMs.js} +1 -1
  37. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +62 -92
  39. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +7 -7
  40. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +17 -7
  41. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
  43. package/dist/cjs/justifi-business-details.cjs.entry.js +9 -9
  44. package/dist/cjs/justifi-business-form.cjs.entry.js +12 -12
  45. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-card-form.cjs.entry.js +7 -7
  47. package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +3141 -0
  48. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
  49. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
  50. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -11
  51. package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -9
  52. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +10 -10
  53. package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
  54. package/dist/cjs/justifi-payment-details.cjs.entry.js +17 -17
  55. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
  56. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +9 -9
  57. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
  58. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
  59. package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -12
  60. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +9 -9
  61. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  62. package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -14
  63. package/dist/cjs/justifi-qr-terminal.cjs.entry.js +208 -0
  64. package/dist/cjs/justifi-refund-payment.cjs.entry.js +11 -11
  65. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
  66. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -9
  67. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  68. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
  69. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  70. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
  71. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -13
  72. package/dist/cjs/loader.cjs.js +1 -1
  73. package/dist/cjs/{package-BJUD_YSJ.js → package-BKwTzSig.js} +1 -1
  74. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  75. package/dist/cjs/{payment-provisioning-actions-Dnvqbh2N.js → payment-provisioning-actions-B4x7lnyF.js} +9 -9
  76. package/dist/cjs/{payment.service-DWK3fO_g.js → payment.service-a5EL3s2d.js} +2 -2
  77. package/dist/cjs/{payout.service-Cjc3PPfP.js → payout.service-BJtGBHsQ.js} +2 -2
  78. package/dist/cjs/{payouts-status-DluZkb6X.js → payouts-status-viYMBknO.js} +2 -2
  79. package/dist/cjs/{plaid.service-BaHuE_zZ.js → plaid.service-DpiLY-5D.js} +2 -2
  80. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  81. package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
  82. package/dist/cjs/{schema-validations-DackMxv7.js → schema-validations-C2XsZnqK.js} +2 -2
  83. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  84. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  85. package/dist/cjs/{terminal.service-DmlAGx7U.js → terminal.service-DN2A-bNx.js} +2 -2
  86. package/dist/cjs/{utils-dnVbB8d6.js → utils-BVM6JCW0.js} +1 -1
  87. package/dist/cjs/{utils-BHi4j5rB.js → utils-D1CWnhex.js} +4 -4
  88. package/dist/cjs/webcomponents.cjs.js +1 -1
  89. package/dist/collection/actions/payment/get-payments.js +1 -1
  90. package/dist/collection/actions/refund/refund-actions.js +1 -1
  91. package/dist/collection/actions/terminal/get-terminal-orders.js +1 -1
  92. package/dist/collection/actions/void/void-actions.js +1 -1
  93. package/dist/collection/collection-manifest.json +3 -1
  94. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +1 -1
  95. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  96. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  97. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +23 -13
  98. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  99. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +7 -7
  100. package/dist/collection/components/business-forms/schemas/business-address-schema.js +1 -1
  101. package/dist/collection/components/business-forms/schemas/schema-helpers.js +1 -1
  102. package/dist/collection/components/business-forms/utils/country-config.js +9 -4
  103. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +30 -2
  104. package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
  105. package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
  106. package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
  107. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  108. package/dist/collection/components/checkout/justifi-checkout.js +21 -2
  109. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
  110. package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
  111. package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +128 -0
  112. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  113. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +2 -2
  114. package/dist/collection/components/dispute-management/dispute-notification.js +3 -3
  115. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  116. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  117. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  118. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +3 -3
  119. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  120. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  121. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  122. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  123. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  125. package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
  126. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  127. package/dist/collection/components/filters/utils.js +1 -1
  128. package/dist/collection/components/gross-payment-chart/chart-utils.js +3 -3
  129. package/dist/collection/components/insurance/insurance-state.js +1 -1
  130. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +19 -13
  131. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +0 -21
  132. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
  133. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +11 -1
  134. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  135. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  136. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
  137. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  138. package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +10 -6
  139. package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +15 -2
  140. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  141. package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
  142. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  143. package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
  144. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
  145. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  146. package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
  147. package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
  148. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
  149. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  150. package/dist/collection/components/payouts-list/justifi-payouts-list.js +4 -4
  151. package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +349 -0
  152. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  153. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +2 -2
  154. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  155. package/dist/collection/components/terminals-list/justifi-terminals-list.js +4 -4
  156. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +5 -3
  157. package/dist/collection/store/checkout.store.js +9 -3
  158. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  159. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  160. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  161. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  162. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  163. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  164. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  165. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  166. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  167. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  168. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  169. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  170. package/dist/collection/ui-components/form/hidden-input.js +2 -2
  171. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  172. package/dist/collection/ui-components/internal-button.js +1 -1
  173. package/dist/collection/ui-components/radio-list-item.js +1 -1
  174. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  175. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  176. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  177. package/dist/collection/utils/utils.js +4 -4
  178. package/dist/docs.json +314 -39
  179. package/dist/esm/{Analytics-Bg6T3DQV.js → Analytics-D_HycaxE.js} +3 -3
  180. package/dist/esm/{Api-DMd8hTI-.js → Api-DjAL73GZ.js} +1 -1
  181. package/dist/esm/{Plaid-CeYMgNts.js → Plaid-C8qoMZLV.js} +2 -2
  182. package/dist/esm/additional-questions-details_5.entry.js +1 -1
  183. package/dist/esm/additional-questions-form-step_15.entry.js +37 -27
  184. package/dist/esm/additional-questions_5.entry.js +1 -1
  185. package/dist/esm/additional-statement_8.entry.js +8 -8
  186. package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
  187. package/dist/esm/bank-account-document-form-inputs.entry.js +2 -2
  188. package/dist/esm/bank-account-form.entry.js +34 -5
  189. package/dist/esm/{business-identity-schema-D8L_UfWl.js → business-identity-schema-Csou60ZC.js} +3 -3
  190. package/dist/esm/{business.service-ZN8yGby7.js → business.service-BGXqAyxu.js} +2 -2
  191. package/dist/esm/card-form.entry.js +5 -5
  192. package/dist/esm/{check-pkg-version-BXdtk1fk.js → check-pkg-version-BfrWk42V.js} +1 -1
  193. package/dist/esm/checkout-actions-D8JS2l5e.js +59 -0
  194. package/dist/esm/{checkout.service-D_6Zw77V.js → checkout.service-sHKaW-M0.js} +2 -2
  195. package/dist/esm/{checkout.store-DFnkcDZ8.js → checkout.store-DibfdUMm.js} +9 -3
  196. package/dist/esm/{country-config-BW2dUoTJ.js → country-config-CEJVOOGe.js} +9 -4
  197. package/dist/esm/custom-popper_2.entry.js +2 -2
  198. package/dist/esm/dispute-notification_2.entry.js +15 -15
  199. package/dist/esm/{event-types-DXYUs2vg.js → event-types-ynZLear3.js} +2 -2
  200. package/dist/esm/form-address-fields_3.entry.js +3 -3
  201. package/dist/esm/form-control-checkbox.entry.js +2 -2
  202. package/dist/esm/form-control-date.entry.js +2 -2
  203. package/dist/esm/form-control-file-v2_2.entry.js +3 -3
  204. package/dist/esm/form-control-file.entry.js +2 -2
  205. package/dist/esm/form-control-monetary.entry.js +3 -3
  206. package/dist/esm/form-control-number_2.entry.js +3 -3
  207. package/dist/esm/form-control-radio.entry.js +2 -2
  208. package/dist/esm/form-control-select_2.entry.js +4 -4
  209. package/dist/esm/{get-business-rP66Ger-.js → get-business-DAv_b3vf.js} +2 -2
  210. package/dist/esm/{get-payment-details-zCO59zZz.js → get-payment-details-Bipad3jX.js} +2 -2
  211. package/dist/esm/{get-subaccounts-DUopdVm2.js → get-subaccounts-FqCT2s3S.js} +3 -3
  212. package/dist/esm/hidden-input_2.entry.js +6 -6
  213. package/dist/esm/{insurance-state-CLGc1-_4.js → insurance-state-C5OZqDCT.js} +1 -1
  214. package/dist/esm/internal-button.entry.js +1 -1
  215. package/dist/esm/justifi-apple-pay_11.entry.js +60 -90
  216. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -7
  217. package/dist/esm/justifi-bank-account-form.entry.js +17 -7
  218. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  219. package/dist/esm/justifi-billing-form.entry.js +1 -1
  220. package/dist/esm/justifi-business-details.entry.js +9 -9
  221. package/dist/esm/justifi-business-form.entry.js +12 -12
  222. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  223. package/dist/esm/justifi-card-form.entry.js +7 -7
  224. package/dist/esm/justifi-checkout-qr-code.entry.js +3139 -0
  225. package/dist/esm/justifi-checkout.entry.js +9 -9
  226. package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -4
  227. package/dist/esm/justifi-checkouts-list.entry.js +11 -11
  228. package/dist/esm/justifi-dispute-management.entry.js +9 -9
  229. package/dist/esm/justifi-gross-payment-chart.entry.js +10 -10
  230. package/dist/esm/justifi-order-terminals.entry.js +11 -11
  231. package/dist/esm/justifi-payment-details.entry.js +17 -17
  232. package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
  233. package/dist/esm/justifi-payment-transactions-list.entry.js +9 -9
  234. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  235. package/dist/esm/justifi-payments-list.entry.js +10 -10
  236. package/dist/esm/justifi-payout-details.entry.js +12 -12
  237. package/dist/esm/justifi-payout-transactions-list.entry.js +9 -9
  238. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  239. package/dist/esm/justifi-payouts-list.entry.js +14 -14
  240. package/dist/esm/justifi-qr-terminal.entry.js +206 -0
  241. package/dist/esm/justifi-refund-payment.entry.js +11 -11
  242. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  243. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -9
  244. package/dist/esm/justifi-skeleton.entry.js +1 -1
  245. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
  246. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
  247. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -3
  248. package/dist/esm/justifi-terminals-list.entry.js +13 -13
  249. package/dist/esm/loader.js +1 -1
  250. package/dist/esm/{package-DSjpDUHk.js → package-DSavNeRB.js} +1 -1
  251. package/dist/esm/payment-method-option.entry.js +1 -1
  252. package/dist/esm/{payment-provisioning-actions-BfMdBzzh.js → payment-provisioning-actions-DI3QUsjh.js} +9 -9
  253. package/dist/esm/{payment.service-CRgN4aGV.js → payment.service-wSNYSRyl.js} +2 -2
  254. package/dist/esm/{payout.service-B_APc0x_.js → payout.service-CTAksNmD.js} +2 -2
  255. package/dist/esm/{payouts-status-klusV0rp.js → payouts-status-CeZoirpf.js} +2 -2
  256. package/dist/esm/{plaid.service-DbrHt5kj.js → plaid.service-5EpJEdwX.js} +2 -2
  257. package/dist/esm/radio-list-item.entry.js +1 -1
  258. package/dist/esm/save-new-payment-method.entry.js +2 -2
  259. package/dist/esm/{schema-validations-CjqWFLKt.js → schema-validations-CySYE883.js} +2 -2
  260. package/dist/esm/table-filters-menu.entry.js +1 -1
  261. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  262. package/dist/esm/{terminal.service-B5ezhIvW.js → terminal.service-xjfU0mJT.js} +2 -2
  263. package/dist/esm/{utils-BTtxWI2r.js → utils-CcA8Y5hs.js} +4 -4
  264. package/dist/esm/{utils-CfBIEaJJ.js → utils-myniydlM.js} +1 -1
  265. package/dist/esm/webcomponents.js +1 -1
  266. package/dist/module/Plaid.js +1 -1
  267. package/dist/module/additional-questions-form-step2.js +1 -1
  268. package/dist/module/additional-statement2.js +1 -1
  269. package/dist/module/bank-account-billing-form-simple2.js +1 -1
  270. package/dist/module/bank-account-form2.js +30 -2
  271. package/dist/module/business-address-schema.js +1 -1
  272. package/dist/module/business-core-info-form-step2.js +1 -1
  273. package/dist/module/business-representative-form-step2.js +1 -1
  274. package/dist/module/cancellation-policy2.js +1 -1
  275. package/dist/module/card-billing-form-simple2.js +1 -1
  276. package/dist/module/card-form2.js +2 -2
  277. package/dist/module/checkout-actions.js +59 -0
  278. package/dist/module/checkout.store.js +9 -3
  279. package/dist/module/country-config.js +9 -4
  280. package/dist/module/custom-popper2.js +2 -2
  281. package/dist/module/customer-details2.js +1 -1
  282. package/dist/module/dispute-notification2.js +3 -3
  283. package/dist/module/dispute-response2.js +1 -1
  284. package/dist/module/document-upload-form-step2.js +24 -14
  285. package/dist/module/duplicate-charge2.js +1 -1
  286. package/dist/module/electronic-evidence2.js +1 -1
  287. package/dist/module/event-types3.js +3 -3
  288. package/dist/module/form-control-checkbox2.js +2 -2
  289. package/dist/module/form-control-date2.js +2 -2
  290. package/dist/module/form-control-file-v22.js +1 -1
  291. package/dist/module/form-control-file2.js +2 -2
  292. package/dist/module/form-control-monetary2.js +2 -2
  293. package/dist/module/form-control-number-masked2.js +2 -2
  294. package/dist/module/form-control-number2.js +2 -2
  295. package/dist/module/form-control-radio2.js +2 -2
  296. package/dist/module/form-control-select2.js +2 -2
  297. package/dist/module/form-control-text2.js +2 -2
  298. package/dist/module/form-control-textarea2.js +2 -2
  299. package/dist/module/get-payment-details.js +1 -1
  300. package/dist/module/hidden-input2.js +2 -2
  301. package/dist/module/iframe-input2.js +3 -3
  302. package/dist/module/insurance-state.js +1 -1
  303. package/dist/module/internal-button2.js +1 -1
  304. package/dist/module/justifi-apple-pay2.js +0 -2
  305. package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
  306. package/dist/module/justifi-bank-account-form.js +11 -1
  307. package/dist/module/justifi-billing-form-full.js +1 -1
  308. package/dist/module/justifi-billing-form.js +1 -1
  309. package/dist/module/justifi-button2.js +1 -1
  310. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  311. package/dist/module/justifi-card-form.js +1 -1
  312. package/dist/module/justifi-checkout-qr-code.d.ts +11 -0
  313. package/dist/module/justifi-checkout-qr-code.js +6 -0
  314. package/dist/module/justifi-checkout-qr-code2.js +3154 -0
  315. package/dist/module/justifi-checkout-summary2.js +1 -1
  316. package/dist/module/justifi-checkout.js +3 -2
  317. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  318. package/dist/module/justifi-checkouts-list.js +3 -3
  319. package/dist/module/justifi-dispute-management.js +2 -2
  320. package/dist/module/justifi-google-pay2.js +7 -2
  321. package/dist/module/justifi-gross-payment-chart.js +3 -3
  322. package/dist/module/justifi-header2.js +1 -1
  323. package/dist/module/justifi-modular-checkout2.js +21 -70
  324. package/dist/module/justifi-order-terminals.js +2 -2
  325. package/dist/module/justifi-payment-details.js +9 -9
  326. package/dist/module/justifi-payment-transactions-list.js +2 -2
  327. package/dist/module/justifi-payments-list-filters.js +2 -2
  328. package/dist/module/justifi-payments-list.js +3 -3
  329. package/dist/module/justifi-payout-details.js +4 -4
  330. package/dist/module/justifi-payout-transactions-list.js +2 -2
  331. package/dist/module/justifi-payouts-list-filters.js +2 -2
  332. package/dist/module/justifi-payouts-list.js +5 -5
  333. package/dist/module/justifi-plaid-payment-method2.js +14 -2
  334. package/dist/module/justifi-qr-terminal.d.ts +11 -0
  335. package/dist/module/justifi-qr-terminal.js +234 -0
  336. package/dist/module/justifi-refund-payment.js +3 -3
  337. package/dist/module/justifi-save-new-payment-method.js +1 -1
  338. package/dist/module/justifi-skeleton.js +1 -1
  339. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  340. package/dist/module/justifi-terminal-orders-list.js +4 -4
  341. package/dist/module/justifi-terminals-list-filters.js +2 -2
  342. package/dist/module/justifi-terminals-list.js +5 -5
  343. package/dist/module/justifi-tokenize-payment-method2.js +5 -3
  344. package/dist/module/legal-address-form-step2.js +1 -1
  345. package/dist/module/package.js +1 -1
  346. package/dist/module/payment-method-option.js +1 -1
  347. package/dist/module/payment-provisioning-actions.js +7 -7
  348. package/dist/module/product-or-service2.js +1 -1
  349. package/dist/module/radio-list-item2.js +1 -1
  350. package/dist/module/refund-policy2.js +1 -1
  351. package/dist/module/save-new-payment-method2.js +1 -1
  352. package/dist/module/schema-validations.js +1 -1
  353. package/dist/module/shipping-details2.js +1 -1
  354. package/dist/module/table-filters-menu2.js +1 -1
  355. package/dist/module/terminal-quantity-selector2.js +1 -1
  356. package/dist/module/utils2.js +4 -4
  357. package/dist/stencil.config.js +40 -0
  358. package/dist/types/api/Checkout.d.ts +1 -2
  359. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +5 -1
  360. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +2 -0
  361. package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
  362. package/dist/types/components/checkout-qr-code/justifi-checkout-qr-code.d.ts +18 -0
  363. package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +0 -1
  364. package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +1 -1
  365. package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +3 -1
  366. package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +1 -0
  367. package/dist/types/components/qr-terminal/justifi-qr-terminal.d.ts +42 -0
  368. package/dist/types/components.d.ts +103 -11
  369. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/stencil.config.d.ts +2 -0
  370. package/dist/types/store/checkout.store.d.ts +2 -0
  371. package/dist/webcomponents/p-015288c4.entry.js +1 -0
  372. package/dist/webcomponents/p-055640f9.entry.js +1 -0
  373. package/dist/webcomponents/p-0d98518e.entry.js +1 -0
  374. package/dist/webcomponents/p-0ea6aa9c.entry.js +1 -0
  375. package/dist/webcomponents/p-0ede7e82.entry.js +1 -0
  376. package/dist/webcomponents/{p-37676092.entry.js → p-0f2a1ac9.entry.js} +1 -1
  377. package/dist/webcomponents/p-1068ae13.entry.js +1 -0
  378. package/dist/webcomponents/p-14a03ad0.entry.js +1 -0
  379. package/dist/webcomponents/{p-69c5658c.entry.js → p-1a30f2d9.entry.js} +1 -1
  380. package/dist/webcomponents/p-1b51dea9.entry.js +1 -0
  381. package/dist/webcomponents/{p-89cd31f2.entry.js → p-1de248b1.entry.js} +1 -1
  382. package/dist/webcomponents/p-218b926a.entry.js +1 -0
  383. package/dist/webcomponents/p-25215ee7.entry.js +1 -0
  384. package/dist/webcomponents/p-266870f0.entry.js +1 -0
  385. package/dist/webcomponents/p-27c35a85.entry.js +1 -0
  386. package/dist/webcomponents/{p-D8MQn8ZW.js → p-2mMMaism.js} +1 -1
  387. package/dist/webcomponents/p-3a2629a2.entry.js +1 -0
  388. package/dist/webcomponents/p-3e56bbe5.entry.js +1 -0
  389. package/dist/webcomponents/p-4791c6d7.entry.js +1 -0
  390. package/dist/webcomponents/p-49d9c0a4.entry.js +1 -0
  391. package/dist/webcomponents/{p-49c0879b.entry.js → p-4a30693b.entry.js} +1 -1
  392. package/dist/webcomponents/{p-b2224f12.entry.js → p-4fab9314.entry.js} +1 -1
  393. package/dist/webcomponents/p-5218bcd0.entry.js +1 -0
  394. package/dist/webcomponents/{p-4b14b7e7.entry.js → p-53d775b9.entry.js} +1 -1
  395. package/dist/webcomponents/{p-70dcd833.entry.js → p-5a58f606.entry.js} +1 -1
  396. package/dist/webcomponents/p-5f6bc8e7.entry.js +1 -0
  397. package/dist/webcomponents/p-65908b5f.entry.js +1 -0
  398. package/dist/webcomponents/{p-5ec9634c.entry.js → p-67364f1d.entry.js} +1 -1
  399. package/dist/webcomponents/p-6bf4fea8.entry.js +1 -0
  400. package/dist/webcomponents/{p-0e4cda77.entry.js → p-6c3e9ebd.entry.js} +1 -1
  401. package/dist/webcomponents/{p-a9695714.entry.js → p-6fe329d6.entry.js} +1 -1
  402. package/dist/webcomponents/p-70e05aec.entry.js +1 -0
  403. package/dist/webcomponents/p-73deced9.entry.js +1 -0
  404. package/dist/webcomponents/p-762b1b7b.entry.js +1 -0
  405. package/dist/webcomponents/p-76ded81e.entry.js +1 -0
  406. package/dist/webcomponents/p-77cc572d.entry.js +1 -0
  407. package/dist/webcomponents/p-7b6cf400.entry.js +1 -0
  408. package/dist/webcomponents/p-8fd18ce2.entry.js +1 -0
  409. package/dist/webcomponents/{p-233fef57.entry.js → p-9c0760b9.entry.js} +1 -1
  410. package/dist/webcomponents/p-B62JX_Dh.js +1 -0
  411. package/dist/webcomponents/p-BB8Ce9rp.js +1 -0
  412. package/dist/webcomponents/{p-BRnBHsdq.js → p-BSs-2JKu.js} +1 -1
  413. package/dist/webcomponents/p-BUHsyQpA.js +1 -0
  414. package/dist/webcomponents/{p-D-zwk1J3.js → p-C-Jgmek8.js} +1 -1
  415. package/dist/webcomponents/p-C1gr32IS.js +1 -0
  416. package/dist/webcomponents/{p-DspPkDq4.js → p-C7hX61pS.js} +1 -1
  417. package/dist/webcomponents/{p-DIpFohcg.js → p-CO8ZGkfN.js} +1 -1
  418. package/dist/webcomponents/p-CPJC6tlj.js +1 -0
  419. package/dist/webcomponents/p-CdwzNfP1.js +1 -0
  420. package/dist/webcomponents/p-Cn7z5L7J.js +1 -0
  421. package/dist/webcomponents/{p-jlR7CJl2.js → p-CxBrydeX.js} +1 -1
  422. package/dist/webcomponents/p-DP9ysr2K.js +1 -0
  423. package/dist/webcomponents/{p-BzXQDB0t.js → p-DPA5TKvQ.js} +1 -1
  424. package/dist/webcomponents/p-DSavNeRB.js +1 -0
  425. package/dist/webcomponents/{p-DGbFOjOo.js → p-DXTa04jn.js} +1 -1
  426. package/dist/webcomponents/{p-CwP0ecN7.js → p-DYSc8uvs.js} +1 -1
  427. package/dist/webcomponents/p-Da3fPDxu.js +1 -0
  428. package/dist/webcomponents/{p-CYQvLgSs.js → p-De4Pig-y.js} +1 -1
  429. package/dist/webcomponents/p-DyPk4BJt.js +1 -0
  430. package/dist/webcomponents/p-NzPaWKbY.js +1 -0
  431. package/dist/webcomponents/{p-DlHomiZY.js → p-R_0S69Pr.js} +1 -1
  432. package/dist/webcomponents/{p-b393864a.entry.js → p-a1885b83.entry.js} +1 -1
  433. package/dist/webcomponents/p-a6b46f98.entry.js +1 -0
  434. package/dist/webcomponents/{p-cfe8eaf8.entry.js → p-a893d607.entry.js} +1 -1
  435. package/dist/webcomponents/{p-cab840bd.entry.js → p-b03e361e.entry.js} +1 -1
  436. package/dist/webcomponents/p-c3a25333.entry.js +1 -0
  437. package/dist/webcomponents/p-c60c4bed.entry.js +1 -0
  438. package/dist/webcomponents/{p-4f512f89.entry.js → p-c885cbf6.entry.js} +4 -4
  439. package/dist/webcomponents/p-c8bcc54f.entry.js +1 -0
  440. package/dist/webcomponents/p-d0c889e7.entry.js +1 -0
  441. package/dist/webcomponents/p-d554e0bb.entry.js +1 -0
  442. package/dist/webcomponents/p-d7e2ce48.entry.js +1 -0
  443. package/dist/webcomponents/{p-bbf54e31.entry.js → p-ddb885c3.entry.js} +1 -1
  444. package/dist/webcomponents/{p-1358a4f0.entry.js → p-ddffdec9.entry.js} +1 -1
  445. package/dist/webcomponents/{p-22d19755.entry.js → p-debc4768.entry.js} +1 -1
  446. package/dist/webcomponents/p-e1168904.entry.js +1 -0
  447. package/dist/webcomponents/p-e3021e22.entry.js +1 -0
  448. package/dist/webcomponents/p-e3f8541c.entry.js +1 -0
  449. package/dist/webcomponents/{p-c1539656.entry.js → p-eccc1fc6.entry.js} +1 -1
  450. package/dist/webcomponents/{p-3e10a0de.entry.js → p-f3c40c22.entry.js} +1 -1
  451. package/dist/webcomponents/{p-09d1663d.entry.js → p-f4de4ac0.entry.js} +1 -1
  452. package/dist/webcomponents/p-f953fd60.entry.js +1 -0
  453. package/dist/webcomponents/p-fdea8c57.entry.js +1 -0
  454. package/dist/webcomponents/p-z3RFjy9B.js +1 -0
  455. package/dist/webcomponents/{p-DOEMfCze.js → p-zZn1OXja.js} +1 -1
  456. package/dist/webcomponents/webcomponents.esm.js +1 -1
  457. package/package.json +17 -15
  458. package/dist/webcomponents/p-00335f02.entry.js +0 -1
  459. package/dist/webcomponents/p-04480f3c.entry.js +0 -1
  460. package/dist/webcomponents/p-095e5b0e.entry.js +0 -1
  461. package/dist/webcomponents/p-0b169fac.entry.js +0 -1
  462. package/dist/webcomponents/p-12ae030d.entry.js +0 -1
  463. package/dist/webcomponents/p-1e34c488.entry.js +0 -1
  464. package/dist/webcomponents/p-1f3515a8.entry.js +0 -1
  465. package/dist/webcomponents/p-21473196.entry.js +0 -1
  466. package/dist/webcomponents/p-34f9fe96.entry.js +0 -1
  467. package/dist/webcomponents/p-382f49f6.entry.js +0 -1
  468. package/dist/webcomponents/p-3a28052f.entry.js +0 -1
  469. package/dist/webcomponents/p-46477dfe.entry.js +0 -1
  470. package/dist/webcomponents/p-48319292.entry.js +0 -1
  471. package/dist/webcomponents/p-494e1254.entry.js +0 -1
  472. package/dist/webcomponents/p-4ae8f4e9.entry.js +0 -1
  473. package/dist/webcomponents/p-4ccf9cd7.entry.js +0 -1
  474. package/dist/webcomponents/p-5fd4c94d.entry.js +0 -1
  475. package/dist/webcomponents/p-63b7abf3.entry.js +0 -1
  476. package/dist/webcomponents/p-649f78de.entry.js +0 -1
  477. package/dist/webcomponents/p-80fdd013.entry.js +0 -1
  478. package/dist/webcomponents/p-947950cc.entry.js +0 -1
  479. package/dist/webcomponents/p-9b944aa4.entry.js +0 -1
  480. package/dist/webcomponents/p-B1yVkh15.js +0 -1
  481. package/dist/webcomponents/p-BArmtmkq.js +0 -1
  482. package/dist/webcomponents/p-Bh1Vr2it.js +0 -1
  483. package/dist/webcomponents/p-BtPSM2n_.js +0 -1
  484. package/dist/webcomponents/p-C32sJPns.js +0 -1
  485. package/dist/webcomponents/p-Cdy3lPBL.js +0 -1
  486. package/dist/webcomponents/p-DSjpDUHk.js +0 -1
  487. package/dist/webcomponents/p-DV4n8kZd.js +0 -1
  488. package/dist/webcomponents/p-DfMQsL55.js +0 -1
  489. package/dist/webcomponents/p-DnDbpabY.js +0 -1
  490. package/dist/webcomponents/p-a3b48ba3.entry.js +0 -1
  491. package/dist/webcomponents/p-bd466218.entry.js +0 -1
  492. package/dist/webcomponents/p-be4aee79.entry.js +0 -1
  493. package/dist/webcomponents/p-cc558e25.entry.js +0 -1
  494. package/dist/webcomponents/p-d253a573.entry.js +0 -1
  495. package/dist/webcomponents/p-d9287237.entry.js +0 -1
  496. package/dist/webcomponents/p-d9eec0cc.entry.js +0 -1
  497. package/dist/webcomponents/p-daf41b49.entry.js +0 -1
  498. package/dist/webcomponents/p-e29e32aa.entry.js +0 -1
  499. package/dist/webcomponents/p-e5c2215a.entry.js +0 -1
  500. package/dist/webcomponents/p-e679b76b.entry.js +0 -1
  501. package/dist/webcomponents/p-eb6150a8.entry.js +0 -1
  502. package/dist/webcomponents/p-ebd5a44e.entry.js +0 -1
  503. package/dist/webcomponents/p-f0d8ffe0.entry.js +0 -1
  504. package/dist/webcomponents/p-f9aafb21.entry.js +0 -1
  505. package/dist/webcomponents/p-krYyRSq-.js +0 -1
  506. package/dist/webcomponents/p-rISpbtJR.js +0 -1
@@ -40,10 +40,10 @@ export class CardForm {
40
40
  return result;
41
41
  }
42
42
  render() {
43
- return (h("div", { key: 'cef558344c088e6e0bccb49b99c8a47c76200467' }, h(CardFormSkeleton, { key: 'f35bad214bc4d7657b7ab8a097a76602df877bcf', isReady: this.isReady }), h("hidden-input", { key: 'd3791651ad279e2e0ad169012f4d066a44bbfa66' }), h("div", { key: '37318e633f9ab08bfbc95750466c054158e5e4ff', class: "container-fluid p-0", style: {
43
+ return (h("div", { key: 'd3cb1fca6595f60e5f5f122b73d3d6c11a826423' }, h(CardFormSkeleton, { key: 'f83dcbbc214d460bb21c015ec051436ed5cf6670', isReady: this.isReady }), h("hidden-input", { key: '5fad0d06303d0ddb55c30c2cd94014255f2a8cec' }), h("div", { key: '68440756a1aad69b5c95245e7a2a5feb16899dca', class: "container-fluid p-0", style: {
44
44
  opacity: this.isReady ? '1' : '0',
45
45
  height: this.isReady ? 'auto' : '0',
46
- } }, h("div", { key: 'd5eccc9c8a496f3f264a1bd01bb065e823aa01b5', class: "mb-3" }, h("iframe-input", { key: '2ec07c9bf1ea18ed354cd036e2c7876f974a30ed', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '2959894ab0721d9bffccb0c16ecfb71bd3488518', class: "row" }, h("div", { key: 'dea7afd2515c4faa4927fd6cb32678fc782b9b5a', class: "col-4 align-content-end" }, h("iframe-input", { key: '7d95eff6c6765ff996c1c497866ad01216b2cc4f', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '00b02deefe877431409ef584662fc07e4a20cc3c', class: "col-4 align-content-end" }, h("iframe-input", { key: '4860f042f29eb1d3db0e5ad4cb7c9471b8536ce6', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'c69f9be6e581e683b757e89000ef1ba385c5f57b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'e5fbb8e78af5c8c6ed74db18aeb226bfba5d083f', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
46
+ } }, h("div", { key: 'b39eab56c79463935f1a1bb15cc867997f026e7b', class: "mb-3" }, h("iframe-input", { key: '25a2390a8c3c92d5e6eceafe6b821202ecb22d76', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '68766798d954a0b3d093ae13c3c2955f819da4f2', class: "row" }, h("div", { key: '05539f1ac8ebb0397574d55b4b76d7acdb7d2dca', class: "col-4 align-content-end" }, h("iframe-input", { key: '4c437a4384e6c301e18824d799784c1133e70ee3', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: 'b9a5b8b5dda1d8ab6305c9dc1ef9b655eb02fb3d', class: "col-4 align-content-end" }, h("iframe-input", { key: 'c1a412c20e75d21c1084a4b93f22362c367c1907', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'abdfdbd7eb784871011397a7c5fdf371e3c6baf0', class: "col-4 align-content-end" }, h("iframe-input", { key: '08dff072e785846d7543018c194b4df6ce5b343e', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
47
47
  }
48
48
  static get is() { return "card-form"; }
49
49
  static get states() {
@@ -71,9 +71,9 @@ export class JustifiCheckout {
71
71
  }
72
72
  render() {
73
73
  var _a, _b;
74
- return (h(StyledHost, { key: 'ffd2abaacc7edae588a9abe3a4ff96807b34fcff' }, h("justifi-modular-checkout", { key: '9196c278e24353aeb1ac02c85253d629f683522b', ref: (el) => {
74
+ return (h(StyledHost, { key: 'bc8428227b2fc0e0753c4ef4e2370cd34bd34e82' }, h("justifi-modular-checkout", { key: '9fda18728d6fb5b20716070cefc2fcf8ef097459', ref: (el) => {
75
75
  this.modularCheckoutRef = el;
76
- }, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '895298286bc0aa6acbda896a4f148dd4f8d7e7d2', class: "row gy-3 jfi-checkout-core" }, h("div", { key: 'dd186ed2f0fd479cd60024423b6d55625b962e55', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '920d4eca26846aa1cbc16693fa45a9d8054d95a7', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: '560f8c3757a7cf53fd0aa898fd243b16a2f8e8d5' }, h("justifi-checkout-summary", { key: '31faa6ca984aa22985927a1f80273c86a67c7025' }))), h("div", { key: '3128ae40a739573da32598213a289d8751503fb0', class: "col-12 mt-4" }, h("slot", { key: '4a310881bbc4017734082d5c4f6b41d3d5f2a424', name: "insurance" })), h("div", { key: '8047c4da62e2fd67bd0b3f8654c6a19c0cacc255', class: "col-12 mt-4" }, h("justifi-header", { key: '631ff14201f6246906e3e1572515de21a7977773', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: '7fdc560ef42a5c2e8571f332e3c4ce8ff460d235', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: '81dcb52c051044adb4dbd92ac73ee3096edc592b', class: "d-flex flex-column" }, h("section", { key: '4359903b195009a2e8fb997a1f77880cba40dea4' }, h("div", { key: '21728867e6288c3fb7d5e5a6ee3d15974568b866' }, this.availablePaymentMethods.includes(PAYMENT_METHODS.APPLE_PAY) && (h("div", { key: 'bdaa6b6c6d09cba294b2e46b85270241c86d2251', class: "mb-3" }, h("justifi-apple-pay", { key: '150d707bff7b79a1d19141f21a9c47e00e54418a' }))), this.availablePaymentMethods.includes(PAYMENT_METHODS.GOOGLE_PAY) && (h("div", { key: 'ce2be06b20a1e7d0159fde68a1c5c349c2d11998', class: "mb-3" }, h("justifi-google-pay", { key: '0fc867ce77467eb1f1fd198a62e88bd2795f4914', ref: (el) => (this.googlePayRef = el) }))), h("justifi-saved-payment-methods", { key: '0bb1999c093b3837bfdb879134dc54f66c90e164' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && (h("justifi-radio-list-item", { key: '1599be9bcea7569d822a204c805f08f18a4e00a4', 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) && !this.disableBnpl && (h("justifi-radio-list-item", { key: 'c1de230257d290efa05f7a7166c2f069451c71a3', 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: '44bca4ee57857afd4eee213cef98db2d4bd42490', 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: 'e5b6b4ac6b0fcec20380082f1b4cc5ba73bb88aa', class: "mt-4" }, h("justifi-button", { key: '188a8f46fd37b5f4f2d9b3ba7ff179d44d4a6656', 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" } }))))));
76
+ }, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: 'e39f9871696d44cea2080198c7b91d03b706f2fd', class: "row gy-3 jfi-checkout-core" }, h("div", { key: 'df6045e9394b10f9b3e4b86e1a2242db30cc9b7b', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '8f4332bd43371106faf4e264fd5b27c97cb589aa', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: 'a7170276f18b9fa4b085c4d5de35979d55935929' }, h("justifi-checkout-summary", { key: '109aceb53ad2500e927230b3f82bbb07ab3f604c' }))), h("div", { key: '902e040bbd591408c9d292a592ca4d31fc838d85', class: "col-12 mt-4" }, h("slot", { key: '2677cb4952d88a8ce8f0198b96ed2638d4f4e6eb', name: "insurance" })), h("div", { key: '32c033bba12a7b7bf26159bd1878d6fa4ed913d9', class: "col-12 mt-4" }, h("justifi-header", { key: '74543b63c1b94a5200ad36236818fce7345d5d76', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: '8e7c56c75bb779211b72c0b8561df8283b731ca1', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: 'c2b0a875169b46dcd7d73428e3f1a4825b380ce5', class: "d-flex flex-column" }, h("section", { key: 'c5f007674c058e88d271c17f0b6b9c959bd0e044' }, h("div", { key: '2c4ecdd0f8708f9f80bae50362ba7fab295f788f' }, this.availablePaymentMethods.includes(PAYMENT_METHODS.APPLE_PAY) && (h("div", { key: '5ac363a3b7c38cb3f10e9c2c7916825f0f5dc2d8', class: "mb-3" }, h("justifi-apple-pay", { key: '498c03630e4057b54ebd12a3cd87b6b6bdb00c4b' }))), this.availablePaymentMethods.includes(PAYMENT_METHODS.GOOGLE_PAY) && (h("div", { key: '8c8114d142927739a3217d3a0a44c34c89e58f83', class: "mb-3" }, h("justifi-google-pay", Object.assign({ key: 'a2fbc5b99a83fbc52698422d2f57a3380f97733f', ref: (el) => (this.googlePayRef = el) }, (this.googlePayEnv != null ? { environment: this.googlePayEnv } : {}))))), h("justifi-saved-payment-methods", { key: '2e5b27eea7ef433e950feadae0b0a07f8b613533' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && (h("justifi-radio-list-item", { key: 'fb1501c51eaf836579547bc50c295ebb67cb09c1', 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) && !this.disableBnpl && (h("justifi-radio-list-item", { key: '49e0687b4955fb92935783250540fe38350bbdcc', 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: 'ba793274de073c8a60c063e9caedcf32780b4bbf', 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: 'ed7be422c4e369382fd42e0b0162357df7de2031', class: "mt-4" }, h("justifi-button", { key: '849d648feec5ce805d6eb87acacf94d62e7a8f1b', 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" } }))))));
77
77
  }
78
78
  static get is() { return "justifi-checkout"; }
79
79
  static get properties() {
@@ -236,6 +236,25 @@ export class JustifiCheckout {
236
236
  "attribute": "hide-card-billing-form",
237
237
  "defaultValue": "false"
238
238
  },
239
+ "googlePayEnv": {
240
+ "type": "string",
241
+ "mutable": false,
242
+ "complexType": {
243
+ "original": "'TEST' | 'PRODUCTION'",
244
+ "resolved": "\"PRODUCTION\" | \"TEST\"",
245
+ "references": {}
246
+ },
247
+ "required": false,
248
+ "optional": true,
249
+ "docs": {
250
+ "tags": [],
251
+ "text": "Passed to `justifi-google-pay` as `environment`. Omit to let the child use its default."
252
+ },
253
+ "getter": false,
254
+ "setter": false,
255
+ "reflect": false,
256
+ "attribute": "google-pay-env"
257
+ },
239
258
  "preCompleteHook": {
240
259
  "type": "unknown",
241
260
  "mutable": false,
@@ -5,7 +5,7 @@ export class JustifiSaveNewPaymentMethod {
5
5
  this.label = 'Save New Payment Method';
6
6
  }
7
7
  render() {
8
- return (h(StyledHost, { key: 'b3a21f76759593ab02d71ed9a708982bdad5f0c3' }, h("save-new-payment-method", { key: 'ce0aa2bb711293144c835e9779b39a122017b544', label: this.label, hidden: this.hidden, onCheckboxChanged: (e) => this.checkboxChanged.emit(e.detail) })));
8
+ return (h(StyledHost, { key: '58ca6f98ace8aba5658fa38215b0c0756907ce9f' }, h("save-new-payment-method", { key: '6bfd3950c0bdf26bca6866ebf1b155ac39466516', label: this.label, hidden: this.hidden, onCheckboxChanged: (e) => this.checkboxChanged.emit(e.detail) })));
9
9
  }
10
10
  static get is() { return "justifi-save-new-payment-method"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ export class SaveNewPaymentMethod {
11
11
  };
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '42c0674b7d12f57ace0088c2ebb854521fed2abf', hidden: this.hidden }, h("form-control-checkbox", { key: 'c198bdd860f5c844bca6141e8d5c0bcf4de1fbec', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
14
+ return (h(Host, { key: 'a5ecfa60f9f55bdb91343394c1dd5bea542c20ed', hidden: this.hidden }, h("form-control-checkbox", { key: '282476dea11415eeec68336577ff17a5c03baad2', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
15
15
  }
16
16
  static get is() { return "save-new-payment-method"; }
17
17
  static get properties() {
@@ -0,0 +1,128 @@
1
+ import { h } from "@stencil/core";
2
+ import QRCode from "qrcode";
3
+ import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
4
+ import JustifiAnalytics from "../../api/Analytics";
5
+ import { checkPkgVersion } from "../../utils/check-pkg-version";
6
+ export class JustifiCheckoutQrCode {
7
+ constructor() {
8
+ this.size = 256;
9
+ }
10
+ componentWillLoad() {
11
+ checkPkgVersion();
12
+ this.analytics = new JustifiAnalytics(this);
13
+ }
14
+ componentDidLoad() {
15
+ this.renderQrCode();
16
+ }
17
+ disconnectedCallback() {
18
+ var _a;
19
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
20
+ }
21
+ propChanged() {
22
+ this.renderQrCode();
23
+ }
24
+ get checkoutUrl() {
25
+ return `https://components.justifi.ai/hosted-checkout/${this.checkoutId}`;
26
+ }
27
+ async renderQrCode() {
28
+ if (!this.checkoutId) {
29
+ this.errorEvent.emit({
30
+ message: 'checkoutId is required',
31
+ errorCode: ComponentErrorCodes.MISSING_PROPS,
32
+ severity: ComponentErrorSeverity.ERROR,
33
+ });
34
+ return;
35
+ }
36
+ if (!this.qrContainerEl)
37
+ return;
38
+ const svg = await QRCode.toString(this.checkoutUrl, {
39
+ type: 'svg',
40
+ width: this.size,
41
+ errorCorrectionLevel: 'M',
42
+ });
43
+ this.qrContainerEl.innerHTML = svg;
44
+ }
45
+ render() {
46
+ if (!this.checkoutId)
47
+ return null;
48
+ return (h("div", { ref: (el) => (this.qrContainerEl = el) }));
49
+ }
50
+ static get is() { return "justifi-checkout-qr-code"; }
51
+ static get properties() {
52
+ return {
53
+ "checkoutId": {
54
+ "type": "string",
55
+ "mutable": false,
56
+ "complexType": {
57
+ "original": "string",
58
+ "resolved": "string",
59
+ "references": {}
60
+ },
61
+ "required": true,
62
+ "optional": false,
63
+ "docs": {
64
+ "tags": [],
65
+ "text": ""
66
+ },
67
+ "getter": false,
68
+ "setter": false,
69
+ "reflect": false,
70
+ "attribute": "checkout-id"
71
+ },
72
+ "size": {
73
+ "type": "number",
74
+ "mutable": false,
75
+ "complexType": {
76
+ "original": "number",
77
+ "resolved": "number",
78
+ "references": {}
79
+ },
80
+ "required": false,
81
+ "optional": false,
82
+ "docs": {
83
+ "tags": [],
84
+ "text": ""
85
+ },
86
+ "getter": false,
87
+ "setter": false,
88
+ "reflect": false,
89
+ "attribute": "size",
90
+ "defaultValue": "256"
91
+ }
92
+ };
93
+ }
94
+ static get events() {
95
+ return [{
96
+ "method": "errorEvent",
97
+ "name": "error-event",
98
+ "bubbles": true,
99
+ "cancelable": true,
100
+ "composed": true,
101
+ "docs": {
102
+ "tags": [],
103
+ "text": ""
104
+ },
105
+ "complexType": {
106
+ "original": "ComponentErrorEvent",
107
+ "resolved": "ComponentErrorEvent",
108
+ "references": {
109
+ "ComponentErrorEvent": {
110
+ "location": "import",
111
+ "path": "../../api/ComponentEvents",
112
+ "id": "src/api/ComponentEvents.ts::ComponentErrorEvent"
113
+ }
114
+ }
115
+ }
116
+ }];
117
+ }
118
+ static get elementRef() { return "el"; }
119
+ static get watchers() {
120
+ return [{
121
+ "propName": "checkoutId",
122
+ "methodName": "propChanged"
123
+ }, {
124
+ "propName": "size",
125
+ "methodName": "propChanged"
126
+ }];
127
+ }
128
+ }
@@ -51,8 +51,8 @@ export class JustifiCheckoutsListFilters {
51
51
  }
52
52
  render() {
53
53
  const filterMenuParams = Object.assign({}, filterParams);
54
- return (h(StyledHost, { key: '1bb72de3ffad74d0e287f6f988f2737a94190709' }, h("table-filters-menu", { key: 'e7e1c2d657b5af5dfcf6e13b262dbd3787583206', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'df26c6a8c7ec477103995c07c079c01a4bea0729', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '6fd0f286cb30997439879d1c9b69b8ab39651a99', class: "p-2" }, h("form-control-text", { key: 'b6a070c40b1da5ea9f59c8c6f47f517181948230', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: 'f6ae07ac4b9afcb307fa6ce5ff6a0b6610169a69', class: "p-2" }, h("form-control-text", { key: 'c27c86b9a14d806bcd6d2d2a070812e31ae558ee', 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: '54b26c583902c853db8709b311870c94d5332bd2', class: "p-2" }, h("form-control-select", { key: '3747bd2c6f2196a56059f36febc30057b8dc13de', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status || '', disabled: !!this.checkoutStatus, part: filterParam })), h("div", { key: '5a875750872d5446c42db9a840c3670425c46ebb', class: "p-2" }, h("form-control-select", { key: '58eff7fbca6653532540506c7cef66df0f54af38', 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: 'dca10b3b14055c6c2351f4fa8f11b609625f1a26', class: "p-2" }, h("form-control-date", { key: 'bfb85e61a9ee01a1cb3c2907ad06b6d37bbdc081', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
55
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '1772c182c957b053e77599935e3d61c1a66186a6', class: "p-2" }, h("form-control-date", { key: 'f7965bd4b2689359e76d3cec250bfd7eb5ba7870', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
54
+ return (h(StyledHost, { key: '1c4b39ee0103e6905affa774f202dd76f147bc89' }, h("table-filters-menu", { key: '9cb0457d0e6ce05925f4e0da04532008020dd46e', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'e5c370717e3cf2571f2017d185c7f3ea08eab1c8', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '2e3c1832bb800fa9065b189a299234fafa7eb4e3', class: "p-2" }, h("form-control-text", { key: '33e1e31d842aa0b8c47e3ea1bc12cc860691f5e3', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: '4dcfe2f56d8405f376eb4aa52deaea0fb64e8ff5', class: "p-2" }, h("form-control-text", { key: '272ba42827048aa45ada6090eaf9574950ebaca2', 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: '7c4e0ad12e0031a70aeaec5a0423d9b0b45c70a4', class: "p-2" }, h("form-control-select", { key: '87775c3a0d1de63301dde682f79a7c2c11a4958b', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status || '', disabled: !!this.checkoutStatus, part: filterParam })), h("div", { key: 'e751b51d9e2725addd6e9b082bf326fc039b0a7a', class: "p-2" }, h("form-control-select", { key: '642fc1af53bc89d1604a864f4088781096cd24a2', 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: 'a95638261e002677c51299342d34bafc8a8615b4', class: "p-2" }, h("form-control-date", { key: 'ca017b89e5ae0ea3f4d55ade8de2acbdc2062c86', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
55
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '0585dff7f655db9da4f3c2124eac6c90b74dbe3b', class: "p-2" }, h("form-control-date", { key: '50fee01232661f33c1996549cf6523c92dc937c4', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
56
56
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
57
57
  }
58
58
  static get is() { return "justifi-checkouts-list-filters"; }
@@ -178,8 +178,8 @@ export class JustifiCheckoutsList {
178
178
  return !this.showEmptyState && !this.showErrorState && !this.loading;
179
179
  }
180
180
  render() {
181
- return (h(StyledHost, { key: '2f9efac8723333029415ef131516946912bb313c' }, h(TableWrapper, { key: '024c7a532533721acda9740a0888b1c15fa624fe' }, h(TableComponent, { key: '06bf1c6db731eb5857b08615222ca47a85ffc4a8' }, h(TableHead, { key: '0754f9cd87a3b32a5368e7fb7538071cf6be0505' }, h(TableHeadRow, { key: '5db4c5beea0e6e9afc29e16b5789a32ad94509dd' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '9140294035b04b549578d74374271f8a9fd78162' }, h(TableLoadingState, { key: 'bf495d00b9bc4ee28b67c8f1b3258306f9202142', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '92f8a1245cc022fa3b254bb1fe8d659f75c62923', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '2e6ab100026afb29f199dd33e52de5ae77e6576c', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
182
- 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: '3a1b55572eb0fc2ffcef1a39f6bfae5693056752' }, h(TableFootRow, { key: 'f61a3cc86fda3ec95075381403916f5fb1c46ca6' }, h(TableFootCell, { key: '7d937a0d228062f42f49dca5bdb436d54354563e', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '05454876b7faeeb73fb8f896a2425e5f9db12ee3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
181
+ return (h(StyledHost, { key: 'd384dda32587dfc469e998b2b8f209ef17aef775' }, h(TableWrapper, { key: '98f2472188e64a236fd5cc581efe2895a6de58a3' }, h(TableComponent, { key: 'f02db4d024b9d2250a637fb28dca06eaff1d894c' }, h(TableHead, { key: '8c96bfa14e4e2154c1f575595f9597d3adc640df' }, h(TableHeadRow, { key: '08cddf6a31fbe99c8b46f61ceca996acb9b87f0b' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '99b88bfdb3871f82d653b00536f22c5c17cf38ac' }, h(TableLoadingState, { key: 'e05e1d543481df360b42e5563d5963277d10110e', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '3c4e19d3e8c9c779249efa63be592fbf5948b6ae', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '7660b4991974dc46d8fb9dfd28ef7ea79d8e22e0', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
182
+ 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: 'd56c6cb6a529dabf00c5260a39a2e2ab8e3749be' }, h(TableFootRow, { key: 'd28363ad8d8823f3da097edb263aa10308cbdb04' }, h(TableFootCell, { key: 'd6fcce3cf39e43718e8b15d42445c053d0feaa21', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '6b956571ed6ae297df5430cad4be92eee2bdb9cc', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
183
183
  }
184
184
  static get is() { return "justifi-checkouts-list"; }
185
185
  static get encapsulation() { return "shadow"; }
@@ -35,7 +35,7 @@ export class DisputeNotification {
35
35
  }
36
36
  // Fix for JavaScript Date object parsing
37
37
  // https://stackoverflow.com/a/31732581
38
- const dueDate = new Date(this.dispute.due_date.replace(/-/g, '\/').replace(/T.+/, ''));
38
+ const dueDate = new Date(this.dispute.due_date.replace(/-/g, '/').replace(/T.+/, ''));
39
39
  const today = new Date();
40
40
  // Reset time to compare only dates
41
41
  today.setHours(0, 0, 0, 0);
@@ -44,8 +44,8 @@ export class DisputeNotification {
44
44
  }
45
45
  render() {
46
46
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
47
- return (h("div", { key: 'c5963c0823e635ee0c2e88979b174c89c96af134', class: "dispute-notification-root" }, this.isLoading && (h("div", { key: '4de146d999a16e1b4ad3e393285a843d86febdda', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'ccbf1fe76ac5582cb2536548901c12768096e867', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '06ede07362fe88dfd4ec6b38c80bf619b9c7a134', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '768613c5b20ef403c468b12d5dacbea4b211ebef', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (h("div", { key: 'a22e18df2764ddb6bee0db7e4da388bd9aec0d99', part: text }, h("h1", { key: 'b602464b54aacc6c0776975921dbe3fceeda1f04', class: "h4", part: heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
48
- _b.due_date, ") for this dispute has passed"), h("p", { key: 'e4b8615f75914e7aa613f6120172bc2cc0f6dd31' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (h("div", { key: '2b09cc88b63ca582e2ef8cb83ef4455d4af493cc', part: text }, h("h1", { key: '74ac700bc104aac085712a30da0b968a1bec41fe', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '2d133967991c3ee44f022ac925c873c198b71315' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '376936590aaeb5903f430eedb84984704966563d', class: "h5" }, "Dispute details"), h("div", { key: '8afea9772ee48495c8b731ba8602c48e00061f8c', class: "d-table gap-2" }, h("div", { key: '14630372fff051e1baadb7239ced63ae56edaf7e', class: "d-table-row gap-2" }, h("span", { key: '4ec3fc5233e87b07021eeb78ac7d4e09666502c7', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'fe19ae497136c8ef5511a0197952c6d3cd889b84', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), h("div", { key: '0f955e0707a9b8126868a34dafa39320e00d7706', class: "d-table-row gap-2" }, h("span", { key: '63dc2ebf125f6ec52a155ced1324a02b0735c78b', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '5a6e543559e873811348fa0b68d21fe0f1dac781', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), h("div", { key: '7656de07c60c137dd7005f96370a71442dcdb526', class: "d-table-row gap-2" }, h("span", { key: '817a89c84f605cbfac346f0d39790b35a73d51a4', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: 'e0e7c74f85934f6a1d2e02bc24d5563e1a37222e', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), h("div", { key: '2ef721cebd617709242a0b4b9713ff264f73eac0', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '530f16709538e4146e542b88177145e4b2c9808a', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'a498af8eb2d5a41e75a8fb044b981463b8e3bbd4', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (h("div", { key: 'f01a89cda469402b5543b64b02ddfc9ec66cc62b', part: text }, h("h1", { key: '15f0173bdfc20dea6fb16b030479f8554e40b716', class: "h4", part: heading4 }, "This payment is disputed and under review"), h("p", { key: 'a444d77fad985cddf37a0386db7ee65f321fa11c' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (h("div", { key: '08bf0f31e5fe43dbf1058709f500d0b592827dcb', part: text }, h("h1", { key: 'e9925566140ac26b9fb42026258f3ca2bebc002f', class: "h4", part: heading4 }, "This payment was disputed"), h("p", { key: 'b0dd7cec8cad943d46d7e2d7d919f15b29d08fbd' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (h("div", { key: '4b037a462c3e9b3c7b7296e15b443c94a4310f46', part: text }, h("h1", { key: 'b614282d90adb69e9c638ed7a6f80566033c69ed', class: "h4", part: heading4 }, "This payment was disputed"), h("p", { key: '3808b99fb69241784c6f3e09bbd6b13636cb26a3' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
47
+ return (h("div", { key: '325018c414e82b5c1bc7d9c5aa444b5a9d4e83d6', class: "dispute-notification-root" }, this.isLoading && (h("div", { key: 'deffb8ef248e32962aca084a564e83aa5f222b0a', style: { marginBottom: '8px' } }, h(Skeleton, { key: '6f6c630b3122b1b2fd480470f5df7683f19de612', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '11f46711fed1094496c64551f084351c08f598be', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'fc7e2eac76e1cbc329147f3da39a8c28c51a7b6a', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (h("div", { key: '0ef159acf9fe5b12dc0dcddab6b7583e5fc9a799', part: text }, h("h1", { key: 'db263006990c5b4cf178f7f81650ad7602765532', class: "h4", part: heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
48
+ _b.due_date, ") for this dispute has passed"), h("p", { key: '185c6f952ef46e3aec625cab73c943b3046ef6b4' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (h("div", { key: 'd4536104addc500277fbde990b7b33ba8ff54c7e', part: text }, h("h1", { key: '198138cc6541c0aeeae458e2de1e3ae0c695328d', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '6902ce5e3e94ab7f71ee6d0c6a7604ef97f0e740' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: 'f49d1ac855365480edc61e0af117230e2f3dbe1f', class: "h5" }, "Dispute details"), h("div", { key: 'f3868a098dbc4a613d676b8580c053527f9d5fad', class: "d-table gap-2" }, h("div", { key: '7699bc619b652ffe1c77cf6e5e0dac967679b1e6', class: "d-table-row gap-2" }, h("span", { key: '9de67b45877120f54f724f1efe7b3f4d4b035d30', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'bfd79f86b5b81daf2a34f5874fcff03a05d1e64d', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), h("div", { key: '0e57d56172859eb5857a1930cb837569157026d9', class: "d-table-row gap-2" }, h("span", { key: '0b615bd8f9a9add7d18d50be4f4f644707576de2', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '46288c67be32fe2d95fea88f5b0148f22552a2c9', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), h("div", { key: 'c68280b0f36280804fb6231236d942174c189456', class: "d-table-row gap-2" }, h("span", { key: 'ed3f145aa0f2c949b80d7033e4ecb818a4a4fa68', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: '4c4530acbc570fb13b5f53947714bd250ff99cab', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), h("div", { key: '3244bb6bdbed2b4e28c479c2d4db2d0ae152f2f0', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '3716a28cec93e70690ad96bfc0c5f3b7b56f8ecb', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '7f326ed6f298c9f1091b160c63e386864329190e', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (h("div", { key: 'd705ae48c1f30b904ac31bbdbab9e955868f51e1', part: text }, h("h1", { key: '712cebef3699a8c2a97bcb69ae68e0b491090c88', class: "h4", part: heading4 }, "This payment is disputed and under review"), h("p", { key: 'ca95b2c8bdc6083a3fbb1dd63c6bdaa4699ae2a7' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (h("div", { key: 'c0cb4c8342aa4f022d76e95123a047b7b707f562', part: text }, h("h1", { key: '797966d237d4b46eb1b880deb7fa21746f5b3b1e', class: "h4", part: heading4 }, "This payment was disputed"), h("p", { key: '2f9eed1a5f34f772206112488af22aa8b35c07b6' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (h("div", { key: '9a90af51218ed921e27519363995f12e29713bfd', part: text }, h("h1", { key: '736ee5cf8f65d780d4812e24ea9050dcc0d109a4', class: "h4", part: heading4 }, "This payment was disputed"), h("p", { key: '9ca83087b028e1078bcc2cd0b552e8f5379932d1' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
49
49
  }
50
50
  static get is() { return "dispute-notification"; }
51
51
  static get properties() {
@@ -29,7 +29,7 @@ export class AdditionalStatement {
29
29
  }
30
30
  render() {
31
31
  var _a, _b;
32
- return (h("div", { key: '6981b81dee8ead47d8e86c501b82d61aa4c337b9' }, h("div", { key: '0bf8ad743eaf5fe2e8c68d79947a4c2303e782f1', class: "row gy-3" }, h("div", { key: 'bdd3e46477ed7667a73a81d98c62e1121660b820', class: "col-12" }, h("h2", { key: 'b0b8e093b3c7204526b19fc54f80ea8c681ff22e', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '15570a6b33fab873a7fc9faa544c8fb234515f38', class: "col-12" }, h("form-control-textarea", { key: '68e08b8e96dbb74c35f1fabbb769aa95a3e0ada9', 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: 'f684ffc7e55aac7d0667326c99480b796f2a9cfc', class: "col-12" }, h("form-control-file-v2", { key: '8ea248120f9f2ed5fb689a1a25855266dbe561a0', 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: 'fc937111b48c5141d31085bb6282fb58cc2d000a' }, h("div", { key: 'c24bc0ce7a89b8c138abed0d7bcf8a81cc910a71', class: "row gy-3" }, h("div", { key: 'ec340664ce128f61c231e8545ae69b1561f704bb', class: "col-12" }, h("h2", { key: '37369432e8ab4d6d871127e8535a675f91f2b07e', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'f96c72ebf7aaed5c757ca31c251abdbcf09684ae', class: "col-12" }, h("form-control-textarea", { key: '30f0bb97c38ed8782d23f72563d2c679640defea', 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: '5fd9944de7b9bc0395dc8d791e0d138398162e45', class: "col-12" }, h("form-control-file-v2", { key: '37200d108ab06c455de1469746e122a125d57d75', 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: 'debb9fe05382d0806038547b61fe3201845db2a1' }, h("div", { key: '030d5be9a41dff1954049c6ac33a79024741c43c', class: "row gy-3" }, h("div", { key: 'd5da527af347d6c29c30f5ed5b5295b9ef693e7f', class: "col-12" }, h("h2", { key: '3f8d2da0485bd28220ae9f66db87fab49e86a734', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'd7fa3aacd80ad375ba58d1c86d8cf9d00c4cce6e', class: "col-12" }, h("form-control-textarea", { key: 'ca14e78ef0dcbad3b2a76cb230c2eb4a7c56f877', 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: 'e8f10ab0e5e3e9c7a0f90aa13e8680607bb64a3e', class: "col-12" }, h("form-control-textarea", { key: '5ca2d11d67301b512756cbc4355939b9433be033', 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: '36b8ef8f62721f220a05b1571bb347641b433b56', class: "col-12" }, h("form-control-file-v2", { key: 'c04f383cf55abd36b753718c2170d64f97935e7f', 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: '8812e04b5497b1b75d4afcc18084ff224efe11e0' }, h("div", { key: 'fd414b2ebd443b490ec68bb1788efce0824877e6', class: "row gy-3" }, h("div", { key: '300e7b1afa78dac54bd3240af7ad1bdd6f386134', class: "col-12" }, h("h2", { key: 'c85c78cf40224ad06db9746c929d312d6ac53613', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'fab79ca4fb6f343674698b87fd5e713c6028ce8b', class: "col-12" }, h("form-control-textarea", { key: '106094d74237d258091a60d14e0bdeecf1106584', 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: 'ac5d1d534d30176483fc490947e3bf65fe41afa3', class: "col-12" }, h("form-control-textarea", { key: 'd0972bf1837f9f23de6925517756ec18e1fac3fe', 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: '135463253e19c6a2d5ff86b04413e6838f824a89', class: "col-12" }, h("form-control-file-v2", { key: 'ef0a3a1d1113f5cb4e97bbf1017841b75463f690', 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: '91e26b2e75fdd29814c58122e5aeae0d4d696032' }, h("div", { key: '029a3828b8682fdd10af400dccceff109f866509', class: "row gy-3" }, h("div", { key: '71fa3ded5566c5c18c682b8cfdfdcc5ebba2db44', class: "col-12" }, h("h2", { key: '95eb1ed9da9cd955fa9c4c7a83368ac3c3378d5b', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '9450f8bd033efc7d48d62ce343b8b43833887f63', class: "col-12" }, h("form-control-text", { key: '5690f7d9a46e2d58bdc24af0aab3798664f21745', 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: 'a12aa4cb464e5df7f045302b08801adca70005f6', class: "col-12" }, h("form-control-text", { key: '39cdb0b558b87a7eae0528ea40b9ca4175b4cf7c', 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: '13604ae63374c6fa1805d8c4be0ba55fc166a924', class: "col-12" }, h("form-control-textarea", { key: '60a110f277175418c2ec0938600ad4b04f885ee3', 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: 'abaa8888fff9952b3433c49e82a7150d6cd971dd', class: "col-12" }, h("form-control-file-v2", { key: 'e2e79edd8eaafd93cfdb91fd6a3b77645c1d28f2', 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: '04bfc4bf3e735cccf70fb83d2e0882662b389727', class: "col-12" }, h("form-control-file-v2", { key: '476d3df1f072afdf95a6ad83e8b94b5946d66186', 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: '91b627ab79cff98fc4bb2b76e9e9159b99bcdc44' }, h("div", { key: 'ddb074202926fca96c40fba3724b1a603ef29bf8', class: "row gy-3" }, h("div", { key: '680d03bb31e19a1ab7aa560195a802dc2a7f1bcf', class: "col-12" }, h("h2", { key: 'b9e47dc34c931a18373053384dac93ccd45e4823', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '286716947b073de829fe525eb855864f51d72234', class: "col-12" }, h("form-control-text", { key: '2b9369bfbb55fa87ee8448324f6ff8480679ba58', 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: '89f384a11dcac912a189b4909586a3e1db603f25', class: "col-12" }, h("form-control-text", { key: 'c6dfbeb68b117d840a39bfe4e96be7d18d5395b7', 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: '29c2e48fabafe27b878294e3267a9ec04a91a2a4', class: "col-12" }, h("form-control-textarea", { key: 'ec734cbef65f6263e462b86332be24c92a1173ad', 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: 'f944aca1e6594cdcc20bb69bd1aa625536d05ac0', class: "col-12" }, h("form-control-file-v2", { key: 'f227a8b81e6b8409152f61ae6906319577663dd3', 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: '4804ef68cc6f5d0006568aca8bc57086243af4de', class: "col-12" }, h("form-control-file-v2", { key: 'a0dba5cfa046de4bca065d7bb20ec2a5abd57fc9', 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() {
@@ -54,7 +54,7 @@ export const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) =>
54
54
  });
55
55
  }
56
56
  finally {
57
- return final();
57
+ final();
58
58
  }
59
59
  };
60
60
  export const makeSubmitDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
@@ -83,7 +83,7 @@ export const makeSubmitDisputeResponse = ({ authToken, disputeId, service }) =>
83
83
  });
84
84
  }
85
85
  finally {
86
- return final();
86
+ final();
87
87
  }
88
88
  };
89
89
  export const makeCreateDisputeEvidence = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
@@ -112,6 +112,6 @@ export const makeCreateDisputeEvidence = ({ authToken, disputeId, service }) =>
112
112
  });
113
113
  }
114
114
  finally {
115
- return final();
115
+ final();
116
116
  }
117
117
  };
@@ -199,7 +199,7 @@ export class DisputeResponse {
199
199
  return this.currentStep === 0;
200
200
  }
201
201
  render() {
202
- return (h("div", { key: '50f6bf79c7590ef3591e2163dbcd89241ca17b62', class: "dispute-response-root" }, h("div", { key: '5345d5a3c5e7ff2d4c56f438fe623578e3d2029e', class: "row gy-3" }, h("div", { key: '8925276a290105b2fde5cd6bfdf0390c3a0c95f9', class: "col-12" }, h("h1", { key: 'b8eb14deedc748b3612f11fad9d94fa38020a7f8', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '50afe487bdb21d3ea2dc149c662a284f5ebb4d9b', class: "col-12" }, this.currentStepComponent), h("div", { key: 'cde242630fdc12e82ee5a77a199c4f6a7858371e', class: "col-12" }, h("div", { key: 'ce548b753ec56df34e23eb33649a27449d49b712', 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: '7f9c8d56cfb86cea73ab2f299b83ff0de28f5c3e', class: "dispute-response-root" }, h("div", { key: 'a805bf54df79453127557bf651c3d776a381241f', class: "row gy-3" }, h("div", { key: '2e6bc9cbe369e0ea5d200bc0934b4cad50f3c76f', class: "col-12" }, h("h1", { key: '9876e9c87c6dfb405e7bad46d64fdb40ad048142', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '045028232da5331c7041ad222c4e98364674ace3', class: "col-12" }, this.currentStepComponent), h("div", { key: '0455c4856a44340ce25c1c4c8f776abb197f919f', class: "col-12" }, h("div", { key: '5b990cc1d41b3a7152d727c941e9758ed70f75a1', 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: '4bd4aad3fbdaac994ee97aa1421a6f380657cfee' }, h("div", { key: '53548ff2b4bb09c2b1d078b2657127802422558a', class: "row gy-3" }, h("div", { key: '25658729932e2eb1d0706bd83106a92976e09b91', class: "col-12" }, h("h2", { key: '885bf37ba0a013397d4fef68683b24e9e8e1bed6', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '2f38e6451c2d982900729639994977b8ef8f8c04', class: "col-12" }, h("form-control-text", { key: '8cf20ffcd748bee860c1c8a52326a265bbe32696', 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: 'e61d85188051830d2e674cfc39dab73ada597c66', class: "col-12" }, h("form-control-textarea", { key: '762f300d71a99a31030ed052299129ae8457ad4c', 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: 'c5a1d7368132ba063d080ec7d071bd9131381ad2', class: "col-12" }, h("form-control-file-v2", { key: '3bd9928e8a212e1665d446cb31ae9e02d6645437', 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: 'ec4cfa15f2830ec56dfd9184728c1badeb9e1dfd' }, h("div", { key: '0e107461e759478735aecabea93baf060169dd14', class: "row gy-3" }, h("div", { key: '22b9223c3e92d2183d65d9125a3ebefd341c140f', class: "col-12" }, h("h2", { key: 'cf386e687b18a4f232b935a847270d8ad463db32', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'dd8cc52b7b6cfe955a09e29c145f70761db87068', class: "col-12" }, h("form-control-text", { key: 'ff024fd4e90adc3a991036eb535258bad98ab199', 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: '0df77b3c8d8a8a777c8258cd0ca075df73552ee4', class: "col-12" }, h("form-control-textarea", { key: '27bfe00c3bdab393b35f3ca26360db65f487d789', 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: '8420318e367111cb73c1235c363973d7f34aa25c', class: "col-12" }, h("form-control-file-v2", { key: '71717a0c8d02e2c8198b365f61b1a6727a619e6b', 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: '00fa5deacbf19befd07d7d8764db8e3474377d5a' }, h("div", { key: 'be3d0b6775e78352bdaf4d0e739da61444fae572', class: "row gy-3" }, h("div", { key: 'e55a58628d1baad34be38d5d21598c6a372dd3c3', class: "col-12" }, h("h2", { key: '463ec945a9cc0e46350b13c774b634ef25bde2e9', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '5576a4d1b32a0c2d2d4341bf591721aed6fcf6a4', class: "col-12" }, h("form-control-text", { key: '9f64b68724ba8b2bdf435b02077fd362f8fe1ab1', 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: 'e5b2635ede15e41e9e686ab338448d3c2fdf8166', class: "col-12" }, h("form-control-file-v2", { key: '5137a992c79a1ccfcb8f3a114d1a12823b597dd2', 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: 'cf4615613589be984c7d5b6b50f0b5239895d81d' }, h("div", { key: '1f96c50146d009cc4d0d0ccbee41c31144e7f746', class: "row gy-3" }, h("div", { key: '3a671ff5c959efaee8dc57dda073de113489f0a6', class: "col-12" }, h("h2", { key: '3b73879b357d3465c6c76b27db17b6dbdce7c538', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '35c0ff43bc1dcdba8916b51da636347395c98901', class: "col-12" }, h("form-control-text", { key: 'cdabf70034babf41ba227f66936f8b340f104ca3', 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: 'd9920bf1548e14c6adadbc63dc41a1a90cc1a3cc', class: "col-12" }, h("form-control-file-v2", { key: '8eec5b79872eeeda77702d9f4cc9003a627e6682', 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: 'd0b168de486d51cd6141f2d80441b7e5f4fac5cc' }, h("div", { key: 'bea13ed13614f43b801be60c46673fb98ff09cc8', class: "row gy-3" }, h("div", { key: '1163ad6cff89e6fb29b16622e1aed6e55a5ee435', class: "col-12" }, h("h2", { key: '6f4fc9439e0a95d6e5992d7655f1c6e8f1b2b7bd', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '3111413dc874eaa80e21ec6838d8c0896f38ce2e', class: "col-12" }, h("form-control-text", { key: '3a18e08d653c67912f904337e37d786588e50217', 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: 'ea2202cf65741022ff7363cc325948944a18afb2', class: "col-12" }, h("form-control-date", { key: 'c8ceda1e61e9dbf7496173ec30e0c8f6d1b48f91', 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: 'fb3e555b7781977e80541d1b2d6e7bd10b4ec087', class: "col-12" }, h("form-control-file-v2", { key: '2b459a198427db073a6d5e2a1ed5141cc6fc2d20', 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: 'befcaee1dd5343ec47a55f27dc51c1d18cd57a71' }, h("div", { key: '56005c7449374963a548ea89250cc8ebbf2e75e4', class: "row gy-3" }, h("div", { key: 'ba5cdd019cb69288b49570d59317079665bf2b81', class: "col-12" }, h("h2", { key: '494feff3a2bb645653c77c7d7b031e761ed8c253', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '84db8064cd1c110e64b56961838f62f8676aed19', class: "col-12" }, h("form-control-text", { key: '98e82b9ca4b27476bc9e523afaf13ce55df9cce5', 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: 'da06d2ef195dbc8cee8680e3a4c9107849836ab3', class: "col-12" }, h("form-control-date", { key: '3d2fb41fccfddb65d92468a78e3f5a4cfd9a67b5', 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: '824410485b182d8e309468506a9c8ae19ce1461f', class: "col-12" }, h("form-control-file-v2", { key: 'f8f5d542260b88754c05b61f0d50374d1f66a93e', 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: 'f04cacfa7617a6430a0e4d264248dfa1606ef988' }, h("div", { key: 'aa3b2d3fcd2263e6d5033b68b9524250bb51d7fa', class: "row gy-3" }, h("div", { key: 'e2154a203be02f1f6ed60666799db30f6b2e10fe', class: "col-12" }, h("h2", { key: '2856f16f60d6310c7dd64c86de1ebf7e01fac1fc', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '94187589fdeb685fcc99e5ea2c6868ceedfd5ed2', class: "col-12" }, h("form-control-textarea", { key: 'fbaa1a08ab910c4ac31a53bd1385a05abcff0bb5', 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: '45e893fa517222ac88333b306ae28fc1eb09daa0', class: "col-12" }, h("form-control-textarea", { key: '646a2b77b2e896523a5e3ec3da07e020c5a72c32', 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: '3f4369cb2f2aac9ede8f386b338c9637ab4f5b8f', class: "col-12" }, h("form-control-file-v2", { key: '867c6f97af1710b6119984bd1f87f3a5eb358dc6', 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: '066f2d66a0dd5be5c47d44620c295b952a4755cd', class: "col-12" }, h("form-control-file-v2", { key: '2036cbddd0ebf663401154120b5c1627fdc93df3', 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: 'd5419f7dc7ca4e66522437969b451c7adfda6b06' }, h("div", { key: 'f74344edd56fe88d481f3c428aee3f7a3170ef1a', class: "row gy-3" }, h("div", { key: 'ad826fd7a497664e8a9a97bf4f749ddd5f4899a4', class: "col-12" }, h("h2", { key: 'f792af239a7df56d2a7289fae8ee487048343851', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '5a159d8fbb74d7580a9d6ef34d1a752b68525251', class: "col-12" }, h("form-control-textarea", { key: '8fdcac1c9336874635d955f651b44389ddc3d576', 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: 'ca0d7a0c5161d572a27459ec5847bd6aedda8552', class: "col-12" }, h("form-control-textarea", { key: '7dde3212e5453772afbc4dfff8de5285d29ec3b3', 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: 'ec5615813cceb9b2eaaf327e4a4fb2785f341ce8', class: "col-12" }, h("form-control-file-v2", { key: '38d6901b619eb353da9b6066957579caa97064e3', 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: '64245ce028bff37a6f9852e75d1b2e6ba27fd3ef', class: "col-12" }, h("form-control-file-v2", { key: '126ce22ff40995cfc0d4f059b2463a98a6dfcb50', 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: '3b414c89e4d310b598685ef4e0595361edbe4783' }, h("div", { key: '8f630c3bff6432da2184524865d8f322c53c3685', class: "row gy-3" }, h("div", { key: '116988f4f62d30c4b5312604b3cc3d1df831a5bd', class: "col-12" }, h("h2", { key: 'f79794380f6b9ff7e964bea19a1898f9f190f0ff', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'b7448564e27dd9237f61df0e7c690c5705f97941', class: "col-12" }, h("form-control-text", { key: 'd03af28966dec1ba0ba16f8adf34ee4aae7a077e', 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: '5632f97cacae9d17864e14a41789ead3b39f2ca0', class: "col-12" }, h("form-control-text", { key: '9f6ff174dfcedb7a7f74a9e75a46164fcebe6095', 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: 'e7fb2b0187e8e4ea8fb30fd316291465b41f4a9d', class: "col-12" }, h("form-control-date", { key: '06f39b93c95cbe6b4897585dd9ab06ad636dd933', 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: '1d0a48b701a12129ebfa39b7482145b32006d854', class: "col-12" }, h("form-control-textarea", { key: 'f98b3cc3ef9423c31e3dc195a4b9896fbc3da1c9', 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: '82379a765e791a5b373a3c01b8fec6fe05ffa2d5', class: "col-12" }, h("form-control-file-v2", { key: 'cff1198af3f29e837b48b46eed5f385da9994a66', 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: 'dabe709653579ef5c19806146e149fdbfa65686c' }, h("div", { key: '07d9f91a68d770daed48f84678ffa2f2182b4625', class: "row gy-3" }, h("div", { key: '6052cb801e0e8cfc73a946e32d37a35e4726f8aa', class: "col-12" }, h("h2", { key: '8cea7d2ac9d5e53a01d4e8f3a14b3b6947e72f19', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '79adf032e4435f8e89e5d848e397c8389c35ee99', class: "col-12" }, h("form-control-text", { key: '4dd59285b595b33944168e5a959fbf7686b71c4c', 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: 'e25cb74edb5133cfaa1c8abb6194a43104d51e80', class: "col-12" }, h("form-control-text", { key: 'bdb47ebe63e9717db4308d89e890bdd01ecad9fc', 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: 'ccb5a0facc6aa6f7c311f3d1a395faa214b4c099', class: "col-12" }, h("form-control-date", { key: 'a2e1a7af287b7afae6ba7451bd4f51292e2e14fa', 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: 'ce176cd89d1c2fbf4cb3e1a84d84fb38e7f77ae9', class: "col-12" }, h("form-control-textarea", { key: '5f09d91a79081a8dea6eb44b44e6500f5f9b547b', 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: 'b41048055f1fc82bb383d300f32e13efa2a4f0fc', class: "col-12" }, h("form-control-file-v2", { key: '2fda26e5404c3a2a0c10261ffc1e005b688e057a', 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() {
@@ -92,7 +92,7 @@ export class JustifiDisputeManagement {
92
92
  });
93
93
  }
94
94
  render() {
95
- return (h(StyledHost, { key: 'a9185f55e6f2704ec8ba85c5061e8c46338481e3' }, h("div", { key: 'e4851b3fa85ec428929b7868c0748b56c0172c8b' }, 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: 'e95c2e42f6e966681986089eccd9c0c6099d7214' }, h("div", { key: '18e936c7fd6992cfc18f8e98a2eda2f333c862f2' }, 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: '558098c56df448d5d7e46e40e8d2d9226c77e10a', class: "d-flex gap-2" }, h("div", { key: '60a8b41ec1467700ee2151367a51e7b7b79d7f40', class: "dropdown pb-3" }, h("button", { key: 'abbdc79ae0b11244b0a8824b389156ca34a00e0c', 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: '3fb6cac1e6b06e2846b07182f76a58c88832005a', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'e70d27c540efdd6c96d5734e1470f0673e29aaee', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: 'a229adc49fc6c7e754c8bb509d537e17381c927d' })))), h("div", { key: 'bb3359efbf4a0018f9e9431cb773b6b43d9b736e' }, h(Button, { key: '8415c1939e05e1a282eff4fc1b6eb96d2d21fde4', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
22
+ return (h("div", { key: 'bcecb736427ce7859174c8f91938f720f8e32782', class: "d-flex gap-2" }, h("div", { key: 'aadd72cb3aac3d676a340068304802dbc5dfeab2', class: "dropdown pb-3" }, h("button", { key: '2dbb5590ea8ed60d2228b0f0b262332e5d377810', 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: 'c516ec2550207e3acc3d0186c6f86d351a6ca4a9', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '4ee1c1bd0e5c9eacccb857986d3f2e37bb3d990b', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: 'b274f915722d1a59af4578935c4233bcf700c7b2' })))), h("div", { key: 'ce527862135dd31b9b198133a3a2c19699419c5d' }, h(Button, { key: '272022c173de7f8c41ba7a88cf5aa004da11b3a2', 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() {
@@ -10,7 +10,7 @@ export function composeQueryParams(values) {
10
10
  return queryParams.join('');
11
11
  }
12
12
  export const onFilterChange = (newFilters, params) => {
13
- let newParams = Object.assign({}, params);
13
+ const newParams = Object.assign({}, params);
14
14
  delete newParams.before_cursor;
15
15
  delete newParams.after_cursor;
16
16
  Object.keys(newFilters).forEach((key) => {
@@ -18,9 +18,9 @@ export const generateChartOptions = (total, dates, endDate) => {
18
18
  intersect: false,
19
19
  callbacks: {
20
20
  label: (context) => {
21
- let index = context.dataIndex;
22
- let date = formatDisplayDate(dates[index].date, endDate);
23
- let value = formatCurrency(dates[index].value);
21
+ const index = context.dataIndex;
22
+ const date = formatDisplayDate(dates[index].date, endDate);
23
+ const value = formatCurrency(dates[index].value);
24
24
  return [date, value];
25
25
  },
26
26
  }
@@ -21,7 +21,7 @@ const validateInsuranceValues = () => {
21
21
  };
22
22
  // Helper function to check if a value has actually changed (not just initially set)
23
23
  const hasInsuranceValueChanged = (key, newValue) => {
24
- const hadPreviousValue = previousInsuranceValues.hasOwnProperty(key);
24
+ const hadPreviousValue = Object.prototype.hasOwnProperty.call(previousInsuranceValues, key);
25
25
  const previousValue = previousInsuranceValues[key];
26
26
  if (!hadPreviousValue) {
27
27
  // First time setting this value, track it but don't consider it a "change"