@justifi/webcomponents 5.7.2 → 5.7.3

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 (405) hide show
  1. package/dist/cjs/{Api-Dp4CW5K6.js → Api-CJ1_RDQW.js} +1 -1
  2. package/dist/cjs/{Document-Qt0qiXeh.js → Payment-D5UynU2f.js} +0 -56
  3. package/dist/cjs/{Refund-BDFOEJv_.js → Refund-BFE-2OxN.js} +56 -0
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  5. package/dist/cjs/{badge-BxoJOyTJ.js → badge-ByHiVqEE.js} +1 -1
  6. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +8 -8
  7. package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -16
  8. package/dist/cjs/{business-additional-questions-schema-JlysTRE3.js → business-additional-questions-schema-e3GCIHk5.js} +1 -1
  9. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  10. package/dist/cjs/{business-identity-schema-BksYFWls.js → business-identity-schema-Diqj_WVQ.js} +1 -1
  11. package/dist/cjs/{business.service-DMIMZpx4.js → business.service-CsKKWn0g.js} +3 -3
  12. package/dist/cjs/{button-BPFSRx4d.js → button-DXvFLf3b.js} +1 -1
  13. package/dist/cjs/{check-pkg-version-hqYwYpQq.js → check-pkg-version-BqLxQqZQ.js} +4 -4
  14. package/dist/cjs/{checkout.service-DKH8NODe.js → checkout.service-CugpgJy_.js} +3 -3
  15. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
  16. package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-BZPc3hJS.js} +1 -1
  17. package/dist/cjs/{checkouts-table-Cj2iSB_P.js → checkouts-table-BV-36YfA.js} +2 -2
  18. package/dist/cjs/{config-state-D7p-XunE.js → config-state-BH7lf2ok.js} +1 -1
  19. package/dist/cjs/custom-popper_4.cjs.entry.js +2 -2
  20. package/dist/cjs/{dispute.service-8j6tLV4i.js → dispute.service-B8vLwAZm.js} +3 -3
  21. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
  23. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  24. package/dist/cjs/{form-control-error-text-D9XDyFoW.js → form-control-error-text-B-3qE49U.js} +1 -1
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
  26. package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-BlYVOrII.js} +1 -1
  27. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  28. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
  30. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  31. package/dist/cjs/form-control-number.cjs.entry.js +3 -3
  32. package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
  33. package/dist/cjs/{get-payment-details-MM1u5jMc.js → get-payment-details-CudOQBpU.js} +4 -4
  34. package/dist/cjs/{get-subaccounts-CkjWYxIU.js → get-subaccounts-DjwsQffs.js} +4 -4
  35. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  36. package/dist/cjs/{header-1-auSUfIpO.js → header-1-agnQ4uEf.js} +1 -1
  37. package/dist/cjs/{header-3-B-bXHCpC.js → header-3-BAx5OhvM.js} +1 -1
  38. package/dist/cjs/{iframe-input-styles-state-D9vhHzZQ.js → iframe-input-styles-state-CFjq45QT.js} +1 -1
  39. package/dist/cjs/iframe-input.cjs.entry.js +5 -5
  40. package/dist/cjs/{index-B8ljHEN1.js → index-oahmQhrI.js} +1 -1
  41. package/dist/cjs/{index-BYd8IvAa.js → index-y-rskGFM.js} +1 -1
  42. package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-CCo-Gmfe.js} +2 -2
  43. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +46 -19
  44. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +8 -8
  45. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -10
  47. package/dist/cjs/justifi-business-form.cjs.entry.js +16 -16
  48. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  49. package/dist/cjs/justifi-checkout-core.cjs.entry.js +7 -7
  50. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
  51. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +7 -7
  52. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -13
  53. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  54. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  55. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  56. package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -9
  57. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -12
  58. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +9 -9
  59. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
  60. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +10 -10
  61. package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
  62. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
  64. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +12 -12
  65. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  66. package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
  67. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
  68. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +12 -12
  69. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  70. package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -14
  71. package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -13
  72. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -5
  73. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -8
  74. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
  75. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -11
  76. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -7
  77. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -13
  78. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +10 -10
  79. package/dist/cjs/loader.cjs.js +1 -1
  80. package/dist/cjs/{package-BCOEGxFC.js → package-a_vXN-Ly.js} +1 -1
  81. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  82. package/dist/cjs/payment-details-core.cjs.entry.js +6 -6
  83. package/dist/cjs/{payment.service-CCxGhTwZ.js → payment.service-aqlDvgDe.js} +3 -3
  84. package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
  85. package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → payments-list-params-state-BZPc3hJS.js} +1 -1
  86. package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-CWK1uHtj.js} +2 -2
  87. package/dist/cjs/{payments-table-BR97ybd6.js → payments-table-CP8LGibG.js} +2 -2
  88. package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
  89. package/dist/cjs/{payout.service-CtphIhUK.js → payout.service-CL-hcMGg.js} +3 -3
  90. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
  91. package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → payouts-list-params-state-BZPc3hJS.js} +1 -1
  92. package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-Jz2Mh3JP.js} +2 -2
  93. package/dist/cjs/{payouts-table-DMcQiC1g.js → payouts-table-DyuoNtFw.js} +2 -2
  94. package/dist/cjs/{schema-validations-BUor-ySb.js → schema-validations-BSeMee-o.js} +0 -23
  95. package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-CgT0siC5.js} +1 -1
  96. package/dist/cjs/{spinner-BTyIjlMM.js → spinner-Cz4By3FY.js} +1 -1
  97. package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-LD5MpzHs.js} +1 -1
  98. package/dist/cjs/{table-DKVauFHc.js → table-Cvr8-PLT.js} +2 -2
  99. package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
  100. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -10
  101. package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-BZPc3hJS.js} +1 -1
  102. package/dist/cjs/{terminal-orders-table-D-CLcZws.js → terminal-orders-table-CslE3Ojj.js} +5 -5
  103. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  104. package/dist/cjs/{terminal.service-Dv_WJkue.js → terminal.service-3geWla42.js} +3 -3
  105. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
  106. package/dist/cjs/terminals-list-params-state-BZPc3hJS.js +22 -0
  107. package/dist/cjs/{terminals-table-BEJ6sF7w.js → terminals-table-DlZSKdHC.js} +2 -2
  108. package/dist/cjs/{utils-5lco6NzU.js → utils-B4fXt0os.js} +1 -1
  109. package/dist/cjs/webcomponents.cjs.js +2 -2
  110. package/dist/collection/collection-manifest.json +1 -1
  111. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
  112. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
  113. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -47
  114. package/dist/docs.json +266 -46
  115. package/dist/esm/{Api-cgKcLG0y.js → Api-CZhQlPMs.js} +1 -1
  116. package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
  117. package/dist/esm/{Document-DvWsQBM6.js → Payment-BGiKmQYR.js} +2 -56
  118. package/dist/esm/{Refund-zZewCvey.js → Refund-DDIEc_gu.js} +55 -1
  119. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  120. package/dist/esm/{badge-Du9GTXoB.js → badge-Bbh4S1LJ.js} +1 -1
  121. package/dist/esm/bank-account-document-form-inputs_4.entry.js +8 -8
  122. package/dist/esm/bank-account-form_9.entry.js +9 -9
  123. package/dist/esm/{business-additional-questions-schema-CBUm3D7O.js → business-additional-questions-schema-uQlQ8fXQ.js} +1 -1
  124. package/dist/esm/business-details-core.entry.js +4 -4
  125. package/dist/esm/{business-identity-schema-CntGz8jo.js → business-identity-schema-BsrgqgDl.js} +1 -1
  126. package/dist/esm/{business.service-BWivPbyO.js → business.service-CUWiJ5Un.js} +4 -4
  127. package/dist/esm/{button-CjH5C0pG.js → button-BrZXQ8gb.js} +1 -1
  128. package/dist/esm/{check-pkg-version-BykGn7tx.js → check-pkg-version-CxnnjoM3.js} +5 -5
  129. package/dist/esm/{checkout.service-Bh-Q24Cr.js → checkout.service-DqXrjRw7.js} +4 -4
  130. package/dist/esm/checkouts-list-core.entry.js +11 -11
  131. package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-BI3u1DYG.js} +1 -1
  132. package/dist/esm/{checkouts-table-DcVkD83l.js → checkouts-table-p7UZFB5v.js} +2 -2
  133. package/dist/esm/{config-state-CkKrqnpZ.js → config-state-ecb1EsvM.js} +1 -1
  134. package/dist/esm/custom-popper_4.entry.js +2 -2
  135. package/dist/esm/{dispute.service-1AYcALSg.js → dispute.service-DpgnWZA1.js} +4 -4
  136. package/dist/esm/form-alert_5.entry.js +1 -1
  137. package/dist/esm/form-control-checkbox.entry.js +3 -3
  138. package/dist/esm/form-control-date.entry.js +2 -2
  139. package/dist/esm/{form-control-error-text-tGFxd6kW.js → form-control-error-text-lGsxANkt.js} +1 -1
  140. package/dist/esm/form-control-file-v2_2.entry.js +2 -2
  141. package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-DjU4NWmt.js} +1 -1
  142. package/dist/esm/form-control-help-text.entry.js +1 -1
  143. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  144. package/dist/esm/form-control-monetary.entry.js +3 -3
  145. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  146. package/dist/esm/form-control-number.entry.js +3 -3
  147. package/dist/esm/form-control-radio.entry.js +1 -1
  148. package/dist/esm/{get-payment-details-DXhXxFPr.js → get-payment-details-ChRlNtIz.js} +4 -4
  149. package/dist/esm/{get-subaccounts-CtHj1UM6.js → get-subaccounts-DiROU10G.js} +5 -5
  150. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  151. package/dist/esm/{header-1-D2gZb3iT.js → header-1-Xbhp2rfA.js} +1 -1
  152. package/dist/esm/{header-3-DAg8Vh4B.js → header-3-DwjHOg3C.js} +1 -1
  153. package/dist/esm/{iframe-input-styles-state-ibYqbF--.js → iframe-input-styles-state-BEips-at.js} +1 -1
  154. package/dist/esm/iframe-input.entry.js +5 -5
  155. package/dist/esm/{index-Cc3u0uDC.js → index-Dc7aGxx-.js} +1 -1
  156. package/dist/esm/{index-D6FDxSyt.js → index-DeiW2BDb.js} +1 -1
  157. package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-CiK3s-Fy.js} +2 -2
  158. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +46 -19
  159. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +9 -9
  160. package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
  161. package/dist/esm/justifi-business-details.entry.js +11 -11
  162. package/dist/esm/justifi-business-form.entry.js +17 -17
  163. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  164. package/dist/esm/justifi-checkout-core.entry.js +7 -7
  165. package/dist/esm/justifi-checkout.entry.js +10 -10
  166. package/dist/esm/justifi-checkouts-list-filters.entry.js +8 -8
  167. package/dist/esm/justifi-checkouts-list.entry.js +14 -14
  168. package/dist/esm/justifi-config-provider.entry.js +3 -3
  169. package/dist/esm/justifi-details.entry.js +2 -2
  170. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  171. package/dist/esm/justifi-dispute-management.entry.js +10 -10
  172. package/dist/esm/justifi-dispute-notification_3.entry.js +13 -13
  173. package/dist/esm/justifi-gross-payment-chart.entry.js +10 -10
  174. package/dist/esm/justifi-order-terminals.entry.js +13 -13
  175. package/dist/esm/justifi-owner-form_3.entry.js +11 -11
  176. package/dist/esm/justifi-payment-details.entry.js +12 -12
  177. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  178. package/dist/esm/justifi-payment-provisioning.entry.js +10 -10
  179. package/dist/esm/justifi-payment-transactions-list.entry.js +13 -13
  180. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  181. package/dist/esm/justifi-payments-list.entry.js +14 -14
  182. package/dist/esm/justifi-payout-details.entry.js +11 -11
  183. package/dist/esm/justifi-payout-transactions-list.entry.js +13 -13
  184. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  185. package/dist/esm/justifi-payouts-list.entry.js +15 -15
  186. package/dist/esm/justifi-refund-payment.entry.js +14 -14
  187. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +5 -5
  188. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -9
  189. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
  190. package/dist/esm/justifi-terminal-orders-list.entry.js +12 -12
  191. package/dist/esm/justifi-terminals-list-filters.entry.js +8 -8
  192. package/dist/esm/justifi-terminals-list.entry.js +14 -14
  193. package/dist/esm/justifi-tokenize-payment-method.entry.js +11 -11
  194. package/dist/esm/loader.js +2 -2
  195. package/dist/esm/{package-BjMTOtI1.js → package-DCoo9Ds8.js} +1 -1
  196. package/dist/esm/pagination-menu.entry.js +1 -1
  197. package/dist/esm/payment-details-core.entry.js +6 -6
  198. package/dist/esm/{payment.service-2afJc31y.js → payment.service-BV8Gg3vY.js} +4 -4
  199. package/dist/esm/payments-list-core.entry.js +12 -12
  200. package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-BI3u1DYG.js} +1 -1
  201. package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-DIH2IxWy.js} +2 -2
  202. package/dist/esm/{payments-table-B8316Kqz.js → payments-table-DiEtudGk.js} +2 -2
  203. package/dist/esm/payout-details-core.entry.js +7 -7
  204. package/dist/esm/{payout.service-Bd8Tc7-Q.js → payout.service-DA9Y4buU.js} +4 -4
  205. package/dist/esm/payouts-list-core.entry.js +12 -12
  206. package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-BI3u1DYG.js} +1 -1
  207. package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-ZOiWvFE-.js} +2 -2
  208. package/dist/esm/{payouts-table-Ip10eH4Q.js → payouts-table-DbzIHwgZ.js} +2 -2
  209. package/dist/esm/{schema-validations-C7D5tPzq.js → schema-validations-DLWfpHyI.js} +2 -23
  210. package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-B9rUHFom.js} +1 -1
  211. package/dist/esm/{spinner-onCBxbdo.js → spinner-CrzsUbgI.js} +1 -1
  212. package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-_2J3PYDn.js} +1 -1
  213. package/dist/esm/{table-p4dOlFPi.js → table-CqDcXJpP.js} +2 -2
  214. package/dist/esm/table-filters-menu.entry.js +2 -2
  215. package/dist/esm/terminal-orders-list-core.entry.js +11 -11
  216. package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-BI3u1DYG.js} +1 -1
  217. package/dist/esm/{terminal-orders-table-CCJT7oq4.js → terminal-orders-table-D7EOk3GS.js} +6 -6
  218. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  219. package/dist/esm/{terminal.service-8kwGru35.js → terminal.service-VdIvwUEC.js} +4 -4
  220. package/dist/esm/terminals-list-core.entry.js +11 -11
  221. package/dist/esm/terminals-list-params-state-BI3u1DYG.js +16 -0
  222. package/dist/esm/{terminals-table-cMkKUVff.js → terminals-table-C-fA-3eP.js} +2 -2
  223. package/dist/esm/{utils-BpP_VJGf.js → utils-CcleFgVO.js} +1 -1
  224. package/dist/esm/webcomponents.js +3 -3
  225. package/dist/module/Refund.js +55 -1
  226. package/dist/module/bank-account-document-inputs.js +1 -2
  227. package/dist/module/business-bank-account-form-step-core.js +37 -11
  228. package/dist/module/business-bank-account-form-step.js +0 -1
  229. package/dist/module/business-terms-conditions-form-step.js +1 -2
  230. package/dist/module/business.service.js +0 -1
  231. package/dist/module/check-pkg-version.js +0 -1
  232. package/dist/module/checkout.service.js +0 -1
  233. package/dist/module/checkouts-list-core2.js +0 -1
  234. package/dist/module/dispute-response-actions.js +0 -1
  235. package/dist/module/form.js +1 -1
  236. package/dist/module/get-payment-details.js +0 -1
  237. package/dist/module/get-subaccounts.js +0 -1
  238. package/dist/module/justifi-business-form.js +0 -1
  239. package/dist/module/justifi-checkouts-list-filters.js +0 -1
  240. package/dist/module/justifi-checkouts-list.js +0 -1
  241. package/dist/module/justifi-gross-payment-chart.js +0 -1
  242. package/dist/module/justifi-order-terminals.js +1 -2
  243. package/dist/module/justifi-payment-provisioning.js +0 -1
  244. package/dist/module/justifi-payment-transactions-list.js +1 -2
  245. package/dist/module/justifi-payments-list.js +0 -1
  246. package/dist/module/justifi-payout-details.js +0 -1
  247. package/dist/module/justifi-payout-transactions-list.js +1 -2
  248. package/dist/module/justifi-payouts-list.js +0 -1
  249. package/dist/module/justifi-refund-payment.js +1 -2
  250. package/dist/module/justifi-season-interruption-insurance.js +0 -1
  251. package/dist/module/justifi-terminal-orders-list-filters.js +0 -1
  252. package/dist/module/justifi-terminal-orders-list.js +1 -2
  253. package/dist/module/justifi-terminals-list-filters.js +0 -1
  254. package/dist/module/justifi-terminals-list.js +1 -2
  255. package/dist/module/justifi-tokenize-payment-method.js +0 -1
  256. package/dist/module/package.js +1 -1
  257. package/dist/module/payment.service.js +0 -1
  258. package/dist/module/payments-list-core2.js +0 -1
  259. package/dist/module/payout.service.js +0 -1
  260. package/dist/module/payouts-list-core2.js +0 -1
  261. package/dist/module/schema-validations.js +2 -23
  262. package/dist/module/terminal-orders-list-core2.js +0 -1
  263. package/dist/module/terminal.service.js +0 -1
  264. package/dist/module/terminals-list-core2.js +0 -1
  265. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
  266. package/dist/types/components.d.ts +264 -0
  267. package/dist/webcomponents/p--B09FkmB.js +1 -0
  268. package/dist/webcomponents/{p-77ac321c.entry.js → p-070a74b0.entry.js} +1 -1
  269. package/dist/webcomponents/{p-ffd197c2.entry.js → p-0bab65ad.entry.js} +1 -1
  270. package/dist/webcomponents/{p-5e467788.entry.js → p-0e3122fd.entry.js} +1 -1
  271. package/dist/webcomponents/{p-ceefc483.entry.js → p-0f4572d3.entry.js} +1 -1
  272. package/dist/webcomponents/{p-8183c2d1.entry.js → p-19f24867.entry.js} +1 -1
  273. package/dist/webcomponents/{p-a94952f6.entry.js → p-214d8301.entry.js} +1 -1
  274. package/dist/webcomponents/{p-10d41e17.entry.js → p-217c0657.entry.js} +1 -1
  275. package/dist/webcomponents/{p-a6722f44.entry.js → p-2182e23d.entry.js} +1 -1
  276. package/dist/webcomponents/{p-57c89023.entry.js → p-2648b61f.entry.js} +1 -1
  277. package/dist/webcomponents/{p-3a979295.entry.js → p-29402bea.entry.js} +1 -1
  278. package/dist/webcomponents/{p-af09b6ee.entry.js → p-30e036bd.entry.js} +1 -1
  279. package/dist/webcomponents/{p-7d3cf734.entry.js → p-342016ec.entry.js} +1 -1
  280. package/dist/webcomponents/{p-4b51a896.entry.js → p-35299b25.entry.js} +1 -1
  281. package/dist/webcomponents/{p-a33cfcfe.entry.js → p-388e3afc.entry.js} +1 -1
  282. package/dist/webcomponents/{p-19b9c96a.entry.js → p-3ef0b42b.entry.js} +1 -1
  283. package/dist/webcomponents/{p-b40108c0.entry.js → p-410b3f65.entry.js} +1 -1
  284. package/dist/webcomponents/p-4d4aed9d.entry.js +1 -0
  285. package/dist/webcomponents/{p-5d81f36e.entry.js → p-5023d221.entry.js} +1 -1
  286. package/dist/webcomponents/{p-4a070b7a.entry.js → p-57ec45d9.entry.js} +1 -1
  287. package/dist/webcomponents/{p-e2bfdba5.entry.js → p-5886b41e.entry.js} +1 -1
  288. package/dist/webcomponents/{p-6429afb4.entry.js → p-61daf152.entry.js} +1 -1
  289. package/dist/webcomponents/{p-bf3e8295.entry.js → p-6a89c4c8.entry.js} +1 -1
  290. package/dist/webcomponents/{p-c5628e09.entry.js → p-70b87e0c.entry.js} +1 -1
  291. package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
  292. package/dist/webcomponents/{p-c3c7be24.entry.js → p-7ba945a9.entry.js} +1 -1
  293. package/dist/webcomponents/{p-n2YROtpe.js → p-8qo1QTjv.js} +1 -1
  294. package/dist/webcomponents/{p-70c498d4.entry.js → p-9154c9ae.entry.js} +1 -1
  295. package/dist/webcomponents/{p-b0d3aab7.entry.js → p-95d4c1ec.entry.js} +1 -1
  296. package/dist/webcomponents/{p-3e94cf62.entry.js → p-9633ee66.entry.js} +1 -1
  297. package/dist/webcomponents/{p-1678e9e3.entry.js → p-9814a858.entry.js} +1 -1
  298. package/dist/webcomponents/{p-4680f931.entry.js → p-9c7574a3.entry.js} +1 -1
  299. package/dist/webcomponents/{p-7733b67b.entry.js → p-9c9bef60.entry.js} +1 -1
  300. package/dist/webcomponents/p-B0b_XePt.js +1 -0
  301. package/dist/webcomponents/p-B50n1fKP.js +1 -0
  302. package/dist/webcomponents/p-B9zTkzgI.js +1 -0
  303. package/dist/webcomponents/{p-clwP6zk3.js → p-BC1dBUlF.js} +1 -1
  304. package/dist/webcomponents/p-BNqn5ta3.js +1 -0
  305. package/dist/webcomponents/p-BUJ--tSs.js +1 -0
  306. package/dist/webcomponents/{p-DR89sFne.js → p-BdTK0wi9.js} +1 -1
  307. package/dist/webcomponents/{p-DDEz7_ad.js → p-BeW-xdck.js} +1 -1
  308. package/dist/webcomponents/{p-D5XSsLKb.js → p-Bjf1_zhy.js} +1 -1
  309. package/dist/webcomponents/p-Bkffx_rQ.js +1 -0
  310. package/dist/webcomponents/{p-DuYlA4lj.js → p-Bl3ch-Ez.js} +1 -1
  311. package/dist/webcomponents/p-BpDYt_Ep.js +1 -0
  312. package/dist/webcomponents/{p-CgxzrbM_.js → p-C1uPQOvi.js} +1 -1
  313. package/dist/webcomponents/p-C2HQYreI.js +1 -0
  314. package/dist/webcomponents/{p-DvhDilDP.js → p-CJ5VkiBV.js} +1 -1
  315. package/dist/webcomponents/{p-DnB1x5JE.js → p-CKAgqwwJ.js} +1 -1
  316. package/dist/webcomponents/{p-cNABKY0P.js → p-CaGTuT2-.js} +1 -1
  317. package/dist/webcomponents/{p-CQdeVKF8.js → p-CeSHqD1r.js} +1 -1
  318. package/dist/webcomponents/{p-Cd06j2SL.js → p-CgSqi8wc.js} +1 -1
  319. package/dist/webcomponents/{p-D2ZiLcDE.js → p-ChL8tkhB.js} +1 -1
  320. package/dist/webcomponents/p-ClM8H2uM.js +1 -0
  321. package/dist/webcomponents/p-CoZ_5FVT.js +1 -0
  322. package/dist/webcomponents/p-CopnqpXU.js +1 -0
  323. package/dist/webcomponents/p-D9siq_gL.js +1 -0
  324. package/dist/webcomponents/p-DCoo9Ds8.js +1 -0
  325. package/dist/webcomponents/{p-BR7flk4G.js → p-DGg9nHVL.js} +1 -1
  326. package/dist/webcomponents/{p-r__elyG4.js → p-DMNpawhg.js} +1 -1
  327. package/dist/webcomponents/p-DQCcSXwL.js +1 -0
  328. package/dist/webcomponents/{p-HBDBB6lL.js → p-DXhY2Usd.js} +1 -1
  329. package/dist/webcomponents/p-Ddc5F_89.js +1 -0
  330. package/dist/webcomponents/{p-l3o3Ndc0.js → p-DyCvl10I.js} +1 -1
  331. package/dist/webcomponents/{p-C0WFYqwq.js → p-EbNktJEa.js} +1 -1
  332. package/dist/webcomponents/{p-COcul8pX.js → p-HiTlvG5T.js} +1 -1
  333. package/dist/webcomponents/p-JOSiCHl7.js +1 -0
  334. package/dist/webcomponents/{p-uSM1EMk-.js → p-SoKRLnnI.js} +1 -1
  335. package/dist/webcomponents/{p-C1sOJl-_.js → p-XBoMjcoi.js} +1 -1
  336. package/dist/webcomponents/p-_5PRoEe6.js +1 -0
  337. package/dist/webcomponents/p-a32ae525.entry.js +1 -0
  338. package/dist/webcomponents/{p-abdae97a.entry.js → p-a60abc68.entry.js} +1 -1
  339. package/dist/webcomponents/{p-a8119fda.entry.js → p-aa539239.entry.js} +1 -1
  340. package/dist/webcomponents/{p-22a0b397.entry.js → p-aa949920.entry.js} +1 -1
  341. package/dist/webcomponents/{p-758ce5e5.entry.js → p-ab1353b0.entry.js} +4 -4
  342. package/dist/webcomponents/p-ac5f5d89.entry.js +1 -0
  343. package/dist/webcomponents/{p-bb50155f.entry.js → p-b0d1afd7.entry.js} +1 -1
  344. package/dist/webcomponents/p-b17ed568.entry.js +1 -0
  345. package/dist/webcomponents/{p-16d29d0b.entry.js → p-b59fc73d.entry.js} +1 -1
  346. package/dist/webcomponents/{p-d8b8b17c.entry.js → p-b5c7c78d.entry.js} +1 -1
  347. package/dist/webcomponents/{p-e73fe424.entry.js → p-b72eca25.entry.js} +1 -1
  348. package/dist/webcomponents/{p-3368d3d5.entry.js → p-b9283a1b.entry.js} +1 -1
  349. package/dist/webcomponents/{p-c01544c3.entry.js → p-b95a7dc5.entry.js} +1 -1
  350. package/dist/webcomponents/p-bO_FomzV.js +1 -0
  351. package/dist/webcomponents/{p-93df56e1.entry.js → p-bd1df685.entry.js} +1 -1
  352. package/dist/webcomponents/{p-2c7ae3ac.entry.js → p-bfb2bad3.entry.js} +1 -1
  353. package/dist/webcomponents/{p-935bbc62.entry.js → p-c13538df.entry.js} +1 -1
  354. package/dist/webcomponents/{p-8c107267.entry.js → p-c535a165.entry.js} +1 -1
  355. package/dist/webcomponents/{p-639baa7d.entry.js → p-c7a1439a.entry.js} +1 -1
  356. package/dist/webcomponents/{p-f23d4fdb.entry.js → p-c80d077b.entry.js} +1 -1
  357. package/dist/webcomponents/{p-a0662195.entry.js → p-ccd256f5.entry.js} +1 -1
  358. package/dist/webcomponents/{p-722c5e42.entry.js → p-cfb4491e.entry.js} +1 -1
  359. package/dist/webcomponents/p-d049acb4.entry.js +1 -0
  360. package/dist/webcomponents/{p-4f8b9b99.entry.js → p-d0b3a10e.entry.js} +1 -1
  361. package/dist/webcomponents/{p-2c8d7aa9.entry.js → p-d3f5c51e.entry.js} +1 -1
  362. package/dist/webcomponents/{p-90c24cda.entry.js → p-d3ff71df.entry.js} +1 -1
  363. package/dist/webcomponents/{p-33b23638.entry.js → p-d6a66b58.entry.js} +1 -1
  364. package/dist/webcomponents/{p-eHhqPyVW.js → p-d6tXI5Iw.js} +1 -1
  365. package/dist/webcomponents/{p-292da2d4.entry.js → p-d8f92442.entry.js} +1 -1
  366. package/dist/webcomponents/{p-59abf1de.entry.js → p-da6c0277.entry.js} +1 -1
  367. package/dist/webcomponents/{p-77896e7b.entry.js → p-e0e3a939.entry.js} +1 -1
  368. package/dist/webcomponents/{p-8ad67f87.entry.js → p-e3a07cb8.entry.js} +1 -1
  369. package/dist/webcomponents/{p-57fc593a.entry.js → p-f03acabd.entry.js} +1 -1
  370. package/dist/webcomponents/{p-c6490254.entry.js → p-f1e54daa.entry.js} +1 -1
  371. package/dist/webcomponents/{p-99b080d9.entry.js → p-f3d3070a.entry.js} +1 -1
  372. package/dist/webcomponents/p-hG0Fy7E9.js +1 -0
  373. package/dist/webcomponents/p-vTsHmSQQ.js +1 -0
  374. package/dist/webcomponents/webcomponents.esm.js +1 -1
  375. package/package.json +1 -1
  376. package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
  377. package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
  378. package/dist/module/Document.js +0 -55
  379. package/dist/webcomponents/p-40f7e3af.entry.js +0 -1
  380. package/dist/webcomponents/p-5df5aa41.entry.js +0 -1
  381. package/dist/webcomponents/p-6n7viK-J.js +0 -1
  382. package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
  383. package/dist/webcomponents/p-B190pN0v.js +0 -1
  384. package/dist/webcomponents/p-BjMTOtI1.js +0 -1
  385. package/dist/webcomponents/p-Bk4gk-f7.js +0 -1
  386. package/dist/webcomponents/p-C0IqfGFc.js +0 -1
  387. package/dist/webcomponents/p-CaGOSFHG.js +0 -1
  388. package/dist/webcomponents/p-Cm_0sqXz.js +0 -1
  389. package/dist/webcomponents/p-Cx60eQXT.js +0 -1
  390. package/dist/webcomponents/p-D0ptm6-3.js +0 -1
  391. package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
  392. package/dist/webcomponents/p-DClC2nMO.js +0 -1
  393. package/dist/webcomponents/p-DJzjeg3x.js +0 -1
  394. package/dist/webcomponents/p-DgfzEZny.js +0 -1
  395. package/dist/webcomponents/p-DjGTAHJM.js +0 -1
  396. package/dist/webcomponents/p-U30-0DaA.js +0 -1
  397. package/dist/webcomponents/p-_pH3Hg4P.js +0 -1
  398. package/dist/webcomponents/p-a136ff22.entry.js +0 -1
  399. package/dist/webcomponents/p-b1586aa2.entry.js +0 -1
  400. package/dist/webcomponents/p-c5b6b76f.entry.js +0 -1
  401. package/dist/webcomponents/p-gZGxqQgQ.js +0 -1
  402. package/dist/webcomponents/p-l3uWWMRW.js +0 -1
  403. package/dist/webcomponents/p-um3YdOwW.js +0 -1
  404. package/dist/webcomponents/p-wqUvt1PB.js +0 -1
  405. /package/dist/webcomponents/{p-D6FDxSyt.js → p-DeiW2BDb.js} +0 -0
