@justifi/webcomponents 4.16.0 → 4.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (445) hide show
  1. package/dist/cjs/{Analytics-423b2bb5.js → Analytics-d4aa8c07.js} +1 -1
  2. package/dist/cjs/{SubAccount-4f4fac22.js → SubAccount-135ff8c8.js} +1 -1
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +13 -13
  4. package/dist/cjs/{business-additional-questions-schema-606d1292.js → business-additional-questions-schema-cf545610.js} +2 -2
  5. package/dist/cjs/business-details-core.cjs.entry.js +6 -9
  6. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  7. package/dist/cjs/form-control-checkbox_5.cjs.entry.js +10 -13
  8. package/dist/cjs/form-control-date.cjs.entry.js +43 -0
  9. package/dist/cjs/form-control-error-text_2.cjs.entry.js +36 -0
  10. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  11. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  12. package/dist/cjs/{form-control-date_3.cjs.entry.js → form-control-number-masked_2.cjs.entry.js} +3 -40
  13. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  14. package/dist/cjs/{form-control-error-text_4.cjs.entry.js → form-control-select_2.cjs.entry.js} +3 -33
  15. package/dist/cjs/get-payout-csv-e4e4771a.js +48 -0
  16. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  17. package/dist/cjs/{index-b4498996.js → index-fb499e95.js} +15 -3
  18. package/dist/cjs/{insurance-state-3f044af7.js → insurance-state-80e24caf.js} +1 -1
  19. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +9 -12
  20. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  21. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +16 -1680
  22. package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
  23. package/dist/cjs/justifi-business-form.cjs.entry.js +9 -8
  24. package/dist/cjs/justifi-business-list.cjs.entry.js +4 -7
  25. package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
  26. package/dist/cjs/justifi-checkout-core.cjs.entry.js +21 -9
  27. package/dist/cjs/justifi-checkout.cjs.entry.js +12 -4
  28. package/dist/cjs/justifi-details.cjs.entry.js +4 -7
  29. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
  30. package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +73 -28
  31. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +4 -7
  32. package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
  33. package/dist/cjs/justifi-payment-form.cjs.entry.js +9 -8
  34. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +1688 -0
  35. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +3 -3
  36. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +7 -2
  37. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -8
  38. package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
  39. package/dist/cjs/justifi-payout-details.cjs.entry.js +15 -10
  40. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -12
  41. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +4 -7
  42. package/dist/cjs/justifi-refund-form.cjs.entry.js +4 -3
  43. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +14 -9
  44. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -3
  45. package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
  46. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +6 -9
  47. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +4 -4
  48. package/dist/cjs/justifi-table_2.cjs.entry.js +8 -12
  49. package/dist/cjs/loader.cjs.js +2 -2
  50. package/dist/cjs/{package-b40227dd.js → package-5fee1ffb.js} +1 -1
  51. package/dist/cjs/{payload-parsers-6e4cf5d7.js → payload-parsers-1cbc3b57.js} +3 -1
  52. package/dist/cjs/payment-details-core.cjs.entry.js +11 -14
  53. package/dist/cjs/payments-list-core.cjs.entry.js +7 -7
  54. package/dist/cjs/payout-details-core.cjs.entry.js +19 -8
  55. package/dist/cjs/payouts-list-core.cjs.entry.js +29 -8
  56. package/dist/cjs/{schema-validations-9668fd79.js → schema-validations-2733de42.js} +3 -4
  57. package/dist/cjs/styled-host-b8bed12a.js +14 -0
  58. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +7 -23
  59. package/dist/cjs/subaccount-bank-details.cjs.entry.js +3 -7
  60. package/dist/cjs/subaccount-terms-details.cjs.entry.js +3 -7
  61. package/dist/cjs/{utils-17869710.js → utils-80191fbe.js} +6 -0
  62. package/dist/cjs/{utils-fd644316.js → utils-8c3bf659.js} +13 -4
  63. package/dist/cjs/{utils-0c3168ef.js → utils-c1d2e426.js} +1 -1
  64. package/dist/cjs/webcomponents.cjs.js +2 -2
  65. package/dist/collection/api/Checkout.js +0 -1
  66. package/dist/collection/api/services/payout.service.js +5 -0
  67. package/dist/collection/assets/download-icon.js +2 -0
  68. package/dist/collection/collection-manifest.json +1 -0
  69. package/dist/collection/components/billing-form/billing-form.css +2 -8162
  70. package/dist/collection/components/billing-form/billing-form.js +5 -4
  71. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +2 -3
  72. package/dist/collection/components/business-details/business-details-core.js +5 -14
  73. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +2 -3
  74. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +2 -3
  75. package/dist/collection/components/business-details/owner-details/owner-details.js +2 -3
  76. package/dist/collection/components/business-details/representative-details/representative-details.js +2 -3
  77. package/dist/collection/components/business-details/shared-business-details.css +3 -0
  78. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  79. package/dist/collection/components/business-forms/business-form/business-form.css +5 -8768
  80. package/dist/collection/components/business-forms/business-form/business-form.js +4 -3
  81. package/dist/collection/components/business-forms/owner-form/owner-form.js +2 -5
  82. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  83. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +3 -2
  84. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -4
  85. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +14 -2
  86. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.css +4 -9155
  87. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -12
  88. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.css +5 -763
  89. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +2 -2
  90. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
  91. package/dist/collection/components/business-forms/schemas/schema-helpers.js +0 -1
  92. package/dist/collection/components/business-forms/schemas/schema-validations.js +4 -4
  93. package/dist/collection/components/business-forms/utils/payload-parsers.js +2 -0
  94. package/dist/collection/components/business-list/business-list.js +3 -12
  95. package/dist/collection/components/checkout/checkout-core.css +3 -8147
  96. package/dist/collection/components/checkout/checkout-core.js +68 -8
  97. package/dist/collection/components/checkout/checkout.js +59 -1
  98. package/dist/collection/components/checkout/form-check-input.css +20 -0
  99. package/dist/collection/components/checkout/header.css +4 -0
  100. package/dist/collection/components/checkout/new-payment-method.js +95 -15
  101. package/dist/collection/components/checkout/payment-method-option-utils.js +2 -0
  102. package/dist/collection/components/checkout/payment-method-options.css +1 -7080
  103. package/dist/collection/components/checkout/payment-method-options.js +101 -17
  104. package/dist/collection/components/checkout/save-new-payment-method.js +38 -0
  105. package/dist/collection/components/checkout/saved-payment-method.js +12 -5
  106. package/dist/collection/components/checkout/sezzle-payment-method.js +12 -5
  107. package/dist/collection/components/details/details.js +3 -12
  108. package/dist/collection/components/form/form-control-checkbox.js +1 -1
  109. package/dist/collection/components/form/form-control-date.js +1 -1
  110. package/dist/collection/components/form/form-control-file.js +1 -1
  111. package/dist/collection/components/form/form-control-monetary.js +1 -1
  112. package/dist/collection/components/form/form-control-number-masked.js +1 -1
  113. package/dist/collection/components/form/form-control-number.js +1 -1
  114. package/dist/collection/components/form/form-control-select.js +1 -1
  115. package/dist/collection/components/form/form-control-text.js +1 -1
  116. package/dist/collection/components/form/utils.js +12 -3
  117. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  118. package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +1 -573
  119. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.css +6 -8183
  120. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +6 -7
  121. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -2
  122. package/dist/collection/components/pagination-menu/pagination-menu.js +3 -14
  123. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +3 -13
  124. package/dist/collection/components/payment-details/payment-details-core.js +9 -18
  125. package/dist/collection/components/payment-form/payment-form.css +3 -2513
  126. package/dist/collection/components/payment-form/payment-form.js +6 -5
  127. package/dist/collection/components/payment-form/payment-method-selector.css +5 -1881
  128. package/dist/collection/components/payment-form/payment-method-selector.js +2 -3
  129. package/dist/collection/components/payments-list/payments-list-core.js +6 -12
  130. package/dist/collection/components/payments-list/payments-list.js +3 -0
  131. package/dist/collection/components/payout-details/get-payout-csv.js +19 -0
  132. package/dist/collection/components/payout-details/payout-details-core.js +37 -12
  133. package/dist/collection/components/payout-details/payout-details.js +11 -4
  134. package/dist/collection/components/payouts-list/payouts-list-core.js +45 -14
  135. package/dist/collection/components/payouts-list/payouts-list.js +14 -6
  136. package/dist/collection/components/proceeds-list/proceeds-list.js +3 -12
  137. package/dist/collection/components/refund-form/refund-form.css +1 -7737
  138. package/dist/collection/components/refund-form/refund-form.js +4 -3
  139. package/dist/collection/components/skeleton/skeleton.css +1 -573
  140. package/dist/collection/components/skeleton/skeleton.js +2 -2
  141. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +1 -12
  142. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +1 -12
  143. package/dist/collection/components/subaccount-details/subaccount-details.js +3 -12
  144. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +1 -12
  145. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +1 -12
  146. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +1 -12
  147. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +1 -12
  148. package/dist/collection/components/subaccounts-list/subaccounts-list.js +1 -1
  149. package/dist/collection/components/table/table.css +0 -8085
  150. package/dist/collection/components/table/table.js +3 -4
  151. package/dist/collection/utils/styled-host/styled-host.js +6 -0
  152. package/dist/collection/utils/utils.js +5 -0
  153. package/dist/docs.json +546 -64
  154. package/dist/esm/{Analytics-17c33e9e.js → Analytics-29fac206.js} +1 -1
  155. package/dist/esm/{SubAccount-8bf9cb0c.js → SubAccount-7fcb1450.js} +1 -1
  156. package/dist/esm/additional-questions-details_5.entry.js +13 -13
  157. package/dist/esm/{business-additional-questions-schema-b00a73ba.js → business-additional-questions-schema-956e3caf.js} +2 -2
  158. package/dist/esm/business-details-core.entry.js +6 -9
  159. package/dist/esm/form-alert_5.entry.js +3 -3
  160. package/dist/esm/form-control-checkbox_5.entry.js +10 -13
  161. package/dist/esm/form-control-date.entry.js +39 -0
  162. package/dist/esm/form-control-error-text_2.entry.js +31 -0
  163. package/dist/esm/form-control-file.entry.js +2 -2
  164. package/dist/esm/form-control-monetary.entry.js +2 -2
  165. package/dist/esm/{form-control-date_3.entry.js → form-control-number-masked_2.entry.js} +4 -40
  166. package/dist/esm/form-control-number.entry.js +2 -2
  167. package/dist/esm/{form-control-error-text_4.entry.js → form-control-select_2.entry.js} +4 -32
  168. package/dist/esm/get-payout-csv-9b4aaada.js +45 -0
  169. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  170. package/dist/esm/{index-4bd1eae9.js → index-57431c24.js} +15 -3
  171. package/dist/esm/{insurance-state-09754ab9.js → insurance-state-8ce01e59.js} +1 -1
  172. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +10 -13
  173. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  174. package/dist/esm/justifi-billing-form_2.entry.js +16 -1680
  175. package/dist/esm/justifi-business-details.entry.js +4 -4
  176. package/dist/esm/justifi-business-form.entry.js +9 -8
  177. package/dist/esm/justifi-business-list.entry.js +4 -7
  178. package/dist/esm/justifi-card-form.entry.js +3 -3
  179. package/dist/esm/justifi-checkout-core.entry.js +21 -9
  180. package/dist/esm/justifi-checkout.entry.js +12 -4
  181. package/dist/esm/justifi-details.entry.js +4 -7
  182. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  183. package/dist/esm/justifi-new-payment-method_4.entry.js +73 -28
  184. package/dist/esm/justifi-payment-balance-transactions.entry.js +4 -7
  185. package/dist/esm/justifi-payment-details.entry.js +4 -4
  186. package/dist/esm/justifi-payment-form.entry.js +9 -8
  187. package/dist/esm/justifi-payment-method-form.entry.js +1684 -0
  188. package/dist/esm/justifi-payment-method-selector.entry.js +3 -3
  189. package/dist/esm/justifi-payment-provisioning-core.entry.js +7 -2
  190. package/dist/esm/justifi-payment-provisioning.entry.js +4 -8
  191. package/dist/esm/justifi-payments-list.entry.js +4 -4
  192. package/dist/esm/justifi-payout-details.entry.js +14 -9
  193. package/dist/esm/justifi-payouts-list.entry.js +14 -11
  194. package/dist/esm/justifi-proceeds-list.entry.js +4 -7
  195. package/dist/esm/justifi-refund-form.entry.js +4 -3
  196. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +14 -9
  197. package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -3
  198. package/dist/esm/justifi-skeleton.entry.js +3 -3
  199. package/dist/esm/justifi-subaccount-details.entry.js +6 -9
  200. package/dist/esm/justifi-subaccounts-list.entry.js +4 -4
  201. package/dist/esm/justifi-table_2.entry.js +8 -12
  202. package/dist/esm/loader.js +3 -3
  203. package/dist/esm/{package-02a6e473.js → package-1123f528.js} +1 -1
  204. package/dist/esm/{payload-parsers-a9e8f8cc.js → payload-parsers-acb719d1.js} +3 -1
  205. package/dist/esm/payment-details-core.entry.js +11 -14
  206. package/dist/esm/payments-list-core.entry.js +7 -7
  207. package/dist/esm/payout-details-core.entry.js +19 -8
  208. package/dist/esm/payouts-list-core.entry.js +29 -8
  209. package/dist/esm/{schema-validations-770bdf3e.js → schema-validations-a83ff220.js} +3 -4
  210. package/dist/esm/styled-host-57aae7fa.js +12 -0
  211. package/dist/esm/subaccount-account-details_4.entry.js +7 -23
  212. package/dist/esm/subaccount-bank-details.entry.js +3 -7
  213. package/dist/esm/subaccount-terms-details.entry.js +3 -7
  214. package/dist/esm/{utils-1e583166.js → utils-56719d07.js} +1 -1
  215. package/dist/esm/{utils-61a21dea.js → utils-5f4c4faa.js} +6 -1
  216. package/dist/esm/{utils-8de964da.js → utils-f4c4ba7d.js} +13 -4
  217. package/dist/esm/webcomponents.js +3 -3
  218. package/dist/module/SubAccount.js +1 -1
  219. package/dist/module/additional-questions-details2.js +3 -4
  220. package/dist/module/additional-questions.js +1 -1
  221. package/dist/module/billing-form.js +5 -4
  222. package/dist/module/business-additional-questions-form-step.js +1 -1
  223. package/dist/module/business-core-info-form-step.js +3 -2
  224. package/dist/module/business-core-info-schema.js +1 -1
  225. package/dist/module/business-details-core2.js +5 -8
  226. package/dist/module/business-representative-form-step.js +1 -4
  227. package/dist/module/business-terms-conditions-text.js +2 -2
  228. package/dist/module/checkout-core.js +44 -24
  229. package/dist/module/details.js +3 -6
  230. package/dist/module/form-control-checkbox2.js +1 -1
  231. package/dist/module/form-control-date2.js +1 -1
  232. package/dist/module/form-control-file2.js +1 -1
  233. package/dist/module/form-control-monetary2.js +1 -1
  234. package/dist/module/form-control-number-masked2.js +1 -1
  235. package/dist/module/form-control-number.js +1 -1
  236. package/dist/module/form-control-select2.js +1 -1
  237. package/dist/module/form-control-text2.js +1 -1
  238. package/dist/module/generic-info-details2.js +3 -4
  239. package/dist/module/get-payout-csv.js +45 -0
  240. package/dist/module/gross-payment-chart-core2.js +2 -2
  241. package/dist/module/justifi-business-form.js +4 -3
  242. package/dist/module/justifi-business-list.js +3 -6
  243. package/dist/module/justifi-checkout.js +35 -20
  244. package/dist/module/justifi-payment-balance-transactions.js +5 -9
  245. package/dist/module/justifi-payment-form.js +6 -5
  246. package/dist/module/justifi-payment-provisioning.js +2 -7
  247. package/dist/module/justifi-payments-list.js +19 -1
  248. package/dist/module/justifi-payout-details.js +11 -5
  249. package/dist/module/justifi-payouts-list.js +30 -8
  250. package/dist/module/justifi-proceeds-list.js +3 -6
  251. package/dist/module/justifi-refund-form.js +4 -3
  252. package/dist/module/justifi-save-new-payment-method.d.ts +11 -0
  253. package/dist/module/justifi-save-new-payment-method.js +6 -0
  254. package/dist/module/justifi-season-interruption-insurance.js +1 -2
  255. package/dist/module/justifi-subaccount-details.js +4 -7
  256. package/dist/module/justifi-subaccounts-list.js +2 -2
  257. package/dist/module/legal-address-details2.js +3 -4
  258. package/dist/module/new-payment-method.js +52 -24
  259. package/dist/module/owner-details2.js +3 -4
  260. package/dist/module/owner-form.js +2 -5
  261. package/dist/module/package.js +1 -1
  262. package/dist/module/pagination-menu2.js +4 -9
  263. package/dist/module/payload-parsers.js +2 -0
  264. package/dist/module/payment-details-core2.js +10 -13
  265. package/dist/module/payment-method-options.js +56 -28
  266. package/dist/module/payment-method-selector.js +3 -4
  267. package/dist/module/payment-provisioning-core.js +9 -3
  268. package/dist/module/payments-list-core2.js +26 -8
  269. package/dist/module/payout-details-core2.js +19 -7
  270. package/dist/module/payouts-list-core2.js +49 -9
  271. package/dist/module/representative-details2.js +3 -4
  272. package/dist/module/save-new-payment-method.js +36 -0
  273. package/dist/module/saved-payment-method.js +7 -2
  274. package/dist/module/schema-validations.js +3 -4
  275. package/dist/module/season-interruption-insurance-core.js +12 -7
  276. package/dist/module/sezzle-payment-method.js +5 -2
  277. package/dist/module/skeleton.js +2 -2
  278. package/dist/module/styled-host.js +12 -0
  279. package/dist/module/subaccount-account-details2.js +2 -7
  280. package/dist/module/subaccount-bank-details.js +2 -7
  281. package/dist/module/subaccount-merchant-details2.js +3 -8
  282. package/dist/module/subaccount-owners-details2.js +2 -7
  283. package/dist/module/subaccount-representative-details2.js +2 -7
  284. package/dist/module/subaccount-terms-details.js +2 -7
  285. package/dist/module/table.js +4 -5
  286. package/dist/module/utils2.js +6 -1
  287. package/dist/module/utils3.js +12 -3
  288. package/dist/types/api/Checkout.d.ts +6 -0
  289. package/dist/types/api/services/payout.service.d.ts +2 -0
  290. package/dist/types/assets/download-icon.d.ts +1 -0
  291. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +0 -1
  292. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +0 -1
  293. package/dist/types/components/business-forms/schemas/schema-helpers.d.ts +0 -1
  294. package/dist/types/components/checkout/checkout-core.d.ts +5 -1
  295. package/dist/types/components/checkout/checkout.d.ts +5 -0
  296. package/dist/types/components/checkout/new-payment-method.d.ts +8 -2
  297. package/dist/types/components/checkout/payment-method-option-utils.d.ts +1 -0
  298. package/dist/types/components/checkout/payment-method-options.d.ts +6 -2
  299. package/dist/types/components/checkout/payment-method-payload.d.ts +1 -0
  300. package/dist/types/components/checkout/save-new-payment-method.d.ts +7 -0
  301. package/dist/types/components/checkout/saved-payment-method.d.ts +1 -1
  302. package/dist/types/components/checkout/sezzle-payment-method.d.ts +1 -1
  303. package/dist/types/components/form/utils.d.ts +1 -1
  304. package/dist/types/components/payment-method-form/payment-method-responses.d.ts +6 -4
  305. package/dist/types/components/payments-list/payments-list-core.d.ts +1 -0
  306. package/dist/types/components/payments-list/payments-list.d.ts +3 -0
  307. package/dist/types/components/payout-details/get-payout-csv.d.ts +7 -0
  308. package/dist/types/components/payout-details/payout-details-core.d.ts +2 -0
  309. package/dist/types/components/payout-details/payout-details.d.ts +2 -1
  310. package/dist/types/components/payouts-list/payouts-list-core.d.ts +3 -0
  311. package/dist/types/components/payouts-list/payouts-list.d.ts +5 -1
  312. package/dist/types/components.d.ts +83 -12
  313. package/dist/types/utils/styled-host/styled-host.d.ts +3 -0
  314. package/dist/types/utils/utils.d.ts +1 -0
  315. package/dist/webcomponents/{p-851e57f4.js → p-092e080c.js} +1 -1
  316. package/dist/webcomponents/p-09affce4.entry.js +1 -0
  317. package/dist/webcomponents/p-0a4a9ccd.entry.js +1 -0
  318. package/dist/webcomponents/{p-7c28a80d.entry.js → p-0dca0770.entry.js} +1 -1
  319. package/dist/webcomponents/p-0e4a54c8.entry.js +1 -0
  320. package/dist/webcomponents/p-0ed3c1d2.entry.js +1 -0
  321. package/dist/webcomponents/p-10b57ac6.entry.js +1 -0
  322. package/dist/webcomponents/p-1737f6bf.entry.js +1 -0
  323. package/dist/webcomponents/{p-ebce7b2f.entry.js → p-2244e679.entry.js} +1 -1
  324. package/dist/webcomponents/p-2306d44d.entry.js +1 -0
  325. package/dist/webcomponents/{p-f7b6dcc4.js → p-2338affa.js} +1 -1
  326. package/dist/webcomponents/p-2af3672b.entry.js +1 -0
  327. package/dist/webcomponents/p-3294856b.entry.js +1 -0
  328. package/dist/webcomponents/p-3514b616.entry.js +1 -0
  329. package/dist/webcomponents/p-390157c9.entry.js +1 -0
  330. package/dist/webcomponents/p-3fd13ca3.js +1 -0
  331. package/dist/webcomponents/p-412c7a22.entry.js +1 -0
  332. package/dist/webcomponents/p-464e4dfe.entry.js +1 -0
  333. package/dist/webcomponents/p-49b8e112.js +1 -0
  334. package/dist/webcomponents/{p-808c8988.entry.js → p-4b9587ec.entry.js} +1 -1
  335. package/dist/webcomponents/p-531d873a.entry.js +1 -0
  336. package/dist/webcomponents/p-54287db6.entry.js +1 -0
  337. package/dist/webcomponents/p-547a2cd0.entry.js +1 -0
  338. package/dist/webcomponents/p-571d7f1a.entry.js +1 -0
  339. package/dist/webcomponents/p-5963bcdc.entry.js +1 -0
  340. package/dist/webcomponents/p-5b1451e7.entry.js +1 -0
  341. package/dist/webcomponents/p-66758365.entry.js +1 -0
  342. package/dist/webcomponents/{p-3394ff6c.js → p-667a5aa8.js} +1 -1
  343. package/dist/webcomponents/p-67e497aa.entry.js +1 -0
  344. package/dist/webcomponents/p-68fd8283.js +1 -0
  345. package/dist/webcomponents/p-6bcf621a.entry.js +1 -0
  346. package/dist/webcomponents/p-6bd5d569.entry.js +1 -0
  347. package/dist/webcomponents/p-76180bb4.entry.js +1 -0
  348. package/dist/webcomponents/p-77dc159c.entry.js +1 -0
  349. package/dist/webcomponents/{p-3a7e0753.entry.js → p-7a346c0b.entry.js} +1 -1
  350. package/dist/webcomponents/p-7d6aba64.entry.js +1 -0
  351. package/dist/webcomponents/p-81d3eda6.entry.js +1 -0
  352. package/dist/webcomponents/p-85fc69e5.js +1 -0
  353. package/dist/webcomponents/p-87932e16.js +1 -0
  354. package/dist/webcomponents/p-88c7ef46.entry.js +1 -0
  355. package/dist/webcomponents/p-89887332.js +1 -0
  356. package/dist/webcomponents/p-8cc7a418.entry.js +1 -0
  357. package/dist/webcomponents/p-8dd22c8d.entry.js +1 -0
  358. package/dist/webcomponents/p-959b478a.entry.js +19 -0
  359. package/dist/webcomponents/{p-3f06ce2f.entry.js → p-9631b768.entry.js} +1 -1
  360. package/dist/webcomponents/p-9e7c3231.entry.js +1 -0
  361. package/dist/webcomponents/{p-9601cf9d.entry.js → p-bb32b91c.entry.js} +1 -1
  362. package/dist/webcomponents/p-bbc18b9f.entry.js +1 -0
  363. package/dist/webcomponents/{p-4b4fc43d.js → p-c4264aaf.js} +1 -1
  364. package/dist/webcomponents/p-cb9ee476.entry.js +1 -0
  365. package/dist/webcomponents/p-d083a342.entry.js +1 -0
  366. package/dist/webcomponents/{p-288c95b3.entry.js → p-d5612f35.entry.js} +1 -1
  367. package/dist/webcomponents/p-debeefbb.entry.js +1 -0
  368. package/dist/webcomponents/{p-e3a31451.entry.js → p-df38dd21.entry.js} +1 -1
  369. package/dist/webcomponents/p-e0bcfdb5.entry.js +1 -0
  370. package/dist/webcomponents/{p-cb68e8fa.js → p-e1651130.js} +1 -1
  371. package/dist/webcomponents/p-e46929a1.entry.js +1 -0
  372. package/dist/webcomponents/{p-fee616cf.entry.js → p-e85ef4af.entry.js} +1 -1
  373. package/dist/webcomponents/{p-fb53112b.js → p-e8c651b8.js} +1 -1
  374. package/dist/webcomponents/p-ea7c77a3.entry.js +1 -0
  375. package/dist/webcomponents/{p-2451611d.entry.js → p-f3555f0b.entry.js} +1 -1
  376. package/dist/webcomponents/p-fad19d75.js +2 -0
  377. package/dist/webcomponents/webcomponents.css +1 -1
  378. package/dist/webcomponents/webcomponents.esm.js +1 -1
  379. package/package.json +1 -1
  380. package/dist/cjs/payout.service-eec372aa.js +0 -22
  381. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.css +0 -7348
  382. package/dist/collection/components/business-details/business-details.css +0 -6446
  383. package/dist/collection/components/business-details/generic-info-details/generic-info-details.css +0 -7348
  384. package/dist/collection/components/business-details/legal-address-details/legal-address-details.css +0 -7348
  385. package/dist/collection/components/business-details/owner-details/owner-details.css +0 -7348
  386. package/dist/collection/components/business-details/representative-details/representative-details.css +0 -7348
  387. package/dist/collection/components/business-list/business-list.css +0 -579
  388. package/dist/collection/components/details/details.css +0 -7993
  389. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.css +0 -0
  390. package/dist/collection/components/payment-details/payment-details.css +0 -7993
  391. package/dist/collection/components/payments-list/payments-list.css +0 -579
  392. package/dist/collection/components/payout-details/payout-details.css +0 -7993
  393. package/dist/collection/components/payouts-list/payouts-list.css +0 -579
  394. package/dist/collection/components/proceeds-list/proceeds-list.css +0 -579
  395. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.css +0 -7352
  396. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.css +0 -7352
  397. package/dist/collection/components/subaccount-details/subaccount-details.css +0 -7993
  398. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.css +0 -7352
  399. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.css +0 -7352
  400. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.css +0 -7352
  401. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.css +0 -7352
  402. package/dist/esm/payout.service-28b9594f.js +0 -20
  403. package/dist/module/payout.service.js +0 -20
  404. package/dist/webcomponents/p-023fe908.entry.js +0 -1
  405. package/dist/webcomponents/p-038fb958.entry.js +0 -1
  406. package/dist/webcomponents/p-06baf263.entry.js +0 -1
  407. package/dist/webcomponents/p-0f10316f.entry.js +0 -1
  408. package/dist/webcomponents/p-144e4bda.js +0 -1
  409. package/dist/webcomponents/p-1e53021d.entry.js +0 -1
  410. package/dist/webcomponents/p-1feebf9c.entry.js +0 -1
  411. package/dist/webcomponents/p-26779944.entry.js +0 -1
  412. package/dist/webcomponents/p-306aea52.entry.js +0 -1
  413. package/dist/webcomponents/p-31031d15.entry.js +0 -1
  414. package/dist/webcomponents/p-4791c1f2.entry.js +0 -1
  415. package/dist/webcomponents/p-4b260a52.entry.js +0 -1
  416. package/dist/webcomponents/p-56275f64.entry.js +0 -1
  417. package/dist/webcomponents/p-64d1aeb8.entry.js +0 -1
  418. package/dist/webcomponents/p-65969627.entry.js +0 -19
  419. package/dist/webcomponents/p-68f3a7b0.entry.js +0 -1
  420. package/dist/webcomponents/p-6b05f357.entry.js +0 -1
  421. package/dist/webcomponents/p-6ce586e0.entry.js +0 -1
  422. package/dist/webcomponents/p-71800e4c.js +0 -1
  423. package/dist/webcomponents/p-7ae2d26f.entry.js +0 -1
  424. package/dist/webcomponents/p-88d68804.entry.js +0 -1
  425. package/dist/webcomponents/p-8a6049ed.js +0 -1
  426. package/dist/webcomponents/p-8e8f5033.entry.js +0 -1
  427. package/dist/webcomponents/p-9228912b.entry.js +0 -1
  428. package/dist/webcomponents/p-923c37a2.entry.js +0 -1
  429. package/dist/webcomponents/p-9b1e7f5e.entry.js +0 -1
  430. package/dist/webcomponents/p-9c00adf1.entry.js +0 -1
  431. package/dist/webcomponents/p-9e5d765c.js +0 -1
  432. package/dist/webcomponents/p-a33c3e1c.entry.js +0 -1
  433. package/dist/webcomponents/p-a63a6fb9.js +0 -2
  434. package/dist/webcomponents/p-b01c0120.entry.js +0 -1
  435. package/dist/webcomponents/p-b94bf537.entry.js +0 -1
  436. package/dist/webcomponents/p-bacd9d6e.entry.js +0 -1
  437. package/dist/webcomponents/p-c85fb952.entry.js +0 -1
  438. package/dist/webcomponents/p-ca39c89f.js +0 -1
  439. package/dist/webcomponents/p-d42e284d.entry.js +0 -1
  440. package/dist/webcomponents/p-e673e681.entry.js +0 -1
  441. package/dist/webcomponents/p-eefe2f29.entry.js +0 -1
  442. package/dist/webcomponents/p-f14db665.entry.js +0 -1
  443. package/dist/webcomponents/p-f18e63c3.entry.js +0 -1
  444. package/dist/webcomponents/p-f3ae3cb6.entry.js +0 -1
  445. package/dist/webcomponents/p-fa9773c0.entry.js +0 -1
