@justifi/webcomponents 4.18.0 → 4.19.0-rc

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 (545) hide show
  1. package/dist/cjs/{Analytics-d4aa8c07.js → Analytics-e1fdfdb7.js} +2 -2
  2. package/dist/cjs/{Payment-24f22eca.js → Payment-1a8a8ca6.js} +0 -21
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  4. package/dist/cjs/business-details-core.cjs.entry.js +1 -1
  5. package/dist/cjs/{business-form-types-11130bab.js → business-form-types-6e1fcda3.js} +4 -7
  6. package/dist/cjs/business.service-c384784d.js +32 -0
  7. package/dist/cjs/button-3f400a66.js +26 -0
  8. package/dist/cjs/{config-ff2dda66.js → config-037e67d0.js} +2 -2
  9. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  10. package/dist/cjs/{form-control-checkbox_5.cjs.entry.js → form-control-checkbox_9.cjs.entry.js} +434 -169
  11. package/dist/cjs/{form-control-number-masked_2.cjs.entry.js → form-control-date_3.cjs.entry.js} +50 -7
  12. package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-error-text_4.cjs.entry.js} +32 -2
  13. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  14. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  15. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  16. package/dist/cjs/{get-payout-csv-e4e4771a.js → get-payout-csv-51a02be7.js} +2 -2
  17. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +2 -2
  18. package/dist/cjs/input-handlers-cff032bb.js +20 -0
  19. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +197 -482
  20. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +4 -4
  21. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +4 -4
  22. package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
  23. package/dist/cjs/justifi-business-form.cjs.entry.js +7 -7
  24. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +30 -0
  25. package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
  26. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -7
  27. package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
  28. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  29. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
  30. package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +7 -7
  31. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +268 -0
  32. package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -5
  33. package/dist/cjs/justifi-payment-form.cjs.entry.js +10 -11
  34. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +4 -4
  35. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
  36. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +8 -12
  37. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -61
  38. package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -5
  39. package/dist/cjs/justifi-payout-details.cjs.entry.js +5 -5
  40. package/dist/cjs/justifi-payouts-list.cjs.entry.js +5 -5
  41. package/dist/cjs/justifi-refund-form.cjs.entry.js +4 -4
  42. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  43. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -3
  44. package/dist/cjs/loader.cjs.js +1 -1
  45. package/dist/cjs/{package-5fee1ffb.js → package-95cc171f.js} +1 -1
  46. package/dist/cjs/pagination-menu.cjs.entry.js +25 -0
  47. package/dist/cjs/payment-details-core.cjs.entry.js +9 -9
  48. package/dist/cjs/payment-provisioning-actions-06466dda.js +185 -0
  49. package/dist/cjs/{payment.service-35298e95.js → payment.service-2dbfb83d.js} +2 -2
  50. package/dist/cjs/payments-list-core.cjs.entry.js +69 -40
  51. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  52. package/dist/cjs/payouts-list-core.cjs.entry.js +90 -74
  53. package/dist/cjs/skeleton-748c5dde.js +43 -0
  54. package/dist/cjs/styled-host-cc053016.js +14 -0
  55. package/dist/cjs/table-loading-state-8b406852.js +38 -0
  56. package/dist/cjs/{utils-80191fbe.js → utils-89d86e29.js} +0 -33
  57. package/dist/cjs/{utils-8c3bf659.js → utils-ddacfc44.js} +0 -5
  58. package/dist/cjs/webcomponents.cjs.js +1 -1
  59. package/dist/collection/api/Payment.js +0 -20
  60. package/dist/collection/api/services/business.service.js +18 -0
  61. package/dist/collection/collection-manifest.json +9 -14
  62. package/dist/collection/components/bank-account-form/bank-account-form.js +1 -1
  63. package/dist/collection/components/billing-form/billing-form.js +2 -2
  64. package/dist/collection/components/business-details/business-details-core.js +1 -1
  65. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  66. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  67. package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
  68. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  69. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  70. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  71. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +520 -0
  72. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +80 -0
  73. package/dist/collection/components/business-forms/owner-form/owner-form.js +55 -225
  74. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +235 -0
  75. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +41 -121
  76. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +2 -2
  77. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +255 -0
  78. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +42 -131
  79. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +342 -0
  80. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +34 -189
  81. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +81 -0
  82. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +229 -0
  83. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +42 -133
  84. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +23 -18
  85. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +2 -2
  86. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +1 -1
  87. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +238 -0
  88. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +41 -124
  89. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +122 -1
  90. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +17 -18
  91. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
  92. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -6
  93. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  94. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
  95. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
  96. package/dist/collection/components/business-forms/utils/business-form-types.js +4 -7
  97. package/dist/collection/components/business-forms/utils/input-handlers.js +13 -0
  98. package/dist/collection/components/card-form/card-form.js +1 -1
  99. package/dist/collection/components/checkout/checkout-core.js +4 -5
  100. package/dist/collection/components/checkout/checkout.js +2 -2
  101. package/dist/collection/components/checkout/new-payment-method.js +1 -1
  102. package/dist/collection/components/checkout/payment-method-options.js +1 -1
  103. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  104. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  105. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  106. package/dist/collection/components/details/details.js +2 -2
  107. package/dist/collection/components/form/form-control-checkbox.js +1 -1
  108. package/dist/collection/components/form/form-control-date.js +1 -1
  109. package/dist/collection/components/form/form-control-file.js +1 -1
  110. package/dist/collection/components/form/form-control-monetary.js +1 -1
  111. package/dist/collection/components/form/form-control-number-masked.js +11 -5
  112. package/dist/collection/components/form/form-control-number.js +1 -1
  113. package/dist/collection/components/form/form-control-select.js +1 -1
  114. package/dist/collection/components/form/form-control-text.js +1 -1
  115. package/dist/collection/components/form/utils.js +0 -2
  116. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  117. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +3 -3
  118. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +6 -1
  119. package/dist/collection/components/pagination-menu/pagination-menu.js +3 -3
  120. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  121. package/dist/collection/components/payment-form/payment-form.js +4 -6
  122. package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
  123. package/dist/collection/components/payment-method-form/payment-method-form.js +2 -2
  124. package/dist/collection/components/payments-list/payments-list-core.js +66 -38
  125. package/dist/collection/components/payout-details/payout-details-core.js +2 -2
  126. package/dist/collection/components/payouts-list/payouts-list-core.js +88 -73
  127. package/dist/collection/components/refund-form/refund-form.js +2 -2
  128. package/dist/collection/ui-components/button-spinner.js +2 -0
  129. package/dist/collection/ui-components/button.js +19 -0
  130. package/dist/collection/ui-components/index.js +7 -0
  131. package/dist/collection/ui-components/skeleton.js +39 -0
  132. package/dist/collection/ui-components/styled-host/styled-host.js +5 -0
  133. package/dist/collection/ui-components/table-empty-state.js +8 -0
  134. package/dist/collection/ui-components/table-error-state.js +8 -0
  135. package/dist/collection/ui-components/table-loading-state.js +8 -0
  136. package/dist/collection/utils/utils.js +0 -21
  137. package/dist/config.js +2 -2
  138. package/dist/docs.json +2080 -1746
  139. package/dist/esm/{Analytics-29fac206.js → Analytics-8638c01f.js} +2 -2
  140. package/dist/esm/{Payment-3e94da9c.js → Payment-6bf26fe2.js} +1 -21
  141. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  142. package/dist/esm/business-details-core.entry.js +2 -2
  143. package/dist/esm/{business-form-types-60f50b98.js → business-form-types-1bc5fe08.js} +5 -8
  144. package/dist/esm/business.service-eee46ab1.js +29 -0
  145. package/dist/esm/button-34e75e0f.js +24 -0
  146. package/dist/esm/{config-476c7241.js → config-58e393e2.js} +2 -2
  147. package/dist/esm/form-alert_5.entry.js +5 -5
  148. package/dist/esm/{form-control-checkbox_5.entry.js → form-control-checkbox_9.entry.js} +432 -171
  149. package/dist/esm/form-control-date_3.entry.js +130 -0
  150. package/dist/esm/{form-control-select_2.entry.js → form-control-error-text_4.entry.js} +32 -4
  151. package/dist/esm/form-control-file.entry.js +1 -1
  152. package/dist/esm/form-control-monetary.entry.js +1 -1
  153. package/dist/esm/form-control-number.entry.js +1 -1
  154. package/dist/esm/{get-payout-csv-9b4aaada.js → get-payout-csv-4d6b29d8.js} +2 -2
  155. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  156. package/dist/esm/input-handlers-270ac806.js +16 -0
  157. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +198 -483
  158. package/dist/esm/justifi-bank-account-form.entry.js +4 -4
  159. package/dist/esm/justifi-billing-form_2.entry.js +4 -4
  160. package/dist/esm/justifi-business-details.entry.js +5 -5
  161. package/dist/esm/justifi-business-form.entry.js +7 -7
  162. package/dist/esm/justifi-business-representative-form-inputs.entry.js +26 -0
  163. package/dist/esm/justifi-card-form.entry.js +4 -4
  164. package/dist/esm/justifi-checkout-core.entry.js +8 -7
  165. package/dist/esm/justifi-checkout.entry.js +6 -6
  166. package/dist/esm/justifi-details.entry.js +3 -3
  167. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  168. package/dist/esm/justifi-new-payment-method_4.entry.js +7 -7
  169. package/dist/esm/justifi-owner-form_3.entry.js +262 -0
  170. package/dist/esm/justifi-payment-details.entry.js +6 -6
  171. package/dist/esm/justifi-payment-form.entry.js +10 -11
  172. package/dist/esm/justifi-payment-method-form.entry.js +4 -4
  173. package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
  174. package/dist/esm/justifi-payment-provisioning-core.entry.js +8 -12
  175. package/dist/esm/justifi-payment-provisioning.entry.js +8 -60
  176. package/dist/esm/justifi-payments-list.entry.js +6 -6
  177. package/dist/esm/justifi-payout-details.entry.js +6 -6
  178. package/dist/esm/justifi-payouts-list.entry.js +6 -6
  179. package/dist/esm/justifi-refund-form.entry.js +4 -4
  180. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  181. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -3
  182. package/dist/esm/loader.js +1 -1
  183. package/dist/esm/{package-1123f528.js → package-5a05ecb7.js} +1 -1
  184. package/dist/esm/pagination-menu.entry.js +21 -0
  185. package/dist/esm/payment-details-core.entry.js +10 -10
  186. package/dist/esm/payment-provisioning-actions-0635eff7.js +178 -0
  187. package/dist/esm/{payment.service-c62d82d3.js → payment.service-9005a501.js} +2 -2
  188. package/dist/esm/payments-list-core.entry.js +69 -40
  189. package/dist/esm/payout-details-core.entry.js +4 -4
  190. package/dist/esm/payouts-list-core.entry.js +90 -74
  191. package/dist/esm/skeleton-145a80d4.js +41 -0
  192. package/dist/esm/styled-host-ab9da520.js +12 -0
  193. package/dist/esm/table-loading-state-356c7215.js +34 -0
  194. package/dist/esm/{utils-56719d07.js → utils-01413a95.js} +1 -1
  195. package/dist/esm/{utils-f4c4ba7d.js → utils-3bb6347a.js} +1 -5
  196. package/dist/esm/{utils-5f4c4faa.js → utils-3c1dd2fa.js} +1 -31
  197. package/dist/esm/webcomponents.js +1 -1
  198. package/dist/module/Payment.js +1 -21
  199. package/dist/module/additional-questions.js +1 -1
  200. package/dist/module/billing-form.js +3 -3
  201. package/dist/module/business-additional-questions-form-step-core.js +141 -0
  202. package/dist/module/business-additional-questions-form-step.js +55 -100
  203. package/dist/module/business-additional-questions-schema.js +1 -1
  204. package/dist/module/business-address-schema.js +1 -1
  205. package/dist/module/business-bank-account-form-step.js +4 -4
  206. package/dist/module/business-core-info-form-step-core.js +151 -0
  207. package/dist/module/business-core-info-form-step.js +57 -106
  208. package/dist/module/business-core-info-schema.js +1 -1
  209. package/dist/module/business-core-info.js +1 -1
  210. package/dist/module/business-document-upload-form-step.js +34 -35
  211. package/dist/module/business-document-upload-input-group.js +2 -2
  212. package/dist/module/business-documents-on-file.js +1 -1
  213. package/dist/module/business-form-types.js +5 -8
  214. package/dist/module/business-identity-schema.js +1 -1
  215. package/dist/module/business-owners-form-step-core.js +216 -0
  216. package/dist/module/business-owners-form-step.js +67 -154
  217. package/dist/module/business-representative-form-inputs.js +85 -0
  218. package/dist/module/business-representative-form-step-core.js +152 -0
  219. package/dist/module/business-representative-form-step.js +63 -111
  220. package/dist/module/business-representative.js +1 -1
  221. package/dist/module/business-terms-conditions-form-step.js +3 -3
  222. package/dist/module/business-terms-conditions-text.js +1 -1
  223. package/dist/module/business.service.js +19 -1
  224. package/dist/module/button.js +24 -0
  225. package/dist/module/checkout-core.js +27 -32
  226. package/dist/module/config.js +2 -2
  227. package/dist/module/details.js +1 -1
  228. package/dist/module/exported-parts.js +40 -0
  229. package/dist/module/form-control-checkbox2.js +1 -1
  230. package/dist/module/form-control-date2.js +1 -1
  231. package/dist/module/form-control-file2.js +1 -1
  232. package/dist/module/form-control-monetary2.js +1 -1
  233. package/dist/module/form-control-number-masked2.js +11 -5
  234. package/dist/module/form-control-number.js +1 -1
  235. package/dist/module/form-control-select2.js +1 -1
  236. package/dist/module/form-control-text2.js +1 -1
  237. package/dist/module/get-payout-csv.js +1 -1
  238. package/dist/module/gross-payment-chart-core2.js +1 -1
  239. package/dist/module/identity-address-form.js +2 -2
  240. package/dist/module/input-handlers.js +16 -0
  241. package/dist/module/justifi-additional-questions-form-step-core.d.ts +11 -0
  242. package/dist/module/justifi-additional-questions-form-step-core.js +6 -0
  243. package/dist/module/justifi-bank-account-form.js +1 -1
  244. package/dist/module/justifi-business-core-info-form-step-core.d.ts +11 -0
  245. package/dist/module/justifi-business-core-info-form-step-core.js +6 -0
  246. package/dist/module/justifi-business-details.js +1 -1
  247. package/dist/module/justifi-business-form.js +2 -2
  248. package/dist/module/justifi-business-owners-form-step-core.d.ts +11 -0
  249. package/dist/module/justifi-business-owners-form-step-core.js +6 -0
  250. package/dist/module/justifi-business-representative-form-inputs.d.ts +11 -0
  251. package/dist/module/justifi-business-representative-form-inputs.js +6 -0
  252. package/dist/module/justifi-business-representative-form-step-core.d.ts +11 -0
  253. package/dist/module/justifi-business-representative-form-step-core.js +6 -0
  254. package/dist/module/justifi-card-form.js +1 -1
  255. package/dist/module/justifi-checkout.js +27 -33
  256. package/dist/module/justifi-gross-payment-chart.js +1 -1
  257. package/dist/module/justifi-legal-address-form-step-core.d.ts +11 -0
  258. package/dist/module/justifi-legal-address-form-step-core.js +6 -0
  259. package/dist/module/justifi-payment-details.js +2 -2
  260. package/dist/module/justifi-payment-form.js +5 -6
  261. package/dist/module/justifi-payment-provisioning.js +97 -108
  262. package/dist/module/justifi-payments-list.js +8 -14
  263. package/dist/module/justifi-payout-details.js +1 -1
  264. package/dist/module/justifi-payouts-list.js +8 -13
  265. package/dist/module/justifi-refund-form.js +2 -2
  266. package/dist/module/justifi-season-interruption-insurance.js +7 -2
  267. package/dist/module/legal-address-form-step-core.js +138 -0
  268. package/dist/module/legal-address-form-step.js +53 -98
  269. package/dist/module/legal-address-form.js +2 -2
  270. package/dist/module/new-payment-method.js +1 -1
  271. package/dist/module/{justifi-table.d.ts → owner-form-core.d.ts} +4 -4
  272. package/dist/module/owner-form-core.js +6 -0
  273. package/dist/module/owner-form-core2.js +264 -0
  274. package/dist/module/{justifi-skeleton.d.ts → owner-form-inputs.d.ts} +4 -4
  275. package/dist/module/owner-form-inputs.js +6 -0
  276. package/dist/module/owner-form-inputs2.js +85 -0
  277. package/dist/module/owner-form.js +62 -188
  278. package/dist/module/package.js +1 -1
  279. package/dist/module/pagination-menu2.js +3 -3
  280. package/dist/module/payment-details-core2.js +7 -7
  281. package/dist/module/payment-method-form.js +2 -2
  282. package/dist/module/payment-method-options.js +1 -1
  283. package/dist/module/payment-method-selector.js +1 -1
  284. package/dist/module/payment-provisioning-actions.js +178 -0
  285. package/dist/module/payment-provisioning-core.js +100 -62
  286. package/dist/module/payment-provisioning-form-buttons.js +2 -2
  287. package/dist/module/payment-provisioning-form-steps.js +94 -52
  288. package/dist/module/payments-list-core2.js +71 -49
  289. package/dist/module/payout-details-core2.js +1 -1
  290. package/dist/module/payouts-list-core2.js +92 -82
  291. package/dist/module/save-new-payment-method.js +1 -1
  292. package/dist/module/saved-payment-method.js +1 -1
  293. package/dist/module/schema-validations.js +1 -1
  294. package/dist/module/season-interruption-insurance-core.js +2 -2
  295. package/dist/module/sezzle-payment-method.js +1 -1
  296. package/dist/module/skeleton.js +18 -50
  297. package/dist/module/styled-host.js +4 -4
  298. package/dist/module/utils2.js +1 -31
  299. package/dist/module/utils3.js +23 -26
  300. package/dist/module/utils4.js +23 -24
  301. package/dist/types/api/Payment.d.ts +0 -28
  302. package/dist/types/api/services/business.service.d.ts +10 -0
  303. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +43 -0
  304. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +9 -0
  305. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +9 -28
  306. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +26 -0
  307. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +5 -15
  308. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +27 -0
  309. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +6 -21
  310. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +35 -0
  311. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +5 -21
  312. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +9 -0
  313. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +25 -0
  314. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +5 -17
  315. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +26 -0
  316. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +5 -15
  317. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +40 -1
  318. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +2 -2
  319. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +1 -1
  320. package/dist/types/components/business-forms/utils/business-form-types.d.ts +6 -11
  321. package/dist/types/components/business-forms/utils/input-handlers.d.ts +4 -0
  322. package/dist/types/components/checkout/checkout-core.d.ts +0 -1
  323. package/dist/types/components/form/utils.d.ts +0 -1
  324. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +3 -0
  325. package/dist/types/components/payments-list/payments-list-core.d.ts +12 -2
  326. package/dist/types/components/payouts-list/payouts-list-core.d.ts +11 -4
  327. package/dist/types/components.d.ts +309 -482
  328. package/dist/types/ui-components/button-spinner.d.ts +1 -0
  329. package/dist/types/ui-components/button.d.ts +10 -0
  330. package/dist/types/ui-components/index.d.ts +7 -0
  331. package/dist/types/ui-components/skeleton.d.ts +13 -0
  332. package/dist/types/ui-components/styled-host/styled-host.d.ts +2 -0
  333. package/dist/types/ui-components/table-empty-state.d.ts +6 -0
  334. package/dist/types/ui-components/table-error-state.d.ts +6 -0
  335. package/dist/types/ui-components/table-loading-state.d.ts +6 -0
  336. package/dist/types/utils/utils.d.ts +0 -3
  337. package/dist/webcomponents/{p-67e497aa.entry.js → p-023779ee.entry.js} +1 -1
  338. package/dist/webcomponents/p-07109641.entry.js +1 -0
  339. package/dist/webcomponents/p-08b0fb31.js +1 -0
  340. package/dist/webcomponents/p-0f7b9555.entry.js +1 -0
  341. package/dist/webcomponents/p-17e4246f.entry.js +1 -0
  342. package/dist/webcomponents/{p-959b478a.entry.js → p-1a43e355.entry.js} +2 -2
  343. package/dist/webcomponents/p-30a493cd.entry.js +1 -0
  344. package/dist/webcomponents/p-335e58a6.entry.js +1 -0
  345. package/dist/webcomponents/{p-e0bcfdb5.entry.js → p-337893fe.entry.js} +1 -1
  346. package/dist/webcomponents/p-3f5e7e86.js +1 -0
  347. package/dist/webcomponents/p-462dc522.entry.js +1 -0
  348. package/dist/webcomponents/{p-09affce4.entry.js → p-487b72a8.entry.js} +1 -1
  349. package/dist/webcomponents/{p-571d7f1a.entry.js → p-4abc17f0.entry.js} +1 -1
  350. package/dist/webcomponents/p-52021fa1.entry.js +1 -0
  351. package/dist/webcomponents/p-53e64f15.entry.js +1 -0
  352. package/dist/webcomponents/p-57e1f2fd.js +1 -0
  353. package/dist/webcomponents/{p-464e4dfe.entry.js → p-59415873.entry.js} +1 -1
  354. package/dist/webcomponents/p-5968ff8a.js +1 -0
  355. package/dist/webcomponents/p-60dcd24c.entry.js +1 -0
  356. package/dist/webcomponents/{p-3294856b.entry.js → p-62b32c4c.entry.js} +1 -1
  357. package/dist/webcomponents/p-69faef3f.entry.js +1 -0
  358. package/dist/webcomponents/p-7d85af5c.js +1 -0
  359. package/dist/webcomponents/{p-e8c651b8.js → p-83125497.js} +1 -1
  360. package/dist/webcomponents/{p-9631b768.entry.js → p-88b6ed9b.entry.js} +1 -1
  361. package/dist/webcomponents/p-8df7bde8.js +1 -0
  362. package/dist/webcomponents/{p-f3555f0b.entry.js → p-8e541a32.entry.js} +1 -1
  363. package/dist/webcomponents/p-9c057196.js +1 -0
  364. package/dist/webcomponents/p-9c9c7dac.js +1 -0
  365. package/dist/webcomponents/{p-bb32b91c.entry.js → p-9f29820f.entry.js} +1 -1
  366. package/dist/webcomponents/p-a8220709.entry.js +1 -0
  367. package/dist/webcomponents/p-b20364d8.entry.js +1 -0
  368. package/dist/webcomponents/{p-e85ef4af.entry.js → p-b3a8ee6c.entry.js} +1 -1
  369. package/dist/webcomponents/p-b87b27ba.js +1 -0
  370. package/dist/webcomponents/p-ba4bae6f.js +1 -0
  371. package/dist/webcomponents/{p-0dca0770.entry.js → p-bb86a0da.entry.js} +1 -1
  372. package/dist/webcomponents/p-bbed6107.entry.js +1 -0
  373. package/dist/webcomponents/p-be39c802.entry.js +1 -0
  374. package/dist/webcomponents/p-c28db166.js +1 -0
  375. package/dist/webcomponents/p-c9f8f7ec.entry.js +1 -0
  376. package/dist/webcomponents/{p-66758365.entry.js → p-d535bc5d.entry.js} +1 -1
  377. package/dist/webcomponents/{p-092e080c.js → p-d6619366.js} +1 -1
  378. package/dist/webcomponents/p-d8355f91.entry.js +1 -0
  379. package/dist/webcomponents/p-d89bad72.js +1 -0
  380. package/dist/webcomponents/{p-d5612f35.entry.js → p-da2837f9.entry.js} +1 -1
  381. package/dist/webcomponents/{p-e1651130.js → p-dce846bf.js} +1 -1
  382. package/dist/webcomponents/{p-0e4a54c8.entry.js → p-def4b4b2.entry.js} +1 -1
  383. package/dist/webcomponents/{p-e8706cc4.js → p-df21aaad.js} +1 -1
  384. package/dist/webcomponents/{p-531d873a.entry.js → p-e2c88817.entry.js} +1 -1
  385. package/dist/webcomponents/{p-df38dd21.entry.js → p-e31f0f3e.entry.js} +1 -1
  386. package/dist/webcomponents/p-e333620e.js +1 -0
  387. package/dist/webcomponents/{p-7a346c0b.entry.js → p-eae46810.entry.js} +1 -1
  388. package/dist/webcomponents/p-ef23c091.entry.js +1 -0
  389. package/dist/webcomponents/{p-2244e679.entry.js → p-f0866375.entry.js} +1 -1
  390. package/dist/webcomponents/{p-3514b616.entry.js → p-f3f3d544.entry.js} +1 -1
  391. package/dist/webcomponents/p-f49b7170.entry.js +1 -0
  392. package/dist/webcomponents/{p-debeefbb.entry.js → p-fb58feb5.entry.js} +1 -1
  393. package/dist/webcomponents/p-fe33151d.entry.js +1 -0
  394. package/dist/webcomponents/webcomponents.css +6 -1
  395. package/dist/webcomponents/webcomponents.esm.js +1 -1
  396. package/package.json +1 -1
  397. package/dist/cjs/SubAccount-135ff8c8.js +0 -107
  398. package/dist/cjs/business.service-9214509a.js +0 -13
  399. package/dist/cjs/form-control-date.cjs.entry.js +0 -43
  400. package/dist/cjs/form-control-error-text_2.cjs.entry.js +0 -36
  401. package/dist/cjs/justifi-business-list.cjs.entry.js +0 -110
  402. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +0 -86
  403. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +0 -159
  404. package/dist/cjs/justifi-skeleton.cjs.entry.js +0 -54
  405. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +0 -77
  406. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +0 -105
  407. package/dist/cjs/justifi-table_2.cjs.entry.js +0 -80
  408. package/dist/cjs/styled-host-b8bed12a.js +0 -14
  409. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +0 -58
  410. package/dist/cjs/subaccount-bank-details.cjs.entry.js +0 -19
  411. package/dist/cjs/subaccount-terms-details.cjs.entry.js +0 -19
  412. package/dist/collection/api/Proceed.js +0 -41
  413. package/dist/collection/api/SubAccount.js +0 -103
  414. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.css +0 -60
  415. package/dist/collection/components/business-list/business-list.js +0 -185
  416. package/dist/collection/components/business-list/business-list.stories.js +0 -68
  417. package/dist/collection/components/business-list/example.js +0 -12
  418. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +0 -143
  419. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js +0 -32
  420. package/dist/collection/components/proceeds-list/example.js +0 -12
  421. package/dist/collection/components/proceeds-list/proceeds-list.js +0 -205
  422. package/dist/collection/components/proceeds-list/proceeds-list.stories.js +0 -69
  423. package/dist/collection/components/skeleton/skeleton.css +0 -11
  424. package/dist/collection/components/skeleton/skeleton.js +0 -160
  425. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +0 -59
  426. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +0 -37
  427. package/dist/collection/components/subaccount-details/subaccount-details.js +0 -136
  428. package/dist/collection/components/subaccount-details/subaccount-details.stories.js +0 -25
  429. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +0 -38
  430. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +0 -38
  431. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +0 -38
  432. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +0 -37
  433. package/dist/collection/components/subaccounts-list/subaccounts-list.css +0 -3
  434. package/dist/collection/components/subaccounts-list/subaccounts-list.js +0 -179
  435. package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js +0 -69
  436. package/dist/collection/components/table/table.css +0 -7
  437. package/dist/collection/components/table/table.js +0 -222
  438. package/dist/collection/components/table/utils.js +0 -4
  439. package/dist/collection/utils/styled-host/styled-host.js +0 -6
  440. package/dist/esm/SubAccount-7fcb1450.js +0 -105
  441. package/dist/esm/business.service-19a0c8d3.js +0 -11
  442. package/dist/esm/form-control-date.entry.js +0 -39
  443. package/dist/esm/form-control-error-text_2.entry.js +0 -31
  444. package/dist/esm/form-control-number-masked_2.entry.js +0 -88
  445. package/dist/esm/justifi-business-list.entry.js +0 -106
  446. package/dist/esm/justifi-payment-balance-transactions.entry.js +0 -82
  447. package/dist/esm/justifi-proceeds-list.entry.js +0 -155
  448. package/dist/esm/justifi-skeleton.entry.js +0 -50
  449. package/dist/esm/justifi-subaccount-details.entry.js +0 -73
  450. package/dist/esm/justifi-subaccounts-list.entry.js +0 -101
  451. package/dist/esm/justifi-table_2.entry.js +0 -75
  452. package/dist/esm/styled-host-57aae7fa.js +0 -12
  453. package/dist/esm/subaccount-account-details_4.entry.js +0 -51
  454. package/dist/esm/subaccount-bank-details.entry.js +0 -15
  455. package/dist/esm/subaccount-terms-details.entry.js +0 -15
  456. package/dist/module/SubAccount.js +0 -105
  457. package/dist/module/justifi-business-list.d.ts +0 -11
  458. package/dist/module/justifi-business-list.js +0 -147
  459. package/dist/module/justifi-payment-balance-transactions.d.ts +0 -11
  460. package/dist/module/justifi-payment-balance-transactions.js +0 -123
  461. package/dist/module/justifi-proceeds-list.d.ts +0 -11
  462. package/dist/module/justifi-proceeds-list.js +0 -198
  463. package/dist/module/justifi-skeleton.js +0 -6
  464. package/dist/module/justifi-subaccount-details.d.ts +0 -11
  465. package/dist/module/justifi-subaccount-details.js +0 -133
  466. package/dist/module/justifi-subaccounts-list.d.ts +0 -11
  467. package/dist/module/justifi-subaccounts-list.js +0 -144
  468. package/dist/module/justifi-table.js +0 -6
  469. package/dist/module/subaccount-account-details.d.ts +0 -11
  470. package/dist/module/subaccount-account-details.js +0 -6
  471. package/dist/module/subaccount-account-details2.js +0 -34
  472. package/dist/module/subaccount-bank-details.d.ts +0 -11
  473. package/dist/module/subaccount-bank-details.js +0 -35
  474. package/dist/module/subaccount-merchant-details.d.ts +0 -11
  475. package/dist/module/subaccount-merchant-details.js +0 -6
  476. package/dist/module/subaccount-merchant-details2.js +0 -33
  477. package/dist/module/subaccount-owners-details.d.ts +0 -11
  478. package/dist/module/subaccount-owners-details.js +0 -6
  479. package/dist/module/subaccount-owners-details2.js +0 -33
  480. package/dist/module/subaccount-representative-details.d.ts +0 -11
  481. package/dist/module/subaccount-representative-details.js +0 -6
  482. package/dist/module/subaccount-representative-details2.js +0 -33
  483. package/dist/module/subaccount-terms-details.d.ts +0 -11
  484. package/dist/module/subaccount-terms-details.js +0 -35
  485. package/dist/module/table.js +0 -93
  486. package/dist/types/api/Proceed.d.ts +0 -60
  487. package/dist/types/api/SubAccount.d.ts +0 -163
  488. package/dist/types/components/business-list/business-list.d.ts +0 -48
  489. package/dist/types/components/business-list/business-list.stories.d.ts +0 -9
  490. package/dist/types/components/payment-balance-transactions/payment-balance-transactions.d.ts +0 -17
  491. package/dist/types/components/payment-balance-transactions/payment-balance-transactions.stories.d.ts +0 -8
  492. package/dist/types/components/proceeds-list/proceeds-list.d.ts +0 -39
  493. package/dist/types/components/proceeds-list/proceeds-list.stories.d.ts +0 -9
  494. package/dist/types/components/skeleton/skeleton.d.ts +0 -12
  495. package/dist/types/components/subaccount-details/subaccount-account-details/subaccount-account-details.d.ts +0 -6
  496. package/dist/types/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.d.ts +0 -5
  497. package/dist/types/components/subaccount-details/subaccount-details.d.ts +0 -16
  498. package/dist/types/components/subaccount-details/subaccount-details.stories.d.ts +0 -7
  499. package/dist/types/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.d.ts +0 -5
  500. package/dist/types/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.d.ts +0 -5
  501. package/dist/types/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.d.ts +0 -5
  502. package/dist/types/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.d.ts +0 -5
  503. package/dist/types/components/subaccounts-list/subaccounts-list.d.ts +0 -19
  504. package/dist/types/components/subaccounts-list/subaccounts-list.stories.d.ts +0 -9
  505. package/dist/types/components/table/table.d.ts +0 -23
  506. package/dist/types/components/table/utils.d.ts +0 -3
  507. package/dist/types/utils/styled-host/styled-host.d.ts +0 -3
  508. package/dist/webcomponents/p-0a4a9ccd.entry.js +0 -1
  509. package/dist/webcomponents/p-0ed3c1d2.entry.js +0 -1
  510. package/dist/webcomponents/p-10b57ac6.entry.js +0 -1
  511. package/dist/webcomponents/p-1737f6bf.entry.js +0 -1
  512. package/dist/webcomponents/p-2306d44d.entry.js +0 -1
  513. package/dist/webcomponents/p-2af3672b.entry.js +0 -1
  514. package/dist/webcomponents/p-390157c9.entry.js +0 -1
  515. package/dist/webcomponents/p-412c7a22.entry.js +0 -1
  516. package/dist/webcomponents/p-49b8e112.js +0 -1
  517. package/dist/webcomponents/p-4b9587ec.entry.js +0 -1
  518. package/dist/webcomponents/p-54287db6.entry.js +0 -1
  519. package/dist/webcomponents/p-547a2cd0.entry.js +0 -1
  520. package/dist/webcomponents/p-5963bcdc.entry.js +0 -1
  521. package/dist/webcomponents/p-5b1451e7.entry.js +0 -1
  522. package/dist/webcomponents/p-667a5aa8.js +0 -1
  523. package/dist/webcomponents/p-6700ac49.js +0 -1
  524. package/dist/webcomponents/p-68fd8283.js +0 -1
  525. package/dist/webcomponents/p-6bcf621a.entry.js +0 -1
  526. package/dist/webcomponents/p-6bd5d569.entry.js +0 -1
  527. package/dist/webcomponents/p-76180bb4.entry.js +0 -1
  528. package/dist/webcomponents/p-77dc159c.entry.js +0 -1
  529. package/dist/webcomponents/p-7d6aba64.entry.js +0 -1
  530. package/dist/webcomponents/p-81d3eda6.entry.js +0 -1
  531. package/dist/webcomponents/p-87932e16.js +0 -1
  532. package/dist/webcomponents/p-88c7ef46.entry.js +0 -1
  533. package/dist/webcomponents/p-8cc7a418.entry.js +0 -1
  534. package/dist/webcomponents/p-8dd22c8d.entry.js +0 -1
  535. package/dist/webcomponents/p-9e7c3231.entry.js +0 -1
  536. package/dist/webcomponents/p-ae263544.js +0 -1
  537. package/dist/webcomponents/p-b53d7b7f.js +0 -1
  538. package/dist/webcomponents/p-bbc18b9f.entry.js +0 -1
  539. package/dist/webcomponents/p-c4264aaf.js +0 -1
  540. package/dist/webcomponents/p-cb9ee476.entry.js +0 -1
  541. package/dist/webcomponents/p-d083a342.entry.js +0 -1
  542. package/dist/webcomponents/p-e46929a1.entry.js +0 -1
  543. package/dist/webcomponents/p-ea7c77a3.entry.js +0 -1
  544. package/dist/webcomponents/p-ed844504.js +0 -1
  545. package/dist/module/{index.esm.js → form.js} +2733 -2733
