@justifi/webcomponents 5.3.4 → 5.3.5

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 (431) hide show
  1. package/dist/cjs/{Analytics-2fb20059.js → Analytics-e91a5523.js} +1 -1
  2. package/dist/cjs/{Checkout-1c07dc32.js → Checkout-eef27045.js} +11 -6
  3. package/dist/cjs/{SubAccount-b4811a8e.js → SubAccount-f9069337.js} +70 -0
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  5. package/dist/cjs/{badge-86a6a7f8.js → badge-6abf6ed3.js} +1 -1
  6. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +7 -7
  7. package/dist/cjs/bank-account-form_9.cjs.entry.js +4 -4
  8. package/dist/cjs/billing-form_3.cjs.entry.js +6 -6
  9. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  10. package/dist/cjs/{button-5f6c437f.js → button-aed2ce1a.js} +1 -1
  11. package/dist/cjs/{check-pkg-version-f5a3d421.js → check-pkg-version-d19c6fdb.js} +1 -1
  12. package/dist/cjs/{checkout.service-b23994d2.js → checkout.service-0643396e.js} +2 -2
  13. package/dist/cjs/checkouts-list-core.cjs.entry.js +7 -7
  14. package/dist/cjs/{checkouts-table-cf3e245e.js → checkouts-table-f88ad3c8.js} +2 -2
  15. package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper.cjs.entry.js} +2 -141
  16. package/dist/cjs/{dispute.service-c192dd33.js → dispute.service-53c80520.js} +2 -2
  17. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  18. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  19. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  20. package/dist/cjs/{form-control-error-text-9905e3b8.js → form-control-error-text-74fb8498.js} +1 -1
  21. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -4
  22. package/dist/cjs/{form-control-help-text-8d031bfb.js → form-control-help-text-3cffd918.js} +1 -1
  23. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  24. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  25. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  26. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  27. package/dist/cjs/form-control-select_3.cjs.entry.js +145 -0
  28. package/dist/cjs/{get-payout-csv-13d68dab.js → get-payout-csv-bdd7d9c0.js} +2 -2
  29. package/dist/cjs/{get-subaccounts-b2e6ab82.js → get-subaccounts-40c4a0b6.js} +2 -2
  30. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  31. package/dist/cjs/{header-1-b202dbbb.js → header-1-cc98bae2.js} +1 -1
  32. package/dist/cjs/{header-3-5f78acd1.js → header-3-05ce2ad0.js} +1 -1
  33. package/dist/cjs/{insurance-state-ba0c39a9.js → insurance-state-211cd636.js} +1 -1
  34. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +5 -5
  35. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +4 -4
  36. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +71 -108
  37. package/dist/cjs/justifi-business-details.cjs.entry.js +5 -5
  38. package/dist/cjs/justifi-business-form.cjs.entry.js +9 -9
  39. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  40. package/dist/cjs/justifi-checkout-core.cjs.entry.js +6 -6
  41. package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
  42. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  43. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -10
  44. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  45. package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
  46. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +31 -24
  47. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  48. package/dist/cjs/justifi-order-terminals.cjs.entry.js +114 -21
  49. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
  50. package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -8
  51. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  52. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
  53. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
  54. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -11
  55. package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
  56. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
  57. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -12
  58. package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
  60. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
  61. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -5
  62. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
  63. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -25
  64. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +8 -8
  65. package/dist/cjs/loader.cjs.js +1 -1
  66. package/dist/cjs/{package-e8aa0c51.js → package-82b16c28.js} +1 -1
  67. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  68. package/dist/cjs/{parts-c2655003.js → parts-63f60e81.js} +3 -0
  69. package/dist/cjs/payment-details-core.cjs.entry.js +12 -12
  70. package/dist/cjs/{payment.service-f53022c3.js → payment.service-23b0dcb8.js} +2 -2
  71. package/dist/cjs/payments-list-core.cjs.entry.js +9 -9
  72. package/dist/cjs/{payments-status-92abe577.js → payments-status-b9192db7.js} +1 -1
  73. package/dist/cjs/{payments-table-c58e3ca8.js → payments-table-dba2f145.js} +2 -2
  74. package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
  75. package/dist/cjs/payouts-list-core.cjs.entry.js +9 -9
  76. package/dist/cjs/{payouts-status-703d62af.js → payouts-status-385a794d.js} +1 -1
  77. package/dist/cjs/{payouts-table-70fc1498.js → payouts-table-8cd537de.js} +2 -2
  78. package/dist/cjs/{skeleton-84102a44.js → skeleton-65afa2f5.js} +1 -1
  79. package/dist/cjs/{spinner-70f38e5e.js → spinner-a95e9b8d.js} +1 -1
  80. package/dist/cjs/{table-fc82fa81.js → table-ad35ff09.js} +2 -2
  81. package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
  82. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +61 -8
  83. package/dist/cjs/terminal-orders-table-8baa5461.js +51 -0
  84. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +36 -0
  85. package/dist/cjs/terminal.service-2f41898f.js +30 -0
  86. package/dist/cjs/terminals-list-core.cjs.entry.js +8 -8
  87. package/dist/cjs/{terminals-table-db58a0c0.js → terminals-table-c4c01dc3.js} +6 -4
  88. package/dist/cjs/{utils-7c5b2837.js → utils-f752bd45.js} +1 -1
  89. package/dist/cjs/webcomponents.cjs.js +1 -1
  90. package/dist/collection/actions/terminal/get-terminal-models.js +30 -0
  91. package/dist/collection/api/Checkout.js +5 -0
  92. package/dist/collection/api/Terminal.js +1 -0
  93. package/dist/collection/api/TerminalModel.js +15 -0
  94. package/dist/collection/api/TerminalOrder.js +51 -0
  95. package/dist/collection/api/index.js +2 -0
  96. package/dist/collection/api/services/terminal.service.js +6 -0
  97. package/dist/collection/collection-manifest.json +1 -0
  98. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +8 -8
  99. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  100. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +27 -15
  101. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +26 -14
  102. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +26 -14
  103. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +22 -14
  104. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +26 -14
  105. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +26 -14
  106. package/dist/collection/components/dispute-management/dispute-response/file-input-handler.js +11 -0
  107. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +26 -14
  108. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +26 -14
  109. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +26 -12
  110. package/dist/collection/components/order-terminals/order-terminals.js +79 -16
  111. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  112. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  113. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  114. package/dist/collection/components/payments-list/payments-list.js +1 -1
  115. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  116. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  117. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  118. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  119. package/dist/collection/components/refund-form/refund-form.js +1 -1
  120. package/dist/collection/components/terminal-orders-list/terminal-order-status.js +18 -0
  121. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +3 -2
  122. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  123. package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +17 -5
  124. package/dist/collection/components/terminal-quantity-selector/terminal-quantity-selector-loading.js +5 -0
  125. package/dist/collection/components/terminal-quantity-selector/terminal-quantity-selector.js +153 -0
  126. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  127. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  128. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  129. package/dist/collection/components/terminals-list/terminals-table.js +4 -2
  130. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  131. package/dist/collection/styles/parts.js +3 -0
  132. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  133. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  134. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  135. package/dist/collection/ui-components/form/form-control-file-v2.js +2 -1
  136. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  137. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  138. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  139. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  140. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  141. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  142. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  143. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  144. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  145. package/dist/docs.json +428 -36
  146. package/dist/esm/{Analytics-759c7da5.js → Analytics-d0f79dc3.js} +1 -1
  147. package/dist/esm/{Checkout-919eb1ba.js → Checkout-2bc873fb.js} +6 -1
  148. package/dist/esm/{SubAccount-9aad3891.js → SubAccount-f31bdeb4.js} +69 -1
  149. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  150. package/dist/esm/{badge-2eb79416.js → badge-7768a2b1.js} +1 -1
  151. package/dist/esm/bank-account-document-form-inputs_4.entry.js +7 -7
  152. package/dist/esm/bank-account-form_9.entry.js +4 -4
  153. package/dist/esm/billing-form_3.entry.js +6 -6
  154. package/dist/esm/business-details-core.entry.js +3 -3
  155. package/dist/esm/{button-cc455199.js → button-b3d07089.js} +1 -1
  156. package/dist/esm/{check-pkg-version-1d6e48c8.js → check-pkg-version-2e9f961e.js} +1 -1
  157. package/dist/esm/{checkout.service-bb45d248.js → checkout.service-020aaf97.js} +2 -2
  158. package/dist/esm/checkouts-list-core.entry.js +7 -7
  159. package/dist/esm/{checkouts-table-53981285.js → checkouts-table-974c57ba.js} +2 -2
  160. package/dist/esm/{custom-popper_4.entry.js → custom-popper.entry.js} +4 -140
  161. package/dist/esm/{dispute.service-9008b3b7.js → dispute.service-b234b5c7.js} +2 -2
  162. package/dist/esm/form-alert_5.entry.js +1 -1
  163. package/dist/esm/form-control-checkbox.entry.js +5 -5
  164. package/dist/esm/form-control-date.entry.js +4 -4
  165. package/dist/esm/{form-control-error-text-74c6b38a.js → form-control-error-text-923afdfa.js} +1 -1
  166. package/dist/esm/form-control-file-v2_2.entry.js +5 -4
  167. package/dist/esm/{form-control-help-text-76a4196e.js → form-control-help-text-c7bdd493.js} +1 -1
  168. package/dist/esm/form-control-monetary.entry.js +5 -5
  169. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  170. package/dist/esm/form-control-number.entry.js +5 -5
  171. package/dist/esm/form-control-radio.entry.js +3 -3
  172. package/dist/esm/form-control-select_3.entry.js +139 -0
  173. package/dist/esm/{get-payout-csv-8450b60d.js → get-payout-csv-9528b0a2.js} +2 -2
  174. package/dist/esm/{get-subaccounts-3af0844a.js → get-subaccounts-212c162d.js} +2 -2
  175. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  176. package/dist/esm/{header-1-797ca789.js → header-1-649109a3.js} +1 -1
  177. package/dist/esm/{header-3-544afa0b.js → header-3-ca7bb57b.js} +1 -1
  178. package/dist/esm/{insurance-state-307335d6.js → insurance-state-e3b48bb2.js} +1 -1
  179. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +5 -5
  180. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +4 -4
  181. package/dist/esm/justifi-additional-statement_8.entry.js +71 -108
  182. package/dist/esm/justifi-business-details.entry.js +5 -5
  183. package/dist/esm/justifi-business-form.entry.js +9 -9
  184. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  185. package/dist/esm/justifi-checkout-core.entry.js +6 -6
  186. package/dist/esm/justifi-checkout.entry.js +6 -6
  187. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
  188. package/dist/esm/justifi-checkouts-list.entry.js +10 -10
  189. package/dist/esm/justifi-details.entry.js +2 -2
  190. package/dist/esm/justifi-dispute-management.entry.js +6 -6
  191. package/dist/esm/justifi-dispute-notification_3.entry.js +31 -24
  192. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  193. package/dist/esm/justifi-order-terminals.entry.js +115 -22
  194. package/dist/esm/justifi-owner-form_3.entry.js +2 -2
  195. package/dist/esm/justifi-payment-details.entry.js +8 -8
  196. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  197. package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
  198. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  199. package/dist/esm/justifi-payments-list.entry.js +11 -11
  200. package/dist/esm/justifi-payout-details.entry.js +8 -8
  201. package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
  202. package/dist/esm/justifi-payouts-list.entry.js +12 -12
  203. package/dist/esm/justifi-refund-form.entry.js +3 -3
  204. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
  205. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
  206. package/dist/esm/justifi-terminal-orders-list.entry.js +7 -5
  207. package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
  208. package/dist/esm/justifi-terminals-list.entry.js +12 -24
  209. package/dist/esm/justifi-tokenize-payment-method.entry.js +8 -8
  210. package/dist/esm/loader.js +1 -1
  211. package/dist/esm/{package-49477570.js → package-b9d805ae.js} +1 -1
  212. package/dist/esm/pagination-menu.entry.js +1 -1
  213. package/dist/esm/{parts-489f0af6.js → parts-18c966b1.js} +3 -1
  214. package/dist/esm/payment-details-core.entry.js +12 -12
  215. package/dist/esm/{payment.service-a8ee345c.js → payment.service-81752187.js} +2 -2
  216. package/dist/esm/payments-list-core.entry.js +9 -9
  217. package/dist/esm/{payments-status-35255b2c.js → payments-status-f451caf6.js} +1 -1
  218. package/dist/esm/{payments-table-6e97396a.js → payments-table-a7836555.js} +2 -2
  219. package/dist/esm/payout-details-core.entry.js +7 -7
  220. package/dist/esm/payouts-list-core.entry.js +9 -9
  221. package/dist/esm/{payouts-status-a0cc00c5.js → payouts-status-bfae9f42.js} +1 -1
  222. package/dist/esm/{payouts-table-6b8ba8f1.js → payouts-table-55f1a8a3.js} +2 -2
  223. package/dist/esm/{skeleton-74fbfb68.js → skeleton-ca37b248.js} +1 -1
  224. package/dist/esm/{spinner-6b708842.js → spinner-30abb9b0.js} +1 -1
  225. package/dist/esm/{table-e287f1c0.js → table-03e4dfc0.js} +2 -2
  226. package/dist/esm/table-filters-menu.entry.js +2 -2
  227. package/dist/esm/terminal-orders-list-core.entry.js +61 -8
  228. package/dist/esm/terminal-orders-table-a340c409.js +47 -0
  229. package/dist/esm/terminal-quantity-selector.entry.js +32 -0
  230. package/dist/esm/terminal.service-3c3f2c3f.js +28 -0
  231. package/dist/esm/terminals-list-core.entry.js +8 -8
  232. package/dist/esm/{terminals-table-c6258344.js → terminals-table-88549e54.js} +6 -4
  233. package/dist/esm/{utils-6c26bccc.js → utils-e7df4815.js} +1 -1
  234. package/dist/esm/webcomponents.js +1 -1
  235. package/dist/module/Checkout.js +6 -1
  236. package/dist/module/SubAccount.js +69 -1
  237. package/dist/module/additional-statement.js +9 -14
  238. package/dist/module/cancellation-policy.js +9 -14
  239. package/dist/module/custom-popper2.js +2 -2
  240. package/dist/module/customer-details.js +9 -14
  241. package/dist/module/dispute-notification.js +1 -1
  242. package/dist/module/dispute-response-core.js +22 -14
  243. package/dist/module/duplicate-charge.js +9 -14
  244. package/dist/module/electronic-evidence.js +9 -14
  245. package/dist/module/{dispute-response-form-types.js → file-input-handler.js} +23 -13
  246. package/dist/module/form-control-checkbox2.js +2 -2
  247. package/dist/module/form-control-date2.js +2 -2
  248. package/dist/module/form-control-file-v22.js +2 -1
  249. package/dist/module/form-control-file2.js +2 -2
  250. package/dist/module/form-control-monetary2.js +2 -2
  251. package/dist/module/form-control-number-masked2.js +2 -2
  252. package/dist/module/form-control-number.js +2 -2
  253. package/dist/module/form-control-radio2.js +2 -2
  254. package/dist/module/form-control-text2.js +2 -2
  255. package/dist/module/form-control-textarea2.js +2 -2
  256. package/dist/module/hidden-input2.js +1 -1
  257. package/dist/module/iframe-input2.js +3 -3
  258. package/dist/module/justifi-checkouts-list-filters.js +4 -4
  259. package/dist/module/justifi-order-terminals.js +134 -18
  260. package/dist/module/justifi-payments-list-filters.js +3 -3
  261. package/dist/module/justifi-payments-list.js +1 -1
  262. package/dist/module/justifi-payouts-list-filters.js +3 -3
  263. package/dist/module/justifi-payouts-list.js +1 -1
  264. package/dist/module/justifi-refund-form.js +1 -1
  265. package/dist/module/justifi-terminal-orders-list.js +1 -1
  266. package/dist/module/justifi-terminals-list-filters.js +2 -2
  267. package/dist/module/justifi-terminals-list.js +3 -16
  268. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  269. package/dist/module/package.js +1 -1
  270. package/dist/module/parts.js +3 -1
  271. package/dist/module/payment-details-core2.js +7 -7
  272. package/dist/module/payments-list-core2.js +1 -1
  273. package/dist/module/payout-details-core2.js +1 -1
  274. package/dist/module/payouts-list-core2.js +1 -1
  275. package/dist/module/product-or-service.js +17 -16
  276. package/dist/module/refund-policy.js +9 -14
  277. package/dist/module/shipping-details.js +9 -12
  278. package/dist/module/terminal-orders-list-core2.js +92 -7
  279. package/dist/module/terminal-quantity-selector.d.ts +11 -0
  280. package/dist/module/terminal-quantity-selector.js +6 -0
  281. package/dist/module/terminal-quantity-selector2.js +66 -0
  282. package/dist/module/terminal.service.js +28 -0
  283. package/dist/module/terminals-list-core2.js +5 -3
  284. package/dist/types/actions/terminal/get-terminal-models.d.ts +8 -0
  285. package/dist/types/api/Checkout.d.ts +4 -0
  286. package/dist/types/api/Terminal.d.ts +2 -0
  287. package/dist/types/api/TerminalModel.d.ts +31 -0
  288. package/dist/types/api/TerminalOrder.d.ts +53 -0
  289. package/dist/types/api/index.d.ts +2 -0
  290. package/dist/types/api/services/terminal.service.d.ts +2 -0
  291. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +3 -3
  292. package/dist/types/components/dispute-management/dispute-response/additional-statement.d.ts +4 -2
  293. package/dist/types/components/dispute-management/dispute-response/cancellation-policy.d.ts +4 -2
  294. package/dist/types/components/dispute-management/dispute-response/customer-details.d.ts +5 -2
  295. package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +5 -4
  296. package/dist/types/components/dispute-management/dispute-response/duplicate-charge.d.ts +4 -2
  297. package/dist/types/components/dispute-management/dispute-response/electronic-evidence.d.ts +4 -2
  298. package/dist/types/components/dispute-management/dispute-response/file-input-handler.d.ts +2 -0
  299. package/dist/types/components/dispute-management/dispute-response/product-or-service.d.ts +4 -2
  300. package/dist/types/components/dispute-management/dispute-response/refund-policy.d.ts +5 -2
  301. package/dist/types/components/dispute-management/dispute-response/shipping-details.d.ts +4 -1
  302. package/dist/types/components/order-terminals/order-terminals.d.ts +12 -2
  303. package/dist/types/components/terminal-orders-list/terminal-order-status.d.ts +2 -0
  304. package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +4 -3
  305. package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +16 -5
  306. package/dist/types/components/terminal-quantity-selector/terminal-quantity-selector-loading.d.ts +1 -0
  307. package/dist/types/components/terminal-quantity-selector/terminal-quantity-selector.d.ts +17 -0
  308. package/dist/types/components/terminals-list/terminals-table.d.ts +3 -1
  309. package/dist/types/components.d.ts +61 -4
  310. package/dist/types/global.d.ts +1 -0
  311. package/dist/types/styles/parts.d.ts +2 -0
  312. package/dist/webcomponents/{p-b57cfe54.entry.js → p-0a271654.entry.js} +1 -1
  313. package/dist/webcomponents/{p-553dba95.entry.js → p-0ef25316.entry.js} +1 -1
  314. package/dist/webcomponents/{p-1aa22806.js → p-0ef50c81.js} +1 -1
  315. package/dist/webcomponents/{p-d279545a.entry.js → p-0f85fde5.entry.js} +1 -1
  316. package/dist/webcomponents/{p-c2196cb8.entry.js → p-0faaae79.entry.js} +1 -1
  317. package/dist/webcomponents/{p-b2d57b2c.entry.js → p-121e9167.entry.js} +1 -1
  318. package/dist/webcomponents/p-140836f1.entry.js +1 -0
  319. package/dist/webcomponents/{p-4fbdf440.entry.js → p-1a9d60b1.entry.js} +1 -1
  320. package/dist/webcomponents/p-1d019dda.entry.js +1 -0
  321. package/dist/webcomponents/p-1e3cc191.entry.js +1 -0
  322. package/dist/webcomponents/p-1fcde0de.entry.js +1 -0
  323. package/dist/webcomponents/{p-8548edd6.entry.js → p-229c841e.entry.js} +1 -1
  324. package/dist/webcomponents/p-2481c1d3.entry.js +1 -0
  325. package/dist/webcomponents/{p-ebbe93ac.entry.js → p-29988e8f.entry.js} +1 -1
  326. package/dist/webcomponents/p-31507b3a.entry.js +1 -0
  327. package/dist/webcomponents/p-348fc9b1.js +1 -0
  328. package/dist/webcomponents/{p-794cce10.entry.js → p-36060c36.entry.js} +1 -1
  329. package/dist/webcomponents/{p-1278dedf.js → p-3744006f.js} +1 -1
  330. package/dist/webcomponents/{p-89ecfbf4.entry.js → p-4014d084.entry.js} +1 -1
  331. package/dist/webcomponents/p-418ab812.entry.js +1 -0
  332. package/dist/webcomponents/{p-fea43254.entry.js → p-420d6572.entry.js} +1 -1
  333. package/dist/webcomponents/{p-0b38cfbf.js → p-45bed1b7.js} +1 -1
  334. package/dist/webcomponents/{p-235abbd1.entry.js → p-49fc12b2.entry.js} +1 -1
  335. package/dist/webcomponents/{p-f7d9ea0b.entry.js → p-4a580682.entry.js} +1 -1
  336. package/dist/webcomponents/p-4bb0d6fd.js +1 -0
  337. package/dist/webcomponents/{p-ff1f2d65.js → p-4c4a2c48.js} +1 -1
  338. package/dist/webcomponents/p-4f9a2f1f.js +1 -0
  339. package/dist/webcomponents/{p-e3e0d791.entry.js → p-54502491.entry.js} +1 -1
  340. package/dist/webcomponents/{p-9a4d0e1d.entry.js → p-55a6599a.entry.js} +1 -1
  341. package/dist/webcomponents/{p-5a96a2a2.entry.js → p-566883fb.entry.js} +1 -1
  342. package/dist/webcomponents/{p-a90d8f4f.entry.js → p-57ddf983.entry.js} +1 -1
  343. package/dist/webcomponents/p-5bf5f7d7.entry.js +1 -0
  344. package/dist/webcomponents/p-5dc767d8.js +1 -0
  345. package/dist/webcomponents/{p-a31ba276.entry.js → p-6501cb6e.entry.js} +1 -1
  346. package/dist/webcomponents/{p-06f5b709.js → p-66cdd475.js} +1 -1
  347. package/dist/webcomponents/{p-bfe339d5.js → p-6776df16.js} +1 -1
  348. package/dist/webcomponents/{p-a6b66c88.entry.js → p-6815a6cb.entry.js} +1 -1
  349. package/dist/webcomponents/{p-dfebd7a4.js → p-69ae193c.js} +1 -1
  350. package/dist/webcomponents/{p-53b660a3.entry.js → p-76d1036b.entry.js} +1 -1
  351. package/dist/webcomponents/{p-8a7266b4.js → p-77245638.js} +1 -1
  352. package/dist/webcomponents/p-77e3ed67.js +1 -0
  353. package/dist/webcomponents/p-7d43c1d6.entry.js +1 -0
  354. package/dist/webcomponents/{p-e007002a.entry.js → p-7dc34297.entry.js} +1 -1
  355. package/dist/webcomponents/{p-3ab7a49e.entry.js → p-7e4c84f7.entry.js} +1 -1
  356. package/dist/webcomponents/{p-09496255.js → p-808f61aa.js} +1 -1
  357. package/dist/webcomponents/p-834c12a0.entry.js +1 -0
  358. package/dist/webcomponents/p-8548d8de.js +1 -0
  359. package/dist/webcomponents/{p-39a63e0c.entry.js → p-867e34b8.entry.js} +1 -1
  360. package/dist/webcomponents/p-8a3f1a56.entry.js +1 -0
  361. package/dist/webcomponents/p-8a9debac.entry.js +1 -0
  362. package/dist/webcomponents/p-8b3842ce.js +1 -0
  363. package/dist/webcomponents/{p-300a99ee.js → p-913d51b9.js} +1 -1
  364. package/dist/webcomponents/{p-906a6027.js → p-930e2e05.js} +1 -1
  365. package/dist/webcomponents/p-96a491aa.js +1 -0
  366. package/dist/webcomponents/{p-08a17c5c.entry.js → p-9a6eacd0.entry.js} +1 -1
  367. package/dist/webcomponents/{p-4a71c90b.entry.js → p-9d8cf927.entry.js} +1 -1
  368. package/dist/webcomponents/{p-14f40baa.js → p-9ffed802.js} +1 -1
  369. package/dist/webcomponents/{p-060896c4.entry.js → p-adf30888.entry.js} +1 -1
  370. package/dist/webcomponents/p-b0335a17.entry.js +1 -0
  371. package/dist/webcomponents/{p-939d0a35.entry.js → p-b075211e.entry.js} +1 -1
  372. package/dist/webcomponents/{p-8b16a20f.js → p-b40bcf59.js} +1 -1
  373. package/dist/webcomponents/p-b7a407fb.entry.js +1 -0
  374. package/dist/webcomponents/{p-d398ce81.js → p-b894423f.js} +1 -1
  375. package/dist/webcomponents/{p-acca56ec.entry.js → p-bc6e3e59.entry.js} +1 -1
  376. package/dist/webcomponents/p-bc73a554.entry.js +1 -0
  377. package/dist/webcomponents/{p-670296bf.entry.js → p-c17af2a4.entry.js} +1 -1
  378. package/dist/webcomponents/p-c1af1fdb.entry.js +1 -0
  379. package/dist/webcomponents/{p-df2559c7.js → p-ca19fd2e.js} +1 -1
  380. package/dist/webcomponents/p-ca55be58.js +1 -0
  381. package/dist/webcomponents/{p-3b680e50.js → p-d019b800.js} +1 -1
  382. package/dist/webcomponents/{p-020e7d5d.entry.js → p-d37d20ca.entry.js} +1 -1
  383. package/dist/webcomponents/p-d979d9ea.entry.js +1 -0
  384. package/dist/webcomponents/p-d981a599.entry.js +1 -0
  385. package/dist/webcomponents/{p-75b7dfe7.entry.js → p-da415c08.entry.js} +1 -1
  386. package/dist/webcomponents/{p-389e1eb7.js → p-daf0303f.js} +1 -1
  387. package/dist/webcomponents/{p-29688e30.js → p-dd535097.js} +1 -1
  388. package/dist/webcomponents/p-e0befd51.js +1 -0
  389. package/dist/webcomponents/{p-7ee5a90e.entry.js → p-e7d2eba7.entry.js} +1 -1
  390. package/dist/webcomponents/{p-fa843aad.entry.js → p-e895bc2a.entry.js} +1 -1
  391. package/dist/webcomponents/{p-ae271c06.entry.js → p-ec3f9d80.entry.js} +1 -1
  392. package/dist/webcomponents/{p-d432f0fd.entry.js → p-ee991c9e.entry.js} +1 -1
  393. package/dist/webcomponents/p-f1580c62.js +1 -0
  394. package/dist/webcomponents/{p-19063270.entry.js → p-f48dd1ef.entry.js} +1 -1
  395. package/dist/webcomponents/p-fe0399a1.js +1 -0
  396. package/dist/webcomponents/{p-56697a12.entry.js → p-fe439eb2.entry.js} +1 -1
  397. package/dist/webcomponents/p-fe8be5fa.entry.js +1 -0
  398. package/dist/webcomponents/p-ffbd95d0.entry.js +1 -0
  399. package/dist/webcomponents/webcomponents.esm.js +1 -1
  400. package/package.json +1 -1
  401. package/dist/cjs/terminal-orders-table-61081532.js +0 -18
  402. package/dist/esm/terminal-orders-table-765c44d5.js +0 -14
  403. package/dist/webcomponents/p-0f4d851d.entry.js +0 -1
  404. package/dist/webcomponents/p-1f4e26f3.entry.js +0 -1
  405. package/dist/webcomponents/p-27c72b92.entry.js +0 -1
  406. package/dist/webcomponents/p-29fbbc93.js +0 -1
  407. package/dist/webcomponents/p-2e0ae487.js +0 -1
  408. package/dist/webcomponents/p-2f9af679.js +0 -1
  409. package/dist/webcomponents/p-37b7b200.entry.js +0 -1
  410. package/dist/webcomponents/p-3d486f37.entry.js +0 -1
  411. package/dist/webcomponents/p-42a48c59.js +0 -1
  412. package/dist/webcomponents/p-49df4962.entry.js +0 -1
  413. package/dist/webcomponents/p-4b6256e0.entry.js +0 -1
  414. package/dist/webcomponents/p-595479da.entry.js +0 -1
  415. package/dist/webcomponents/p-66ae2a0e.entry.js +0 -1
  416. package/dist/webcomponents/p-78a204f9.entry.js +0 -1
  417. package/dist/webcomponents/p-7c541199.entry.js +0 -1
  418. package/dist/webcomponents/p-7d2538d9.entry.js +0 -1
  419. package/dist/webcomponents/p-9055aa6e.entry.js +0 -1
  420. package/dist/webcomponents/p-9cbbe9cb.entry.js +0 -1
  421. package/dist/webcomponents/p-9edd6ad8.js +0 -1
  422. package/dist/webcomponents/p-a0082e77.entry.js +0 -1
  423. package/dist/webcomponents/p-af945fc0.entry.js +0 -1
  424. package/dist/webcomponents/p-c4ca0038.js +0 -1
  425. package/dist/webcomponents/p-cba89310.entry.js +0 -1
  426. package/dist/webcomponents/p-cbe05f11.js +0 -1
  427. package/dist/webcomponents/p-d5c41ec6.js +0 -1
  428. package/dist/webcomponents/p-e8cd9691.js +0 -1
  429. package/dist/webcomponents/p-e9e80a62.js +0 -1
  430. package/dist/webcomponents/p-ec019b89.js +0 -1
  431. package/dist/webcomponents/p-fc3d2a9e.entry.js +0 -1
