@justifi/webcomponents 4.22.2 → 4.23.1

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 (370) hide show
  1. package/dist/cjs/{Analytics-99a3c7f8.js → Analytics-7ab90cae.js} +1 -1
  2. package/dist/cjs/{Payment-04a842f4.js → Payment-87b47c43.js} +7 -1
  3. package/dist/cjs/{SubAccount-cc95a4a0.js → SubAccount-fda5ec5b.js} +3 -0
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  5. package/dist/cjs/{business-additional-questions-schema-d82355b0.js → business-additional-questions-schema-f5591026.js} +2 -2
  6. package/dist/cjs/{business-identity-schema-3d241053.js → business-identity-schema-804a4bd7.js} +1 -1
  7. package/dist/cjs/{check-pkg-version-9bd49ad6.js → check-pkg-version-fe8c72a9.js} +1 -1
  8. package/dist/cjs/{checkout.service-160f3a9c.js → checkout.service-aae1996c.js} +2 -2
  9. package/dist/cjs/checkouts-list-core.cjs.entry.js +7 -8
  10. package/dist/cjs/{checkouts-table-24c065ff.js → checkouts-table-00b6482f.js} +7 -7
  11. package/dist/cjs/custom-popper_4.cjs.entry.js +3 -3
  12. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +5 -5
  13. package/dist/cjs/form-control-date.cjs.entry.js +6 -37
  14. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  15. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  16. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +1 -1
  17. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  18. package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
  19. package/dist/cjs/form-control-textarea.cjs.entry.js +1 -1
  20. package/dist/cjs/{get-payout-csv-12dc9540.js → get-payout-csv-1eed32ee.js} +17 -8
  21. package/dist/cjs/{get-subaccounts-8f7a930f.js → get-subaccounts-1d2fb201.js} +2 -2
  22. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  23. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +3 -3
  24. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +6 -6
  25. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
  26. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +4 -4
  27. package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
  28. package/dist/cjs/justifi-business-form.cjs.entry.js +8 -8
  29. package/dist/cjs/justifi-card-form.cjs.entry.js +2 -2
  30. package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
  31. package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
  32. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -10
  33. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  34. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
  35. package/dist/cjs/justifi-new-payment-method_5.cjs.entry.js +2 -2
  36. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
  37. package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -6
  38. package/dist/cjs/justifi-payment-form.cjs.entry.js +6 -6
  39. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
  40. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
  41. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -7
  42. package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -6
  43. package/dist/cjs/justifi-payouts-list.cjs.entry.js +42 -20
  44. package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -3
  45. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
  47. package/dist/cjs/justifi-terminals-list.cjs.entry.js +9 -9
  48. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +4 -4
  49. package/dist/cjs/loader.cjs.js +1 -1
  50. package/dist/cjs/{package-e25f61a8.js → package-6d1daab8.js} +2 -2
  51. package/dist/cjs/{pagination-menu.cjs.entry.js → pagination-menu_2.cjs.entry.js} +29 -0
  52. package/dist/cjs/payment-details-core.cjs.entry.js +2 -2
  53. package/dist/cjs/{payment.service-83da752a.js → payment.service-86871f43.js} +2 -2
  54. package/dist/cjs/payments-list-core.cjs.entry.js +18 -52
  55. package/dist/cjs/payments-list-filters.cjs.entry.js +6 -1
  56. package/dist/cjs/{payments-status-58e45b2e.js → payments-status-68ac449d.js} +2 -2
  57. package/dist/cjs/payments-table-7087e771.js +31 -0
  58. package/dist/cjs/payout-details-core.cjs.entry.js +2 -2
  59. package/dist/cjs/payouts-list-core.cjs.entry.js +66 -59
  60. package/dist/cjs/payouts-list-filters.cjs.entry.js +24 -0
  61. package/dist/cjs/payouts-table-4858eb84.js +37 -0
  62. package/dist/cjs/{schema-validations-7a9afa7c.js → schema-validations-f0363047.js} +1 -13
  63. package/dist/cjs/{table-loading-state-8b406852.js → table-ec9ce9f7.js} +21 -0
  64. package/dist/cjs/terminals-list-core.cjs.entry.js +6 -7
  65. package/dist/cjs/terminals-list-filters.cjs.entry.js +1 -1
  66. package/dist/cjs/{terminals-table-99a7b87b.js → terminals-table-12410159.js} +4 -4
  67. package/dist/cjs/{utils-f8a6962c.js → utils-ba79e868.js} +12 -0
  68. package/dist/cjs/{utils-3d84442d.js → utils-e88fbc94.js} +49 -32
  69. package/dist/cjs/webcomponents.cjs.js +1 -1
  70. package/dist/collection/api/Payment.js +7 -1
  71. package/dist/collection/api/Payout.js +4 -0
  72. package/dist/collection/api/services/payout.service.js +15 -6
  73. package/dist/collection/api/services/terminal.service.js +1 -1
  74. package/dist/collection/collection-manifest.json +2 -1
  75. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
  76. package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -11
  77. package/dist/collection/components/checkouts-list/checkouts-list.js +2 -2
  78. package/dist/collection/components/checkouts-list/checkouts-table.js +6 -6
  79. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +4 -4
  80. package/dist/collection/components/dispute-management/dispute-management-core.js +3 -3
  81. package/dist/collection/components/dispute-management/dispute-notification.js +4 -4
  82. package/dist/collection/components/payment-method-form/payment-method-form.js +2 -2
  83. package/dist/collection/components/payments-list/payments-list-core.js +32 -47
  84. package/dist/collection/components/payments-list/payments-list-filters.js +6 -1
  85. package/dist/collection/components/payments-list/payments-list.js +22 -3
  86. package/dist/collection/components/payments-list/payments-status.js +2 -2
  87. package/dist/collection/components/payments-list/payments-table.js +22 -0
  88. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  89. package/dist/collection/components/payouts-list/get-payouts.js +3 -4
  90. package/dist/collection/components/payouts-list/payouts-list-core.js +102 -51
  91. package/dist/collection/components/payouts-list/payouts-list-filters.js +72 -0
  92. package/dist/collection/components/payouts-list/payouts-list.js +71 -12
  93. package/dist/collection/components/payouts-list/payouts-table.js +26 -0
  94. package/dist/collection/components/refund-form/refund-form.js +1 -1
  95. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  96. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  97. package/dist/collection/components/terminals-list/terminals-list.js +2 -2
  98. package/dist/collection/components/terminals-list/terminals-table.js +4 -4
  99. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  100. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  101. package/dist/collection/ui-components/filters/utils.js +11 -0
  102. package/dist/collection/ui-components/form/form-control-checkbox.js +1 -1
  103. package/dist/collection/ui-components/form/form-control-date.js +6 -55
  104. package/dist/collection/ui-components/form/form-control-file.js +1 -1
  105. package/dist/collection/ui-components/form/form-control-monetary.js +1 -1
  106. package/dist/collection/ui-components/form/form-control-number-masked.js +1 -1
  107. package/dist/collection/ui-components/form/form-control-number.js +1 -1
  108. package/dist/collection/ui-components/form/form-control-radio.js +1 -1
  109. package/dist/collection/ui-components/form/form-control-text.js +1 -1
  110. package/dist/collection/ui-components/form/form-control-textarea.js +1 -1
  111. package/dist/collection/utils/table.js +2 -2
  112. package/dist/collection/utils/utils.js +49 -52
  113. package/dist/docs.json +276 -49
  114. package/dist/esm/{Analytics-f4e959b2.js → Analytics-77dc80f3.js} +1 -1
  115. package/dist/esm/{Payment-30790721.js → Payment-2a868d0c.js} +7 -1
  116. package/dist/esm/{SubAccount-7f7e4c56.js → SubAccount-99a00594.js} +3 -0
  117. package/dist/esm/additional-questions-details_5.entry.js +1 -1
  118. package/dist/esm/{business-additional-questions-schema-a5072d2b.js → business-additional-questions-schema-d94f8975.js} +2 -2
  119. package/dist/esm/{business-identity-schema-b31178a1.js → business-identity-schema-2756dbc6.js} +1 -1
  120. package/dist/esm/{check-pkg-version-5e658940.js → check-pkg-version-fbf01ce7.js} +1 -1
  121. package/dist/esm/{checkout.service-ef1549c6.js → checkout.service-c1e44e0c.js} +2 -2
  122. package/dist/esm/checkouts-list-core.entry.js +6 -7
  123. package/dist/esm/{checkouts-table-62c44909.js → checkouts-table-cd33b57c.js} +7 -7
  124. package/dist/esm/custom-popper_4.entry.js +3 -3
  125. package/dist/esm/form-control-checkbox_9.entry.js +5 -5
  126. package/dist/esm/form-control-date.entry.js +6 -37
  127. package/dist/esm/form-control-file.entry.js +1 -1
  128. package/dist/esm/form-control-monetary.entry.js +1 -1
  129. package/dist/esm/form-control-number-masked_2.entry.js +1 -1
  130. package/dist/esm/form-control-number.entry.js +1 -1
  131. package/dist/esm/form-control-radio.entry.js +1 -1
  132. package/dist/esm/form-control-textarea.entry.js +1 -1
  133. package/dist/esm/{get-payout-csv-70974763.js → get-payout-csv-3b83b088.js} +17 -8
  134. package/dist/esm/{get-subaccounts-16c8ce40.js → get-subaccounts-dd20cfa4.js} +2 -2
  135. package/dist/esm/gross-payment-chart-core.entry.js +1 -1
  136. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +3 -3
  137. package/dist/esm/justifi-additional-statement_11.entry.js +6 -6
  138. package/dist/esm/justifi-bank-account-form.entry.js +2 -2
  139. package/dist/esm/justifi-billing-form_2.entry.js +4 -4
  140. package/dist/esm/justifi-business-details.entry.js +3 -3
  141. package/dist/esm/justifi-business-form.entry.js +8 -8
  142. package/dist/esm/justifi-card-form.entry.js +2 -2
  143. package/dist/esm/justifi-checkout-core.entry.js +1 -1
  144. package/dist/esm/justifi-checkout.entry.js +6 -6
  145. package/dist/esm/justifi-checkouts-list.entry.js +10 -10
  146. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  147. package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
  148. package/dist/esm/justifi-new-payment-method_5.entry.js +2 -2
  149. package/dist/esm/justifi-owner-form_3.entry.js +2 -2
  150. package/dist/esm/justifi-payment-details.entry.js +6 -6
  151. package/dist/esm/justifi-payment-form.entry.js +6 -6
  152. package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
  153. package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
  154. package/dist/esm/justifi-payments-list.entry.js +11 -7
  155. package/dist/esm/justifi-payout-details.entry.js +6 -6
  156. package/dist/esm/justifi-payouts-list.entry.js +42 -20
  157. package/dist/esm/justifi-refund-form.entry.js +3 -3
  158. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +1 -1
  159. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
  160. package/dist/esm/justifi-terminals-list.entry.js +9 -9
  161. package/dist/esm/justifi-tokenize-payment-method.entry.js +4 -4
  162. package/dist/esm/loader.js +1 -1
  163. package/dist/esm/{package-95aca142.js → package-627f73c1.js} +2 -2
  164. package/dist/esm/{pagination-menu.entry.js → pagination-menu_2.entry.js} +29 -1
  165. package/dist/esm/payment-details-core.entry.js +2 -2
  166. package/dist/esm/{payment.service-2f67410b.js → payment.service-ca6b5bc5.js} +2 -2
  167. package/dist/esm/payments-list-core.entry.js +18 -52
  168. package/dist/esm/payments-list-filters.entry.js +6 -1
  169. package/dist/esm/{payments-status-4937a170.js → payments-status-a7c18f2a.js} +2 -2
  170. package/dist/esm/payments-table-bba91324.js +27 -0
  171. package/dist/esm/payout-details-core.entry.js +2 -2
  172. package/dist/esm/payouts-list-core.entry.js +67 -60
  173. package/dist/esm/payouts-list-filters.entry.js +20 -0
  174. package/dist/esm/payouts-table-edff9bbe.js +33 -0
  175. package/dist/esm/{schema-validations-cd8c5f69.js → schema-validations-93a9d504.js} +1 -13
  176. package/dist/esm/{table-loading-state-356c7215.js → table-44e3d1e7.js} +21 -1
  177. package/dist/esm/terminals-list-core.entry.js +6 -7
  178. package/dist/esm/terminals-list-filters.entry.js +1 -1
  179. package/dist/esm/{terminals-table-059c473e.js → terminals-table-dc787616.js} +4 -4
  180. package/dist/esm/{utils-3daada24.js → utils-1df1e55a.js} +48 -32
  181. package/dist/esm/{utils-3a4d8f3a.js → utils-4006c425.js} +12 -1
  182. package/dist/esm/webcomponents.js +1 -1
  183. package/dist/module/Payment.js +7 -1
  184. package/dist/module/SubAccount.js +3 -0
  185. package/dist/module/billing-form.js +1 -1
  186. package/dist/module/business-bank-account-form-step.js +1 -1
  187. package/dist/module/business-core-info-form-step-core.js +1 -1
  188. package/dist/module/business-core-info-schema.js +1 -1
  189. package/dist/module/business-document-upload-input-group.js +1 -1
  190. package/dist/module/business-documents-on-file.js +1 -1
  191. package/dist/module/checkouts-list-core2.js +9 -9
  192. package/dist/module/counter-dispute.js +3 -3
  193. package/dist/module/custom-popper2.js +2 -2
  194. package/dist/module/dispute-management-core.js +2 -2
  195. package/dist/module/dispute-notification.js +3 -3
  196. package/dist/module/form-control-checkbox2.js +1 -1
  197. package/dist/module/form-control-date2.js +6 -38
  198. package/dist/module/form-control-file2.js +1 -1
  199. package/dist/module/form-control-monetary2.js +1 -1
  200. package/dist/module/form-control-number-masked2.js +1 -1
  201. package/dist/module/form-control-number.js +1 -1
  202. package/dist/module/form-control-radio2.js +1 -1
  203. package/dist/module/form-control-text2.js +1 -1
  204. package/dist/module/form-control-textarea2.js +1 -1
  205. package/dist/module/get-payout-csv.js +16 -7
  206. package/dist/module/get-subaccounts.js +1 -1
  207. package/dist/module/identity-address-form.js +1 -1
  208. package/dist/module/justifi-business-details.js +1 -1
  209. package/dist/module/justifi-checkout.js +1 -1
  210. package/dist/module/justifi-checkouts-list.js +2 -2
  211. package/dist/module/justifi-gross-payment-chart.js +1 -1
  212. package/dist/module/justifi-payment-details.js +1 -1
  213. package/dist/module/justifi-payment-form.js +1 -1
  214. package/dist/module/justifi-payments-list.js +5 -3
  215. package/dist/module/justifi-payout-details.js +1 -1
  216. package/dist/module/justifi-payouts-list.js +63 -28
  217. package/dist/module/justifi-refund-form.js +1 -1
  218. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  219. package/dist/module/justifi-terminals-list.js +3 -3
  220. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  221. package/dist/module/legal-address-form-step-core.js +1 -1
  222. package/dist/module/legal-address-form.js +1 -1
  223. package/dist/module/package.js +2 -2
  224. package/dist/module/payment-method-form.js +2 -2
  225. package/dist/module/payment-provisioning-actions.js +1 -1
  226. package/dist/module/payments-list-core2.js +43 -52
  227. package/dist/module/payments-list-filters2.js +6 -1
  228. package/dist/module/payments-status.js +2 -2
  229. package/dist/module/payout-details-core2.js +1 -1
  230. package/dist/module/payouts-list-core2.js +118 -67
  231. package/dist/module/payouts-list-filters.d.ts +11 -0
  232. package/dist/module/payouts-list-filters.js +6 -0
  233. package/dist/module/payouts-list-filters2.js +69 -0
  234. package/dist/module/saved-payment-method.js +1 -1
  235. package/dist/module/schema-validations.js +1 -13
  236. package/dist/module/table-filters-menu2.js +2 -22
  237. package/dist/module/table.js +36 -3
  238. package/dist/module/terminals-list-core2.js +8 -8
  239. package/dist/module/terminals-list-filters2.js +1 -1
  240. package/dist/module/utils2.js +48 -32
  241. package/dist/module/utils3.js +30 -25
  242. package/dist/module/utils4.js +24 -23
  243. package/dist/module/utils5.js +27 -0
  244. package/dist/types/api/Payment.d.ts +3 -1
  245. package/dist/types/api/Payout.d.ts +8 -0
  246. package/dist/types/api/services/payout.service.d.ts +5 -5
  247. package/dist/types/components/checkouts-list/checkouts-list.d.ts +1 -1
  248. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +1 -1
  249. package/dist/types/components/dispute-management/dispute-management-core.d.ts +1 -1
  250. package/dist/types/components/dispute-management/dispute-notification.d.ts +1 -1
  251. package/dist/types/components/payments-list/payments-list-core.d.ts +4 -6
  252. package/dist/types/components/payments-list/payments-list-filters.d.ts +1 -0
  253. package/dist/types/components/payments-list/payments-list.d.ts +1 -0
  254. package/dist/types/components/payments-list/payments-status.d.ts +1 -1
  255. package/dist/types/components/payments-list/payments-table.d.ts +19 -0
  256. package/dist/types/components/payouts-list/get-payouts.d.ts +2 -1
  257. package/dist/types/components/payouts-list/payouts-list-core.d.ts +15 -7
  258. package/dist/types/components/payouts-list/payouts-list-filters.d.ts +8 -0
  259. package/dist/types/components/payouts-list/payouts-list.d.ts +8 -3
  260. package/dist/types/components/payouts-list/payouts-table.d.ts +23 -0
  261. package/dist/types/components/terminals-list/terminals-list.d.ts +1 -1
  262. package/dist/types/components.d.ts +41 -12
  263. package/dist/types/ui-components/filters/utils.d.ts +1 -0
  264. package/dist/types/ui-components/form/form-control-date.d.ts +0 -3
  265. package/dist/types/utils/utils.d.ts +15 -16
  266. package/dist/webcomponents/p-0a963f7e.entry.js +1 -0
  267. package/dist/webcomponents/{p-8e228e5a.js → p-0d6ddff2.js} +1 -1
  268. package/dist/webcomponents/p-0fbab710.entry.js +1 -0
  269. package/dist/webcomponents/{p-22e38d5b.js → p-25d2ed4c.js} +1 -1
  270. package/dist/webcomponents/p-286b87ab.js +1 -0
  271. package/dist/webcomponents/p-28bd6dcd.js +1 -0
  272. package/dist/webcomponents/{p-90b8acc6.js → p-297faf3d.js} +1 -1
  273. package/dist/webcomponents/{p-5fd72c29.entry.js → p-29c8fa3d.entry.js} +1 -1
  274. package/dist/webcomponents/p-2f422aad.entry.js +1 -0
  275. package/dist/webcomponents/{p-869ae0c7.entry.js → p-3186d1fb.entry.js} +1 -1
  276. package/dist/webcomponents/p-3bfb4f80.entry.js +1 -0
  277. package/dist/webcomponents/p-3db8b3c7.js +1 -0
  278. package/dist/webcomponents/{p-927a147c.entry.js → p-3ed7fc42.entry.js} +1 -1
  279. package/dist/webcomponents/{p-eed325b7.entry.js → p-404a847c.entry.js} +1 -1
  280. package/dist/webcomponents/{p-a91a2152.entry.js → p-41c1c1f7.entry.js} +1 -1
  281. package/dist/webcomponents/{p-c458fc48.entry.js → p-41c7ee13.entry.js} +1 -1
  282. package/dist/webcomponents/p-420adedb.entry.js +1 -0
  283. package/dist/webcomponents/{p-83b01812.entry.js → p-431d7a9e.entry.js} +1 -1
  284. package/dist/webcomponents/p-448826a7.entry.js +1 -0
  285. package/dist/webcomponents/{p-6caf6f09.entry.js → p-469804a9.entry.js} +1 -1
  286. package/dist/webcomponents/{p-0de9e97b.entry.js → p-486da67e.entry.js} +1 -1
  287. package/dist/webcomponents/{p-a3143d62.entry.js → p-4a5e5574.entry.js} +1 -1
  288. package/dist/webcomponents/p-4cf7f4ae.js +1 -0
  289. package/dist/webcomponents/{p-09fb7dd6.entry.js → p-52f9d8a0.entry.js} +1 -1
  290. package/dist/webcomponents/p-54145a37.entry.js +1 -0
  291. package/dist/webcomponents/p-544a4e7a.js +1 -0
  292. package/dist/webcomponents/{p-b459d0b0.js → p-57125bd1.js} +1 -1
  293. package/dist/webcomponents/p-5ec82df8.entry.js +1 -0
  294. package/dist/webcomponents/{p-286a4e72.entry.js → p-628693c1.entry.js} +1 -1
  295. package/dist/webcomponents/{p-02cf5e6f.js → p-673cf8c4.js} +1 -1
  296. package/dist/webcomponents/{p-c30c8f39.entry.js → p-69527219.entry.js} +1 -1
  297. package/dist/webcomponents/p-6d51aed8.entry.js +1 -0
  298. package/dist/webcomponents/{p-9e7204b5.js → p-8037704c.js} +1 -1
  299. package/dist/webcomponents/p-89f6691e.js +1 -0
  300. package/dist/webcomponents/p-91de21cc.js +1 -0
  301. package/dist/webcomponents/{p-55f78fcc.entry.js → p-942be28b.entry.js} +1 -1
  302. package/dist/webcomponents/p-95ec39f6.entry.js +1 -0
  303. package/dist/webcomponents/p-9690eca9.entry.js +1 -0
  304. package/dist/webcomponents/{p-efb56234.entry.js → p-a7830e98.entry.js} +1 -1
  305. package/dist/webcomponents/p-abe513e6.entry.js +1 -0
  306. package/dist/webcomponents/p-ada9ac19.entry.js +1 -0
  307. package/dist/webcomponents/p-b0311e88.js +1 -0
  308. package/dist/webcomponents/{p-91711083.entry.js → p-b0dc68b3.entry.js} +1 -1
  309. package/dist/webcomponents/p-b3cac576.entry.js +1 -0
  310. package/dist/webcomponents/{p-0c03a971.entry.js → p-b97233cc.entry.js} +1 -1
  311. package/dist/webcomponents/p-bb71cef3.js +1 -0
  312. package/dist/webcomponents/{p-2a9f48f0.entry.js → p-bc1984ec.entry.js} +1 -1
  313. package/dist/webcomponents/{p-c5c6e61d.js → p-bc8205ec.js} +1 -1
  314. package/dist/webcomponents/{p-a8f22d4d.js → p-c13a7d10.js} +1 -1
  315. package/dist/webcomponents/p-c3fb5d3a.entry.js +1 -0
  316. package/dist/webcomponents/p-c420cb7d.entry.js +1 -0
  317. package/dist/webcomponents/p-c8243721.js +1 -0
  318. package/dist/webcomponents/p-cd19c597.entry.js +1 -0
  319. package/dist/webcomponents/{p-7fec2bcb.js → p-d1f75fa6.js} +1 -1
  320. package/dist/webcomponents/{p-2dc7751f.entry.js → p-d291dc4c.entry.js} +1 -1
  321. package/dist/webcomponents/{p-7a8c13ba.entry.js → p-da176d01.entry.js} +1 -1
  322. package/dist/webcomponents/{p-2c8c214f.entry.js → p-dcb288a3.entry.js} +1 -1
  323. package/dist/webcomponents/p-df3ca87f.entry.js +1 -0
  324. package/dist/webcomponents/p-df5a1202.entry.js +1 -0
  325. package/dist/webcomponents/p-e2ce097c.js +1 -0
  326. package/dist/webcomponents/{p-eeb70281.entry.js → p-e5790011.entry.js} +1 -1
  327. package/dist/webcomponents/{p-8e2e24d8.entry.js → p-e8be1b55.entry.js} +1 -1
  328. package/dist/webcomponents/p-e99957ff.entry.js +1 -0
  329. package/dist/webcomponents/p-ed95feec.entry.js +1 -0
  330. package/dist/webcomponents/{p-92a766d8.entry.js → p-f28a4c03.entry.js} +1 -1
  331. package/dist/webcomponents/{p-8f212554.entry.js → p-f698d6d9.entry.js} +1 -1
  332. package/dist/webcomponents/{p-9ef4d294.entry.js → p-fc6f697d.entry.js} +1 -1
  333. package/dist/webcomponents/webcomponents.esm.js +1 -1
  334. package/package.json +2 -2
  335. package/dist/cjs/table-20e9a053.js +0 -23
  336. package/dist/cjs/table-filters-menu.cjs.entry.js +0 -35
  337. package/dist/esm/table-5da154e7.js +0 -21
  338. package/dist/esm/table-filters-menu.entry.js +0 -31
  339. package/dist/module/table-loading-state.js +0 -34
  340. package/dist/webcomponents/p-0ec27543.entry.js +0 -1
  341. package/dist/webcomponents/p-0f7b9555.entry.js +0 -1
  342. package/dist/webcomponents/p-1251a3f5.entry.js +0 -1
  343. package/dist/webcomponents/p-1ab798f4.entry.js +0 -1
  344. package/dist/webcomponents/p-269ba6fe.entry.js +0 -1
  345. package/dist/webcomponents/p-2c2b57b3.js +0 -1
  346. package/dist/webcomponents/p-2c51d29f.js +0 -1
  347. package/dist/webcomponents/p-3f82f724.entry.js +0 -1
  348. package/dist/webcomponents/p-44f7f729.entry.js +0 -1
  349. package/dist/webcomponents/p-47dbe17d.js +0 -1
  350. package/dist/webcomponents/p-4b14abbf.entry.js +0 -1
  351. package/dist/webcomponents/p-638c6285.entry.js +0 -1
  352. package/dist/webcomponents/p-7285c687.js +0 -1
  353. package/dist/webcomponents/p-8480e3ab.entry.js +0 -1
  354. package/dist/webcomponents/p-88efdd31.js +0 -1
  355. package/dist/webcomponents/p-8ec550d7.entry.js +0 -1
  356. package/dist/webcomponents/p-919e6e67.entry.js +0 -1
  357. package/dist/webcomponents/p-935188c8.entry.js +0 -1
  358. package/dist/webcomponents/p-9f56ad71.js +0 -1
  359. package/dist/webcomponents/p-ad443df5.entry.js +0 -1
  360. package/dist/webcomponents/p-b16269d7.js +0 -1
  361. package/dist/webcomponents/p-bba131f9.entry.js +0 -1
  362. package/dist/webcomponents/p-c717646f.entry.js +0 -1
  363. package/dist/webcomponents/p-cd4eaeb7.js +0 -1
  364. package/dist/webcomponents/p-cd7e866c.entry.js +0 -1
  365. package/dist/webcomponents/p-e333620e.js +0 -1
  366. package/dist/webcomponents/p-e412a713.entry.js +0 -1
  367. package/dist/webcomponents/p-e6be8845.entry.js +0 -1
  368. package/dist/webcomponents/p-e8797be0.entry.js +0 -1
  369. package/dist/webcomponents/p-f45197b9.entry.js +0 -1
  370. package/dist/webcomponents/p-fc4de0d2.js +0 -1
