@justifi/webcomponents 4.21.0 → 4.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (596) hide show
  1. package/dist/cjs/{Analytics-880f5152.js → Analytics-0d90fa0d.js} +2 -2
  2. package/dist/cjs/{Api-b98b256f.js → Api-f5280a80.js} +6 -4
  3. package/dist/cjs/Checkout-a528241d.js +85 -0
  4. package/dist/cjs/SubAccount-cc95a4a0.js +106 -0
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  6. package/dist/cjs/{business-additional-questions-schema-26b0eecb.js → business-additional-questions-schema-19f08938.js} +2 -2
  7. package/dist/cjs/business-details-core.cjs.entry.js +1 -1
  8. package/dist/cjs/{business-identity-schema-503ecb77.js → business-identity-schema-a8bb2276.js} +2 -2
  9. package/dist/cjs/{business.service-031c0084.js → business.service-7faffa0b.js} +1 -1
  10. package/dist/cjs/{check-pkg-version-54f7dfda.js → check-pkg-version-fafb21ae.js} +1 -1
  11. package/dist/cjs/checkout.service-160f3a9c.js +36 -0
  12. package/dist/cjs/checkouts-list-core.cjs.entry.js +144 -0
  13. package/dist/cjs/checkouts-list-filters.cjs.entry.js +35 -0
  14. package/dist/cjs/checkouts-table-24c065ff.js +47 -0
  15. package/dist/cjs/{custom-popper_5.cjs.entry.js → custom-popper_4.cjs.entry.js} +4 -19
  16. package/dist/cjs/dispute-30c806f6.js +10 -0
  17. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  18. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +11 -11
  19. package/dist/cjs/form-control-date.cjs.entry.js +83 -0
  20. package/dist/cjs/form-control-error-text.cjs.entry.js +21 -0
  21. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  22. package/dist/cjs/form-control-help-text.cjs.entry.js +21 -0
  23. package/dist/cjs/{form-control-help-text_2.cjs.entry.js → form-control-monetary.cjs.entry.js} +1 -16
  24. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +99 -0
  25. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  26. package/dist/cjs/form-control-radio.cjs.entry.js +44 -0
  27. package/dist/cjs/form-control-textarea.cjs.entry.js +49 -0
  28. package/dist/cjs/{get-payout-csv-a82b2c1c.js → get-payout-csv-12dc9540.js} +3 -2
  29. package/dist/cjs/get-subaccounts-8f7a930f.js +54 -0
  30. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  31. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +10 -9
  32. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +173 -0
  33. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  34. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1678 -13
  35. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  36. package/dist/cjs/justifi-business-form.cjs.entry.js +11 -10
  37. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
  39. package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -8
  40. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -25
  41. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +121 -0
  42. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  43. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +28 -0
  44. package/dist/cjs/justifi-dispute-management.cjs.entry.js +16 -0
  45. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  46. package/dist/cjs/{justifi-new-payment-method_4.cjs.entry.js → justifi-new-payment-method_5.cjs.entry.js} +18 -1
  47. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -7
  48. package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -7
  49. package/dist/cjs/justifi-payment-form.cjs.entry.js +10 -9
  50. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +3 -2
  51. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  52. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -11
  53. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -8
  54. package/dist/cjs/justifi-payouts-list.cjs.entry.js +11 -13
  55. package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -4
  56. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
  57. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -6
  58. package/dist/cjs/justifi-terminals-list.cjs.entry.js +138 -0
  59. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +59 -0
  60. package/dist/cjs/loader.cjs.js +1 -1
  61. package/dist/{esm/payments-list-filters_2.entry.js → cjs/lodash-dbf6a6a4.js} +2 -57
  62. package/dist/cjs/{package-cb1b1015.js → package-596f102c.js} +1 -1
  63. package/dist/cjs/payment-details-core.cjs.entry.js +10 -9
  64. package/dist/cjs/{payment.service-6f79aad2.js → payment.service-83da752a.js} +3 -2
  65. package/dist/cjs/payments-list-core.cjs.entry.js +7 -7
  66. package/dist/cjs/payments-list-filters.cjs.entry.js +35 -0
  67. package/dist/cjs/payments-status-58e45b2e.js +26 -0
  68. package/dist/cjs/payout-details-core.cjs.entry.js +4 -3
  69. package/dist/cjs/payouts-list-core.cjs.entry.js +7 -23
  70. package/dist/cjs/payouts-status-2f7be07d.js +24 -0
  71. package/dist/cjs/{schema-validations-0a7e46a3.js → schema-validations-184a4356.js} +1 -1
  72. package/dist/cjs/table-20e9a053.js +23 -0
  73. package/dist/cjs/table-filters-menu.cjs.entry.js +35 -0
  74. package/dist/cjs/terminals-list-core.cjs.entry.js +143 -0
  75. package/dist/cjs/terminals-list-filters.cjs.entry.js +32 -0
  76. package/dist/cjs/terminals-table-99a7b87b.js +32 -0
  77. package/dist/cjs/{utils-52fb7fa1.js → utils-3d84442d.js} +0 -44
  78. package/dist/cjs/webcomponents.cjs.js +1 -1
  79. package/dist/collection/api/Api.js +6 -4
  80. package/dist/collection/api/Checkout.js +77 -1
  81. package/dist/collection/api/SubAccount.js +33 -0
  82. package/dist/collection/api/Terminal.js +25 -0
  83. package/dist/collection/api/get-subaccounts.js +31 -0
  84. package/dist/collection/api/index.js +2 -0
  85. package/dist/collection/api/services/checkout.service.js +10 -1
  86. package/dist/collection/api/services/subaccounts.service.js +13 -0
  87. package/dist/collection/api/services/terminal.service.js +20 -0
  88. package/dist/collection/collection-manifest.json +37 -15
  89. package/dist/collection/components/billing-form/billing-form.js +3 -3
  90. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  91. package/dist/collection/components/business-details/business-details-core.js +1 -1
  92. package/dist/collection/components/business-details/business-details.js +1 -1
  93. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -1
  94. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
  95. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  96. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  97. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  98. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
  99. package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
  100. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
  101. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -4
  102. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
  103. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
  104. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
  105. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +2 -2
  106. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +3 -3
  107. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +3 -3
  108. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +3 -3
  109. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +2 -2
  110. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +2 -2
  111. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +3 -3
  112. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
  113. package/dist/collection/components/checkout/checkout-core.js +1 -1
  114. package/dist/collection/components/checkouts-list/checkouts-list-core.js +257 -0
  115. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +84 -0
  116. package/dist/collection/components/checkouts-list/checkouts-list.js +210 -0
  117. package/dist/collection/components/checkouts-list/checkouts-status.js +13 -0
  118. package/dist/collection/components/checkouts-list/checkouts-table.js +20 -0
  119. package/dist/collection/components/checkouts-list/get-checkouts.js +31 -0
  120. package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +8 -0
  121. package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +8 -0
  122. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +90 -0
  123. package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +8 -0
  124. package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +8 -0
  125. package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +8 -0
  126. package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +8 -0
  127. package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +16 -0
  128. package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +8 -0
  129. package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +12 -0
  130. package/dist/collection/components/dispute-management/dispute-management-core.js +53 -0
  131. package/dist/collection/components/dispute-management/dispute-management.js +8 -0
  132. package/dist/collection/components/dispute-management/dispute-notification.js +48 -0
  133. package/dist/collection/components/dispute-management/dispute.js +8 -0
  134. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  135. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
  136. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  137. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  138. package/dist/collection/components/payment-details/payment-details-core.js +10 -9
  139. package/dist/collection/components/payment-details/payment-details.js +1 -1
  140. package/dist/collection/components/payment-form/payment-form.js +3 -3
  141. package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
  142. package/dist/collection/components/payments-list/payments-list-core.js +5 -5
  143. package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
  144. package/dist/collection/components/payments-list/payments-list.js +3 -5
  145. package/dist/collection/components/payments-list/payments-status.js +23 -0
  146. package/dist/collection/components/payout-details/payout-details-core.js +4 -3
  147. package/dist/collection/components/payout-details/payout-details.js +1 -1
  148. package/dist/collection/components/payouts-list/payouts-list-core.js +6 -22
  149. package/dist/collection/components/payouts-list/payouts-list.js +4 -7
  150. package/dist/collection/components/payouts-list/payouts-status.js +21 -0
  151. package/dist/collection/components/refund-form/refund-form.js +2 -2
  152. package/dist/collection/components/terminals-list/get-terminal-detail.js +29 -0
  153. package/dist/collection/components/terminals-list/get-terminals.js +31 -0
  154. package/dist/collection/components/terminals-list/terminals-list-core.js +257 -0
  155. package/dist/collection/components/terminals-list/terminals-list-filters.js +81 -0
  156. package/dist/collection/components/terminals-list/terminals-list.js +211 -0
  157. package/dist/collection/components/terminals-list/terminals-status.js +11 -0
  158. package/dist/collection/components/terminals-list/terminals-table.js +15 -0
  159. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +9 -0
  160. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +276 -0
  161. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  162. package/dist/collection/{components → ui-components}/details/details.js +1 -1
  163. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  164. package/dist/collection/{components → ui-components}/form/form-control-checkbox.js +1 -1
  165. package/dist/collection/{components → ui-components}/form/form-control-date.js +21 -2
  166. package/dist/collection/{components → ui-components}/form/form-control-file.js +1 -1
  167. package/dist/collection/{components → ui-components}/form/form-control-monetary.js +1 -1
  168. package/dist/collection/{components → ui-components}/form/form-control-number-masked.js +1 -1
  169. package/dist/collection/{components → ui-components}/form/form-control-number.js +1 -1
  170. package/dist/collection/ui-components/form/form-control-radio.js +209 -0
  171. package/dist/collection/{components → ui-components}/form/form-control-select.js +1 -1
  172. package/dist/collection/{components → ui-components}/form/form-control-text.js +1 -1
  173. package/dist/collection/ui-components/form/form-control-textarea.js +229 -0
  174. package/dist/collection/ui-components/index.js +1 -0
  175. package/dist/collection/utils/table.js +19 -0
  176. package/dist/collection/utils/utils.js +0 -42
  177. package/dist/docs.json +9587 -6724
  178. package/dist/esm/{Analytics-3dde5a98.js → Analytics-a46c0c00.js} +2 -2
  179. package/dist/esm/{Api-c8abc2e0.js → Api-391d00e2.js} +6 -4
  180. package/dist/esm/Checkout-0b4086f8.js +83 -0
  181. package/dist/esm/SubAccount-7f7e4c56.js +102 -0
  182. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  183. package/dist/esm/{business-additional-questions-schema-a5583cf8.js → business-additional-questions-schema-97f52255.js} +2 -2
  184. package/dist/esm/business-details-core.entry.js +1 -1
  185. package/dist/esm/{business-identity-schema-9e3269fb.js → business-identity-schema-434e16bc.js} +2 -2
  186. package/dist/esm/{business.service-1f589b6e.js → business.service-97a3da69.js} +1 -1
  187. package/dist/esm/{check-pkg-version-4d144b72.js → check-pkg-version-ed46fa3b.js} +1 -1
  188. package/dist/esm/checkout.service-ef1549c6.js +34 -0
  189. package/dist/esm/checkouts-list-core.entry.js +140 -0
  190. package/dist/esm/checkouts-list-filters.entry.js +31 -0
  191. package/dist/esm/checkouts-table-62c44909.js +43 -0
  192. package/dist/esm/{custom-popper_5.entry.js → custom-popper_4.entry.js} +5 -19
  193. package/dist/esm/dispute-4d2e0a04.js +10 -0
  194. package/dist/esm/form-alert_5.entry.js +3 -3
  195. package/dist/esm/form-control-checkbox_9.entry.js +11 -11
  196. package/dist/esm/form-control-date.entry.js +79 -0
  197. package/dist/esm/form-control-error-text.entry.js +17 -0
  198. package/dist/esm/form-control-file.entry.js +1 -1
  199. package/dist/esm/form-control-help-text.entry.js +17 -0
  200. package/dist/esm/{form-control-help-text_2.entry.js → form-control-monetary.entry.js} +3 -17
  201. package/dist/esm/form-control-number-masked_2.entry.js +94 -0
  202. package/dist/esm/form-control-number.entry.js +1 -1
  203. package/dist/esm/form-control-radio.entry.js +40 -0
  204. package/dist/esm/form-control-textarea.entry.js +45 -0
  205. package/dist/esm/{get-payout-csv-d29146ee.js → get-payout-csv-70974763.js} +3 -2
  206. package/dist/esm/get-subaccounts-16c8ce40.js +51 -0
  207. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  208. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +10 -9
  209. package/dist/esm/justifi-additional-statement_11.entry.js +159 -0
  210. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  211. package/dist/esm/justifi-billing-form_2.entry.js +1679 -14
  212. package/dist/esm/justifi-business-details.entry.js +6 -6
  213. package/dist/esm/justifi-business-form.entry.js +11 -10
  214. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  215. package/dist/esm/justifi-card-form.entry.js +3 -3
  216. package/dist/esm/justifi-checkout-core.entry.js +2 -7
  217. package/dist/esm/justifi-checkout.entry.js +8 -23
  218. package/dist/esm/justifi-checkouts-list.entry.js +117 -0
  219. package/dist/esm/justifi-details.entry.js +2 -2
  220. package/dist/esm/justifi-dispute-management-core.entry.js +24 -0
  221. package/dist/esm/justifi-dispute-management.entry.js +12 -0
  222. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  223. package/dist/esm/{justifi-new-payment-method_4.entry.js → justifi-new-payment-method_5.entry.js} +18 -2
  224. package/dist/esm/justifi-owner-form_3.entry.js +7 -7
  225. package/dist/esm/justifi-payment-details.entry.js +8 -7
  226. package/dist/esm/justifi-payment-form.entry.js +10 -9
  227. package/dist/esm/justifi-payment-method-selector.entry.js +3 -2
  228. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  229. package/dist/esm/justifi-payments-list.entry.js +10 -11
  230. package/dist/esm/justifi-payout-details.entry.js +8 -7
  231. package/dist/esm/justifi-payouts-list.entry.js +11 -13
  232. package/dist/esm/justifi-refund-form.entry.js +5 -4
  233. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
  234. package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -6
  235. package/dist/esm/justifi-terminals-list.entry.js +134 -0
  236. package/dist/esm/justifi-tokenize-payment-method.entry.js +55 -0
  237. package/dist/esm/loader.js +1 -1
  238. package/dist/{cjs/payments-list-filters_2.cjs.entry.js → esm/lodash-faeb5a52.js} +1 -63
  239. package/dist/esm/{package-4ab64620.js → package-6c5cc174.js} +1 -1
  240. package/dist/esm/payment-details-core.entry.js +10 -9
  241. package/dist/esm/{payment.service-f9c3e9d7.js → payment.service-2f67410b.js} +3 -2
  242. package/dist/esm/payments-list-core.entry.js +6 -6
  243. package/dist/esm/payments-list-filters.entry.js +31 -0
  244. package/dist/esm/payments-status-4937a170.js +24 -0
  245. package/dist/esm/payout-details-core.entry.js +4 -3
  246. package/dist/esm/payouts-list-core.entry.js +7 -23
  247. package/dist/esm/payouts-status-cd58e525.js +22 -0
  248. package/dist/esm/{schema-validations-e725d701.js → schema-validations-c1728516.js} +1 -1
  249. package/dist/esm/table-5da154e7.js +21 -0
  250. package/dist/esm/table-filters-menu.entry.js +31 -0
  251. package/dist/esm/terminals-list-core.entry.js +139 -0
  252. package/dist/esm/terminals-list-filters.entry.js +28 -0
  253. package/dist/esm/terminals-table-059c473e.js +28 -0
  254. package/dist/esm/{utils-620f2d78.js → utils-3daada24.js} +1 -43
  255. package/dist/esm/webcomponents.js +1 -1
  256. package/dist/module/Api.js +6 -4
  257. package/dist/module/Checkout.js +83 -0
  258. package/dist/module/SubAccount.js +102 -0
  259. package/dist/module/additional-statement.js +63 -0
  260. package/dist/module/billing-form.js +1 -1
  261. package/dist/module/business-additional-questions-form-step-core.js +1 -1
  262. package/dist/module/business-bank-account-form-step.js +3 -2
  263. package/dist/module/business-core-info-form-step-core.js +1 -1
  264. package/dist/module/business-core-info.js +1 -1
  265. package/dist/module/business-document-upload-form-step.js +1 -1
  266. package/dist/module/business-document-upload-input-group.js +1 -1
  267. package/dist/module/business-documents-on-file.js +1 -1
  268. package/dist/module/business-representative-form-inputs.js +1 -1
  269. package/dist/module/business-representative-form-step-core.js +1 -1
  270. package/dist/module/business-terms-conditions-form-step.js +3 -2
  271. package/dist/module/cancellation-policy.js +63 -0
  272. package/dist/module/checkout-core.js +2 -7
  273. package/dist/module/checkout.service.js +34 -0
  274. package/dist/module/checkouts-list-core.d.ts +11 -0
  275. package/dist/module/checkouts-list-core.js +6 -0
  276. package/dist/module/checkouts-list-core2.js +250 -0
  277. package/dist/module/checkouts-list-filters.d.ts +11 -0
  278. package/dist/module/checkouts-list-filters.js +6 -0
  279. package/dist/module/checkouts-list-filters2.js +80 -0
  280. package/dist/module/counter-dispute.js +189 -0
  281. package/dist/module/custom-popper2.js +2 -2
  282. package/dist/module/customer-details.js +69 -0
  283. package/dist/module/details.js +1 -1
  284. package/dist/module/dispute-management-core.js +160 -0
  285. package/dist/module/dispute-notification.js +36 -0
  286. package/dist/module/dispute-reason.js +45 -0
  287. package/dist/module/duplicate-charge.js +69 -0
  288. package/dist/module/electronic-evidence.js +63 -0
  289. package/dist/module/exported-parts.js +1 -34
  290. package/dist/module/form-control-checkbox2.js +1 -1
  291. package/dist/module/form-control-date2.js +5 -3
  292. package/dist/module/form-control-file2.js +1 -1
  293. package/dist/module/form-control-monetary2.js +1 -1
  294. package/dist/module/form-control-number-masked2.js +1 -1
  295. package/dist/module/form-control-number.js +1 -1
  296. package/dist/module/form-control-radio.d.ts +11 -0
  297. package/dist/module/form-control-radio.js +6 -0
  298. package/dist/module/form-control-radio2.js +78 -0
  299. package/dist/module/form-control-select2.js +1 -1
  300. package/dist/module/form-control-text2.js +1 -1
  301. package/dist/module/form-control-textarea.d.ts +11 -0
  302. package/dist/module/form-control-textarea.js +6 -0
  303. package/dist/module/form-control-textarea2.js +84 -0
  304. package/dist/module/get-payout-csv.js +2 -1
  305. package/dist/module/get-subaccounts.js +51 -0
  306. package/dist/module/gross-payment-chart-core2.js +2 -2
  307. package/dist/module/identity-address-form.js +1 -1
  308. package/dist/module/justifi-additional-statement.d.ts +11 -0
  309. package/dist/module/justifi-additional-statement.js +6 -0
  310. package/dist/module/justifi-business-form.js +3 -2
  311. package/dist/module/justifi-cancellation-policy.d.ts +11 -0
  312. package/dist/module/justifi-cancellation-policy.js +6 -0
  313. package/dist/module/justifi-checkout.js +1 -22
  314. package/dist/module/justifi-checkouts-list.d.ts +11 -0
  315. package/dist/module/justifi-checkouts-list.js +191 -0
  316. package/dist/module/justifi-counter-dispute.d.ts +11 -0
  317. package/dist/module/justifi-counter-dispute.js +6 -0
  318. package/dist/module/justifi-customer-details.d.ts +11 -0
  319. package/dist/module/justifi-customer-details.js +6 -0
  320. package/dist/module/justifi-dispute-management-core.d.ts +11 -0
  321. package/dist/module/justifi-dispute-management-core.js +6 -0
  322. package/dist/module/justifi-dispute-management.d.ts +11 -0
  323. package/dist/module/justifi-dispute-management.js +157 -0
  324. package/dist/module/justifi-dispute-notification.d.ts +11 -0
  325. package/dist/module/justifi-dispute-notification.js +6 -0
  326. package/dist/module/justifi-dispute-reason.d.ts +11 -0
  327. package/dist/module/justifi-dispute-reason.js +6 -0
  328. package/dist/module/justifi-duplicate-charge.d.ts +11 -0
  329. package/dist/module/justifi-duplicate-charge.js +6 -0
  330. package/dist/module/justifi-electronic-evidence.d.ts +11 -0
  331. package/dist/module/justifi-electronic-evidence.js +6 -0
  332. package/dist/module/justifi-payment-details.js +2 -1
  333. package/dist/module/justifi-payment-form.js +5 -4
  334. package/dist/module/justifi-payments-list.js +5 -6
  335. package/dist/module/justifi-payout-details.js +2 -1
  336. package/dist/module/justifi-payouts-list.js +5 -7
  337. package/dist/module/justifi-product-or-service.d.ts +11 -0
  338. package/dist/module/justifi-product-or-service.js +6 -0
  339. package/dist/module/justifi-refund-form.js +3 -2
  340. package/dist/module/justifi-refund-policy.d.ts +11 -0
  341. package/dist/module/justifi-refund-policy.js +6 -0
  342. package/dist/module/justifi-season-interruption-insurance.js +3 -2
  343. package/dist/module/justifi-shipping-details.d.ts +11 -0
  344. package/dist/module/justifi-shipping-details.js +6 -0
  345. package/dist/module/justifi-terminals-list.d.ts +11 -0
  346. package/dist/module/justifi-terminals-list.js +216 -0
  347. package/dist/module/justifi-tokenize-payment-method.d.ts +11 -0
  348. package/dist/module/justifi-tokenize-payment-method.js +153 -0
  349. package/dist/module/legal-address-form-step-core.js +1 -1
  350. package/dist/module/legal-address-form.js +1 -1
  351. package/dist/module/lodash.js +17204 -0
  352. package/dist/module/owner-form-core2.js +1 -1
  353. package/dist/module/owner-form-inputs2.js +1 -1
  354. package/dist/module/package.js +1 -1
  355. package/dist/module/payment-details-core2.js +9 -8
  356. package/dist/module/payment-method-form.js +1 -1
  357. package/dist/module/payment-method-selector.js +3 -2
  358. package/dist/module/payment.service.js +2 -1
  359. package/dist/module/payments-list-core2.js +7 -6
  360. package/dist/module/payments-list-filters2.js +2 -17204
  361. package/dist/module/payments-status.js +24 -0
  362. package/dist/module/payout-details-core2.js +3 -2
  363. package/dist/module/payouts-list-core2.js +8 -23
  364. package/dist/module/payouts-status.js +22 -0
  365. package/dist/module/product-or-service.js +60 -0
  366. package/dist/module/refund-policy.js +63 -0
  367. package/dist/module/saved-payment-method.js +1 -1
  368. package/dist/module/season-interruption-insurance-core.js +3 -3
  369. package/dist/module/sezzle-payment-method.js +1 -1
  370. package/dist/module/shipping-details.js +79 -0
  371. package/dist/module/table-filters-menu2.js +1 -1
  372. package/dist/module/table-loading-state.js +34 -0
  373. package/dist/module/table.js +21 -0
  374. package/dist/module/terminals-list-core.d.ts +11 -0
  375. package/dist/module/terminals-list-core.js +6 -0
  376. package/dist/module/terminals-list-core2.js +241 -0
  377. package/dist/module/terminals-list-filters.d.ts +11 -0
  378. package/dist/module/terminals-list-filters.js +6 -0
  379. package/dist/module/terminals-list-filters2.js +83 -0
  380. package/dist/module/utils2.js +1 -43
  381. package/dist/types/api/Api.d.ts +1 -1
  382. package/dist/types/api/Checkout.d.ts +74 -2
  383. package/dist/types/api/SubAccount.d.ts +51 -0
  384. package/dist/types/api/Terminal.d.ts +48 -0
  385. package/dist/types/api/get-subaccounts.d.ts +10 -0
  386. package/dist/types/api/index.d.ts +2 -0
  387. package/dist/types/api/services/checkout.service.d.ts +3 -1
  388. package/dist/types/api/services/subaccounts.service.d.ts +7 -0
  389. package/dist/types/api/services/terminal.service.d.ts +9 -0
  390. package/dist/types/components/billing-form/billing-form.d.ts +1 -1
  391. package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +1 -1
  392. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +1 -1
  393. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -1
  394. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +1 -1
  395. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
  396. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
  397. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +1 -1
  398. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +1 -1
  399. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +1 -1
  400. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
  401. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +1 -1
  402. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +1 -1
  403. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +1 -1
  404. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +1 -1
  405. package/dist/types/components/business-forms/utils/input-handlers.d.ts +1 -1
  406. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +35 -0
  407. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +15 -0
  408. package/dist/types/components/checkouts-list/checkouts-list.d.ts +44 -0
  409. package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -0
  410. package/dist/types/components/checkouts-list/checkouts-table.d.ts +17 -0
  411. package/dist/types/components/checkouts-list/get-checkouts.d.ts +10 -0
  412. package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +3 -0
  413. package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +3 -0
  414. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +14 -0
  415. package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +3 -0
  416. package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +3 -0
  417. package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +3 -0
  418. package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +3 -0
  419. package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +4 -0
  420. package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +3 -0
  421. package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +3 -0
  422. package/dist/types/components/dispute-management/dispute-management-core.d.ts +7 -0
  423. package/dist/types/components/dispute-management/dispute-management.d.ts +3 -0
  424. package/dist/types/components/dispute-management/dispute-notification.d.ts +8 -0
  425. package/dist/types/components/dispute-management/dispute.d.ts +7 -0
  426. package/dist/types/components/payments-list/payments-status.d.ts +1 -0
  427. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -2
  428. package/dist/types/components/payouts-list/payouts-status.d.ts +1 -0
  429. package/dist/types/components/terminals-list/get-terminal-detail.d.ts +8 -0
  430. package/dist/types/components/terminals-list/get-terminals.d.ts +10 -0
  431. package/dist/types/components/terminals-list/terminals-list-core.d.ts +35 -0
  432. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +13 -0
  433. package/dist/types/components/terminals-list/terminals-list.d.ts +44 -0
  434. package/dist/types/components/terminals-list/terminals-status.d.ts +1 -0
  435. package/dist/types/components/terminals-list/terminals-table.d.ts +13 -0
  436. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +22 -0
  437. package/dist/types/components.d.ts +740 -12
  438. package/dist/types/{components → ui-components}/form/form-control-date.d.ts +2 -1
  439. package/dist/types/ui-components/form/form-control-radio.d.ts +19 -0
  440. package/dist/types/ui-components/form/form-control-textarea.d.ts +20 -0
  441. package/dist/types/ui-components/index.d.ts +1 -0
  442. package/dist/types/utils/table.d.ts +14 -0
  443. package/dist/types/utils/utils.d.ts +0 -2
  444. package/dist/webcomponents/p-02cf5e6f.js +1 -0
  445. package/dist/webcomponents/p-088826fe.entry.js +1 -0
  446. package/dist/webcomponents/p-0de9e97b.entry.js +1 -0
  447. package/dist/webcomponents/{p-7d3be485.js → p-0e180654.js} +1 -1
  448. package/dist/webcomponents/{p-1d29488a.entry.js → p-0eb0d813.entry.js} +1 -1
  449. package/dist/webcomponents/{p-a3265844.entry.js → p-11ff46df.entry.js} +1 -1
  450. package/dist/webcomponents/p-16d2932d.js +1 -0
  451. package/dist/webcomponents/p-16fc16aa.entry.js +1 -0
  452. package/dist/webcomponents/p-18afa159.entry.js +1 -0
  453. package/dist/webcomponents/p-1ab798f4.entry.js +1 -0
  454. package/dist/webcomponents/p-1c44712a.entry.js +1 -0
  455. package/dist/webcomponents/p-206fde40.js +1 -0
  456. package/dist/webcomponents/p-269ba6fe.entry.js +1 -0
  457. package/dist/webcomponents/{p-1e178dd1.entry.js → p-286a4e72.entry.js} +2 -2
  458. package/dist/webcomponents/p-2c2b57b3.js +1 -0
  459. package/dist/webcomponents/{p-61514f78.entry.js → p-2c8c214f.entry.js} +1 -1
  460. package/dist/webcomponents/p-32a782c8.entry.js +1 -0
  461. package/dist/webcomponents/p-366c49b6.entry.js +1 -0
  462. package/dist/webcomponents/{p-277aee05.js → p-3d3468a8.js} +1 -1
  463. package/dist/webcomponents/{p-5df26e65.entry.js → p-3fbbdbba.entry.js} +1 -1
  464. package/dist/webcomponents/p-4422ca71.entry.js +1 -0
  465. package/dist/webcomponents/p-47dbe17d.js +1 -0
  466. package/dist/webcomponents/p-4b14abbf.entry.js +1 -0
  467. package/dist/webcomponents/p-4c0c88e4.entry.js +1 -0
  468. package/dist/webcomponents/p-56d84fb3.entry.js +1 -0
  469. package/dist/webcomponents/p-5f10b3e9.entry.js +1 -0
  470. package/dist/webcomponents/p-638c6285.entry.js +1 -0
  471. package/dist/webcomponents/{p-122c2a11.entry.js → p-69ea7334.entry.js} +1 -1
  472. package/dist/webcomponents/p-6caf6f09.entry.js +1 -0
  473. package/dist/webcomponents/{p-da1d174d.entry.js → p-72819173.entry.js} +1 -1
  474. package/dist/webcomponents/{p-799ee8c3.js → p-74822344.js} +1 -1
  475. package/dist/webcomponents/{p-bc9ae56f.js → p-7fea661a.js} +1 -1
  476. package/dist/webcomponents/p-8480e3ab.entry.js +1 -0
  477. package/dist/webcomponents/p-84987cd4.entry.js +1 -0
  478. package/dist/webcomponents/p-869ae0c7.entry.js +1 -0
  479. package/dist/webcomponents/p-8e228e5a.js +1 -0
  480. package/dist/webcomponents/p-8ec550d7.entry.js +1 -0
  481. package/dist/webcomponents/p-8f212554.entry.js +1 -0
  482. package/dist/webcomponents/p-8f26db63.entry.js +1 -0
  483. package/dist/webcomponents/p-907ba963.js +1 -0
  484. package/dist/webcomponents/p-919e6e67.entry.js +1 -0
  485. package/dist/webcomponents/p-927a147c.entry.js +1 -0
  486. package/dist/webcomponents/p-935188c8.entry.js +1 -0
  487. package/dist/webcomponents/p-9f56ad71.js +1 -0
  488. package/dist/webcomponents/p-a3143d62.entry.js +1 -0
  489. package/dist/webcomponents/{p-ca8e126f.js → p-a8f22d4d.js} +1 -1
  490. package/dist/webcomponents/p-ad443df5.entry.js +1 -0
  491. package/dist/webcomponents/p-b16269d7.js +1 -0
  492. package/dist/webcomponents/p-bba131f9.entry.js +1 -0
  493. package/dist/webcomponents/p-bfb990fc.entry.js +1 -0
  494. package/dist/webcomponents/p-c1bf9285.entry.js +1 -0
  495. package/dist/webcomponents/p-c30c8f39.entry.js +1 -0
  496. package/dist/webcomponents/p-c4df0098.entry.js +1 -0
  497. package/dist/webcomponents/p-c5c6e61d.js +1 -0
  498. package/dist/webcomponents/{p-5022f21c.js → p-c65b78cf.js} +1 -1
  499. package/dist/webcomponents/p-c6be72b0.js +10 -0
  500. package/dist/webcomponents/p-c717646f.entry.js +1 -0
  501. package/dist/webcomponents/{p-08d88fd2.entry.js → p-c8b2f11d.entry.js} +1 -1
  502. package/dist/webcomponents/p-ccbff4fa.entry.js +1 -0
  503. package/dist/webcomponents/p-cd4eaeb7.js +1 -0
  504. package/dist/webcomponents/p-cd7e866c.entry.js +1 -0
  505. package/dist/webcomponents/{p-8f447993.entry.js → p-d2eb61e6.entry.js} +1 -1
  506. package/dist/webcomponents/p-d516e700.js +1 -0
  507. package/dist/webcomponents/p-d5cd727b.entry.js +1 -0
  508. package/dist/webcomponents/p-e07d5e0f.entry.js +1 -0
  509. package/dist/webcomponents/p-e412a713.entry.js +1 -0
  510. package/dist/webcomponents/p-e69b2ff8.entry.js +1 -0
  511. package/dist/webcomponents/p-e6be8845.entry.js +1 -0
  512. package/dist/webcomponents/p-e8797be0.entry.js +1 -0
  513. package/dist/webcomponents/p-eb9ba917.entry.js +1 -0
  514. package/dist/webcomponents/{p-1eb60948.entry.js → p-eeb70281.entry.js} +1 -1
  515. package/dist/webcomponents/p-eee24bb2.entry.js +1 -0
  516. package/dist/webcomponents/{p-cd74be05.entry.js → p-efb56234.entry.js} +1 -1
  517. package/dist/webcomponents/{p-401d6607.js → p-f6f8dabc.js} +1 -1
  518. package/dist/webcomponents/{p-6d4b585d.js → p-fb2005de.js} +1 -1
  519. package/dist/webcomponents/p-fc4de0d2.js +1 -0
  520. package/dist/webcomponents/webcomponents.esm.js +1 -1
  521. package/package.json +1 -1
  522. package/dist/cjs/Payout-a2dd7b01.js +0 -45
  523. package/dist/cjs/form-control-date_3.cjs.entry.js +0 -175
  524. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1688
  525. package/dist/esm/Payout-dfe15b00.js +0 -43
  526. package/dist/esm/form-control-date_3.entry.js +0 -169
  527. package/dist/esm/justifi-payment-method-form.entry.js +0 -1684
  528. package/dist/module/Payout.js +0 -43
  529. package/dist/webcomponents/p-0c2d91a2.entry.js +0 -1
  530. package/dist/webcomponents/p-11f01df5.entry.js +0 -1
  531. package/dist/webcomponents/p-23f95a19.entry.js +0 -1
  532. package/dist/webcomponents/p-2874d4b2.entry.js +0 -10
  533. package/dist/webcomponents/p-43dfda70.entry.js +0 -1
  534. package/dist/webcomponents/p-55182a59.js +0 -1
  535. package/dist/webcomponents/p-55fe2cf2.entry.js +0 -1
  536. package/dist/webcomponents/p-5e5e8a85.js +0 -1
  537. package/dist/webcomponents/p-605614f2.entry.js +0 -1
  538. package/dist/webcomponents/p-6962044f.entry.js +0 -1
  539. package/dist/webcomponents/p-6a9e908b.entry.js +0 -1
  540. package/dist/webcomponents/p-6ba660f2.entry.js +0 -1
  541. package/dist/webcomponents/p-6e258b5f.entry.js +0 -1
  542. package/dist/webcomponents/p-770f60f9.entry.js +0 -1
  543. package/dist/webcomponents/p-7cb3854c.entry.js +0 -1
  544. package/dist/webcomponents/p-80730b71.entry.js +0 -1
  545. package/dist/webcomponents/p-8f04747b.entry.js +0 -1
  546. package/dist/webcomponents/p-9a37eee5.entry.js +0 -1
  547. package/dist/webcomponents/p-a1d037cb.entry.js +0 -1
  548. package/dist/webcomponents/p-a680c982.entry.js +0 -1
  549. package/dist/webcomponents/p-a765230f.entry.js +0 -1
  550. package/dist/webcomponents/p-b7b18954.entry.js +0 -1
  551. package/dist/webcomponents/p-c241cc62.entry.js +0 -1
  552. package/dist/webcomponents/p-d0ffb01c.entry.js +0 -1
  553. package/dist/webcomponents/p-da316a74.entry.js +0 -1
  554. package/dist/webcomponents/p-db3d1d7d.entry.js +0 -1
  555. package/dist/webcomponents/p-dee2a3f8.entry.js +0 -1
  556. package/dist/webcomponents/p-e3fab0e2.js +0 -1
  557. package/dist/webcomponents/p-e56ade55.js +0 -1
  558. package/dist/webcomponents/p-e927fd5c.entry.js +0 -1
  559. package/dist/webcomponents/p-f3e00572.entry.js +0 -1
  560. package/dist/webcomponents/p-f71a5975.entry.js +0 -1
  561. /package/dist/cjs/{exported-parts-b18c68c2.js → exported-parts-a994d693.js} +0 -0
  562. /package/dist/cjs/{index.esm-52757963.js → index.esm-97cf6825.js} +0 -0
  563. /package/dist/cjs/{utils-c1d2e426.js → utils-189dc30d.js} +0 -0
  564. /package/dist/cjs/{utils-ddacfc44.js → utils-bc03ca40.js} +0 -0
  565. /package/dist/collection/{components → ui-components}/details/utils.js +0 -0
  566. /package/dist/collection/{components → ui-components}/form/form-helpers/form-alert/form-alert.js +0 -0
  567. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -0
  568. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.js +0 -0
  569. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-tooltip/form-control-tooltip.js +0 -0
  570. /package/dist/collection/{components → ui-components}/form/form.js +0 -0
  571. /package/dist/collection/{components → ui-components}/form/utils.js +0 -0
  572. /package/dist/collection/{components → ui-components}/table/exported-parts.js +0 -0
  573. /package/dist/esm/{exported-parts-abd4c027.js → exported-parts-70e7a12b.js} +0 -0
  574. /package/dist/esm/{index.esm-fc4f5c0c.js → index.esm-ed37201b.js} +0 -0
  575. /package/dist/esm/{utils-3bb6347a.js → utils-20cdf321.js} +0 -0
  576. /package/dist/esm/{utils-01413a95.js → utils-218275b7.js} +0 -0
  577. /package/dist/types/{components → ui-components}/details/details.d.ts +0 -0
  578. /package/dist/types/{components → ui-components}/details/utils.d.ts +0 -0
  579. /package/dist/types/{components → ui-components}/form/form-control-checkbox.d.ts +0 -0
  580. /package/dist/types/{components → ui-components}/form/form-control-file.d.ts +0 -0
  581. /package/dist/types/{components → ui-components}/form/form-control-monetary.d.ts +0 -0
  582. /package/dist/types/{components → ui-components}/form/form-control-number-masked.d.ts +0 -0
  583. /package/dist/types/{components → ui-components}/form/form-control-number.d.ts +0 -0
  584. /package/dist/types/{components → ui-components}/form/form-control-select.d.ts +0 -0
  585. /package/dist/types/{components → ui-components}/form/form-control-text.d.ts +0 -0
  586. /package/dist/types/{components → ui-components}/form/form-helpers/form-alert/form-alert.d.ts +0 -0
  587. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -0
  588. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.d.ts +0 -0
  589. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +0 -0
  590. /package/dist/types/{components → ui-components}/form/form.d.ts +0 -0
  591. /package/dist/types/{components → ui-components}/form/utils.d.ts +0 -0
  592. /package/dist/types/{components → ui-components}/table/exported-parts.d.ts +0 -0
  593. /package/dist/webcomponents/{p-2eab3c90.js → p-3c654c07.js} +0 -0
  594. /package/dist/webcomponents/{p-2b6c9c4f.js → p-6cc30da2.js} +0 -0
  595. /package/dist/webcomponents/{p-dce846bf.js → p-a8b4f429.js} +0 -0
  596. /package/dist/webcomponents/{p-8df7bde8.js → p-e3c22aa9.js} +0 -0