@@ -1,8 +1,9 @@
1
- import { Host, h } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import BillingFormSchema from "./billing-form-schema";
3
3
  import StateOptions from "../../utils/state-options";
4
4
  import { FormController } from "../form/form";
5
5
  import { numberOnlyHandler } from "../form/utils";
6
+ import StyledHost from "../../utils/styled-host/styled-host";
6
7
  /**
7
8
  * @exportedPart label: Label for inputs
8
9
  * @exportedPart input: The input fields
@@ -31,7 +32,7 @@ export class BillingForm {
31
32
  return this.formController.values.getValue();
32
33
  }
33
34
  async fill(fields) {
34
- this.formController.setValues(fields);
35
+ this.formController.setInitialValues(fields);
35
36
  }
36
37
  async validate() {
37
38
  let isValid = await this.formController.validate();
@@ -39,13 +40,13 @@ export class BillingForm {
39
40
  }
40
41
  render() {
41
42
  const billingFormDefaultValue = this.formController.getInitialValues();
42
- return (h(Host, { key: '394ccc8799078a3c6d0deb96d6b96553c0268d40', exportparts: "label,input,input-invalid" }, h("form", { key: 'a4796aa2ddc184bf881b9ca620ccdf54cb4ea9d5' }, h("fieldset", { key: '437d9d75bb9614349520b477e0b9f69c400fee8b' }, this.legend && h("legend", { key: '7f5c1078da38049ee2dc486b9c7eccff10a3698b' }, this.legend), h("div", { key: 'f8624c6ed26e5f052675ba6c40d98a1d7da02e86', class: "row gy-3" }, h("div", { key: '9aa4fb17b220bacaad519949a7686968e43a5d2d', class: "col-12" }, h("form-control-text", { key: 'f46a938e7ccb2f390675cc95adea78de91b7746b', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '2c725e13c99d39ff1d583bdfadc8353e71df9a49', class: "col-12" }, h("form-control-text", { key: '893a63193b8be1172140a9475d552e16f2281c4e', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '327ecba6bd968e4a24055446a45cdb2fdb51aa7b', class: "col-12" }, h("form-control-text", { key: '13524570e96720e0b2fcdc75e170bd52d77a1f78', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '894c40be08af53aca60a549c12d60e98038b0388', class: "col-12" }, h("form-control-text", { key: 'ed13196ca464b162805bed6bb4c0e1ebbe20f028', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '56aedf85b8c85ba0bda37fa5de223598ab38c950', class: "col-12" }, h("form-control-select", { key: 'c8fdf53bcff9ce6b5caeb5e06f15ff47b1ec633e', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: 'cdb3b5406da9d459fada4e59080bd94bd2d9b621', class: "col-12" }, h("form-control-text", { key: '67c0ca310493470e79866e11959edb91a77883e8', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
43
+ return (h(StyledHost, { key: '8104e81c71bc567bfa5e0375cd33e9faca89d011', exportparts: "label,input,input-invalid" }, h("form", { key: 'c6cc67debae73514e2615f95c2bf864b912a73cb' }, h("fieldset", { key: '9a7c04e44a7428748dad4c303e69a138ddb9101d' }, this.legend && h("legend", { key: '7aff51cff0b829134b99179d05c8184ee434258e' }, this.legend), h("div", { key: '53ed47c893e7f8348a0ab1f637175e7b456e1992', class: "row gy-3" }, h("div", { key: '4b93bf1abd9be0735560cd2db646be68fc1a6916', class: "col-12" }, h("form-control-text", { key: '18f7be54e35cac629a0122b7ff040e424b39dcea', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '5358865082c4158083f0232441255622f339105a', class: "col-12" }, h("form-control-text", { key: '8ba417bede5bde2c6d7a99869caab780e0887b9b', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'ffadcbe419b78f4e96283c3366141e20e2f157d3', class: "col-12" }, h("form-control-text", { key: '14ca2064c4651405c443d75961c8937d7136a95d', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '52cd79784b86d18cc35c80ae5f4006e8e25337f7', class: "col-12" }, h("form-control-text", { key: '741129396330fb3d7e40143391ab3422d648c997', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: 'ec80e7986f8189d4a08df9924d9cbecab512ae3d', class: "col-12" }, h("form-control-select", { key: '0cea8474f7f72ebb2591f48bd85ea4e008f65d94', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '59935a8aaf2b91df9e33c284132ca1372591d797', class: "col-12" }, h("form-control-text", { key: '9316b7c2aec054c251eb9eba7641f239b43f3714', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
43
44
  }
44
45
  static get is() { return "justifi-billing-form"; }
45
46
  static get encapsulation() { return "shadow"; }
46
47
  static get originalStyleUrls() {
47
48
  return {
48
- "$": ["billing-form.scss"]
49
+ "$": ["billing-form.css"]
49
50
  };
50
51
  }
51
52
  static get styleUrls() {
@@ -20,15 +20,14 @@ export class AdditionalQuestionsDetails {
20
20
  return (h(Host, null, h(DetailSectionTitle, { sectionTitle: "Additional Questions" }), h("div", { class: "d-table gap-2 w-100" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Business Revenue", value: (_a = this.additionalQuestions.business_revenue) === null || _a === void 0 ? void 0 : _a.toString() }), h(DetailItem, { title: "Business Payment Volume", value: (_b = this.additionalQuestions.business_payment_volume) === null || _b === void 0 ? void 0 : _b.toString() }))))));
21
21
  }
22
22
  static get is() { return "additional-questions-details"; }
23
- static get encapsulation() { return "shadow"; }
24
23
  static get originalStyleUrls() {
25
24
  return {
26
- "$": ["additional-questions-details.scss"]
25
+ "$": ["../shared-business-details.css"]
27
26
  };
28
27
  }
29
28
  static get styleUrls() {
30
29
  return {
31
- "$": ["additional-questions-details.css"]
30
+ "$": ["../shared-business-details.css"]
32
31
  };
33
32
  }
34
33
  static get properties() {
@@ -1,5 +1,6 @@
1
- import { Host, h } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { ErrorState, LoadingState } from "../details/utils";
3
+ import StyledHost from "../../utils/styled-host/styled-host";
3
4
  var RENDER_STATES;
4
5
  (function (RENDER_STATES) {
5
6
  RENDER_STATES["LOADING"] = "loading";
@@ -38,24 +39,14 @@ export class BusinessDetailsCore {
38
39
  }
39
40
  render() {
40
41
  if (this.renderState === RENDER_STATES.LOADING) {
41
- return h(Host, null, LoadingState());
42
+ return h(StyledHost, null, LoadingState());
42
43
  }
43
44
  if (this.renderState === RENDER_STATES.ERROR) {
44
- return h(Host, null, ErrorState(this.errorMessage));
45
+ return h(StyledHost, null, ErrorState(this.errorMessage));
45
46
  }
46
- return (h(Host, null, h("generic-info-details", { business: this.business }), h("legal-address-details", { legalAddress: this.business.legal_address }), h("representative-details", { representative: this.business.representative }), h("owner-details", { owners: this.business.owners }), h("additional-questions-details", { additionalQuestions: this.business.additional_questions })));
47
+ return (h(StyledHost, null, h("generic-info-details", { business: this.business }), h("legal-address-details", { legalAddress: this.business.legal_address }), h("representative-details", { representative: this.business.representative }), h("owner-details", { owners: this.business.owners }), h("additional-questions-details", { additionalQuestions: this.business.additional_questions })));
47
48
  }
48
49
  static get is() { return "business-details-core"; }
49
- static get originalStyleUrls() {
50
- return {
51
- "$": ["business-details.scss"]
52
- };
53
- }
54
- static get styleUrls() {
55
- return {
56
- "$": ["business-details.css"]
57
- };
58
- }
59
50
  static get properties() {
60
51
  return {
61
52
  "getBusiness": {
@@ -12,15 +12,14 @@ export class GenericInfoDetails {
12
12
  return (h(Host, null, h(DetailSectionTitle, { sectionTitle: "Business Generic Info Details" }), h("div", { class: "d-table gap-2 w-100" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Legal Name", value: (_a = this.business) === null || _a === void 0 ? void 0 : _a.legal_name }), h(DetailItem, { title: "Doing Business As (DBA)", value: (_b = this.business) === null || _b === void 0 ? void 0 : _b.doing_business_as }), h(DetailItem, { title: "Business Classification", value: snakeCaseToHumanReadable((_c = this.business) === null || _c === void 0 ? void 0 : _c.classification) }), h(DetailItem, { title: "Industry", value: (_d = this.business) === null || _d === void 0 ? void 0 : _d.industry })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Tax ID", value: (_e = this.business) === null || _e === void 0 ? void 0 : _e.tax_id }), h(DetailItem, { title: "Website URL", value: (_f = this.business) === null || _f === void 0 ? void 0 : _f.website_url }), h(DetailItem, { title: "Email Address", value: (_g = this.business) === null || _g === void 0 ? void 0 : _g.email }), h(DetailItem, { title: "Phone Number", value: (_h = this.business) === null || _h === void 0 ? void 0 : _h.phone }))))));
13
13
  }
14
14
  static get is() { return "generic-info-details"; }
15
- static get encapsulation() { return "shadow"; }
16
15
  static get originalStyleUrls() {
17
16
  return {
18
- "$": ["generic-info-details.scss"]
17
+ "$": ["../shared-business-details.css"]
19
18
  };
20
19
  }
21
20
  static get styleUrls() {
22
21
  return {
23
- "$": ["generic-info-details.css"]
22
+ "$": ["../shared-business-details.css"]
24
23
  };
25
24
  }
26
25
  static get properties() {
@@ -12,15 +12,14 @@ export class LegalAddressDetails {
12
12
  return (h(Host, null, h(DetailSectionTitle, { sectionTitle: "Business Legal Address Details" }), h("div", { class: "d-table gap-2 w-100" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Country", value: (_a = this.legalAddress) === null || _a === void 0 ? void 0 : _a.country }), h(DetailItem, { title: "Legal Address", value: (_b = this.legalAddress) === null || _b === void 0 ? void 0 : _b.line1 }), h(DetailItem, { title: "Address Line 2", value: (_c = this.legalAddress) === null || _c === void 0 ? void 0 : _c.line2 })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "City", value: (_d = this.legalAddress) === null || _d === void 0 ? void 0 : _d.city }), h(DetailItem, { title: "State", value: (_e = this.legalAddress) === null || _e === void 0 ? void 0 : _e.state }), h(DetailItem, { title: "Postal Code", value: (_g = (_f = this.legalAddress) === null || _f === void 0 ? void 0 : _f.postal_code) === null || _g === void 0 ? void 0 : _g.toString() }))))));
13
13
  }
14
14
  static get is() { return "legal-address-details"; }
15
- static get encapsulation() { return "shadow"; }
16
15
  static get originalStyleUrls() {
17
16
  return {
18
- "$": ["legal-address-details.scss"]
17
+ "$": ["../shared-business-details.css"]
19
18
  };
20
19
  }
21
20
  static get styleUrls() {
22
21
  return {
23
- "$": ["legal-address-details.css"]
22
+ "$": ["../shared-business-details.css"]
24
23
  };
25
24
  }
26
25
  static get properties() {
@@ -18,15 +18,14 @@ export class OwnerDetails {
18
18
  }))));
19
19
  }
20
20
  static get is() { return "owner-details"; }
21
- static get encapsulation() { return "shadow"; }
22
21
  static get originalStyleUrls() {
23
22
  return {
24
- "$": ["owner-details.scss"]
23
+ "$": ["../shared-business-details.css"]
25
24
  };
26
25
  }
27
26
  static get styleUrls() {
28
27
  return {
29
- "$": ["owner-details.css"]
28
+ "$": ["../shared-business-details.css"]
30
29
  };
31
30
  }
32
31
  static get properties() {
@@ -20,15 +20,14 @@ export class JustifiRepresentativeDetails {
20
20
  return (h(Host, null, h(DetailSectionTitle, { sectionTitle: "Representative Details" }), h("div", { class: "d-table gap-2 w-100" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), h(DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), h(DetailItem, { title: "Address", value: (_d = (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1 }), h(DetailItem, { title: "Created At", value: ((_e = this.representative) === null || _e === void 0 ? void 0 : _e.created_at) && formatMediumDate((_f = this.representative) === null || _f === void 0 ? void 0 : _f.created_at) })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Title", value: (_g = this.representative) === null || _g === void 0 ? void 0 : _g.title }), h(DetailItem, { title: "Is Owner?", value: (_h = this.representative) === null || _h === void 0 ? void 0 : _h.is_owner.toString() }), h(DetailItem, { title: "Date Of Birth", value: this.representative && formatMediumDate(new Date(Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_year), Number((_k = this.representative) === null || _k === void 0 ? void 0 : _k.dob_month) - 1, Number((_l = this.representative) === null || _l === void 0 ? void 0 : _l.dob_day))) }), h(DetailItem, { title: "Email", value: (_m = this.representative) === null || _m === void 0 ? void 0 : _m.email }), h(DetailItem, { title: "Phone", value: (_o = this.representative) === null || _o === void 0 ? void 0 : _o.phone }), h(DetailItem, { title: "Updated At", value: this.representative && formatMediumDate((_p = this.representative) === null || _p === void 0 ? void 0 : _p.updated_at) }))))));
21
21
  }
22
22
  static get is() { return "representative-details"; }
23
- static get encapsulation() { return "shadow"; }
24
23
  static get originalStyleUrls() {
25
24
  return {
26
- "$": ["representative-details.scss"]
25
+ "$": ["../shared-business-details.css"]
27
26
  };
28
27
  }
29
28
  static get styleUrls() {
30
29
  return {
31
- "$": ["representative-details.css"]
30
+ "$": ["../shared-business-details.css"]
32
31
  };
33
32
  }
34
33
  static get properties() {
@@ -23,7 +23,7 @@ export class AdditionalQuestions {
23
23
  render() {
24
24
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
25
25
  const additionalQuestionsDefaultValue = this.formController.getInitialValues().additional_questions;
26
- return (h(Host, { key: 'cd9fd951b9e84303a435ea6120c6af7f62771ea0', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '67169db7aaeef558b7b42aa5bf8feb7249b252fc' }, h("legend", { key: '0e07b0796e7524e98a9a03d035a9ef1166a76da1' }, "Additional Questions"), h("hr", { key: 'f807a4735dbad35409d2dac134f2db2163c1b61d' }), h("div", { key: 'c22d89cc083087f017011d983b68ed305b70febf', class: "row gy-3" }, h("div", { key: 'f5053d99a1b9a01c2e5c639ce693c58b1a1fc2db', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '68b390b35ae134cc308c10e4e70d01b8c5ead8c5', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activies?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'd5b6a6eb46c611a1b47295449000a7bb42971dce', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '361133818f775bdaa78fcf4f0f5158c0c8008f16', name: "business_payment_volume", label: "What is the business\u2019 annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '4cabb7ed4d0648b5879977e127e35b50b5109808', class: "col-12" }, h("form-control-select", { key: '7f14c9247787e9e935da49f11c8593954ee65e8a', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: 'd30bf34b649c18bd7ee3acbaf68b9d39cd737877', class: "col-12" }, h("form-control-select", { key: '2157c04509c02559472dc25a318888d289a4b39b', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '46408ae19dc6b6957f3e17012a4b3e5a33139cd4', class: "col-12" }, h("form-control-text", { key: '0856075400d0f3a2da0f8bc9bcc5ed48a37394a2', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: 'cac3babca1b5519f342d9f01f4f1dc17b2ffbef9', class: "col-12" }, h("form-control-select", { key: '9afb98b874d1813f4fed84cccadb8e1be85f8c99', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: '923819af20e080fe8f5297218b2ccbc3caf4ed63', class: "col-12" }, h("form-control-text", { key: 'f305f0ce7ec15f3c5b775ee1aa2ca386f5a38267', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
26
+ return (h(Host, { key: 'cd9fd951b9e84303a435ea6120c6af7f62771ea0', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '67169db7aaeef558b7b42aa5bf8feb7249b252fc' }, h("legend", { key: '0e07b0796e7524e98a9a03d035a9ef1166a76da1' }, "Additional Questions"), h("hr", { key: 'f807a4735dbad35409d2dac134f2db2163c1b61d' }), h("div", { key: 'c22d89cc083087f017011d983b68ed305b70febf', class: "row gy-3" }, h("div", { key: 'f5053d99a1b9a01c2e5c639ce693c58b1a1fc2db', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '34f1986f6c71ea767419b24cf6aaf4a98109b30a', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'c527d560cc82ea78df2b49560349b0dd06622c8e', class: "col-12 col-md-6" }, h("form-control-monetary", { key: 'b3fab39178309431f03f6e6f954fbd764c98e73c', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '7bd162ba9c80f6ad943435a03cdf89f3486424e8', class: "col-12" }, h("form-control-select", { key: 'b9f4414df1e05852bee4988a517139dbf442308a', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: 'b3de6b94ead1b905e6fb37972351c220c676cb1b', class: "col-12" }, h("form-control-select", { key: '069d66fdbed25c1d69cfdb1f2931fcec6bbcf9cf', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: 'da00423ade550ebda7d7b5d8fa2d322c8536c87b', class: "col-12" }, h("form-control-text", { key: 'a52855e1506358bc2f0880a0a85dffa43b230722', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: 'd0605e153c29adb0edac15362e4e4703f8f586ba', class: "col-12" }, h("form-control-select", { key: 'bc502dbf3f40232eb9fb644afe679c4a5884866b', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: '63dd09e3c8af15fe377248121912e313767e93b3', class: "col-12" }, h("form-control-text", { key: '9a20fd45a57e717496b97f4c94b5cf819dc6ff7a', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
27
27
  }
28
28
  static get is() { return "justifi-additional-questions"; }
29
29
  static get properties() {