@justifi/webcomponents 6.13.0-rc.1 → 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 (585) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Analytics-Be2I_aiS.js → Analytics-DaegoP5G.js} +5 -5
  3. package/dist/cjs/{Api-Bukk55YZ.js → Api-BioDE5he.js} +1 -1
  4. package/dist/cjs/{Plaid-Aw35bhCX.js → Plaid-QLOFOTeC.js} +13 -13
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  6. package/dist/cjs/{additional-questions-form-step_14.cjs.entry.js → additional-questions-form-step_15.cjs.entry.js} +391 -175
  7. package/dist/cjs/additional-questions_5.cjs.entry.js +7 -7
  8. package/dist/cjs/additional-statement_8.cjs.entry.js +9 -9
  9. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +10 -10
  10. package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +21 -0
  11. package/dist/cjs/bank-account-form.cjs.entry.js +34 -5
  12. package/dist/cjs/{business-form-options-D_nM7NDk.js → business-form-options-CnlrfbQ6.js} +51 -0
  13. package/dist/cjs/{business-identity-schema-DI9XFbaD.js → business-identity-schema-BA385xf-.js} +12 -8
  14. package/dist/cjs/{business.service-CylI3Qrg.js → business.service-DOGeb2O6.js} +2 -2
  15. package/dist/cjs/card-form.cjs.entry.js +5 -5
  16. package/dist/cjs/{check-pkg-version-BLLLh6v-.js → check-pkg-version-BNGOOokA.js} +1 -1
  17. package/dist/cjs/{checkout-actions-8-MUczKw.js → checkout-actions-CjR16i7o.js} +2 -2
  18. package/dist/cjs/{checkout.service-BYpinbSR.js → checkout.service-Bdr5qUHj.js} +2 -2
  19. package/dist/cjs/{checkout.store-CztwuCnG.js → checkout.store-CZHrIuaP.js} +9 -3
  20. package/dist/cjs/{country-config-D7fss2oF.js → country-config-C1bWmF8P.js} +12 -4
  21. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  22. package/dist/cjs/dispute-notification_2.cjs.entry.js +15 -15
  23. package/dist/cjs/{event-types-DptNnCEP.js → event-types-DWDQKDv4.js} +2 -2
  24. package/dist/cjs/form-address-fields_3.cjs.entry.js +3 -3
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  27. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  28. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
  30. package/dist/cjs/form-control-number_2.cjs.entry.js +7 -6
  31. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  32. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  33. package/dist/cjs/{get-business-D10Tmct1.js → get-business-CrxvWZh6.js} +2 -2
  34. package/dist/cjs/{get-payment-details-BB5aa48u.js → get-payment-details-iCEkGDy4.js} +2 -2
  35. package/dist/cjs/{get-subaccounts-CSD2nAqD.js → get-subaccounts-Dgl7ECtg.js} +3 -3
  36. package/dist/cjs/hidden-input_2.cjs.entry.js +6 -6
  37. package/dist/cjs/{index.esm-C1ZPG85l.js → index.esm-BNETBIV_.js} +0 -18
  38. package/dist/cjs/{insurance-state-Xe2auE-N.js → insurance-state-B-XQRmMs.js} +1 -1
  39. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  40. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +63 -38
  41. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +8 -8
  42. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +18 -8
  43. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +2 -2
  44. package/dist/cjs/justifi-billing-form.cjs.entry.js +2 -2
  45. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -10
  46. package/dist/cjs/justifi-business-form.cjs.entry.js +15 -15
  47. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +2 -2
  48. package/dist/cjs/justifi-card-form.cjs.entry.js +8 -8
  49. package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +6 -6
  50. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -10
  51. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  52. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
  53. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  54. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11 -11
  55. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
  56. package/dist/cjs/justifi-payment-details.cjs.entry.js +18 -18
  57. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -11
  58. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
  59. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +5 -5
  60. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -11
  61. package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -13
  62. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
  63. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +5 -5
  64. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
  65. package/dist/cjs/justifi-qr-terminal.cjs.entry.js +9 -9
  66. package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -13
  67. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +2 -2
  68. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
  69. package/dist/cjs/justifi-skeleton.cjs.entry.js +2 -2
  70. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
  71. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -11
  72. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -5
  73. package/dist/cjs/justifi-terminals-list.cjs.entry.js +14 -14
  74. package/dist/cjs/loader.cjs.js +1 -1
  75. package/dist/cjs/{lodash-CxSkBibc.js → lodash-C4mGy21w.js} +38 -27
  76. package/dist/cjs/{package-gx36QXN1.js → package-BKwTzSig.js} +1 -1
  77. package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
  78. package/dist/cjs/{payment-provisioning-actions-DimM0KGV.js → payment-provisioning-actions-B4x7lnyF.js} +9 -9
  79. package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +3 -2
  80. package/dist/cjs/{payment.service-fy5bXXmA.js → payment.service-a5EL3s2d.js} +2 -2
  81. package/dist/cjs/{payout.service-hp3PTXWI.js → payout.service-BJtGBHsQ.js} +2 -2
  82. package/dist/cjs/{payouts-status-CF1YT_RL.js → payouts-status-viYMBknO.js} +2 -2
  83. package/dist/cjs/{plaid.service-9PmS4X0g.js → plaid.service-DpiLY-5D.js} +2 -2
  84. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  85. package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
  86. package/dist/cjs/{schema-validations-_yWWnnaG.js → schema-validations-C2XsZnqK.js} +24 -10
  87. package/dist/cjs/styled-host-Ch0-dxF-.js +11 -0
  88. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  89. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  90. package/dist/cjs/{terminal.service-D5D76Cnn.js → terminal.service-DN2A-bNx.js} +2 -2
  91. package/dist/cjs/{utils-Dcde8Zpt.js → utils-BVM6JCW0.js} +1 -1
  92. package/dist/cjs/{utils-BHi4j5rB.js → utils-D1CWnhex.js} +4 -4
  93. package/dist/cjs/webcomponents.cjs.js +1 -1
  94. package/dist/collection/actions/payment/get-payments.js +1 -1
  95. package/dist/collection/actions/refund/refund-actions.js +1 -1
  96. package/dist/collection/actions/terminal/get-terminal-orders.js +1 -1
  97. package/dist/collection/actions/void/void-actions.js +1 -1
  98. package/dist/collection/api/Analytics.js +2 -2
  99. package/dist/collection/api/Document.js +12 -0
  100. package/dist/collection/collection-manifest.json +3 -1
  101. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  102. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  103. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +5 -3
  104. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +4 -2
  105. package/dist/collection/components/business-forms/owner-form/owner-form.js +46 -1
  106. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +2 -2
  107. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +6 -114
  108. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +2 -2
  109. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -0
  110. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -2
  111. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  112. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.js +433 -0
  113. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-list.js +52 -0
  114. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +80 -0
  115. package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +1 -1
  116. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  117. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +7 -7
  118. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +3 -2
  119. package/dist/collection/components/business-forms/schemas/business-address-schema.js +1 -1
  120. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +10 -38
  121. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
  122. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +7 -3
  123. package/dist/collection/components/business-forms/schemas/schema-helpers.js +1 -1
  124. package/dist/collection/components/business-forms/schemas/schema-validations.js +10 -7
  125. package/dist/collection/components/business-forms/utils/business-form-options.js +50 -0
  126. package/dist/collection/components/business-forms/utils/country-config.js +11 -4
  127. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +30 -2
  128. package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
  129. package/dist/collection/components/checkout/billing-form/billing-form-full.js +2 -2
  130. package/dist/collection/components/checkout/billing-form/billing-form-schema.js +1 -1
  131. package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
  132. package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
  133. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  134. package/dist/collection/components/checkout/justifi-checkout.js +21 -2
  135. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
  136. package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
  137. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  138. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +2 -2
  139. package/dist/collection/components/dispute-management/dispute-notification.js +3 -3
  140. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +3 -3
  144. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  150. package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
  151. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  152. package/dist/collection/components/filters/utils.js +1 -1
  153. package/dist/collection/components/gross-payment-chart/chart-utils.js +3 -3
  154. package/dist/collection/components/insurance/insurance-state.js +1 -1
  155. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +19 -13
  156. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +0 -21
  157. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
  158. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +11 -1
  159. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  160. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  161. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
  162. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  163. package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +16 -10
  164. package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +15 -2
  165. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  166. package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
  167. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  168. package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
  169. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
  170. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  171. package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
  172. package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
  173. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
  174. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  175. package/dist/collection/components/payouts-list/justifi-payouts-list.js +4 -4
  176. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  177. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +2 -2
  178. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  179. package/dist/collection/components/terminals-list/justifi-terminals-list.js +4 -4
  180. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +5 -3
  181. package/dist/collection/store/checkout.store.js +9 -3
  182. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  183. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  184. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  185. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  186. package/dist/collection/ui-components/form/form-control-file.js +3 -3
  187. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  188. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  189. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  190. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  191. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  192. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  194. package/dist/collection/ui-components/form/hidden-input.js +2 -2
  195. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  196. package/dist/collection/ui-components/internal-button.js +1 -1
  197. package/dist/collection/ui-components/radio-list-item.js +1 -1
  198. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  199. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  200. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  201. package/dist/collection/utils/checkout-billing-state-options.js +12 -0
  202. package/dist/collection/utils/utils.js +4 -4
  203. package/dist/docs.json +537 -106
  204. package/dist/esm/{Analytics-DZWGizAK.js → Analytics-D_HycaxE.js} +5 -5
  205. package/dist/esm/{Api-DMd8hTI-.js → Api-DjAL73GZ.js} +1 -1
  206. package/dist/esm/{Plaid-fhlY0CIN.js → Plaid-C8qoMZLV.js} +14 -13
  207. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  208. package/dist/esm/{additional-questions-form-step_14.entry.js → additional-questions-form-step_15.entry.js} +390 -175
  209. package/dist/esm/additional-questions_5.entry.js +8 -8
  210. package/dist/esm/additional-statement_8.entry.js +9 -9
  211. package/dist/esm/bank-account-billing-form-simple_4.entry.js +10 -10
  212. package/dist/esm/bank-account-document-form-inputs.entry.js +19 -0
  213. package/dist/esm/bank-account-form.entry.js +34 -5
  214. package/dist/esm/{business-form-options-DRalxlqN.js → business-form-options-DXjZp4Rl.js} +51 -1
  215. package/dist/esm/{business-identity-schema-D-Nk9aGV.js → business-identity-schema-Csou60ZC.js} +12 -8
  216. package/dist/esm/{business.service-Crs-0Mdy.js → business.service-BGXqAyxu.js} +2 -2
  217. package/dist/esm/card-form.entry.js +5 -5
  218. package/dist/esm/{check-pkg-version-CVyuA8aH.js → check-pkg-version-BfrWk42V.js} +1 -1
  219. package/dist/esm/{checkout-actions-BMnp3uHK.js → checkout-actions-D8JS2l5e.js} +2 -2
  220. package/dist/esm/{checkout.service-BMAQVmHa.js → checkout.service-sHKaW-M0.js} +2 -2
  221. package/dist/esm/{checkout.store-DFnkcDZ8.js → checkout.store-DibfdUMm.js} +9 -3
  222. package/dist/esm/{country-config-B_fuF6JU.js → country-config-CEJVOOGe.js} +12 -5
  223. package/dist/esm/custom-popper_2.entry.js +2 -2
  224. package/dist/esm/dispute-notification_2.entry.js +15 -15
  225. package/dist/esm/{event-types-CVVB5p_Q.js → event-types-ynZLear3.js} +2 -2
  226. package/dist/esm/form-address-fields_3.entry.js +3 -3
  227. package/dist/esm/form-control-checkbox.entry.js +2 -2
  228. package/dist/esm/form-control-date.entry.js +2 -2
  229. package/dist/esm/form-control-file-v2_2.entry.js +3 -3
  230. package/dist/esm/form-control-file.entry.js +2 -2
  231. package/dist/esm/form-control-monetary.entry.js +3 -3
  232. package/dist/esm/form-control-number_2.entry.js +7 -6
  233. package/dist/esm/form-control-radio.entry.js +2 -2
  234. package/dist/esm/form-control-select_2.entry.js +4 -4
  235. package/dist/esm/{get-business-B9ZS1tVq.js → get-business-DAv_b3vf.js} +2 -2
  236. package/dist/esm/{get-payment-details-CiR6FrkO.js → get-payment-details-Bipad3jX.js} +2 -2
  237. package/dist/esm/{get-subaccounts-VpDr7yN4.js → get-subaccounts-FqCT2s3S.js} +3 -3
  238. package/dist/esm/hidden-input_2.entry.js +6 -6
  239. package/dist/esm/{index.esm-CgNcFueq.js → index.esm-KCSohgHx.js} +1 -18
  240. package/dist/esm/{insurance-state-CLGc1-_4.js → insurance-state-C5OZqDCT.js} +1 -1
  241. package/dist/esm/internal-button.entry.js +1 -1
  242. package/dist/esm/justifi-apple-pay_11.entry.js +63 -38
  243. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +8 -8
  244. package/dist/esm/justifi-bank-account-form.entry.js +18 -8
  245. package/dist/esm/justifi-billing-form-full.entry.js +2 -2
  246. package/dist/esm/justifi-billing-form.entry.js +2 -2
  247. package/dist/esm/justifi-business-details.entry.js +10 -10
  248. package/dist/esm/justifi-business-form.entry.js +15 -15
  249. package/dist/esm/justifi-card-billing-form-simple.entry.js +2 -2
  250. package/dist/esm/justifi-card-form.entry.js +8 -8
  251. package/dist/esm/justifi-checkout-qr-code.entry.js +6 -6
  252. package/dist/esm/justifi-checkout.entry.js +10 -10
  253. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
  254. package/dist/esm/justifi-checkouts-list.entry.js +12 -12
  255. package/dist/esm/justifi-dispute-management.entry.js +10 -10
  256. package/dist/esm/justifi-gross-payment-chart.entry.js +11 -11
  257. package/dist/esm/justifi-order-terminals.entry.js +12 -12
  258. package/dist/esm/justifi-payment-details.entry.js +18 -18
  259. package/dist/esm/justifi-payment-provisioning.entry.js +11 -11
  260. package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
  261. package/dist/esm/justifi-payments-list-filters.entry.js +5 -5
  262. package/dist/esm/justifi-payments-list.entry.js +11 -11
  263. package/dist/esm/justifi-payout-details.entry.js +13 -13
  264. package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
  265. package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
  266. package/dist/esm/justifi-payouts-list.entry.js +15 -15
  267. package/dist/esm/justifi-qr-terminal.entry.js +9 -9
  268. package/dist/esm/justifi-refund-payment.entry.js +13 -13
  269. package/dist/esm/justifi-save-new-payment-method.entry.js +2 -2
  270. package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -10
  271. package/dist/esm/justifi-skeleton.entry.js +2 -2
  272. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
  273. package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
  274. package/dist/esm/justifi-terminals-list-filters.entry.js +5 -5
  275. package/dist/esm/justifi-terminals-list.entry.js +14 -14
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/{lodash-CrGKVSPp.js → lodash-BF_QgjtL.js} +38 -27
  278. package/dist/esm/{package-CZa-hHhJ.js → package-DSavNeRB.js} +1 -1
  279. package/dist/esm/payment-method-option.entry.js +2 -2
  280. package/dist/esm/{payment-provisioning-actions-CcDadiRe.js → payment-provisioning-actions-DI3QUsjh.js} +9 -9
  281. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +3 -2
  282. package/dist/esm/{payment.service-BiKQPL4M.js → payment.service-wSNYSRyl.js} +2 -2
  283. package/dist/esm/{payout.service-B9_cyUiU.js → payout.service-CTAksNmD.js} +2 -2
  284. package/dist/esm/{payouts-status-xOa5tT66.js → payouts-status-CeZoirpf.js} +2 -2
  285. package/dist/esm/{plaid.service-bU3qIoKd.js → plaid.service-5EpJEdwX.js} +2 -2
  286. package/dist/esm/radio-list-item.entry.js +1 -1
  287. package/dist/esm/save-new-payment-method.entry.js +2 -2
  288. package/dist/esm/{schema-validations-u9_XnlUL.js → schema-validations-CySYE883.js} +24 -11
  289. package/dist/esm/styled-host-D84RBv1W.js +9 -0
  290. package/dist/esm/table-filters-menu.entry.js +1 -1
  291. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  292. package/dist/esm/{terminal.service-BM6BvevW.js → terminal.service-xjfU0mJT.js} +2 -2
  293. package/dist/esm/{utils-BTtxWI2r.js → utils-CcA8Y5hs.js} +4 -4
  294. package/dist/esm/{utils-BogmBHgt.js → utils-myniydlM.js} +1 -1
  295. package/dist/esm/webcomponents.js +1 -1
  296. package/dist/module/Analytics.js +2 -2
  297. package/dist/module/Plaid.js +13 -12
  298. package/dist/module/additional-questions-form-step2.js +12 -6
  299. package/dist/module/additional-statement2.js +1 -1
  300. package/dist/module/bank-account-billing-form-simple2.js +1 -1
  301. package/dist/module/bank-account-document-form-inputs.js +55 -1
  302. package/dist/module/bank-account-form2.js +30 -2
  303. package/dist/module/billing-form-full2.js +2 -2
  304. package/dist/module/billing-form-schema.js +1 -1
  305. package/dist/module/business-address-schema.js +2 -2
  306. package/dist/module/business-bank-account-form-step2.js +25 -178
  307. package/dist/module/business-core-info-form-step2.js +3 -3
  308. package/dist/module/business-core-info-schema.js +2 -2
  309. package/dist/module/business-core-info2.js +3 -3
  310. package/dist/module/business-documents-on-file2.js +1 -1
  311. package/dist/module/business-form-options.js +51 -1
  312. package/dist/module/business-identity-schema.js +8 -4
  313. package/dist/module/business-owners-form-step2.js +9 -0
  314. package/dist/module/business-representative-form-inputs2.js +5 -3
  315. package/dist/module/business-representative-form-step2.js +1 -1
  316. package/dist/module/business-representative2.js +6 -5
  317. package/dist/module/button.js +1 -1
  318. package/dist/module/cancellation-policy2.js +1 -1
  319. package/dist/module/card-billing-form-simple2.js +1 -1
  320. package/dist/module/card-form2.js +2 -2
  321. package/dist/module/checkout.store.js +9 -3
  322. package/dist/module/country-config.js +12 -5
  323. package/dist/module/custom-popper2.js +2 -2
  324. package/dist/module/customer-details2.js +1 -1
  325. package/dist/module/dispute-notification2.js +3 -3
  326. package/dist/module/dispute-response2.js +1 -1
  327. package/dist/module/document-upload-form-step.d.ts +11 -0
  328. package/dist/module/document-upload-form-step.js +6 -0
  329. package/dist/module/document-upload-form-step2.js +403 -0
  330. package/dist/module/document-upload-list.d.ts +11 -0
  331. package/dist/module/document-upload-list.js +6 -0
  332. package/dist/module/document-upload-list2.js +46 -0
  333. package/dist/module/duplicate-charge2.js +1 -1
  334. package/dist/module/electronic-evidence2.js +1 -1
  335. package/dist/module/event-types3.js +3 -3
  336. package/dist/module/form-control-checkbox2.js +2 -2
  337. package/dist/module/form-control-date2.js +2 -2
  338. package/dist/module/form-control-file-v22.js +1 -1
  339. package/dist/module/form-control-file2.js +2 -2
  340. package/dist/module/form-control-monetary2.js +2 -2
  341. package/dist/module/form-control-number-masked2.js +2 -2
  342. package/dist/module/form-control-number2.js +3 -3
  343. package/dist/module/form-control-radio2.js +2 -2
  344. package/dist/module/form-control-select2.js +2 -2
  345. package/dist/module/form-control-text2.js +2 -2
  346. package/dist/module/form-control-textarea2.js +3 -3
  347. package/dist/module/form.js +1 -18
  348. package/dist/module/hidden-input2.js +3 -3
  349. package/dist/module/iframe-input2.js +4 -4
  350. package/dist/module/insurance-state.js +1 -1
  351. package/dist/module/internal-button2.js +1 -1
  352. package/dist/module/justifi-apple-pay2.js +0 -2
  353. package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
  354. package/dist/module/justifi-bank-account-form.js +11 -1
  355. package/dist/module/justifi-billing-form-full.js +1 -1
  356. package/dist/module/justifi-billing-form.js +1 -1
  357. package/dist/module/justifi-button2.js +1 -1
  358. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  359. package/dist/module/justifi-card-form.js +1 -1
  360. package/dist/module/justifi-checkout-summary2.js +1 -1
  361. package/dist/module/justifi-checkout.js +3 -2
  362. package/dist/module/justifi-checkouts-list-filters.js +3 -3
  363. package/dist/module/justifi-checkouts-list.js +4 -4
  364. package/dist/module/justifi-dispute-management.js +2 -2
  365. package/dist/module/justifi-google-pay2.js +10 -4
  366. package/dist/module/justifi-gross-payment-chart.js +3 -3
  367. package/dist/module/justifi-header2.js +1 -1
  368. package/dist/module/justifi-modular-checkout2.js +19 -13
  369. package/dist/module/justifi-order-terminals.js +3 -3
  370. package/dist/module/justifi-payment-details.js +9 -9
  371. package/dist/module/justifi-payment-provisioning.js +33 -27
  372. package/dist/module/justifi-payment-transactions-list.js +3 -3
  373. package/dist/module/justifi-payments-list-filters.js +2 -2
  374. package/dist/module/justifi-payments-list.js +3 -3
  375. package/dist/module/justifi-payout-details.js +4 -4
  376. package/dist/module/justifi-payout-transactions-list.js +3 -3
  377. package/dist/module/justifi-payouts-list-filters.js +3 -3
  378. package/dist/module/justifi-payouts-list.js +6 -6
  379. package/dist/module/justifi-plaid-payment-method2.js +14 -2
  380. package/dist/module/justifi-qr-terminal.js +1 -1
  381. package/dist/module/justifi-refund-payment.js +3 -3
  382. package/dist/module/justifi-save-new-payment-method.js +1 -1
  383. package/dist/module/justifi-skeleton.js +1 -1
  384. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  385. package/dist/module/justifi-terminal-orders-list.js +5 -5
  386. package/dist/module/justifi-terminals-list-filters.js +2 -2
  387. package/dist/module/justifi-terminals-list.js +6 -6
  388. package/dist/module/justifi-tokenize-payment-method2.js +5 -3
  389. package/dist/module/legal-address-form-step2.js +1 -1
  390. package/dist/module/lodash.js +38 -27
  391. package/dist/module/owner-details2.js +1 -1
  392. package/dist/module/owner-form-inputs2.js +5 -3
  393. package/dist/module/owner-form2.js +10 -1
  394. package/dist/module/package.js +1 -1
  395. package/dist/module/parts.js +1 -1
  396. package/dist/module/payment-method-option.js +1 -1
  397. package/dist/module/payment-provisioning-actions.js +8 -8
  398. package/dist/module/payment-provisioning-form-steps2.js +35 -28
  399. package/dist/module/plaid-verification2.js +1 -1
  400. package/dist/module/product-or-service2.js +1 -1
  401. package/dist/module/radio-list-item2.js +1 -1
  402. package/dist/module/refund-policy2.js +1 -1
  403. package/dist/module/save-new-payment-method2.js +1 -1
  404. package/dist/module/schema-validations.js +22 -9
  405. package/dist/module/shipping-details2.js +1 -1
  406. package/dist/module/skeleton.js +1 -1
  407. package/dist/module/styled-host.js +1 -1
  408. package/dist/module/table-filters-menu2.js +1 -1
  409. package/dist/module/table.js +1 -1
  410. package/dist/module/terminal-quantity-selector2.js +2 -2
  411. package/dist/module/utils2.js +4 -4
  412. package/dist/stencil.config.js +40 -0
  413. package/dist/types/api/Document.d.ts +13 -1
  414. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
  415. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +1 -12
  416. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.d.ts +44 -0
  417. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-list.d.ts +6 -0
  418. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +45 -0
  419. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +1 -0
  420. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +4 -4
  421. package/dist/types/components/business-forms/utils/business-form-options.d.ts +1 -0
  422. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +2 -0
  423. package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
  424. package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +0 -1
  425. package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +1 -1
  426. package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +4 -2
  427. package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +1 -0
  428. package/dist/types/components.d.ts +86 -13
  429. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/stencil.config.d.ts +2 -0
  430. package/dist/types/store/checkout.store.d.ts +2 -0
  431. package/dist/types/utils/checkout-billing-state-options.d.ts +9 -0
  432. package/dist/webcomponents/p-015288c4.entry.js +1 -0
  433. package/dist/webcomponents/p-055640f9.entry.js +1 -0
  434. package/dist/webcomponents/{p-ca87c609.entry.js → p-0a4fcb15.entry.js} +1 -1
  435. package/dist/webcomponents/p-0d98518e.entry.js +1 -0
  436. package/dist/webcomponents/p-0ea6aa9c.entry.js +1 -0
  437. package/dist/webcomponents/p-0ede7e82.entry.js +1 -0
  438. package/dist/webcomponents/p-0f2a1ac9.entry.js +1 -0
  439. package/dist/webcomponents/p-1068ae13.entry.js +1 -0
  440. package/dist/webcomponents/p-14a03ad0.entry.js +1 -0
  441. package/dist/webcomponents/p-1a30f2d9.entry.js +1 -0
  442. package/dist/webcomponents/p-1b51dea9.entry.js +1 -0
  443. package/dist/webcomponents/{p-89cd31f2.entry.js → p-1de248b1.entry.js} +1 -1
  444. package/dist/webcomponents/p-218b926a.entry.js +1 -0
  445. package/dist/webcomponents/p-25215ee7.entry.js +1 -0
  446. package/dist/webcomponents/{p-9fca25fc.entry.js → p-266870f0.entry.js} +1 -1
  447. package/dist/webcomponents/p-27c35a85.entry.js +1 -0
  448. package/dist/webcomponents/{p-DHFQtPCq.js → p-2mMMaism.js} +1 -1
  449. package/dist/webcomponents/p-3a2629a2.entry.js +1 -0
  450. package/dist/webcomponents/p-3e56bbe5.entry.js +1 -0
  451. package/dist/webcomponents/p-4791c6d7.entry.js +1 -0
  452. package/dist/webcomponents/p-49d9c0a4.entry.js +1 -0
  453. package/dist/webcomponents/p-4a30693b.entry.js +1 -0
  454. package/dist/webcomponents/p-4fab9314.entry.js +1 -0
  455. package/dist/webcomponents/{p-b20b8805.entry.js → p-5218bcd0.entry.js} +1 -1
  456. package/dist/webcomponents/{p-a80f69a9.entry.js → p-53d775b9.entry.js} +1 -1
  457. package/dist/webcomponents/{p-70dcd833.entry.js → p-5a58f606.entry.js} +1 -1
  458. package/dist/webcomponents/p-5f6bc8e7.entry.js +1 -0
  459. package/dist/webcomponents/p-65908b5f.entry.js +1 -0
  460. package/dist/webcomponents/{p-3d6b9434.entry.js → p-67364f1d.entry.js} +1 -1
  461. package/dist/webcomponents/{p-bd678d4a.entry.js → p-6bf4fea8.entry.js} +1 -1
  462. package/dist/webcomponents/p-6c3e9ebd.entry.js +1 -0
  463. package/dist/webcomponents/{p-a9695714.entry.js → p-6fe329d6.entry.js} +1 -1
  464. package/dist/webcomponents/p-70e05aec.entry.js +1 -0
  465. package/dist/webcomponents/p-73deced9.entry.js +1 -0
  466. package/dist/webcomponents/p-762b1b7b.entry.js +1 -0
  467. package/dist/webcomponents/p-76ded81e.entry.js +1 -0
  468. package/dist/webcomponents/p-77cc572d.entry.js +1 -0
  469. package/dist/webcomponents/p-7b6cf400.entry.js +1 -0
  470. package/dist/webcomponents/p-8fd18ce2.entry.js +1 -0
  471. package/dist/webcomponents/p-9c0760b9.entry.js +1 -0
  472. package/dist/webcomponents/{p-CqPcl9v7.js → p-B62JX_Dh.js} +1 -1
  473. package/dist/webcomponents/p-BB8Ce9rp.js +1 -0
  474. package/dist/webcomponents/{p-Bt4GjEWL.js → p-BBSnDYJw.js} +1 -1
  475. package/dist/webcomponents/{p-BRnBHsdq.js → p-BSs-2JKu.js} +1 -1
  476. package/dist/webcomponents/p-BUHsyQpA.js +1 -0
  477. package/dist/webcomponents/{p-D-zwk1J3.js → p-C-Jgmek8.js} +1 -1
  478. package/dist/webcomponents/p-C1gr32IS.js +1 -0
  479. package/dist/webcomponents/{p-D4E9P7df.js → p-C7hX61pS.js} +1 -1
  480. package/dist/webcomponents/p-CO8ZGkfN.js +1 -0
  481. package/dist/webcomponents/p-CPJC6tlj.js +1 -0
  482. package/dist/webcomponents/{p-Cg_3KsGO.js → p-CdwzNfP1.js} +1 -1
  483. package/dist/webcomponents/p-Cn7z5L7J.js +1 -0
  484. package/dist/webcomponents/{p-BGvaX-lJ.js → p-CxBrydeX.js} +1 -1
  485. package/dist/webcomponents/{p-DwoT0UoX.js → p-D9sqTVmd.js} +1 -1
  486. package/dist/webcomponents/p-DP9ysr2K.js +1 -0
  487. package/dist/webcomponents/p-DPA5TKvQ.js +1 -0
  488. package/dist/webcomponents/p-DSavNeRB.js +1 -0
  489. package/dist/webcomponents/{p-CSgcCWLS.js → p-DXTa04jn.js} +1 -1
  490. package/dist/webcomponents/p-DYSc8uvs.js +1 -0
  491. package/dist/webcomponents/p-Da3fPDxu.js +1 -0
  492. package/dist/webcomponents/{p-CYQvLgSs.js → p-De4Pig-y.js} +1 -1
  493. package/dist/webcomponents/p-DyPk4BJt.js +1 -0
  494. package/dist/webcomponents/p-DzEdYT8R.js +1 -0
  495. package/dist/webcomponents/p-NzPaWKbY.js +1 -0
  496. package/dist/webcomponents/p-OeJ-3w3l.js +9 -0
  497. package/dist/webcomponents/{p-eK8hZOMg.js → p-R_0S69Pr.js} +1 -1
  498. package/dist/webcomponents/{p-392f0c1c.entry.js → p-a1885b83.entry.js} +1 -1
  499. package/dist/webcomponents/p-a6b46f98.entry.js +1 -0
  500. package/dist/webcomponents/{p-0fb8fb8c.entry.js → p-a893d607.entry.js} +1 -1
  501. package/dist/webcomponents/p-b03e361e.entry.js +1 -0
  502. package/dist/webcomponents/{p-37fd1862.entry.js → p-c3a25333.entry.js} +1 -1
  503. package/dist/webcomponents/p-c60c4bed.entry.js +1 -0
  504. package/dist/webcomponents/{p-ff5c5499.entry.js → p-c885cbf6.entry.js} +4 -4
  505. package/dist/webcomponents/p-c8bcc54f.entry.js +1 -0
  506. package/dist/webcomponents/{p-8d602e60.entry.js → p-d0c889e7.entry.js} +1 -1
  507. package/dist/webcomponents/p-d554e0bb.entry.js +1 -0
  508. package/dist/webcomponents/p-d7e2ce48.entry.js +1 -0
  509. package/dist/webcomponents/p-ddb885c3.entry.js +1 -0
  510. package/dist/webcomponents/p-ddffdec9.entry.js +1 -0
  511. package/dist/webcomponents/{p-22d19755.entry.js → p-debc4768.entry.js} +1 -1
  512. package/dist/webcomponents/p-e1168904.entry.js +1 -0
  513. package/dist/webcomponents/p-e3021e22.entry.js +1 -0
  514. package/dist/webcomponents/{p-aee2295b.entry.js → p-e3f8541c.entry.js} +1 -1
  515. package/dist/webcomponents/{p-c1539656.entry.js → p-eccc1fc6.entry.js} +1 -1
  516. package/dist/webcomponents/{p-c4767c7b.entry.js → p-f3c40c22.entry.js} +1 -1
  517. package/dist/webcomponents/p-f4de4ac0.entry.js +1 -0
  518. package/dist/webcomponents/p-f953fd60.entry.js +1 -0
  519. package/dist/webcomponents/p-fdea8c57.entry.js +1 -0
  520. package/dist/webcomponents/p-z3RFjy9B.js +1 -0
  521. package/dist/webcomponents/{p-qju4tNG1.js → p-zZn1OXja.js} +1 -1
  522. package/dist/webcomponents/webcomponents.esm.js +1 -1
  523. package/package.json +16 -16
  524. package/readme.md +7 -14
  525. package/dist/cjs/styled-host-DAi5SuFa.js +0 -11
  526. package/dist/esm/styled-host-D6byRazK.js +0 -9
  527. package/dist/module/bank-account-document-form-inputs2.js +0 -57
  528. package/dist/webcomponents/p-06e8df55.entry.js +0 -1
  529. package/dist/webcomponents/p-0708cb76.entry.js +0 -1
  530. package/dist/webcomponents/p-07f2f1bf.entry.js +0 -1
  531. package/dist/webcomponents/p-10087a53.entry.js +0 -1
  532. package/dist/webcomponents/p-12ae030d.entry.js +0 -1
  533. package/dist/webcomponents/p-1d7b8c21.entry.js +0 -1
  534. package/dist/webcomponents/p-21c89e22.entry.js +0 -1
  535. package/dist/webcomponents/p-2ec7cd88.entry.js +0 -1
  536. package/dist/webcomponents/p-2qotS5d_.js +0 -1
  537. package/dist/webcomponents/p-355a5c8d.entry.js +0 -1
  538. package/dist/webcomponents/p-37b95a11.entry.js +0 -1
  539. package/dist/webcomponents/p-383b8317.entry.js +0 -1
  540. package/dist/webcomponents/p-44cf13ac.entry.js +0 -1
  541. package/dist/webcomponents/p-46477dfe.entry.js +0 -1
  542. package/dist/webcomponents/p-4ccf9cd7.entry.js +0 -1
  543. package/dist/webcomponents/p-55fdab4e.entry.js +0 -1
  544. package/dist/webcomponents/p-5ccb46ee.entry.js +0 -1
  545. package/dist/webcomponents/p-5f8dfa8d.entry.js +0 -1
  546. package/dist/webcomponents/p-63b7abf3.entry.js +0 -1
  547. package/dist/webcomponents/p-6RTf1SXX.js +0 -1
  548. package/dist/webcomponents/p-70cd2808.entry.js +0 -1
  549. package/dist/webcomponents/p-769d3d93.entry.js +0 -1
  550. package/dist/webcomponents/p-79bd744e.entry.js +0 -1
  551. package/dist/webcomponents/p-7a4cd292.entry.js +0 -1
  552. package/dist/webcomponents/p-9153c121.entry.js +0 -1
  553. package/dist/webcomponents/p-94f14640.entry.js +0 -1
  554. package/dist/webcomponents/p-98f399ec.entry.js +0 -1
  555. package/dist/webcomponents/p-9b944aa4.entry.js +0 -1
  556. package/dist/webcomponents/p-9fc7714d.entry.js +0 -1
  557. package/dist/webcomponents/p-BArmtmkq.js +0 -1
  558. package/dist/webcomponents/p-BqNNwq6C.js +0 -1
  559. package/dist/webcomponents/p-CZa-hHhJ.js +0 -1
  560. package/dist/webcomponents/p-C_ifLmT1.js +0 -9
  561. package/dist/webcomponents/p-CvgL8YaH.js +0 -1
  562. package/dist/webcomponents/p-DD-_8sbs.js +0 -1
  563. package/dist/webcomponents/p-DMqJWUK2.js +0 -1
  564. package/dist/webcomponents/p-DZAMzLxa.js +0 -1
  565. package/dist/webcomponents/p-DbOUuBHs.js +0 -1
  566. package/dist/webcomponents/p-DyucNSA4.js +0 -1
  567. package/dist/webcomponents/p-Eb1f86_V.js +0 -1
  568. package/dist/webcomponents/p-KXLYEe1D.js +0 -1
  569. package/dist/webcomponents/p-XxG-t-Sl.js +0 -1
  570. package/dist/webcomponents/p-a7a1b168.entry.js +0 -1
  571. package/dist/webcomponents/p-b0b6083f.entry.js +0 -1
  572. package/dist/webcomponents/p-b341efd6.entry.js +0 -1
  573. package/dist/webcomponents/p-b62ff001.entry.js +0 -1
  574. package/dist/webcomponents/p-bb5de874.entry.js +0 -1
  575. package/dist/webcomponents/p-c8ee1e4c.entry.js +0 -1
  576. package/dist/webcomponents/p-ce1dde85.entry.js +0 -1
  577. package/dist/webcomponents/p-d253a573.entry.js +0 -1
  578. package/dist/webcomponents/p-d620d4b4.entry.js +0 -1
  579. package/dist/webcomponents/p-dcd600ca.entry.js +0 -1
  580. package/dist/webcomponents/p-e4cb7c21.entry.js +0 -1
  581. package/dist/webcomponents/p-e5c2215a.entry.js +0 -1
  582. package/dist/webcomponents/p-e6b9dfe1.entry.js +0 -1
  583. package/dist/webcomponents/p-eCeOsPHx.js +0 -1
  584. package/dist/webcomponents/p-f1b9cbf0.entry.js +0 -1
  585. package/dist/webcomponents/p-f9aafb21.entry.js +0 -1
