@justifi/webcomponents 4.20.1 → 4.22.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 (657) hide show
  1. package/dist/cjs/{Analytics-3c89cfb4.js → Analytics-9db96975.js} +2 -2
  2. package/dist/cjs/{Api-b98b256f.js → Api-f5280a80.js} +6 -4
  3. package/dist/cjs/Checkout-a528241d.js +85 -0
  4. package/dist/cjs/{Payment-1a8a8ca6.js → Payment-04a842f4.js} +15 -0
  5. package/dist/cjs/SubAccount-cc95a4a0.js +106 -0
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  7. package/dist/cjs/{business-additional-questions-schema-26b0eecb.js → business-additional-questions-schema-19f08938.js} +2 -2
  8. package/dist/cjs/business-details-core.cjs.entry.js +2 -2
  9. package/dist/cjs/{business-form-types-6e1fcda3.js → business-form-types-719b7f52.js} +11 -0
  10. package/dist/cjs/{business-identity-schema-503ecb77.js → business-identity-schema-a8bb2276.js} +2 -2
  11. package/dist/cjs/{business.service-031c0084.js → business.service-7faffa0b.js} +1 -1
  12. package/dist/cjs/{check-pkg-version-4fa0367d.js → check-pkg-version-23a1cabd.js} +1 -1
  13. package/dist/cjs/checkout.service-160f3a9c.js +36 -0
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +181 -0
  15. package/dist/cjs/checkouts-list-filters.cjs.entry.js +35 -0
  16. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +106 -2
  17. package/dist/cjs/dispute-30c806f6.js +10 -0
  18. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  19. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +56 -33
  20. package/dist/cjs/form-control-date.cjs.entry.js +83 -0
  21. package/dist/cjs/form-control-error-text.cjs.entry.js +21 -0
  22. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  23. package/dist/cjs/form-control-help-text.cjs.entry.js +21 -0
  24. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  25. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +99 -0
  26. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  27. package/dist/cjs/form-control-radio.cjs.entry.js +44 -0
  28. package/dist/cjs/form-control-textarea.cjs.entry.js +49 -0
  29. package/dist/cjs/{get-payout-csv-3a3260ec.js → get-payout-csv-12dc9540.js} +4 -3
  30. package/dist/cjs/get-subaccounts-8f7a930f.js +54 -0
  31. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  32. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +30 -17
  33. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +173 -0
  34. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  35. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1679 -14
  36. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  37. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -13
  38. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  39. package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
  40. package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -10
  41. package/dist/cjs/justifi-checkout.cjs.entry.js +13 -28
  42. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +119 -0
  43. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  44. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +28 -0
  45. package/dist/cjs/justifi-dispute-management.cjs.entry.js +16 -0
  46. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  47. package/dist/cjs/{justifi-new-payment-method_4.cjs.entry.js → justifi-new-payment-method_5.cjs.entry.js} +23 -6
  48. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
  49. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -8
  50. package/dist/cjs/justifi-payment-form.cjs.entry.js +12 -11
  51. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +4 -3
  52. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  53. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  54. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -12
  55. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
  56. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -14
  57. package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -6
  58. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  59. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -7
  60. package/dist/cjs/justifi-terminals-list.cjs.entry.js +137 -0
  61. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +59 -0
  62. package/dist/cjs/loader.cjs.js +1 -1
  63. package/dist/{esm/payments-list-filters_2.entry.js → cjs/lodash-dbf6a6a4.js} +2 -57
  64. package/dist/cjs/{package-3a9ac89d.js → package-41c8f38c.js} +1 -1
  65. package/dist/cjs/payment-details-core.cjs.entry.js +11 -10
  66. package/dist/cjs/{payment.service-47e2d84e.js → payment.service-83da752a.js} +4 -3
  67. package/dist/cjs/payments-list-core.cjs.entry.js +17 -17
  68. package/dist/cjs/payments-list-filters.cjs.entry.js +35 -0
  69. package/dist/cjs/payments-status-58e45b2e.js +26 -0
  70. package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
  71. package/dist/cjs/payouts-list-core.cjs.entry.js +8 -24
  72. package/dist/cjs/payouts-status-2f7be07d.js +24 -0
  73. package/dist/cjs/{schema-validations-0a7e46a3.js → schema-validations-184a4356.js} +1 -1
  74. package/dist/cjs/styled-host-1adf46c3.js +14 -0
  75. package/dist/cjs/table-bb114e2f.js +20 -0
  76. package/dist/cjs/table-filters-menu.cjs.entry.js +35 -0
  77. package/dist/cjs/terminals-list-core.cjs.entry.js +166 -0
  78. package/dist/cjs/terminals-list-filters.cjs.entry.js +32 -0
  79. package/dist/cjs/{utils-af1b60a9.js → utils-3d84442d.js} +3 -44
  80. package/dist/cjs/webcomponents.cjs.js +1 -1
  81. package/dist/collection/api/Api.js +6 -4
  82. package/dist/collection/api/Checkout.js +77 -1
  83. package/dist/collection/api/Payment.js +15 -0
  84. package/dist/collection/api/SubAccount.js +33 -0
  85. package/dist/collection/api/Terminal.js +25 -0
  86. package/dist/collection/api/get-subaccounts.js +31 -0
  87. package/dist/collection/api/index.js +2 -0
  88. package/dist/collection/api/services/checkout.service.js +10 -1
  89. package/dist/collection/api/services/subaccounts.service.js +13 -0
  90. package/dist/collection/api/services/terminal.service.js +20 -0
  91. package/dist/collection/collection-manifest.json +37 -14
  92. package/dist/collection/components/billing-form/billing-form.js +3 -3
  93. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  94. package/dist/collection/components/business-details/business-details-core.js +1 -1
  95. package/dist/collection/components/business-details/business-details.js +1 -1
  96. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -1
  97. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
  98. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  99. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  100. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  101. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
  102. package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
  103. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
  104. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -4
  105. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
  106. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
  107. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
  108. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +43 -3
  109. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  110. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +33 -5
  111. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +26 -3
  112. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  113. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +25 -3
  114. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  115. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +3 -3
  116. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +25 -2
  117. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +26 -3
  119. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +17 -17
  121. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +26 -3
  122. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  123. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +25 -3
  124. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
  125. package/dist/collection/components/business-forms/utils/business-form-types.js +11 -0
  126. package/dist/collection/components/card-form/card-form.js +1 -1
  127. package/dist/collection/components/checkout/checkout-core.js +2 -2
  128. package/dist/collection/components/checkout/checkout.js +2 -2
  129. package/dist/collection/components/checkout/new-payment-method.js +1 -1
  130. package/dist/collection/components/checkout/payment-method-options.js +1 -1
  131. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  132. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  133. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  134. package/dist/collection/components/checkouts-list/checkouts-list-core.js +257 -0
  135. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +84 -0
  136. package/dist/collection/components/checkouts-list/checkouts-list.js +208 -0
  137. package/dist/collection/components/checkouts-list/checkouts-status.js +13 -0
  138. package/dist/collection/components/checkouts-list/checkouts-table.js +20 -0
  139. package/dist/collection/components/checkouts-list/get-checkouts.js +31 -0
  140. package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +8 -0
  141. package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +8 -0
  142. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +90 -0
  143. package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +8 -0
  144. package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +8 -0
  145. package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +8 -0
  146. package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +8 -0
  147. package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +16 -0
  148. package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +8 -0
  149. package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +12 -0
  150. package/dist/collection/components/dispute-management/dispute-management-core.js +53 -0
  151. package/dist/collection/components/dispute-management/dispute-management.js +8 -0
  152. package/dist/collection/components/dispute-management/dispute-notification.js +48 -0
  153. package/dist/collection/components/dispute-management/dispute.js +8 -0
  154. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  155. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
  156. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  157. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  158. package/dist/collection/components/payment-details/payment-details-core.js +10 -9
  159. package/dist/collection/components/payment-details/payment-details.js +1 -1
  160. package/dist/collection/components/payment-form/payment-form.js +3 -3
  161. package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
  162. package/dist/collection/components/payments-list/payments-list-core.js +14 -14
  163. package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
  164. package/dist/collection/components/payments-list/payments-list.js +3 -5
  165. package/dist/collection/components/payments-list/payments-status.js +23 -0
  166. package/dist/collection/components/payout-details/payout-details-core.js +4 -3
  167. package/dist/collection/components/payout-details/payout-details.js +1 -1
  168. package/dist/collection/components/payouts-list/payouts-list-core.js +6 -22
  169. package/dist/collection/components/payouts-list/payouts-list.js +4 -7
  170. package/dist/collection/components/payouts-list/payouts-status.js +21 -0
  171. package/dist/collection/components/refund-form/refund-form.js +2 -2
  172. package/dist/collection/components/terminals-list/get-terminal-detail.js +29 -0
  173. package/dist/collection/components/terminals-list/get-terminals.js +31 -0
  174. package/dist/collection/components/terminals-list/terminals-list-core.js +257 -0
  175. package/dist/collection/components/terminals-list/terminals-list-filters.js +81 -0
  176. package/dist/collection/components/terminals-list/terminals-list.js +209 -0
  177. package/dist/collection/components/terminals-list/terminals-status.js +11 -0
  178. package/dist/collection/components/terminals-list/terminals-table.js +15 -0
  179. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +9 -0
  180. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +276 -0
  181. package/dist/collection/ui-components/custom-popper/custom-popper.js +8 -4
  182. package/dist/collection/{components → ui-components}/details/details.js +1 -1
  183. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  184. package/dist/collection/{components → ui-components}/form/form-control-checkbox.js +1 -1
  185. package/dist/collection/ui-components/form/form-control-date.js +284 -0
  186. package/dist/collection/{components → ui-components}/form/form-control-file.js +1 -1
  187. package/dist/collection/{components → ui-components}/form/form-control-monetary.js +1 -1
  188. package/dist/collection/{components → ui-components}/form/form-control-number-masked.js +1 -1
  189. package/dist/collection/{components → ui-components}/form/form-control-number.js +1 -1
  190. package/dist/collection/{components/form/form-control-date.js → ui-components/form/form-control-radio.js} +54 -36
  191. package/dist/collection/{components → ui-components}/form/form-control-select.js +1 -1
  192. package/dist/collection/{components → ui-components}/form/form-control-text.js +1 -1
  193. package/dist/collection/ui-components/form/form-control-textarea.js +229 -0
  194. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +63 -0
  195. package/dist/collection/ui-components/index.js +1 -0
  196. package/dist/collection/utils/table.js +16 -0
  197. package/dist/collection/utils/utils.js +3 -42
  198. package/dist/docs.json +9561 -6219
  199. package/dist/esm/{Analytics-b0f6936a.js → Analytics-777962a4.js} +2 -2
  200. package/dist/esm/{Api-c8abc2e0.js → Api-391d00e2.js} +6 -4
  201. package/dist/esm/Checkout-0b4086f8.js +83 -0
  202. package/dist/esm/{Payment-6bf26fe2.js → Payment-30790721.js} +15 -0
  203. package/dist/esm/SubAccount-7f7e4c56.js +102 -0
  204. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  205. package/dist/esm/{business-additional-questions-schema-a5583cf8.js → business-additional-questions-schema-97f52255.js} +2 -2
  206. package/dist/esm/business-details-core.entry.js +2 -2
  207. package/dist/esm/{business-form-types-1bc5fe08.js → business-form-types-8fd61b0e.js} +12 -1
  208. package/dist/esm/{business-identity-schema-9e3269fb.js → business-identity-schema-434e16bc.js} +2 -2
  209. package/dist/esm/{business.service-1f589b6e.js → business.service-97a3da69.js} +1 -1
  210. package/dist/esm/{check-pkg-version-10cadb08.js → check-pkg-version-bac8fac0.js} +1 -1
  211. package/dist/esm/checkout.service-ef1549c6.js +34 -0
  212. package/dist/esm/checkouts-list-core.entry.js +177 -0
  213. package/dist/esm/checkouts-list-filters.entry.js +31 -0
  214. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +105 -4
  215. package/dist/esm/dispute-4d2e0a04.js +10 -0
  216. package/dist/esm/form-alert_5.entry.js +3 -3
  217. package/dist/esm/form-control-checkbox_9.entry.js +56 -33
  218. package/dist/esm/form-control-date.entry.js +79 -0
  219. package/dist/esm/form-control-error-text.entry.js +17 -0
  220. package/dist/esm/form-control-file.entry.js +1 -1
  221. package/dist/esm/form-control-help-text.entry.js +17 -0
  222. package/dist/esm/form-control-monetary.entry.js +1 -1
  223. package/dist/esm/form-control-number-masked_2.entry.js +94 -0
  224. package/dist/esm/form-control-number.entry.js +1 -1
  225. package/dist/esm/form-control-radio.entry.js +40 -0
  226. package/dist/esm/form-control-textarea.entry.js +45 -0
  227. package/dist/esm/{get-payout-csv-93427146.js → get-payout-csv-70974763.js} +4 -3
  228. package/dist/esm/get-subaccounts-16c8ce40.js +51 -0
  229. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  230. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +30 -17
  231. package/dist/esm/justifi-additional-statement_11.entry.js +159 -0
  232. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  233. package/dist/esm/justifi-billing-form_2.entry.js +1680 -15
  234. package/dist/esm/justifi-business-details.entry.js +6 -6
  235. package/dist/esm/justifi-business-form.entry.js +14 -13
  236. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  237. package/dist/esm/justifi-card-form.entry.js +4 -4
  238. package/dist/esm/justifi-checkout-core.entry.js +4 -9
  239. package/dist/esm/justifi-checkout.entry.js +11 -26
  240. package/dist/esm/justifi-checkouts-list.entry.js +115 -0
  241. package/dist/esm/justifi-details.entry.js +3 -3
  242. package/dist/esm/justifi-dispute-management-core.entry.js +24 -0
  243. package/dist/esm/justifi-dispute-management.entry.js +12 -0
  244. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  245. package/dist/esm/{justifi-new-payment-method_4.entry.js → justifi-new-payment-method_5.entry.js} +23 -7
  246. package/dist/esm/justifi-owner-form_3.entry.js +8 -8
  247. package/dist/esm/justifi-payment-details.entry.js +9 -8
  248. package/dist/esm/justifi-payment-form.entry.js +12 -11
  249. package/dist/esm/justifi-payment-method-selector.entry.js +4 -3
  250. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  251. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  252. package/dist/esm/justifi-payments-list.entry.js +11 -12
  253. package/dist/esm/justifi-payout-details.entry.js +9 -8
  254. package/dist/esm/justifi-payouts-list.entry.js +12 -14
  255. package/dist/esm/justifi-refund-form.entry.js +7 -6
  256. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  257. package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -7
  258. package/dist/esm/justifi-terminals-list.entry.js +133 -0
  259. package/dist/esm/justifi-tokenize-payment-method.entry.js +55 -0
  260. package/dist/esm/loader.js +1 -1
  261. package/dist/{cjs/payments-list-filters_2.cjs.entry.js → esm/lodash-faeb5a52.js} +1 -63
  262. package/dist/esm/{package-2ef16e2c.js → package-5144835c.js} +1 -1
  263. package/dist/esm/payment-details-core.entry.js +11 -10
  264. package/dist/esm/{payment.service-21a3e2d3.js → payment.service-2f67410b.js} +4 -3
  265. package/dist/esm/payments-list-core.entry.js +16 -16
  266. package/dist/esm/payments-list-filters.entry.js +31 -0
  267. package/dist/esm/payments-status-4937a170.js +24 -0
  268. package/dist/esm/payout-details-core.entry.js +5 -4
  269. package/dist/esm/payouts-list-core.entry.js +8 -24
  270. package/dist/esm/payouts-status-cd58e525.js +22 -0
  271. package/dist/esm/{schema-validations-e725d701.js → schema-validations-c1728516.js} +1 -1
  272. package/dist/esm/styled-host-e0ddb759.js +12 -0
  273. package/dist/esm/table-75364107.js +18 -0
  274. package/dist/esm/table-filters-menu.entry.js +31 -0
  275. package/dist/esm/terminals-list-core.entry.js +162 -0
  276. package/dist/esm/terminals-list-filters.entry.js +28 -0
  277. package/dist/esm/{utils-e66d8bca.js → utils-3daada24.js} +4 -43
  278. package/dist/esm/webcomponents.js +1 -1
  279. package/dist/module/Api.js +6 -4
  280. package/dist/module/Checkout.js +83 -0
  281. package/dist/module/Payment.js +15 -0
  282. package/dist/module/SubAccount.js +102 -0
  283. package/dist/module/additional-questions.js +22 -10
  284. package/dist/module/additional-statement.js +63 -0
  285. package/dist/module/billing-form.js +14 -8
  286. package/dist/module/business-additional-questions-form-step-core.js +42 -11
  287. package/dist/module/business-additional-questions-form-step.js +23 -11
  288. package/dist/module/business-bank-account-form-step.js +25 -11
  289. package/dist/module/business-core-info-form-step-core.js +19 -10
  290. package/dist/module/business-core-info-form-step.js +16 -10
  291. package/dist/module/business-core-info.js +16 -10
  292. package/dist/module/business-document-upload-form-step.js +14 -5
  293. package/dist/module/business-document-upload-input-group.js +28 -22
  294. package/dist/module/business-documents-on-file.js +1 -1
  295. package/dist/module/business-form-types.js +12 -1
  296. package/dist/module/business-owners-form-step-core.js +20 -12
  297. package/dist/module/business-owners-form-step.js +16 -10
  298. package/dist/module/business-representative-form-inputs.js +16 -10
  299. package/dist/module/business-representative-form-step-core.js +19 -10
  300. package/dist/module/business-representative-form-step.js +16 -10
  301. package/dist/module/business-representative.js +15 -9
  302. package/dist/module/business-terms-conditions-form-step.js +6 -3
  303. package/dist/module/business-terms-conditions-text.js +1 -1
  304. package/dist/module/cancellation-policy.js +63 -0
  305. package/dist/module/checkout-core.js +16 -15
  306. package/dist/module/checkout.service.js +34 -0
  307. package/dist/module/checkouts-list-core.d.ts +11 -0
  308. package/dist/module/checkouts-list-core.js +6 -0
  309. package/dist/module/checkouts-list-core2.js +249 -0
  310. package/dist/module/checkouts-list-filters.d.ts +11 -0
  311. package/dist/module/checkouts-list-filters.js +6 -0
  312. package/dist/module/checkouts-list-filters2.js +80 -0
  313. package/dist/module/counter-dispute.js +189 -0
  314. package/dist/module/custom-popper2.js +2 -2
  315. package/dist/module/customer-details.js +69 -0
  316. package/dist/module/details.js +1 -1
  317. package/dist/module/dispute-management-core.js +160 -0
  318. package/dist/module/dispute-notification.js +36 -0
  319. package/dist/module/dispute-reason.js +45 -0
  320. package/dist/module/duplicate-charge.js +69 -0
  321. package/dist/module/electronic-evidence.js +63 -0
  322. package/dist/module/exported-parts.js +1 -34
  323. package/dist/module/form-control-checkbox2.js +1 -1
  324. package/dist/module/form-control-date2.js +59 -10
  325. package/dist/module/form-control-file2.js +10 -4
  326. package/dist/module/form-control-monetary2.js +1 -1
  327. package/dist/module/form-control-number-masked2.js +10 -4
  328. package/dist/module/form-control-number.js +1 -1
  329. package/dist/module/form-control-radio.d.ts +11 -0
  330. package/dist/module/form-control-radio.js +6 -0
  331. package/dist/module/form-control-radio2.js +78 -0
  332. package/dist/module/form-control-select2.js +10 -4
  333. package/dist/module/form-control-text2.js +10 -4
  334. package/dist/module/form-control-textarea.d.ts +11 -0
  335. package/dist/module/form-control-textarea.js +6 -0
  336. package/dist/module/form-control-textarea2.js +84 -0
  337. package/dist/module/form-control-tooltip.d.ts +11 -0
  338. package/dist/module/form-control-tooltip.js +6 -0
  339. package/dist/module/form-control-tooltip2.js +49 -0
  340. package/dist/module/get-payout-csv.js +2 -1
  341. package/dist/module/get-subaccounts.js +51 -0
  342. package/dist/module/gross-payment-chart-core2.js +2 -2
  343. package/dist/module/identity-address-form.js +14 -8
  344. package/dist/module/justifi-additional-statement.d.ts +11 -0
  345. package/dist/module/justifi-additional-statement.js +6 -0
  346. package/dist/module/justifi-business-form.js +32 -19
  347. package/dist/module/justifi-cancellation-policy.d.ts +11 -0
  348. package/dist/module/justifi-cancellation-policy.js +6 -0
  349. package/dist/module/justifi-card-form.js +1 -1
  350. package/dist/module/justifi-checkout.js +16 -31
  351. package/dist/module/justifi-checkouts-list.d.ts +11 -0
  352. package/dist/module/justifi-checkouts-list.js +191 -0
  353. package/dist/module/justifi-counter-dispute.d.ts +11 -0
  354. package/dist/module/justifi-counter-dispute.js +6 -0
  355. package/dist/module/justifi-customer-details.d.ts +11 -0
  356. package/dist/module/justifi-customer-details.js +6 -0
  357. package/dist/module/justifi-dispute-management-core.d.ts +11 -0
  358. package/dist/module/justifi-dispute-management-core.js +6 -0
  359. package/dist/module/justifi-dispute-management.d.ts +11 -0
  360. package/dist/module/justifi-dispute-management.js +157 -0
  361. package/dist/module/justifi-dispute-notification.d.ts +11 -0
  362. package/dist/module/justifi-dispute-notification.js +6 -0
  363. package/dist/module/justifi-dispute-reason.d.ts +11 -0
  364. package/dist/module/justifi-dispute-reason.js +6 -0
  365. package/dist/module/justifi-duplicate-charge.d.ts +11 -0
  366. package/dist/module/justifi-duplicate-charge.js +6 -0
  367. package/dist/module/justifi-electronic-evidence.d.ts +11 -0
  368. package/dist/module/justifi-electronic-evidence.js +6 -0
  369. package/dist/module/justifi-payment-details.js +2 -1
  370. package/dist/module/justifi-payment-form.js +18 -11
  371. package/dist/module/justifi-payment-provisioning.js +30 -18
  372. package/dist/module/justifi-payments-list.js +12 -13
  373. package/dist/module/justifi-payout-details.js +2 -1
  374. package/dist/module/justifi-payouts-list.js +14 -10
  375. package/dist/module/justifi-product-or-service.d.ts +11 -0
  376. package/dist/module/justifi-product-or-service.js +6 -0
  377. package/dist/module/justifi-refund-form.js +23 -10
  378. package/dist/module/justifi-refund-policy.d.ts +11 -0
  379. package/dist/module/justifi-refund-policy.js +6 -0
  380. package/dist/module/justifi-season-interruption-insurance.js +3 -2
  381. package/dist/module/justifi-shipping-details.d.ts +11 -0
  382. package/dist/module/justifi-shipping-details.js +6 -0
  383. package/dist/module/justifi-terminals-list.d.ts +11 -0
  384. package/dist/module/justifi-terminals-list.js +216 -0
  385. package/dist/module/justifi-tokenize-payment-method.d.ts +11 -0
  386. package/dist/module/justifi-tokenize-payment-method.js +153 -0
  387. package/dist/module/legal-address-form-step-core.js +17 -8
  388. package/dist/module/legal-address-form-step.js +14 -8
  389. package/dist/module/legal-address-form.js +14 -8
  390. package/dist/module/lodash.js +17204 -0
  391. package/dist/module/new-payment-method.js +14 -8
  392. package/dist/module/owner-form-core2.js +17 -11
  393. package/dist/module/owner-form-inputs2.js +16 -10
  394. package/dist/module/owner-form.js +15 -9
  395. package/dist/module/package.js +1 -1
  396. package/dist/module/payment-details-core2.js +9 -8
  397. package/dist/module/payment-method-form.js +1 -1
  398. package/dist/module/payment-method-options.js +14 -8
  399. package/dist/module/payment-method-selector.js +3 -2
  400. package/dist/module/payment-provisioning-core.js +31 -19
  401. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  402. package/dist/module/payment-provisioning-form-steps.js +30 -18
  403. package/dist/module/payment.service.js +2 -1
  404. package/dist/module/payments-list-core2.js +23 -22
  405. package/dist/module/payments-list-filters2.js +9 -17211
  406. package/dist/module/payments-status.js +24 -0
  407. package/dist/module/payout-details-core2.js +3 -2
  408. package/dist/module/payouts-list-core2.js +17 -26
  409. package/dist/module/payouts-status.js +22 -0
  410. package/dist/module/product-or-service.js +60 -0
  411. package/dist/module/refund-policy.js +63 -0
  412. package/dist/module/save-new-payment-method.js +1 -1
  413. package/dist/module/saved-payment-method.js +2 -2
  414. package/dist/module/season-interruption-insurance-core.js +3 -3
  415. package/dist/module/sezzle-payment-method.js +2 -2
  416. package/dist/module/shipping-details.js +79 -0
  417. package/dist/module/styled-host.js +1 -1
  418. package/dist/module/table-filters-menu2.js +1 -1
  419. package/dist/module/table-loading-state.js +34 -0
  420. package/dist/module/table.js +18 -0
  421. package/dist/module/terminals-list-core.d.ts +11 -0
  422. package/dist/module/terminals-list-core.js +6 -0
  423. package/dist/module/terminals-list-core2.js +240 -0
  424. package/dist/module/terminals-list-filters.d.ts +11 -0
  425. package/dist/module/terminals-list-filters.js +6 -0
  426. package/dist/module/terminals-list-filters2.js +83 -0
  427. package/dist/module/utils2.js +4 -43
  428. package/dist/types/api/Api.d.ts +1 -1
  429. package/dist/types/api/Checkout.d.ts +74 -2
  430. package/dist/types/api/Payment.d.ts +7 -0
  431. package/dist/types/api/SubAccount.d.ts +51 -0
  432. package/dist/types/api/Terminal.d.ts +48 -0
  433. package/dist/types/api/get-subaccounts.d.ts +10 -0
  434. package/dist/types/api/index.d.ts +2 -0
  435. package/dist/types/api/services/checkout.service.d.ts +3 -1
  436. package/dist/types/api/services/subaccounts.service.d.ts +7 -0
  437. package/dist/types/api/services/terminal.service.d.ts +9 -0
  438. package/dist/types/components/billing-form/billing-form.d.ts +1 -1
  439. package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +1 -1
  440. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +1 -1
  441. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -1
  442. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +1 -1
  443. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
  444. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
  445. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +5 -2
  446. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -2
  447. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -2
  448. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -1
  449. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
  450. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +3 -2
  451. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +3 -2
  452. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +3 -2
  453. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +3 -2
  454. package/dist/types/components/business-forms/utils/business-form-types.d.ts +15 -0
  455. package/dist/types/components/business-forms/utils/input-handlers.d.ts +1 -1
  456. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +35 -0
  457. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +15 -0
  458. package/dist/types/components/checkouts-list/checkouts-list.d.ts +44 -0
  459. package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -0
  460. package/dist/types/components/checkouts-list/checkouts-table.d.ts +17 -0
  461. package/dist/types/components/checkouts-list/get-checkouts.d.ts +10 -0
  462. package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +3 -0
  463. package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +3 -0
  464. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +14 -0
  465. package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +3 -0
  466. package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +3 -0
  467. package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +3 -0
  468. package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +3 -0
  469. package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +4 -0
  470. package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +3 -0
  471. package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +3 -0
  472. package/dist/types/components/dispute-management/dispute-management-core.d.ts +7 -0
  473. package/dist/types/components/dispute-management/dispute-management.d.ts +3 -0
  474. package/dist/types/components/dispute-management/dispute-notification.d.ts +8 -0
  475. package/dist/types/components/dispute-management/dispute.d.ts +7 -0
  476. package/dist/types/components/payments-list/payments-status.d.ts +1 -0
  477. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -2
  478. package/dist/types/components/payouts-list/payouts-status.d.ts +1 -0
  479. package/dist/types/components/terminals-list/get-terminal-detail.d.ts +8 -0
  480. package/dist/types/components/terminals-list/get-terminals.d.ts +10 -0
  481. package/dist/types/components/terminals-list/terminals-list-core.d.ts +35 -0
  482. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +13 -0
  483. package/dist/types/components/terminals-list/terminals-list.d.ts +44 -0
  484. package/dist/types/components/terminals-list/terminals-status.d.ts +1 -0
  485. package/dist/types/components/terminals-list/terminals-table.d.ts +13 -0
  486. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +22 -0
  487. package/dist/types/components.d.ts +779 -16
  488. package/dist/types/ui-components/custom-popper/custom-popper.d.ts +1 -1
  489. package/dist/types/{components → ui-components}/form/form-control-date.d.ts +6 -0
  490. package/dist/types/ui-components/form/form-control-radio.d.ts +19 -0
  491. package/dist/types/ui-components/form/form-control-textarea.d.ts +20 -0
  492. package/dist/types/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +8 -0
  493. package/dist/types/ui-components/index.d.ts +1 -0
  494. package/dist/types/utils/table.d.ts +13 -0
  495. package/dist/types/utils/utils.d.ts +1 -3
  496. package/dist/webcomponents/p-037e3545.entry.js +1 -0
  497. package/dist/webcomponents/{p-232016ba.entry.js → p-04d12939.entry.js} +1 -1
  498. package/dist/webcomponents/p-0ac35b39.entry.js +1 -0
  499. package/dist/webcomponents/p-0b686ada.entry.js +1 -0
  500. package/dist/webcomponents/p-0c79e368.entry.js +1 -0
  501. package/dist/webcomponents/p-0de9e97b.entry.js +1 -0
  502. package/dist/webcomponents/{p-7d3be485.js → p-0e180654.js} +1 -1
  503. package/dist/webcomponents/{p-056e75be.entry.js → p-11ff46df.entry.js} +1 -1
  504. package/dist/webcomponents/p-16d2932d.js +1 -0
  505. package/dist/webcomponents/p-206fde40.js +1 -0
  506. package/dist/webcomponents/p-24392a86.entry.js +1 -0
  507. package/dist/webcomponents/p-269ba6fe.entry.js +1 -0
  508. package/dist/webcomponents/{p-1eee25f3.entry.js → p-286a4e72.entry.js} +2 -2
  509. package/dist/webcomponents/p-2c2b57b3.js +1 -0
  510. package/dist/webcomponents/{p-d76002d5.entry.js → p-2c8c214f.entry.js} +1 -1
  511. package/dist/webcomponents/p-2de65000.entry.js +1 -0
  512. package/dist/webcomponents/{p-277aee05.js → p-3d3468a8.js} +1 -1
  513. package/dist/webcomponents/p-47dbe17d.js +1 -0
  514. package/dist/webcomponents/p-4b14abbf.entry.js +1 -0
  515. package/dist/webcomponents/p-4c0c88e4.entry.js +1 -0
  516. package/dist/webcomponents/p-52ca72cd.entry.js +1 -0
  517. package/dist/webcomponents/{p-707bdf68.js → p-56bda985.js} +1 -1
  518. package/dist/webcomponents/p-56d84fb3.entry.js +1 -0
  519. package/dist/webcomponents/p-638c6285.entry.js +1 -0
  520. package/dist/webcomponents/p-69ea7334.entry.js +1 -0
  521. package/dist/webcomponents/p-6caf6f09.entry.js +1 -0
  522. package/dist/webcomponents/{p-da1d174d.entry.js → p-72819173.entry.js} +1 -1
  523. package/dist/webcomponents/p-74da98da.js +1 -0
  524. package/dist/webcomponents/p-7fec2bcb.js +1 -0
  525. package/dist/webcomponents/p-8480e3ab.entry.js +1 -0
  526. package/dist/webcomponents/p-869ae0c7.entry.js +1 -0
  527. package/dist/webcomponents/p-8ec550d7.entry.js +1 -0
  528. package/dist/webcomponents/p-8f212554.entry.js +1 -0
  529. package/dist/webcomponents/p-907ba963.js +1 -0
  530. package/dist/webcomponents/p-919e6e67.entry.js +1 -0
  531. package/dist/webcomponents/p-927a147c.entry.js +1 -0
  532. package/dist/webcomponents/p-935188c8.entry.js +1 -0
  533. package/dist/webcomponents/p-9bd13e22.js +1 -0
  534. package/dist/webcomponents/p-9f56ad71.js +1 -0
  535. package/dist/webcomponents/p-a2be972d.entry.js +1 -0
  536. package/dist/webcomponents/p-a3143d62.entry.js +1 -0
  537. package/dist/webcomponents/p-a76ece26.js +1 -0
  538. package/dist/webcomponents/{p-5e2c9ec8.js → p-a8f22d4d.js} +1 -1
  539. package/dist/webcomponents/p-ad443df5.entry.js +1 -0
  540. package/dist/webcomponents/p-b0686897.entry.js +1 -0
  541. package/dist/webcomponents/p-b1aacd6b.entry.js +1 -0
  542. package/dist/webcomponents/p-b4a7307b.entry.js +1 -0
  543. package/dist/webcomponents/p-bfb990fc.entry.js +1 -0
  544. package/dist/webcomponents/p-c1bf9285.entry.js +1 -0
  545. package/dist/webcomponents/{p-35846553.js → p-c1cf7d5b.js} +1 -1
  546. package/dist/webcomponents/p-c30c8f39.entry.js +1 -0
  547. package/dist/webcomponents/p-c5c6e61d.js +1 -0
  548. package/dist/webcomponents/{p-d99a5f30.entry.js → p-c63825d8.entry.js} +1 -1
  549. package/dist/webcomponents/{p-5022f21c.js → p-c65b78cf.js} +1 -1
  550. package/dist/webcomponents/p-c6be72b0.js +10 -0
  551. package/dist/webcomponents/p-c717646f.entry.js +1 -0
  552. package/dist/webcomponents/{p-d9579cd6.entry.js → p-cb79f06c.entry.js} +1 -1
  553. package/dist/webcomponents/p-ccbff4fa.entry.js +1 -0
  554. package/dist/webcomponents/p-cd4eaeb7.js +1 -0
  555. package/dist/webcomponents/p-cd7e866c.entry.js +1 -0
  556. package/dist/webcomponents/p-d1248039.entry.js +1 -0
  557. package/dist/webcomponents/{p-c64ce69d.entry.js → p-d2eb61e6.entry.js} +1 -1
  558. package/dist/webcomponents/p-d516e700.js +1 -0
  559. package/dist/webcomponents/p-dae9b10e.entry.js +1 -0
  560. package/dist/webcomponents/p-e412a713.entry.js +1 -0
  561. package/dist/webcomponents/p-e69b2ff8.entry.js +1 -0
  562. package/dist/webcomponents/p-e6be8845.entry.js +1 -0
  563. package/dist/webcomponents/{p-b91bcbfc.js → p-e7d6609d.js} +1 -1
  564. package/dist/webcomponents/p-e8797be0.entry.js +1 -0
  565. package/dist/webcomponents/p-eb9ba917.entry.js +1 -0
  566. package/dist/webcomponents/p-ec7e69eb.entry.js +1 -0
  567. package/dist/webcomponents/p-eeb70281.entry.js +1 -0
  568. package/dist/webcomponents/{p-e31f0f3e.entry.js → p-efb56234.entry.js} +1 -1
  569. package/dist/webcomponents/p-f4a8215b.entry.js +1 -0
  570. package/dist/webcomponents/{p-401d6607.js → p-f6f8dabc.js} +1 -1
  571. package/dist/webcomponents/{p-1c04aacd.entry.js → p-f7077f93.entry.js} +1 -1
  572. package/dist/webcomponents/p-fc4de0d2.js +1 -0
  573. package/dist/webcomponents/{p-3c7fac29.entry.js → p-ffe27126.entry.js} +1 -1
  574. package/dist/webcomponents/webcomponents.esm.js +1 -1
  575. package/package.json +1 -1
  576. package/dist/cjs/Payout-a2dd7b01.js +0 -45
  577. package/dist/cjs/form-control-date_3.cjs.entry.js +0 -136
  578. package/dist/cjs/form-control-error-text_4.cjs.entry.js +0 -118
  579. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1688
  580. package/dist/cjs/styled-host-9e0b67b3.js +0 -14
  581. package/dist/esm/Payout-dfe15b00.js +0 -43
  582. package/dist/esm/form-control-date_3.entry.js +0 -130
  583. package/dist/esm/form-control-error-text_4.entry.js +0 -111
  584. package/dist/esm/justifi-payment-method-form.entry.js +0 -1684
  585. package/dist/esm/styled-host-3171ae1f.js +0 -12
  586. package/dist/module/Payout.js +0 -43
  587. package/dist/webcomponents/p-034fc302.entry.js +0 -1
  588. package/dist/webcomponents/p-37888614.entry.js +0 -1
  589. package/dist/webcomponents/p-430f81c6.entry.js +0 -1
  590. package/dist/webcomponents/p-44055818.js +0 -1
  591. package/dist/webcomponents/p-538fd427.entry.js +0 -1
  592. package/dist/webcomponents/p-55182a59.js +0 -1
  593. package/dist/webcomponents/p-570a0f02.entry.js +0 -1
  594. package/dist/webcomponents/p-57d7534f.entry.js +0 -1
  595. package/dist/webcomponents/p-59cf5391.entry.js +0 -1
  596. package/dist/webcomponents/p-60d3571e.entry.js +0 -1
  597. package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
  598. package/dist/webcomponents/p-75139399.entry.js +0 -1
  599. package/dist/webcomponents/p-7771f64b.entry.js +0 -1
  600. package/dist/webcomponents/p-7ddfce86.entry.js +0 -1
  601. package/dist/webcomponents/p-7ff329b1.js +0 -1
  602. package/dist/webcomponents/p-8a7112a0.entry.js +0 -1
  603. package/dist/webcomponents/p-9add7d3e.entry.js +0 -1
  604. package/dist/webcomponents/p-9b154d98.entry.js +0 -1
  605. package/dist/webcomponents/p-ab92abb1.entry.js +0 -1
  606. package/dist/webcomponents/p-ad47f37c.entry.js +0 -1
  607. package/dist/webcomponents/p-aedb421f.entry.js +0 -1
  608. package/dist/webcomponents/p-b14da2fd.entry.js +0 -1
  609. package/dist/webcomponents/p-bbed6107.entry.js +0 -1
  610. package/dist/webcomponents/p-bdc91c61.entry.js +0 -1
  611. package/dist/webcomponents/p-c1772671.entry.js +0 -1
  612. package/dist/webcomponents/p-c740b6ca.entry.js +0 -1
  613. package/dist/webcomponents/p-ce5fe369.entry.js +0 -10
  614. package/dist/webcomponents/p-d8355f91.entry.js +0 -1
  615. package/dist/webcomponents/p-d89bad72.js +0 -1
  616. package/dist/webcomponents/p-dc048c3c.entry.js +0 -1
  617. package/dist/webcomponents/p-df21aaad.js +0 -1
  618. package/dist/webcomponents/p-e2c88817.entry.js +0 -1
  619. package/dist/webcomponents/p-e3fab0e2.js +0 -1
  620. package/dist/webcomponents/p-f0866375.entry.js +0 -1
  621. package/dist/webcomponents/p-f2924369.js +0 -1
  622. package/dist/webcomponents/p-fb7f7a8c.entry.js +0 -1
  623. package/dist/webcomponents/p-ffddac99.entry.js +0 -1
  624. /package/dist/cjs/{exported-parts-b18c68c2.js → exported-parts-a994d693.js} +0 -0
  625. /package/dist/cjs/{index.esm-52757963.js → index.esm-97cf6825.js} +0 -0
  626. /package/dist/cjs/{utils-c1d2e426.js → utils-189dc30d.js} +0 -0
  627. /package/dist/cjs/{utils-ddacfc44.js → utils-bc03ca40.js} +0 -0
  628. /package/dist/collection/{components → ui-components}/details/utils.js +0 -0
  629. /package/dist/collection/{components → ui-components}/form/form-helpers/form-alert/form-alert.js +0 -0
  630. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -0
  631. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.js +0 -0
  632. /package/dist/collection/{components → ui-components}/form/form.js +0 -0
  633. /package/dist/collection/{components → ui-components}/form/utils.js +0 -0
  634. /package/dist/collection/{components → ui-components}/table/exported-parts.js +0 -0
  635. /package/dist/esm/{exported-parts-abd4c027.js → exported-parts-70e7a12b.js} +0 -0
  636. /package/dist/esm/{index.esm-fc4f5c0c.js → index.esm-ed37201b.js} +0 -0
  637. /package/dist/esm/{utils-3bb6347a.js → utils-20cdf321.js} +0 -0
  638. /package/dist/esm/{utils-01413a95.js → utils-218275b7.js} +0 -0
  639. /package/dist/types/{components → ui-components}/details/details.d.ts +0 -0
  640. /package/dist/types/{components → ui-components}/details/utils.d.ts +0 -0
  641. /package/dist/types/{components → ui-components}/form/form-control-checkbox.d.ts +0 -0
  642. /package/dist/types/{components → ui-components}/form/form-control-file.d.ts +0 -0
  643. /package/dist/types/{components → ui-components}/form/form-control-monetary.d.ts +0 -0
  644. /package/dist/types/{components → ui-components}/form/form-control-number-masked.d.ts +0 -0
  645. /package/dist/types/{components → ui-components}/form/form-control-number.d.ts +0 -0
  646. /package/dist/types/{components → ui-components}/form/form-control-select.d.ts +0 -0
  647. /package/dist/types/{components → ui-components}/form/form-control-text.d.ts +0 -0
  648. /package/dist/types/{components → ui-components}/form/form-helpers/form-alert/form-alert.d.ts +0 -0
  649. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -0
  650. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.d.ts +0 -0
  651. /package/dist/types/{components → ui-components}/form/form.d.ts +0 -0
  652. /package/dist/types/{components → ui-components}/form/utils.d.ts +0 -0
  653. /package/dist/types/{components → ui-components}/table/exported-parts.d.ts +0 -0
  654. /package/dist/webcomponents/{p-2eab3c90.js → p-3c654c07.js} +0 -0
  655. /package/dist/webcomponents/{p-2b6c9c4f.js → p-6cc30da2.js} +0 -0
  656. /package/dist/webcomponents/{p-dce846bf.js → p-a8b4f429.js} +0 -0
  657. /package/dist/webcomponents/{p-8df7bde8.js → p-e3c22aa9.js} +0 -0
