@justifi/webcomponents 4.11.0 → 4.12.1

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 (336) hide show
  1. package/dist/cjs/{Business-7ae04d4f.js → Business-c928bf29.js} +36 -27
  2. package/dist/cjs/{Payment-89a8bc21.js → Payment-eceed10f.js} +1 -0
  3. package/dist/cjs/{SubAccount-05867651.js → SubAccount-b3902202.js} +1 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -6
  5. package/dist/cjs/business-additional-questions-schema-3813615c.js +47 -0
  6. package/dist/cjs/business-details-core.cjs.entry.js +2 -2
  7. package/dist/cjs/{business-form-types-29b2bad9.js → business-form-types-4b138bf2.js} +26 -0
  8. package/dist/cjs/{form-control-datepart_4.cjs.entry.js → form-control-date_3.cjs.entry.js} +16 -93
  9. package/dist/cjs/form-control-datepart_2.cjs.entry.js +124 -0
  10. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  11. package/dist/cjs/form-control-select_2.cjs.entry.js +1 -1
  12. package/dist/cjs/{form-input-masks-e3bf2614.js → form-input-masks-efd44b8e.js} +3 -1
  13. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -4
  14. package/dist/cjs/{index-69b9386b.js → index-5d5f2219.js} +3 -0
  15. package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +20 -12
  16. package/dist/cjs/justifi-additional-questions_4.cjs.entry.js +17 -16
  17. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +1 -1
  18. package/dist/cjs/justifi-billing-form_4.cjs.entry.js +5 -5
  19. package/dist/cjs/justifi-business-details.cjs.entry.js +3 -4
  20. package/dist/cjs/justifi-business-form.cjs.entry.js +20 -12
  21. package/dist/cjs/justifi-business-list.cjs.entry.js +4 -6
  22. package/dist/cjs/justifi-business-owners.cjs.entry.js +2 -2
  23. package/dist/cjs/justifi-card-form.cjs.entry.js +1 -1
  24. package/dist/cjs/justifi-checkout-core.cjs.entry.js +34 -24
  25. package/dist/cjs/justifi-checkout.cjs.entry.js +14 -10
  26. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  27. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  28. package/dist/cjs/{justifi-new-payment-method_3.cjs.entry.js → justifi-new-payment-method_4.cjs.entry.js} +95 -11
  29. package/dist/cjs/justifi-owner-form.cjs.entry.js +30 -16
  30. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +3 -4
  31. package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
  32. package/dist/cjs/justifi-payment-form.cjs.entry.js +3 -4
  33. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
  34. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -4
  35. package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
  36. package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -4
  37. package/dist/cjs/justifi-payouts-list.cjs.entry.js +4 -4
  38. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +3 -4
  39. package/dist/cjs/justifi-refund-form.cjs.entry.js +2 -2
  40. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +5 -6
  41. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +4 -5
  42. package/dist/cjs/justifi-table_2.cjs.entry.js +1 -1
  43. package/dist/cjs/loader.cjs.js +2 -2
  44. package/dist/cjs/payload-parsers-58d3798e.js +201 -0
  45. package/dist/cjs/payment-details-core.cjs.entry.js +3 -4
  46. package/dist/cjs/{payment.service-0b0086dc.js → payment.service-9db24ab9.js} +1 -1
  47. package/dist/cjs/payments-list-core.cjs.entry.js +3 -4
  48. package/dist/cjs/payout-details-core.cjs.entry.js +3 -4
  49. package/dist/cjs/{payout.service-5cc3b4e9.js → payout.service-a0efb71a.js} +1 -1
  50. package/dist/cjs/payouts-list-core.cjs.entry.js +3 -4
  51. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +5 -6
  52. package/dist/cjs/subaccount-bank-details.cjs.entry.js +2 -2
  53. package/dist/cjs/subaccount-terms-details.cjs.entry.js +2 -2
  54. package/dist/cjs/{utils-23e70ef2.js → utils-6e35fa70.js} +1 -1
  55. package/dist/cjs/{utils-2b9940e1.js → utils-6f62f7a1.js} +0 -7
  56. package/dist/cjs/{utils-87435719.js → utils-fc72268d.js} +1 -1
  57. package/dist/cjs/webcomponents.cjs.js +2 -2
  58. package/dist/collection/api/Business.js +2 -20
  59. package/dist/collection/api/Checkout.js +6 -1
  60. package/dist/collection/api/Identity.js +9 -4
  61. package/dist/collection/api/Payment.js +1 -0
  62. package/dist/collection/api/services/checkout.service.js +7 -3
  63. package/dist/collection/collection-manifest.json +2 -0
  64. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +2 -2
  65. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  66. package/dist/collection/components/business-forms/business-form/business-form.js +48 -3
  67. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +13 -10
  68. package/dist/collection/components/business-forms/owner-form/owner-form.js +25 -9
  69. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +2 -3
  70. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +12 -2
  71. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +42 -1
  72. package/dist/collection/components/business-forms/schemas/business-address-schema.js +1 -31
  73. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +18 -18
  74. package/dist/collection/components/business-forms/schemas/business-form-schema.js +1 -1
  75. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +15 -21
  76. package/dist/collection/components/business-forms/schemas/schema-helpers.js +9 -0
  77. package/dist/collection/components/business-forms/schemas/schema-validations.js +92 -0
  78. package/dist/collection/components/business-forms/utils/business-form-types.js +23 -0
  79. package/dist/collection/components/business-forms/utils/helpers.js +22 -2
  80. package/dist/collection/components/business-forms/utils/payload-parsers.js +2 -0
  81. package/dist/collection/components/business-list/business-list.js +0 -2
  82. package/dist/collection/components/checkout/checkout-actions.js +2 -2
  83. package/dist/collection/components/checkout/checkout-core.css +361 -0
  84. package/dist/collection/components/checkout/checkout-core.js +32 -27
  85. package/dist/collection/components/checkout/checkout.js +5 -5
  86. package/dist/collection/components/checkout/new-payment-method.js +12 -6
  87. package/dist/collection/components/checkout/payment-method-options.css +18 -2
  88. package/dist/collection/components/checkout/payment-method-options.js +62 -5
  89. package/dist/collection/components/checkout/payment-method-payload.js +1 -0
  90. package/dist/collection/components/checkout/saved-payment-method.js +11 -6
  91. package/dist/collection/components/checkout/sezzel-payment-method.js +247 -0
  92. package/dist/collection/components/form/form-control-date.css +1803 -0
  93. package/dist/collection/components/form/form-control-date.js +192 -0
  94. package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
  95. package/dist/collection/components/payment-method-form/payment-method-form.js +1 -1
  96. package/dist/collection/components/select-input/select-input.js +1 -1
  97. package/dist/collection/components/select-input/test/select-input.spec.js +4 -4
  98. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +3 -3
  99. package/dist/collection/components/text-input/test/text-input.spec.js +4 -4
  100. package/dist/collection/components/text-input/text-input.js +1 -1
  101. package/dist/collection/utils/form-input-masks.js +2 -1
  102. package/dist/collection/utils/utils.js +0 -5
  103. package/dist/docs.json +672 -117
  104. package/dist/esm/{Business-91caaccb.js → Business-6cb1b9c8.js} +33 -25
  105. package/dist/esm/{Payment-55886c86.js → Payment-ef9fc1ae.js} +1 -0
  106. package/dist/esm/{SubAccount-61ac70eb.js → SubAccount-f4ae9809.js} +1 -1
  107. package/dist/esm/additional-questions-details_5.entry.js +5 -6
  108. package/dist/esm/business-additional-questions-schema-228d86e0.js +44 -0
  109. package/dist/esm/business-details-core.entry.js +2 -2
  110. package/dist/esm/{business-form-types-0d76133c.js → business-form-types-5ba52d61.js} +25 -1
  111. package/dist/esm/{form-control-datepart_4.entry.js → form-control-date_3.entry.js} +16 -92
  112. package/dist/esm/form-control-datepart_2.entry.js +119 -0
  113. package/dist/esm/form-control-monetary.entry.js +1 -1
  114. package/dist/esm/form-control-select_2.entry.js +1 -1
  115. package/dist/esm/form-input-masks-84875967.js +7 -0
  116. package/dist/esm/gross-payment-chart-core.entry.js +3 -4
  117. package/dist/esm/{index-df86d9a2.js → index-83dcf934.js} +3 -0
  118. package/dist/esm/justifi-additional-questions-form-step_5.entry.js +20 -12
  119. package/dist/esm/justifi-additional-questions_4.entry.js +17 -16
  120. package/dist/esm/justifi-bank-account-form.entry.js +1 -1
  121. package/dist/esm/justifi-billing-form_4.entry.js +5 -5
  122. package/dist/esm/justifi-business-details.entry.js +3 -4
  123. package/dist/esm/justifi-business-form.entry.js +20 -12
  124. package/dist/esm/justifi-business-list.entry.js +4 -6
  125. package/dist/esm/justifi-business-owners.entry.js +2 -2
  126. package/dist/esm/justifi-card-form.entry.js +1 -1
  127. package/dist/esm/justifi-checkout-core.entry.js +34 -24
  128. package/dist/esm/justifi-checkout.entry.js +14 -10
  129. package/dist/esm/justifi-details.entry.js +2 -2
  130. package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
  131. package/dist/esm/{justifi-new-payment-method_3.entry.js → justifi-new-payment-method_4.entry.js} +95 -12
  132. package/dist/esm/justifi-owner-form.entry.js +30 -16
  133. package/dist/esm/justifi-payment-balance-transactions.entry.js +3 -4
  134. package/dist/esm/justifi-payment-details.entry.js +4 -4
  135. package/dist/esm/justifi-payment-form.entry.js +3 -4
  136. package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
  137. package/dist/esm/justifi-payment-provisioning.entry.js +11 -4
  138. package/dist/esm/justifi-payments-list.entry.js +4 -4
  139. package/dist/esm/justifi-payout-details.entry.js +4 -4
  140. package/dist/esm/justifi-payouts-list.entry.js +4 -4
  141. package/dist/esm/justifi-proceeds-list.entry.js +3 -4
  142. package/dist/esm/justifi-refund-form.entry.js +2 -2
  143. package/dist/esm/justifi-subaccount-details.entry.js +5 -6
  144. package/dist/esm/justifi-subaccounts-list.entry.js +4 -5
  145. package/dist/esm/justifi-table_2.entry.js +1 -1
  146. package/dist/esm/loader.js +3 -3
  147. package/dist/esm/payload-parsers-3e817fe9.js +186 -0
  148. package/dist/esm/payment-details-core.entry.js +3 -4
  149. package/dist/esm/{payment.service-f274ef98.js → payment.service-ec28a959.js} +1 -1
  150. package/dist/esm/payments-list-core.entry.js +3 -4
  151. package/dist/esm/payout-details-core.entry.js +3 -4
  152. package/dist/esm/{payout.service-af293f61.js → payout.service-5fd5986c.js} +1 -1
  153. package/dist/esm/payouts-list-core.entry.js +3 -4
  154. package/dist/esm/subaccount-account-details_4.entry.js +5 -6
  155. package/dist/esm/subaccount-bank-details.entry.js +2 -2
  156. package/dist/esm/subaccount-terms-details.entry.js +2 -2
  157. package/dist/esm/{utils-d01c5f3a.js → utils-210fdf39.js} +1 -1
  158. package/dist/esm/{utils-d9e90399.js → utils-243abdb4.js} +1 -7
  159. package/dist/esm/{utils-684d2e47.js → utils-6f05d9d7.js} +1 -1
  160. package/dist/esm/webcomponents.js +3 -3
  161. package/dist/module/Business.js +11 -25
  162. package/dist/module/Payment.js +1 -0
  163. package/dist/module/SubAccount.js +1 -1
  164. package/dist/module/business-address-schema.js +2 -32
  165. package/dist/module/business-core-info-form-step.js +2 -3
  166. package/dist/module/business-core-info-schema.js +18 -18
  167. package/dist/module/business-core-info.js +2 -2
  168. package/dist/module/business-form-types.js +25 -1
  169. package/dist/module/business-identity-schema.js +15 -21
  170. package/dist/module/business-owners-form-step.js +3 -9
  171. package/dist/module/business-representative-form-step.js +16 -12
  172. package/dist/module/business-representative.js +16 -19
  173. package/dist/module/checkout-core.js +50 -33
  174. package/dist/module/form-control-date.d.ts +11 -0
  175. package/dist/module/form-control-date.js +6 -0
  176. package/dist/module/form-control-date2.js +68 -0
  177. package/dist/module/form-input-masks.js +3 -2
  178. package/dist/module/generic-info-details2.js +2 -2
  179. package/dist/module/helpers.js +24 -3
  180. package/dist/module/justifi-business-details.js +1 -1
  181. package/dist/module/justifi-business-form.js +23 -18
  182. package/dist/module/justifi-business-list.js +1 -3
  183. package/dist/module/justifi-checkout.js +31 -21
  184. package/dist/module/justifi-payment-balance-transactions.js +1 -1
  185. package/dist/module/justifi-payment-provisioning.js +14 -13
  186. package/dist/module/justifi-sezzel-payment-method.d.ts +11 -0
  187. package/dist/module/justifi-sezzel-payment-method.js +6 -0
  188. package/dist/module/justifi-subaccount-details.js +1 -1
  189. package/dist/module/justifi-subaccounts-list.js +1 -1
  190. package/dist/module/legal-address-form-step.js +2 -2
  191. package/dist/module/new-payment-method.js +5 -4
  192. package/dist/module/owner-form.js +30 -20
  193. package/dist/module/payload-parsers.js +106 -1
  194. package/dist/module/payment-details-core2.js +1 -1
  195. package/dist/module/payment-method-form.js +1 -1
  196. package/dist/module/payment-method-options.js +34 -12
  197. package/dist/module/payments-list-core2.js +1 -1
  198. package/dist/module/payout-details-core2.js +1 -1
  199. package/dist/module/payouts-list-core2.js +1 -1
  200. package/dist/module/saved-payment-method.js +4 -4
  201. package/dist/module/select-input2.js +1 -1
  202. package/dist/module/sezzel-payment-method.js +99 -0
  203. package/dist/module/subaccount-merchant-details2.js +3 -3
  204. package/dist/module/text-input2.js +1 -1
  205. package/dist/module/utils2.js +1 -7
  206. package/dist/types/api/Business.d.ts +0 -19
  207. package/dist/types/api/Checkout.d.ts +63 -2
  208. package/dist/types/api/Identity.d.ts +5 -0
  209. package/dist/types/api/Payment.d.ts +2 -1
  210. package/dist/types/api/SubAccount.d.ts +0 -2
  211. package/dist/types/api/services/checkout.service.d.ts +8 -2
  212. package/dist/types/components/business-forms/business-form/business-form.d.ts +5 -0
  213. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +3 -3
  214. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +4 -2
  215. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +1 -0
  216. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +3 -0
  217. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +2 -2
  218. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +6 -8
  219. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +5 -7
  220. package/dist/types/components/business-forms/schemas/schema-helpers.d.ts +7 -0
  221. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +17 -0
  222. package/dist/types/components/business-forms/utils/business-form-types.d.ts +5 -0
  223. package/dist/types/components/business-forms/utils/helpers.d.ts +8 -2
  224. package/dist/types/components/checkout/checkout-actions.d.ts +3 -3
  225. package/dist/types/components/checkout/checkout-core.d.ts +5 -4
  226. package/dist/types/components/checkout/checkout.d.ts +1 -1
  227. package/dist/types/components/checkout/new-payment-method.d.ts +2 -1
  228. package/dist/types/components/checkout/payment-method-options.d.ts +5 -1
  229. package/dist/types/components/checkout/payment-method-payload.d.ts +8 -0
  230. package/dist/types/components/checkout/saved-payment-method.d.ts +2 -1
  231. package/dist/types/components/checkout/sezzel-payment-method.d.ts +23 -0
  232. package/dist/types/components/form/form-control-date.d.ts +18 -0
  233. package/dist/types/components.d.ts +112 -9
  234. package/dist/types/utils/form-input-masks.d.ts +1 -0
  235. package/dist/types/utils/utils.d.ts +0 -1
  236. package/dist/webcomponents/p-01913426.js +1 -0
  237. package/dist/webcomponents/p-02fa533c.js +1 -0
  238. package/dist/webcomponents/p-07080c01.entry.js +1 -0
  239. package/dist/webcomponents/{p-28cd23c8.entry.js → p-0c269feb.entry.js} +1 -1
  240. package/dist/webcomponents/p-0d371ff5.entry.js +1 -0
  241. package/dist/webcomponents/{p-0b76c770.entry.js → p-0eb56b44.entry.js} +1 -1
  242. package/dist/webcomponents/{p-436d27b9.entry.js → p-0eb77101.entry.js} +1 -1
  243. package/dist/webcomponents/p-1334f776.entry.js +1 -0
  244. package/dist/webcomponents/p-19001cc5.entry.js +1 -0
  245. package/dist/webcomponents/p-2319abaf.entry.js +1 -0
  246. package/dist/webcomponents/p-26fe62d6.entry.js +1 -0
  247. package/dist/webcomponents/p-28b38699.js +1 -0
  248. package/dist/webcomponents/{p-4df6174c.entry.js → p-29376518.entry.js} +1 -1
  249. package/dist/webcomponents/p-2bee72bd.entry.js +1 -0
  250. package/dist/webcomponents/p-2fbe8823.entry.js +1 -0
  251. package/dist/webcomponents/p-31ccb5f0.entry.js +1 -0
  252. package/dist/webcomponents/p-31e70d65.entry.js +1 -0
  253. package/dist/webcomponents/p-3302bc76.js +1 -0
  254. package/dist/webcomponents/p-3adc0688.entry.js +1 -0
  255. package/dist/webcomponents/{p-7c6a355f.entry.js → p-4616768c.entry.js} +1 -1
  256. package/dist/webcomponents/p-4c705f56.js +1 -0
  257. package/dist/webcomponents/{p-a46174e0.entry.js → p-5f5e730c.entry.js} +1 -1
  258. package/dist/webcomponents/p-5ff7826e.entry.js +1 -0
  259. package/dist/webcomponents/{p-8482c23f.js → p-65510838.js} +1 -1
  260. package/dist/webcomponents/p-71b8e2da.entry.js +1 -0
  261. package/dist/webcomponents/p-737473d8.js +1 -0
  262. package/dist/webcomponents/p-787d8f52.js +1 -0
  263. package/dist/webcomponents/{p-4d50d08a.entry.js → p-7d8d2984.entry.js} +1 -1
  264. package/dist/webcomponents/p-7da249b8.entry.js +1 -0
  265. package/dist/webcomponents/{p-07b326d0.entry.js → p-8657128b.entry.js} +1 -1
  266. package/dist/webcomponents/p-889a83d2.js +1 -0
  267. package/dist/webcomponents/p-8abba4c2.entry.js +1 -0
  268. package/dist/webcomponents/p-9245777b.js +1 -0
  269. package/dist/webcomponents/{p-221b9504.entry.js → p-927150b4.entry.js} +1 -1
  270. package/dist/webcomponents/p-9b0e5c25.entry.js +1 -0
  271. package/dist/webcomponents/p-9e3f9e05.entry.js +1 -0
  272. package/dist/webcomponents/{p-688bb5da.js → p-9ee8ad4d.js} +1 -1
  273. package/dist/webcomponents/p-9f529959.entry.js +1 -0
  274. package/dist/webcomponents/{p-fb49ef28.entry.js → p-a6f170ba.entry.js} +1 -1
  275. package/dist/webcomponents/{p-c071d8c1.entry.js → p-a8caec98.entry.js} +1 -1
  276. package/dist/webcomponents/p-a90f7ca0.js +1 -0
  277. package/dist/webcomponents/{p-d776fe10.entry.js → p-abc03d5a.entry.js} +1 -1
  278. package/dist/webcomponents/p-b9f04fb0.entry.js +1 -0
  279. package/dist/webcomponents/{p-1bfadb9f.entry.js → p-c1b92cec.entry.js} +1 -1
  280. package/dist/webcomponents/p-c556deda.entry.js +1 -0
  281. package/dist/webcomponents/{p-3d4aaa4a.entry.js → p-c6e207f6.entry.js} +1 -1
  282. package/dist/webcomponents/p-c865cda8.entry.js +1 -0
  283. package/dist/webcomponents/{p-b68f1dd9.entry.js → p-cdfde1ca.entry.js} +1 -1
  284. package/dist/webcomponents/{p-746bfba6.entry.js → p-d69a485a.entry.js} +1 -1
  285. package/dist/webcomponents/{p-ebf7c70f.entry.js → p-e4342f49.entry.js} +1 -1
  286. package/dist/webcomponents/{p-ea2cca2a.js → p-ed72a5cc.js} +1 -1
  287. package/dist/webcomponents/p-edab5f2b.entry.js +1 -0
  288. package/dist/webcomponents/{p-6b51cf97.entry.js → p-f0698778.entry.js} +1 -1
  289. package/dist/webcomponents/{p-ae21ed6f.entry.js → p-f76283a5.entry.js} +1 -1
  290. package/dist/webcomponents/p-fce2b224.entry.js +1 -0
  291. package/dist/webcomponents/webcomponents.css +1 -1
  292. package/dist/webcomponents/webcomponents.esm.js +1 -1
  293. package/package.json +1 -1
  294. package/dist/cjs/business-additional-questions-schema-18a82d19.js +0 -47
  295. package/dist/cjs/business-form-select-options-7ccd8dca.js +0 -85
  296. package/dist/cjs/payload-parsers-f437272e.js +0 -132
  297. package/dist/collection/components/business-forms/utils/business-form-select-options.js +0 -80
  298. package/dist/esm/business-additional-questions-schema-b642a2b7.js +0 -44
  299. package/dist/esm/business-form-select-options-6b9293fe.js +0 -82
  300. package/dist/esm/form-input-masks-a8187c77.js +0 -6
  301. package/dist/esm/payload-parsers-920f49dd.js +0 -123
  302. package/dist/module/business-form-select-options.js +0 -82
  303. package/dist/types/components/business-forms/utils/business-form-select-options.d.ts +0 -11
  304. package/dist/webcomponents/p-091f9732.entry.js +0 -1
  305. package/dist/webcomponents/p-0923e39c.js +0 -1
  306. package/dist/webcomponents/p-0d81883d.entry.js +0 -1
  307. package/dist/webcomponents/p-102b593a.entry.js +0 -1
  308. package/dist/webcomponents/p-2b8368d2.js +0 -1
  309. package/dist/webcomponents/p-2df32b4a.entry.js +0 -1
  310. package/dist/webcomponents/p-34352d04.js +0 -1
  311. package/dist/webcomponents/p-448063ba.entry.js +0 -1
  312. package/dist/webcomponents/p-5341321d.entry.js +0 -1
  313. package/dist/webcomponents/p-5b262705.entry.js +0 -1
  314. package/dist/webcomponents/p-5e503d7d.entry.js +0 -1
  315. package/dist/webcomponents/p-6047b960.entry.js +0 -1
  316. package/dist/webcomponents/p-60b2344a.js +0 -1
  317. package/dist/webcomponents/p-63296409.js +0 -1
  318. package/dist/webcomponents/p-6d39b8bc.entry.js +0 -1
  319. package/dist/webcomponents/p-7294eb89.entry.js +0 -1
  320. package/dist/webcomponents/p-7b2cddc7.js +0 -1
  321. package/dist/webcomponents/p-817211f2.entry.js +0 -1
  322. package/dist/webcomponents/p-935d6f55.js +0 -1
  323. package/dist/webcomponents/p-959250e3.entry.js +0 -1
  324. package/dist/webcomponents/p-975ab96e.js +0 -1
  325. package/dist/webcomponents/p-9b99370e.js +0 -1
  326. package/dist/webcomponents/p-a130a884.entry.js +0 -1
  327. package/dist/webcomponents/p-a4122c35.entry.js +0 -1
  328. package/dist/webcomponents/p-ac670a3e.js +0 -1
  329. package/dist/webcomponents/p-c340b60f.js +0 -1
  330. package/dist/webcomponents/p-d5aab6b5.entry.js +0 -1
  331. package/dist/webcomponents/p-d5c80489.entry.js +0 -1
  332. package/dist/webcomponents/p-d8679fad.entry.js +0 -1
  333. package/dist/webcomponents/p-da34bba7.entry.js +0 -1
  334. package/dist/webcomponents/p-e84b3616.entry.js +0 -1
  335. package/dist/webcomponents/p-ea03b424.entry.js +0 -1
  336. package/dist/webcomponents/p-ec230480.entry.js +0 -1
