@justifi/webcomponents 5.3.1 → 5.3.3

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 (599) hide show
  1. package/dist/cjs/{check-pkg-version-526a9ce5.js → Analytics-f448aa27.js} +8 -23
  2. package/dist/cjs/{Api-089e7501.js → Api-f5280a80.js} +0 -13
  3. package/dist/cjs/{Business-cfd6a2dd.js → Business-d88b77fd.js} +6 -2
  4. package/dist/cjs/{Checkout-0f1c8abe.js → Checkout-1c07dc32.js} +14 -7
  5. package/dist/cjs/{SubAccount-509ebf93.js → SubAccount-b4811a8e.js} +6 -9
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  7. package/dist/cjs/{badge-ccfe03bf.js → badge-86a6a7f8.js} +1 -1
  8. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -9
  9. package/dist/cjs/bank-account-form_9.cjs.entry.js +78 -5
  10. package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
  11. package/dist/cjs/{business-additional-questions-schema-2f66f025.js → business-additional-questions-schema-5c100f58.js} +1 -1
  12. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  13. package/dist/cjs/{business-form-options-4bcb8943.js → business-form-options-62e9c8ab.js} +1 -1
  14. package/dist/cjs/{business-identity-schema-be495474.js → business-identity-schema-3b4d16f1.js} +1 -1
  15. package/dist/cjs/{business.service-33d7c7f2.js → business.service-6b05ee96.js} +8 -8
  16. package/dist/cjs/{button-8b634147.js → button-5f6c437f.js} +1 -1
  17. package/dist/cjs/check-pkg-version-d75dc147.js +24 -0
  18. package/dist/cjs/{checkout.service-d9047ddb.js → checkout.service-aa037531.js} +6 -6
  19. package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -15
  20. package/dist/cjs/checkouts-list-params-state-644d3639.js +22 -0
  21. package/dist/cjs/{checkouts-table-efa1cbab.js → checkouts-table-cf3e245e.js} +2 -2
  22. package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
  23. package/dist/cjs/{dispute.service-739631c7.js → dispute.service-27dcd7f4.js} +7 -7
  24. package/dist/cjs/event-types-b6d34593.js +8 -0
  25. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  26. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  27. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  28. package/dist/cjs/{form-control-error-text-46a7f2dd.js → form-control-error-text-9905e3b8.js} +1 -1
  29. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
  30. package/dist/cjs/{form-control-help-text-98c882e3.js → form-control-help-text-8d031bfb.js} +1 -1
  31. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  32. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  33. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  34. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  35. package/dist/cjs/get-business-0bd063d2.js +34 -0
  36. package/dist/cjs/{get-payout-csv-bdaff21b.js → get-payout-csv-7646128d.js} +6 -15
  37. package/dist/cjs/{get-subaccounts-2db9fc01.js → get-subaccounts-cc933b3e.js} +4 -7
  38. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  39. package/dist/cjs/{header-1-4c21f7ca.js → header-1-b202dbbb.js} +1 -1
  40. package/dist/cjs/{header-3-130206cc.js → header-3-5f78acd1.js} +1 -1
  41. package/dist/cjs/{insurance-state-21fde44f.js → insurance-state-ba0c39a9.js} +1 -1
  42. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +10 -10
  43. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -9
  44. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  45. package/dist/cjs/justifi-business-details.cjs.entry.js +13 -38
  46. package/dist/cjs/justifi-business-form.cjs.entry.js +17 -16
  47. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  48. package/dist/cjs/justifi-checkout-core.cjs.entry.js +6 -6
  49. package/dist/cjs/justifi-checkout.cjs.entry.js +11 -10
  50. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +32 -9
  51. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -13
  52. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  53. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  54. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -9
  55. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -14
  56. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -7
  57. package/dist/cjs/justifi-order-terminals.cjs.entry.js +102 -0
  58. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
  59. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -9
  60. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  61. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -6
  62. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -13
  64. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
  65. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +20 -3
  66. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -14
  67. package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -5
  68. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
  69. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
  70. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +41 -0
  71. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +27 -6
  72. package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -20
  73. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +23 -14
  74. package/dist/cjs/loader.cjs.js +1 -1
  75. package/dist/cjs/{package-45874555.js → package-a24ad889.js} +1 -1
  76. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  77. package/dist/cjs/{parts-b2ff8b68.js → parts-c2655003.js} +32 -1
  78. package/dist/cjs/payment-details-core.cjs.entry.js +12 -12
  79. package/dist/cjs/{payment.service-87924c1a.js → payment.service-65fbac72.js} +5 -8
  80. package/dist/cjs/payments-list-core.cjs.entry.js +17 -16
  81. package/dist/cjs/{payments-status-ec12ee6a.js → payments-status-92abe577.js} +1 -1
  82. package/dist/cjs/{payments-table-f3aa174d.js → payments-table-c58e3ca8.js} +2 -2
  83. package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
  84. package/dist/cjs/payouts-list-core.cjs.entry.js +22 -17
  85. package/dist/cjs/payouts-list-params-state-033b76d6.js +22 -0
  86. package/dist/cjs/{payouts-status-9f2e9a3a.js → payouts-status-703d62af.js} +1 -1
  87. package/dist/cjs/{payouts-table-4efa53fa.js → payouts-table-70fc1498.js} +3 -3
  88. package/dist/cjs/{schema-validations-cc4e6071.js → schema-validations-47a256f4.js} +2 -2
  89. package/dist/cjs/{skeleton-0353466d.js → skeleton-84102a44.js} +1 -1
  90. package/dist/cjs/{spinner-4fc60a51.js → spinner-70f38e5e.js} +1 -1
  91. package/dist/cjs/{event-types-34b103b4.js → table-fc82fa81.js} +2 -9
  92. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  93. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +80 -0
  94. package/dist/cjs/terminal-orders-table-61081532.js +18 -0
  95. package/dist/cjs/terminals-list-core.cjs.entry.js +16 -15
  96. package/dist/cjs/terminals-list-params-state-236f06f6.js +22 -0
  97. package/dist/cjs/{terminals-table-5e4bce93.js → terminals-table-db58a0c0.js} +3 -3
  98. package/dist/cjs/{utils-134dda01.js → utils-7c5b2837.js} +1 -1
  99. package/dist/cjs/webcomponents.cjs.js +1 -1
  100. package/dist/collection/{api → actions/sub-account}/get-subaccounts.js +2 -3
  101. package/dist/collection/api/Analytics.js +5 -0
  102. package/dist/collection/api/Business.js +6 -2
  103. package/dist/collection/api/Checkout.js +8 -1
  104. package/dist/collection/api/Payout.js +0 -3
  105. package/dist/collection/api/Terminal.js +6 -6
  106. package/dist/collection/api/services/analytics.service.js +1 -2
  107. package/dist/collection/api/services/business.service.js +7 -8
  108. package/dist/collection/api/services/checkout.service.js +4 -5
  109. package/dist/collection/api/services/dispute.service.js +4 -5
  110. package/dist/collection/api/services/insurance.service.js +2 -3
  111. package/dist/collection/api/services/payment.service.js +2 -6
  112. package/dist/collection/api/services/payout.service.js +3 -13
  113. package/dist/collection/api/services/provision.service.js +1 -2
  114. package/dist/collection/api/services/reports.service.js +1 -2
  115. package/dist/collection/api/services/subaccounts.service.js +1 -5
  116. package/dist/collection/api/services/terminal.service.js +2 -9
  117. package/dist/collection/collection-manifest.json +3 -0
  118. package/dist/collection/components/business-details/business-details.js +1 -1
  119. package/dist/collection/components/business-forms/business-form/business-form.js +1 -2
  120. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -3
  121. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -1
  122. package/dist/collection/components/checkout/bank-account-form/bank-account-form-skeleton.js +10 -0
  123. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +24 -1
  124. package/dist/collection/components/checkout/card-form/card-form-skeleton.js +10 -0
  125. package/dist/collection/components/checkout/card-form/card-form.js +26 -1
  126. package/dist/collection/components/checkout/checkout.js +5 -6
  127. package/dist/collection/components/checkouts-list/checkouts-list-core.js +7 -9
  128. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +75 -9
  129. package/dist/collection/components/checkouts-list/checkouts-list-params-state.js +11 -5
  130. package/dist/collection/components/checkouts-list/checkouts-list.js +5 -6
  131. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-management.js +4 -5
  133. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  134. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  135. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  136. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  137. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  138. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +3 -4
  139. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  140. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  144. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  145. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
  146. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +2 -2
  147. package/dist/collection/components/order-terminals/order-terminals-loading.js +6 -0
  148. package/dist/collection/components/order-terminals/order-terminals.js +139 -0
  149. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  150. package/dist/collection/components/payment-details/payment-details.js +1 -1
  151. package/dist/collection/components/payments-list/payments-list-core.js +7 -7
  152. package/dist/collection/components/payments-list/payments-list-filters.js +3 -3
  153. package/dist/collection/components/payments-list/payments-list.js +4 -5
  154. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  155. package/dist/collection/components/payout-details/payout-details.js +1 -1
  156. package/dist/collection/components/payouts-list/payouts-list-core.js +12 -10
  157. package/dist/collection/components/payouts-list/payouts-list-filters.js +58 -3
  158. package/dist/collection/components/payouts-list/payouts-list-params-state.js +11 -5
  159. package/dist/collection/components/payouts-list/payouts-list.js +5 -6
  160. package/dist/collection/components/payouts-list/payouts-table.js +1 -1
  161. package/dist/collection/components/refund-form/refund-form.js +2 -3
  162. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +141 -0
  163. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +113 -0
  164. package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -0
  165. package/dist/collection/components/terminals-list/terminals-list-core.js +7 -9
  166. package/dist/collection/components/terminals-list/terminals-list-filters.js +64 -6
  167. package/dist/collection/components/terminals-list/terminals-list-params-state.js +11 -5
  168. package/dist/collection/components/terminals-list/terminals-list.js +5 -6
  169. package/dist/collection/components/terminals-list/terminals-table.js +1 -1
  170. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +26 -21
  171. package/dist/collection/styles/parts.js +19 -0
  172. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  173. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  174. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  175. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  176. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  177. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  178. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  179. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  180. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  181. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  182. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  183. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  184. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  185. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  186. package/dist/collection/ui-components/form/iframe-input.js +23 -7
  187. package/dist/docs.json +537 -31
  188. package/dist/esm/{check-pkg-version-f91ed31f.js → Analytics-c083a998.js} +9 -23
  189. package/dist/esm/{Api-97801a4b.js → Api-391d00e2.js} +1 -13
  190. package/dist/esm/{Business-29c69f22.js → Business-0855931c.js} +6 -2
  191. package/dist/esm/{Checkout-8325c97a.js → Checkout-919eb1ba.js} +9 -2
  192. package/dist/esm/{ComponentError-3ce7f437.js → ComponentError-c61dce41.js} +1 -1
  193. package/dist/esm/{SubAccount-a73bf971.js → SubAccount-9aad3891.js} +7 -10
  194. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  195. package/dist/esm/{badge-938ba4b1.js → badge-2eb79416.js} +1 -1
  196. package/dist/esm/bank-account-document-form-inputs_4.entry.js +10 -10
  197. package/dist/esm/bank-account-form_9.entry.js +79 -6
  198. package/dist/esm/billing-form_3.entry.js +12 -12
  199. package/dist/esm/{business-additional-questions-schema-212a96ed.js → business-additional-questions-schema-df76728f.js} +1 -1
  200. package/dist/esm/business-details-core.entry.js +3 -3
  201. package/dist/esm/{business-form-options-018f62a5.js → business-form-options-86a13078.js} +1 -1
  202. package/dist/esm/{business-identity-schema-05bd2a5f.js → business-identity-schema-0a78fc59.js} +1 -1
  203. package/dist/esm/{business.service-45c7df3c.js → business.service-98709b1e.js} +8 -8
  204. package/dist/esm/{button-4b3f3934.js → button-cc455199.js} +1 -1
  205. package/dist/esm/check-pkg-version-6d475fed.js +22 -0
  206. package/dist/esm/{checkout.service-36e3355e.js → checkout.service-9330c18a.js} +7 -7
  207. package/dist/esm/checkouts-list-core.entry.js +16 -15
  208. package/dist/esm/checkouts-list-params-state-7bdf00bd.js +16 -0
  209. package/dist/esm/{checkouts-table-1634366d.js → checkouts-table-53981285.js} +2 -2
  210. package/dist/esm/custom-popper_4.entry.js +8 -8
  211. package/dist/esm/{dispute.service-9b9b87e5.js → dispute.service-a14ac172.js} +8 -8
  212. package/dist/esm/event-types-0a83d0b4.js +8 -0
  213. package/dist/esm/form-alert_5.entry.js +3 -3
  214. package/dist/esm/form-control-checkbox.entry.js +5 -5
  215. package/dist/esm/form-control-date.entry.js +4 -4
  216. package/dist/esm/{form-control-error-text-b3d14e92.js → form-control-error-text-74c6b38a.js} +1 -1
  217. package/dist/esm/form-control-file-v2_2.entry.js +4 -4
  218. package/dist/esm/{form-control-help-text-7b07fc37.js → form-control-help-text-76a4196e.js} +1 -1
  219. package/dist/esm/form-control-monetary.entry.js +5 -5
  220. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  221. package/dist/esm/form-control-number.entry.js +5 -5
  222. package/dist/esm/form-control-radio.entry.js +3 -3
  223. package/dist/esm/get-business-464419f6.js +32 -0
  224. package/dist/esm/{get-payout-csv-80210301.js → get-payout-csv-87cc2147.js} +8 -17
  225. package/dist/esm/{get-subaccounts-d3eeb85d.js → get-subaccounts-26454771.js} +6 -9
  226. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  227. package/dist/esm/{header-1-4db0c986.js → header-1-797ca789.js} +1 -1
  228. package/dist/esm/{header-3-fd150ccf.js → header-3-544afa0b.js} +1 -1
  229. package/dist/esm/{insurance-state-529e2d0d.js → insurance-state-307335d6.js} +1 -1
  230. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +11 -11
  231. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -12
  232. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  233. package/dist/esm/justifi-business-details.entry.js +11 -36
  234. package/dist/esm/justifi-business-form.entry.js +17 -16
  235. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  236. package/dist/esm/justifi-checkout-core.entry.js +7 -7
  237. package/dist/esm/justifi-checkout.entry.js +12 -11
  238. package/dist/esm/justifi-checkouts-list-filters.entry.js +32 -9
  239. package/dist/esm/justifi-checkouts-list.entry.js +15 -14
  240. package/dist/esm/justifi-details.entry.js +2 -2
  241. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  242. package/dist/esm/justifi-dispute-management.entry.js +11 -10
  243. package/dist/esm/justifi-dispute-notification_3.entry.js +16 -15
  244. package/dist/esm/justifi-gross-payment-chart.entry.js +9 -8
  245. package/dist/esm/justifi-order-terminals.entry.js +98 -0
  246. package/dist/esm/justifi-owner-form_3.entry.js +11 -11
  247. package/dist/esm/justifi-payment-details.entry.js +11 -10
  248. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  249. package/dist/esm/justifi-payment-provisioning.entry.js +9 -8
  250. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  251. package/dist/esm/justifi-payments-list.entry.js +15 -14
  252. package/dist/esm/justifi-payout-details.entry.js +11 -10
  253. package/dist/esm/justifi-payouts-list-filters.entry.js +20 -3
  254. package/dist/esm/justifi-payouts-list.entry.js +16 -15
  255. package/dist/esm/justifi-refund-form.entry.js +6 -6
  256. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
  257. package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -10
  258. package/dist/esm/justifi-terminal-orders-list.entry.js +37 -0
  259. package/dist/esm/justifi-terminals-list-filters.entry.js +27 -6
  260. package/dist/esm/justifi-terminals-list.entry.js +16 -21
  261. package/dist/esm/justifi-tokenize-payment-method.entry.js +23 -14
  262. package/dist/esm/loader.js +1 -1
  263. package/dist/esm/{package-2b7c7bc0.js → package-13968013.js} +1 -1
  264. package/dist/esm/pagination-menu.entry.js +1 -1
  265. package/dist/esm/{parts-ab2bb4b5.js → parts-489f0af6.js} +21 -1
  266. package/dist/esm/payment-details-core.entry.js +12 -12
  267. package/dist/esm/{payment-provisioning-actions-726795a0.js → payment-provisioning-actions-beadac34.js} +2 -2
  268. package/dist/esm/{payment.service-c847c1f6.js → payment.service-35bbab8f.js} +6 -9
  269. package/dist/esm/payments-list-core.entry.js +17 -16
  270. package/dist/esm/{payments-status-abf1724b.js → payments-status-35255b2c.js} +1 -1
  271. package/dist/esm/{payments-table-88fbab49.js → payments-table-6e97396a.js} +2 -2
  272. package/dist/esm/payout-details-core.entry.js +7 -7
  273. package/dist/esm/payouts-list-core.entry.js +22 -17
  274. package/dist/esm/payouts-list-params-state-ebcee300.js +16 -0
  275. package/dist/esm/{payouts-status-d9987a8a.js → payouts-status-a0cc00c5.js} +1 -1
  276. package/dist/esm/{payouts-table-055d3633.js → payouts-table-6b8ba8f1.js} +3 -3
  277. package/dist/esm/{schema-validations-ccea6a06.js → schema-validations-b1aec6a0.js} +2 -2
  278. package/dist/esm/{skeleton-ee7c3b32.js → skeleton-74fbfb68.js} +1 -1
  279. package/dist/esm/{spinner-8ec6669a.js → spinner-6b708842.js} +1 -1
  280. package/dist/esm/{event-types-fd7a05d9.js → table-e287f1c0.js} +3 -10
  281. package/dist/esm/table-filters-menu.entry.js +3 -3
  282. package/dist/esm/terminal-orders-list-core.entry.js +76 -0
  283. package/dist/esm/terminal-orders-table-765c44d5.js +14 -0
  284. package/dist/esm/terminals-list-core.entry.js +16 -15
  285. package/dist/esm/terminals-list-params-state-e4b2ec23.js +16 -0
  286. package/dist/esm/{terminals-table-2963e65b.js → terminals-table-c6258344.js} +3 -3
  287. package/dist/esm/{utils-c2dc83b2.js → utils-6c26bccc.js} +1 -1
  288. package/dist/esm/{utils-b10dae27.js → utils-fd99b806.js} +1 -1
  289. package/dist/esm/webcomponents.js +1 -1
  290. package/dist/module/Analytics.js +82 -0
  291. package/dist/module/{config.js → Api.js} +1 -13
  292. package/dist/module/Business.js +6 -2
  293. package/dist/module/Checkout.js +9 -2
  294. package/dist/module/SubAccount.js +7 -10
  295. package/dist/module/additional-statement.js +1 -1
  296. package/dist/module/bank-account-form2.js +37 -2
  297. package/dist/module/business-terms-conditions-form-step.js +3 -3
  298. package/dist/module/business.service.js +8 -8
  299. package/dist/module/cancellation-policy.js +1 -1
  300. package/dist/module/card-form2.js +43 -2
  301. package/dist/module/check-pkg-version.js +1 -75
  302. package/dist/module/checkout.service.js +4 -4
  303. package/dist/module/checkouts-list-core2.js +9 -9
  304. package/dist/module/checkouts-list-params-state.js +11 -5
  305. package/dist/module/custom-popper2.js +2 -2
  306. package/dist/module/customer-details.js +1 -1
  307. package/dist/module/dispute-management-core.js +1 -1
  308. package/dist/module/dispute-notification.js +2 -2
  309. package/dist/module/dispute-response-actions.js +5 -5
  310. package/dist/module/dispute-response-core.js +2 -2
  311. package/dist/module/dispute-response.js +4 -4
  312. package/dist/module/duplicate-charge.js +1 -1
  313. package/dist/module/electronic-evidence.js +1 -1
  314. package/dist/module/event-types2.js +1 -55
  315. package/dist/module/form-control-checkbox2.js +2 -2
  316. package/dist/module/form-control-date2.js +2 -2
  317. package/dist/module/form-control-file-v22.js +1 -1
  318. package/dist/module/form-control-file2.js +2 -2
  319. package/dist/module/form-control-monetary2.js +2 -2
  320. package/dist/module/form-control-number-masked2.js +2 -2
  321. package/dist/module/form-control-number.js +2 -2
  322. package/dist/module/form-control-radio2.js +2 -2
  323. package/dist/module/form-control-select2.js +2 -2
  324. package/dist/module/form-control-text2.js +2 -2
  325. package/dist/module/form-control-textarea2.js +2 -2
  326. package/dist/module/get-business.js +32 -0
  327. package/dist/module/get-payout-csv.js +4 -13
  328. package/dist/module/get-subaccounts.js +2 -5
  329. package/dist/module/gross-payment-chart-core2.js +1 -1
  330. package/dist/module/hidden-input2.js +1 -1
  331. package/dist/module/iframe-input2.js +6 -7
  332. package/dist/module/justifi-business-details.js +4 -31
  333. package/dist/module/justifi-business-form.js +4 -3
  334. package/dist/module/justifi-checkout.js +5 -5
  335. package/dist/module/justifi-checkouts-list-filters.js +34 -10
  336. package/dist/module/justifi-checkouts-list.js +4 -4
  337. package/dist/module/justifi-dispute-management.js +4 -4
  338. package/dist/module/justifi-gross-payment-chart.js +4 -3
  339. package/dist/module/justifi-order-terminals.d.ts +11 -0
  340. package/dist/module/justifi-order-terminals.js +119 -0
  341. package/dist/module/justifi-payment-details.js +2 -1
  342. package/dist/module/justifi-payment-provisioning.js +4 -3
  343. package/dist/module/justifi-payments-list-filters.js +3 -3
  344. package/dist/module/justifi-payments-list.js +4 -4
  345. package/dist/module/justifi-payout-details.js +2 -1
  346. package/dist/module/justifi-payouts-list-filters.js +24 -4
  347. package/dist/module/justifi-payouts-list.js +4 -4
  348. package/dist/module/justifi-refund-form.js +3 -3
  349. package/dist/module/justifi-season-interruption-insurance.js +6 -5
  350. package/dist/module/justifi-terminal-orders-list.d.ts +11 -0
  351. package/dist/module/justifi-terminal-orders-list.js +73 -0
  352. package/dist/module/justifi-terminals-list-filters.js +29 -7
  353. package/dist/module/justifi-terminals-list.js +7 -12
  354. package/dist/module/justifi-tokenize-payment-method.js +16 -10
  355. package/dist/module/package.js +1 -1
  356. package/dist/module/parts.js +21 -1
  357. package/dist/module/payment-details-core2.js +7 -7
  358. package/dist/module/payment.service.js +3 -6
  359. package/dist/module/payments-list-core2.js +9 -8
  360. package/dist/module/payout-details-core2.js +1 -1
  361. package/dist/module/payouts-list-core2.js +15 -11
  362. package/dist/module/payouts-list-params-state.js +11 -5
  363. package/dist/module/product-or-service.js +1 -1
  364. package/dist/module/refund-policy.js +1 -1
  365. package/dist/module/schema-validations.js +1 -1
  366. package/dist/module/shipping-details.js +1 -1
  367. package/dist/module/table-filters-menu2.js +2 -2
  368. package/dist/module/table.js +55 -0
  369. package/dist/module/terminal-orders-list-core.d.ts +11 -0
  370. package/dist/module/terminal-orders-list-core.js +6 -0
  371. package/dist/module/terminal-orders-list-core2.js +117 -0
  372. package/dist/module/terminals-list-core2.js +10 -10
  373. package/dist/module/terminals-list-params-state.js +11 -5
  374. package/dist/types/api/Business.d.ts +4 -4
  375. package/dist/types/api/Checkout.d.ts +6 -1
  376. package/dist/types/api/Payout.d.ts +0 -1
  377. package/dist/types/api/Terminal.d.ts +6 -12
  378. package/dist/types/components/checkout/bank-account-form/bank-account-form-skeleton.d.ts +6 -0
  379. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +2 -0
  380. package/dist/types/components/checkout/card-form/card-form-skeleton.d.ts +6 -0
  381. package/dist/types/components/checkout/card-form/card-form.d.ts +2 -0
  382. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +1 -1
  383. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +5 -2
  384. package/dist/types/components/checkouts-list/checkouts-list-params-state.d.ts +4 -3
  385. package/dist/types/components/order-terminals/order-terminals-loading.d.ts +1 -0
  386. package/dist/types/components/order-terminals/order-terminals.d.ts +16 -0
  387. package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
  388. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -1
  389. package/dist/types/components/payouts-list/payouts-list-filters.d.ts +3 -0
  390. package/dist/types/components/payouts-list/payouts-list-params-state.d.ts +4 -3
  391. package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +25 -0
  392. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +11 -0
  393. package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +9 -0
  394. package/dist/types/components/terminals-list/terminals-list-core.d.ts +1 -1
  395. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +4 -1
  396. package/dist/types/components/terminals-list/terminals-list-params-state.d.ts +4 -3
  397. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -3
  398. package/dist/types/components.d.ts +125 -12
  399. package/dist/types/styles/parts.d.ts +14 -0
  400. package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
  401. package/dist/webcomponents/p-020e7d5d.entry.js +1 -0
  402. package/dist/webcomponents/{p-0f6ae5ea.entry.js → p-060896c4.entry.js} +1 -1
  403. package/dist/webcomponents/{p-298e290e.js → p-06f5b709.js} +1 -1
  404. package/dist/webcomponents/p-092515e0.js +1 -0
  405. package/dist/webcomponents/{p-94eba309.js → p-09496255.js} +1 -1
  406. package/dist/webcomponents/p-0b38cfbf.js +1 -0
  407. package/dist/webcomponents/p-0c768ac5.entry.js +1 -0
  408. package/dist/webcomponents/p-0e180654.js +1 -0
  409. package/dist/webcomponents/p-0f0c5556.entry.js +1 -0
  410. package/dist/webcomponents/{p-f19f9f61.js → p-1278dedf.js} +1 -1
  411. package/dist/webcomponents/p-15675401.entry.js +1 -0
  412. package/dist/webcomponents/p-185181a8.js +1 -0
  413. package/dist/webcomponents/{p-5bf4535a.entry.js → p-19063270.entry.js} +1 -1
  414. package/dist/webcomponents/p-1906c67d.entry.js +1 -0
  415. package/dist/webcomponents/p-1a2eea29.entry.js +1 -0
  416. package/dist/webcomponents/p-1f4e26f3.entry.js +1 -0
  417. package/dist/webcomponents/p-1f99a902.js +1 -0
  418. package/dist/webcomponents/{p-bada4783.entry.js → p-235abbd1.entry.js} +1 -1
  419. package/dist/webcomponents/p-245819b0.entry.js +1 -0
  420. package/dist/webcomponents/p-26864218.entry.js +1 -0
  421. package/dist/webcomponents/p-27c72b92.entry.js +1 -0
  422. package/dist/webcomponents/p-2e0ae487.js +1 -0
  423. package/dist/webcomponents/p-2f9af679.js +1 -0
  424. package/dist/webcomponents/{p-21431a04.js → p-300a99ee.js} +1 -1
  425. package/dist/webcomponents/p-309dc8aa.js +1 -0
  426. package/dist/webcomponents/p-32ca779f.js +1 -0
  427. package/dist/webcomponents/p-375b4d2c.entry.js +1 -0
  428. package/dist/webcomponents/p-37b7b200.entry.js +1 -0
  429. package/dist/webcomponents/p-389e1eb7.js +1 -0
  430. package/dist/webcomponents/p-3a7a2a64.entry.js +1 -0
  431. package/dist/webcomponents/p-3ab7a49e.entry.js +1 -0
  432. package/dist/webcomponents/{p-938993c7.js → p-3b680e50.js} +1 -1
  433. package/dist/webcomponents/p-3bb21097.entry.js +1 -0
  434. package/dist/webcomponents/p-3d486f37.entry.js +1 -0
  435. package/dist/webcomponents/p-42a48c59.js +1 -0
  436. package/dist/webcomponents/p-45bf8573.js +1 -0
  437. package/dist/webcomponents/p-49df4962.entry.js +1 -0
  438. package/dist/webcomponents/{p-ab1504b6.entry.js → p-4a71c90b.entry.js} +1 -1
  439. package/dist/webcomponents/{p-c5c03d88.js → p-4acf8ca2.js} +1 -1
  440. package/dist/webcomponents/p-4b6256e0.entry.js +1 -0
  441. package/dist/webcomponents/p-553dba95.entry.js +1 -0
  442. package/dist/webcomponents/p-595479da.entry.js +1 -0
  443. package/dist/webcomponents/p-5a96a2a2.entry.js +1 -0
  444. package/dist/webcomponents/{p-275f2154.js → p-5d1d2fd7.js} +1 -1
  445. package/dist/webcomponents/p-61b5417f.entry.js +1 -0
  446. package/dist/webcomponents/p-66ae2a0e.entry.js +1 -0
  447. package/dist/webcomponents/p-69242bad.entry.js +1 -0
  448. package/dist/webcomponents/p-73b98298.entry.js +1 -0
  449. package/dist/webcomponents/p-78a204f9.entry.js +1 -0
  450. package/dist/webcomponents/p-794cce10.entry.js +1 -0
  451. package/dist/webcomponents/{p-4c820f81.js → p-7bf21156.js} +1 -1
  452. package/dist/webcomponents/p-7c541199.entry.js +1 -0
  453. package/dist/webcomponents/p-7ee5a90e.entry.js +1 -0
  454. package/dist/webcomponents/p-87a7c3aa.js +1 -0
  455. package/dist/webcomponents/{p-8115b2f4.js → p-87f8c596.js} +1 -1
  456. package/dist/webcomponents/{p-5afefc50.entry.js → p-89ecfbf4.entry.js} +2 -2
  457. package/dist/webcomponents/{p-3e716e03.js → p-8a7266b4.js} +1 -1
  458. package/dist/webcomponents/{p-8f25f016.js → p-8b16a20f.js} +1 -1
  459. package/dist/webcomponents/p-8bedece0.entry.js +1 -0
  460. package/dist/webcomponents/{p-e63fdbca.js → p-906a6027.js} +1 -1
  461. package/dist/webcomponents/p-939d0a35.entry.js +1 -0
  462. package/dist/webcomponents/{p-de13f23c.js → p-95e55bb1.js} +1 -1
  463. package/dist/webcomponents/p-95fbb4b0.entry.js +1 -0
  464. package/dist/webcomponents/p-9a4d0e1d.entry.js +1 -0
  465. package/dist/webcomponents/{p-14c91ffd.js → p-9dd8685c.js} +1 -1
  466. package/dist/webcomponents/p-9edd6ad8.js +1 -0
  467. package/dist/webcomponents/p-a0082e77.entry.js +1 -0
  468. package/dist/webcomponents/{p-1820fd87.entry.js → p-a31ba276.entry.js} +1 -1
  469. package/dist/webcomponents/p-a90d8f4f.entry.js +1 -0
  470. package/dist/webcomponents/p-ab45511e.js +1 -0
  471. package/dist/webcomponents/p-b1aa7d2b.entry.js +1 -0
  472. package/dist/webcomponents/p-b2d57b2c.entry.js +1 -0
  473. package/dist/webcomponents/p-b7084adc.js +1 -0
  474. package/dist/webcomponents/{p-f2f2e20e.js → p-b84ee6d8.js} +1 -1
  475. package/dist/webcomponents/p-c4ca0038.js +1 -0
  476. package/dist/webcomponents/p-c78b5581.js +1 -0
  477. package/dist/webcomponents/{p-0ea387a2.js → p-c9b78275.js} +1 -1
  478. package/dist/webcomponents/p-cba89310.entry.js +1 -0
  479. package/dist/webcomponents/p-cbb6cc19.js +1 -0
  480. package/dist/webcomponents/p-cbe05f11.js +1 -0
  481. package/dist/webcomponents/p-cc552f59.entry.js +1 -0
  482. package/dist/webcomponents/p-d398ce81.js +1 -0
  483. package/dist/webcomponents/p-d432f0fd.entry.js +1 -0
  484. package/dist/webcomponents/{p-0277c1b2.js → p-d43a38a4.js} +1 -1
  485. package/dist/webcomponents/p-d5c41ec6.js +1 -0
  486. package/dist/webcomponents/{p-db37b175.entry.js → p-e007002a.entry.js} +1 -1
  487. package/dist/webcomponents/p-e15f749c.entry.js +1 -0
  488. package/dist/webcomponents/{p-d07c45e6.entry.js → p-e3e0d791.entry.js} +1 -1
  489. package/dist/webcomponents/p-e8cd9691.js +1 -0
  490. package/dist/webcomponents/{p-5baec916.entry.js → p-e8fc36c1.entry.js} +1 -1
  491. package/dist/webcomponents/p-e9e80a62.js +1 -0
  492. package/dist/webcomponents/{p-7542ebd6.entry.js → p-ea0f2446.entry.js} +1 -1
  493. package/dist/webcomponents/p-ebbe93ac.entry.js +1 -0
  494. package/dist/webcomponents/p-ec019b89.js +1 -0
  495. package/dist/webcomponents/p-edae0bb0.entry.js +1 -0
  496. package/dist/webcomponents/p-f162c569.entry.js +1 -0
  497. package/dist/webcomponents/p-f30cb232.js +1 -0
  498. package/dist/webcomponents/p-f4739d31.js +1 -0
  499. package/dist/webcomponents/{p-facada09.entry.js → p-f7d9ea0b.entry.js} +1 -1
  500. package/dist/webcomponents/{p-3e0f3d87.entry.js → p-fea43254.entry.js} +1 -1
  501. package/dist/webcomponents/webcomponents.esm.js +1 -1
  502. package/package.json +1 -1
  503. package/dist/cjs/checkouts-list-params-state-418c75a3.js +0 -14
  504. package/dist/cjs/payouts-list-params-state-16348184.js +0 -14
  505. package/dist/cjs/terminals-list-params-state-95ff6a64.js +0 -14
  506. package/dist/config.js +0 -11
  507. package/dist/esm/checkouts-list-params-state-1d968971.js +0 -10
  508. package/dist/esm/payouts-list-params-state-49618e7a.js +0 -10
  509. package/dist/esm/terminals-list-params-state-2c48d35f.js +0 -10
  510. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -11
  511. package/dist/webcomponents/p-00c32bb9.entry.js +0 -1
  512. package/dist/webcomponents/p-01d4e35a.js +0 -1
  513. package/dist/webcomponents/p-045d4ebf.entry.js +0 -1
  514. package/dist/webcomponents/p-08d87a52.entry.js +0 -1
  515. package/dist/webcomponents/p-0e68b7d6.entry.js +0 -1
  516. package/dist/webcomponents/p-131db5d1.entry.js +0 -1
  517. package/dist/webcomponents/p-1603fe4d.js +0 -1
  518. package/dist/webcomponents/p-16ba9bea.js +0 -1
  519. package/dist/webcomponents/p-189affee.entry.js +0 -1
  520. package/dist/webcomponents/p-18a7a9e6.entry.js +0 -1
  521. package/dist/webcomponents/p-1e8a1e01.entry.js +0 -1
  522. package/dist/webcomponents/p-2916bb62.entry.js +0 -1
  523. package/dist/webcomponents/p-2f94d478.entry.js +0 -1
  524. package/dist/webcomponents/p-31cbc05a.entry.js +0 -1
  525. package/dist/webcomponents/p-31e2d12c.entry.js +0 -1
  526. package/dist/webcomponents/p-35b00a0d.js +0 -1
  527. package/dist/webcomponents/p-40e23b13.js +0 -1
  528. package/dist/webcomponents/p-415deed1.entry.js +0 -1
  529. package/dist/webcomponents/p-44d2c762.entry.js +0 -1
  530. package/dist/webcomponents/p-47a3003c.entry.js +0 -1
  531. package/dist/webcomponents/p-4bad3621.js +0 -1
  532. package/dist/webcomponents/p-58f5e37b.entry.js +0 -1
  533. package/dist/webcomponents/p-5b72bab7.js +0 -1
  534. package/dist/webcomponents/p-62696f63.entry.js +0 -1
  535. package/dist/webcomponents/p-63caad6e.entry.js +0 -1
  536. package/dist/webcomponents/p-66b6c56b.js +0 -1
  537. package/dist/webcomponents/p-6d2c8be2.entry.js +0 -1
  538. package/dist/webcomponents/p-72992c97.entry.js +0 -1
  539. package/dist/webcomponents/p-72ff0d5f.entry.js +0 -1
  540. package/dist/webcomponents/p-74014392.entry.js +0 -1
  541. package/dist/webcomponents/p-778e9dd0.entry.js +0 -1
  542. package/dist/webcomponents/p-7b04f492.entry.js +0 -1
  543. package/dist/webcomponents/p-7bcec768.entry.js +0 -1
  544. package/dist/webcomponents/p-7c31ec70.js +0 -1
  545. package/dist/webcomponents/p-85b5eeb6.entry.js +0 -1
  546. package/dist/webcomponents/p-8815bf82.entry.js +0 -1
  547. package/dist/webcomponents/p-8da3667c.js +0 -1
  548. package/dist/webcomponents/p-9540d2f2.js +0 -1
  549. package/dist/webcomponents/p-960a8ec2.js +0 -1
  550. package/dist/webcomponents/p-98dad117.entry.js +0 -1
  551. package/dist/webcomponents/p-991df3a1.entry.js +0 -1
  552. package/dist/webcomponents/p-9ad6e792.entry.js +0 -1
  553. package/dist/webcomponents/p-9f773228.js +0 -1
  554. package/dist/webcomponents/p-a2076a0e.js +0 -1
  555. package/dist/webcomponents/p-aa02cf71.js +0 -1
  556. package/dist/webcomponents/p-ab254da1.entry.js +0 -1
  557. package/dist/webcomponents/p-af66f580.entry.js +0 -1
  558. package/dist/webcomponents/p-b15ad5df.js +0 -1
  559. package/dist/webcomponents/p-b2209632.entry.js +0 -1
  560. package/dist/webcomponents/p-b6e90400.entry.js +0 -1
  561. package/dist/webcomponents/p-ca361ef6.entry.js +0 -1
  562. package/dist/webcomponents/p-ccd91d8a.entry.js +0 -1
  563. package/dist/webcomponents/p-d0bde1cb.js +0 -1
  564. package/dist/webcomponents/p-d8c04275.js +0 -1
  565. package/dist/webcomponents/p-d91c46dc.js +0 -1
  566. package/dist/webcomponents/p-dd867d1f.js +0 -1
  567. package/dist/webcomponents/p-ddcd2ff7.entry.js +0 -1
  568. package/dist/webcomponents/p-e8c3c23f.js +0 -1
  569. package/dist/webcomponents/p-eae512f0.entry.js +0 -1
  570. package/dist/webcomponents/p-f0c0cbc8.entry.js +0 -1
  571. package/dist/webcomponents/p-f28ddbe8.entry.js +0 -1
  572. package/dist/webcomponents/p-f694e1c8.js +0 -1
  573. package/dist/webcomponents/p-fa2b405c.entry.js +0 -1
  574. package/dist/webcomponents/p-fdbcd486.js +0 -1
  575. /package/dist/collection/{components/business-details → actions/business}/get-business.js +0 -0
  576. /package/dist/collection/{components → actions}/checkout/checkout-actions.js +0 -0
  577. /package/dist/collection/{components/checkouts-list → actions/checkout}/get-checkouts.js +0 -0
  578. /package/dist/collection/{components/dispute-management → actions/dispute}/dispute-actions.js +0 -0
  579. /package/dist/collection/{components/gross-payment-chart → actions/gross-payment}/get-gross-payment-chart-data.js +0 -0
  580. /package/dist/collection/{components → actions}/insurance/insurance-actions.js +0 -0
  581. /package/dist/collection/{components/payment-details → actions/payment}/get-payment-details.js +0 -0
  582. /package/dist/collection/{components/payments-list → actions/payment}/get-payments.js +0 -0
  583. /package/dist/collection/{components/payout-details → actions/payout}/get-payout-details.js +0 -0
  584. /package/dist/collection/{components/payouts-list → actions/payout}/get-payouts.js +0 -0
  585. /package/dist/collection/{components/terminals-list → actions/terminal}/get-terminal-detail.js +0 -0
  586. /package/dist/collection/{components/terminals-list → actions/terminal}/get-terminals.js +0 -0
  587. /package/dist/types/{components/business-details → actions/business}/get-business.d.ts +0 -0
  588. /package/dist/types/{components → actions}/checkout/checkout-actions.d.ts +0 -0
  589. /package/dist/types/{components/checkouts-list → actions/checkout}/get-checkouts.d.ts +0 -0
  590. /package/dist/types/{components/dispute-management → actions/dispute}/dispute-actions.d.ts +0 -0
  591. /package/dist/types/{components/gross-payment-chart → actions/gross-payment}/get-gross-payment-chart-data.d.ts +0 -0
  592. /package/dist/types/{components → actions}/insurance/insurance-actions.d.ts +0 -0
  593. /package/dist/types/{components/payment-details → actions/payment}/get-payment-details.d.ts +0 -0
  594. /package/dist/types/{components/payments-list → actions/payment}/get-payments.d.ts +0 -0
  595. /package/dist/types/{components/payout-details → actions/payout}/get-payout-details.d.ts +0 -0
  596. /package/dist/types/{components/payouts-list → actions/payout}/get-payouts.d.ts +0 -0
  597. /package/dist/types/{api → actions/sub-account}/get-subaccounts.d.ts +0 -0
  598. /package/dist/types/{components/terminals-list → actions/terminal}/get-terminal-detail.d.ts +0 -0
  599. /package/dist/types/{components/terminals-list → actions/terminal}/get-terminals.d.ts +0 -0