@@ -0,0 +1,102 @@
1
+ var PayoutStatuses;
2
+ (function (PayoutStatuses) {
3
+ PayoutStatuses["paid"] = "paid";
4
+ PayoutStatuses["failed"] = "failed";
5
+ PayoutStatuses["forwarded"] = "forwarded";
6
+ PayoutStatuses["scheduled"] = "scheduled";
7
+ PayoutStatuses["in_transit"] = "in_transit";
8
+ PayoutStatuses["canceled"] = "canceled";
9
+ })(PayoutStatuses || (PayoutStatuses = {}));
10
+ var PayoutStatusesSafeNames;
11
+ (function (PayoutStatusesSafeNames) {
12
+ PayoutStatusesSafeNames["paid"] = "Paid";
13
+ PayoutStatusesSafeNames["failed"] = "Failed";
14
+ PayoutStatusesSafeNames["forwarded"] = "Forwarded";
15
+ PayoutStatusesSafeNames["scheduled"] = "Scheduled";
16
+ PayoutStatusesSafeNames["in_transit"] = "In Transit";
17
+ PayoutStatusesSafeNames["canceled"] = "Canceled";
18
+ })(PayoutStatusesSafeNames || (PayoutStatusesSafeNames = {}));
19
+ class Payout {
20
+ constructor(payout) {
21
+ this.id = payout.id;
22
+ this.account_id = payout.account_id;
23
+ this.amount = payout.amount;
24
+ this.bank_account = payout.bank_account;
25
+ this.currency = payout.currency;
26
+ this.delivery_method = payout.delivery_method || 'standard';
27
+ this.description = payout.description;
28
+ this.deposits_at = payout.deposits_at;
29
+ this.fees_total = payout.fees_total;
30
+ this.refunds_count = payout.refunds_count;
31
+ this.refunds_total = payout.refunds_total;
32
+ this.payments_count = payout.payments_count;
33
+ this.payments_total = payout.payments_total;
34
+ this.payout_type = payout.payout_type;
35
+ this.other_total = payout.other_total;
36
+ this.status = payout.status;
37
+ this.metadata = payout.metadata;
38
+ this.created_at = payout.created_at;
39
+ this.updated_at = payout.updated_at;
40
+ }
41
+ }
42
+
43
+ var TerminalStatuses;
44
+ (function (TerminalStatuses) {
45
+ TerminalStatuses["connected"] = "connected";
46
+ TerminalStatuses["disconnected"] = "disconnected";
47
+ TerminalStatuses["unknown"] = "unknown";
48
+ })(TerminalStatuses || (TerminalStatuses = {}));
49
+ var TerminalProviders;
50
+ (function (TerminalProviders) {
51
+ TerminalProviders["verifone"] = "verifone";
52
+ })(TerminalProviders || (TerminalProviders = {}));
53
+ class Terminal {
54
+ constructor(data) {
55
+ this.id = data.id || '';
56
+ this.status = data.status;
57
+ this.account_id = data.account_id || '';
58
+ this.platform_account_id = data.platform_account_id || '';
59
+ this.provider = data.provider || '';
60
+ this.provider_id = data.provider_id || '';
61
+ this.created_at = data.created_at || '';
62
+ this.updated_at = data.updated_at || '';
63
+ this.verified_at = data.verified_at || '';
64
+ this.nickname = data.nickname || '';
65
+ }
66
+ }
67
+
68
+ var AccountType;
69
+ (function (AccountType) {
70
+ AccountType["test"] = "test";
71
+ AccountType["live"] = "live";
72
+ })(AccountType || (AccountType = {}));
73
+ var AccountStatus;
74
+ (function (AccountStatus) {
75
+ AccountStatus["created"] = "created";
76
+ AccountStatus["submitted"] = "submitted";
77
+ AccountStatus["information_needed"] = "information_needed";
78
+ AccountStatus["rejected"] = "rejected";
79
+ AccountStatus["enabled"] = "enabled";
80
+ AccountStatus["disabled"] = "disabled";
81
+ AccountStatus["archived"] = "archived";
82
+ })(AccountStatus || (AccountStatus = {}));
83
+ class SubAccount {
84
+ constructor(subAccount) {
85
+ this.id = subAccount.id;
86
+ this.name = subAccount.name;
87
+ this.account_type = subAccount.account_type;
88
+ this.status = subAccount.status;
89
+ this.currency = subAccount.currency;
90
+ this.platform_account_id = subAccount.platform_account_id;
91
+ this.payout_account_id = subAccount.payout_account_id;
92
+ this.business_id = subAccount.business_id;
93
+ this.application_fee_rates = subAccount.application_fee_rates;
94
+ this.processing_ready = subAccount.processing_ready;
95
+ this.payout_ready = subAccount.payout_ready;
96
+ this.related_accounts = subAccount.related_accounts;
97
+ this.created_at = subAccount.created_at;
98
+ this.updated_at = subAccount.updated_at;
99
+ }
100
+ }
101
+
102
+ export { Payout as P, SubAccount as S, Terminal as T };
@@ -1,11 +1,13 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { b as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions } from './business-form-options.js';
3
3
  import { C as CURRENCY_MASK } from './form-input-masks.js';