@@ -4,21 +4,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  require('./ComponentError-233ac749.js');
7
- require('./Checkout-1c07dc32.js');
7
+ require('./Checkout-eef27045.js');
8
8
  const Pagination = require('./Pagination-0da8f095.js');
9
9
  require('./Payment-c47ed1e1.js');
10
- require('./SubAccount-b4811a8e.js');
10
+ require('./SubAccount-f9069337.js');
11
11
  require('./Document-0b828345.js');
12
- const parts = require('./parts-c2655003.js');
13
- const table = require('./table-fc82fa81.js');
14
- const paymentsTable = require('./payments-table-c58e3ca8.js');
12
+ const parts = require('./parts-63f60e81.js');
13
+ const table = require('./table-ad35ff09.js');
14
+ const paymentsTable = require('./payments-table-dba2f145.js');
15
15
  const paymentsListParamsState = require('./payments-list-params-state-442d9944.js');
16
16
  const eventTypes = require('./event-types-b6d34593.js');
17
17
  require('./utils-337befa9.js');
18
18
  require('./Dispute-eb6bad54.js');
19
- require('./spinner-70f38e5e.js');
20
- require('./payments-status-92abe577.js');
21
- require('./badge-86a6a7f8.js');
19
+ require('./spinner-a95e9b8d.js');
20
+ require('./payments-status-b9192db7.js');
21
+ require('./badge-6abf6ed3.js');
22
22
  require('./index-d2d0b181.js');