@@ -0,0 +1,72 @@
1
+ import { h } from "@stencil/core";
2
+ import { convertToLocal, convertToUTC } from "../../utils/utils";
3
+ export class PayoutsListFilters {
4
+ constructor() {
5
+ this.handleDateInput = (name, value) => {
6
+ const utcDate = convertToUTC(value, { setEndOfDay: true });
7
+ this.setParamsOnChange(name, utcDate);
8
+ };
9
+ this.params = undefined;
10
+ this.setParamsOnChange = undefined;
11
+ this.clearParams = undefined;
12
+ }
13
+ render() {
14
+ return (h("table-filters-menu", { key: '2f80b6ac3308af53f20f1c8c8fbc596937eeda1d', params: this.params, clearParams: this.clearParams }, h("div", { key: '6e0bf319268d1bcbbd81e922f0855eb1c497815f', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '8c29a63ea0c4836a0b002db9adc75ea69cdde988', class: "p-2" }, h("form-control-date", { key: '74399fdd150d71758f817454944ef34c9b443240', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.params.created_after, { showInputDate: true }) })), h("div", { key: 'e98911d5b92ed5a6642d8f59b23abbebf4f1f85b', class: "p-2" }, h("form-control-date", { key: '4f233e95aeae496357938c69f25336123fbf1f0f', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.params.created_before, { showInputDate: true }) })))));
15
+ }
16
+ static get is() { return "payouts-list-filters"; }
17
+ static get properties() {
18
+ return {
19
+ "params": {
20
+ "type": "unknown",
21
+ "mutable": false,
22
+ "complexType": {
23
+ "original": "PayoutsTableFilterParams",
24
+ "resolved": "PayoutsTableFilterParams",
25
+ "references": {
26
+ "PayoutsTableFilterParams": {
27
+ "location": "import",
28
+ "path": "../../api",
29
+ "id": "src/api/index.ts::PayoutsTableFilterParams"
30
+ }
31
+ }
32
+ },
33
+ "required": false,
34
+ "optional": false,
35
+ "docs": {
36
+ "tags": [],
37
+ "text": ""
38
+ }
39
+ },
40
+ "setParamsOnChange": {
41
+ "type": "unknown",
42
+ "mutable": false,
43
+ "complexType": {
44
+ "original": "(name: string, value: string) => void",
45
+ "resolved": "(name: string, value: string) => void",
46
+ "references": {}
47
+ },
48
+ "required": false,
49
+ "optional": false,
50
+ "docs": {
51
+ "tags": [],
52
+ "text": ""
53
+ }
54
+ },
55
+ "clearParams": {
56
+ "type": "unknown",
57
+ "mutable": false,
58
+ "complexType": {
59
+ "original": "() => void",
60
+ "resolved": "() => void",
61
+ "references": {}
62
+ },
63
+ "required": false,
64
+ "optional": false,
65
+ "docs": {
66
+ "tags": [],
67
+ "text": ""
68
+ }
69
+ }
70
+ };
71
+ }
72
+ }
@@ -1,12 +1,15 @@
1
1
  import { h } from "@stencil/core";
