@justifi/webcomponents 5.4.0 → 5.4.2

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 (578) hide show
  1. package/dist/cjs/{Checkout-eef27045.js → Checkout-5352009d.js} +1 -1
  2. package/dist/cjs/{Payment-c47ed1e1.js → Payment-bccd8f7d.js} +1 -1
  3. package/dist/cjs/{SubAccount-9babbfd3.js → SubAccount-06f9030b.js} +4 -2
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  5. package/dist/cjs/{badge-591df67f.js → badge-364e6311.js} +1 -1
  6. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -11
  7. package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -16
  8. package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
  9. package/dist/cjs/{business-additional-questions-schema-5c100f58.js → business-additional-questions-schema-8568cb79.js} +2 -2
  10. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  11. package/dist/cjs/{business-identity-schema-3b4d16f1.js → business-identity-schema-518ab6eb.js} +2 -2
  12. package/dist/cjs/{business.service-27f67b29.js → business.service-6e8a29a2.js} +2 -2
  13. package/dist/cjs/{button-7f272a63.js → button-4a9fd41e.js} +1 -1
  14. package/dist/cjs/{check-pkg-version-52c7c2ab.js → check-pkg-version-15023e22.js} +1 -1
  15. package/dist/cjs/{checkout.service-46a5b9f2.js → checkout.service-ab658f38.js} +3 -3
  16. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
  17. package/dist/cjs/{checkouts-table-7f2081df.js → checkouts-table-8a1b49ff.js} +3 -3
  18. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
  19. package/dist/cjs/{dispute.service-a36c48bf.js → dispute.service-1494b42c.js} +3 -3
  20. package/dist/cjs/{event-types-921f3555.js → event-types-5a6ce2b0.js} +2 -2
  21. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  23. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  24. package/dist/cjs/{form-control-error-text-377bcf59.js → form-control-error-text-3cff9b7b.js} +1 -1
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  26. package/dist/cjs/{form-control-help-text-f7369e16.js → form-control-help-text-94ffed2c.js} +1 -1
  27. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +85 -0
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +27 -40
  29. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  31. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  32. package/dist/cjs/{get-business-0bd063d2.js → get-business-d8f5db51.js} +2 -2
  33. package/dist/cjs/{get-payout-csv-c1c7f03f.js → get-payout-csv-4240b172.js} +3 -3
  34. package/dist/cjs/{get-subaccounts-c1d559a0.js → get-subaccounts-fa8dc254.js} +3 -3
  35. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  36. package/dist/cjs/{header-1-a63a16d5.js → header-1-43b2b905.js} +1 -1
  37. package/dist/cjs/{header-3-a6e0f274.js → header-3-eb250a04.js} +1 -1
  38. package/dist/cjs/{index.esm-a397536a.js → index.esm-544c08fd.js} +0 -122
  39. package/dist/cjs/{insurance-state-ff4fca5a.js → insurance-state-71f8b653.js} +1 -1
  40. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
  41. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -17
  42. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  43. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  44. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
  45. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  46. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
  47. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
  48. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  49. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
  50. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  51. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  52. package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
  53. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
  54. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
  55. package/dist/cjs/justifi-order-terminals.cjs.entry.js +21 -23
  56. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -9
  57. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
  58. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
  60. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  61. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
  62. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
  63. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  64. package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
  65. package/dist/cjs/justifi-refund-payment.cjs.entry.js +122 -0
  66. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  67. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -7
  68. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
  69. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  70. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -6
  71. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
  72. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -9
  73. package/dist/cjs/loader.cjs.js +1 -1
  74. package/dist/cjs/{package-53904238.js → package-868b01af.js} +2 -2
  75. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  76. package/dist/cjs/{parts-3118ab4b.js → parts-5ca90f9a.js} +2 -0
  77. package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
  78. package/dist/cjs/{payment.service-fedf131a.js → payment.service-97bef4f8.js} +3 -3
  79. package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
  80. package/dist/cjs/{payments-status-96156930.js → payments-status-075aad0a.js} +1 -1
  81. package/dist/cjs/{payments-table-6f87d43e.js → payments-table-a076755a.js} +3 -3
  82. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  83. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
  84. package/dist/cjs/{payouts-status-aa6842ac.js → payouts-status-ced97c2b.js} +1 -1
  85. package/dist/cjs/{payouts-table-d4c8bbbc.js → payouts-table-aedce326.js} +3 -3
  86. package/dist/cjs/{schema-validations-47a256f4.js → schema-validations-a7cefbdf.js} +1 -1
  87. package/dist/cjs/{skeleton-32198b92.js → skeleton-e8aa41d0.js} +1 -1
  88. package/dist/cjs/{spinner-a5c0f3c0.js → spinner-580453f2.js} +1 -1
  89. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  90. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -10
  91. package/dist/cjs/{terminal-orders-table-eb95b278.js → terminal-orders-table-050e673f.js} +3 -3
  92. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  93. package/dist/cjs/{terminal.service-ac44fc14.js → terminal.service-0aac977d.js} +3 -3
  94. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
  95. package/dist/cjs/{terminals-table-3f0c33ea.js → terminals-table-6710a76c.js} +14 -2
  96. package/dist/cjs/{utils-337befa9.js → utils-4120664c.js} +20 -2
  97. package/dist/cjs/{utils-97041614.js → utils-f8714daa.js} +1 -1
  98. package/dist/cjs/webcomponents.cjs.js +1 -1
  99. package/dist/collection/actions/business/get-business.js +2 -2
  100. package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
  101. package/dist/collection/actions/terminal/order-terminals.js +2 -2
  102. package/dist/collection/api/Terminal.js +3 -1
  103. package/dist/collection/api/services/business.service.js +2 -2
  104. package/dist/collection/collection-manifest.json +6 -5
  105. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  106. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  107. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  108. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  109. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  110. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  111. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  112. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  113. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +1 -1
  114. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  115. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  116. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  117. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  119. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  122. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +255 -0
  123. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  125. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  128. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  129. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  130. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.js +6 -6
  131. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-schema.js +6 -2
  132. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.js +7 -7
  133. package/dist/collection/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.js +5 -5
  134. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  135. package/dist/collection/components/checkout/checkout-core.js +5 -5
  136. package/dist/collection/components/checkout/checkout.js +6 -6
  137. package/dist/collection/components/checkout/new-payment-method.js +5 -5
  138. package/dist/collection/components/checkout/payment-method-options.js +5 -5
  139. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  140. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  141. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  142. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  143. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  144. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  158. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  159. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  160. package/dist/collection/components/order-terminals/order-terminals.js +25 -8
  161. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  162. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  163. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  164. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  165. package/dist/collection/components/payments-list/payments-list.js +1 -1
  166. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  167. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  168. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  169. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  170. package/dist/collection/components/refund-payment/refund-payment-schema.js +16 -0
  171. package/dist/collection/components/{refund-form/refund-form.js → refund-payment/refund-payment.js} +26 -65
  172. package/dist/collection/components/refund-payment/refund-reason-options.js +19 -0
  173. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  174. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  175. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  176. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  177. package/dist/collection/components/terminals-list/terminals-list-filters.js +23 -3
  178. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  179. package/dist/collection/components/terminals-list/terminals-status.js +5 -0
  180. package/dist/collection/components/terminals-list/terminals-table.js +7 -0
  181. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -3
  182. package/dist/collection/styles/parts.js +1 -0
  183. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  184. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  185. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  186. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  187. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  188. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  189. package/dist/collection/ui-components/form/form-control-monetary.js +72 -70
  190. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  191. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  192. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  194. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  196. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  197. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  198. package/dist/collection/{components → ui-components}/pagination-menu/pagination-menu.js +4 -4
  199. package/dist/collection/utils/utils.js +18 -2
  200. package/dist/docs.json +396 -140
  201. package/dist/esm/{Checkout-2bc873fb.js → Checkout-18d8bf94.js} +1 -1
  202. package/dist/esm/{Payment-82d2f453.js → Payment-806af354.js} +1 -1
  203. package/dist/esm/{SubAccount-0248b5ab.js → SubAccount-837658ae.js} +4 -2
  204. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  205. package/dist/esm/{badge-1555ad1d.js → badge-1be14e8c.js} +1 -1
  206. package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
  207. package/dist/esm/bank-account-form_9.entry.js +16 -16
  208. package/dist/esm/billing-form_3.entry.js +11 -11
  209. package/dist/esm/{business-additional-questions-schema-df76728f.js → business-additional-questions-schema-56308a54.js} +2 -2
  210. package/dist/esm/business-details-core.entry.js +3 -3
  211. package/dist/esm/{business-identity-schema-0a78fc59.js → business-identity-schema-24fcc4ef.js} +2 -2
  212. package/dist/esm/{business.service-13890e74.js → business.service-999196a4.js} +2 -2
  213. package/dist/esm/{button-1e756c34.js → button-fcee4da7.js} +1 -1
  214. package/dist/esm/{check-pkg-version-0557a5c4.js → check-pkg-version-a8dd8455.js} +1 -1
  215. package/dist/esm/{checkout.service-fe338804.js → checkout.service-87cd501d.js} +3 -3
  216. package/dist/esm/checkouts-list-core.entry.js +10 -10
  217. package/dist/esm/{checkouts-table-e339bf0c.js → checkouts-table-39a031a0.js} +3 -3
  218. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
  219. package/dist/esm/{dispute.service-3e1320fe.js → dispute.service-1f79929b.js} +3 -3
  220. package/dist/esm/{event-types-359ef89e.js → event-types-1bc52f1f.js} +2 -2
  221. package/dist/esm/form-alert_5.entry.js +5 -5
  222. package/dist/esm/form-control-checkbox.entry.js +5 -5
  223. package/dist/esm/form-control-date.entry.js +4 -4
  224. package/dist/esm/{form-control-error-text-1391123f.js → form-control-error-text-176d20d8.js} +1 -1
  225. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  226. package/dist/esm/{form-control-help-text-9918264e.js → form-control-help-text-83764e14.js} +1 -1
  227. package/dist/esm/form-control-monetary-provisioning.entry.js +81 -0
  228. package/dist/esm/form-control-monetary.entry.js +27 -40
  229. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  230. package/dist/esm/form-control-number.entry.js +5 -5
  231. package/dist/esm/form-control-radio.entry.js +3 -3
  232. package/dist/esm/{get-business-464419f6.js → get-business-b7511690.js} +2 -2
  233. package/dist/esm/{get-payout-csv-9021a002.js → get-payout-csv-6139c5fc.js} +3 -3
  234. package/dist/esm/{get-subaccounts-6b048fd1.js → get-subaccounts-c4b2b829.js} +3 -3
  235. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  236. package/dist/esm/{header-1-adb520cc.js → header-1-215a146f.js} +1 -1
  237. package/dist/esm/{header-3-ca58500e.js → header-3-afd16f23.js} +1 -1
  238. package/dist/esm/{index.esm-0b6849c2.js → index.esm-feedf26f.js} +1 -122
  239. package/dist/esm/{insurance-state-24af6ddb.js → insurance-state-d2df8e88.js} +1 -1
  240. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
  241. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -17
  242. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  243. package/dist/esm/justifi-business-details.entry.js +6 -6
  244. package/dist/esm/justifi-business-form.entry.js +14 -14
  245. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  246. package/dist/esm/justifi-checkout-core.entry.js +8 -8
  247. package/dist/esm/justifi-checkout.entry.js +9 -9
  248. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
  249. package/dist/esm/justifi-checkouts-list.entry.js +12 -12
  250. package/dist/esm/justifi-details.entry.js +2 -2
  251. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  252. package/dist/esm/justifi-dispute-management.entry.js +8 -8
  253. package/dist/esm/justifi-dispute-notification_3.entry.js +13 -13
  254. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  255. package/dist/esm/justifi-order-terminals.entry.js +21 -23
  256. package/dist/esm/justifi-owner-form_3.entry.js +9 -9
  257. package/dist/esm/justifi-payment-details.entry.js +9 -9
  258. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  259. package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
  260. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  261. package/dist/esm/justifi-payments-list.entry.js +12 -12
  262. package/dist/esm/justifi-payout-details.entry.js +9 -9
  263. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  264. package/dist/esm/justifi-payouts-list.entry.js +13 -13
  265. package/dist/esm/justifi-refund-payment.entry.js +118 -0
  266. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  267. package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
  268. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
  269. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
  270. package/dist/esm/justifi-terminals-list-filters.entry.js +9 -6
  271. package/dist/esm/justifi-terminals-list.entry.js +12 -12
  272. package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -9
  273. package/dist/esm/loader.js +1 -1
  274. package/dist/esm/{package-25d5d805.js → package-f0bb46fd.js} +2 -2
  275. package/dist/esm/pagination-menu.entry.js +1 -1
  276. package/dist/esm/{parts-ad835bef.js → parts-fd740f54.js} +2 -1
  277. package/dist/esm/payment-details-core.entry.js +13 -13
  278. package/dist/esm/{payment.service-2967c84b.js → payment.service-bc99d372.js} +3 -3
  279. package/dist/esm/payments-list-core.entry.js +11 -11
  280. package/dist/esm/{payments-status-d011e114.js → payments-status-74d22728.js} +1 -1
  281. package/dist/esm/{payments-table-3e33b856.js → payments-table-8134f5e1.js} +3 -3
  282. package/dist/esm/payout-details-core.entry.js +8 -8
  283. package/dist/esm/payouts-list-core.entry.js +11 -11
  284. package/dist/esm/{payouts-status-181276c5.js → payouts-status-29d31099.js} +1 -1
  285. package/dist/esm/{payouts-table-199bdf64.js → payouts-table-c1ced46a.js} +3 -3
  286. package/dist/esm/{schema-validations-b1aec6a0.js → schema-validations-5af4266a.js} +1 -1
  287. package/dist/esm/{skeleton-0cde7cb6.js → skeleton-ab3f676e.js} +1 -1
  288. package/dist/esm/{spinner-342e71ff.js → spinner-27479716.js} +1 -1
  289. package/dist/esm/table-filters-menu.entry.js +3 -3
  290. package/dist/esm/terminal-orders-list-core.entry.js +10 -10
  291. package/dist/esm/{terminal-orders-table-2884305a.js → terminal-orders-table-65d59323.js} +3 -3
  292. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  293. package/dist/esm/{terminal.service-4fab5adc.js → terminal.service-a8a968ac.js} +3 -3
  294. package/dist/esm/terminals-list-core.entry.js +10 -10
  295. package/dist/esm/{terminals-table-4e1644e8.js → terminals-table-5eb287ca.js} +14 -2
  296. package/dist/esm/{utils-96c6292c.js → utils-96d9c205.js} +1 -1
  297. package/dist/esm/{utils-c37124fc.js → utils-ec50661e.js} +19 -3
  298. package/dist/esm/webcomponents.js +1 -1
  299. package/dist/module/SubAccount.js +3 -1
  300. package/dist/module/additional-questions.js +4 -4
  301. package/dist/module/additional-statement.js +1 -1
  302. package/dist/module/bank-account-document-inputs.js +1 -1
  303. package/dist/module/bank-account-form-inputs2.js +1 -1
  304. package/dist/module/bank-account-form2.js +2 -2
  305. package/dist/module/billing-form-wrapper.js +1 -1
  306. package/dist/module/billing-form2.js +3 -3
  307. package/dist/module/business-additional-questions-form-step-core.js +4 -4
  308. package/dist/module/business-additional-questions-form-step.js +4 -4
  309. package/dist/module/business-bank-account-form-step.js +1 -1
  310. package/dist/module/business-core-info-form-step.js +1 -1
  311. package/dist/module/business-core-info.js +1 -1
  312. package/dist/module/business-owners-form-step.js +1 -1
  313. package/dist/module/business-representative-form-inputs.js +1 -1
  314. package/dist/module/business-representative-form-step.js +1 -1
  315. package/dist/module/business-representative.js +1 -1
  316. package/dist/module/business-terms-conditions-form-step.js +1 -1
  317. package/dist/module/business.service.js +2 -2
  318. package/dist/module/cancellation-policy.js +1 -1
  319. package/dist/module/card-form2.js +2 -2
  320. package/dist/module/checkout-core.js +1 -1
  321. package/dist/module/checkouts-list-core2.js +1 -1
  322. package/dist/module/custom-popper2.js +2 -2
  323. package/dist/module/customer-details.js +1 -1
  324. package/dist/module/dispute-management-core.js +1 -1
  325. package/dist/module/dispute-notification.js +1 -1
  326. package/dist/module/dispute-response-core.js +1 -1
  327. package/dist/module/dispute-response.js +1 -1
  328. package/dist/module/duplicate-charge.js +1 -1
  329. package/dist/module/electronic-evidence.js +1 -1
  330. package/dist/module/form-control-checkbox2.js +2 -2
  331. package/dist/module/form-control-date2.js +2 -2
  332. package/dist/module/form-control-file-v22.js +1 -1
  333. package/dist/module/form-control-file2.js +2 -2
  334. package/dist/module/form-control-monetary-provisioning.d.ts +11 -0
  335. package/dist/module/form-control-monetary-provisioning.js +6 -0
  336. package/dist/module/form-control-monetary-provisioning2.js +109 -0
  337. package/dist/module/form-control-monetary2.js +30 -42
  338. package/dist/module/form-control-number-masked2.js +2 -2
  339. package/dist/module/form-control-number.js +2 -2
  340. package/dist/module/form-control-radio2.js +2 -2
  341. package/dist/module/form-control-select2.js +2 -2
  342. package/dist/module/form-control-text2.js +2 -2
  343. package/dist/module/form-control-textarea2.js +2 -2
  344. package/dist/module/form.js +1 -122
  345. package/dist/module/get-business.js +2 -2
  346. package/dist/module/gross-payment-chart-core2.js +1 -1
  347. package/dist/module/hidden-input2.js +1 -1
  348. package/dist/module/identity-address-form.js +1 -1
  349. package/dist/module/iframe-input2.js +3 -3
  350. package/dist/module/justifi-business-form.js +3 -3
  351. package/dist/module/justifi-checkout.js +2 -2
  352. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  353. package/dist/module/justifi-checkouts-list.js +1 -1
  354. package/dist/module/justifi-dispute-management.js +1 -1
  355. package/dist/module/justifi-order-terminals.js +12 -12
  356. package/dist/module/justifi-payment-provisioning.js +4 -4
  357. package/dist/module/justifi-payments-list-filters.js +3 -3
  358. package/dist/module/justifi-payments-list.js +1 -1
  359. package/dist/module/justifi-payouts-list-filters.js +3 -3
  360. package/dist/module/justifi-payouts-list.js +1 -1
  361. package/dist/module/justifi-refund-payment.d.ts +11 -0
  362. package/dist/module/justifi-refund-payment.js +180 -0
  363. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  364. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  365. package/dist/module/justifi-terminal-orders-list.js +1 -1
  366. package/dist/module/justifi-terminals-list-filters.js +6 -2
  367. package/dist/module/justifi-terminals-list.js +1 -1
  368. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  369. package/dist/module/legal-address-form-step.js +1 -1
  370. package/dist/module/legal-address-form.js +1 -1
  371. package/dist/module/new-payment-method.js +1 -1
  372. package/dist/module/owner-form-core2.js +1 -1
  373. package/dist/module/owner-form-inputs2.js +1 -1
  374. package/dist/module/owner-form.js +1 -1
  375. package/dist/module/package.js +2 -2
  376. package/dist/module/parts.js +2 -1
  377. package/dist/module/payment-details-core2.js +7 -7
  378. package/dist/module/payment-method-options.js +1 -1
  379. package/dist/module/payment-provisioning-core.js +4 -4
  380. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  381. package/dist/module/payment-provisioning-form-steps.js +4 -4
  382. package/dist/module/payments-list-core2.js +2 -2
  383. package/dist/module/payout-details-core2.js +1 -1
  384. package/dist/module/payouts-list-core2.js +2 -2
  385. package/dist/module/postal-form2.js +1 -1
  386. package/dist/module/product-or-service.js +1 -1
  387. package/dist/module/refund-policy.js +1 -1
  388. package/dist/module/save-new-payment-method.js +1 -1
  389. package/dist/module/saved-payment-method.js +1 -1
  390. package/dist/module/season-interruption-insurance-core.js +1 -1
  391. package/dist/module/sezzle-payment-method.js +1 -1
  392. package/dist/module/shipping-details.js +1 -1
  393. package/dist/module/table-filters-menu2.js +1 -1
  394. package/dist/module/terminal-orders-list-core2.js +2 -2
  395. package/dist/module/terminal-quantity-selector2.js +1 -1
  396. package/dist/module/terminals-list-core2.js +13 -1
  397. package/dist/module/utils2.js +19 -3
  398. package/dist/types/actions/business/get-business.d.ts +2 -1
  399. package/dist/types/actions/terminal/get-terminal-models.d.ts +2 -1
  400. package/dist/types/actions/terminal/order-terminals.d.ts +2 -1
  401. package/dist/types/api/Terminal.d.ts +8 -3
  402. package/dist/types/api/services/business.service.d.ts +1 -1
  403. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +24 -0
  404. package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.d.ts +1 -1
  405. package/dist/types/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.d.ts +1 -1
  406. package/dist/types/components/checkout/checkout-core.d.ts +1 -1
  407. package/dist/types/components/checkout/checkout.d.ts +1 -1
  408. package/dist/types/components/checkout/new-payment-method.d.ts +1 -1
  409. package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
  410. package/dist/types/components/order-terminals/order-terminals.d.ts +1 -1
  411. package/dist/types/components/refund-payment/refund-payment-schema.d.ts +11 -0
  412. package/dist/types/components/{refund-form/refund-form.d.ts → refund-payment/refund-payment.d.ts} +6 -13
  413. package/dist/types/components/refund-payment/refund-reason-options.d.ts +5 -0
  414. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -0
  415. package/dist/types/components/terminals-list/terminals-status.d.ts +2 -1
  416. package/dist/types/components/terminals-list/terminals-table.d.ts +6 -0
  417. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
  418. package/dist/types/components.d.ts +88 -51
  419. package/dist/types/styles/parts.d.ts +1 -0
  420. package/dist/types/ui-components/form/form-control-monetary.d.ts +9 -10
  421. package/dist/types/utils/utils.d.ts +3 -1
  422. package/dist/webcomponents/p-01033194.js +1 -0
  423. package/dist/webcomponents/{p-da2a9dfa.entry.js → p-0b61d4d3.entry.js} +1 -1
  424. package/dist/webcomponents/p-0c7ec110.entry.js +1 -0
  425. package/dist/webcomponents/p-0d7d61ac.js +1 -0
  426. package/dist/webcomponents/{p-fdd244b1.entry.js → p-0f0020e1.entry.js} +1 -1
  427. package/dist/webcomponents/{p-365e56fc.js → p-12074378.js} +1 -1
  428. package/dist/webcomponents/{p-daf0303f.js → p-1366a019.js} +1 -1
  429. package/dist/webcomponents/{p-d8ba9309.entry.js → p-13717638.entry.js} +1 -1
  430. package/dist/webcomponents/p-142bfae3.js +1 -0
  431. package/dist/webcomponents/{p-1fb5677e.entry.js → p-14cfb25e.entry.js} +1 -1
  432. package/dist/webcomponents/{p-13d62477.entry.js → p-150e80db.entry.js} +1 -1
  433. package/dist/webcomponents/{p-e5c60276.entry.js → p-187d456b.entry.js} +1 -1
  434. package/dist/webcomponents/{p-c7c9725d.entry.js → p-190ee091.entry.js} +1 -1
  435. package/dist/webcomponents/p-1da00a0c.entry.js +1 -0
  436. package/dist/webcomponents/p-2123c150.js +1 -0
  437. package/dist/webcomponents/p-23cd76af.entry.js +1 -0
  438. package/dist/webcomponents/p-25b82529.entry.js +1 -0
  439. package/dist/webcomponents/p-27546fa9.entry.js +1 -0
  440. package/dist/webcomponents/p-275c3dc9.js +1 -0
  441. package/dist/webcomponents/p-2819e94a.entry.js +1 -0
  442. package/dist/webcomponents/p-2b8aaa7d.entry.js +1 -0
  443. package/dist/webcomponents/p-31dcaeaf.entry.js +1 -0
  444. package/dist/webcomponents/p-373a19fe.entry.js +1 -0
  445. package/dist/webcomponents/{p-9c57de4e.entry.js → p-375657fe.entry.js} +1 -1
  446. package/dist/webcomponents/{p-324587d0.js → p-3da2652e.js} +1 -1
  447. package/dist/webcomponents/{p-9894484a.js → p-3f5e6602.js} +1 -1
  448. package/dist/webcomponents/p-431670c6.entry.js +1 -0
  449. package/dist/webcomponents/{p-485df2fe.entry.js → p-45fda0bc.entry.js} +1 -1
  450. package/dist/webcomponents/p-507d8aa4.entry.js +1 -0
  451. package/dist/webcomponents/p-536497fe.entry.js +1 -0
  452. package/dist/webcomponents/{p-4acf8ca2.js → p-537bce77.js} +1 -1
  453. package/dist/webcomponents/p-56c7fc8d.js +1 -0
  454. package/dist/webcomponents/{p-c380213d.js → p-58ee6ce9.js} +1 -1
  455. package/dist/webcomponents/{p-e52e9120.entry.js → p-5a9d7ca0.entry.js} +1 -1
  456. package/dist/webcomponents/p-5b76dbe1.entry.js +1 -0
  457. package/dist/webcomponents/{p-0d01d245.entry.js → p-5bd1c32c.entry.js} +1 -1
  458. package/dist/webcomponents/{p-56143442.entry.js → p-5c5c1e82.entry.js} +1 -1
  459. package/dist/webcomponents/{p-a7594f8f.entry.js → p-60ec062a.entry.js} +1 -1
  460. package/dist/webcomponents/{p-7d93c28b.js → p-673c1bca.js} +1 -1
  461. package/dist/webcomponents/p-6a594a9f.js +1 -0
  462. package/dist/webcomponents/{p-b19a37d4.js → p-701a13ca.js} +1 -1
  463. package/dist/webcomponents/{p-17eea747.js → p-72e71b3c.js} +1 -1
  464. package/dist/webcomponents/{p-78255a04.entry.js → p-746894be.entry.js} +1 -1
  465. package/dist/webcomponents/p-74711d79.entry.js +1 -0
  466. package/dist/webcomponents/{p-df9ff0ce.entry.js → p-753d983c.entry.js} +1 -1
  467. package/dist/webcomponents/p-76549a24.js +1 -0
  468. package/dist/webcomponents/p-86605101.js +1 -0
  469. package/dist/webcomponents/p-8c70396c.entry.js +1 -0
  470. package/dist/webcomponents/p-90b82e40.entry.js +1 -0
  471. package/dist/webcomponents/p-913e28d6.entry.js +1 -0
  472. package/dist/webcomponents/{p-d273f33b.js → p-927cb6df.js} +1 -1
  473. package/dist/webcomponents/p-953e9dba.js +1 -0
  474. package/dist/webcomponents/{p-a81cabed.js → p-96783edf.js} +1 -1
  475. package/dist/webcomponents/p-96c23cda.entry.js +1 -0
  476. package/dist/webcomponents/{p-251c8e97.js → p-9c4e3bac.js} +1 -1
  477. package/dist/webcomponents/{p-646d007a.js → p-9e49cf17.js} +1 -1
  478. package/dist/webcomponents/{p-36e32bc4.entry.js → p-a2d30370.entry.js} +1 -1
  479. package/dist/webcomponents/p-a3cced75.entry.js +1 -0
  480. package/dist/webcomponents/{p-88af0d7d.js → p-a5579f53.js} +1 -1
  481. package/dist/webcomponents/{p-be6fea42.entry.js → p-a589b3a1.entry.js} +1 -1
  482. package/dist/webcomponents/{p-45e68bb3.entry.js → p-a5f5cc2e.entry.js} +1 -1
  483. package/dist/webcomponents/{p-d7bcf8f0.js → p-ac9f2e2b.js} +1 -1
  484. package/dist/webcomponents/p-adecb91a.entry.js +1 -0
  485. package/dist/webcomponents/{p-ba113075.js → p-ae7edce5.js} +1 -1
  486. package/dist/webcomponents/p-ae891abb.entry.js +1 -0
  487. package/dist/webcomponents/{p-dd3de924.entry.js → p-af3315b5.entry.js} +1 -1
  488. package/dist/webcomponents/p-b26fb429.js +1 -0
  489. package/dist/webcomponents/{p-55e21977.entry.js → p-b299b597.entry.js} +1 -1
  490. package/dist/webcomponents/{p-073f24ba.entry.js → p-b5c7cb4c.entry.js} +1 -1
  491. package/dist/webcomponents/{p-d5960545.js → p-b99817a0.js} +1 -1
  492. package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
  493. package/dist/webcomponents/{p-95e55bb1.js → p-bf12999f.js} +1 -1
  494. package/dist/webcomponents/{p-2dd39017.js → p-bf195b35.js} +1 -1
  495. package/dist/webcomponents/{p-944f1cc7.js → p-bfc2d88a.js} +1 -1
  496. package/dist/webcomponents/{p-d78ea308.entry.js → p-c00ef77b.entry.js} +1 -1
  497. package/dist/webcomponents/{p-0bafaf49.entry.js → p-c438d1c8.entry.js} +1 -1
  498. package/dist/webcomponents/p-c7313123.entry.js +1 -0
  499. package/dist/webcomponents/{p-34a95381.js → p-c8b78136.js} +1 -1
  500. package/dist/webcomponents/{p-17c4edf7.js → p-ca6cdfe6.js} +1 -1
  501. package/dist/webcomponents/p-cc2f75a3.entry.js +1 -0
  502. package/dist/webcomponents/p-ccb9ee53.js +1 -0
  503. package/dist/webcomponents/{p-f57d5d4f.entry.js → p-cd93c62b.entry.js} +2 -2
  504. package/dist/webcomponents/p-cf9e893a.entry.js +1 -0
  505. package/dist/webcomponents/p-d757fcf5.js +1 -0
  506. package/dist/webcomponents/p-d86add24.entry.js +1 -0
  507. package/dist/webcomponents/p-dbc1a95b.js +1 -0
  508. package/dist/webcomponents/p-dcff8139.entry.js +1 -0
  509. package/dist/webcomponents/{p-1b3a6c40.entry.js → p-e309516a.entry.js} +1 -1
  510. package/dist/webcomponents/p-e9867f8b.entry.js +1 -0
  511. package/dist/webcomponents/p-ebd814ab.entry.js +1 -0
  512. package/dist/webcomponents/p-f0a56d96.entry.js +1 -0
  513. package/dist/webcomponents/{p-ed3ad073.entry.js → p-f20466f7.entry.js} +1 -1
  514. package/dist/webcomponents/{p-2ca5b5e4.js → p-f8fccf44.js} +1 -1
  515. package/dist/webcomponents/p-f930504f.entry.js +1 -0
  516. package/dist/webcomponents/p-fb2db8da.entry.js +1 -0
  517. package/dist/webcomponents/{p-e8fc36c1.entry.js → p-fca89e9b.entry.js} +1 -1
  518. package/dist/webcomponents/webcomponents.esm.js +1 -1
  519. package/package.json +2 -2
  520. package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
  521. package/dist/cjs/justifi-refund-form.cjs.entry.js +0 -106
  522. package/dist/collection/components/refund-form/refund-form-schema.js +0 -13
  523. package/dist/collection/components/refund-form/refund-form.stories.js +0 -109
  524. package/dist/esm/form-control-select_3.entry.js +0 -139
  525. package/dist/esm/justifi-refund-form.entry.js +0 -102
  526. package/dist/module/justifi-refund-form.d.ts +0 -11
  527. package/dist/module/justifi-refund-form.js +0 -153
  528. package/dist/types/components/refund-form/refund-form-schema.d.ts +0 -11
  529. package/dist/types/components/refund-form/refund-form.stories.d.ts +0 -27
  530. package/dist/webcomponents/p-00d55a4b.entry.js +0 -1
  531. package/dist/webcomponents/p-04d59ef8.js +0 -1
  532. package/dist/webcomponents/p-07c13189.entry.js +0 -1
  533. package/dist/webcomponents/p-24203209.entry.js +0 -1
  534. package/dist/webcomponents/p-258087a8.entry.js +0 -1
  535. package/dist/webcomponents/p-2759d157.entry.js +0 -1
  536. package/dist/webcomponents/p-2cd9b608.entry.js +0 -1
  537. package/dist/webcomponents/p-3030f5e6.entry.js +0 -1
  538. package/dist/webcomponents/p-308ec9c7.entry.js +0 -1
  539. package/dist/webcomponents/p-454acd29.entry.js +0 -1
  540. package/dist/webcomponents/p-50b012a3.entry.js +0 -1
  541. package/dist/webcomponents/p-52e2cc5e.js +0 -1
  542. package/dist/webcomponents/p-5844a0f0.js +0 -1
  543. package/dist/webcomponents/p-5cf1898d.entry.js +0 -1
  544. package/dist/webcomponents/p-5d600828.js +0 -1
  545. package/dist/webcomponents/p-61a45f7d.entry.js +0 -1
  546. package/dist/webcomponents/p-651c881b.js +0 -1
  547. package/dist/webcomponents/p-6a4b710e.entry.js +0 -1
  548. package/dist/webcomponents/p-74f6cc28.entry.js +0 -1
  549. package/dist/webcomponents/p-8946edfd.js +0 -1
  550. package/dist/webcomponents/p-8ffd9f7c.js +0 -1
  551. package/dist/webcomponents/p-92b18902.entry.js +0 -1
  552. package/dist/webcomponents/p-92f29922.entry.js +0 -1
  553. package/dist/webcomponents/p-97f3a1b0.entry.js +0 -1
  554. package/dist/webcomponents/p-9fcab358.entry.js +0 -1
  555. package/dist/webcomponents/p-a0f715d4.js +0 -1
  556. package/dist/webcomponents/p-a35f3b5b.js +0 -1
  557. package/dist/webcomponents/p-b7960f37.entry.js +0 -1
  558. package/dist/webcomponents/p-b7ddb76f.entry.js +0 -1
  559. package/dist/webcomponents/p-b97f433a.entry.js +0 -1
  560. package/dist/webcomponents/p-c3939138.entry.js +0 -1
  561. package/dist/webcomponents/p-cba7d0a7.entry.js +0 -1
  562. package/dist/webcomponents/p-d43a38a4.js +0 -1
  563. package/dist/webcomponents/p-d4724349.js +0 -1
  564. package/dist/webcomponents/p-d575c2c1.entry.js +0 -1
  565. package/dist/webcomponents/p-dac9282d.entry.js +0 -1
  566. package/dist/webcomponents/p-e1dd47e1.entry.js +0 -1
  567. package/dist/webcomponents/p-e545c079.entry.js +0 -1
  568. package/dist/webcomponents/p-e5de1a00.entry.js +0 -1
  569. package/dist/webcomponents/p-f1573cad.entry.js +0 -1
  570. package/dist/webcomponents/p-f1d6e14f.js +0 -1
  571. package/dist/webcomponents/p-f30cb232.js +0 -1
  572. package/dist/webcomponents/p-f87e871d.js +0 -1
  573. package/dist/webcomponents/p-f8a95380.entry.js +0 -1
  574. package/dist/webcomponents/p-fa5688f7.entry.js +0 -1
  575. package/dist/webcomponents/p-fbdc18e4.entry.js +0 -1
  576. /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-schema.d.ts +0 -0
  577. /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.d.ts +0 -0
  578. /package/dist/types/{components → ui-components}/pagination-menu/pagination-menu.d.ts +0 -0