@@ -0,0 +1,24 @@
1
+ const MapPaymentStatusToBadge = (status) => {
2
+ switch (status) {
3
+ case 'succeeded':
4
+ return "<span class='badge bg-success' title='This payment was successfully captured'>Succeeded</span>";
5
+ case 'authorized':
6
+ return "<span class='badge bg-primary' title='This card payment was authorized, but not captured. It could still succeed or fail.'>Authorized</span>";
7
+ case 'pending':
8
+ return "<span class='badge bg-primary' title='This ACH payment was processed, but the funds haven't settled. It could still succeed or fail.'>Pending</span>";
9
+ case 'achFailed':
10
+ return "<span class='badge bg-danger' title='The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)'>Failed</span>";
11
+ case 'failed':
12
+ return "<span class='badge bg-danger' title='This card payment didn't go through (it won't appear in a payout)'>Failed</span>";
13
+ case 'canceled':
14
+ return "<span class='badge bg-danger' title='This payment was canceled'>Canceled</span>";
15
+ case 'disputed':
16
+ return "<span class='badge bg-secondary' title='The account holder disputed this payment. The amount has been returned and a fee assessed.'>Disputed</span>";
17
+ case 'fully_refunded':
18
+ return "<span class='badge bg-secondary' title='The full amount of this payment has been refunded'>Fully Refunded</span>";
19
+ case 'partially_refunded':
20
+ return "<span class='badge bg-secondary' title='A portion of this payment has been refunded'>Partially Refunded</span>";
21
+ }
22
+ };
23
+
24
+ export { MapPaymentStatusToBadge as M };
@@ -1,7 +1,8 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { k as MapPayoutStatusToBadge, a as formatCurrency, e as formatDate, j as formatTime } from './utils2.js';
2
+ import { c as formatCurrency, a as formatDate, b as formatTime } from './utils2.js';
3
3
  import { L as LoadingState, E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.js';
4
4
  import { S as StyledHost } from './styled-host.js';
5
+ import { M as MapPayoutStatusToBadge } from './payouts-status.js';
5
6
  import { d as defineCustomElement$1 } from './details.js';
6
7
 
7
8
  const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCore extends HTMLElement {
@@ -57,7 +58,7 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
57
58
  }
58
59
  render() {
59
60
  var _a;
60
- return (h(StyledHost, { key: 'b538a72063f57deea45d1ce74c173156a499e08f' }, this.loading && LoadingState(), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '5ea45dac87ab9959a0d821c2d2cae5ee9cf0894b', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '372a13f727ec9d0d375b37ae029a5ab2df3d72d3', slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status) }), title: `${formatCurrency(this.payout.amount)} ${this.payout.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: '9afd1e327235bb0d3a48697ea01b68a5516789c2', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'f00add046d617c12540be0cfc4540808719e0e65', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '239849324e65aa9eea6070c4fca8d2a85c490bb1', title: "ID", value: this.payout.id }), h("div", { key: '0f2ea65e410f9e89499e60b14b91005d3e98838d', class: "m-4" }, h("button", { key: '09b9efcd24c0aa3364be75f2ec07055a381f100a', class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'a8ff31263826356fb0c0ea7dbc3433e04e45d413', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '47923246812e7ef3828fc33914c3f01cb6a38b31', sectionTitle: "Details" }), h("div", { key: '37bf9c3a58e2a2678bb96b6aaca739e032ea61b9', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '772024dd509058d54e6da5d3a6450a163774fd36', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '2925020997b1da4e263ae44ef55605765407c386', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'e34388b87e09d4c94ca4463f3a5ede078f41d938', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '931e4fc84ad6932b40824cdbb8bf8909bacee2c7', title: "Amount", value: formatCurrency(this.payout.amount) }), h(DetailItem, { key: '38c1be3b0872d990dfafcdd796ed2a9be6a8bfa1', title: "Fee", value: formatCurrency(this.payout.fees_total) })), h(DetailSectionTitle, { key: '0057ad126e391f2f55307a3c6035c8feb1ca959b', sectionTitle: "Account" }), h("div", { key: '2d19e06db0a626313481f91a4602239634c846c7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '147e30b77458b02cc0d996ba91e253dfa11e58a0', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '32f4ffcd4c44e3adc97e94da99aaafa0412fe258', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '293bbea794dd126fbaada4b263f2b85ed0d9fbb4', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '0dbb60bb773745657961d1a20a3621ba319436c0', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '5dbf5b3225b33cf7d6f838e0621eac4ace8351c9', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSectionTitle, { key: 'e89cdd81cb5ef15d964c0a00a0bbb2f57fadc5d2', sectionTitle: 'Metadata' }), h("div", { key: '6c3da5b9aeaef544d28504708af32219164c37ca', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '0ad346c1bfb3639852b64fc3ab4906efad584f54', metadata: this.payout.metadata })))))));
61
+ return (h(StyledHost, { key: '77668046c9b20d8e5fa2b1cf278925a8646052d7' }, this.loading && LoadingState(), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '975c61e183b809b42e96b1785a9c8c60ac397231', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '0258d3adf8c1f65c0f78446a3c5fa6c5a39fdde4', slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status) }), title: `${formatCurrency(this.payout.amount)} ${this.payout.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: 'd845cd2abc1d82cc62ea7116a405570b235bcde0', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '8ae3e1f22c0fb5fd76e1fdbecb91bc70be0ffe21', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '8d0405aa11c546ddc92b4e2e65c651a4aae2c82f', title: "ID", value: this.payout.id }), h("div", { key: 'a2b2b06a33009bb27c60aa0d2af74f0ec18db3d1', class: "m-4" }, h("button", { key: 'ae32f0567a4d4d533a322c20668b2a165fe71f4c', class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '1519308f535b2f7dbc065f3320b60755c732f5e4', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'b4da3442d6e86f9a4d6b2a8ffd6ed40053294151', sectionTitle: "Details" }), h("div", { key: '1a83acdafddfda491141cc68b70fbf2c9d4df69c', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'ac81d5cb6b185a4e40c5a27bd75113657a86d087', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '9b327577694e255d466a6009de0d39d67a144063', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '8ac6c81f11caa365e6b530bedeb26a7682199538', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '1cd8424c8299f8f334bd08e85cbe81018dfd69c3', title: "Amount", value: formatCurrency(this.payout.amount) }), h(DetailItem, { key: '44f6cbf82e5f79d8fa532923233d6a5eedeef19c', title: "Fee", value: formatCurrency(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'fc4366a767fd89ab25939d1d3cef9e2372c6b7ba', sectionTitle: "Account" }), h("div", { key: '7ea8ccb28ef7cb32490e82cf8470c88de6275fcb', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '9e50c25012fe1873ef4bf8dd65d9aa1f0b2f6252', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'be19c35d8766716abe7a94a43ff1360fb2bc8caf', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'f3ceaa15d8e8c8de8a4b57d431049b5f1f12b7aa', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '25468ae8b033172207f130448926eda8333df841', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'c5b60f0bfa2cfdc826cc54670ab66af199c8babc', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSectionTitle, { key: '78392b7f27b6ceb3499c512f2174e3d4b4058f63', sectionTitle: 'Metadata' }), h("div", { key: '43c5439322874b89612f37ec41e906fda030dd3b', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '2929f26c8b7932862cbb735bc8644eabd9494e14', metadata: this.payout.metadata })))))));
61
62
  }
