@justifi/webcomponents 6.12.3 → 6.12.5

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 (606) hide show
  1. package/dist/cjs/{Analytics-DcqsdFaD.js → Analytics-CITnMj7H.js} +4 -5
  2. package/dist/cjs/{Plaid-BlSGeGpn.js → Plaid-BRSyOOuw.js} +60 -4
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  4. package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +154 -21
  5. package/dist/cjs/additional-questions_5.cjs.entry.js +1 -1
  6. package/dist/cjs/{justifi-additional-statement_8.cjs.entry.js → additional-statement_8.cjs.entry.js} +24 -24
  7. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +5 -5
  8. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  9. package/dist/cjs/{business-identity-schema-DWWtSiUF.js → business-identity-schema-DuFGX6_i.js} +68 -1
  10. package/dist/cjs/{business.service-BheJs82v.js → business.service-Z9OACEQL.js} +1 -2
  11. package/dist/cjs/card-form.cjs.entry.js +2 -2
  12. package/dist/cjs/{check-pkg-version-DFTQGZz1.js → check-pkg-version-CZMgXZID.js} +1 -1
  13. package/dist/cjs/{checkout.service-DZKdHQQq.js → checkout.service-BZOyqXgW.js} +1 -2
  14. package/dist/cjs/{country-config-D7fss2oF.js → country-config-aJp8ScEs.js} +1 -0
  15. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  16. package/dist/cjs/{justifi-dispute-notification_3.cjs.entry.js → dispute-notification_2.cjs.entry.js} +67 -90
  17. package/dist/cjs/{event-types-BWQT2lwu.js → event-types-AU1B76Vm.js} +30 -0
  18. package/dist/cjs/form-address-fields_3.cjs.entry.js +3 -3
  19. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  21. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  22. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  23. package/dist/cjs/form-control-number_2.cjs.entry.js +89 -0
  24. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  25. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  26. package/dist/cjs/{get-business-TFzhaBXn.js → get-business-aR-C83KX.js} +2 -2
  27. package/dist/cjs/{get-payment-details-DL5FmIyF.js → get-payment-details-dwhA02Zl.js} +2 -3
  28. package/dist/cjs/{get-subaccounts-CVK4O7th.js → get-subaccounts-B1jmSa2d.js} +2 -3
  29. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  30. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  31. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +12 -13
  32. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -6
  33. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -6
  34. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  35. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
  36. package/dist/cjs/justifi-business-form.cjs.entry.js +12 -14
  37. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-card-form.cjs.entry.js +5 -6
  39. package/dist/cjs/justifi-checkout.cjs.entry.js +4 -5
  40. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -4
  41. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +190 -27
  42. package/dist/cjs/justifi-dispute-management.cjs.entry.js +65 -18
  43. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11071 -23
  44. package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -10
  45. package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -17
  46. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  47. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
  48. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  49. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
  50. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -11
  51. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
  52. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -4
  53. package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -10
  54. package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -8
  55. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -6
  56. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  57. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -5
  58. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +178 -24
  59. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
  60. package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
  61. package/dist/cjs/loader.cjs.js +1 -1
  62. package/dist/cjs/{package-bM0MyhTf.js → package-DOiqjXmm.js} +1 -1
  63. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  64. package/dist/cjs/{payment-provisioning-actions-BO7dzIm1.js → payment-provisioning-actions-BiSpysjW.js} +2 -2
  65. package/dist/cjs/{payment.service-sZKlg2Jq.js → payment.service-ByrgA_QZ.js} +1 -2
  66. package/dist/cjs/{payout.service-BcQVsMCS.js → payout.service-CnQm_BpU.js} +1 -2
  67. package/dist/cjs/{payouts-status-CwgOMz-S.js → payouts-status-AuS3Mp0V.js} +2 -2
  68. package/dist/cjs/{plaid.service-BcgO2VXC.js → plaid.service-Dlb8EUR8.js} +1 -2
  69. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  70. package/dist/cjs/{schema-validations-_yWWnnaG.js → schema-validations-DNPcvDh5.js} +13 -2
  71. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  73. package/dist/cjs/{terminal.service-CjMMWSh3.js → terminal.service-BdwHQ3Vv.js} +1 -2
  74. package/dist/cjs/{utils-DbTucCTO.js → utils-FVGp6se3.js} +1 -1
  75. package/dist/cjs/webcomponents.cjs.js +1 -1
  76. package/dist/collection/api/Analytics.js +2 -2
  77. package/dist/collection/api/Terminal.js +1 -1
  78. package/dist/collection/collection-manifest.json +10 -16
  79. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  80. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
  81. package/dist/collection/components/business-forms/owner-form/owner-form.js +226 -12
  82. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -0
  83. package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -2
  84. package/dist/collection/components/checkout/billing-form/billing-form-full.js +2 -2
  85. package/dist/collection/components/checkout/billing-form/billing-form-schema.js +1 -1
  86. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  87. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +166 -16
  88. package/dist/collection/components/dispute-management/{justifi-dispute-notification.js → dispute-notification.js} +5 -6
  89. package/dist/collection/components/dispute-management/dispute-response/{justifi-additional-statement.js → additional-statement.js} +3 -3
  90. package/dist/collection/components/dispute-management/dispute-response/{justifi-cancellation-policy.js → cancellation-policy.js} +3 -3
  91. package/dist/collection/components/dispute-management/dispute-response/{justifi-customer-details.js → customer-details.js} +3 -3
  92. package/dist/collection/components/dispute-management/dispute-response/{dispute-response-core.js → dispute-response.js} +105 -77
  93. package/dist/collection/components/dispute-management/dispute-response/{justifi-duplicate-charge.js → duplicate-charge.js} +3 -3
  94. package/dist/collection/components/dispute-management/dispute-response/{justifi-electronic-evidence.js → electronic-evidence.js} +3 -3
  95. package/dist/collection/components/dispute-management/dispute-response/{justifi-product-or-service.js → product-or-service.js} +3 -3
  96. package/dist/collection/components/dispute-management/dispute-response/{justifi-refund-policy.js → refund-policy.js} +3 -3
  97. package/dist/collection/components/dispute-management/dispute-response/{justifi-shipping-details.js → shipping-details.js} +3 -3
  98. package/dist/collection/components/dispute-management/justifi-dispute-management.js +78 -11
  99. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  100. package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +79 -15
  101. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +1 -1
  102. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
  103. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
  104. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  105. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  106. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
  107. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  108. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  109. package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
  110. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  111. package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
  112. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
  113. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  114. package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
  115. package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
  116. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
  117. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  118. package/dist/collection/components/payouts-list/justifi-payouts-list.js +1 -1
  119. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  120. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +134 -10
  121. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  122. package/dist/collection/components/terminals-list/justifi-terminals-list.js +1 -1
  123. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
  124. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  125. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  126. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  127. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  128. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  129. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  130. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  131. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  132. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  133. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  134. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  135. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  136. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  137. package/dist/collection/ui-components/internal-button.js +1 -1
  138. package/dist/collection/ui-components/radio-list-item.js +1 -1
  139. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  140. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  141. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  142. package/dist/collection/utils/checkout-billing-state-options.js +12 -0
  143. package/dist/docs.json +5763 -6945
  144. package/dist/esm/{Analytics-Cyc3ZLPx.js → Analytics-Cg17Xhj_.js} +4 -5
  145. package/dist/esm/{Plaid-BuKEVgbB.js → Plaid-l6nNIjab.js} +58 -3
  146. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  147. package/dist/esm/additional-questions-form-step_14.entry.js +156 -23
  148. package/dist/esm/additional-questions_5.entry.js +2 -2
  149. package/dist/esm/{justifi-additional-statement_8.entry.js → additional-statement_8.entry.js} +18 -18
  150. package/dist/esm/{badge-B6dp1XGV.js → badge-Dlcl9qdm.js} +1 -1
  151. package/dist/esm/bank-account-billing-form-simple_4.entry.js +7 -7
  152. package/dist/esm/bank-account-form.entry.js +4 -4
  153. package/dist/esm/bank-account-read-only-value.entry.js +1 -1
  154. package/dist/esm/business-identity-schema-0Q3kck3C.js +163 -0
  155. package/dist/esm/{business.service-BPbZ5fxQ.js → business.service-C31wbMVs.js} +1 -2
  156. package/dist/esm/{button-DRdaAudE.js → button-BvzOzV4l.js} +1 -1
  157. package/dist/esm/card-form.entry.js +4 -4
  158. package/dist/esm/{check-pkg-version-6iGDh82c.js → check-pkg-version-D-rHqtUI.js} +1 -1
  159. package/dist/esm/{checkout.service-CJMfFKyS.js → checkout.service-cVdOGDuI.js} +1 -2
  160. package/dist/esm/{country-config-P042rrI3.js → country-config-CdvhLcnT.js} +1 -1
  161. package/dist/esm/custom-popper_2.entry.js +3 -3
  162. package/dist/esm/{justifi-dispute-notification_3.entry.js → dispute-notification_2.entry.js} +68 -90
  163. package/dist/esm/{event-types-Bg2SZArf.js → event-types-DalU_6SB.js} +29 -1
  164. package/dist/esm/form-address-fields_3.entry.js +5 -5
  165. package/dist/esm/form-control-checkbox.entry.js +3 -3
  166. package/dist/esm/form-control-date.entry.js +4 -4
  167. package/dist/esm/{form-control-error-text-DVedKyhp.js → form-control-error-text-Di9QePY5.js} +1 -1
  168. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  169. package/dist/esm/form-control-file.entry.js +4 -4
  170. package/dist/esm/{form-control-help-text-D-349cNw.js → form-control-help-text-DGMpMuAm.js} +1 -1
  171. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  172. package/dist/esm/form-control-monetary.entry.js +5 -5
  173. package/dist/esm/form-control-number_2.entry.js +86 -0
  174. package/dist/esm/form-control-radio.entry.js +3 -3
  175. package/dist/esm/form-control-select_2.entry.js +6 -6
  176. package/dist/esm/{get-business-DIpEbczl.js → get-business-Gg6qn5on.js} +2 -2
  177. package/dist/esm/{get-payment-details-DjBou5Fu.js → get-payment-details-BiWgSJau.js} +2 -3
  178. package/dist/esm/{get-subaccounts-CgDWE_5o.js → get-subaccounts-CkjZeR9U.js} +2 -3
  179. package/dist/esm/{header-1-Bl7MHW0w.js → header-1-evYxFIGN.js} +1 -1
  180. package/dist/esm/{header-3-C7JJVnMG.js → header-3-BUDap2xY.js} +1 -1
  181. package/dist/esm/hidden-input_2.entry.js +7 -7
  182. package/dist/esm/{insurance-state-qTdpe84i.js → insurance-state-CLGc1-_4.js} +1 -1
  183. package/dist/esm/internal-button.entry.js +3 -3
  184. package/dist/esm/justifi-apple-pay_11.entry.js +17 -18
  185. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -6
  186. package/dist/esm/justifi-bank-account-form.entry.js +5 -6
  187. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  188. package/dist/esm/justifi-business-details.entry.js +10 -11
  189. package/dist/esm/justifi-business-form.entry.js +14 -16
  190. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  191. package/dist/esm/justifi-card-form.entry.js +5 -6
  192. package/dist/esm/justifi-checkout.entry.js +5 -6
  193. package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
  194. package/dist/esm/justifi-checkouts-list.entry.js +190 -27
  195. package/dist/esm/justifi-details.entry.js +2 -2
  196. package/dist/esm/justifi-dispute-management.entry.js +64 -17
  197. package/dist/esm/justifi-gross-payment-chart.entry.js +11071 -23
  198. package/dist/esm/justifi-order-terminals.entry.js +11 -12
  199. package/dist/esm/justifi-payment-details.entry.js +20 -21
  200. package/dist/esm/justifi-payment-provisioning.entry.js +11 -12
  201. package/dist/esm/justifi-payment-transactions-list.entry.js +10 -11
  202. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  203. package/dist/esm/justifi-payments-list.entry.js +12 -13
  204. package/dist/esm/justifi-payout-details.entry.js +15 -16
  205. package/dist/esm/justifi-payout-transactions-list.entry.js +10 -11
  206. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -5
  207. package/dist/esm/justifi-payouts-list.entry.js +13 -14
  208. package/dist/esm/justifi-refund-payment.entry.js +10 -11
  209. package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
  210. package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -9
  211. package/dist/esm/justifi-skeleton.entry.js +3 -3
  212. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -6
  213. package/dist/esm/justifi-terminal-orders-list.entry.js +175 -21
  214. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
  215. package/dist/esm/justifi-terminals-list.entry.js +12 -13
  216. package/dist/esm/loader.js +1 -1
  217. package/dist/esm/{package-beXEDfB9.js → package-B6YPrwyC.js} +1 -1
  218. package/dist/esm/pagination-menu.entry.js +1 -1
  219. package/dist/esm/{parts-DnrawQn3.js → parts-CPKMvyV_.js} +1 -1
  220. package/dist/esm/payment-method-option.entry.js +2 -2
  221. package/dist/esm/{payment-provisioning-actions-Dr0YIShV.js → payment-provisioning-actions-cl5xIYnF.js} +2 -2
  222. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +2 -2
  223. package/dist/esm/{payment-provisioning-loading-DI2wDkhm.js → payment-provisioning-loading-Dve2xQA4.js} +1 -1
  224. package/dist/esm/{payment.service-Ckbb7gXA.js → payment.service-5_u-UzTY.js} +1 -2
  225. package/dist/esm/{payments-status-BIDoGw-m.js → payments-status-BlVUt4C1.js} +1 -1
  226. package/dist/esm/{payout.service-BgFKxEoL.js → payout.service-D2zS5y8N.js} +1 -2
  227. package/dist/esm/{payouts-status-1T2NZBoE.js → payouts-status-DCjCGTaa.js} +3 -3
  228. package/dist/esm/{plaid.service-BLguQHs_.js → plaid.service-BiJ65YG8.js} +1 -2
  229. package/dist/esm/radio-list-item.entry.js +2 -2
  230. package/dist/esm/{schema-validations-v6WGlZkq.js → schema-validations-A1o1biOB.js} +13 -3
  231. package/dist/esm/{skeleton-CXGFVqDf.js → skeleton-BEHo2ypu.js} +1 -1
  232. package/dist/esm/{spinner-kSw6PcwU.js → spinner-DIiQZd6_.js} +1 -1
  233. package/dist/esm/{table-CcyuIutB.js → table-DqGfsdys.js} +3 -3
  234. package/dist/esm/table-filters-menu.entry.js +3 -3
  235. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  236. package/dist/esm/{terminal.service-0oISl5j-.js → terminal.service-CIxDfM7V.js} +1 -2
  237. package/dist/esm/{utils-DcfpJGDZ.js → utils-C1B2hVAB.js} +1 -1
  238. package/dist/esm/{utils-BxYS3WDw.js → utils-CX6puxwf.js} +1 -1
  239. package/dist/esm/webcomponents.js +1 -1
  240. package/dist/module/Analytics.js +2 -2
  241. package/dist/module/Plaid.js +2 -2
  242. package/dist/module/{justifi-refund-policy.d.ts → additional-statement.d.ts} +4 -4
  243. package/dist/module/additional-statement.js +6 -0
  244. package/dist/module/{justifi-additional-statement2.js → additional-statement2.js} +8 -8
  245. package/dist/module/badge.js +1 -1
  246. package/dist/module/bank-account-billing-form-simple2.js +1 -1
  247. package/dist/module/billing-form-full2.js +3 -3
  248. package/dist/module/billing-form-schema.js +1 -1
  249. package/dist/module/business-address-schema.js +1 -1
  250. package/dist/module/business-bank-account-form-step2.js +2 -2
  251. package/dist/module/business-core-info-schema.js +1 -1
  252. package/dist/module/business-identity-schema.js +1 -1
  253. package/dist/module/business-owners-form-step2.js +21 -26
  254. package/dist/module/button.js +1 -1
  255. package/dist/module/cancellation-policy.d.ts +11 -0
  256. package/dist/module/cancellation-policy.js +6 -0
  257. package/dist/module/{justifi-cancellation-policy2.js → cancellation-policy2.js} +8 -8
  258. package/dist/module/card-billing-form-simple2.js +1 -1
  259. package/dist/module/country-config.js +1 -1
  260. package/dist/module/custom-popper2.js +2 -2
  261. package/dist/module/{checkouts-list-core.d.ts → customer-details.d.ts} +4 -4
  262. package/dist/module/customer-details.js +6 -0
  263. package/dist/module/{justifi-customer-details2.js → customer-details2.js} +8 -8
  264. package/dist/module/dispute-notification.d.ts +11 -0
  265. package/dist/module/dispute-notification.js +6 -0
  266. package/dist/module/dispute-notification2.js +82 -0
  267. package/dist/module/dispute-response.d.ts +11 -0
  268. package/dist/module/dispute-response.js +6 -0
  269. package/dist/module/{dispute-response-core.js → dispute-response2.js} +105 -53
  270. package/dist/module/duplicate-charge.d.ts +11 -0
  271. package/dist/module/duplicate-charge.js +6 -0
  272. package/dist/module/{justifi-duplicate-charge2.js → duplicate-charge2.js} +8 -8
  273. package/dist/module/electronic-evidence.d.ts +11 -0
  274. package/dist/module/electronic-evidence.js +6 -0
  275. package/dist/module/{justifi-electronic-evidence2.js → electronic-evidence2.js} +8 -8
  276. package/dist/module/event-types3.js +119 -1
  277. package/dist/module/form-alert2.js +1 -1
  278. package/dist/module/form-control-date2.js +2 -2
  279. package/dist/module/form-control-file-v22.js +1 -1
  280. package/dist/module/form-control-file2.js +2 -2
  281. package/dist/module/form-control-monetary2.js +2 -2
  282. package/dist/module/form-control-number-masked2.js +2 -2
  283. package/dist/module/form-control-number2.js +3 -3
  284. package/dist/module/form-control-radio2.js +2 -2
  285. package/dist/module/form-control-select2.js +2 -2
  286. package/dist/module/form-control-text2.js +2 -2
  287. package/dist/module/form-control-textarea2.js +3 -3
  288. package/dist/module/get-payment-details.js +1 -1
  289. package/dist/module/hidden-input2.js +2 -2
  290. package/dist/module/iframe-input2.js +4 -4
  291. package/dist/module/internal-button2.js +1 -1
  292. package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
  293. package/dist/module/justifi-bank-account-form.js +1 -1
  294. package/dist/module/justifi-billing-form-full.js +1 -1
  295. package/dist/module/justifi-button2.js +1 -1
  296. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  297. package/dist/module/justifi-card-form.js +1 -1
  298. package/dist/module/justifi-checkout-summary2.js +1 -1
  299. package/dist/module/justifi-checkouts-list-filters.js +3 -3
  300. package/dist/module/justifi-checkouts-list.js +197 -28
  301. package/dist/module/justifi-dispute-management.js +103 -62
  302. package/dist/module/justifi-gross-payment-chart.js +11074 -24
  303. package/dist/module/justifi-header2.js +1 -1
  304. package/dist/module/justifi-modular-checkout2.js +2 -2
  305. package/dist/module/justifi-order-terminals.js +4 -4
  306. package/dist/module/justifi-payment-details.js +9 -9
  307. package/dist/module/justifi-payment-provisioning.js +53 -59
  308. package/dist/module/justifi-payment-transactions-list.js +2 -2
  309. package/dist/module/justifi-payments-list-filters.js +2 -2
  310. package/dist/module/justifi-payments-list.js +2 -2
  311. package/dist/module/justifi-payout-details.js +4 -4
  312. package/dist/module/justifi-payout-transactions-list.js +2 -2
  313. package/dist/module/justifi-payouts-list-filters.js +3 -3
  314. package/dist/module/justifi-payouts-list.js +2 -2
  315. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  316. package/dist/module/justifi-skeleton.js +1 -1
  317. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  318. package/dist/module/justifi-terminal-orders-list.js +184 -22
  319. package/dist/module/justifi-terminals-list-filters.js +2 -2
  320. package/dist/module/justifi-terminals-list.js +3 -3
  321. package/dist/module/justifi-tokenize-payment-method2.js +1 -1
  322. package/dist/module/owner-details2.js +1 -1
  323. package/dist/module/owner-form-inputs2.js +2 -2
  324. package/dist/module/owner-form2.js +177 -33
  325. package/dist/module/package.js +1 -1
  326. package/dist/module/pagination-menu2.js +1 -1
  327. package/dist/module/parts.js +1 -1
  328. package/dist/module/payment-method-option.js +1 -1
  329. package/dist/module/payment-provisioning-form-steps2.js +52 -58
  330. package/dist/module/product-or-service.d.ts +11 -0
  331. package/dist/module/product-or-service.js +6 -0
  332. package/dist/module/{justifi-product-or-service2.js → product-or-service2.js} +8 -8
  333. package/dist/module/radio-list-item2.js +1 -1
  334. package/dist/module/{owner-form-core.d.ts → refund-policy.d.ts} +4 -4
  335. package/dist/module/refund-policy.js +6 -0
  336. package/dist/module/{justifi-refund-policy2.js → refund-policy2.js} +8 -8
  337. package/dist/module/schema-validations.js +13 -3
  338. package/dist/module/shipping-details.d.ts +11 -0
  339. package/dist/module/shipping-details.js +6 -0
  340. package/dist/module/{justifi-shipping-details2.js → shipping-details2.js} +8 -8
  341. package/dist/module/spinner.js +1 -1
  342. package/dist/module/table-filters-menu2.js +1 -1
  343. package/dist/module/terminal-quantity-selector2.js +1 -1
  344. package/dist/module/utils2.js +1 -1
  345. package/dist/types/api/Terminal.d.ts +1 -1
  346. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +69 -5
  347. package/dist/types/components/checkouts-list/justifi-checkouts-list.d.ts +28 -6
  348. package/dist/types/components/dispute-management/{justifi-dispute-notification.d.ts → dispute-notification.d.ts} +1 -1
  349. package/dist/types/components/dispute-management/dispute-response/{justifi-additional-statement.d.ts → additional-statement.d.ts} +1 -1
  350. package/dist/types/components/dispute-management/dispute-response/{justifi-cancellation-policy.d.ts → cancellation-policy.d.ts} +1 -1
  351. package/dist/types/components/dispute-management/dispute-response/{justifi-customer-details.d.ts → customer-details.d.ts} +1 -1
  352. package/dist/types/components/dispute-management/dispute-response/{dispute-response-core.d.ts → dispute-response.d.ts} +21 -10
  353. package/dist/types/components/dispute-management/dispute-response/{justifi-duplicate-charge.d.ts → duplicate-charge.d.ts} +1 -1
  354. package/dist/types/components/dispute-management/dispute-response/{justifi-electronic-evidence.d.ts → electronic-evidence.d.ts} +1 -1
  355. package/dist/types/components/dispute-management/dispute-response/{justifi-product-or-service.d.ts → product-or-service.d.ts} +1 -1
  356. package/dist/types/components/dispute-management/dispute-response/{justifi-refund-policy.d.ts → refund-policy.d.ts} +1 -1
  357. package/dist/types/components/dispute-management/dispute-response/{justifi-shipping-details.d.ts → shipping-details.d.ts} +1 -1
  358. package/dist/types/components/dispute-management/justifi-dispute-management.d.ts +10 -2
  359. package/dist/types/components/gross-payment-chart/justifi-gross-payment-chart.d.ts +13 -2
  360. package/dist/types/components/terminal-orders-list/justifi-terminal-orders-list.d.ts +21 -3
  361. package/dist/types/components.d.ts +304 -551
  362. package/dist/types/utils/checkout-billing-state-options.d.ts +9 -0
  363. package/dist/webcomponents/p-0708cb76.entry.js +1 -0
  364. package/dist/webcomponents/p-0ce6c1b1.entry.js +1 -0
  365. package/dist/webcomponents/p-12ae030d.entry.js +1 -0
  366. package/dist/webcomponents/p-137a36a4.entry.js +1 -0
  367. package/dist/webcomponents/p-1d294e34.entry.js +1 -0
  368. package/dist/webcomponents/{p-4d21df48.entry.js → p-1f34b2f7.entry.js} +1 -1
  369. package/dist/webcomponents/p-1f7f2436.entry.js +1 -0
  370. package/dist/webcomponents/{p-256c5509.entry.js → p-22d19755.entry.js} +1 -1
  371. package/dist/webcomponents/p-2aac2ab6.entry.js +1 -0
  372. package/dist/webcomponents/{p-2425a375.entry.js → p-2dfdecbb.entry.js} +1 -1
  373. package/dist/webcomponents/p-397b28ba.entry.js +20 -0
  374. package/dist/webcomponents/{p-10be75b8.entry.js → p-3cefb032.entry.js} +1 -1
  375. package/dist/webcomponents/p-45668f01.entry.js +1 -0
  376. package/dist/webcomponents/p-46477dfe.entry.js +1 -0
  377. package/dist/webcomponents/{p-befe01ef.entry.js → p-49c13952.entry.js} +1 -1
  378. package/dist/webcomponents/p-4ccf9cd7.entry.js +1 -0
  379. package/dist/webcomponents/p-58b5e08e.entry.js +1 -0
  380. package/dist/webcomponents/p-5G1OMxZz.js +1 -0
  381. package/dist/webcomponents/{p-1e877e0a.entry.js → p-5ec9634c.entry.js} +1 -1
  382. package/dist/webcomponents/{p-8253ef9f.entry.js → p-605bd107.entry.js} +1 -1
  383. package/dist/webcomponents/{p-c9e1df15.entry.js → p-60c65da4.entry.js} +1 -1
  384. package/dist/webcomponents/p-63b7abf3.entry.js +1 -0
  385. package/dist/webcomponents/p-63e88b48.entry.js +1 -0
  386. package/dist/webcomponents/p-65281b33.entry.js +1 -0
  387. package/dist/webcomponents/{p-3c046adc.entry.js → p-70dcd833.entry.js} +1 -1
  388. package/dist/webcomponents/p-7ebed752.entry.js +1 -0
  389. package/dist/webcomponents/p-7ff9ce05.entry.js +1 -0
  390. package/dist/webcomponents/p-8964f4ca.entry.js +1 -0
  391. package/dist/webcomponents/p-89844a98.entry.js +1 -0
  392. package/dist/webcomponents/p-89cd31f2.entry.js +1 -0
  393. package/dist/webcomponents/p-8d6856e7.entry.js +1 -0
  394. package/dist/webcomponents/p-8e821593.entry.js +1 -0
  395. package/dist/webcomponents/p-90f2f71d.entry.js +1 -0
  396. package/dist/webcomponents/p-9153c121.entry.js +1 -0
  397. package/dist/webcomponents/p-91940d05.entry.js +1 -0
  398. package/dist/webcomponents/p-95317547.entry.js +1 -0
  399. package/dist/webcomponents/p-9b944aa4.entry.js +1 -0
  400. package/dist/webcomponents/{p-CR_-qIuN.js → p-APOabprT.js} +1 -1
  401. package/dist/webcomponents/p-Aacb4jqT.js +1 -0
  402. package/dist/webcomponents/p-B5gBiARs.js +1 -0
  403. package/dist/webcomponents/p-B6YPrwyC.js +1 -0
  404. package/dist/webcomponents/{p-bn_huKYG.js → p-BICxxa69.js} +1 -1
  405. package/dist/webcomponents/p-BJu1-9kE.js +1 -0
  406. package/dist/webcomponents/{p-Cej-1bD6.js → p-BXyADlAH.js} +1 -1
  407. package/dist/webcomponents/p-Ba8jdOkX.js +1 -0
  408. package/dist/webcomponents/p-BxKbnILQ.js +1 -0
  409. package/dist/webcomponents/{p-2LVpxCS_.js → p-CHo7TfsM.js} +1 -1
  410. package/dist/webcomponents/p-CHw7tICr.js +1 -0
  411. package/dist/webcomponents/{p-DnrawQn3.js → p-CPKMvyV_.js} +1 -1
  412. package/dist/webcomponents/p-Ce_W43gc.js +1 -0
  413. package/dist/webcomponents/{p-B5vVjDc_.js → p-Cm9f5fyh.js} +1 -1
  414. package/dist/webcomponents/p-CqiVXthx.js +1 -0
  415. package/dist/webcomponents/{p-x9fFFf7F.js → p-Cu7hgXL1.js} +1 -1
  416. package/dist/webcomponents/p-D-zwk1J3.js +1 -0
  417. package/dist/webcomponents/{p-D1D2eC05.js → p-D1_eip6x.js} +1 -1
  418. package/dist/webcomponents/p-D8ytux5N.js +1 -0
  419. package/dist/webcomponents/p-DO9lqnbB.js +1 -0
  420. package/dist/webcomponents/p-DSclFZ32.js +1 -0
  421. package/dist/webcomponents/p-DYHjzFnJ.js +1 -0
  422. package/dist/webcomponents/{p-DgH-jcIo.js → p-DjjAx7PF.js} +1 -1
  423. package/dist/webcomponents/p-Dk26hk5T.js +1 -0
  424. package/dist/webcomponents/p-DrMJliVY.js +1 -0
  425. package/dist/webcomponents/p-NZS8uCtH.js +1 -0
  426. package/dist/webcomponents/p-XIWgia4J.js +1 -0
  427. package/dist/webcomponents/{p-9581d6a1.entry.js → p-a9695714.entry.js} +1 -1
  428. package/dist/webcomponents/p-afe714cb.entry.js +1 -0
  429. package/dist/webcomponents/p-av6jyzyC.js +1 -0
  430. package/dist/webcomponents/p-b0b6083f.entry.js +1 -0
  431. package/dist/webcomponents/p-b192f251.entry.js +1 -0
  432. package/dist/webcomponents/p-b436a7d2.entry.js +1 -0
  433. package/dist/webcomponents/{p-e6e56dbb.entry.js → p-b62ff001.entry.js} +1 -1
  434. package/dist/webcomponents/p-bde7fe69.entry.js +1 -0
  435. package/dist/webcomponents/p-c108cd71.entry.js +1 -0
  436. package/dist/webcomponents/p-c1539656.entry.js +1 -0
  437. package/dist/webcomponents/p-c4415366.entry.js +1 -0
  438. package/dist/webcomponents/p-c8bc235f.entry.js +1 -0
  439. package/dist/webcomponents/{p-09d2efad.entry.js → p-ca87c609.entry.js} +1 -1
  440. package/dist/webcomponents/p-d1eabad2.entry.js +1 -0
  441. package/dist/webcomponents/{p-31e74a5a.entry.js → p-d5e7291a.entry.js} +1 -1
  442. package/dist/webcomponents/p-d79c5ee4.entry.js +1 -0
  443. package/dist/webcomponents/{p-9db1444f.entry.js → p-db09f306.entry.js} +1 -1
  444. package/dist/webcomponents/{p-354fb3c4.entry.js → p-e020f003.entry.js} +1 -1
  445. package/dist/webcomponents/p-e17b92ec.entry.js +1 -0
  446. package/dist/webcomponents/{p-1e8135f0.entry.js → p-e322dcba.entry.js} +1 -1
  447. package/dist/webcomponents/p-e5c2215a.entry.js +1 -0
  448. package/dist/webcomponents/p-e6ec9e6d.entry.js +1 -0
  449. package/dist/webcomponents/p-f1b9cbf0.entry.js +1 -0
  450. package/dist/webcomponents/p-f9aafb21.entry.js +1 -0
  451. package/dist/webcomponents/p-fE5A37L5.js +1 -0
  452. package/dist/webcomponents/{p-bc2af6b4.entry.js → p-ff8cf16c.entry.js} +1 -1
  453. package/dist/webcomponents/p-jIDKmNHy.js +1 -0
  454. package/dist/webcomponents/p-nb_LhbJq.js +1 -0
  455. package/dist/webcomponents/p-oTtn8xDw.js +1 -0
  456. package/dist/webcomponents/p-uZ5KAseb.js +1 -0
  457. package/dist/webcomponents/webcomponents.esm.js +1 -1
  458. package/package.json +2 -2
  459. package/readme.md +7 -14
  460. package/dist/cjs/Dispute-CruQTF6_.js +0 -59
  461. package/dist/cjs/business-additional-questions-schema-CI80eZLJ.js +0 -73
  462. package/dist/cjs/checkouts-list-core.cjs.entry.js +0 -146
  463. package/dist/cjs/checkouts-table-CCxrsy0x.js +0 -55
  464. package/dist/cjs/dispute.service-BbtwY673.js +0 -32
  465. package/dist/cjs/form-control-number_3.cjs.entry.js +0 -249
  466. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +0 -11075
  467. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +0 -61
  468. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +0 -108
  469. package/dist/cjs/terminal-orders-table-Cz6qvzVE.js +0 -83
  470. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +0 -523
  471. package/dist/collection/components/checkouts-list/checkouts-list-core.js +0 -262
  472. package/dist/collection/components/dispute-management/dispute-management-core.js +0 -169
  473. package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +0 -190
  474. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +0 -139
  475. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +0 -199
  476. package/dist/esm/Dispute-BH0Xfn-F.js +0 -57
  477. package/dist/esm/business-additional-questions-schema-DKudYaoE.js +0 -69
  478. package/dist/esm/business-identity-schema-CFhSc0cA.js +0 -99
  479. package/dist/esm/checkouts-list-core.entry.js +0 -144
  480. package/dist/esm/checkouts-table-C8sPHeTm.js +0 -51
  481. package/dist/esm/dispute.service-vlYGy0nR.js +0 -30
  482. package/dist/esm/form-control-number_3.entry.js +0 -245
  483. package/dist/esm/gross-payment-chart-core.entry.js +0 -11073
  484. package/dist/esm/justifi-dispute-management-core.entry.js +0 -59
  485. package/dist/esm/terminal-orders-list-core.entry.js +0 -106
  486. package/dist/esm/terminal-orders-table-C7KOcRpq.js +0 -79
  487. package/dist/module/checkouts-list-core.js +0 -6
  488. package/dist/module/checkouts-list-core2.js +0 -227
  489. package/dist/module/dispute-management-core.js +0 -193
  490. package/dist/module/dispute-response-actions.js +0 -119
  491. package/dist/module/gross-payment-chart-core.d.ts +0 -11
  492. package/dist/module/gross-payment-chart-core.js +0 -6
  493. package/dist/module/gross-payment-chart-core2.js +0 -11096
  494. package/dist/module/justifi-additional-statement.d.ts +0 -11
  495. package/dist/module/justifi-additional-statement.js +0 -6
  496. package/dist/module/justifi-cancellation-policy.d.ts +0 -11
  497. package/dist/module/justifi-cancellation-policy.js +0 -6
  498. package/dist/module/justifi-customer-details.d.ts +0 -11
  499. package/dist/module/justifi-customer-details.js +0 -6
  500. package/dist/module/justifi-dispute-management-core.d.ts +0 -11
  501. package/dist/module/justifi-dispute-management-core.js +0 -6
  502. package/dist/module/justifi-dispute-notification.d.ts +0 -11
  503. package/dist/module/justifi-dispute-notification.js +0 -6
  504. package/dist/module/justifi-dispute-notification2.js +0 -85
  505. package/dist/module/justifi-dispute-response-core.d.ts +0 -11
  506. package/dist/module/justifi-dispute-response-core.js +0 -6
  507. package/dist/module/justifi-dispute-response.d.ts +0 -11
  508. package/dist/module/justifi-dispute-response.js +0 -6
  509. package/dist/module/justifi-dispute-response2.js +0 -198
  510. package/dist/module/justifi-duplicate-charge.d.ts +0 -11
  511. package/dist/module/justifi-duplicate-charge.js +0 -6
  512. package/dist/module/justifi-electronic-evidence.d.ts +0 -11
  513. package/dist/module/justifi-electronic-evidence.js +0 -6
  514. package/dist/module/justifi-product-or-service.d.ts +0 -11
  515. package/dist/module/justifi-product-or-service.js +0 -6
  516. package/dist/module/justifi-refund-policy.js +0 -6
  517. package/dist/module/justifi-shipping-details.d.ts +0 -11
  518. package/dist/module/justifi-shipping-details.js +0 -6
  519. package/dist/module/owner-form-core.js +0 -6
  520. package/dist/module/owner-form-core2.js +0 -262
  521. package/dist/module/terminal-orders-list-core.d.ts +0 -11
  522. package/dist/module/terminal-orders-list-core.js +0 -6
  523. package/dist/module/terminal-orders-list-core2.js +0 -209
  524. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -88
  525. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +0 -34
  526. package/dist/types/components/dispute-management/dispute-management-core.d.ts +0 -18
  527. package/dist/types/components/dispute-management/dispute-response/justifi-dispute-response.d.ts +0 -35
  528. package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +0 -21
  529. package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +0 -28
  530. package/dist/webcomponents/p--e0ff06z.js +0 -1
  531. package/dist/webcomponents/p-032b4553.entry.js +0 -1
  532. package/dist/webcomponents/p-042daaf8.entry.js +0 -1
  533. package/dist/webcomponents/p-0638f0bd.entry.js +0 -1
  534. package/dist/webcomponents/p-0b3f4f22.entry.js +0 -1
  535. package/dist/webcomponents/p-1c4f5f1d.entry.js +0 -1
  536. package/dist/webcomponents/p-24935254.entry.js +0 -1
  537. package/dist/webcomponents/p-2a755daf.entry.js +0 -1
  538. package/dist/webcomponents/p-3488951f.entry.js +0 -1
  539. package/dist/webcomponents/p-437a99dc.entry.js +0 -1
  540. package/dist/webcomponents/p-49c0cd3a.entry.js +0 -1
  541. package/dist/webcomponents/p-50f5e313.entry.js +0 -1
  542. package/dist/webcomponents/p-52908814.entry.js +0 -1
  543. package/dist/webcomponents/p-587886f1.entry.js +0 -1
  544. package/dist/webcomponents/p-5ef355ce.entry.js +0 -1
  545. package/dist/webcomponents/p-5ef854e0.entry.js +0 -1
  546. package/dist/webcomponents/p-67498c25.entry.js +0 -1
  547. package/dist/webcomponents/p-6917aa3c.entry.js +0 -1
  548. package/dist/webcomponents/p-6d81822f.entry.js +0 -1
  549. package/dist/webcomponents/p-6f0c582a.entry.js +0 -1
  550. package/dist/webcomponents/p-80652cf8.entry.js +0 -1
  551. package/dist/webcomponents/p-82fe02e4.entry.js +0 -1
  552. package/dist/webcomponents/p-83147f23.entry.js +0 -1
  553. package/dist/webcomponents/p-8c2427ed.entry.js +0 -1
  554. package/dist/webcomponents/p-92de00d7.entry.js +0 -1
  555. package/dist/webcomponents/p-94306884.entry.js +0 -1
  556. package/dist/webcomponents/p-9937e2e7.entry.js +0 -1
  557. package/dist/webcomponents/p-9dca1331.entry.js +0 -1
  558. package/dist/webcomponents/p-9f74d7ea.entry.js +0 -1
  559. package/dist/webcomponents/p-B--N37zY.js +0 -1
  560. package/dist/webcomponents/p-BH0Xfn-F.js +0 -1
  561. package/dist/webcomponents/p-Bg2SZArf.js +0 -1
  562. package/dist/webcomponents/p-BovgIz83.js +0 -1
  563. package/dist/webcomponents/p-BsQy297i.js +0 -1
  564. package/dist/webcomponents/p-CDf5H0TB.js +0 -1
  565. package/dist/webcomponents/p-CUI41_5y.js +0 -1
  566. package/dist/webcomponents/p-CX36GHQP.js +0 -1
  567. package/dist/webcomponents/p-Cf6HoQKl.js +0 -1
  568. package/dist/webcomponents/p-CsdYMTrc.js +0 -1
  569. package/dist/webcomponents/p-D4OlsyTo.js +0 -1
  570. package/dist/webcomponents/p-D8EGHc_m.js +0 -1
  571. package/dist/webcomponents/p-DPmnGTmg.js +0 -1
  572. package/dist/webcomponents/p-DWevPe7C.js +0 -1
  573. package/dist/webcomponents/p-Dbg501Lu.js +0 -1
  574. package/dist/webcomponents/p-DcBvJu0k.js +0 -1
  575. package/dist/webcomponents/p-DkdzUTnl.js +0 -1
  576. package/dist/webcomponents/p-HT_4DkD0.js +0 -1
  577. package/dist/webcomponents/p-MDZuGvsl.js +0 -1
  578. package/dist/webcomponents/p-XrKLre8M.js +0 -1
  579. package/dist/webcomponents/p-_-2E_vYf.js +0 -1
  580. package/dist/webcomponents/p-a75d76ff.entry.js +0 -1
  581. package/dist/webcomponents/p-a7778957.entry.js +0 -1
  582. package/dist/webcomponents/p-a9d7cdae.entry.js +0 -1
  583. package/dist/webcomponents/p-b060a9c9.entry.js +0 -1
  584. package/dist/webcomponents/p-b06910b0.entry.js +0 -1
  585. package/dist/webcomponents/p-b483e71b.entry.js +0 -1
  586. package/dist/webcomponents/p-bdf21f71.entry.js +0 -1
  587. package/dist/webcomponents/p-be5d1005.entry.js +0 -1
  588. package/dist/webcomponents/p-beXEDfB9.js +0 -1
  589. package/dist/webcomponents/p-bfe2583d.entry.js +0 -1
  590. package/dist/webcomponents/p-c09fccd3.entry.js +0 -1
  591. package/dist/webcomponents/p-c827cbc9.entry.js +0 -1
  592. package/dist/webcomponents/p-cc5b7c27.entry.js +0 -1
  593. package/dist/webcomponents/p-d878df6c.entry.js +0 -1
  594. package/dist/webcomponents/p-ddf699e6.entry.js +0 -20
  595. package/dist/webcomponents/p-e0b3735f.entry.js +0 -1
  596. package/dist/webcomponents/p-ea30cf08.entry.js +0 -1
  597. package/dist/webcomponents/p-edf5a854.entry.js +0 -1
  598. package/dist/webcomponents/p-ef89824b.entry.js +0 -1
  599. package/dist/webcomponents/p-fc7ba195.entry.js +0 -1
  600. package/dist/webcomponents/p-hhdRync5.js +0 -1
  601. package/dist/webcomponents/p-niGr4RT2.js +0 -1
  602. package/dist/webcomponents/p-pL4dNfsl.js +0 -1
  603. package/dist/webcomponents/p-qcQTYcr3.js +0 -1
  604. package/dist/webcomponents/p-qrNmDp6K.js +0 -1
  605. package/dist/webcomponents/p-uCg79W3M.js +0 -1
  606. package/dist/webcomponents/p-zi3ljCdQ.js +0 -1
