@justifi/webcomponents 4.20.1 → 4.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (657) hide show
  1. package/dist/cjs/{Analytics-3c89cfb4.js → Analytics-9db96975.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/{Payment-1a8a8ca6.js → Payment-04a842f4.js} +15 -0
  5. package/dist/cjs/SubAccount-cc95a4a0.js +106 -0
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  7. package/dist/cjs/{business-additional-questions-schema-26b0eecb.js → business-additional-questions-schema-19f08938.js} +2 -2
  8. package/dist/cjs/business-details-core.cjs.entry.js +2 -2
  9. package/dist/cjs/{business-form-types-6e1fcda3.js → business-form-types-719b7f52.js} +11 -0
  10. package/dist/cjs/{business-identity-schema-503ecb77.js → business-identity-schema-a8bb2276.js} +2 -2
  11. package/dist/cjs/{business.service-031c0084.js → business.service-7faffa0b.js} +1 -1
  12. package/dist/cjs/{check-pkg-version-4fa0367d.js → check-pkg-version-23a1cabd.js} +1 -1
  13. package/dist/cjs/checkout.service-160f3a9c.js +36 -0
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +181 -0
  15. package/dist/cjs/checkouts-list-filters.cjs.entry.js +35 -0
  16. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +106 -2
  17. package/dist/cjs/dispute-30c806f6.js +10 -0
  18. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  19. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +56 -33
  20. package/dist/cjs/form-control-date.cjs.entry.js +83 -0
  21. package/dist/cjs/form-control-error-text.cjs.entry.js +21 -0
  22. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  23. package/dist/cjs/form-control-help-text.cjs.entry.js +21 -0
  24. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  25. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +99 -0
  26. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  27. package/dist/cjs/form-control-radio.cjs.entry.js +44 -0
  28. package/dist/cjs/form-control-textarea.cjs.entry.js +49 -0
  29. package/dist/cjs/{get-payout-csv-3a3260ec.js → get-payout-csv-12dc9540.js} +4 -3
  30. package/dist/cjs/get-subaccounts-8f7a930f.js +54 -0
  31. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  32. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +30 -17
  33. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +173 -0
  34. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  35. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1679 -14
  36. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  37. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -13
  38. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  39. package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
  40. package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -10
  41. package/dist/cjs/justifi-checkout.cjs.entry.js +13 -28
  42. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +119 -0
  43. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  44. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +28 -0
  45. package/dist/cjs/justifi-dispute-management.cjs.entry.js +16 -0
  46. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  47. package/dist/cjs/{justifi-new-payment-method_4.cjs.entry.js → justifi-new-payment-method_5.cjs.entry.js} +23 -6
  48. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
  49. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -8
  50. package/dist/cjs/justifi-payment-form.cjs.entry.js +12 -11
  51. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +4 -3
  52. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  53. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  54. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -12
  55. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
  56. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -14
  57. package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -6
  58. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  59. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -7
  60. package/dist/cjs/justifi-terminals-list.cjs.entry.js +137 -0
  61. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +59 -0
  62. package/dist/cjs/loader.cjs.js +1 -1
  63. package/dist/{esm/payments-list-filters_2.entry.js → cjs/lodash-dbf6a6a4.js} +2 -57
  64. package/dist/cjs/{package-3a9ac89d.js → package-41c8f38c.js} +1 -1
  65. package/dist/cjs/payment-details-core.cjs.entry.js +11 -10
  66. package/dist/cjs/{payment.service-47e2d84e.js → payment.service-83da752a.js} +4 -3
  67. package/dist/cjs/payments-list-core.cjs.entry.js +17 -17
  68. package/dist/cjs/payments-list-filters.cjs.entry.js +35 -0
  69. package/dist/cjs/payments-status-58e45b2e.js +26 -0
  70. package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
  71. package/dist/cjs/payouts-list-core.cjs.entry.js +8 -24
  72. package/dist/cjs/payouts-status-2f7be07d.js +24 -0
  73. package/dist/cjs/{schema-validations-0a7e46a3.js → schema-validations-184a4356.js} +1 -1
  74. package/dist/cjs/styled-host-1adf46c3.js +14 -0
  75. package/dist/cjs/table-bb114e2f.js +20 -0
  76. package/dist/cjs/table-filters-menu.cjs.entry.js +35 -0
  77. package/dist/cjs/terminals-list-core.cjs.entry.js +166 -0
  78. package/dist/cjs/terminals-list-filters.cjs.entry.js +32 -0
  79. package/dist/cjs/{utils-af1b60a9.js → utils-3d84442d.js} +3 -44
  80. package/dist/cjs/webcomponents.cjs.js +1 -1
  81. package/dist/collection/api/Api.js +6 -4
  82. package/dist/collection/api/Checkout.js +77 -1
  83. package/dist/collection/api/Payment.js +15 -0
  84. package/dist/collection/api/SubAccount.js +33 -0
  85. package/dist/collection/api/Terminal.js +25 -0
  86. package/dist/collection/api/get-subaccounts.js +31 -0
  87. package/dist/collection/api/index.js +2 -0
  88. package/dist/collection/api/services/checkout.service.js +10 -1
  89. package/dist/collection/api/services/subaccounts.service.js +13 -0
  90. package/dist/collection/api/services/terminal.service.js +20 -0
  91. package/dist/collection/collection-manifest.json +37 -14
  92. package/dist/collection/components/billing-form/billing-form.js +3 -3
  93. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  94. package/dist/collection/components/business-details/business-details-core.js +1 -1
  95. package/dist/collection/components/business-details/business-details.js +1 -1
  96. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -1
  97. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
  98. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  99. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  100. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  101. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
  102. package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
  103. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
  104. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -4
  105. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
  106. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
  107. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
  108. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +43 -3
  109. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  110. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +33 -5
  111. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +26 -3
  112. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  113. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +25 -3
  114. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  115. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +3 -3
  116. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +25 -2
  117. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +26 -3
  119. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +17 -17
  121. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +26 -3
  122. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  123. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +25 -3
  124. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
  125. package/dist/collection/components/business-forms/utils/business-form-types.js +11 -0
  126. package/dist/collection/components/card-form/card-form.js +1 -1
  127. package/dist/collection/components/checkout/checkout-core.js +2 -2
  128. package/dist/collection/components/checkout/checkout.js +2 -2
  129. package/dist/collection/components/checkout/new-payment-method.js +1 -1
  130. package/dist/collection/components/checkout/payment-method-options.js +1 -1
  131. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  132. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  133. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  134. package/dist/collection/components/checkouts-list/checkouts-list-core.js +257 -0
  135. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +84 -0
  136. package/dist/collection/components/checkouts-list/checkouts-list.js +208 -0
  137. package/dist/collection/components/checkouts-list/checkouts-status.js +13 -0
  138. package/dist/collection/components/checkouts-list/checkouts-table.js +20 -0
  139. package/dist/collection/components/checkouts-list/get-checkouts.js +31 -0
  140. package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +8 -0
  141. package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +8 -0
  142. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +90 -0
  143. package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +8 -0
  144. package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +8 -0
  145. package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +8 -0
  146. package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +8 -0
  147. package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +16 -0
  148. package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +8 -0
  149. package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +12 -0
  150. package/dist/collection/components/dispute-management/dispute-management-core.js +53 -0
  151. package/dist/collection/components/dispute-management/dispute-management.js +8 -0
  152. package/dist/collection/components/dispute-management/dispute-notification.js +48 -0
  153. package/dist/collection/components/dispute-management/dispute.js +8 -0
  154. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  155. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
  156. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  157. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  158. package/dist/collection/components/payment-details/payment-details-core.js +10 -9
  159. package/dist/collection/components/payment-details/payment-details.js +1 -1
  160. package/dist/collection/components/payment-form/payment-form.js +3 -3
  161. package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
  162. package/dist/collection/components/payments-list/payments-list-core.js +14 -14
  163. package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
  164. package/dist/collection/components/payments-list/payments-list.js +3 -5
  165. package/dist/collection/components/payments-list/payments-status.js +23 -0
  166. package/dist/collection/components/payout-details/payout-details-core.js +4 -3
  167. package/dist/collection/components/payout-details/payout-details.js +1 -1
  168. package/dist/collection/components/payouts-list/payouts-list-core.js +6 -22
  169. package/dist/collection/components/payouts-list/payouts-list.js +4 -7
  170. package/dist/collection/components/payouts-list/payouts-status.js +21 -0
  171. package/dist/collection/components/refund-form/refund-form.js +2 -2
  172. package/dist/collection/components/terminals-list/get-terminal-detail.js +29 -0
  173. package/dist/collection/components/terminals-list/get-terminals.js +31 -0
  174. package/dist/collection/components/terminals-list/terminals-list-core.js +257 -0
  175. package/dist/collection/components/terminals-list/terminals-list-filters.js +81 -0
  176. package/dist/collection/components/terminals-list/terminals-list.js +209 -0
  177. package/dist/collection/components/terminals-list/terminals-status.js +11 -0
  178. package/dist/collection/components/terminals-list/terminals-table.js +15 -0
  179. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +9 -0
  180. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +276 -0
  181. package/dist/collection/ui-components/custom-popper/custom-popper.js +8 -4
  182. package/dist/collection/{components → ui-components}/details/details.js +1 -1
  183. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  184. package/dist/collection/{components → ui-components}/form/form-control-checkbox.js +1 -1
  185. package/dist/collection/ui-components/form/form-control-date.js +284 -0
  186. package/dist/collection/{components → ui-components}/form/form-control-file.js +1 -1
  187. package/dist/collection/{components → ui-components}/form/form-control-monetary.js +1 -1
  188. package/dist/collection/{components → ui-components}/form/form-control-number-masked.js +1 -1
  189. package/dist/collection/{components → ui-components}/form/form-control-number.js +1 -1
  190. package/dist/collection/{components/form/form-control-date.js → ui-components/form/form-control-radio.js} +54 -36
  191. package/dist/collection/{components → ui-components}/form/form-control-select.js +1 -1
  192. package/dist/collection/{components → ui-components}/form/form-control-text.js +1 -1
  193. package/dist/collection/ui-components/form/form-control-textarea.js +229 -0
  194. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +63 -0
  195. package/dist/collection/ui-components/index.js +1 -0
  196. package/dist/collection/utils/table.js +16 -0
  197. package/dist/collection/utils/utils.js +3 -42
  198. package/dist/docs.json +9561 -6219
  199. package/dist/esm/{Analytics-b0f6936a.js → Analytics-777962a4.js} +2 -2
  200. package/dist/esm/{Api-c8abc2e0.js → Api-391d00e2.js} +6 -4
  201. package/dist/esm/Checkout-0b4086f8.js +83 -0
  202. package/dist/esm/{Payment-6bf26fe2.js → Payment-30790721.js} +15 -0
  203. package/dist/esm/SubAccount-7f7e4c56.js +102 -0
  204. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  205. package/dist/esm/{business-additional-questions-schema-a5583cf8.js → business-additional-questions-schema-97f52255.js} +2 -2
  206. package/dist/esm/business-details-core.entry.js +2 -2
  207. package/dist/esm/{business-form-types-1bc5fe08.js → business-form-types-8fd61b0e.js} +12 -1
  208. package/dist/esm/{business-identity-schema-9e3269fb.js → business-identity-schema-434e16bc.js} +2 -2
  209. package/dist/esm/{business.service-1f589b6e.js → business.service-97a3da69.js} +1 -1
  210. package/dist/esm/{check-pkg-version-10cadb08.js → check-pkg-version-bac8fac0.js} +1 -1
  211. package/dist/esm/checkout.service-ef1549c6.js +34 -0
  212. package/dist/esm/checkouts-list-core.entry.js +177 -0
  213. package/dist/esm/checkouts-list-filters.entry.js +31 -0
  214. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +105 -4
  215. package/dist/esm/dispute-4d2e0a04.js +10 -0
  216. package/dist/esm/form-alert_5.entry.js +3 -3
  217. package/dist/esm/form-control-checkbox_9.entry.js +56 -33
  218. package/dist/esm/form-control-date.entry.js +79 -0
  219. package/dist/esm/form-control-error-text.entry.js +17 -0
  220. package/dist/esm/form-control-file.entry.js +1 -1
  221. package/dist/esm/form-control-help-text.entry.js +17 -0
  222. package/dist/esm/form-control-monetary.entry.js +1 -1
  223. package/dist/esm/form-control-number-masked_2.entry.js +94 -0
  224. package/dist/esm/form-control-number.entry.js +1 -1
  225. package/dist/esm/form-control-radio.entry.js +40 -0
  226. package/dist/esm/form-control-textarea.entry.js +45 -0
  227. package/dist/esm/{get-payout-csv-93427146.js → get-payout-csv-70974763.js} +4 -3
  228. package/dist/esm/get-subaccounts-16c8ce40.js +51 -0
  229. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  230. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +30 -17
  231. package/dist/esm/justifi-additional-statement_11.entry.js +159 -0
  232. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  233. package/dist/esm/justifi-billing-form_2.entry.js +1680 -15
  234. package/dist/esm/justifi-business-details.entry.js +6 -6
  235. package/dist/esm/justifi-business-form.entry.js +14 -13
  236. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  237. package/dist/esm/justifi-card-form.entry.js +4 -4
  238. package/dist/esm/justifi-checkout-core.entry.js +4 -9
  239. package/dist/esm/justifi-checkout.entry.js +11 -26
  240. package/dist/esm/justifi-checkouts-list.entry.js +115 -0
  241. package/dist/esm/justifi-details.entry.js +3 -3
  242. package/dist/esm/justifi-dispute-management-core.entry.js +24 -0
  243. package/dist/esm/justifi-dispute-management.entry.js +12 -0
  244. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  245. package/dist/esm/{justifi-new-payment-method_4.entry.js → justifi-new-payment-method_5.entry.js} +23 -7
  246. package/dist/esm/justifi-owner-form_3.entry.js +8 -8
  247. package/dist/esm/justifi-payment-details.entry.js +9 -8
  248. package/dist/esm/justifi-payment-form.entry.js +12 -11
  249. package/dist/esm/justifi-payment-method-selector.entry.js +4 -3
  250. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  251. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  252. package/dist/esm/justifi-payments-list.entry.js +11 -12
  253. package/dist/esm/justifi-payout-details.entry.js +9 -8
  254. package/dist/esm/justifi-payouts-list.entry.js +12 -14
  255. package/dist/esm/justifi-refund-form.entry.js +7 -6
  256. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  257. package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -7
  258. package/dist/esm/justifi-terminals-list.entry.js +133 -0
  259. package/dist/esm/justifi-tokenize-payment-method.entry.js +55 -0
  260. package/dist/esm/loader.js +1 -1
  261. package/dist/{cjs/payments-list-filters_2.cjs.entry.js → esm/lodash-faeb5a52.js} +1 -63
  262. package/dist/esm/{package-2ef16e2c.js → package-5144835c.js} +1 -1
  263. package/dist/esm/payment-details-core.entry.js +11 -10
  264. package/dist/esm/{payment.service-21a3e2d3.js → payment.service-2f67410b.js} +4 -3
  265. package/dist/esm/payments-list-core.entry.js +16 -16
  266. package/dist/esm/payments-list-filters.entry.js +31 -0
  267. package/dist/esm/payments-status-4937a170.js +24 -0
  268. package/dist/esm/payout-details-core.entry.js +5 -4
  269. package/dist/esm/payouts-list-core.entry.js +8 -24
  270. package/dist/esm/payouts-status-cd58e525.js +22 -0
  271. package/dist/esm/{schema-validations-e725d701.js → schema-validations-c1728516.js} +1 -1
  272. package/dist/esm/styled-host-e0ddb759.js +12 -0
  273. package/dist/esm/table-75364107.js +18 -0
  274. package/dist/esm/table-filters-menu.entry.js +31 -0
  275. package/dist/esm/terminals-list-core.entry.js +162 -0
  276. package/dist/esm/terminals-list-filters.entry.js +28 -0
  277. package/dist/esm/{utils-e66d8bca.js → utils-3daada24.js} +4 -43
  278. package/dist/esm/webcomponents.js +1 -1
  279. package/dist/module/Api.js +6 -4
  280. package/dist/module/Checkout.js +83 -0
  281. package/dist/module/Payment.js +15 -0
  282. package/dist/module/SubAccount.js +102 -0
  283. package/dist/module/additional-questions.js +22 -10
  284. package/dist/module/additional-statement.js +63 -0
  285. package/dist/module/billing-form.js +14 -8
  286. package/dist/module/business-additional-questions-form-step-core.js +42 -11
  287. package/dist/module/business-additional-questions-form-step.js +23 -11
  288. package/dist/module/business-bank-account-form-step.js +25 -11
  289. package/dist/module/business-core-info-form-step-core.js +19 -10
  290. package/dist/module/business-core-info-form-step.js +16 -10
  291. package/dist/module/business-core-info.js +16 -10
  292. package/dist/module/business-document-upload-form-step.js +14 -5
  293. package/dist/module/business-document-upload-input-group.js +28 -22
  294. package/dist/module/business-documents-on-file.js +1 -1
  295. package/dist/module/business-form-types.js +12 -1
  296. package/dist/module/business-owners-form-step-core.js +20 -12
  297. package/dist/module/business-owners-form-step.js +16 -10
  298. package/dist/module/business-representative-form-inputs.js +16 -10
  299. package/dist/module/business-representative-form-step-core.js +19 -10
  300. package/dist/module/business-representative-form-step.js +16 -10
  301. package/dist/module/business-representative.js +15 -9
  302. package/dist/module/business-terms-conditions-form-step.js +6 -3
  303. package/dist/module/business-terms-conditions-text.js +1 -1
  304. package/dist/module/cancellation-policy.js +63 -0
  305. package/dist/module/checkout-core.js +16 -15
  306. package/dist/module/checkout.service.js +34 -0
  307. package/dist/module/checkouts-list-core.d.ts +11 -0
  308. package/dist/module/checkouts-list-core.js +6 -0
  309. package/dist/module/checkouts-list-core2.js +249 -0
  310. package/dist/module/checkouts-list-filters.d.ts +11 -0
  311. package/dist/module/checkouts-list-filters.js +6 -0
  312. package/dist/module/checkouts-list-filters2.js +80 -0
  313. package/dist/module/counter-dispute.js +189 -0
  314. package/dist/module/custom-popper2.js +2 -2
  315. package/dist/module/customer-details.js +69 -0
  316. package/dist/module/details.js +1 -1
  317. package/dist/module/dispute-management-core.js +160 -0
  318. package/dist/module/dispute-notification.js +36 -0
  319. package/dist/module/dispute-reason.js +45 -0
  320. package/dist/module/duplicate-charge.js +69 -0
  321. package/dist/module/electronic-evidence.js +63 -0
  322. package/dist/module/exported-parts.js +1 -34
  323. package/dist/module/form-control-checkbox2.js +1 -1
  324. package/dist/module/form-control-date2.js +59 -10
  325. package/dist/module/form-control-file2.js +10 -4
  326. package/dist/module/form-control-monetary2.js +1 -1
  327. package/dist/module/form-control-number-masked2.js +10 -4
  328. package/dist/module/form-control-number.js +1 -1
  329. package/dist/module/form-control-radio.d.ts +11 -0
  330. package/dist/module/form-control-radio.js +6 -0
  331. package/dist/module/form-control-radio2.js +78 -0
  332. package/dist/module/form-control-select2.js +10 -4
  333. package/dist/module/form-control-text2.js +10 -4
  334. package/dist/module/form-control-textarea.d.ts +11 -0
  335. package/dist/module/form-control-textarea.js +6 -0
  336. package/dist/module/form-control-textarea2.js +84 -0
  337. package/dist/module/form-control-tooltip.d.ts +11 -0
  338. package/dist/module/form-control-tooltip.js +6 -0
  339. package/dist/module/form-control-tooltip2.js +49 -0
  340. package/dist/module/get-payout-csv.js +2 -1
  341. package/dist/module/get-subaccounts.js +51 -0
  342. package/dist/module/gross-payment-chart-core2.js +2 -2
  343. package/dist/module/identity-address-form.js +14 -8
  344. package/dist/module/justifi-additional-statement.d.ts +11 -0
  345. package/dist/module/justifi-additional-statement.js +6 -0
  346. package/dist/module/justifi-business-form.js +32 -19
  347. package/dist/module/justifi-cancellation-policy.d.ts +11 -0
  348. package/dist/module/justifi-cancellation-policy.js +6 -0
  349. package/dist/module/justifi-card-form.js +1 -1
  350. package/dist/module/justifi-checkout.js +16 -31
  351. package/dist/module/justifi-checkouts-list.d.ts +11 -0
  352. package/dist/module/justifi-checkouts-list.js +191 -0
  353. package/dist/module/justifi-counter-dispute.d.ts +11 -0
  354. package/dist/module/justifi-counter-dispute.js +6 -0
  355. package/dist/module/justifi-customer-details.d.ts +11 -0
  356. package/dist/module/justifi-customer-details.js +6 -0
  357. package/dist/module/justifi-dispute-management-core.d.ts +11 -0
  358. package/dist/module/justifi-dispute-management-core.js +6 -0
  359. package/dist/module/justifi-dispute-management.d.ts +11 -0
  360. package/dist/module/justifi-dispute-management.js +157 -0
  361. package/dist/module/justifi-dispute-notification.d.ts +11 -0
  362. package/dist/module/justifi-dispute-notification.js +6 -0
  363. package/dist/module/justifi-dispute-reason.d.ts +11 -0
  364. package/dist/module/justifi-dispute-reason.js +6 -0
  365. package/dist/module/justifi-duplicate-charge.d.ts +11 -0
  366. package/dist/module/justifi-duplicate-charge.js +6 -0
  367. package/dist/module/justifi-electronic-evidence.d.ts +11 -0
  368. package/dist/module/justifi-electronic-evidence.js +6 -0
  369. package/dist/module/justifi-payment-details.js +2 -1
  370. package/dist/module/justifi-payment-form.js +18 -11
  371. package/dist/module/justifi-payment-provisioning.js +30 -18
  372. package/dist/module/justifi-payments-list.js +12 -13
  373. package/dist/module/justifi-payout-details.js +2 -1
  374. package/dist/module/justifi-payouts-list.js +14 -10
  375. package/dist/module/justifi-product-or-service.d.ts +11 -0
  376. package/dist/module/justifi-product-or-service.js +6 -0
  377. package/dist/module/justifi-refund-form.js +23 -10
  378. package/dist/module/justifi-refund-policy.d.ts +11 -0
  379. package/dist/module/justifi-refund-policy.js +6 -0
  380. package/dist/module/justifi-season-interruption-insurance.js +3 -2
  381. package/dist/module/justifi-shipping-details.d.ts +11 -0
  382. package/dist/module/justifi-shipping-details.js +6 -0
  383. package/dist/module/justifi-terminals-list.d.ts +11 -0
  384. package/dist/module/justifi-terminals-list.js +216 -0
  385. package/dist/module/justifi-tokenize-payment-method.d.ts +11 -0
  386. package/dist/module/justifi-tokenize-payment-method.js +153 -0
  387. package/dist/module/legal-address-form-step-core.js +17 -8
  388. package/dist/module/legal-address-form-step.js +14 -8
  389. package/dist/module/legal-address-form.js +14 -8
  390. package/dist/module/lodash.js +17204 -0
  391. package/dist/module/new-payment-method.js +14 -8
  392. package/dist/module/owner-form-core2.js +17 -11
  393. package/dist/module/owner-form-inputs2.js +16 -10
  394. package/dist/module/owner-form.js +15 -9
  395. package/dist/module/package.js +1 -1
  396. package/dist/module/payment-details-core2.js +9 -8
  397. package/dist/module/payment-method-form.js +1 -1
  398. package/dist/module/payment-method-options.js +14 -8
  399. package/dist/module/payment-method-selector.js +3 -2
  400. package/dist/module/payment-provisioning-core.js +31 -19
  401. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  402. package/dist/module/payment-provisioning-form-steps.js +30 -18
  403. package/dist/module/payment.service.js +2 -1
  404. package/dist/module/payments-list-core2.js +23 -22
  405. package/dist/module/payments-list-filters2.js +9 -17211
  406. package/dist/module/payments-status.js +24 -0
  407. package/dist/module/payout-details-core2.js +3 -2
  408. package/dist/module/payouts-list-core2.js +17 -26
  409. package/dist/module/payouts-status.js +22 -0
  410. package/dist/module/product-or-service.js +60 -0
  411. package/dist/module/refund-policy.js +63 -0
  412. package/dist/module/save-new-payment-method.js +1 -1
  413. package/dist/module/saved-payment-method.js +2 -2
  414. package/dist/module/season-interruption-insurance-core.js +3 -3
  415. package/dist/module/sezzle-payment-method.js +2 -2
  416. package/dist/module/shipping-details.js +79 -0
  417. package/dist/module/styled-host.js +1 -1
  418. package/dist/module/table-filters-menu2.js +1 -1
  419. package/dist/module/table-loading-state.js +34 -0
  420. package/dist/module/table.js +18 -0
  421. package/dist/module/terminals-list-core.d.ts +11 -0
  422. package/dist/module/terminals-list-core.js +6 -0
  423. package/dist/module/terminals-list-core2.js +240 -0
  424. package/dist/module/terminals-list-filters.d.ts +11 -0
  425. package/dist/module/terminals-list-filters.js +6 -0
  426. package/dist/module/terminals-list-filters2.js +83 -0
  427. package/dist/module/utils2.js +4 -43
  428. package/dist/types/api/Api.d.ts +1 -1
  429. package/dist/types/api/Checkout.d.ts +74 -2
  430. package/dist/types/api/Payment.d.ts +7 -0
  431. package/dist/types/api/SubAccount.d.ts +51 -0
  432. package/dist/types/api/Terminal.d.ts +48 -0
  433. package/dist/types/api/get-subaccounts.d.ts +10 -0
  434. package/dist/types/api/index.d.ts +2 -0
  435. package/dist/types/api/services/checkout.service.d.ts +3 -1
  436. package/dist/types/api/services/subaccounts.service.d.ts +7 -0
  437. package/dist/types/api/services/terminal.service.d.ts +9 -0
  438. package/dist/types/components/billing-form/billing-form.d.ts +1 -1
  439. package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +1 -1
  440. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +1 -1
  441. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -1
  442. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +1 -1
  443. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
  444. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
  445. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +5 -2
  446. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -2
  447. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -2
  448. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -1
  449. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
  450. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +3 -2
  451. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +3 -2
  452. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +3 -2
  453. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +3 -2
  454. package/dist/types/components/business-forms/utils/business-form-types.d.ts +15 -0
  455. package/dist/types/components/business-forms/utils/input-handlers.d.ts +1 -1
  456. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +35 -0
  457. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +15 -0
  458. package/dist/types/components/checkouts-list/checkouts-list.d.ts +44 -0
  459. package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -0
  460. package/dist/types/components/checkouts-list/checkouts-table.d.ts +17 -0
  461. package/dist/types/components/checkouts-list/get-checkouts.d.ts +10 -0
  462. package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +3 -0
  463. package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +3 -0
  464. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +14 -0
  465. package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +3 -0
  466. package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +3 -0
  467. package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +3 -0
  468. package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +3 -0
  469. package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +4 -0
  470. package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +3 -0
  471. package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +3 -0
  472. package/dist/types/components/dispute-management/dispute-management-core.d.ts +7 -0
  473. package/dist/types/components/dispute-management/dispute-management.d.ts +3 -0
  474. package/dist/types/components/dispute-management/dispute-notification.d.ts +8 -0
  475. package/dist/types/components/dispute-management/dispute.d.ts +7 -0
  476. package/dist/types/components/payments-list/payments-status.d.ts +1 -0
  477. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -2
  478. package/dist/types/components/payouts-list/payouts-status.d.ts +1 -0
  479. package/dist/types/components/terminals-list/get-terminal-detail.d.ts +8 -0
  480. package/dist/types/components/terminals-list/get-terminals.d.ts +10 -0
  481. package/dist/types/components/terminals-list/terminals-list-core.d.ts +35 -0
  482. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +13 -0
  483. package/dist/types/components/terminals-list/terminals-list.d.ts +44 -0
  484. package/dist/types/components/terminals-list/terminals-status.d.ts +1 -0
  485. package/dist/types/components/terminals-list/terminals-table.d.ts +13 -0
  486. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +22 -0
  487. package/dist/types/components.d.ts +779 -16
  488. package/dist/types/ui-components/custom-popper/custom-popper.d.ts +1 -1
  489. package/dist/types/{components → ui-components}/form/form-control-date.d.ts +6 -0
  490. package/dist/types/ui-components/form/form-control-radio.d.ts +19 -0
  491. package/dist/types/ui-components/form/form-control-textarea.d.ts +20 -0
  492. package/dist/types/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +8 -0
  493. package/dist/types/ui-components/index.d.ts +1 -0
  494. package/dist/types/utils/table.d.ts +13 -0
  495. package/dist/types/utils/utils.d.ts +1 -3
  496. package/dist/webcomponents/p-037e3545.entry.js +1 -0
  497. package/dist/webcomponents/{p-232016ba.entry.js → p-04d12939.entry.js} +1 -1
  498. package/dist/webcomponents/p-0ac35b39.entry.js +1 -0
  499. package/dist/webcomponents/p-0b686ada.entry.js +1 -0
  500. package/dist/webcomponents/p-0c79e368.entry.js +1 -0
  501. package/dist/webcomponents/p-0de9e97b.entry.js +1 -0
  502. package/dist/webcomponents/{p-7d3be485.js → p-0e180654.js} +1 -1
  503. package/dist/webcomponents/{p-056e75be.entry.js → p-11ff46df.entry.js} +1 -1
  504. package/dist/webcomponents/p-16d2932d.js +1 -0
  505. package/dist/webcomponents/p-206fde40.js +1 -0
  506. package/dist/webcomponents/p-24392a86.entry.js +1 -0
  507. package/dist/webcomponents/p-269ba6fe.entry.js +1 -0
  508. package/dist/webcomponents/{p-1eee25f3.entry.js → p-286a4e72.entry.js} +2 -2
  509. package/dist/webcomponents/p-2c2b57b3.js +1 -0
  510. package/dist/webcomponents/{p-d76002d5.entry.js → p-2c8c214f.entry.js} +1 -1
  511. package/dist/webcomponents/p-2de65000.entry.js +1 -0
  512. package/dist/webcomponents/{p-277aee05.js → p-3d3468a8.js} +1 -1
  513. package/dist/webcomponents/p-47dbe17d.js +1 -0
  514. package/dist/webcomponents/p-4b14abbf.entry.js +1 -0
  515. package/dist/webcomponents/p-4c0c88e4.entry.js +1 -0
  516. package/dist/webcomponents/p-52ca72cd.entry.js +1 -0
  517. package/dist/webcomponents/{p-707bdf68.js → p-56bda985.js} +1 -1
  518. package/dist/webcomponents/p-56d84fb3.entry.js +1 -0
  519. package/dist/webcomponents/p-638c6285.entry.js +1 -0
  520. package/dist/webcomponents/p-69ea7334.entry.js +1 -0
  521. package/dist/webcomponents/p-6caf6f09.entry.js +1 -0
  522. package/dist/webcomponents/{p-da1d174d.entry.js → p-72819173.entry.js} +1 -1
  523. package/dist/webcomponents/p-74da98da.js +1 -0
  524. package/dist/webcomponents/p-7fec2bcb.js +1 -0
  525. package/dist/webcomponents/p-8480e3ab.entry.js +1 -0
  526. package/dist/webcomponents/p-869ae0c7.entry.js +1 -0
  527. package/dist/webcomponents/p-8ec550d7.entry.js +1 -0
  528. package/dist/webcomponents/p-8f212554.entry.js +1 -0
  529. package/dist/webcomponents/p-907ba963.js +1 -0
  530. package/dist/webcomponents/p-919e6e67.entry.js +1 -0
  531. package/dist/webcomponents/p-927a147c.entry.js +1 -0
  532. package/dist/webcomponents/p-935188c8.entry.js +1 -0
  533. package/dist/webcomponents/p-9bd13e22.js +1 -0
  534. package/dist/webcomponents/p-9f56ad71.js +1 -0
  535. package/dist/webcomponents/p-a2be972d.entry.js +1 -0
  536. package/dist/webcomponents/p-a3143d62.entry.js +1 -0
  537. package/dist/webcomponents/p-a76ece26.js +1 -0
  538. package/dist/webcomponents/{p-5e2c9ec8.js → p-a8f22d4d.js} +1 -1
  539. package/dist/webcomponents/p-ad443df5.entry.js +1 -0
  540. package/dist/webcomponents/p-b0686897.entry.js +1 -0
  541. package/dist/webcomponents/p-b1aacd6b.entry.js +1 -0
  542. package/dist/webcomponents/p-b4a7307b.entry.js +1 -0
  543. package/dist/webcomponents/p-bfb990fc.entry.js +1 -0
  544. package/dist/webcomponents/p-c1bf9285.entry.js +1 -0
  545. package/dist/webcomponents/{p-35846553.js → p-c1cf7d5b.js} +1 -1
  546. package/dist/webcomponents/p-c30c8f39.entry.js +1 -0
  547. package/dist/webcomponents/p-c5c6e61d.js +1 -0
  548. package/dist/webcomponents/{p-d99a5f30.entry.js → p-c63825d8.entry.js} +1 -1
  549. package/dist/webcomponents/{p-5022f21c.js → p-c65b78cf.js} +1 -1
  550. package/dist/webcomponents/p-c6be72b0.js +10 -0
  551. package/dist/webcomponents/p-c717646f.entry.js +1 -0
  552. package/dist/webcomponents/{p-d9579cd6.entry.js → p-cb79f06c.entry.js} +1 -1
  553. package/dist/webcomponents/p-ccbff4fa.entry.js +1 -0
  554. package/dist/webcomponents/p-cd4eaeb7.js +1 -0
  555. package/dist/webcomponents/p-cd7e866c.entry.js +1 -0
  556. package/dist/webcomponents/p-d1248039.entry.js +1 -0
  557. package/dist/webcomponents/{p-c64ce69d.entry.js → p-d2eb61e6.entry.js} +1 -1
  558. package/dist/webcomponents/p-d516e700.js +1 -0
  559. package/dist/webcomponents/p-dae9b10e.entry.js +1 -0
  560. package/dist/webcomponents/p-e412a713.entry.js +1 -0
  561. package/dist/webcomponents/p-e69b2ff8.entry.js +1 -0
  562. package/dist/webcomponents/p-e6be8845.entry.js +1 -0
  563. package/dist/webcomponents/{p-b91bcbfc.js → p-e7d6609d.js} +1 -1
  564. package/dist/webcomponents/p-e8797be0.entry.js +1 -0
  565. package/dist/webcomponents/p-eb9ba917.entry.js +1 -0
  566. package/dist/webcomponents/p-ec7e69eb.entry.js +1 -0
  567. package/dist/webcomponents/p-eeb70281.entry.js +1 -0
  568. package/dist/webcomponents/{p-e31f0f3e.entry.js → p-efb56234.entry.js} +1 -1
  569. package/dist/webcomponents/p-f4a8215b.entry.js +1 -0
  570. package/dist/webcomponents/{p-401d6607.js → p-f6f8dabc.js} +1 -1
  571. package/dist/webcomponents/{p-1c04aacd.entry.js → p-f7077f93.entry.js} +1 -1
  572. package/dist/webcomponents/p-fc4de0d2.js +1 -0
  573. package/dist/webcomponents/{p-3c7fac29.entry.js → p-ffe27126.entry.js} +1 -1
  574. package/dist/webcomponents/webcomponents.esm.js +1 -1
  575. package/package.json +1 -1
  576. package/dist/cjs/Payout-a2dd7b01.js +0 -45
  577. package/dist/cjs/form-control-date_3.cjs.entry.js +0 -136
  578. package/dist/cjs/form-control-error-text_4.cjs.entry.js +0 -118
  579. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1688
  580. package/dist/cjs/styled-host-9e0b67b3.js +0 -14
  581. package/dist/esm/Payout-dfe15b00.js +0 -43
  582. package/dist/esm/form-control-date_3.entry.js +0 -130
  583. package/dist/esm/form-control-error-text_4.entry.js +0 -111
  584. package/dist/esm/justifi-payment-method-form.entry.js +0 -1684
  585. package/dist/esm/styled-host-3171ae1f.js +0 -12
  586. package/dist/module/Payout.js +0 -43
  587. package/dist/webcomponents/p-034fc302.entry.js +0 -1
  588. package/dist/webcomponents/p-37888614.entry.js +0 -1
  589. package/dist/webcomponents/p-430f81c6.entry.js +0 -1
  590. package/dist/webcomponents/p-44055818.js +0 -1
  591. package/dist/webcomponents/p-538fd427.entry.js +0 -1
  592. package/dist/webcomponents/p-55182a59.js +0 -1
  593. package/dist/webcomponents/p-570a0f02.entry.js +0 -1
  594. package/dist/webcomponents/p-57d7534f.entry.js +0 -1
  595. package/dist/webcomponents/p-59cf5391.entry.js +0 -1
  596. package/dist/webcomponents/p-60d3571e.entry.js +0 -1
  597. package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
  598. package/dist/webcomponents/p-75139399.entry.js +0 -1
  599. package/dist/webcomponents/p-7771f64b.entry.js +0 -1
  600. package/dist/webcomponents/p-7ddfce86.entry.js +0 -1
  601. package/dist/webcomponents/p-7ff329b1.js +0 -1
  602. package/dist/webcomponents/p-8a7112a0.entry.js +0 -1
  603. package/dist/webcomponents/p-9add7d3e.entry.js +0 -1
  604. package/dist/webcomponents/p-9b154d98.entry.js +0 -1
  605. package/dist/webcomponents/p-ab92abb1.entry.js +0 -1
  606. package/dist/webcomponents/p-ad47f37c.entry.js +0 -1
  607. package/dist/webcomponents/p-aedb421f.entry.js +0 -1
  608. package/dist/webcomponents/p-b14da2fd.entry.js +0 -1
  609. package/dist/webcomponents/p-bbed6107.entry.js +0 -1
  610. package/dist/webcomponents/p-bdc91c61.entry.js +0 -1
  611. package/dist/webcomponents/p-c1772671.entry.js +0 -1
  612. package/dist/webcomponents/p-c740b6ca.entry.js +0 -1
  613. package/dist/webcomponents/p-ce5fe369.entry.js +0 -10
  614. package/dist/webcomponents/p-d8355f91.entry.js +0 -1
  615. package/dist/webcomponents/p-d89bad72.js +0 -1
  616. package/dist/webcomponents/p-dc048c3c.entry.js +0 -1
  617. package/dist/webcomponents/p-df21aaad.js +0 -1
  618. package/dist/webcomponents/p-e2c88817.entry.js +0 -1
  619. package/dist/webcomponents/p-e3fab0e2.js +0 -1
  620. package/dist/webcomponents/p-f0866375.entry.js +0 -1
  621. package/dist/webcomponents/p-f2924369.js +0 -1
  622. package/dist/webcomponents/p-fb7f7a8c.entry.js +0 -1
  623. package/dist/webcomponents/p-ffddac99.entry.js +0 -1
  624. /package/dist/cjs/{exported-parts-b18c68c2.js → exported-parts-a994d693.js} +0 -0
  625. /package/dist/cjs/{index.esm-52757963.js → index.esm-97cf6825.js} +0 -0
  626. /package/dist/cjs/{utils-c1d2e426.js → utils-189dc30d.js} +0 -0
  627. /package/dist/cjs/{utils-ddacfc44.js → utils-bc03ca40.js} +0 -0
  628. /package/dist/collection/{components → ui-components}/details/utils.js +0 -0
  629. /package/dist/collection/{components → ui-components}/form/form-helpers/form-alert/form-alert.js +0 -0
  630. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -0
  631. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.js +0 -0
  632. /package/dist/collection/{components → ui-components}/form/form.js +0 -0
  633. /package/dist/collection/{components → ui-components}/form/utils.js +0 -0
  634. /package/dist/collection/{components → ui-components}/table/exported-parts.js +0 -0
  635. /package/dist/esm/{exported-parts-abd4c027.js → exported-parts-70e7a12b.js} +0 -0
  636. /package/dist/esm/{index.esm-fc4f5c0c.js → index.esm-ed37201b.js} +0 -0
  637. /package/dist/esm/{utils-3bb6347a.js → utils-20cdf321.js} +0 -0
  638. /package/dist/esm/{utils-01413a95.js → utils-218275b7.js} +0 -0
  639. /package/dist/types/{components → ui-components}/details/details.d.ts +0 -0
  640. /package/dist/types/{components → ui-components}/details/utils.d.ts +0 -0
  641. /package/dist/types/{components → ui-components}/form/form-control-checkbox.d.ts +0 -0
  642. /package/dist/types/{components → ui-components}/form/form-control-file.d.ts +0 -0
  643. /package/dist/types/{components → ui-components}/form/form-control-monetary.d.ts +0 -0
  644. /package/dist/types/{components → ui-components}/form/form-control-number-masked.d.ts +0 -0
  645. /package/dist/types/{components → ui-components}/form/form-control-number.d.ts +0 -0
  646. /package/dist/types/{components → ui-components}/form/form-control-select.d.ts +0 -0
  647. /package/dist/types/{components → ui-components}/form/form-control-text.d.ts +0 -0
  648. /package/dist/types/{components → ui-components}/form/form-helpers/form-alert/form-alert.d.ts +0 -0
  649. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -0
  650. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.d.ts +0 -0
  651. /package/dist/types/{components → ui-components}/form/form.d.ts +0 -0
  652. /package/dist/types/{components → ui-components}/form/utils.d.ts +0 -0
  653. /package/dist/types/{components → ui-components}/table/exported-parts.d.ts +0 -0
  654. /package/dist/webcomponents/{p-2eab3c90.js → p-3c654c07.js} +0 -0
  655. /package/dist/webcomponents/{p-2b6c9c4f.js → p-6cc30da2.js} +0 -0
  656. /package/dist/webcomponents/{p-dce846bf.js → p-a8b4f429.js} +0 -0
  657. /package/dist/webcomponents/{p-8df7bde8.js → p-e3c22aa9.js} +0 -0
@@ -0,0 +1,90 @@
1
+ import { h } from "@stencil/core";
2
+ import { DisputeManagementClickEvents } from "../dispute";
3
+ export class CounterDispute {
4
+ constructor() {
5
+ this.componentStepMapping = [
6
+ () => h("justifi-dispute-reason", { ref: (el) => this.refs['disputeReason'] = el }),
7
+ () => h("justifi-product-or-service", { ref: (el) => this.refs['productOrService'] = el }),
8
+ () => h("justifi-customer-details", { ref: (el) => this.refs['customerDetails'] = el }),
9
+ () => h("justifi-cancellation-policy", { ref: (el) => this.refs['cancellationPolicy'] = el }),
10
+ () => h("justifi-refund-policy", { ref: (el) => this.refs['refundPolicy'] = el }),
11
+ () => h("justifi-duplicate-charge", { ref: (el) => this.refs['duplicateCharge'] = el }),
12
+ () => h("justifi-electronic-evidence", { ref: (el) => this.refs['electronicEvidence'] = el }),
13
+ () => h("justifi-shipping-details", { ref: (el) => this.refs['shippingDetails'] = el }),
14
+ () => h("justifi-additional-statement", { ref: (el) => this.refs['additionalStatement'] = el }),
15
+ ];
16
+ this.currentStep = 0;
17
+ this.refs = [];
18
+ }
19
+ get currentStepComponent() {
20
+ return this.componentStepMapping[this.currentStep]();
21
+ }
22
+ get isLastStep() {
23
+ return this.currentStep === this.componentStepMapping.length - 1;
24
+ }
25
+ get isFirstStep() {
26
+ return this.currentStep === 0;
27
+ }
28
+ onNext() {
29
+ if (this.isLastStep) {
30
+ this.submit.emit();
31
+ }
32
+ else {
33
+ this.currentStep++;
34
+ this.clickEvent.emit({ name: DisputeManagementClickEvents.nextStep });
35
+ }
36
+ }
37
+ onBack() {
38
+ if (this.isFirstStep) {
39
+ this.clickEvent.emit({ name: DisputeManagementClickEvents.cancelDispute });
40
+ }
41
+ else {
42
+ this.currentStep--;
43
+ this.clickEvent.emit({ name: DisputeManagementClickEvents.previousStep });
44
+ }
45
+ }
46
+ render() {
47
+ return (h("div", { key: 'cd8ced72339631d8f2f9439ee26f1187b7b8ab21', class: "row gy-3" }, h("div", { key: '6ae94b1ce9d12b12044c4baa3c3eb9966b4b176e', class: "col-12" }, h("h1", { key: '6893f2dacb6e8932e67d67095076cd2d1bc12b38', class: "h4" }, "Counter dispute")), h("div", { key: '6d34423a06c634824a8b2f2ad5538e4c0b6fbf5c', class: "col-12" }, this.currentStepComponent), h("div", { key: 'fdfc725f0dacae3abb56dfe7300399f57300ffd5', class: "col-12" }, h("div", { key: 'b590b19dda4fbe8d8245dedbb66c421866b2b8f3', class: "d-flex gap-2 mt-4 justify-content-end" }, h("button", { key: '4d91e8db6f5c2ef26ac938c57f7dca33cf9a33ee', class: "btn btn-secondary", onClick: () => this.onBack() }, this.isFirstStep ? 'Cancel' : 'Back'), h("button", { key: 'f56fa57dd1aef4bd5b537d9e67c3aaaa784ccba2', class: "btn btn-primary", onClick: () => this.onNext() }, this.isLastStep ? 'Submit Counter Dispute' : 'Next')))));
48
+ }
49
+ static get is() { return "justifi-counter-dispute"; }
50
+ static get states() {
51
+ return {
52
+ "currentStep": {},
53
+ "refs": {}
54
+ };
55
+ }
56
+ static get events() {
57
+ return [{
58
+ "method": "submit",
59
+ "name": "submit",
60
+ "bubbles": true,
61
+ "cancelable": true,
62
+ "composed": true,
63
+ "docs": {
64
+ "tags": [],
65
+ "text": ""
66
+ },
67
+ "complexType": {
68
+ "original": "any",
69
+ "resolved": "any",
70
+ "references": {}
71
+ }
72
+ }, {
73
+ "method": "clickEvent",
74
+ "name": "clickEvent",
75
+ "bubbles": true,
76
+ "cancelable": true,
77
+ "composed": true,
78
+ "docs": {
79
+ "tags": [],
80
+ "text": ""
81
+ },
82
+ "complexType": {
83
+ "original": "any",
84
+ "resolved": "any",
85
+ "references": {}
86
+ }
87
+ }];
88
+ }
89
+ }
90
+ ;
@@ -0,0 +1,8 @@
1
+ import { h } from "@stencil/core";
2
+ export class CustomerDetails {
3
+ render() {
4
+ return (h("div", { key: '4511521cc0b5d152847fe47515a932bc25632b69' }, h("div", { key: 'ccc20447c74727d926159c4bbd78d7aa81f406fb', class: "row gy-3" }, h("div", { key: '09d693c977d9f55978df56fd94f37e65fcf42548', class: "col-12" }, h("h2", { key: 'ef47704c5d35b7b18e49603e050a1128728219b4', class: "h5" }, "Customer Details")), h("div", { key: '0f6ee829c192d15b22208d207ab34d7c433b1c8d', class: "col-12" }, h("form-control-text", { key: '8f64ca680c0dcd4b41d93523a62e0b3bbf1daf3e', label: "Full Name", name: "customer_name" })), h("div", { key: '8789d52f77c2cb673260fa12382c31725e2a7ffa', class: "col-12" }, h("form-control-text", { key: 'af48dedd7c9ce318a7d1009c1227cceda2d799b0', label: "Email", name: "customer_email_address" })), h("div", { key: '17fdeea69f9eab82e55d63cd55af079532696d57', class: "col-12" }, h("form-control-textarea", { key: '05d930b272e0162100412bc81a05df8cd2817e21', label: "Billing Address", name: "customer_billing_address" })), h("div", { key: 'abd6e1f661bfb2b5ac54460d97283b7a1092ac79', class: "col-12" }, h("form-control-file", { key: '4ee87cf74482c31a297bcd108ddd0ad69f3d7366', label: "Customer Signature", name: "customer_signature" })), h("div", { key: 'f33ec1c7c4791828d456e27ee1dcbc665220821d', class: "col-12" }, h("form-control-file", { key: 'c2bb6a3c58eb20652566d9cb1c524b4390bbab33', label: "Customer Communication", name: "customer_communication" })))));
5
+ }
6
+ static get is() { return "justifi-customer-details"; }
7
+ }
8
+ ;
@@ -0,0 +1,8 @@
1
+ import { h } from "@stencil/core";
2
+ export class DisputeReason {
3
+ render() {
4
+ return (h("div", { key: '012cc41aff83527468bbd2aa375c436876bc95ab', class: "row gy-3" }, h("div", { key: 'b52a68e86969e7f581e07b2d30b536a764778a7e', class: "col-12" }, h("h2", { key: '0c03884aef100c47a4b178b2da84a7c0c6ac7609', class: "h5" }, "Why are you countering this dispute?"), h("div", { key: 'f538c9bb9134bc57e69e9edce4087cef376634fa', class: "row gy-3" }, h("div", { key: '9c1f5e09e19d8d4830526bd2cf14c02c7b56d1f9', class: "col-12" }, h("form-control-radio", { key: 'f0498d4524db28040f460632165213b7756263b4', name: "disputeReason", label: "The cardholder withdrew the dispute", value: "reason1" }), h("form-control-radio", { key: 'c62c544f6099c3dccf5b34cb8a0db003496b370d', name: "disputeReason", label: "The cardholder received the product or service", value: "reason2" }), h("form-control-radio", { key: 'c3ea107bddf2a740612100bd67b99010fb2a345e', name: "disputeReason", label: "The cardholder was refunded", value: "reason3" }), h("form-control-radio", { key: 'd31e6a36cb3adc470809bfc92f48a7a13f0f8b03', name: "disputeReason", label: "The product, service, event or booking was cancelled or delayed due to a government order or other circumstances beyond your control", value: "reason4" }), h("form-control-radio", { key: '4dd304a181be479f7a1db6eb8e6882ce801915fb', name: "disputeReason", label: "Other", value: "reason5" }))))));
5
+ }
6
+ static get is() { return "justifi-dispute-reason"; }
7
+ }
8
+ ;
@@ -0,0 +1,8 @@
1
+ import { h } from "@stencil/core";
2
+ export class DuplicateCharge {
3
+ render() {
4
+ return (h("div", { key: 'b02f7b5b70969b8bf441266b368e8ddff43dd1e0' }, h("div", { key: 'f6fd012b8b477f4e2130872d0b43b85adad25fdd', class: "row gy-3" }, h("div", { key: '22f93a10a461f4e6e746b019861380c08bee9715', class: "col-12" }, h("h2", { key: 'fdcc6a3b8120bb3efa124e6bb79e96f5b444578a', class: "h5" }, "Duplicate Charge")), h("div", { key: '750890417b504f0477cf3359384c589f835847e5', class: "col-12" }, h("form-control-text", { key: 'e3d5f7886d8c6adea82f05a29ed45b41cd7db60e', label: "Original Payment ID", name: "duplicate_charge_original_payment_id" })), h("div", { key: 'd7c96b14fc113f70b88c24127edac5311323eb0a', class: "col-12" }, h("form-control-textarea", { key: '26fcb96b35087c948cbfd6a469a92ca7cdb86330', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation" })), h("div", { key: 'eadcc0457689882a1c19d18dd2898059d87547b0', class: "col-12" }, h("form-control-file", { key: 'f7aea8d759f94876bca6213de22cff28f8db8783', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation" })))));
5
+ }
6
+ static get is() { return "justifi-duplicate-charge"; }
7
+ }
8
+ ;
@@ -0,0 +1,8 @@
1
+ import { h } from "@stencil/core";
2
+ export class ElectronicEvidence {
3
+ render() {
4
+ return (h("div", { key: '9db83df31da31c0f2506636c3626bd7edfce8ee4' }, h("div", { key: '5d7ddc3e3a54efe160240d1996f405e4d3038ed6', class: "row gy-3" }, h("div", { key: 'ea60427980d5b149ab8df1490334fda670c1af42', class: "col-12" }, h("h2", { key: 'b50cbc7b5d48d62dc88c4c27c568f67d46ea212f', class: "h5" }, "Electronic Evidence")), h("div", { key: '523b2a97794e2772c74633bbda2926f339ad7797', class: "col-12" }, h("form-control-text", { key: 'f4769f6d1f3e175963fe7e8b547ae005866ba758', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase." })), h("div", { key: 'eb86f2c489bfaa93daa12fb126cff980249a16de', class: "col-12" }, h("form-control-textarea", { key: '7d5090db5478ec0ac38a68113a8786eca7e63549', label: "Activity Logs", name: "access_activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity." })))));
5
+ }
6
+ static get is() { return "justifi-electronic-evidence"; }
7
+ }
8
+ ;
@@ -0,0 +1,16 @@
1
+ import { h } from "@stencil/core";
2
+ export class ProductOrService {
3
+ constructor() {
4
+ this.productOrService = undefined;
5
+ }
6
+ render() {
7
+ 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" })))));
8
+ }
9
+ static get is() { return "justifi-product-or-service"; }
10
+ static get states() {
11
+ return {
12
+ "productOrService": {}
13
+ };
14
+ }
15
+ }
16
+ ;
@@ -0,0 +1,8 @@
1
+ import { h } from "@stencil/core";
2
+ export class RefundPolicy {
3
+ render() {
4
+ 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" })))));
5
+ }
6
+ static get is() { return "justifi-refund-policy"; }
7
+ }
8
+ ;
@@ -0,0 +1,12 @@
1
+ import { h } from "@stencil/core";
2
+ export class ShippingDetails {
3
+ // "shipping_address": "...",
4
+ // "shipping_carrier": "...",
5
+ // "shipping_date": "...",
6
+ // "shipping_tracking_number": "...",
7
+ render() {
8
+ 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" })))));
9
+ }
10
+ static get is() { return "justifi-shipping-details"; }
11
+ }
12
+ ;
@@ -0,0 +1,53 @@
1
+ import { h } from "@stencil/core";
2
+ import { StyledHost } from "../../ui-components";
3
+ import { DisputeManagementClickEvents } from "./dispute";
4
+ export class DisputeManagementCore {
5
+ constructor() {
6
+ this.showCounterDispute = false;
7
+ }
8
+ counterDisputeHandler(event) {
9
+ if (event.detail.name === DisputeManagementClickEvents.counterDispute) {
10
+ this.showCounterDispute = true;
11
+ }
12
+ if (event.detail.name === DisputeManagementClickEvents.cancelDispute) {
13
+ this.showCounterDispute = false;
14
+ }
15
+ }
16
+ render() {
17
+ return (h(StyledHost, { key: 'cb4d87f38d2e577efaf8dfc088f272e05a158dcb' }, this.showCounterDispute ? h("justifi-counter-dispute", null) : h("justifi-dispute-notification", null)));
18
+ }
19
+ static get is() { return "justifi-dispute-management-core"; }
20
+ static get states() {
21
+ return {
22
+ "showCounterDispute": {}
23
+ };
24
+ }
25
+ static get events() {
26
+ return [{
27
+ "method": "submit",
28
+ "name": "submit",
29
+ "bubbles": true,
30
+ "cancelable": true,
31
+ "composed": true,
32
+ "docs": {
33
+ "tags": [],
34
+ "text": ""
35
+ },
36
+ "complexType": {
37
+ "original": "any",
38
+ "resolved": "any",
39
+ "references": {}
40
+ }
41
+ }];
42
+ }
43
+ static get listeners() {
44
+ return [{
45
+ "name": "clickEvent",
46
+ "method": "counterDisputeHandler",
47
+ "target": undefined,
48
+ "capture": false,
49
+ "passive": false
50
+ }];
51
+ }
52
+ }
53
+ ;
@@ -0,0 +1,8 @@
1
+ import { h } from "@stencil/core";
2
+ export class DisputeManagement {
3
+ render() {
4
+ return (h("justifi-dispute-management-core", { key: 'ed28c52d4621058967a53f79c1f00db1d453f5a9' }));
5
+ }
6
+ static get is() { return "justifi-dispute-management"; }
7
+ static get encapsulation() { return "shadow"; }
8
+ }
@@ -0,0 +1,48 @@
1
+ import { h } from "@stencil/core";
2
+ export class DisputeNotification {
3
+ acceptDispute() {
4
+ // submit the dispute as forfeited, then emit submit event
5
+ this.submit.emit();
6
+ }
7
+ initiateCounterDispute() {
8
+ this.clickEvent.emit({ name: 'counterDispute' });
9
+ }
10
+ render() {
11
+ return (h("div", { key: 'e4d4de3446f6cd1b21fceb5b51bbbb912e2becbd' }, h("h1", { key: '4f6c5d36c498c4828f9234c02910f68f1563f683', class: "h4" }, "This payment was disputed"), h("p", { key: 'dd69d64f749dbd7ef3dee0c02121f7a4d5c43935' }, "The cardholder for this payment claims that the product was not received."), h("p", { key: '012671e73722cf571e2ffe9ec7268fc5a68211b8' }, "You can either counter the dispute by presenting proof of the product's delivery to or use by the cardholder, or you can choose to accept the dispute right away, refund the cardholder, and resolve the matter."), h("h2", { key: 'a305a609445a42ed31486089ee50fb6e826333e3', class: "h5" }, "Dispute details"), h("div", { key: 'c383e914b7f80d4899c9f9a161ede6ab19b0bb20', class: "d-table gap-2" }, h("div", { key: '3a17b05d7608bd3e85462e225829e540073a58c3', class: "d-table-row gap-2" }, h("span", { key: '26410fd189aede2ce647d80c17c5b1de81ae1e33', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'cf978f0256bca203c8ffba95b7d207f10354b154', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, "$50.00")), h("div", { key: '2a84d71d53c8cd8fd55bd788dd8cf5f4390876fa', class: "d-table-row gap-2" }, h("span", { key: '196bc7ca8a74bcb63f72f979b1f219adedb1f19e', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '46b8a0867cae071a1d929beb684930f59b7b6bfa', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, "Product not received")), h("div", { key: '491e7f02249c12159a8488943659ba6bf2e27d71', class: "d-table-row gap-2" }, h("span", { key: '04af38ed973f99c2b1e7a82c64fc27ff87a01a15', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '8929ec9b7bb528d9b47851df29bd75e816018e70', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, "dis_1234567890"))), h("div", { key: '2693379df3be7315ee7acf751af6c2eaeca56dcc', class: "d-flex gap-2 mt-4 justify-content-end" }, h("button", { key: '738f868f185f9bbf98d41306e8b260959b2295bd', class: "btn btn-secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h("button", { key: '83712ad248a0f8784b8b176c5620b531b21df50e', class: "btn btn-primary", onClick: () => this.initiateCounterDispute() }, "Counter dispute"))));
12
+ }
13
+ static get is() { return "justifi-dispute-notification"; }
14
+ static get events() {
15
+ return [{
16
+ "method": "submit",
17
+ "name": "submit",
18
+ "bubbles": true,
19
+ "cancelable": true,
20
+ "composed": true,
21
+ "docs": {
22
+ "tags": [],
23
+ "text": ""
24
+ },
25
+ "complexType": {
26
+ "original": "any",
27
+ "resolved": "any",
28
+ "references": {}
29
+ }
30
+ }, {
31
+ "method": "clickEvent",
32
+ "name": "clickEvent",
33
+ "bubbles": true,
34
+ "cancelable": true,
35
+ "composed": true,
36
+ "docs": {
37
+ "tags": [],
38
+ "text": ""
39
+ },
40
+ "complexType": {
41
+ "original": "any",
42
+ "resolved": "any",
43
+ "references": {}
44
+ }
45
+ }];
46
+ }
47
+ }
48
+ ;
@@ -0,0 +1,8 @@
1
+ export var DisputeManagementClickEvents;
2
+ (function (DisputeManagementClickEvents) {
3
+ DisputeManagementClickEvents["nextStep"] = "nextStep";
4
+ DisputeManagementClickEvents["previousStep"] = "previousStep";
5
+ DisputeManagementClickEvents["cancelDispute"] = "cancelDispute";
6
+ DisputeManagementClickEvents["counterDispute"] = "counterDispute";
7
+ DisputeManagementClickEvents["submit"] = "submit";
8
+ })(DisputeManagementClickEvents || (DisputeManagementClickEvents = {}));
@@ -1,7 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  import { Chart, BarController, Colors, BarElement, CategoryScale, LinearScale, Legend, Tooltip, Title } from "chart.js";
3
3
  import { generateChartOptions } from "./chart-utils";
4
- import { ErrorState, LoadingState } from "../details/utils";
4
+ import { ErrorState, LoadingState } from "../../ui-components/details/utils";
5
5
  Chart.register(Colors, BarController, BarElement, CategoryScale, LinearScale, Legend, Tooltip, Title);
6
6
  export class GrossPaymentChartCore {
7
7
  constructor() {
@@ -68,7 +68,7 @@ export class GrossPaymentChartCore {
68
68
  }
69
69
  }
70
70
  render() {
71
- return (h(Host, { key: '463d7e132e647e1da6dc5ad5ea54abf95a60e715' }, this.loading && LoadingState(), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
71
+ return (h(Host, { key: '80dfc1ae805ac7e1d34222037de6f492feabf619' }, this.loading && LoadingState(), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
72
72
  }
73
73
  static get is() { return "gross-payment-chart-core"; }
74
74
  static get originalStyleUrls() {
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { ReportsService } from "../../api/services/reports.service";
3
3
  import { makeGetGrossPaymentChartData } from "./get-gross-payment-chart-data";
4
- import { ErrorState } from "../details/utils";
4
+ import { ErrorState } from "../../ui-components/details/utils";
5
5
  import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
6
6
  import JustifiAnalytics from "../../api/Analytics";
7
7
  import { checkPkgVersion } from "../../utils/check-pkg-version";
@@ -96,8 +96,8 @@ export class SeasonInterruptionInsuranceCore {
96
96
  }
97
97
  render() {
98
98
  var _a, _b, _c, _d;
99
- return (h(StyledHost, { key: '7b1384ddbc83b5f92d3a2c4f8e544c8bd06fa716' }, !this.isLoading &&
100
- h("div", { key: 'd94a61158ceb79c30d81ee5186195d3454c01323' }, h("h2", { key: '05d5b1499cf7de28823ec98ebd2c220eca7471f1', class: "fs-5 fw-bold pb-3 jfi-header" }, (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title), h("small", { key: 'fa26cf97a06a9910d7f4cb04d149bbcd9f30d103', innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description }), h("div", { key: '287de8ed4ca603b3162b4158d18d7e8a53e3b453' }, h("input", { key: '59adbc8ac892e572bc1aa68f3c626beab76af282', 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: '469ac2622be0c76564de8102a499d3d3790380b2', htmlFor: "accept" }, "Accept coverage for ", formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents))), h("div", { key: '7a8827c4261d5978ecca31fc42397f233b3e37fc', class: "mb-2" }, h("input", { key: 'e25994c491ca5d74d20ec5f5787ff88ee9575ca0', 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: '0a5f13213a19e13258c72ccbbe7a2e148daf1750', htmlFor: "decline" }, "Decline coverage")), h("div", { key: '33a190aa52dfefd6accf77a9e00598563a8f5e6c', class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' } }, "Please select an option"), h("small", { key: 'f10e4ebd9a896fc792bb3d18d6014100013cb0b7', innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer }))));
99
+ return (h(StyledHost, { key: 'ca90d98930a8edff34e6690caa04421a70fa9238' }, !this.isLoading &&
100
+ 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 }))));
101
101
  }
102
102
  static get is() { return "justifi-season-interruption-insurance-core"; }
103
103
  static get encapsulation() { return "shadow"; }
@@ -53,7 +53,7 @@ export class SeasonInterruptionInsurance {
53
53
  });
54
54
  }
55
55
  render() {
56
- return (h("justifi-season-interruption-insurance-core", { key: '0ef99882f70c9886e8a5b49da5fe89dd4421067a', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
56
+ return (h("justifi-season-interruption-insurance-core", { key: '205515d248ac43b9de8e7c8f9fec41b93f6e1237', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
57
57
  }
58
58
  static get is() { return "justifi-season-interruption-insurance"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,8 @@
1
1
  import { h } from "@stencil/core";
2
- import { MapPaymentStatusToBadge, formatCurrency, formatDate, formatTime, snakeCaseToHumanReadable } from "../../utils/utils";
3
- import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadInfoItem, ErrorState, LoadingState } from "../details/utils";
2
+ import { formatCurrency, formatDate, formatTime, snakeCaseToHumanReadable } from "../../utils/utils";
3
+ import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadInfoItem, ErrorState, LoadingState } from "../../ui-components/details/utils";
4
4
  import { StyledHost } from "../../ui-components";
5
+ import { MapPaymentStatusToBadge } from "../payments-list/payments-status";
5
6
  export class PaymentDetailsCore {
6
7
  constructor() {
7
8
  this.getPaymentDetails = undefined;
@@ -38,14 +39,14 @@ export class PaymentDetailsCore {
38
39
  }
39
40
  render() {
40
41
  var _a;
41
- return (h(StyledHost, { key: 'aaaea4076938af5a74197256dba1093265f0e2d6' }, this.loading && LoadingState(), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
42
- this.payment && (h("justifi-details", { key: '12f06fa05915380403e244cbed053d0c04bfa1d4', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '4d496def6abfc728e6f184fb0729ac648fb2deaf', slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPaymentStatusToBadge(this.payment.status) }), title: `${formatCurrency(this.payment.amount)} ${(_a = this.payment) === null || _a === void 0 ? void 0 : _a.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: '78dcff13206646d594bdc80f6297d45dc9932694', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'dfa0de667ebd28efd217b6bdf548b9b1b728b57e', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'b449b180034f28504007a9c2fb0598607dc00efb', title: "ID", value: this.payment.id })), h("div", { key: '62af84e244e38b24b32f791d13f1b21b49942597', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '0ddb0366b4ab737c7b08a37764b8ce2f7ec4a1e9', sectionTitle: "Details" }), h("div", { key: 'cb699194db16cb8608834779f560e882f6f9da7c', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '3b6eb4a8b782668951bba90be3b5d522f3f7c69b', title: "Amount", value: formatCurrency(this.payment.amount) }), h(DetailItem, { key: '7a59ab0b12a263c38c40a98acbff6492d370b28b', title: "Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: 'a9eaa5d1959425205c144dc2aa7c7fad77014290', title: "Refunded", value: formatCurrency(this.payment.amount_refunded) }), h(DetailItem, { key: 'd70c3a4bf48c9c69625d5f27f1095f9b0744a71e', title: "Net", value: formatCurrency(this.payment.balance) }), h(DetailItem, { key: '28f526b1adcd475c2ae88a8bf09ae4aea7935df6', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '700f51d787f20f575e3e11aa72a8da29a9587c2a', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: 'ea72ecc9c2f5055d4b0f6b37cd16cb318f9a797c', title: "Processing Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: '9d66af2c0c0baef4e8b7b021daf0b4d6adb267d2', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '3f21501c1e08feeee1e7427a42faf1c5d1d9c84d', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
43
- h(DetailSectionTitle, { key: 'b7767b93e090c0195aca6c99b66b48d61b6134b3', sectionTitle: "Payment Method" }),
44
- h("div", { key: 'a363c7a7e69932a8ffeddb5e0d53f7df13119a9a', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'fb0e1f64fcec23e513590b3048593565685d8400', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'bc181b1b94039e1aad341a8e563ba923976c806b', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '88b21dd2368b88232cd0f464c381d4423fe3c774', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '040fd71315ead633f9c89e9a9dad906889759d77', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '35ebc74de2c5c8fafd95fc5b15ff4f2ca85220cc', title: "Cardholder", value: this.payment.payment_method.payersName }))
42
+ return (h(StyledHost, { key: '85c684ff2f417380042e5245e3e6546874a75e72' }, this.loading && LoadingState(), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
43
+ this.payment && (h("justifi-details", { key: 'a1afa8ca107867f4d48a6069d8df08942e7cb4b2', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'c7e93e52c041808c816768cfd56c2e035410bea3', slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPaymentStatusToBadge(this.payment.status) }), title: `${formatCurrency(this.payment.amount)} ${(_a = this.payment) === null || _a === void 0 ? void 0 : _a.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: '2dba396e28b3daa61b722ffe32d98c3065ed2e18', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '9c0417863d9b0ba186c7547d41b02372c9ab3d54', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '7a7e31453894d70671b0f001b30aa74c72380308', title: "ID", value: this.payment.id })), h("div", { key: 'd6b72faca6ce471ce914ff5184e6cc2419a2ef84', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'c794e7f7a4ac3fc3442fea20ba6aaf00ca1b52fd', sectionTitle: "Details" }), h("div", { key: '5f34cd707d0f7ca2ed3c0dbd2abc2fc1c5f9ee4c', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'f64631d74fb728487477e61d99f93b72ccf03b45', title: "Amount", value: formatCurrency(this.payment.amount) }), h(DetailItem, { key: '7e751f1c2e62ea45fbdb910b4bfb10f2c30e923a', title: "Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: '1a536d5e027c98aeabd44cbb83f8f38322c37a95', title: "Refunded", value: formatCurrency(this.payment.amount_refunded) }), h(DetailItem, { key: 'a1739f90e3d8cc1724b556168c86e392d1ef84fa', title: "Net", value: formatCurrency(this.payment.balance) }), h(DetailItem, { key: '0a1f7b910421fe8568c5bbb6a70732f392486370', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '6c45ac2b6e0e84fbdd9e9f6fa26764a351c2495f', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '6571a1faf8daf4079187ccf37603cdec6e7f7602', title: "Processing Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: '1b343529481cf7143855513e44428cf3188b8326', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'd0ff8578503733c6b580131aed9d3f284e7ab3e8', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
44
+ h(DetailSectionTitle, { key: 'c0ec143f86d9c817380efa58cea2a48476df77d8', sectionTitle: "Payment Method" }),
45
+ h("div", { key: '278b6ef36cf15e9037b4ec94846fc8215b766f61', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'dcbf3d1747b9e84cb10430ee595806381cac21bd', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '0c4f1701aa28272e93d2f13251da5261f90e83cc', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'f8f90a838143fde661a612c5d880ffc98eb468a2', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '37a455f5451973c3388dd8cf0841320564f9f034', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '156c2b789d28d1ae7b5e4c912c99f29681a2f7ef', title: "Cardholder", value: this.payment.payment_method.payersName }))
45
46
  ], this.payment.payment_method.bank_account && [
46
- h(DetailSectionTitle, { key: 'f10eef0b4e4067fb78dbff16719a6f266f4e6bab', sectionTitle: "Payment Method" }),
47
- h("div", { key: '6c1ef713b5dcabba5b516f3cbbd088d098873303', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '8880fd0fb2b16ee6f177aba15d6f4485c95af252', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'baa70304d2972f69ce8a5d077a076b16f986745b', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'dcb63b9258bea698bf2d165c611dfa05cb320f30', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '806696c15aa5ef242c230d9c9aea642ddfdfd93d', title: "Account Owner", value: this.payment.payment_method.payersName }))
48
- ], h(DetailSectionTitle, { key: '83289d8f2cf57a624678260555f00af4ea96a566', sectionTitle: 'Metadata' }), h("div", { key: '02e248b962e0c06f4d83bae75a5759b234fea36b', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '5d81879c7815102219ed010dab9f573ad6b7985d', metadata: this.payment.metadata })))))));
47
+ h(DetailSectionTitle, { key: '4f5e2cc8141a336e4e9181cee653fda1bf38ecf7', sectionTitle: "Payment Method" }),
48
+ h("div", { key: '402ae401e93231e6369f9bb76ac48805d7d28f09', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'ef33c8d86b6ae69ae94cce998ef9d120b20e66d1', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'db745f865358ab8f8537cc491d6d7ce021e7db29', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '9a15f1c0990145a0ebbbf4ebab04c7b8be3f447b', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'dad1476170af5c5cb51a7fbd9329bbe969c51e3e', title: "Account Owner", value: this.payment.payment_method.payersName }))
49
+ ], h(DetailSectionTitle, { key: 'fbfc61ca6adb02cca215e1dda51eca1de03023ea', sectionTitle: 'Metadata' }), h("div", { key: '7018390fa3a2304a936999a0c7ceb04d3bd7fed5', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '4ec963eedfb62ab1d038d3f50b4c7199e4954623', metadata: this.payment.metadata })))))));
49
50
  }
50
51
  static get is() { return "payment-details-core"; }
51
52
  static get properties() {
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { PaymentService } from "../../api/services/payment.service";
3
3
  import { makeGetPaymentDetails } from "./get-payment-details";
4
- import { ErrorState } from "../details/utils";
4
+ import { ErrorState } from "../../ui-components/details/utils";
5
5
  import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
6
6
  import JustifiAnalytics from "../../api/Analytics";
7
7
  import { checkPkgVersion } from "../../utils/check-pkg-version";
@@ -108,15 +108,15 @@ export class PaymentForm {
108
108
  }
109
109
  }
110
110
  render() {
111
- return (h(StyledHost, { key: 'f7d035a9ed8b16016493aa07a85a6b4d6d83b5f5' }, h("form", { key: 'fb9354b439332ef4ee67e915f27b60b9b744e6e2', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (h("div", { key: '303fbccf9beb30c1d822f0ac148128dfba9d158f', class: "col-12" }, h("justifi-payment-method-selector", { key: 'f71353d3f90ab50461a57ce3738ea853ca4d1cc3', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), h("div", { key: 'd9024a406dcde487ff2bb7d34385da0a1be8aef5', class: "col-12" }, h("justifi-payment-method-form", { key: '010488c96f1b6b5af049b89151cea9ce61f263bb', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: config.iframeOrigin, ref: el => {
111
+ return (h(StyledHost, { key: 'a2391aac29babb363f477ec8254491e5790ee34e' }, h("form", { key: 'd41b1f80b10c9be6def16ba694a8a94a14b09d13', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (h("div", { key: '26c13e2fa0f1df35c8477b14fbd5a91e65b3d2fa', class: "col-12" }, h("justifi-payment-method-selector", { key: '8c8a4989c3bef7f1b701ab06494e65d1d5f18fff', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), h("div", { key: '49917b87314717b1cb0cd9be42ae1f88a05bebad', class: "col-12" }, h("justifi-payment-method-form", { key: '786aa47bacfeea8dc2ae0e878633ad33e771892d', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: config.iframeOrigin, ref: el => {
112
112
  if (el) {
113
113
  this.paymentMethodFormRef = el;
114
114
  }
115
- } })), h("div", { key: 'c8b41e9d6bc0d21db4bc1efa12852480ed4a0bbd', class: "col-12" }, h("justifi-billing-form", { key: '2226122296e6b9da8359b90fe563b6c4342c72f3', legend: "Billing Info", ref: el => {
115
+ } })), h("div", { key: '7bd1068b1eb84e58ad0b13702b4d5e6d1bb548a4', class: "col-12" }, h("justifi-billing-form", { key: '63e53f0e0073f84b3d665d6cc7f7381f0d74e653', legend: "Billing Info", ref: el => {
116
116
  if (el) {
117
117
  this.billingFormRef = el;
118
118
  }
119
- } })), h("slot", { key: '5aa12164db0d1ac4570db49b7a1bc527d974a8ab', name: 'insurance' }), h("div", { key: '5b0ad786dcf96a4c83696b1e3d1cd09345313807', class: "col-12" }, h(Button, { key: 'b3a55eaf9403d33a0e0769ca2c6c42b086f4da9a', variant: "primary", type: "submit", onClick: event => this.submit(event), disabled: !this.submitButtonEnabled || this.isLoading, isLoading: this.isLoading, "data-testid": "submit-button", style: { width: '100%' } }, this.submitButtonText || 'Submit')))));
119
+ } })), h("slot", { key: 'bd274a3501c6ad6225bb928a9e0c3354a075ee5b', name: 'insurance' }), h("div", { key: '5c777cc15acc4e74690e7060130c35398227f60d', class: "col-12" }, h(Button, { key: '6c5b367e177f64d6034eac6fc21468ab34ab9e5e', variant: "primary", type: "submit", onClick: event => this.submit(event), disabled: !this.submitButtonEnabled || this.isLoading, isLoading: this.isLoading, "data-testid": "submit-button", style: { width: '100%' } }, this.submitButtonText || 'Submit')))));
120
120
  }
121
121
  static get is() { return "justifi-payment-form"; }
122
122
  static get encapsulation() { return "shadow"; }
@@ -13,7 +13,7 @@ export class PaymentMethodSelector {
13
13
  this.paymentMethodSelected.emit(event.target.value);
14
14
  }
15
15
  render() {
16
- return (h("div", { key: 'a0cd592094f7f69955469de84addde1d4bc5af4d', class: "btn-group jfi-btn-radio-group", role: "group", "aria-label": "Radio toggle group for payment method" }, this.paymentMethodTypes.map((paymentMethodType) => (h(Fragment, null, h("input", { id: paymentMethodType, type: "radio", name: "paymentMethodType", value: paymentMethodType, onChange: (event) => this.onChangeHandler(event), checked: this.selectedPaymentMethodType === paymentMethodType, class: "btn-check jfi-btn-radio" }), h("label", { htmlFor: paymentMethodType, class: "btn btn-outline-primary jfi-btn-radio-label" }, PaymentMethodLabels[paymentMethodType]))))));
16
+ return (h("div", { key: '66ac630ad3bd8379c28743402fd1df3e4386dac5', class: "btn-group jfi-btn-radio-group", role: "group", "aria-label": "Radio toggle group for payment method" }, this.paymentMethodTypes.map((paymentMethodType) => (h(Fragment, null, h("input", { id: paymentMethodType, type: "radio", name: "paymentMethodType", value: paymentMethodType, onChange: (event) => this.onChangeHandler(event), checked: this.selectedPaymentMethodType === paymentMethodType, class: "btn-check jfi-btn-radio" }), h("label", { htmlFor: paymentMethodType, class: "btn btn-outline-primary jfi-btn-radio-label" }, PaymentMethodLabels[paymentMethodType]))))));
17
17
  }
18
18
  static get is() { return "justifi-payment-method-selector"; }
19
19
  static get originalStyleUrls() {
@@ -1,9 +1,9 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { pagingDefaults } from "../../api";
3
- import { MapPaymentStatusToBadge, formatCurrency, formatDate, formatTime } from "../../utils/utils";
4
- import { tableExportedParts } from "../table/exported-parts";
5
- import { StyledHost, TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
3
+ import { formatCurrency, formatDate, formatTime } from "../../utils/utils";
4
+ import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
6
5
  import { onFilterChange } from "../../ui-components/filters/utils";
6
+ import { MapPaymentStatusToBadge } from "./payments-status";
7
7
  export class PaymentsListCore {
8
8
  constructor() {
9
9
  this.handleClickPrevious = (beforeCursor) => {
@@ -69,13 +69,13 @@ export class PaymentsListCore {
69
69
  }
70
70
  get columnData() {
71
71
  return [
72
- ['Made On', 'The date and time each payment was made'],
72
+ ['Date', 'The date and time each payment was made'],
73
73
  ['Amount', 'The dollar amount of each payment'],
74
+ ['Status', 'The current status of each payment'],
75
+ ['Type', 'The type of each payment'],
74
76
  ['Description', 'The payment description, if you provided one'],
75
- ['Cardholder', 'The name associated with the payment method'],
77
+ ['Account Holder', 'The name associated with the payment method'],
76
78
  ['Payment Method', 'The brand and last 4 digits of the payment method'],
77
- ['Status', 'The current status of each payment'],
78
- ['Payment ID', 'The unique identifier of each payment'],
79
79
  ];
80
80
  }
81
81
  get rowData() {
@@ -87,15 +87,15 @@ export class PaymentsListCore {
87
87
  <div class="fw-bold">${formatTime(payment.created_at)}</div>
88
88
  `,
89
89
  },
90
- formatCurrency(payment.amount),
91
- payment.description,
92
- payment.payment_method.payersName,
93
- payment.payment_method.lastFourDigits,
90
+ formatCurrency(payment.amount, true, true),
94
91
  {
95
92
  type: 'inner',
96
93
  value: MapPaymentStatusToBadge(payment.status),
97
94
  },
98
- payment.id,
95
+ payment.paymentType,
96
+ payment.description,
97
+ payment.payment_method.payersName,
98
+ payment.payment_method.lastFourDigits,
99
99
  ]);
100
100
  }
101
101
  get showEmptyState() {
@@ -109,7 +109,7 @@ export class PaymentsListCore {
109
109
  }
110
110
  render() {
111
111
  var _a, _b;
112
- return (h(StyledHost, { key: 'aa139e92669ea06532373a64f08a9926f9ddb4d0', exportparts: tableExportedParts }, h("payments-list-filters", { key: 'd5338eb8899dc99a9633cd892400fc4749edb4b6', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: 'dd452f6a2920ef50fb24324efdf65407f7d964f7', class: "table-wrapper" }, h("table", { key: '64d2d4304549595b80a45ee5684f7ac3cd296245', class: "table table-hover" }, h("thead", { key: '256145c2eea8ac35f1c83663cba68d85287f33fc', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '43a9d75516e80bb5cd04f2575370c863f6413528', class: "table-light text-nowrap", part: "table-head-row" }, (_a = this.columnData) === null || _a === void 0 ? void 0 : _a.map((column) => (h("th", { part: "table-head-cell", scope: "col", title: Array.isArray(column) ? column[1] : "" }, !Array.isArray(column) ? column : column[0]))))), h("tbody", { key: 'f95b3b11a9fe046a14a78aaa9f08a5522bead677', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: 'f92ed5822f5f3946463b89ed746ab641cbf3b2b3', columnSpan: this.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'ddd2a229c0bb493480504ddcd855d2957b5acedd', isEmpty: this.showEmptyState, columnSpan: this.columnData.length }), h(TableErrorState, { key: '0a42c24d04d0cb23804e4a55d185cb9da4b205ab', columnSpan: this.columnData.length, errorMessage: this.errorMessage }), this.showRowData &&
112
+ return (h("div", { key: 'e51632f2cff6529131bf09250374f5609b8bbbd2' }, h("payments-list-filters", { key: '335944968281577a826fe2aa2a3866b282c6528c', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: 'ebff773b76f1a4b68a00675fa3499b8de71b1fe2', class: "table-wrapper" }, h("table", { key: '88e00cb3e4a98aa456b8bfb8d2d444d407aadb55', class: "table table-hover" }, h("thead", { key: '8c0bda771073274164ab4299bfdee85d70b0ccd8', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '1d3774f8ecfa33cd68bd299d5d6f5f9364f557c4', class: "table-light text-nowrap", part: "table-head-row" }, (_a = this.columnData) === null || _a === void 0 ? void 0 : _a.map((column) => (h("th", { part: "table-head-cell", scope: "col", title: Array.isArray(column) ? column[1] : "" }, !Array.isArray(column) ? column : column[0]))))), h("tbody", { key: '9ef8a6b5e19edf824ca91c58ce901a83b12e5d86', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: '6f41adae546948d437b09c73611df813160be2d1', columnSpan: this.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'd359e393f80cdf45d9746a5e4ee979079a11b870', isEmpty: this.showEmptyState, columnSpan: this.columnData.length }), h(TableErrorState, { key: 'd2d81ee9b5abcf732972afa56e6e2abc3c7c2e98', columnSpan: this.columnData.length, errorMessage: this.errorMessage }), this.showRowData &&
113
113
  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) => {
114
114
  let nestedHtml = dataEntry === null || dataEntry === void 0 ? void 0 : dataEntry.type;
115
115
  if (nestedHtml) {
@@ -118,7 +118,7 @@ export class PaymentsListCore {
118
118
  else {
119
119
  return h("td", { part: "table-cell" }, dataEntry);
120
120
  }
121
- }))))), this.paging && (h("tfoot", { key: '20f135407c3d167359b1e2dd1f12b751b31ac80e', class: "sticky-bottom" }, h("tr", { key: 'dae4f695a77846739f2cc80f1e210f0d24d4671e', class: "table-light align-middle" }, h("td", { key: '6f2ed8b9b062a008f521aad3fe7f2ac923316955', part: "pagination-bar", colSpan: (_b = this.columnData) === null || _b === void 0 ? void 0 : _b.length }, h("pagination-menu", { key: '18c83657e78378ce8b59d6216479047f7728691f', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
121
+ }))))), this.paging && (h("tfoot", { key: '556eb5c90bf12c3d1b577fc74911e3318a95b87c', class: "sticky-bottom" }, h("tr", { key: 'e69f4f7a9510131a737460568a2e398908315848', class: "table-light align-middle" }, h("td", { key: '518a89afe7e7aaf02857ef9e7f0bad0fc0220eeb', part: "pagination-bar", colSpan: (_b = this.columnData) === null || _b === void 0 ? void 0 : _b.length }, h("pagination-menu", { key: '4510a747b96502d86615c90f8ba0d051b3f1cec8', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
122
122
  }
123
123
  static get is() { return "payments-list-core"; }
124
124
  static get properties() {
@@ -22,7 +22,7 @@ export class PaymentsListFilters {
22
22
  ];
23
23
  }
24
24
  render() {
25
- return (h("table-filters-menu", { key: '490bab461b6e9f7d3d6296e0d7b59cd0379750a9', params: this.params, clearParams: this.clearParams }, h("div", { key: '03541b6698c5c7fd3f82133e5c391c1a88516a09', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'da16493e48e338b7a44acdfd8adfc74536580c76', class: "p-2" }, h("form-control-text", { key: '5c3c66c184bc1753ce8a8c9dd8644a15338dba27', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.payment_id })), h("div", { key: 'cc1637833295948df93b3fc5e3a9240b8c401840', class: "p-2" }, h("form-control-text", { key: '9201deffdc08ddadbcb4b1b817550116ce5e4eb9', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.terminal_id })), h("div", { key: '8bba67af45d8ae3427c0df2fd7e3e01bfb081ade', class: "p-2" }, h("form-control-select", { key: '9744947523c0ba7f840946b9d21574d93b239efe', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.payment_status })), h("div", { key: '3e15042ad46b11ea1ba086a284a32b7a661362d9', class: "p-2" }, h("form-control-date", { key: '4cb7f7356fb9a3e86834511eefd16c5b3334b976', name: "created_after", label: "Start Date", inputHandler: this.setParamsOnChange, defaultValue: this.params.created_after })), h("div", { key: '88315cc708c3e4e526e0a80f04a114bf0f9600bf', class: "p-2" }, h("form-control-date", { key: '537eee72fc813d0c73d830641db73eadabef5d18', name: "created_before", label: "End Date", inputHandler: this.setParamsOnChange, defaultValue: this.params.created_before })))));
25
+ return (h("table-filters-menu", { key: 'a155feec339f48d77b25f4036bb185125bc0a7ce', params: this.params, clearParams: this.clearParams }, h("div", { key: '57c1528bdd86374dd2c780ae0d6b4850e7a96bcd', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'fc61d1e3c37cb3d5914b517e72ec569094c0cc8f', class: "p-2" }, h("form-control-text", { key: '7a81ebac31e074b3bd499c275d5ef68fd02d4910', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.payment_id })), h("div", { key: '3926d05f92b0a16581f1dd66dcc1aee300d2bc98', class: "p-2" }, h("form-control-text", { key: '48b999c9543ca31146fb010d02074be69544fabc', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.terminal_id })), h("div", { key: '64d87e35e59931fc76ab9f4e1a6c486f839b9fbb', class: "p-2" }, h("form-control-select", { key: 'a3fe39cd40dccb2143139a127e1d37ef669acf63', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.payment_status || '' })), h("div", { key: 'a522b9e4d8e9c4e3e3bf577deb4db56ffc13fc13', class: "p-2" }, h("form-control-date", { key: 'd2d277dc5f3bf4b80b4f09b60ed7f76bedaa46ab', name: "created_after", label: "Start Date", inputHandler: this.setParamsOnChange, defaultValue: this.params.created_after, showTime: true, filterTimeZone: true })), h("div", { key: 'b6e15a8cfca24097432edd77fa339c09b72ce74c', class: "p-2" }, h("form-control-date", { key: '5c27469e525dba1111eaec6a8446bdacf34baee4', name: "created_before", label: "End Date", inputHandler: this.setParamsOnChange, defaultValue: this.params.created_before, showTime: true, filterTimeZone: true })))));
26
26
  }
27
27
  static get is() { return "payments-list-filters"; }
28
28
  static get properties() {
@@ -1,11 +1,12 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { PaymentService } from "../../api/services/payment.service";
3
3
  import { makeGetPayments } from "./get-payments";
4
- import { ErrorState } from "../details/utils";
5
4
  import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
6
5
  import JustifiAnalytics from "../../api/Analytics";
7
6
  import { checkPkgVersion } from "../../utils/check-pkg-version";
8
7
  import { config } from "../../../config";
8
+ import { StyledHost } from "../../ui-components/styled-host/styled-host";
9
+ import { tableExportedParts } from "../../ui-components/table/exported-parts";
9
10
  /**
10
11
  * @exportedPart label: Label for inputs
11
12
  * @exportedPart input: The input fields
@@ -70,10 +71,7 @@ export class PaymentsList {
70
71
  }
71
72
  }
72
73
  render() {
73
- if (this.errorMessage) {
74
- return ErrorState(this.errorMessage);
75
- }
76
- return (h("payments-list-core", { getPayments: this.getPayments, "onError-event": this.handleErrorEvent }));
74
+ return (h(StyledHost, { key: 'a1c35cabf7026d694df44351b0879839a21376b8', exportparts: tableExportedParts }, h("payments-list-core", { key: 'c07919c4982f04122d5e4b2a6bdb4e506f7384e5', getPayments: this.getPayments, "onError-event": this.handleErrorEvent })));
77
75
  }
78
76
  static get is() { return "justifi-payments-list"; }
79
77
  static get encapsulation() { return "shadow"; }