62
63
  static get watchers() { return {
63
64
  "getPayout": ["getPayoutWatcher"]
@@ -1,11 +1,12 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import './Checkout.js';
2
3
  import { p as pagingDefaults } from './Pagination.js';
3
4
  import './Payment.js';
4
- import { a as PayoutStatuses, b as PayoutStatusesSafeNames } from './Payout.js';
5
- import { e as formatDate, j as formatTime, a as formatCurrency } from './utils2.js';
5
+ import './SubAccount.js';
6
+ import { a as formatDate, b as formatTime, c as formatCurrency } from './utils2.js';
6
7
  import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
7
- import { t as tableExportedParts, T as TableLoadingState, a as TableEmptyState, b as TableErrorState } from './exported-parts.js';
8
- import { S as StyledHost } from './styled-host.js';
8
+ import { T as TableLoadingState, a as TableEmptyState, b as TableErrorState } from './table-loading-state.js';
9
+ import { M as MapPayoutStatusToBadge } from './payouts-status.js';
9
10
  import { d as defineCustomElement$5 } from './custom-popper2.js';
10
11
  import { d as defineCustomElement$4 } from './form-control-date2.js';
11
12
  import { d as defineCustomElement$3 } from './form-control-error-text2.js';
@@ -48,22 +49,6 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
48
49
  delete newParams.before_cursor;
49
50
  this.params = Object.assign(Object.assign({}, newParams), { after_cursor: afterCursor });
50
51
  };
51
- this.mapStatusToBadge = (status) => {
52
- switch (status) {
53
- case PayoutStatuses.scheduled:
54
- return `<span class="badge bg-primary" title='Batched and scheduled to be transferred'>${PayoutStatusesSafeNames[status]}</span>`;
55
- case PayoutStatuses.in_transit:
56
- return `<span class="badge bg-primary" title='Transfer to your bank account has been initiated'>${PayoutStatusesSafeNames[status]}</span>`;
57
- case PayoutStatuses.failed:
58
- return `<span class="badge bg-danger" title='Transfer to your bank account failed'>${PayoutStatusesSafeNames[status]}</span>`;
59
- case PayoutStatuses.canceled:
60
- return `<span class="badge bg-danger" title='Transfer to your bank account failed'>${PayoutStatusesSafeNames[status]}</span>`;
61
- case PayoutStatuses.forwarded:
62
- return `<span class="badge bg-secondary" title='The funds have been forwarded to your next successful payout'>${PayoutStatusesSafeNames[status]}</span>`;
63
- case PayoutStatuses.paid:
64
- return `<span class="badge bg-success" title='Successfully deposited into your bank account'>${PayoutStatusesSafeNames[status]}</span>`;
65
- }
66
- };
67
52
  this.rowClickHandler = (e) => {
68
53
  const clickedPayoutID = e.target.closest('tr').dataset.rowEntityId;
69
54
  if (!clickedPayoutID)
@@ -141,7 +126,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
141
126
  formatCurrency(payout.fees_total),
142
127
  formatCurrency(payout.other_total),
143
128
  formatCurrency(payout.amount),
144
- { type: 'inner', value: this.mapStatusToBadge(payout.status) },
129
+ { type: 'inner', value: MapPayoutStatusToBadge(payout.status) },
145
130
  (h(DownloadIcon, { title: "Export CSV", onClick: () => this.downloadCSV(payout.id), style: { height: '24px', width: '24px', cursor: 'pointer' } })),
146
131
  ]);