4
- import { d as defineCustomElement$5 } from './form-control-error-text2.js';
5
- import { d as defineCustomElement$4 } from './form-control-help-text2.js';
6
- import { d as defineCustomElement$3 } from './form-control-monetary2.js';
7
- import { d as defineCustomElement$2 } from './form-control-select2.js';
8
- import { d as defineCustomElement$1 } from './form-control-text2.js';
4
+ import { d as defineCustomElement$7 } from './custom-popper2.js';
5
+ import { d as defineCustomElement$6 } from './form-control-error-text2.js';
6
+ import { d as defineCustomElement$5 } from './form-control-help-text2.js';
7
+ import { d as defineCustomElement$4 } from './form-control-monetary2.js';
8
+ import { d as defineCustomElement$3 } from './form-control-select2.js';
9
+ import { d as defineCustomElement$2 } from './form-control-text2.js';
10
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
9
11
 
10
12
  const AdditionalQuestions = /*@__PURE__*/ proxyCustomElement(class AdditionalQuestions extends HTMLElement {
11
13
  constructor() {
@@ -37,34 +39,44 @@ function defineCustomElement() {
37
39
  if (typeof customElements === "undefined") {
38
40
  return;
39
41
  }
40
- const components = ["justifi-additional-questions", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text"];
42
+ const components = ["justifi-additional-questions", "custom-popper", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text", "form-control-tooltip"];
41
43
  components.forEach(tagName => { switch (tagName) {
42
44
  case "justifi-additional-questions":
43
45
  if (!customElements.get(tagName)) {
44
46
  customElements.define(tagName, AdditionalQuestions);
45
47
  }
46
48
  break;
49
+ case "custom-popper":
50
+ if (!customElements.get(tagName)) {
51
+ defineCustomElement$7();
52
+ }
53
+ break;
47
54
  case "form-control-error-text":
48
55
  if (!customElements.get(tagName)) {
49
- defineCustomElement$5();
56
+ defineCustomElement$6();
50
57
  }
51
58
  break;
52
59
  case "form-control-help-text":
53
60
  if (!customElements.get(tagName)) {
54
- defineCustomElement$4();
61
+ defineCustomElement$5();
55
62
  }
56
63
  break;
57
64
  case "form-control-monetary":
58
65
  if (!customElements.get(tagName)) {
59
- defineCustomElement$3();
66
+ defineCustomElement$4();
60
67
  }
61
68
  break;
62
69
  case "form-control-select":
63
70
  if (!customElements.get(tagName)) {
64
- defineCustomElement$2();
71
+ defineCustomElement$3();
65
72
  }
66
73
  break;
67
74
  case "form-control-text":
75
+ if (!customElements.get(tagName)) {
76
+ defineCustomElement$2();
77
+ }
78
+ break;
79
+ case "form-control-tooltip":
68
80
  if (!customElements.get(tagName)) {
69
81
  defineCustomElement$1();
70
82
  }
@@ -0,0 +1,63 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$6 } from './custom-popper2.js';
3
+ import { d as defineCustomElement$5 } from './form-control-error-text2.js';
4
+ import { d as defineCustomElement$4 } from './form-control-file2.js';
5
+ import { d as defineCustomElement$3 } from './form-control-help-text2.js';
6
+ import { d as defineCustomElement$2 } from './form-control-textarea2.js';
7
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
8
+
9
+ const AdditionalStatement = /*@__PURE__*/ proxyCustomElement(class AdditionalStatement extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ this.__registerHost();
13
+ }
14
+ render() {
15
+ return (h("div", { key: '21cee41c41fa70a5cc6b82f14ea49ee01086fa71' }, h("div", { key: '90d9a279089ce3d5e6861aaab2175ded06a5b8b3', class: "row gy-3" }, h("div", { key: '15a2cdde695c98c47bae644964457c7275e0933f', class: "col-12" }, h("h2", { key: '515f18bc0215936f6dc28cefbabbdbdb12c6ba61', class: "h5" }, "Additional Evidence")), h("div", { key: 'e1ee3b76fb7455c4feeaef6bb9368b4b07ed361b', class: "col-12" }, h("form-control-textarea", { key: '3d4ce8f83f457dd28f08dc5f973a76f9a9d4e362', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement" })), h("div", { key: '46445fa4158cd16fb3e2e26111c4a62fe386bbc0', class: "col-12" }, h("form-control-file", { key: '025ada3f8f2c0a2c185f9be0bfbb9816a560371e', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided." })))));
16
+ }
17
+ }, [0, "justifi-additional-statement"]);
18
+ function defineCustomElement() {
19
+ if (typeof customElements === "undefined") {
20
+ return;
21
+ }
22
+ const components = ["justifi-additional-statement", "custom-popper", "form-control-error-text", "form-control-file", "form-control-help-text", "form-control-textarea", "form-control-tooltip"];
23
+ components.forEach(tagName => { switch (tagName) {
24
+ case "justifi-additional-statement":
25
+ if (!customElements.get(tagName)) {
26
+ customElements.define(tagName, AdditionalStatement);
27
+ }
28
+ break;
29
+ case "custom-popper":
30
+ if (!customElements.get(tagName)) {
31
+ defineCustomElement$6();
32
+ }
33
+ break;
34
+ case "form-control-error-text":
35
+ if (!customElements.get(tagName)) {
36
+ defineCustomElement$5();
37
+ }
38
+ break;
39
+ case "form-control-file":
40
+ if (!customElements.get(tagName)) {
41
+ defineCustomElement$4();
42
+ }
43
+ break;
44
+ case "form-control-help-text":
45
+ if (!customElements.get(tagName)) {
46
+ defineCustomElement$3();
47
+ }
48
+ break;
49
+ case "form-control-textarea":
50
+ if (!customElements.get(tagName)) {
51
+ defineCustomElement$2();
52
+ }
53
+ break;
54
+ case "form-control-tooltip":
55
+ if (!customElements.get(tagName)) {
56
+ defineCustomElement$1();
57
+ }
58
+ break;
59
+ } });
60
+ }
61
+ defineCustomElement();
62
+
63
+ export { AdditionalStatement as A, defineCustomElement as d };
@@ -4,10 +4,11 @@ import { i as identityNameValidation, l as lineOneValidation, c as lineTwoValida
4
4
  import { S as StateOptions } from './state-options.js';
5
5
  import { n as numberOnlyHandler } from './utils4.js';
6
6
  import { S as StyledHost } from './styled-host.js';
7
+ import { d as defineCustomElement$5 } from './custom-popper2.js';
7
8
  import { d as defineCustomElement$4 } from './form-control-error-text2.js';
8
- import { d as defineCustomElement$3 } from './form-control-help-text2.js';
9
- import { d as defineCustomElement$2 } from './form-control-select2.js';
10
- import { d as defineCustomElement$1 } from './form-control-text2.js';
9
+ import { d as defineCustomElement$3 } from './form-control-select2.js';
10
+ import { d as defineCustomElement$2 } from './form-control-text2.js';
11
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
11
12
 
12
13
  const BillingFormSchema = create$3({
13
14
  name: identityNameValidation.required('Enter full name'),
@@ -55,7 +56,7 @@ const BillingForm = /*@__PURE__*/ proxyCustomElement(class BillingForm extends H
55
56
  }
56
57
  render() {
57
58
  const billingFormDefaultValue = this.formController.getInitialValues();
58
- return (h(StyledHost, { key: 'b08094d3c44d35cdb3c21b4bc360dbbee19d7d15', exportparts: "label,input,input-invalid" }, h("form", { key: '392538a781ffa2ac299cbc4203bab5efd10e77cc' }, h("fieldset", { key: 'f4b5a5ec9a91e9f50a3847c5eb16635c4f9d569a' }, this.legend && h("legend", { key: 'eb75e22f9df33c13e3851ece784d237b8973e2c5' }, this.legend), h("div", { key: 'd7ffdc1cfeda5568ad003a4d3bbe94765de04605', class: "row gy-3" }, h("div", { key: 'c22f9e7b2f33b5c298bb5f0a5c7bcaa709c231a0', class: "col-12" }, h("form-control-text", { key: 'd6eb4d2f4d1a2a709e0f29bf18b5d9700bd91a13', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '8494ee3c14f8923d18d8708077e030c2f141a251', class: "col-12" }, h("form-control-text", { key: '63266eb0e2b2b006a3c914a68703ee1cdf848f83', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '0a19fcf5c172d2539f23e147f39461d84dfd9d37', class: "col-12" }, h("form-control-text", { key: '0e5fae5d65d5ea195de0227d1e4f79cee7c7a0fb', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '13104554e8247cb0534c3dc9e6a16b2f44397795', class: "col-12" }, h("form-control-text", { key: '430e59713ec66ff7a6f735ca24640c27b05cbeee', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '5b81499717f67d5f499f4ebfc585056ef5bd3d56', class: "col-12" }, h("form-control-select", { key: '726c724eda5f25a92bad7e549ff7845ece7b41e1', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '5d5a6e0949c5ad93da5bc1837dadf88c2128212d', class: "col-12" }, h("form-control-text", { key: 'ebb4e77126d86011d9a1ed5d118461198b399092', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
59
+ return (h(StyledHost, { key: '221838c3ba8255b62db0f2feee7b227b0d240627', exportparts: "label,input,input-invalid" }, h("form", { key: '87377d7776c3fdf7ffa351f25522921b233dd16f' }, h("fieldset", { key: '821487e408ec634dd23417604f02f1aa212dcb2a' }, this.legend && h("legend", { key: 'c042f51480e23ad455a6d3fc420f494c33d93f2c' }, this.legend), h("div", { key: '6a9f2c0fd10c7786b132f7208036cf878e3fe8c1', class: "row gy-3" }, h("div", { key: 'b375c19faeb23927e290c4a60b4347dc64868840', class: "col-12" }, h("form-control-text", { key: 'be3b78234607f996efe8971082ff457e63767e22', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '95d3f3bb6ff7df39deb2967db11017e8f80ca5a9', class: "col-12" }, h("form-control-text", { key: '9e719038219bf7b7651679b617b2131ab5336289', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '0945bca70a70abfdce40c8d52537eb06479aface', class: "col-12" }, h("form-control-text", { key: '59b9b87c005609daf501b0d7d6a8d640297c75c4', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: 'f3e9d8297e9e4009a0b16f331eeffb1316a92030', class: "col-12" }, h("form-control-text", { key: '158a4d2e3e85700a5c80304e0316391090b52f74', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '67110a816d76d4c98062859733def72e88f1a3d9', class: "col-12" }, h("form-control-select", { key: 'd26b22251d6da9d8f7b8bb109126e804cdfbccb0', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: 'a248ef0a4860d9d634f46e96cc953c8ca0ee64f1', class: "col-12" }, h("form-control-text", { key: '36f96a7e94088dd140ca9774903387ae2be3cad8', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
59
60
  }
60
61
  static get style() { return JustifiBillingFormStyle0; }
61
62
  }, [1, "justifi-billing-form", {
@@ -71,29 +72,34 @@ function defineCustomElement() {
71
72
  if (typeof customElements === "undefined") {
72
73
  return;
73
74
  }
74
- const components = ["justifi-billing-form", "form-control-error-text", "form-control-help-text", "form-control-select", "form-control-text"];
75
+ const components = ["justifi-billing-form", "custom-popper", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip"];
75
76
  components.forEach(tagName => { switch (tagName) {
76
77
  case "justifi-billing-form":
77
78
  if (!customElements.get(tagName)) {
78
79
  customElements.define(tagName, BillingForm);
79
80
  }
80
81
  break;
82
+ case "custom-popper":
83
+ if (!customElements.get(tagName)) {
84
+ defineCustomElement$5();
85
+ }
86
+ break;
81
87
  case "form-control-error-text":
82
88
  if (!customElements.get(tagName)) {
83
89
  defineCustomElement$4();
84
90
  }
85
91
  break;
86
- case "form-control-help-text":
92
+ case "form-control-select":
87
93
  if (!customElements.get(tagName)) {
88
94
  defineCustomElement$3();
89
95
  }
90
96
  break;
91
- case "form-control-select":
97
+ case "form-control-text":
92
98
  if (!customElements.get(tagName)) {
93
99
  defineCustomElement$2();
94
100
  }
95
101
  break;
96
- case "form-control-text":
102
+ case "form-control-tooltip":
97
103
  if (!customElements.get(tagName)) {
98
104
  defineCustomElement$1();
99
105
  }
@@ -2,19 +2,23 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
2
2
  import { a as additionalQuestionsSchema } from './business-additional-questions-schema.js';
3
3
  import { F as FormController } from './form.js';
4
4
  import { A as AdditionalQuestions } from './Business.js';
5
+ import { B as BusinessFormStepV2 } from './business-form-types.js';
5
6
  import { C as CURRENCY_MASK } from './form-input-masks.js';
6
7
  import { b as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions } from './business-form-options.js';
7
- import { d as defineCustomElement$5 } from './form-control-error-text2.js';
8
- import { d as defineCustomElement$4 } from './form-control-help-text2.js';
9
- import { d as defineCustomElement$3 } from './form-control-monetary2.js';
10
- import { d as defineCustomElement$2 } from './form-control-select2.js';
11
- import { d as defineCustomElement$1 } from './form-control-text2.js';
8
+ import { d as defineCustomElement$7 } from './custom-popper2.js';
9
+ import { d as defineCustomElement$6 } from './form-control-error-text2.js';
10
+ import { d as defineCustomElement$5 } from './form-control-help-text2.js';
11
+ import { d as defineCustomElement$4 } from './form-control-monetary2.js';
12
+ import { d as defineCustomElement$3 } from './form-control-select2.js';
13
+ import { d as defineCustomElement$2 } from './form-control-text2.js';
14
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
12
15
 
13
16
  const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class AdditionalQuestionsFormStepCore extends HTMLElement {
14
17
  constructor() {
15
18
  super();
16
19
  this.__registerHost();
17
20
  this.submitted = createEvent(this, "submitted", 7);
21
+ this.stepCompleted = createEvent(this, "form-step-completed", 7);
18
22
  this.formLoading = createEvent(this, "formLoading", 7);
19
23
  this.errorEvent = createEvent(this, "error-event", 7);
20
24
  this.getData = () => {
@@ -53,20 +57,31 @@ const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class A
53
57
  },
54
58
  final: () => {
55
59
  this.submitted.emit({ data: { submittedData } });
60
+ this.stepCompleted.emit({ data: submittedData, formStep: BusinessFormStepV2.additionalQuestions });
56
61
  this.formLoading.emit(false);
57
62
  }
58
63
  });
59
64
  };
60
65
  this.inputHandler = (name, value) => {
61
66
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
67
+ this.additional_questions = new AdditionalQuestions(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
62
68
  };
63
69
  this.formController = undefined;
64
70
  this.errors = {};
65
71
  this.additional_questions = {};
72
+ this.recurringPayments = false;
66
73
  this.getBusiness = undefined;
67
74
  this.patchBusiness = undefined;
68
75
  this.allowOptionalFields = undefined;
69
76
  }
77
+ recurringPaymentsWatcher(newValue) {
78
+ if ((newValue === null || newValue === void 0 ? void 0 : newValue.business_recurring_payments) === 'Yes') {
79
+ this.recurringPayments = true;
80
+ }
81
+ else {
82
+ this.recurringPayments = false;
83
+ }
84
+ }
70
85
  async validateAndSubmit({ onSuccess }) {
71
86
  this.formController.validateAndSubmit(() => this.sendData(onSuccess));
72
87
  }
@@ -87,8 +102,11 @@ const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class A
87
102
  render() {
88
103
  var _a, _b, _c, _d, _e, _f, _g;
89
104
  const additionalQuestionsDefaultValue = this.formController.getInitialValues();
90
- return (h("form", { key: '275b193388d360ab6dacfb70ea9e06d68d68cbf8' }, h("fieldset", { key: '740ce0b08ad00efa1345f69cf977e64283307533' }, h("legend", { key: '7f531cdf699ad93234bbdd5d9336ee782e770597' }, "Additional Questions"), h("hr", { key: 'cb81b0b4dc9e6a52ff9bf70571a200fee50e8146' }), h("div", { key: '9100fdb4857a5a9a2b42f0188cfac075974afbeb', class: 'row gy-3' }, h("div", { key: 'ee0885251b8e49cb33359a42897097552e9d0ff9', class: 'col-12 col-md-6' }, h("form-control-monetary", { key: '555b00e0b6728dca26a42813991f35dec41e2577', name: 'business_revenue', label: 'What is the business\u2019 estimated annual revenue from its primary business activities?', inputHandler: this.inputHandler, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '689ecc46bffe9cfe7190428e191802332485f139', class: 'col-12 col-md-6' }, h("form-control-monetary", { key: '19a4269b31af12f9e07655c9dc0d9db1de46caa2', name: 'business_payment_volume', label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'f6eebbdd589cf4eb506d3d94502a027e639889d9', class: 'col-12' }, h("form-control-select", { key: '112bb7ee88335d9b8e8f9300ff190f164b750b39', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: '49864b5aeca86d221cc12690e2f9976fe9ee86ef', class: 'col-12' }, h("form-control-select", { key: 'a07159d8e7e49b9b1df5bcf2dcede994d0059595', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '3a03321d7dd9202c290443d756105bb2565a3e55', class: 'col-12' }, h("form-control-text", { key: '319a5fcb7ac6e975c41cfd5b19d5de0e98504f5d', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: 'e108f26d04e7f9510f89ab09daab53e86f5c30e1', class: 'col-12' }, h("form-control-select", { key: '45fb9296592415ddb947b55e3c7c73d198b96fac', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: '0b40ac8429c07279acb3d360124853a608a01664', class: 'col-12' }, h("form-control-text", { key: '880e00acdfa51f95b643f1ecc8d6fccba1167e6c', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_g = this.errors) === null || _g === void 0 ? void 0 : _g.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
105
+ return (h("form", { key: '469cda15cbb05da33e26bc645cc51ebbbdf6e7fc' }, h("fieldset", { key: 'b00875b7d3f3d3ad338c38000cc29b3a550e8a50' }, h("div", { key: '6dfc3d60d5b5469613681715bf1965752fdb9662', class: "d-flex align-items-center gap-2" }, h("legend", { key: '65b2a3769f96714563a468eca3f1d7e82d6a1538', class: "mb-0" }, "Additional Questions"), h("form-control-tooltip", { key: '7a51538fe74cf8e0f3ed49042d6301fb2bd7909b', helpText: "This information helps us understand the business and identify and monitor trends to safeguard you and your customers." })), h("hr", { key: '42496d5e78ed4922a0165caab9e6e7e48cb44616', class: "mt-2" }), h("div", { key: '0d7ff24d81a3f54e223293c393d4ce89588a1c58', class: "row gy-3" }, h("div", { key: '12a1c72e5e5802f7729f2a09764a5cffa194639d', class: "col-12 col-md-6" }, h("form-control-monetary", { key: 'c9f4aecc5b7108c788237f776953c5cd9ae844b8', name: "business_revenue", label: "What is your business\u2019 estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'ecd78939d2a7ac81932898f65f3c9424f157fb3d', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '5df34b238082a11a4589a05e24c53650bd2c0b79', name: "business_payment_volume", label: "What is your business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '9db14123245c84eb3dc33d28154ac9be458987cc', class: "col-12" }, h("form-control-select", { key: '7e9899a2e41c14ae968c5451e46d445cbaa289a4', name: "business_when_service_received", label: "On average, how long after paying will your customers typically receive their goods or services?", inputHandler: this.inputHandler, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: 'f5ebffe9294cbe7e16487c8e63009f7c4901fee1', class: "col-12" }, h("form-control-select", { key: '32a0f978252a52cff90a3a9c1e675515960ee016', name: "business_recurring_payments", label: "Does your business offer recurring payments?", inputHandler: this.inputHandler, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '0aa20a223c15959c7b1e36b8570c17c11c193a8c', class: 'col-12', hidden: !this.recurringPayments }, h("form-control-text", { key: 'e6abbe38ef92091d87c04f832c860ac1a34e855f', name: "business_recurring_payments_percentage", label: "What percent of revenue is generated from each recurring payment type offered?", inputHandler: this.inputHandler, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage, helpText: "For example: 50% monthly, 50% annual." })), h("div", { key: '1c2fbe366315babd398e48b38861cb2b8336b287', class: "col-12" }, h("form-control-select", { key: 'eb45c69781ea51ab35f3f0782d1245f553ff63a5', name: "business_seasonal", label: "Is this business seasonal?", inputHandler: this.inputHandler, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: 'ded80ce1cf8b0fd1b580d5002a1a869aed132f62', class: "col-12" }, h("form-control-text", { key: '80612b8d9381072e0ae670f07b649f01f1cfed66', name: "business_other_payment_details", label: "Is there anything else you would like us to know about how your customers pay the business? (optional)", inputHandler: this.inputHandler, errorText: (_g = this.errors) === null || _g === void 0 ? void 0 : _g.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
91
106
  }
107
+ static get watchers() { return {
108
+ "additional_questions": ["recurringPaymentsWatcher"]
109
+ }; }
92
110
  }, [0, "justifi-additional-questions-form-step-core", {
93
111
  "getBusiness": [16],
94
112
  "patchBusiness": [16],
@@ -96,40 +114,53 @@ const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class A
96
114
  "formController": [32],
97
115
  "errors": [32],
98
116
  "additional_questions": [32],
117
+ "recurringPayments": [32],
99
118
  "validateAndSubmit": [64]
119
+ }, undefined, {
120
+ "additional_questions": ["recurringPaymentsWatcher"]
100
121
  }]);
101
122
  function defineCustomElement() {
102
123
  if (typeof customElements === "undefined") {
103
124
  return;
104
125
  }
105
- const components = ["justifi-additional-questions-form-step-core", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text"];
126
+ const components = ["justifi-additional-questions-form-step-core", "custom-popper", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text", "form-control-tooltip"];
106
127
  components.forEach(tagName => { switch (tagName) {
107
128
  case "justifi-additional-questions-form-step-core":
108
129
  if (!customElements.get(tagName)) {
109
130
  customElements.define(tagName, AdditionalQuestionsFormStepCore);
110
131
  }
111
132
  break;
133
+ case "custom-popper":
134
+ if (!customElements.get(tagName)) {
135
+ defineCustomElement$7();
136
+ }
137
+ break;
112
138
  case "form-control-error-text":
113
139
  if (!customElements.get(tagName)) {
114
- defineCustomElement$5();
140
+ defineCustomElement$6();
115
141
  }
116
142
  break;
117
143
  case "form-control-help-text":
118
144
  if (!customElements.get(tagName)) {
119
- defineCustomElement$4();
145
+ defineCustomElement$5();
120
146
  }
121
147
  break;
122
148
  case "form-control-monetary":
123
149
  if (!customElements.get(tagName)) {
124
- defineCustomElement$3();
150
+ defineCustomElement$4();
125
151
  }
126
152
  break;
127
153
  case "form-control-select":
128
154
  if (!customElements.get(tagName)) {
129
- defineCustomElement$2();
155
+ defineCustomElement$3();
130
156
  }
131
157
  break;
132
158
  case "form-control-text":
159
+ if (!customElements.get(tagName)) {
160
+ defineCustomElement$2();
161
+ }
162
+ break;
163
+ case "form-control-tooltip":
133
164
  if (!customElements.get(tagName)) {
134
165
  defineCustomElement$1();
135
166
  }
@@ -2,11 +2,13 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
2
2
  import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
3
3
  import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
4
4
  import { B as BusinessService } from './business.service.js';
5
- import { d as defineCustomElement$6 } from './form-control-error-text2.js';
6
- import { d as defineCustomElement$5 } from './form-control-help-text2.js';
7
- import { d as defineCustomElement$4 } from './form-control-monetary2.js';
8
- import { d as defineCustomElement$3 } from './form-control-select2.js';
9
- import { d as defineCustomElement$2 } from './form-control-text2.js';
5
+ import { d as defineCustomElement$8 } from './custom-popper2.js';
6
+ import { d as defineCustomElement$7 } from './form-control-error-text2.js';
7
+ import { d as defineCustomElement$6 } from './form-control-help-text2.js';
8
+ import { d as defineCustomElement$5 } from './form-control-monetary2.js';
9
+ import { d as defineCustomElement$4 } from './form-control-select2.js';
10
+ import { d as defineCustomElement$3 } from './form-control-text2.js';
11
+ import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
10
12
  import { d as defineCustomElement$1 } from './business-additional-questions-form-step-core.js';
11
13
 
12
14
  const AdditionalQuestionsFormStep = /*@__PURE__*/ proxyCustomElement(class AdditionalQuestionsFormStep extends HTMLElement {
@@ -51,7 +53,7 @@ const AdditionalQuestionsFormStep = /*@__PURE__*/ proxyCustomElement(class Addit
51
53
  }
52
54
  }
53
55
  render() {
54
- return (h("justifi-additional-questions-form-step-core", { key: 'ede8f1336c69d47c651a5b4b95ee2746aae3aa52', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
56
+ return (h("justifi-additional-questions-form-step-core", { key: '6ca8443cbe837d993be4381a9d650caaaf51f2df', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
55
57
  }
56
58
  static get watchers() { return {
57
59
  "authToken": ["propChanged"],
@@ -72,34 +74,44 @@ function defineCustomElement() {
72
74
  if (typeof customElements === "undefined") {
73
75
  return;
74
76
  }
75
- const components = ["justifi-additional-questions-form-step", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text", "justifi-additional-questions-form-step-core"];
77
+ const components = ["justifi-additional-questions-form-step", "custom-popper", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-additional-questions-form-step-core"];
76
78
  components.forEach(tagName => { switch (tagName) {
77
79
  case "justifi-additional-questions-form-step":
78
80
  if (!customElements.get(tagName)) {
79
81
  customElements.define(tagName, AdditionalQuestionsFormStep);
80
82
  }
81
83
  break;
84
+ case "custom-popper":
85
+ if (!customElements.get(tagName)) {
86
+ defineCustomElement$8();
87
+ }
88
+ break;
82
89
  case "form-control-error-text":
83
90
  if (!customElements.get(tagName)) {
84
- defineCustomElement$6();
91
+ defineCustomElement$7();
85
92
  }
86
93
  break;
87
94
  case "form-control-help-text":
88
95
  if (!customElements.get(tagName)) {
89
- defineCustomElement$5();
96
+ defineCustomElement$6();
90
97
  }
91
98
  break;
92
99
  case "form-control-monetary":
93
100
  if (!customElements.get(tagName)) {
94
- defineCustomElement$4();
101
+ defineCustomElement$5();
95
102
  }
96
103
  break;
97
104
  case "form-control-select":
98
105
  if (!customElements.get(tagName)) {
99
- defineCustomElement$3();
106
+ defineCustomElement$4();
100
107
  }
101
108
  break;
102
109
  case "form-control-text":
110
+ if (!customElements.get(tagName)) {
111
+ defineCustomElement$3();
112
+ }
113
+ break;
114
+ case "form-control-tooltip":
103
115
  if (!customElements.get(tagName)) {
104
116
  defineCustomElement$2();
105
117
  }