@@ -0,0 +1 @@
1
+ export declare const ButtonSpinner: () => any;
@@ -0,0 +1,10 @@
1
+ import { FunctionalComponent } from '../stencil-public-runtime';
2
+ interface ButtonProps {
3
+ variant: 'primary' | 'secondary';
4
+ isLoading?: boolean;
5
+ }
6
+ type ButtonElementProps = ButtonProps & {
7
+ [key: string]: any;
8
+ };
9
+ export declare const Button: FunctionalComponent<ButtonElementProps>;
10
+ export {};
@@ -0,0 +1,7 @@
1
+ export * from './button';
2
+ export * from './button-spinner';
3
+ export * from './styled-host/styled-host';
4
+ export * from './table-empty-state';
5
+ export * from './table-error-state';
6
+ export * from './table-loading-state';
7
+ export * from './skeleton';
@@ -0,0 +1,13 @@
1
+ import { FunctionalComponent } from '../stencil-public-runtime';
2
+ interface SkeletonProps {
3
+ component?: string;
4
+ height?: string | number;
5
+ width?: string | number;
6
+ variant?: 'circular' | 'rectangular' | 'rounded' | 'text';
7
+ componentClassName?: string;
8
+ styles?: {
9
+ [key: string]: any;
10
+ };
11
+ }
12
+ export declare const Skeleton: FunctionalComponent<SkeletonProps>;
13
+ export default Skeleton;
@@ -0,0 +1,2 @@
1
+ import { FunctionalComponent, HostAttributes } from "../../stencil-public-runtime";
2
+ export declare const StyledHost: FunctionalComponent<HostAttributes>;
@@ -0,0 +1,6 @@
1
+ interface TableRenderStateProps {
2
+ columnSpan: number;
3
+ isEmpty: boolean;
4
+ }
5
+ export declare const TableEmptyState: (props: TableRenderStateProps) => any;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ interface TableRenderStateProps {
2
+ columnSpan: number;
3
+ errorMessage: string;
4
+ }
5
+ export declare const TableErrorState: (props: TableRenderStateProps) => any;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ interface TableRenderStateProps {
2
+ columnSpan: number;
3
+ isLoading: boolean;
4
+ }
5
+ export declare const TableLoadingState: (props: TableRenderStateProps) => any;
6
+ export {};
@@ -1,5 +1,4 @@
1
1
  import { Address } from '../api/Business';
