@justifi/webcomponents 5.7.0 → 5.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (515) hide show
  1. package/dist/cjs/{ApiNew-C8nf_gS9.js → Api-Dp4CW5K6.js} +1 -1
  2. package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
  3. package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-TZnRz3-3.js} +1 -1
  4. package/dist/cjs/{Payment-CQCmj3Ck.js → Document-Qt0qiXeh.js} +58 -1
  5. package/dist/cjs/{Refund-CpurRc4w.js → Refund-BDFOEJv_.js} +2 -1
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +12 -13
  7. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -10
  8. package/dist/cjs/bank-account-form_9.cjs.entry.js +35 -25
  9. package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-JlysTRE3.js} +1 -1
  10. package/dist/cjs/business-details-core.cjs.entry.js +1 -2
  11. package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
  12. package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BksYFWls.js} +1 -1
  13. package/dist/cjs/{business.service-yVtplFhh.js → business.service-DMIMZpx4.js} +9 -2
  14. package/dist/cjs/{check-pkg-version-BYKcQDik.js → check-pkg-version-hqYwYpQq.js} +13 -3
  15. package/dist/cjs/{checkout.service-Dd2AbBn2.js → checkout.service-DKH8NODe.js} +9 -2
  16. package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -8
  17. package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-Cj2iSB_P.js} +1 -1
  18. package/dist/cjs/custom-popper_4.cjs.entry.js +4 -4
  19. package/dist/cjs/{dispute.service-C0J-Wh-Y.js → dispute.service-8j6tLV4i.js} +9 -2
  20. package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
  21. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  22. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  23. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  24. package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
  25. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  27. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  28. package/dist/cjs/{get-business-DHg5rpse.js → get-business-BJrtsomz.js} +1 -1
  29. package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-MM1u5jMc.js} +8 -6
  30. package/dist/cjs/{get-subaccounts-CquZS5kP.js → get-subaccounts-CkjWYxIU.js} +9 -7
  31. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  32. package/dist/cjs/iframe-input.cjs.entry.js +4 -4
  33. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -11
  34. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -15
  35. package/dist/cjs/justifi-business-details.cjs.entry.js +22 -10
  36. package/dist/cjs/justifi-business-form.cjs.entry.js +19 -18
  37. package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
  38. package/dist/cjs/justifi-checkout.cjs.entry.js +18 -8
  39. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -7
  40. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +20 -16
  41. package/dist/cjs/justifi-details.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-dispute-management.cjs.entry.js +15 -7
  43. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +17 -7
  44. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +19 -10
  45. package/dist/cjs/justifi-order-terminals.cjs.entry.js +20 -16
  46. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -8
  47. package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -11
  48. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +18 -8
  49. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +18 -14
  50. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
  51. package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -15
  52. package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -12
  53. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +18 -14
  54. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -15
  56. package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -14
  57. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -2
  58. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +20 -23
  59. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -8
  60. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +21 -14
  61. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -7
  62. package/dist/cjs/justifi-terminals-list.cjs.entry.js +19 -15
  63. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +19 -13
  64. package/dist/cjs/loader.cjs.js +1 -1
  65. package/dist/cjs/{package-CX6Njc5t.js → package-BCOEGxFC.js} +1 -1
  66. package/dist/cjs/payment-details-core.cjs.entry.js +10 -10
  67. package/dist/cjs/{payment.service-BvTU2Orj.js → payment.service-CCxGhTwZ.js} +9 -2
  68. package/dist/cjs/payments-list-core.cjs.entry.js +12 -9
  69. package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-BR97ybd6.js} +1 -1
  70. package/dist/cjs/payout-details-core.cjs.entry.js +5 -5
  71. package/dist/cjs/{payout.service-C99pgxvg.js → payout.service-CtphIhUK.js} +9 -2
  72. package/dist/cjs/payouts-list-core.cjs.entry.js +12 -9
  73. package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-DMcQiC1g.js} +1 -1
  74. package/dist/cjs/{schema-validations-p4OCdblz.js → schema-validations-BUor-ySb.js} +6 -7
  75. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +12 -9
  76. package/dist/cjs/{terminal-orders-table-BeeUTKtj.js → terminal-orders-table-D-CLcZws.js} +7 -5
  77. package/dist/cjs/{terminal.service-DEGcoaCb.js → terminal.service-Dv_WJkue.js} +9 -2
  78. package/dist/cjs/terminals-list-core.cjs.entry.js +12 -9
  79. package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-BEJ6sF7w.js} +1 -1
  80. package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
  81. package/dist/cjs/webcomponents.cjs.js +1 -1
  82. package/dist/collection/api/Analytics.js +3 -0
  83. package/dist/collection/api/Api.js +23 -12
  84. package/dist/collection/api/Business.js +3 -1
  85. package/dist/collection/api/Payment.js +1 -0
  86. package/dist/collection/api/Payout.js +1 -0
  87. package/dist/collection/api/index.js +5 -1
  88. package/dist/collection/api/services/analytics.service.js +1 -1
  89. package/dist/collection/api/services/business.service.js +1 -1
  90. package/dist/collection/api/services/checkout.service.js +1 -1
  91. package/dist/collection/api/services/dispute.service.js +1 -1
  92. package/dist/collection/api/services/insurance.service.js +5 -8
  93. package/dist/collection/api/services/payment.service.js +1 -1
  94. package/dist/collection/api/services/payout.service.js +1 -1
  95. package/dist/collection/api/services/provision.service.js +1 -1
  96. package/dist/collection/api/services/refund.service.js +1 -1
  97. package/dist/collection/api/services/reports.service.js +3 -3
  98. package/dist/collection/api/services/subaccounts.service.js +1 -1
  99. package/dist/collection/api/services/terminal.service.js +1 -1
  100. package/dist/collection/api/services/terminal_orders.service.js +1 -1
  101. package/dist/collection/collection-manifest.json +1 -1
  102. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
  103. package/dist/collection/components/business-details/business-details-core.js +1 -2
  104. package/dist/collection/components/business-details/business-details.js +13 -4
  105. package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
  106. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
  107. package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
  108. package/dist/collection/components/business-forms/business-form/business-form.js +3 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
  110. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -4
  111. package/dist/collection/components/business-forms/schemas/schema-validations.js +6 -7
  112. package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
  113. package/dist/collection/components/checkout/checkout.js +5 -3
  114. package/dist/collection/components/checkout/new-payment-method.js +17 -6
  115. package/dist/collection/components/checkout/payment-method-options.js +4 -5
  116. package/dist/collection/components/checkouts-list/checkouts-list.js +4 -2
  117. package/dist/collection/components/dispute-management/dispute-management.js +3 -2
  118. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
  119. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
  120. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
  121. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
  122. package/dist/collection/components/order-terminals/order-terminals.js +6 -1
  123. package/dist/collection/components/payment-details/payment-details-core.js +9 -8
  124. package/dist/collection/components/payment-details/payment-details.js +2 -1
  125. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +4 -2
  126. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  127. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  128. package/dist/collection/components/payments-list/payments-list.js +4 -2
  129. package/dist/collection/components/payout-details/payout-details-core.js +4 -3
  130. package/dist/collection/components/payout-details/payout-details.js +3 -1
  131. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +4 -2
  132. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  133. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  134. package/dist/collection/components/payouts-list/payouts-list.js +4 -2
  135. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  136. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  137. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -1
  138. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  139. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  140. package/dist/collection/components/terminals-list/terminals-list.js +4 -2
  141. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +9 -5
  142. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  143. package/dist/collection/ui-components/details/details.js +2 -2
  144. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  145. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  146. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  147. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  148. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  149. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  150. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  151. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  152. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  153. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  154. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  155. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  156. package/dist/collection/utils/utils.js +3 -0
  157. package/dist/docs.json +85 -78
  158. package/dist/esm/{ApiNew-KYhsw8Nv.js → Api-cgKcLG0y.js} +1 -1
  159. package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
  160. package/dist/esm/{Checkout-Dfpql997.js → Checkout-B9LrTq63.js} +1 -1
  161. package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
  162. package/dist/esm/{Payment-BADkZFaz.js → Document-DvWsQBM6.js} +58 -3
  163. package/dist/esm/{Refund-DOvd7RJp.js → Refund-zZewCvey.js} +2 -1
  164. package/dist/esm/additional-questions-details_5.entry.js +12 -13
  165. package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -10
  166. package/dist/esm/bank-account-form_9.entry.js +28 -18
  167. package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-CBUm3D7O.js} +1 -1
  168. package/dist/esm/business-details-core.entry.js +1 -2
  169. package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
  170. package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-CntGz8jo.js} +1 -1
  171. package/dist/esm/{business.service-_645Z23O.js → business.service-BWivPbyO.js} +8 -1
  172. package/dist/esm/{check-pkg-version-Dh7UNmHL.js → check-pkg-version-BykGn7tx.js} +12 -2
  173. package/dist/esm/{checkout.service-7FGjq0rO.js → checkout.service-Bh-Q24Cr.js} +8 -1
  174. package/dist/esm/checkouts-list-core.entry.js +11 -8
  175. package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-DcVkD83l.js} +1 -1
  176. package/dist/esm/custom-popper_4.entry.js +4 -4
  177. package/dist/esm/{dispute.service-lJlAFuE6.js → dispute.service-1AYcALSg.js} +8 -1
  178. package/dist/esm/form-alert_5.entry.js +2 -2
  179. package/dist/esm/form-control-checkbox.entry.js +2 -2
  180. package/dist/esm/form-control-date.entry.js +2 -2
  181. package/dist/esm/form-control-file-v2_2.entry.js +3 -3
  182. package/dist/esm/form-control-monetary.entry.js +3 -3
  183. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  184. package/dist/esm/form-control-number.entry.js +2 -2
  185. package/dist/esm/form-control-radio.entry.js +2 -2
  186. package/dist/esm/{get-business-CIKToQur.js → get-business-GEPTefIj.js} +1 -1
  187. package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-DXhXxFPr.js} +7 -5
  188. package/dist/esm/{get-subaccounts-DIJtLFsb.js → get-subaccounts-CtHj1UM6.js} +8 -6
  189. package/dist/esm/gross-payment-chart-core.entry.js +1 -1
  190. package/dist/esm/iframe-input.entry.js +4 -4
  191. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -11
  192. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +13 -15
  193. package/dist/esm/justifi-business-details.entry.js +23 -11
  194. package/dist/esm/justifi-business-form.entry.js +19 -18
  195. package/dist/esm/justifi-checkout-core.entry.js +2 -2
  196. package/dist/esm/justifi-checkout.entry.js +18 -8
  197. package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -7
  198. package/dist/esm/justifi-checkouts-list.entry.js +20 -16
  199. package/dist/esm/justifi-details.entry.js +2 -2
  200. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  201. package/dist/esm/justifi-dispute-management.entry.js +16 -8
  202. package/dist/esm/justifi-dispute-notification_3.entry.js +17 -7
  203. package/dist/esm/justifi-gross-payment-chart.entry.js +19 -10
  204. package/dist/esm/justifi-order-terminals.entry.js +20 -16
  205. package/dist/esm/justifi-owner-form_3.entry.js +12 -8
  206. package/dist/esm/justifi-payment-details.entry.js +15 -12
  207. package/dist/esm/justifi-payment-provisioning.entry.js +17 -7
  208. package/dist/esm/justifi-payment-transactions-list.entry.js +18 -14
  209. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  210. package/dist/esm/justifi-payments-list.entry.js +18 -14
  211. package/dist/esm/justifi-payout-details.entry.js +16 -12
  212. package/dist/esm/justifi-payout-transactions-list.entry.js +18 -14
  213. package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
  214. package/dist/esm/justifi-payouts-list.entry.js +19 -15
  215. package/dist/esm/justifi-refund-payment.entry.js +15 -13
  216. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -2
  217. package/dist/esm/justifi-season-interruption-insurance.entry.js +20 -23
  218. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -8
  219. package/dist/esm/justifi-terminal-orders-list.entry.js +20 -13
  220. package/dist/esm/justifi-terminals-list-filters.entry.js +10 -7
  221. package/dist/esm/justifi-terminals-list.entry.js +19 -15
  222. package/dist/esm/justifi-tokenize-payment-method.entry.js +19 -13
  223. package/dist/esm/loader.js +1 -1
  224. package/dist/esm/{package-DLLK41AX.js → package-BjMTOtI1.js} +1 -1
  225. package/dist/esm/payment-details-core.entry.js +10 -10
  226. package/dist/esm/{payment.service-DdCJ1Dc7.js → payment.service-2afJc31y.js} +8 -1
  227. package/dist/esm/payments-list-core.entry.js +12 -9
  228. package/dist/esm/{payments-table-BBf5fV74.js → payments-table-B8316Kqz.js} +1 -1
  229. package/dist/esm/payout-details-core.entry.js +5 -5
  230. package/dist/esm/{payout.service-G1Isezyi.js → payout.service-Bd8Tc7-Q.js} +8 -1
  231. package/dist/esm/payouts-list-core.entry.js +12 -9
  232. package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-Ip10eH4Q.js} +1 -1
  233. package/dist/esm/{schema-validations-BsbYeDDR.js → schema-validations-C7D5tPzq.js} +6 -7
  234. package/dist/esm/terminal-orders-list-core.entry.js +12 -9
  235. package/dist/esm/{terminal-orders-table-BlT9YrFD.js → terminal-orders-table-CCJT7oq4.js} +7 -5
  236. package/dist/esm/{terminal.service-aFe-O3PC.js → terminal.service-8kwGru35.js} +8 -1
  237. package/dist/esm/terminals-list-core.entry.js +12 -9
  238. package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-cMkKUVff.js} +1 -1
  239. package/dist/esm/{utils-BWcTxbSg.js → utils-DB5fh6Iv.js} +3 -0
  240. package/dist/esm/webcomponents.js +1 -1
  241. package/dist/module/Api.js +23 -11
  242. package/dist/module/Business.js +3 -1
  243. package/dist/module/Checkout.js +22 -2
  244. package/dist/module/Payment.js +59 -3
  245. package/dist/module/Refund.js +2 -1
  246. package/dist/module/additional-questions-details2.js +3 -4
  247. package/dist/module/bank-account-document-inputs.js +2 -1
  248. package/dist/module/billing-form.js +4 -3
  249. package/dist/module/business-additional-questions-form-step.js +1 -1
  250. package/dist/module/business-bank-account-form-step-core.js +2 -2
  251. package/dist/module/business-bank-account-form-step.js +3 -2
  252. package/dist/module/business-core-info-form-step.js +1 -1
  253. package/dist/module/business-details-core2.js +11 -7
  254. package/dist/module/business-documents-on-file2.js +1 -1
  255. package/dist/module/business-owners-form-step.js +1 -1
  256. package/dist/module/business-representative-form-step.js +1 -1
  257. package/dist/module/business-terms-conditions-form-step.js +6 -7
  258. package/dist/module/business.service.js +7 -1
  259. package/dist/module/check-pkg-version.js +10 -1
  260. package/dist/module/checkout-core.js +2 -3
  261. package/dist/module/checkout.service.js +7 -1
  262. package/dist/module/checkouts-list-core2.js +3 -2
  263. package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
  264. package/dist/module/core-info-details.js +6 -0
  265. package/dist/module/core-info-details2.js +34 -0
  266. package/dist/module/custom-popper2.js +2 -2
  267. package/dist/module/details.js +2 -2
  268. package/dist/module/dispute-management-core.js +1 -1
  269. package/dist/module/dispute-notification.js +1 -1
  270. package/dist/module/dispute-response-actions.js +7 -2
  271. package/dist/module/dispute-response.js +5 -3
  272. package/dist/module/form-control-checkbox2.js +2 -2
  273. package/dist/module/form-control-date2.js +2 -2
  274. package/dist/module/form-control-file-v22.js +1 -1
  275. package/dist/module/form-control-file2.js +2 -2
  276. package/dist/module/form-control-monetary2.js +3 -3
  277. package/dist/module/form-control-number-masked2.js +2 -2
  278. package/dist/module/form-control-number.js +2 -2
  279. package/dist/module/form-control-radio2.js +2 -2
  280. package/dist/module/form-control-text2.js +2 -2
  281. package/dist/module/form-control-textarea2.js +2 -2
  282. package/dist/module/get-business.js +1 -1
  283. package/dist/module/get-payment-details.js +4 -3
  284. package/dist/module/get-payout-csv.js +1 -1
  285. package/dist/module/get-subaccounts.js +5 -4
  286. package/dist/module/gross-payment-chart-core2.js +1 -1
  287. package/dist/module/hidden-input2.js +1 -1
  288. package/dist/module/iframe-input2.js +3 -3
  289. package/dist/module/justifi-business-details.js +24 -11
  290. package/dist/module/justifi-business-form.js +5 -3
  291. package/dist/module/justifi-checkout.js +6 -4
  292. package/dist/module/justifi-checkouts-list-filters.js +3 -2
  293. package/dist/module/justifi-checkouts-list.js +7 -4
  294. package/dist/module/justifi-dispute-management.js +5 -4
  295. package/dist/module/justifi-gross-payment-chart.js +11 -4
  296. package/dist/module/justifi-order-terminals.js +8 -3
  297. package/dist/module/justifi-payment-details.js +3 -2
  298. package/dist/module/justifi-payment-provisioning.js +11 -4
  299. package/dist/module/justifi-payment-transactions-list.js +7 -4
  300. package/dist/module/justifi-payments-list-filters.js +2 -2
  301. package/dist/module/justifi-payments-list.js +8 -5
  302. package/dist/module/justifi-payout-details.js +6 -3
  303. package/dist/module/justifi-payout-transactions-list.js +7 -5
  304. package/dist/module/justifi-payouts-list-filters.js +2 -2
  305. package/dist/module/justifi-payouts-list.js +7 -4
  306. package/dist/module/justifi-refund-payment.js +5 -4
  307. package/dist/module/justifi-season-interruption-insurance.js +10 -14
  308. package/dist/module/justifi-terminal-orders-list-filters.js +4 -3
  309. package/dist/module/justifi-terminal-orders-list.js +10 -4
  310. package/dist/module/justifi-terminals-list-filters.js +3 -2
  311. package/dist/module/justifi-terminals-list.js +7 -4
  312. package/dist/module/justifi-tokenize-payment-method.js +10 -5
  313. package/dist/module/legal-address-details2.js +3 -3
  314. package/dist/module/legal-address-form-step.js +1 -1
  315. package/dist/module/new-payment-method.js +15 -4
  316. package/dist/module/owner-details2.js +1 -1
  317. package/dist/module/package.js +1 -1
  318. package/dist/module/payment-details-core2.js +10 -9
  319. package/dist/module/payment-method-options.js +2 -3
  320. package/dist/module/payment-provisioning-actions.js +1 -1
  321. package/dist/module/payment-provisioning-core.js +1 -1
  322. package/dist/module/payment.service.js +7 -1
  323. package/dist/module/payments-list-core2.js +3 -2
  324. package/dist/module/payout-details-core2.js +5 -4
  325. package/dist/module/payout.service.js +7 -1
  326. package/dist/module/payouts-list-core2.js +4 -3
  327. package/dist/module/representative-details2.js +4 -4
  328. package/dist/module/schema-validations.js +4 -5
  329. package/dist/module/season-interruption-insurance-core.js +6 -3
  330. package/dist/module/sezzle-payment-method.js +1 -1
  331. package/dist/module/terminal-orders-list-core2.js +3 -2
  332. package/dist/module/terminal.service.js +7 -1
  333. package/dist/module/terminals-list-core2.js +3 -2
  334. package/dist/module/utils2.js +4 -1
  335. package/dist/module/utils4.js +1 -1
  336. package/dist/types/api/Api.d.ts +41 -35
  337. package/dist/types/api/Payment.d.ts +2 -0
  338. package/dist/types/api/Payout.d.ts +2 -0
  339. package/dist/types/api/index.d.ts +5 -1
  340. package/dist/types/api/services/business.service.d.ts +1 -5
  341. package/dist/types/api/services/dispute.service.d.ts +1 -2
  342. package/dist/types/api/services/payout.service.d.ts +1 -2
  343. package/dist/types/api/services/provision.service.d.ts +1 -1
  344. package/dist/types/api/services/reports.service.d.ts +1 -2
  345. package/dist/types/api/services/subaccounts.service.d.ts +1 -2
  346. package/dist/types/components/business-details/business-details.d.ts +1 -0
  347. package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
  348. package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
  349. package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
  350. package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
  351. package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
  352. package/dist/types/components/order-terminals/order-terminals.d.ts +1 -0
  353. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
  354. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -0
  355. package/dist/types/components.d.ts +21 -21
  356. package/dist/types/utils/utils.d.ts +1 -1
  357. package/dist/webcomponents/p-10d41e17.entry.js +1 -0
  358. package/dist/webcomponents/{p-b2192f8b.entry.js → p-1678e9e3.entry.js} +1 -1
  359. package/dist/webcomponents/p-16d29d0b.entry.js +1 -0
  360. package/dist/webcomponents/{p-8224e3c2.entry.js → p-19b9c96a.entry.js} +1 -1
  361. package/dist/webcomponents/p-22a0b397.entry.js +1 -0
  362. package/dist/webcomponents/p-292da2d4.entry.js +1 -0
  363. package/dist/webcomponents/p-2c7ae3ac.entry.js +1 -0
  364. package/dist/webcomponents/p-2c8d7aa9.entry.js +1 -0
  365. package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
  366. package/dist/webcomponents/p-33b23638.entry.js +1 -0
  367. package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
  368. package/dist/webcomponents/p-40f7e3af.entry.js +1 -0
  369. package/dist/webcomponents/p-4680f931.entry.js +1 -0
  370. package/dist/webcomponents/p-4a070b7a.entry.js +1 -0
  371. package/dist/webcomponents/p-4b51a896.entry.js +1 -0
  372. package/dist/webcomponents/p-4f8b9b99.entry.js +1 -0
  373. package/dist/webcomponents/p-57c89023.entry.js +1 -0
  374. package/dist/webcomponents/p-57fc593a.entry.js +1 -0
  375. package/dist/webcomponents/{p-9c1a79c5.entry.js → p-59abf1de.entry.js} +1 -1
  376. package/dist/webcomponents/p-5d81f36e.entry.js +1 -0
  377. package/dist/webcomponents/p-5df5aa41.entry.js +1 -0
  378. package/dist/webcomponents/p-70c498d4.entry.js +1 -0
  379. package/dist/webcomponents/p-722c5e42.entry.js +1 -0
  380. package/dist/webcomponents/{p-d2dc6f22.entry.js → p-758ce5e5.entry.js} +4 -4
  381. package/dist/webcomponents/p-77896e7b.entry.js +1 -0
  382. package/dist/webcomponents/p-77ac321c.entry.js +1 -0
  383. package/dist/webcomponents/p-7d3cf734.entry.js +1 -0
  384. package/dist/webcomponents/p-8183c2d1.entry.js +1 -0
  385. package/dist/webcomponents/p-8ad67f87.entry.js +1 -0
  386. package/dist/webcomponents/p-8c107267.entry.js +1 -0
  387. package/dist/webcomponents/{p-32345016.entry.js → p-935bbc62.entry.js} +1 -1
  388. package/dist/webcomponents/p-93df56e1.entry.js +1 -0
  389. package/dist/webcomponents/p-99b080d9.entry.js +1 -0
  390. package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
  391. package/dist/webcomponents/p-BR7flk4G.js +1 -0
  392. package/dist/webcomponents/p-BjMTOtI1.js +1 -0
  393. package/dist/webcomponents/p-Bk4gk-f7.js +1 -0
  394. package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
  395. package/dist/webcomponents/{p-CpTwq2jw.js → p-BnE7qgLh.js} +1 -1
  396. package/dist/webcomponents/{p-d-_oUZor.js → p-C1sOJl-_.js} +1 -1
  397. package/dist/webcomponents/p-COcul8pX.js +1 -0
  398. package/dist/webcomponents/p-CaGOSFHG.js +1 -0
  399. package/dist/webcomponents/p-Cm_0sqXz.js +1 -0
  400. package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
  401. package/dist/webcomponents/p-Cx60eQXT.js +1 -0
  402. package/dist/webcomponents/{p-OSmuQKbK.js → p-D2ZiLcDE.js} +1 -1
  403. package/dist/webcomponents/p-DClC2nMO.js +1 -0
  404. package/dist/webcomponents/p-DR89sFne.js +1 -0
  405. package/dist/webcomponents/{p-ByRPlUBS.js → p-DnB1x5JE.js} +1 -1
  406. package/dist/webcomponents/p-DvhDilDP.js +1 -0
  407. package/dist/webcomponents/{p-BjB_yKBJ.js → p-DzFysjCc.js} +1 -1
  408. package/dist/webcomponents/{p-DvHZ2jYI.js → p-HBDBB6lL.js} +1 -1
  409. package/dist/webcomponents/p-_pH3Hg4P.js +1 -0
  410. package/dist/webcomponents/p-a0662195.entry.js +1 -0
  411. package/dist/webcomponents/{p-82515f70.entry.js → p-a136ff22.entry.js} +1 -1
  412. package/dist/webcomponents/p-a33cfcfe.entry.js +1 -0
  413. package/dist/webcomponents/p-a6722f44.entry.js +1 -0
  414. package/dist/webcomponents/{p-9dae8152.entry.js → p-a8119fda.entry.js} +1 -1
  415. package/dist/webcomponents/p-a94952f6.entry.js +1 -0
  416. package/dist/webcomponents/p-abdae97a.entry.js +1 -0
  417. package/dist/webcomponents/p-af09b6ee.entry.js +1 -0
  418. package/dist/webcomponents/p-b0d3aab7.entry.js +1 -0
  419. package/dist/webcomponents/p-b1586aa2.entry.js +1 -0
  420. package/dist/webcomponents/p-c01544c3.entry.js +1 -0
  421. package/dist/webcomponents/p-c3c7be24.entry.js +1 -0
  422. package/dist/webcomponents/p-c5628e09.entry.js +1 -0
  423. package/dist/webcomponents/p-c5b6b76f.entry.js +1 -0
  424. package/dist/webcomponents/p-c6490254.entry.js +1 -0
  425. package/dist/webcomponents/p-ceefc483.entry.js +1 -0
  426. package/dist/webcomponents/p-clwP6zk3.js +1 -0
  427. package/dist/webcomponents/{p-774eee26.entry.js → p-d8b8b17c.entry.js} +1 -1
  428. package/dist/webcomponents/p-e2bfdba5.entry.js +1 -0
  429. package/dist/webcomponents/p-e73fe424.entry.js +1 -0
  430. package/dist/webcomponents/{p-CegkOiUz.js → p-eHhqPyVW.js} +1 -1
  431. package/dist/webcomponents/p-f23d4fdb.entry.js +1 -0
  432. package/dist/webcomponents/p-ffd197c2.entry.js +1 -0
  433. package/dist/webcomponents/p-gZGxqQgQ.js +1 -0
  434. package/dist/webcomponents/p-l3uWWMRW.js +1 -0
  435. package/dist/webcomponents/p-r__elyG4.js +1 -0
  436. package/dist/webcomponents/{p-82kiZkHt.js → p-uSM1EMk-.js} +1 -1
  437. package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
  438. package/dist/webcomponents/webcomponents.esm.js +1 -1
  439. package/package.json +1 -1
  440. package/dist/cjs/Api-KMweahmp.js +0 -74
  441. package/dist/cjs/Document-rXGBUaOh.js +0 -58
  442. package/dist/collection/api/ApiNew.js +0 -82
  443. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
  444. package/dist/esm/Api-C9CDE-UM.js +0 -72
  445. package/dist/esm/Document-Ct-uNz2r.js +0 -55
  446. package/dist/module/ApiNew.js +0 -84
  447. package/dist/module/ComponentError.js +0 -21
  448. package/dist/module/Dispute.js +0 -57
  449. package/dist/module/generic-info-details.js +0 -6
  450. package/dist/module/generic-info-details2.js +0 -34
  451. package/dist/types/api/ApiNew.d.ts +0 -61
  452. package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
  453. package/dist/webcomponents/p-05138b5d.entry.js +0 -1
  454. package/dist/webcomponents/p-0661622e.entry.js +0 -1
  455. package/dist/webcomponents/p-0a4abfba.entry.js +0 -1
  456. package/dist/webcomponents/p-0d73af88.entry.js +0 -1
  457. package/dist/webcomponents/p-107fdd99.entry.js +0 -1
  458. package/dist/webcomponents/p-12ea3a21.entry.js +0 -1
  459. package/dist/webcomponents/p-13a56c04.entry.js +0 -1
  460. package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
  461. package/dist/webcomponents/p-2ce8e7ac.entry.js +0 -1
  462. package/dist/webcomponents/p-357e1077.entry.js +0 -1
  463. package/dist/webcomponents/p-3a691b9a.entry.js +0 -1
  464. package/dist/webcomponents/p-3adEM48l.js +0 -1
  465. package/dist/webcomponents/p-3bb94f41.entry.js +0 -1
  466. package/dist/webcomponents/p-460eae73.entry.js +0 -1
  467. package/dist/webcomponents/p-48d84a6f.entry.js +0 -1
  468. package/dist/webcomponents/p-4a3ee65c.entry.js +0 -1
  469. package/dist/webcomponents/p-58f415f4.entry.js +0 -1
  470. package/dist/webcomponents/p-5ff7f253.entry.js +0 -1
  471. package/dist/webcomponents/p-6334c2bc.entry.js +0 -1
  472. package/dist/webcomponents/p-6780e07e.entry.js +0 -1
  473. package/dist/webcomponents/p-6a3a8a7a.entry.js +0 -1
  474. package/dist/webcomponents/p-76d1a604.entry.js +0 -1
  475. package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
  476. package/dist/webcomponents/p-833576ca.entry.js +0 -1
  477. package/dist/webcomponents/p-83d4ac72.entry.js +0 -1
  478. package/dist/webcomponents/p-AVaenhw9.js +0 -1
  479. package/dist/webcomponents/p-B1ubyLhU.js +0 -1
  480. package/dist/webcomponents/p-BBsCnePk.js +0 -1
  481. package/dist/webcomponents/p-BHbsXXRt.js +0 -1
  482. package/dist/webcomponents/p-Bxs6fi7a.js +0 -1
  483. package/dist/webcomponents/p-C0piBrye.js +0 -1
  484. package/dist/webcomponents/p-CkrVt-dj.js +0 -1
  485. package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
  486. package/dist/webcomponents/p-Cy4aIACq.js +0 -1
  487. package/dist/webcomponents/p-D5Sh88BE.js +0 -1
  488. package/dist/webcomponents/p-DLLK41AX.js +0 -1
  489. package/dist/webcomponents/p-Da_GeglS.js +0 -1
  490. package/dist/webcomponents/p-Dgxn_B6C.js +0 -1
  491. package/dist/webcomponents/p-DmIOVniD.js +0 -1
  492. package/dist/webcomponents/p-DqOTECuf.js +0 -1
  493. package/dist/webcomponents/p-Dz-Ft5b1.js +0 -1
  494. package/dist/webcomponents/p-a5af8397.entry.js +0 -1
  495. package/dist/webcomponents/p-a61f9b3c.entry.js +0 -1
  496. package/dist/webcomponents/p-a6fb7730.entry.js +0 -1
  497. package/dist/webcomponents/p-aTcDcUMZ.js +0 -1
  498. package/dist/webcomponents/p-aa954ce9.entry.js +0 -1
  499. package/dist/webcomponents/p-ac4ac963.entry.js +0 -1
  500. package/dist/webcomponents/p-ae7c6b81.entry.js +0 -1
  501. package/dist/webcomponents/p-ae8c3dab.entry.js +0 -1
  502. package/dist/webcomponents/p-afa54e39.entry.js +0 -1
  503. package/dist/webcomponents/p-b061c21c.entry.js +0 -1
  504. package/dist/webcomponents/p-b4d857b2.entry.js +0 -1
  505. package/dist/webcomponents/p-bb45705e.entry.js +0 -1
  506. package/dist/webcomponents/p-c2f3d7da.entry.js +0 -1
  507. package/dist/webcomponents/p-c7227fc1.entry.js +0 -1
  508. package/dist/webcomponents/p-c8f70818.entry.js +0 -1
  509. package/dist/webcomponents/p-c9288f47.entry.js +0 -1
  510. package/dist/webcomponents/p-d1a440e3.entry.js +0 -1
  511. package/dist/webcomponents/p-dd89c516.entry.js +0 -1
  512. package/dist/webcomponents/p-e39b5ffd.entry.js +0 -1
  513. package/dist/webcomponents/p-e5d35016.entry.js +0 -1
  514. package/dist/webcomponents/p-ebd7753d.entry.js +0 -1
  515. package/dist/webcomponents/p-ec47b7c8.entry.js +0 -1