@@ -1,14 +1,15 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { A as Api, c as config } from './config.js';
2
+ import { A as Api } from './Api.js';
3
3
  import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
4
4
  import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
5
5
  import { E as ErrorState } from './utils.js';
6
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
6
+ import { J as JustifiAnalytics } from './Analytics.js';
7
+ import { c as checkPkgVersion } from './check-pkg-version.js';
7
8
  import { d as defineCustomElement$2 } from './gross-payment-chart-core2.js';
8
9
 
9
10
  class ReportsService {
10
11
  async fetchGrossVolumeChartData(accountId, authToken) {
11
- const api = Api({ authToken: authToken, apiOrigin: config.proxyApiOrigin });
12
+ const api = Api({ authToken: authToken, apiOrigin: undefined });
12
13
  const endpoint = `account/${accountId}/reports/gross_volume`;
13
14
  return api.get(endpoint);
14
15
  }
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface JustifiOrderTerminals extends Components.JustifiOrderTerminals, HTMLElement {}
4
+ export const JustifiOrderTerminals: {
5
+ prototype: JustifiOrderTerminals;
6
+ new (): JustifiOrderTerminals;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,119 @@
1
+ import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import { t as text, a3 as heading4, a4 as listGroup, a5 as listGroupItem } from './parts.js';
3
+ import { S as StyledHost } from './styled-host.js';
4
+ import './details.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version.js';
6
+ import { J as JustifiAnalytics } from './Analytics.js';
7
+ import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
8
+ import { B as BusinessService } from './business.service.js';
9
+ import { E as ErrorState } from './utils.js';
10
+ import { a as Business } from './Business.js';
11
+ import { m as makeGetBusiness } from './get-business.js';
12
+ import { S as Skeleton } from './skeleton.js';
13
+
14
+ const FormBlock = () => (h("div", { class: "row gap-3" },
15
+ h("div", { class: "col-12" },
16
+ h(Skeleton, { width: "25%" })),
17
+ h("div", { class: "col-12" },
18
+ h(Skeleton, { width: "100%" })),
19
+ h("div", { class: "col-12 d-flex gap-3" },
20
+ h(Skeleton, { width: "50%" }),
21
+ h(Skeleton, { width: "50%" })),
22
+ h("div", { class: "col-12 d-flex gap-3" },
23
+ h(Skeleton, { width: "65%" }),
24
+ h(Skeleton, { width: "35%" }))));
25
+ const OrderTerminalsLoading = () => {
26
+ return (h("div", { class: "row gap-5" },
27
+ h("div", { class: "col-12" },
28
+ h(Skeleton, { width: "40%", height: "40px" })),
29
+ h(FormBlock, null),
30
+ h(FormBlock, null),
31
+ h(FormBlock, null)));
32
+ };
33
+
34
+ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals extends HTMLElement {
35
+ constructor() {
36
+ super();
37
+ this.__registerHost();
38
+ this.__attachShadow();
39
+ this.errorEvent = createEvent(this, "error-event", 7);
40
+ this.businessId = undefined;
41
+ this.authToken = undefined;
42
+ this.errorMessage = undefined;
43
+ this.isLoading = true;
44
+ this.business = undefined;
45
+ }
46
+ componentWillLoad() {
47
+ checkPkgVersion();
48
+ this.analytics = new JustifiAnalytics(this);
49
+ this.initializeGetBusiness();
50
+ }
51
+ initializeGetBusiness() {
52
+ if (!this.businessId || !this.authToken) {
53
+ this.errorMessage = 'Invalid business id or auth token';
54
+ this.errorEvent.emit({
55
+ errorCode: ComponentErrorCodes.MISSING_PROPS,
56
+ message: this.errorMessage,
57
+ severity: ComponentErrorSeverity.ERROR,
58
+ });
59
+ return;
60
+ }
61
+ const getBusiness = makeGetBusiness({
62
+ id: this.businessId,
63
+ authToken: this.authToken,
64
+ service: new BusinessService(),
65
+ });
66
+ getBusiness({
67
+ onSuccess: ({ business }) => {
68
+ this.business = new Business(business);
69
+ this.isLoading = false;
70
+ },
71
+ onError: ({ error, code, severity }) => {
72
+ this.errorMessage = error;
73
+ this.errorEvent.emit({
74
+ errorCode: code,
75
+ message: error,
76
+ severity,
77
+ });
78
+ this.isLoading = false;
79
+ }
80
+ });
81
+ }
82
+ render() {
83
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
84
+ return (h(StyledHost, { key: 'd5ac7406c2ec045832411cb7a7deecde13243a41' }, this.isLoading && h(OrderTerminalsLoading, { key: 'ec71fe4b766244bbf2c04714bca66b69f367ece5' }), !this.isLoading && this.errorMessage && ErrorState(this.errorMessage), !this.isLoading && !this.errorMessage && this.business && (h("div", { key: '6492a8df913cb3360153715192bd30d656df4968', class: "row gap-5 pt-5", part: text }, h("div", { key: '607b534001238efc4d226cb26d8f1c1288b5ac29', class: "row" }, h("div", { key: '55e7bae0aad2ae9ec9a28961269cd532a2e00922', class: "col-12" }, h("h2", { key: 'c4e01bd6e3a9e46cb15d8b72093dc9de2d463feb', part: heading4 }, "Business Information:"), h("p", { key: 'cd3c01f074c8d55b968e713ec4805a22f1ffc3ba' }, "Business Name: ", this.business.legal_name))), h("div", { key: '20062e4aa0cad46f002821972fec7ec1fc8be01e', class: "row" }, h("div", { key: '433a4a200edd564fa0d206378a706ad84aa2696e', class: "col-6" }, h("h2", { key: 'e4a4fc4c632ccb3b6b187ccb87fb5cce398e43ca', part: heading4 }, "Representative:"), h("ul", { key: '02449f299dddc9fee8544fed405acc436217a60b', class: "list-group", part: listGroup }, h("li", { key: 'a1eff4e8974b8fe57c206fb9c6ce30e89c79d702', class: "list-group-item", part: listGroupItem }, "Name: ", (_b = (_a = this.business) === null || _a === void 0 ? void 0 : _a.representative) === null || _b === void 0 ? void 0 :
85
+ _b.name), h("li", { key: '4e04f41d044b92560f401e6edbb1993b84fca7a6', class: "list-group-item", part: listGroupItem }, "Title: ", (_d = (_c = this.business) === null || _c === void 0 ? void 0 : _c.representative) === null || _d === void 0 ? void 0 :
86
+ _d.title), h("li", { key: 'b354a893098b9f26819ab34966a5e47226fd280b', class: "list-group-item", part: listGroupItem }, "Email: ", (_f = (_e = this.business) === null || _e === void 0 ? void 0 : _e.representative) === null || _f === void 0 ? void 0 :
87
+ _f.email), h("li", { key: 'd1d94089d4f7db78c64143820601b359a77ab09f', class: "list-group-item", part: listGroupItem }, "Phone: ", (_h = (_g = this.business) === null || _g === void 0 ? void 0 : _g.representative) === null || _h === void 0 ? void 0 :
88
+ _h.phone))), h("div", { key: '91ee402f8f7886c1750b8050433992cfd9964b02', class: "col-6" }, h("h2", { key: '143f76c17de7af724c325439767275efa7c8e903', part: heading4 }, "Shipping Address:"), h("ul", { key: 'dae75ec772c3971a9e690648e4e28b2eec22c638', class: "list-group", part: listGroup }, h("li", { key: '0d83cea35521361eee13912f1cb107bf7496abcc', class: "list-group-item", part: listGroupItem }, "Street: ", (_j = this.business.legal_address) === null || _j === void 0 ? void 0 :
89
+ _j.line1), h("li", { key: 'be4d3d8a0c61645ac4f622235f7ecf2f3ac8e097', class: "list-group-item", part: listGroupItem }, (_k = this.business.legal_address) === null || _k === void 0 ? void 0 : _k.line2), h("li", { key: '2572604b85008e401a835abdbf6c291c3191a9c7', class: "list-group-item", part: listGroupItem }, "Postal Code: ", (_l = this.business.legal_address) === null || _l === void 0 ? void 0 :
90
+ _l.postal_code), h("li", { key: 'e5fd5aa1d9b1bf78c75ca667b058629575be06d3', class: "list-group-item", part: listGroupItem }, "City: ", (_m = this.business.legal_address) === null || _m === void 0 ? void 0 :
91
+ _m.city), h("li", { key: '9acd18a7faed0ab283e110c616d9314410a93cee', class: "list-group-item", part: listGroupItem }, "State: ", (_o = this.business.legal_address) === null || _o === void 0 ? void 0 :
92
+ _o.state))))))));
93
+ }
94
+ }, [1, "justifi-order-terminals", {
95
+ "businessId": [1, "business-id"],
96
+ "authToken": [1, "auth-token"],
97
+ "errorMessage": [32],
98
+ "isLoading": [32],
99
+ "business": [32]
100
+ }]);
101
+ function defineCustomElement$1() {
102
+ if (typeof customElements === "undefined") {
103
+ return;
104
+ }
105
+ const components = ["justifi-order-terminals"];
106
+ components.forEach(tagName => { switch (tagName) {
107
+ case "justifi-order-terminals":
108
+ if (!customElements.get(tagName)) {
109
+ customElements.define(tagName, OrderTerminals);
110
+ }
111
+ break;
112
+ } });
113
+ }
114
+ defineCustomElement$1();
115
+
116
+ const JustifiOrderTerminals = OrderTerminals;
117
+ const defineCustomElement = defineCustomElement$1;
118
+
119
+ export { JustifiOrderTerminals, defineCustomElement };
@@ -8,7 +8,8 @@ import './SubAccount.js';
8
8
  import './Document.js';
9
9
  import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
10
10
  import { E as ErrorState } from './utils.js';
11
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
11
+ import { J as JustifiAnalytics } from './Analytics.js';
12
+ import { c as checkPkgVersion } from './check-pkg-version.js';
12
13
  import { d as defineCustomElement$3 } from './details.js';
13
14
  import { d as defineCustomElement$2 } from './payment-details-core2.js';
14
15
 
@@ -1,9 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
2
+ import { J as JustifiAnalytics } from './Analytics.js';
3
3
  import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
4
4
  import { m as makeGetBusiness, g as makePostProvisioning } from './payment-provisioning-actions.js';
5
5
  import { B as BusinessService } from './business.service.js';
6
- import { A as Api, c as config } from './config.js';
6
+ import { A as Api } from './Api.js';
7
+ import { c as checkPkgVersion } from './check-pkg-version.js';
7
8
  import { d as defineCustomElement$y } from './bank-account-document-inputs.js';
8
9
  import { d as defineCustomElement$x } from './bank-account-form-inputs2.js';
9
10
  import { d as defineCustomElement$w } from './business-documents-on-file2.js';
@@ -45,7 +46,7 @@ class ProvisionService {
45
46
  business_id: businessId,
46
47
  product_category: product,
47
48
  };
48
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
49
+ return Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
49
50
  }
