@justifi/webcomponents 5.4.0 → 5.4.2

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 (578) hide show
  1. package/dist/cjs/{Checkout-eef27045.js → Checkout-5352009d.js} +1 -1
  2. package/dist/cjs/{Payment-c47ed1e1.js → Payment-bccd8f7d.js} +1 -1
  3. package/dist/cjs/{SubAccount-9babbfd3.js → SubAccount-06f9030b.js} +4 -2
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  5. package/dist/cjs/{badge-591df67f.js → badge-364e6311.js} +1 -1
  6. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -11
  7. package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -16
  8. package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
  9. package/dist/cjs/{business-additional-questions-schema-5c100f58.js → business-additional-questions-schema-8568cb79.js} +2 -2
  10. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  11. package/dist/cjs/{business-identity-schema-3b4d16f1.js → business-identity-schema-518ab6eb.js} +2 -2
  12. package/dist/cjs/{business.service-27f67b29.js → business.service-6e8a29a2.js} +2 -2
  13. package/dist/cjs/{button-7f272a63.js → button-4a9fd41e.js} +1 -1
  14. package/dist/cjs/{check-pkg-version-52c7c2ab.js → check-pkg-version-15023e22.js} +1 -1
  15. package/dist/cjs/{checkout.service-46a5b9f2.js → checkout.service-ab658f38.js} +3 -3
  16. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
  17. package/dist/cjs/{checkouts-table-7f2081df.js → checkouts-table-8a1b49ff.js} +3 -3
  18. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
  19. package/dist/cjs/{dispute.service-a36c48bf.js → dispute.service-1494b42c.js} +3 -3
  20. package/dist/cjs/{event-types-921f3555.js → event-types-5a6ce2b0.js} +2 -2
  21. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  23. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  24. package/dist/cjs/{form-control-error-text-377bcf59.js → form-control-error-text-3cff9b7b.js} +1 -1
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  26. package/dist/cjs/{form-control-help-text-f7369e16.js → form-control-help-text-94ffed2c.js} +1 -1
  27. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +85 -0
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +27 -40
  29. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  31. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  32. package/dist/cjs/{get-business-0bd063d2.js → get-business-d8f5db51.js} +2 -2
  33. package/dist/cjs/{get-payout-csv-c1c7f03f.js → get-payout-csv-4240b172.js} +3 -3
  34. package/dist/cjs/{get-subaccounts-c1d559a0.js → get-subaccounts-fa8dc254.js} +3 -3
  35. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  36. package/dist/cjs/{header-1-a63a16d5.js → header-1-43b2b905.js} +1 -1
  37. package/dist/cjs/{header-3-a6e0f274.js → header-3-eb250a04.js} +1 -1
  38. package/dist/cjs/{index.esm-a397536a.js → index.esm-544c08fd.js} +0 -122
  39. package/dist/cjs/{insurance-state-ff4fca5a.js → insurance-state-71f8b653.js} +1 -1
  40. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
  41. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -17
  42. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  43. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  44. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
  45. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  46. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
  47. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
  48. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  49. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
  50. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  51. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  52. package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
  53. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
  54. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
  55. package/dist/cjs/justifi-order-terminals.cjs.entry.js +21 -23
  56. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -9
  57. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
  58. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
  60. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  61. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
  62. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
  63. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  64. package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
  65. package/dist/cjs/justifi-refund-payment.cjs.entry.js +122 -0
  66. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  67. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -7
  68. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
  69. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  70. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -6
  71. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
  72. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -9
  73. package/dist/cjs/loader.cjs.js +1 -1
  74. package/dist/cjs/{package-53904238.js → package-868b01af.js} +2 -2
  75. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  76. package/dist/cjs/{parts-3118ab4b.js → parts-5ca90f9a.js} +2 -0
  77. package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
  78. package/dist/cjs/{payment.service-fedf131a.js → payment.service-97bef4f8.js} +3 -3
  79. package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
  80. package/dist/cjs/{payments-status-96156930.js → payments-status-075aad0a.js} +1 -1
  81. package/dist/cjs/{payments-table-6f87d43e.js → payments-table-a076755a.js} +3 -3
  82. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  83. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
  84. package/dist/cjs/{payouts-status-aa6842ac.js → payouts-status-ced97c2b.js} +1 -1
  85. package/dist/cjs/{payouts-table-d4c8bbbc.js → payouts-table-aedce326.js} +3 -3
  86. package/dist/cjs/{schema-validations-47a256f4.js → schema-validations-a7cefbdf.js} +1 -1
  87. package/dist/cjs/{skeleton-32198b92.js → skeleton-e8aa41d0.js} +1 -1
  88. package/dist/cjs/{spinner-a5c0f3c0.js → spinner-580453f2.js} +1 -1
  89. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  90. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -10
  91. package/dist/cjs/{terminal-orders-table-eb95b278.js → terminal-orders-table-050e673f.js} +3 -3
  92. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  93. package/dist/cjs/{terminal.service-ac44fc14.js → terminal.service-0aac977d.js} +3 -3
  94. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
  95. package/dist/cjs/{terminals-table-3f0c33ea.js → terminals-table-6710a76c.js} +14 -2
  96. package/dist/cjs/{utils-337befa9.js → utils-4120664c.js} +20 -2
  97. package/dist/cjs/{utils-97041614.js → utils-f8714daa.js} +1 -1
  98. package/dist/cjs/webcomponents.cjs.js +1 -1
  99. package/dist/collection/actions/business/get-business.js +2 -2
  100. package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
  101. package/dist/collection/actions/terminal/order-terminals.js +2 -2
  102. package/dist/collection/api/Terminal.js +3 -1
  103. package/dist/collection/api/services/business.service.js +2 -2
  104. package/dist/collection/collection-manifest.json +6 -5
  105. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  106. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  107. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  108. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  109. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  110. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  111. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  112. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  113. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +1 -1
  114. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  115. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  116. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  117. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  119. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  122. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +255 -0
  123. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  125. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  128. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  129. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  130. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.js +6 -6
  131. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-schema.js +6 -2
  132. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.js +7 -7
  133. package/dist/collection/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.js +5 -5
  134. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  135. package/dist/collection/components/checkout/checkout-core.js +5 -5
  136. package/dist/collection/components/checkout/checkout.js +6 -6
  137. package/dist/collection/components/checkout/new-payment-method.js +5 -5
  138. package/dist/collection/components/checkout/payment-method-options.js +5 -5
  139. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  140. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  141. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  142. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  143. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  144. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  158. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  159. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  160. package/dist/collection/components/order-terminals/order-terminals.js +25 -8
  161. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  162. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  163. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  164. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  165. package/dist/collection/components/payments-list/payments-list.js +1 -1
  166. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  167. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  168. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  169. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  170. package/dist/collection/components/refund-payment/refund-payment-schema.js +16 -0
  171. package/dist/collection/components/{refund-form/refund-form.js → refund-payment/refund-payment.js} +26 -65
  172. package/dist/collection/components/refund-payment/refund-reason-options.js +19 -0
  173. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  174. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  175. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  176. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  177. package/dist/collection/components/terminals-list/terminals-list-filters.js +23 -3
  178. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  179. package/dist/collection/components/terminals-list/terminals-status.js +5 -0
  180. package/dist/collection/components/terminals-list/terminals-table.js +7 -0
  181. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -3
  182. package/dist/collection/styles/parts.js +1 -0
  183. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  184. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  185. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  186. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  187. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  188. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  189. package/dist/collection/ui-components/form/form-control-monetary.js +72 -70
  190. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  191. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  192. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  194. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  196. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  197. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  198. package/dist/collection/{components → ui-components}/pagination-menu/pagination-menu.js +4 -4
  199. package/dist/collection/utils/utils.js +18 -2
  200. package/dist/docs.json +396 -140
  201. package/dist/esm/{Checkout-2bc873fb.js → Checkout-18d8bf94.js} +1 -1
  202. package/dist/esm/{Payment-82d2f453.js → Payment-806af354.js} +1 -1
  203. package/dist/esm/{SubAccount-0248b5ab.js → SubAccount-837658ae.js} +4 -2
  204. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  205. package/dist/esm/{badge-1555ad1d.js → badge-1be14e8c.js} +1 -1
  206. package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
  207. package/dist/esm/bank-account-form_9.entry.js +16 -16
  208. package/dist/esm/billing-form_3.entry.js +11 -11
  209. package/dist/esm/{business-additional-questions-schema-df76728f.js → business-additional-questions-schema-56308a54.js} +2 -2
  210. package/dist/esm/business-details-core.entry.js +3 -3
  211. package/dist/esm/{business-identity-schema-0a78fc59.js → business-identity-schema-24fcc4ef.js} +2 -2
  212. package/dist/esm/{business.service-13890e74.js → business.service-999196a4.js} +2 -2
  213. package/dist/esm/{button-1e756c34.js → button-fcee4da7.js} +1 -1
  214. package/dist/esm/{check-pkg-version-0557a5c4.js → check-pkg-version-a8dd8455.js} +1 -1
  215. package/dist/esm/{checkout.service-fe338804.js → checkout.service-87cd501d.js} +3 -3
  216. package/dist/esm/checkouts-list-core.entry.js +10 -10
  217. package/dist/esm/{checkouts-table-e339bf0c.js → checkouts-table-39a031a0.js} +3 -3
  218. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
  219. package/dist/esm/{dispute.service-3e1320fe.js → dispute.service-1f79929b.js} +3 -3
  220. package/dist/esm/{event-types-359ef89e.js → event-types-1bc52f1f.js} +2 -2
  221. package/dist/esm/form-alert_5.entry.js +5 -5
  222. package/dist/esm/form-control-checkbox.entry.js +5 -5
  223. package/dist/esm/form-control-date.entry.js +4 -4
  224. package/dist/esm/{form-control-error-text-1391123f.js → form-control-error-text-176d20d8.js} +1 -1
  225. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  226. package/dist/esm/{form-control-help-text-9918264e.js → form-control-help-text-83764e14.js} +1 -1
  227. package/dist/esm/form-control-monetary-provisioning.entry.js +81 -0
  228. package/dist/esm/form-control-monetary.entry.js +27 -40
  229. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  230. package/dist/esm/form-control-number.entry.js +5 -5
  231. package/dist/esm/form-control-radio.entry.js +3 -3
  232. package/dist/esm/{get-business-464419f6.js → get-business-b7511690.js} +2 -2
  233. package/dist/esm/{get-payout-csv-9021a002.js → get-payout-csv-6139c5fc.js} +3 -3
  234. package/dist/esm/{get-subaccounts-6b048fd1.js → get-subaccounts-c4b2b829.js} +3 -3
  235. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  236. package/dist/esm/{header-1-adb520cc.js → header-1-215a146f.js} +1 -1
  237. package/dist/esm/{header-3-ca58500e.js → header-3-afd16f23.js} +1 -1
  238. package/dist/esm/{index.esm-0b6849c2.js → index.esm-feedf26f.js} +1 -122
  239. package/dist/esm/{insurance-state-24af6ddb.js → insurance-state-d2df8e88.js} +1 -1
  240. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
  241. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -17
  242. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  243. package/dist/esm/justifi-business-details.entry.js +6 -6
  244. package/dist/esm/justifi-business-form.entry.js +14 -14
  245. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  246. package/dist/esm/justifi-checkout-core.entry.js +8 -8
  247. package/dist/esm/justifi-checkout.entry.js +9 -9
  248. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
  249. package/dist/esm/justifi-checkouts-list.entry.js +12 -12
  250. package/dist/esm/justifi-details.entry.js +2 -2
  251. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  252. package/dist/esm/justifi-dispute-management.entry.js +8 -8
  253. package/dist/esm/justifi-dispute-notification_3.entry.js +13 -13
  254. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  255. package/dist/esm/justifi-order-terminals.entry.js +21 -23
  256. package/dist/esm/justifi-owner-form_3.entry.js +9 -9
  257. package/dist/esm/justifi-payment-details.entry.js +9 -9
  258. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  259. package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
  260. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  261. package/dist/esm/justifi-payments-list.entry.js +12 -12
  262. package/dist/esm/justifi-payout-details.entry.js +9 -9
  263. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  264. package/dist/esm/justifi-payouts-list.entry.js +13 -13
  265. package/dist/esm/justifi-refund-payment.entry.js +118 -0
  266. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  267. package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
  268. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
  269. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
  270. package/dist/esm/justifi-terminals-list-filters.entry.js +9 -6
  271. package/dist/esm/justifi-terminals-list.entry.js +12 -12
  272. package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -9
  273. package/dist/esm/loader.js +1 -1
  274. package/dist/esm/{package-25d5d805.js → package-f0bb46fd.js} +2 -2
  275. package/dist/esm/pagination-menu.entry.js +1 -1
  276. package/dist/esm/{parts-ad835bef.js → parts-fd740f54.js} +2 -1
  277. package/dist/esm/payment-details-core.entry.js +13 -13
  278. package/dist/esm/{payment.service-2967c84b.js → payment.service-bc99d372.js} +3 -3
  279. package/dist/esm/payments-list-core.entry.js +11 -11
  280. package/dist/esm/{payments-status-d011e114.js → payments-status-74d22728.js} +1 -1
  281. package/dist/esm/{payments-table-3e33b856.js → payments-table-8134f5e1.js} +3 -3
  282. package/dist/esm/payout-details-core.entry.js +8 -8
  283. package/dist/esm/payouts-list-core.entry.js +11 -11
  284. package/dist/esm/{payouts-status-181276c5.js → payouts-status-29d31099.js} +1 -1
  285. package/dist/esm/{payouts-table-199bdf64.js → payouts-table-c1ced46a.js} +3 -3
  286. package/dist/esm/{schema-validations-b1aec6a0.js → schema-validations-5af4266a.js} +1 -1
  287. package/dist/esm/{skeleton-0cde7cb6.js → skeleton-ab3f676e.js} +1 -1
  288. package/dist/esm/{spinner-342e71ff.js → spinner-27479716.js} +1 -1
  289. package/dist/esm/table-filters-menu.entry.js +3 -3
  290. package/dist/esm/terminal-orders-list-core.entry.js +10 -10
  291. package/dist/esm/{terminal-orders-table-2884305a.js → terminal-orders-table-65d59323.js} +3 -3
  292. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  293. package/dist/esm/{terminal.service-4fab5adc.js → terminal.service-a8a968ac.js} +3 -3
  294. package/dist/esm/terminals-list-core.entry.js +10 -10
  295. package/dist/esm/{terminals-table-4e1644e8.js → terminals-table-5eb287ca.js} +14 -2
  296. package/dist/esm/{utils-96c6292c.js → utils-96d9c205.js} +1 -1
  297. package/dist/esm/{utils-c37124fc.js → utils-ec50661e.js} +19 -3
  298. package/dist/esm/webcomponents.js +1 -1
  299. package/dist/module/SubAccount.js +3 -1
  300. package/dist/module/additional-questions.js +4 -4
  301. package/dist/module/additional-statement.js +1 -1
  302. package/dist/module/bank-account-document-inputs.js +1 -1
  303. package/dist/module/bank-account-form-inputs2.js +1 -1
  304. package/dist/module/bank-account-form2.js +2 -2
  305. package/dist/module/billing-form-wrapper.js +1 -1
  306. package/dist/module/billing-form2.js +3 -3
  307. package/dist/module/business-additional-questions-form-step-core.js +4 -4
  308. package/dist/module/business-additional-questions-form-step.js +4 -4
  309. package/dist/module/business-bank-account-form-step.js +1 -1
  310. package/dist/module/business-core-info-form-step.js +1 -1
  311. package/dist/module/business-core-info.js +1 -1
  312. package/dist/module/business-owners-form-step.js +1 -1
  313. package/dist/module/business-representative-form-inputs.js +1 -1
  314. package/dist/module/business-representative-form-step.js +1 -1
  315. package/dist/module/business-representative.js +1 -1
  316. package/dist/module/business-terms-conditions-form-step.js +1 -1
  317. package/dist/module/business.service.js +2 -2
  318. package/dist/module/cancellation-policy.js +1 -1
  319. package/dist/module/card-form2.js +2 -2
  320. package/dist/module/checkout-core.js +1 -1
  321. package/dist/module/checkouts-list-core2.js +1 -1
  322. package/dist/module/custom-popper2.js +2 -2
  323. package/dist/module/customer-details.js +1 -1
  324. package/dist/module/dispute-management-core.js +1 -1
  325. package/dist/module/dispute-notification.js +1 -1
  326. package/dist/module/dispute-response-core.js +1 -1
  327. package/dist/module/dispute-response.js +1 -1
  328. package/dist/module/duplicate-charge.js +1 -1
  329. package/dist/module/electronic-evidence.js +1 -1
  330. package/dist/module/form-control-checkbox2.js +2 -2
  331. package/dist/module/form-control-date2.js +2 -2
  332. package/dist/module/form-control-file-v22.js +1 -1
  333. package/dist/module/form-control-file2.js +2 -2
  334. package/dist/module/form-control-monetary-provisioning.d.ts +11 -0
  335. package/dist/module/form-control-monetary-provisioning.js +6 -0
  336. package/dist/module/form-control-monetary-provisioning2.js +109 -0
  337. package/dist/module/form-control-monetary2.js +30 -42
  338. package/dist/module/form-control-number-masked2.js +2 -2
  339. package/dist/module/form-control-number.js +2 -2
  340. package/dist/module/form-control-radio2.js +2 -2
  341. package/dist/module/form-control-select2.js +2 -2
  342. package/dist/module/form-control-text2.js +2 -2
  343. package/dist/module/form-control-textarea2.js +2 -2
  344. package/dist/module/form.js +1 -122
  345. package/dist/module/get-business.js +2 -2
  346. package/dist/module/gross-payment-chart-core2.js +1 -1
  347. package/dist/module/hidden-input2.js +1 -1
  348. package/dist/module/identity-address-form.js +1 -1
  349. package/dist/module/iframe-input2.js +3 -3
  350. package/dist/module/justifi-business-form.js +3 -3
  351. package/dist/module/justifi-checkout.js +2 -2
  352. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  353. package/dist/module/justifi-checkouts-list.js +1 -1
  354. package/dist/module/justifi-dispute-management.js +1 -1
  355. package/dist/module/justifi-order-terminals.js +12 -12
  356. package/dist/module/justifi-payment-provisioning.js +4 -4
  357. package/dist/module/justifi-payments-list-filters.js +3 -3
  358. package/dist/module/justifi-payments-list.js +1 -1
  359. package/dist/module/justifi-payouts-list-filters.js +3 -3
  360. package/dist/module/justifi-payouts-list.js +1 -1
  361. package/dist/module/justifi-refund-payment.d.ts +11 -0
  362. package/dist/module/justifi-refund-payment.js +180 -0
  363. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  364. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  365. package/dist/module/justifi-terminal-orders-list.js +1 -1
  366. package/dist/module/justifi-terminals-list-filters.js +6 -2
  367. package/dist/module/justifi-terminals-list.js +1 -1
  368. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  369. package/dist/module/legal-address-form-step.js +1 -1
  370. package/dist/module/legal-address-form.js +1 -1
  371. package/dist/module/new-payment-method.js +1 -1
  372. package/dist/module/owner-form-core2.js +1 -1
  373. package/dist/module/owner-form-inputs2.js +1 -1
  374. package/dist/module/owner-form.js +1 -1
  375. package/dist/module/package.js +2 -2
  376. package/dist/module/parts.js +2 -1
  377. package/dist/module/payment-details-core2.js +7 -7
  378. package/dist/module/payment-method-options.js +1 -1
  379. package/dist/module/payment-provisioning-core.js +4 -4
  380. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  381. package/dist/module/payment-provisioning-form-steps.js +4 -4
  382. package/dist/module/payments-list-core2.js +2 -2
  383. package/dist/module/payout-details-core2.js +1 -1
  384. package/dist/module/payouts-list-core2.js +2 -2
  385. package/dist/module/postal-form2.js +1 -1
  386. package/dist/module/product-or-service.js +1 -1
  387. package/dist/module/refund-policy.js +1 -1
  388. package/dist/module/save-new-payment-method.js +1 -1
  389. package/dist/module/saved-payment-method.js +1 -1
  390. package/dist/module/season-interruption-insurance-core.js +1 -1
  391. package/dist/module/sezzle-payment-method.js +1 -1
  392. package/dist/module/shipping-details.js +1 -1
  393. package/dist/module/table-filters-menu2.js +1 -1
  394. package/dist/module/terminal-orders-list-core2.js +2 -2
  395. package/dist/module/terminal-quantity-selector2.js +1 -1
  396. package/dist/module/terminals-list-core2.js +13 -1
  397. package/dist/module/utils2.js +19 -3
  398. package/dist/types/actions/business/get-business.d.ts +2 -1
  399. package/dist/types/actions/terminal/get-terminal-models.d.ts +2 -1
  400. package/dist/types/actions/terminal/order-terminals.d.ts +2 -1
  401. package/dist/types/api/Terminal.d.ts +8 -3
  402. package/dist/types/api/services/business.service.d.ts +1 -1
  403. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +24 -0
  404. package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.d.ts +1 -1
  405. package/dist/types/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.d.ts +1 -1
  406. package/dist/types/components/checkout/checkout-core.d.ts +1 -1
  407. package/dist/types/components/checkout/checkout.d.ts +1 -1
  408. package/dist/types/components/checkout/new-payment-method.d.ts +1 -1
  409. package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
  410. package/dist/types/components/order-terminals/order-terminals.d.ts +1 -1
  411. package/dist/types/components/refund-payment/refund-payment-schema.d.ts +11 -0
  412. package/dist/types/components/{refund-form/refund-form.d.ts → refund-payment/refund-payment.d.ts} +6 -13
  413. package/dist/types/components/refund-payment/refund-reason-options.d.ts +5 -0
  414. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -0
  415. package/dist/types/components/terminals-list/terminals-status.d.ts +2 -1
  416. package/dist/types/components/terminals-list/terminals-table.d.ts +6 -0
  417. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
  418. package/dist/types/components.d.ts +88 -51
  419. package/dist/types/styles/parts.d.ts +1 -0
  420. package/dist/types/ui-components/form/form-control-monetary.d.ts +9 -10
  421. package/dist/types/utils/utils.d.ts +3 -1
  422. package/dist/webcomponents/p-01033194.js +1 -0
  423. package/dist/webcomponents/{p-da2a9dfa.entry.js → p-0b61d4d3.entry.js} +1 -1
  424. package/dist/webcomponents/p-0c7ec110.entry.js +1 -0
  425. package/dist/webcomponents/p-0d7d61ac.js +1 -0
  426. package/dist/webcomponents/{p-fdd244b1.entry.js → p-0f0020e1.entry.js} +1 -1
  427. package/dist/webcomponents/{p-365e56fc.js → p-12074378.js} +1 -1
  428. package/dist/webcomponents/{p-daf0303f.js → p-1366a019.js} +1 -1
  429. package/dist/webcomponents/{p-d8ba9309.entry.js → p-13717638.entry.js} +1 -1
  430. package/dist/webcomponents/p-142bfae3.js +1 -0
  431. package/dist/webcomponents/{p-1fb5677e.entry.js → p-14cfb25e.entry.js} +1 -1
  432. package/dist/webcomponents/{p-13d62477.entry.js → p-150e80db.entry.js} +1 -1
  433. package/dist/webcomponents/{p-e5c60276.entry.js → p-187d456b.entry.js} +1 -1
  434. package/dist/webcomponents/{p-c7c9725d.entry.js → p-190ee091.entry.js} +1 -1
  435. package/dist/webcomponents/p-1da00a0c.entry.js +1 -0
  436. package/dist/webcomponents/p-2123c150.js +1 -0
  437. package/dist/webcomponents/p-23cd76af.entry.js +1 -0
  438. package/dist/webcomponents/p-25b82529.entry.js +1 -0
  439. package/dist/webcomponents/p-27546fa9.entry.js +1 -0
  440. package/dist/webcomponents/p-275c3dc9.js +1 -0
  441. package/dist/webcomponents/p-2819e94a.entry.js +1 -0
  442. package/dist/webcomponents/p-2b8aaa7d.entry.js +1 -0
  443. package/dist/webcomponents/p-31dcaeaf.entry.js +1 -0
  444. package/dist/webcomponents/p-373a19fe.entry.js +1 -0
  445. package/dist/webcomponents/{p-9c57de4e.entry.js → p-375657fe.entry.js} +1 -1
  446. package/dist/webcomponents/{p-324587d0.js → p-3da2652e.js} +1 -1
  447. package/dist/webcomponents/{p-9894484a.js → p-3f5e6602.js} +1 -1
  448. package/dist/webcomponents/p-431670c6.entry.js +1 -0
  449. package/dist/webcomponents/{p-485df2fe.entry.js → p-45fda0bc.entry.js} +1 -1
  450. package/dist/webcomponents/p-507d8aa4.entry.js +1 -0
  451. package/dist/webcomponents/p-536497fe.entry.js +1 -0
  452. package/dist/webcomponents/{p-4acf8ca2.js → p-537bce77.js} +1 -1
  453. package/dist/webcomponents/p-56c7fc8d.js +1 -0
  454. package/dist/webcomponents/{p-c380213d.js → p-58ee6ce9.js} +1 -1
  455. package/dist/webcomponents/{p-e52e9120.entry.js → p-5a9d7ca0.entry.js} +1 -1
  456. package/dist/webcomponents/p-5b76dbe1.entry.js +1 -0
  457. package/dist/webcomponents/{p-0d01d245.entry.js → p-5bd1c32c.entry.js} +1 -1
  458. package/dist/webcomponents/{p-56143442.entry.js → p-5c5c1e82.entry.js} +1 -1
  459. package/dist/webcomponents/{p-a7594f8f.entry.js → p-60ec062a.entry.js} +1 -1
  460. package/dist/webcomponents/{p-7d93c28b.js → p-673c1bca.js} +1 -1
  461. package/dist/webcomponents/p-6a594a9f.js +1 -0
  462. package/dist/webcomponents/{p-b19a37d4.js → p-701a13ca.js} +1 -1
  463. package/dist/webcomponents/{p-17eea747.js → p-72e71b3c.js} +1 -1
  464. package/dist/webcomponents/{p-78255a04.entry.js → p-746894be.entry.js} +1 -1
  465. package/dist/webcomponents/p-74711d79.entry.js +1 -0
  466. package/dist/webcomponents/{p-df9ff0ce.entry.js → p-753d983c.entry.js} +1 -1
  467. package/dist/webcomponents/p-76549a24.js +1 -0
  468. package/dist/webcomponents/p-86605101.js +1 -0
  469. package/dist/webcomponents/p-8c70396c.entry.js +1 -0
  470. package/dist/webcomponents/p-90b82e40.entry.js +1 -0
  471. package/dist/webcomponents/p-913e28d6.entry.js +1 -0
  472. package/dist/webcomponents/{p-d273f33b.js → p-927cb6df.js} +1 -1
  473. package/dist/webcomponents/p-953e9dba.js +1 -0
  474. package/dist/webcomponents/{p-a81cabed.js → p-96783edf.js} +1 -1
  475. package/dist/webcomponents/p-96c23cda.entry.js +1 -0
  476. package/dist/webcomponents/{p-251c8e97.js → p-9c4e3bac.js} +1 -1
  477. package/dist/webcomponents/{p-646d007a.js → p-9e49cf17.js} +1 -1
  478. package/dist/webcomponents/{p-36e32bc4.entry.js → p-a2d30370.entry.js} +1 -1
  479. package/dist/webcomponents/p-a3cced75.entry.js +1 -0
  480. package/dist/webcomponents/{p-88af0d7d.js → p-a5579f53.js} +1 -1
  481. package/dist/webcomponents/{p-be6fea42.entry.js → p-a589b3a1.entry.js} +1 -1
  482. package/dist/webcomponents/{p-45e68bb3.entry.js → p-a5f5cc2e.entry.js} +1 -1
  483. package/dist/webcomponents/{p-d7bcf8f0.js → p-ac9f2e2b.js} +1 -1
  484. package/dist/webcomponents/p-adecb91a.entry.js +1 -0
  485. package/dist/webcomponents/{p-ba113075.js → p-ae7edce5.js} +1 -1
  486. package/dist/webcomponents/p-ae891abb.entry.js +1 -0
  487. package/dist/webcomponents/{p-dd3de924.entry.js → p-af3315b5.entry.js} +1 -1
  488. package/dist/webcomponents/p-b26fb429.js +1 -0
  489. package/dist/webcomponents/{p-55e21977.entry.js → p-b299b597.entry.js} +1 -1
  490. package/dist/webcomponents/{p-073f24ba.entry.js → p-b5c7cb4c.entry.js} +1 -1
  491. package/dist/webcomponents/{p-d5960545.js → p-b99817a0.js} +1 -1
  492. package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
  493. package/dist/webcomponents/{p-95e55bb1.js → p-bf12999f.js} +1 -1
  494. package/dist/webcomponents/{p-2dd39017.js → p-bf195b35.js} +1 -1
  495. package/dist/webcomponents/{p-944f1cc7.js → p-bfc2d88a.js} +1 -1
  496. package/dist/webcomponents/{p-d78ea308.entry.js → p-c00ef77b.entry.js} +1 -1
  497. package/dist/webcomponents/{p-0bafaf49.entry.js → p-c438d1c8.entry.js} +1 -1
  498. package/dist/webcomponents/p-c7313123.entry.js +1 -0
  499. package/dist/webcomponents/{p-34a95381.js → p-c8b78136.js} +1 -1
  500. package/dist/webcomponents/{p-17c4edf7.js → p-ca6cdfe6.js} +1 -1
  501. package/dist/webcomponents/p-cc2f75a3.entry.js +1 -0
  502. package/dist/webcomponents/p-ccb9ee53.js +1 -0
  503. package/dist/webcomponents/{p-f57d5d4f.entry.js → p-cd93c62b.entry.js} +2 -2
  504. package/dist/webcomponents/p-cf9e893a.entry.js +1 -0
  505. package/dist/webcomponents/p-d757fcf5.js +1 -0
  506. package/dist/webcomponents/p-d86add24.entry.js +1 -0
  507. package/dist/webcomponents/p-dbc1a95b.js +1 -0
  508. package/dist/webcomponents/p-dcff8139.entry.js +1 -0
  509. package/dist/webcomponents/{p-1b3a6c40.entry.js → p-e309516a.entry.js} +1 -1
  510. package/dist/webcomponents/p-e9867f8b.entry.js +1 -0
  511. package/dist/webcomponents/p-ebd814ab.entry.js +1 -0
  512. package/dist/webcomponents/p-f0a56d96.entry.js +1 -0
  513. package/dist/webcomponents/{p-ed3ad073.entry.js → p-f20466f7.entry.js} +1 -1
  514. package/dist/webcomponents/{p-2ca5b5e4.js → p-f8fccf44.js} +1 -1
  515. package/dist/webcomponents/p-f930504f.entry.js +1 -0
  516. package/dist/webcomponents/p-fb2db8da.entry.js +1 -0
  517. package/dist/webcomponents/{p-e8fc36c1.entry.js → p-fca89e9b.entry.js} +1 -1
  518. package/dist/webcomponents/webcomponents.esm.js +1 -1
  519. package/package.json +2 -2
  520. package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
  521. package/dist/cjs/justifi-refund-form.cjs.entry.js +0 -106
  522. package/dist/collection/components/refund-form/refund-form-schema.js +0 -13
  523. package/dist/collection/components/refund-form/refund-form.stories.js +0 -109
  524. package/dist/esm/form-control-select_3.entry.js +0 -139
  525. package/dist/esm/justifi-refund-form.entry.js +0 -102
  526. package/dist/module/justifi-refund-form.d.ts +0 -11
  527. package/dist/module/justifi-refund-form.js +0 -153
  528. package/dist/types/components/refund-form/refund-form-schema.d.ts +0 -11
  529. package/dist/types/components/refund-form/refund-form.stories.d.ts +0 -27
  530. package/dist/webcomponents/p-00d55a4b.entry.js +0 -1
  531. package/dist/webcomponents/p-04d59ef8.js +0 -1
  532. package/dist/webcomponents/p-07c13189.entry.js +0 -1
  533. package/dist/webcomponents/p-24203209.entry.js +0 -1
  534. package/dist/webcomponents/p-258087a8.entry.js +0 -1
  535. package/dist/webcomponents/p-2759d157.entry.js +0 -1
  536. package/dist/webcomponents/p-2cd9b608.entry.js +0 -1
  537. package/dist/webcomponents/p-3030f5e6.entry.js +0 -1
  538. package/dist/webcomponents/p-308ec9c7.entry.js +0 -1
  539. package/dist/webcomponents/p-454acd29.entry.js +0 -1
  540. package/dist/webcomponents/p-50b012a3.entry.js +0 -1
  541. package/dist/webcomponents/p-52e2cc5e.js +0 -1
  542. package/dist/webcomponents/p-5844a0f0.js +0 -1
  543. package/dist/webcomponents/p-5cf1898d.entry.js +0 -1
  544. package/dist/webcomponents/p-5d600828.js +0 -1
  545. package/dist/webcomponents/p-61a45f7d.entry.js +0 -1
  546. package/dist/webcomponents/p-651c881b.js +0 -1
  547. package/dist/webcomponents/p-6a4b710e.entry.js +0 -1
  548. package/dist/webcomponents/p-74f6cc28.entry.js +0 -1
  549. package/dist/webcomponents/p-8946edfd.js +0 -1
  550. package/dist/webcomponents/p-8ffd9f7c.js +0 -1
  551. package/dist/webcomponents/p-92b18902.entry.js +0 -1
  552. package/dist/webcomponents/p-92f29922.entry.js +0 -1
  553. package/dist/webcomponents/p-97f3a1b0.entry.js +0 -1
  554. package/dist/webcomponents/p-9fcab358.entry.js +0 -1
  555. package/dist/webcomponents/p-a0f715d4.js +0 -1
  556. package/dist/webcomponents/p-a35f3b5b.js +0 -1
  557. package/dist/webcomponents/p-b7960f37.entry.js +0 -1
  558. package/dist/webcomponents/p-b7ddb76f.entry.js +0 -1
  559. package/dist/webcomponents/p-b97f433a.entry.js +0 -1
  560. package/dist/webcomponents/p-c3939138.entry.js +0 -1
  561. package/dist/webcomponents/p-cba7d0a7.entry.js +0 -1
  562. package/dist/webcomponents/p-d43a38a4.js +0 -1
  563. package/dist/webcomponents/p-d4724349.js +0 -1
  564. package/dist/webcomponents/p-d575c2c1.entry.js +0 -1
  565. package/dist/webcomponents/p-dac9282d.entry.js +0 -1
  566. package/dist/webcomponents/p-e1dd47e1.entry.js +0 -1
  567. package/dist/webcomponents/p-e545c079.entry.js +0 -1
  568. package/dist/webcomponents/p-e5de1a00.entry.js +0 -1
  569. package/dist/webcomponents/p-f1573cad.entry.js +0 -1
  570. package/dist/webcomponents/p-f1d6e14f.js +0 -1
  571. package/dist/webcomponents/p-f30cb232.js +0 -1
  572. package/dist/webcomponents/p-f87e871d.js +0 -1
  573. package/dist/webcomponents/p-f8a95380.entry.js +0 -1
  574. package/dist/webcomponents/p-fa5688f7.entry.js +0 -1
  575. package/dist/webcomponents/p-fbdc18e4.entry.js +0 -1
  576. /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-schema.d.ts +0 -0
  577. /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.d.ts +0 -0
  578. /package/dist/types/{components → ui-components}/pagination-menu/pagination-menu.d.ts +0 -0