@@ -1,24 +1,24 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-D6FDxSyt.js';
2
- import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-p4dOlFPi.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-DeiW2BDb.js';
2
+ import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-CqDcXJpP.js';
3
3
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
4
- import './config-state-CkKrqnpZ.js';
4
+ import './config-state-ecb1EsvM.js';
5
5
  import './utils-DB5fh6Iv.js';
6
6
  import './ComponentError-SdntD1xf.js';
7
7
  import './Checkout-B9LrTq63.js';
8
8
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
9
- import './Document-DvWsQBM6.js';
10
- import './Refund-zZewCvey.js';
9
+ import './Payment-BGiKmQYR.js';
10
+ import './Refund-DDIEc_gu.js';
11
11
  import './Business-BCoP0TAV.js';
12
- import './Dispute-BH0Xfn-F.js';
13
- import { t as terminalOrdersTableColumns, a as terminalOrdersTableCells } from './terminal-orders-table-CCJT7oq4.js';
14
- import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state-Bn7pL-8x.js';
12
+ import './Dispute-7MWRbTXI.js';
13
+ import { t as terminalOrdersTableColumns, a as terminalOrdersTableCells } from './terminal-orders-table-D7EOk3GS.js';
14
+ import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state-BI3u1DYG.js';
15
15
  import './parts-BrLVc_85.js';