@@ -28,7 +28,7 @@ const strictSchemaCAN = () => object({
28
28
  line1: lineOneValidation.required('Enter street address'),
29
29
  line2: lineTwoValidation.nullable(),
30
30
  city: cityValidation.required('Enter city'),
31
- state: string().required('Select province'),
31
+ state: string().required('Select province or state'),
32
32
  postal_code: makePostalValidation(CountryCode.CAN).required('Enter postal code'),
33
33
  });
34
34
  // Public API
@@ -1,11 +1,7 @@
1
- import { object, mixed, string } from "yup";
1
+ import { object, string } from "yup";
2
2
  import { CountryCode } from "../../../utils/country-codes";
3
- import { EntityDocumentType } from "../../../api/Document";
4
3
  import { accountNumberValidation, accountTypeValidation, bankNameValidation, identityNameValidation, nicknameValidation, routingNumberValidation, } from "./schema-validations";
5
4
  import { numbersOnlyRegex } from "./schema-helpers";
6
- const checkExistingDocs = (documents, documentType) => {
7
- return documents.some((doc) => doc.document_type === documentType);
8
- };
9
5
  const buildCommonFieldRules = (allowOptionalFields) => {
10
6
  if (allowOptionalFields) {
11
7
  return {
@@ -24,30 +20,6 @@ const buildCommonFieldRules = (allowOptionalFields) => {
24
20
  account_number: accountNumberValidation.required('Enter account number'),
25
21
  };
26
22
  };
27
- const buildDocumentRules = (documents, allowOptionalFields) => {
28
- if (allowOptionalFields) {
29
- return {
30
- voided_check: mixed().nullable(),
31
- bank_statement: mixed().nullable(),
32
- };
33
- }
34
- const existingVoidedCheck = checkExistingDocs(documents, EntityDocumentType.voidedCheck);
35
- const existingBankStatement = checkExistingDocs(documents, EntityDocumentType.bankStatement);
36
- const existingDocument = existingVoidedCheck || existingBankStatement;
37
- const documentErrorText = 'Please upload either a voided check or a bank statement. Only one is required.';
38
- return {
39
- voided_check: mixed().when('bank_statement', {
40
- is: (val) => !val && !existingDocument,
41
- then: (schema) => schema.required(documentErrorText),
42
- otherwise: (schema) => schema.notRequired(),
43
- }),
44
- bank_statement: mixed().when('voided_check', {
45
- is: (val) => !val && !existingDocument,
46
- then: (schema) => schema.required(documentErrorText),
47
- otherwise: (schema) => schema.notRequired(),
48
- }),
49
- };
50
- };
51
23
  const buildUSARules = (allowOptionalFields) => {
52
24
  if (allowOptionalFields) {
53
25
  return { routing_number: routingNumberValidation.nullable() };
@@ -72,17 +44,17 @@ const buildCANRules = (allowOptionalFields) => {
72
44
  transit_number: transitNumberValidation.required('Enter transit number'),
73
45
  };
74
46
  };
75
- export const businessBankAccountSchemaUSA = (documents, allowOptionalFields) => {
76
- const shape = Object.assign(Object.assign(Object.assign({}, buildCommonFieldRules(allowOptionalFields)), buildUSARules(allowOptionalFields)), buildDocumentRules(documents, allowOptionalFields));
77
- return object().shape(shape, [['voided_check', 'bank_statement']]);
47
+ export const businessBankAccountSchemaUSA = (allowOptionalFields) => {
48
+ const shape = Object.assign(Object.assign({}, buildCommonFieldRules(allowOptionalFields)), buildUSARules(allowOptionalFields));
49
+ return object().shape(shape);
78
50
  };
79
- export const businessBankAccountSchemaCAN = (documents, allowOptionalFields) => {
80
- const shape = Object.assign(Object.assign(Object.assign({}, buildCommonFieldRules(allowOptionalFields)), buildCANRules(allowOptionalFields)), buildDocumentRules(documents, allowOptionalFields));
81
- return object().shape(shape, [['voided_check', 'bank_statement']]);
51
+ export const businessBankAccountSchemaCAN = (allowOptionalFields) => {
52
+ const shape = Object.assign(Object.assign({}, buildCommonFieldRules(allowOptionalFields)), buildCANRules(allowOptionalFields));
53
+ return object().shape(shape);
82
54
  };
83
55
  // For backward compatibility, default to USA
84
- export const businessBankAccountSchema = (documents, allowOptionalFields) => businessBankAccountSchemaUSA(documents, allowOptionalFields);
56
+ export const businessBankAccountSchema = (allowOptionalFields) => businessBankAccountSchemaUSA(allowOptionalFields);
85
57
  export const bankAccountSchemaByCountry = {
86
- [CountryCode.USA]: (allowOptionalFields, documents = []) => businessBankAccountSchemaUSA(documents, allowOptionalFields),
87
- [CountryCode.CAN]: (allowOptionalFields, documents = []) => businessBankAccountSchemaCAN(documents, allowOptionalFields),
58
+ [CountryCode.USA]: (allowOptionalFields) => businessBankAccountSchemaUSA(allowOptionalFields),
59
+ [CountryCode.CAN]: (allowOptionalFields) => businessBankAccountSchemaCAN(allowOptionalFields),
88
60
  };
@@ -42,7 +42,7 @@ export const businessCoreInfoSchemaCAN = (allowOptionalFields) => baseBusinessCo
42
42
  tax_id: makeTaxIdValidation(CountryCode.CAN)
43
43
  .when('tax_id_last4', {
44
44
  is: (val) => !val,
45
- then: (schema) => schema.required(`Enter valid ${countryLabels.CAN.taxIdLabel} without dashes`),
45
+ then: (schema) => schema.notRequired().nullable(),
46
46
  otherwise: (schema) => schema.nullable(),
47
47
  }),
48
48
  }));
@@ -23,7 +23,9 @@ const strictSchemaUSA = (role) => object({
23
23
  ssn_last4: string().nullable(),
24
24
  // ssn required unless last4 provided (handled inside ssnValidation)
25
25
  identification_number: ssnValidation,
26
- ownership_percentage: ownershipPercentageValidation.nullable(),
26
+ ownership_percentage: role === 'owner'
27
+ ? ownershipPercentageValidation.required('Enter ownership percentage')
28
+ : ownershipPercentageValidation.nullable(),
27
29
  address: addressSchemaUSA(false),
28
30
  });
29
31
  // Internal CAN schemas
@@ -45,8 +47,10 @@ const strictSchemaCAN = (role) => object({
45
47
  phone: phoneValidation.required('Enter phone number'),
46
48
  dob_full: dobValidation(role).required('Enter date of birth'),
47
49
  ssn_last4: string().nullable(),
48
- identification_number: makeIdentityNumberValidation(CountryCode.CAN),
49
- ownership_percentage: ownershipPercentageValidation.nullable(),
50
+ identification_number: makeIdentityNumberValidation(CountryCode.CAN).nullable(),
51
+ ownership_percentage: role === 'owner'
52
+ ? ownershipPercentageValidation.required('Enter ownership percentage')
53
+ : ownershipPercentageValidation.nullable(),
50
54
  address: addressSchemaCAN(false),
51
55
  });
52
56
  export const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
@@ -16,7 +16,7 @@ export const validateRoutingNumber = (routingNumber) => {
16
16
  };
17
17
  export const businessNameRegex = /^(?!^\s+$)[a-zA-Z0-9\s,&.-]*$/;
18
18
  export const phoneRegex = /^\d{10}$/;
19
- export const urlRegex = /^(?:http(s)?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/;
19
+ export const urlRegex = /^(?:http(s)?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/;
20
20
  export const stringLettersOnlyRegex = /^(?!^\s+$)[a-zA-Z\s]*$/;
21
21
  export const numbersOnlyRegex = /^\d+$/;
22
22
  export const ssnRegex = /^(?!000|666|9\d{2})\d{3}(?!00)\d{2}(?!0000)\d{4}$/;
@@ -1,5 +1,5 @@
1
1
  import { string } from "yup";
2
- import StateOptions from "../../../utils/state-options";
2
+ import checkoutBillingStateOptions from "../../../utils/checkout-billing-state-options";
3
3
  import { CountryCode } from "../../../utils/country-codes";
4
4
  import { countryValidation } from "../utils/country-config";
5
5
  import { businessServiceReceivedOptions, bankAccountTypeOptions, } from "../utils/business-form-options";
@@ -46,11 +46,6 @@ export const makeIdentityNumberValidation = (country) => {
46
46
  return string()
47
47
  .matches(numbersOnlyRegex, 'Enter valid SIN')
48
48
  .length(countryValidation[country].identityDigits, 'Enter valid SIN')
49
- .when('ssn_last4', {
50
- is: (val) => !val || val.length === 0,
51
- then: (schema) => schema.required('Enter SIN'),
52
- otherwise: (schema) => schema.nullable(),
53
- })
54
49
  .test('not-repeat', 'Enter valid SIN', (value) => {
55
50
  return !/^(\d)\1+$/.test(value);
56
51
  })
@@ -68,9 +63,13 @@ export const makeTaxIdValidation = (country) => {
68
63
  .matches(numbersOnlyRegex, 'Enter valid Business Number (BN)')
69
64
  .length(countryValidation[country].taxIdDigits, 'Enter valid Business Number (BN)')
70
65
  .test('not-repeat', 'Enter valid Business Number (BN)', (value) => {
66
+ if (!value)
67
+ return true;
71
68
  return !/^(\d)\1+$/.test(value);
72
69
  })
73
70
  .test('not-seq', 'Enter valid Business Number (BN)', (value) => {
71
+ if (!value)
72
+ return true;
74
73
  return value !== '123456789';
75
74
  })
76
75
  .transform(transformEmptyString);
@@ -158,7 +157,7 @@ export const cityValidation = string()
158
157
  .max(50, 'City must be less than 50 characters')
159
158
  .transform(transformEmptyString);
160
159
  export const stateValidation = string()
161
- .oneOf(StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
160
+ .oneOf(checkoutBillingStateOptions.map((option) => option.value), 'Select a valid state or province')
162
161
  .transform(transformEmptyString);
163
162
  export const postalValidation = string()
164
163
  .matches(/^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$/, 'Enter valid postal code')
@@ -198,9 +197,13 @@ export const routingNumberValidation = string()
198
197
  .length(9, 'Routing number must be 9 digits')
199
198
  .matches(numbersOnlyRegex, 'Enter valid routing number')
200
199
  .test('not-repeat', 'Enter valid routing number', (value) => {
200
+ if (!value)
201
+ return true;
201
202
  return !/^(\d)\1+$/.test(value);
202
203
  })
203
204
  .test('valid', 'Enter valid routing number', (value) => {
205
+ if (!value)
206
+ return true;
204
207
  return validateRoutingNumber(value);
205
208
  })
206
209
  .transform(transformEmptyString);
@@ -75,6 +75,56 @@ export const seasonalBusinessOptions = [
75
75
  value: 'No',
76
76
  }
77
77
  ];
78
+ export const businessTitleOptions = [
79
+ {
80
+ label: 'Choose title',
81
+ value: '',
82
+ },
83
+ {
84
+ label: 'Vice President',
85
+ value: 'Vice President',
86
+ },
87
+ {
88
+ label: 'President',
89
+ value: 'President',
90
+ },
91
+ {
92
+ label: 'Treasurer',
93
+ value: 'Treasurer',
94
+ },
95
+ {
96
+ label: 'Owner',
97
+ value: 'Owner',
98
+ },
99
+ {
100
+ label: 'Partner',
101
+ value: 'Partner',
102
+ },
103
+ {
104
+ label: 'CEO',
105
+ value: 'CEO',
106
+ },
107
+ {
108
+ label: 'Member LLC',
109
+ value: 'Member LLC',
110
+ },
111
+ {
112
+ label: 'Secretary',
113
+ value: 'Secretary',
114
+ },
115
+ {
116
+ label: 'Director',
117
+ value: 'Director',
118
+ },
119
+ {
120
+ label: 'COO',
121
+ value: 'COO',
122
+ },
123
+ {
124
+ label: 'CFO',
125
+ value: 'CFO',
126
+ },
127
+ ];
78
128
  export const bankAccountTypeOptions = [
79
129
  {
80
130
  label: 'Checking',
@@ -9,24 +9,31 @@ export const countryLabels = {
9
9
  idNumberLabelOptional: 'SSN (optional)',
10
10
  identityHelpText: 'Enter your full Social Security Number. It is required for Federal OFAC check.',
11
11
  taxIdLabel: 'Tax ID (EIN or SSN)',
12
+ taxIdLabelOptional: '',
12
13
  taxIdHelpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns. Enter value without dashes.",
13
14
  },
14
15
  CAN: {
15
- stateLabel: 'Province',
16
- postalLabel: 'Postal Code',
16
+ stateLabel: 'Province / State',
17
+ postalLabel: 'Postal / Zip Code',
17
18
  idNumberLabel: 'SIN',
18
19
  idNumberLabelOptional: 'SIN (optional)',
19
20
  identityHelpText: 'Enter your full Social Insurance Number.',
20
21
  taxIdLabel: 'Business Number (BN)',
22
+ taxIdLabelOptional: 'Business Number (BN) (optional)',
21
23
  taxIdHelpText: 'Business Numbers (BN) are nine digits. Enter value without spaces or dashes.',
22
24
  },
23
25
  };
26
+ const provinceAndStateOptions = [
27
+ { label: 'Choose province / state', value: '' },
28
+ ...ProvinceOptions.filter(o => o.value !== ''),
29
+ ...StateOptions.filter(o => o.value !== ''),
30
+ ];
24
31
  export const countryOptions = {
25
32
  USA: {
26
33
  stateOptions: StateOptions,
27
34
  },
28
35
  CAN: {
29
- stateOptions: ProvinceOptions,
36
+ stateOptions: provinceAndStateOptions,
30
37
  },
31
38
  };
32
39
  export const countryValidation = {
@@ -36,7 +43,7 @@ export const countryValidation = {
36
43
  taxIdDigits: 9,
37
44
  },
38
45
  CAN: {
39
- postalRegex: /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/,
46
+ postalRegex: /^([A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d|[0-9]{5}(-[0-9]{4})?)$/,
40
47
  identityDigits: 9,
41
48
  taxIdDigits: 9,
42
49
  },
@@ -3,9 +3,11 @@ import BankAccountFormSkeleton from "./bank-account-form-skeleton";
3
3
  import { configState, waitForConfig } from "../../config-provider/config-state";
4
4
  import { generateTabId } from "../../../utils/utils";
5
5
  import { checkPkgVersion } from "../../../utils/check-pkg-version";
6
+ import { checkoutStore } from "../../../store/checkout.store";
6
7
  export class BankAccountForm {
7
8
  constructor() {
8
9
  this.isReady = false;
10
+ this.hasLoggedAchDisabledWarning = false;
9
11
  }
10
12
  async componentWillLoad() {
11
13
  await waitForConfig();
@@ -14,10 +16,16 @@ export class BankAccountForm {
14
16
  checkPkgVersion();
15
17
  }
16
18
  componentDidRender() {
19
+ if (this.isAchDisabledForCheckout()) {
20
+ return;
21
+ }
17
22
  const elements = [
18
23
  this.accountNumberIframeElement,
19
24
  this.routingNumberIframeElement,
20
25
  ];
26
+ if (!elements.every(Boolean)) {
27
+ return;
28
+ }
21
29
  Promise.all(elements.map((element) => {
22
30
  return new Promise((resolve) => {
23
31
  element.addEventListener('iframeLoaded', () => { resolve(); });
@@ -26,20 +34,40 @@ export class BankAccountForm {
26
34
  this.isReady = true;
27
35
  });
28
36
  }
37
+ isAchDisabledForCheckout() {
38
+ return (checkoutStore.checkoutLoaded && !checkoutStore.achPaymentsEnabled);
39
+ }
29
40
  async validate() {
41
+ if (this.isAchDisabledForCheckout()) {
42
+ return false;
43
+ }
30
44
  const accountNumberIsValid = await this.accountNumberIframeElement.validate();
31
45
  const routingNumberIsValid = await this.routingNumberIframeElement.validate();
32
46
  return accountNumberIsValid && routingNumberIsValid;
33
47
  }
34
48
  async tokenize({ clientId, paymentMethodMetadata, account }) {
49
+ if (this.isAchDisabledForCheckout()) {
50
+ return {
51
+ error: {
52
+ message: 'ACH payments are disabled for this checkout (payment_settings.ach_payments=false).',
53
+ },
54
+ };
55
+ }
35
56
  const result = await this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
36
57
  return result;
37
58
  }
38
59
  render() {
39
- return (h("div", { key: '85e116539bb4721484d9877706ff93de1a68ec59' }, h(BankAccountFormSkeleton, { key: 'b12a13d02b004e2957a55eb00fb38178dc283a92', isReady: this.isReady }), h("hidden-input", { key: '657ed7946158788e9291906ec0966eb3bd3c544c' }), h("div", { key: '321fddef9af616686d525af94dc4a65b5a4c18e6', class: "container-fluid p-0", style: {
60
+ if (this.isAchDisabledForCheckout()) {
61
+ if (!this.hasLoggedAchDisabledWarning) {
62
+ console.warn('[bank-account-form] ACH payments are disabled for this checkout (payment_settings.ach_payments=false).');
63
+ this.hasLoggedAchDisabledWarning = true;
64
+ }
65
+ return null;
66
+ }
67
+ return (h("div", null, h(BankAccountFormSkeleton, { isReady: this.isReady }), h("hidden-input", null), h("div", { class: "container-fluid p-0", style: {
40
68
  opacity: this.isReady ? '1' : '0',
41
69
  height: this.isReady ? 'auto' : '0',
42
- } }, h("div", { key: 'cee2dcc5bf8032ca95dc6b46e6a2bb47b371986b', class: "row mb-3" }, h("iframe-input", { key: '50dfad1fc1eb41a87f2964e80d39036da1fc89ce', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: 'bd47ac6ff7c687ce9eb7e6ea2a66628392f73cdc', class: "row" }, h("iframe-input", { key: 'bbe98adda61bc72925e77714139b604d2959e156', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
70
+ } }, h("div", { class: "row mb-3" }, h("iframe-input", { inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { class: "row" }, h("iframe-input", { inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
43
71
  }
44
72
  static get is() { return "bank-account-form"; }
45
73
  static get states() {
@@ -40,7 +40,7 @@ export class BankAccountBillingFormSimple {
40
40
  }
41
41
  render() {
42
42
  const billingFormDefaultValue = this.formController.getInitialValues();
43
- return (h("div", { key: 'aad27826f1ad84e4f4f7ccb6199d7bd64dde61fc', part: billingForm, class: "mt-4" }, h("form", { key: '208146fcf8c96dc78d3ede31178df8fabada001f' }, h("fieldset", { key: 'ba7b72b8a49b7c0720a449f71fd8a675093e52c3' }, this.legend && (h("legend", { key: 'ed0d19198e69ae3fa043411f08b1c333cee11329' }, this.legend)), h("div", { key: '3941aaf9b5abac0b5fe8a72aaebeec448bacb49b', class: "row gy-3" }, h("div", { key: '6f9cb3621fdf2519e2167f4407ba0e3322c64c52', class: "col-12" }, h("form-control-text", { key: 'a7cf909f36506826f112f189cd9409d05a535da0', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })))))));
43
+ return (h("div", { key: 'e8c53c98793d0296d69799c8449d762084d9859b', part: billingForm, class: "mt-4" }, h("form", { key: '83e59bb7bdcf4a3e0b4ed4320358796eae91726f' }, h("fieldset", { key: 'd92a4a02c531a08a270562701bc71440add5b545' }, this.legend && (h("legend", { key: '74ac1eb2c6fc629323f31be515e3aa204ae302a2' }, this.legend)), h("div", { key: '161888eb0680a4c9d6280440961f2926b08ac1ed', class: "row gy-3" }, h("div", { key: '9f6c899b7a4ff25a5eba5278bffe7d4e86eb00df', class: "col-12" }, h("form-control-text", { key: '74a9958fb74de730067fe4d87dfac33c12522169', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })))))));
44
44
  }
45
45
  static get is() { return "bank-account-billing-form-simple"; }
46
46
  static get properties() {
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { fullBillingSchema } from "./billing-form-schema";
3
3
  import { billingForm } from "../../../styles/parts";
4
4
  import { Header3 } from "../../../ui-components";
5
- import StateOptions from "../../../utils/state-options";
5
+ import checkoutBillingStateOptions from "../../../utils/checkout-billing-state-options";
6
6
  import { FormController } from "../../../ui-components/form/form";
7
7
  import { checkoutStore, onChange } from "../../../store/checkout.store";
8
8
  export class BillingFormFull {
@@ -45,7 +45,7 @@ export class BillingFormFull {
45
45
  return null;
46
46
  }
47
47
  const billingFormDefaultValue = this.formController.getInitialValues();
48
- return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
48
+ return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State / Province', options: checkoutBillingStateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
49
49
  }
50
50
  static get is() { return "billing-form-full"; }
51
51
  static get properties() {
@@ -5,7 +5,7 @@ export const fullBillingSchema = () => object({
5
5
  address_line1: lineOneValidation.required('Enter street address'),
6
6
  address_line2: lineTwoValidation.nullable(),
7
7
  address_city: cityValidation.required('Enter city'),
8
- address_state: stateValidation.required('Select state'),
8
+ address_state: stateValidation.required('Select state or province'),
9
9
  address_postal_code: postalValidation.required('Enter postal code'),
10
10
  });
11
11
  export const postalOnlySchema = () => object({
@@ -40,7 +40,7 @@ export class CardBillingFormSimple {
40
40
  }
41
41
  render() {
42
42
  const billingFormDefaultValue = this.formController.getInitialValues();
43
- return (h("div", { key: 'c067c5a1aab63baa994322346b7cc3d71fca5157', part: billingForm }, h("form", { key: '72a74580a254d4c940579e0c5fa781e00a6a80d6' }, h("fieldset", { key: '6beea66d6a8c863e228aafbd9e7ff78f5e19b033' }, this.legend && (h("legend", { key: 'ba5bb1b6b8d703898424113e5787a0ffb7f534af' }, this.legend)), h("div", { key: 'cc3bc3446e475822c45d2ae261cdfb755e6313db', class: "row gy-3" }, h("div", { key: '5dd21759753d2a5378d6dcc0b3b7ffb436c052db', class: "col-12" }, h("form-control-text", { key: '033d5598a3ba198712189597ed1d1efe0dc09802', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
43
+ return (h("div", { key: '41a7f26e12bfa3da4e7926d8a535218a0580be14', part: billingForm }, h("form", { key: 'b48cf148ec6d16fd8e5859dfe96a3b9fd6d3036d' }, h("fieldset", { key: '88094544642af8fadb270dfafd838d450ad88cdd' }, this.legend && (h("legend", { key: '13c19557aa4c0c127305cc54f6346eeb74d4f750' }, this.legend)), h("div", { key: 'bbcf1a622720df2d21db718eaf823e4e33155070', class: "row gy-3" }, h("div", { key: '96b9d590fd68fd4f2a54760e58c0f2bc166a832b', class: "col-12" }, h("form-control-text", { key: '57050d0274782cb2ff5f1a9b13726a8319438a36', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
44
44
  }
45
45
  static get is() { return "card-billing-form-simple"; }
46
46
  static get properties() {
@@ -10,7 +10,7 @@ export class JustifiBillingForm {
10
10
  return (_b = (_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
11
11
  }
12
12
  render() {
13
- return (h(StyledHost, { key: '8b814bc4f24e7e890f3c67723fdb8fe0401f00c0' }, h("billing-form", { key: '535a0c3bd061c4d90bf1060a060bdadb1fe8796f', legend: this.legend, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: this.paymentMethodType, ref: (el) => (this.billingFormRef = el) })));
13
+ return (h(StyledHost, { key: '40a8a4342204d1679c9b37fb775184131c68248b' }, h("billing-form", { key: '65156fc636a2196aa2d189ce5c4d66f755deb3f6', legend: this.legend, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: this.paymentMethodType, ref: (el) => (this.billingFormRef = el) })));
14
14
  }
15
15
  static get is() { return "justifi-billing-form"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -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() {
@@ -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"; }