@justifi/webcomponents 5.3.4 → 5.3.6

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 (481) hide show
  1. package/dist/cjs/{Checkout-1c07dc32.js → Checkout-eef27045.js} +11 -6
  2. package/dist/cjs/{SubAccount-b4811a8e.js → SubAccount-df3d28dc.js} +70 -0
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  4. package/dist/cjs/{badge-86a6a7f8.js → badge-79e56b99.js} +1 -1
  5. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +7 -7
  6. package/dist/cjs/bank-account-form_9.cjs.entry.js +4 -4
  7. package/dist/cjs/billing-form_3.cjs.entry.js +6 -6
  8. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  9. package/dist/cjs/{button-5f6c437f.js → button-797bb3cc.js} +1 -1
  10. package/dist/cjs/{Analytics-2fb20059.js → check-pkg-version-1f8b660c.js} +21 -1
  11. package/dist/cjs/{checkout.service-b23994d2.js → checkout.service-c01e2cd7.js} +2 -2
  12. package/dist/cjs/checkouts-list-core.cjs.entry.js +9 -10
  13. package/dist/cjs/{checkouts-table-cf3e245e.js → checkouts-table-61543249.js} +2 -2
  14. package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper.cjs.entry.js} +2 -141
  15. package/dist/cjs/{dispute.service-c192dd33.js → dispute.service-399de502.js} +2 -2
  16. package/dist/cjs/{table-fc82fa81.js → event-types-666f1f22.js} +9 -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-b782cdd0.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-ca3c8155.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-11a983a0.js} +2 -2
  29. package/dist/cjs/{get-subaccounts-b2e6ab82.js → get-subaccounts-224f9497.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-ff669f3f.js} +1 -1
  32. package/dist/cjs/{header-3-5f78acd1.js → header-3-f6642390.js} +1 -1
  33. package/dist/cjs/{insurance-state-ba0c39a9.js → insurance-state-66c9bea7.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 -6
  38. package/dist/cjs/justifi-business-form.cjs.entry.js +9 -10
  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 +7 -8
  42. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  43. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -11
  44. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  45. package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -7
  46. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +31 -25
  47. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -6
  48. package/dist/cjs/justifi-order-terminals.cjs.entry.js +187 -41
  49. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
  50. package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -9
  51. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  52. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -4
  53. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
  54. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -12
  55. package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -9
  56. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
  57. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -13
  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 -6
  61. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +79 -13
  62. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
  63. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -26
  64. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -10
  65. package/dist/cjs/loader.cjs.js +1 -1
  66. package/dist/cjs/{package-e8aa0c51.js → package-d34fcfa5.js} +1 -1
  67. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  68. package/dist/cjs/{parts-c2655003.js → parts-1fb925c2.js} +3 -5
  69. package/dist/cjs/payment-details-core.cjs.entry.js +12 -12
  70. package/dist/cjs/{payment.service-f53022c3.js → payment.service-f369b33c.js} +2 -2
  71. package/dist/cjs/payments-list-core.cjs.entry.js +10 -11
  72. package/dist/cjs/{payments-status-92abe577.js → payments-status-ffdc54ff.js} +1 -1
  73. package/dist/cjs/{payments-table-c58e3ca8.js → payments-table-98b4e5e3.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 +10 -11
  76. package/dist/cjs/{payouts-status-703d62af.js → payouts-status-64fd0c68.js} +1 -1
  77. package/dist/cjs/{payouts-table-70fc1498.js → payouts-table-ecfb826b.js} +2 -2
  78. package/dist/cjs/{skeleton-84102a44.js → skeleton-2ae76f16.js} +1 -1
  79. package/dist/cjs/{spinner-70f38e5e.js → spinner-15764f3c.js} +1 -1
  80. package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
  81. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +31 -11
  82. package/dist/cjs/terminal-orders-table-f1bed365.js +56 -0
  83. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +36 -0
  84. package/dist/cjs/terminal.service-4fd34835.js +35 -0
  85. package/dist/cjs/terminals-list-core.cjs.entry.js +9 -10
  86. package/dist/cjs/{terminals-table-db58a0c0.js → terminals-table-30298ce4.js} +6 -4
  87. package/dist/cjs/{utils-7c5b2837.js → utils-3e3b8061.js} +1 -1
  88. package/dist/cjs/webcomponents.cjs.js +1 -1
  89. package/dist/collection/actions/terminal/get-terminal-models.js +30 -0
  90. package/dist/collection/actions/terminal/get-terminal-orders.js +34 -0
  91. package/dist/collection/actions/terminal/order-terminals.js +29 -0
  92. package/dist/collection/api/Checkout.js +5 -0
  93. package/dist/collection/api/Terminal.js +1 -0
  94. package/dist/collection/api/TerminalModel.js +15 -0
  95. package/dist/collection/api/TerminalOrder.js +51 -0
  96. package/dist/collection/api/index.js +2 -0
  97. package/dist/collection/api/services/terminal.service.js +11 -0
  98. package/dist/collection/api/services/terminal_orders.service.js +9 -0
  99. package/dist/collection/collection-manifest.json +1 -0
  100. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +2 -2
  101. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +8 -8
  102. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  103. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +27 -15
  104. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +26 -14
  105. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +26 -14
  106. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +22 -14
  107. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +26 -14
  108. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +26 -14
  109. package/dist/collection/components/dispute-management/dispute-response/file-input-handler.js +11 -0
  110. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +26 -14
  111. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +26 -14
  112. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +26 -12
  113. package/dist/collection/components/order-terminals/order-terminals-loading.js +1 -1
  114. package/dist/collection/components/order-terminals/order-terminals.js +159 -35
  115. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector-loading.js +5 -0
  116. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +153 -0
  117. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  118. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  119. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  120. package/dist/collection/components/payments-list/payments-list.js +1 -1
  121. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  122. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  123. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  124. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  125. package/dist/collection/components/refund-form/refund-form.js +1 -1
  126. package/dist/collection/components/terminal-orders-list/terminal-order-status.js +23 -0
  127. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +53 -7
  128. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +52 -11
  129. package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +17 -5
  130. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  131. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  132. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  133. package/dist/collection/components/terminals-list/terminals-table.js +4 -2
  134. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  135. package/dist/collection/styles/parts.js +3 -0
  136. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  137. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  138. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  139. package/dist/collection/ui-components/form/form-control-file-v2.js +2 -1
  140. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  141. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  142. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  143. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  144. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  145. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  146. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  147. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  148. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  149. package/dist/docs.json +530 -50
  150. package/dist/esm/{Checkout-919eb1ba.js → Checkout-2bc873fb.js} +6 -1
  151. package/dist/esm/{SubAccount-9aad3891.js → SubAccount-dbd4e50c.js} +69 -1
  152. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  153. package/dist/esm/{badge-2eb79416.js → badge-6f5acf30.js} +1 -1
  154. package/dist/esm/bank-account-document-form-inputs_4.entry.js +7 -7
  155. package/dist/esm/bank-account-form_9.entry.js +4 -4
  156. package/dist/esm/billing-form_3.entry.js +6 -6
  157. package/dist/esm/business-details-core.entry.js +3 -3
  158. package/dist/esm/{button-cc455199.js → button-79dcea75.js} +1 -1
  159. package/dist/esm/{Analytics-759c7da5.js → check-pkg-version-8e7e585e.js} +21 -2
  160. package/dist/esm/{checkout.service-bb45d248.js → checkout.service-382a16ec.js} +2 -2
  161. package/dist/esm/checkouts-list-core.entry.js +7 -8
  162. package/dist/esm/{checkouts-table-53981285.js → checkouts-table-8a53cef9.js} +2 -2
  163. package/dist/esm/{custom-popper_4.entry.js → custom-popper.entry.js} +4 -140
  164. package/dist/esm/{dispute.service-9008b3b7.js → dispute.service-97887804.js} +2 -2
  165. package/dist/esm/{table-e287f1c0.js → event-types-82515a49.js} +10 -3
  166. package/dist/esm/form-alert_5.entry.js +1 -1
  167. package/dist/esm/form-control-checkbox.entry.js +5 -5
  168. package/dist/esm/form-control-date.entry.js +4 -4
  169. package/dist/esm/{form-control-error-text-74c6b38a.js → form-control-error-text-466c252b.js} +1 -1
  170. package/dist/esm/form-control-file-v2_2.entry.js +5 -4
  171. package/dist/esm/{form-control-help-text-76a4196e.js → form-control-help-text-242916e3.js} +1 -1
  172. package/dist/esm/form-control-monetary.entry.js +5 -5
  173. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  174. package/dist/esm/form-control-number.entry.js +5 -5
  175. package/dist/esm/form-control-radio.entry.js +3 -3
  176. package/dist/esm/form-control-select_3.entry.js +139 -0
  177. package/dist/esm/{get-payout-csv-8450b60d.js → get-payout-csv-6826271a.js} +2 -2
  178. package/dist/esm/{get-subaccounts-3af0844a.js → get-subaccounts-f21220dc.js} +2 -2
  179. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  180. package/dist/esm/{header-1-797ca789.js → header-1-b43590e5.js} +1 -1
  181. package/dist/esm/{header-3-544afa0b.js → header-3-b90e161e.js} +1 -1
  182. package/dist/esm/{insurance-state-307335d6.js → insurance-state-9e4a3359.js} +1 -1
  183. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +5 -5
  184. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +4 -4
  185. package/dist/esm/justifi-additional-statement_8.entry.js +71 -108
  186. package/dist/esm/justifi-business-details.entry.js +4 -5
  187. package/dist/esm/justifi-business-form.entry.js +8 -9
  188. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  189. package/dist/esm/justifi-checkout-core.entry.js +6 -6
  190. package/dist/esm/justifi-checkout.entry.js +6 -7
  191. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
  192. package/dist/esm/justifi-checkouts-list.entry.js +9 -10
  193. package/dist/esm/justifi-details.entry.js +2 -2
  194. package/dist/esm/justifi-dispute-management.entry.js +5 -6
  195. package/dist/esm/justifi-dispute-notification_3.entry.js +30 -24
  196. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -5
  197. package/dist/esm/justifi-order-terminals.entry.js +187 -41
  198. package/dist/esm/justifi-owner-form_3.entry.js +2 -2
  199. package/dist/esm/justifi-payment-details.entry.js +7 -8
  200. package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
  201. package/dist/esm/justifi-payment-provisioning.entry.js +2 -3
  202. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  203. package/dist/esm/justifi-payments-list.entry.js +10 -11
  204. package/dist/esm/justifi-payout-details.entry.js +7 -8
  205. package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
  206. package/dist/esm/justifi-payouts-list.entry.js +11 -12
  207. package/dist/esm/justifi-refund-form.entry.js +3 -3
  208. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
  209. package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -5
  210. package/dist/esm/justifi-terminal-orders-list.entry.js +80 -14
  211. package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
  212. package/dist/esm/justifi-terminals-list.entry.js +11 -24
  213. package/dist/esm/justifi-tokenize-payment-method.entry.js +8 -9
  214. package/dist/esm/loader.js +1 -1
  215. package/dist/esm/{package-49477570.js → package-46c7f3a6.js} +1 -1
  216. package/dist/esm/pagination-menu.entry.js +1 -1
  217. package/dist/esm/{parts-489f0af6.js → parts-2c5c609b.js} +3 -4
  218. package/dist/esm/payment-details-core.entry.js +12 -12
  219. package/dist/esm/{payment.service-a8ee345c.js → payment.service-a8aa5be7.js} +2 -2
  220. package/dist/esm/payments-list-core.entry.js +9 -10
  221. package/dist/esm/{payments-status-35255b2c.js → payments-status-6e203ce4.js} +1 -1
  222. package/dist/esm/{payments-table-6e97396a.js → payments-table-4c6093e1.js} +2 -2
  223. package/dist/esm/payout-details-core.entry.js +7 -7
  224. package/dist/esm/payouts-list-core.entry.js +9 -10
  225. package/dist/esm/{payouts-status-a0cc00c5.js → payouts-status-66e830f1.js} +1 -1
  226. package/dist/esm/{payouts-table-6b8ba8f1.js → payouts-table-46fbedb6.js} +2 -2
  227. package/dist/esm/{skeleton-74fbfb68.js → skeleton-122648e6.js} +1 -1
  228. package/dist/esm/{spinner-6b708842.js → spinner-14cd9ac7.js} +1 -1
  229. package/dist/esm/table-filters-menu.entry.js +2 -2
  230. package/dist/esm/terminal-orders-list-core.entry.js +30 -10
  231. package/dist/esm/terminal-orders-table-83b905fd.js +52 -0
  232. package/dist/esm/terminal-quantity-selector.entry.js +32 -0
  233. package/dist/esm/terminal.service-20445fc1.js +33 -0
  234. package/dist/esm/terminals-list-core.entry.js +8 -9
  235. package/dist/esm/{terminals-table-c6258344.js → terminals-table-dbbf9a99.js} +6 -4
  236. package/dist/esm/{utils-6c26bccc.js → utils-4cb0d852.js} +1 -1
  237. package/dist/esm/webcomponents.js +1 -1
  238. package/dist/module/Checkout.js +6 -1
  239. package/dist/module/SubAccount.js +69 -1
  240. package/dist/module/additional-statement.js +9 -14
  241. package/dist/module/cancellation-policy.js +9 -14
  242. package/dist/module/check-pkg-version.js +80 -1
  243. package/dist/module/checkouts-list-core2.js +1 -2
  244. package/dist/module/custom-popper2.js +2 -2
  245. package/dist/module/customer-details.js +9 -14
  246. package/dist/module/dispute-notification.js +1 -1
  247. package/dist/module/dispute-response-core.js +22 -14
  248. package/dist/module/dispute-response.js +1 -2
  249. package/dist/module/duplicate-charge.js +9 -14
  250. package/dist/module/electronic-evidence.js +9 -14
  251. package/dist/module/event-types2.js +55 -1
  252. package/dist/module/{dispute-response-form-types.js → file-input-handler.js} +23 -13
  253. package/dist/module/form-control-checkbox2.js +2 -2
  254. package/dist/module/form-control-date2.js +2 -2
  255. package/dist/module/form-control-file-v22.js +2 -1
  256. package/dist/module/form-control-file2.js +2 -2
  257. package/dist/module/form-control-monetary2.js +2 -2
  258. package/dist/module/form-control-number-masked2.js +2 -2
  259. package/dist/module/form-control-number.js +2 -2
  260. package/dist/module/form-control-radio2.js +2 -2
  261. package/dist/module/form-control-text2.js +2 -2
  262. package/dist/module/form-control-textarea2.js +2 -2
  263. package/dist/module/hidden-input2.js +1 -1
  264. package/dist/module/iframe-input2.js +3 -3
  265. package/dist/module/justifi-business-details.js +1 -2
  266. package/dist/module/justifi-business-form.js +1 -2
  267. package/dist/module/justifi-checkout.js +2 -3
  268. package/dist/module/justifi-checkouts-list-filters.js +4 -4
  269. package/dist/module/justifi-checkouts-list.js +1 -2
  270. package/dist/module/justifi-dispute-management.js +1 -2
  271. package/dist/module/justifi-gross-payment-chart.js +1 -2
  272. package/dist/module/justifi-order-terminals.js +211 -41
  273. package/dist/module/justifi-payment-details.js +1 -2
  274. package/dist/module/justifi-payment-provisioning.js +1 -2
  275. package/dist/module/justifi-payments-list-filters.js +3 -3
  276. package/dist/module/justifi-payments-list.js +2 -3
  277. package/dist/module/justifi-payout-details.js +1 -2
  278. package/dist/module/justifi-payouts-list-filters.js +3 -3
  279. package/dist/module/justifi-payouts-list.js +2 -3
  280. package/dist/module/justifi-refund-form.js +1 -1
  281. package/dist/module/justifi-season-interruption-insurance.js +1 -2
  282. package/dist/module/justifi-terminal-orders-list.js +75 -12
  283. package/dist/module/justifi-terminals-list-filters.js +2 -2
  284. package/dist/module/justifi-terminals-list.js +4 -18
  285. package/dist/module/justifi-tokenize-payment-method.js +3 -4
  286. package/dist/module/package.js +1 -1
  287. package/dist/module/parts.js +3 -4
  288. package/dist/module/payment-details-core2.js +7 -7
  289. package/dist/module/payment-provisioning-core.js +2 -2
  290. package/dist/module/payments-list-core2.js +2 -3
  291. package/dist/module/payout-details-core2.js +1 -1
  292. package/dist/module/payouts-list-core2.js +2 -3
  293. package/dist/module/product-or-service.js +17 -16
  294. package/dist/module/refund-policy.js +9 -14
  295. package/dist/module/shipping-details.js +9 -12
  296. package/dist/module/terminal-orders-list-core2.js +67 -10
  297. package/dist/module/terminal-quantity-selector.d.ts +11 -0
  298. package/dist/module/terminal-quantity-selector.js +6 -0
  299. package/dist/module/terminal-quantity-selector2.js +66 -0
  300. package/dist/module/terminal.service.js +33 -0
  301. package/dist/module/terminals-list-core2.js +6 -5
  302. package/dist/types/actions/terminal/get-terminal-models.d.ts +8 -0
  303. package/dist/types/actions/terminal/get-terminal-orders.d.ts +11 -0
  304. package/dist/types/actions/terminal/order-terminals.d.ts +8 -0
  305. package/dist/types/api/Checkout.d.ts +4 -0
  306. package/dist/types/api/Terminal.d.ts +2 -0
  307. package/dist/types/api/TerminalModel.d.ts +31 -0
  308. package/dist/types/api/TerminalOrder.d.ts +53 -0
  309. package/dist/types/api/index.d.ts +2 -0
  310. package/dist/types/api/services/terminal.service.d.ts +4 -0
  311. package/dist/types/api/services/terminal_orders.service.d.ts +7 -0
  312. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +0 -1
  313. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +3 -3
  314. package/dist/types/components/dispute-management/dispute-response/additional-statement.d.ts +4 -2
  315. package/dist/types/components/dispute-management/dispute-response/cancellation-policy.d.ts +4 -2
  316. package/dist/types/components/dispute-management/dispute-response/customer-details.d.ts +5 -2
  317. package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +5 -4
  318. package/dist/types/components/dispute-management/dispute-response/duplicate-charge.d.ts +4 -2
  319. package/dist/types/components/dispute-management/dispute-response/electronic-evidence.d.ts +4 -2
  320. package/dist/types/components/dispute-management/dispute-response/file-input-handler.d.ts +2 -0
  321. package/dist/types/components/dispute-management/dispute-response/product-or-service.d.ts +4 -2
  322. package/dist/types/components/dispute-management/dispute-response/refund-policy.d.ts +5 -2
  323. package/dist/types/components/dispute-management/dispute-response/shipping-details.d.ts +4 -1
  324. package/dist/types/components/order-terminals/order-terminals.d.ts +30 -3
  325. package/dist/types/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector-loading.d.ts +1 -0
  326. package/dist/types/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.d.ts +17 -0
  327. package/dist/types/components/terminal-orders-list/terminal-order-status.d.ts +2 -0
  328. package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +7 -5
  329. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +8 -2
  330. package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +16 -5
  331. package/dist/types/components/terminals-list/terminals-table.d.ts +3 -1
  332. package/dist/types/components.d.ts +87 -8
  333. package/dist/types/global.d.ts +1 -0
  334. package/dist/types/styles/parts.d.ts +2 -0
  335. package/dist/webcomponents/p-0137575f.entry.js +1 -0
  336. package/dist/webcomponents/{p-f7d9ea0b.entry.js → p-030a8806.entry.js} +1 -1
  337. package/dist/webcomponents/p-039a09b8.entry.js +1 -0
  338. package/dist/webcomponents/{p-29688e30.js → p-046ecd01.js} +1 -1
  339. package/dist/webcomponents/{p-1278dedf.js → p-087758d3.js} +1 -1
  340. package/dist/webcomponents/{p-060896c4.entry.js → p-0a60d356.entry.js} +1 -1
  341. package/dist/webcomponents/p-0ba77d53.entry.js +1 -0
  342. package/dist/webcomponents/p-0c22225c.entry.js +1 -0
  343. package/dist/webcomponents/{p-5a96a2a2.entry.js → p-0cefd846.entry.js} +1 -1
  344. package/dist/webcomponents/{p-ae271c06.entry.js → p-10a14943.entry.js} +1 -1
  345. package/dist/webcomponents/p-10e32428.entry.js +1 -0
  346. package/dist/webcomponents/p-1705af62.js +1 -0
  347. package/dist/webcomponents/{p-553dba95.entry.js → p-19b8c3c8.entry.js} +1 -1
  348. package/dist/webcomponents/p-1a48d917.entry.js +1 -0
  349. package/dist/webcomponents/{p-300a99ee.js → p-1e300d41.js} +1 -1
  350. package/dist/webcomponents/p-2027145a.entry.js +1 -0
  351. package/dist/webcomponents/p-222fa126.entry.js +1 -0
  352. package/dist/webcomponents/{p-a31ba276.entry.js → p-33a17e80.entry.js} +1 -1
  353. package/dist/webcomponents/p-34e18d17.entry.js +1 -0
  354. package/dist/webcomponents/{p-e3e0d791.entry.js → p-36edba41.entry.js} +1 -1
  355. package/dist/webcomponents/p-3732aa87.js +1 -0
  356. package/dist/webcomponents/p-382ab4e8.js +1 -0
  357. package/dist/webcomponents/p-3947a309.entry.js +1 -0
  358. package/dist/webcomponents/p-3cbdca1b.js +1 -0
  359. package/dist/webcomponents/{p-939d0a35.entry.js → p-4d5c553d.entry.js} +1 -1
  360. package/dist/webcomponents/{p-8b16a20f.js → p-547b51e9.js} +1 -1
  361. package/dist/webcomponents/p-5ee67fad.js +1 -0
  362. package/dist/webcomponents/p-5efe9572.entry.js +1 -0
  363. package/dist/webcomponents/p-638b91ff.entry.js +1 -0
  364. package/dist/webcomponents/{p-e007002a.entry.js → p-685c7028.entry.js} +1 -1
  365. package/dist/webcomponents/{p-14f40baa.js → p-694078d2.js} +1 -1
  366. package/dist/webcomponents/p-69ac2640.entry.js +1 -0
  367. package/dist/webcomponents/p-6a2d6298.entry.js +1 -0
  368. package/dist/webcomponents/{p-b57cfe54.entry.js → p-6ef3de11.entry.js} +1 -1
  369. package/dist/webcomponents/p-71897cbc.js +1 -0
  370. package/dist/webcomponents/{p-4fbdf440.entry.js → p-759f25a1.entry.js} +1 -1
  371. package/dist/webcomponents/p-7dc9fb75.js +1 -0
  372. package/dist/webcomponents/p-7e93eac9.entry.js +1 -0
  373. package/dist/webcomponents/p-7ed52fbc.entry.js +1 -0
  374. package/dist/webcomponents/{p-8a7266b4.js → p-8066b866.js} +1 -1
  375. package/dist/webcomponents/p-830f0971.entry.js +1 -0
  376. package/dist/webcomponents/{p-020e7d5d.entry.js → p-833ef79e.entry.js} +1 -1
  377. package/dist/webcomponents/p-8971f9da.entry.js +1 -0
  378. package/dist/webcomponents/p-8c461ebc.entry.js +1 -0
  379. package/dist/webcomponents/p-8fad4359.entry.js +1 -0
  380. package/dist/webcomponents/{p-dfebd7a4.js → p-9dc9aaba.js} +1 -1
  381. package/dist/webcomponents/p-9f1a3199.js +1 -0
  382. package/dist/webcomponents/{p-19063270.entry.js → p-a07afdcc.entry.js} +1 -1
  383. package/dist/webcomponents/p-a173ccd5.entry.js +1 -0
  384. package/dist/webcomponents/p-a3d75257.js +1 -0
  385. package/dist/webcomponents/p-a957612b.entry.js +1 -0
  386. package/dist/webcomponents/p-aa21cdb1.entry.js +1 -0
  387. package/dist/webcomponents/p-aa923138.entry.js +1 -0
  388. package/dist/webcomponents/p-ad473d5c.entry.js +1 -0
  389. package/dist/webcomponents/p-b11468b5.entry.js +1 -0
  390. package/dist/webcomponents/{p-3b680e50.js → p-b5addd78.js} +1 -1
  391. package/dist/webcomponents/p-b62403c2.entry.js +1 -0
  392. package/dist/webcomponents/{p-bfe339d5.js → p-b69beb1c.js} +1 -1
  393. package/dist/webcomponents/{p-78a204f9.entry.js → p-b76f755a.entry.js} +1 -1
  394. package/dist/webcomponents/p-b8ee505d.entry.js +1 -0
  395. package/dist/webcomponents/p-b92aac9b.entry.js +1 -0
  396. package/dist/webcomponents/{p-fea43254.entry.js → p-b92f125b.entry.js} +1 -1
  397. package/dist/webcomponents/{p-a90d8f4f.entry.js → p-bd2340f7.entry.js} +1 -1
  398. package/dist/webcomponents/{p-b2d57b2c.entry.js → p-bd2d9d29.entry.js} +1 -1
  399. package/dist/webcomponents/p-bdf0ab42.js +1 -0
  400. package/dist/webcomponents/p-c406c0fa.js +1 -0
  401. package/dist/webcomponents/{p-09496255.js → p-c54f54ed.js} +1 -1
  402. package/dist/webcomponents/p-c5cc443e.entry.js +1 -0
  403. package/dist/webcomponents/p-cd68707b.entry.js +1 -0
  404. package/dist/webcomponents/p-d5a481e4.entry.js +1 -0
  405. package/dist/webcomponents/{p-389e1eb7.js → p-daf0303f.js} +1 -1
  406. package/dist/webcomponents/p-e366ef1e.js +1 -0
  407. package/dist/webcomponents/p-e400e31f.entry.js +1 -0
  408. package/dist/webcomponents/{p-235abbd1.entry.js → p-e4514af8.entry.js} +1 -1
  409. package/dist/webcomponents/{p-06f5b709.js → p-e60867c6.js} +1 -1
  410. package/dist/webcomponents/{p-89ecfbf4.entry.js → p-e754d8e7.entry.js} +1 -1
  411. package/dist/webcomponents/p-eb05bd1e.entry.js +1 -0
  412. package/dist/webcomponents/p-ede13cc8.js +1 -0
  413. package/dist/webcomponents/{p-df2559c7.js → p-ee9d433f.js} +1 -1
  414. package/dist/webcomponents/{p-ebbe93ac.entry.js → p-f04dbd80.entry.js} +1 -1
  415. package/dist/webcomponents/p-f2111e68.js +1 -0
  416. package/dist/webcomponents/p-f3061f2a.entry.js +1 -0
  417. package/dist/webcomponents/{p-906a6027.js → p-fa987dcf.js} +1 -1
  418. package/dist/webcomponents/p-fae67ab3.js +1 -0
  419. package/dist/webcomponents/p-fd4607f9.entry.js +1 -0
  420. package/dist/webcomponents/p-ffd0c24b.entry.js +1 -0
  421. package/dist/webcomponents/webcomponents.esm.js +1 -1
  422. package/package.json +1 -1
  423. package/dist/cjs/check-pkg-version-f5a3d421.js +0 -24
  424. package/dist/cjs/event-types-b6d34593.js +0 -8
  425. package/dist/cjs/terminal-orders-table-61081532.js +0 -18
  426. package/dist/esm/check-pkg-version-1d6e48c8.js +0 -22
  427. package/dist/esm/event-types-0a83d0b4.js +0 -8
  428. package/dist/esm/terminal-orders-table-765c44d5.js +0 -14
  429. package/dist/module/Analytics.js +0 -82
  430. package/dist/module/table.js +0 -55
  431. package/dist/webcomponents/p-08a17c5c.entry.js +0 -1
  432. package/dist/webcomponents/p-0b38cfbf.js +0 -1
  433. package/dist/webcomponents/p-0f4d851d.entry.js +0 -1
  434. package/dist/webcomponents/p-1aa22806.js +0 -1
  435. package/dist/webcomponents/p-1f4e26f3.entry.js +0 -1
  436. package/dist/webcomponents/p-1f99a902.js +0 -1
  437. package/dist/webcomponents/p-27c72b92.entry.js +0 -1
  438. package/dist/webcomponents/p-29fbbc93.js +0 -1
  439. package/dist/webcomponents/p-2e0ae487.js +0 -1
  440. package/dist/webcomponents/p-2f9af679.js +0 -1
  441. package/dist/webcomponents/p-37b7b200.entry.js +0 -1
  442. package/dist/webcomponents/p-39a63e0c.entry.js +0 -1
  443. package/dist/webcomponents/p-3ab7a49e.entry.js +0 -1
  444. package/dist/webcomponents/p-3d486f37.entry.js +0 -1
  445. package/dist/webcomponents/p-42a48c59.js +0 -1
  446. package/dist/webcomponents/p-49df4962.entry.js +0 -1
  447. package/dist/webcomponents/p-4a71c90b.entry.js +0 -1
  448. package/dist/webcomponents/p-4b6256e0.entry.js +0 -1
  449. package/dist/webcomponents/p-53b660a3.entry.js +0 -1
  450. package/dist/webcomponents/p-56697a12.entry.js +0 -1
  451. package/dist/webcomponents/p-595479da.entry.js +0 -1
  452. package/dist/webcomponents/p-66ae2a0e.entry.js +0 -1
  453. package/dist/webcomponents/p-670296bf.entry.js +0 -1
  454. package/dist/webcomponents/p-75b7dfe7.entry.js +0 -1
  455. package/dist/webcomponents/p-794cce10.entry.js +0 -1
  456. package/dist/webcomponents/p-7c541199.entry.js +0 -1
  457. package/dist/webcomponents/p-7d2538d9.entry.js +0 -1
  458. package/dist/webcomponents/p-7ee5a90e.entry.js +0 -1
  459. package/dist/webcomponents/p-8548edd6.entry.js +0 -1
  460. package/dist/webcomponents/p-9055aa6e.entry.js +0 -1
  461. package/dist/webcomponents/p-9a4d0e1d.entry.js +0 -1
  462. package/dist/webcomponents/p-9cbbe9cb.entry.js +0 -1
  463. package/dist/webcomponents/p-9edd6ad8.js +0 -1
  464. package/dist/webcomponents/p-a0082e77.entry.js +0 -1
  465. package/dist/webcomponents/p-a6b66c88.entry.js +0 -1
  466. package/dist/webcomponents/p-acca56ec.entry.js +0 -1
  467. package/dist/webcomponents/p-af945fc0.entry.js +0 -1
  468. package/dist/webcomponents/p-c2196cb8.entry.js +0 -1
  469. package/dist/webcomponents/p-c4ca0038.js +0 -1
  470. package/dist/webcomponents/p-cba89310.entry.js +0 -1
  471. package/dist/webcomponents/p-cbe05f11.js +0 -1
  472. package/dist/webcomponents/p-d279545a.entry.js +0 -1
  473. package/dist/webcomponents/p-d398ce81.js +0 -1
  474. package/dist/webcomponents/p-d432f0fd.entry.js +0 -1
  475. package/dist/webcomponents/p-d5c41ec6.js +0 -1
  476. package/dist/webcomponents/p-e8cd9691.js +0 -1
  477. package/dist/webcomponents/p-e9e80a62.js +0 -1
  478. package/dist/webcomponents/p-ec019b89.js +0 -1
  479. package/dist/webcomponents/p-fa843aad.entry.js +0 -1
  480. package/dist/webcomponents/p-fc3d2a9e.entry.js +0 -1
  481. package/dist/webcomponents/p-ff1f2d65.js +0 -1
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const ComponentError = require('./ComponentError-233ac749.js');
7
7
  const helpers = require('./helpers-602962eb.js');
8
- const parts = require('./parts-c2655003.js');
8
+ const parts = require('./parts-1fb925c2.js');
9
9
  const styledHost = require('./styled-host-94309bab.js');
10
- const header1 = require('./header-1-b202dbbb.js');
10
+ const header1 = require('./header-1-ff669f3f.js');
11
11
  const eventTypes = require('./event-types-180a85a9.js');
12
12
  require('./state-options-4fbcb48a.js');
13
13
 
@@ -86,7 +86,7 @@ const PaymentProvisioningCore = class {
86
86
  }
87
87
  componentWillLoad() {
88
88
  this.getBusiness && this.setBusinessProvisioned();
89
- this.refs = [this.coreInfoRef, this.legalAddressRef, this.additionalQuestionsRef, this.representativeRef, this.ownersRef, this.bankAccountRef, this.documentUploadRef, this.termsRef];
89
+ this.refs = [this.coreInfoRef, this.legalAddressRef, this.additionalQuestionsRef, this.representativeRef, this.ownersRef, this.bankAccountRef, this.termsRef];
90
90
  }
91
91
  get businessEndpoint() {
92
92
  return `entities/business/${this.businessId}`;
@@ -104,7 +104,7 @@ const PaymentProvisioningCore = class {
104
104
  this.loading = event.detail;
105
105
  }
106
106
  render() {
107
- return (index.h(styledHost.StyledHost, { key: '03dc39eadbac2f9a9a4326bab1355bfc300c392e' }, index.h("div", { key: '86e6e57fc104c87696c5825119a15c0a642c4bd2', class: 'row gap-3' }, index.h(header1.Header1, { key: 'd4df3ead1037464624fb8cc465427c6b90bd0e36', text: this.formTitle }), index.h("justifi-payment-provisioning-form-steps", { key: '7f3d977b8dfbb29c03125c173e9d41558de08322', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, handleFormLoading: this.handleFormLoading }), index.h("div", { key: '283568d94267850b0eb41fa6a52dbc6b0abf4642', class: 'd-flex justify-content-between align-items-center' }, index.h("div", { key: '6abf09f174e71767087b57180e976546c057499f', class: 'd-flex align-items-center', part: parts.text }, this.stepCounter), index.h("justifi-payment-provisioning-form-buttons", { key: 'b38ed082d216556c6ae93bde3ec1324e69f8fcee', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
107
+ return (index.h(styledHost.StyledHost, { key: '498b6e0a593808dd761b9cefdb7e94124d445348' }, index.h("div", { key: 'd746caba6329ac82e75978bd19fbc09c8a43d60f', class: 'row gap-3' }, index.h(header1.Header1, { key: '439425337ed7767ce4fc8c94e31f6997aa1b62d8', text: this.formTitle }), index.h("justifi-payment-provisioning-form-steps", { key: 'fd95a40c0a72c94cbb146cbc866d6b057cbfc5c0', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, handleFormLoading: this.handleFormLoading }), index.h("div", { key: '350fc615685f872cb6ba5537dc2de5d2a205e5cc', class: 'd-flex justify-content-between align-items-center' }, index.h("div", { key: '3f9a36bc1d58efdfe81b4d7022647b0c1fbc1911', class: 'd-flex align-items-center', part: parts.text }, this.stepCounter), index.h("justifi-payment-provisioning-form-buttons", { key: 'e1c061aa840b3b8ac1bad472d763fcd54c902681', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
108
108
  }
109
109
  };
110
110
 
@@ -3,13 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const Analytics = require('./Analytics-2fb20059.js');
6
+ const checkPkgVersion = require('./check-pkg-version-1f8b660c.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  const paymentProvisioningActions = require('./payment-provisioning-actions-382ab48c.js');
9
9
  const business_service = require('./business.service-776142b1.js');
10
10
  const Api = require('./Api-f5280a80.js');
11
- const checkPkgVersion = require('./check-pkg-version-f5a3d421.js');
12
- require('./package-e8aa0c51.js');
11
+ require('./package-d34fcfa5.js');
13
12
  require('./utils-7a478c37.js');
14
13
 
15
14
  class ProvisionService {
@@ -39,7 +38,7 @@ const PaymentProvisioning = class {
39
38
  }
40
39
  componentWillLoad() {
41
40
  checkPkgVersion.checkPkgVersion();
42
- this.analytics = new Analytics.JustifiAnalytics(this);
41
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
43
42
  this.initializeApi();
44
43
  }
45
44
  disconnectedCallback() {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const lodash = require('./lodash-dbf6a6a4.js');
7
7
  const paymentsListParamsState = require('./payments-list-params-state-442d9944.js');
8
- const parts = require('./parts-c2655003.js');
8
+ const parts = require('./parts-1fb925c2.js');
9
9
  const styledHost = require('./styled-host-94309bab.js');
10
10
  const utils = require('./utils-337befa9.js');
11
11
  require('./index-d2d0b181.js');
@@ -55,8 +55,8 @@ const PaymentsListFilters = class {
55
55
  }
56
56
  render() {
57
57
  const filterMenuParams = Object.assign({}, paymentsListParamsState.filterParams);
58
- return (index.h(styledHost.StyledHost, { key: 'fc2c0642fefbbd5e290e445bb652d4a6bf878855' }, index.h("table-filters-menu", { key: '0991a2c0ac9977236ad3ecae431b6ec572116452', params: filterMenuParams, clearParams: paymentsListParamsState.clearParams, part: parts.paymentsListFilterMenu }, index.h("div", { key: 'fc74b64ab82764a35b9dc41ad6718537b3abe794', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: '862104a2f6a1a1a383557674e8ddd530a9911d06', class: "p-2" }, index.h("form-control-text", { key: '59ca6de9b8bf3b0ea5dcba8ce03c8d56284fe389', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || paymentsListParamsState.filterParams.payment_id, disabled: !!this.paymentId, part: parts.paymentIdPaymentsListFilterParam })), index.h("div", { key: 'e63dcf0e3ff092f10a42aef36dde96155cba1630', class: "p-2" }, index.h("form-control-text", { key: '96a2dcfcca5ae79d7a90b37fc75b79ec84947604', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || paymentsListParamsState.filterParams.terminal_id, disabled: !!this.terminalId, part: parts.terminalIdPaymentsListFilterParam })), index.h("div", { key: 'ba6dd2eab598382e10dd250805b393acfeac9567', class: "p-2" }, index.h("form-control-select", { key: '8d537d77bd56aca19fc1999fd64cf4b3cd92c51f', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || paymentsListParamsState.filterParams.payment_status, disabled: !!this.paymentStatus, part: parts.paymentStatusPaymentsListFilterParam })), index.h("div", { key: '6c077d20829125817032eac487e0f8e9f86f5dcb', class: "p-2" }, index.h("form-control-date", { key: '97689bfe73b875a1355bc2ff114c554f15f61490', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
59
- utils.convertToLocal(paymentsListParamsState.filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: parts.createdAfterPaymentsListFilterParam })), index.h("div", { key: 'dcdaf5b0068795b46b19302c2bdd532947e8fc00', class: "p-2" }, index.h("form-control-date", { key: '991f8fc8e7f3af364db40f92e43d90cd40714e6d', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
58
+ return (index.h(styledHost.StyledHost, { key: 'e86e4d5f0a36516103a04539fd9ba2d1b698a06c' }, index.h("table-filters-menu", { key: 'bf4986bea9280046e8c5719dfdba6390d0cc7419', params: filterMenuParams, clearParams: paymentsListParamsState.clearParams, part: parts.paymentsListFilterMenu }, index.h("div", { key: 'c9e898c5e4944f97ba66a8b72d6f940fce47f3f3', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: '02eb01fee1165a1cd7174aa066147812d7a9cb44', class: "p-2" }, index.h("form-control-text", { key: 'cbeeef72894b2016d101b933412b797827513dd2', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || paymentsListParamsState.filterParams.payment_id, disabled: !!this.paymentId, part: parts.paymentIdPaymentsListFilterParam })), index.h("div", { key: '5daedbb20682ad6b295049a865c3377e2ef79d8a', class: "p-2" }, index.h("form-control-text", { key: '26cd105c075114cfd062fccde5500f2eeb55888b', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || paymentsListParamsState.filterParams.terminal_id, disabled: !!this.terminalId, part: parts.terminalIdPaymentsListFilterParam })), index.h("div", { key: '92349a4ebb343af3a8d54601fea4c177c2ff14b2', class: "p-2" }, index.h("form-control-select", { key: '0e5f7cf57a22d3eeb6e4aebdbac2fe1bb13288eb', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || paymentsListParamsState.filterParams.payment_status, disabled: !!this.paymentStatus, part: parts.paymentStatusPaymentsListFilterParam })), index.h("div", { key: '5d5cc079285045a858bfbcf9646a54b8f4c70b8b', class: "p-2" }, index.h("form-control-date", { key: 'b8fb06fa8506503bcf89c50523dd8e036852557c', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
59
+ utils.convertToLocal(paymentsListParamsState.filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: parts.createdAfterPaymentsListFilterParam })), index.h("div", { key: '3d6a1de1b08e1a326e107e60c78580848ffdda19', class: "p-2" }, index.h("form-control-date", { key: '6f7bf72ac396429a3d8318ee17d5459147a4f60e', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
60
60
  utils.convertToLocal(paymentsListParamsState.filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: parts.createdBeforePaymentsListFilterParam }))))));
61
61
  }
62
62
  };
@@ -3,25 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const payment_service = require('./payment.service-f53022c3.js');
6
+ const payment_service = require('./payment.service-f369b33c.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
- require('./Checkout-1c07dc32.js');
8
+ require('./Checkout-eef27045.js');
9
9
  require('./Pagination-0da8f095.js');
10
10
  const Payment = require('./Payment-c47ed1e1.js');
11
- require('./SubAccount-b4811a8e.js');
11
+ require('./SubAccount-df3d28dc.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
- const Analytics = require('./Analytics-2fb20059.js');
15
- const checkPkgVersion = require('./check-pkg-version-f5a3d421.js');
14
+ const checkPkgVersion = require('./check-pkg-version-1f8b660c.js');
16
15
  const styledHost = require('./styled-host-94309bab.js');
17
- const paymentsTable = require('./payments-table-c58e3ca8.js');
16
+ const paymentsTable = require('./payments-table-98b4e5e3.js');
18
17
  require('./Api-f5280a80.js');
19
18
  require('./utils-337befa9.js');
20
19
  require('./Dispute-eb6bad54.js');
21
- require('./package-e8aa0c51.js');
22
- require('./payments-status-92abe577.js');
23
- require('./badge-86a6a7f8.js');
24
- require('./parts-c2655003.js');
20
+ require('./package-d34fcfa5.js');
21
+ require('./payments-status-ffdc54ff.js');
22
+ require('./badge-79e56b99.js');
23
+ require('./parts-1fb925c2.js');
25
24
 
26
25
  const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError, final }) => {
27
26
  var _a, _b;
@@ -72,7 +71,7 @@ const PaymentsList = class {
72
71
  }
73
72
  componentWillLoad() {
74
73
  checkPkgVersion.checkPkgVersion();
75
- this.analytics = new Analytics.JustifiAnalytics(this);
74
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
76
75
  this.initializeGetPayments();
77
76
  }
78
77
  disconnectedCallback() {
@@ -100,7 +99,7 @@ const PaymentsList = class {
100
99
  }
101
100
  }
102
101
  render() {
103
- return (index.h(styledHost.StyledHost, { key: 'e03e05c3cb3c8dbaf0a5e982958345feccec1902' }, index.h("payments-list-core", { key: '05f2b38a6a854e2e08bdd559e7e8dfab2d80f398', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
102
+ return (index.h(styledHost.StyledHost, { key: 'ade68405b7b039032dc8d4a271bdafd6b5b3dfe8' }, index.h("payments-list-core", { key: '30844738130c05a96bd93d670bad14d544368fb2', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
104
103
  }
105
104
  static get watchers() { return {
106
105
  "accountId": ["propChanged"],
@@ -3,22 +3,21 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const getPayoutCsv = require('./get-payout-csv-13d68dab.js');
6
+ const getPayoutCsv = require('./get-payout-csv-11a983a0.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
- require('./Checkout-1c07dc32.js');
8
+ require('./Checkout-eef27045.js');
9
9
  require('./Pagination-0da8f095.js');
10
10
  require('./Payment-c47ed1e1.js');
11
- const SubAccount = require('./SubAccount-b4811a8e.js');
11
+ const SubAccount = require('./SubAccount-df3d28dc.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
- const utils$1 = require('./utils-7c5b2837.js');
15
- const Analytics = require('./Analytics-2fb20059.js');
16
- const checkPkgVersion = require('./check-pkg-version-f5a3d421.js');
14
+ const utils$1 = require('./utils-3e3b8061.js');
15
+ const checkPkgVersion = require('./check-pkg-version-1f8b660c.js');
17
16
  require('./Api-f5280a80.js');
18
17
  require('./utils-337befa9.js');
19
18
  require('./Dispute-eb6bad54.js');
20
- require('./parts-c2655003.js');
21
- require('./package-e8aa0c51.js');
19
+ require('./parts-1fb925c2.js');
20
+ require('./package-d34fcfa5.js');
22
21
 
23
22
  const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
24
23
  var _a;
@@ -66,7 +65,7 @@ const PayoutDetails = class {
66
65
  }
67
66
  componentWillLoad() {
68
67
  checkPkgVersion.checkPkgVersion();
69
- this.analytics = new Analytics.JustifiAnalytics(this);
68
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
70
69
  this.initializeServices();
71
70
  }
72
71
  disconnectedCallback() {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const payoutsListParamsState = require('./payouts-list-params-state-033b76d6.js');
7
- const parts = require('./parts-c2655003.js');
7
+ const parts = require('./parts-1fb925c2.js');
8
8
  const styledHost = require('./styled-host-94309bab.js');
9
9
  const utils = require('./utils-337befa9.js');
10
10
  require('./index-d2d0b181.js');
@@ -35,8 +35,8 @@ const PayoutsListFilters = class {
35
35
  }
36
36
  render() {
37
37
  const filterMenuParams = Object.assign({}, payoutsListParamsState.filterParams);
38
- return (index.h(styledHost.StyledHost, { key: '195227f14aa0fc371cc2ceb62089b26df8491525' }, index.h("table-filters-menu", { key: '86cc1b04b210cf0cd3fc422438b1cdfc7c0b4242', params: filterMenuParams, clearParams: payoutsListParamsState.clearParams, part: parts.payoutsListFilterMenu }, index.h("div", { key: 'c75c167f849c5f0558bf7b0569f6f79083b858f0', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: '09d46810296de9dc272f66ce2bd3ba726ebc6386', class: "p-2" }, index.h("form-control-date", { key: '0bbd9294c788f2dada3e8630e32619e1730f7b40', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdAfter, { showInputDate: true }) ||
39
- utils.convertToLocal(payoutsListParamsState.filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: parts.createdAfterPayoutsListFilterParam })), index.h("div", { key: 'c238988bd2b31b0374e515713fc2c55f59d6f9ba', class: "p-2" }, index.h("form-control-date", { key: '188106d28d4ac201e48b45e3ce417f26621af46a', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdBefore, { showInputDate: true }) ||
38
+ return (index.h(styledHost.StyledHost, { key: 'fca8f3d0daf92026b7d3cccdd096c8650eb31d28' }, index.h("table-filters-menu", { key: 'b166ff52682804bd241866ffbe53ada0cf6133e8', params: filterMenuParams, clearParams: payoutsListParamsState.clearParams, part: parts.payoutsListFilterMenu }, index.h("div", { key: 'f72774348aac13463934af8c8bfb3aa9b29a3942', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: '87ee14df90cd83394e573f1f4e75d315cd48b2d3', class: "p-2" }, index.h("form-control-date", { key: 'f14e2dd16a24d8f6ac41ed110bdf2e5f0e7b0389', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdAfter, { showInputDate: true }) ||
39
+ utils.convertToLocal(payoutsListParamsState.filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: parts.createdAfterPayoutsListFilterParam })), index.h("div", { key: 'fe9b41fcc98571f9f5f477a0006a2a00a5bdba1c', class: "p-2" }, index.h("form-control-date", { key: '9ab09d81f389f410ea7d1d533a0f25995d261aef', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdBefore, { showInputDate: true }) ||
40
40
  utils.convertToLocal(payoutsListParamsState.filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: parts.createdBeforePayoutsListFilterParam }))))));
41
41
  }
42
42
  };
@@ -4,25 +4,24 @@ 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
- const Analytics = require('./Analytics-2fb20059.js');
8
- const checkPkgVersion = require('./check-pkg-version-f5a3d421.js');
9
- const getPayoutCsv = require('./get-payout-csv-13d68dab.js');
10
- require('./Checkout-1c07dc32.js');
7
+ const checkPkgVersion = require('./check-pkg-version-1f8b660c.js');
8
+ const getPayoutCsv = require('./get-payout-csv-11a983a0.js');
9
+ require('./Checkout-eef27045.js');
11
10
  require('./Pagination-0da8f095.js');
12
11
  require('./Payment-c47ed1e1.js');
13
- const SubAccount = require('./SubAccount-b4811a8e.js');
12
+ const SubAccount = require('./SubAccount-df3d28dc.js');
14
13
  require('./Document-0b828345.js');
15
14
  const utils = require('./utils-7a478c37.js');
16
- const getSubaccounts = require('./get-subaccounts-b2e6ab82.js');
15
+ const getSubaccounts = require('./get-subaccounts-224f9497.js');
17
16
  const styledHost = require('./styled-host-94309bab.js');
18
- const payoutsTable = require('./payouts-table-70fc1498.js');
19
- require('./package-e8aa0c51.js');
17
+ const payoutsTable = require('./payouts-table-ecfb826b.js');
18
+ require('./package-d34fcfa5.js');
20
19
  require('./Api-f5280a80.js');
21
20
  require('./utils-337befa9.js');
22
21
  require('./Dispute-eb6bad54.js');
23
- require('./payouts-status-703d62af.js');
24
- require('./badge-86a6a7f8.js');
25
- require('./parts-c2655003.js');
22
+ require('./payouts-status-64fd0c68.js');
23
+ require('./badge-79e56b99.js');
24
+ require('./parts-1fb925c2.js');
26
25
 
27
26
  const tableExportedParts = `
28
27
  table-head,table-head-row,table-head-cell,table-body,table-row,table-row-even,
@@ -78,7 +77,7 @@ const PayoutsList = class {
78
77
  }
79
78
  componentWillLoad() {
80
79
  checkPkgVersion.checkPkgVersion();
81
- this.analytics = new Analytics.JustifiAnalytics(this);
80
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
82
81
  this.initializeGetData();
83
82
  }
84
83
  disconnectedCallback() {
@@ -122,7 +121,7 @@ const PayoutsList = class {
122
121
  }
123
122
  }
124
123
  render() {
125
- return (index.h(styledHost.StyledHost, { key: '259a62df9d161fc97d731ccc8488f556580f5378', exportedparts: tableExportedParts }, index.h("payouts-list-core", { key: '9733d459d09173f4b9dec953d9c763910ac54e1d', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
124
+ return (index.h(styledHost.StyledHost, { key: '7456971cf903af6fd77385fd01dac69760b9df11', exportedparts: tableExportedParts }, index.h("payouts-list-core", { key: '6bf911cb5a793f49fb19903013c48e6df93f9866', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
126
125
  }
127
126
  static get watchers() { return {
128
127
  "accountId": ["propChanged"],
@@ -6,10 +6,10 @@ const index = require('./index-5b9a3b5f.js');
6
6
  const index_esm = require('./index.esm-a397536a.js');
7
7
  const Api = require('./Api-f5280a80.js');
8
8
  require('./ComponentError-233ac749.js');
9
- require('./Checkout-1c07dc32.js');
9
+ require('./Checkout-eef27045.js');
10
10
  require('./Pagination-0da8f095.js');
11
11
  require('./Payment-c47ed1e1.js');
12
- require('./SubAccount-b4811a8e.js');
12
+ require('./SubAccount-df3d28dc.js');
13
13
  require('./Document-0b828345.js');
14
14
  const formInputMasks = require('./form-input-masks-0879c139.js');
15
15
  const styledHost = require('./styled-host-94309bab.js');
@@ -99,7 +99,7 @@ const RefundForm = class {
99
99
  }
100
100
  render() {
101
101
  var _a;
102
- return (index.h(styledHost.StyledHost, { key: '10aa3a31daedcb1bc4213abb3062b09745427370' }, index.h("h1", { key: '1b0b9c6a22dda364275f6da46e8e58015eb3378d' }, "Refund"), this.refundInfoText && (index.h("div", { key: '1d51f74c4e2c6419afe046a95f23f16f99209982', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, index.h("img", { key: '4d6b0140f2bd3666000df1374a2ab6573ce2a7ee', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), index.h("p", { key: '1e740ebd882fd08df43d23919325f6556ac04b29', class: "m-0", innerHTML: this.refundInfoText }))), index.h("form", { key: '242bfd0f2a30be1fdaa477341e2d480108633551', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, index.h("div", { key: '681a00fc41eb1701f8f189fa5139bf42ce43453f', class: "form-group" }, index.h("form-control-monetary", { key: '2f5a906d7a415391a339236d7e7e189db4febd95', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: formInputMasks.CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), index.h("div", { key: '9f0f6b5c2f5010ba1c51757bf4667ced40615738', class: "form-group" }, index.h("form-control-text", { key: 'c4f9a4431224763820dacc404ea1b693630a7ede', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (index.h("div", { key: 'df5d528c865684da0c7583114a7d02b6cb6d5a6e', class: "form-group d-flex flex-row-reverse" }, index.h("button", { key: '05af832414b65d41760ca6d8b001a4affbf807c4', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
102
+ return (index.h(styledHost.StyledHost, { key: '7becd3fcc3a0beefef5efdb860616aa60f7e61ad' }, index.h("h1", { key: '7125ac0e8452db4013d9065054aca8d65ead0138' }, "Refund"), this.refundInfoText && (index.h("div", { key: 'b60dbcac95e75469bab9e575efe5eba40d629693', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, index.h("img", { key: '231e5bcb4fdd82ea4e9bb0597bfe194759eb8e22', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), index.h("p", { key: '21faa4040e99ee142e0f06246fc8317dcc5dfa28', class: "m-0", innerHTML: this.refundInfoText }))), index.h("form", { key: '4a8671c7f833279c14e29ae0f4054586fa7ecbba', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, index.h("div", { key: 'd4296520cb377a6b61547615a2b95a3088ace83a', class: "form-group" }, index.h("form-control-monetary", { key: 'dbe00249e022722aea24f9967408625b7460f0f7', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: formInputMasks.CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), index.h("div", { key: '765d36337fc31bd6ade5b9a94397b83e7f46e2a8', class: "form-group" }, index.h("form-control-text", { key: '3f3bc7e95568944d876fcf95e98ba9d871479096', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (index.h("div", { key: '4576ce0e5d04f063fd53045845fa5a4cf5bc6383', class: "form-group d-flex flex-row-reverse" }, index.h("button", { key: '6165726b003006432d82ce5792a961ea2f42d654', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
103
103
  }
104
104
  };
105
105
 
@@ -4,10 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const utils = require('./utils-337befa9.js');
7
- const insuranceState = require('./insurance-state-ba0c39a9.js');
8
- const parts = require('./parts-c2655003.js');
7
+ const insuranceState = require('./insurance-state-66c9bea7.js');
8
+ const parts = require('./parts-1fb925c2.js');
9
9
  const styledHost = require('./styled-host-94309bab.js');
10
- const skeleton = require('./skeleton-84102a44.js');
10
+ const skeleton = require('./skeleton-2ae76f16.js');
11
11
  require('./index-d2d0b181.js');
12
12
 
13
13
  const SeasonInterruptionInsuranceLoading = () => (index.h("div", { class: "row gap-3" },
@@ -5,17 +5,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const Api = require('./Api-f5280a80.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
- require('./Checkout-1c07dc32.js');
8
+ require('./Checkout-eef27045.js');
9
9
  require('./Pagination-0da8f095.js');
10
10
  require('./Payment-c47ed1e1.js');
11
- require('./SubAccount-b4811a8e.js');
11
+ require('./SubAccount-df3d28dc.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
- const Analytics = require('./Analytics-2fb20059.js');
15
- const checkPkgVersion = require('./check-pkg-version-f5a3d421.js');
14
+ const checkPkgVersion = require('./check-pkg-version-1f8b660c.js');
16
15
  require('./utils-337befa9.js');
17
16
  require('./Dispute-eb6bad54.js');
18
- require('./package-e8aa0c51.js');
17
+ require('./package-d34fcfa5.js');
19
18
 
20
19
  class InsuranceService {
21
20
  async fetchQuote(authToken, payload) {
@@ -109,7 +108,7 @@ const SeasonInterruptionInsurance = class {
109
108
  }
110
109
  componentWillLoad() {
111
110
  checkPkgVersion.checkPkgVersion();
112
- this.analytics = new Analytics.JustifiAnalytics(this);
111
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
113
112
  this.initializeServiceMethods();
114
113
  }
115
114
  disconnectedCallback() {
@@ -4,37 +4,103 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const styledHost = require('./styled-host-94309bab.js');
7
- const checkPkgVersion = require('./check-pkg-version-f5a3d421.js');
8
- const terminalOrdersTable = require('./terminal-orders-table-61081532.js');
9
- require('./package-e8aa0c51.js');
10
- require('./parts-c2655003.js');
7
+ const checkPkgVersion = require('./check-pkg-version-1f8b660c.js');
8
+ const terminalOrdersTable = require('./terminal-orders-table-f1bed365.js');
9
+ const ComponentError = require('./ComponentError-233ac749.js');
10
+ require('./Checkout-eef27045.js');
11
+ require('./Pagination-0da8f095.js');
12
+ require('./Payment-c47ed1e1.js');
13
+ const SubAccount = require('./SubAccount-df3d28dc.js');
14
+ require('./Document-0b828345.js');
15
+ const utils = require('./utils-7a478c37.js');
16
+ const Api = require('./Api-f5280a80.js');
17
+ require('./package-d34fcfa5.js');
18
+ require('./parts-1fb925c2.js');
19
+ require('./utils-337befa9.js');
20
+ require('./badge-79e56b99.js');
21
+ require('./Dispute-eb6bad54.js');
22
+
23
+ const makeGetTerminalOrders = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError, final }) => {
24
+ var _a, _b;
25
+ try {
26
+ const response = await service.fetchTerminalOrders(id, authToken, params, apiOrigin);
27
+ if (!response.error) {
28
+ const pagingInfo = Object.assign({}, response.page_info);
29
+ const terminalOrders = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new SubAccount.TerminalOrder(dataItem))) || [];
30
+ onSuccess({ terminalOrders, pagingInfo });
31
+ }
32
+ else {
33
+ const responseError = utils.getErrorMessage(response.error);
34
+ const code = utils.getErrorCode((_b = response.error) === null || _b === void 0 ? void 0 : _b.code);
35
+ return onError({
36
+ error: responseError,
37
+ code,
38
+ severity: ComponentError.ComponentErrorSeverity.ERROR,
39
+ });
40
+ }
41
+ }
42
+ catch (error) {
43
+ const code = utils.getErrorCode(error === null || error === void 0 ? void 0 : error.code);
44
+ return onError({
45
+ error: error.message || error,
46
+ code,
47
+ severity: ComponentError.ComponentErrorSeverity.ERROR,
48
+ });
49
+ }
50
+ finally {
51
+ return final();
52
+ }
53
+ };
54
+
55
+ class TerminalOrderService {
56
+ async fetchTerminalOrders(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
57
+ const headers = { account: accountId };
58
+ const api = Api.Api({ authToken, apiOrigin });
59
+ const endpoint = 'terminals/orders';
60
+ return api.get(endpoint, params, null, headers);
61
+ }
62
+ }
11
63
 
12
64
  const TerminalOrdersList = class {
13
65
  constructor(hostRef) {
14
66
  index.registerInstance(this, hostRef);
67
+ this.errorEvent = index.createEvent(this, "error-event", 7);
68
+ this.handleErrorEvent = (event) => {
69
+ this.errorMessage = event.detail.message;
70
+ this.errorEvent.emit(event.detail);
71
+ };
15
72
  this.getTerminalOrders = undefined;
16
73
  this.errorMessage = null;
17
- this.businessId = undefined;
74
+ this.accountId = undefined;
18
75
  this.authToken = undefined;
19
76
  this.apiOrigin = "https://wc-proxy.justifi.ai";
20
77
  this.columns = terminalOrdersTable.defaultColumnsKeys;
21
78
  }
22
79
  componentWillLoad() {
23
80
  checkPkgVersion.checkPkgVersion();
24
- this.initializeGetTerminalOrders();
81
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
82
+ this.initializeGetData();
25
83
  }
26
- initializeGetTerminalOrders() {
27
- if (this.businessId && this.authToken) {
28
- this.getTerminalOrders = () => {
29
- console.log('getTerminalOrders');
30
- };
84
+ initializeGetData() {
85
+ if (this.accountId && this.authToken) {
86
+ this.getTerminalOrders = makeGetTerminalOrders({
87
+ id: this.accountId,
88
+ authToken: this.authToken,
89
+ service: new TerminalOrderService(),
90
+ apiOrigin: this.apiOrigin
91
+ });
31
92
  }
32
93
  else {
33
- this.errorMessage = 'Business ID and Auth Token are required';
94
+ this.errorMessage = 'Account ID and Auth Token are required';
95
+ this.errorEvent.emit({
96
+ errorCode: ComponentError.ComponentErrorCodes.MISSING_PROPS,
97
+ message: this.errorMessage,
98
+ severity: ComponentError.ComponentErrorSeverity.ERROR,
99
+ });
34
100
  }
35
101
  }
36
102
  render() {
37
- return (index.h(styledHost.StyledHost, { key: '54ebb6b9b12b123caaa6d5190d0a1c6c2198d3e3' }, index.h("terminal-orders-list-core", { key: '99376fd9a6b5657d8777a4873f16b98a4bcf03cf', getTerminalOrders: this.getTerminalOrders, columns: this.columns })));
103
+ return (index.h(styledHost.StyledHost, { key: '2a268ef2e2128e8a0ed23092c78caa7f59539c6f' }, index.h("terminal-orders-list-core", { key: 'a56b31da3f4672a7f63aaff473dbdcb985eed3fc', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
38
104
  }
39
105
  };
40
106
 
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const lodash = require('./lodash-dbf6a6a4.js');
7
7
  const terminalsListParamsState = require('./terminals-list-params-state-236f06f6.js');
8
- const parts = require('./parts-c2655003.js');
8
+ const parts = require('./parts-1fb925c2.js');
9
9
  const styledHost = require('./styled-host-94309bab.js');
10
10
  require('./ComponentError-233ac749.js');
11
- require('./Checkout-1c07dc32.js');
11
+ require('./Checkout-eef27045.js');
12
12
  require('./Pagination-0da8f095.js');
13
13
  require('./Payment-c47ed1e1.js');
14
- const SubAccount = require('./SubAccount-b4811a8e.js');
14
+ const SubAccount = require('./SubAccount-df3d28dc.js');
15
15
  require('./Document-0b828345.js');
16
16
  require('./index-d2d0b181.js');
17
17
  require('./utils-337befa9.js');
@@ -49,7 +49,7 @@ const TerminalsListFilters = class {
49
49
  }
50
50
  render() {
51
51
  const filterMenuParams = Object.assign({}, terminalsListParamsState.filterParams);
52
- return (index.h(styledHost.StyledHost, { key: '9e55f56855ebf7f0755c5750bfe4ae57bcc2a48e' }, index.h("table-filters-menu", { key: 'dae12779f49c3264cb3a5362cc4e4edc2aa6447c', params: filterMenuParams, clearParams: terminalsListParamsState.clearParams, part: parts.terminalsListFilterMenu }, index.h("div", { key: '9767d61b94a7de6bc290a1dc97e5ecdb7e75beb8', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: 'cab20a5aab288920f205835c4343b44502cc4a1e', class: "p-2" }, index.h("form-control-text", { key: '58600a426dded8a9efc05e444439c36e3eab5bc8', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || terminalsListParamsState.filterParams.terminal_id, disabled: !!this.terminalId, part: parts.terminalIdTerminalsListFilterParam })), index.h("div", { key: '81f513ae03435ea2c97e43f460aab430ebd4a490', class: "p-2" }, index.h("form-control-select", { key: 'ee04592e4f117f7b58984932d10081a4383d7a65', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || terminalsListParamsState.filterParams.status, disabled: !!this.terminalStatus, part: parts.terminalStatusTerminalsListFilterParam }))))));
52
+ return (index.h(styledHost.StyledHost, { key: '2fc002da23470b942ac8885ba0ee205478a3e975' }, index.h("table-filters-menu", { key: '8591f53c5e105d26955940ae7e0be64b084f31ec', params: filterMenuParams, clearParams: terminalsListParamsState.clearParams, part: parts.terminalsListFilterMenu }, index.h("div", { key: 'e2f0de98ac031d768529654d3b8a5ba43e62269b', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: 'a62823375c9f3b214f5ceff4163468fa91136cf6', class: "p-2" }, index.h("form-control-text", { key: '8a314678ce052a5f59e2c590d73df72a46caf0db', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || terminalsListParamsState.filterParams.terminal_id, disabled: !!this.terminalId, part: parts.terminalIdTerminalsListFilterParam })), index.h("div", { key: '8462f83b1ba4f76044567f7c8da4fb84a8b932f7', class: "p-2" }, index.h("form-control-select", { key: '40cc106e9a37f76d4e072ede96b0633e5fb7c1e9', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || terminalsListParamsState.filterParams.status, disabled: !!this.terminalStatus, part: parts.terminalStatusTerminalsListFilterParam }))))));
53
53
  }
54
54
  };
55
55
 
@@ -4,36 +4,23 @@ 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
- const Analytics = require('./Analytics-2fb20059.js');
8
- const checkPkgVersion = require('./check-pkg-version-f5a3d421.js');
9
- const Api = require('./Api-f5280a80.js');
10
- require('./Checkout-1c07dc32.js');
7
+ const checkPkgVersion = require('./check-pkg-version-1f8b660c.js');
8
+ const terminal_service = require('./terminal.service-4fd34835.js');
9
+ require('./Checkout-eef27045.js');
11
10
  require('./Pagination-0da8f095.js');
12
11
  require('./Payment-c47ed1e1.js');
13
- const SubAccount = require('./SubAccount-b4811a8e.js');
12
+ const SubAccount = require('./SubAccount-df3d28dc.js');
14
13
  require('./Document-0b828345.js');
15
14
  const utils = require('./utils-7a478c37.js');
16
- const getSubaccounts = require('./get-subaccounts-b2e6ab82.js');
15
+ const getSubaccounts = require('./get-subaccounts-224f9497.js');
17
16
  const styledHost = require('./styled-host-94309bab.js');
18
- const terminalsTable = require('./terminals-table-db58a0c0.js');
19
- require('./package-e8aa0c51.js');
17
+ const terminalsTable = require('./terminals-table-30298ce4.js');
18
+ require('./package-d34fcfa5.js');
19
+ require('./Api-f5280a80.js');
20
20
  require('./utils-337befa9.js');
21
21
  require('./Dispute-eb6bad54.js');
22
- require('./badge-86a6a7f8.js');
23
- require('./parts-c2655003.js');
24
-
25
- class TerminalService {
26
- async fetchTerminals(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
27
- const headers = { Account: accountId };
28
- const api = Api.Api({ authToken, apiOrigin });
29
- const endpoint = 'terminals';
30
- return api.get(endpoint, params, null, headers);
31
- }
32
- async fetchTerminal(terminalId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
33
- const endpoint = `terminals/${terminalId}`;
34
- return Api.Api({ authToken, apiOrigin: apiOrigin }).get(endpoint);
35
- }
36
- }
22
+ require('./badge-79e56b99.js');
23
+ require('./parts-1fb925c2.js');
37
24
 
38
25
  const makeGetTerminals = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
39
26
  var _a, _b;
@@ -82,7 +69,7 @@ const TerminalsList = class {
82
69
  }
83
70
  componentWillLoad() {
84
71
  checkPkgVersion.checkPkgVersion();
85
- this.analytics = new Analytics.JustifiAnalytics(this);
72
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
86
73
  this.initializeGetData();
87
74
  }
88
75
  disconnectedCallback() {
@@ -100,7 +87,7 @@ const TerminalsList = class {
100
87
  this.getTerminals = makeGetTerminals({
101
88
  id: this.accountId,
102
89
  authToken: this.authToken,
103
- service: new TerminalService(),
90
+ service: new terminal_service.TerminalService(),
104
91
  apiOrigin: this.apiOrigin
105
92
  });
106
93
  }
@@ -124,7 +111,7 @@ const TerminalsList = class {
124
111
  }
125
112
  }
126
113
  render() {
127
- return (index.h(styledHost.StyledHost, { key: '1534781e6264057b7c780e6b44f4a7a66a561296' }, index.h("terminals-list-core", { key: '8c0fb664d5ebe4fedcf6e45046e931adffb9d381', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
114
+ return (index.h(styledHost.StyledHost, { key: '1765197e56fd03442cc4d30a24d090b4dfd86405' }, index.h("terminals-list-core", { key: '4e880db7702649486b2cb8e743b0f7d7e78a72c0', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
128
115
  }
129
116
  static get watchers() { return {
130
117
  "accountId": ["propChanged"],
@@ -3,18 +3,17 @@
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');
6
+ const button = require('./button-797bb3cc.js');
7
7
  const styledHost = require('./styled-host-94309bab.js');
8
- const checkPkgVersion = require('./check-pkg-version-f5a3d421.js');
9
- const Analytics = require('./Analytics-2fb20059.js');
8
+ const checkPkgVersion = require('./check-pkg-version-1f8b660c.js');
10
9
  const ComponentError = require('./ComponentError-233ac749.js');
11
- require('./Checkout-1c07dc32.js');
10
+ require('./Checkout-eef27045.js');
12
11
  require('./Pagination-0da8f095.js');
13
12
  require('./Payment-c47ed1e1.js');
14
- require('./SubAccount-b4811a8e.js');
13
+ require('./SubAccount-df3d28dc.js');
15
14
  require('./Document-0b828345.js');
16
- require('./parts-c2655003.js');
17
- require('./package-e8aa0c51.js');
15
+ require('./parts-1fb925c2.js');
16
+ require('./package-d34fcfa5.js');
18
17
  require('./Api-f5280a80.js');
19
18
  require('./utils-337befa9.js');
20
19
  require('./Dispute-eb6bad54.js');
@@ -32,12 +31,12 @@ const TokenizePaymentMethod = class {
32
31
  this.disableBankAccount = undefined;
33
32
  this.hideSubmitButton = undefined;
34
33
  this.hideCardBillingForm = undefined;
35
- this.iframeOrigin = "https://components.justifi.ai/v2";
34
+ this.iframeOrigin = "https://components.justifi.ai";
36
35
  this.isLoading = false;
37
36
  }
38
37
  componentWillLoad() {
39
38
  checkPkgVersion.checkPkgVersion();
40
- this.analytics = new Analytics.JustifiAnalytics(this);
39
+ this.analytics = new checkPkgVersion.JustifiAnalytics(this);
41
40
  }
42
41
  async tokenizePaymentMethod(event) {
43
42
  event && event.preventDefault();
@@ -71,7 +70,7 @@ const TokenizePaymentMethod = class {
71
70
  this.paymentMethodOptionsRef.fillBillingForm(fields);
72
71
  }
73
72
  render() {
74
- return (index.h(styledHost.StyledHost, { key: 'ac989aa84f6262ff1b72a88fc7c4ebb0e62175dc' }, index.h("form", { key: '482ebf3ca3ac67738fdd0243de8d29ad66754313' }, index.h("fieldset", { key: 'e563783b34d570bafd1788949a486454ce70ab4a' }, index.h("div", { key: 'a42f5625f5d0860153f4260aa9c5f76f4afcad06', class: "row gy-3" }, index.h("div", { key: 'f64bb331c9922be711bfdd9a50d76530773867c0', class: "col-12" }, index.h("justifi-payment-method-options", { key: 'dc23821a9130ee6435c92e20574a0bf056e1c29c', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, authToken: this.authToken, "account-id": this.accountId, iframeOrigin: this.iframeOrigin })), index.h("div", { key: '29ec96487c4a5d54c4883c4cfe4a6ee4a309042f', class: "col-12" }, index.h(button.Button, { key: 'fe116e392e79debf6a858c993ba11a21d417d998', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText || 'Submit')))))));
73
+ return (index.h(styledHost.StyledHost, { key: '34b41a932b7388b76084e74f834fae1dc1bde307' }, index.h("form", { key: 'b2dfd8c275f5ab8998c9560279e285e87f993771' }, index.h("fieldset", { key: 'bf6690ee43aae5418a3d979080e20e548afbd83a' }, index.h("div", { key: '0e66b6f3d55178f74ebd2e854597c68df598f38d', class: "row gy-3" }, index.h("div", { key: '970b07bf9242730d83dfb9498184e3e587609b68', class: "col-12" }, index.h("justifi-payment-method-options", { key: '0e11e6d59d9297da681956aa987d55df6e809a5b', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, authToken: this.authToken, "account-id": this.accountId, iframeOrigin: this.iframeOrigin })), index.h("div", { key: 'a1380b7f8e78db5219047b48c0dede19734f7b50', class: "col-12" }, index.h(button.Button, { key: 'febf460cb8114c52d1c63a1c259e75e80a5ed5f2', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText || 'Submit')))))));
75
74
  }
76
75
  };
77
76