16
- import './spinner-onCBxbdo.js';
17
- import './index-Cc3u0uDC.js';
16
+ import './spinner-CrzsUbgI.js';
17
+ import './index-Dc7aGxx-.js';
18
18
  import './_commonjsHelpers-BFTU3MAI.js';
19
19
  import './helpers-Mu7LQT-w.js';
20
20
  import './state-options-BX8GieXu.js';
21
- import './badge-Du9GTXoB.js';
21
+ import './badge-Bbh4S1LJ.js';
22
22
 
23
23
  const TerminalOrdersListCore = class {
24
24
  constructor(hostRef) {
@@ -1,4 +1,4 @@
1
- import { c as createStore } from './index-Cc3u0uDC.js';
1
+ import { c as createStore } from './index-Dc7aGxx-.js';
2
2
 
3
3
  const filterParamsInitialState = {};
4
4
  const propsParamsInitialState = {};
@@ -1,15 +1,15 @@
1
- import { h } from './index-D6FDxSyt.js';
1
+ import { h } from './index-DeiW2BDb.js';
2
2
  import { P as tableHeadCell, Q as getAlternateTableCellPart } from './parts-BrLVc_85.js';
3
3
  import { a as convertToLocal } from './utils-DB5fh6Iv.js';
4
- import './config-state-CkKrqnpZ.js';
4
+ import './config-state-ecb1EsvM.js';
5
5
  import './ComponentError-SdntD1xf.js';
6
6
  import './Checkout-B9LrTq63.js';
7
7
  import './Pagination-CLHwhyvu.js';
8
- import './Document-DvWsQBM6.js';
9
- import { a as TerminalOrderType } from './Refund-zZewCvey.js';
8
+ import './Payment-BGiKmQYR.js';
9
+ import { a as TerminalOrderType } from './Refund-DDIEc_gu.js';
10
10
  import './Business-BCoP0TAV.js';
11
- import './Dispute-BH0Xfn-F.js';
12
- import { B as BadgeVariant, a as Badge } from './badge-Du9GTXoB.js';
11
+ import './Dispute-7MWRbTXI.js';
12
+ import { B as BadgeVariant, a as Badge } from './badge-Bbh4S1LJ.js';
13
13
 
14
14
  const MapTerminalOrderStatusToBadge = (status) => {
15
15
  const statusToBadgeProps = {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-DeiW2BDb.js';
2
2
  import { V as image, W as buttonLink, X as card } from './parts-BrLVc_85.js';
3
3
 
4
4
  const TerminalQuantitySelector = class {
@@ -1,11 +1,11 @@
1
- import { A as Api } from './Api-cgKcLG0y.js';
1
+ import { A as Api } from './Api-CZhQlPMs.js';
2
2
  import './ComponentError-SdntD1xf.js';
3
3
  import './Checkout-B9LrTq63.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
- import './Document-DvWsQBM6.js';
6
- import './Refund-zZewCvey.js';
5
+ import './Payment-BGiKmQYR.js';
6
+ import './Refund-DDIEc_gu.js';
7
7
  import './Business-BCoP0TAV.js';
8
- import './Dispute-BH0Xfn-F.js';
8
+ import './Dispute-7MWRbTXI.js';
9
9
 
10
10
  const api = Api();
11
11
  class TerminalService {
@@ -1,24 +1,24 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-D6FDxSyt.js';
2
- import './config-state-CkKrqnpZ.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-DeiW2BDb.js';
2
+ import './config-state-ecb1EsvM.js';
3
3
  import './utils-DB5fh6Iv.js';
4
4
  import './ComponentError-SdntD1xf.js';
5
5
  import './Checkout-B9LrTq63.js';
6
6
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
7
- import './Document-DvWsQBM6.js';
8
- import './Refund-zZewCvey.js';
7
+ import './Payment-BGiKmQYR.js';
8
+ import './Refund-DDIEc_gu.js';
9
9
  import './Business-BCoP0TAV.js';
10
- import './Dispute-BH0Xfn-F.js';
11
- import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-p4dOlFPi.js';
10
+ import './Dispute-7MWRbTXI.js';
11
+ import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-CqDcXJpP.js';
12
12
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
13
- import { t as terminalTableColumns, a as terminalTableCells } from './terminals-table-cMkKUVff.js';
14
- import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state-Bn7pL-8x.js';
15
- import './index-Cc3u0uDC.js';
13
+ import { t as terminalTableColumns, a as terminalTableCells } from './terminals-table-C-fA-3eP.js';
14
+ import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state-BI3u1DYG.js';
15
+ import './index-Dc7aGxx-.js';
16
16
  import './_commonjsHelpers-BFTU3MAI.js';
17
17
  import './helpers-Mu7LQT-w.js';
18
18
  import './state-options-BX8GieXu.js';
19
19
  import './parts-BrLVc_85.js';
20
- import './spinner-onCBxbdo.js';
21
- import './badge-Du9GTXoB.js';
20
+ import './spinner-CrzsUbgI.js';
21
+ import './badge-Bbh4S1LJ.js';
22
22
 
23
23
  const TerminalsListCore = class {
24
24
  constructor(hostRef) {
@@ -0,0 +1,16 @@
1
+ import { c as createStore } from './index-Dc7aGxx-.js';
2
+
3
+ const filterParamsInitialState = {};
4
+ const propsParamsInitialState = {};
5
+ const filterParamsStore = createStore(() => filterParamsInitialState);
6
+ const { state: filterParams, on: onQueryParamsChange } = filterParamsStore;
7
+ const propsParamsStore = createStore(() => propsParamsInitialState);
8
+ const { state: propsParams } = propsParamsStore;
9
+ const getRequestParams = () => {
10
+ return Object.assign(Object.assign({}, filterParams), propsParams);
11
+ };
12
+ const clearParams = () => {
13
+ filterParamsStore.reset();
14
+ };
15
+
16
+ export { clearParams as c, filterParams as f, getRequestParams as g, onQueryParamsChange as o, propsParams as p };
@@ -1,5 +1,5 @@
1
- import { h } from './index-D6FDxSyt.js';
2
- import { B as BadgeVariant, a as Badge } from './badge-Du9GTXoB.js';
1
+ import { h } from './index-DeiW2BDb.js';
2
+ import { B as BadgeVariant, a as Badge } from './badge-Bbh4S1LJ.js';
3
3
  import { P as tableHeadCell, Q as getAlternateTableCellPart } from './parts-BrLVc_85.js';
4
4
  import { e as capitalFirstLetter } from './utils-DB5fh6Iv.js';
5
5
 
@@ -1,4 +1,4 @@
1
- import { h } from './index-D6FDxSyt.js';
1
+ import { h } from './index-DeiW2BDb.js';
2
2
  import { A as text, C as heading1, D as heading2 } from './parts-BrLVc_85.js';
3
3
 
4
4
  const ErrorState = (errorMessage) => (h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize: '1.2rem' } },
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-D6FDxSyt.js';
2
- export { s as setNonce } from './index-D6FDxSyt.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-DeiW2BDb.js';
2
+ export { s as setNonce } from './index-DeiW2BDb.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.31.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.32.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
@@ -256,6 +256,60 @@ class SubAccount {
256
256
  }
257
257
  }
258
258
 
259
+ var EntityDocumentType;
260
+ (function (EntityDocumentType) {
261
+ EntityDocumentType["voidedCheck"] = "voided_check";
262
+ EntityDocumentType["balanceSheet"] = "balance_sheet";
263
+ EntityDocumentType["bankStatement"] = "bank_statement";
264
+ EntityDocumentType["governmentId"] = "government_id";
265
+ EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
266
+ EntityDocumentType["taxReturn"] = "tax_return";
267
+ EntityDocumentType["other"] = "other";
268
+ })(EntityDocumentType || (EntityDocumentType = {}));
269
+ var EntityDocumentStatus;
270
+ (function (EntityDocumentStatus) {
271
+ EntityDocumentStatus["pending"] = "pending";
272
+ EntityDocumentStatus["uploaded"] = "uploaded";
273
+ EntityDocumentStatus["canceled"] = "canceled";
274
+ EntityDocumentStatus["needed"] = "needed";
275
+ })(EntityDocumentStatus || (EntityDocumentStatus = {}));
276
+ class EntityDocumentStorage {
277
+ constructor() {
278
+ this.voided_check = [];
279
+ this.balance_sheet = [];
280
+ this.bank_statement = [];
281
+ this.government_id = [];
282
+ this.profit_and_loss_statement = [];
283
+ this.tax_return = [];
284
+ this.other = [];
285
+ }
286
+ }
287
+ class EntityDocument {
288
+ constructor(fileData, business_id) {
289
+ this.file = fileData.file;
290
+ this.fileString = this.getFileString();
291
+ this.document_type = fileData.document_type;
292
+ this.presigned_url = null;
293
+ this.record_data = {
294
+ business_id: business_id,
295
+ document_type: this.document_type,
296
+ file_name: this.file.name,
297
+ file_type: this.file.type,
298
+ };
299
+ }
300
+ getFileString() {
301
+ let reader = new FileReader();
302
+ reader.onload = (e) => {
303
+ this.fileString = e.target.result;
304
+ };
305
+ reader.readAsDataURL(this.file);
306
+ return this.fileString;
307
+ }
308
+ setPresignedUrl(url) {
309
+ this.presigned_url = url;
310
+ }
311
+ }
312
+
259
313
  var RefundStatuses;
260
314
  (function (RefundStatuses) {
261
315
  RefundStatuses["succeeded"] = "succeeded";
@@ -276,4 +330,4 @@ class RefundPayload {
276
330
  }
277
331
  }
278
332
 
279
- export { ITerminalStatus as I, Payout as P, RefundReasons as R, SubAccount as S, TerminalOrderStatus as T, TerminalOrderType as a, Terminal as b, PaymentBalanceTransaction as c, PayoutBalanceTransaction as d, TerminalOrder as e, TerminalModel as f, RefundPayload as g };
333
+ export { EntityDocumentType as E, ITerminalStatus as I, Payout as P, RefundReasons as R, SubAccount as S, TerminalOrderStatus as T, TerminalOrderType as a, EntityDocumentStorage as b, EntityDocument as c, Terminal as d, PaymentBalanceTransaction as e, PayoutBalanceTransaction as f, TerminalOrder as g, TerminalModel as h, RefundPayload as i };
@@ -4,8 +4,7 @@ import './utils2.js';
4
4
  import './Checkout.js';
5
5
  import './Pagination.js';
6
6
  import './Payment.js';
7
- import './Refund.js';
8
- import { E as EntityDocumentType } from './Document.js';
7
+ import { E as EntityDocumentType } from './Refund.js';
9
8
  import './Business.js';
10
9
  import { d as defineCustomElement$3 } from './custom-popper2.js';
11
10
  import { d as defineCustomElement$2 } from './form-control-file2.js';
@@ -1,6 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { c as create$3, F as FormController } from './form.js';
3
- import { z as bankStatementValidation, A as voidedCheckValidation, B as routingNumberValidation, C as accountNumberValidation, D as accountTypeValidation, n as identityNameValidation, E as nicknameValidation, F as bankNameValidation } from './schema-validations.js';
2
+ import { c as create$3, d as create$8, F as FormController } from './form.js';
3
+ import { E as EntityDocumentType, b as EntityDocumentStorage, c as EntityDocument } from './Refund.js';
4
+ import { z as routingNumberValidation, A as accountNumberValidation, B as accountTypeValidation, n as identityNameValidation, C as nicknameValidation, D as bankNameValidation } from './schema-validations.js';
4
5
  import './Business.js';
5
6
  import { B as BusinessFormStep } from './event-types2.js';
6
7
  import { h as heading2 } from './parts.js';
@@ -10,8 +11,6 @@ import './utils2.js';
10
11
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
11
12
  import './Pagination.js';
12
13
  import './Payment.js';
13
- import './Refund.js';
14
- import { a as EntityDocumentStorage, b as EntityDocument } from './Document.js';
15
14
  import { d as defineCustomElement$8 } from './bank-account-document-inputs.js';
16
15
  import { d as defineCustomElement$7 } from './bank-account-form-inputs2.js';
17
16
  import { d as defineCustomElement$6 } from './business-documents-on-file2.js';
@@ -54,17 +53,44 @@ class BankAccount {
54
53
  }
55
54
  }
56
55
 
56
+ const checkExistingDocs = (documents, documentType) => {
57
+ return documents.some((doc) => doc.document_type === documentType);
58
+ };
59
+ const documentErrorText = 'Please upload either a voided check or a bank statement. Only one is required.';
57
60
  const businessBankAccountSchema = (documents, allowOptionalFields) => {
58
- const schema = create$3({
61
+ const existingVoidedCheck = checkExistingDocs(documents, EntityDocumentType.voidedCheck);
62
+ const existingBankStatement = checkExistingDocs(documents, EntityDocumentType.bankStatement);
63
+ const existingDocument = existingVoidedCheck || existingBankStatement;
64
+ const schema = create$3().shape({
59
65
  bank_name: bankNameValidation.required('Enter bank name'),
60
66
  nickname: nicknameValidation.required('Enter nickname'),
61
67
  account_owner_name: identityNameValidation.required('Enter account owner name'),
62
68
  account_type: accountTypeValidation.required('Select account type'),
63
69
  account_number: accountNumberValidation.required('Enter account number'),
64
70
  routing_number: routingNumberValidation.required('Enter routing number'),
65
- voided_check: voidedCheckValidation(documents, allowOptionalFields),
66
- bank_statement: bankStatementValidation(documents, allowOptionalFields)
67
- });
71
+ voided_check: create$8().when('bank_statement', {
72
+ is: (val) => {
73
+ return !val && !existingDocument;
74
+ },
75
+ then: (schema) => {
76
+ return schema.required(documentErrorText);
77
+ },
78
+ otherwise: (schema) => {
79
+ return schema.notRequired();
80
+ }
81
+ }),
82
+ bank_statement: create$8().when('voided_check', {
83
+ is: (val) => {
84
+ return !val && !existingDocument;
85
+ },
86
+ then: (schema) => {
87
+ return schema.required(documentErrorText);
88
+ },
89
+ otherwise: (schema) => {
90
+ return schema.notRequired();
91
+ }
92
+ }),
93
+ }, [['voided_check', 'bank_statement']]);
68
94
  const easySchema = create$3({
69
95
  bank_name: bankNameValidation.nullable(),
70
96
  nickname: nicknameValidation.nullable(),
@@ -72,8 +98,8 @@ const businessBankAccountSchema = (documents, allowOptionalFields) => {
72
98
  account_type: accountTypeValidation.nullable(),
73
99
  account_number: accountNumberValidation.nullable(),
74
100
  routing_number: routingNumberValidation.nullable(),
75
- voided_check: voidedCheckValidation(documents, allowOptionalFields),
76
- bank_statement: bankStatementValidation(documents, allowOptionalFields)
101
+ voided_check: create$8().nullable(),
102
+ bank_statement: create$8().nullable(),
77
103
  });
78
104
  return allowOptionalFields ? easySchema : schema;
79
105
  };
@@ -297,7 +323,7 @@ const BusinessBankAccountFormStepCore = /*@__PURE__*/ proxyCustomElement(class B
297
323
  if (this.isLoading) {
298
324
  return h(PaymentProvisioningLoading, null);
299
325
  }
300
- return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount })), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "These documents are required for underwriting purposes. Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles }))));
326
+ return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount })), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles }))));
301
327
  }