2
- import { Legal } from '../api/SubAccount';
3
2
  export declare const RegExZip: RegExp;
4
3
  export declare function formatCurrency(amount: number, withSymbol?: boolean): string;
5
4
  export declare function formatPercentage(amount: number): string;
@@ -9,11 +8,9 @@ export declare function formatDisplayDate(value: any, endDate: string): string;
9
8
  export declare function formatTime(dateString: string): string;
10
9
  export declare function formatTimeSeconds(dateString: string): string;
11
10
  export declare function formatAddress(address: Address): string;
12
- export declare function formatLegalAddress(address: Legal): string;
13
11
  export declare function extractComputedFontsToLoad(): string;
14
12
  export declare const MapPaymentStatusToBadge: (status: string) => "<span class='badge bg-primary' title='This card payment was authorized, but not captured. It could still succeed or fail.'>Authorized</span>" | "<span class='badge bg-primary' title='The account holder disputed this payment. The amount has been returned and a fee assessed.'>Disputed</span>" | "<span class='badge bg-danger' title='The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)'>Failed</span>" | "<span class='badge bg-danger' title='This card payment didn't go through (it won't appear in a payout)'>Failed</span>" | "<span class='badge bg-primary' title='The full amount of this payment has been refunded'>Fully Refunded</span>" | "<span class='badge bg-primary' title='A portion of this payment has been refunded'>Partially Refunded</span>" | "<span class='badge bg-secondary' title='This ACH payment was processed, but the funds haven't settled. It could still succeed or fail.'>Pending</span>" | "<span class='badge bg-success' title='This payment was successfully captured'>Successful</span>";
