@justifi/webcomponents 4.17.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 (373) hide show
  1. package/dist/cjs/{Analytics-80336968.js → Analytics-d4aa8c07.js} +1 -1
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +12 -12
  3. package/dist/cjs/business-details-core.cjs.entry.js +6 -9
  4. package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
  5. package/dist/cjs/form-control-checkbox_5.cjs.entry.js +7 -7
  6. package/dist/cjs/form-control-date.cjs.entry.js +43 -0
  7. package/dist/cjs/form-control-error-text_2.cjs.entry.js +36 -0
  8. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  9. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  10. package/dist/cjs/{form-control-date_3.cjs.entry.js → form-control-number-masked_2.cjs.entry.js} +2 -39
  11. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  12. package/dist/cjs/{form-control-error-text_4.cjs.entry.js → form-control-select_2.cjs.entry.js} +1 -31
  13. package/dist/cjs/get-payout-csv-e4e4771a.js +48 -0
  14. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  15. package/dist/cjs/{index-b4498996.js → index-fb499e95.js} +15 -3
  16. package/dist/cjs/{insurance-state-3f044af7.js → insurance-state-80e24caf.js} +1 -1
  17. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +3 -3
  18. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  19. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +6 -5
  20. package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
  21. package/dist/cjs/justifi-business-form.cjs.entry.js +7 -6
  22. package/dist/cjs/justifi-business-list.cjs.entry.js +3 -6
  23. package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
  24. package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -5
  25. package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
  26. package/dist/cjs/justifi-details.cjs.entry.js +4 -7
  27. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
  28. package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +10 -7
  29. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +3 -6
  30. package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
  31. package/dist/cjs/justifi-payment-form.cjs.entry.js +8 -7
  32. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
  33. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +3 -3
  34. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +7 -2
  35. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -8
  36. package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
  37. package/dist/cjs/justifi-payout-details.cjs.entry.js +15 -10
  38. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -12
  39. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +3 -6
  40. package/dist/cjs/justifi-refund-form.cjs.entry.js +4 -3
  41. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +13 -8
  42. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -3
  43. package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
  44. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +4 -7
  45. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +2 -2
  46. package/dist/cjs/justifi-table_2.cjs.entry.js +8 -12
  47. package/dist/cjs/loader.cjs.js +2 -2
  48. package/dist/cjs/{package-7b63c02b.js → package-5fee1ffb.js} +1 -1
  49. package/dist/cjs/{payload-parsers-78445405.js → payload-parsers-1cbc3b57.js} +2 -0
  50. package/dist/cjs/payment-details-core.cjs.entry.js +10 -13
  51. package/dist/cjs/payments-list-core.cjs.entry.js +6 -6
  52. package/dist/cjs/payout-details-core.cjs.entry.js +18 -7
  53. package/dist/cjs/payouts-list-core.cjs.entry.js +28 -7
  54. package/dist/cjs/styled-host-b8bed12a.js +14 -0
  55. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +6 -22
  56. package/dist/cjs/subaccount-bank-details.cjs.entry.js +3 -7
  57. package/dist/cjs/subaccount-terms-details.cjs.entry.js +3 -7
  58. package/dist/cjs/{utils-742da2e3.js → utils-8c3bf659.js} +1 -1
  59. package/dist/cjs/{utils-0c3168ef.js → utils-c1d2e426.js} +1 -1
  60. package/dist/cjs/webcomponents.cjs.js +2 -2
  61. package/dist/collection/api/services/payout.service.js +5 -0
  62. package/dist/collection/assets/download-icon.js +2 -0
  63. package/dist/collection/components/billing-form/billing-form.css +2 -8162
  64. package/dist/collection/components/billing-form/billing-form.js +4 -3
  65. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +2 -3
  66. package/dist/collection/components/business-details/business-details-core.js +5 -14
  67. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +2 -3
  68. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +2 -3
  69. package/dist/collection/components/business-details/owner-details/owner-details.js +2 -3
  70. package/dist/collection/components/business-details/representative-details/representative-details.js +2 -3
  71. package/dist/collection/components/business-details/shared-business-details.css +3 -0
  72. package/dist/collection/components/business-forms/business-form/business-form.css +5 -8768
  73. package/dist/collection/components/business-forms/business-form/business-form.js +4 -3
  74. package/dist/collection/components/business-forms/owner-form/owner-form.js +2 -2
  75. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +14 -2
  76. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.css +4 -9155
  77. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -12
  78. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.css +5 -763
  79. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +2 -2
  80. package/dist/collection/components/business-forms/utils/payload-parsers.js +2 -0
  81. package/dist/collection/components/business-list/business-list.js +3 -12
  82. package/dist/collection/components/checkout/checkout-core.css +3 -8147
  83. package/dist/collection/components/checkout/checkout-core.js +5 -4
  84. package/dist/collection/components/checkout/form-check-input.css +20 -0
  85. package/dist/collection/components/checkout/header.css +4 -0
  86. package/dist/collection/components/checkout/new-payment-method.js +2 -2
  87. package/dist/collection/components/checkout/payment-method-options.css +1 -7088
  88. package/dist/collection/components/checkout/payment-method-options.js +4 -4
  89. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  90. package/dist/collection/components/checkout/saved-payment-method.js +2 -2
  91. package/dist/collection/components/checkout/sezzle-payment-method.js +2 -2
  92. package/dist/collection/components/details/details.js +3 -12
  93. package/dist/collection/components/form/form-control-monetary.js +1 -1
  94. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  95. package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +1 -573
  96. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.css +6 -8183
  97. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +6 -7
  98. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -2
  99. package/dist/collection/components/pagination-menu/pagination-menu.js +3 -14
  100. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +3 -13
  101. package/dist/collection/components/payment-details/payment-details-core.js +9 -18
  102. package/dist/collection/components/payment-form/payment-form.css +3 -2513
  103. package/dist/collection/components/payment-form/payment-form.js +6 -5
  104. package/dist/collection/components/payment-form/payment-method-selector.css +5 -1881
  105. package/dist/collection/components/payment-form/payment-method-selector.js +2 -3
  106. package/dist/collection/components/payments-list/payments-list-core.js +6 -12
  107. package/dist/collection/components/payments-list/payments-list.js +3 -0
  108. package/dist/collection/components/payout-details/get-payout-csv.js +19 -0
  109. package/dist/collection/components/payout-details/payout-details-core.js +37 -12
  110. package/dist/collection/components/payout-details/payout-details.js +11 -4
  111. package/dist/collection/components/payouts-list/payouts-list-core.js +45 -14
  112. package/dist/collection/components/payouts-list/payouts-list.js +14 -6
  113. package/dist/collection/components/proceeds-list/proceeds-list.js +3 -12
  114. package/dist/collection/components/refund-form/refund-form.css +1 -7737
  115. package/dist/collection/components/refund-form/refund-form.js +4 -3
  116. package/dist/collection/components/skeleton/skeleton.css +1 -573
  117. package/dist/collection/components/skeleton/skeleton.js +2 -2
  118. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +1 -12
  119. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +1 -12
  120. package/dist/collection/components/subaccount-details/subaccount-details.js +3 -12
  121. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +1 -12
  122. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +1 -12
  123. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +1 -12
  124. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +1 -12
  125. package/dist/collection/components/subaccounts-list/subaccounts-list.js +1 -1
  126. package/dist/collection/components/table/table.css +0 -8085
  127. package/dist/collection/components/table/table.js +3 -4
  128. package/dist/collection/utils/styled-host/styled-host.js +6 -0
  129. package/dist/docs.json +132 -24
  130. package/dist/esm/{Analytics-c52faca6.js → Analytics-29fac206.js} +1 -1
  131. package/dist/esm/additional-questions-details_5.entry.js +12 -12
  132. package/dist/esm/business-details-core.entry.js +6 -9
  133. package/dist/esm/form-alert_5.entry.js +2 -2
  134. package/dist/esm/form-control-checkbox_5.entry.js +7 -7
  135. package/dist/esm/form-control-date.entry.js +39 -0
  136. package/dist/esm/form-control-error-text_2.entry.js +31 -0
  137. package/dist/esm/form-control-file.entry.js +1 -1
  138. package/dist/esm/form-control-monetary.entry.js +2 -2
  139. package/dist/esm/{form-control-date_3.entry.js → form-control-number-masked_2.entry.js} +3 -39
  140. package/dist/esm/form-control-number.entry.js +1 -1
  141. package/dist/esm/{form-control-error-text_4.entry.js → form-control-select_2.entry.js} +2 -30
  142. package/dist/esm/get-payout-csv-9b4aaada.js +45 -0
  143. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  144. package/dist/esm/{index-4bd1eae9.js → index-57431c24.js} +15 -3
  145. package/dist/esm/{insurance-state-09754ab9.js → insurance-state-8ce01e59.js} +1 -1
  146. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +3 -3
  147. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  148. package/dist/esm/justifi-billing-form_2.entry.js +6 -5
  149. package/dist/esm/justifi-business-details.entry.js +4 -4
  150. package/dist/esm/justifi-business-form.entry.js +7 -6
  151. package/dist/esm/justifi-business-list.entry.js +3 -6
  152. package/dist/esm/justifi-card-form.entry.js +3 -3
  153. package/dist/esm/justifi-checkout-core.entry.js +9 -5
  154. package/dist/esm/justifi-checkout.entry.js +3 -3
  155. package/dist/esm/justifi-details.entry.js +4 -7
  156. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  157. package/dist/esm/justifi-new-payment-method_4.entry.js +10 -7
  158. package/dist/esm/justifi-payment-balance-transactions.entry.js +3 -6
  159. package/dist/esm/justifi-payment-details.entry.js +4 -4
  160. package/dist/esm/justifi-payment-form.entry.js +8 -7
  161. package/dist/esm/justifi-payment-method-form.entry.js +2 -2
  162. package/dist/esm/justifi-payment-method-selector.entry.js +3 -3
  163. package/dist/esm/justifi-payment-provisioning-core.entry.js +7 -2
  164. package/dist/esm/justifi-payment-provisioning.entry.js +4 -8
  165. package/dist/esm/justifi-payments-list.entry.js +4 -4
  166. package/dist/esm/justifi-payout-details.entry.js +14 -9
  167. package/dist/esm/justifi-payouts-list.entry.js +14 -11
  168. package/dist/esm/justifi-proceeds-list.entry.js +3 -6
  169. package/dist/esm/justifi-refund-form.entry.js +4 -3
  170. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +13 -8
  171. package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -3
  172. package/dist/esm/justifi-skeleton.entry.js +3 -3
  173. package/dist/esm/justifi-subaccount-details.entry.js +4 -7
  174. package/dist/esm/justifi-subaccounts-list.entry.js +2 -2
  175. package/dist/esm/justifi-table_2.entry.js +8 -12
  176. package/dist/esm/loader.js +3 -3
  177. package/dist/esm/{package-8ab448a3.js → package-1123f528.js} +1 -1
  178. package/dist/esm/{payload-parsers-57289fc4.js → payload-parsers-acb719d1.js} +2 -0
  179. package/dist/esm/payment-details-core.entry.js +10 -13
  180. package/dist/esm/payments-list-core.entry.js +6 -6
  181. package/dist/esm/payout-details-core.entry.js +18 -7
  182. package/dist/esm/payouts-list-core.entry.js +28 -7
  183. package/dist/esm/styled-host-57aae7fa.js +12 -0
  184. package/dist/esm/subaccount-account-details_4.entry.js +6 -22
  185. package/dist/esm/subaccount-bank-details.entry.js +3 -7
  186. package/dist/esm/subaccount-terms-details.entry.js +3 -7
  187. package/dist/esm/{utils-1e583166.js → utils-56719d07.js} +1 -1
  188. package/dist/esm/{utils-c7b3f21a.js → utils-f4c4ba7d.js} +1 -1
  189. package/dist/esm/webcomponents.js +3 -3
  190. package/dist/module/additional-questions-details2.js +3 -4
  191. package/dist/module/billing-form.js +4 -3
  192. package/dist/module/business-details-core2.js +5 -8
  193. package/dist/module/business-terms-conditions-text.js +2 -2
  194. package/dist/module/checkout-core.js +8 -4
  195. package/dist/module/details.js +3 -6
  196. package/dist/module/form-control-monetary2.js +1 -1
  197. package/dist/module/generic-info-details2.js +3 -4
  198. package/dist/module/get-payout-csv.js +45 -0
  199. package/dist/module/gross-payment-chart-core2.js +2 -2
  200. package/dist/module/justifi-business-form.js +4 -3
  201. package/dist/module/justifi-business-list.js +3 -6
  202. package/dist/module/justifi-payment-balance-transactions.js +4 -8
  203. package/dist/module/justifi-payment-form.js +6 -5
  204. package/dist/module/justifi-payment-provisioning.js +2 -7
  205. package/dist/module/justifi-payments-list.js +19 -1
  206. package/dist/module/justifi-payout-details.js +11 -5
  207. package/dist/module/justifi-payouts-list.js +30 -8
  208. package/dist/module/justifi-proceeds-list.js +3 -6
  209. package/dist/module/justifi-refund-form.js +4 -3
  210. package/dist/module/justifi-season-interruption-insurance.js +1 -2
  211. package/dist/module/justifi-subaccount-details.js +3 -6
  212. package/dist/module/justifi-subaccounts-list.js +1 -1
  213. package/dist/module/legal-address-details2.js +3 -4
  214. package/dist/module/new-payment-method.js +1 -1
  215. package/dist/module/owner-details2.js +3 -4
  216. package/dist/module/owner-form.js +2 -2
  217. package/dist/module/package.js +1 -1
  218. package/dist/module/pagination-menu2.js +4 -9
  219. package/dist/module/payload-parsers.js +2 -0
  220. package/dist/module/payment-details-core2.js +9 -12
  221. package/dist/module/payment-method-options.js +7 -4
  222. package/dist/module/payment-method-selector.js +3 -4
  223. package/dist/module/payment-provisioning-core.js +9 -3
  224. package/dist/module/payments-list-core2.js +25 -7
  225. package/dist/module/payout-details-core2.js +18 -6
  226. package/dist/module/payouts-list-core2.js +48 -8
  227. package/dist/module/representative-details2.js +3 -4
  228. package/dist/module/save-new-payment-method.js +1 -1
  229. package/dist/module/saved-payment-method.js +1 -1
  230. package/dist/module/season-interruption-insurance-core.js +12 -7
  231. package/dist/module/sezzle-payment-method.js +1 -1
  232. package/dist/module/skeleton.js +2 -2
  233. package/dist/module/styled-host.js +12 -0
  234. package/dist/module/subaccount-account-details2.js +2 -7
  235. package/dist/module/subaccount-bank-details.js +2 -7
  236. package/dist/module/subaccount-merchant-details2.js +2 -7
  237. package/dist/module/subaccount-owners-details2.js +2 -7
  238. package/dist/module/subaccount-representative-details2.js +2 -7
  239. package/dist/module/subaccount-terms-details.js +2 -7
  240. package/dist/module/table.js +4 -5
  241. package/dist/types/api/services/payout.service.d.ts +2 -0
  242. package/dist/types/assets/download-icon.d.ts +1 -0
  243. package/dist/types/components/payments-list/payments-list-core.d.ts +1 -0
  244. package/dist/types/components/payments-list/payments-list.d.ts +3 -0
  245. package/dist/types/components/payout-details/get-payout-csv.d.ts +7 -0
  246. package/dist/types/components/payout-details/payout-details-core.d.ts +2 -0
  247. package/dist/types/components/payout-details/payout-details.d.ts +2 -1
  248. package/dist/types/components/payouts-list/payouts-list-core.d.ts +3 -0
  249. package/dist/types/components/payouts-list/payouts-list.d.ts +5 -1
  250. package/dist/types/components.d.ts +28 -0
  251. package/dist/types/utils/styled-host/styled-host.d.ts +3 -0
  252. package/dist/webcomponents/{p-edb605b3.js → p-092e080c.js} +1 -1
  253. package/dist/webcomponents/p-09affce4.entry.js +1 -0
  254. package/dist/webcomponents/p-0a4a9ccd.entry.js +1 -0
  255. package/dist/webcomponents/{p-5309e887.entry.js → p-0dca0770.entry.js} +1 -1
  256. package/dist/webcomponents/{p-95c18035.entry.js → p-0e4a54c8.entry.js} +1 -1
  257. package/dist/webcomponents/p-0ed3c1d2.entry.js +1 -0
  258. package/dist/webcomponents/p-10b57ac6.entry.js +1 -0
  259. package/dist/webcomponents/p-1737f6bf.entry.js +1 -0
  260. package/dist/webcomponents/{p-84b3cead.entry.js → p-2244e679.entry.js} +1 -1
  261. package/dist/webcomponents/p-2306d44d.entry.js +1 -0
  262. package/dist/webcomponents/{p-f7b6dcc4.js → p-2338affa.js} +1 -1
  263. package/dist/webcomponents/{p-0a09edbb.entry.js → p-2af3672b.entry.js} +1 -1
  264. package/dist/webcomponents/p-3294856b.entry.js +1 -0
  265. package/dist/webcomponents/p-3514b616.entry.js +1 -0
  266. package/dist/webcomponents/p-390157c9.entry.js +1 -0
  267. package/dist/webcomponents/p-412c7a22.entry.js +1 -0
  268. package/dist/webcomponents/p-464e4dfe.entry.js +1 -0
  269. package/dist/webcomponents/p-49b8e112.js +1 -0
  270. package/dist/webcomponents/{p-c69713c2.entry.js → p-4b9587ec.entry.js} +1 -1
  271. package/dist/webcomponents/p-531d873a.entry.js +1 -0
  272. package/dist/webcomponents/p-54287db6.entry.js +1 -0
  273. package/dist/webcomponents/p-547a2cd0.entry.js +1 -0
  274. package/dist/webcomponents/p-571d7f1a.entry.js +1 -0
  275. package/dist/webcomponents/p-5963bcdc.entry.js +1 -0
  276. package/dist/webcomponents/p-5b1451e7.entry.js +1 -0
  277. package/dist/webcomponents/{p-e7915927.entry.js → p-66758365.entry.js} +1 -1
  278. package/dist/webcomponents/{p-b7d9d9fa.js → p-667a5aa8.js} +1 -1
  279. package/dist/webcomponents/p-67e497aa.entry.js +1 -0
  280. package/dist/webcomponents/{p-0575daac.js → p-68fd8283.js} +1 -1
  281. package/dist/webcomponents/p-6bcf621a.entry.js +1 -0
  282. package/dist/webcomponents/p-6bd5d569.entry.js +1 -0
  283. package/dist/webcomponents/p-76180bb4.entry.js +1 -0
  284. package/dist/webcomponents/p-77dc159c.entry.js +1 -0
  285. package/dist/webcomponents/{p-a34c28af.entry.js → p-7a346c0b.entry.js} +1 -1
  286. package/dist/webcomponents/p-7d6aba64.entry.js +1 -0
  287. package/dist/webcomponents/p-81d3eda6.entry.js +1 -0
  288. package/dist/webcomponents/p-85fc69e5.js +1 -0
  289. package/dist/webcomponents/p-87932e16.js +1 -0
  290. package/dist/webcomponents/p-88c7ef46.entry.js +1 -0
  291. package/dist/webcomponents/p-8cc7a418.entry.js +1 -0
  292. package/dist/webcomponents/p-8dd22c8d.entry.js +1 -0
  293. package/dist/webcomponents/p-959b478a.entry.js +19 -0
  294. package/dist/webcomponents/{p-fcf42299.entry.js → p-9631b768.entry.js} +1 -1
  295. package/dist/webcomponents/p-9e7c3231.entry.js +1 -0
  296. package/dist/webcomponents/{p-c2d6a5e2.entry.js → p-bb32b91c.entry.js} +1 -1
  297. package/dist/webcomponents/p-bbc18b9f.entry.js +1 -0
  298. package/dist/webcomponents/p-cb9ee476.entry.js +1 -0
  299. package/dist/webcomponents/p-d083a342.entry.js +1 -0
  300. package/dist/webcomponents/{p-1c60004a.entry.js → p-d5612f35.entry.js} +1 -1
  301. package/dist/webcomponents/p-debeefbb.entry.js +1 -0
  302. package/dist/webcomponents/{p-9936c393.entry.js → p-df38dd21.entry.js} +1 -1
  303. package/dist/webcomponents/p-e0bcfdb5.entry.js +1 -0
  304. package/dist/webcomponents/{p-cb68e8fa.js → p-e1651130.js} +1 -1
  305. package/dist/webcomponents/p-e46929a1.entry.js +1 -0
  306. package/dist/webcomponents/{p-6006e085.entry.js → p-e85ef4af.entry.js} +1 -1
  307. package/dist/webcomponents/p-ea7c77a3.entry.js +1 -0
  308. package/dist/webcomponents/{p-a90a6703.entry.js → p-f3555f0b.entry.js} +1 -1
  309. package/dist/webcomponents/p-fad19d75.js +2 -0
  310. package/dist/webcomponents/webcomponents.css +1 -1
  311. package/dist/webcomponents/webcomponents.esm.js +1 -1
  312. package/package.json +1 -1
  313. package/dist/cjs/payout.service-eec372aa.js +0 -22
  314. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.css +0 -7348
  315. package/dist/collection/components/business-details/business-details.css +0 -6446
  316. package/dist/collection/components/business-details/generic-info-details/generic-info-details.css +0 -7348
  317. package/dist/collection/components/business-details/legal-address-details/legal-address-details.css +0 -7348
  318. package/dist/collection/components/business-details/owner-details/owner-details.css +0 -7348
  319. package/dist/collection/components/business-details/representative-details/representative-details.css +0 -7348
  320. package/dist/collection/components/business-list/business-list.css +0 -579
  321. package/dist/collection/components/details/details.css +0 -7993
  322. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.css +0 -0
  323. package/dist/collection/components/payment-details/payment-details.css +0 -7993
  324. package/dist/collection/components/payments-list/payments-list.css +0 -579
  325. package/dist/collection/components/payout-details/payout-details.css +0 -7993
  326. package/dist/collection/components/payouts-list/payouts-list.css +0 -579
  327. package/dist/collection/components/proceeds-list/proceeds-list.css +0 -579
  328. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.css +0 -7352
  329. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.css +0 -7352
  330. package/dist/collection/components/subaccount-details/subaccount-details.css +0 -7993
  331. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.css +0 -7352
  332. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.css +0 -7352
  333. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.css +0 -7352
  334. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.css +0 -7352
  335. package/dist/esm/payout.service-28b9594f.js +0 -20
  336. package/dist/module/payout.service.js +0 -20
  337. package/dist/webcomponents/p-00de4ae0.entry.js +0 -1
  338. package/dist/webcomponents/p-015ba24e.entry.js +0 -1
  339. package/dist/webcomponents/p-023fe908.entry.js +0 -1
  340. package/dist/webcomponents/p-0fc18c89.entry.js +0 -1
  341. package/dist/webcomponents/p-100cb35c.entry.js +0 -1
  342. package/dist/webcomponents/p-189dee9f.entry.js +0 -1
  343. package/dist/webcomponents/p-30a7bebc.entry.js +0 -19
  344. package/dist/webcomponents/p-378bb067.entry.js +0 -1
  345. package/dist/webcomponents/p-404d7c56.entry.js +0 -1
  346. package/dist/webcomponents/p-43326623.entry.js +0 -1
  347. package/dist/webcomponents/p-4c5f9260.entry.js +0 -1
  348. package/dist/webcomponents/p-61e486ad.entry.js +0 -1
  349. package/dist/webcomponents/p-64d1aeb8.entry.js +0 -1
  350. package/dist/webcomponents/p-68f3a7b0.entry.js +0 -1
  351. package/dist/webcomponents/p-738049aa.entry.js +0 -1
  352. package/dist/webcomponents/p-739f1e09.entry.js +0 -1
  353. package/dist/webcomponents/p-7f77d91f.entry.js +0 -1
  354. package/dist/webcomponents/p-8805d083.entry.js +0 -1
  355. package/dist/webcomponents/p-95c8c313.entry.js +0 -1
  356. package/dist/webcomponents/p-97220d5b.entry.js +0 -1
  357. package/dist/webcomponents/p-98985c7d.entry.js +0 -1
  358. package/dist/webcomponents/p-9d03464e.entry.js +0 -1
  359. package/dist/webcomponents/p-a63a6fb9.js +0 -2
  360. package/dist/webcomponents/p-a6477232.entry.js +0 -1
  361. package/dist/webcomponents/p-b1a24d24.entry.js +0 -1
  362. package/dist/webcomponents/p-b27d2ce1.entry.js +0 -1
  363. package/dist/webcomponents/p-be049573.entry.js +0 -1
  364. package/dist/webcomponents/p-bfe69314.entry.js +0 -1
  365. package/dist/webcomponents/p-c8c08fe3.js +0 -1
  366. package/dist/webcomponents/p-ca39c89f.js +0 -1
  367. package/dist/webcomponents/p-d779f2f2.entry.js +0 -1
  368. package/dist/webcomponents/p-da313a7e.entry.js +0 -1
  369. package/dist/webcomponents/p-e04f7070.entry.js +0 -1
  370. package/dist/webcomponents/p-eb142b8a.entry.js +0 -1
  371. package/dist/webcomponents/p-efe744ce.entry.js +0 -1
  372. package/dist/webcomponents/p-f6858597.entry.js +0 -1
  373. package/dist/webcomponents/p-f68cf935.entry.js +0 -1
