@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
@@ -0,0 +1,403 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+ import './config-state.js';
3
+ import './dinero.js';
4
+ import { f as EntityDocument, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
5
+ import './Pagination.js';
6
+ import { a as CountryCode } from './Business.js';
7
+ import './ApplePay.js';
8
+ import { m as makeGetBusiness, e as makePostDocumentRecord } from './payment-provisioning-actions.js';
9
+ import { B as BusinessService, D as DocumentRecordService } from './business.service.js';
10
+ import { B as BusinessFormStep } from './event-types2.js';
11
+ import { h as heading2 } from './parts.js';
12
+ import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
13
+ import { d as defineCustomElement$6 } from './business-documents-on-file2.js';
14
+ import { d as defineCustomElement$5 } from './custom-popper2.js';
15
+ import { d as defineCustomElement$4 } from './document-upload-list2.js';
16
+ import { d as defineCustomElement$3 } from './form-control-file2.js';
17
+ import { d as defineCustomElement$2 } from './form-control-select2.js';
18
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
19
+
20
+ const businessDocumentOptions = [
21
+ { label: 'Select a document type', value: '' },
22
+ { label: 'Articles of Incorporation', value: 'articles_of_incorporation' },
23
+ { label: 'Business Registration', value: 'business_registration' },
24
+ ];
25
+ const financialDocumentOptions = [
26
+ { label: 'Select a document type', value: '' },
27
+ { label: 'Voided Check', value: 'voided_check' },
28
+ { label: 'Bank Statement', value: 'bank_statement' },
29
+ ];
30
+ const financialDocumentOptionsCAN = [
31
+ { label: 'Select a document type', value: '' },
32
+ { label: 'Voided Check', value: 'voided_check' },
33
+ { label: 'Bank Letter', value: 'bank_statement' },
34
+ ];
35
+ const personalDocGroup1Options = [
36
+ { label: 'Select a document type', value: '' },
37
+ { label: 'Canadian Passport', value: 'passport' },
38
+ { label: 'Canadian Driver\'s License', value: 'driver_license' },
39
+ { label: 'Canadian Government Issued ID Card', value: 'government_id' },
40
+ { label: 'Permanent Resident Card', value: 'resident_card' },
41
+ { label: 'Certificate of Indian Status', value: 'status_card' },
42
+ { label: 'US State Issued Driver\'s License', value: 'driver_license' },
43
+ ];
44
+ const personalDocGroup2Options = [
45
+ { label: 'Select a document type', value: '' },
46
+ { label: 'Nexus Card (Photo ID)', value: 'nexus_card' },
47
+ { label: 'Canadian Citizenship/Naturalization Card or Certificate', value: 'citizenship_card' },
48
+ { label: 'Foreign Passport', value: 'foreign_passport' },
49
+ { label: 'Canadian Birth Certificate', value: 'birth_certificate' },
50
+ { label: 'Social Insurance Number (SIN) Card', value: 'sin_card' },
51
+ { label: 'Social Security Number (SSN) Card', value: 'ssn_card' },
52
+ ];
53
+ function buildStaticCategories(country) {
54
+ const financialOptions = country === CountryCode.CAN
55
+ ? financialDocumentOptionsCAN
56
+ : financialDocumentOptions;
57
+ return [
58
+ {
59
+ label: 'Business Document',
60
+ value: 'business_document',
61
+ docTypeOptions: businessDocumentOptions,
62
+ },
63
+ {
64
+ label: 'Financial Document',
65
+ value: 'financial_document',
66
+ docTypeOptions: financialOptions,
67
+ },
68
+ ];
69
+ }
70
+ function buildPersonalDocumentCategories() {
71
+ return [
72
+ {
73
+ label: 'Identity Document - Group 1',
74
+ value: 'personal_group1',
75
+ docTypeOptions: personalDocGroup1Options,
76
+ },
77
+ {
78
+ label: 'Identity Document - Group 2',
79
+ value: 'personal_group2',
80
+ docTypeOptions: personalDocGroup2Options,
81
+ },
82
+ ];
83
+ }
84
+ const financialOnlyCategories = [
85
+ {
86
+ label: 'Financial Document',
87
+ value: 'financial_document',
88
+ docTypeOptions: financialDocumentOptions,
89
+ },
90
+ ];
91
+ function buildAllCategories(country) {
92
+ if (country === CountryCode.USA) {
93
+ return financialOnlyCategories;
94
+ }
95
+ return [...buildStaticCategories(country), ...buildPersonalDocumentCategories()];
96
+ }
97
+ const personalDocGroup1Types = new Set(personalDocGroup1Options.filter(o => o.value).map(o => o.value));
98
+ const personalDocGroup2Types = new Set(personalDocGroup2Options.filter(o => o.value).map(o => o.value));
99
+
100
+ const DocumentUploadFormStep = /*@__PURE__*/ proxyCustomElement(class DocumentUploadFormStep extends HTMLElement {
101
+ constructor(registerHost) {
102
+ super();
103
+ if (registerHost !== false) {
104
+ this.__registerHost();
105
+ }
106
+ this.errorEvent = createEvent(this, "error-event", 7);
107
+ this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
108
+ this.formLoading = createEvent(this, "formLoading", 7);
109
+ this.owners = [];
110
+ this.existingDocuments = [];
111
+ this.selectedCategory = '';
112
+ this.selectedDocType = '';
113
+ this.uploadQueue = [];
114
+ this.isLoading = false;
115
+ this.errors = {};
116
+ this.fileInputKey = 0;
117
+ this.categories = [];
118
+ this.getData = () => {
119
+ this.isLoading = true;
120
+ this.getBusiness({
121
+ onSuccess: (response) => {
122
+ const { owners, documents } = response.data;
123
+ this.owners = owners || [];
124
+ this.existingDocuments = documents || [];
125
+ this.categories = buildAllCategories(this.country);
126
+ },
127
+ onError: ({ error, code, severity }) => {
128
+ this.errorEvent.emit({
129
+ message: error,
130
+ errorCode: code,
131
+ severity: severity,
132
+ });
133
+ },
134
+ final: () => {
135
+ this.isLoading = false;
136
+ }
137
+ });
138
+ };
139
+ this.handleCategoryChange = (_name, value) => {
140
+ this.selectedCategory = value;
141
+ this.selectedDocType = '';
142
+ };
143
+ this.handleDocTypeChange = (_name, value) => {
144
+ if (value.startsWith('_') && value.endsWith('_header'))
145
+ return;
146
+ this.selectedDocType = value;
147
+ };
148
+ this.handleFileSelected = async (e) => {
149
+ const fileList = Array.from(e.detail.fileList);
150
+ const category = this.categories.find(c => c.value === this.selectedCategory);
151
+ if (!category)
152
+ return;
153
+ const docTypeOption = category.docTypeOptions.find(o => o.value === this.selectedDocType);
154
+ const docTypeLabel = (docTypeOption === null || docTypeOption === void 0 ? void 0 : docTypeOption.label) || this.selectedDocType;
155
+ const newEntries = fileList.map(file => ({
156
+ categoryLabel: category.label,
157
+ categoryValue: category.value,
158
+ docTypeLabel,
159
+ docTypeValue: this.selectedDocType,
160
+ fileName: file.name,
161
+ file,
162
+ status: 'uploading',
163
+ }));
164
+ const startIndex = this.uploadQueue.length;
165
+ this.uploadQueue = [...this.uploadQueue, ...newEntries];
166
+ this.selectedCategory = '';
167
+ this.selectedDocType = '';
168
+ this.fileInputKey++;
169
+ await Promise.all(newEntries.map(async (entry, i) => {
170
+ const index = startIndex + i;
171
+ try {
172
+ const docData = new EntityDocument({ file: entry.file, document_type: entry.docTypeValue }, this.businessId);
173
+ const recordCreated = await this.postDocumentRecordData(docData);
174
+ if (!recordCreated) {
175
+ this.uploadQueue = this.uploadQueue.map((e, j) => j === index ? Object.assign(Object.assign({}, e), { status: 'error' }) : e);
176
+ return;
177
+ }
178
+ const uploaded = await this.uploadDocument(docData);
179
+ this.uploadQueue = this.uploadQueue.map((e, j) => j === index ? Object.assign(Object.assign({}, e), { status: uploaded ? 'uploaded' : 'error' }) : e);
180
+ }
181
+ catch (_a) {
182
+ this.uploadQueue = this.uploadQueue.map((e, j) => j === index ? Object.assign(Object.assign({}, e), { status: 'error' }) : e);
183
+ }
184
+ }));
185
+ };
186
+ this.postDocumentRecordData = async (docData) => {
187
+ const payload = docData.record_data;
188
+ return new Promise((resolve) => {
189
+ this.postDocumentRecord({
190
+ payload,
191
+ onSuccess: (response) => {
192
+ resolve(this.handleDocRecordResponse(docData, response));
193
+ },
194
+ onError: ({ error, code, severity }) => {
195
+ this.errorEvent.emit({
196
+ message: error,
197
+ errorCode: code,
198
+ severity: severity,
199
+ });
200
+ resolve(false);
201
+ },
202
+ });
203
+ });
204
+ };
205
+ this.handleDocRecordResponse = (docData, response) => {
206
+ if (response.error) {
207
+ this.errorEvent.emit({
208
+ errorCode: ComponentErrorCodes.POST_ERROR,
209
+ message: response.error.message,
210
+ severity: ComponentErrorSeverity.ERROR,
211
+ data: response.error,
212
+ });
213
+ return false;
214
+ }
215
+ else {
216
+ docData.setPresignedUrl(response.data.presigned_url);
217
+ return true;
218
+ }
219
+ };
220
+ this.uploadDocument = async (docData) => {
221
+ if (!docData.presigned_url) {
222
+ throw new Error('Presigned URL is not set');
223
+ }
224
+ const fileData = await docData.getFileData();
225
+ const response = await fetch(docData.presigned_url, {
226
+ method: 'PUT',
227
+ body: fileData,
228
+ });
229
+ if (!response.ok) {
230
+ this.errorEvent.emit({
231
+ errorCode: ComponentErrorCodes.POST_ERROR,
232
+ message: 'Failed to upload document',
233
+ severity: ComponentErrorSeverity.ERROR,
234
+ });
235
+ return false;
236
+ }
237
+ return true;
238
+ };
239
+ }
240
+ propChanged() {
241
+ this.initializeApi();
242
+ }
243
+ watchHandler(newValue) {
244
+ this.formLoading.emit(newValue);
245
+ }
246
+ async validateAndSubmit({ onSuccess }) {
247
+ const validationErrors = this.validate();
248
+ if (Object.keys(validationErrors).length > 0) {
249
+ this.errors = validationErrors;
250
+ return;
251
+ }
252
+ this.errors = {};
253
+ this.stepCompleteEvent.emit({ response: null, formStep: BusinessFormStep.documentUpload });
254
+ onSuccess();
255
+ }
256
+ componentWillLoad() {
257
+ this.initializeApi();
258
+ if (this.getBusiness) {
259
+ this.getData();
260
+ }
261
+ }
262
+ initializeApi() {
263
+ if (this.authToken && this.businessId) {
264
+ this.getBusiness = makeGetBusiness({
265
+ authToken: this.authToken,
266
+ businessId: this.businessId,
267
+ service: new BusinessService()
268
+ });
269
+ this.postDocumentRecord = makePostDocumentRecord({
270
+ authToken: this.authToken,
271
+ service: new DocumentRecordService()
272
+ });
273
+ }
274
+ else {
275
+ this.errorEvent.emit({
276
+ message: 'Missing required props',
277
+ errorCode: ComponentErrorCodes.MISSING_PROPS,
278
+ severity: ComponentErrorSeverity.ERROR,
279
+ });
280
+ }
281
+ }
282
+ get categoryOptions() {
283
+ return [
284
+ { label: 'Select a category', value: '' },
285
+ ...this.categories.map(c => ({ label: c.label, value: c.value })),
286
+ ];
287
+ }
288
+ get docTypeOptions() {
289
+ if (!this.selectedCategory) {
290
+ return [{ label: 'Select a category first', value: '' }];
291
+ }
292
+ const category = this.categories.find(c => c.value === this.selectedCategory);
293
+ return (category === null || category === void 0 ? void 0 : category.docTypeOptions) || [{ label: 'Select a category first', value: '' }];
294
+ }
295
+ validate() {
296
+ if (this.allowOptionalFields)
297
+ return {};
298
+ const errors = {};
299
+ const financialDocTypes = ['voided_check', 'bank_statement'];
300
+ const hasExistingDoc = (types) => this.existingDocuments.some(doc => types.includes(doc.document_type));
301
+ const hasUploadedDoc = (categoryValue) => this.uploadQueue.some(entry => entry.categoryValue === categoryValue && entry.status === 'uploaded');
302
+ if (!hasUploadedDoc('financial_document') && !hasExistingDoc(financialDocTypes)) {
303
+ errors['financial_document'] = 'Please upload a financial document';
304
+ }
305
+ if (this.country === CountryCode.CAN) {
306
+ const businessDocTypes = ['articles_of_incorporation', 'business_registration'];
307
+ if (!hasUploadedDoc('business_document') && !hasExistingDoc(businessDocTypes)) {
308
+ errors['business_document'] = 'Please upload a business document';
309
+ }
310
+ const requiredCount = this.owners.length;
311
+ const group1Uploaded = this.uploadQueue.filter(entry => entry.categoryValue === 'personal_group1' && entry.status === 'uploaded').length;
312
+ const group1Existing = this.existingDocuments.filter(doc => personalDocGroup1Types.has(doc.document_type)).length;
313
+ if (group1Uploaded + group1Existing < requiredCount) {
314
+ errors['personal_group1'] =
315
+ `Please upload ${requiredCount} Group 1 identity document(s) (${group1Uploaded + group1Existing} of ${requiredCount} provided)`;
316
+ }
317
+ const group2Uploaded = this.uploadQueue.filter(entry => entry.categoryValue === 'personal_group2' && entry.status === 'uploaded').length;
318
+ const group2Existing = this.existingDocuments.filter(doc => personalDocGroup2Types.has(doc.document_type)).length;
319
+ if (group2Uploaded + group2Existing < requiredCount) {
320
+ errors['personal_group2'] =
321
+ `Please upload ${requiredCount} Group 2 identity document(s) (${group2Uploaded + group2Existing} of ${requiredCount} provided)`;
322
+ }
323
+ }
324
+ return errors;
325
+ }
326
+ render() {
327
+ if (this.isLoading) {
328
+ return h(PaymentProvisioningLoading, null);
329
+ }
330
+ return (h("form", null, h("fieldset", null, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading })), this.country === CountryCode.CAN && this.owners.length > 0 && (h("div", { class: "alert alert-info mt-3" }, "One document from each group (Group 1 and Group 2) is required for each owner (", this.owners.length, " owner(s)).")), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Add Document"), h("form-control-tooltip", { helpText: "Upload documents one at a time. Select the category and type, then choose a file. For Canadian businesses, one Group 1 and one Group 2 identity document is required for each owner." })), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-select", { name: "document_category", label: "Document Category", options: this.categoryOptions, defaultValue: this.selectedCategory, inputHandler: this.handleCategoryChange })), h("div", { class: "col-12 col-md-6" }, h("form-control-select", { name: "document_type", label: "Document Type", options: this.docTypeOptions, defaultValue: this.selectedDocType, inputHandler: this.handleDocTypeChange, disabled: !this.selectedCategory })), h("div", { class: "col-12" }, h("form-control-file", { key: this.fileInputKey, name: "document_file", label: "Upload Document", documentType: this.selectedDocType, onFileSelected: this.handleFileSelected, disabled: !this.selectedDocType, multiple: false })))), h("document-upload-list", { documents: this.uploadQueue }), Object.keys(this.errors).length > 0 && (h("div", { class: "alert alert-danger mt-3" }, h("ul", { class: "mb-0" }, Object.values(this.errors).map(err => h("li", null, err)))))));
331
+ }
332
+ static get watchers() { return {
333
+ "authToken": ["propChanged"],
334
+ "businessId": ["propChanged"],
335
+ "isLoading": ["watchHandler"]
336
+ }; }
337
+ }, [256, "document-upload-form-step", {
338
+ "authToken": [1, "auth-token"],
339
+ "businessId": [1, "business-id"],
340
+ "allowOptionalFields": [4, "allow-optional-fields"],
341
+ "country": [1],
342
+ "owners": [32],
343
+ "existingDocuments": [32],
344
+ "selectedCategory": [32],
345
+ "selectedDocType": [32],
346
+ "uploadQueue": [32],
347
+ "isLoading": [32],
348
+ "errors": [32],
349
+ "fileInputKey": [32],
350
+ "getBusiness": [32],
351
+ "postDocumentRecord": [32],
352
+ "validateAndSubmit": [64]
353
+ }, undefined, {
354
+ "authToken": ["propChanged"],
355
+ "businessId": ["propChanged"],
356
+ "isLoading": ["watchHandler"]
357
+ }]);
358
+ function defineCustomElement() {
359
+ if (typeof customElements === "undefined") {
360
+ return;
361
+ }
362
+ const components = ["document-upload-form-step", "business-documents-on-file", "custom-popper", "document-upload-list", "form-control-file", "form-control-select", "form-control-tooltip"];
363
+ components.forEach(tagName => { switch (tagName) {
364
+ case "document-upload-form-step":
365
+ if (!customElements.get(tagName)) {
366
+ customElements.define(tagName, DocumentUploadFormStep);
367
+ }
368
+ break;
369
+ case "business-documents-on-file":
370
+ if (!customElements.get(tagName)) {
371
+ defineCustomElement$6();
372
+ }
373
+ break;
374
+ case "custom-popper":
375
+ if (!customElements.get(tagName)) {
376
+ defineCustomElement$5();
377
+ }
378
+ break;
379
+ case "document-upload-list":
380
+ if (!customElements.get(tagName)) {
381
+ defineCustomElement$4();
382
+ }
383
+ break;
384
+ case "form-control-file":
385
+ if (!customElements.get(tagName)) {
386
+ defineCustomElement$3();
387
+ }
388
+ break;
389
+ case "form-control-select":
390
+ if (!customElements.get(tagName)) {
391
+ defineCustomElement$2();
392
+ }
393
+ break;
394
+ case "form-control-tooltip":
395
+ if (!customElements.get(tagName)) {
396
+ defineCustomElement$1();
397
+ }
398
+ break;
399
+ } });
400
+ }
401
+ defineCustomElement();
402
+
403
+ export { DocumentUploadFormStep as D, defineCustomElement as d };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface DocumentUploadList extends Components.DocumentUploadList, HTMLElement {}
4
+ export const DocumentUploadList: {
5
+ prototype: DocumentUploadList;
6
+ new (): DocumentUploadList;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { D as DocumentUploadList$1, d as defineCustomElement$1 } from './document-upload-list2.js';
2
+
3
+ const DocumentUploadList = DocumentUploadList$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { DocumentUploadList, defineCustomElement };
@@ -0,0 +1,46 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { B as card, h as heading2, C as table, D as tableHeadCell, E as tableCell } from './parts.js';
3
+
4
+ const DocumentUploadList = /*@__PURE__*/ proxyCustomElement(class DocumentUploadList extends HTMLElement {
5
+ constructor(registerHost) {
6
+ super();
7
+ if (registerHost !== false) {
8
+ this.__registerHost();
9
+ }
10
+ this.documents = [];
11
+ }
12
+ renderStatus(status) {
13
+ switch (status) {
14
+ case 'uploading':
15
+ return h("span", { class: "badge bg-info" }, "Uploading...");
16
+ case 'uploaded':
17
+ return h("span", { class: "badge bg-success" }, "Uploaded");
18
+ case 'error':
19
+ return h("span", { class: "badge bg-danger" }, "Error");
20
+ }
21
+ }
22
+ render() {
23
+ if (!this.documents.length) {
24
+ return null;
25
+ }
26
+ return (h("div", { class: "mt-4" }, h("div", { class: "card", part: card }, h("div", { class: "card-body" }, h("h5", { class: "card-title", part: heading2 }, "Uploaded Documents"), h("div", { class: "table-responsive" }, h("table", { class: "table table-sm table-borderless", part: table }, h("thead", null, h("tr", null, h("th", { style: { width: '25%' }, part: tableHeadCell, scope: "col" }, "Category"), h("th", { style: { width: '25%' }, part: tableHeadCell, scope: "col" }, "Document Type"), h("th", { style: { width: '30%' }, part: tableHeadCell, scope: "col" }, "File Name"), h("th", { style: { width: '20%' }, part: tableHeadCell, scope: "col" }, "Status"))), h("tbody", null, this.documents.map((doc, index) => (h("tr", { class: index === 0 ? 'border-bottom border-top' : 'border-bottom' }, h("td", { part: tableCell }, doc.categoryLabel), h("td", { part: tableCell }, doc.docTypeLabel), h("td", { part: tableCell }, doc.fileName), h("td", { part: tableCell }, this.renderStatus(doc.status))))))))))));
27
+ }
28
+ }, [256, "document-upload-list", {
29
+ "documents": [16]
30
+ }]);
31
+ function defineCustomElement() {
32
+ if (typeof customElements === "undefined") {
33
+ return;
34
+ }
35
+ const components = ["document-upload-list"];
36
+ components.forEach(tagName => { switch (tagName) {
37
+ case "document-upload-list":
38
+ if (!customElements.get(tagName)) {
39
+ customElements.define(tagName, DocumentUploadList);
40
+ }
41
+ break;
42
+ } });
43
+ }
44
+ defineCustomElement();
45
+
46
+ export { DocumentUploadList as D, defineCustomElement as d };
@@ -42,7 +42,7 @@ const DuplicateCharge = /*@__PURE__*/ proxyCustomElement(class DuplicateCharge e
42
42
  }
43
43
  render() {
44
44
  var _a, _b, _c;
45
- return (h("div", { key: '4bd4aad3fbdaac994ee97aa1421a6f380657cfee' }, h("div", { key: '53548ff2b4bb09c2b1d078b2657127802422558a', class: "row gy-3" }, h("div", { key: '25658729932e2eb1d0706bd83106a92976e09b91', class: "col-12" }, h("h2", { key: '885bf37ba0a013397d4fef68683b24e9e8e1bed6', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '2f38e6451c2d982900729639994977b8ef8f8c04', class: "col-12" }, h("form-control-text", { key: '8cf20ffcd748bee860c1c8a52326a265bbe32696', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'e61d85188051830d2e674cfc39dab73ada597c66', class: "col-12" }, h("form-control-textarea", { key: '762f300d71a99a31030ed052299129ae8457ad4c', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'c5a1d7368132ba063d080ec7d071bd9131381ad2', class: "col-12" }, h("form-control-file-v2", { key: '3bd9928e8a212e1665d446cb31ae9e02d6645437', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
45
+ return (h("div", { key: 'ec4cfa15f2830ec56dfd9184728c1badeb9e1dfd' }, h("div", { key: '0e107461e759478735aecabea93baf060169dd14', class: "row gy-3" }, h("div", { key: '22b9223c3e92d2183d65d9125a3ebefd341c140f', class: "col-12" }, h("h2", { key: 'cf386e687b18a4f232b935a847270d8ad463db32', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'dd8cc52b7b6cfe955a09e29c145f70761db87068', class: "col-12" }, h("form-control-text", { key: 'ff024fd4e90adc3a991036eb535258bad98ab199', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '0df77b3c8d8a8a777c8258cd0ca075df73552ee4', class: "col-12" }, h("form-control-textarea", { key: '27bfe00c3bdab393b35f3ca26360db65f487d789', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '8420318e367111cb73c1235c363973d7f34aa25c', class: "col-12" }, h("form-control-file-v2", { key: '71717a0c8d02e2c8198b365f61b1a6727a619e6b', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
46
46
  }
47
47
  }, [256, "duplicate-charge", {
48
48
  "disputeResponse": [8, "dispute-response"],
@@ -39,7 +39,7 @@ const ElectronicEvidence = /*@__PURE__*/ proxyCustomElement(class ElectronicEvid
39
39
  }
40
40
  render() {
41
41
  var _a, _b;
42
- return (h("div", { key: '00fa5deacbf19befd07d7d8764db8e3474377d5a' }, h("div", { key: 'be3d0b6775e78352bdaf4d0e739da61444fae572', class: "row gy-3" }, h("div", { key: 'e55a58628d1baad34be38d5d21598c6a372dd3c3', class: "col-12" }, h("h2", { key: '463ec945a9cc0e46350b13c774b634ef25bde2e9', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '5576a4d1b32a0c2d2d4341bf591721aed6fcf6a4', class: "col-12" }, h("form-control-text", { key: '9f64b68724ba8b2bdf435b02077fd362f8fe1ab1', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: 'e5b2635ede15e41e9e686ab338448d3c2fdf8166', class: "col-12" }, h("form-control-file-v2", { key: '5137a992c79a1ccfcb8f3a114d1a12823b597dd2', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
42
+ return (h("div", { key: 'cf4615613589be984c7d5b6b50f0b5239895d81d' }, h("div", { key: '1f96c50146d009cc4d0d0ccbee41c31144e7f746', class: "row gy-3" }, h("div", { key: '3a671ff5c959efaee8dc57dda073de113489f0a6', class: "col-12" }, h("h2", { key: '3b73879b357d3465c6c76b27db17b6dbdce7c538', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '35c0ff43bc1dcdba8916b51da636347395c98901', class: "col-12" }, h("form-control-text", { key: 'cdabf70034babf41ba227f66936f8b340f104ca3', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: 'd9920bf1548e14c6adadbc63dc41a1a90cc1a3cc', class: "col-12" }, h("form-control-file-v2", { key: '8eec5b79872eeeda77702d9f4cc9003a627e6682', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
43
43
  }
44
44
  }, [256, "electronic-evidence", {
45
45
  "disputeResponse": [8, "dispute-response"],
@@ -31,7 +31,7 @@ const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async (
31
31
  });
32
32
  }
33
33
  finally {
34
- return final();
34
+ final();
35
35
  }
36
36
  };
37
37
  const makeSubmitDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
@@ -60,7 +60,7 @@ const makeSubmitDisputeResponse = ({ authToken, disputeId, service }) => async (
60
60
  });
61
61
  }
62
62
  finally {
63
- return final();
63
+ final();
64
64
  }
65
65
  };
66
66
  const makeCreateDisputeEvidence = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
@@ -89,7 +89,7 @@ const makeCreateDisputeEvidence = ({ authToken, disputeId, service }) => async (
89
89
  });
90
90
  }
91
91
  finally {
92
- return final();
92
+ final();
93
93
  }
94
94
  };
95
95
 
@@ -45,10 +45,10 @@ const FormControlCheckbox = /*@__PURE__*/ proxyCustomElement(class FormControlCh
45
45
  return inputCheckbox;
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: '7072570338fd856d7fdce26552356e0846cf31d8' }, h("div", { key: '51fb25f7caf51efa949be809aa9fed415505eb69', class: 'form-group d-flex flex-column' }, h("div", { key: 'ca8032c14a3aba7f801d1cc10f914c6b61a91335', class: "form-check" }, h("input", { key: 'e1ce9cff2d99fbe2e150bff005e2ecfde68d130e', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
48
+ return (h(Host, { key: 'dc2fdbd7fd92a0205b15e4b302458d8f0d775b35' }, h("div", { key: 'f32f7d5cb559282cece071f3623bdab80998bc04', class: 'form-group d-flex flex-column' }, h("div", { key: '5481439484b97ad733a0051f1722a5c3ed45778d', class: "form-check" }, h("input", { key: '9e96a563e5b0b1a9589dff7eb4f3eb3038d4918b', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
49
49
  this.isFocused = false;
50
50
  this.formControlBlur.emit();
51
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: 'a4073f9981fe4984cf25a9cdb1e2bd33d98688f6', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: 'bf263a490f4ed88d09ffd2da9370b435d4d351e6', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'bb9a2cdaa131158feca523f4ace56519b3a12fce', errorText: this.errorText, name: this.name }))));
51
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '11a27a415d7741d8a29dde8d1fd029c2e143f235', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '3e0ef15182200a48d3cf3142c3511a0ad8095db3', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'e85175ea76f6073d7ee813a3f2d8eaecc044601a', errorText: this.errorText, name: this.name }))));
52
52
  }
53
53
  }, [256, "form-control-checkbox", {
54
54
  "label": [1],
@@ -54,10 +54,10 @@ const FormControlDate = /*@__PURE__*/ proxyCustomElement(class FormControlDate e
54
54
  return part;
55
55
  }
56
56
  render() {
57
- return (h(Host, { key: 'c17bdb1266aea8cf2d50c1ef75e4a059d743ab2c' }, h("div", { key: 'e33d45227ed65daca2f75563fd2dd51f45126313', class: "form-group d-flex flex-column" }, h("div", { key: 'f02592b5c5a9c6346b5a0cacc08f45b971fcd370', class: "d-flex gap-2" }, h("label", { key: '30c32d5e351df78b68ea249b5626c9ee247569d4', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '250d51c080fbd42a421f23d9a2b23735f6491773', helpText: this.helpText })), h("input", { key: 'f401b594d91d353f1d1fff7e431f9b010fc86fc9', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
57
+ return (h(Host, { key: 'a7bf2b14b5b1d29ea4ae370c440d9fbeac550ca4' }, h("div", { key: 'bdb2162f367f5fdec34fae2d8732d084958246da', class: "form-group d-flex flex-column" }, h("div", { key: 'eb9483d77d8f1d1effd3278b83e4540b6017ee4c', class: "d-flex gap-2" }, h("label", { key: '2947a82052e88c4bb44d9d32e409d7a39baf157f', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'edfbc6ddb02cb5d70abd0867f8da8bab860ba598', helpText: this.helpText })), h("input", { key: '2a2d8d464e330ae2ba56f76dadede59c180cdcb6', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
58
58
  this.isFocused = false;
59
59
  this.formControlBlur.emit();
60
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '5be9326874e8370b54399ec78f46dd16a62272cf', errorText: this.errorText, name: this.name }))));
60
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '8837370dd05097b6d43489855ac87eff8270ae25', errorText: this.errorText, name: this.name }))));
61
61
  }
62
62
  static get watchers() { return {
63
63
  "defaultValue": ["handleDefaultValueChange"]
@@ -16,7 +16,7 @@ const FormControlFileV2 = /*@__PURE__*/ proxyCustomElement(class FormControlFile
16
16
  this.disabled = false;
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '5df12f5dc87f1c7d5b18676a9d4a7b257719b2fa', exportparts: "label,input,input-invalid" }, h("div", { key: '57b02e11bd44c405635a2f6253637b288bafdd41', class: "form-group d-flex flex-column" }, h("div", { key: 'd62f4ae4183e33af3105d76d0180ebe0f54983e5', class: "d-flex align-items-start gap-2" }, h("label", { key: '82d8b58d0147f4fc6302c3852a44a73d9fcf34e0', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'ec4e21a9d4105b751b099378ce49c55a95ef36b2', helpText: this.helpText })), h("input", { key: '332527088f01b11bb06af38c73f39d3040d925b7', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: 'd7caedcf4b1263e3c133310312374bc6d61b82c2', errorText: this.errorText, name: this.name }))));
19
+ return (h(Host, { key: '52fee4080e9475313f4043c1a1e116d07881fd72', exportparts: "label,input,input-invalid" }, h("div", { key: 'efe6ee7fae0693fad8086e7849fdc03a01525368', class: "form-group d-flex flex-column" }, h("div", { key: 'dd224535e329aa82cc86be2f32f40b4a8904e1bc', class: "d-flex align-items-start gap-2" }, h("label", { key: '6cee04c50d6eaba123d00ee5ffdad036e46bbf7d', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '30e545c71fa6a5e4eac985ea6073dc5b2ab78629', helpText: this.helpText })), h("input", { key: '3ba7425da1d80314acdd0050c90aa8a795473584', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '9ad4526e2937d98d555b325e60d20dc7305ee786', errorText: this.errorText, name: this.name }))));
20
20
  }
21
21
  get el() { return this; }
22
22
  }, [256, "form-control-file-v2", {
@@ -53,10 +53,10 @@ const FormControlFile = /*@__PURE__*/ proxyCustomElement(class FormControlFile e
53
53
  return part;
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '1f5c8bdc73c664cf40acb4f5b61db454bbda36a0' }, h("div", { key: '77f0007875132d26dd8df91dfb53386da9e15ce4', class: "form-group d-flex flex-column" }, h("div", { key: 'a6885165580120dbaffaedf60edf2e2cc9883a9f', class: "d-flex align-items-start gap-2" }, h("label", { key: '489b6d49a60f8339722537084f64746e5625297d', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fc581e32bfb8935e79648c0a670bcb26bf225fe4', helpText: this.helpText })), h("input", { key: '34ddfe0796848feadcd6249ed861c5fa623840d4', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
56
+ return (h(Host, { key: '9463f54c8850245de8d3ae92a45447fe8d2ce329' }, h("div", { key: 'fec5946a226ef5c270514e6b1f8a95de60d6bcb0', class: "form-group d-flex flex-column" }, h("div", { key: '95783cbeab704b1b970af6619191667991814e73', class: "d-flex align-items-start gap-2" }, h("label", { key: 'c258720ecba808fcf18d3408569b4e391ca0e31f', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '280b23806bc9616506eb56025318b5c6fe395762', helpText: this.helpText })), h("input", { key: '2fcdd1ad6c923de9b28587ee3d1349d0fdf021eb', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
57
57
  this.isFocused = false;
58
58
  this.formControlBlur.emit();
59
- } }), h(FormControlErrorText, { key: '4a0c1869b8b19a01273d8f1ca3f3cd92134ddb58', errorText: this.errorText, name: this.name }))));
59
+ } }), h(FormControlErrorText, { key: 'df64bb1a0ac921da01fa8a4c3b63a8f5880781d2', errorText: this.errorText, name: this.name }))));
60
60
  }
61
61
  get el() { return this; }
62
62
  }, [256, "form-control-file", {
@@ -53,10 +53,10 @@ const FormControlMonetary = /*@__PURE__*/ proxyCustomElement(class FormControlMo
53
53
  return input;
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: 'c91bf2d63e4cd717dfc472f5b16dac9c3e9fdd69' }, h("div", { key: '8f1eaae0f9dfbcc97adf788a5b955824dc68dbd2', class: "form-group d-flex flex-column" }, h("label", { key: '1965936a9e14612fdb8aec07e0def943e1e1344a', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: 'dd517aee7a39c71c1fe98b6c53a4528c9d3826d5', name: this.name, helpText: this.helpText }), h("div", { key: 'bb62ed9e6c9db38f39581d7f86483a242330c295', class: "input-group" }, h("span", { key: '5a358beea95c1eed695b8ca5e5f9a7a82b0864b1', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: '5c37a1edb6a229634536c2c7ad4cb4c2cfff211b', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
56
+ return (h(Host, { key: '6b13b9d4871571ab80480c044b813f70db17a85b' }, h("div", { key: 'de33d4a9dc8c5b5048c8b95d9c860433cb488c7c', class: "form-group d-flex flex-column" }, h("label", { key: 'e243e257c45018233a948c880e4fb15676f1b776', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: 'c490aa1db17d5a181666631cd95c509dbb32aece', name: this.name, helpText: this.helpText }), h("div", { key: '69dd679301294e3c6a31ce0b880ec291ee6cf23e', class: "input-group" }, h("span", { key: '71ed3716a7ea67933950b2140db4552799968193', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: 'a1ddad4f875b56fde2d1a0054dd2cfe0c3797e0d', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
57
57
  this.isFocused = false;
58
58
  this.formControlBlur.emit();
59
- }, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '5cb05fe585766d5f037c33d86485a6002894c781', errorText: this.errorText, name: this.name }))));
59
+ }, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '6bce010df58a187981efcad682cdc54150422bd6', errorText: this.errorText, name: this.name }))));
60
60
  }
61
61
  static get watchers() { return {
62
62
  "defaultValue": ["handleDefaultValueChange"]
@@ -75,10 +75,10 @@ const FormControlNumberMasked = /*@__PURE__*/ proxyCustomElement(class FormContr
75
75
  return input;
76
76
  }
77
77
  render() {
78
- return (h(Host, { key: 'c70d3fcce4d3e1e120008b03a708bb3d1038777b' }, h("div", { key: 'fc3c3cf5637121a7c6f662649a1b3910ec503afa', class: "form-group d-flex flex-column" }, h("div", { key: 'c06e87a0d72942e421c37ab406b7f71d4e7f2c54', class: "d-flex align-items-start gap-2" }, h("label", { key: 'eedeec0161e3085cd65ea08b3fb4517ff62c6ffc', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '9fb05bd91836ca51750f30a714a7940493bfad8b', helpText: this.helpText })), h("input", { key: 'ef12caf83b42b0de0c33ece690bdd927b9b9a02c', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
78
+ return (h(Host, { key: '0ff6ce9901d9e804d1b82f9e8830a6d2a4cab67f' }, h("div", { key: '1846069b3d0682c1c1059a9a6192610dc6ac7e66', class: "form-group d-flex flex-column" }, h("div", { key: '2739a42086660392c2c508c37cdb387303efe592', class: "d-flex align-items-start gap-2" }, h("label", { key: 'e2e8149f7284cdfc0548131afa0c0a1d8f2e9385', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'ed0552645fd9929fa10ccd56dae495f27283c168', helpText: this.helpText })), h("input", { key: '1f52622e4724ac43f8b430f4742b6f9ed0a5ccf6', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
79
79
  this.isFocused = false;
80
80
  this.formControlBlur.emit();
81
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '8791f48bed5d6508b7cccad7bba8da7d65f96ffc', errorText: this.errorText, name: this.name }))));
81
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '2cce6d31bf2ff20a8c32e1e3d28e1cb8040b192b', errorText: this.errorText, name: this.name }))));
82
82
  }
83
83
  static get watchers() { return {
84
84
  "defaultValue": ["handleDefaultValueChange"]