50
51
  }
51
52
 
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { l as lodash } from './lodash.js';
3
3
  import { f as filterParams, p as propsParams, c as clearParams } from './payments-list-params-state.js';
4
- import { a1 as filterMenu, a2 as paymentIdPaymentsListFilterParam, a3 as terminalIdPaymentsListFilterParam, a4 as paymentStatusPaymentsListFilterParam, a5 as createdAfterPaymentsListFilterParam, a6 as createdBeforePaymentsListFilterParam } from './parts.js';
4
+ import { a6 as paymentsListFilterMenu, a7 as paymentIdPaymentsListFilterParam, a8 as terminalIdPaymentsListFilterParam, a9 as paymentStatusPaymentsListFilterParam, aa as createdAfterPaymentsListFilterParam, ab as createdBeforePaymentsListFilterParam } from './parts.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import './details.js';
7
7
  import { j as convertToUTC, h as convertToLocal } from './utils2.js';
@@ -59,8 +59,8 @@ const PaymentsListFilters = /*@__PURE__*/ proxyCustomElement(class PaymentsListF
59
59
  }
60
60
  render() {
61
61
  const filterMenuParams = Object.assign({}, filterParams);
62
- return (h(StyledHost, { key: '0ed766c07d1884c8be31d648c1258a3c13cc2bad' }, h("table-filters-menu", { key: '138ad8717e5b7c36549814eb2b8698111bb1b993', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '14f16a66adae6ad88429ca23cbd8c7465c3d0ed9', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '15e64e68179f9efb5a9354bb794d8989aa7d76f7', class: "p-2" }, h("form-control-text", { key: '7f825919f6904f1c8367d2039f5d441f38e492d9', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: 'a68d6dd57535f9f104aa2d8db153b4df48d83a65', class: "p-2" }, h("form-control-text", { key: '6cfbadec9bcabe92d1f2de95e6b64290f7a838ef', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '36d32e33c65e0793d5aa980df3a5f57c549ce8b3', class: "p-2" }, h("form-control-select", { key: '41194790a53ebaccdd83d95386180aabd76742f8', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '43639c4c930b0d13d6bc5a49275bcb8a6b9a2a5a', class: "p-2" }, h("form-control-date", { key: 'f6d5ae2d3694def7cfb39721d1a76a6e96007eb2', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
63
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '2c0587296cd94fbc480602ab853cb7179e948f62', class: "p-2" }, h("form-control-date", { key: 'b68302ce611cce52dd14c327fb25f6433b307d14', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
62
+ return (h(StyledHost, { key: 'fc2c0642fefbbd5e290e445bb652d4a6bf878855' }, h("table-filters-menu", { key: '0991a2c0ac9977236ad3ecae431b6ec572116452', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: 'fc74b64ab82764a35b9dc41ad6718537b3abe794', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '862104a2f6a1a1a383557674e8ddd530a9911d06', class: "p-2" }, h("form-control-text", { key: '59ca6de9b8bf3b0ea5dcba8ce03c8d56284fe389', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: 'e63dcf0e3ff092f10a42aef36dde96155cba1630', class: "p-2" }, h("form-control-text", { key: '96a2dcfcca5ae79d7a90b37fc75b79ec84947604', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: 'ba6dd2eab598382e10dd250805b393acfeac9567', class: "p-2" }, h("form-control-select", { key: '8d537d77bd56aca19fc1999fd64cf4b3cd92c51f', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '6c077d20829125817032eac487e0f8e9f86f5dcb', class: "p-2" }, h("form-control-date", { key: '97689bfe73b875a1355bc2ff114c554f15f61490', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
63
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: 'dcdaf5b0068795b46b19302c2bdd532947e8fc00', class: "p-2" }, h("form-control-date", { key: '991f8fc8e7f3af364db40f92e43d90cd40714e6d', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
64
64
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
65
65
  }
66
66
  }, [1, "justifi-payments-list-filters", {
@@ -7,8 +7,8 @@ import { b as Payment } from './Payment.js';
7
7
  import './SubAccount.js';
8
8
  import './Document.js';
9
9
  import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
10
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
11
- import { c as config } from './config.js';
10
+ import { J as JustifiAnalytics } from './Analytics.js';
11
+ import { c as checkPkgVersion } from './check-pkg-version.js';
12
12
  import { S as StyledHost } from './styled-host.js';
13
13
  import './details.js';
14
14
  import { d as defineCustomElement$2, a as defaultColumnsKeys } from './payments-list-core2.js';
@@ -60,7 +60,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
60
60
  this.errorMessage = null;
61
61
  this.accountId = undefined;
62
62
  this.authToken = undefined;
63
- this.apiOrigin = config.proxyApiOrigin;
63
+ this.apiOrigin = undefined;
64
64
  this.columns = defaultColumnsKeys;
65
65
  }
66
66
  componentWillLoad() {
@@ -93,7 +93,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
93
93
  }
94
94
  }
95
95
  render() {
96
- return (h(StyledHost, { key: '17c610d9339435e5aa7dc6735a0b4cde7e64753a' }, h("payments-list-core", { key: 'be8ddb8088e17c8966f32705f27c48a7f58fd3f1', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
96
+ return (h(StyledHost, { key: 'e03e05c3cb3c8dbaf0a5e982958345feccec1902' }, h("payments-list-core", { key: '05f2b38a6a854e2e08bdd559e7e8dfab2d80f398', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
97
97
  }
98
98
  static get watchers() { return {
99
99
  "accountId": ["propChanged"],
@@ -8,7 +8,8 @@ import { P as Payout } from './SubAccount.js';
8
8
  import './Document.js';
9
9
  import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
10
10
  import { E as ErrorState } from './utils.js';
11
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
11
+ import { J as JustifiAnalytics } from './Analytics.js';
12
+ import { c as checkPkgVersion } from './check-pkg-version.js';
12
13
  import { d as defineCustomElement$3 } from './details.js';
13
14
  import { d as defineCustomElement$2 } from './payout-details-core2.js';
14
15
 
@@ -1,5 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { q as queryParams, c as clearParams } from './payouts-list-params-state.js';
2
+ import { f as filterParams, p as propsParams, c as clearParams } from './payouts-list-params-state.js';
3
+ import { ac as payoutsListFilterMenu, ad as createdAfterPayoutsListFilterParam, ae as createdBeforePayoutsListFilterParam } from './parts.js';
3
4
  import { S as StyledHost } from './styled-host.js';
4
5
  import './details.js';
5
6
  import { j as convertToUTC, h as convertToLocal } from './utils2.js';
@@ -14,17 +15,36 @@ const PayoutsListFilters = /*@__PURE__*/ proxyCustomElement(class PayoutsListFil
14
15
  this.__registerHost();
15
16
  this.__attachShadow();
16
17
  this.setParamsOnChange = (name, value) => {
17
- queryParams[name] = value;
18
+ filterParams[name] = value;
18
19
  };
19
20
  this.handleDateInput = (name, value) => {
20
21
  const utcDate = convertToUTC(value, { setEndOfDay: true });
21
22
  this.setParamsOnChange(name, utcDate);
22
23
  };
24
+ this.createdAfter = undefined;
25
+ this.createdBefore = undefined;
26
+ }
27
+ componentWillLoad() {
28
+ const propsToSet = {
29
+ created_after: this.createdAfter,
30
+ created_before: this.createdBefore
31
+ };
32
+ Object.entries(propsToSet).forEach(([key, value]) => {
33
+ if (value) {
34
+ propsParams[key] = value;
35
+ }
36
+ });
23
37
  }
24
38
  render() {
25
- return (h(StyledHost, { key: 'f9ee0c87b7b241ade995fc9bbec00fa6f38c4207' }, h("table-filters-menu", { key: '2811b3d4673191dd3e1f2e1546389841d6f3dec2', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: '6f0584fbaed4fd931da456ee7a68ad25843e84d3', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '60dba9253fa74815d2af5d9d6993d4941530da6d', class: "p-2" }, h("form-control-date", { key: '453826549a4f379eca9c4ffc9d57f18f078af347', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(queryParams.created_after, { showInputDate: true }) })), h("div", { key: '646566a69b9d4a82c24151e6773eaa381c1c4970', class: "p-2" }, h("form-control-date", { key: '14a62f94d8b27d88306ed58cbfcbb0b377e57587', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(queryParams.created_before, { showInputDate: true }) }))))));
39
+ const filterMenuParams = Object.assign({}, filterParams);
40
+ return (h(StyledHost, { key: '195227f14aa0fc371cc2ceb62089b26df8491525' }, h("table-filters-menu", { key: '86cc1b04b210cf0cd3fc422438b1cdfc7c0b4242', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: 'c75c167f849c5f0558bf7b0569f6f79083b858f0', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '09d46810296de9dc272f66ce2bd3ba726ebc6386', class: "p-2" }, h("form-control-date", { key: '0bbd9294c788f2dada3e8630e32619e1730f7b40', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
41
+ convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: 'c238988bd2b31b0374e515713fc2c55f59d6f9ba', class: "p-2" }, h("form-control-date", { key: '188106d28d4ac201e48b45e3ce417f26621af46a', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
42
+ convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
26
43
  }
27
- }, [1, "justifi-payouts-list-filters"]);
44
+ }, [1, "justifi-payouts-list-filters", {
45
+ "createdAfter": [1, "created-after"],
46
+ "createdBefore": [1, "created-before"]
47
+ }]);
28
48
  function defineCustomElement$1() {
29
49
  if (typeof customElements === "undefined") {
30
50
  return;
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
3
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
4
- import { c as config } from './config.js';
3
+ import { J as JustifiAnalytics } from './Analytics.js';
4
+ import { c as checkPkgVersion } from './check-pkg-version.js';
5
5
  import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv.js';
6
6
  import './Checkout.js';
7
7
  import './Pagination.js';
@@ -66,7 +66,7 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
66
66
  this.errorMessage = null;
67
67
  this.accountId = undefined;
68
68
  this.authToken = undefined;
69
- this.apiOrigin = config.proxyApiOrigin;
69
+ this.apiOrigin = undefined;
70
70
  this.columns = defaultColumnsKeys;
71
71
  }
72
72
  componentWillLoad() {
@@ -115,7 +115,7 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
115
115
  }
116
116
  }
117
117
  render() {
118
- return (h(StyledHost, { key: '7e8c3bf1df6c6cdffdc7205f84d4b451b331f6db', exportedparts: tableExportedParts }, h("payouts-list-core", { key: '9ba8af8a562107b8fdc5bece521187ab70b90669', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
118
+ return (h(StyledHost, { key: '259a62df9d161fc97d731ccc8488f556580f5378', exportedparts: tableExportedParts }, h("payouts-list-core", { key: '9733d459d09173f4b9dec953d9c763910ac54e1d', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
119
119
  }
120
120
  static get watchers() { return {
121
121
  "accountId": ["propChanged"],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, e as create$5, F as FormController } from './form.js';
3
- import { A as Api, c as config } from './config.js';
3
+ import { A as Api } from './Api.js';
4
4
  import './ComponentError.js';
5
5
  import './Checkout.js';
6
6
  import './Pagination.js';
@@ -96,11 +96,11 @@ const RefundForm = /*@__PURE__*/ proxyCustomElement(class RefundForm extends HTM
96
96
  if (!this.authToken) {
97
97
  console.warn('Warning: Missing auth-token.');
98
98
  }
99
- this.api = Api({ authToken: this.authToken, apiOrigin: config.proxyApiOrigin });
99
+ this.api = Api({ authToken: this.authToken, apiOrigin: undefined });
100
100
  }
101
101
  render() {
102
102
  var _a;
103
- return (h(StyledHost, { key: '21bb5742fac6f75a96b334e2806906e9d9d3a215' }, h("h1", { key: '74c81b6918611e8506bcec7ad28080437a435d35' }, "Refund"), this.refundInfoText && (h("div", { key: '1cd42cd6bf063fe52b35c9adeccbba366147a8a0', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '338b9ffd53bc98da86a0c96eceb4057c235cc524', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: 'e8335bcee9ce21198a2104913b5f084e897807d4', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '6efdd00f3a96bafb713e2d9f23a77a9cfd88dc21', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: '55680d454a42549b8c442f1897455cc6c0f4e973', class: "form-group" }, h("form-control-monetary", { key: 'c38894006ce18238f1fd7738feea4ca3c710930d', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: 'fe803d97c9b90bdb87fa99dd454859a365901688', class: "form-group" }, h("form-control-text", { key: '08a129a72043547fb57ee99a1b3326dbfb03b871', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '08ba9b480faf93f81d5f1396bc42469735fdf46d', class: "form-group d-flex flex-row-reverse" }, h("button", { key: 'a07f1a85156ef80e87e9d0b5e615c1c08eebd7d2', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
103
+ return (h(StyledHost, { key: '10aa3a31daedcb1bc4213abb3062b09745427370' }, h("h1", { key: '1b0b9c6a22dda364275f6da46e8e58015eb3378d' }, "Refund"), this.refundInfoText && (h("div", { key: '1d51f74c4e2c6419afe046a95f23f16f99209982', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '4d6b0140f2bd3666000df1374a2ab6573ce2a7ee', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: '1e740ebd882fd08df43d23919325f6556ac04b29', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '242bfd0f2a30be1fdaa477341e2d480108633551', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: '681a00fc41eb1701f8f189fa5139bf42ce43453f', class: "form-group" }, h("form-control-monetary", { key: '2f5a906d7a415391a339236d7e7e189db4febd95', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: '9f0f6b5c2f5010ba1c51757bf4667ced40615738', class: "form-group" }, h("form-control-text", { key: 'c4f9a4431224763820dacc404ea1b693630a7ede', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: 'df5d528c865684da0c7583114a7d02b6cb6d5a6e', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '05af832414b65d41760ca6d8b001a4affbf807c4', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
104
104
  }
105
105
  }, [1, "justifi-refund-form", {
106
106
  "authToken": [1, "auth-token"],
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { A as Api, c as config } from './config.js';
2
+ import { A as Api } from './Api.js';
3
3
  import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
4
4
  import './Checkout.js';
5
5
  import './Pagination.js';
@@ -7,7 +7,8 @@ import './Payment.js';
7
7
  import './SubAccount.js';
8
8
  import './Document.js';
9
9
  import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
10
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
10
+ import { J as JustifiAnalytics } from './Analytics.js';
11
+ import { c as checkPkgVersion } from './check-pkg-version.js';
11
12
  import { d as defineCustomElement$4 } from './form-control-help-text3.js';
12
13
  import { d as defineCustomElement$3 } from './form-control-radio2.js';
13
14
  import { d as defineCustomElement$2 } from './season-interruption-insurance-core.js';
@@ -15,11 +16,11 @@ import { d as defineCustomElement$2 } from './season-interruption-insurance-core
15
16
  class InsuranceService {
16
17
  async fetchQuote(authToken, payload) {
17
18
  const endpoint = 'insurance/quotes';
18
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
19
+ return Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
19
20
  }
20
21
  async toggleCoverage(authToken, quoteId, payload) {
21
22
  const endpoint = `insurance/quotes/${quoteId}/toggle`;
22
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
23
+ return Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
23
24
  }
24
25
  }
25
26
 
@@ -133,7 +134,7 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
133
134
  });
134
135
  }
135
136
  render() {
136
- return (h("justifi-season-interruption-insurance-core", { key: '50413e347b808cbf350573602701d5e6e7d4def5', 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 }));
137
+ return (h("justifi-season-interruption-insurance-core", { key: '09686ee78334afa3648039ef1f6edcc307017f02', 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 }));
137
138
  }
138
139
  }, [1, "justifi-season-interruption-insurance", {
139
140
  "authToken": [1, "auth-token"],
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface JustifiTerminalOrdersList extends Components.JustifiTerminalOrdersList, HTMLElement {}
4
+ export const JustifiTerminalOrdersList: {
5
+ prototype: JustifiTerminalOrdersList;
6
+ new (): JustifiTerminalOrdersList;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,73 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { S as StyledHost } from './styled-host.js';
3
+ import './details.js';
4
+ import { c as checkPkgVersion } from './check-pkg-version.js';
5
+ import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminal-orders-list-core2.js';
6
+ import { d as defineCustomElement$3 } from './pagination-menu2.js';
7
+
8
+ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrdersList extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.__attachShadow();
13
+ this.getTerminalOrders = undefined;
14
+ this.errorMessage = null;
15
+ this.businessId = undefined;
16
+ this.authToken = undefined;
17
+ this.apiOrigin = undefined;
18
+ this.columns = defaultColumnsKeys;
19
+ }
20
+ componentWillLoad() {
21
+ checkPkgVersion();
22
+ this.initializeGetTerminalOrders();
23
+ }
24
+ initializeGetTerminalOrders() {
25
+ if (this.businessId && this.authToken) {
26
+ this.getTerminalOrders = () => {
27
+ console.log('getTerminalOrders');
28
+ };
29
+ }
30
+ else {
31
+ this.errorMessage = 'Business ID and Auth Token are required';
32
+ }
33
+ }
34
+ render() {
35
+ return (h(StyledHost, { key: '54ebb6b9b12b123caaa6d5190d0a1c6c2198d3e3' }, h("terminal-orders-list-core", { key: '99376fd9a6b5657d8777a4873f16b98a4bcf03cf', getTerminalOrders: this.getTerminalOrders, columns: this.columns })));
36
+ }
37
+ }, [1, "justifi-terminal-orders-list", {
38
+ "businessId": [1, "business-id"],
39
+ "authToken": [1, "auth-token"],
40
+ "apiOrigin": [1, "api-origin"],
41
+ "columns": [1],
42
+ "getTerminalOrders": [32],
43
+ "errorMessage": [32]
44
+ }]);
45
+ function defineCustomElement$1() {
46
+ if (typeof customElements === "undefined") {
47
+ return;
48
+ }
49
+ const components = ["justifi-terminal-orders-list", "pagination-menu", "terminal-orders-list-core"];
50
+ components.forEach(tagName => { switch (tagName) {
51
+ case "justifi-terminal-orders-list":
52
+ if (!customElements.get(tagName)) {
53
+ customElements.define(tagName, TerminalOrdersList);
54
+ }
55
+ break;
56
+ case "pagination-menu":
57
+ if (!customElements.get(tagName)) {
58
+ defineCustomElement$3();
59
+ }
60
+ break;
61
+ case "terminal-orders-list-core":
62
+ if (!customElements.get(tagName)) {
63
+ defineCustomElement$2();
64
+ }
65
+ break;
66
+ } });
67
+ }
68
+ defineCustomElement$1();
69
+
70
+ const JustifiTerminalOrdersList = TerminalOrdersList;
71
+ const defineCustomElement = defineCustomElement$1;
72
+
73
+ export { JustifiTerminalOrdersList, defineCustomElement };
@@ -1,8 +1,15 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { l as lodash } from './lodash.js';
3
- import { q as queryParams, c as clearParams } from './terminals-list-params-state.js';
3
+ import { f as filterParams, p as propsParams, c as clearParams } from './terminals-list-params-state.js';
4
+ import { af as terminalsListFilterMenu, ag as terminalIdTerminalsListFilterParam, ah as terminalStatusTerminalsListFilterParam } from './parts.js';
4
5
  import { S as StyledHost } from './styled-host.js';
5
6
  import './details.js';
7
+ import './ComponentError.js';
8
+ import './Checkout.js';
9
+ import './Pagination.js';
10
+ import './Payment.js';
11
+ import { I as ITerminalStatus } from './SubAccount.js';
12
+ import './Document.js';
6
13
  import { d as defineCustomElement$6 } from './custom-popper2.js';
7
14
  import { d as defineCustomElement$5 } from './form-control-select2.js';
8
15
  import { d as defineCustomElement$4 } from './form-control-text2.js';
@@ -15,25 +22,40 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
15
22
  this.__registerHost();
16
23
  this.__attachShadow();
17
24
  this.setParamsOnChange = (name, value) => {
18
- queryParams[name] = value;
25
+ filterParams[name] = value;
19
26
  };
27
+ this.terminalId = undefined;
28
+ this.terminalStatus = undefined;
20
29
  }
21
30
  componentWillLoad() {
22
31
  // debounced input handler for text input
23
32
  this.debouncedSetParamsOnChange = lodash.exports.debounce(this.setParamsOnChange, 300);
33
+ const propsToSet = {
34
+ terminal_id: this.terminalId,
35
+ status: this.terminalStatus,
36
+ };
37
+ Object.entries(propsToSet).forEach(([key, value]) => {
38
+ if (value) {
39
+ propsParams[key] = value;
40
+ }
41
+ });
24
42
  }
25
43
  get terminalStatusOptions() {
26
44
  return [
27
45
  { label: 'All', value: '' },
28
- { label: 'Connected', value: 'connected' },
29
- { label: 'Disconnected', value: 'disconnected' },
30
- { label: 'Unknown', value: 'unknown' },
46
+ { label: 'Connected', value: ITerminalStatus.connected },
47
+ { label: 'Disconnected', value: ITerminalStatus.disconnected },
48
+ { label: 'Unknown', value: ITerminalStatus.unknown },
31
49
  ];
32
50
  }
33
51
  render() {
34
- return (h(StyledHost, { key: 'f1af204ada5efea668078a7f311dead116050f92' }, h("table-filters-menu", { key: 'f7d13437f2ca0733694d8a676bde72e9b26e49e6', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: 'eb1539830b47437e8dd713a580fa3b2aa1e1bb9b', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'cbd11d34040889eb4fdceee8c1d0fa64c0b62bab', class: "p-2" }, h("form-control-text", { key: '4cfdef309714ef532970db63f7d372bf59b0b0d3', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: queryParams.terminal_id })), h("div", { key: 'd740dfff6b6c920be52bff5c17ba00fa592a083c', class: "p-2" }, h("form-control-select", { key: 'dcc2f6d5a73674bb4e7810da5cb7694074ab7d6b', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.status || '' }))))));
52
+ const filterMenuParams = Object.assign({}, filterParams);
53
+ return (h(StyledHost, { key: '9e55f56855ebf7f0755c5750bfe4ae57bcc2a48e' }, h("table-filters-menu", { key: 'dae12779f49c3264cb3a5362cc4e4edc2aa6447c', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '9767d61b94a7de6bc290a1dc97e5ecdb7e75beb8', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'cab20a5aab288920f205835c4343b44502cc4a1e', class: "p-2" }, h("form-control-text", { key: '58600a426dded8a9efc05e444439c36e3eab5bc8', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '81f513ae03435ea2c97e43f460aab430ebd4a490', class: "p-2" }, h("form-control-select", { key: 'ee04592e4f117f7b58984932d10081a4383d7a65', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
35
54
  }
36
- }, [1, "justifi-terminals-list-filters"]);
55
+ }, [1, "justifi-terminals-list-filters", {
56
+ "terminalId": [1, "terminal-id"],
57
+ "terminalStatus": [1, "terminal-status"]
58
+ }]);
37
59
  function defineCustomElement$1() {
38
60
  if (typeof customElements === "undefined") {
39
61
  return;
@@ -1,7 +1,8 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
3
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
4
- import { A as Api, c as config } from './config.js';
3
+ import { J as JustifiAnalytics } from './Analytics.js';
4
+ import { c as checkPkgVersion } from './check-pkg-version.js';
5
+ import { A as Api } from './Api.js';
5
6
  import './Checkout.js';
6
7
  import './Pagination.js';
7
8
  import './Payment.js';
@@ -15,19 +16,13 @@ import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminals
15
16
  import { d as defineCustomElement$3 } from './pagination-menu2.js';
16
17
 
17
18
  class TerminalService {
18
- async fetchTerminals(accountId, authToken, params, apiOrigin) {
19
- if (!apiOrigin) {
20
- apiOrigin = config.proxyApiOrigin;
21
- }
19
+ async fetchTerminals(accountId, authToken, params, apiOrigin = undefined) {
22
20
  const headers = { Account: accountId };
23
21
  const api = Api({ authToken, apiOrigin });
24
22
  const endpoint = 'terminals';
25
23
  return api.get(endpoint, params, null, headers);
26
24
  }
27
- async fetchTerminal(terminalId, authToken, apiOrigin) {
28
- if (!apiOrigin) {
29
- apiOrigin = config.proxyApiOrigin;
30
- }
25
+ async fetchTerminal(terminalId, authToken, apiOrigin = undefined) {
31
26
  const endpoint = `terminals/${terminalId}`;
32
27
  return Api({ authToken, apiOrigin: apiOrigin }).get(endpoint);
33
28
  }
@@ -77,7 +72,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
77
72
  this.errorMessage = null;
78
73
  this.accountId = undefined;
79
74
  this.authToken = undefined;
80
- this.apiOrigin = config.proxyApiOrigin;
75
+ this.apiOrigin = undefined;
81
76
  this.columns = defaultColumnsKeys;
82
77
  }
83
78
  componentWillLoad() {
@@ -124,7 +119,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
124
119
  }
125
120
  }
126
121
  render() {
127
- return (h(StyledHost, { key: '79168b27873e1b6e7d6bfded80b646d2a95292e0' }, h("terminals-list-core", { key: '2dfbc1d923cb83cc10039b4344629db17f754fbc', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
122
+ return (h(StyledHost, { key: '1534781e6264057b7c780e6b44f4a7a66a561296' }, h("terminals-list-core", { key: '8c0fb664d5ebe4fedcf6e45046e931adffb9d381', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
128
123
  }
129
124
  static get watchers() { return {
130
125
  "accountId": ["propChanged"],