@@ -1,6 +1,7 @@
1
- import { h, Host } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { formatCurrency } from "../../../utils/utils";
3
3
  import { insuranceValues, insuranceErrors, validateInsuranceValues } from "../insurance-state";
4
+ import StyledHost from "../../../utils/styled-host/styled-host";
4
5
  export class SeasonInterruptionInsuranceCore {
5
6
  constructor() {
6
7
  this.checkoutId = undefined;
@@ -25,9 +26,7 @@ export class SeasonInterruptionInsuranceCore {
25
26
  return validateInsuranceValues();
26
27
  }
27
28
  componentWillLoad() {
28
- console.log('### componentWillLoad');
29
29
  if (this.getQuote) {
30
- console.log('### fetching data');
31
30
  this.fetchData();
32
31
  }
33
32
  }
@@ -97,19 +96,19 @@ export class SeasonInterruptionInsuranceCore {
97
96
  }
98
97
  render() {
99
98
  var _a, _b, _c, _d;
100
- return (h(Host, { key: '639f1c1451fb4e790fe510345e7260975b67a393' }, !this.isLoading &&
101
- h("div", { key: '1d72430a8ce8407c9ff2be3ee10dd37e9055adc5' }, h("h2", { key: '68f9f7044f586240699fadbb98b662947a78ae78', class: "fs-5 fw-bold pb-3 jfi-header" }, (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title), h("small", { key: '0cdc4d3cec9dd78c1700c96dcb91913f3ec5bffb', innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description }), h("div", { key: 'ea84def1c420f63217686d8f1c1ab745b2e11225' }, h("input", { key: '72399093d1caaaadb0f2889fa257b45b98cca4cf', id: "accept", type: "radio", name: "opt-in", value: "true", onChange: (event) => this.onChangeHandler(event), class: this.error ? 'form-check-input me-2 is-invalid' : 'form-check-input me-2' }), h("label", { key: 'c3fea13863a81a0ca666c67cd44e80a2cc734cad', htmlFor: "accept", class: "btn btn-outline-primary jfi-btn-radio-label" }, "Accept coverage for ", formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents))), h("div", { key: '4e22ffbf216eeefdb57c6fdc013aa7ce7c4bf6c8' }, h("input", { key: '33ea76c2f7393e8a7d6aa55d890fa393e7253a68', id: "decline", type: "radio", name: "opt-in", value: "false", onChange: (event) => this.onChangeHandler(event), class: this.error ? 'form-check-input me-2 is-invalid' : 'form-check-input me-2' }), h("label", { key: '1193479577bd98c5e02053c190d300e976f8c880', htmlFor: "decline", class: "btn btn-outline-primary jfi-btn-radio-label" }, "Decline coverage")), h("div", { key: '05a9e01a2853a9d94df220b98afd7c310c3f5ebc', class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' } }, "Please select an option"), h("small", { key: 'dd328e16d7584ccb5e36743fb059bbeb7e2d5b14', innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer }))));
99
+ return (h(StyledHost, { key: '0be38bd7c1f08be48d5347a3a0362ea3871d41bc' }, !this.isLoading &&
100
+ h("div", { key: '277a315ceba771959b1133b7cfc734e1d000325a' }, h("h2", { key: '34e5984345ec9300ca13327340b474f596c8b378', class: "fs-5 fw-bold pb-3 jfi-header" }, (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title), h("small", { key: 'c428d4a485e449d1b7dc0eb7fe586d3927d4ea3f', innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description }), h("div", { key: '8c55f87d401c2f438de4725cf6023ebd6d2e0276' }, h("input", { key: '6c0a57e4de37607948de68d41afbe24639ca59dd', id: "accept", type: "radio", name: "opt-in", value: "true", onChange: (event) => this.onChangeHandler(event), class: this.error ? 'form-check-input me-2 is-invalid' : 'form-check-input me-2' }), h("label", { key: 'aaede6dee33658ba36a14b2bcaf2c6a2320e4c2f', htmlFor: "accept" }, "Accept coverage for ", formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents))), h("div", { key: '839e12e3f207b0ce32788f5da81b097ae80d55bf', class: "mb-2" }, h("input", { key: '15bafd8a8ad1601d2c69eed86ff6a2256fb79959', id: "decline", type: "radio", name: "opt-in", value: "false", onChange: (event) => this.onChangeHandler(event), class: this.error ? 'form-check-input me-2 is-invalid' : 'form-check-input me-2' }), h("label", { key: '00b328473f2a44bed3e22f7746dc83596e449008', htmlFor: "decline" }, "Decline coverage")), h("div", { key: '48e00af5825cd476329b591a906afa818bedc6d4', class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' } }, "Please select an option"), h("small", { key: '4196d6073a8d0e96ed3de4bcb8a77acd4241a5ab', innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer }))));
102
101
  }
103
102
  static get is() { return "justifi-season-interruption-insurance-core"; }
104
103
  static get encapsulation() { return "shadow"; }
105
104
  static get originalStyleUrls() {
106
105
  return {
107
- "$": ["season-interruption-insurance-core.scss"]
106
+ "$": ["season-interruption-insurance-core.css", "../../checkout/form-check-input.css", "../../checkout/header.css"]
108
107
  };
109
108
  }
110
109
  static get styleUrls() {
111
110
  return {
112
- "$": ["season-interruption-insurance-core.css"]
111
+ "$": ["season-interruption-insurance-core.css", "../../checkout/form-check-input.css", "../../checkout/header.css"]
113
112
  };
114
113
  }
115
114
  static get properties() {
@@ -25,7 +25,6 @@ export class SeasonInterruptionInsurance {
25
25
  return this.seasonInterruptionCoreRef.validate();
26
26
  }
27
27
  componentWillLoad() {
28
- console.log('### componentWillLoad ins season interruption');
29
28
  this.initializeServiceMethods();
30
29
  }
31
30
  initializeServiceMethods() {
@@ -47,7 +46,7 @@ export class SeasonInterruptionInsurance {
47
46
  });
48
47
  }
49
48
  render() {
50
- return (h("justifi-season-interruption-insurance-core", { key: 'fc932dc338e0fe28348d3cb24701d46315199ea1', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
49
+ return (h("justifi-season-interruption-insurance-core", { key: '8401ef19ea5bf566b9ef3f678382271173332421', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
51
50
  }
52
51
  static get is() { return "justifi-season-interruption-insurance"; }
53
52
  static get encapsulation() { return "shadow"; }
@@ -6,26 +6,15 @@ export class PaginationMenu {
6
6
  this.params = {};
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: '62a40b19e7bbff01d8fea8ae5fbe5f1012738bd8', exportparts: `page-arrow,page-button,page-button-disabled,page-button-text` }, h("nav", { key: 'c438f649a6653cc2828b1e537ef30b29e16282e2', "aria-label": "Table pagination", class: "d-flex justify-content-end gap-3" }, h("ul", { key: '66861f47d96322616cc62ae928779e4330406218', class: "pagination m-0" }, h("li", { key: '78806f5a6e3413a22d47689fa80a02bf35f48d15', class: `page-item ${this.paging.has_previous ? '' : ' disabled'}` }, h("a", { key: '1474a484905df0849aed63c4e83945901fe4d962', href: "#", class: "page-link", onClick: (e) => {
9
+ return (h(Host, { key: 'e0211a01fc44ec29eec8085f31055c060f77f56f', exportparts: `page-arrow,page-button,page-button-disabled,page-button-text` }, h("nav", { key: '191b1603b6cc559d3ef0cf45a37074e41513ea5a', "aria-label": "Table pagination", class: "d-flex justify-content-end gap-3" }, h("ul", { key: '775613b2ce03a1bc6a8abf5c918d099e13ac06d2', class: "pagination m-0" }, h("li", { key: 'cf7fef25e80e446688f31f13236c3e71a1378aef', class: `page-item ${this.paging.has_previous ? '' : ' disabled'}` }, h("a", { key: 'bb671bda6ab5f6921d34c7fdf5b33a62bc076154', href: "#", class: "page-link", onClick: (e) => {
10
10
  e.preventDefault();
11
11
  this.paging.handleClickPrevious(this.paging.start_cursor);
12
- }, part: `page-button${this.paging.has_previous ? '' : ' page-button-disabled'}` }, h("span", { key: 'c5dad043936ad6815bcfc1d7855a5edbcc1a9753', class: "me-1", part: "page-arrow" }, "\u00AB"), h("span", { key: '1cb11a6470b14f355e45b115f72be1bec8ba9f5e', part: "page-button-text" }, "Previous"))), h("li", { key: 'b44e95865be4005de0a84f4685bba5da4be5e071', class: `page-item ${this.paging.has_next ? '' : ' disabled'}` }, h("a", { key: '9e3757a4fb8b282bbf1167e28d4a5940a60feeb7', href: "#", class: "page-link", onClick: (e) => {
12
+ }, part: `page-button${this.paging.has_previous ? '' : ' page-button-disabled'}` }, h("span", { key: 'da88de236d134f950a48d9a1d2ebf70742e80788', class: "me-1", part: "page-arrow" }, "\u00AB"), h("span", { key: '9ae148f746d5d04fcaf4981b0f1aa3d7fc1b509d', part: "page-button-text" }, "Previous"))), h("li", { key: '7340b9d89574c9c95b15fd50f3444aacdbb4c496', class: `page-item ${this.paging.has_next ? '' : ' disabled'}` }, h("a", { key: '827e68669eeb7b83a28185312108adde796a331e', href: "#", class: "page-link", onClick: (e) => {
13
13
  e.preventDefault();
14
14
  this.paging.handleClickNext(this.paging.end_cursor);
15
- }, part: `page-button${this.paging.has_next ? '' : ' page-button-disabled'}` }, h("span", { key: '448bd361bb8af168152fa59e7cb633b8ffa25087', part: "page-button-text" }, "Next"), h("span", { key: '2aa556fac6d716c40abf0a049d752e7bccafbf58', class: "ms-1", part: "page-arrow" }, "\u00BB")))))));
15
+ }, part: `page-button${this.paging.has_next ? '' : ' page-button-disabled'}` }, h("span", { key: '29ce5f0e9ae4b19d3116ac6bd883c52168c5fbb8', part: "page-button-text" }, "Next"), h("span", { key: '2d58cffc46031c9db1ad7c4b061730bc083dded8', class: "ms-1", part: "page-arrow" }, "\u00BB")))))));
16
16
  }
17
17
  static get is() { return "pagination-menu"; }
18
- static get encapsulation() { return "shadow"; }
19
- static get originalStyleUrls() {
20
- return {
21
- "$": ["../table/table.scss"]
22
- };
23
- }
24
- static get styleUrls() {
25
- return {
26
- "$": ["../table/table.css"]
27
- };
28
- }
29
18
  static get properties() {
30
19
  return {
31
20
  "paging": {
@@ -1,7 +1,8 @@
1
- import { Host, h } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { Api, PaymentBalanceTransaction, pagingDefaults, } from "../../api";
3
3
  import { formatCurrency, formatDate, formatTime, snakeCaseToHumanReadable, } from "../../utils/utils";
4
4
  import { config } from "../../../config";
5
+ import StyledHost from "../../utils/styled-host/styled-host";
5
6
  export class PaymentBalanceTransactions {
6
7
  constructor() {
7
8
  this.handleClickPrevious = (beforeCursor) => {
@@ -51,7 +52,7 @@ export class PaymentBalanceTransactions {
51
52
  this.loading = false;
52
53
  }
53
54
  render() {
54
- return (h(Host, { key: 'b1280a1b4c01852333d7f7786c441556b2be7704' }, h("justifi-table", { key: 'eecf276d17dcf70cb6b52a1756d5699e90b11ea8', columnData: [
55
+ return (h(StyledHost, { key: 'ec76a5bb9d5222491facd9bea6bf5f3c404bb5c4' }, h("justifi-table", { key: 'bfecb9c52a10750e01b2cc82dd5d558cf4e83081', columnData: [
55
56
  ['Processed On', 'The date each transaction occurred'],
56
57
  ['Type', 'The type of each transaction'],
57
58
  ['ID', 'The unique identifier of each transaction'],
@@ -69,17 +70,6 @@ export class PaymentBalanceTransactions {
69
70
  ]), loading: this.loading, "error-message": this.errorMessage, params: this.params, paging: Object.assign(Object.assign({}, this.paging), { handleClickNext: this.handleClickNext, handleClickPrevious: this.handleClickPrevious }) })));
70
71
  }
71
72
  static get is() { return "justifi-payment-balance-transactions"; }
72
- static get encapsulation() { return "shadow"; }
73
- static get originalStyleUrls() {
74
- return {
75
- "$": ["payment-balance-transactions.scss"]
76
- };
77
- }
78
- static get styleUrls() {
79
- return {
80
- "$": ["payment-balance-transactions.css"]
81
- };
82
- }
83
73
  static get properties() {
84
74
  return {
85
75
  "accountId": {
@@ -1,6 +1,7 @@
1
- import { Host, h } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { MapPaymentStatusToBadge, formatCurrency, formatDate, formatTime, snakeCaseToHumanReadable } from "../../utils/utils";
3
3
  import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadInfoItem, ErrorState, LoadingState } from "../details/utils";
4
+ import StyledHost from "../../utils/styled-host/styled-host";
4
5
  export class PaymentDetailsCore {
5
6
  constructor() {
6
7
  this.getPaymentDetails = undefined;
@@ -37,26 +38,16 @@ export class PaymentDetailsCore {
37
38
  }
38
39
  render() {
39
40
  var _a;
40
- return (h(Host, { key: 'bd8ae58c2bdc531eaf600ee1496cd7c83e08e65e' }, this.loading && LoadingState(), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
41
- this.payment && (h("justifi-details", { key: '63b8181d5ee4bf0de531ce03db9246ed6ae0fb0a', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '8081e264446dad39ddfc047f532ee6c14132b479', slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPaymentStatusToBadge(this.payment.status) }), title: `${formatCurrency(this.payment.amount)} ${(_a = this.payment) === null || _a === void 0 ? void 0 : _a.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: '9dff116d0a3d458cded839834c1709082064c59b', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '8e3cf65ddc5200d9c53acee5c612512f82313439', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'e290ebaee2819eb9028b59dbd8999aa9aa1f633a', title: "ID", value: this.payment.id })), h("div", { key: '9450cfae9e007c9ee51e5afdfe528ddde0b0f20c', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'aa7e4d50f0e5f9c018c6b992b37c72d77bdc13c5', sectionTitle: "Details" }), h("div", { key: '427c2d09562f414f4addc4be7a888c737974aa4e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '56d1a94073dfd1d188c2ffaae3a04718c49ba7e4', title: "Amount", value: formatCurrency(this.payment.amount) }), h(DetailItem, { key: 'a43806e99a08c291b0d9549c1e190be3f1ab859e', title: "Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: '1aac77568d812bfc0c59dbe32de7057c91e84c77', title: "Refunded", value: formatCurrency(this.payment.amount_refunded) }), h(DetailItem, { key: 'b872e82bc21f8861420a88acaa17fcf21242f8cc', title: "Net", value: formatCurrency(this.payment.balance) }), h(DetailItem, { key: '4938fd45955e365069699f02520315e2ca644141', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: 'df86a116579d10f6fb881d7aa6b5df09e0fbbb3f', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '9cdda05db1f2fd2de06efb49dcd91cc04a4bcd6f', title: "Processing Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: 'e85406a153ab40873a32ce80d915b4985bd265ec', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '5d73dfa6965e6f10c2cce84538e8ff6652267525', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
42
- h(DetailSectionTitle, { key: 'bd668c1a85d1b70e13ea72f2aa1ce507900b8282', sectionTitle: "Payment Method" }),
43
- h("div", { key: '5d48d49397c47b72ebad7acccce02fe8668a036b', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'f126c5c16e80236e14daf9cf08cec9f87e90b0c3', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '6c067dc28b2927f4154da58aaedc020458c865a9', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'a270e68e938e00bfbb0ff8ceeb7146b5067c14a8', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '9fb53acc8b99e50e7a512fa6386251e30218bfd2', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'fedeaed5473baabd39571bf4ae85811e5ee6b7a1', title: "Cardholder", value: this.payment.payment_method.payersName }))
41
+ return (h(StyledHost, { key: 'b0a4e021ebaf00cf1750c7d40510aa9754bc622b' }, this.loading && LoadingState(), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
42
+ this.payment && (h("justifi-details", { key: '5b7858536120f8a1d3016f1f110f51e6b8605f3e', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '93db7fd2d30fb1ef0099e58fd6d90e703f921c44', slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPaymentStatusToBadge(this.payment.status) }), title: `${formatCurrency(this.payment.amount)} ${(_a = this.payment) === null || _a === void 0 ? void 0 : _a.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: '6c1b97d494b92618092710986ff6cbfb4c183cad', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '1ef1fe7899d47959bb3ce8dbe511222cc69185ef', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'd0a12d9abfc6d4c71249af65cef35902554cc3a7', title: "ID", value: this.payment.id })), h("div", { key: 'b12d205fb50d310525045261967a383e93458cb3', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'cdcae0f279389849946017963762c9a1294204ee', sectionTitle: "Details" }), h("div", { key: '91693665801878a7b87729412a10469dac21130d', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'c58427d3a5543caa9f83fe62dca71612c92a200e', title: "Amount", value: formatCurrency(this.payment.amount) }), h(DetailItem, { key: 'd6a0b3df90839ad1fdd34058f3582482a9eb1b20', title: "Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: '6c08a4a3bcc7d6bf726959b451e3231598d7e920', title: "Refunded", value: formatCurrency(this.payment.amount_refunded) }), h(DetailItem, { key: '4d2d8d897cd0d5a4be06b44741cf85366eebe9af', title: "Net", value: formatCurrency(this.payment.balance) }), h(DetailItem, { key: 'b3df303d6c12b1327b3f20245c3c50657eb422f8', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '6a535b4f0c91fb37077e09912e4fa3c1d333db48', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '982514de79780e97b0aa3f120d7fcc11b51301ac', title: "Processing Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: '967e82d6fe2bcf55110e6881811d38af9ea63c17', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'bee37b7e5b7c22f0ec596104097c1408284c5ac1', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
43
+ h(DetailSectionTitle, { key: 'da950a7706cf51aa72eeff3faedfb00fa824075f', sectionTitle: "Payment Method" }),
44
+ h("div", { key: 'c8ab64e8f0021fcfe4ce5e7a9bac9d867e3aa650', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '70ebccad09e67f53b13673d1f2d19c6438053ac5', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '1cbdb8b281b70a600568d7b82499084695c6a48a', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'd9696130b92a28560d2a437996d53d3ba6df39ec', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'e93b235819d5b6386ea6f6283f21da7442fd4661', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '9ba28b4b099b775cc4f77cff13c74295b12fdfd4', title: "Cardholder", value: this.payment.payment_method.payersName }))
44
45
  ], this.payment.payment_method.bank_account && [
45
- h(DetailSectionTitle, { key: 'a7f9afc09d110fb8bb9eb7b186d853502691cd18', sectionTitle: "Payment Method" }),
46
- h("div", { key: '11cc2b588e33d76994daac92e7ed38c410e73354', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '9eae0589fac515298613ad8eaf63733de0f87df8', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '15e1c30ff5dd7f47739f93bb7e55cb3d01dbe874', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '7b8694aec9a33412cc923039f4f5c2dd6c8e3582', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'cc4ea781cb71b7bad5ab8070c23b8a7613785ec6', title: "Account Owner", value: this.payment.payment_method.payersName }))
47
- ], h(DetailSectionTitle, { key: '32d72a16d74b4f2c86375ee441ad3c37649a8dd4', sectionTitle: 'Metadata' }), h("div", { key: 'f8ba0111eb568c65c3c7f2c980dea5dbaa29feea', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'b687420b7b51d0254bf08f423ce661fbf1805d36', metadata: this.payment.metadata })))))));
46
+ h(DetailSectionTitle, { key: '4f046825e2eeef87ddb614b6eca623fca187b0d3', sectionTitle: "Payment Method" }),
47
+ h("div", { key: 'b8a01fdd5596adafa252b4fd67df2e30c2e34990', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'dcd3c8418ebd465812c1dd1fb9b5559ce79e2855', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '86246e11c8c494beb3f2571650f8d78e33b8dbae', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'd3cd7eec7d55ae90d0fd4bc55fad73add0d6d88c', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '43d7a0b7e37172da32aff94fe01877a32491fba8', title: "Account Owner", value: this.payment.payment_method.payersName }))
48
+ ], h(DetailSectionTitle, { key: 'd59695a94c44c10615020313be585c0e69374e1c', sectionTitle: 'Metadata' }), h("div", { key: '984dd0d2d0bd5c816dd7098b4e8eebf19e2ebf70', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'b2d8cf824ae9aba9d714e688fddbf14a8fdd92d6', metadata: this.payment.metadata })))))));
48
49
  }
49
50
  static get is() { return "payment-details-core"; }
50
- static get originalStyleUrls() {
51
- return {
52
- "$": ["payment-details.scss"]
53
- };
54
- }
55
- static get styleUrls() {
56
- return {
57
- "$": ["payment-details.css"]
58
- };
59
- }
60
51
  static get properties() {
61
52
  return {
62
53
  "getPaymentDetails": {