@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
@@ -4,7 +4,7 @@ const utils = require('./utils-337befa9.js');
4
4
 
5
5
  class Completion {
6
6
  constructor(data) {
7
- this.payment_mode = exports.ICheckoutPaymentMode[data.payment_mode];
7
+ this.payment_mode = ICheckoutPaymentMode[data.payment_mode];
8
8
  this.payment_token = data.payment_token;
9
9
  this.payment_status = data.payment_status;
10
10
  this.payment_response = data.payment_response;
@@ -50,7 +50,7 @@ class Checkout {
50
50
  var _a, _b, _c, _d, _e, _f;
51
51
  let paymentMode;
52
52
  if (!this.completions || this.completions.length === 0) {
53
- return exports.ICheckoutPaymentMode.unknown;
53
+ return ICheckoutPaymentMode.unknown;
54
54
  }
55
55
  const sortedCompletions = this.completions.sort((a, b) => {
56
56
  return new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime();
@@ -60,10 +60,10 @@ class Checkout {
60
60
  paymentMode = lastCompletion.payment_mode;
61
61
  }
62
62
  else if ((_c = (_b = (_a = lastCompletion.payment_response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.payment_method) === null || _c === void 0 ? void 0 : _c.card) {
63
- paymentMode = exports.ICheckoutPaymentMode.card;
63
+ paymentMode = ICheckoutPaymentMode.card;
64
64
  }
65
65
  else if ((_f = (_e = (_d = lastCompletion.payment_response) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.payment_method) === null || _f === void 0 ? void 0 : _f.bank_account) {
66
- paymentMode = exports.ICheckoutPaymentMode.bank_account;
66
+ paymentMode = ICheckoutPaymentMode.bank_account;
67
67
  }
68
68
  return paymentMode;
69
69
  }
@@ -73,7 +73,7 @@ class Checkout {
73
73
  }
74
74
  ;
75
75
  }
76
- exports.ICheckoutPaymentMode = void 0;
76
+ var ICheckoutPaymentMode;
77
77
  (function (ICheckoutPaymentMode) {
78
78
  ICheckoutPaymentMode["bnpl"] = "Buy Now Pay Later";
79
79
  ICheckoutPaymentMode["ecom"] = "E-commerce";
@@ -81,7 +81,12 @@ exports.ICheckoutPaymentMode = void 0;
81
81
  ICheckoutPaymentMode["bank_account"] = "Bank Account";
82
82
  ICheckoutPaymentMode["card_present"] = "Card Present";
83
83
  ICheckoutPaymentMode["unknown"] = "";
84
- })(exports.ICheckoutPaymentMode || (exports.ICheckoutPaymentMode = {}));
84
+ })(ICheckoutPaymentMode || (ICheckoutPaymentMode = {}));
85
+ exports.ICheckoutPaymentModeParam = void 0;
86
+ (function (ICheckoutPaymentModeParam) {
87
+ ICheckoutPaymentModeParam["bnpl"] = "bnpl";
88
+ ICheckoutPaymentModeParam["ecom"] = "ecom";
89
+ })(exports.ICheckoutPaymentModeParam || (exports.ICheckoutPaymentModeParam = {}));
85
90
  exports.ICheckoutStatus = void 0;
86
91
  (function (ICheckoutStatus) {
87
92
  ICheckoutStatus["created"] = "created";
@@ -65,6 +65,7 @@ class Terminal {
65
65
  this.platform_account_id = data.platform_account_id || '';
66
66
  this.provider = data.provider || '';
67
67
  this.provider_id = data.provider_id || '';
68
+ this.provider_serial_number = data.provider_serial_number || '';
68
69
  this.created_at = data.created_at || '';
69
70
  this.updated_at = data.updated_at || '';
70
71
  this.verified_at = data.verified_at || '';
@@ -72,6 +73,73 @@ class Terminal {
72
73
  }
73
74
  }
74
75
 
76
+ exports.TerminalOrderType = void 0;
77
+ (function (TerminalOrderType) {
78
+ TerminalOrderType["boardingOnly"] = "boarding_only";
79
+ TerminalOrderType["boardingShipping"] = "boarding_shipping";
80
+ })(exports.TerminalOrderType || (exports.TerminalOrderType = {}));
81
+ var TerminalOrderStatus;
82
+ (function (TerminalOrderStatus) {
83
+ TerminalOrderStatus["created"] = "created";
84
+ TerminalOrderStatus["submitted"] = "submitted";
85
+ TerminalOrderStatus["completed"] = "completed";
86
+ })(TerminalOrderStatus || (TerminalOrderStatus = {}));
87
+ class TerminalOrder {
88
+ constructor(data) {
89
+ this.id = data.id;
90
+ this.business_id = data.business_id;
91
+ this.account_id = data.account_id;
92
+ this.provider = data.provider || TerminalProviders.verifone;
93
+ this.order_items = [];
94
+ this.order_type = data.order_type;
95
+ this.order_status = data.order_status;
96
+ this.terminals = data.terminals;
97
+ this.created_at = data.created_at;
98
+ this.updated_at = data.updated_at;
99
+ }
100
+ get payload() {
101
+ return {
102
+ business_id: this.business_id,
103
+ account_id: this.account_id,
104
+ order_type: this.order_type,
105
+ order_items: this.order_items,
106
+ };
107
+ }
108
+ get totalQuantity() {
109
+ return this.order_items.reduce((acc, item) => acc + item.quantity, 0);
110
+ }
111
+ updateTerminal(model_name, quantity) {
112
+ // if quantity is 0, remove terminal
113
+ if (quantity === 0) {
114
+ this.order_items = this.order_items.filter((t) => t.model_name !== model_name);
115
+ return;
116
+ }
117
+ const terminal = this.order_items.find((t) => t.model_name === model_name);
118
+ if (terminal) {
119
+ terminal.quantity = quantity;
120
+ }
121
+ else {
122
+ this.order_items.push({ model_name, quantity });
123
+ }
124
+ }
125
+ }
126
+
127
+ var TerminalModelName;
128
+ (function (TerminalModelName) {
129
+ TerminalModelName["v400"] = "v400";
130
+ TerminalModelName["p400"] = "p400+";
131
+ TerminalModelName["e285"] = "e285";
132
+ })(TerminalModelName || (TerminalModelName = {}));
133
+ class TerminalModel {
134
+ constructor(data) {
135
+ this.id = data.id;
136
+ this.model_name = data.model_name;
137
+ this.description = data.description;
138
+ this.image_url = data.image_url;
139
+ this.help_url = data.help_url;
140
+ }
141
+ }
142
+
75
143
  var AccountType;
76
144
  (function (AccountType) {
77
145
  AccountType["test"] = "test";
@@ -109,3 +177,5 @@ class SubAccount {
109
177
  exports.Payout = Payout;
110
178
  exports.SubAccount = SubAccount;
111
179
  exports.Terminal = Terminal;
180
+ exports.TerminalModel = TerminalModel;
181
+ exports.TerminalOrder = TerminalOrder;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const utils$1 = require('./utils-7c5b2837.js');
6
+ const utils$1 = require('./utils-3e3b8061.js');
7
7
  const utils = require('./utils-337befa9.js');
8
- require('./parts-c2655003.js');
8
+ require('./parts-1fb925c2.js');
9
9
 
10
10
  const AdditionalQuestionsDetails = class {
11
11
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const parts = require('./parts-c2655003.js');
4
+ const parts = require('./parts-1fb925c2.js');
5
5
 
6
6
  exports.BadgeVariant = void 0;
7
7
  (function (BadgeVariant) {
@@ -4,18 +4,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  require('./ComponentError-233ac749.js');
7
- require('./Checkout-1c07dc32.js');
7
+ require('./Checkout-eef27045.js');
8
8
  require('./Pagination-0da8f095.js');
9
9
  require('./Payment-c47ed1e1.js');
10
- require('./SubAccount-b4811a8e.js');
10
+ require('./SubAccount-df3d28dc.js');
11
11
  const Document = require('./Document-0b828345.js');
12
12
  const businessFormOptions = require('./business-form-options-62e9c8ab.js');
13
13
  require('./event-types-180a85a9.js');
14
14
  const utils = require('./utils-bc03ca40.js');
15
15
  const utils$1 = require('./utils-337befa9.js');
16
- const parts = require('./parts-c2655003.js');
17
- const skeleton = require('./skeleton-84102a44.js');
18
- const formControlErrorText = require('./form-control-error-text-9905e3b8.js');
16
+ const parts = require('./parts-1fb925c2.js');
17
+ const skeleton = require('./skeleton-2ae76f16.js');
18
+ const formControlErrorText = require('./form-control-error-text-b782cdd0.js');
19
19
  require('./Dispute-eb6bad54.js');
20
20
  require('./Business-d88b77fd.js');
21
21
  require('./helpers-602962eb.js');
@@ -116,10 +116,10 @@ const FileInput = class {
116
116
  return part;
117
117
  }
118
118
  render() {
119
- return (index.h(index.Host, { key: '09e633d625a1f8f2233d80e8b999fcd7e4a16f62' }, index.h("div", { key: 'b788fd0963c0ab62d0f7e236fb47ea86430b522e', class: "form-group d-flex flex-column" }, index.h("div", { key: '1e7a11e13ec3c386c9f30b5cd38c3afa99c88da5', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '45cd0d97ae44c32b4d1e0d87187ac1871511c319', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'd312e4f181dfb18c0b86048960ec0a333760f290', helpText: this.helpText })), index.h("input", { key: '73ff59959c75dc99cccddde819ebbeb6bc1de4ab', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
119
+ return (index.h(index.Host, { key: '459b414fc9afaa62d0160d32fecd5c63df91ec8a' }, index.h("div", { key: '7ad619feb3c181f49c56a36613e0379f39811ce8', class: "form-group d-flex flex-column" }, index.h("div", { key: '0314577aa1bd7b28405960156b80800c6fcbc560', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '0745c59386189944bc564aa20c86a7f6e5be384d', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'e8fed0f244df3f854a1e9f8c1e0bab6f73371c4c', helpText: this.helpText })), index.h("input", { key: 'd03436b3841e8be14852fb156698441806658bf6', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
120
120
  this.isFocused = false;
121
121
  this.formControlBlur.emit();
122
- } }), index.h(formControlErrorText.FormControlErrorText, { key: 'cb9c8bd4f623ebd82bdbd9725805f6038b0e1f8c', errorText: this.errorText, name: this.name }))));
122
+ } }), index.h(formControlErrorText.FormControlErrorText, { key: '2b3f070c8793027a9c64b2572c21d150ba387979', errorText: this.errorText, name: this.name }))));
123
123
  }
124
124
  get el() { return index.getElement(this); }
125
125
  };
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const skeleton = require('./skeleton-84102a44.js');
6
+ const skeleton = require('./skeleton-2ae76f16.js');
7
7
  const iframeInputStylesState = require('./iframe-input-styles-state-d0de0b24.js');
8
- const parts = require('./parts-c2655003.js');
9
- const header3 = require('./header-3-5f78acd1.js');
8
+ const parts = require('./parts-1fb925c2.js');
9
+ const header3 = require('./header-3-f6642390.js');
10
10
  const Payment = require('./Payment-c47ed1e1.js');
11
11
  const utils = require('./utils-337befa9.js');
12
12
  require('./index-d2d0b181.js');
@@ -195,7 +195,7 @@ const HiddenInput = class {
195
195
  return parts.input;
196
196
  }
197
197
  render() {
198
- return (index.h(index.Host, { key: '7bfd14ae6eb04d3bccb6f95398213655bc5c1073' }, index.h("input", { key: 'a40b6c6b2fd4e217af572f2032b158cc0ad603d2', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
198
+ return (index.h(index.Host, { key: '5e5df7c2342492db0a92b0ec65f618561a2208fe' }, index.h("input", { key: '5dde25325cec14f6d96701243e58efca141d4b5e', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
199
199
  }
200
200
  };
201
201
 
@@ -7,10 +7,10 @@ const index_esm = require('./index.esm-a397536a.js');
7
7
  const schemaValidations = require('./schema-validations-47a256f4.js');
8
8
  const stateOptions = require('./state-options-4fbcb48a.js');
9
9
  const utils = require('./utils-bc03ca40.js');
10
- const formControlErrorText = require('./form-control-error-text-9905e3b8.js');
11
- const _package = require('./package-e8aa0c51.js');
10
+ const formControlErrorText = require('./form-control-error-text-b782cdd0.js');
11
+ const _package = require('./package-d34fcfa5.js');
12
12
  const iframeInputStylesState = require('./iframe-input-styles-state-d0de0b24.js');
13
- const parts = require('./parts-c2655003.js');
13
+ const parts = require('./parts-1fb925c2.js');
14
14
  require('./business-form-options-62e9c8ab.js');
15
15
  require('./Business-d88b77fd.js');
16
16
  require('./helpers-602962eb.js');
@@ -1674,10 +1674,10 @@ const IframeInput = class {
1674
1674
  return params;
1675
1675
  }
1676
1676
  render() {
1677
- return (index.h(index.Host, { key: '871d71c6240e94e24f7ccc4c4ec8225b4123d865', class: "form-group d-flex flex-column" }, index.h("div", { key: '0a1d98cba0960599d29db3c269bb8b458cdfddc8', style: {
1677
+ return (index.h(index.Host, { key: 'e818cf95e3137d0e831ca05cb1fefeed7d8ea487', class: "form-group d-flex flex-column" }, index.h("div", { key: '55d3af9ab22c267c4ee7d00fdcea3f4cb7339685', style: {
1678
1678
  visibility: this.iframeLoaded ? 'visible' : 'hidden',
1679
1679
  height: this.iframeLoaded ? 'auto' : '0',
1680
- } }, index.h("label", { key: 'bfd2e61b544db648cada7a52b45809bebf5722a8', class: "form-label", htmlFor: "", part: parts.label }, this.label || ''), index.h("div", { key: '53e9f9a29e07edcdcbb00b023ba0f24d09d852ab', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, index.h("iframe", { key: '2adc709c4094c44181dd83906763b4809b3f168b', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
1680
+ } }, index.h("label", { key: '9999761a3925081bf9ebcbc3a229306fcf9902ae', class: "form-label", htmlFor: "", part: parts.label }, this.label || ''), index.h("div", { key: '979c124113a08e50bbc8983549e98451823d0aaa', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, index.h("iframe", { key: '3fc09b6a212b3d0f63f2d7cc9f0037be5afd6d58', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
1681
1681
  this.iframeElement = el;
1682
1682
  this.initializeFrameCommunicationService();
1683
1683
  }, width: "100%", onLoad: () => {
@@ -1687,7 +1687,7 @@ const IframeInput = class {
1687
1687
  this.iframeLoaded.emit();
1688
1688
  }
1689
1689
  }, this.iframeElement);
1690
- } })), index.h(formControlErrorText.FormControlErrorText, { key: 'c54bafd097b1e3e896901252d3520bfdfe5c71b6', errorText: this.errorText, name: this.inputId }))));
1690
+ } })), index.h(formControlErrorText.FormControlErrorText, { key: 'a9d8f075d0b827bab2e00053d3a7575557b14464', errorText: this.errorText, name: this.inputId }))));
1691
1691
  }
1692
1692
  get el() { return index.getElement(this); }
1693
1693
  };
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const utils = require('./utils-7c5b2837.js');
6
+ const utils = require('./utils-3e3b8061.js');
7
7
  const styledHost = require('./styled-host-94309bab.js');
8
- const skeleton = require('./skeleton-84102a44.js');
9
- require('./parts-c2655003.js');
8
+ const skeleton = require('./skeleton-2ae76f16.js');
9
+ require('./parts-1fb925c2.js');
10
10
 
11
11
  const BusinessDetailsLoading = () => {
12
12
  const Block = () => (index.h("div", { class: "mt-5" },
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const parts = require('./parts-c2655003.js');
4
+ const parts = require('./parts-1fb925c2.js');
5
5
 
6
6
  const ButtonSpinner = () => (index.h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
7
7
  index.h("span", { class: "visually-hidden" }, "Loading...")));
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const _package = require('./package-e8aa0c51.js');
3
+ const _package = require('./package-d34fcfa5.js');
4
4
  const Api = require('./Api-f5280a80.js');
5
5
 
6
6
  class AnalyticsService {
@@ -81,4 +81,24 @@ class JustifiAnalytics {
81
81
  }
82
82
  }
83
83
 
84
+ const latestVersion = async (packageName) => {
85
+ const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
86
+ const json = await response.json();
87
+ return json.version;
88
+ };
89
+ const checkPkgVersion = async () => {
90
+ const version = _package.packageJson.version;
91
+ const packageName = _package.packageJson.name;
92
+ const latest = await latestVersion(packageName);
93
+ // remove rc from version and everything that comes after -rc
94
+ const latestNotRC = latest.replace(/-rc.*/, '');
95
+ // checkif there's a major version difference
96
+ const versionParts = version.split('.');
97
+ const latestParts = latest.split('.');
98
+ if (versionParts[0] !== latestParts[0]) {
99
+ console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
100
+ }
101
+ };
102
+
84
103
  exports.JustifiAnalytics = JustifiAnalytics;
104
+ exports.checkPkgVersion = checkPkgVersion;
@@ -2,10 +2,10 @@
2
2
 
3
3
  const Api = require('./Api-f5280a80.js');
4
4
  require('./ComponentError-233ac749.js');
5
- require('./Checkout-1c07dc32.js');
5
+ require('./Checkout-eef27045.js');
6
6
  require('./Pagination-0da8f095.js');
7
7
  require('./Payment-c47ed1e1.js');
8
- require('./SubAccount-b4811a8e.js');
8
+ require('./SubAccount-df3d28dc.js');
9
9
  require('./Document-0b828345.js');
10
10
 
11
11
  class CheckoutService {
@@ -4,20 +4,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  require('./ComponentError-233ac749.js');
7
- require('./Checkout-1c07dc32.js');
7
+ require('./Checkout-eef27045.js');
8
8
  const Pagination = require('./Pagination-0da8f095.js');
9
9
  require('./Payment-c47ed1e1.js');
10
- require('./SubAccount-b4811a8e.js');
10
+ require('./SubAccount-df3d28dc.js');
11
11
  require('./Document-0b828345.js');
12
- const parts = require('./parts-c2655003.js');
13
- const table = require('./table-fc82fa81.js');
14
- const checkoutsTable = require('./checkouts-table-cf3e245e.js');
12
+ const parts = require('./parts-1fb925c2.js');
13
+ const eventTypes = require('./event-types-666f1f22.js');
14
+ const checkoutsTable = require('./checkouts-table-61543249.js');
15
15
  const checkoutsListParamsState = require('./checkouts-list-params-state-644d3639.js');
16
- const eventTypes = require('./event-types-b6d34593.js');
17
16
  require('./utils-337befa9.js');
18
17
  require('./Dispute-eb6bad54.js');
19
- require('./spinner-70f38e5e.js');
20
- require('./badge-86a6a7f8.js');
18
+ require('./spinner-15764f3c.js');
19
+ require('./badge-79e56b99.js');
21
20
  require('./index-d2d0b181.js');
22
21
 
23
22
  const CheckoutsListCore = class {
@@ -55,7 +54,7 @@ const CheckoutsListCore = class {
55
54
  this.fetchData();
56
55
  }
57
56
  componentWillLoad() {
58
- this.checkoutsTable = new table.Table(this.checkouts, this.columns, checkoutsTable.checkoutTableColumns, checkoutsTable.checkoutTableCells);
57
+ this.checkoutsTable = new eventTypes.Table(this.checkouts, this.columns, checkoutsTable.checkoutTableColumns, checkoutsTable.checkoutTableCells);
59
58
  if (this.getCheckouts && this.getSubAccounts) {
60
59
  this.fetchData();
61
60
  }
@@ -141,7 +140,7 @@ const CheckoutsListCore = class {
141
140
  return !this.showEmptyState && !this.showErrorState && !this.loading;
142
141
  }
143
142
  render() {
144
- return (index.h("div", { key: 'ae6d3dfefad89fcd28b2ad883a1d1172fffd2218' }, index.h("div", { key: '91329a7880cd774c71cf30722b7be49b8a0109e9', class: "table-wrapper" }, index.h("table", { key: '75f974cc2140089a7a42738ef0cd3bd67729ca8d', class: "table table-hover", part: parts.table }, index.h("thead", { key: '6aaaee8db285ca1b94cea662f62a51040f2a0f06', class: "table-head sticky-top" }, index.h("tr", { key: '68215e0698b97a8389083a521bd8a493c410a196', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), index.h("tbody", { key: 'b3aa9bd464fda772fae2e191e1cc4f4612bd514b', class: "table-body" }, index.h(table.TableLoadingState, { key: 'a874602fb597ee55def35b80474bd2228b918200', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '8c30048e8766be8ca14fbbd6f990aac019904b26', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: 'c567bbca2ebbdc42dcfa6c07ae2c61b538643cb7', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: 'f02cd5b963f2c087b1a8ab60f25f6b1081e735aa', class: "sticky-bottom" }, index.h("tr", { key: 'a651ab932931db6a4ad42888a9b43e7b89a58495', class: "table-light align-middle" }, index.h("td", { key: '1fde503bccc4e79454d5786fac8f82bea67618e1', part: parts.tableCell, colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: '6237a008bc148f44aa7e159d530470c5114b32e4', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
143
+ return (index.h("div", { key: 'ae6d3dfefad89fcd28b2ad883a1d1172fffd2218' }, index.h("div", { key: '91329a7880cd774c71cf30722b7be49b8a0109e9', class: "table-wrapper" }, index.h("table", { key: '75f974cc2140089a7a42738ef0cd3bd67729ca8d', class: "table table-hover", part: parts.table }, index.h("thead", { key: '6aaaee8db285ca1b94cea662f62a51040f2a0f06', class: "table-head sticky-top" }, index.h("tr", { key: '68215e0698b97a8389083a521bd8a493c410a196', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), index.h("tbody", { key: 'b3aa9bd464fda772fae2e191e1cc4f4612bd514b', class: "table-body" }, index.h(eventTypes.TableLoadingState, { key: 'a874602fb597ee55def35b80474bd2228b918200', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(eventTypes.TableEmptyState, { key: '8c30048e8766be8ca14fbbd6f990aac019904b26', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(eventTypes.TableErrorState, { key: 'c567bbca2ebbdc42dcfa6c07ae2c61b538643cb7', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: 'f02cd5b963f2c087b1a8ab60f25f6b1081e735aa', class: "sticky-bottom" }, index.h("tr", { key: 'a651ab932931db6a4ad42888a9b43e7b89a58495', class: "table-light align-middle" }, index.h("td", { key: '1fde503bccc4e79454d5786fac8f82bea67618e1', part: parts.tableCell, colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: '6237a008bc148f44aa7e159d530470c5114b32e4', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
145
144
  }
146
145
  static get watchers() { return {
147
146
  "pagingParams": ["updateOnPropChange"],
@@ -2,8 +2,8 @@
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
4
  const utils = require('./utils-337befa9.js');
5
- const badge = require('./badge-86a6a7f8.js');
6
- const parts = require('./parts-c2655003.js');
5
+ const badge = require('./badge-79e56b99.js');
6
+ const parts = require('./parts-1fb925c2.js');
7
7
 
8
8
  const MapCheckoutStatusToBadge = (status) => {
9
9
  const statusToBadgeProps = {
@@ -3,8 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const parts = require('./parts-c2655003.js');
7
- const formControlErrorText = require('./form-control-error-text-9905e3b8.js');
8
6
 
9
7
  var top = 'top';
10
8
  var bottom = 'bottom';
@@ -1881,7 +1879,7 @@ const CustomPopper = class {
1881
1879
  this.hideEvent.emit();
1882
1880
  }
1883
1881
  render() {
1884
- return (index.h("div", { key: '1b95226961006ba80bb96911078f7cde90f32def' }, index.h("style", { key: '3b20790da8600b3835e5874acab8cd49a741dbfa' }, `
1882
+ return (index.h("div", { key: '4591c97abf65078bc67a82895364e4e3cf9e85d7' }, index.h("style", { key: 'bdedcb809a4197f8b40d2c37af00c8bb17028669' }, `
1885
1883
  .popper-content {
1886
1884
  display: none;
1887
1885
  }
@@ -1889,145 +1887,8 @@ const CustomPopper = class {
1889
1887
  display: block;
1890
1888
  z-index: 1030;
1891
1889
  }
1892
- `), index.h("div", { key: '05d166976a3aa254c1d0722c272bd9b0adc24862', class: "popper-content", ref: (el) => this.popperContentRef = el }, index.h("slot", { key: '95d3a563a9d7a1598ec35c8042a9a1088070a4bc' }))));
1893
- }
1894
- };
1895
-
1896
- const SelectInput = class {
1897
- constructor(hostRef) {
1898
- index.registerInstance(this, hostRef);
1899
- this.formControlInput = index.createEvent(this, "formControlInput", 7);
1900
- this.formControlBlur = index.createEvent(this, "formControlBlur", 7);
1901
- this.handleFormControlInput = (event) => {
1902
- const target = event.target;
1903
- const name = target.getAttribute('name');
1904
- this.inputHandler(name, target.value);
1905
- this.formControlInput.emit(target.value);
1906
- };
1907
- this.updateInput = (newValue) => {
1908
- this.selectElement.value = newValue;
1909
- };
1910
- this.isFocused = false;
1911
- this.name = undefined;
1912
- this.label = undefined;
1913
- this.options = undefined;
1914
- this.inputHandler = undefined;
1915
- this.defaultValue = undefined;
1916
- this.helpText = undefined;
1917
- this.errorText = undefined;
1918
- this.disabled = undefined;
1919
- }
1920
- handleDefaultValueChange(newValue) {
1921
- this.updateInput(newValue);
1922
- }
1923
- componentDidLoad() {
1924
- this.updateInput(this.defaultValue);
1925
- }
1926
- get part() {
1927
- let part = parts.input;
1928
- if (this.errorText) {
1929
- part = parts.inputInvalid;
1930
- }
1931
- if (this.disabled) {
1932
- part = parts.inputDisabled;
1933
- }
1934
- if (this.isFocused) {
1935
- part = parts.inputFocused;
1936
- }
1937
- return part;
1938
- }
1939
- render() {
1940
- var _a;
1941
- return (index.h(index.Host, { key: 'f55283c73225466b10cec78e6e5ff1c268142d1b' }, index.h("div", { key: '48beb377ca664b867598f8e472a3bb4825aecf9b', class: "form-group d-flex flex-column" }, index.h("div", { key: '13debfb6a725d7f247eb5601e3361a3964b826e9', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '15ac64fb03a5c1cb8f55c18bd7eb41d66328e599', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '3d8b43ed6e997234f7c64daf41b2286bec93340e', helpText: this.helpText })), index.h("select", { key: '1c3eb5699a0b76c694a02fe50e8070483b2960e6', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
1942
- this.isFocused = false;
1943
- this.formControlBlur.emit();
1944
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (index.h("option", { value: option.value }, option.label)))), index.h(formControlErrorText.FormControlErrorText, { key: 'd223fd1fad44de99812b0e3a3429e3931b798c2c', errorText: this.errorText, name: this.name }))));
1945
- }
1946
- static get watchers() { return {
1947
- "defaultValue": ["handleDefaultValueChange"]
1948
- }; }
1949
- };
1950
-
1951
- const TextInput = class {
1952
- constructor(hostRef) {
1953
- index.registerInstance(this, hostRef);
1954
- this.formControlInput = index.createEvent(this, "formControlInput", 7);
1955
- this.formControlBlur = index.createEvent(this, "formControlBlur", 7);
1956
- this.handleFormControlInput = (event) => {
1957
- const target = event.target;
1958
- const name = target.getAttribute('name');
1959
- this.inputHandler(name, target.value);
1960
- this.formControlInput.emit({ name, value: target.value });
1961
- };
1962
- this.updateInput = (newValue) => {
1963
- const inputElement = this.el.querySelector('input');
1964
- if (inputElement) {
1965
- inputElement.value = newValue || '';
1966
- }
1967
- };
1968
- this.isFocused = false;
1969
- this.name = undefined;
1970
- this.label = undefined;
1971
- this.inputHandler = undefined;
1972
- this.defaultValue = undefined;
1973
- this.helpText = undefined;
1974
- this.errorText = undefined;
1975
- this.maxLength = undefined;
1976
- this.keyDownHandler = undefined;
1977
- this.disabled = undefined;
1978
- }
1979
- handleDefaultValueChange(newValue) {
1980
- this.updateInput(newValue);
1981
- }
1982
- componentDidLoad() {
1983
- this.updateInput(this.defaultValue);
1984
- }
1985
- get part() {
1986
- if (this.errorText) {
1987
- return parts.inputInvalid;
1988
- }
1989
- if (this.disabled) {
1990
- return parts.inputDisabled;
1991
- }
1992
- if (this.isFocused) {
1993
- return parts.inputFocused;
1994
- }
1995
- return parts.input;
1996
- }
1997
- render() {
1998
- return (index.h(index.Host, { key: 'd84e000c15b64815eb0f8eb2e1e1f774fd786956' }, index.h("div", { key: 'fc751f6b2da9d20bee791e854a2bb7d3f9ce7456', class: "form-group d-flex flex-column" }, index.h("div", { key: '6853a85e1dced30edb8b84070d7dc16b65e47ce6', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '5c020f8419308ceac4c00220ce9df8fac8ce1f0f', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '81662d978c47c8d3e10342cb2b2a005af4ecf608', helpText: this.helpText })), index.h("input", { key: '14fd9610e3a92e0b6125ab41a5878268a7cc3157', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
1999
- this.isFocused = false;
2000
- this.formControlBlur.emit();
2001
- }, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: 'be05bd72e34afa9c8b4dd42cb5eda4fb6407224d', errorText: this.errorText, name: this.name }))));
2002
- }
2003
- get el() { return index.getElement(this); }
2004
- static get watchers() { return {
2005
- "defaultValue": ["handleDefaultValueChange"]
2006
- }; }
2007
- };
2008
-
2009
- const TooltipComponent = class {
2010
- constructor(hostRef) {
2011
- index.registerInstance(this, hostRef);
2012
- this.anchorIcon = undefined;
2013
- this.tooltip = undefined;
2014
- this.helpText = undefined;
2015
- }
2016
- show() {
2017
- this.tooltip.classList.add('show');
2018
- }
2019
- hide() {
2020
- this.tooltip.classList.remove('show');
2021
- }
2022
- render() {
2023
- if (!this.helpText) {
2024
- return null;
2025
- }
2026
- return (index.h("div", { class: "tooltip-container" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", class: "bi bi-question-square tooltip-icon", viewBox: "0 0 16 16", ref: (el) => (this.anchorIcon = el), part: parts.tooltipIcon }, index.h("path", { d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z" }), index.h("path", { d: "M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94" })), index.h("custom-popper", { trigger: "hover", placement: "top", anchorRef: this.anchorIcon }, index.h("div", { class: "tooltip bs-tooltip-top", part: parts.tooltip, role: "tooltip", ref: (el) => (this.tooltip = el) }, index.h("div", { class: "tooltip-inner", part: parts.tooltipInner }, this.helpText)))));
1890
+ `), index.h("div", { key: '555995bdc16a697f7b38ba9113b8973b7dae1bbe', class: "popper-content", ref: (el) => this.popperContentRef = el }, index.h("slot", { key: 'b71f5d424096805ed2d64ee20f30d63a9044c39c' }))));
2027
1891
  }
2028
1892
  };
2029
1893
 
2030
1894
  exports.custom_popper = CustomPopper;
2031
- exports.form_control_select = SelectInput;
2032
- exports.form_control_text = TextInput;
2033
- exports.form_control_tooltip = TooltipComponent;
@@ -2,10 +2,10 @@
2
2
 
3
3
  const Api = require('./Api-f5280a80.js');
4
4
  require('./ComponentError-233ac749.js');
5
- require('./Checkout-1c07dc32.js');
5
+ require('./Checkout-eef27045.js');
6
6
  require('./Pagination-0da8f095.js');
7
7
  require('./Payment-c47ed1e1.js');
8
- require('./SubAccount-b4811a8e.js');
8
+ require('./SubAccount-df3d28dc.js');
9
9
  require('./Document-0b828345.js');
10
10
 
11
11
  class DisputeService {
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-5b9a3b5f.js');
4
- const parts = require('./parts-c2655003.js');
5
- const spinner = require('./spinner-70f38e5e.js');
4
+ const parts = require('./parts-1fb925c2.js');
5
+ const spinner = require('./spinner-15764f3c.js');
6
6
 
7
7
  const TableEmptyState = (props) => {
8
8
  const { columnSpan, isEmpty } = props;
@@ -54,6 +54,13 @@ class Table {
54
54
  }
55
55
  }
56
56
 
57
+ exports.TableClickActions = void 0;
58
+ (function (TableClickActions) {
59
+ TableClickActions["row"] = "tableRow";
60
+ TableClickActions["next"] = "nextPage";
61
+ TableClickActions["previous"] = "previousPage";
62
+ })(exports.TableClickActions || (exports.TableClickActions = {}));
63
+
57
64
  exports.Table = Table;
58
65
  exports.TableEmptyState = TableEmptyState;
59
66
  exports.TableErrorState = TableErrorState;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const parts = require('./parts-c2655003.js');
6
+ const parts = require('./parts-1fb925c2.js');
7
7
  const businessFormOptions = require('./business-form-options-62e9c8ab.js');
8
8
  const formInputMasks = require('./form-input-masks-0879c139.js');
9
9
  const Business = require('./Business-d88b77fd.js');