@@ -0,0 +1,92 @@
1
+ import { string } from "yup";
2
+ import { BusinessTypeOptions } from "../utils/business-form-types";
3
+ import StateOptions from "../../../utils/state-options";
4
+ import { businessNameRegex, phoneRegex, ssnRegex, stringLettersOnlyRegex, taxIdRegex, transformEmptyString, urlRegex } from "./schema-helpers";
5
+ // Common Validations
6
+ export const emailValidation = string()
7
+ .email('Enter valid email')
8
+ .transform(transformEmptyString);
9
+ export const phoneValidation = string()
10
+ .matches(phoneRegex, 'Enter valid phone number')
11
+ .transform(transformEmptyString);
12
+ // Core Info Validations
13
+ export const businessNameValidation = string()
14
+ .min(2, 'Name must be at least 2 characters')
15
+ .max(100, 'Name must be less than 100 characters')
16
+ .matches(businessNameRegex, 'Enter valid business name')
17
+ .transform(transformEmptyString);
18
+ export const doingBusinessAsValidation = string()
19
+ .min(2, 'Name must be at least 2 characters')
20
+ .max(100, 'Name must be less than 100 characters')
21
+ .matches(businessNameRegex, 'Enter valid doing business as')
22
+ .transform(transformEmptyString);
23
+ export const websiteUrlValidation = string()
24
+ .matches(urlRegex, 'Enter valid website url')
25
+ .transform(transformEmptyString);
26
+ export const businessTypeValidation = string()
27
+ .oneOf(BusinessTypeOptions.map((option) => option.value), 'Select business type')
28
+ .transform(transformEmptyString);
29
+ export const industryValidation = string()
30
+ .min(2, 'Industry must be at least 2 characters')
31
+ .max(50, 'Industry must be less than 50 characters')
32
+ .matches(stringLettersOnlyRegex, 'Enter valid industry')
33
+ .transform(transformEmptyString);
34
+ export const taxIdValidation = string()
35
+ .matches(taxIdRegex, 'Enter valid tax id')
36
+ .transform(transformEmptyString);
37
+ // Identity Validations
38
+ export const identityNameValidation = string()
39
+ .min(2, 'Name must be at least 2 characters')
40
+ .max(100, 'Name must be less than 100 characters')
41
+ .matches(stringLettersOnlyRegex, 'Enter valid name')
42
+ .transform(transformEmptyString);
43
+ export const identityTitleValidation = string()
44
+ .min(2, 'Title must be at least 2 characters')
45
+ .max(50, 'Title must be less than 50 characters')
46
+ .matches(stringLettersOnlyRegex, 'Enter valid title')
47
+ .transform(transformEmptyString);
48
+ export const dobValidation = (role) => {
49
+ return (string()
50
+ .test('min', 'Enter a valid date', (value) => {
51
+ const date = new Date(value);
52
+ const minDate = new Date('1902-01-01');
53
+ return date >= minDate;
54
+ })
55
+ .test('age', `${role} must be at least 18 years old`, (value) => {
56
+ const date = new Date(value);
57
+ const minAgeDate = new Date();
58
+ minAgeDate.setFullYear(minAgeDate.getFullYear() - 18);
59
+ return date <= minAgeDate;
60
+ })
61
+ .transform(transformEmptyString));
62
+ };
63
+ export const ssnValidation = string()
64
+ .matches(ssnRegex, 'Enter valid SSN')
65
+ .test('not-repeat', 'Enter valid SSN', (value) => {
66
+ return !/^(\d)\1+$/.test(value);
67
+ })
68
+ .test('not-seq', 'Enter valid SSN', (value) => {
69
+ return value !== '123456789';
70
+ })
71
+ .transform(transformEmptyString);
72
+ // Address Validations
73
+ export const lineOneValidation = string()
74
+ .min(5, 'Address must be at least 5 characters')
75
+ .max(100, 'Address must be less than 100 characters')
76
+ .matches(/^(?!^\s+$)[a-zA-Z0-9\s,.'-]*$/, 'Enter valid address line 1')
77
+ .transform(transformEmptyString);
78
+ export const lineTwoValidation = string()
79
+ .max(100, 'Address must be less than 100 characters')
80
+ .matches(/^(?!^\s+$)[a-zA-Z0-9\s,.'-]*$/, 'Enter valid address line 2')
81
+ .transform(transformEmptyString);
82
+ export const cityValidation = string()
83
+ .min(2, 'City must be at least 2 characters')
84
+ .max(50, 'City must be less than 50 characters')
85
+ .matches(/^(?!^\s+$)[a-zA-Z\s]*$/, 'Enter valid city')
86
+ .transform(transformEmptyString);
87
+ export const stateValidation = string()
88
+ .oneOf(StateOptions.map((option) => option.value), 'Select state')
89
+ .transform(transformEmptyString);
90
+ export const postalValidation = string()
91
+ .matches(/^[0-9]{5}$/, 'Enter valid postal code')
92
+ .transform(transformEmptyString);
@@ -1,3 +1,4 @@
1
+ import { BusinessType } from "../../../api/Business";
1
2
  export var BusinessFormServerErrors;
2
3
  (function (BusinessFormServerErrors) {
3
4
  BusinessFormServerErrors["fetchData"] = "Error retrieving business data";
@@ -22,3 +23,25 @@ export var OwnerFormClickActions;
22
23
  OwnerFormClickActions["addOwnerForm"] = "addOwnerForm";
23
24
  OwnerFormClickActions["updateOwner"] = "updateOwner";
24
25
  })(OwnerFormClickActions || (OwnerFormClickActions = {}));
26
+ export const BusinessTypeOptions = [
27
+ {
28
+ label: 'Choose business type',
29
+ value: '',
30
+ },
31
+ {
32
+ label: 'Individual',
33
+ value: BusinessType.individual,
34
+ },
35
+ {
36
+ label: 'For Profit',
37
+ value: BusinessType.for_profit,
38
+ },
39
+ {
40
+ label: 'Non Profit',
41
+ value: BusinessType.non_profit,
42
+ },
43
+ {
44
+ label: 'Government Entity',
45
+ value: BusinessType.government_entity,
46
+ },
47
+ ];
@@ -1,2 +1,22 @@
1
- export const phoneRegex = /^\d{10}$/;
2
- export const urlRegex = /^(?:http(s)?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/;
1
+ import StateOptions from "../../../utils/state-options";
2
+ export function getStateAbbreviation(stateName) {
3
+ const state = StateOptions.find(s => s.label === stateName);
4
+ return state ? state.value : stateName;
5
+ }
6
+ // filterNumber is intended to be used to format a string that contains a single digit to a two digit string.
7
+ export function filterNumber(num) {
8
+ if (/^\d$/.test(num)) {
9
+ return '0' + num;
10
+ }
11
+ return num;
12
+ }
13
+ export function constructDate(year, month, day) {
14
+ if (!year || !month || !day) {
15
+ return;
16
+ }
17
+ return `${year}-${filterNumber(month)}-${filterNumber(day)}`;
18
+ }
19
+ export function deconstructDate(date) {
20
+ const [dob_year, dob_month, dob_day] = date.split('-');
21
+ return { dob_year, dob_month, dob_day };
22
+ }
@@ -33,5 +33,7 @@ export const parseIdentityInfo = (values) => {
33
33
  delete values.address.created_at;
34
34
  delete values.address.updated_at;
35
35
  delete values.business_id;
36
+ delete values.dob_full;
37
+ delete values.ssn_last4;
36
38
  return values;
37
39
  };
@@ -79,7 +79,6 @@ export class BusinessList {
79
79
  return (h(Host, null, h("justifi-table", { columnData: [
80
80
  ['Legal Name', 'The name associated with this Business'],
81
81
  ['Business Type', 'The business type'],
82
- ['Business Structure', 'The business structure'],
83
82
  ['Tax ID', 'The tax ID associated with this business'],
84
83
  ['Industry', 'The industry this business participates in'],
85
84
  [
@@ -90,7 +89,6 @@ export class BusinessList {
90
89
  ], rowData: this.businesses.map((business) => [
91
90
  business.legal_name,
92
91
  snakeCaseToHumanReadable(business.business_type),
93
- snakeCaseToHumanReadable(business.business_structure),
94
92
  business.tax_id,
95
93
  business.industry,
96
94
  {
@@ -15,9 +15,9 @@ export const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({
15
15
  return onError(error.message || error);
16
16
  }
17
17
  };
18
- export const makePay = ({ authToken, checkoutId, service }) => async ({ paymentMethodToken, onSuccess, onError }) => {
18
+ export const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
19
19
  try {
20
- const response = await service.pay(authToken, checkoutId, paymentMethodToken);
20
+ const response = await service.complete(authToken, checkoutId, payment);
21
21
  if (!response.error) {
22
22
  const checkout = response.data;
23
23
  onSuccess({ checkout });
@@ -2503,6 +2503,349 @@ progress {
2503
2503
  --bs-spinner-animation-speed: 1.5s;
2504
2504
  }
2505
2505
  }
2506
+ .list-group {
2507
+ --bs-list-group-color: var(--bs-body-color);
2508
+ --bs-list-group-bg: var(--bs-body-bg);
2509
+ --bs-list-group-border-color: var(--bs-border-color);
2510
+ --bs-list-group-border-width: var(--bs-border-width);
2511
+ --bs-list-group-border-radius: var(--bs-border-radius);
2512
+ --bs-list-group-item-padding-x: 1rem;
2513
+ --bs-list-group-item-padding-y: 0.5rem;
2514
+ --bs-list-group-action-color: var(--bs-secondary-color);
2515
+ --bs-list-group-action-hover-color: var(--bs-emphasis-color);
2516
+ --bs-list-group-action-hover-bg: var(--bs-tertiary-bg);
2517
+ --bs-list-group-action-active-color: var(--bs-body-color);
2518
+ --bs-list-group-action-active-bg: var(--bs-secondary-bg);
2519
+ --bs-list-group-disabled-color: var(--bs-secondary-color);
2520
+ --bs-list-group-disabled-bg: var(--bs-body-bg);
2521
+ --bs-list-group-active-color: #fff;
2522
+ --bs-list-group-active-bg: #0d6efd;
2523
+ --bs-list-group-active-border-color: #0d6efd;
2524
+ display: flex;
2525
+ flex-direction: column;
2526
+ padding-left: 0;
2527
+ margin-bottom: 0;
2528
+ border-radius: var(--bs-list-group-border-radius);
2529
+ }
2530
+
2531
+ .list-group-numbered {
2532
+ list-style-type: none;
2533
+ counter-reset: section;
2534
+ }
2535
+ .list-group-numbered > .list-group-item::before {
2536
+ content: counters(section, ".") ". ";
2537
+ counter-increment: section;
2538
+ }
2539
+
2540
+ .list-group-item-action {
2541
+ width: 100%;
2542
+ color: var(--bs-list-group-action-color);
2543
+ text-align: inherit;
2544
+ }
2545
+ .list-group-item-action:hover, .list-group-item-action:focus {
2546
+ z-index: 1;
2547
+ color: var(--bs-list-group-action-hover-color);
2548
+ text-decoration: none;
2549
+ background-color: var(--bs-list-group-action-hover-bg);
2550
+ }
2551
+ .list-group-item-action:active {
2552
+ color: var(--bs-list-group-action-active-color);
2553
+ background-color: var(--bs-list-group-action-active-bg);
2554
+ }
2555
+
2556
+ .list-group-item {
2557
+ position: relative;
2558
+ display: block;
2559
+ padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
2560
+ color: var(--bs-list-group-color);
2561
+ text-decoration: none;
2562
+ background-color: var(--bs-list-group-bg);
2563
+ border: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
2564
+ }
2565
+ .list-group-item:first-child {
2566
+ border-top-left-radius: inherit;
2567
+ border-top-right-radius: inherit;
2568
+ }
2569
+ .list-group-item:last-child {
2570
+ border-bottom-right-radius: inherit;
2571
+ border-bottom-left-radius: inherit;
2572
+ }
2573
+ .list-group-item.disabled, .list-group-item:disabled {
2574
+ color: var(--bs-list-group-disabled-color);
2575
+ pointer-events: none;
2576
+ background-color: var(--bs-list-group-disabled-bg);
2577
+ }
2578
+ .list-group-item.active {
2579
+ z-index: 2;
2580
+ color: var(--bs-list-group-active-color);
2581
+ background-color: var(--bs-list-group-active-bg);
2582
+ border-color: var(--bs-list-group-active-border-color);
2583
+ }
2584
+ .list-group-item + .list-group-item {
2585
+ border-top-width: 0;
2586
+ }
2587
+ .list-group-item + .list-group-item.active {
2588
+ margin-top: calc(-1 * var(--bs-list-group-border-width));
2589
+ border-top-width: var(--bs-list-group-border-width);
2590
+ }
2591
+
2592
+ .list-group-horizontal {
2593
+ flex-direction: row;
2594
+ }
2595
+ .list-group-horizontal > .list-group-item:first-child:not(:last-child) {
2596
+ border-bottom-left-radius: var(--bs-list-group-border-radius);
2597
+ border-top-right-radius: 0;
2598
+ }
2599
+ .list-group-horizontal > .list-group-item:last-child:not(:first-child) {
2600
+ border-top-right-radius: var(--bs-list-group-border-radius);
2601
+ border-bottom-left-radius: 0;
2602
+ }
2603
+ .list-group-horizontal > .list-group-item.active {
2604
+ margin-top: 0;
2605
+ }
2606
+ .list-group-horizontal > .list-group-item + .list-group-item {
2607
+ border-top-width: var(--bs-list-group-border-width);
2608
+ border-left-width: 0;
2609
+ }
2610
+ .list-group-horizontal > .list-group-item + .list-group-item.active {
2611
+ margin-left: calc(-1 * var(--bs-list-group-border-width));
2612
+ border-left-width: var(--bs-list-group-border-width);
2613
+ }
2614
+
2615
+ @media (min-width: 576px) {
2616
+ .list-group-horizontal-sm {
2617
+ flex-direction: row;
2618
+ }
2619
+ .list-group-horizontal-sm > .list-group-item:first-child:not(:last-child) {
2620
+ border-bottom-left-radius: var(--bs-list-group-border-radius);
2621
+ border-top-right-radius: 0;
2622
+ }
2623
+ .list-group-horizontal-sm > .list-group-item:last-child:not(:first-child) {
2624
+ border-top-right-radius: var(--bs-list-group-border-radius);
2625
+ border-bottom-left-radius: 0;
2626
+ }
2627
+ .list-group-horizontal-sm > .list-group-item.active {
2628
+ margin-top: 0;
2629
+ }
2630
+ .list-group-horizontal-sm > .list-group-item + .list-group-item {
2631
+ border-top-width: var(--bs-list-group-border-width);
2632
+ border-left-width: 0;
2633
+ }
2634
+ .list-group-horizontal-sm > .list-group-item + .list-group-item.active {
2635
+ margin-left: calc(-1 * var(--bs-list-group-border-width));
2636
+ border-left-width: var(--bs-list-group-border-width);
2637
+ }
2638
+ }
2639
+ @media (min-width: 768px) {
2640
+ .list-group-horizontal-md {
2641
+ flex-direction: row;
2642
+ }
2643
+ .list-group-horizontal-md > .list-group-item:first-child:not(:last-child) {
2644
+ border-bottom-left-radius: var(--bs-list-group-border-radius);
2645
+ border-top-right-radius: 0;
2646
+ }
2647
+ .list-group-horizontal-md > .list-group-item:last-child:not(:first-child) {
2648
+ border-top-right-radius: var(--bs-list-group-border-radius);
2649
+ border-bottom-left-radius: 0;
2650
+ }
2651
+ .list-group-horizontal-md > .list-group-item.active {
2652
+ margin-top: 0;
2653
+ }
2654
+ .list-group-horizontal-md > .list-group-item + .list-group-item {
2655
+ border-top-width: var(--bs-list-group-border-width);
2656
+ border-left-width: 0;
2657
+ }
2658
+ .list-group-horizontal-md > .list-group-item + .list-group-item.active {
2659
+ margin-left: calc(-1 * var(--bs-list-group-border-width));
2660
+ border-left-width: var(--bs-list-group-border-width);
2661
+ }
2662
+ }
2663
+ @media (min-width: 992px) {
2664
+ .list-group-horizontal-lg {
2665
+ flex-direction: row;
2666
+ }
2667
+ .list-group-horizontal-lg > .list-group-item:first-child:not(:last-child) {
2668
+ border-bottom-left-radius: var(--bs-list-group-border-radius);
2669
+ border-top-right-radius: 0;
2670
+ }
2671
+ .list-group-horizontal-lg > .list-group-item:last-child:not(:first-child) {
2672
+ border-top-right-radius: var(--bs-list-group-border-radius);
2673
+ border-bottom-left-radius: 0;
2674
+ }
2675
+ .list-group-horizontal-lg > .list-group-item.active {
2676
+ margin-top: 0;
2677
+ }
2678
+ .list-group-horizontal-lg > .list-group-item + .list-group-item {
2679
+ border-top-width: var(--bs-list-group-border-width);
2680
+ border-left-width: 0;
2681
+ }
2682
+ .list-group-horizontal-lg > .list-group-item + .list-group-item.active {
2683
+ margin-left: calc(-1 * var(--bs-list-group-border-width));
2684
+ border-left-width: var(--bs-list-group-border-width);
2685
+ }
2686
+ }
2687
+ @media (min-width: 1200px) {
2688
+ .list-group-horizontal-xl {
2689
+ flex-direction: row;
2690
+ }
2691
+ .list-group-horizontal-xl > .list-group-item:first-child:not(:last-child) {
2692
+ border-bottom-left-radius: var(--bs-list-group-border-radius);
2693
+ border-top-right-radius: 0;
2694
+ }
2695
+ .list-group-horizontal-xl > .list-group-item:last-child:not(:first-child) {
2696
+ border-top-right-radius: var(--bs-list-group-border-radius);
2697
+ border-bottom-left-radius: 0;
2698
+ }
2699
+ .list-group-horizontal-xl > .list-group-item.active {
2700
+ margin-top: 0;
2701
+ }
2702
+ .list-group-horizontal-xl > .list-group-item + .list-group-item {
2703
+ border-top-width: var(--bs-list-group-border-width);
2704
+ border-left-width: 0;
2705
+ }
2706
+ .list-group-horizontal-xl > .list-group-item + .list-group-item.active {
2707
+ margin-left: calc(-1 * var(--bs-list-group-border-width));
2708
+ border-left-width: var(--bs-list-group-border-width);
2709
+ }
2710
+ }
2711
+ @media (min-width: 1400px) {
2712
+ .list-group-horizontal-xxl {
2713
+ flex-direction: row;
2714
+ }
2715
+ .list-group-horizontal-xxl > .list-group-item:first-child:not(:last-child) {
2716
+ border-bottom-left-radius: var(--bs-list-group-border-radius);
2717
+ border-top-right-radius: 0;
2718
+ }
2719
+ .list-group-horizontal-xxl > .list-group-item:last-child:not(:first-child) {
2720
+ border-top-right-radius: var(--bs-list-group-border-radius);
2721
+ border-bottom-left-radius: 0;
2722
+ }
2723
+ .list-group-horizontal-xxl > .list-group-item.active {
2724
+ margin-top: 0;
2725
+ }
2726
+ .list-group-horizontal-xxl > .list-group-item + .list-group-item {
2727
+ border-top-width: var(--bs-list-group-border-width);
2728
+ border-left-width: 0;
2729
+ }
2730
+ .list-group-horizontal-xxl > .list-group-item + .list-group-item.active {
2731
+ margin-left: calc(-1 * var(--bs-list-group-border-width));
2732
+ border-left-width: var(--bs-list-group-border-width);
2733
+ }
2734
+ }
2735
+ .list-group-flush {
2736
+ border-radius: 0;
2737
+ }
2738
+ .list-group-flush > .list-group-item {
2739
+ border-width: 0 0 var(--bs-list-group-border-width);
2740
+ }
2741
+ .list-group-flush > .list-group-item:last-child {
2742
+ border-bottom-width: 0;
2743
+ }
2744
+
2745
+ .list-group-item-primary {
2746
+ --bs-list-group-color: var(--bs-primary-text-emphasis);
2747
+ --bs-list-group-bg: var(--bs-primary-bg-subtle);
2748
+ --bs-list-group-border-color: var(--bs-primary-border-subtle);
2749
+ --bs-list-group-action-hover-color: var(--bs-emphasis-color);
2750
+ --bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);
2751
+ --bs-list-group-action-active-color: var(--bs-emphasis-color);
2752
+ --bs-list-group-action-active-bg: var(--bs-primary-border-subtle);
2753
+ --bs-list-group-active-color: var(--bs-primary-bg-subtle);
2754
+ --bs-list-group-active-bg: var(--bs-primary-text-emphasis);
2755
+ --bs-list-group-active-border-color: var(--bs-primary-text-emphasis);
2756
+ }
2757
+
2758
+ .list-group-item-secondary {
2759
+ --bs-list-group-color: var(--bs-secondary-text-emphasis);
2760
+ --bs-list-group-bg: var(--bs-secondary-bg-subtle);
2761
+ --bs-list-group-border-color: var(--bs-secondary-border-subtle);
2762
+ --bs-list-group-action-hover-color: var(--bs-emphasis-color);
2763
+ --bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);
2764
+ --bs-list-group-action-active-color: var(--bs-emphasis-color);
2765
+ --bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);
2766
+ --bs-list-group-active-color: var(--bs-secondary-bg-subtle);
2767
+ --bs-list-group-active-bg: var(--bs-secondary-text-emphasis);
2768
+ --bs-list-group-active-border-color: var(--bs-secondary-text-emphasis);
2769
+ }
2770
+
2771
+ .list-group-item-success {
2772
+ --bs-list-group-color: var(--bs-success-text-emphasis);
2773
+ --bs-list-group-bg: var(--bs-success-bg-subtle);
2774
+ --bs-list-group-border-color: var(--bs-success-border-subtle);
2775
+ --bs-list-group-action-hover-color: var(--bs-emphasis-color);
2776
+ --bs-list-group-action-hover-bg: var(--bs-success-border-subtle);
2777
+ --bs-list-group-action-active-color: var(--bs-emphasis-color);
2778
+ --bs-list-group-action-active-bg: var(--bs-success-border-subtle);
2779
+ --bs-list-group-active-color: var(--bs-success-bg-subtle);
2780
+ --bs-list-group-active-bg: var(--bs-success-text-emphasis);
2781
+ --bs-list-group-active-border-color: var(--bs-success-text-emphasis);
2782
+ }
2783
+
2784
+ .list-group-item-info {
2785
+ --bs-list-group-color: var(--bs-info-text-emphasis);
2786
+ --bs-list-group-bg: var(--bs-info-bg-subtle);
2787
+ --bs-list-group-border-color: var(--bs-info-border-subtle);
2788
+ --bs-list-group-action-hover-color: var(--bs-emphasis-color);
2789
+ --bs-list-group-action-hover-bg: var(--bs-info-border-subtle);
2790
+ --bs-list-group-action-active-color: var(--bs-emphasis-color);
2791
+ --bs-list-group-action-active-bg: var(--bs-info-border-subtle);
2792
+ --bs-list-group-active-color: var(--bs-info-bg-subtle);
2793
+ --bs-list-group-active-bg: var(--bs-info-text-emphasis);
2794
+ --bs-list-group-active-border-color: var(--bs-info-text-emphasis);
2795
+ }
2796
+
2797
+ .list-group-item-warning {
2798
+ --bs-list-group-color: var(--bs-warning-text-emphasis);
2799
+ --bs-list-group-bg: var(--bs-warning-bg-subtle);
2800
+ --bs-list-group-border-color: var(--bs-warning-border-subtle);
2801
+ --bs-list-group-action-hover-color: var(--bs-emphasis-color);
2802
+ --bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);
2803
+ --bs-list-group-action-active-color: var(--bs-emphasis-color);
2804
+ --bs-list-group-action-active-bg: var(--bs-warning-border-subtle);
2805
+ --bs-list-group-active-color: var(--bs-warning-bg-subtle);
2806
+ --bs-list-group-active-bg: var(--bs-warning-text-emphasis);
2807
+ --bs-list-group-active-border-color: var(--bs-warning-text-emphasis);
2808
+ }
2809
+
2810
+ .list-group-item-danger {
2811
+ --bs-list-group-color: var(--bs-danger-text-emphasis);
2812
+ --bs-list-group-bg: var(--bs-danger-bg-subtle);
2813
+ --bs-list-group-border-color: var(--bs-danger-border-subtle);
2814
+ --bs-list-group-action-hover-color: var(--bs-emphasis-color);
2815
+ --bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);
2816
+ --bs-list-group-action-active-color: var(--bs-emphasis-color);
2817
+ --bs-list-group-action-active-bg: var(--bs-danger-border-subtle);
2818
+ --bs-list-group-active-color: var(--bs-danger-bg-subtle);
2819
+ --bs-list-group-active-bg: var(--bs-danger-text-emphasis);
2820
+ --bs-list-group-active-border-color: var(--bs-danger-text-emphasis);
2821
+ }
2822
+
2823
+ .list-group-item-light {
2824
+ --bs-list-group-color: var(--bs-light-text-emphasis);
2825
+ --bs-list-group-bg: var(--bs-light-bg-subtle);
2826
+ --bs-list-group-border-color: var(--bs-light-border-subtle);
2827
+ --bs-list-group-action-hover-color: var(--bs-emphasis-color);
2828
+ --bs-list-group-action-hover-bg: var(--bs-light-border-subtle);
2829
+ --bs-list-group-action-active-color: var(--bs-emphasis-color);
2830
+ --bs-list-group-action-active-bg: var(--bs-light-border-subtle);
2831
+ --bs-list-group-active-color: var(--bs-light-bg-subtle);
2832
+ --bs-list-group-active-bg: var(--bs-light-text-emphasis);
2833
+ --bs-list-group-active-border-color: var(--bs-light-text-emphasis);
2834
+ }
2835
+
2836
+ .list-group-item-dark {
2837
+ --bs-list-group-color: var(--bs-dark-text-emphasis);
2838
+ --bs-list-group-bg: var(--bs-dark-bg-subtle);
2839
+ --bs-list-group-border-color: var(--bs-dark-border-subtle);
2840
+ --bs-list-group-action-hover-color: var(--bs-emphasis-color);
2841
+ --bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);
2842
+ --bs-list-group-action-active-color: var(--bs-emphasis-color);
2843
+ --bs-list-group-action-active-bg: var(--bs-dark-border-subtle);
2844
+ --bs-list-group-active-color: var(--bs-dark-bg-subtle);
2845
+ --bs-list-group-active-bg: var(--bs-dark-text-emphasis);
2846
+ --bs-list-group-active-border-color: var(--bs-dark-text-emphasis);
2847
+ }
2848
+
2506
2849
  :host {
2507
2850
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2508
2851
  font-size: 1rem;
@@ -2518,6 +2861,10 @@ justifi-payment-method-form {
2518
2861
  margin-right: calc(var(--jfi-layout-padding) * -1);
2519
2862
  }
2520
2863
 
2864
+ .jfi-checkout-core {
2865
+ color: var(--jfi-body-color);
2866
+ }
2867
+
2521
2868
  *::part(label) {
2522
2869
  color: var(--jfi-form-label-color);
2523
2870
  font-family: var(--jfi-form-label-font-family);
@@ -2560,6 +2907,18 @@ justifi-payment-method-form {
2560
2907
  box-shadow: var(--jfi-form-control-box-shadow-error-focus);
2561
2908
  }
2562
2909
 
2910
+ *::part(invalid-feedback) {
2911
+ color: var(--jfi-error-message-color);
2912
+ font-size: var(--jfi-error-message-font-size);
2913
+ margin: var(--jfi-error-message-margin);
2914
+ line-height: normal;
2915
+ }
2916
+
2917
+ .jfi-header {
2918
+ color: var(--jfi-header-color);
2919
+ border-bottom: var(--jfi-header-border);
2920
+ }
2921
+
2563
2922
  .jfi-submit-button {
2564
2923
  font-family: var(--jfi-layout-font-family);
2565
2924
  color: var(--jfi-submit-button-color);
@@ -2570,6 +2929,8 @@ justifi-payment-method-form {
2570
2929
  border-radius: var(--jfi-submit-button-border-radius);
2571
2930
  width: var(--jfi-submit-button-width);
2572
2931
  box-shadow: var(--jfi-submit-button-box-shadow);
2932
+ line-height: var(--jfi-submit-button-line-height);
2933
+ text-transform: var(--jfi-submit-button-text-transform);
2573
2934
  }
2574
2935
 
2575
2936
  .jfi-submit-button:hover {