2
- import { tableExportedParts } from "../../ui-components/table/exported-parts";
2
+ import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
3
+ import JustifiAnalytics from "../../api/Analytics";
4
+ import { checkPkgVersion } from "../../utils/check-pkg-version";
5
+ import { config } from "../../../config";
3
6
  import { PayoutService } from "../../api/services/payout.service";
4
7
  import { makeGetPayouts } from "./get-payouts";
5
- import { ComponentErrorCodes } from "../../api/ComponentError";
6
- import JustifiAnalytics from "../../api/Analytics";
7
8
  import { makeGetPayoutCSV } from "../payout-details/get-payout-csv";
8
- import { checkPkgVersion } from "../../utils/check-pkg-version";
9
- import { StyledHost } from "../../ui-components/styled-host/styled-host";
9
+ import { makeGetSubAccounts } from "../../api/get-subaccounts";
10
+ import { SubAccountService } from "../../api/services/subaccounts.service";
11
+ import { StyledHost, tableExportedParts } from "../../ui-components";
12
+ import { defaultColumnsKeys } from "./payouts-table";
10
13
  /**
11
14
  * @exportedPart label: Label for inputs
12
15
  * @exportedPart input: The input fields
@@ -35,29 +38,37 @@ export class PayoutsList {
35
38
  this.errorMessage = event.detail.message;
36
39
  this.errorEvent.emit(event.detail);
37
40
  };
38
- this.accountId = undefined;
39
- this.authToken = undefined;
40
41
  this.getPayouts = undefined;
41
42
  this.getPayoutCSV = undefined;
43
+ this.getSubAccounts = undefined;
42
44
  this.errorMessage = null;
45
+ this.accountId = undefined;
46
+ this.authToken = undefined;
47
+ this.apiOrigin = config.proxyApiOrigin;
48
+ this.columns = defaultColumnsKeys;
43
49
  }
44
50
  componentWillLoad() {
45
51
  checkPkgVersion();
46
52
  this.analytics = new JustifiAnalytics(this);
47
- this.initializeServices();
53
+ this.initializeGetData();
48
54
  }
49
55
  disconnectedCallback() {
50
56
  this.analytics.cleanup();
51
57
  }
52
58
  propChanged() {
53
- this.initializeServices();
59
+ this.initializeGetData();
54
60
  }
55
- initializeServices() {
61
+ initializeGetData() {
62
+ this.initializePayoutsServices();
63
+ this.initializeGetSubAccounts();
64
+ }
65
+ initializePayoutsServices() {
56
66
  if (this.accountId && this.authToken) {
57
67
  const serviceParams = {
58
68
  id: this.accountId,
59
69
  authToken: this.authToken,
60
70
  service: new PayoutService(),
71
+ apiOrigin: this.apiOrigin
61
72
  };
62
73
  this.getPayouts = makeGetPayouts(serviceParams);
63
74
  this.getPayoutCSV = makeGetPayoutCSV(serviceParams);
@@ -66,12 +77,23 @@ export class PayoutsList {
66
77
  this.errorMessage = 'Account ID and Auth Token are required';
67
78
  this.errorEvent.emit({
68
79
  errorCode: ComponentErrorCodes.MISSING_PROPS,
69
- message: 'Account ID and Auth Token are required',
80
+ message: this.errorMessage,
81
+ severity: ComponentErrorSeverity.ERROR,
82
+ });
83
+ }
84
+ }
85
+ initializeGetSubAccounts() {
86
+ if (this.accountId && this.authToken) {
87
+ this.getSubAccounts = makeGetSubAccounts({
88
+ accountId: this.accountId,
89
+ authToken: this.authToken,
90
+ service: new SubAccountService(),
91
+ apiOrigin: this.apiOrigin
70
92
  });
71
93
  }
72
94
  }
73
95
  render() {
74
- return (h(StyledHost, { key: '8d72aa16705df76ed49a13a59e88a40a75c23488', exportedparts: tableExportedParts }, h("payouts-list-core", { key: '94428c879981bbc036e1d4f6c59c1e1c1146c824', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, "onError-event": this.handleOnError })));
96
+ return (h(StyledHost, { key: '5f482e2ab5d1a022c9f54f13a8ab31860ff4b6ec', exportedparts: tableExportedParts }, h("payouts-list-core", { key: 'fe5decfcda48b54bbcded8c605d0f3a2576c35cb', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
75
97
  }
76
98
  static get is() { return "justifi-payouts-list"; }
77
99
  static get encapsulation() { return "shadow"; }
@@ -110,6 +132,42 @@ export class PayoutsList {
110
132
  },
111
133
  "attribute": "auth-token",
112
134
  "reflect": false
135
+ },
136
+ "apiOrigin": {
137
+ "type": "string",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "string",
141
+ "resolved": "string",
142
+ "references": {}
143
+ },
144
+ "required": false,
145
+ "optional": true,
146
+ "docs": {
147
+ "tags": [],
148
+ "text": ""
149
+ },
150
+ "attribute": "api-origin",
151
+ "reflect": false,
152
+ "defaultValue": "config.proxyApiOrigin"
153
+ },
154
+ "columns": {
155
+ "type": "string",
156
+ "mutable": false,
157
+ "complexType": {
158
+ "original": "string",
159
+ "resolved": "string",
160
+ "references": {}
161
+ },
162
+ "required": false,
163
+ "optional": true,
164
+ "docs": {
165
+ "tags": [],
166
+ "text": ""
167
+ },
168
+ "attribute": "columns",
169
+ "reflect": false,
170
+ "defaultValue": "defaultColumnsKeys"
113
171
  }
114
172
  };
115
173
  }
@@ -117,6 +175,7 @@ export class PayoutsList {
117
175
  return {
118
176
  "getPayouts": {},
119
177
  "getPayoutCSV": {},
178
+ "getSubAccounts": {},
120
179
  "errorMessage": {}
121
180
  };
122
181
  }
@@ -0,0 +1,26 @@
1
+ import { h } from "@stencil/core";
2
+ import { convertToLocal, formatCurrency } from "../../utils/utils";
3
+ import { MapPayoutStatusToBadge } from "./payouts-status";
4
+ export const defaultColumnsKeys = 'created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv';
5
+ export const payoutTableColumns = {
6
+ created_at: () => (h("th", { part: "table-head-cell", scope: "col", title: "The date the payout was deposited" }, "Created")),
7
+ sub_account_name: () => (h("th", { part: "table-head-cell", scope: "col", title: "The sub account associated with the payout" }, "Sub Account")),
8
+ payments_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total payments amount associated with the payout" }, "Payments")),
9
+ refunds_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total refunds amount associated with the payout" }, "Refunds")),
10
+ fees_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total fees amount associated with the payout" }, "Fees")),
11
+ other_total: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total other amount" }, "Other")),
12
+ amount: () => (h("th", { part: "table-head-cell", scope: "col", title: "The total amount of the payout" }, "Amount")),
13
+ status: () => (h("th", { part: "table-head-cell", scope: "col", title: "The real-time status of each payout" }, "Status")),
14
+ csv: () => (h("th", { part: "table-head-cell", scope: "col", title: "Export CSV" })),
15
+ };
16
+ export const payoutTableCells = (downloadCSV) => ({
17
+ created_at: (value) => (h("td", { part: "table-cell" }, h("div", { class: "fw-bold" }, convertToLocal(value, { showDisplayDate: true }), " "))),
18
+ sub_account_name: (value) => (h("td", { part: "table-cell" }, value)),
19
+ payments_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
20
+ refunds_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
21
+ fees_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
22
+ other_total: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
23
+ amount: (value) => (h("td", { part: "table-cell" }, formatCurrency(value))),
24
+ status: (value) => (h("td", { part: "table-cell", innerHTML: MapPayoutStatusToBadge(value) })),
25
+ csv: (value) => (h("td", { part: "table-cell" }, h("a", { href: "#", onClick: (event) => { event.preventDefault(); downloadCSV(value); } }, "CSV"))),
26
+ });
@@ -75,7 +75,7 @@ export class RefundForm {
75
75
  }
76
76
  render() {
77
77
  var _a;
78
- return (h(StyledHost, { key: '05a417edd28ecdb609c9ca6abaa60004fe782beb' }, h("h1", { key: '05450dad6321a3cb94461d020a64dde7abfcb287' }, "Refund"), this.refundInfoText && (h("div", { key: '4874c1bbbbcb0caac057e7d29eb5d62f998e7f70', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: 'cb64bc85188e882e6c863bb2e56411f31f9675d3', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: 'd1497287435d3b87f77bf37d4bd1473cf1ddc4f3', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '4936209e143d8c5d6ef6a32ddc49d63b92711351', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: 'fc6e616809550f22b949d1f256b4ddc922e1fab9', class: "form-group" }, h("form-control-monetary", { key: '220c36b30960e85b30999267b7daa933062e4ca0', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: 'd40556a67819325134ff1389a8e8018b024ce0da', class: "form-group" }, h("form-control-text", { key: '1c1cb5a345118902830bad6ec852bfb0641a983c', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: 'bb167956ce0a4bef63fbdee79681348a963f55be', class: "form-group d-flex flex-row-reverse" }, h("button", { key: 'd6767bf536e4416f4071271cc2028be69686a59e', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
78
+ return (h(StyledHost, { key: '63863f5db62aa514fdf76c673d33634d0ce091b5' }, h("h1", { key: '3cd25385bb1d14a041abde024db70f052b913479' }, "Refund"), this.refundInfoText && (h("div", { key: 'df4fdf161bdc6330db3d04fab06b023b19dd4be6', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '053bc242826eeb92456ad1869e11a0083c8a65f6', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: 'cec5c737d36aba8328e07871717aaa6107f3ff8d', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: 'f43a1ec8344b9a6222470bb59924743583d61699', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: 'bdb96e4a7b9aacd6d85d5736bcc3bfa9c7b949dc', class: "form-group" }, h("form-control-monetary", { key: '59c922da8305ea8069de82f94f287a9d4a885f08', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: '536874e5887e8085409bc6e2220de0029f986613', class: "form-group" }, h("form-control-text", { key: '25ad446fa05c176169b45b72b26fedfb759376b0', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '51a1334769beb7911e2bee6416f1e325e9b6e456', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '1fe584c4c1fcb7e4f36063774303ac17132debbf', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
79
79
  }
80
80
  static get is() { return "justifi-refund-form"; }
81
81
  static get encapsulation() { return "shadow"; }
@@ -119,7 +119,7 @@ export class TerminalsListCore {
119
119
  return !this.showEmptyState && !this.showErrorState && !this.loading;
120
120
  }
121
121
  render() {
122
- return (h("div", { key: '7f8bc3f39c1250281c2f2ad6fe081fc71bb20e79' }, h("terminals-list-filters", { key: 'd1184427fc74d970bd69d56a00d0ef4b7672516b', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: '582e37429a153cd17bf3c7ebb16e7330c774f986', class: "table-wrapper" }, h("table", { key: '1c03b2ddc8ca2da6b1f2147113f7832b3f27ec1d', class: "table table-hover" }, h("thead", { key: '811d48219cc04256f4a37854504252ff53392bd9', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: 'fafa54ac3abba993dcf38ca2e47f248031226041', class: "table-light text-nowrap", part: "table-head-row" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: '8c9072bf6ebb7f720f1fad0faa47c72c8ed84dd2', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: 'abddb3ce09e39245c0455893f09e54cc631b26bf', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '166a461ee8aaf7405fc0a2b12cd17e1e1e9553f3', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '969bbfcce66b6bcee4dadabe465eaef37022d13b', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data)))), this.paging && (h("tfoot", { key: 'c63268c11facddaa44452c58743ad9c03f492898', class: "sticky-bottom" }, h("tr", { key: '0e247f8968ad4ed7e8c001354b1c29d5bf7976aa', class: "table-light align-middle" }, h("td", { key: '51c5157453d911f5bf370ba2ac6a556dd1592f24', part: "pagination-bar", colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '3a3ba65f31099125e9c01bc9c8c001c6437ed720', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
122
+ return (h("div", { key: 'd022a41666a6483bcb405bfe477b7eba1e5ca5dd' }, h("terminals-list-filters", { key: 'cb0d38d4b51c5cb9482c1f567dce4462bf12a055', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: '82cbf05382d9ecaf0d01c4e0b5f61618b1442690', class: "table-wrapper" }, h("table", { key: '5c8bd36b6523cf56542b016e3195188781b2cb03', class: "table table-hover" }, h("thead", { key: 'f35d86ae84f673437e0fc51ad3e26b1839153590', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '7727a4e30dddd62d6dc3c405c7ca505f91a71643', class: "table-light text-nowrap", part: "table-head-row" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: '4e0ee2053a33622037e7961ec289036e52632e3f', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: '96cb647d4f5c2e4a1ecb33be46b868e1318762ca', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '062aeeb69a149b2f15e49c81bb3bd16a6d5a5dfd', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '750a04c3ecb53271b3affced7e9245733c64bd57', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data)))), this.paging && (h("tfoot", { key: '19edc599b2ccd6212c03045b754fe251335fa665', class: "sticky-bottom" }, h("tr", { key: 'dd793c33355dd6b0448e327a62b3cc08a0d09bad', class: "table-light align-middle" }, h("td", { key: '0b142d2c1b658e1bb084741fa461d7f350c3449c', part: "pagination-bar", colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '757d9ba17e1a768aa0bcf573a2d02b455bac3df3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
123
123
  }
124
124
  static get is() { return "terminals-list-core"; }
125
125
  static get properties() {
@@ -19,7 +19,7 @@ export class TerminalsListFilters {
19
19
  ];
20
20
  }
21
21
  render() {
22
- return (h("table-filters-menu", { key: '4bfd04cf078878811b2692ff166598deb22b7d92', params: this.params, clearParams: this.clearParams }, h("div", { key: '470d4eb34429c887d03beb0caedd8c9486d18900', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '34d34e8c90c36b7cab1fb3442cb04e58f9ebb334', class: "p-2" }, h("form-control-text", { key: '5234008261646f1a090686fc0d795a6e846c9e04', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.terminal_id })), h("div", { key: 'fdd089fa29bf030ed3825993ff4e50a9ecefa1dc', class: "p-2" }, h("form-control-select", { key: '0c078ec1ecffea26e0cec5633cb4748337a75643', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.status || '' })))));
22
+ return (h("table-filters-menu", { key: '486847f69064b497b72521312d27097690eb19b2', params: this.params, clearParams: this.clearParams }, h("div", { key: '622e3572ff1cf85a60ffa30c4fa5d39780375abb', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '2cef9085c3d09e96907cdaa8330e8b8b80d8ceec', class: "p-2" }, h("form-control-text", { key: 'a3922b71cbdc93bbdddd519e44bad25379c6b5f4', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.terminal_id })), h("div", { key: '1027edf52dc1ceacc4779b29bda4b7d08c8a3c8c', class: "p-2" }, h("form-control-select", { key: 'e1f122b2868282a64dccc99b3e9d19fe7cc768fb', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.status || '' })))));
23
23
  }
24
24
  static get is() { return "terminals-list-filters"; }
25
25
  static get properties() {
@@ -89,7 +89,7 @@ export class TerminalsList {
89
89
  }
90
90
  }
91
91
  render() {
92
- return (h(StyledHost, { key: '8ffe95f21b5ef8c1c15fc0e22a9c824cff758ee6', exportparts: tableExportedParts }, h("terminals-list-core", { key: 'a550f1f85b84f6cc06bd93b5e5a9ec726b72b46c', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
92
+ return (h(StyledHost, { key: 'b0109248be43245cc91a844960f83c80b09b88a3', exportparts: tableExportedParts }, h("terminals-list-core", { key: 'c1b6467303b606863c544f898a3c0b8e37c597c2', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
93
93
  }
94
94
  static get is() { return "justifi-terminals-list"; }
95
95
  static get encapsulation() { return "shadow"; }
@@ -156,7 +156,7 @@ export class TerminalsList {
156
156
  "references": {}
157
157
  },
158
158
  "required": false,
159
- "optional": false,
159
+ "optional": true,
160
160
  "docs": {
161
161
  "tags": [],
162
162
  "text": ""
@@ -8,8 +8,8 @@ export const terminalTableColumns = {
8
8
  status: () => (h("th", { part: "table-head-cell", scope: "col", title: "The current status of each terminal" }, "Status")),
9
9
  };
10
10
  export const terminalTableCells = {
11
- nickname: (value) => (h("td", null, value)),
12
- provider_id: (value) => (h("td", null, value)),
13
- sub_account_name: (value) => (h("td", null, value)),
14
- status: (value) => (h("td", { innerHTML: MapTerminalStatusToBadge(value) })),
11
+ nickname: (value) => (h("td", { part: "table-cell" }, value)),
12
+ provider_id: (value) => (h("td", { part: "table-cell" }, value)),
13
+ sub_account_name: (value) => (h("td", { part: "table-cell" }, value)),
14
+ status: (value) => (h("td", { part: "table-cell", innerHTML: MapTerminalStatusToBadge(value) })),
15
15
  };
@@ -36,7 +36,7 @@ export class TokenizePaymentMethod {
36
36
  this.paymentMethodOptionsRef.fillBillingForm(fields);
37
37
  }
38
38
  render() {
39
- return (h(StyledHost, { key: 'd6b961d57ad40a36a55db9f4a338f2e4659737b8' }, h("form", { key: '478202bc0e742f132df696e317a5d87b583a65c3' }, h("fieldset", { key: '565295af010636d9746c5a3466ce6b3bf4fe5ba2' }, h("div", { key: '95736fa3b125f6c389e80505842749d40eb50318', class: "row gy-3" }, h("div", { key: '086f7078ab5301c59ea3a1003162ebf82907b594', class: "col-12" }, h("justifi-payment-method-options", { key: '13d99aee101cd0dc9cdf52abf3e510a8ee490e82', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: '348afe48dbcb996b268bf9e6416f25540f9b2930', class: "col-12" }, h(Button, { key: '00baa2bd2b99a9a8329b9abaace0afac36ae094a', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button" }, this.submitButtonText || 'Submit')))))));
39
+ return (h(StyledHost, { key: 'ff495ccfaf453b5efc1e09d6a3dbeae2f7056368' }, h("form", { key: '92e7ce29d3d7f12def1f83e35130de8ec3637140' }, h("fieldset", { key: 'b0e1b306f0ad87cabf04429760f9043319ea45c3' }, h("div", { key: '1176a0d441ed62522ddabf573f674903e39b17f2', class: "row gy-3" }, h("div", { key: 'c920e3759b0ae8dabda8947823831a5bac39b33a', class: "col-12" }, h("justifi-payment-method-options", { key: '1e764236818baef88ce825dbc8903f2767d2fa95', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: 'f1cd3b08d4c558933b3da04073e527b5b0958f8b', class: "col-12" }, h(Button, { key: 'd321de173c8deaf8dcb382d14d9688cbd83ee3b9', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button" }, this.submitButtonText || 'Submit')))))));
40
40
  }
41
41
  static get is() { return "justifi-tokenize-payment-method"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -81,7 +81,7 @@ export class CustomPopper {
81
81
  this.hideEvent.emit();
82
82
  }
83
83
  render() {
84
- return (h("div", { key: '8a37af79ca05c760a65fde19686d0c2e796fbb0b' }, h("style", { key: '9a92807c0d688d1ddc86f05bcc39e34f1da2a939' }, `
84
+ return (h("div", { key: '486c7b71b1b4f6d3ad8a9b9042fe5bdfe0427443' }, h("style", { key: '54a5bed99c8cf367642c63650200376cc5a90142' }, `
85
85
  .popper-content {
86
86
  display: none;
87
87
  }
@@ -89,7 +89,7 @@ export class CustomPopper {
89
89
  display: block;
90
90
  z-index: 1030;
91
91
  }
92
- `), h("div", { key: 'fc9582fdc9d0b2e0ad115daad752796cd2bc4067', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '79ecc806af9caa4450969cd4b84868b59aa3f55b' }))));
92
+ `), h("div", { key: '1c4dc36300485c1c331f39998bf23127ea5e6177', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '9dbb8f23779595303814ef10762663b809447c32' }))));
93
93
  }
94
94
  static get is() { return "custom-popper"; }
95
95
  static get properties() {
@@ -1,3 +1,14 @@
1
+ export function composeQueryParams(values) {
2
+ const queryParams = values.map((value) => {
3
+ if (value === values[0]) {
4
+ return (value = `?${value}`);
5
+ }
6
+ else {
7
+ return (value = `&${value}`);
8
+ }
9
+ });
10
+ return queryParams.join('');
11
+ }
1
12
  export const onFilterChange = (newFilters, params) => {
2
13
  let newParams = Object.assign({}, params);
3
14
  delete newParams.before_cursor;
@@ -25,7 +25,7 @@ export class CheckboxInput {
25
25
  this.updateInput(this.defaultValue);
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: 'c8edb4605eb989c6ace61a706eecdfaa2fdb312b', exportparts: "label,input,input-invalid" }, h("div", { key: '7e947fd7c2bb62d595b4573196c29e65c49a9fd2', class: 'form-group d-flex flex-column' }, h("div", { key: 'c436746afb9b635164d97787a2c016376293efe6', class: "form-check" }, h("input", { key: '1c49c239af1e8d40306ea9501811496fc4e4f363', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input-checkbox ${this.errorText ? 'input-checkbox-invalid' : ''}`, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled }), h("label", { key: 'c84eedc7331cfb4beaa2dacef387179d0d7b3edc', class: "form-check-label", htmlFor: this.name }, this.label)), h("form-control-help-text", { key: 'e7b88e259c2e8cfb11fce667d35d44770baa3283', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'ed6dbbb0cab64fac7b9fdf3927cdca135dcaef88', errorText: this.errorText, name: this.name }))));
28
+ return (h(Host, { key: '62c7e5756a185d29a941dd63a431756beed3d554', exportparts: "label,input,input-invalid" }, h("div", { key: 'db89c096aa07aecd8c5205905c26f56ac4282a3a', class: 'form-group d-flex flex-column' }, h("div", { key: '8f6c06c0150eee6284d3b2465b3aca916c2d7f83', class: "form-check" }, h("input", { key: '25b9b0a620ee3fce0f4fa4892a38b289e0a0d521', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input-checkbox ${this.errorText ? 'input-checkbox-invalid' : ''}`, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled }), h("label", { key: '783d5dbbafeeeceab3400361eff65cd6a075f637', class: "form-check-label", htmlFor: this.name }, this.label)), h("form-control-help-text", { key: '4b129fa8360d7d305f14939d213667a9003c6b94', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '303b12a3b51634866a4266486ac6295f5d582ab6', errorText: this.errorText, name: this.name }))));
29
29
  }
30
30
  static get is() { return "form-control-checkbox"; }
31
31
  static get properties() {
@@ -2,17 +2,9 @@ import { Host, h, } from "@stencil/core";
2
2
  export class DateInput {
3
3
  constructor() {
4
4
  this.handleFormControlInput = (event) => {
5
- const target = event.target;
6
- const localValue = target.value;
7
- if (this.filterTimeZone) {
8
- const utcDate = this.convertToUTC(localValue);
9
- this.inputHandler(this.name, utcDate);
10
- this.formControlInput.emit({ name: this.name, value: utcDate });
11
- }
12
- else {
13
- this.inputHandler(this.name, localValue);
14
- this.formControlInput.emit({ name: this.name, value: localValue });
15
- }
5
+ const dateValue = event.target.value;
6
+ this.inputHandler(this.name, dateValue);
7
+ this.formControlInput.emit({ name: this.name, value: dateValue });
16
8
  };
17
9
  this.name = undefined;
18
10
  this.label = undefined;
@@ -21,17 +13,11 @@ export class DateInput {
21
13
  this.helpText = undefined;
22
14
  this.errorText = undefined;
23
15
  this.disabled = undefined;
24
- this.filterTimeZone = false;
25
16
  this.showTime = undefined;
26
17
  this.maxDate = this.currentDate;
27
18
  }
28
19
  handleDefaultValueChange(newValue) {
29
- if (this.filterTimeZone) {
30
- this.updateInput(this.convertToLocal(newValue));
31
- }
32
- else {
33
- this.updateInput(newValue);
34
- }
20
+ this.updateInput(newValue);
35
21
  }
36
22
  get currentDate() {
37
23
  if (!this.showTime) {
@@ -42,30 +28,13 @@ export class DateInput {
42
28
  }
43
29
  }
44
30
  componentDidLoad() {
45
- if (this.filterTimeZone) {
46
- this.updateInput(this.convertToLocal(this.defaultValue));
47
- }
48
- else {
49
- this.updateInput(this.defaultValue);
50
- }
31
+ this.updateInput(this.defaultValue);
51
32
  }
52
33
  updateInput(value) {
53
34
  this.dateInput.value = value;
54
35
  }
55
- convertToUTC(value) {
56
- const dateObj = new Date(value);
57
- return new Date(dateObj.toUTCString()).toISOString();
58
- }
59
- convertToLocal(value) {
60
- if (!value)
61
- return value;
62
- const date = new Date(value);
63
- // Adjust the date to the local timezone
64
- const localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);
65
- return this.showTime ? localDate.toISOString().slice(0, 16) : localDate.toISOString().split('T')[0];
66
- }
67
36
  render() {
68
- return (h(Host, { key: 'd3fe13284d2f08b951f12d16ea6a56492864991e', exportparts: "label,input,input-invalid" }, h("div", { key: '4823a873c5a8851b094ae59869014ffc6e603328', class: "form-group d-flex flex-column" }, h("div", { key: 'c2205441e85bfe202ae80660eafb4a3f0bae3f82', class: "d-flex gap-2" }, h("label", { key: 'c82d9599db4f54b647bf930e2a44b2f82b07876c', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'b2d8b21a6dba7f4e093081eb274e02d4484198e1', helpText: this.helpText })), h("input", { key: '579063f27122ec31f3818d3168060e43c51c1889', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h("form-control-error-text", { key: '75b7361712bbc65683b19a40398fa5b111b8b39b', errorText: this.errorText, name: this.name }))));
37
+ return (h(Host, { key: '29a793e97ef8cc6bd532ce6f86e31028e6a3a783', exportparts: "label,input,input-invalid" }, h("div", { key: '32487660602957a69c9cd82625bd019335e76124', class: "form-group d-flex flex-column" }, h("div", { key: '5d45a740e61f328cb0bec179117b97ea9449bc03', class: "d-flex gap-2" }, h("label", { key: 'ba01fd2ce1f8f8cfa3a0599b21c01071eb6400a0', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'aeaaf6caa4b4999ec1ecd419f4699aceb72d6cb1', helpText: this.helpText })), h("input", { key: 'af713ff971ca5b8c046199ff1252db40649a8f94', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h("form-control-error-text", { key: '02338706e4d55074014d8e177c27c002181a93e6', errorText: this.errorText, name: this.name }))));
69
38
  }
70
39
  static get is() { return "form-control-date"; }
71
40
  static get properties() {
@@ -187,24 +156,6 @@ export class DateInput {
187
156
  "attribute": "disabled",
188
157
  "reflect": false
189
158
  },
190
- "filterTimeZone": {
191
- "type": "boolean",
192
- "mutable": false,
193
- "complexType": {
194
- "original": "boolean",
195
- "resolved": "boolean",
196
- "references": {}
197
- },
198
- "required": false,
199
- "optional": true,
200
- "docs": {
201
- "tags": [],
202
- "text": ""
203
- },
204
- "attribute": "filter-time-zone",
205
- "reflect": false,
206
- "defaultValue": "false"
207
- },
208
159
  "showTime": {
209
160
  "type": "boolean",
210
161
  "mutable": false,
@@ -31,7 +31,7 @@ export class FileInput {
31
31
  this.fileInput = this.el.querySelector('input');
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'd3928cd6013d8e1bd23921a3d73b57de3a3f4c8f', exportparts: "label,input,input-invalid" }, h("div", { key: '5c15b542801ed84a4bdd43b7a7cb8f9a70ab5016', class: "form-group d-flex flex-column" }, h("div", { key: '1636d3a16f0da8047361cbaa87423d35e042de40', class: "d-flex align-items-start gap-2" }, h("label", { key: 'bfce95a71327cf8dd69aee4de8f1ff72c2ddcd97', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '2f6167da52618938b39e3917332a74ac3c19aba0', helpText: this.helpText })), h("input", { key: '1b06c50ddb2c1bec731ceca89cc2a19a7329e3cd', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onBlur: () => this.formControlBlur.emit() }), h("form-control-error-text", { key: '0f38dc541504c11d49afda08f5531d9612e4911d', errorText: this.errorText, name: this.name }))));
34
+ return (h(Host, { key: 'e67b1c78293ee490ff9f468e98533c2eed03a14a', exportparts: "label,input,input-invalid" }, h("div", { key: '373c4ccfdbdd49f00bfe3673bb284930706f7842', class: "form-group d-flex flex-column" }, h("div", { key: '93d7524b79cc2a537f4ccc6bea300182ddd31f40', class: "d-flex align-items-start gap-2" }, h("label", { key: 'f5619fd58b973b31c8ea47b52715ede5f5891283', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fd0979253100c2e3efbb30a6fd698b756cf42bbe', helpText: this.helpText })), h("input", { key: '8185ccf0fdae02ec7c8cfd6d6cdedfe80f012f4e', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onBlur: () => this.formControlBlur.emit() }), h("form-control-error-text", { key: '0aef8ab535103ef7a0b8f7df3b23508985559072', errorText: this.errorText, name: this.name }))));
35
35
  }
36
36
  static get is() { return "form-control-file"; }
37
37
  static get properties() {
@@ -47,7 +47,7 @@ export class MonetaryInput {
47
47
  (_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: '2a65acfea8e79d22dd09c7c116d80b12a2f2a47c', exportparts: "label,input,input-group-input,input-group-text,input-invalid" }, h("div", { key: '166dfb5c261c21d58db1a0e17d8bae149834c149', class: "form-group d-flex flex-column" }, h("label", { key: '1980871936440222e2b711ba2953d7b6287bf080', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '4cfb60bf946fa7e745c93b391997218122c551a0', class: "input-group" }, h("span", { key: '711357a32f9dc1fef77359f15ec3167a468d0463', class: "input-group-text", part: "input-group-text" }, "$"), h("input", { key: '2489cab2ecb61096f781d339363dad50404e3c67', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input input-group-input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h("form-control-help-text", { key: 'f7e89f0830ca0f453b02595303a245691f448d55', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '61f03f0d09027237ab3f5c7979981ddc3dc4c916', errorText: this.errorText, name: this.name }))));
50
+ return (h(Host, { key: '27e8570c7ddb6747f8b78fdf0222747022b2e4b2', exportparts: "label,input,input-group-input,input-group-text,input-invalid" }, h("div", { key: '1ee22eda4b9f5b5ddf42f1d15d4ec3ee084e967e', class: "form-group d-flex flex-column" }, h("label", { key: '73930260feaeca6edab8b9947da211358474b680', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '7da2e46e0538563151f4603bfbeee22a447e7310', class: "input-group" }, h("span", { key: '3209947bf3c65c2ecfd3b56a0da27d663b444742', class: "input-group-text", part: "input-group-text" }, "$"), h("input", { key: 'ba3d0b0a55ba25a9b7315fc9e95e408073b47cf5', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input input-group-input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h("form-control-help-text", { key: 'af50f5b6f8f9ce1ac80be790f64dfbcd5067f5aa', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '2d134789d103c82c545c97428e6a4e4da1c0e099', errorText: this.errorText, name: this.name }))));
51
51
  }
52
52
  static get is() { return "form-control-monetary"; }
53
53
  static get properties() {
@@ -52,7 +52,7 @@ export class NumberInputMasked {
52
52
  }
53
53
  }
54
54
  render() {
55
- return (h(Host, { key: 'd22be5920cedfcbeb57164ba2d6909dc820fee6c', exportparts: "label,input,input-invalid" }, h("div", { key: '9ae430200ebdd26f5995dd2ccad7ad759d14ee11', class: "form-group d-flex flex-column" }, h("div", { key: '796880c67b2bd97977d09721f58357521cb76456', class: "d-flex align-items-start gap-2" }, h("label", { key: '8e4f342d1cebff5ba32b622448f759d83625d929', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '49b58ac4725e882732daefd29b3ce3c248fbe385', helpText: this.helpText })), h("input", { key: '566965701a60397807cc857813f839f56477dd81', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h("form-control-error-text", { key: '783689f60c6aacab17be5a94a2b1abbd01232a42', errorText: this.errorText, name: this.name }))));
55
+ return (h(Host, { key: '2347d776d2ca3dba7c4c331bbeb3d4e359268704', exportparts: "label,input,input-invalid" }, h("div", { key: '16d437f201888fdef6148630e5afc75ee7c36bae', class: "form-group d-flex flex-column" }, h("div", { key: 'd776ff7c160cbba0436ec36e20cb0c81edbc380f', class: "d-flex align-items-start gap-2" }, h("label", { key: '8c6664087dc2593870380341cf51fc5511a95e35', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '1495842c0cd7117c50c62888cf90e001a4e15756', helpText: this.helpText })), h("input", { key: 'f2468b56ba6f1e7482c5437ce728a4dc39db966b', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h("form-control-error-text", { key: '7e2485e91f263e8a970b91628adf945eb3280c2d', errorText: this.errorText, name: this.name }))));
56
56
  }
57
57
  static get is() { return "form-control-number-masked"; }
58
58
  static get properties() {
@@ -28,7 +28,7 @@ export class NumberInput {
28
28
  this.updateInput(this.defaultValue);
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: '2531e0e3e6ce1a477687be5f520f491256fb1841', exportparts: 'label,input,input-invalid' }, h("div", { key: '32df49f44e1a9737fbe62a6729007c048ed1ecac', class: 'form-group d-flex flex-column' }, h("label", { key: '33da2c09b1cf6b5d816bfa315061b4c5f211f0c5', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'a890c2d80dd744194f715ab148e6229d3bb524ac', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h("form-control-help-text", { key: 'cb649de955887d02da58ab9934cadf5956cf7f8e', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'db06fb4008f3f66b3b726f67bd58ae96bd152bd8', errorText: this.errorText, name: this.name }))));
31
+ return (h(Host, { key: '3b2f42c3cd26fb238f2b728522608c9d37d087a9', exportparts: 'label,input,input-invalid' }, h("div", { key: '01a3382ef37353f3cad6d6ffb66ce2ff5f13b8de', class: 'form-group d-flex flex-column' }, h("label", { key: '981f1089d6ec68cda5c91ced9025b5ff021aad50', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'e1e2630c0d5921eb2c09f66495f534ac39f64f09', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h("form-control-help-text", { key: '8e2b99df6f3a2d5c3bca0903d0f74ff404a73cf8', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '03f12d2baa3aac08f460332a4867ab7ef8e82143', errorText: this.errorText, name: this.name }))));
32
32
  }
33
33
  static get is() { return "form-control-number"; }
34
34
  static get properties() {
@@ -26,7 +26,7 @@ export class RadioInput {
26
26
  this.updateInput(this.defaultChecked);
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: '00ddff45ec5c4c37ddd90f7e8c43559356e23d6a', exportparts: "label,input,input-invalid" }, h("div", { key: '8a853ad5c99ee78111494dff4772ba6ece292f17', class: 'form-group d-flex flex-column' }, h("div", { key: 'bd0fa6c02ad9b3b5900f53bd520f9628bac13fad', class: "form-check" }, h("input", { key: '4318242ddc4ac275660dd8daac0b86d741d6cdf3', ref: el => (this.radioElement = el), type: "radio", id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input-radio ${this.errorText ? 'input-radio-invalid' : ''}`, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value }), h("label", { key: 'ece1080c9d76c1459649ae80dcf894623955a61c', class: "form-check-label", htmlFor: this.name }, this.label)), h("form-control-help-text", { key: '4862090450a3a9a2bab95a994d41bc54535007ec', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '6cc9c5629e0f4bc6c7307a7f0a6f1726717d50fe', errorText: this.errorText, name: this.name }))));
29
+ return (h(Host, { key: 'd06ffa17fb7ef51b08b8c0d52c6d83ec040a15a7', exportparts: "label,input,input-invalid" }, h("div", { key: '9dc89af6c7118dae09d29daa6739847ee11ba7ff', class: 'form-group d-flex flex-column' }, h("div", { key: 'fa028b5f9901ca403fe120bc16e9fb48e2a5c92d', class: "form-check" }, h("input", { key: '78222c89d2713c070b2d38be3bc7953cd5c18677', ref: el => (this.radioElement = el), type: "radio", id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input-radio ${this.errorText ? 'input-radio-invalid' : ''}`, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value }), h("label", { key: 'ef2c6c45bf587d87bad6883fe79622a648d80d80', class: "form-check-label", htmlFor: this.name }, this.label)), h("form-control-help-text", { key: '28b32ee27148438b72bb909cc9cc309de936b158', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '8485f4d22f4bc0bb2238de5ab5bf7071203bac2b', errorText: this.errorText, name: this.name }))));
30
30
  }
31
31
  static get is() { return "form-control-radio"; }
32
32
  static get properties() {
@@ -30,7 +30,7 @@ export class TextInput {
30
30
  this.updateInput(this.defaultValue);
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '3450b693ae915280ba28a38613a9bd2ebb360677', exportparts: "label,input,input-invalid" }, h("div", { key: 'f815c2ff679a73375cb2d12087ecf4a2bf17d5e4', class: "form-group d-flex flex-column" }, h("div", { key: '3119c59e3f7d6b547088b1eccab66641129ec71e', class: "d-flex align-items-start gap-2" }, h("label", { key: '4e1cd66eb84cd6b3449bed5c1099627ad9ffa213', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fc9bd0b06d2400a6109b93ec7c8cc7f4e8955e3b', helpText: this.helpText })), h("input", { key: '9d1d615016acd3611bee6d097ed15c3c926c5e76', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? " input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h("form-control-error-text", { key: 'ac9f44ac5411a76c8b29f00ac4bfda91f5395e71', errorText: this.errorText, name: this.name }))));
33
+ return (h(Host, { key: '31f393afa67b52bea6b833a12be0bd06ce673bb2', exportparts: "label,input,input-invalid" }, h("div", { key: '14e875434e0f5c942623cbac1c338ef8775ed24d', class: "form-group d-flex flex-column" }, h("div", { key: '7c43ad5f89675b4db4b70e1e43a862e493ebeb30', class: "d-flex align-items-start gap-2" }, h("label", { key: '7d97de55470f39608349cf54225b927f9f029db8', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fd857b971360bf3bc87d902e28e15b17c1484bdd', helpText: this.helpText })), h("input", { key: 'ba0e1464cd736c8761cdee43715f9986480639c7', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? " input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h("form-control-error-text", { key: '31c1a57ce24a129a199864f20a0498957c2a43ea', errorText: this.errorText, name: this.name }))));
34
34
  }
35
35
  static get is() { return "form-control-text"; }
36
36
  static get properties() {
@@ -30,7 +30,7 @@ export class TextInput {
30
30
  this.updateInput(this.defaultValue);
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '0c4290f6731324ed511abb14a7b84e07f061e2d0', exportparts: "label,input,input-invalid" }, h("div", { key: '615c33ea0f0488b0d1224fb158d77cd1234fa311', class: "form-group d-flex flex-column" }, h("label", { key: '86f2ce13d24b447f84af7bc59a89267e988992ce', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: '1dbade53d02ac7a7daa1b546ab5d6d0e18c5fb46', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? 'input-invalid ' : ''}${this.disabled ? ' input-disabled' : ''}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '73974fe9a18995251e39ca494ec9cecbf90af21d', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'e8f10bd3ec0fbb215d113159d38888fe9b3f4689', errorText: this.errorText, name: this.name }))));
33
+ return (h(Host, { key: 'df50b59fa604d9411c904096342910fa7bda38c5', exportparts: "label,input,input-invalid" }, h("div", { key: '586ec64cf4e9fa5c557745225a24b500ccbe2479', class: "form-group d-flex flex-column" }, h("label", { key: 'eb2134c04fb7ed8e23606eaef6257767451fc4f1', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: '786ba64947c1ecfc70bbca823490a227c9fcd544', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? 'input-invalid ' : ''}${this.disabled ? ' input-disabled' : ''}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: 'a3d0c605439eb3f6dab7c61dc49c14dad0207623', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '0f0abe694c8b7a66378b447728a466407b51b082', errorText: this.errorText, name: this.name }))));
34
34
  }
35
35
  static get is() { return "form-control-textarea"; }
36
36
  static get properties() {
@@ -3,8 +3,8 @@ export class Table {
3
3
  return this.columnKeys.map((key) => this.tableColumns[key]());
4
4
  }
5
5
  get rowData() {
6
- return this.collection.map((checkout) => {
7
- return this.columnKeys.map((key) => this.tableCells[key](checkout[key]));
6
+ return this.collection.map((dataEntry) => {
7
+ return this.columnKeys.map((key) => this.tableCells[key](dataEntry[key]));
8
8
  });
9
9
  }
10
10
  set collectionData(collection) {