302
328
  static get watchers() { return {
303
329
  "isLoading": ["watchHandler"]
@@ -5,7 +5,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
5
5
  import './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
- import './Document.js';
9
8
  import './Business.js';
10
9
  import { m as makeGetBusiness, b as makePostBankAccount, c as makePostDocumentRecord } from './payment-provisioning-actions.js';
11
10
  import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service.js';
@@ -1,11 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { c as create$3, d as create$7, F as FormController } from './form.js';
2
+ import { c as create$3, b as create$7, F as FormController } from './form.js';
3
3
  import { A as Api } from './Api.js';
4
4
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
5
5
  import './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
- import './Document.js';
9
8
  import './Business.js';
10
9
  import { h as heading2 } from './parts.js';
11
10
  import { B as BusinessFormStep } from './event-types2.js';
@@ -3,7 +3,6 @@ import './Checkout.js';
3
3
  import './Pagination.js';
4
4
  import './Payment.js';
5
5
  import './Refund.js';
6
- import './Document.js';
7
6
  import './Business.js';
8
7
 
9
8
  const api = Api();
@@ -4,7 +4,6 @@ import './Checkout.js';
4
4
  import './Pagination.js';
5
5
  import './Payment.js';
6
6
  import './Refund.js';
7
- import './Document.js';
8
7
  import './Business.js';
9
8
 
10
9
  const api = Api();
@@ -3,7 +3,6 @@ import './Checkout.js';
3
3
  import './Pagination.js';
4
4
  import './Payment.js';
5
5
  import './Refund.js';
6
- import './Document.js';
7
6
  import './Business.js';
8
7
 
9
8
  const api = Api();
@@ -5,7 +5,6 @@ import './Checkout.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
- import './Document.js';
9
8
  import './Business.js';
10
9
  import './details.js';
11
10
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
@@ -3,7 +3,6 @@ import { C as ComponentErrorSeverity } from './Checkout.js';
3
3
  import './Pagination.js';
4
4
  import './Payment.js';
5
5
  import './Refund.js';
6
- import './Document.js';
7
6
  import './Business.js';
8
7
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
9
8
 
@@ -11798,4 +11798,4 @@ class FormController {
11798
11798
  }
11799
11799
  }
11800
11800
 
11801
- export { FormController as F, create$6 as a, create$8 as b, create$3 as c, create$7 as d };
11801
+ export { FormController as F, create$6 as a, create$7 as b, create$3 as c, create$8 as d };
@@ -4,7 +4,6 @@ import { C as ComponentErrorSeverity } from './Checkout.js';
4
4
  import './Pagination.js';
5
5
  import { b as Payment } from './Payment.js';
6
6
  import './Refund.js';
7
- import './Document.js';
8
7
  import './Business.js';
9
8
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
10
9
 
@@ -3,7 +3,6 @@ import { C as ComponentErrorSeverity } from './Checkout.js';
3
3
  import './Pagination.js';
4
4
  import './Payment.js';
5
5
  import { S as SubAccount } from './Refund.js';
6
- import './Document.js';
7
6
  import './Business.js';
8
7
  import './config-state.js';
9
8
  import './utils2.js';
@@ -10,7 +10,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
12
12
  import './Refund.js';
13
- import './Document.js';
14
13
  import { a as Business, c as BusinessFormServerErrors } from './Business.js';
15
14
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
16
15
  import { B as Button } from './button.js';
@@ -5,7 +5,6 @@ import { I as ICheckoutStatus, c as ICheckoutPaymentModeParam } from './Checkout
5
5
  import './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
- import './Document.js';
9
8
  import './Business.js';
10
9
  import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state.js';
11
10
  import { a2 as checkoutsListFilterMenu, a3 as statusCheckoutsListFilterParam, a4 as paymentModeCheckoutsListFilterParam } from './parts.js';
@@ -5,7 +5,6 @@ import { b as Checkout, C as ComponentErrorSeverity, a as ComponentErrorCodes }
5
5
  import './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
- import './Document.js';
9
8
  import './Business.js';
10
9
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
11
10
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
@@ -4,7 +4,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
4
4
  import './Pagination.js';
5
5
  import './Payment.js';
6
6
  import './Refund.js';
7
- import './Document.js';
8
7
  import './Business.js';
9
8
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
10
9
  import { E as ErrorState } from './utils.js';
@@ -13,8 +13,7 @@ import './config-state.js';
13
13
  import { n as formatPhoneNumber } from './utils2.js';
14
14
  import './Pagination.js';
15
15
  import './Payment.js';
16
- import { f as TerminalModel, e as TerminalOrder, a as TerminalOrderType } from './Refund.js';
17
- import './Document.js';
16
+ import { h as TerminalModel, g as TerminalOrder, a as TerminalOrderType } from './Refund.js';
18
17
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
19
18
  import { T as TerminalService } from './terminal.service.js';
20
19
  import { d as defineCustomElement$4 } from './custom-popper2.js';
@@ -7,7 +7,6 @@ import { A as Api } from './Api.js';
7
7
  import './Pagination.js';
8
8
  import './Payment.js';
9
9
  import './Refund.js';
10
- import './Document.js';
11
10
  import './Business.js';
12
11
  import { d as defineCustomElement$y } from './bank-account-document-inputs.js';
13
12
  import { d as defineCustomElement$x } from './bank-account-form-inputs2.js';
@@ -4,8 +4,7 @@ import { h as convertToLocal } from './utils2.js';
4
4
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
- import { c as PaymentBalanceTransaction } from './Refund.js';
8
- import './Document.js';
7
+ import { e as PaymentBalanceTransaction } from './Refund.js';
9
8
  import './Business.js';
10
9
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
11
10
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
@@ -6,7 +6,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
6
6
  import './Pagination.js';
7
7
  import { b as Payment } from './Payment.js';
8
8
  import './Refund.js';
9
- import './Document.js';
10
9
  import './Business.js';
11
10
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
12
11
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
@@ -6,7 +6,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
6
6
  import './Pagination.js';
7
7
  import './Payment.js';
8
8
  import { P as Payout } from './Refund.js';
9
- import './Document.js';
10
9
  import './Business.js';
11
10
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
12
11
  import { E as ErrorState } from './utils.js';
@@ -4,8 +4,7 @@ import { h as convertToLocal } from './utils2.js';
4
4
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
- import { d as PayoutBalanceTransaction } from './Refund.js';
8
- import './Document.js';
7
+ import { f as PayoutBalanceTransaction } from './Refund.js';
9
8
  import './Business.js';
10
9
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
11
10
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
@@ -7,7 +7,6 @@ import './utils2.js';
7
7
  import './Pagination.js';
8
8
  import './Payment.js';
9
9
  import { P as Payout } from './Refund.js';
10
- import './Document.js';
11
10
  import './Business.js';
12
11
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
13
12
  import { m as makeGetPayoutCSV } from './get-payout-csv.js';
@@ -5,8 +5,7 @@ import './config-state.js';
5
5
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
6
6
  import './Pagination.js';
7
7
  import './Payment.js';
8
- import { R as RefundReasons, g as RefundPayload } from './Refund.js';
9
- import './Document.js';
8
+ import { R as RefundReasons, i as RefundPayload } from './Refund.js';
10
9
  import './Business.js';
11
10
  import { B as Button } from './button.js';
12
11
  import { S as StyledHost } from './styled-host.js';
@@ -4,7 +4,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
4
4
  import './Pagination.js';
5
5
  import './Payment.js';
6
6
  import './Refund.js';
7
- import './Document.js';
8
7
  import './Business.js';
9
8
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
10
9
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
@@ -10,7 +10,6 @@ import './Checkout.js';
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
12
12
  import { T as TerminalOrderStatus, a as TerminalOrderType } from './Refund.js';
13
- import './Document.js';
14
13
  import './Business.js';
15
14
  import { d as defineCustomElement$6 } from './custom-popper2.js';
16
15
  import { d as defineCustomElement$5 } from './form-control-date2.js';
@@ -9,8 +9,7 @@ import './utils2.js';
9
9
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
12
- import { e as TerminalOrder } from './Refund.js';
13
- import './Document.js';
12
+ import { g as TerminalOrder } from './Refund.js';
14
13
  import './Business.js';
15
14
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
16
15
  import { A as Api } from './Api.js';
@@ -11,7 +11,6 @@ import './Checkout.js';
11
11
  import './Pagination.js';
12
12
  import './Payment.js';
13
13
  import { I as ITerminalStatus } from './Refund.js';
14
- import './Document.js';
15
14
  import './Business.js';
16
15
  import { d as defineCustomElement$6 } from './custom-popper2.js';
17
16
  import { d as defineCustomElement$5 } from './form-control-select2.js';
@@ -6,8 +6,7 @@ import './config-state.js';
6
6
  import './utils2.js';
7
7
  import './Pagination.js';
8
8
  import './Payment.js';
9
- import { b as Terminal } from './Refund.js';
10
- import './Document.js';
9
+ import { d as Terminal } from './Refund.js';
11
10
  import './Business.js';
12
11
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
13
12
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
@@ -10,7 +10,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
12
12
  import './Refund.js';
13
- import './Document.js';
14
13
  import './Business.js';
15
14
  import { d as defineCustomElement$i } from './bank-account-form2.js';
16
15
  import { d as defineCustomElement$h } from './card-form2.js';