147
132
  }
@@ -155,8 +140,8 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
155
140
  return !this.showEmptyState && !this.showErrorState;
156
141
  }
157
142
  render() {
158
- return (h(StyledHost, { key: '832eff9b77800d6631c73559b61af3b8c5c1eb5b', exportedparts: tableExportedParts }, h("div", { key: 'b2a127643e0a48888c643f77d9235082502a2549', class: "row gy-3 mb-4" }, h("div", { key: '6b2ef796b48da76e816ed5090126bf6c891687ce', class: "col-2" }, h("form-control-date", { key: '52c7507bd47a665d8986cdde06a1e26f30a5f9e0', name: "created_after", label: "Date from:", inputHandler: this.handleDateChange })), h("div", { key: 'acb3307eec6b6d36b229d59683782bfbb2e65239', class: "col-2" }, h("form-control-date", { key: '294f40153e9eb61b53152763ff54e942620962a0', name: "created_before", label: "Date to:", inputHandler: this.handleDateChange }))), h("div", { key: '0d55a8fe0017a7fc3a3a675b11aeff9f0eb71cef', class: "table-wrapper" }, h("table", { key: 'c7fe79007a7ddb600117df904e376465abec406e', class: "table table-hover" }, h("thead", { key: '451a5f744c76a6b6beb2ad0cafd3677fd0f0b190', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: 'c7b58d5e0a96536df39673f8ac928c0809fe7f64', class: "table-light text-nowrap", part: "table-head-row" }, this.columnData.map((column) => (h("th", { part: "table-head-cell", scope: "col", title: Array.isArray(column) ? column[1] : '' }, Array.isArray(column) ? column[0] : column))))), h("tbody", { key: '638cac393da61b6c73a7b287f5c9b13d0817390e', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: 'dd768838da9b29c4f1e251eb27ba2c5b467a4a7d', columnSpan: this.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '412fe6a904e37f095c5c7a0aeb2356b893cfef7b', isEmpty: this.showEmptyState, columnSpan: this.columnData.length }), h(TableErrorState, { key: '144bf2bf71789a1a29b638291ec5ca16ab31b2fc', columnSpan: this.columnData.length, errorMessage: this.errorMessage }), this.showRowData &&
159
- this.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? 'table-row-even' : 'table-row-odd'}` }, data.map((dataEntry) => ((dataEntry === null || dataEntry === void 0 ? void 0 : dataEntry.type) ? (h("td", { part: "table-cell", innerHTML: dataEntry.value })) : (h("td", { part: "table-cell" }, dataEntry)))))))), this.paging && (h("tfoot", { key: '0df80be6f5c3e2cd18fa27c0ec2e1cb560348908', class: "sticky-bottom" }, h("tr", { key: '0d25309ea10e119e07e6d5438b70dd5a83b22f2b', class: "table-light align-middle" }, h("td", { key: '25a111ea022692ea8502ddfdf92dd9811fde6024', part: "pagination-bar", colSpan: this.columnData.length }, h("pagination-menu", { key: '5cc20eba110ab7c974dc43c8d20e94f6cb17ec81', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
143
+ return (h("div", { key: '536d8a921bb7b6517dc65afd307507668e74e92f' }, h("div", { key: '5d33c651af05927db51e7d855772ff1c60f71ef0', class: "row gy-3 mb-4" }, h("div", { key: '53f246db4d96ef4ac445c0b57d4da3471c9fdbdb', class: "col-2" }, h("form-control-date", { key: 'd6e711e3e92e53cff8e2ee4a8c4a3788584c0f77', name: "created_after", label: "Date from:", inputHandler: this.handleDateChange })), h("div", { key: '86ab746d1e7f9e11dfeca4cd185909d9d447fe85', class: "col-2" }, h("form-control-date", { key: '232edbf8284d14ed3659a199b144eb5596e22b88', name: "created_before", label: "Date to:", inputHandler: this.handleDateChange }))), h("div", { key: '10c720e38bd24ff9431d59a28ec46f62bd8c04a7', class: "table-wrapper" }, h("table", { key: 'fdbf0978c018315d5e67caf9273e59bf4e50205c', class: "table table-hover" }, h("thead", { key: 'f3fc1532a46f8b92eff8d385462fe8ba9448840b', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: 'fe552206bf026258b40031c10a030fb32f98879d', class: "table-light text-nowrap", part: "table-head-row" }, this.columnData.map((column) => (h("th", { part: "table-head-cell", scope: "col", title: Array.isArray(column) ? column[1] : '' }, Array.isArray(column) ? column[0] : column))))), h("tbody", { key: '1247efd4d95cfb257d052acf9dbcac84203aaaaf', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: '1107d1a965651133504db486d4d0b692fe9735e9', columnSpan: this.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '8435806053ae9d16a05cc031f33d3b97e4d02248', isEmpty: this.showEmptyState, columnSpan: this.columnData.length }), h(TableErrorState, { key: '01213ac9d7f63e0eaa11c38f4aebe59aef3650d9', columnSpan: this.columnData.length, errorMessage: this.errorMessage }), this.showRowData &&
144
+ this.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? 'table-row-even' : 'table-row-odd'}` }, data.map((dataEntry) => ((dataEntry === null || dataEntry === void 0 ? void 0 : dataEntry.type) ? (h("td", { part: "table-cell", innerHTML: dataEntry.value })) : (h("td", { part: "table-cell" }, dataEntry)))))))), this.paging && (h("tfoot", { key: 'd2a1b0dd2340cf64816ad05c1c03f136b21df0a6', class: "sticky-bottom" }, h("tr", { key: 'abb87b7c026475da175a6bec772887bf3ac08933', class: "table-light align-middle" }, h("td", { key: '32070f512aebc77a42693a93e717d31ef9ed4509', part: "pagination-bar", colSpan: this.columnData.length }, h("pagination-menu", { key: '57ee656553f4afee96f5dbdac5866f103cde97eb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
160
145
  }
161
146
  static get watchers() { return {
162
147
  "params": ["updateOnPropChange"],
@@ -0,0 +1,22 @@
1
+ const MapPayoutStatusToBadge = (status) => {
2
+ switch (status) {
3
+ case 'canceled':
4
+ return "<span class='badge bg-danger' title='Transfer to your bank account failed'>Canceled</span>";
5
+ case 'failed':
6
+ return "<span class='badge bg-danger' title='Transfer to your bank account failed'>Failed</span>";
7
+ case 'forwarded':
8
+ return "<span class='badge bg-secondary' title='This payout initially failed; the funds have been forwarded to your next successful payout'>Forwarded</span>";
9
+ case 'in_transit':
10
+ return "<span class='badge bg-primary' title='Transfer to your bank account has been initiated'>In Transit</span>";
11
+ case 'paid':
12
+ return "<span class='badge bg-success' title='Successfully deposited into your bank account'>Paid</span>";
13
+ case 'pending':
14
+ return "<span class='badge bg-primary' title='Batched and scheduled to be transferred'>Pending</span>";
15
+ case 'scheduled':
16
+ return "<span class='badge bg-primary' title='Batched and scheduled to be transferred'>Scheduled</span>";
17
+ case 'withdrawn':
18
+ return "<span class='badge bg-success' title='Negative payout balance successfully withdrawn from your bank account'>Withdrawn</span>";
19
+ }
20
+ };
21
+
22
+ export { MapPayoutStatusToBadge as M };
@@ -0,0 +1,60 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$5 } from './custom-popper2.js';
3
+ import { d as defineCustomElement$4 } from './form-control-error-text2.js';
4
+ import { d as defineCustomElement$3 } from './form-control-file2.js';
5
+ import { d as defineCustomElement$2 } from './form-control-text2.js';
6
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
7
+
8
+ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.productOrService = undefined;
13
+ }
14
+ render() {
15
+ return (h("div", { key: '1093c8d9b1fe6875c3cd0fc8422f46d6ed5b8aae' }, h("div", { key: '6d6df2f3a1c3567bac929adde53dd91d8aee98a3', class: "row gy-3" }, h("div", { key: '0111ec6b367ab5728afba391fb62c034c68f75f4', class: "col-12" }, h("h2", { key: '850b6360c847ad3da0c16e275acd07a70dcec0c2', class: "h5" }, "Product & Service Details")), h("div", { key: 'b00fe2787f21032de5203660f6d467d2d3bbecdc', class: "col-12" }, h("form-control-text", { key: 'd7ac38a0efc9f36894227f85fbee2e2886e96757', label: "Product Description", name: "product_description" })), h("div", { key: '6cda4e7ac36e124043078b3d47513d5a4ec5cac4', class: "col-12" }, h("form-control-text", { key: '585744cbc9775643779ecb59752d1f883c4cdea0', label: "Service Date", name: "service_date" })), h("div", { key: '07e96df94d2c40fc9e0e2868cf5b8d4a519d1895', class: "col-12" }, h("form-control-file", { key: 'e98020135a597563248a5dac713d87715c11752c', label: "Service Documentation", name: "service_documentation" })))));
16
+ }
17
+ }, [0, "justifi-product-or-service", {
18
+ "productOrService": [32]
19
+ }]);
20
+ function defineCustomElement() {
21
+ if (typeof customElements === "undefined") {
22
+ return;
23
+ }
24
+ const components = ["justifi-product-or-service", "custom-popper", "form-control-error-text", "form-control-file", "form-control-text", "form-control-tooltip"];
25
+ components.forEach(tagName => { switch (tagName) {
26
+ case "justifi-product-or-service":
27
+ if (!customElements.get(tagName)) {
28
+ customElements.define(tagName, ProductOrService);
29
+ }
30
+ break;
31
+ case "custom-popper":
32
+ if (!customElements.get(tagName)) {
33
+ defineCustomElement$5();
34
+ }
35
+ break;
36
+ case "form-control-error-text":
37
+ if (!customElements.get(tagName)) {
38
+ defineCustomElement$4();
39
+ }
40
+ break;
41
+ case "form-control-file":
42
+ if (!customElements.get(tagName)) {
43
+ defineCustomElement$3();
44
+ }
45
+ break;
46
+ case "form-control-text":
47
+ if (!customElements.get(tagName)) {
48
+ defineCustomElement$2();
49
+ }
50
+ break;
51
+ case "form-control-tooltip":
52
+ if (!customElements.get(tagName)) {
53
+ defineCustomElement$1();
54
+ }
55
+ break;
56
+ } });
57
+ }
58
+ defineCustomElement();
59
+
60
+ export { ProductOrService as P, defineCustomElement as d };
@@ -0,0 +1,63 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$6 } from './custom-popper2.js';
3
+ import { d as defineCustomElement$5 } from './form-control-error-text2.js';
4
+ import { d as defineCustomElement$4 } from './form-control-file2.js';
5
+ import { d as defineCustomElement$3 } from './form-control-help-text2.js';
6
+ import { d as defineCustomElement$2 } from './form-control-textarea2.js';
7
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
8
+
9
+ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ this.__registerHost();
13
+ }
14
+ render() {
15
+ return (h("div", { key: '7f9095e25e7fce0b5277d332f304f99d81693a72' }, h("div", { key: '9c81d685961f496f680c795d25f1d33da8693a98', class: "row gy-3" }, h("div", { key: '983622ce45a875c01b6d4479e84ce5bfe079e0d6', class: "col-12" }, h("h2", { key: '33e426cd1aabf66e97eaf2292c2e79e0f27a82c8', class: "h5" }, "Refund Policy and Receipt")), h("div", { key: '6968a33fef60038777e4b34a528c07361486262e', class: "col-12" }, h("form-control-textarea", { key: 'dcded5a84ef9104045fe228f5a498b42b7c4bc72', label: "Refund Policy Disclosure", name: "refund_policy_disclosure" })), h("div", { key: '5cf7d7017f4a43f3dbf592e2191b8ac5a53f9695', class: "col-12" }, h("form-control-textarea", { key: '81c95385cb04ef82fb23b95bc084c118a153280a', label: "Refund Refund Explanation", name: "refund_refusal_explanation" })), h("div", { key: '8ff60b9d1a1159073314905b56ecf46eb35a321e', class: "col-12" }, h("form-control-file", { key: 'f308750940e7fd12972584281169c265c28834d6', label: "Upload Refund Policy", name: "refund_policy" })), h("div", { key: '802abe379ac422c927022be29effecee97dd1694', class: "col-12" }, h("form-control-file", { key: '2d166d7768de62e5f6efb3cd466b856296ce4929', label: "Upload Receipt", name: "receipt" })))));
16
+ }
17
+ }, [0, "justifi-refund-policy"]);
18
+ function defineCustomElement() {
19
+ if (typeof customElements === "undefined") {
20
+ return;
21
+ }
22
+ const components = ["justifi-refund-policy", "custom-popper", "form-control-error-text", "form-control-file", "form-control-help-text", "form-control-textarea", "form-control-tooltip"];
23
+ components.forEach(tagName => { switch (tagName) {
24
+ case "justifi-refund-policy":
25
+ if (!customElements.get(tagName)) {
26
+ customElements.define(tagName, RefundPolicy);
27
+ }
28
+ break;
29
+ case "custom-popper":
30
+ if (!customElements.get(tagName)) {
31
+ defineCustomElement$6();
32
+ }
33
+ break;
34
+ case "form-control-error-text":
35
+ if (!customElements.get(tagName)) {
36
+ defineCustomElement$5();
37
+ }
38
+ break;
39
+ case "form-control-file":
40
+ if (!customElements.get(tagName)) {
41
+ defineCustomElement$4();
42
+ }
43
+ break;
44
+ case "form-control-help-text":
45
+ if (!customElements.get(tagName)) {
46
+ defineCustomElement$3();
47
+ }
48
+ break;
49
+ case "form-control-textarea":
50
+ if (!customElements.get(tagName)) {
51
+ defineCustomElement$2();
52
+ }
53
+ break;
54
+ case "form-control-tooltip":
55
+ if (!customElements.get(tagName)) {
56
+ defineCustomElement$1();
57
+ }
58
+ break;
59
+ } });
60
+ }
61
+ defineCustomElement();
62
+
63
+ export { RefundPolicy as R, defineCustomElement as d };
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
2
2
  import { c as config } from './config.js';