15
13
  export declare const MapPayoutStatusToBadge: (status: string) => "<span class='badge bg-danger' title='Transfer to your bank account failed'>Canceled</span>" | "<span class='badge bg-danger' title='Transfer to your bank account failed'>Failed</span>" | "<span class='badge bg-secondary' title='This payout initially failed; the funds have been forwarded to your next successful payout'>Forwarded</span>" | "<span class='badge bg-primary' title='Transfer to your bank account has been initiated'>In Transit</span>" | "<span class='badge bg-success' title='Successfully deposited into your bank account'>Paid</span>" | "<span class='badge bg-primary' title='Batched and scheduled to be transferred'>Pending</span>" | "<span class='badge bg-primary' title='Batched and scheduled to be transferred'>Scheduled</span>" | "<span class='badge bg-success' title='Negative payout balance successfully withdrawn from your bank account'>Withdrawn</span>";
16
- export declare const MapSubAccountStatusToBadge: (status: string) => "<span class='badge bg-primary' title='This sub account has been created, but we haven't received their onboarding yet'>Canceled</span>" | "<span class='badge bg-info' title='We've received this sub account's onboarding and we're reviewing their information'>Submitted</span>" | "<span class='badge bg-warning' title='We've reviewed this sub account's onboarding information and found an issue'>Information Needed</span>" | "<span class='badge bg-success' title='This sub account is approved to process payments'>Enabled</span>" | "<span class='badge bg-danger' title='This sub account was previously approved, but has since become ineligible to process payments'>Disabled</span>" | "<span class='badge bg-danger' title='This sub account didn't pass approval, so they won't be able to process payments'>Rejected</span>" | "<span class='badge bg-primary' title='This sub account has been archived. They won't be able to process payments unless they are restored'>Archived</span>";
17
14
  /**
18
15
  * Converts a snake_case string to a human-readable format by replacing underscores with spaces and capitalizing the first letter of each word.
19
16
  *
@@ -1 +1 @@
1
- import{r as o,c as r,h as t}from"./p-fad19d75.js";import{c as i,d as a,F as e}from"./p-2eab3c90.js";import{A as s}from"./p-29c0b182.js";import"./p-56f6ce4c.js";import"./p-e8706cc4.js";import"./p-e3fab0e2.js";import{c as n}from"./p-ae263544.js";import{C as c}from"./p-525db3e8.js";import{S as b}from"./p-87932e16.js";const d=i().shape({amount:a().required("Amount is required").typeError("Amount must be a number").positive("Amount must be positive").test("amount","Refund amount cannot be more than the original payment amount",(function(o){return o<=this.options.context.amount})).nullable()}),f=class{constructor(t){o(this,t),this.submitted=r(this,"submitted",7),this.authToken=void 0,this.paymentId=void 0,this.amount=0,this.submitButtonText="Submit",this.withButton=void 0,this.refundInfoText=void 0,this.errors={},this.isSubmitting=!1}componentWillLoad(){this.formController=new e(d),this.formController.setInitialValues({amount:this.amount,message:""}),this.initializeApi()}componentDidLoad(){this.formController.errors.subscribe((o=>{this.errors=Object.assign({},o)}))}async handleSubmit(o){o.preventDefault(),this.formController.validateAndSubmit(this.submitRefund.bind(this),{amount:this.amount})}async submitRefund(){this.isSubmitting=!0;const o=this.formController.values.getValue();try{await this.api.post(`payments/${this.paymentId}/refunds`,o),this.submitted.emit(o)}catch(o){console.error("Error submitting refund:",o),this.submitted.emit(o)}finally{this.isSubmitting=!1}}handleInput(o,r){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[o]:r}))}initializeApi(){this.authToken||console.warn("Warning: Missing auth-token."),this.api=s({authToken:this.authToken,apiOrigin:n.proxyApiOrigin})}render(){var o;return t(b,{key:"33fe820ac401dce5903071de975343fb4577e8bc"},t("h1",{key:"f249b4ab8c6817d995566434055c64dc11e6f1aa"},"Refund"),this.refundInfoText&&t("div",{key:"e152d19001ab00d1b7d213f44f8f384a4bdd3dcf",class:"d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3",role:"alert"},t("img",{key:"177e584498bd6e23b152f8daf5c51989bbf6509e",src:"/info-icon.svg",alt:"Information",height:"30",width:"30"}),t("p",{key:"4b094ae72aea352c4cf4bc85610e8ede298549e0",class:"m-0",innerHTML:this.refundInfoText})),t("form",{key:"04501cd8aa10b65e9d2cd2940bdffb89688ff30c",onSubmit:o=>this.handleSubmit(o),class:"d-grid gap-4"},t("div",{key:"44811330173bc418413a2e9cab0249f541ffe517",class:"form-group"},t("form-control-monetary",{key:"384e732335cf8e8782af48da6709f06028181c19",name:"amount",label:"Refund Amount",defaultValue:(null===(o=this.amount)||void 0===o?void 0:o.toString())||"",maskOptions:c.DECIMAL,inputHandler:(o,r)=>this.handleInput(o,r),errorText:this.errors.amount})),t("div",{key:"137a007a7e795b7d1a8b86ddd05982a7e79bd66a",class:"form-group"},t("form-control-text",{key:"2a2fc63cb0131614044f15132ed56a845cae0646",name:"notes",label:"Additional Notes",inputHandler:(o,r)=>this.handleInput(o,r),errorText:this.errors.notes})),this.withButton&&t("div",{key:"4e3229087cca4cf5c4a133b49cc04a527bd3a716",class:"form-group d-flex flex-row-reverse"},t("button",{key:"2f44170e8b632ba3b2db98ada5c54944495ce4d6",type:"submit",disabled:!!this.isSubmitting,class:"btn btn-primary ml-auto"},this.submitButtonText))))}};f.style=":host{display:block}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}.btn{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow)}.btn:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.btn:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}";export{f as justifi_refund_form}
1
+ import{r as o,c as r,h as t}from"./p-fad19d75.js";import{c as i,d as a,F as e}from"./p-2eab3c90.js";import{A as d}from"./p-29c0b182.js";import"./p-56f6ce4c.js";import"./p-df21aaad.js";import"./p-e3fab0e2.js";import{c as s}from"./p-57e1f2fd.js";import{C as n}from"./p-525db3e8.js";import{S as f}from"./p-ba4bae6f.js";const b=i().shape({amount:a().required("Amount is required").typeError("Amount must be a number").positive("Amount must be positive").test("amount","Refund amount cannot be more than the original payment amount",(function(o){return o<=this.options.context.amount})).nullable()}),c=class{constructor(t){o(this,t),this.submitted=r(this,"submitted",7),this.authToken=void 0,this.paymentId=void 0,this.amount=0,this.submitButtonText="Submit",this.withButton=void 0,this.refundInfoText=void 0,this.errors={},this.isSubmitting=!1}componentWillLoad(){this.formController=new e(b),this.formController.setInitialValues({amount:this.amount,message:""}),this.initializeApi()}componentDidLoad(){this.formController.errors.subscribe((o=>{this.errors=Object.assign({},o)}))}async handleSubmit(o){o.preventDefault(),this.formController.validateAndSubmit(this.submitRefund.bind(this),{amount:this.amount})}async submitRefund(){this.isSubmitting=!0;const o=this.formController.values.getValue();try{await this.api.post(`payments/${this.paymentId}/refunds`,o),this.submitted.emit(o)}catch(o){console.error("Error submitting refund:",o),this.submitted.emit(o)}finally{this.isSubmitting=!1}}handleInput(o,r){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[o]:r}))}initializeApi(){this.authToken||console.warn("Warning: Missing auth-token."),this.api=d({authToken:this.authToken,apiOrigin:s.proxyApiOrigin})}render(){var o;return t(f,{key:"d0d0962eaecab749aa1eb124e86701a2fb4dfd53"},t("h1",{key:"cb3071d89c291b1664e551fcf2808a64569ba5eb"},"Refund"),this.refundInfoText&&t("div",{key:"01a6f4567f882d2eec492ef6d98db7d04747ecb4",class:"d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3",role:"alert"},t("img",{key:"8ae5928aaf8ead35a7ad180a01bdde05ebec3d5f",src:"/info-icon.svg",alt:"Information",height:"30",width:"30"}),t("p",{key:"425a7dfe9d8b886b55fd0878f3989373733c1758",class:"m-0",innerHTML:this.refundInfoText})),t("form",{key:"5516d2ac500611d2410b9b4c2a4d0d15e417b2d1",onSubmit:o=>this.handleSubmit(o),class:"d-grid gap-4"},t("div",{key:"b67a7c56f070a5a25d91aa0cc77755b27d420fdc",class:"form-group"},t("form-control-monetary",{key:"76b6cfdf2b39674434f4d880333dd5d5f603f0b6",name:"amount",label:"Refund Amount",defaultValue:(null===(o=this.amount)||void 0===o?void 0:o.toString())||"",maskOptions:n.DECIMAL,inputHandler:(o,r)=>this.handleInput(o,r),errorText:this.errors.amount})),t("div",{key:"5e581cdea69d2ce9dbad774214cd904923d199b3",class:"form-group"},t("form-control-text",{key:"926ae888676a4089d3381bd4d650e6f84f6e206a",name:"notes",label:"Additional Notes",inputHandler:(o,r)=>this.handleInput(o,r),errorText:this.errors.notes})),this.withButton&&t("div",{key:"de5df506b7b64a69a16241f117bf9bea4fd79b57",class:"form-group d-flex flex-row-reverse"},t("button",{key:"92ad4d43677587c2c20dc03c6f03a6cf1f20ac12",type:"submit",disabled:!!this.isSubmitting,class:"btn btn-primary ml-auto"},this.submitButtonText))))}};c.style=":host{display:block}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}.btn{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow)}.btn:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.btn:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}";export{c as justifi_refund_form}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,c as s,H as e,g as o}from"./p-fad19d75.js";const a=class{constructor(i){t(this,i),this.errorText=void 0,this.name=void 0}render(){return this.errorText?i("small",{class:"form-text text-danger",id:`form-error-text-${this.name}`},this.errorText):null}},r=class{constructor(i){t(this,i),this.helpText=void 0,this.name=void 0}render(){return this.helpText?i("small",{class:"form-text text-muted",id:`form-help-text-${this.name}`},this.helpText):null}},h=class{constructor(i){t(this,i),this.formControlInput=s(this,"formControlInput",7),this.formControlBlur=s(this,"formControlBlur",7),this.handleFormControlInput=t=>{const i=t.target,s=i.getAttribute("name");this.inputHandler(s,i.value),this.formControlInput.emit(i.value)},this.updateInput=t=>{this.selectElement.value=t},this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.inputHandler=void 0,this.options=void 0,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}render(){var t;return i(e,{key:"99449e3724103b12af7f2a4573831961074a484a",exportparts:"label,input,input-invalid"},i("div",{key:"d73e89d43da9968b687afece24794d9472fec6b5",class:"form-group d-flex flex-column"},i("label",{key:"6964c55858fc3cf96a137e1061c7f66831105348",part:"label",class:"form-label",htmlFor:this.name},this.label),i("select",{key:"5b1a09a607ad9638915f5e70f2164f6010020438",ref:t=>this.selectElement=t,id:this.name,name:this.name,onBlur:this.formControlBlur.emit,onInput:this.handleFormControlInput,part:"input "+(this.errorText?"input-invalid":""),class:this.errorText?"form-select is-invalid":"form-select",disabled:this.disabled},null===(t=this.options)||void 0===t?void 0:t.map((t=>i("option",{value:t.value},t.label)))),i("form-control-help-text",{key:"62d862921d463c98e56888293c878624f7311548",helpText:this.helpText,name:this.name}),i("form-control-error-text",{key:"0b1c4d4752965fb058208c72c7f1c3872d1e0561",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}},l=class{constructor(i){t(this,i),this.formControlInput=s(this,"formControlInput",7),this.formControlBlur=s(this,"formControlBlur",7),this.handleFormControlInput=t=>{const i=t.target,s=i.getAttribute("name");this.inputHandler(s,i.value),this.formControlInput.emit({name:s,value:i.value})},this.updateInput=t=>{const i=this.el.querySelector("input");i&&(i.value=t||"")},this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.maxLength=void 0,this.inputHandler=void 0,this.keyDownHandler=void 0,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}render(){return i(e,{key:"1194532f81831734543bad80860da14f8a5ad856",exportparts:"label,input,input-invalid"},i("div",{key:"296538cf90b62f8041e21620aa06b4074f68b71a",class:"form-group d-flex flex-column"},i("label",{key:"7c009ce96124e58f9657dba2565ef298225f10f7",part:"label",class:"form-label",htmlFor:this.name},this.label),i("input",{key:"4b33cb700aecf4d0a359366ba2e0d248c602d904",id:this.name,name:this.name,onBlur:this.formControlBlur.emit,onInput:this.handleFormControlInput,onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:`input ${this.errorText?"input-invalid ":""}${this.disabled?" input-disabled":""}`,class:this.errorText?"form-control is-invalid":"form-control",type:"text",disabled:this.disabled}),i("form-control-help-text",{key:"7a279d72bb262fcb044b5b0cc31703878ce9f444",helpText:this.helpText,name:this.name}),i("form-control-error-text",{key:"00bea288a99f626806697a98b6dca3f3298dc0b3",errorText:this.errorText,name:this.name})))}get el(){return o(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{a as form_control_error_text,r as form_control_help_text,h as form_control_select,l as form_control_text}
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-fad19d75.js";const e=({component:e="div",height:r,width:o,variant:a="text",componentClassName:s,styles:n={}})=>{const i=Object.assign(Object.assign(Object.assign({},n),"text"===a?{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:"4px/6.67px","::before":{content:'"\\00a0"'}}:"circular"===a?{borderRadius:"50%"}:"rounded"===a?{borderRadius:"4px"}:{}),{width:o,height:r});return t(e,{class:s,style:i,part:"skeleton"})};export{e as S}
@@ -0,0 +1 @@
1
+ import{r as a,h as e,H as t}from"./p-fad19d75.js";import{E as c}from"./p-56f6ce4c.js";const d=class{constructor(e){a(this,e),this.paging=c,this.params={}}render(){return e(t,{key:"645df5028861aa714a814f908ccace8dcd0986f8",exportparts:"page-arrow,page-button,page-button-disabled,page-button-text"},e("nav",{key:"6cb86ce01c625db9c31204f63258570f8a5d0a0f","aria-label":"Table pagination",class:"d-flex justify-content-end gap-3"},e("ul",{key:"7ffb5771a1c51553d64735721b937e53c699949d",class:"pagination m-0"},e("li",{key:"b439c2f7fe81ccdfa29670a6fc04715681ed5ab3",class:"page-item "+(this.paging.has_previous?"":" disabled")},e("a",{key:"dc59152e834a3076f09304f6fcd0195058ebefec",href:"#",class:"page-link",onClick:a=>{a.preventDefault(),this.paging.handleClickPrevious(this.paging.start_cursor)},part:"page-button"+(this.paging.has_previous?"":" page-button-disabled")},e("span",{key:"fc640fb9ae2ca672bfed89d23c5641cb346c673d",class:"me-1",part:"page-arrow"},"«"),e("span",{key:"fb6fcd31ebd4d194b37f53a071537133b8c4d369",part:"page-button-text"},"Previous"))),e("li",{key:"b10e12ec7bc4a89cd897e868ec7b303c62599cd3",class:"page-item "+(this.paging.has_next?"":" disabled")},e("a",{key:"51f91eb7cfef91dcbcfd9f11522213308bf717b5",href:"#",class:"page-link",onClick:a=>{a.preventDefault(),this.paging.handleClickNext(this.paging.end_cursor)},part:"page-button"+(this.paging.has_next?"":" page-button-disabled")},e("span",{key:"d89f50a44dead676d19b8862a92ba636947fe6b1",part:"page-button-text"},"Next"),e("span",{key:"f5dd2ddddef86931d935df56101f1fed8118e4f6",class:"ms-1",part:"page-arrow"},"»"))))))}};export{d as pagination_menu}
@@ -0,0 +1 @@
1
+ import{r as e,h as r,c as o}from"./p-fad19d75.js";import{c as a,F as t}from"./p-2eab3c90.js";import{i,l as d,a as c,c as f,s,p as l}from"./p-89887332.js";import{S as n}from"./p-6078a370.js";import{n as b}from"./p-8df7bde8.js";import{S as h}from"./p-ba4bae6f.js";import"./p-ba5fae28.js";import"./p-af244664.js";import"./p-1ff8810b.js";const m=a({name:i.required("Enter full name"),address_line1:d.required("Enter street address"),address_line2:c.nullable(),address_city:f.required("Enter city"),address_state:s.required("Select state"),address_postal_code:l.required("Enter postal code")}),p=class{constructor(r){e(this,r),this.inputHandler=(e,r)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:r}))},this.legend=void 0,this.formController=void 0,this.billingInfo=void 0,this.errors={}}componentWillLoad(){this.formController=new t(m)}componentDidLoad(){this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate()}}render(){const e=this.formController.getInitialValues();return r(h,{key:"b08094d3c44d35cdb3c21b4bc360dbbee19d7d15",exportparts:"label,input,input-invalid"},r("form",{key:"392538a781ffa2ac299cbc4203bab5efd10e77cc"},r("fieldset",{key:"f4b5a5ec9a91e9f50a3847c5eb16635c4f9d569a"},this.legend&&r("legend",{key:"eb75e22f9df33c13e3851ece784d237b8973e2c5"},this.legend),r("div",{key:"d7ffdc1cfeda5568ad003a4d3bbe94765de04605",class:"row gy-3"},r("div",{key:"c22f9e7b2f33b5c298bb5f0a5c7bcaa709c231a0",class:"col-12"},r("form-control-text",{key:"d6eb4d2f4d1a2a709e0f29bf18b5d9700bd91a13",name:"name",label:"Full Name",defaultValue:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),r("div",{key:"8494ee3c14f8923d18d8708077e030c2f141a251",class:"col-12"},r("form-control-text",{key:"63266eb0e2b2b006a3c914a68703ee1cdf848f83",name:"address_line1",label:"Street Address",defaultValue:e.address_line1,errorText:this.errors.address_line1,inputHandler:this.inputHandler})),r("div",{key:"0a19fcf5c172d2539f23e147f39461d84dfd9d37",class:"col-12"},r("form-control-text",{key:"0e5fae5d65d5ea195de0227d1e4f79cee7c7a0fb",name:"address_line2",label:"Apartment, Suite, etc. (optional)",defaultValue:e.address_line2,errorText:this.errors.address_line2,inputHandler:this.inputHandler})),r("div",{key:"13104554e8247cb0534c3dc9e6a16b2f44397795",class:"col-12"},r("form-control-text",{key:"430e59713ec66ff7a6f735ca24640c27b05cbeee",name:"address_city",label:"City",defaultValue:e.address_city,errorText:this.errors.address_city,inputHandler:this.inputHandler})),r("div",{key:"5b81499717f67d5f499f4ebfc585056ef5bd3d56",class:"col-12"},r("form-control-select",{key:"726c724eda5f25a92bad7e549ff7845ece7b41e1",name:"address_state",label:"State",options:n,defaultValue:e.address_state,errorText:this.errors.address_state,inputHandler:this.inputHandler})),r("div",{key:"5d5a6e0949c5ad93da5bc1837dadf88c2128212d",class:"col-12"},r("form-control-text",{key:"ebb4e77126d86011d9a1ed5d118461198b399092",name:"address_postal_code",label:"ZIP",defaultValue:e.address_postal_code,errorText:this.errors.address_postal_code,inputHandler:this.inputHandler,maxLength:5,keyDownHandler:b}))))))}};p.style=":host{display:block}justifi-billing-form{margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}";const u=class{constructor(r){e(this,r),this.checkboxChanged=o(this,"checkboxChanged",7),this.isChecked=!1}handleCheckboxChange(e){this.isChecked=e.target.checked,this.checkboxChanged.emit(this.isChecked)}render(){return r("div",{key:"f22a132a518a98786c8486e08c9a65050f3c5ea0",class:"mt-4 form-check"},r("input",{key:"6f1392f9dd29a9761f5942b0a40e05a899858ada",type:"checkbox",checked:this.isChecked,onChange:e=>this.handleCheckboxChange(e),class:"form-check-input"}),r("label",{key:"e6e5908ba70ece8ea19370a04104d88d17237fc7",class:"form-check-label"},"Save new payment method"))}};export{p as justifi_billing_form,u as justifi_save_new_payment_method}