@@ -1,11 +1,12 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import './config-state.js';
2
3
  import { h as convertToLocal } from './utils2.js';
3
- import './ComponentError.js';
4
4
  import './Checkout.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
8
  import './Document.js';
9
+ import './Business.js';
9
10
  import './details.js';
10
11
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
11
12
  import { T as TableClickActions } from './event-types.js';
@@ -118,7 +119,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
118
119
  return !this.showEmptyState && !this.showErrorState && !this.loading;
119
120
  }
120
121
  render() {
121
- return (h(TableWrapper, { key: '1317635730164f2193e9556589c1c8584b70cfbb' }, h(TableComponent, { key: '98f458d904f17105aa7f6fde313487fa1af08034' }, h(TableHead, { key: 'a70f53dc6484a001d51f2c937e9696ad4ea68d2c' }, h(TableHeadRow, { key: '93a807d6627175ff4030fc4de8e067809486b274' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '4051081286f20f72d3e34f2484ada5413327b608' }, h(TableLoadingState, { key: 'e94bc4c5d2d4f2a24ee8ec906aa936ad0d497b84', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'be3fe38c674d7a587f77d91c4133d39359954135', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '55bb4161c9677940b78badbbc2a621e29404e213', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '23e336810c59ab014b4a11fa5f9f087db2de9fa1' }, h(TableFootRow, { key: '848eb4d2cfd643472de22f6cd86d9a7121acdca6' }, h(TableFootCell, { key: 'b0c325d98775e1784173d45375018d94f8fc71cc', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'b61510a421ed0fcf54ff3b3318bc8b80db18c6b1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
122
+ return (h(TableWrapper, { key: 'ebc89e8b55258a1442edad51d5238b8734aa345e' }, h(TableComponent, { key: 'b90635548604f5d486a38421e5228c61ec47c033' }, h(TableHead, { key: '3106e6ac62fc9df004a8dc1c4fa6b07763ec9d7a' }, h(TableHeadRow, { key: '68c7767762899d3ee229835d93eb9221c8b097e9' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '5ffee99d7437590c48f766d5bde24385ea31fdc5' }, h(TableLoadingState, { key: '4170ce391f84c65286f358d4e1c03f67c2f9ffcc', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '8f47428d403e763179e071756582065351fa7c63', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '5857f210589dd16232338ad39897ecd4581dc7db', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '1cb054a34b99150f33cf1a008a64451e85af4700' }, h(TableFootRow, { key: 'd203e8a928713108cbfbde297ed18bf60cd5cb8e' }, h(TableFootCell, { key: '710c8b5915f08f14892a04c16ac069039804b4f9', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'f9f40a23e8bcbce6adf93f66e2a97f15f91f4f15', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
122
123
  }
123
124
  static get watchers() { return {
124
125
  "pagingParams": ["updateOnPropChange"],
@@ -1,5 +1,5 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
- import { b as formatDate, e as formatTime } from './utils2.js';
2
+ import { a as formatDate, e as formatTime } from './utils2.js';
3
3
  import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.js';
4
4
  import { B as Button } from './button.js';
5
5
  import { S as StyledHost } from './styled-host.js';
@@ -7,6 +7,7 @@ import { d as defineCustomElement$1 } from './details.js';
7
7
  import './event-types.js';
8
8
  import { M as MapPayoutStatusToBadge } from './payouts-status.js';
9
9
  import { S as Skeleton } from './skeleton.js';
10
+ import { B as Badge, a as BadgeVariant } from './badge.js';
10
11
 
11
12
  const PayoutDetailsLoading = () => (h("div", { class: "row gap-3" },
12
13
  h("div", { class: "col-12" },
@@ -72,9 +73,9 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
72
73
  }
73
74
  render() {
74
75
  var _a;
75
- return (h(StyledHost, { key: '62711161d74a4d4e76ea5dba50cdf658722ba3a5' }, this.loading && h(PayoutDetailsLoading, { key: '170bf58456fb93c687a9e5b71e364ed6d54ec965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'eafc4215df8ecba2f3e767e91df54a67c48e0e69', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '849a324f0d5f545e502c1632a5af30da3f6caf74', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'ae0b4f158d3baf397880061f6fe25916ca870ac6', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '2e2f16f8c1e2f5b34fe986a311be4ae084d385ab', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '724abe3799d1a1c8f9a54130af715a2057218510', title: "ID", value: this.payout.id }), h("div", { key: '7ac70b4b6eee073384e223b01304d0ad0aaf0a64', class: "m-4" }, h(Button, { key: 'fc78f5a3b14e58aa3861592e81bc60c155d520e3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '9ebede365566df145b3412b24d255e1b90740541', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '71cfc2676e1ac51b44de391547589fafb5189266', sectionTitle: "Details" }), h("div", { key: 'cba9946a2406c577d3b190cfbfe4b1eeaa27001e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1af9837addfc6fd3829fac3df8376958b7dbfbc7', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'f54690ff4578b7383feadd6420b14df1c79d398b', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '5013c67ee0ac8bd9495209fb5854a36665317d84', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '41cd7f0989ff44be01d78475e03486b2fb158911', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '6f047db81aae911ed4553fecda7baacdc5ff9209', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'b342e899b13489045a82051e563ff56c027107e8', sectionTitle: "Account" }), h("div", { key: '709be895334d0a4963ceeb762ac6e66a5a603d07', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1e14ae8f0b329038ee2aea938be0ab4c1d2c35c9', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '54ef8f31b5dd0698d50efe617db9fbdb8a2088eb', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '3cbe4043e92bc3d2a07d2970473b06bd92e56f33', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '482efcf4498b79cf724a50dd0d3ba0f38d02576d', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '7b3b961659e263e83268e178991627d04a2fcd46', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
76
- h(DetailSectionTitle, { key: 'ea5e5e83e0889ee8b542fba2ddaedc7c0adcf15a', sectionTitle: 'Metadata' }),
77
- h("div", { key: '52ed0e8f84b2a22e9846040877850b336db53a2a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '50e37d3e2a27191b6e4899fcef64f9bd39241c9e', metadata: this.payout.metadata }))
76
+ return (h(StyledHost, { key: '1d9842d26d6e1a89b3fc8a1ed6ed395f55b913ee' }, this.loading && h(PayoutDetailsLoading, { key: '95917b7cba094233316f39ed610dfda5360a47e5' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'c8f1cc9c3cc9b8e343557d38b88b31035d65c00f', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '0397f400c1576f49e664a1e5d8d5d1318935b281', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '3a3a0d511eaf43d54012f7c07688825d141f170a', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '9c33ac6ed41a0d1d91a83af12dee4c7bf401bc60', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'f60f96ff20c47f1ec0ad7f2a6f1f81a19b4a03f5', title: "ID", value: this.payout.id }), h("div", { key: '522bc205154fc2904f1c3735e9f859cfd234dff4', class: "m-4" }, h(Button, { key: 'e691e47946499a7359018fe4c774e0e23f8cb4c4', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '7f7c975c5672aaaebcda5870870cd4a52bae40b9', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '03728f098028f6304c2e608bf38e6b79809bd5aa', sectionTitle: "Details" }), h("div", { key: 'ad8416b1a6a90052f4988d9577b6c8d6a881e0a7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '0ecb52461ee59aad0914547ffc3aff948bc766a6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'bc003db9efc8ea329f4eb5e9644e013dc9578b27', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'e8ce2d2c42b66efd8ff0f87a8d9b58bd1565a019', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '47f05a33981b878ebfd4a88cbd32b71fd6bf3683', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '013126090417ea6244fd01eb0c80aeec72c05bfe', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '252b01172864c2d97b358a0fde5b0532e7298278', sectionTitle: "Account" }), h("div", { key: '4c1f0b28024141ba16803349f60395406dd31f3f', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '6c4f814276825b92c05226d1dc6522a920ab3e2a', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'c3824079766df1788264cb2ee962c5229045212c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '158c9456436cc58622d1337c11f7443497c7ae38', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '7ce5376d2c1632cbd0bd910e6290ec3caf289b73', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'a1f892fe9a638e5b5a4be23e853070355b6cf3bb', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
77
+ h(DetailSectionTitle, { key: '61d325fd74f125295c61266528e1d62e04bb6e2e', sectionTitle: 'Metadata' }),
78
+ h("div", { key: 'e574d0558fec57c0f3342c80846eb1469a9cfeb7', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ca0cc50f11489df465d29e8da5a51495433931d3', metadata: this.payout.metadata }))
78
79
  ])))));
79
80
  }
80
81
  static get watchers() { return {
@@ -1,4 +1,10 @@
1
- import { A as Api } from './ApiNew.js';
1
+ import { A as Api } from './Api.js';
2
+ import './Checkout.js';
3
+ import './Pagination.js';
4
+ import './Payment.js';
5
+ import './Refund.js';
6
+ import './Document.js';
7
+ import './Business.js';
2
8
 
3
9
  const api = Api();
4
10
  class PayoutService {
@@ -1,11 +1,12 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import './config-state.js';
2
3
  import { h as convertToLocal } from './utils2.js';
3
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
4
- import './Checkout.js';
4
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
8
  import './Document.js';
9
+ import './Business.js';
9
10
  import './details.js';
10
11
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
11
12
  import { T as TableClickActions } from './event-types.js';
@@ -173,7 +174,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
173
174
  return !this.showEmptyState && !this.showErrorState && !this.loading;
174
175
  }
175
176
  render() {
176
- return (h(TableWrapper, { key: '6a72c56b790f6d3bd656cadc3afa67b5ff9146a8' }, h(TableComponent, { key: '73a4df2c71493966d9dff59b1cb04ed2bc28de45' }, h(TableHead, { key: '238aad9fdc7dbbe23106527238a60bc66c071c89' }, h(TableHeadRow, { key: '57766da075cc1ca3ad2ef1ddd108c9868903a379' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '287780d557ef70e52077fc4f29391010e16e801e' }, h(TableLoadingState, { key: 'e9a8e8170b426cc17792d2775098e43421a377dd', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'fa12703948e45d8fe9011d449a7e23933ceee245', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '1287c1be18f6cf84f93747799e0a9c9e46de0fb8', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '7f0c3b90cabe0db5859c80cbfc8e2fe0ea39346d' }, h(TableFootRow, { key: '9b702aadc9f9380f14ebe749ff67f8ea3ef62b1d' }, h(TableFootCell, { key: 'a8436f6401847c87b0a009005bb0abeff1498aad', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '1121deb974ad2cd9b11152fbd7b539e91730f0ef', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
177
+ return (h(TableWrapper, { key: 'ca41a7df9de30363526239ec286054e16a46293d' }, h(TableComponent, { key: '15f8f414b2da0adda480da114541ed7533d79ca3' }, h(TableHead, { key: '038b27097d57734f80502949628535ab1f8bfded' }, h(TableHeadRow, { key: '9f15c37a04d1fa6f5ec49c60bfbee3ae3ddbdfca' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'c05f33fc7046606087da1b0693650aa571f8e61f' }, h(TableLoadingState, { key: '1c127fa09435af89c2f07226d70438c7ac261cfb', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '853c86c1d0309155797d9a15433982e4765f941c', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'ac3b422be11179ab00accc348cfbd334393d2745', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '9cd94e14becf8789e3eb21500eb1eb9aafc79c7a' }, h(TableFootRow, { key: '2a8232066a55771805b34bee43af9c0dbdbe5047' }, h(TableFootCell, { key: '4c44e77eab9e1db423ef5bad6fc9137e82b625f3', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'b25056fffc760aba956a6e40fceb29f995a144be', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
177
178
  }
178
179
  static get watchers() { return {
179
180
  "pagingParams": ["updateOnPropChange"],
@@ -1,6 +1,6 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
3
- import { i as isEmptyObject, a as formatMediumDate } from './utils2.js';
3
+ import { i as isEmptyObject, f as formatMediumDate } from './utils2.js';
4
4
 
5
5
  const JustifiRepresentativeDetails = /*@__PURE__*/ proxyCustomElement(class JustifiRepresentativeDetails extends HTMLElement {
6
6
  constructor() {
@@ -9,9 +9,9 @@ const JustifiRepresentativeDetails = /*@__PURE__*/ proxyCustomElement(class Just
9
9
  }
10
10
  render() {
11
11
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
12
- if (isEmptyObject(this.representative))
12
+ if (!this.representative || isEmptyObject(this.representative))
13
13
  return null;
14
- return (h(Host, null, h(DetailSectionTitle, { sectionTitle: "Representative Details" }), h("div", { class: "d-table gap-2 w-100 mt-3" }, 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) }))))));
14
+ return (h("div", null, h(DetailSectionTitle, { sectionTitle: "Representative Details" }), h("div", { class: "d-table gap-2 w-100 mt-3" }, 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) }))))));
15
15
  }
16
16
  }, [0, "representative-details", {
17
17
  "representative": [16]
@@ -77,7 +77,7 @@ const identityTitleValidation = create$6()
77
77
  .max(50, 'Title must be less than 50 characters')
78
78
  .transform(transformEmptyString);
79
79
  const dobValidation = (role) => {
80
- return (create$6()
80
+ return create$6()
81
81
  .test('min', 'Enter a valid date', (value) => {
82
82
  const date = new Date(value);
83
83
  const minDate = new Date('1902-01-01');
@@ -89,7 +89,7 @@ const dobValidation = (role) => {
89
89
  minAgeDate.setFullYear(minAgeDate.getFullYear() - 18);
90
90
  return date <= minAgeDate;
91
91
  })
92
- .transform(transformEmptyString));
92
+ .transform(transformEmptyString);
93
93
  };
94
94
  const ssnValidation = create$6()
95
95
  .matches(ssnRegex, 'Enter valid SSN')
@@ -124,7 +124,7 @@ const cityValidation = create$6()
124
124
  .max(50, 'City must be less than 50 characters')
125
125
  .transform(transformEmptyString);
126
126
  const stateValidation = create$6()
127
- .oneOf(StateOptions.map((option) => option.value), 'Select state')
127
+ .oneOf(StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
128
128
  .transform(transformEmptyString);
129
129
  const postalValidation = create$6()
130
130
  .matches(/^[0-9]{5}$/, 'Enter valid postal code')
@@ -152,8 +152,7 @@ const recurringPaymentsPercentageValidation = create$6()
152
152
  const seasonalBusinessValidation = create$6()
153
153
  .oneOf(seasonalBusinessOptions.map((option) => option.value), 'Select seasonal business')
154
154
  .transform(transformEmptyString);
155
- const otherPaymentDetailsValidation = create$6()
156
- .transform(transformEmptyString);
155
+ const otherPaymentDetailsValidation = create$6().transform(transformEmptyString);
157
156
  // Bank Account Validations
158
157
  const bankNameValidation = create$6()
159
158
  .min(2, 'Name must be at least 2 characters')
@@ -1,5 +1,5 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
- import { p as processHTML, f as formatCurrency, r as removeAttribute, k as addAttribute } from './utils2.js';
2
+ import { p as processHTML, c as formatCurrency, r as removeAttribute, k as addAttribute } from './utils2.js';
3
3
  import { v as validateInsuranceValues, a as insuranceValues, b as insuranceErrors, H as Header2 } from './insurance-state.js';
4
4
  import { t as text, j as textDanger } from './parts.js';
5
5
  import { S as StyledHost } from './styled-host.js';
@@ -27,6 +27,7 @@ const SeasonInterruptionInsuranceCore = /*@__PURE__*/ proxyCustomElement(class S
27
27
  constructor() {
28
28
  super();
29
29
  this.__registerHost();
30
+ this.__attachShadow();
30
31
  this.insuranceUpdated = createEvent(this, "insurance-updated", 7);
31
32
  this.errorEvent = createEvent(this, "error-event", 7);
32
33
  this.isLoading = true;
@@ -115,9 +116,11 @@ const SeasonInterruptionInsuranceCore = /*@__PURE__*/ proxyCustomElement(class S
115
116
  var _a, _b, _c, _d;
116
117
  if (this.isLoading)
117
118
  return (h(StyledHost, null, h(SeasonInterruptionInsuranceLoading, null)));
118
- return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this) }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this) }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text }))));
119
+ return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this),
120
+ // don't wanna show error message, but need to show the red border
121
+ errorText: this.error ? ' ' : undefined }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this), errorText: this.error ? ' ' : undefined }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text }))));
119
122
  }
120
- }, [0, "justifi-season-interruption-insurance-core", {
123
+ }, [1, "justifi-season-interruption-insurance-core", {
121
124
  "checkoutId": [1, "checkout-id"],
122
125
  "getQuote": [16, "get-quote"],
123
126
  "toggleCoverage": [16, "toggle-coverage"],
@@ -1,5 +1,5 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client';
2
- import { f as formatCurrency } from './utils2.js';
2
+ import { c as formatCurrency } from './utils2.js';
3
3
  import { W as radioListItem } from './parts.js';
4
4
  import { d as defineCustomElement$2 } from './form-control-help-text2.js';
5
5
  import { d as defineCustomElement$1 } from './form-control-radio2.js';
@@ -2,13 +2,14 @@ import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/i
2
2
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
3
3
  import './details.js';
4
4
  import { T as TableClickActions } from './event-types.js';
5
+ import './config-state.js';
5
6
  import { h as convertToLocal } from './utils2.js';
6
- import './ComponentError.js';
7
7
  import './Checkout.js';
8
8
  import { p as pagingDefaults } from './Pagination.js';
9
9
  import './Payment.js';
10
10
  import { a as TerminalOrderType } from './Refund.js';
11
11
  import './Document.js';
12
+ import './Business.js';
12
13
  import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
13
14
  import { B as Badge, a as BadgeVariant } from './badge.js';
14
15
  import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state.js';
@@ -166,7 +167,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
166
167
  return !this.showEmptyState && !this.showErrorState && !this.loading;
167
168
  }
168
169
  render() {
169
- return (h(TableWrapper, { key: '762e52792b40b09a4c57d19d26b5320e704f713a' }, h(TableComponent, { key: '1562301b758030aba8fe9581c62adf9b74275bcd' }, h(TableHead, { key: '1dd7c7609faf3fb39946f05d1751611f63538b8d' }, h(TableHeadRow, { key: 'd37d994e00a6bbe8b93b562a93f123c67a3341c9' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'bd8ec9049642251c7f51c0525a07ef88a9a51335' }, h(TableLoadingState, { key: 'a2ff1894e1300d39ee84f190d531339e6086b68c', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '7e7df0ac99415c5d550479c274bd8bb88d8f5b58', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '954a6ee4143461c71624c39d09b41575e39f92da', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'd8d06e88358f2c07edd2abcb568c99705a3b384d' }, h(TableFootRow, { key: 'c02b4ab02901238f7e1e71178baa4f3f0ff0ee7e' }, h(TableFootCell, { key: 'f29db1ea1799cac1e459495e9029b9c12bfd559f', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '5a196810a73ffad57a2ee6556c6e2ad66f1079b0', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
170
+ return (h(TableWrapper, { key: '5d03d7f992d4918b6174d89aa67ac87159b0918d' }, h(TableComponent, { key: '30dfd6db82678f7c8e25ee03619403bf0a73ad47' }, h(TableHead, { key: '3e51fd3124abf93a1a76ac6d6b66ec64edf30216' }, h(TableHeadRow, { key: '170385237e96ba55aa21c954bff4f74a7724463b' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'c313d42ae1ad3f54a806f8965b8ff99616df85ab' }, h(TableLoadingState, { key: '7f01919e6120a497383990bafb8288fec806f421', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'e6585de336bb6cfe0f7bddc4bd503cf5632481da', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '3490d034636506fdd54c748bff98596baed09673', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '52ba4b6e8c0d2afcded3feaaf6a22927036b96fa' }, h(TableFootRow, { key: '8fccd42dc633300f5e6664ff380c3828010ff6ec' }, h(TableFootCell, { key: '7937c9bceb54abe450e9b7956bd2599de228cc8b', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '90854b93870cb20251488fd15e936982245c3d3b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
170
171
  }
171
172
  static get watchers() { return {
172
173
  "pagingParams": ["updateOnPropChange"],
@@ -1,4 +1,10 @@
1
- import { A as Api } from './ApiNew.js';
1
+ import { A as Api } from './Api.js';
2
+ import './Checkout.js';
3
+ import './Pagination.js';
4
+ import './Payment.js';
5
+ import './Refund.js';
6
+ import './Document.js';
7
+ import './Business.js';
2
8
 
3
9
  const api = Api();
4
10
  class TerminalService {
@@ -1,11 +1,12 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import './config-state.js';
2
3
  import { l as capitalFirstLetter } from './utils2.js';
3
- import './ComponentError.js';
4
4
  import './Checkout.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
8
  import './Document.js';
9
+ import './Business.js';
9
10
  import './details.js';
10
11
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
11
12
  import { T as TableClickActions } from './event-types.js';
@@ -180,7 +181,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
180
181
  return !this.showEmptyState && !this.showErrorState && !this.loading;
181
182
  }
182
183
  render() {
183
- return (h(TableWrapper, { key: 'e61c1a1c4c657391af256fa488187571914d270c' }, h(TableComponent, { key: '2878c1bd7a728f970d4818daf1543834672f6e48' }, h(TableHead, { key: 'b300dd224e6295e7d7ad38d2ff36ff2254ea652c' }, h(TableHeadRow, { key: '489ec5bc765f02611b8ccaa5d627c339963b07af' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '0df4d9e27af46c419999fa7a2865ff19c8458dfb' }, h(TableLoadingState, { key: '0b78007d46a6191e47c3805c6c3a69ad17a20a7c', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8f5763d3fb5dfdd774be0836833eb0bba9891d98', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'c9ecd51037ba42b721fe7f9daf6c290c6a14ccc0', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '061d7606ab562de30d46f1e207eda3efae3a2f6c' }, h(TableFootRow, { key: 'e4c4751c3233b8f714fc3f809f108b0a6c6d8637' }, h(TableFootCell, { key: '16faad50eb6148f2bafac404961925b419e9d6f8', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '574f2e32ba7e10adac4e8e19c295b7ad5fd0da11', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
184
+ return (h(TableWrapper, { key: '18758ce4d79c07564b15f9712762232fa8ea2083' }, h(TableComponent, { key: '70c5d623cf89ed440e0bb318c4be1c1c022f90e9' }, h(TableHead, { key: '3a2ec16691dddf82a9988b970506576680885106' }, h(TableHeadRow, { key: '8fc7f8fcb219a0e577e67e5694ff818801477a2c' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: 'e65e2646a51cb8859a77a13a4fb79b0ca57066b7' }, h(TableLoadingState, { key: '5a50acb1101958238077a3a26307f2252aed5584', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'c79793063bef320ca258988880da5fc305200456', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '758ab1f9f3660f292f4421b940d040d6408f45ca', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'e88243106332270c051599905cf61b20c05637ac' }, h(TableFootRow, { key: '4c1e2dca2100a5010b8fcae7cb42e44cde5e0128' }, h(TableFootCell, { key: 'e8ce9acc75921d176f265e6a6f89398f86c911b0', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '9930d2573e46628637eb12034cb966d69b3b43b9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
184
185
  }
185
186
  static get watchers() { return {
186
187
  "pagingParams": ["updateOnPropChange"],
@@ -23919,6 +23919,9 @@ function snakeToCamel(str) {
23919
23919
  }
23920
23920
  // Object Utilities
23921
23921
  function isEmptyObject(obj) {
23922
+ if (obj === null) {
23923
+ return true;
23924
+ }
23922
23925
  return Object.keys(obj).length === 0 && obj.constructor === Object;
23923
23926
  }
23924
23927
  function removeAttribute(htmlString, attribute) {
@@ -23966,4 +23969,4 @@ function generateId(length = 10) {
23966
23969
  return result;
23967
23970
  }
23968
23971
 
23969
- export { formatMediumDate as a, formatDate as b, formatTimeSeconds as c, snakeToCamel as d, formatTime as e, formatCurrency as f, generateId as g, convertToLocal as h, isEmptyObject as i, convertToUTC as j, addAttribute as k, capitalFirstLetter as l, formatDisplayDate as m, formatPhoneNumber as n, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
23972
+ export { formatDate as a, formatTimeSeconds as b, formatCurrency as c, snakeToCamel as d, formatTime as e, formatMediumDate as f, generateId as g, convertToLocal as h, isEmptyObject as i, convertToUTC as j, addAttribute as k, capitalFirstLetter as l, formatDisplayDate as m, formatPhoneNumber as n, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
@@ -1,4 +1,4 @@
1
- import { a as ComponentErrorCodes } from './ComponentError.js';
1
+ import { a as ComponentErrorCodes } from './Checkout.js';
2
2
 
3
3
  // Errors on [capital]/config/locales/en.yml
4
4
  // Add more errors as needed
@@ -16,40 +16,46 @@ export interface IErrorObject {
16
16
  export interface IApiResponseCollection<T> extends IApiResponse<T> {
17
17
  page_info: PagingInfo;
18
18
  }
19
- interface IApiProps {
19
+ interface GetProps {
20
+ authToken: string;
21
+ endpoint: string;
22
+ params?: any;
23
+ signal?: AbortSignal;
24
+ headers?: HeadersInit;
25
+ }
26
+ interface PostProps {
20
27
  authToken?: string;
21
- apiOrigin: string;
22
- }
23
- declare const Api: ({ authToken, apiOrigin }: IApiProps) => {
24
- get: ({ endpoint, params, signal, headers, }: {
25
- endpoint: string;
26
- params?: any;
27
- signal?: AbortSignal;
28
- headers?: HeadersInit;
29
- }) => Promise<any>;
30
- post: ({ endpoint, body, params, signal, headers, }: {
31
- endpoint: string;
32
- body?: any;
33
- params?: any;
34
- signal?: AbortSignal;
35
- headers?: HeadersInit;
36
- }) => Promise<any>;
37
- put: ({ endpoint, body, params, signal, }: {
38
- endpoint: string;
39
- body?: any;
40
- params?: any;
41
- signal?: AbortSignal;
42
- }) => Promise<any>;
43
- patch: ({ endpoint, body, params, signal, }: {
44
- endpoint: string;
45
- body?: any;
46
- params?: any;
47
- signal?: AbortSignal;
48
- }) => Promise<any>;
49
- destroy: ({ endpoint, params, signal, }: {
50
- endpoint: string;
51
- params?: any;
52
- signal?: AbortSignal;
53
- }) => Promise<any>;
28
+ endpoint: string;
29
+ body?: any;
30
+ params?: any;
31
+ signal?: AbortSignal;
32
+ headers?: HeadersInit;
33
+ }
34
+ interface PutProps {
35
+ authToken: string;
36
+ endpoint: string;
37
+ body?: any;
38
+ params?: any;
39
+ signal?: AbortSignal;
40
+ }
41
+ interface PatchProps {
42
+ authToken: string;
43
+ endpoint: string;
44
+ body?: any;
45
+ params?: any;
46
+ signal?: AbortSignal;
47
+ }
48
+ interface DestroyProps {
49
+ authToken: string;
50
+ endpoint: string;
51
+ params?: any;
52
+ signal?: AbortSignal;
53
+ }
54
+ export declare const Api: () => {
55
+ get: (props: GetProps) => Promise<any>;
56
+ post: (props: PostProps) => Promise<any>;
57
+ put: (props: PutProps) => Promise<any>;
58
+ patch: (props: PatchProps) => Promise<any>;
59
+ destroy: (props: DestroyProps) => Promise<any>;
54
60
  };
55
- export default Api;
61
+ export {};
@@ -108,6 +108,7 @@ export interface IPayment {
108
108
  disputes: IPaymentDispute[];
109
109
  error_code: string | null;
110
110
  error_description: string | null;
111
+ expedited?: boolean;
111
112
  fee_amount: number;
112
113
  is_test: boolean;
113
114
  metadata: Object | null;
@@ -141,6 +142,7 @@ export declare class Payment implements IPayment {
141
142
  disputes: IPaymentDispute[];
142
143
  error_code: string | null;
143
144
  error_description: string | null;
145
+ expedited: boolean;
144
146
  fee_amount: number;
145
147
  is_test: boolean;
146
148
  metadata: Object | null;
@@ -40,6 +40,7 @@ export interface IPayout {
40
40
  metadata: Object | null;
41
41
  created_at: string;
42
42
  updated_at: string;
43
+ settlement_priority?: 'standard' | 'expedited';
43
44
  }
44
45
  export declare class Payout implements IPayout {
45
46
  id: string;
@@ -62,6 +63,7 @@ export declare class Payout implements IPayout {
62
63
  created_at: string;
63
64
  updated_at: string;
64
65
  sub_account_name?: string;
66
+ settlement_priority: 'standard' | 'expedited';
65
67
  constructor(payout: IPayout);
66
68
  formattedPaymentAmount(amount: number): string;
67
69
  }
@@ -1,4 +1,3 @@
1
- export { default as Api } from './Api';
2
1
  export * from './Api';
3
2
  export * from './ComponentEvents';
4
3
  export * from './ComponentError';
@@ -15,4 +14,9 @@ export * from './TerminalModel';
15
14
  export * from './SubAccount';
16
15
  export * from './Document';
17
16
  export * from './Refund';
17
+ export * from './Business';
18
+ export * from './Identity';
19
+ export * from './Document';
20
+ export * from './Dispute';
21
+ export * from './GrossVolume';
18
22
  export { BankAccount, IBankAccount } from './BankAccount';
@@ -1,8 +1,4 @@
1
- import { IApiResponse } from '../Api';
2
- import { IBankAccount } from '../BankAccount';
3
- import { IBusiness } from '../Business';
4
- import { DocumentRecordData } from '../Document';
5
- import { Identity } from '../Identity';
1
+ import { DocumentRecordData, IApiResponse, IBankAccount, IBusiness, Identity } from '..';
6
2
  export interface IBusinessService {
7
3
  fetchBusiness(businessId: string, authToken: string): Promise<IApiResponse<IBusiness>>;
8
4
  patchBusiness(authToken: string, businessId: string, payload: Partial<IBusiness>): Promise<IApiResponse<IBusiness>>;
@@ -1,5 +1,4 @@
1
- import { IApiResponse } from '..';
2
- import { IDispute } from '../Dispute';
1
+ import { IApiResponse, IDispute } from '..';
3
2
  export interface IDisputeService {
4
3
  fetchDispute(disputeId: string, authToken: string): Promise<IApiResponse<IDispute>>;
5
4
  updateDisputeResponse(disputeId: string, authToken: string, payload: any): Promise<IApiResponse<IDispute>>;
@@ -1,5 +1,4 @@
1
- import { IPayout, IPayoutBalanceTransaction } from '..';
2
- import { IApiResponse, IApiResponseCollection } from '../ApiNew';
1
+ import { IApiResponse, IApiResponseCollection, IPayout, IPayoutBalanceTransaction } from '..';
3
2
  export interface IPayoutService {
4
3
  fetchPayouts(accountId: string, authToken: string, params: any): Promise<IApiResponseCollection<IPayout[]>>;
5
4
  fetchPayout(payoutId: string, authToken: string): Promise<IApiResponse<IPayout>>;
@@ -1,4 +1,4 @@
1
- import { IApiResponse } from '../Api';
1
+ import { IApiResponse } from "..";
2
2
  export interface IProvisionService {
3
3
  postProvisioning(authToken: string, businessId: string, product: string): Promise<IApiResponse<any>>;
4
4
  }
@@ -1,5 +1,4 @@
1
- import { IApiResponse } from '../Api';
2
- import { GrossVolumeReport } from '../GrossVolume';
1
+ import { IApiResponse, GrossVolumeReport } from '..';
3
2
  export declare class ReportsService {
4
3
  fetchGrossVolumeChartData(accountId: string, authToken: string): Promise<IApiResponse<GrossVolumeReport>>;
5
4
  }
@@ -1,5 +1,4 @@
1
- import { ISubAccount } from '..';
2
- import { IApiResponseCollection } from '../ApiNew';
1
+ import { IApiResponseCollection, ISubAccount } from '..';
3
2
  export interface ISubAccountService {
4
3
  fetchSubAccounts(accountId: string, authToken: string, params: any): Promise<IApiResponseCollection<ISubAccount[]>>;
5
4
  }
@@ -10,6 +10,7 @@ export declare class BusinessDetails {
10
10
  errorEvent: EventEmitter<ComponentErrorEvent>;
11
11
  componentWillLoad(): void;
12
12
  disconnectedCallback(): void;
13
+ handleErrorEvent: (event: any) => void;
13
14
  private initializeGetBusiness;
14
15
  render(): any;
15
16
  }
@@ -0,0 +1,5 @@
1
+ import { Business } from '../../../api/Business';
2
+ export declare class CoreInfoDetails {
3
+ business: Business;
4
+ render(): any;
5
+ }
@@ -1,4 +1,4 @@
1
- import { IBusiness } from "../../../components";
1
+ import { IBusiness } from "../../../api/Business";
2
2
  export declare function getStateAbbreviation(stateName: string): string | undefined;
3
3
  export declare function filterNumber(num: string): string;
4
4
  export declare function constructDate(year: string, month: string, day: string): string | void;
@@ -17,6 +17,7 @@ export declare class BillingForm {
17
17
  fill(fields: BillingFormFields): Promise<void>;
18
18
  validate(): Promise<{
19
19
  isValid: boolean;
20
+ errors: any;
20
21
  }>;
21
22
  render(): any;
22
23
  }
@@ -19,7 +19,10 @@ export declare class NewPaymentMethod {
19
19
  handleCheckboxChanged(event: CustomEvent<boolean>): void;
20
20
  fillBillingForm(fields: BillingFormFields): Promise<void>;
21
21
  resolvePaymentMethod(insuranceValidation: any): Promise<PaymentMethodPayload>;
22
- validate(): Promise<boolean>;
22
+ validate(): Promise<{
23
+ isValid: boolean;
24
+ errors: any;
25
+ }>;
23
26
  tokenize(): Promise<any>;
24
27
  onPaymentMethodOptionClick: (e: any) => void;
25
28
  showNewPaymentMethodForm(): any;
@@ -26,6 +26,7 @@ export declare class PaymentMethodOptions {
26
26
  resolvePaymentMethod(insuranceValidation: any): Promise<PaymentMethodPayload>;
27
27
  validate(): Promise<{
28
28
  isValid: boolean;
29
+ errors?: any;
29
30
  }>;
30
31
  render(): any;
31
32
  }
@@ -29,6 +29,7 @@ export declare class OrderTerminals {
29
29
  errorEvent: EventEmitter<ComponentErrorEvent>;
30
30
  submitted: EventEmitter<any>;
31
31
  componentWillLoad(): void;
32
+ disconnectedCallback(): void;
32
33
  private handleError;
33
34
  private loadData;
34
35
  private initializeGetBusiness;
@@ -10,6 +10,7 @@ export declare class TerminalOrdersList {
10
10
  errorEvent: EventEmitter<ComponentErrorEvent>;
11
11
  analytics: JustifiAnalytics;
12
12
  componentWillLoad(): void;
13
+ disconnectedCallback(): void;
13
14
  private initializeGetData;
14
15
  handleErrorEvent: (event: any) => void;
15
16
  render(): any;
@@ -19,10 +19,12 @@ export declare class TokenizePaymentMethod {
19
19
  private paymentMethodOptionsRef?;
20
20
  analytics: JustifiAnalytics;
21
21
  componentWillLoad(): void;
22
+ disconnectedCallback(): void;
22
23
  tokenizePaymentMethod(event?: CustomEvent): Promise<PaymentMethodPayload>;
23
24
  fillBillingForm(fields: BillingFormFields): Promise<void>;
24
25
  validate(): Promise<{
25
26
  isValid: boolean;
27
+ errors?: any;
26
28
  }>;
27
29
  render(): any;
28
30
  }