@@ -1,146 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-p7cvUYAE.js');
4
- require('./config-state-BIgGhhe9.js');
5
- require('./dinero-BwNN_k7x.js');
6
- require('./Plaid-BlSGeGpn.js');
7
- var Pagination = require('./Pagination-Dediz133.js');
8
- require('./Business-oBifyXkW.js');
9
- require('./Dispute-CruQTF6_.js');
10
- var table = require('./table-DjbNv28p.js');
11
- var eventTypes = require('./event-types-YOY5TKUN.js');
12
- var checkoutsTable = require('./checkouts-table-CCxrsy0x.js');
13
- var checkoutsListParamsState = require('./checkouts-list-params-state-vGJZ6Oe2.js');
14
- require('./index-W-zoNiyM.js');
15
- require('./utils-BHi4j5rB.js');
16
- require('./parts-BXshb_S-.js');
17
- require('./spinner-C6ZGOB2P.js');
18
- require('./badge-GBNtUypt.js');
19
-
20
- const CheckoutsListCore = class {
21
- constructor(hostRef) {
22
- index.registerInstance(this, hostRef);
23
- this.clickEvent = index.createEvent(this, "click-event", 7);
24
- this.errorEvent = index.createEvent(this, "error-event", 7);
25
- this.checkouts = [];
26
- this.subAccounts = [];
27
- this.loading = true;
28
- this.paging = Pagination.pagingDefaults;
29
- this.pagingParams = {};
30
- this.handleClickPrevious = (beforeCursor) => {
31
- this.pagingParams = { before_cursor: beforeCursor };
32
- this.clickEvent.emit({ name: eventTypes.TableClickActions.previous });
33
- };
34
- this.handleClickNext = (afterCursor) => {
35
- this.pagingParams = { after_cursor: afterCursor };
36
- this.clickEvent.emit({ name: eventTypes.TableClickActions.next });
37
- };
38
- this.rowClickHandler = (e) => {
39
- const clickedCheckoutID = e.target.closest('tr').dataset.rowEntityId;
40
- if (!clickedCheckoutID)
41
- return;
42
- const checkoutData = this.checkouts.find((checkout) => checkout.id === clickedCheckoutID);
43
- this.clickEvent.emit({ name: eventTypes.TableClickActions.row, data: checkoutData });
44
- };
45
- }
46
- updateOnPropChange() {
47
- this.fetchData();
48
- }
49
- componentWillLoad() {
50
- this.checkoutsTable = new table.Table(this.checkouts, this.columns, checkoutsTable.checkoutTableColumns, checkoutsTable.checkoutTableCells);
51
- if (this.getCheckouts && this.getSubAccounts) {
52
- this.fetchData();
53
- }
54
- checkoutsListParamsState.onQueryParamsChange('set', () => {
55
- this.pagingParams = {};
56
- });
57
- checkoutsListParamsState.onQueryParamsChange('reset', () => {
58
- this.pagingParams = {};
59
- this.errorMessage = '';
60
- });
61
- }
62
- fetchData() {
63
- this.loading = true;
64
- this.getCheckouts({
65
- params: this.checkoutParams,
66
- onSuccess: async ({ checkouts, pagingInfo }) => {
67
- this.checkouts = checkouts;
68
- this.paging = pagingInfo;
69
- this.checkoutsTable.collectionData = this.checkouts;
70
- const shouldFetchSubAccounts = this.checkoutsTable.columnKeys.includes('sub_account_name');
71
- if (shouldFetchSubAccounts) {
72
- await this.fetchSubAccounts();
73
- }
74
- else {
75
- this.loading = false;
76
- }
77
- },
78
- onError: ({ error, code, severity }) => {
79
- this.errorMessage = error;
80
- this.errorEvent.emit({
81
- errorCode: code,
82
- message: error,
83
- severity,
84
- });
85
- this.loading = false;
86
- },
87
- });
88
- }
89
- async fetchSubAccounts() {
90
- this.getSubAccounts({
91
- params: this.subAccountParams,
92
- onSuccess: ({ subAccounts }) => {
93
- this.subAccounts = subAccounts;
94
- this.checkouts = this.checkouts.map((checkout) => {
95
- var _a;
96
- checkout.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === checkout.account_id)) === null || _a === void 0 ? void 0 : _a.name;
97
- return checkout;
98
- });
99
- this.loading = false;
100
- },
101
- onError: ({ error, code, severity }) => {
102
- this.errorMessage = error;
103
- this.errorEvent.emit({
104
- errorCode: code,
105
- message: error,
106
- severity,
107
- });
108
- this.loading = false;
109
- },
110
- });
111
- }
112
- get checkoutParams() {
113
- const requestParams = checkoutsListParamsState.getRequestParams();
114
- const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
115
- return params;
116
- }
117
- get subAccountParams() {
118
- let accountIdNumbers = this.checkouts.map((checkout) => checkout.account_id);
119
- let uniqueAccountIds = [...new Set(accountIdNumbers)];
120
- let accountIdString = uniqueAccountIds.join(',');
121
- return { sub_account_id: accountIdString };
122
- }
123
- get entityId() {
124
- return this.checkouts.map((checkout) => checkout.id);
125
- }
126
- get showEmptyState() {
127
- return !this.loading && !this.errorMessage && this.checkoutsTable.rowData.length < 1;
128
- }
129
- get showErrorState() {
130
- return !this.loading && !!this.errorMessage;
131
- }
132
- get showRowData() {
133
- return !this.showEmptyState && !this.showErrorState && !this.loading;
134
- }
135
- render() {
136
- return (index.h(table.TableWrapper, { key: 'ab929041216a2d6ea8db78b3bbf6d5fa3d4458fd' }, index.h(table.TableComponent, { key: '264d246a1783be1c99fb2a7487328a32d4e3b47b' }, index.h(table.TableHead, { key: 'b9be65c5b7a9144c780109ae906f49ea8c4023b4' }, index.h(table.TableHeadRow, { key: '47b22c689bd63c0cfe99045c6f37a8c1c92ef8a9' }, this.checkoutsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '7b2a39f309a2aa347f3124a79bc55a0a333a1900' }, index.h(table.TableLoadingState, { key: 'ac94a5f253572e08a4d01df82397f60912089e38', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '95855989aac418e6eb79ae9a0eee75a50ef96cc1', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: 'a8d9c0a2539d2565335a8da007d78771f3bfdc72', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: '1126b1f5c12e10bed93aa3c5a004a3d3491dd97f' }, index.h(table.TableFootRow, { key: '611fcf13988992f531ecb9d0b94ee4ba3a103d30' }, index.h(table.TableFootCell, { key: 'cb77f614fe7b89737e4e22d60d18501af272f970', colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: '17996865c38f710fbe39ec2dce031baf9b5faaaf', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
137
- }
138
- static get watchers() { return {
139
- "pagingParams": ["updateOnPropChange"],
140
- "getCheckouts": ["updateOnPropChange"],
141
- "getSubAccounts": ["updateOnPropChange"],
142
- "columns": ["updateOnPropChange"]
143
- }; }
144
- };
145
-
146
- exports.checkouts_list_core = CheckoutsListCore;
@@ -1,55 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-p7cvUYAE.js');
4
- var utils = require('./utils-BHi4j5rB.js');
5
- var badge = require('./badge-GBNtUypt.js');
6
- var parts = require('./parts-BXshb_S-.js');
7
-
8
- const MapCheckoutStatusToBadge = (status) => {
9
- const statusToBadgeProps = {
10
- created: {
11
- variant: badge.BadgeVariant.PRIMARY,
12
- title: 'The checkout has been created',
13
- text: 'Created',
14
- },
15
- completed: {
16
- variant: badge.BadgeVariant.SUCCESS,
17
- title: 'The checkout has been completed',
18
- text: 'Completed',
19
- },
20
- attempted: {
21
- variant: badge.BadgeVariant.SECONDARY,
22
- title: 'The checkout has been attempted',
23
- text: 'Attempted',
24
- },
25
- expired: {
26
- variant: badge.BadgeVariant.DANGER,
27
- title: 'The checkout has expired',
28
- text: 'Expired',
29
- },
30
- };
31
- const badgeProps = statusToBadgeProps[status];
32
- return index.h(badge.Badge, Object.assign({}, badgeProps));
33
- };
34
-
35
- const defaultColumnsKeys = 'created_at,payment_amount,payment_description,payment_mode,status';
36
- const checkoutTableColumns = {
37
- created_at: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The date each checkout occurred" }, "Processed On")),
38
- payment_amount: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The dollar amount of each checkout" }, "Payment Amount")),
39
- payment_description: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The description of each checkout" }, "Payment Description")),
40
- sub_account_name: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The sub account associated with the checkout" }, "Sub Account")),
41
- payment_mode: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The payment mode of each checkout" }, "Payment Mode")),
42
- status: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The current status of each checkout" }, "Status")),
43
- };
44
- const checkoutTableCells = {
45
- created_at: (checkout, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, index.h("div", { class: "fw-bold" }, utils.formatDate(checkout.created_at)), index.h("div", { class: "fw-bold" }, utils.formatTime(checkout.created_at)))),
46
- payment_amount: (checkout, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, checkout.formattedPaymentAmount(checkout.payment_amount))),
47
- payment_description: (checkout, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, checkout.payment_description)),
48
- sub_account_name: (checkout, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, checkout.sub_account_name)),
49
- payment_mode: (checkout, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, checkout.payment_mode)),
50
- status: (checkout, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, MapCheckoutStatusToBadge(checkout.status))),
51
- };
52
-
53
- exports.checkoutTableCells = checkoutTableCells;
54
- exports.checkoutTableColumns = checkoutTableColumns;
55
- exports.defaultColumnsKeys = defaultColumnsKeys;
@@ -1,32 +0,0 @@
1
- 'use strict';
2
-
3
- var Api = require('./Api-Bukk55YZ.js');
4
- require('./Plaid-BlSGeGpn.js');
5
- require('./Pagination-Dediz133.js');
6
- require('./Business-oBifyXkW.js');
7
- require('./Dispute-CruQTF6_.js');
8
-
9
- const api = Api.Api();
10
- class DisputeService {
11
- async fetchDispute(disputeId, authToken) {
12
- const endpoint = `disputes/${disputeId}`;
13
- return api.get({ endpoint, authToken });
14
- }
15
- async updateDisputeResponse(disputeId, authToken, payload) {
16
- const endpoint = `disputes/${disputeId}/response`;
17
- const body = payload;
18
- return api.patch({ endpoint, body, authToken });
19
- }
20
- async submitDisputeResponse(disputeId, authToken, payload) {
21
- const endpoint = `disputes/${disputeId}/response`;
22
- const body = payload;
23
- return api.post({ endpoint, body, authToken });
24
- }
25
- async createDisputeEvidence(disputeId, authToken, payload) {
26
- const endpoint = `disputes/${disputeId}/evidence`;
27
- const body = payload;
28
- return api.put({ endpoint, body, authToken });
29
- }
30
- }
31
-
32
- exports.DisputeService = DisputeService;
@@ -1,249 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-p7cvUYAE.js');
4
- var parts = require('./parts-BXshb_S-.js');
5
- var formControlHelpText = require('./form-control-help-text-BdbTxD5g.js');
6
- var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
7
- require('./event-types-YOY5TKUN.js');
8
- var index_esm = require('./index.esm-C1ZPG85l.js');
9
- var Business = require('./Business-oBifyXkW.js');
10
- var businessIdentitySchema = require('./business-identity-schema-DWWtSiUF.js');
11
- var button = require('./button-CR9Rl1-o.js');
12
- var eventTypes = require('./event-types-DNOUef41.js');
13
- var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
14
- var inputHandlers = require('./input-handlers-_51J5q7J.js');
15
- var countryConfig = require('./country-config-D7fss2oF.js');
16
- require('./_commonjsHelpers-BJu3ubxk.js');
17
- require('./schema-validations-_yWWnnaG.js');
18
- require('./business-form-options-D_nM7NDk.js');
19
-
20
- const FormControlNumber = class {
21
- constructor(hostRef) {
22
- index.registerInstance(this, hostRef);
23
- this.formControlInput = index.createEvent(this, "formControlInput", 7);
24
- this.formControlBlur = index.createEvent(this, "formControlBlur", 7);
25
- this.isFocused = false;
26
- this.disabled = false;
27
- this.handleFormControlInput = (event) => {
28
- const target = event.target;
29
- const name = target.getAttribute('name');
30
- this.inputHandler(name, target.value);
31
- this.formControlInput.emit({ name, value: target.value });
32
- };
33
- this.updateInput = (newValue) => {
34
- const inputElement = this.el.querySelector('input');
35
- if (inputElement) {
36
- inputElement.value = newValue || '';
37
- }
38
- };
39
- }
40
- handleDefaultValueChange(newValue) {
41
- this.updateInput(newValue);
42
- }
43
- componentDidLoad() {
44
- this.updateInput(this.defaultValue);
45
- }
46
- get part() {
47
- if (this.isFocused && this.errorText) {
48
- return parts.inputInvalidAndFocused;
49
- }
50
- if (this.isFocused) {
51
- return parts.inputFocused;
52
- }
53
- if (this.errorText) {
54
- return parts.inputInvalid;
55
- }
56
- return parts.input;
57
- }
58
- render() {
59
- return (index.h(index.Host, { key: 'd2463dd8a7f976628a67b94401e833ed1c53d777' }, index.h("div", { key: '2b77b2fa81d256a4fa52c85efce570cac62a4e31', class: 'form-group d-flex flex-column' }, index.h("label", { key: 'baf3c9be24dd987907c234dd53e886ac6e3fc459', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: '9f456e006e074480dda19fa6433f19beb35e35bc', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
60
- this.isFocused = false;
61
- this.formControlBlur.emit();
62
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), index.h(formControlHelpText.FormControlHelpText, { key: '82100020ced402e13591f6624e45f5f85aa6980f', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: 'd41b38f4908ada125ff2344d23c837780ae057ba', errorText: this.errorText, name: this.name }))));
63
- }
64
- get el() { return index.getElement(this); }
65
- static get watchers() { return {
66
- "defaultValue": ["handleDefaultValueChange"]
67
- }; }
68
- };
69
-
70
- const OwnerFormCore = class {
71
- loadingWatcher() {
72
- this.formLoading.emit(this.isLoading);
73
- }
74
- constructor(hostRef) {
75
- index.registerInstance(this, hostRef);
76
- this.clickEvent = index.createEvent(this, "click-event", 7);
77
- this.errorEvent = index.createEvent(this, "error-event", 7);
78
- this.formLoading = index.createEvent(this, "formLoading", 7);
79
- this.ownerSubmitted = index.createEvent(this, "ownerSubmitted", 7);
80
- this.isLoading = false;
81
- this.errors = {};
82
- this.owner = {};
83
- this.getData = () => {
84
- this.isLoading = true;
85
- this.getOwner({
86
- onSuccess: (response) => {
87
- this.instantiateOwner(response.data);
88
- },
89
- onError: ({ error, code, severity }) => {
90
- this.errorEvent.emit({
91
- message: error,
92
- errorCode: code,
93
- severity: severity
94
- });
95
- },
96
- final: () => this.isLoading = false
97
- });
98
- };
99
- this.sendData = () => {
100
- this.isLoading = true;
101
- return new Promise((resolve) => {
102
- if (this.ownerId) {
103
- this.patchOwner({
104
- payload: this.payload,
105
- onSuccess: (response) => {
106
- this.ownerSubmitted.emit({ id: response.data.id });
107
- this.instantiateOwner(response.data);
108
- resolve(true);
109
- },
110
- onError: ({ error, code, severity }) => {
111
- this.errorEvent.emit({
112
- message: error,
113
- errorCode: code,
114
- severity: severity
115
- });
116
- resolve(false);
117
- },
118
- final: () => this.isLoading = false
119
- });
120
- }
121
- else {
122
- this.postOwner({
123
- payload: this.payload,
124
- onSuccess: (response) => {
125
- this.ownerSubmitted.emit({ id: response.data.id });
126
- this.instantiateOwner(response.data);
127
- resolve(true);
128
- },
129
- onError: ({ error, code, severity }) => {
130
- this.errorEvent.emit({
131
- message: error,
132
- errorCode: code,
133
- severity: severity
134
- });
135
- resolve(false);
136
- },
137
- final: () => this.isLoading = false
138
- });
139
- }
140
- });
141
- };
142
- this.instantiateOwner = async (data) => {
143
- this.owner = Object.assign({}, new Business.Owner(data));
144
- await this.formController.setInitialValues(this.owner);
145
- };
146
- this.handleAddOwner = () => {
147
- const eventName = this.ownerId ? eventTypes.BusinessFormClickActions.updateOwner : eventTypes.BusinessFormClickActions.addOwner;
148
- this.clickEvent.emit({ name: eventName });
149
- };
150
- this.handleRemoveOwner = () => {
151
- this.removeOwner(this.ownerId);
152
- this.clickEvent.emit({ name: eventTypes.BusinessFormClickActions.removeOwner });
153
- };
154
- this.validate = this.validate.bind(this);
155
- this.submit = this.submit.bind(this);
156
- this.validateAndSubmit = this.validateAndSubmit.bind(this);
157
- }
158
- async returnOwnerData() {
159
- return this.ownerId;
160
- }
161
- async validate() {
162
- return this.formController.validate();
163
- }
164
- async submit() {
165
- const isValid = await this.validate();
166
- if (isValid) {
167
- return this.sendData();
168
- }
169
- }
170
- async validateAndSubmit(event) {
171
- event.preventDefault();
172
- const isValid = await this.validate();
173
- if (isValid) {
174
- this.submit();
175
- }
176
- }
177
- get payload() {
178
- let formValues = new Business.Owner(this.formController.values.getValue()).payload;
179
- if (this.ownerId) {
180
- return formValues;
181
- }
182
- else {
183
- return Object.assign(Object.assign({}, formValues), { business_id: this.businessId });
184
- }
185
- }
186
- get formTitle() {
187
- return this.ownerId ? 'Edit Business Owner' : 'Add Business Owner';
188
- }
189
- get submitButtonText() {
190
- return this.ownerId ? 'Update' : 'Add';
191
- }
192
- get showRemoveButton() {
193
- const blankForm = !this.ownerId && this.newFormOpen;
194
- if (this.ownersLength <= 1) {
195
- return false;
196
- }
197
- else {
198
- if (blankForm) {
199
- return true;
200
- }
201
- else if (this.ownerId && !this.newFormOpen) {
202
- return true;
203
- }
204
- }
205
- }
206
- componentWillLoad() {
207
- const schemaFactory = businessIdentitySchema.identitySchemaByCountry[this.country];
208
- this.formController = new index_esm.FormController(schemaFactory('owner', this.allowOptionalFields));
209
- this.ownerId ? this.getData() : this.instantiateOwner({});
210
- }
211
- componentDidLoad() {
212
- this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
213
- }
214
- render() {
215
- return (index.h("form", { key: '63cf9c7ab9031786f17ea4f3787deea081e305d3', onSubmit: this.validateAndSubmit }, index.h("fieldset", { key: 'cef59454c61515f702e846d43242f1576e604953' }, index.h("legend", { key: '355974c342272cd90c6596129a83866f8ad20e37', class: "fw-semibold fs-5", part: parts.heading3 }, this.formTitle), index.h("br", { key: 'c78a4742ca2fa7bea462d4c7b1d3e73ccb8cccb9' }), index.h("div", { key: 'ec96fba914ce8eea8223efab633873c79741e29b', class: "row gy-3" }, index.h("owner-form-inputs", { key: '8b1b9118ac93457b38237387d478b3d084fad07d', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), index.h("div", { key: 'b599ded9cecb9999e3c8b3310f0c70fd07c64690', class: "d-flex gap-2 justify-content-start" }, index.h(button.Button, { key: '54bcdf883415ada89b81b4826cfea23061d4fc60', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), index.h(button.Button, { key: 'eb990b891fe82108eae8c80da39e5ada7ef27f1e', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), index.h("hr", { key: '7000dfde686b1879776ab63dcb6a203c0eb519c1' }))));
216
- }
217
- static get watchers() { return {
218
- "isLoading": ["loadingWatcher"]
219
- }; }
220
- };
221
-
222
- const OwnerFormInputs = class {
223
- constructor(hostRef) {
224
- index.registerInstance(this, hostRef);
225
- this.isEditingIdentification = false;
226
- this.inputHandler = (name, value) => {
227
- inputHandlers.updateFormValues(this.formController, { [name]: value });
228
- };
229
- this.onAddressFormUpdate = (values) => {
230
- inputHandlers.updateAddressFormValues(this.formController, Object.assign(Object.assign({}, this.formController.values.getValue().address), values));
231
- };
232
- }
233
- render() {
234
- var _a, _b, _c;
235
- return (index.h("div", { key: '212e1849ea4415835cb4f792cf5799b606ccd170', class: "row gy-3" }, index.h("div", { key: 'bc904468596d8a2b6cf82f9cca153d1db7fd9be3', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '116f4a8124743a3bdd01489f7ac4964852d2f701', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'd1de51aa5d3760553012ddc586dc6068c456463f', class: "col-12 col-md-4" }, index.h("form-control-text", { key: '542bd69f56380823a8a2fcf0f95df56a4802e52a', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), index.h("div", { key: 'f8230d52a4a685e358bf118d4f77849e8e23f58e', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '0d41fa107ba89a5a6a1dfe2b97d42a86feef3eb0', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'c403d5cf82cc89de42a31f3478e5cda3c2309dac', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'bc0e1c91619857bcac7776e686534763898bdd79', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '43c3b72350a475defd393625a0d88e5720ab121c', class: "col-12 col-md-3" }, index.h("form-control-date", { key: '4f1bd966e4a28fdcfc3539cb51b97e73bf7bf242', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: '963e110d0f208730944fe7637ba0a3a9ada66a38', class: "col-12 col-md-3" }, index.h("form-control-number", { key: '182586a1b86d351cb5063c0ca0ee578959a93369', name: "ownership_percentage", label: "% of Ownership", defaultValue: (_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ownership_percentage, errorText: this.errors.ownership_percentage, inputHandler: this.inputHandler })), index.h("div", { key: 'bf966123cd887a09b81e9e599118ee03cadabfe2', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (index.h("form-control-number-masked", { name: "identification_number", label: countryConfig.countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, countryConfig.countryLabels[this.country].idNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
236
- this.isEditingIdentification = true;
237
- // Clear last4 and current value to force validation
238
- inputHandlers.updateFormValues(this.formController, {
239
- ssn_last4: null,
240
- identification_number: ''
241
- });
242
- } }, "Change"))))), index.h("div", { key: 'da39a950fb0f4042d6047a88db4fb1cf7a7b9d07', class: "col-12" }, index.h("identity-address-form", { key: '7ef03a0303d6f62098b5c38d669648bd4557437f', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
243
- }
244
- ;
245
- };
246
-
247
- exports.form_control_number = FormControlNumber;
248
- exports.owner_form_core = OwnerFormCore;
249
- exports.owner_form_inputs = OwnerFormInputs;