@@ -3,13 +3,14 @@ import { debounce } from "lodash";
3
3
  import { filterParams, propsParams, clearParams } from "./terminals-list-params-state";
4
4
  import { StyledHost } from "../../ui-components";
5
5
  import { ITerminalStatus } from "../../api";
6
- import { terminalsListFilterMenu, terminalIdTerminalsListFilterParam, terminalStatusTerminalsListFilterParam } from "../../styles/parts";
6
+ import { terminalsListFilterMenu, terminalIdTerminalsListFilterParam, terminalOrderIdTerminalsListFilterParam, terminalStatusTerminalsListFilterParam } from "../../styles/parts";
7
7
  export class TerminalsListFilters {
8
8
  constructor() {
9
9
  this.setParamsOnChange = (name, value) => {
10
10
  filterParams[name] = value;
11
11
  };
12
12
  this.terminalId = undefined;
13
+ this.terminalOrderId = undefined;
13
14
  this.terminalStatus = undefined;
14
15
  }
15
16
  componentWillLoad() {
@@ -18,6 +19,7 @@ export class TerminalsListFilters {
18
19
  const propsToSet = {
19
20
  terminal_id: this.terminalId,
20
21
  status: this.terminalStatus,
22
+ terminal_order_id: this.terminalOrderId
21
23
  };
22
24
  Object.entries(propsToSet).forEach(([key, value]) => {
23
25
  if (value) {
@@ -31,11 +33,12 @@ export class TerminalsListFilters {
31
33
  { label: 'Connected', value: ITerminalStatus.connected },
32
34
  { label: 'Disconnected', value: ITerminalStatus.disconnected },
33
35
  { label: 'Unknown', value: ITerminalStatus.unknown },
36
+ { label: 'Pending Configuration', value: ITerminalStatus.pending_configuration }
34
37
  ];
35
38
  }
36
39
  render() {
37
40
  const filterMenuParams = Object.assign({}, filterParams);
38
- return (h(StyledHost, { key: 'b731afdb3ffb0c9bc35c5e04177b0db9bc5b9a69' }, h("table-filters-menu", { key: '8ee2d6e6f4e12e03a8236b35aae3132f5a72c204', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: 'a8b6adb28c43a2f528554ee9ae582001bddcaac5', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '08cc61200740cb6fac0b123bd2005942ea9d6c3f', class: "p-2" }, h("form-control-text", { key: 'd0f572c893e3d44256d482e791b93588422bcf86', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: 'a498de1139b122bad5416267ecc949debc43491d', class: "p-2" }, h("form-control-select", { key: '6235e893b62882e993e798b9a3cc1fafc84f215c', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
41
+ return (h(StyledHost, { key: '390b8788e785bc81711a1b0f68203fce5a348c4c' }, h("table-filters-menu", { key: 'ab37f284aad5b828c2a3d0ce78e5c49fe86c8ec7', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '9f06d2199885d1cb8d9a4310fc94366717ca092c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '146fb3fa0a146c8011e1fc609f885ec3de0af8bf', class: "p-2" }, h("form-control-text", { key: 'f9d33f3facd5af88761033256e9bcdee772d187b', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '59b8af61f98c01e0cd04299780817b9a497d33bc', class: "p-2" }, h("form-control-text", { key: '80c6ed5f37f4429aac0451f1b2c76fd99c52d246', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '4452ff9cbeb157408fdd8569af5792d32f0d1aa9', class: "p-2" }, h("form-control-select", { key: '52406f154a9d5f7a01831047eedf09b909d1bc0d', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
39
42
  }
40
43
  static get is() { return "justifi-terminals-list-filters"; }
41
44
  static get encapsulation() { return "shadow"; }
@@ -58,12 +61,29 @@ export class TerminalsListFilters {
58
61
  "attribute": "terminal-id",
59
62
  "reflect": false
60
63
  },
64
+ "terminalOrderId": {
65
+ "type": "string",
66
+ "mutable": false,
67
+ "complexType": {
68
+ "original": "string",
69
+ "resolved": "string",
70
+ "references": {}
71
+ },
72
+ "required": false,
73
+ "optional": true,
74
+ "docs": {
75
+ "tags": [],
76
+ "text": ""
77
+ },
78
+ "attribute": "terminal-order-id",
79
+ "reflect": false
80
+ },
61
81
  "terminalStatus": {
62
82
  "type": "string",
63
83
  "mutable": false,
64
84
  "complexType": {
65
85
  "original": "ITerminalStatus",
66
- "resolved": "ITerminalStatus.connected | ITerminalStatus.disconnected | ITerminalStatus.unknown",
86
+ "resolved": "ITerminalStatus.connected | ITerminalStatus.disconnected | ITerminalStatus.pending_configuration | ITerminalStatus.unknown",
67
87
  "references": {
68
88
  "ITerminalStatus": {
69
89
  "location": "import",
@@ -66,7 +66,7 @@ export class TerminalsList {
66
66
  }
67
67
  }
68
68
  render() {
69
- return (h(StyledHost, { key: '9ad0d637bd745ee2296142c426d539f90cf403a5' }, h("terminals-list-core", { key: '26b420a410976adea74b8545d367b5f9df7178d3', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
69
+ return (h(StyledHost, { key: '008b4bd549c228dbf8972e5ce08764c40e0b45a7' }, h("terminals-list-core", { key: 'e57f76fa1560c97d76068503b48e92a5fa9a02ec', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
70
70
  }
71
71
  static get is() { return "justifi-terminals-list"; }
72
72
  static get encapsulation() { return "shadow"; }
@@ -17,6 +17,11 @@ export const MapTerminalStatusToBadge = (status) => {
17
17
  title: 'The status of this terminal is unknown',
18
18
  text: 'Unknown',
19
19
  },
20
+ pending_configuration: {
21
+ variant: BadgeVariant.WARNING,
22
+ title: 'This terminal is pending configuration',
23
+ text: 'Pending configuration',
24
+ },
20
25
  };
21
26
  const badgeProps = statusToBadgeProps[status];
22
27
  return h(Badge, Object.assign({}, badgeProps));
@@ -1,9 +1,13 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { MapTerminalStatusToBadge } from "./terminals-status";
3
3
  import { getAlternateTableCellPart, tableHeadCell } from "../../styles/parts";
4
+ import { capitalFirstLetter } from "../../utils/utils";
4
5
  export const defaultColumnsKeys = 'nickname,provider_serial_number,status';
5
6
  export const terminalTableColumns = {
6
7
  nickname: () => (h("th", { part: tableHeadCell, scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
8
+ model_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The model name of the terminal" }, "Model Name")),
9
+ id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The ID of the terminal" }, "ID")),
10
+ provider: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider of the terminal" }, "Provider")),
7
11
  provider_serial_number: () => (h("th", { part: tableHeadCell, scope: "col", title: "The serial number of the terminal" }, "Serial Number")),
8
12
  provider_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider ID of the terminal" }, "Provider ID")),
9
13
  sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
@@ -11,6 +15,9 @@ export const terminalTableColumns = {
11
15
  };
12
16
  export const terminalTableCells = {
13
17
  nickname: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.nickname)),
18
+ model_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.model_name)),
19
+ id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.id)),
20
+ provider: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, capitalFirstLetter(terminal.provider))),
14
21
  provider_serial_number: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_serial_number)),
15
22
  provider_id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_id)),
16
23
  sub_account_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.sub_account_name)),
@@ -52,7 +52,7 @@ export class TokenizePaymentMethod {
52
52
  this.paymentMethodOptionsRef.fillBillingForm(fields);
53
53
  }
54
54
  render() {
55
- return (h(StyledHost, { key: 'b4c878459fb1601d429140d80ce02b898d6ca2ed' }, h("form", { key: '11917b591a4116e5711c0afd3e68b6599d064cae' }, h("fieldset", { key: 'b3c4ad0c42a424091a433e9aa8375108831e6c47' }, h("div", { key: 'bee2fa3c6c5de31d25cb102185fc977a5436a53b', class: "row gy-3" }, h("div", { key: 'fb32aa9f47716077a3dad2bfd7bfc950200014ba', class: "col-12" }, h("justifi-payment-method-options", { key: 'dca7ac67609a13e1b14bdc042eb131a07305e0d8', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, authToken: this.authToken, "account-id": this.accountId, iframeOrigin: this.iframeOrigin })), h("div", { key: '2218cb2eac22fd6187da4d205fc2437a980fa2a5', class: "col-12" }, h(Button, { key: '1299a5a10261b375cfec1b2599cc6de7f606bad9', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText || 'Submit')))))));
55
+ return (h(StyledHost, { key: '270b2dce491c95fd6a372bf4e59d4829c91290fa' }, h("form", { key: '7e68afbac49260a92bb6c9e3bd08125129ab196c' }, h("fieldset", { key: '95f911fa066f7fea0b36e4c99cb1c5008b4a886d' }, h("div", { key: 'aec8576644731d5960a1e041960076c503aa4a17', class: "row gy-3" }, h("div", { key: '51436afb0c10e189d079226dd0a8e7b18580fd69', class: "col-12" }, h("justifi-payment-method-options", { key: '59777ac37f44bfe9ef98d3b22a6e485f06db303d', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, authToken: this.authToken, "account-id": this.accountId, iframeOrigin: this.iframeOrigin })), h("div", { key: 'ef37939fb4d8e0225f98f0c3874a83206307f671', class: "col-12" }, h(Button, { key: '4b193d76ad540cae97a2423948e18d60f6db0679', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText || 'Submit')))))));
56
56
  }
57
57
  static get is() { return "justifi-tokenize-payment-method"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -316,8 +316,8 @@ export class TokenizePaymentMethod {
316
316
  },
317
317
  "BillingFormFields": {
318
318
  "location": "import",
319
- "path": "../billing-forms/billing-form-schema",
320
- "id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
319
+ "path": "../../components",
320
+ "id": "src/components.d.ts::BillingFormFields"
321
321
  }
322
322
  },
323
323
  "return": "Promise<void>"
@@ -111,6 +111,7 @@ export const paymentModeCheckoutsListFilterParam = `${checkoutsListFilterParam}
111
111
  export const terminalsListFilterMenu = `${filterMenu} terminals-list-filter-menu`;
112
112
  export const terminalsListFilterParam = `terminals-list-filter-param`;
113
113
  export const terminalIdTerminalsListFilterParam = `${terminalsListFilterParam} terminal-id-terminals-list-filter-param`;
114
+ export const terminalOrderIdTerminalsListFilterParam = `${terminalsListFilterParam} terminal-order-id-terminals-list-filter-param`;
114
115
  export const terminalStatusTerminalsListFilterParam = `${terminalsListFilterParam} terminal-status-terminals-list-filter-param`;
115
116
  // Terminal Orders List Filters
116
117
  export const terminalOrdersListFilterMenu = `${filterMenu} terminal-orders-list-filter-menu`;
@@ -81,7 +81,7 @@ export class CustomPopper {
81
81
  this.hideEvent.emit();
82
82
  }
83
83
  render() {
84
- return (h("div", { key: '0da182c59e8285f0ab76d2f667218c378a402518' }, h("style", { key: 'a5cec35dd7cbe6474627f22837703e53711c104b' }, `
84
+ return (h("div", { key: '8c840ff88bde2fd2cb7be39772e2b49699d32844' }, h("style", { key: 'b5b1bd1fa8b6f6c76723d014bf96e2ee09fe60f4' }, `
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: '657fcfafffda783f7b57af10256fb45c7c8720c9', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '4cf71afd1ef0e9a24a7d56c118e420d27de31e26' }))));
92
+ `), h("div", { key: '80b0e169b33d6679f372f0d34cd2320013485e10', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '4892f58a1fb5a98212f6b651f4cecc03ad7c84a2' }))));
93
93
  }
94
94
  static get is() { return "custom-popper"; }
95
95
  static get properties() {
@@ -23,7 +23,7 @@ export class TableFiltersMenu {
23
23
  this.showClearButton = hasFilters(this.params);
24
24
  }
25
25
  render() {
26
- return (h("div", { key: 'b55be2aa2f9d4677989da12bb114f620a9ec2e45', class: "d-flex gap-2" }, h("div", { key: 'dffb2be68ead3abb60a8740869e48bb48bbf558c', class: "dropdown pb-3" }, h(Button, { key: '2e7b2d3afc80963abfe9c8c2690a61b911a1b747', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '9e2b1b988bc5440f18d26c5b8402f5e30e73cdad', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '573161a7515d1b16665138ba739133379b9b6850', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '9597e79f125e1e41c343fa3d2d583b5cf7ab9c31' })))), h("div", { key: '67ed29ac8e10f3ae1380514ae1a1e1e8aed7d9b6' }, h(Button, { key: '9b3dc6176c11226e82ecb1f9f88705ad40bf6e32', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
26
+ return (h("div", { key: 'c077391d1358cd6ad02857e05a56aab3e1d10018', class: "d-flex gap-2" }, h("div", { key: 'd28773f0b202b1fcbe19bc5bace1cbf17f5538f7', class: "dropdown pb-3" }, h(Button, { key: '0ad326c9539d5c93573001f6c98486bbbe7a4eaf', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '9ebcaad716bd3b38233a2e78aa219f397c821472', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'ca88fa944c5e9ac23f6ebee6c771603516b83f85', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '7cc23a56a5db363ebdf375d41a758db534c9b9a7' })))), h("div", { key: '7047b1659d9f854ccb5e00f53fa03d4d42d7c550' }, h(Button, { key: '73e413af21cc39818ec8156d736ffdf72bc844d3', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
27
27
  }
28
28
  static get is() { return "table-filters-menu"; }
29
29
  static get properties() {
@@ -38,10 +38,10 @@ export class CheckboxInput {
38
38
  return inputCheckbox;
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: '36192fe5f4e99ccc8cb77b6a0058d68427b6dc79' }, h("div", { key: '3fd77dbca4264579b0e4293bc537dea99a9e325b', class: 'form-group d-flex flex-column' }, h("div", { key: '737b2076e66604ce3fc1b141deb1909a8ac2be27', class: "form-check" }, h("input", { key: '3d606b0c14eda0ffba58bd844b75e3ca23f0a611', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
41
+ return (h(Host, { key: '3c0c0210457da250712c3eddf587ddb939b6cca7' }, h("div", { key: '9f73f8f1498d43cffc200ef326ead11bc5c2b8bd', class: 'form-group d-flex flex-column' }, h("div", { key: 'a126f90ae5ca483310593816dfed878582331395', class: "form-check" }, h("input", { key: '2c7243c56c3110e199fae658513cd2b1bde96678', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
42
42
  this.isFocused = false;
43
43
  this.formControlBlur.emit();
44
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '2a8af56e9bee18f4252ea436ae76d65128ee1648', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '013c9b143992a088692de81b623bffb6b4e5f06f', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '0b6814622ff6d0a61d251aea399600ead731ad1a', errorText: this.errorText, name: this.name }))));
44
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '35d662a8e14e56514589fe7d08fae470896a6d65', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '80d0558981f8ed95746a7f8f3be319b4817a00c9', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'fbbda937fbf1144d5560b44719c251bdd56a6154', errorText: this.errorText, name: this.name }))));
45
45
  }
46
46
  static get is() { return "form-control-checkbox"; }
47
47
  static get properties() {
@@ -50,10 +50,10 @@ export class DateInput {
50
50
  return part;
51
51
  }
52
52
  render() {
53
- return (h(Host, { key: '39efc4cf0cf20cd611c775f1e47ace6b445eab99' }, h("div", { key: '82de246b4d67f3c1a234987c3d9259e8ed7fb3e5', class: "form-group d-flex flex-column" }, h("div", { key: '033c637f965aa750c6130504f70f7fabb9d1a9da', class: "d-flex gap-2" }, h("label", { key: 'ce384aeee225254eac66cfcb6fbe8b6b5677cd5e', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'a8195ae52a1904bcdaa0ee082b77164bb399e5bc', helpText: this.helpText })), h("input", { key: '07bb64ebf4727c892bc5e873d6b8327cb0e89430', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
53
+ return (h(Host, { key: '0f6bd0cc62a7023483a304ff30b272f5110fd2d3' }, h("div", { key: '6ebf0fe799c7a1b74a6c875ca8bed386949fb2fe', class: "form-group d-flex flex-column" }, h("div", { key: '370b2fadb488a3cca203b8e7ab267ee629b70b8f', class: "d-flex gap-2" }, h("label", { key: '828fa9324aac9d218e1c857ce4fdc064dddc0b12', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '42adaa5e8c7b568284e5f3129ec7edc200047f73', helpText: this.helpText })), h("input", { key: '49ae4bd3455935d9ca459dfdb53d2bfd27201e60', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
54
54
  this.isFocused = false;
55
55
  this.formControlBlur.emit();
56
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '783b7b021819a5c26441a438be7b83dabb4cfce1', errorText: this.errorText, name: this.name }))));
56
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '81d1ecc4135b2f7a76e3c70d8dddc7539a7dd670', errorText: this.errorText, name: this.name }))));
57
57
  }
58
58
  static get is() { return "form-control-date"; }
59
59
  static get properties() {
@@ -12,7 +12,7 @@ export class FileInput {
12
12
  this.disabled = undefined;
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '4dff12fa7d0cb33919c39db34bbc0957fdd5653f', exportparts: "label,input,input-invalid" }, h("div", { key: 'ae39b30919625c00463cbbd5bf5172a93b7bd9f1', class: "form-group d-flex flex-column" }, h("div", { key: 'f0d20dd0d0c3bed154c220722598dfe41dc4cc45', class: "d-flex align-items-start gap-2" }, h("label", { key: '768f21bee9cf3e87caacd08ebd7506d01550f206', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'ee446659b7b9503678c16f14a49d564ca8caf27a', helpText: this.helpText })), h("input", { key: 'c7eee6e890f87be8a3af204fcdb1cd5d032e5419', 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, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '5a87d616b1b4be16b32b69d315f07b05d8d060bc', errorText: this.errorText, name: this.name }))));
15
+ return (h(Host, { key: '1671eaeeec71bcbcbd8898856f2d397a10abce97', exportparts: "label,input,input-invalid" }, h("div", { key: 'dca1e07456d2dc7f018fc25ccd2743ba87897fda', class: "form-group d-flex flex-column" }, h("div", { key: '5a8f2a9600f27a7554a8096977413263f8f7b942', class: "d-flex align-items-start gap-2" }, h("label", { key: '7ef6391bc3bd46d61463c37ccdfc27bc02027909', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'e1992a02fb94bdf71ad46fbf387bdcf0c5ca09b2', helpText: this.helpText })), h("input", { key: 'eb4e4bfcee93ca40c945db9c8d960b069b066645', 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, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '125a576d63f4a3735397fe3b27cf2e258b86c073', errorText: this.errorText, name: this.name }))));
16
16
  }
17
17
  static get is() { return "form-control-file-v2"; }
18
18
  static get properties() {
@@ -47,10 +47,10 @@ export class FileInput {
47
47
  return part;
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: 'ffd39ec9c5c98ba6d51f30fe3f0877807b9218a2' }, h("div", { key: '8d95c947132661088128a20350cb8823eb50aaa1', class: "form-group d-flex flex-column" }, h("div", { key: 'c494f917ca23d99c6dafded70156a62610764223', class: "d-flex align-items-start gap-2" }, h("label", { key: '8a6ba2787312c3a6e1e531bc05e4459aaecb6229', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '5b68e00507d2211fcc481f007c701179eb4bed78', helpText: this.helpText })), h("input", { key: 'd75a0df1951b215b60cee837b102f1b0522cc810', 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: () => {
50
+ return (h(Host, { key: 'a70c3c2b62599cdedf34c837e29f53011e56e018' }, h("div", { key: 'ae42cd54552d7e2b95c619acf25c4b24a0c29dc9', class: "form-group d-flex flex-column" }, h("div", { key: '7b3b935921448a4e46d864dc933f5fd7c63ead93', class: "d-flex align-items-start gap-2" }, h("label", { key: '5f1e6608b4bed90aadbf8ee6c45d6f92fa40d429', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '831be18cf54359800498a91ff4d0f8111feb0603', helpText: this.helpText })), h("input", { key: '5541ad6ba3a84e1bced7b61429c93b1d3b3632df', 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: () => {
51
51
  this.isFocused = false;
52
52
  this.formControlBlur.emit();
53
- } }), h(FormControlErrorText, { key: '10231eb3448127011aca32c2e653d7974ab27e2e', errorText: this.errorText, name: this.name }))));
53
+ } }), h(FormControlErrorText, { key: '7c93f4e7fc3354479bd688e9a386948dc3b349de', errorText: this.errorText, name: this.name }))));
54
54
  }
55
55
  static get is() { return "form-control-file"; }
56
56
  static get properties() {
@@ -1,82 +1,69 @@
1
1
  import { Host, h, } from "@stencil/core";
2
- import IMask from "imask";
3
- import { CURRENCY_MASK } from "../../utils/form-input-masks";
4
- import { FormControlErrorText, FormControlHelpText } from "../../ui-components";
5
- import { inputDisabled, inputFocused, inputGroup, inputInvalid, label, text } from "../../styles/parts";
2
+ import { FormControlErrorText, FormControlHelpText } from "..";
3
+ import { input, inputDisabled, inputFocused, inputInvalid, label, text } from "../../styles/parts";
4
+ import { formatCurrency } from "../../utils/utils";
6
5
  export class MonetaryInput {
7
6
  constructor() {
8
- this.imask = null;
9
- this.initializeIMask = () => {
10
- if (!this.textInput)
11
- return;
12
- this.imask = IMask(this.textInput, this.maskOptions);
13
- this.imask.on('accept', () => {
14
- const rawValue = this.imask.unmaskedValue;
15
- this.inputHandler(this.name, rawValue);
16
- this.formControlInput.emit({ name: this.name, value: rawValue });
17
- });
18
- this.textInput.addEventListener('blur', () => this.formControlBlur.emit());
7
+ this.formatRawValue = (value) => {
8
+ // Remove everything from that is not a number.
9
+ // This will parse out our display formatting as well as prevent users from entering non-numeric characters.
10
+ const formattedValue = value.replace(/\D/g, '');
11
+ return formattedValue;
19
12
  };
20
- this.handleFormControlInput = (event) => {
21
- const target = event.target;
22
- const name = target.getAttribute('name');
23
- const rawValue = this.imask.unmaskedValue;
24
- this.formControlInput.emit({ name: name, value: rawValue });
13
+ this.formatDisplayValue = (value) => {
14
+ return formatCurrency(+value, undefined, true);
25
15
  };
26
16
  this.updateInput = (newValue) => {
27
- if (this.imask) {
28
- this.imask.value = String(newValue);
29
- }
17
+ const name = this.formControl.name;
18
+ const formatRawValue = this.formatRawValue(newValue); // "100000"
19
+ this.formControl.value = this.formatDisplayValue(formatRawValue); // "1,000.00"
20
+ this.inputHandler(name, formatRawValue);
21
+ this.formControlInput.emit({ name: name, value: formatRawValue });
30
22
  };
31
23
  this.isFocused = false;
32
- this.label = undefined;
33
24
  this.name = undefined;
25
+ this.label = undefined;
26
+ this.inputHandler = undefined;
27
+ this.defaultValue = '0';
34
28
  this.helpText = undefined;
35
29
  this.errorText = undefined;
36
- this.defaultValue = undefined;
37
- this.inputHandler = undefined;
38
- this.maskOptions = CURRENCY_MASK.DECIMAL;
30
+ this.maxLength = undefined;
31
+ this.keyDownHandler = undefined;
39
32
  this.disabled = undefined;
40
33
  }
41
34
  handleDefaultValueChange(newValue) {
42
35
  this.updateInput(newValue);
43
36
  }
44
37
  componentDidLoad() {
45
- this.initializeIMask();
46
38
  this.updateInput(this.defaultValue);
47
39
  }
48
- disconnectedCallback() {
49
- var _a;
50
- (_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
51
- }
52
40
  get part() {
53
- let part = inputGroup;
54
41
  if (this.errorText) {
55
- part = inputInvalid;
42
+ return inputInvalid;
56
43
  }
57
44
  if (this.disabled) {
58
- part = inputDisabled;
45
+ return inputDisabled;
59
46
  }
60
47
  if (this.isFocused) {
61
- part = inputFocused;
48
+ return inputFocused;
62
49
  }
63
- return part;
50
+ return input;
64
51
  }
65
52
  render() {
66
- return (h(Host, { key: '8389bbed996b97a2e4c7536a3f31f8b4873651e4' }, h("div", { key: '0cc9d812e034c7017ea49fdb91bcd399ac3112cc', class: "form-group d-flex flex-column" }, h("label", { key: '04bf1b6ab410d6236a8d2ea47364c844a557f3fc', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: 'bc77863e0a0dc4472c62d98fbca50da4b683b14d', class: "input-group" }, h("span", { key: '28e7f0f65529fab762846711cf681b105546a04d', class: "input-group-text", part: text }, "$"), h("input", { key: 'edfac6a9f10b1914299a6f42497ebb26659717d3', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
53
+ return (h(Host, { key: '58676b687868b5a2d242bc929cae09afb5ae6fbf' }, h("div", { key: '8046cc1e2fa66c5601e370e6dccfa25714649823', class: "form-group d-flex flex-column" }, h("label", { key: 'e4b085b30ee0c7b884204fa9bf467875247bcac0', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: '79bf26bc54c9cc94fedd3af56779de1554e62ce2', name: this.name, helpText: this.helpText }), h("div", { key: '453cb229e64e9429a26b38ffa62693793e5e48f8', class: "input-group" }, h("span", { key: '663753b8d9c6a098326bd325822586c704624bc4', class: "input-group-text", part: text }, "$"), h("input", { key: '9314ad2b99762df1a46c0e0f4632da4a091c59ef', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
67
54
  this.isFocused = false;
68
55
  this.formControlBlur.emit();
69
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '9c28f25c98432c07678698e53b219d17d3d847a7', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '8cd3f89e1efd87fd0209cb5e6cd525b916de073a', errorText: this.errorText, name: this.name }))));
56
+ }, onInput: (event) => this.updateInput(event.target.value), 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 })), h(FormControlErrorText, { key: '382864114f66187237ce08c12afb13abed2c298d', errorText: this.errorText, name: this.name }))));
70
57
  }
71
58
  static get is() { return "form-control-monetary"; }
72
59
  static get properties() {
73
60
  return {
74
- "label": {
75
- "type": "string",
61
+ "name": {
62
+ "type": "any",
76
63
  "mutable": false,
77
64
  "complexType": {
78
- "original": "string",
79
- "resolved": "string",
65
+ "original": "any",
66
+ "resolved": "any",
80
67
  "references": {}
81
68
  },
82
69
  "required": false,
@@ -85,10 +72,10 @@ export class MonetaryInput {
85
72
  "tags": [],
86
73
  "text": ""
87
74
  },
88
- "attribute": "label",
75
+ "attribute": "name",
89
76
  "reflect": false
90
77
  },
91
- "name": {
78
+ "label": {
92
79
  "type": "string",
93
80
  "mutable": false,
94
81
  "complexType": {
@@ -102,10 +89,25 @@ export class MonetaryInput {
102
89
  "tags": [],
103
90
  "text": ""
104
91
  },
105
- "attribute": "name",
92
+ "attribute": "label",
106
93
  "reflect": false
107
94
  },
108
- "helpText": {
95
+ "inputHandler": {
96
+ "type": "unknown",
97
+ "mutable": false,
98
+ "complexType": {
99
+ "original": "(name: string, value: string) => void",
100
+ "resolved": "(name: string, value: string) => void",
101
+ "references": {}
102
+ },
103
+ "required": false,
104
+ "optional": false,
105
+ "docs": {
106
+ "tags": [],
107
+ "text": ""
108
+ }
109
+ },
110
+ "defaultValue": {
109
111
  "type": "string",
110
112
  "mutable": false,
111
113
  "complexType": {
@@ -119,10 +121,11 @@ export class MonetaryInput {
119
121
  "tags": [],
120
122
  "text": ""
121
123
  },
122
- "attribute": "help-text",
123
- "reflect": false
124
+ "attribute": "default-value",
125
+ "reflect": false,
126
+ "defaultValue": "'0'"
124
127
  },
125
- "errorText": {
128
+ "helpText": {
126
129
  "type": "string",
127
130
  "mutable": false,
128
131
  "complexType": {
@@ -136,10 +139,10 @@ export class MonetaryInput {
136
139
  "tags": [],
137
140
  "text": ""
138
141
  },
139
- "attribute": "error-text",
142
+ "attribute": "help-text",
140
143
  "reflect": false
141
144
  },
142
- "defaultValue": {
145
+ "errorText": {
143
146
  "type": "string",
144
147
  "mutable": false,
145
148
  "complexType": {
@@ -148,46 +151,45 @@ export class MonetaryInput {
148
151
  "references": {}
149
152
  },
150
153
  "required": false,
151
- "optional": false,
154
+ "optional": true,
152
155
  "docs": {
153
156
  "tags": [],
154
157
  "text": ""
155
158
  },
156
- "attribute": "default-value",
159
+ "attribute": "error-text",
157
160
  "reflect": false
158
161
  },
159
- "inputHandler": {
160
- "type": "unknown",
162
+ "maxLength": {
163
+ "type": "number",
161
164
  "mutable": false,
162
165
  "complexType": {
163
- "original": "(name: string, value: string) => void",
164
- "resolved": "(name: string, value: string) => void",
166
+ "original": "number",
167
+ "resolved": "number",
165
168
  "references": {}
166
169
  },
167
170
  "required": false,
168
- "optional": false,
171
+ "optional": true,
169
172
  "docs": {
170
173
  "tags": [],
171
174
  "text": ""
172
- }
175
+ },
176
+ "attribute": "max-length",
177
+ "reflect": false
173
178
  },
174
- "maskOptions": {
175
- "type": "any",
179
+ "keyDownHandler": {
180
+ "type": "unknown",
176
181
  "mutable": false,
177
182
  "complexType": {
178
- "original": "any",
179
- "resolved": "any",
183
+ "original": "(event: any) => void",
184
+ "resolved": "(event: any) => void",
180
185
  "references": {}
181
186
  },
182
187
  "required": false,
183
- "optional": false,
188
+ "optional": true,
184
189
  "docs": {
185
190
  "tags": [],
186
191
  "text": ""
187
- },
188
- "attribute": "mask-options",
189
- "reflect": false,
190
- "defaultValue": "CURRENCY_MASK.DECIMAL"
192
+ }
191
193
  },
192
194
  "disabled": {
193
195
  "type": "boolean",
@@ -198,7 +200,7 @@ export class MonetaryInput {
198
200
  "references": {}
199
201
  },
200
202
  "required": false,
201
- "optional": false,
203
+ "optional": true,
202
204
  "docs": {
203
205
  "tags": [],
204
206
  "text": ""
@@ -67,10 +67,10 @@ export class NumberInputMasked {
67
67
  return input;
68
68
  }
69
69
  render() {
70
- return (h(Host, { key: '33803369123a612e3a59159eca88fa851cc4bdda' }, h("div", { key: '4ec22ee1c45e050bb3c82465620f4195f0ee9f78', class: "form-group d-flex flex-column" }, h("div", { key: '54f8150c131f9e1d591e893ff850014f986ca4ce', class: "d-flex align-items-start gap-2" }, h("label", { key: '10adc8be977ddc13488f86e62d43e15cc27e8061', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'db05a1e10871fcb9cf7bf425963b57a802e8258b', helpText: this.helpText })), h("input", { key: '05e6000baf931e6bd51eb44a149613bdad453080', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
70
+ return (h(Host, { key: '66b0cdf1f36db4f18500eefb0886259be01baa3c' }, h("div", { key: '8ea85512273929a0bccca3528863dc8aef57dd1b', class: "form-group d-flex flex-column" }, h("div", { key: '88db52b833bc4ad284316eedcd966425ed915daf', class: "d-flex align-items-start gap-2" }, h("label", { key: 'afbf8d666bbd2f81800b4e19461e64fed9af5167', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '9735983927db2fe6922a2058262b9aeb6df94d73', helpText: this.helpText })), h("input", { key: 'afec9c2a3fb573a5b86839a241ff9de0f59f65be', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
71
71
  this.isFocused = false;
72
72
  this.formControlBlur.emit();
73
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '82ec36209485f448694614454cbddfffa1acca9e', errorText: this.errorText, name: this.name }))));
73
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: 'af0e7ae5efb2821634428f3fea22f16a7e58b430', errorText: this.errorText, name: this.name }))));
74
74
  }
75
75
  static get is() { return "form-control-number-masked"; }
76
76
  static get properties() {
@@ -43,10 +43,10 @@ export class NumberInput {
43
43
  return input;
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: 'bd8c24f0c1209334fde787d8dc7402e75ea1d91b' }, h("div", { key: 'd49ef47d17045ab070005a04a9edc5b11ba1b879', class: 'form-group d-flex flex-column' }, h("label", { key: '49bfca8efbaa753dae1f862f5490ab8943c6a9fd', part: label, class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '3b4ef4300374a4cdd37f85e2155fcc26d357fdca', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
46
+ return (h(Host, { key: '30aed88fe8d8ecf3a8fa36b8d8cd615b82e4cc01' }, h("div", { key: '025ac654d3de4869242a0ce294e95d7aa83e4e01', class: 'form-group d-flex flex-column' }, h("label", { key: 'fecb388595436046b1719870b4745c685d39eccc', part: label, class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '95033125ca4973a6e7484d60b57350250647e3cc', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
47
47
  this.isFocused = false;
48
48
  this.formControlBlur.emit();
49
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '4bdb8dc58c7143ccdbcd50568784b62217459ba9', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '0e5a0df13a356fe03dc389fc4bf6eba9000597fc', errorText: this.errorText, name: this.name }))));
49
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '471b88b189e0046871010e780ccd560c80f1c764', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'b0d1b87f51482daa6ded4eeedcaffda8e863b3af', errorText: this.errorText, name: this.name }))));
50
50
  }
51
51
  static get is() { return "form-control-number"; }
52
52
  static get properties() {
@@ -34,10 +34,10 @@ export class RadioInput {
34
34
  return inputRadio;
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '6ac053e94a211ac008c55ae97f3e1b22d76a9557', class: 'form-group d-flex flex-column' }, h("div", { key: 'fe44896b709219947f63d47ea3c8318bd7649bc0', class: "form-check" }, h("input", { key: 'c56759dc4c85da7cbb2e62b6a7eb2648cd42c278', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
37
+ return (h(Host, { key: 'e226d9098a8b2790320222699b3efcd510d6aa88', class: 'form-group d-flex flex-column' }, h("div", { key: '2a295d96e1f4dc8a8aaa71fbf07a10af65801366', class: "form-check" }, h("input", { key: 'f564dfc06ea6b86103c39340d63911ba1a9b7f1e', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
38
38
  this.isFocused = false;
39
39
  this.formControlBlur.emit();
40
- }, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '97949ce6465290e528e21575d3fbd4785c3568a7', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: label }, this.label)), h("form-control-help-text", { key: 'd521e8eae3d7602f59934373c36dab803fcdefd3', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '2851bc02a7fbb665086e54f2fade679c357d34e6', errorText: this.errorText, name: this.name })));
40
+ }, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '7c44f86c6320e5abdf1215982ba77e0d02daef35', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: label }, this.label)), h("form-control-help-text", { key: '20f3ddc825fab11e35fd96f6a5b708650f168e23', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '12c7997266c559850c431bb3091504c419b7f5de', errorText: this.errorText, name: this.name })));
41
41
  }
42
42
  static get is() { return "form-control-radio"; }
43
43
  static get properties() {
@@ -43,10 +43,10 @@ export class SelectInput {
43
43
  }
44
44
  render() {
45
45
  var _a;
46
- return (h(Host, { key: 'f55283c73225466b10cec78e6e5ff1c268142d1b' }, h("div", { key: '48beb377ca664b867598f8e472a3bb4825aecf9b', class: "form-group d-flex flex-column" }, h("div", { key: '13debfb6a725d7f247eb5601e3361a3964b826e9', class: "d-flex align-items-start gap-2" }, h("label", { key: '15ac64fb03a5c1cb8f55c18bd7eb41d66328e599', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '3d8b43ed6e997234f7c64daf41b2286bec93340e', helpText: this.helpText })), h("select", { key: '1c3eb5699a0b76c694a02fe50e8070483b2960e6', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
46
+ return (h(Host, { key: 'af57c4172958175f90c0b4fc60c7a0b6c5f16b70' }, h("div", { key: '96f1889ffdfd2501e0f598ef4d73634f88301f8d', class: "form-group d-flex flex-column" }, h("div", { key: '3ad3e13eb068b829974d3a738a9ffd9432ea74bc', class: "d-flex align-items-start gap-2" }, h("label", { key: '1effbf4eeb10922f49af14627aef2cee5ed2f23e', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'a1b9cb3152356f8e3d762b72dc8e7862183e925f', helpText: this.helpText })), h("select", { key: 'd2cfee2048fc3f3f352f065d6c1979b617baf805', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
47
47
  this.isFocused = false;
48
48
  this.formControlBlur.emit();
49
- }, 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 => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: 'd223fd1fad44de99812b0e3a3429e3931b798c2c', errorText: this.errorText, name: this.name }))));
49
+ }, 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 => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '036090be3ce8ab66abe46395fae7d680c5730783', errorText: this.errorText, name: this.name }))));
50
50
  }
51
51
  static get is() { return "form-control-select"; }
52
52
  static get properties() {
@@ -45,10 +45,10 @@ export class TextInput {
45
45
  return input;
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: 'fde1ad44fc7048a5387f1b4cbaef5e33a4c835e9' }, h("div", { key: '6b91df1b992a5505b490fff460d21f4a9d12a816', class: "form-group d-flex flex-column" }, h("div", { key: '2605c7cbe333c8b68f861c44ca72e4b0cbd647c8', class: "d-flex align-items-start gap-2" }, h("label", { key: '603202cacc1ae6ea0210e6600791f7a9c9e87777', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'a3024f26b2ab58737422f644714cc2ee36933ac0', helpText: this.helpText })), h("input", { key: '46c19900a311b88b41c25533d6a6d4cbbb727be5', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
48
+ return (h(Host, { key: '1dec875457354695f83386e1644e60590c12779e' }, h("div", { key: '78f295fddd56b9696077ad3a2fcb766b9b6135bd', class: "form-group d-flex flex-column" }, h("div", { key: '5c758bbca8097ec33596366638adff845f4f7b46', class: "d-flex align-items-start gap-2" }, h("label", { key: '31576778adaf535b52584b1643e1cae3699e76c4', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '328deeda6bbedb37624aad6730d7dd3a9dcc0f1a', helpText: this.helpText })), h("input", { key: 'ac141a2e464e1b0caf10c1434f03744c4e2c557c', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
49
49
  this.isFocused = false;
50
50
  this.formControlBlur.emit();
51
- }, 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 }), h(FormControlErrorText, { key: '1f4d9ba0fe5df28d0c576b5501df94350eeddeee', errorText: this.errorText, name: this.name }))));
51
+ }, 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 }), h(FormControlErrorText, { key: '2e826f44513b7f1c8a2eb40cf6141f3e34509ec7', errorText: this.errorText, name: this.name }))));
52
52
  }
53
53
  static get is() { return "form-control-text"; }
54
54
  static get properties() {