3
- import { h as snakeToCamel } from './utils2.js';
3
+ import { j as snakeToCamel } from './utils2.js';
4
4
 
5
5
  class PaymentMethodOption {
6
6
  constructor(paymentMethod) {
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { a as formatCurrency } from './utils2.js';
2
+ import { c as formatCurrency } from './utils2.js';
3
3
  import { v as validateInsuranceValues, a as insuranceValues, b as insuranceErrors } from './insurance-state.js';
4
4
  import { S as StyledHost } from './styled-host.js';
5
5
 
@@ -111,8 +111,8 @@ const SeasonInterruptionInsuranceCore = /*@__PURE__*/ proxyCustomElement(class S
111
111
  }
112
112
  render() {
113
113
  var _a, _b, _c, _d;
114
- return (h(StyledHost, { key: '81e20ca31e810e7fc12af0f44f993496e07c4396' }, !this.isLoading &&
115
- h("div", { key: '7c149f9f9456217cb7c29952d16dee4dbd70ebf7' }, h("h2", { key: 'a65ebd19c87c4e7f5d7d119c8ce8e9c7f7386a30', class: "fs-5 fw-bold pb-3 jfi-header" }, (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title), h("small", { key: 'bc0e129420022c3c301e8563785472fae601376a', innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description }), h("div", { key: '1a4aa9f69e56218fb49861430e62b9261a48f16d' }, h("input", { key: '2e698541d48c5b6a9f50188c0fd8ecc5a7109bca', 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: '797b599fd82cf6ddac712732649d761469421dd0', htmlFor: "accept" }, "Accept coverage for ", formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents))), h("div", { key: 'c3b9aa2b5d008bc3ed2137445fdbd2538f6d96ef', class: "mb-2" }, h("input", { key: '9cdfc5e6db2429685b18ee1adfcad9ac24eec414', 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: 'fd7018ee984526b2d6989f41293712dfb7acdb07', htmlFor: "decline" }, "Decline coverage")), h("div", { key: '80b34b387b3584f1debb418bf8937142fe412636', class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' } }, "Please select an option"), h("small", { key: '4558da3c342a699236c604fb12923d519c53cd89', innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer }))));
114
+ return (h(StyledHost, { key: 'ca90d98930a8edff34e6690caa04421a70fa9238' }, !this.isLoading &&
115
+ h("div", { key: 'ff7e145e0fe3e4cc1b1b476369dec63228aeafbf' }, h("h2", { key: '206a364e3efdeafc1c17c6d25ec5de1b8ce21c29', class: "fs-5 fw-bold pb-3 jfi-header" }, (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title), h("small", { key: '0f3ef80b76e2d50b793175dfd9de9910329254ea', innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description }), h("div", { key: '5fa4ea480c0ebc1870f222a4f58529676451e9d4' }, h("input", { key: '40f5f25d82c9a5ecea558ea0f6763d619f82727e', 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: 'c7e2cd5fa6052765e2155cbc24f6fd9d6b8da723', htmlFor: "accept" }, "Accept coverage for ", formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents))), h("div", { key: '47d716b0cb114e3c0a62776491153ca2ce389ce7', class: "mb-2" }, h("input", { key: 'dd442bb652f98a75d184e99d78d79292189ef867', 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: 'e5b7a36f006ed6a78eb762c1bea131800ab45ae4', htmlFor: "decline" }, "Decline coverage")), h("div", { key: 'dddae2c74c62641ccd2ba7352190d6e4731ef19b', class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' } }, "Please select an option"), h("small", { key: '67684b8a101061c54b0629ae35000032232e6847', innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer }))));
116
116
  }
117
117
  static get style() { return JustifiSeasonInterruptionInsuranceCoreStyle0 + (JustifiSeasonInterruptionInsuranceCoreStyle1 + JustifiSeasonInterruptionInsuranceCoreStyle2); }
118
118
  }, [1, "justifi-season-interruption-insurance-core", {
@@ -1,6 +1,6 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
2
  import { c as config } from './config.js';
3
- import { a as formatCurrency } from './utils2.js';
3
+ import { c as formatCurrency } from './utils2.js';
4
4
 
5
5
  const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
6
6
  display: 'inline',
@@ -0,0 +1,79 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$8 } from './custom-popper2.js';
3
+ import { d as defineCustomElement$7 } from './form-control-date2.js';
4
+ import { d as defineCustomElement$6 } from './form-control-error-text2.js';
5
+ import { d as defineCustomElement$5 } from './form-control-file2.js';
6
+ import { d as defineCustomElement$4 } from './form-control-help-text2.js';
7
+ import { d as defineCustomElement$3 } from './form-control-text2.js';
8
+ import { d as defineCustomElement$2 } from './form-control-textarea2.js';
9
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
10
+
11
+ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails extends HTMLElement {
12
+ constructor() {
13
+ super();
14
+ this.__registerHost();
15
+ }
16
+ // "shipping_address": "...",
17
+ // "shipping_carrier": "...",
18
+ // "shipping_date": "...",
19
+ // "shipping_tracking_number": "...",
20
+ render() {
21
+ return (h("div", { key: 'b751c099794fd1e199fc33c5d09899dfd112983b' }, h("div", { key: '199584570dafdf9d7592b58c786c40eab29a9e2d', class: "row gy-3" }, h("div", { key: 'aa22d4ccaa52177f51584faf433208d55de363af', class: "col-12" }, h("h2", { key: '43b90ea2ccca89595bc9edd44e6b6c7231f6a417', class: "h5" }, "Shipping Details")), h("div", { key: '337e087f6a073ce3e5add78813e127578599009f', class: "col-12" }, h("form-control-text", { key: '6b451a1c2e730adb7672a7d31e2a329ddddb9801', label: "Shipping Carrier Name", name: "shipping_carrier" })), h("div", { key: 'ff49c1efb33231b0c81a1b03062031eabcc8b2b5', class: "col-12" }, h("form-control-text", { key: '54b17aba899f77e7c988a367fa3405fbed62b7ed', label: "Tracking Number", name: "shipping_tracking_number" })), h("div", { key: 'cc9a4441663f35a49d119ffdd71562fec327d6da', class: "col-12" }, h("form-control-date", { key: '3e8a41b5a6247a11e11311dcb93e5e567a2bf647', label: "Date Shipped", name: "shipping_date" })), h("div", { key: '0d76ef386013035480f2c1041ddaf4f0a7e88522', class: "col-12" }, h("form-control-textarea", { key: '2c587c5c24127aac5c60c20cf6717060a5fbb35f', label: "Shipping Address", name: "shipping_address" })), h("div", { key: '783465b60c9529abfae87c0c92915c3a79e4a3e8', class: "col-12" }, h("form-control-file", { key: 'ab665466efa871edacc58e60ba572db7f570a83f', label: "Shipping Documentation", name: "shipping_documentation" })))));
22
+ }
23
+ }, [0, "justifi-shipping-details"]);
24
+ function defineCustomElement() {
25
+ if (typeof customElements === "undefined") {
26
+ return;
27
+ }
28
+ const components = ["justifi-shipping-details", "custom-popper", "form-control-date", "form-control-error-text", "form-control-file", "form-control-help-text", "form-control-text", "form-control-textarea", "form-control-tooltip"];
29
+ components.forEach(tagName => { switch (tagName) {
30
+ case "justifi-shipping-details":
31
+ if (!customElements.get(tagName)) {
32
+ customElements.define(tagName, ShippingDetails);
33
+ }
34
+ break;
35
+ case "custom-popper":
36
+ if (!customElements.get(tagName)) {
37
+ defineCustomElement$8();
38
+ }
39
+ break;
40
+ case "form-control-date":
41
+ if (!customElements.get(tagName)) {
42
+ defineCustomElement$7();
43
+ }
44
+ break;
45
+ case "form-control-error-text":
46
+ if (!customElements.get(tagName)) {
47
+ defineCustomElement$6();
48
+ }
49
+ break;
50
+ case "form-control-file":
51
+ if (!customElements.get(tagName)) {
52
+ defineCustomElement$5();
53
+ }
54
+ break;
55
+ case "form-control-help-text":
56
+ if (!customElements.get(tagName)) {
57
+ defineCustomElement$4();
58
+ }
59
+ break;
60
+ case "form-control-text":
61
+ if (!customElements.get(tagName)) {
62
+ defineCustomElement$3();
63
+ }
64
+ break;
65
+ case "form-control-textarea":
66
+ if (!customElements.get(tagName)) {
67
+ defineCustomElement$2();
68
+ }
69
+ break;
70
+ case "form-control-tooltip":
71
+ if (!customElements.get(tagName)) {
72
+ defineCustomElement$1();
73
+ }
74
+ break;
75
+ } });
76
+ }
77
+ defineCustomElement();
78
+
79
+ export { ShippingDetails as S, defineCustomElement as d };
@@ -43,7 +43,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
43
43
  this.menu.classList.remove('show');
44
44
  }
45
45
  render() {
46
- return (h("div", { key: 'aa914e16d2a733c8b7b6fee24225120d6901f0b5', class: "d-flex gap-2" }, h("div", { key: 'b53ff88da49d4060edfb1b96bf4577babf8e66f8', class: "dropdown pb-3" }, h(Button, { key: '176da3d69ae445dbc46e9c6602258ccb9bdeb515', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '562c6961a08e7b66518d9c2a283ddcb8a5787fa3', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '28d51e3aaa14f8208c9680b65058d3fd9f85f4d7', class: "dropdown-menu", part: "dropdown-menu", "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: 'f00fb0dafac62c1a4283f1c2eb80c34dadaecd15' })))), h("div", { key: 'b8b9b9c7af5bfd7a20a34be4f28cda59a048f97a' }, h(Button, { key: '46746c3524824bf88120baf7e19c1687c3b8fa71', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
46
+ return (h("div", { key: 'de116fd5406fcc4feb36df24f8fc3162b39567e8', class: "d-flex gap-2" }, h("div", { key: '07c7d885acc4816d28e3c2653d5e4c9a7ea42108', class: "dropdown pb-3" }, h(Button, { key: '34cee2bf49991340c4291c5014d17bfa9c3593d8', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '19640a1ab19bdda14398c4a76392584c6bf1e6d9', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'a72ce2a8ab9fc317236128980bd4bc9be92faf2c', class: "dropdown-menu", part: "dropdown-menu", "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '008b23e2dc775ec59247df27379780d1ccdd81eb' })))), h("div", { key: '5b60c0821e4cfe5395c6eca11957e18446039cd7' }, h(Button, { key: '56d032309bdff48f6501ae6be6344860d008f481', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
47
47
  }
48
48
  static get watchers() { return {
49
49
  "params": ["watchParamsHandler"]
@@ -0,0 +1,34 @@
1
+ import { h } from '@stencil/core/internal/client';
2
+
3
+ const TableEmptyState = (props) => {
4
+ const { columnSpan, isEmpty } = props;
5
+ if (!columnSpan || !isEmpty) {
6
+ return null;
7
+ }
8
+ return (h("tr", null,
9
+ h("td", { class: "empty-state", part: "empty-state", colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
10
+ };
11
+
12
+ const TableErrorState = (props) => {
13
+ const { columnSpan, errorMessage } = props;
14
+ if (!columnSpan || !errorMessage) {
15
+ return null;
16
+ }
17
+ return (h("tr", null,
18
+ h("td", { class: "error-state", part: "error-state", colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
19
+ "An unexpected error occurred: ",
20
+ errorMessage)));
21
+ };
22
+
23
+ const TableLoadingState = (props) => {
24
+ const { columnSpan, isLoading } = props;
25
+ if (!columnSpan || !isLoading) {
26
+ return null;
27
+ }
28
+ return (h("tr", null,
29
+ h("td", { class: "loading-state", part: "loading-state-cell", colSpan: columnSpan, style: { textAlign: 'center' } },
30
+ h("div", { part: "loading-state-spinner", class: "spinner-border", role: "status" },
31
+ h("span", { class: "visually-hidden" }, "Loading...")))));
32
+ };
33
+
34
+ export { TableLoadingState as T, TableEmptyState as a, TableErrorState as b };
@@ -0,0 +1,21 @@
1
+ class Table {
2
+ get columnData() {
3
+ return this.columnKeys.map((key) => this.tableColumns[key]());
4
+ }
5
+ get rowData() {
6
+ return this.collection.map((checkout) => {
7
+ return this.columnKeys.map((key) => this.tableCells[key](checkout[key]));
8
+ });
9
+ }
10
+ set collectionData(collection) {
11
+ this.collection = collection;
12
+ }
13
+ constructor(collection, columns, tableColumns, tableCells) {
14
+ this.columnKeys = columns.split(',');
15
+ this.collection = collection;
16
+ this.tableColumns = tableColumns;
17
+ this.tableCells = tableCells;
18
+ }
19
+ }
20
+
21
+ export { Table as T };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TerminalsListCore extends Components.TerminalsListCore, HTMLElement {}
4
+ export const TerminalsListCore: {
5
+ prototype: TerminalsListCore;
6
+ new (): TerminalsListCore;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { T as TerminalsListCore$1, d as defineCustomElement$1 } from './terminals-list-core2.js';
2
+
3
+ const TerminalsListCore = TerminalsListCore$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { TerminalsListCore, defineCustomElement };