23
23
 
24
24
  const PaymentsListCore = class {
@@ -106,7 +106,7 @@ const PaymentsListCore = class {
106
106
  return !this.showEmptyState && !this.showErrorState && !this.loading;
107
107
  }
108
108
  render() {
109
- return (index.h("div", { key: '6f153085c08ed8db1508964f360f879ec5310635' }, index.h("div", { key: 'ca4e487642561cbf859aa30f74dc1aae00d3642c', class: "table-wrapper" }, index.h("table", { key: '0982554e856be77813a087baa93835cd43c3b6e1', class: "table table-hover", part: parts.table }, index.h("thead", { key: 'e5eb661667dea89b13524676423758cf79d20765', class: "table-head sticky-top" }, index.h("tr", { key: '290dd81536e2b03f3020c72937a559aca0cef884', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), index.h("tbody", { key: 'bee3b0671e9d6f71a87d8b9f880a1630db2335ec', class: "table-body" }, index.h(table.TableLoadingState, { key: 'a9e4a373e3eadc449f4b040c1eec2e902cfe7fef', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '240af4b959cd5a55518c0fd6a025648291e63c29', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), index.h(table.TableErrorState, { key: 'd6e704fd8f9d6f1717537e45e0c3743e78df38be', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '889f70d9eb4f7e92e29735ba6a5ddb43d622a511', class: "sticky-bottom" }, index.h("tr", { key: '7f352e5ea2338b1209046bab5328580d1ef80e12', class: "table-light align-middle" }, index.h("td", { key: '310bf61ff6730cdc4a2fe83e4297b9f055981abc', part: parts.tableCell, colSpan: this.paymentsTable.columnData.length }, index.h("pagination-menu", { key: '66bcae57f189313b7596133c1a91e0cf43173fef', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
109
+ return (index.h("div", { key: '43aa1d53dc7c63eda036624d897d92670ff4dec7' }, index.h("div", { key: '84ac82efec3738e1a07bcf5fbfdf62426bacaad0', class: "table-wrapper" }, index.h("table", { key: '65e2ab73a63fa1d89b1b7fb0cd9809d951de657a', class: "table table-hover", part: parts.table }, index.h("thead", { key: '81ff867eb4b86905049e57c9c9ee331ad9a43f22', class: "table-head sticky-top" }, index.h("tr", { key: 'edecfccffc49b21f4d9d01396ab4d22dda6f853b', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), index.h("tbody", { key: '1df70e89ad33f83dbf18c6c5135bcda2753413a8', class: "table-body" }, index.h(table.TableLoadingState, { key: '23cfc404da1ccfada68146b83343e9ee348bac05', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '9929a89448678aa010ecfb43377c38f53b1896d2', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), index.h(table.TableErrorState, { key: '1734903104bb6c6e9b382661bc353731c5cf92aa', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '08277c1742a8ff36079a2fd4d4c3a31e628617dc', class: "sticky-bottom" }, index.h("tr", { key: '6012aa5a86f140007504d056f53eba3a21aacc40', class: "table-light align-middle" }, index.h("td", { key: 'e67d2f48a9d1002086a18ebd4ca00a5b22903c06', part: parts.tableCell, colSpan: this.paymentsTable.columnData.length }, index.h("pagination-menu", { key: 'afcfbab93aa8bb33d6aac50b11c803ebb3284bf1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
110
110
  }
111
111
  static get watchers() { return {
112
112
  "pagingParams": ["updateOnPropChange"],
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const badge = require('./badge-86a6a7f8.js');
4
+ const badge = require('./badge-6abf6ed3.js');
5
5
 
6
6
  const MapPaymentStatusToBadge = (status) => {
7
7
  const statusToBadgeProps = {
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const paymentsStatus = require('./payments-status-92abe577.js');
4
+ const paymentsStatus = require('./payments-status-b9192db7.js');
5
5
  const utils = require('./utils-337befa9.js');
6
- const parts = require('./parts-c2655003.js');
6
+ const parts = require('./parts-63f60e81.js');
7
7
 
8
8
  const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits';
9
9
  const paymentTableColumns = {
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const utils$1 = require('./utils-337befa9.js');
7
- const utils = require('./utils-7c5b2837.js');
8
- const button = require('./button-5f6c437f.js');
7
+ const utils = require('./utils-f752bd45.js');
8
+ const button = require('./button-aed2ce1a.js');
9
9
  const styledHost = require('./styled-host-94309bab.js');
10
- const payoutsStatus = require('./payouts-status-703d62af.js');
11
- const skeleton = require('./skeleton-84102a44.js');
12
- require('./parts-c2655003.js');
13
- require('./badge-86a6a7f8.js');
10
+ const payoutsStatus = require('./payouts-status-385a794d.js');
11
+ const skeleton = require('./skeleton-65afa2f5.js');
12
+ require('./parts-63f60e81.js');
13
+ require('./badge-6abf6ed3.js');
14
14
 
15
15
  const PayoutDetailsLoading = () => (index.h("div", { class: "row gap-3" },
16
16
  index.h("div", { class: "col-12" },
@@ -78,7 +78,7 @@ const PayoutDetailsCore = class {
78
78
  }
79
79
  render() {
80
80
  var _a;
81
- return (index.h(styledHost.StyledHost, { key: '9b5b45052e96231367e1289cfd693346dbde365b' }, this.loading && index.h(PayoutDetailsLoading, { key: '6326e96a39db801b0e61a061cba006f867f1d421' }), !this.loading && this.errorMessage && utils.ErrorState(this.errorMessage), !this.loading && this.payout && (index.h("justifi-details", { key: '68642bc936f28de32ac82dee91b6a044e1212399', "error-message": this.errorMessage }, index.h(utils.EntityHeadInfo, { key: 'ddaaffc9cf37c004cf08025e6767e4e6ebba9b03', slot: "head-info", badge: payoutsStatus.MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, index.h(utils.EntityHeadInfoItem, { key: '552b9fea31e5628a7c02aaa2fec84ea659acd8c0', classes: "border-1 border-end", title: "Updated At", value: `${utils$1.formatDate(this.payout.updated_at)} ${utils$1.formatTime(this.payout.updated_at)}` }), index.h(utils.EntityHeadInfoItem, { key: 'ed356c4b54e4c315c51ebaf381cc8c66f4246ed7', classes: "border-1 border-end", title: "Created At", value: `${utils$1.formatDate(this.payout.created_at)} ${utils$1.formatTime(this.payout.created_at)}` }), index.h(utils.EntityHeadInfoItem, { key: '1171f95890de260c20122b02bdf10ca43bc7bef1', title: "ID", value: this.payout.id }), index.h("div", { key: '9e823b2f42bf37e7fd0e4e8f5e87a2be5ab4db35', class: "m-4" }, index.h(button.Button, { key: 'dd4b750f7e9057b7f4845a4290d83c7cf89d7b43', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), index.h("div", { key: 'ef9384f15e0e10c2372d8af1c62fdf858d98d1a2', slot: 'detail-sections' }, index.h(utils.DetailSectionTitle, { key: '3abe895a6f65d2e26736cafd25a8656d5be1204d', sectionTitle: "Details" }), index.h("div", { key: '1be2f667564fa492a1fa3a44b8e67209a6617657', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: 'adb8c36a2b45d19ef95117d069f60758ea5ce6f0', title: "Date paid", value: utils$1.formatDate(this.payout.deposits_at) }), index.h(utils.DetailItem, { key: 'a6245623ff251316c4fd923bfb9b91fe94aa11b1', title: "Statement Description", value: this.payout.description }), index.h(utils.DetailItem, { key: '10db1599529d8f98d28c3ed1f3975539bbb8f88a', title: "Payout Method", value: this.payout.delivery_method }), index.h(utils.DetailItem, { key: '7e1438bcfb7b1f2aa820ace66874e56446ef400e', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), index.h(utils.DetailItem, { key: '4afa7801a1b1e92db8c8f57b53c0d7cdd38e0f61', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), index.h(utils.DetailSectionTitle, { key: '51cf02ed3894781f88770cdac746b31bb608dcad', sectionTitle: "Account" }), index.h("div", { key: '865ea1514254641acf1f96941c5c912947c5fe4f', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '2812906310435422b7bb08bbe8a36c1f95a2eac5', title: "ID", value: this.payout.account_id }), index.h(utils.DetailItem, { key: 'c25fef650a31522d3bc520d425f904bc002d3ecf', title: "Account Type", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: 'def9ed242797394aa21339866050bdf563ee7527', title: "Institution", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: '1542ffac52053eb8986d6fd2489d4ba6ab523c69', title: "Routing Number", value: this.payout.bank_account.routing_number }), index.h(utils.DetailItem, { key: '45a289202141a852e5e57eee4d0b3db35b09cc40', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), index.h(utils.DetailSectionTitle, { key: 'a9059130e4c5686d103f67a91510531af62eca5f', sectionTitle: 'Metadata' }), index.h("div", { key: '130ef2e82f48c8449346b56713580b975fc368cf', class: "d-table gap-2 w-100" }, index.h(utils.CodeBlock, { key: 'dc6fc83790f16416aa7c5b763d0ae040654f23cd', metadata: this.payout.metadata })))))));
81
+ return (index.h(styledHost.StyledHost, { key: '7d648508011ea664a85dcd3e83d45835d769f195' }, this.loading && index.h(PayoutDetailsLoading, { key: 'c5aa47291bd8a66174c0caf11d4043d5c8084183' }), !this.loading && this.errorMessage && utils.ErrorState(this.errorMessage), !this.loading && this.payout && (index.h("justifi-details", { key: 'bbb88f0e6895ab4e4a03fbcc2c33dd925ede8731', "error-message": this.errorMessage }, index.h(utils.EntityHeadInfo, { key: 'c8cc282e0e53bd605d47e30f38bc924cfb20b19e', slot: "head-info", badge: payoutsStatus.MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, index.h(utils.EntityHeadInfoItem, { key: 'ada8dc55c9ad5324cf406cd8118b5087542d9958', classes: "border-1 border-end", title: "Updated At", value: `${utils$1.formatDate(this.payout.updated_at)} ${utils$1.formatTime(this.payout.updated_at)}` }), index.h(utils.EntityHeadInfoItem, { key: 'f590cc91cd49709c8f47bfb2285d335f55153f44', classes: "border-1 border-end", title: "Created At", value: `${utils$1.formatDate(this.payout.created_at)} ${utils$1.formatTime(this.payout.created_at)}` }), index.h(utils.EntityHeadInfoItem, { key: '95d767d779203c9d78734d35933f5d1672ae6ec9', title: "ID", value: this.payout.id }), index.h("div", { key: '83a7e4dd33af9d5a62a1ec7e898d0c56c71e633a', class: "m-4" }, index.h(button.Button, { key: '0f622ebc090782a89d506d22b67f43177dbfda79', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), index.h("div", { key: '35300a91f58a9ce822323c03cbc139d35312bc3d', slot: 'detail-sections' }, index.h(utils.DetailSectionTitle, { key: '34db8325ff9e72e166e80e4f1e3cb98b6757f750', sectionTitle: "Details" }), index.h("div", { key: '7515ec409c0b31c530d072684694e3721ddb1562', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '544be85ea95c951c85ffd539a8ef73fc8a65f747', title: "Date paid", value: utils$1.formatDate(this.payout.deposits_at) }), index.h(utils.DetailItem, { key: 'ebc505407ae3e436143d3a10c59541bef5459488', title: "Statement Description", value: this.payout.description }), index.h(utils.DetailItem, { key: '3ae0229489cb9f287c3141e090b3cd260f98affd', title: "Payout Method", value: this.payout.delivery_method }), index.h(utils.DetailItem, { key: 'e11e04fc8e57d5036cfdcaf8a928886a6d1ac6bc', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), index.h(utils.DetailItem, { key: 'd98c8c10d875aa9ce4a561f1813188d8ec2fe88d', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), index.h(utils.DetailSectionTitle, { key: '65d1ea7d5ff2e25ac89b2de8a0fdf59850a3d4ed', sectionTitle: "Account" }), index.h("div", { key: '0d593cec0b5ddc1ed45880410fb91acb4a210e37', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '356dab04877a39166ad2cc68154c03125acb3f49', title: "ID", value: this.payout.account_id }), index.h(utils.DetailItem, { key: '2a4b60d5d695fd102f8ed8bc3ad8d61d47886c89', title: "Account Type", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: '1bd1c40fac3a0e409a7d6082c70f0695f0b850bc', title: "Institution", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: '9d08a53899f17c7fd7bdcab7a6e11f9b02ff9694', title: "Routing Number", value: this.payout.bank_account.routing_number }), index.h(utils.DetailItem, { key: 'e2e8487b4555ae6e9c6ff799150a6bef49eeb82a', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), index.h(utils.DetailSectionTitle, { key: '82408f25fc1700cb7c55afd7b0ef116ad43659c0', sectionTitle: 'Metadata' }), index.h("div", { key: '16c5967632b3a95bc8cbc787a2e8400319537184', class: "d-table gap-2 w-100" }, index.h(utils.CodeBlock, { key: 'e3b2041e7c2e76c8994754be30a885b92673b75d', metadata: this.payout.metadata })))))));
82
82
  }
83
83
  static get watchers() { return {
84
84
  "getPayout": ["getPayoutWatcher"]
@@ -4,21 +4,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const ComponentError = require('./ComponentError-233ac749.js');
7
- require('./Checkout-1c07dc32.js');
7
+ require('./Checkout-eef27045.js');
8
8
  const Pagination = require('./Pagination-0da8f095.js');
9
9
  require('./Payment-c47ed1e1.js');
10
- require('./SubAccount-b4811a8e.js');
10
+ require('./SubAccount-f9069337.js');
11
11
  require('./Document-0b828345.js');
12
- const parts = require('./parts-c2655003.js');
13
- const table = require('./table-fc82fa81.js');
14
- const payoutsTable = require('./payouts-table-70fc1498.js');
12
+ const parts = require('./parts-63f60e81.js');
13
+ const table = require('./table-ad35ff09.js');
14
+ const payoutsTable = require('./payouts-table-8cd537de.js');
15
15
  const payoutsListParamsState = require('./payouts-list-params-state-033b76d6.js');
16
16
  const eventTypes = require('./event-types-b6d34593.js');
17
17
  require('./utils-337befa9.js');
18
18
  require('./Dispute-eb6bad54.js');
19
- require('./spinner-70f38e5e.js');
20
- require('./payouts-status-703d62af.js');
21
- require('./badge-86a6a7f8.js');
19
+ require('./spinner-a95e9b8d.js');
20
+ require('./payouts-status-385a794d.js');
21
+ require('./badge-6abf6ed3.js');
22
22
  require('./index-d2d0b181.js');
23
23
 
24
24
  const PayoutsListCore = class {
@@ -159,7 +159,7 @@ const PayoutsListCore = class {
159
159
  return !this.showEmptyState && !this.showErrorState && !this.loading;
160
160
  }
161
161
  render() {
162
- return (index.h("div", { key: '2cc35b1a64da3e15a221eeb74b9de3ce011301e6' }, index.h("div", { key: '73e18029f462aeb03414574c76700b8c20748c0d', class: "table-wrapper", part: "table-wrapper" }, index.h("table", { key: '6af17bc77a5ac15503a4424ef8e9095da86ff667', class: "table table-hover", part: parts.table }, index.h("thead", { key: '6340d507a8a8bcef847c4054072b1f26d49c1cb8', class: "table-head sticky-top", part: "table-head" }, index.h("tr", { key: 'fd84224c2b62ebb26130057d57145baecc3f1f2b', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), index.h("tbody", { key: '4993ab0d133c3f03c42b17da22c16682f6b5ddc2', class: "table-body" }, index.h(table.TableLoadingState, { key: '580e94f393f1281a4f9f9890078073b31450fb25', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '88fa77ac3de65dcad0371d8746588d588964a2fe', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: 'ec374189d2faab1ea13388987ff977ae758cdd35', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '3543415cd5411bf599e0cfa06257b8ef19f1b652', class: "sticky-bottom" }, index.h("tr", { key: '8b7230df5006dfb3d3022422d391cd5cae48c5c7', class: "table-light align-middle" }, index.h("td", { key: '6a4ed06b9c933e09cb083b3e62e52bdf44a9678b', part: parts.tableCell, colSpan: this.payoutsTable.columnData.length }, index.h("pagination-menu", { key: 'f87d2e1fe590205f455f236ba5afc26533f44f4e', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
162
+ return (index.h("div", { key: 'b7befcaf0a42986dc821d97e371fb93920b16358' }, index.h("div", { key: 'c405055d05c2f1b5e622ab28fc9744962f1907a1', class: "table-wrapper", part: "table-wrapper" }, index.h("table", { key: 'db36400212d74c17e0aad133717475ce3b142308', class: "table table-hover", part: parts.table }, index.h("thead", { key: 'a3e208126c4d2c0ab2b6d9ef27f8c1410e029907', class: "table-head sticky-top", part: "table-head" }, index.h("tr", { key: '37f25650e0c03cf8985ec68211eefc0980dd5a92', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), index.h("tbody", { key: '7879e0b39a52ef735ff71960498e1405ff8f98b0', class: "table-body" }, index.h(table.TableLoadingState, { key: '91fdd3ed14d5c63ac8c536a5d8da05bb491d49a1', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '577748b2fa32b265a6a1afbad3460c4628d21ba6', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: '351848f6ee13c7be8735757ce3dcbcce18bb4fff', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '889ef01055c10f969d4d51f6d114bd3654a06ce3', class: "sticky-bottom" }, index.h("tr", { key: '6c49a3b386a64023d0701445e7589cced7f4f4df', class: "table-light align-middle" }, index.h("td", { key: '7782a9152e0d8037afb6528897a9358da204bfb7', part: parts.tableCell, colSpan: this.payoutsTable.columnData.length }, index.h("pagination-menu", { key: 'eac386f11674a29452831bdbe183bfefe4347389', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
163
163
  }
164
164
  static get watchers() { return {
165
165
  "pagingParams": ["updateOnPropChange"],
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const badge = require('./badge-86a6a7f8.js');
4
+ const badge = require('./badge-6abf6ed3.js');
5
5
 
6
6
  const MapPayoutStatusToBadge = (status) => {
7
7
  const statusToBadgeProps = {
@@ -2,8 +2,8 @@
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
4
  const utils = require('./utils-337befa9.js');
5
- const payoutsStatus = require('./payouts-status-703d62af.js');
6
- const parts = require('./parts-c2655003.js');
5
+ const payoutsStatus = require('./payouts-status-385a794d.js');
6
+ const parts = require('./parts-63f60e81.js');
7
7
 
8
8
  const defaultColumnsKeys = 'created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv';
9
9
  const payoutTableColumns = {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const parts = require('./parts-c2655003.js');
4
+ const parts = require('./parts-63f60e81.js');
5
5
 
6
6
  const Skeleton = ({ component = 'div', height, width, className, styles = {}, }) => {
7
7
  const combinedStyle = Object.assign(Object.assign({}, styles), { width,
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const parts = require('./parts-c2655003.js');
4
+ const parts = require('./parts-63f60e81.js');
5
5
 
6
6
  const Spinner = () => {
7
7
  return (index.h("div", { class: "d-flex justify-content-center" },
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const parts = require('./parts-c2655003.js');
5
- const spinner = require('./spinner-70f38e5e.js');
4
+ const parts = require('./parts-63f60e81.js');
5
+ const spinner = require('./spinner-a95e9b8d.js');
6
6
 
7
7
  const TableEmptyState = (props) => {
8
8
  const { columnSpan, isEmpty } = props;
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const button = require('./button-5f6c437f.js');
7
- const parts = require('./parts-c2655003.js');
6
+ const button = require('./button-aed2ce1a.js');
7
+ const parts = require('./parts-63f60e81.js');
8
8
 
9
9
  const hasFilters = (params) => {
10
10
  const paginationKeys = ['after_cursor', 'before_cursor'];
@@ -3,18 +3,71 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const table = require('./table-fc82fa81.js');
7
- const parts = require('./parts-c2655003.js');
6
+ const table = require('./table-ad35ff09.js');
7
+ const parts = require('./parts-63f60e81.js');
8
8
  require('./ComponentError-233ac749.js');
9
- require('./Checkout-1c07dc32.js');
9
+ require('./Checkout-eef27045.js');
10
10
  const Pagination = require('./Pagination-0da8f095.js');
11
11
  require('./Payment-c47ed1e1.js');
12
- require('./SubAccount-b4811a8e.js');
12
+ require('./SubAccount-f9069337.js');
13
13
  require('./Document-0b828345.js');
14
- const terminalOrdersTable = require('./terminal-orders-table-61081532.js');
15
- require('./spinner-70f38e5e.js');
14
+ const terminalOrdersTable = require('./terminal-orders-table-8baa5461.js');
15
+ require('./spinner-a95e9b8d.js');
16
16
  require('./utils-337befa9.js');
17
17
  require('./Dispute-eb6bad54.js');
18
+ require('./badge-6abf6ed3.js');
19
+
20
+ const id = null;
21
+ const type = "array";
22
+ const page_info = {
23
+ has_previous: false,
24
+ has_next: false,
25
+ start_cursor: "mockCursorPage1",
26
+ end_cursor: "mockCursorPage2",
27
+ amount: 2
28
+ };
29
+ const data = [
30
+ {
31
+ id: "tord_ABCD1234",
32
+ business_id: "biz_0987",
33
+ account_id: "acc_5678",
34
+ provider: "verifone",
35
+ order_type: "boarding_only",
36
+ order_status: "submitted",
37
+ terminals: [
38
+ {
39
+ terminal_id: "tmn_QWER",
40
+ terminal_did: "11112222",
41
+ model_name: "v400"
42
+ }
43
+ ],
44
+ created_at: "2025-01-02T10:30:00Z",
45
+ updated_at: "2025-01-02T10:45:00Z"
46
+ },
47
+ {
48
+ id: "tord_WXYZ5678",
49
+ business_id: "biz_1234",
50
+ account_id: "acc_4321",
51
+ provider: "verifone",
52
+ order_type: "boarding_shipping",
53
+ order_status: "completed",
54
+ terminals: [
55
+ {
56
+ terminal_id: "tmn_ASDF",
57
+ terminal_did: "33334444",
58
+ model_name: "e355"
59
+ }
60
+ ],
61
+ created_at: "2025-02-10T09:20:00Z",
62
+ updated_at: "2025-02-10T09:25:00Z"
63
+ }
64
+ ];
65
+ const mockTerminalOrders = {
66
+ id: id,
67
+ type: type,
68
+ page_info: page_info,
69
+ data: data
70
+ };
18
71
 
19
72
  const TerminalOrdersListCore = class {
20
73
  constructor(hostRef) {
@@ -34,7 +87,7 @@ const TerminalOrdersListCore = class {
34
87
  };
35
88
  this.getTerminalOrders = undefined;
36
89
  this.columns = undefined;
37
- this.terminalOrders = [];
90
+ this.terminalOrders = mockTerminalOrders.data;
38
91
  this.terminalOrdersTable = undefined;
39
92
  this.loading = true;
40
93
  this.errorMessage = undefined;
@@ -68,7 +121,7 @@ const TerminalOrdersListCore = class {
68
121
  return !this.showEmptyState && !this.showErrorState && !this.loading;
69
122
  }
70
123
  render() {
71
- return (index.h("div", { key: '0985e60932d09dafc25f5d98415a7dc0b56d64a8' }, index.h("div", { key: '390633346017eaced1704ea7b5c800aae0f9df57', class: "table-wrapper" }, index.h("table", { key: '56959798f3fab7ff46d410908f7cf0e889940a51', class: "table table-hover", part: parts.table }, index.h("thead", { key: '25fab5c7217777cd10ef8515ce5745748d8cdb22', class: "table-head sticky-top" }, index.h("tr", { key: '6c5606a186e0a3bacda194cd348d92798d63b9e4', class: "table-light text-nowrap" }, this.terminalOrdersTable.columnData.map((column) => column))), index.h("tbody", { key: 'cff51b485040873e6bde770269d4aa4a161c4c82', class: "table-body" }, index.h(table.TableLoadingState, { key: 'f38917eb02c8f537496b2465e5b64da302e8c19a', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '2f7ee4c2c1a9d37134df4a955f92a33ef2ac6ca3', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), index.h(table.TableErrorState, { key: 'c9bbb80471f1ad7ef04199949cfd0583852a5a26', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: 'c476e3245d5365d6facff461ea921c18c3001caf', class: "sticky-bottom" }, index.h("tr", { key: 'ae0d4344538d1f3ee7c2702c1475e730e1d25b8c', class: "table-light align-middle" }, index.h("td", { key: 'f5c8fa258bcc8d0853f9f419722d7e995f2a771b', part: parts.tableCell, colSpan: this.terminalOrdersTable.columnData.length }, index.h("pagination-menu", { key: '2e73c5c292533441692ed97ee065448426c43f85', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
124
+ return (index.h("div", { key: 'e07bb592d2d419079a00fe017789c98dc5814202' }, index.h("div", { key: '1090df8ad75e0fdcd07a625c608c2fc0d38391d9', class: "table-wrapper" }, index.h("table", { key: '31637db0926f2cd88d1333d5f512842406b1e0ef', class: "table table-hover", part: parts.table }, index.h("thead", { key: '2af2d35a486433b2cb2bab0b7d61d4be9e8d70ab', class: "table-head sticky-top" }, index.h("tr", { key: 'a42e578f3369b6466a331abeb34d63d9c09c0122', class: "table-light text-nowrap" }, this.terminalOrdersTable.columnData.map((column) => column))), index.h("tbody", { key: '16c4a9e940268fe2da49a9b14680d34a0f160ccc', class: "table-body" }, index.h(table.TableLoadingState, { key: 'a1ce6dcc9799bdd215b5d686d05e3014e594d975', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '135df5499de4e17855643d8ce4ebeb7f71aa5e85', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), index.h(table.TableErrorState, { key: '00d2f0bc0bceb46178970c1eb0a0eb87c6fa6054', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '49ce37b7ea5e979c8d754d48b9c803a163623387', class: "sticky-bottom" }, index.h("tr", { key: 'b73f32023e01d82c3eb91120c7eae907a9367517', class: "table-light align-middle" }, index.h("td", { key: 'cae073d169507d459d60f150fecbaad287996c74', part: parts.tableCell, colSpan: this.terminalOrdersTable.columnData.length }, index.h("pagination-menu", { key: '9a9fa1cd2c520ee09814adf6d060d048bd77dcc1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
72
125
  }
73
126
  static get watchers() { return {
74
127
  "pagingParams": ["updateOnPropChange"],
@@ -0,0 +1,51 @@
1
+ 'use strict';
2
+
3
+ const index = require('./index-5b9a3b5f.js');
4
+ const parts = require('./parts-63f60e81.js');
5
+ const utils = require('./utils-337befa9.js');
6
+ const badge = require('./badge-6abf6ed3.js');
7
+
8
+ const MapTerminalOrderStatusToBadge = (status) => {
9
+ const statusToBadgeProps = {
10
+ submitted: {
11
+ variant: badge.BadgeVariant.PRIMARY,
12
+ title: 'This order is submitted',
13
+ text: 'Submitted',
14
+ },
15
+ completed: {
16
+ variant: badge.BadgeVariant.SUCCESS,
17
+ title: 'This order has been completed',
18
+ text: 'Completed',
19
+ }
20
+ };
21
+ const badgeProps = statusToBadgeProps[status];
22
+ return index.h(badge.Badge, Object.assign({}, badgeProps));
23
+ };
24
+
25
+ const defaultColumnsKeys = 'created_at,updated_at,order_status,quantity';
26
+ const terminalOrdersTableColumns = {
27
+ created_at: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The date and time the order was created" }, "Created At")),
28
+ updated_at: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The date and time the order was last updated" }, "Updated At")),
29
+ order_status: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The current status of the order" }, "Order Status")),
30
+ business_id: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The business ID associated with the order" }, "Business ID")),
31
+ provider: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The provider associated with the order" }, "Provider")),
32
+ order_type: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The type of order" }, "Order Type")),
33
+ quantity: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The number of terminals associated with the order" }, "Order Quantity")),
34
+ };
35
+ const terminalOrdersTableCells = {
36
+ created_at: (terminalOrder, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) },
37
+ index.h("div", { class: "fw-bold" }, utils.convertToLocal(terminalOrder.created_at, { showDisplayDate: true })),
38
+ index.h("div", { class: "fw-bold" }, utils.convertToLocal(terminalOrder.created_at, { showTime: true })))),
39
+ updated_at: (terminalOrder, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) },
40
+ index.h("div", { class: "fw-bold" }, utils.convertToLocal(terminalOrder.updated_at, { showDisplayDate: true })),
41
+ index.h("div", { class: "fw-bold" }, utils.convertToLocal(terminalOrder.updated_at, { showTime: true })))),
42
+ order_status: (terminalOrder, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, MapTerminalOrderStatusToBadge(terminalOrder.order_status))),
43
+ business_id: (terminalOrder, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminalOrder.business_id)),
44
+ provider: (terminalOrder, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminalOrder.provider)),
45
+ order_type: (terminalOrder, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminalOrder.order_type)),
46
+ quantity: (terminalOrder, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminalOrder.terminals.length)),
47
+ };
48
+
49
+ exports.defaultColumnsKeys = defaultColumnsKeys;
50
+ exports.terminalOrdersTableCells = terminalOrdersTableCells;
51
+ exports.terminalOrdersTableColumns = terminalOrdersTableColumns;
@@ -0,0 +1,36 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-5b9a3b5f.js');
6
+ const parts = require('./parts-63f60e81.js');
7
+
8
+ const TerminalQuantitySelector = class {
9
+ constructor(hostRef) {
10
+ index.registerInstance(this, hostRef);
11
+ this.selectedQuantityChange = index.createEvent(this, "selectedQuantityChange", 7);
12
+ this.removeUnit = () => {
13
+ if (this.selectedQuantity > 0) {
14
+ this.selectedQuantity--;
15
+ this.selectedQuantityChange.emit({ modelName: this.modelName, quantity: this.selectedQuantity });
16
+ }
17
+ };
18
+ this.addUnit = () => {
19
+ if (this.limit > 0) {
20
+ this.selectedQuantity++;
21
+ this.selectedQuantityChange.emit({ modelName: this.modelName, quantity: this.selectedQuantity });
22
+ }
23
+ };
24
+ this.modelName = undefined;
25
+ this.imageUrl = undefined;
26
+ this.description = undefined;
27
+ this.helpUrl = undefined;
28
+ this.limit = Infinity;
29
+ this.selectedQuantity = 0;
30
+ }
31
+ render() {
32
+ return (index.h("div", { key: 'a357a6bd3454287325a10d381d4587c39552e2a6', class: "rounded shadow-sm", part: parts.text }, index.h("div", { key: '9e34e99cf6f5cefd4ef28c0fb98ad163d331c5d8', class: "d-flex gap-3" }, index.h("div", { key: '2dad93d7ad2cdecfd0848862bfc6a30bf0900ae6', class: "d-flex align-items-center" }, index.h("img", { key: '91929adc5f870eb024226a90d699ae68705f80ec', src: this.imageUrl, alt: this.modelName, height: 125, width: 125, part: parts.image })), index.h("div", { key: '2fdd8c22699c09830f20f39a86a1e306702dc435', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, index.h("div", { key: 'f25c1fbe3b6bc4cb2f262e7acce3232e3a726d7d', class: "row" }, index.h("div", { key: 'b18358391814b283ee5f9f4984301a3c44340986', class: "col-6 d-flex gap-2" }, this.modelName, index.h("form-control-tooltip", { key: '2c2dc0b58140144b63be06ad273b9567ca107d9a', helpText: this.description })), index.h("div", { key: '7b20f58d55f9413d04185df7ecc04ebe37a3854e', class: "col-6 d-flex justify-content-end align-items-center" }, index.h("button", { key: '27d472613a8146985bfb2f7f9149ac97d71039a5', class: "p-0 minus btn", onClick: this.removeUnit, part: parts.buttonLink }, "-"), index.h("div", { key: '45136a5b9dcb7aeeb58407f51fbb76c0f924ff93', class: "w-25 text-center" }, this.selectedQuantity), index.h("button", { key: 'e07c48829ebe9106d4a26e9a17728ecef01574b6', class: "p-0 plus btn", onClick: this.addUnit, part: parts.buttonLink }, "+")))))));
33
+ }
34
+ };
35
+
36
+ exports.terminal_quantity_selector = TerminalQuantitySelector;
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ const Api = require('./Api-f5280a80.js');
4
+ require('./ComponentError-233ac749.js');
5
+ require('./Checkout-eef27045.js');
6
+ require('./Pagination-0da8f095.js');
7
+ require('./Payment-c47ed1e1.js');
8
+ require('./SubAccount-f9069337.js');
9
+ require('./Document-0b828345.js');
10
+
11
+ class TerminalService {
12
+ async fetchTerminals(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
13
+ const headers = { Account: accountId };
14
+ const api = Api.Api({ authToken, apiOrigin });
15
+ const endpoint = 'terminals';
16
+ return api.get(endpoint, params, null, headers);
17
+ }
18
+ async fetchTerminal(terminalId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
19
+ const endpoint = `terminals/${terminalId}`;
20
+ return Api.Api({ authToken, apiOrigin: apiOrigin }).get(endpoint);
21
+ }
22
+ async fetchTerminalModels(accountId, authToken, apiOrigin = "") {
23
+ const headers = { 'sub-account': accountId };
24
+ const api = Api.Api({ authToken, apiOrigin });
25
+ const endpoint = 'terminals/order_models';
26
+ return api.get(endpoint, null, null, headers);
27
+ }
28
+ }
29
+
30
+ exports.TerminalService = TerminalService;
@@ -4,20 +4,20 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  require('./ComponentError-233ac749.js');
7
- require('./Checkout-1c07dc32.js');
7
+ require('./Checkout-eef27045.js');
8
8
  const Pagination = require('./Pagination-0da8f095.js');
9
9
  require('./Payment-c47ed1e1.js');
10
- require('./SubAccount-b4811a8e.js');
10
+ require('./SubAccount-f9069337.js');
11
11
  require('./Document-0b828345.js');
12
- const parts = require('./parts-c2655003.js');
13
- const table = require('./table-fc82fa81.js');
14
- const terminalsTable = require('./terminals-table-db58a0c0.js');
12
+ const parts = require('./parts-63f60e81.js');
13
+ const table = require('./table-ad35ff09.js');
14
+ const terminalsTable = require('./terminals-table-c4c01dc3.js');
15
15
  const terminalsListParamsState = require('./terminals-list-params-state-236f06f6.js');
16
16
  const eventTypes = require('./event-types-b6d34593.js');
17
17
  require('./utils-337befa9.js');
18
18
  require('./Dispute-eb6bad54.js');
19
- require('./spinner-70f38e5e.js');
20
- require('./badge-86a6a7f8.js');
19
+ require('./spinner-a95e9b8d.js');
20
+ require('./badge-6abf6ed3.js');
21
21
  require('./index-d2d0b181.js');
22
22
 
23
23
  const TerminalsListCore = class {
@@ -141,7 +141,7 @@ const TerminalsListCore = class {
141
141
  return !this.showEmptyState && !this.showErrorState && !this.loading;
142
142
  }
143
143
  render() {
144
- return (index.h("div", { key: '074b9925b7092b69d4073b86e926bc6e627ba8cd' }, index.h("div", { key: '195acd38db8ecc931e86e517a5e626ced44ce66f', class: "table-wrapper" }, index.h("table", { key: '6534aba9b68490de5a7bd03d9760021db02e3f61', class: "table table-hover", part: parts.table }, index.h("thead", { key: 'bf8dc807e1b31ed1e8040f952b5bfc3cfa77116d', class: "table-head sticky-top" }, index.h("tr", { key: 'b6828dbb38504d1f410f4c1199ea12d03b66292a', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), index.h("tbody", { key: '2080463e7f6ac9995b30e38e52f1650f75983dab', class: "table-body" }, index.h(table.TableLoadingState, { key: '36b61e1fb8c23dea61aa3a41b2749f80dbfb34bb', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: 'c2a11b7e3ebb37538522026854faf3f10e405271', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), index.h(table.TableErrorState, { key: 'a40dd753552ee8ad3fae2655a4e890e67a8c14f0', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '0af6b6aefe2160a36e773deabed1c6d006d0cde2', class: "sticky-bottom" }, index.h("tr", { key: '8576eee95c757c41d6b0a6838933e9c123f519d3', class: "table-light align-middle" }, index.h("td", { key: '87ca55905ecb734ddb059dce080256af6a7f1be1', part: parts.tableCell, colSpan: this.terminalsTable.columnData.length }, index.h("pagination-menu", { key: '08f29c2415998948e4dc020487fe10215bf10c3d', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
144
+ return (index.h("div", { key: 'd700224838a23855b9cce179c23d40da07fd37ce' }, index.h("div", { key: '0a03d361d4482342edc5db06209f87a83735791f', class: "table-wrapper" }, index.h("table", { key: '690d3b7ea58065281171e005252d4969f6284719', class: "table table-hover", part: parts.table }, index.h("thead", { key: 'c92fc6c7514afc995e0d4e148d715b69c96118cd', class: "table-head sticky-top" }, index.h("tr", { key: 'bfeff664d29eac8f52e12adf40841b74711e9de2', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), index.h("tbody", { key: '0e8c69e12b8a64020e1b10af92ce05f7e1864d28', class: "table-body" }, index.h(table.TableLoadingState, { key: '3fef62d6146938773a52c88f178438004d46f1eb', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: 'caec9eb5131fd8037e5cdccaf6c29d2f7f91ed7e', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), index.h(table.TableErrorState, { key: 'bd597887c2441bc070ff8ca9ec8d03564e62b9eb', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: 'ec61caec8ae1de6f106221f21827a89dfcad5b05', class: "sticky-bottom" }, index.h("tr", { key: 'e99c4133f365a7fefdc18d4a8bae9ac67b877fbd', class: "table-light align-middle" }, index.h("td", { key: 'ed22056d675baa32eef0bcc7fd2a4ae659d563aa', part: parts.tableCell, colSpan: this.terminalsTable.columnData.length }, index.h("pagination-menu", { key: '8dffd0065bb7d74b43d2a56a5c0356d84301e58b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
145
145
  }
146
146
  static get watchers() { return {
147
147
  "pagingParams": ["updateOnPropChange"],
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const badge = require('./badge-86a6a7f8.js');
5
- const parts = require('./parts-c2655003.js');
4
+ const badge = require('./badge-6abf6ed3.js');
5
+ const parts = require('./parts-63f60e81.js');
6
6
 
7
7
  const MapTerminalStatusToBadge = (status) => {
8
8
  const statusToBadgeProps = {
@@ -26,15 +26,17 @@ const MapTerminalStatusToBadge = (status) => {
26
26
  return index.h(badge.Badge, Object.assign({}, badgeProps));
27
27
  };
28
28
 
29
- const defaultColumnsKeys = 'nickname,provider_id,status';
29
+ const defaultColumnsKeys = 'nickname,provider_serial_number,status';
30
30
  const terminalTableColumns = {
31
31
  nickname: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
32
- provider_id: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The serial number / provider ID of the terminal" }, "Serial Number")),
32
+ provider_serial_number: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The serial number of the terminal" }, "Serial Number")),
33
+ provider_id: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The provider ID of the terminal" }, "Provider ID")),
33
34
  sub_account_name: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
34
35
  status: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The current status of each terminal" }, "Status")),
35
36
  };
36
37
  const terminalTableCells = {
37
38
  nickname: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminal.nickname)),
39
+ provider_serial_number: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminal.provider_serial_number)),
38
40
  provider_id: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminal.provider_id)),
39
41
  sub_account_name: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminal.sub_account_name)),
40
42
  status: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, MapTerminalStatusToBadge(terminal.status))),
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const parts = require('./parts-c2655003.js');
4
+ const parts = require('./parts-63f60e81.js');
5
5
 
6
6
  const ErrorState = (errorMessage) => (index.h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize: '1.2rem' } },
7
7
  index.h("p", { part: parts.text }, errorMessage)));