@@ -96,7 +96,7 @@ export class AdditionalQuestionsFormStepCore {
96
96
  if (this.isLoading) {
97
97
  return h(PaymentProvisioningLoading, null);
98
98
  }
99
- return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Additional Questions"), h("form-control-tooltip", { helpText: "This information helps us understand the business and identify and monitor trends to safeguard you and your customers." })), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-monetary", { 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", { class: "col-12 col-md-6" }, h("form-control-monetary", { 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", { class: "col-12" }, h("form-control-select", { 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", { class: "col-12" }, h("form-control-select", { 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", { class: 'col-12', hidden: !this.recurringPayments }, h("form-control-text", { 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", { class: "col-12" }, h("form-control-select", { 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", { class: "col-12" }, h("form-control-text", { 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 }))))));
99
+ return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Additional Questions"), h("form-control-tooltip", { helpText: "This information helps us understand the business and identify and monitor trends to safeguard you and your customers." })), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { 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", { class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { 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", { class: "col-12" }, h("form-control-select", { 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", { class: "col-12" }, h("form-control-select", { 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", { class: 'col-12', hidden: !this.recurringPayments }, h("form-control-text", { 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", { class: "col-12" }, h("form-control-select", { 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", { class: "col-12" }, h("form-control-text", { 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 }))))));
100
100
  }
101
101
  static get is() { return "justifi-additional-questions-form-step-core"; }
102
102
  static get properties() {
@@ -41,7 +41,7 @@ export class AdditionalQuestionsFormStep {
41
41
  }
42
42
  }
43
43
  render() {
44
- return (h("justifi-additional-questions-form-step-core", { key: 'ecc4bb3b51a4b6cb48e38230826784c5af623d88', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
44
+ return (h("justifi-additional-questions-form-step-core", { key: 'cdc14a51e5655ce4b4d7c24af613b9146c80ba37', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
45
45
  }
46
46
  static get is() { return "justifi-additional-questions-form-step"; }
47
47
  static get properties() {
@@ -7,7 +7,7 @@ export class BankAccountDocumentFormInputs {
7
7
  this.storeFiles = undefined;
8
8
  }
9
9
  render() {
10
- return (h("div", { key: '9e04de8ad0e4a1d83f6d8fd1e5a2a5e92c670b92', class: "row gy-3" }, h("div", { key: 'af8875e58677a94873d548c35e9d2859725058e5', class: "col-12" }, h("form-control-file", { key: '030c461b2c2a3da9acf5fcf761f537ea9f6cfcc9', name: "voided_check", label: "Voided Check", documentType: EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), h("div", { key: '0b6650097a7c6810d9ab9dc76484b49dfe0c7e11', class: "col-12" }, h("form-control-file", { key: 'cd030043373cc6759022b9c23c674830ceffaff3', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
10
+ return (h("div", { key: 'a3ff8b1ff23923beb847e66d6c56a39de9a86434', class: "row gy-3" }, h("div", { key: '86f9ba3a8f0f87f7fa67ba0fcf1d7c04f67e9bc5', class: "col-12" }, h("form-control-file", { key: '9cc2bc21414c8e3f4b25ac47b76340a4ce569c42', name: "voided_check", label: "Voided Check", documentType: EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), h("div", { key: 'bee72d6c63514cdbd3200910d3a53b045c60d05d', class: "col-12" }, h("form-control-file", { key: '80a79f352d078cd210768b4060cad7014b1060c5', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
11
11
  }
12
12
  static get is() { return "bank-account-document-form-inputs"; }
13
13
  static get properties() {
@@ -9,7 +9,7 @@ export class BankAccountFormInputs {
9
9
  this.formDisabled = undefined;
10
10
  }
11
11
  render() {
12
- return (h("div", { key: 'c4420b1e4396ac065b3674f52b124c0d25359435', class: "row gy-3" }, h("div", { key: '40e5f2d54a6f60558ec5aa50ff47e6adcf66276b', class: "col-12" }, h("form-control-text", { key: '9052ecb4597ecc96841d65929f1d8e5dbf662343', name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'c32bbaf4fe2155f49cb35ee4500016e7f97f24b3', class: "col-12" }, h("form-control-text", { key: '3527553824fb36ea616836bf8e9435fc33a2365a', name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'c203663fad98052567b34cbffe316606c963ff23', class: "col-12" }, h("form-control-text", { key: 'db95259c41fa10b6af2cbc4c9bd7340d609312ee', name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '3228e30c418210556e4e9f99f4f87f753876072d', class: "col-12" }, h("form-control-select", { key: '6dde33c0e9a2ac76051e01af836ea372f30d8fbb', name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '266005f1bba23068fc0be35416f5fd8cf3fc7c7c', class: "col-12" }, h("form-control-text", { key: '34caa85c53b457de98a524a2eb151899e5bcf21a', name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), h("div", { key: '69d2e72cf588518e4fe310c2ad5cb37c72fab8c6', class: "col-12" }, h("form-control-text", { key: 'bc4353e36c9d982aa55f5e933975c4020c316ad0', name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))));
12
+ return (h("div", { key: 'b18e803521d67b40e4e5af03a66dcdca0b678968', class: "row gy-3" }, h("div", { key: 'e2e6667ffbcebb6a9aa50739814e7bbebceaabfa', class: "col-12" }, h("form-control-text", { key: 'e1ad63fb7db32dbb6ed67cf18919c681d6d192ef', name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '54db821813e7eb931b8f19fad7fce976cdeb0045', class: "col-12" }, h("form-control-text", { key: '4ecf222c1918e364f319d07e0a770d68dba099d0', name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'a92c38f2abbcb3dcaee4bc5ea73df44b31adc3f9', class: "col-12" }, h("form-control-text", { key: '492ff1a4d1e9c4f2fa9d0e527a34dc5ccb09afe6', name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '8e14e6e3de43822d139085d3a05bfd0e7ae5b1be', class: "col-12" }, h("form-control-select", { key: 'f6648b6f7c4a475f88b849bf3a75d446bb539c69', name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '68a2efc082f5b6414ebde10b6da4365677dbefca', class: "col-12" }, h("form-control-text", { key: '3ef9b3db5882063708ccf1eb282f3e90ed53ce82', name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), h("div", { key: 'e3270db28269bc25dd4d5a99274f042c1efd1fc6', class: "col-12" }, h("form-control-text", { key: 'a8e801f65a4cc164cdc7bf186fed67f87abc828f', name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))));
13
13
  }
14
14
  static get is() { return "bank-account-form-inputs"; }
15
15
  static get properties() {
@@ -46,7 +46,7 @@ export class BusinessBankAccountFormStep {
46
46
  }
47
47
  }
48
48
  render() {
49
- return (h("justifi-business-bank-account-form-step-core", { key: 'e60dff98e072aeb0eb351cd746c9c05e0adf903c', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
49
+ return (h("justifi-business-bank-account-form-step-core", { key: '0cdd7da1ea31971df421b28f17673bd1a81bf661', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
50
50
  }
51
51
  static get is() { return "justifi-business-bank-account-form-step"; }
52
52
  static get properties() {
@@ -41,7 +41,7 @@ export class BusinessCoreInfoFormStep {
41
41
  }
42
42
  }
43
43
  render() {
44
- return (h("justifi-business-core-info-form-step-core", { key: 'c9f93be3e48527f5ae799cf736fc9ca86ece736c', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
44
+ return (h("justifi-business-core-info-form-step-core", { key: '21d9ea1603f0e9bf6fe842d177f0f6da0113fb73', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
45
45
  }
46
46
  static get is() { return "justifi-business-core-info-form-step"; }
47
47
  static get properties() {
@@ -41,7 +41,7 @@ export class BusinessOwnersFormStep {
41
41
  }
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: 'd3010f8f811d93d7ee0983e92aa3c87a1fab0466' }, h("justifi-business-owners-form-step-core", { key: '7eed1a3ebda94badba81f22011efbb23cee7bf12', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: (el) => this.coreComponent = el })));
44
+ return (h(Host, { key: '39dcd68b6ef40bb24dfec2da03d420de7ff17f1a' }, h("justifi-business-owners-form-step-core", { key: 'f9958c7cb798f256106f93a45bcc8405da5f3b49', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: (el) => this.coreComponent = el })));
45
45
  }
46
46
  static get is() { return "justifi-business-owners-form-step"; }
47
47
  static get properties() {
@@ -16,7 +16,7 @@ export class RepresentativeFormInputs {
16
16
  }
17
17
  render() {
18
18
  var _a, _b, _c, _d, _e, _f, _g;
19
- return (h("form", { key: '96a926aefa6b30a3a1332198ffb2fcbb6316580c' }, h("fieldset", { key: '59a27475ed22d31dfdccf32ecf05e364bfc8deba' }, h("div", { key: '6dfde8190505808fc5101cf0832ec89785e3a73f', class: "d-flex align-items-center gap-2" }, h("legend", { key: '6342e6f1fb59e8e1e18bfff0dca55e0661f889a2', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: 'bf2f9a2ce23edb0363c074297600ee330a0143fb', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '5ab4405fdd5338b9f4f4e3b2672a3769ec7b97d9', class: "mt-2" }), h("div", { key: '2a3e3b458077f26b99c53be76970b735764ba12a', class: "row gy-3" }, h("div", { key: '03679420425d09f380589efbf7640b73c8ddaacb', class: "col-12 col-md-8" }, h("form-control-text", { key: '2ecbbc99442fa73dae73cd1cf398dbf425bf0e84', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'ff989b9f132092c028b096420314b0b67e1e94d7', class: "col-12 col-md-4" }, h("form-control-text", { key: 'f0df98d4ca3ed07e1e884df782ddf125321c0ca1', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: 'a9f9b6b5039a70ac8539605622cdbc574c01734f', class: "col-12 col-md-6" }, h("form-control-text", { key: '6e2736b9d35f9f15d6d4368a89b096bddd1e1b99', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '75e2f09476bfb82d695e41103337c2bfc64c85a3', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '8fdd1d70b62f92df2347df53494e194c22de9004', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'b670407555423c18879172d12761020b7d5cecbe', class: "col-12 col-md-4" }, h("form-control-date", { key: 'a5bca4384bbc736576147d811878ec02e1c27e10', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '414c906c37268aa87ae1cfe870d2d23fc4d6602e', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'ab0c71faa0f0982666164b63ec0612d1a82c3b7a', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: 'ea19a62d5ceddfdd297d042b0b49f711d164f06f', class: "col-12" }, h("justifi-identity-address-form", { key: '276a217bd4a538357971f3a2c5771ba45bef5b53', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
19
+ return (h("form", { key: '02b2888267736b1441b16e569a7d1ff3ab3e7e17' }, h("fieldset", { key: 'd5d4afd7df869b87272407d4e401ad802708c870' }, h("div", { key: '4e2113e9d7d16c6d2b50625dba3dfa82f7b04832', class: "d-flex align-items-center gap-2" }, h("legend", { key: '17ffa94355f1d89223c554f4fb80e38735681725', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '0df0655bc4e409ae53b93e40260486e4ff610410', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: 'bb67f7aafe877075d18ac9a7e8acaa94267035de', class: "mt-2" }), h("div", { key: 'aa5b5fb1913f64c54384d793beeb6dcd5728d10e', class: "row gy-3" }, h("div", { key: '6fe16958c76e589581bd099192fc6886f3e7eb6c', class: "col-12 col-md-8" }, h("form-control-text", { key: 'e0579c2e09c9be66b431174b6d79122349e4d859', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '98cfa2ab8e5537452ab0dae54ad95f1ac2a541f4', class: "col-12 col-md-4" }, h("form-control-text", { key: '55962d3f118bc0ffbbe1fbf62d8d6e15c0f04dfb', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: 'c8bb3ea449d7adcd0d897ee64a1383ff7639305d', class: "col-12 col-md-6" }, h("form-control-text", { key: 'df99114c3d94073a3a95b7ea2f326d27db1d4fa9', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '9fe7cce8fbaa975f2cb2f890ec60cc5696356014', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '236d3629a7d97feb7c7556b7e7ba83b0b45ca3db', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'cf99a0654ed61f599d5d854149e68abb9e52798f', class: "col-12 col-md-4" }, h("form-control-date", { key: '8bc17351844b590e16f34daaee6da1e67d433d44', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '563dd2be61ca9238c915298fb5db51dfca6468e3', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'a99b04783e2a7a439091aa79394e614d82293ac8', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: '4ae17d91e7428f54e07942a1429e554c6e7a37ac', class: "col-12" }, h("justifi-identity-address-form", { key: '8490e4d041ff22bcb481d553760ed6f34ca908aa', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
20
20
  }
21
21
  static get is() { return "justifi-business-representative-form-inputs"; }
22
22
  static get properties() {
@@ -41,7 +41,7 @@ export class BusinessRepresentativeFormStep {
41
41
  }
42
42
  }
43
43
  render() {
44
- return (h("justifi-business-representative-form-step-core", { key: '1a7dc9bc4901d5a2bb3da7a06c63952ee45b7843', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
44
+ return (h("justifi-business-representative-form-step-core", { key: '53c23a79fc8c678d98ca016f38fe7e6fe6ad9fba', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
45
45
  }
46
46
  static get is() { return "justifi-business-representative-form-step"; }
47
47
  static get properties() {
@@ -0,0 +1,255 @@
1
+ import { Host, h, } from "@stencil/core";
2
+ import IMask from "imask";
3
+ import { CURRENCY_MASK } from "../../../utils/form-input-masks";
4
+ import { FormControlErrorText, FormControlHelpText } from "../../../ui-components";
5
+ import { inputDisabled, inputFocused, inputGroup, inputInvalid, label, text } from "../../../styles/parts";
6
+ export class MonetaryInputProvisioning {
7
+ constructor() {
8
+ this.imask = null;
9
+ this.initializeIMask = () => {
10
+ if (!this.textInput)
11
+ return;
12
+ this.imask = IMask(this.textInput, this.maskOptions);
13
+ this.imask.on('accept', () => {
14
+ const rawValue = this.imask.unmaskedValue;
15
+ this.inputHandler(this.name, rawValue);
16
+ this.formControlInput.emit({ name: this.name, value: rawValue });
17
+ });
18
+ this.textInput.addEventListener('blur', () => this.formControlBlur.emit());
19
+ };
20
+ this.handleFormControlInput = (event) => {
21
+ const target = event.target;
22
+ const name = target.getAttribute('name');
23
+ const rawValue = this.imask.unmaskedValue;
24
+ this.formControlInput.emit({ name: name, value: rawValue });
25
+ };
26
+ this.updateInput = (newValue) => {
27
+ if (this.imask) {
28
+ this.imask.value = String(newValue);
29
+ }
30
+ };
31
+ this.isFocused = false;
32
+ this.label = undefined;
33
+ this.name = undefined;
34
+ this.helpText = undefined;
35
+ this.errorText = undefined;
36
+ this.defaultValue = undefined;
37
+ this.inputHandler = undefined;
38
+ this.maskOptions = CURRENCY_MASK.DECIMAL;
39
+ this.disabled = undefined;
40
+ }
41
+ handleDefaultValueChange(newValue) {
42
+ this.updateInput(newValue);
43
+ }
44
+ componentDidLoad() {
45
+ this.initializeIMask();
46
+ this.updateInput(this.defaultValue);
47
+ }
48
+ disconnectedCallback() {
49
+ var _a;
50
+ (_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
51
+ }
52
+ get part() {
53
+ let part = inputGroup;
54
+ if (this.errorText) {
55
+ part = inputInvalid;
56
+ }
57
+ if (this.disabled) {
58
+ part = inputDisabled;
59
+ }
60
+ if (this.isFocused) {
61
+ part = inputFocused;
62
+ }
63
+ return part;
64
+ }
65
+ render() {
66
+ return (h(Host, { key: '5383790c4e52c664e0146692c3773ac077443f89' }, h("div", { key: '3e58f5e707e80c93bf0400f43bd847bf93a90a12', class: "form-group d-flex flex-column" }, h("label", { key: 'cce6c16518524b02f9ccf05beea2ab034b609308', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '85d65b44095f1cc3d68f8ec400d8352f0d1296fe', class: "input-group" }, h("span", { key: '73e1ad02a1989d8a55dbfc8a7def799d46c58e7c', class: "input-group-text", part: text }, "$"), h("input", { key: 'f61c88cf6603e912b6104074367caa86892e7ea0', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
67
+ this.isFocused = false;
68
+ this.formControlBlur.emit();
69
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: 'fc7fc677a555016fcc9c6231a01f53ab03b0b00d', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '624bb1eb078dab076efc517d339c4d54271e5bc7', errorText: this.errorText, name: this.name }))));
70
+ }
71
+ static get is() { return "form-control-monetary-provisioning"; }
72
+ static get properties() {
73
+ return {
74
+ "label": {
75
+ "type": "string",
76
+ "mutable": false,
77
+ "complexType": {
78
+ "original": "string",
79
+ "resolved": "string",
80
+ "references": {}
81
+ },
82
+ "required": false,
83
+ "optional": false,
84
+ "docs": {
85
+ "tags": [],
86
+ "text": ""
87
+ },
88
+ "attribute": "label",
89
+ "reflect": false
90
+ },
91
+ "name": {
92
+ "type": "string",
93
+ "mutable": false,
94
+ "complexType": {
95
+ "original": "string",
96
+ "resolved": "string",
97
+ "references": {}
98
+ },
99
+ "required": false,
100
+ "optional": false,
101
+ "docs": {
102
+ "tags": [],
103
+ "text": ""
104
+ },
105
+ "attribute": "name",
106
+ "reflect": false
107
+ },
108
+ "helpText": {
109
+ "type": "string",
110
+ "mutable": false,
111
+ "complexType": {
112
+ "original": "string",
113
+ "resolved": "string",
114
+ "references": {}
115
+ },
116
+ "required": false,
117
+ "optional": true,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": ""
121
+ },
122
+ "attribute": "help-text",
123
+ "reflect": false
124
+ },
125
+ "errorText": {
126
+ "type": "string",
127
+ "mutable": false,
128
+ "complexType": {
129
+ "original": "string",
130
+ "resolved": "string",
131
+ "references": {}
132
+ },
133
+ "required": false,
134
+ "optional": true,
135
+ "docs": {
136
+ "tags": [],
137
+ "text": ""
138
+ },
139
+ "attribute": "error-text",
140
+ "reflect": false
141
+ },
142
+ "defaultValue": {
143
+ "type": "string",
144
+ "mutable": false,
145
+ "complexType": {
146
+ "original": "string",
147
+ "resolved": "string",
148
+ "references": {}
149
+ },
150
+ "required": false,
151
+ "optional": false,
152
+ "docs": {
153
+ "tags": [],
154
+ "text": ""
155
+ },
156
+ "attribute": "default-value",
157
+ "reflect": false
158
+ },
159
+ "inputHandler": {
160
+ "type": "unknown",
161
+ "mutable": false,
162
+ "complexType": {
163
+ "original": "(name: string, value: string) => void",
164
+ "resolved": "(name: string, value: string) => void",
165
+ "references": {}
166
+ },
167
+ "required": false,
168
+ "optional": false,
169
+ "docs": {
170
+ "tags": [],
171
+ "text": ""
172
+ }
173
+ },
174
+ "maskOptions": {
175
+ "type": "any",
176
+ "mutable": false,
177
+ "complexType": {
178
+ "original": "any",
179
+ "resolved": "any",
180
+ "references": {}
181
+ },
182
+ "required": false,
183
+ "optional": false,
184
+ "docs": {
185
+ "tags": [],
186
+ "text": ""
187
+ },
188
+ "attribute": "mask-options",
189
+ "reflect": false,
190
+ "defaultValue": "CURRENCY_MASK.DECIMAL"
191
+ },
192
+ "disabled": {
193
+ "type": "boolean",
194
+ "mutable": false,
195
+ "complexType": {
196
+ "original": "boolean",
197
+ "resolved": "boolean",
198
+ "references": {}
199
+ },
200
+ "required": false,
201
+ "optional": false,
202
+ "docs": {
203
+ "tags": [],
204
+ "text": ""
205
+ },
206
+ "attribute": "disabled",
207
+ "reflect": false
208
+ }
209
+ };
210
+ }
211
+ static get states() {
212
+ return {
213
+ "isFocused": {}
214
+ };
215
+ }
216
+ static get events() {
217
+ return [{
218
+ "method": "formControlInput",
219
+ "name": "formControlInput",
220
+ "bubbles": true,
221
+ "cancelable": true,
222
+ "composed": true,
223
+ "docs": {
224
+ "tags": [],
225
+ "text": ""
226
+ },
227
+ "complexType": {
228
+ "original": "any",
229
+ "resolved": "any",
230
+ "references": {}
231
+ }
232
+ }, {
233
+ "method": "formControlBlur",
234
+ "name": "formControlBlur",
235
+ "bubbles": true,
236
+ "cancelable": true,
237
+ "composed": true,
238
+ "docs": {
239
+ "tags": [],
240
+ "text": ""
241
+ },
242
+ "complexType": {
243
+ "original": "any",
244
+ "resolved": "any",
245
+ "references": {}
246
+ }
247
+ }];
248
+ }
249
+ static get watchers() {
250
+ return [{
251
+ "propName": "defaultValue",
252
+ "methodName": "handleDefaultValueChange"
253
+ }];
254
+ }
255
+ }
@@ -41,7 +41,7 @@ export class LegalAddressFormStep {
41
41
  }
42
42
  }
43
43
  render() {
44
- return (h("justifi-legal-address-form-step-core", { key: '70241ec94d2519d675e3831dfb13840e0f9ea6ca', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
44
+ return (h("justifi-legal-address-form-step-core", { key: '65d876bee76f4deb4df115e636fafaef2c883f24', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
45
45
  }
46
46
  static get is() { return "justifi-legal-address-form-step"; }
47
47
  static get properties() {
@@ -93,7 +93,7 @@ export class PaymentProvisioningCore {
93
93
  this.loading = event.detail;
94
94
  }
95
95
  render() {
96
- return (h(StyledHost, { key: '498b6e0a593808dd761b9cefdb7e94124d445348' }, h("div", { key: 'd746caba6329ac82e75978bd19fbc09c8a43d60f', class: 'row gap-3' }, h(Header1, { key: '439425337ed7767ce4fc8c94e31f6997aa1b62d8', text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { key: 'fd95a40c0a72c94cbb146cbc866d6b057cbfc5c0', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, handleFormLoading: this.handleFormLoading }), h("div", { key: '350fc615685f872cb6ba5537dc2de5d2a205e5cc', class: 'd-flex justify-content-between align-items-center' }, h("div", { key: '3f9a36bc1d58efdfe81b4d7022647b0c1fbc1911', class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { key: 'e1c061aa840b3b8ac1bad472d763fcd54c902681', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
96
+ return (h(StyledHost, { key: 'e195b19df4d1061ecf8b305005faf0ffce68221e' }, h("div", { key: '17d42ba0a22567dce6760e2047478eb1bc36a794', class: 'row gap-3' }, h(Header1, { key: '507788c4af5572cbb09037443ae51b505567d825', text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { key: '4b7e73217ff8230756542c3b0c069e18b7f23356', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, handleFormLoading: this.handleFormLoading }), h("div", { key: '2ae1e8386114181cbd6f7999ac047b7709daa4fb', class: 'd-flex justify-content-between align-items-center' }, h("div", { key: 'a126b618a3028c4c7a9c12145ab63e222a17e51f', class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { key: 'a66e1ac554e0dffa78be59df6a74d8175ba0376c', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
97
97
  }
98
98
  static get is() { return "justifi-payment-provisioning-core"; }
99
99
  static get properties() {
@@ -20,7 +20,7 @@ export class PaymentProvisioningFormButtons {
20
20
  return this.currentStep === this.totalSteps;
21
21
  }
22
22
  render() {
23
- return (h("div", { key: 'f5b14768cd97673e77c1ee2d9d73221cdee885e6', class: 'd-flex gap-2' }, h(Button, { key: '4726571002718d036c292a41dc216955ba5ec687', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: '3852cfcd4704f5509f22a5c457526fe8475df096', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: 'd62830b61932581071a1a44d872760be0823215a', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
23
+ return (h("div", { key: '7c793a33752cd9b3dd1ebc6c30b7a98002ef8820', class: 'd-flex gap-2' }, h(Button, { key: '5127c233ef8c819fe17204baaff7370d78ec70e7', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: 'd889e96935718eb333eaac70023fd7b273118676', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: '5502d7d73084119862451389bf85705407187016', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
24
24
  }
25
25
  static get is() { return "justifi-payment-provisioning-form-buttons"; }
26
26
  static get properties() {
@@ -21,7 +21,7 @@ export class PaymentProvisioningFormSteps {
21
21
  return this.componentStepMapping[this.currentStep]();
22
22
  }
23
23
  render() {
24
- return (h("div", { key: 'a83b5ef4442783fe771eef6d6418c97aa0a9026d', class: 'col-12 mb-4' }, this.currentStepComponent));
24
+ return (h("div", { key: 'f25bbaeeac7ea49b2d99f746af0aec7b637d879a', class: 'col-12 mb-4' }, this.currentStepComponent));
25
25
  }
26
26
  static get is() { return "justifi-payment-provisioning-form-steps"; }
27
27
  static get properties() {
@@ -48,7 +48,7 @@ export class PaymentProvisioning {
48
48
  }
49
49
  }
50
50
  render() {
51
- return (h("justifi-payment-provisioning-core", { key: 'ca4b13afe923312bd51d477eae50099876991599', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
51
+ return (h("justifi-payment-provisioning-core", { key: 'ab584a720ecfc7ec4e68082fefadeb11fd2884d2', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
52
52
  }
53
53
  static get is() { return "justifi-payment-provisioning"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -114,7 +114,7 @@ export class BusinessTermsConditionsFormStep {
114
114
  return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
115
115
  }
116
116
  render() {
117
- return (h("form", { key: '37500e35233a820f521ee503fc638335a2f4866c' }, h("fieldset", { key: 'e2d1005578397a07b9e876c9a5996e515831c61b' }, h("legend", { key: '46918bc1bd20bb56d4e4882ae3ad9b29e3f6e319', part: heading2 }, "Terms and Conditions"), h("hr", { key: '904dc58480d9e879fcb462c861a3e398d4dd88b7' }), h("div", { key: 'aad73d0a9beddf3487a19bf2af65684309b411aa' }, h("p", { key: '10d9f2ff569e4426aaf1563a98838d89636029fd' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: 'dfb6de0078ebbbed103e7b901da879d5ee4195a4' }), h("div", { key: '4899d9b2a0c85e6d26bfd6e3d35ec1dd38f814e2', class: "row-gy-3" }, h("div", { key: '011ea552aa484fc1d6a159fb58a8fe7383887584', class: "col-12" }, h("form-control-checkbox", { key: '461b491715ed88e92795c7383af3e351e4d9d046', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
117
+ return (h("form", { key: '5d9a216a01873d989cb24057ad4c2411c1ba3654' }, h("fieldset", { key: '6de8bf419bf4bb246346edd04d6d3a195e50fe77' }, h("legend", { key: 'a2b33f3531d30ffd6df9d2b5c161ab3f1086c781', part: heading2 }, "Terms and Conditions"), h("hr", { key: '0346c558c6791e1e727579ab9fd5783c79c0c3fe' }), h("div", { key: '6de71742da5a7de4b4273b9e08cc314c8842c2cd' }, h("p", { key: 'cefd9dec798ce4bc1f5e56b33bf4a37fd4e79edf' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: 'bdac3db844cf98fe77e7599eb5176175f291b371' }), h("div", { key: '9a1ba461f721fa1c376a57964a1211abee7bd36e', class: "row-gy-3" }, h("div", { key: '208c201f35bf0179a5cc06efddbb7ba4a1c65e02', class: "col-12" }, h("form-control-checkbox", { key: '42e8a31b2694f39ca843dc8a865f0c0bad43547a', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
118
118
  }
119
119
  static get is() { return "justifi-business-terms-conditions-form-step"; }
120
120
  static get properties() {
@@ -27,10 +27,10 @@ export class BankAccountForm {
27
27
  });
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: '18ace2e10e76c27166f2432a84880be2e14e7d23' }, h(BankAccountFormSkeleton, { key: 'd2d3eb44c8854913866e2f1178418ab5cd43429e', isReady: this.isReady }), h("div", { key: '84987e3e4d8e5ed4f314f7e306f7e8e48f457bcb', class: "container-fluid p-0", style: {
30
+ return (h(Host, { key: '3d21d5269871beaffeffaef8b9c5104da59c1783' }, h(BankAccountFormSkeleton, { key: 'eb14285f2f0994085423901139f717c3b644273b', isReady: this.isReady }), h("div", { key: '906895204049f1113d596bade78de29bd5def6c2', class: "container-fluid p-0", style: {
31
31
  opacity: this.isReady ? '1' : '0',
32
32
  height: this.isReady ? 'auto' : '0',
33
- } }, h("div", { key: 'b74ce1520cc0dd97d527ba0b8607ad891a645142', class: "row mb-3" }, h("iframe-input", { key: '6966eae250b2d702d0fb887a09fa1b14467fd823', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '02da6bb34dd86fd0e3dddd0d12bdcb7b85bfc70c', class: "row" }, h("iframe-input", { key: '3f8439860fae1d743e10f6b51f9d10cbe451bcae', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
33
+ } }, h("div", { key: 'c56aa2cdec0c8be615dee4388346e890b2610b82', class: "row mb-3" }, h("iframe-input", { key: '5dd97225f360e267abf0c772b28ba890edf284db', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '20504c4b3c984c907765b99051a9e44ad6b5a37a', class: "row" }, h("iframe-input", { key: 'a85f47d87b01e099ac54969ce482abcc1fcb5366', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
34
34
  }
35
35
  static get is() { return "bank-account-form"; }
36
36
  static get properties() {
@@ -1,8 +1,8 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import { BillingFormSchema } from "../billing-form-schema";
3
- import StateOptions from "../../../utils/state-options";
4
- import { FormController } from "../../../ui-components/form/form";
5
- import { numberOnlyHandler } from "../../../ui-components/form/utils";
3
+ import { numberOnlyHandler } from "../../../../ui-components/form/utils";
4
+ import { FormController } from "../../../../ui-components/form/form";
5
+ import StateOptions from "../../../../utils/state-options";
6
6
  export class BillingForm {
7
7
  constructor() {
8
8
  this.inputHandler = (name, value) => {
@@ -34,7 +34,7 @@ export class BillingForm {
34
34
  }
35
35
  render() {
36
36
  const billingFormDefaultValue = this.formController.getInitialValues();
37
- return (h(Host, { key: '2763b7ac25e51e9d206d6a0bc6ed28ec13f54cc3' }, h("form", { key: '758b52530cc945e9c3ce5a2ee11838a3776abc6b' }, h("fieldset", { key: '2ab7312e043d3cbc03993f11ac5692692319af4b' }, this.legend && h("legend", { key: '8e324a5bb2fabc975742e866341a3434e1950a3c' }, this.legend), h("div", { key: 'fafd0d9fa2784341dc80fea8c53d081d2c84af5d', class: "row gy-3" }, h("div", { key: '3aa18a756f3ea6ff9dcfa061cd845c714cab3540', class: "col-12" }, h("form-control-text", { key: '4b75c876eef667f3d353c802376774e7c1af1b84', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'dddc81024aef4757c18b31db84204fc9e70f9ab1', class: "col-12" }, h("form-control-text", { key: 'd9d63301e3d87885de9414164c820df2013cb6ae', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'f96675211a63fc785b9e759aef44f4dd4b22e0a3', class: "col-12" }, h("form-control-text", { key: 'f2c6a24150d640f9efbfa1748f577e32550b3507', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '83cf74afae2c4e899151cc5461a06632fef3c756', class: "col-12" }, h("form-control-text", { key: 'cbbf7dfac17eb69b2c9e80534051822cd4f94afd', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '9331b691855dc4f9a60b746089552228a5b12942', class: "col-12" }, h("form-control-select", { key: 'f0f726fe2633ab45754691726a0008c4e50f41ac', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '0d1d00ca86d09a370330cd9f3807783a8cd981a4', class: "col-12" }, h("form-control-text", { key: '0e43cfe70ca05a3d795d82f554453d12562b2ec9', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
37
+ return (h(Host, { key: '4e04724997c5fda2b4a18b8567da9cd5b0e5e1df' }, h("form", { key: '3ad1b5cf693a428fccc6dcdb2da3456012a7e5bc' }, h("fieldset", { key: '25701e25d37ceff483328dc0fdc38ed03d982a1d' }, this.legend && h("legend", { key: 'c3f8bf4e1aa05446c9cce72f7abb3eb264eb1822' }, this.legend), h("div", { key: '5ceaf13100d39a8107a5695a0140426f5db0ea50', class: "row gy-3" }, h("div", { key: '3e0933b0d4398d1ee3b0b377c65cf2e2e663223b', class: "col-12" }, h("form-control-text", { key: '13b37a27bfa031e03827cb5396b96ee4cbbe419c', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '3e6616197e464a7532945fcd158fc36728a05485', class: "col-12" }, h("form-control-text", { key: '5d6ebbf9e49eedb378d812a1c24bdfbaaf5e5fab', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'b0a7141b5d60cee445f69200979f97e86e8f0e3d', class: "col-12" }, h("form-control-text", { key: '221f411f92bb92e753d5e2fc7e92e9ffe6d20da4', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '189854bdd6dc09039751f81fd65fd3e685731a99', class: "col-12" }, h("form-control-text", { key: 'cc815e308a51d23b139ecaa80afad76b58e761d7', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: 'd876d68af601bec261b6ad0728f8218b605714ff', class: "col-12" }, h("form-control-select", { key: 'd2ab5a47330708030eb904a1463a8fe71553921e', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '152b2e798fbeddcd493479fa15dcb31fe87adc69', class: "col-12" }, h("form-control-text", { key: '050e2be5b9874d2e16eee050b2f9352c4c468657', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
38
38
  }
39
39
  static get is() { return "billing-form"; }
40
40
  static get properties() {
@@ -79,7 +79,7 @@ export class BillingForm {
79
79
  "BillingFormFields": {
80
80
  "location": "import",
81
81
  "path": "../billing-form-schema",
82
- "id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
82
+ "id": "src/components/checkout/billing-forms/billing-form-schema.ts::BillingFormFields"
83
83
  }
84
84
  },
85
85
  "return": "Promise<BillingFormFields>"
@@ -105,7 +105,7 @@ export class BillingForm {
105
105
  "BillingFormFields": {
106
106
  "location": "import",
107
107
  "path": "../billing-form-schema",
108
- "id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
108
+ "id": "src/components/checkout/billing-forms/billing-form-schema.ts::BillingFormFields"
109
109
  }
110
110
  },
111
111
  "return": "Promise<void>"
@@ -1,5 +1,5 @@
1
1
  import { object } from "yup";
2
- import { cityValidation, identityNameValidation, lineOneValidation, lineTwoValidation, postalValidation, stateValidation } from "../business-forms/schemas/schema-validations";
2
+ import { cityValidation, identityNameValidation, lineOneValidation, lineTwoValidation, postalValidation, stateValidation, } from "../../business-forms/schemas/schema-validations";
3
3
  export const BillingFormSchema = object({
4
4
  name: identityNameValidation.required('Enter full name'),
5
5
  address_line1: lineOneValidation.required('Enter street address'),
@@ -12,7 +12,11 @@ export const PostalFormSchema = object({
12
12
  address_postal_code: postalValidation.required('Enter postal code'),
13
13
  });
14
14
  export function isBillingFormFields(fields) {
15
- return 'name' in fields && 'address_line1' in fields && 'address_city' in fields && 'address_state' in fields && 'address_postal_code' in fields;
15
+ return ('name' in fields &&
16
+ 'address_line1' in fields &&
17
+ 'address_city' in fields &&
18
+ 'address_state' in fields &&
19
+ 'address_postal_code' in fields);
16
20
  }
17
21
  export function isPostalFormFields(fields) {
18
22
  return (typeof fields === 'object' &&
@@ -1,6 +1,6 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { billingForm } from "../../styles/parts";
3
- import { Header3 } from "../../ui-components";
2
+ import { billingForm } from "../../../styles/parts";
3
+ import { Header3 } from "../../../ui-components";
4
4
  export class BillingFormWrapper {
5
5
  constructor() {
6
6
  this.legend = undefined;
@@ -43,7 +43,7 @@ export class BillingFormWrapper {
43
43
  }
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: '585ffd5fea9537675f0df77e1e4697a53dacf56f' }, h("div", { key: 'fb7cf4c2f763d64512b6f905aa29aded8060374c', part: billingForm }, this.renderedForm)));
46
+ return (h(Host, { key: 'be6dea58ab65001a820f6c0bb62f91f8b5698c76' }, h("div", { key: '7f69a59cdfb80ac8723b07243379ba61bb1f30c9', part: billingForm }, this.renderedForm)));
47
47
  }
48
48
  static get is() { return "justifi-billing-form-wrapper"; }
49
49
  static get properties() {
@@ -119,12 +119,12 @@ export class BillingFormWrapper {
119
119
  "BillingFormFields": {
120
120
  "location": "import",
121
121
  "path": "./billing-form-schema",
122
- "id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
122
+ "id": "src/components/checkout/billing-forms/billing-form-schema.ts::BillingFormFields"
123
123
  },
124
124
  "PostalFormFields": {
125
125
  "location": "import",
126
126
  "path": "./billing-form-schema",
127
- "id": "src/components/billing-forms/billing-form-schema.ts::PostalFormFields"
127
+ "id": "src/components/checkout/billing-forms/billing-form-schema.ts::PostalFormFields"
128
128
  }
129
129
  },
130
130
  "return": "Promise<void>"
@@ -146,12 +146,12 @@ export class BillingFormWrapper {
146
146
  "BillingFormFields": {
147
147
  "location": "import",
148
148
  "path": "./billing-form-schema",
149
- "id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
149
+ "id": "src/components/checkout/billing-forms/billing-form-schema.ts::BillingFormFields"
150
150
  },
151
151
  "PostalFormFields": {
152
152
  "location": "import",
153
153
  "path": "./billing-form-schema",
154
- "id": "src/components/billing-forms/billing-form-schema.ts::PostalFormFields"
154
+ "id": "src/components/checkout/billing-forms/billing-form-schema.ts::PostalFormFields"
155
155
  }
156
156
  },
157
157
  "return": "Promise<BillingFormFields | PostalFormFields>"