@quidgest/ui 0.14.11 → 0.14.12

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 (234) hide show
  1. package/dist/manifest/components.json +1 -0
  2. package/dist/ui.css +74 -39
  3. package/dist/ui.esm.js +1731 -1578
  4. package/dist/ui.js +24 -24
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +170 -163
  7. package/dist/ui.scss +61 -40
  8. package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
  9. package/esm/components/QAccordion/QAccordion.vue.js +2 -2
  10. package/esm/components/QAccordion/index.d.ts +33 -2
  11. package/esm/components/QAccordion/index.d.ts.map +1 -1
  12. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  13. package/esm/components/QBadge/QBadge.vue.js +7 -7
  14. package/esm/components/QBadge/index.d.ts +39 -2
  15. package/esm/components/QBadge/index.d.ts.map +1 -1
  16. package/esm/components/QBadge/types.d.ts.map +1 -1
  17. package/esm/components/QButton/QButton.d.ts +0 -2
  18. package/esm/components/QButton/QButton.d.ts.map +1 -1
  19. package/esm/components/QButton/QButton.vue.js +18 -18
  20. package/esm/components/QButton/index.d.ts +36 -2
  21. package/esm/components/QButton/index.d.ts.map +1 -1
  22. package/esm/components/QButtonGroup/QButtonGroup.d.ts +1 -3
  23. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  24. package/esm/components/QButtonGroup/QButtonGroup.vue.js +7 -7
  25. package/esm/components/QButtonGroup/index.d.ts +17 -2
  26. package/esm/components/QButtonGroup/index.d.ts.map +1 -1
  27. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  28. package/esm/components/QButtonToggle/QButtonToggle.vue.js +1 -1
  29. package/esm/components/QButtonToggle/index.d.ts +31 -2
  30. package/esm/components/QButtonToggle/index.d.ts.map +1 -1
  31. package/esm/components/QCard/QCard.d.ts +4 -9
  32. package/esm/components/QCard/QCard.d.ts.map +1 -1
  33. package/esm/components/QCard/QCard.vue.js +34 -34
  34. package/esm/components/QCard/index.d.ts +34 -2
  35. package/esm/components/QCard/index.d.ts.map +1 -1
  36. package/esm/components/QCheckbox/QCheckbox.d.ts +0 -3
  37. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  38. package/esm/components/QCheckbox/QCheckbox.vue.js +19 -19
  39. package/esm/components/QCheckbox/QCheckboxLabel.d.ts +1 -3
  40. package/esm/components/QCheckbox/QCheckboxLabel.d.ts.map +1 -1
  41. package/esm/components/QCheckbox/QCheckboxLabel.vue.js +7 -7
  42. package/esm/components/QCheckbox/index.d.ts +79 -2
  43. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  44. package/esm/components/QCheckbox/types.d.ts +8 -4
  45. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  46. package/esm/components/QCollapsible/QCollapsible.d.ts +2 -3
  47. package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
  48. package/esm/components/QCollapsible/QCollapsible.vue.js +54 -60
  49. package/esm/components/QCollapsible/index.d.ts +47 -2
  50. package/esm/components/QCollapsible/index.d.ts.map +1 -1
  51. package/esm/components/QCollapsible/types.d.ts +5 -4
  52. package/esm/components/QCollapsible/types.d.ts.map +1 -1
  53. package/esm/components/QCollapsible/types.js +4 -5
  54. package/esm/components/QColorPicker/QColorPicker.d.ts +34 -0
  55. package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -0
  56. package/esm/components/QColorPicker/QColorPicker.vue.js +97 -0
  57. package/esm/components/QColorPicker/QColorPicker.vue2.js +4 -0
  58. package/esm/components/QColorPicker/index.d.ts +48 -0
  59. package/esm/components/QColorPicker/index.d.ts.map +1 -0
  60. package/esm/components/QColorPicker/index.js +6 -0
  61. package/esm/components/QColorPicker/types.d.ts +44 -0
  62. package/esm/components/QColorPicker/types.d.ts.map +1 -0
  63. package/esm/components/QColorPicker/types.js +6 -0
  64. package/esm/components/QCombobox/QCombobox.d.ts +682 -82
  65. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  66. package/esm/components/QCombobox/QCombobox.vue.js +156 -174
  67. package/esm/components/QCombobox/index.d.ts +1395 -2
  68. package/esm/components/QCombobox/index.d.ts.map +1 -1
  69. package/esm/components/QCombobox/types.d.ts +14 -6
  70. package/esm/components/QCombobox/types.d.ts.map +1 -1
  71. package/esm/components/QCombobox/types.js +9 -11
  72. package/esm/components/QDialog/QDialog.d.ts +3 -7
  73. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  74. package/esm/components/QDialog/QDialog.vue.js +33 -33
  75. package/esm/components/QDialog/index.d.ts +56 -2
  76. package/esm/components/QDialog/index.d.ts.map +1 -1
  77. package/esm/components/QDialog/types.d.ts +5 -3
  78. package/esm/components/QDialog/types.d.ts.map +1 -1
  79. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  80. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +2 -2
  81. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +232 -11
  82. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  83. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +5 -5
  84. package/esm/components/QDropdownMenu/index.d.ts +12 -2
  85. package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
  86. package/esm/components/QDropdownMenu/types.d.ts +5 -4
  87. package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
  88. package/esm/components/QField/QField.d.ts +5 -7
  89. package/esm/components/QField/QField.d.ts.map +1 -1
  90. package/esm/components/QField/QField.vue.js +25 -25
  91. package/esm/components/QField/index.d.ts +37 -2
  92. package/esm/components/QField/index.d.ts.map +1 -1
  93. package/esm/components/QIcon/QIcon.d.ts +0 -2
  94. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  95. package/esm/components/QIcon/QIcon.vue.js +8 -8
  96. package/esm/components/QIcon/QIconFont.d.ts +0 -3
  97. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  98. package/esm/components/QIcon/QIconFont.vue.js +10 -10
  99. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  100. package/esm/components/QIcon/QIconImg.vue.js +4 -4
  101. package/esm/components/QIcon/QIconSvg.d.ts +0 -2
  102. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  103. package/esm/components/QIcon/QIconSvg.vue.js +10 -10
  104. package/esm/components/QIcon/index.d.ts +16 -8
  105. package/esm/components/QIcon/index.d.ts.map +1 -1
  106. package/esm/components/QInputGroup/QInputGroup.d.ts +0 -5
  107. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  108. package/esm/components/QInputGroup/QInputGroup.vue.js +24 -24
  109. package/esm/components/QInputGroup/index.d.ts +26 -2
  110. package/esm/components/QInputGroup/index.d.ts.map +1 -1
  111. package/esm/components/QLineLoader/QLineLoader.d.ts +1 -3
  112. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  113. package/esm/components/QLineLoader/QLineLoader.vue.js +3 -3
  114. package/esm/components/QLineLoader/index.d.ts +1 -2
  115. package/esm/components/QLineLoader/index.d.ts.map +1 -1
  116. package/esm/components/QList/QList.d.ts +70 -9
  117. package/esm/components/QList/QList.d.ts.map +1 -1
  118. package/esm/components/QList/QList.vue.js +21 -21
  119. package/esm/components/QList/QListItem.d.ts +0 -2
  120. package/esm/components/QList/QListItem.d.ts.map +1 -1
  121. package/esm/components/QList/QListItem.vue.js +20 -20
  122. package/esm/components/QList/QListItemGroup.d.ts +1 -3
  123. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  124. package/esm/components/QList/QListItemGroup.vue.js +6 -6
  125. package/esm/components/QList/index.d.ts +189 -6
  126. package/esm/components/QList/index.d.ts.map +1 -1
  127. package/esm/components/QList/types.d.ts +8 -3
  128. package/esm/components/QList/types.d.ts.map +1 -1
  129. package/esm/components/QOverlay/QOverlay.d.ts +4 -4
  130. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  131. package/esm/components/QOverlay/QOverlay.vue.js +125 -115
  132. package/esm/components/QOverlay/index.d.ts +78 -2
  133. package/esm/components/QOverlay/index.d.ts.map +1 -1
  134. package/esm/components/QPopover/QPopover.d.ts +0 -1
  135. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  136. package/esm/components/QPopover/QPopover.vue.js +6 -6
  137. package/esm/components/QPopover/index.d.ts +49 -2
  138. package/esm/components/QPopover/index.d.ts.map +1 -1
  139. package/esm/components/QPropertyList/QPropertyList.d.ts +8 -5
  140. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  141. package/esm/components/QPropertyList/QPropertyList.vue.js +42 -41
  142. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +0 -1
  143. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
  144. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +9 -9
  145. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +0 -1
  146. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
  147. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +9 -9
  148. package/esm/components/QPropertyList/QPropertyListRow.d.ts +15 -18
  149. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
  150. package/esm/components/QPropertyList/QPropertyListRow.vue.js +59 -54
  151. package/esm/components/QPropertyList/index.d.ts +117 -8
  152. package/esm/components/QPropertyList/index.d.ts.map +1 -1
  153. package/esm/components/QPropertyList/types.d.ts +8 -4
  154. package/esm/components/QPropertyList/types.d.ts.map +1 -1
  155. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts +0 -2
  156. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
  157. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +11 -11
  158. package/esm/components/QRemoveScrollBar/index.d.ts +23 -2
  159. package/esm/components/QRemoveScrollBar/index.d.ts.map +1 -1
  160. package/esm/components/QSelect/QSelect.d.ts +309 -29
  161. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  162. package/esm/components/QSelect/QSelect.vue.js +112 -129
  163. package/esm/components/QSelect/index.d.ts +314 -2
  164. package/esm/components/QSelect/index.d.ts.map +1 -1
  165. package/esm/components/QSelect/types.d.ts +13 -5
  166. package/esm/components/QSelect/types.d.ts.map +1 -1
  167. package/esm/components/QSelect/types.js +9 -11
  168. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +1 -5
  169. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  170. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +13 -13
  171. package/esm/components/QSkeletonLoader/index.d.ts +1 -2
  172. package/esm/components/QSkeletonLoader/index.d.ts.map +1 -1
  173. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +0 -1
  174. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  175. package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +8 -8
  176. package/esm/components/QSpinnerLoader/index.d.ts +3 -2
  177. package/esm/components/QSpinnerLoader/index.d.ts.map +1 -1
  178. package/esm/components/QTextField/QTextField.d.ts +79 -22
  179. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  180. package/esm/components/QTextField/QTextField.vue.js +18 -18
  181. package/esm/components/QTextField/index.d.ts +122 -2
  182. package/esm/components/QTextField/index.d.ts.map +1 -1
  183. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  184. package/esm/components/QThemeProvider/QThemeProvider.vue.js +9 -8
  185. package/esm/components/QThemeProvider/index.d.ts +17 -2
  186. package/esm/components/QThemeProvider/index.d.ts.map +1 -1
  187. package/esm/components/QThemeProvider/types.d.ts +1 -1
  188. package/esm/components/QTooltip/QTooltip.d.ts +0 -4
  189. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  190. package/esm/components/QTooltip/QTooltip.vue.js +17 -17
  191. package/esm/components/QTooltip/index.d.ts +62 -2
  192. package/esm/components/QTooltip/index.d.ts.map +1 -1
  193. package/esm/components/__internal__/QChevron/QChevron.d.ts +14 -0
  194. package/esm/components/__internal__/QChevron/QChevron.d.ts.map +1 -0
  195. package/esm/components/__internal__/QChevron/QChevron.vue.js +23 -0
  196. package/esm/components/__internal__/QChevron/QChevron.vue2.js +4 -0
  197. package/esm/components/__internal__/QChevron/index.d.ts +13 -0
  198. package/esm/components/__internal__/QChevron/index.d.ts.map +1 -0
  199. package/esm/components/__internal__/QChevron/index.js +6 -0
  200. package/esm/components/__internal__/QChevron/types.d.ts +16 -0
  201. package/esm/components/__internal__/QChevron/types.d.ts.map +1 -0
  202. package/esm/components/__internal__/QChevron/types.js +8 -0
  203. package/esm/components/__internal__/QClearButton/QClearButton.d.ts +11 -0
  204. package/esm/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -0
  205. package/esm/components/__internal__/QClearButton/QClearButton.vue.js +39 -0
  206. package/esm/components/__internal__/QClearButton/QClearButton.vue2.js +4 -0
  207. package/esm/components/__internal__/QClearButton/index.d.ts +12 -0
  208. package/esm/components/__internal__/QClearButton/index.d.ts.map +1 -0
  209. package/esm/components/__internal__/QClearButton/index.js +6 -0
  210. package/esm/components/__internal__/QClearButton/types.d.ts +23 -0
  211. package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -0
  212. package/esm/components/__internal__/QClearButton/types.js +11 -0
  213. package/esm/components/index.d.ts +1 -0
  214. package/esm/components/index.d.ts.map +1 -1
  215. package/esm/components/index.js +48 -46
  216. package/esm/composables/group.js +5 -5
  217. package/esm/composables/theme.d.ts +54 -6
  218. package/esm/composables/theme.d.ts.map +1 -1
  219. package/esm/composables/theme.js +10 -12
  220. package/esm/framework.d.ts +17 -20
  221. package/esm/framework.d.ts.map +1 -1
  222. package/esm/framework.js +22 -25
  223. package/esm/index.d.ts +1 -0
  224. package/esm/templates/theme.js +16 -16
  225. package/esm/utils/color.d.ts +2 -1
  226. package/esm/utils/color.d.ts.map +1 -1
  227. package/esm/utils/color.js +19 -19
  228. package/esm/utils/setupPropsProxy.d.ts +22 -9
  229. package/esm/utils/setupPropsProxy.d.ts.map +1 -1
  230. package/esm/utils/setupPropsProxy.js +22 -22
  231. package/esm/utils/theme.d.ts +13 -1
  232. package/esm/utils/theme.d.ts.map +1 -1
  233. package/esm/utils/theme.js +40 -24
  234. package/package.json +18 -22
package/dist/ui.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { getCurrentInstance as Je, computed as y, ref as V, provide as Me, inject as ze, watch as ne, defineComponent as S, mergeModels as G, toRef as Ae, useModel as j, openBlock as u, createElementBlock as m, renderSlot as p, normalizeClass as A, normalizeStyle as fe, withModifiers as re, createVNode as O, unref as h, createCommentVNode as $, createElementVNode as w, Fragment as R, createTextVNode as de, toDisplayString as Q, createBlock as I, resolveDynamicComponent as Le, h as He, withCtx as _, normalizeProps as J, guardReactiveProps as se, renderList as ve, useAttrs as bt, createSlots as ye, withKeys as Ee, mergeProps as X, onMounted as Oe, onUnmounted as gt, reactive as Ke, nextTick as oe, onBeforeUnmount as _t, Teleport as $t, Transition as kt, withDirectives as wt, vModelDynamic as qt } from "vue";
1
+ import { getCurrentInstance as st, computed as g, ref as B, provide as Fe, inject as Me, watch as Y, defineComponent as I, mergeModels as G, toRef as qe, useModel as K, createElementBlock as h, openBlock as d, renderSlot as p, normalizeStyle as ue, normalizeClass as T, withModifiers as ne, createCommentVNode as w, createElementVNode as x, createVNode as U, unref as y, Fragment as W, createTextVNode as ie, toDisplayString as z, createBlock as C, resolveDynamicComponent as Ie, h as Ye, withCtx as _, normalizeProps as se, guardReactiveProps as fe, renderList as ye, useAttrs as St, createSlots as pe, withKeys as De, mergeProps as Z, withDirectives as at, vModelDynamic as Bt, vModelText as Vt, onMounted as Oe, onUnmounted as Tt, reactive as Ze, nextTick as le, onBeforeUnmount as At, Teleport as Et, Transition as Dt } from "vue";
2
2
  /*!
3
- * Quidgest UI v0.14.11
3
+ * Quidgest UI v0.14.12
4
4
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
5
5
  * Released under the MIT License.
6
6
  */
7
- const De = {
7
+ const Qe = {
8
8
  primary: "#008ad2",
9
9
  primaryLight: "#cde5ff",
10
10
  primaryDark: "#006398",
@@ -35,29 +35,29 @@ const De = {
35
35
  onWarning: "#fff",
36
36
  onDanger: "#fff",
37
37
  onInfo: "#fff"
38
- }, et = {
39
- primary: "#009ff5",
40
- primaryLight: "#ade2ff",
41
- primaryDark: "#164965",
38
+ }, it = {
39
+ primary: "#008ad2",
40
+ primaryLight: "#006398",
41
+ primaryDark: "#cde5ff",
42
42
  secondary: "#003552",
43
43
  highlight: "#f65600",
44
- info: "#25cbe4",
45
- infoLight: "#bceff7",
46
- infoDark: "#225964",
47
- success: "#3acf5d",
48
- successLight: "#c2f0cd",
49
- successDark: "#275738",
44
+ info: "#17a2b8",
45
+ infoLight: "#11798a",
46
+ infoDark: "#bceff7",
47
+ success: "#28a745",
48
+ successLight: "#1e7d34",
49
+ successDark: "#c2f0cd",
50
50
  warning: "#ffa900",
51
- warningLight: "#ffeabf",
52
- warningDark: "#5a471e",
53
- danger: "#de2b2b",
54
- dangerLight: "#f7cccc",
55
- dangerDark: "#4d2528",
51
+ warningLight: "#bf7f00",
52
+ warningDark: "#ffeabf",
53
+ danger: "#b71c1c",
54
+ dangerLight: "#891515",
55
+ dangerDark: "#f7cccc",
56
56
  background: "#202428",
57
57
  container: "#202428",
58
58
  neutral: "#9299a0",
59
- neutralLight: "#dee1e3",
60
- neutralDark: "#41464a",
59
+ neutralLight: "#40474f",
60
+ neutralDark: "#c4c5ca",
61
61
  onBackground: "#fff",
62
62
  onPrimary: "#fff",
63
63
  onSecondary: "#fff",
@@ -66,85 +66,85 @@ const De = {
66
66
  onWarning: "#fff",
67
67
  onDanger: "#fff",
68
68
  onInfo: "#fff"
69
- }, No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
69
+ }, ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
70
70
  __proto__: null,
71
- defaultDarkColorScheme: et,
72
- defaultLightColorScheme: De
71
+ defaultDarkColorScheme: it,
72
+ defaultLightColorScheme: Qe
73
73
  }, Symbol.toStringTag, { value: "Module" }));
74
- function Qe(n) {
74
+ function ze(n) {
75
75
  return n == null ? !0 : typeof n == "string" || Array.isArray(n) ? n.length === 0 : typeof n == "object" ? Object.keys(n).length === 0 : !1;
76
76
  }
77
- function We(n) {
77
+ function Je(n) {
78
78
  return n !== null && typeof n == "object" && !Array.isArray(n);
79
79
  }
80
- function Fe(n = {}, t = {}) {
80
+ function Ue(n = {}, t = {}) {
81
81
  const e = {};
82
- for (const l in n)
83
- e[l] = n[l];
84
- for (const l in t) {
85
- const o = n[l], s = t[l];
86
- if (We(o) && We(s)) {
87
- e[l] = Fe(
88
- o,
82
+ for (const o in n)
83
+ e[o] = n[o];
84
+ for (const o in t) {
85
+ const l = n[o], s = t[o];
86
+ if (Je(l) && Je(s)) {
87
+ e[o] = Ue(
88
+ l,
89
89
  s
90
90
  );
91
91
  continue;
92
92
  }
93
- e[l] = s;
93
+ e[o] = s;
94
94
  }
95
95
  return e;
96
96
  }
97
97
  const Pe = "q-defaults";
98
- function xt() {
98
+ function Qt() {
99
99
  var s, a;
100
- const n = Je();
100
+ const n = st();
101
101
  if (!n)
102
102
  throw new Error("[Quidgest UI] useDefaults must be called from inside a setup function");
103
103
  const t = n.type.name ?? n.type.__name;
104
104
  if (!t) throw new Error("[Quidgest UI] Could not determine component name");
105
- const e = tt(), l = (s = e.value) == null ? void 0 : s.Global, o = (a = e.value) == null ? void 0 : a[t];
106
- return y(() => Fe(l, o));
105
+ const e = rt(), o = (s = e.value) == null ? void 0 : s.Global, l = (a = e.value) == null ? void 0 : a[t];
106
+ return g(() => Ue(o, l));
107
107
  }
108
- function Ue(n) {
109
- if (Qe(n)) return;
110
- const t = tt(), e = V(n), l = y(() => Qe(e.value) ? t.value : Fe(t.value, e.value));
111
- Me(Pe, l);
108
+ function Ne(n) {
109
+ if (ze(n)) return;
110
+ const t = rt(), e = B(n), o = g(() => ze(e.value) ? t.value : Ue(t.value, e.value));
111
+ Fe(Pe, o);
112
112
  }
113
- function tt() {
114
- const n = ze(Pe, void 0);
113
+ function rt() {
114
+ const n = Me(Pe, void 0);
115
115
  if (!n) throw new Error("[Quidgest UI] Could not find defaults instance");
116
116
  return n;
117
117
  }
118
- const nt = "q-group";
119
- function Lt(n) {
120
- var e, l;
118
+ const dt = "q-group";
119
+ function zt(n) {
120
+ var e, o;
121
121
  const t = {
122
- active: V(((e = n.active) == null ? void 0 : e.value) ?? ((l = n.multiple) == null ? void 0 : l.value) ? [] : null),
123
- multiple: y(() => {
124
- var o;
125
- return ((o = n.multiple) == null ? void 0 : o.value) || !1;
122
+ active: B(((e = n.active) == null ? void 0 : e.value) ?? ((o = n.multiple) == null ? void 0 : o.value) ? [] : null),
123
+ multiple: g(() => {
124
+ var l;
125
+ return ((l = n.multiple) == null ? void 0 : l.value) || !1;
126
126
  })
127
127
  };
128
- return ne(
128
+ return Y(
129
129
  () => t.multiple.value,
130
- (o) => {
131
- o && t.active.value ? t.active.value = [t.active.value] : o ? t.active.value = [] : Array.isArray(t.active.value) && t.active.value.length === 1 ? t.active.value = t.active.value[0] : t.active.value = null;
130
+ (l) => {
131
+ l && t.active.value ? t.active.value = [t.active.value] : l ? t.active.value = [] : Array.isArray(t.active.value) && t.active.value.length === 1 ? t.active.value = t.active.value[0] : t.active.value = null;
132
132
  }
133
- ), Me(nt, t), t;
133
+ ), Fe(dt, t), t;
134
134
  }
135
- function It(n) {
136
- const t = ze(nt, void 0);
135
+ function Ft(n) {
136
+ const t = Me(dt, void 0);
137
137
  if (!t) return;
138
- const e = y(() => {
139
- var o;
140
- return Array.isArray(t.active.value) ? (o = t.active.value) == null ? void 0 : o.includes(n) : t.active.value === n;
138
+ const e = g(() => {
139
+ var l;
140
+ return Array.isArray(t.active.value) ? (l = t.active.value) == null ? void 0 : l.includes(n) : t.active.value === n;
141
141
  });
142
142
  return { isActive: e, toggle: () => {
143
- var o;
144
- Array.isArray(t.active.value) ? e.value ? t.active.value = (o = t.active.value) == null ? void 0 : o.filter((s) => s !== n) : t.active.value.push(n) : t.active.value = n;
143
+ var l;
144
+ Array.isArray(t.active.value) ? e.value ? t.active.value = (l = t.active.value) == null ? void 0 : l.filter((s) => s !== n) : t.active.value.push(n) : t.active.value = n;
145
145
  } };
146
146
  }
147
- const St = { class: "q-accordion" }, Bt = /* @__PURE__ */ S({
147
+ const Mt = { class: "q-accordion" }, Ot = /* @__PURE__ */ I({
148
148
  __name: "QAccordion",
149
149
  props: /* @__PURE__ */ G({
150
150
  variant: {}
@@ -154,66 +154,66 @@ const St = { class: "q-accordion" }, Bt = /* @__PURE__ */ S({
154
154
  }),
155
155
  emits: ["update:modelValue"],
156
156
  setup(n) {
157
- Ue({
157
+ Ne({
158
158
  QCollapsible: {
159
- variant: Ae(n, "variant")
159
+ variant: qe(n, "variant")
160
160
  }
161
161
  });
162
- const e = j(n, "modelValue");
163
- return Lt({ active: e }), (l, o) => (u(), m("div", St, [
164
- p(l.$slots, "default")
162
+ const e = K(n, "modelValue");
163
+ return zt({ active: e }), (o, l) => (d(), h("div", Mt, [
164
+ p(o.$slots, "default")
165
165
  ]));
166
166
  }
167
167
  });
168
- function lt(n) {
168
+ function ct(n) {
169
169
  return n.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([0-9])([A-Za-z])/g, "$1-$2").replace(/([A-Za-z])([0-9])/g, "$1-$2").toLowerCase();
170
170
  }
171
- function Ct(n, t) {
172
- var l;
173
- const e = lt(t);
174
- return e ? typeof ((l = n.props) == null ? void 0 : l[e]) < "u" : !1;
171
+ function Ut(n, t) {
172
+ var o;
173
+ const e = ct(t);
174
+ return e ? typeof ((o = n.props) == null ? void 0 : o[e]) < "u" : !1;
175
175
  }
176
- function C(n) {
177
- const t = n.setup;
178
- return t && (n.setup = (e, l) => {
179
- const o = xt();
180
- if (Qe(o.value)) return t(e, l);
181
- const s = Je();
182
- if (s === null) return t(e, l);
183
- const a = new Proxy(e, {
184
- get(d, i) {
185
- var k;
186
- const c = Reflect.get(d, i), v = (k = o.value) == null ? void 0 : k[i];
187
- return typeof i == "string" && !Ct(s.vnode, i) ? v ?? c : c;
176
+ function L(n) {
177
+ const t = n, e = t.setup;
178
+ return e && (t.setup = (o, l) => {
179
+ const s = Qt();
180
+ if (ze(s.value)) return e(o, l);
181
+ const a = st();
182
+ if (a === null) return e(o, l);
183
+ const r = new Proxy(o, {
184
+ get(i, c) {
185
+ var A;
186
+ const b = Reflect.get(i, c), m = (A = s.value) == null ? void 0 : A[c];
187
+ return typeof c == "string" && !Ut(a.vnode, c) ? m ?? b : b;
188
188
  }
189
189
  });
190
- return t(a, l);
190
+ return e(r, l);
191
191
  }), n;
192
192
  }
193
- const Vt = C(Bt), Tt = /* @__PURE__ */ S({
193
+ const Pt = L(Ot), Nt = /* @__PURE__ */ I({
194
194
  __name: "QSpinnerLoader",
195
195
  props: {
196
196
  size: { default: 48 },
197
- class: { default: void 0 }
197
+ class: {}
198
198
  },
199
199
  setup(n) {
200
- const t = n, e = y(() => ({
200
+ const t = n, e = g(() => ({
201
201
  "font-size": t.size !== 48 ? `${t.size}px` : void 0
202
202
  }));
203
- return (l, o) => (u(), m("div", {
204
- class: A(["q-spinner-loader", t.class]),
205
- style: fe(e.value)
203
+ return (o, l) => (d(), h("div", {
204
+ class: T(["q-spinner-loader", t.class]),
205
+ style: ue(e.value)
206
206
  }, null, 6));
207
207
  }
208
- }), ke = C(Tt), At = ["disabled"], Et = {
208
+ }), $e = L(Nt), Rt = ["disabled"], Gt = {
209
209
  key: 0,
210
210
  class: "q-btn__spinner"
211
- }, Dt = { class: "q-btn__content" }, Qt = /* @__PURE__ */ S({
211
+ }, Ht = { class: "q-btn__content" }, Kt = /* @__PURE__ */ I({
212
212
  __name: "QButton",
213
213
  props: {
214
214
  active: { type: Boolean },
215
215
  bStyle: { default: "secondary" },
216
- label: { default: "" },
216
+ label: {},
217
217
  disabled: { type: Boolean },
218
218
  iconOnRight: { type: Boolean },
219
219
  borderless: { type: Boolean },
@@ -221,20 +221,20 @@ const Vt = C(Bt), Tt = /* @__PURE__ */ S({
221
221
  block: { type: Boolean },
222
222
  loading: { type: Boolean },
223
223
  size: { default: "regular" },
224
- class: { default: void 0 }
224
+ class: {}
225
225
  },
226
226
  emits: ["click"],
227
227
  setup(n, { emit: t }) {
228
- const e = n, l = t, o = y(() => e.disabled || e.loading);
229
- function s(d) {
230
- o.value || l("click", d);
228
+ const e = n, o = t, l = g(() => e.disabled || e.loading);
229
+ function s(r) {
230
+ l.value || o("click", r);
231
231
  }
232
- const a = y(() => {
233
- const d = e.size !== "regular" ? `q-btn--${e.size}` : void 0;
232
+ const a = g(() => {
233
+ const r = e.size !== "regular" ? `q-btn--${e.size}` : void 0;
234
234
  return [
235
235
  "q-btn",
236
236
  `q-btn--${e.bStyle}`,
237
- d,
237
+ r,
238
238
  {
239
239
  "q-btn--active": e.active,
240
240
  "q-btn--borderless": e.borderless,
@@ -245,72 +245,72 @@ const Vt = C(Bt), Tt = /* @__PURE__ */ S({
245
245
  e.class
246
246
  ];
247
247
  });
248
- return (d, i) => (u(), m("button", {
248
+ return (r, i) => (d(), h("button", {
249
249
  type: "button",
250
- class: A(a.value),
251
- disabled: o.value,
252
- onClick: re(s, ["stop", "prevent"])
250
+ class: T(a.value),
251
+ disabled: l.value,
252
+ onClick: ne(s, ["stop", "prevent"])
253
253
  }, [
254
- d.loading ? (u(), m("div", Et, [
255
- O(h(ke), { size: 20 })
256
- ])) : $("", !0),
257
- w("span", Dt, [
258
- d.iconOnRight ? (u(), m(R, { key: 0 }, [
259
- de(Q(e.label), 1)
260
- ], 64)) : $("", !0),
261
- p(d.$slots, "default"),
262
- d.iconOnRight ? $("", !0) : (u(), m(R, { key: 1 }, [
263
- de(Q(e.label), 1)
254
+ r.loading ? (d(), h("div", Gt, [
255
+ U(y($e), { size: 20 })
256
+ ])) : w("", !0),
257
+ x("span", Ht, [
258
+ r.iconOnRight ? (d(), h(W, { key: 0 }, [
259
+ ie(z(e.label), 1)
260
+ ], 64)) : w("", !0),
261
+ p(r.$slots, "default"),
262
+ r.iconOnRight ? w("", !0) : (d(), h(W, { key: 1 }, [
263
+ ie(z(e.label), 1)
264
264
  ], 64))
265
265
  ])
266
- ], 10, At));
266
+ ], 10, Rt));
267
267
  }
268
- }), ae = C(Qt), Mt = /* @__PURE__ */ S({
268
+ }), re = L(Kt), Wt = /* @__PURE__ */ I({
269
269
  __name: "QIcon",
270
270
  props: {
271
271
  icon: {},
272
- size: { default: void 0 },
273
- class: { default: void 0 },
272
+ size: {},
273
+ class: {},
274
274
  type: { default: "svg" }
275
275
  },
276
276
  setup(n) {
277
- const t = n, e = y(() => {
277
+ const t = n, e = g(() => {
278
278
  switch (t.type) {
279
279
  case "svg":
280
- return at;
280
+ return pt;
281
281
  case "font":
282
- return ot;
282
+ return ut;
283
283
  case "img":
284
- return st;
284
+ return ft;
285
285
  default:
286
286
  return;
287
287
  }
288
288
  });
289
- return (l, o) => (u(), I(Le(e.value), {
290
- class: A(t.class),
289
+ return (o, l) => (d(), C(Ie(e.value), {
290
+ class: T(t.class),
291
291
  icon: t.icon,
292
292
  size: t.size
293
293
  }, null, 8, ["class", "icon", "size"]));
294
294
  }
295
- }), zt = /* @__PURE__ */ S({
295
+ }), jt = /* @__PURE__ */ I({
296
296
  __name: "QIconFont",
297
297
  props: {
298
298
  icon: {},
299
- size: { default: void 0 },
300
- class: { default: void 0 },
299
+ size: {},
300
+ class: {},
301
301
  library: { default: "" },
302
- variant: { default: "" }
302
+ variant: {}
303
303
  },
304
304
  setup(n) {
305
- const t = n, e = y(() => t.variant ? `${t.library}-${t.variant}` : t.library), l = y(() => t.library && t.icon ? `${t.library}-${t.icon}` : t.icon), o = y(() => ({
305
+ const t = n, e = g(() => t.variant ? `${t.library}-${t.variant}` : t.library), o = g(() => t.library && t.icon ? `${t.library}-${t.icon}` : t.icon), l = g(() => ({
306
306
  "font-size": t.size !== void 0 ? `${t.size}px` : void 0
307
307
  }));
308
- return (s, a) => (u(), m("i", {
309
- class: A(["q-icon", "q-icon__font", e.value, l.value, t.class]),
310
- style: fe(o.value)
308
+ return (s, a) => (d(), h("i", {
309
+ class: T(["q-icon", "q-icon__font", e.value, o.value, t.class]),
310
+ style: ue(l.value)
311
311
  }, null, 6));
312
312
  }
313
- }), Ot = ["src"], Ft = /* @__PURE__ */ S({
313
+ }), Xt = ["src"], Yt = /* @__PURE__ */ I({
314
314
  __name: "QIconImg",
315
315
  props: {
316
316
  icon: {},
@@ -318,16 +318,16 @@ const Vt = C(Bt), Tt = /* @__PURE__ */ S({
318
318
  class: {}
319
319
  },
320
320
  setup(n) {
321
- const t = n, e = y(() => ({
321
+ const t = n, e = g(() => ({
322
322
  "font-size": t.size !== void 0 ? `${t.size}px` : void 0
323
323
  }));
324
- return (l, o) => (u(), m("img", {
324
+ return (o, l) => (d(), h("img", {
325
325
  src: t.icon,
326
- class: A(["q-icon", "q-icon__img", t.class]),
327
- style: fe(e.value)
328
- }, null, 14, Ot));
326
+ class: T(["q-icon", "q-icon__img", t.class]),
327
+ style: ue(e.value)
328
+ }, null, 14, Xt));
329
329
  }
330
- }), _e = {}, Pt = S({
330
+ }), _e = {}, Zt = I({
331
331
  name: "InlineSvg",
332
332
  emits: {
333
333
  loaded: (n) => typeof n == "object",
@@ -338,9 +338,9 @@ const Vt = C(Bt), Tt = /* @__PURE__ */ S({
338
338
  render() {
339
339
  if (!this.svgElSource) return null;
340
340
  const n = this.getSvgContent(this.svgElSource);
341
- if (!n) return He("div", this.$attrs);
341
+ if (!n) return Ye("div", this.$attrs);
342
342
  const t = {};
343
- return this.copySvgAttrs(t, this.svgElSource), this.copySvgAttrs(t, n), this.copyComponentAttrs(t, this.$attrs), t.innerHTML = n.innerHTML, He("svg", t);
343
+ return this.copySvgAttrs(t, this.svgElSource), this.copySvgAttrs(t, n), this.copyComponentAttrs(t, this.$attrs), t.innerHTML = n.innerHTML, Ye("svg", t);
344
344
  },
345
345
  props: {
346
346
  /**
@@ -393,14 +393,14 @@ const Vt = C(Bt), Tt = /* @__PURE__ */ S({
393
393
  methods: {
394
394
  copySvgAttrs(n, t) {
395
395
  const e = t.attributes;
396
- if (e) for (const l of e) n[l.name] = l.value;
396
+ if (e) for (const o of e) n[o.name] = o.value;
397
397
  },
398
398
  copyComponentAttrs(n, t) {
399
- for (const [e, l] of Object.entries(t))
400
- l !== !1 && l !== null && l !== void 0 && (n[e] = l);
399
+ for (const [e, o] of Object.entries(t))
400
+ o !== !1 && o !== null && o !== void 0 && (n[e] = o);
401
401
  },
402
402
  getSvgContent(n) {
403
- return this.symbol && (n = n.getElementById(this.symbol), !n) ? null : (this.transformSource && (n = n.cloneNode(!0), n = this.transformSource(n)), this.title && (this.transformSource || (n = n.cloneNode(!0)), Ut(n, this.title)), n);
403
+ return this.symbol && (n = n.getElementById(this.symbol), !n) ? null : (this.transformSource && (n = n.cloneNode(!0), n = this.transformSource(n)), this.title && (this.transformSource || (n = n.cloneNode(!0)), Jt(n, this.title)), n);
404
404
  },
405
405
  /**
406
406
  * Get svgElSource
@@ -408,7 +408,7 @@ const Vt = C(Bt), Tt = /* @__PURE__ */ S({
408
408
  */
409
409
  async getSource(n) {
410
410
  try {
411
- _e[n] || (_e[n] = Nt(this.download(n))), this.svgElSource && _e[n].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
411
+ _e[n] || (_e[n] = en(this.download(n))), this.svgElSource && _e[n].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
412
412
  const t = await _e[n];
413
413
  this.svgElSource = t, await this.$nextTick(), this.$emit("loaded", this.$el);
414
414
  } catch (t) {
@@ -435,96 +435,96 @@ const Vt = C(Bt), Tt = /* @__PURE__ */ S({
435
435
  },
436
436
  expose: []
437
437
  });
438
- function Ut(n, t) {
438
+ function Jt(n, t) {
439
439
  const e = n.getElementsByTagName("title");
440
440
  if (e.length)
441
441
  e[0].textContent = t;
442
442
  else {
443
- const l = document.createElementNS("http://www.w3.org/2000/svg", "title");
444
- l.textContent = t, n.insertBefore(l, n.firstChild);
443
+ const o = document.createElementNS("http://www.w3.org/2000/svg", "title");
444
+ o.textContent = t, n.insertBefore(o, n.firstChild);
445
445
  }
446
446
  }
447
- function Nt(n) {
447
+ function en(n) {
448
448
  if (n.getIsPending) return n;
449
449
  let t = !0;
450
450
  const e = n.then(
451
- (l) => (t = !1, l),
452
- (l) => {
453
- throw t = !1, l;
451
+ (o) => (t = !1, o),
452
+ (o) => {
453
+ throw t = !1, o;
454
454
  }
455
455
  );
456
456
  return e.getIsPending = () => t, e;
457
457
  }
458
- const Rt = /* @__PURE__ */ S({
458
+ const tn = /* @__PURE__ */ I({
459
459
  __name: "QIconSvg",
460
460
  props: {
461
461
  icon: {},
462
- size: { default: void 0 },
463
- class: { default: void 0 },
462
+ size: {},
463
+ class: {},
464
464
  bundle: { default: "" }
465
465
  },
466
466
  emits: ["loaded", "unloaded"],
467
467
  setup(n, { emit: t }) {
468
- const e = n, l = t, o = y(() => ({
468
+ const e = n, o = t, l = g(() => ({
469
469
  "font-size": e.size !== void 0 ? `${e.size}px` : void 0
470
470
  }));
471
- function s(d) {
472
- l("loaded", d);
471
+ function s(r) {
472
+ o("loaded", r);
473
473
  }
474
474
  function a() {
475
- l("unloaded");
475
+ o("unloaded");
476
476
  }
477
- return (d, i) => (u(), I(h(Pt), {
478
- class: A(["q-icon", "q-icon__svg", e.class]),
477
+ return (r, i) => (d(), C(y(Zt), {
478
+ class: T(["q-icon", "q-icon__svg", e.class]),
479
479
  src: e.bundle,
480
480
  symbol: e.icon,
481
- style: fe(o.value),
481
+ style: ue(l.value),
482
482
  onLoaded: s,
483
483
  onUnloaded: a
484
484
  }, null, 8, ["class", "src", "symbol", "style"]));
485
485
  }
486
- }), N = C(Mt), ot = C(zt), st = C(Ft), at = C(Rt), Gt = {
486
+ }), X = L(Wt), ut = L(jt), ft = L(Yt), pt = L(tn), nn = {
487
487
  remove: {
488
488
  icon: "close"
489
489
  }
490
490
  };
491
- function Ht(n) {
492
- return /^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/.test(n);
491
+ function mt(n, t = !1) {
492
+ return t ? /^#[a-fA-F0-9]{6}$/.test(n) : /^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/.test(n);
493
493
  }
494
- function Kt(n) {
494
+ function on(n) {
495
495
  const t = n.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
496
496
  if (t) {
497
- const e = parseInt(t[1], 10), l = parseInt(t[2], 10), o = parseInt(t[3], 10);
498
- return { r: e, g: l, b: o };
497
+ const e = parseInt(t[1], 10), o = parseInt(t[2], 10), l = parseInt(t[3], 10);
498
+ return { r: e, g: o, b: l };
499
499
  }
500
500
  }
501
- function it(n) {
502
- if (Ht(n)) {
501
+ function ht(n) {
502
+ if (mt(n)) {
503
503
  n.length === 4 && (n = "#" + n[1] + n[1] + n[2] + n[2] + n[3] + n[3]);
504
- const t = parseInt(n.slice(1, 3), 16), e = parseInt(n.slice(3, 5), 16), l = parseInt(n.slice(5, 7), 16);
505
- return { r: t, g: e, b: l };
504
+ const t = parseInt(n.slice(1, 3), 16), e = parseInt(n.slice(3, 5), 16), o = parseInt(n.slice(5, 7), 16);
505
+ return { r: t, g: e, b: o };
506
506
  } else {
507
- const t = Kt(n);
507
+ const t = on(n);
508
508
  if (t) return t;
509
509
  }
510
510
  throw new Error("Invalid color format");
511
511
  }
512
- function Wt(n) {
513
- const t = n.r / 255, e = n.g / 255, l = n.b / 255, o = Math.max(t, e, l), s = Math.min(t, e, l);
514
- let a = 0, d;
515
- const i = (o + s) / 2;
516
- if (o === s)
517
- a = d = 0;
512
+ function ln(n) {
513
+ const t = n.r / 255, e = n.g / 255, o = n.b / 255, l = Math.max(t, e, o), s = Math.min(t, e, o);
514
+ let a = 0, r;
515
+ const i = (l + s) / 2;
516
+ if (l === s)
517
+ a = r = 0;
518
518
  else {
519
- const c = o - s;
520
- switch (d = i > 0.5 ? c / (2 - o - s) : c / (o + s), o) {
519
+ const c = l - s;
520
+ switch (r = i > 0.5 ? c / (2 - l - s) : c / (l + s), l) {
521
521
  case t:
522
- a = (e - l) / c + (e < l ? 6 : 0);
522
+ a = (e - o) / c + (e < o ? 6 : 0);
523
523
  break;
524
524
  case e:
525
- a = (l - t) / c + 2;
525
+ a = (o - t) / c + 2;
526
526
  break;
527
- case l:
527
+ case o:
528
528
  a = (t - e) / c + 4;
529
529
  break;
530
530
  }
@@ -532,88 +532,88 @@ function Wt(n) {
532
532
  }
533
533
  return {
534
534
  h: Math.round(a * 360),
535
- s: Math.round(d * 100),
535
+ s: Math.round(r * 100),
536
536
  l: Math.round(i * 100)
537
537
  };
538
538
  }
539
- function jt(n) {
539
+ function sn(n) {
540
540
  return n > 50 ? "#000" : "#fff";
541
541
  }
542
- const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ S({
542
+ const an = { class: "q-badge__content" }, rn = /* @__PURE__ */ I({
543
543
  __name: "QBadge",
544
544
  props: {
545
545
  color: { default: "primary" },
546
546
  variant: { default: "tonal" },
547
547
  removable: { type: Boolean },
548
548
  pill: { type: Boolean },
549
- icons: { default: () => Gt }
549
+ icons: { default: () => nn }
550
550
  },
551
551
  emits: ["click:remove"],
552
552
  setup(n, { emit: t }) {
553
- const e = n, l = t, o = y(
553
+ const e = n, o = t, l = g(
554
554
  () => ["primary", "info", "success", "warning", "danger"].includes(e.color)
555
- ), s = y(() => {
556
- const i = o.value ? `q-badge--${e.color}` : void 0;
555
+ ), s = g(() => {
556
+ const i = l.value ? `q-badge--${e.color}` : void 0;
557
557
  return ["q-badge", `q-badge--${e.variant}`, i, { "q-badge--pill": e.pill }];
558
- }), a = y(() => {
558
+ }), a = g(() => {
559
559
  let i, c;
560
- if (!o.value)
560
+ if (!l.value)
561
561
  if (i = e.color, e.variant === "tonal")
562
562
  c = e.color;
563
563
  else {
564
- const v = it(i), k = Wt(v);
565
- c = jt(k.l);
564
+ const b = ht(i), m = ln(b);
565
+ c = sn(m.l);
566
566
  }
567
567
  return {
568
568
  "--q-badge-color": i,
569
569
  "--q-badge-text-color": c
570
570
  };
571
571
  });
572
- function d() {
573
- l("click:remove");
572
+ function r() {
573
+ o("click:remove");
574
574
  }
575
- return (i, c) => (u(), m("span", {
576
- class: A(s.value),
575
+ return (i, c) => (d(), h("span", {
576
+ class: T(s.value),
577
577
  role: "presentation",
578
- style: fe(a.value)
578
+ style: ue(a.value)
579
579
  }, [
580
- c[0] || (c[0] = w("div", { class: "q-badge__underlay" }, null, -1)),
581
- w("div", Xt, [
580
+ c[0] || (c[0] = x("div", { class: "q-badge__underlay" }, null, -1)),
581
+ x("div", an, [
582
582
  p(i.$slots, "default"),
583
- e.removable ? (u(), I(h(ae), {
583
+ e.removable ? (d(), C(y(re), {
584
584
  key: 0,
585
585
  class: "q-badge__remove",
586
586
  borderless: "",
587
587
  tabindex: "0",
588
- onClick: d
588
+ onClick: r
589
589
  }, {
590
590
  default: _(() => [
591
- O(h(N), J(se(e.icons.remove)), null, 16)
591
+ U(y(X), se(fe(e.icons.remove)), null, 16)
592
592
  ]),
593
593
  _: 1
594
- })) : $("", !0)
594
+ })) : w("", !0)
595
595
  ])
596
596
  ], 6));
597
597
  }
598
- }), Zt = C(Yt), Jt = /* @__PURE__ */ S({
598
+ }), dn = L(rn), cn = /* @__PURE__ */ I({
599
599
  __name: "QButtonGroup",
600
600
  props: {
601
601
  disabled: { type: Boolean },
602
602
  borderless: { type: Boolean },
603
603
  elevated: { type: Boolean },
604
- class: { default: void 0 }
604
+ class: {}
605
605
  },
606
606
  setup(n) {
607
607
  const t = n;
608
- return Ue({
608
+ return Ne({
609
609
  QButton: {
610
610
  bStyle: "secondary",
611
- disabled: Ae(t, "disabled"),
612
- borderless: Ae(t, "borderless"),
611
+ disabled: qe(t, "disabled"),
612
+ borderless: qe(t, "borderless"),
613
613
  elevated: !1
614
614
  }
615
- }), (e, l) => (u(), m("div", {
616
- class: A([
615
+ }), (e, o) => (d(), h("div", {
616
+ class: T([
617
617
  "q-btn-group",
618
618
  {
619
619
  "q-btn-group--elevated": t.elevated
@@ -624,7 +624,7 @@ const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ S({
624
624
  p(e.$slots, "default")
625
625
  ], 2));
626
626
  }
627
- }), rt = C(Jt), en = /* @__PURE__ */ S({
627
+ }), vt = L(cn), un = /* @__PURE__ */ I({
628
628
  __name: "QButtonToggle",
629
629
  props: /* @__PURE__ */ G({
630
630
  options: {},
@@ -639,30 +639,30 @@ const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ S({
639
639
  }),
640
640
  emits: ["update:modelValue"],
641
641
  setup(n) {
642
- const t = n, e = j(n, "modelValue");
643
- function l(o) {
644
- e.value === o.key && !t.required ? e.value = void 0 : e.value = o.key;
642
+ const t = n, e = K(n, "modelValue");
643
+ function o(l) {
644
+ e.value === l.key && !t.required ? e.value = void 0 : e.value = l.key;
645
645
  }
646
- return (o, s) => (u(), I(h(rt), {
646
+ return (l, s) => (d(), C(y(vt), {
647
647
  "b-style": "secondary",
648
- class: A(t.class),
648
+ class: T(t.class),
649
649
  disabled: t.disabled,
650
650
  borderless: t.borderless,
651
651
  elevated: t.elevated,
652
652
  role: "listbox"
653
653
  }, {
654
654
  default: _(() => [
655
- (u(!0), m(R, null, ve(t.options, (a) => (u(), I(h(ae), {
655
+ (d(!0), h(W, null, ye(t.options, (a) => (d(), C(y(re), {
656
656
  key: a.key,
657
657
  title: a.title,
658
658
  label: a.label,
659
659
  active: e.value === a.key,
660
660
  role: "option",
661
661
  "aria-selected": e.value === a.key,
662
- onClick: () => l(a)
662
+ onClick: () => o(a)
663
663
  }, {
664
664
  default: _(() => [
665
- p(o.$slots, a.key)
665
+ p(l.$slots, a.key)
666
666
  ]),
667
667
  _: 2
668
668
  }, 1032, ["title", "label", "active", "aria-selected", "onClick"]))), 128))
@@ -670,47 +670,47 @@ const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ S({
670
670
  _: 3
671
671
  }, 8, ["class", "disabled", "borderless", "elevated"]));
672
672
  }
673
- }), tn = C(en);
674
- let nn = 0;
675
- function ue(n) {
676
- return n || `uid-${++nn}`;
673
+ }), fn = L(un);
674
+ let pn = 0;
675
+ function de(n) {
676
+ return n || `uid-${++pn}`;
677
677
  }
678
- const ln = { class: "q-card__header" }, on = {
678
+ const mn = { class: "q-card__header" }, hn = {
679
679
  key: 0,
680
680
  class: "q-card__header-content"
681
- }, sn = { class: "q-card__header-text" }, an = {
681
+ }, vn = { class: "q-card__header-text" }, yn = {
682
682
  key: 0,
683
683
  class: "q-card__title",
684
684
  role: "cell"
685
- }, rn = {
685
+ }, bn = {
686
686
  key: 1,
687
687
  class: "q-card__subtitle",
688
688
  role: "cell"
689
- }, dn = { class: "q-card__content" }, un = {
689
+ }, gn = { class: "q-card__content" }, _n = {
690
690
  key: 0,
691
691
  class: "q-card__footer"
692
- }, cn = /* @__PURE__ */ S({
692
+ }, $n = /* @__PURE__ */ I({
693
693
  __name: "QCard",
694
694
  props: {
695
- id: { default: void 0 },
696
- title: { default: void 0 },
697
- subtitle: { default: void 0 },
698
- href: { default: void 0 },
695
+ id: {},
696
+ title: {},
697
+ subtitle: {},
698
+ href: {},
699
699
  disabled: { type: Boolean },
700
700
  loading: { type: Boolean },
701
701
  borderless: { type: Boolean },
702
702
  variant: { default: "default" },
703
703
  elevation: { default: "none" },
704
- width: { default: void 0 }
704
+ width: {}
705
705
  },
706
706
  setup(n) {
707
- const t = n, e = bt(), l = ue(t.id), o = y(() => {
708
- const i = t.width ? `q-card--${t.width}` : void 0, c = t.variant && t.variant !== "default" ? `q-card--${t.variant}` : void 0, v = t.elevation && t.elevation !== "none" ? `q-card--elevation-${t.elevation}` : void 0;
707
+ const t = n, e = St(), o = de(t.id), l = g(() => {
708
+ const i = t.width ? `q-card--${t.width}` : void 0, c = t.variant && t.variant !== "default" ? `q-card--${t.variant}` : void 0, b = t.elevation && t.elevation !== "none" ? `q-card--elevation-${t.elevation}` : void 0;
709
709
  return [
710
710
  "q-card",
711
711
  i,
712
712
  c,
713
- v,
713
+ b,
714
714
  {
715
715
  "q-card--clickable": s.value,
716
716
  "q-card--loading": t.loading,
@@ -718,94 +718,94 @@ const ln = { class: "q-card__header" }, on = {
718
718
  "q-card--disabled": t.disabled
719
719
  }
720
720
  ];
721
- }), s = y(() => !!e.onClick || t.href), a = y(() => t.disabled || t.loading), d = (i) => {
721
+ }), s = g(() => !!e.onClick || t.href), a = g(() => t.disabled || t.loading), r = (i) => {
722
722
  a.value && i.stopImmediatePropagation();
723
723
  };
724
- return (i, c) => (u(), I(Le(t.href ? "a" : "div"), {
725
- id: h(l),
726
- class: A([...o.value, i.$attrs.class]),
724
+ return (i, c) => (d(), C(Ie(t.href ? "a" : "div"), {
725
+ id: y(o),
726
+ class: T([...l.value, i.$attrs.class]),
727
727
  href: t.href && !a.value ? t.href : void 0,
728
- onClick: d
728
+ onClick: r
729
729
  }, {
730
730
  default: _(() => [
731
- t.loading ? (u(), I(h(ke), {
731
+ t.loading ? (d(), C(y($e), {
732
732
  key: 0,
733
733
  size: 36
734
- })) : (u(), m(R, { key: 1 }, [
735
- w("div", ln, [
734
+ })) : (d(), h(W, { key: 1 }, [
735
+ x("div", mn, [
736
736
  p(i.$slots, "header", {}, () => [
737
737
  p(i.$slots, "header.prepend"),
738
- i.$slots.title || t.title || i.$slots.subtitle || t.subtitle ? (u(), m("div", on, [
738
+ i.$slots.title || t.title || i.$slots.subtitle || t.subtitle ? (d(), h("div", hn, [
739
739
  p(i.$slots, "header.content.prepend"),
740
- w("div", sn, [
741
- i.$slots.title || t.title ? (u(), m("p", an, [
742
- i.$slots.title ? p(i.$slots, "title", { key: 0 }) : (u(), m(R, { key: 1 }, [
743
- de(Q(i.$props.title), 1)
740
+ x("div", vn, [
741
+ i.$slots.title || t.title ? (d(), h("p", yn, [
742
+ i.$slots.title ? p(i.$slots, "title", { key: 0 }) : (d(), h(W, { key: 1 }, [
743
+ ie(z(i.$props.title), 1)
744
744
  ], 64))
745
- ])) : $("", !0),
746
- i.$slots.subtitle || t.subtitle ? (u(), m("p", rn, [
747
- i.$slots.subtitle ? p(i.$slots, "subtitle", { key: 0 }) : (u(), m(R, { key: 1 }, [
748
- de(Q(i.$props.subtitle), 1)
745
+ ])) : w("", !0),
746
+ i.$slots.subtitle || t.subtitle ? (d(), h("p", bn, [
747
+ i.$slots.subtitle ? p(i.$slots, "subtitle", { key: 0 }) : (d(), h(W, { key: 1 }, [
748
+ ie(z(i.$props.subtitle), 1)
749
749
  ], 64))
750
- ])) : $("", !0)
750
+ ])) : w("", !0)
751
751
  ]),
752
752
  p(i.$slots, "header.content.append")
753
- ])) : $("", !0),
753
+ ])) : w("", !0),
754
754
  p(i.$slots, "header.append")
755
755
  ])
756
756
  ]),
757
- w("div", dn, [
757
+ x("div", gn, [
758
758
  p(i.$slots, "default")
759
759
  ]),
760
- i.$slots.footer ? (u(), m("div", un, [
760
+ i.$slots.footer ? (d(), h("div", _n, [
761
761
  p(i.$slots, "footer")
762
- ])) : $("", !0)
762
+ ])) : w("", !0)
763
763
  ], 64))
764
764
  ]),
765
765
  _: 3
766
766
  }, 8, ["id", "class", "href"]));
767
767
  }
768
- }), dt = C(cn), fn = { key: 0 }, pn = { class: "q-field__extras" }, mn = { key: 1 }, je = /* @__PURE__ */ S({
768
+ }), yt = L($n), kn = { key: 0 }, wn = { class: "q-field__extras" }, qn = { key: 1 }, et = /* @__PURE__ */ I({
769
769
  __name: "QCheckboxLabel",
770
770
  props: {
771
- label: { default: "" }
771
+ label: {}
772
772
  },
773
773
  setup(n) {
774
774
  const t = n;
775
- return (e, l) => e.$slots.extras ? (u(), m("div", fn, [
776
- w("span", null, Q(t.label), 1),
777
- w("div", pn, [
775
+ return (e, o) => e.$slots.extras ? (d(), h("div", kn, [
776
+ x("span", null, z(t.label), 1),
777
+ x("div", wn, [
778
778
  p(e.$slots, "extras")
779
779
  ])
780
- ])) : (u(), m("span", mn, Q(t.label), 1));
780
+ ])) : (d(), h("span", qn, z(t.label), 1));
781
781
  }
782
- }), hn = {
782
+ }), xn = {
783
783
  checked: {
784
784
  icon: "check"
785
785
  },
786
786
  indeterminate: {
787
787
  icon: "minus"
788
788
  }
789
- }, vn = ["id", "aria-checked", "disabled", "onKeydown"], yn = ["checked", "disabled"], bn = /* @__PURE__ */ S({
789
+ }, Cn = ["id", "aria-checked", "disabled", "onKeydown"], In = ["checked", "disabled"], Ln = /* @__PURE__ */ I({
790
790
  __name: "QCheckbox",
791
791
  props: /* @__PURE__ */ G({
792
- label: { default: "" },
793
- id: { default: void 0 },
792
+ label: {},
793
+ id: {},
794
794
  labelPlacement: { default: "right" },
795
795
  disabled: { type: Boolean },
796
796
  readonly: { type: Boolean },
797
797
  indeterminate: { type: Boolean },
798
798
  color: { default: "primary" },
799
799
  size: { default: "regular" },
800
- class: { default: void 0 },
801
- icons: { default: () => hn }
800
+ class: {},
801
+ icons: { default: () => xn }
802
802
  }, {
803
803
  modelValue: { type: Boolean },
804
804
  modelModifiers: {}
805
805
  }),
806
806
  emits: ["update:modelValue"],
807
807
  setup(n) {
808
- const t = n, e = j(n, "modelValue"), l = ue(t.id), o = y(() => [
808
+ const t = n, e = K(n, "modelValue"), o = de(t.id), l = g(() => [
809
809
  "q-checkbox",
810
810
  `q-checkbox--${t.size}`,
811
811
  `q-checkbox--${t.color}`,
@@ -820,14 +820,14 @@ const ln = { class: "q-card__header" }, on = {
820
820
  function s() {
821
821
  !t.disabled && !t.readonly && (e.value = !e.value);
822
822
  }
823
- return (a, d) => (u(), m(R, null, [
824
- w("label", {
825
- class: A(o.value)
823
+ return (a, r) => (d(), h(W, null, [
824
+ x("label", {
825
+ class: T(l.value)
826
826
  }, [
827
- t.labelPlacement !== "right" ? (u(), I(je, {
827
+ t.labelPlacement !== "right" ? (d(), C(et, {
828
828
  key: 0,
829
829
  label: t.label
830
- }, ye({ _: 2 }, [
830
+ }, pe({ _: 2 }, [
831
831
  a.$slots.extras ? {
832
832
  name: "extras",
833
833
  fn: _(() => [
@@ -835,27 +835,27 @@ const ln = { class: "q-card__header" }, on = {
835
835
  ]),
836
836
  key: "0"
837
837
  } : void 0
838
- ]), 1032, ["label"])) : $("", !0),
839
- w("button", {
840
- id: h(l),
838
+ ]), 1032, ["label"])) : w("", !0),
839
+ x("button", {
840
+ id: y(o),
841
841
  role: "checkbox",
842
842
  type: "button",
843
843
  "aria-checked": t.indeterminate ? "mixed" : e.value,
844
844
  disabled: t.disabled || t.readonly,
845
845
  class: "q-checkbox__input",
846
- onClick: re(s, ["prevent"]),
846
+ onClick: ne(s, ["prevent"]),
847
847
  onKeydown: [
848
- Ee(re(s, ["prevent"]), ["space"]),
849
- d[0] || (d[0] = Ee(re(() => {
848
+ De(ne(s, ["prevent"]), ["space"]),
849
+ r[0] || (r[0] = De(ne(() => {
850
850
  }, ["prevent"]), ["enter"]))
851
851
  ]
852
852
  }, [
853
- e.value || a.indeterminate ? (u(), I(h(N), X({ key: 0 }, e.value ? t.icons.checked : t.icons.indeterminate, { class: "q-checkbox__input-icon" }), null, 16)) : $("", !0)
854
- ], 40, vn),
855
- t.labelPlacement === "right" ? (u(), I(je, {
853
+ e.value || a.indeterminate ? (d(), C(y(X), Z({ key: 0 }, e.value ? t.icons.checked : t.icons.indeterminate, { class: "q-checkbox__input-icon" }), null, 16)) : w("", !0)
854
+ ], 40, Cn),
855
+ t.labelPlacement === "right" ? (d(), C(et, {
856
856
  key: 1,
857
857
  label: t.label
858
- }, ye({ _: 2 }, [
858
+ }, pe({ _: 2 }, [
859
859
  a.$slots.extras ? {
860
860
  name: "extras",
861
861
  fn: _(() => [
@@ -863,35 +863,53 @@ const ln = { class: "q-card__header" }, on = {
863
863
  ]),
864
864
  key: "0"
865
865
  } : void 0
866
- ]), 1032, ["label"])) : $("", !0)
866
+ ]), 1032, ["label"])) : w("", !0)
867
867
  ], 2),
868
- w("input", {
868
+ x("input", {
869
869
  type: "checkbox",
870
870
  tabindex: "-1",
871
871
  "aria-hidden": "true",
872
872
  class: "q-checkbox__native-input",
873
873
  checked: !!e.value,
874
874
  disabled: t.disabled || t.readonly
875
- }, null, 8, yn)
875
+ }, null, 8, In)
876
876
  ], 64));
877
877
  }
878
- }), gn = C(bn), _n = {
878
+ }), Sn = L(Ln), Le = {
879
879
  chevron: {
880
880
  icon: "chevron-down"
881
881
  }
882
- }, $n = {
882
+ }, Bn = /* @__PURE__ */ I({
883
+ __name: "QChevron",
884
+ props: /* @__PURE__ */ G({
885
+ class: {},
886
+ icons: { default: () => Le }
887
+ }, {
888
+ modelValue: { type: Boolean },
889
+ modelModifiers: {}
890
+ }),
891
+ emits: ["update:modelValue"],
892
+ setup(n) {
893
+ const t = n, e = K(n, "modelValue");
894
+ return (o, l) => (d(), C(y(X), Z({
895
+ class: ["q-chevron", { "q-chevron--expanded": e.value }]
896
+ }, t.icons.chevron), null, 16, ["class"]));
897
+ }
898
+ }), xe = L(Bn), Vn = {
899
+ ...Le
900
+ }, Tn = {
883
901
  key: 0,
884
902
  class: "q-collapsible__header"
885
- }, kn = { class: "q-collapsible__title" }, wn = { class: "q-collapsible__title-text" }, qn = {
903
+ }, An = { class: "q-collapsible__title" }, En = { class: "q-collapsible__title-text" }, Dn = {
886
904
  key: 1,
887
905
  class: "q-collapsible--required"
888
- }, xn = {
906
+ }, Qn = {
889
907
  key: 0,
890
908
  class: "q-collapsible__subtitle"
891
- }, Ln = { class: "q-collapsible__content-inner" }, In = { class: "q-collapsible__content" }, Sn = /* @__PURE__ */ S({
909
+ }, zn = { class: "q-collapsible__content-inner" }, Fn = { class: "q-collapsible__content" }, Mn = /* @__PURE__ */ I({
892
910
  __name: "QCollapsible",
893
911
  props: /* @__PURE__ */ G({
894
- id: { default: void 0 },
912
+ id: {},
895
913
  title: {},
896
914
  subtitle: {},
897
915
  width: { default: "fit-content" },
@@ -899,76 +917,82 @@ const ln = { class: "q-card__header" }, on = {
899
917
  spacing: {},
900
918
  variant: {},
901
919
  iconRight: { type: Boolean },
902
- icons: { default: () => _n }
920
+ icons: { default: () => Vn }
903
921
  }, {
904
922
  modelValue: { type: Boolean },
905
923
  modelModifiers: {}
906
924
  }),
907
925
  emits: ["update:modelValue"],
908
926
  setup(n) {
909
- const t = n, e = j(n, "modelValue"), l = ue(t.id), o = It(l), s = y(() => t.width === "block" ? "block" : void 0), a = y(() => {
910
- const c = t.spacing && t.spacing !== "comfortable" ? `q-collapsible--${t.spacing}` : void 0, v = t.variant && t.variant !== "default" ? `q-collapsible--${t.variant}` : void 0;
927
+ const t = n, e = K(n, "modelValue"), o = de(t.id), l = Ft(o), s = g(() => t.width === "block" ? "block" : void 0), a = g(() => {
928
+ const c = t.spacing && t.spacing !== "comfortable" ? `q-collapsible--${t.spacing}` : void 0, b = t.variant && t.variant !== "default" ? `q-collapsible--${t.variant}` : void 0;
911
929
  return [
912
930
  "q-collapsible",
913
931
  c,
914
- v,
932
+ b,
915
933
  {
916
- "q-collapsible--icon-right": t.iconRight,
917
- "q-collapsible--expanded": e.value
934
+ "q-collapsible--icon-right": t.iconRight
918
935
  }
919
936
  ];
920
- }), d = y(() => [
937
+ }), r = g(() => [
921
938
  "q-collapsible__content-wrapper",
922
939
  {
923
940
  "q-collapsible__content-show": e.value
924
941
  }
925
942
  ]), i = () => {
926
- e.value = !e.value, o == null || o.toggle();
943
+ e.value = !e.value, l == null || l.toggle();
927
944
  };
928
- return ne(
929
- () => o == null ? void 0 : o.isActive.value,
930
- () => e.value = o == null ? void 0 : o.isActive.value
931
- ), (c, v) => (u(), I(h(dt), {
932
- id: h(l),
933
- class: A(a.value),
945
+ return Y(
946
+ () => l == null ? void 0 : l.isActive.value,
947
+ () => e.value = l == null ? void 0 : l.isActive.value
948
+ ), (c, b) => (d(), C(y(yt), {
949
+ id: y(o),
950
+ class: T(a.value),
934
951
  width: s.value
935
952
  }, {
936
953
  header: _(() => [
937
- c.title ? (u(), m("div", $n, [
938
- O(h(ae), {
954
+ c.title ? (d(), h("div", Tn, [
955
+ U(y(re), {
939
956
  "b-style": "tertiary",
940
957
  class: "q-collapsible__btn",
941
958
  onClick: i
942
959
  }, {
943
960
  default: _(() => [
944
- w("div", kn, [
945
- c.iconRight ? $("", !0) : p(c.$slots, "icon", { key: 0 }, () => [
946
- O(h(N), X({ class: "q-collapsible__chevron" }, t.icons.chevron), null, 16)
961
+ x("div", An, [
962
+ c.iconRight ? w("", !0) : p(c.$slots, "icon", { key: 0 }, () => [
963
+ U(y(xe), {
964
+ "model-value": e.value,
965
+ icons: t.icons
966
+ }, null, 8, ["model-value", "icons"])
947
967
  ]),
948
968
  p(c.$slots, "title.prepend"),
949
- w("h4", wn, Q(c.title), 1),
950
- t.required ? (u(), m("span", qn, " * ")) : $("", !0),
969
+ x("h4", En, z(c.title), 1),
970
+ t.required ? (d(), h("span", Dn, " * ")) : w("", !0),
951
971
  p(c.$slots, "title.append"),
952
972
  c.iconRight ? p(c.$slots, "icon", { key: 2 }, () => [
953
- O(h(N), X({ class: "q-collapsible__chevron q-collapsible__chevron-right" }, t.icons.chevron), null, 16)
954
- ]) : $("", !0)
973
+ U(y(xe), {
974
+ "model-value": e.value,
975
+ class: "q-collapsible__chevron-right",
976
+ icons: t.icons
977
+ }, null, 8, ["model-value", "icons"])
978
+ ]) : w("", !0)
955
979
  ]),
956
- c.$slots.subtitle || c.subtitle ? (u(), m("div", xn, [
980
+ c.$slots.subtitle || c.subtitle ? (d(), h("div", Qn, [
957
981
  p(c.$slots, "subtitle", {}, () => [
958
- de(Q(c.subtitle), 1)
982
+ ie(z(c.subtitle), 1)
959
983
  ])
960
- ])) : $("", !0)
984
+ ])) : w("", !0)
961
985
  ]),
962
986
  _: 3
963
987
  })
964
- ])) : $("", !0)
988
+ ])) : w("", !0)
965
989
  ]),
966
990
  default: _(() => [
967
- w("div", {
968
- class: A(d.value)
991
+ x("div", {
992
+ class: T(r.value)
969
993
  }, [
970
- w("div", Ln, [
971
- w("div", In, [
994
+ x("div", zn, [
995
+ x("div", Fn, [
972
996
  p(c.$slots, "default")
973
997
  ])
974
998
  ])
@@ -977,16 +1001,278 @@ const ln = { class: "q-card__header" }, on = {
977
1001
  _: 3
978
1002
  }, 8, ["id", "class", "width"]));
979
1003
  }
980
- }), Bn = C(Sn), Cn = /* @__PURE__ */ S({
1004
+ }), On = L(Mn), Un = {
1005
+ selectColor: "Select a color"
1006
+ }, Pn = ["id"], Nn = {
1007
+ key: 0,
1008
+ class: "q-field__label"
1009
+ }, Rn = ["for"], Gn = {
1010
+ key: 0,
1011
+ class: "q-field__prepend"
1012
+ }, Hn = {
1013
+ key: 1,
1014
+ class: "q-field__append"
1015
+ }, Kn = {
1016
+ key: 1,
1017
+ class: "q-field__extras"
1018
+ }, Wn = /* @__PURE__ */ I({
1019
+ inheritAttrs: !1,
1020
+ __name: "QField",
1021
+ props: {
1022
+ id: {},
1023
+ label: {},
1024
+ for: {},
1025
+ size: { default: "medium" },
1026
+ readonly: { type: Boolean },
1027
+ disabled: { type: Boolean },
1028
+ required: { type: Boolean },
1029
+ class: {}
1030
+ },
1031
+ setup(n, { expose: t }) {
1032
+ const e = n, o = de(e.id), l = B(null), s = g(() => e.required && !e.readonly && !e.disabled);
1033
+ return t({
1034
+ fieldRef: l
1035
+ }), (a, r) => (d(), h("div", {
1036
+ id: y(o),
1037
+ class: T([
1038
+ "q-field",
1039
+ `q-field--${e.size}`,
1040
+ {
1041
+ "q-field--readonly": e.readonly,
1042
+ "q-field--disabled": e.disabled,
1043
+ "q-field--required": s.value
1044
+ },
1045
+ e.class
1046
+ ])
1047
+ }, [
1048
+ e.label ? (d(), h("div", Nn, [
1049
+ p(a.$slots, "label.prepend"),
1050
+ x("label", {
1051
+ for: e.for
1052
+ }, z(e.label), 9, Rn),
1053
+ p(a.$slots, "label.append")
1054
+ ])) : w("", !0),
1055
+ p(a.$slots, "control", {}, () => [
1056
+ x("div", Z({
1057
+ ref_key: "fieldRef",
1058
+ ref: l,
1059
+ class: "q-field__control"
1060
+ }, a.$attrs), [
1061
+ a.$slots.prepend ? (d(), h("div", Gn, [
1062
+ p(a.$slots, "prepend")
1063
+ ])) : w("", !0),
1064
+ p(a.$slots, "default"),
1065
+ a.$slots.append ? (d(), h("div", Hn, [
1066
+ p(a.$slots, "append")
1067
+ ])) : w("", !0)
1068
+ ], 16)
1069
+ ]),
1070
+ a.$slots.extras ? (d(), h("div", Kn, [
1071
+ p(a.$slots, "extras")
1072
+ ])) : w("", !0)
1073
+ ], 10, Pn));
1074
+ }
1075
+ }), Se = L(Wn), jn = ["id", "type", "role", "required", "placeholder", "readonly", "disabled", "maxlength"], Xn = /* @__PURE__ */ I({
1076
+ inheritAttrs: !1,
1077
+ __name: "QTextField",
1078
+ props: /* @__PURE__ */ G({
1079
+ id: {},
1080
+ placeholder: {},
1081
+ label: {},
1082
+ size: {},
1083
+ maxLength: {},
1084
+ readonly: { type: Boolean },
1085
+ disabled: { type: Boolean },
1086
+ required: { type: Boolean },
1087
+ role: {},
1088
+ type: { default: "text" },
1089
+ class: {}
1090
+ }, {
1091
+ modelValue: {},
1092
+ modelModifiers: {}
1093
+ }),
1094
+ emits: ["update:modelValue"],
1095
+ setup(n, { expose: t }) {
1096
+ const e = n, o = K(n, "modelValue"), l = de(e.id), s = B(null), a = B(null), r = g(
1097
+ () => e.readonly || e.disabled ? void 0 : e.placeholder
1098
+ );
1099
+ return t({
1100
+ fieldRef: g(() => {
1101
+ var i;
1102
+ return (i = s.value) == null ? void 0 : i.fieldRef;
1103
+ }),
1104
+ inputRef: a
1105
+ }), (i, c) => (d(), C(y(Se), {
1106
+ ref_key: "fieldRef",
1107
+ ref: s,
1108
+ class: T(["q-text-field", e.class]),
1109
+ for: y(l),
1110
+ label: e.label,
1111
+ size: e.size,
1112
+ readonly: e.readonly,
1113
+ disabled: e.disabled,
1114
+ required: e.required
1115
+ }, pe({
1116
+ "label.prepend": _(() => [
1117
+ p(i.$slots, "label.prepend")
1118
+ ]),
1119
+ "label.append": _(() => [
1120
+ p(i.$slots, "label.append")
1121
+ ]),
1122
+ default: _(() => [
1123
+ at(x("input", Z({
1124
+ id: y(l),
1125
+ ref_key: "inputRef",
1126
+ ref: a,
1127
+ "onUpdate:modelValue": c[0] || (c[0] = (b) => o.value = b),
1128
+ class: "q-text-field__input",
1129
+ type: e.type,
1130
+ role: e.role,
1131
+ required: e.required,
1132
+ placeholder: r.value,
1133
+ readonly: e.readonly,
1134
+ disabled: e.disabled,
1135
+ maxlength: e.maxLength
1136
+ }, i.$attrs), null, 16, jn), [
1137
+ [Bt, o.value]
1138
+ ])
1139
+ ]),
1140
+ _: 2
1141
+ }, [
1142
+ i.$slots.prepend ? {
1143
+ name: "prepend",
1144
+ fn: _(() => [
1145
+ p(i.$slots, "prepend")
1146
+ ]),
1147
+ key: "0"
1148
+ } : void 0,
1149
+ i.$slots.append ? {
1150
+ name: "append",
1151
+ fn: _(() => [
1152
+ p(i.$slots, "append")
1153
+ ]),
1154
+ key: "1"
1155
+ } : void 0,
1156
+ i.$slots.extras ? {
1157
+ name: "extras",
1158
+ fn: _(() => [
1159
+ p(i.$slots, "extras")
1160
+ ]),
1161
+ key: "2"
1162
+ } : void 0
1163
+ ]), 1032, ["class", "for", "label", "size", "readonly", "disabled", "required"]));
1164
+ }
1165
+ }), Re = L(Xn), Yn = ["readonly", "disabled", "aria-label"], Zn = /* @__PURE__ */ I({
1166
+ __name: "QColorPicker",
1167
+ props: /* @__PURE__ */ G({
1168
+ id: {},
1169
+ placeholder: {},
1170
+ label: {},
1171
+ size: { default: "small" },
1172
+ readonly: { type: Boolean },
1173
+ disabled: { type: Boolean },
1174
+ required: { type: Boolean },
1175
+ class: {},
1176
+ texts: { default: () => Un }
1177
+ }, {
1178
+ modelValue: {},
1179
+ modelModifiers: {}
1180
+ }),
1181
+ emits: ["update:modelValue"],
1182
+ setup(n) {
1183
+ const t = n, e = K(n, "modelValue"), o = B(""), l = B(""), s = g(() => t.readonly || t.disabled);
1184
+ function a(m) {
1185
+ return mt(m, !0);
1186
+ }
1187
+ function r(m) {
1188
+ const A = m.target;
1189
+ e.value = a(A.value) ? A.value : "";
1190
+ }
1191
+ function i() {
1192
+ a(l.value) ? e.value = l.value : (e.value = "", l.value = "");
1193
+ }
1194
+ function c(m) {
1195
+ m && a(m) ? o.value = m : o.value = "#000000";
1196
+ }
1197
+ Y(e, c, { immediate: !0 });
1198
+ function b(m) {
1199
+ m && a(m) ? l.value = m : l.value = "";
1200
+ }
1201
+ return Y(e, b, { immediate: !0 }), (m, A) => (d(), C(y(Re), {
1202
+ modelValue: l.value,
1203
+ "onUpdate:modelValue": A[1] || (A[1] = (P) => l.value = P),
1204
+ maxlength: "7",
1205
+ id: t.id,
1206
+ class: T(["q-color-picker", t.class]),
1207
+ label: t.label,
1208
+ size: t.size,
1209
+ readonly: t.readonly,
1210
+ disabled: t.disabled,
1211
+ required: t.required,
1212
+ placeholder: t.placeholder,
1213
+ onChange: i
1214
+ }, pe({
1215
+ "label.prepend": _(() => [
1216
+ p(m.$slots, "label.prepend")
1217
+ ]),
1218
+ "label.append": _(() => [
1219
+ p(m.$slots, "label.append")
1220
+ ]),
1221
+ prepend: _(() => [
1222
+ p(m.$slots, "prepend"),
1223
+ at(x("input", {
1224
+ "onUpdate:modelValue": A[0] || (A[0] = (P) => o.value = P),
1225
+ type: "color",
1226
+ class: "q-color-picker__swatch",
1227
+ readonly: t.readonly,
1228
+ disabled: s.value,
1229
+ "aria-label": t.texts.selectColor,
1230
+ onChange: r
1231
+ }, null, 40, Yn), [
1232
+ [Vt, o.value]
1233
+ ])
1234
+ ]),
1235
+ _: 2
1236
+ }, [
1237
+ m.$slots.append ? {
1238
+ name: "append",
1239
+ fn: _(() => [
1240
+ p(m.$slots, "append")
1241
+ ]),
1242
+ key: "0"
1243
+ } : void 0,
1244
+ m.$slots.extras ? {
1245
+ name: "extras",
1246
+ fn: _(() => [
1247
+ p(m.$slots, "extras")
1248
+ ]),
1249
+ key: "1"
1250
+ } : void 0
1251
+ ]), 1032, ["modelValue", "id", "class", "label", "size", "readonly", "disabled", "required", "placeholder"]));
1252
+ }
1253
+ }), Jn = L(Zn), Ge = {
1254
+ clearValue: "Clear value"
1255
+ }, He = {
1256
+ clear: {
1257
+ icon: "close"
1258
+ }
1259
+ }, eo = {
1260
+ ...Ge,
1261
+ noData: "No data available",
1262
+ showOptions: "Show options"
1263
+ }, to = {
1264
+ ...Le,
1265
+ ...He
1266
+ }, no = /* @__PURE__ */ I({
981
1267
  __name: "QList",
982
1268
  props: /* @__PURE__ */ G({
983
- highlighted: { type: [String, Number, Boolean, Symbol], default: void 0 },
1269
+ highlighted: { type: [String, Number, Boolean, Symbol] },
984
1270
  items: {},
985
1271
  groups: { default: () => [] },
986
1272
  itemValue: { default: "key" },
987
1273
  itemLabel: { default: "label" },
988
1274
  disabled: { type: Boolean },
989
- class: { default: void 0 },
1275
+ class: {},
990
1276
  selectable: { type: Boolean }
991
1277
  }, {
992
1278
  modelValue: {
@@ -996,158 +1282,158 @@ const ln = { class: "q-card__header" }, on = {
996
1282
  }),
997
1283
  emits: ["update:modelValue"],
998
1284
  setup(n, { expose: t }) {
999
- const e = n, l = j(n, "modelValue"), o = V(!1), s = y(() => a.value.length > 1 ? "div" : "ul"), a = y(() => e.groups.length ? e.groups.filter(
1000
- (b) => e.items.some((f) => f.group === b.id)
1001
- ) : [{ id: "", title: "" }]), d = V(null), i = V(null);
1002
- function c(b) {
1003
- l.value = b;
1285
+ const e = n, o = K(n, "modelValue"), l = B(!1), s = g(() => a.value.length > 1 ? "div" : "ul"), a = g(() => e.groups.length ? e.groups.filter(
1286
+ (k) => e.items.some((u) => u.group === k.id)
1287
+ ) : [{ id: "", title: "" }]), r = B(null), i = B(null);
1288
+ function c(k) {
1289
+ o.value = k;
1004
1290
  }
1005
- function v() {
1006
- o.value = !0;
1291
+ function b() {
1292
+ l.value = !0;
1007
1293
  }
1008
- function k() {
1009
- o.value = !1;
1294
+ function m() {
1295
+ l.value = !1;
1010
1296
  }
1011
- function H(b) {
1012
- var z;
1013
- if ((z = d.value) != null && z.contains(b.relatedTarget))
1297
+ function A(k) {
1298
+ var O;
1299
+ if ((O = r.value) != null && O.contains(k.relatedTarget))
1014
1300
  return;
1015
- let f;
1016
- l.value ? f = e.items.findIndex((U) => U[e.itemValue] === l.value) : f = ee();
1017
- const q = o.value;
1018
- g(f, q);
1301
+ let u;
1302
+ o.value ? u = e.items.findIndex((H) => H[e.itemValue] === o.value) : u = j();
1303
+ const q = l.value;
1304
+ $(u, q);
1019
1305
  }
1020
- function K(b) {
1021
- switch (["ArrowDown", "ArrowUp", "Home", "End"].includes(b.key) && b.preventDefault(), b.key) {
1306
+ function P(k) {
1307
+ switch (["ArrowDown", "ArrowUp", "Home", "End"].includes(k.key) && k.preventDefault(), k.key) {
1022
1308
  case "ArrowDown":
1023
- D("next");
1309
+ N("next");
1024
1310
  break;
1025
1311
  case "ArrowUp":
1026
- D("prev");
1312
+ N("prev");
1027
1313
  break;
1028
1314
  case "Home":
1029
- D("first");
1315
+ N("first");
1030
1316
  break;
1031
1317
  case "End":
1032
- D("last");
1318
+ N("last");
1033
1319
  break;
1034
1320
  }
1035
1321
  }
1036
- function D(b) {
1037
- switch (b) {
1322
+ function N(k) {
1323
+ switch (k) {
1038
1324
  case "next":
1039
1325
  case "prev":
1040
- g(E(b));
1326
+ $(E(k));
1041
1327
  break;
1042
1328
  case "first":
1043
- g(ee());
1329
+ $(j());
1044
1330
  break;
1045
1331
  case "last":
1046
- g(te());
1332
+ $(te());
1047
1333
  break;
1048
1334
  }
1049
1335
  }
1050
- function g(b, f = !1) {
1051
- var z;
1052
- (z = B()[b]) == null || z.focus({ preventScroll: f });
1336
+ function $(k, u = !1) {
1337
+ var O;
1338
+ (O = V()[k]) == null || O.focus({ preventScroll: u });
1053
1339
  }
1054
- function B() {
1055
- var f;
1056
- const b = (f = d.value) == null ? void 0 : f.querySelectorAll("li");
1057
- return b ? Array.from(b) : [];
1340
+ function V() {
1341
+ var u;
1342
+ const k = (u = r.value) == null ? void 0 : u.querySelectorAll("li");
1343
+ return k ? Array.from(k) : [];
1058
1344
  }
1059
- function M(b) {
1060
- return B()[b];
1345
+ function D(k) {
1346
+ return V()[k];
1061
1347
  }
1062
- function F() {
1063
- return B().indexOf(document.activeElement);
1348
+ function Q() {
1349
+ return V().indexOf(document.activeElement);
1064
1350
  }
1065
- function ee() {
1066
- const b = B(), f = b.find((q) => le(q));
1067
- return f ? b.indexOf(f) : -1;
1351
+ function j() {
1352
+ const k = V(), u = k.find((q) => ae(q));
1353
+ return u ? k.indexOf(u) : -1;
1068
1354
  }
1069
1355
  function te() {
1070
- const b = B(), f = [...b].reverse().find((q) => le(q));
1071
- return f ? b.indexOf(f) : -1;
1072
- }
1073
- function x(b, f, q) {
1074
- return f === "prev" && b <= 0 || f === "next" && b === q.length - 1;
1075
- }
1076
- function E(b) {
1077
- const f = F();
1078
- return P(f, b);
1079
- }
1080
- function P(b, f) {
1081
- const q = B();
1082
- if (x(b, f, q))
1083
- return b;
1084
- let z = b + (f === "next" ? 1 : -1);
1085
- for (; !le(q[z]); ) {
1086
- if (x(z, f, q))
1087
- return b;
1088
- z += f === "next" ? 1 : -1;
1356
+ const k = V(), u = [...k].reverse().find((q) => ae(q));
1357
+ return u ? k.indexOf(u) : -1;
1358
+ }
1359
+ function S(k, u, q) {
1360
+ return u === "prev" && k <= 0 || u === "next" && k === q.length - 1;
1361
+ }
1362
+ function E(k) {
1363
+ const u = Q();
1364
+ return R(u, k);
1365
+ }
1366
+ function R(k, u) {
1367
+ const q = V();
1368
+ if (S(k, u, q))
1369
+ return k;
1370
+ let O = k + (u === "next" ? 1 : -1);
1371
+ for (; !ae(q[O]); ) {
1372
+ if (S(O, u, q))
1373
+ return k;
1374
+ O += u === "next" ? 1 : -1;
1089
1375
  }
1090
- return z;
1376
+ return O;
1091
1377
  }
1092
- function le(b) {
1093
- return b.tabIndex === -2;
1378
+ function ae(k) {
1379
+ return k.tabIndex === -2;
1094
1380
  }
1095
- function ce(b) {
1096
- return b ? e.items.filter((f) => f.group === b) : e.items;
1381
+ function ce(k) {
1382
+ return k ? e.items.filter((u) => u.group === k) : e.items;
1097
1383
  }
1098
1384
  return t({
1099
- focusItem: g,
1100
- getItem: M,
1101
- getAdjacentItemIndex: P,
1102
- getFirstFocusableItemIndex: ee,
1385
+ focusItem: $,
1386
+ getItem: D,
1387
+ getAdjacentItemIndex: R,
1388
+ getFirstFocusableItemIndex: j,
1103
1389
  getLastFocusableItemIndex: te
1104
- }), (b, f) => (u(), I(Le(s.value), {
1390
+ }), (k, u) => (d(), C(Ie(s.value), {
1105
1391
  ref_key: "listRef",
1106
- ref: d,
1107
- class: A(["q-list", { "q-list--disabled": e.disabled }, e.class]),
1392
+ ref: r,
1393
+ class: T(["q-list", { "q-list--disabled": e.disabled }, e.class]),
1108
1394
  role: "listbox",
1109
1395
  tabindex: e.disabled ? -1 : 0,
1110
- onFocus: H,
1111
- onMousedown: v,
1112
- onMouseup: k,
1113
- onKeydown: K
1396
+ onFocus: A,
1397
+ onMousedown: b,
1398
+ onMouseup: m,
1399
+ onKeydown: P
1114
1400
  }, {
1115
1401
  default: _(() => [
1116
- (u(!0), m(R, null, ve(a.value, (q, z) => (u(), I(h(ct), {
1402
+ (d(!0), h(W, null, ye(a.value, (q, O) => (d(), C(y(gt), {
1117
1403
  id: q.id,
1118
1404
  key: q.id,
1119
1405
  title: a.value.length === 1 ? void 0 : q.title
1120
1406
  }, {
1121
1407
  default: _(() => [
1122
- (u(!0), m(R, null, ve(ce(q.id), (U, Y) => (u(), I(h(ut), {
1123
- key: U[e.itemValue],
1408
+ (d(!0), h(W, null, ye(ce(q.id), (H, J) => (d(), C(y(bt), {
1409
+ key: H[e.itemValue],
1124
1410
  ref_for: !0,
1125
1411
  ref_key: "listItemsRef",
1126
1412
  ref: i,
1127
- value: U[e.itemValue],
1128
- label: U[e.itemLabel],
1129
- description: U.description,
1130
- icon: U.icon,
1131
- disabled: e.disabled || q.disabled || U.disabled,
1132
- highlighted: e.highlighted === U[e.itemValue],
1133
- selected: b.selectable && l.value === U[e.itemValue],
1413
+ value: H[e.itemValue],
1414
+ label: H[e.itemLabel],
1415
+ description: H.description,
1416
+ icon: H.icon,
1417
+ disabled: e.disabled || q.disabled || H.disabled,
1418
+ highlighted: e.highlighted === H[e.itemValue],
1419
+ selected: k.selectable && o.value === H[e.itemValue],
1134
1420
  onSelect: c
1135
1421
  }, {
1136
1422
  append: _(() => {
1137
- var W, ie;
1423
+ var ee, oe;
1138
1424
  return [
1139
- p(b.$slots, "item.append", {
1140
- item: U,
1141
- element: (ie = (W = i.value) == null ? void 0 : W[Y + z * a.value.length]) == null ? void 0 : ie.$el
1425
+ p(k.$slots, "item.append", {
1426
+ item: H,
1427
+ element: (oe = (ee = i.value) == null ? void 0 : ee[J + O * a.value.length]) == null ? void 0 : oe.$el
1142
1428
  })
1143
1429
  ];
1144
1430
  }),
1145
1431
  default: _(() => {
1146
- var W, ie;
1432
+ var ee, oe;
1147
1433
  return [
1148
- p(b.$slots, "item", {
1149
- item: U,
1150
- element: (ie = (W = i.value) == null ? void 0 : W[Y + z * a.value.length]) == null ? void 0 : ie.$el
1434
+ p(k.$slots, "item", {
1435
+ item: H,
1436
+ element: (oe = (ee = i.value) == null ? void 0 : ee[J + O * a.value.length]) == null ? void 0 : oe.$el
1151
1437
  })
1152
1438
  ];
1153
1439
  }),
@@ -1160,43 +1446,43 @@ const ln = { class: "q-card__header" }, on = {
1160
1446
  _: 3
1161
1447
  }, 40, ["class", "tabindex"]));
1162
1448
  }
1163
- }), Vn = {
1449
+ }), oo = {
1164
1450
  check: {
1165
1451
  icon: "check"
1166
1452
  },
1167
1453
  description: {
1168
1454
  icon: "information-outline"
1169
1455
  }
1170
- }, Tn = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], An = { class: "q-list-item__container" }, En = { class: "q-list-item__content" }, Dn = {
1456
+ }, lo = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], so = { class: "q-list-item__container" }, ao = { class: "q-list-item__content" }, io = {
1171
1457
  key: 0,
1172
1458
  class: "q-list-item__description"
1173
- }, Qn = { class: "q-list-item__check-container" }, Mn = /* @__PURE__ */ S({
1459
+ }, ro = { class: "q-list-item__check-container" }, co = /* @__PURE__ */ I({
1174
1460
  __name: "QListItem",
1175
1461
  props: {
1176
1462
  value: { type: [String, Number, Boolean, Symbol] },
1177
1463
  label: {},
1178
- icon: { default: void 0 },
1464
+ icon: {},
1179
1465
  selected: { type: Boolean },
1180
1466
  highlighted: { type: Boolean },
1181
1467
  disabled: { type: Boolean },
1182
- description: { default: void 0 },
1183
- icons: { default: () => Vn }
1468
+ description: {},
1469
+ icons: { default: () => oo }
1184
1470
  },
1185
1471
  emits: ["select"],
1186
1472
  setup(n, { emit: t }) {
1187
- const e = n, l = t, o = ue();
1473
+ const e = n, o = t, l = de();
1188
1474
  function s() {
1189
- e.disabled || l("select", e.value);
1475
+ e.disabled || o("select", e.value);
1190
1476
  }
1191
- function a(d) {
1192
- d.key === "Tab" && s(), (d.key === "Enter" || d.key === " ") && (d.preventDefault(), d.stopPropagation(), s());
1477
+ function a(r) {
1478
+ r.key === "Tab" && s(), (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
1193
1479
  }
1194
- return (d, i) => (u(), m("li", {
1195
- id: h(o),
1480
+ return (r, i) => (d(), h("li", {
1481
+ id: y(l),
1196
1482
  "data-key": e.value,
1197
1483
  role: "option",
1198
1484
  tabindex: e.disabled ? void 0 : -2,
1199
- class: A([
1485
+ class: T([
1200
1486
  "q-list-item",
1201
1487
  {
1202
1488
  "q-list-item--disabled": e.disabled,
@@ -1207,308 +1493,378 @@ const ln = { class: "q-card__header" }, on = {
1207
1493
  "aria-label": e.label,
1208
1494
  "aria-selected": e.disabled ? void 0 : e.selected,
1209
1495
  onKeydown: a,
1210
- onClick: re(s, ["stop", "prevent"])
1496
+ onClick: ne(s, ["stop", "prevent"])
1211
1497
  }, [
1212
- p(d.$slots, "prepend"),
1213
- w("div", An, [
1214
- w("div", En, [
1215
- p(d.$slots, "default", {}, () => [
1216
- e.icon ? (u(), I(h(N), J(X({ key: 0 }, e.icon)), null, 16)) : $("", !0),
1217
- de(" " + Q(e.label), 1)
1498
+ p(r.$slots, "prepend"),
1499
+ x("div", so, [
1500
+ x("div", ao, [
1501
+ p(r.$slots, "default", {}, () => [
1502
+ e.icon ? (d(), C(y(X), se(Z({ key: 0 }, e.icon)), null, 16)) : w("", !0),
1503
+ ie(" " + z(e.label), 1)
1218
1504
  ])
1219
1505
  ]),
1220
- e.description ? (u(), m("div", Dn, [
1221
- O(h(N), J(se(e.icons.description)), null, 16),
1222
- w("span", null, Q(e.description), 1)
1223
- ])) : $("", !0)
1506
+ e.description ? (d(), h("div", io, [
1507
+ U(y(X), se(fe(e.icons.description)), null, 16),
1508
+ x("span", null, z(e.description), 1)
1509
+ ])) : w("", !0)
1224
1510
  ]),
1225
- p(d.$slots, "append"),
1226
- w("div", Qn, [
1227
- e.selected ? (u(), I(h(N), X({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : $("", !0)
1511
+ p(r.$slots, "append"),
1512
+ x("div", ro, [
1513
+ e.selected ? (d(), C(y(X), Z({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : w("", !0)
1228
1514
  ])
1229
- ], 42, Tn));
1515
+ ], 42, lo));
1230
1516
  }
1231
- }), zn = ["data-key", "aria-labelledby"], On = ["id"], Fn = /* @__PURE__ */ S({
1517
+ }), uo = ["data-key", "aria-labelledby"], fo = ["id"], po = /* @__PURE__ */ I({
1232
1518
  __name: "QListItemGroup",
1233
1519
  props: {
1234
1520
  id: {},
1235
- title: { default: "" }
1521
+ title: {}
1236
1522
  },
1237
1523
  setup(n) {
1238
- const t = n, e = ue();
1239
- return (l, o) => (u(), m("ul", {
1524
+ const t = n, e = de();
1525
+ return (o, l) => (d(), h("ul", {
1240
1526
  class: "q-list-item-group",
1241
1527
  role: "group",
1242
1528
  "data-key": t.id,
1243
- "aria-labelledby": t.title ? h(e) : void 0
1529
+ "aria-labelledby": t.title ? y(e) : void 0
1244
1530
  }, [
1245
- t.title ? (u(), m("li", {
1531
+ t.title ? (d(), h("li", {
1246
1532
  key: 0,
1247
- id: h(e),
1533
+ id: y(e),
1248
1534
  class: "q-list-item-group__title",
1249
1535
  role: "presentation"
1250
- }, Q(t.title), 9, On)) : $("", !0),
1251
- p(l.$slots, "default")
1252
- ], 8, zn));
1536
+ }, z(t.title), 9, fo)) : w("", !0),
1537
+ p(o.$slots, "default")
1538
+ ], 8, uo));
1253
1539
  }
1254
- }), Ie = C(Cn), ut = C(Mn), ct = C(Fn), he = "data-scroll-locked", Ce = "right-scroll-bar-position", Ve = "width-before-scroll-bar", Pn = "with-scroll-bars-hidden", Un = "--removed-body-scroll-bar-size", Nn = {
1540
+ }), Be = L(no), bt = L(co), gt = L(po), ve = "data-scroll-locked", Te = "right-scroll-bar-position", Ae = "width-before-scroll-bar", mo = "with-scroll-bars-hidden", ho = "--removed-body-scroll-bar-size", vo = {
1255
1541
  left: 0,
1256
1542
  top: 0,
1257
1543
  right: 0,
1258
1544
  gap: 0
1259
- }, Te = (n) => parseInt(n || "", 10) || 0, Rn = (n) => {
1260
- const t = window.getComputedStyle(document.body), e = t[n === "padding" ? "paddingLeft" : "marginLeft"], l = t[n === "padding" ? "paddingTop" : "marginTop"], o = t[n === "padding" ? "paddingRight" : "marginRight"];
1261
- return [Te(e), Te(l), Te(o)];
1262
- }, Gn = (n = "margin") => {
1545
+ }, Ee = (n) => parseInt(n || "", 10) || 0, yo = (n) => {
1546
+ const t = window.getComputedStyle(document.body), e = t[n === "padding" ? "paddingLeft" : "marginLeft"], o = t[n === "padding" ? "paddingTop" : "marginTop"], l = t[n === "padding" ? "paddingRight" : "marginRight"];
1547
+ return [Ee(e), Ee(o), Ee(l)];
1548
+ }, bo = (n = "margin") => {
1263
1549
  if (typeof window > "u")
1264
- return Nn;
1265
- const t = Rn(n), e = document.documentElement.clientWidth, l = window.innerWidth;
1550
+ return vo;
1551
+ const t = yo(n), e = document.documentElement.clientWidth, o = window.innerWidth;
1266
1552
  return {
1267
1553
  left: t[0],
1268
1554
  top: t[1],
1269
1555
  right: t[2],
1270
- gap: Math.max(0, l - e + t[2] - t[0])
1556
+ gap: Math.max(0, o - e + t[2] - t[0])
1271
1557
  };
1272
1558
  };
1273
- function Hn() {
1559
+ function go() {
1274
1560
  return document ? document.createElement("style") : null;
1275
1561
  }
1276
- function Kn(n, t) {
1562
+ function _o(n, t) {
1277
1563
  n.appendChild(document.createTextNode(t));
1278
1564
  }
1279
- function Wn(n) {
1565
+ function $o(n) {
1280
1566
  (document.head || document.getElementsByTagName("head")[0]).appendChild(n);
1281
1567
  }
1282
- const jn = () => {
1568
+ const ko = () => {
1283
1569
  let n = 0, t = null;
1284
1570
  return {
1285
1571
  add: (e) => {
1286
- n === 0 && (t = Hn()) && (Kn(t, e), Wn(t)), n++;
1572
+ n === 0 && (t = go()) && (_o(t, e), $o(t)), n++;
1287
1573
  },
1288
1574
  remove: () => {
1289
1575
  var e;
1290
1576
  n--, !n && t && ((e = t.parentNode) == null || e.removeChild(t), t = null);
1291
1577
  }
1292
1578
  };
1293
- }, Xn = /* @__PURE__ */ S({
1579
+ }, wo = /* @__PURE__ */ I({
1294
1580
  __name: "QRemoveScrollBar",
1295
1581
  props: {
1296
- noRelative: { type: Boolean, default: !1 },
1297
- noImportant: { type: Boolean, default: !1 },
1582
+ noRelative: { type: Boolean },
1583
+ noImportant: { type: Boolean },
1298
1584
  gapMode: { default: "margin" }
1299
1585
  },
1300
1586
  setup(n) {
1301
- const t = n, e = jn(), l = () => {
1302
- const s = parseInt(document.body.getAttribute(he) || "0", 10);
1587
+ const t = n, e = ko(), o = () => {
1588
+ const s = parseInt(document.body.getAttribute(ve) || "0", 10);
1303
1589
  return isFinite(s) ? s : 0;
1304
- }, o = ({ left: s, top: a, right: d, gap: i }, c, v = "margin", k) => `
1305
- .${Pn} {
1306
- overflow: hidden ${k};
1307
- padding-right: ${i}px ${k};
1590
+ }, l = ({ left: s, top: a, right: r, gap: i }, c, b = "margin", m) => `
1591
+ .${mo} {
1592
+ overflow: hidden ${m};
1593
+ padding-right: ${i}px ${m};
1308
1594
  }
1309
- body[${he}] {
1310
- overflow: hidden ${k};
1595
+ body[${ve}] {
1596
+ overflow: hidden ${m};
1311
1597
  overscroll-behavior: contain;
1312
1598
  ${[
1313
- c && `position: relative ${k};`,
1314
- v === "margin" && `
1599
+ c && `position: relative ${m};`,
1600
+ b === "margin" && `
1315
1601
  padding-left: ${s}px;
1316
1602
  padding-top: ${a}px;
1317
- padding-right: ${d}px;
1603
+ padding-right: ${r}px;
1318
1604
  margin-left:0;
1319
1605
  margin-top:0;
1320
- margin-right: ${i}px ${k};
1606
+ margin-right: ${i}px ${m};
1321
1607
  `,
1322
- v === "padding" && `padding-right: ${i}px ${k};`
1608
+ b === "padding" && `padding-right: ${i}px ${m};`
1323
1609
  ].filter(Boolean).join("")}
1324
1610
  }
1325
1611
 
1326
- .${Ce} {
1327
- right: ${i}px ${k};
1612
+ .${Te} {
1613
+ right: ${i}px ${m};
1328
1614
  }
1329
1615
 
1330
- .${Ve} {
1331
- margin-right: ${i}px ${k};
1616
+ .${Ae} {
1617
+ margin-right: ${i}px ${m};
1332
1618
  }
1333
1619
 
1334
- .${Ce} .${Ce} {
1335
- right: 0 ${k};
1620
+ .${Te} .${Te} {
1621
+ right: 0 ${m};
1336
1622
  }
1337
1623
 
1338
- .${Ve} .${Ve} {
1339
- margin-right: 0 ${k};
1624
+ .${Ae} .${Ae} {
1625
+ margin-right: 0 ${m};
1340
1626
  }
1341
1627
 
1342
- body[${he}] {
1343
- ${Un}: ${i}px;
1628
+ body[${ve}] {
1629
+ ${ho}: ${i}px;
1344
1630
  }
1345
1631
  `;
1346
1632
  return Oe(() => {
1347
- document.body.setAttribute(he, (l() + 1).toString());
1348
- const s = Gn(t.gapMode);
1633
+ document.body.setAttribute(ve, (o() + 1).toString());
1634
+ const s = bo(t.gapMode);
1349
1635
  e.add(
1350
- o(s, !t.noRelative, t.gapMode, t.noImportant ? "" : "!important")
1636
+ l(s, !t.noRelative, t.gapMode, t.noImportant ? "" : "!important")
1351
1637
  );
1352
- }), gt(() => {
1353
- const s = l() - 1;
1354
- s <= 0 ? document.body.removeAttribute(he) : document.body.setAttribute(he, s.toString()), e.remove();
1638
+ }), Tt(() => {
1639
+ const s = o() - 1;
1640
+ s <= 0 ? document.body.removeAttribute(ve) : document.body.setAttribute(ve, s.toString()), e.remove();
1355
1641
  }), (s, a) => p(s.$slots, "default");
1356
1642
  }
1357
- }), Yn = C(Xn), qe = 8;
1358
- function Zn(n, t, e, l) {
1359
- const o = (l == null ? void 0 : l.offset) ?? 0, s = (l == null ? void 0 : l.crossOffset) ?? 0, a = (l == null ? void 0 : l.placement) ?? "bottom", d = n.getBoundingClientRect(), i = t.getBoundingClientRect(), c = e == null ? void 0 : e.getBoundingClientRect(), v = Jn(d, i, a, o), k = ol(d, i, v), H = tl(k, v, o), K = nl(H, v, s), D = el(K, i, v);
1360
- let g;
1361
- if (l != null && l.arrow) {
1643
+ }), qo = L(wo), tt = "q-theme";
1644
+ function xo() {
1645
+ let n = document.getElementById(
1646
+ tt
1647
+ );
1648
+ return n || (n = document.createElement("style"), n.id = tt, document.head.appendChild(n)), n;
1649
+ }
1650
+ function Co(n) {
1651
+ let t = "";
1652
+ for (const o of n) {
1653
+ t += `.q-theme--${o.name} {
1654
+ `;
1655
+ const l = o.scheme;
1656
+ let s;
1657
+ for (s in l) {
1658
+ const a = l[s];
1659
+ if (a) {
1660
+ t += ` ${nt(s)}: ${a};
1661
+ `;
1662
+ const r = ht(a);
1663
+ t += ` ${nt(s)}-rgb: ${r.r} ${r.g} ${r.b};
1664
+ `;
1665
+ }
1666
+ }
1667
+ t += `}
1668
+ `;
1669
+ }
1670
+ const e = xo();
1671
+ e.textContent = t;
1672
+ }
1673
+ function nt(n) {
1674
+ return n ? `--q-theme-${ct(n)}` : "";
1675
+ }
1676
+ function _t(n, t) {
1677
+ const e = g(() => {
1678
+ const l = t.find((s) => s.name === n.value);
1679
+ if (!l)
1680
+ throw new Error(`Theme "${n}" not found`);
1681
+ return l;
1682
+ });
1683
+ return {
1684
+ name: n,
1685
+ current: e,
1686
+ themes: t
1687
+ };
1688
+ }
1689
+ const Ke = Symbol.for("q-theme");
1690
+ function $t() {
1691
+ const n = Me(Ke);
1692
+ if (!n)
1693
+ throw new Error("[Quidgest UI] Could not find theme instance");
1694
+ return n;
1695
+ }
1696
+ function Io(n) {
1697
+ const t = $t(), e = t.themes, o = _t(n, e);
1698
+ return Fe(Ke, o), o;
1699
+ }
1700
+ const Lo = /* @__PURE__ */ I({
1701
+ __name: "QThemeProvider",
1702
+ props: {
1703
+ theme: {}
1704
+ },
1705
+ setup(n) {
1706
+ const t = n, e = qe(t, "theme");
1707
+ return Io(e), (o, l) => (d(), h("div", {
1708
+ class: T(["q-theme-provider", `q-theme--${t.theme}`])
1709
+ }, [
1710
+ p(o.$slots, "default")
1711
+ ], 2));
1712
+ }
1713
+ }), kt = L(Lo), we = 8;
1714
+ function So(n, t, e, o) {
1715
+ const l = (o == null ? void 0 : o.offset) ?? 0, s = (o == null ? void 0 : o.crossOffset) ?? 0, a = (o == null ? void 0 : o.placement) ?? "bottom", r = n.getBoundingClientRect(), i = t.getBoundingClientRect(), c = e == null ? void 0 : e.getBoundingClientRect(), b = Bo(r, i, a, l), m = Do(r, i, b), A = To(m, b, l), P = Ao(A, b, s), N = Vo(P, i, b);
1716
+ let $;
1717
+ if (o != null && o.arrow) {
1362
1718
  if (!c)
1363
1719
  throw new Error("[Quidgest UI] The arrow element must exist to compute its position");
1364
- g = ll(D, d, i, c, v);
1720
+ $ = Eo(N, r, i, c, b);
1365
1721
  }
1366
- return { overlayCoords: D, arrowCoords: g, placement: v };
1722
+ return { overlayCoords: N, arrowCoords: $, placement: b };
1367
1723
  }
1368
- function Jn(n, t, e, l) {
1369
- const o = Xe(n, t, e, l);
1370
- if (Ye(o)) {
1371
- const s = be(e), d = {
1724
+ function Bo(n, t, e, o) {
1725
+ const l = ot(n, t, e, o);
1726
+ if (lt(l)) {
1727
+ const s = be(e), r = {
1372
1728
  top: "bottom",
1373
1729
  bottom: "top",
1374
1730
  left: "right",
1375
1731
  right: "left"
1376
- }[s], i = Xe(
1732
+ }[s], i = ot(
1377
1733
  n,
1378
1734
  t,
1379
- d,
1380
- l
1735
+ r,
1736
+ o
1381
1737
  );
1382
- if (Ye(i))
1738
+ if (lt(i))
1383
1739
  return e;
1384
- const c = il(e);
1385
- return c ? `${d}-${c}` : d;
1740
+ const c = Fo(e);
1741
+ return c ? `${r}-${c}` : r;
1386
1742
  }
1387
1743
  return e;
1388
1744
  }
1389
- function el(n, t, e) {
1390
- const l = xe(e), o = (a, d, i) => Math.min(Math.max(a, d), i), s = { ...n };
1391
- return l === "x" ? s.x = o(n.x, qe, window.innerWidth - t.width - qe) : s.y = o(n.y, qe, window.innerHeight - t.height - qe), s;
1745
+ function Vo(n, t, e) {
1746
+ const o = Ce(e), l = (a, r, i) => Math.min(Math.max(a, r), i), s = { ...n };
1747
+ return o === "x" ? s.x = l(n.x, we, window.innerWidth - t.width - we) : s.y = l(n.y, we, window.innerHeight - t.height - we), s;
1392
1748
  }
1393
- function tl(n, t, e) {
1394
- const l = be(t);
1749
+ function To(n, t, e) {
1750
+ const o = be(t);
1395
1751
  return {
1396
- x: n.x + (l === "left" ? -e : l === "right" ? e : 0),
1397
- y: n.y + (l === "top" ? -e : l === "bottom" ? e : 0)
1752
+ x: n.x + (o === "left" ? -e : o === "right" ? e : 0),
1753
+ y: n.y + (o === "top" ? -e : o === "bottom" ? e : 0)
1398
1754
  };
1399
1755
  }
1400
- function nl(n, t, e) {
1401
- const l = be(t);
1756
+ function Ao(n, t, e) {
1757
+ const o = be(t);
1402
1758
  return {
1403
- x: n.x + (l === "top" || l === "bottom" ? e : 0),
1404
- y: n.y + (l === "right" || l === "left" ? e : 0)
1759
+ x: n.x + (o === "top" || o === "bottom" ? e : 0),
1760
+ y: n.y + (o === "right" || o === "left" ? e : 0)
1405
1761
  };
1406
1762
  }
1407
- function ll(n, t, e, l, o) {
1408
- if (xe(o) === "y") {
1409
- const a = t.top + t.height / 2, d = n.y + e.height / 2, i = d - a, c = e.height / 2 - i - l.height / 2 + 2;
1410
- if (c > 0 && c < e.height - l.height)
1763
+ function Eo(n, t, e, o, l) {
1764
+ if (Ce(l) === "y") {
1765
+ const a = t.top + t.height / 2, r = n.y + e.height / 2, i = r - a, c = e.height / 2 - i - o.height / 2 + 2;
1766
+ if (c > 0 && c < e.height - o.height)
1411
1767
  return {
1412
1768
  y: c
1413
1769
  };
1414
1770
  } else {
1415
- const a = t.left + t.width / 2, d = n.x + e.width / 2, i = d - a, c = e.width / 2 - i - l.width / 2 + 2;
1416
- if (c > 0 && c < e.width - l.width)
1771
+ const a = t.left + t.width / 2, r = n.x + e.width / 2, i = r - a, c = e.width / 2 - i - o.width / 2 + 2;
1772
+ if (c > 0 && c < e.width - o.width)
1417
1773
  return {
1418
1774
  x: c
1419
1775
  };
1420
1776
  }
1421
1777
  }
1422
- function ol(n, t, e) {
1423
- const [l, o] = e.split("-"), s = n.x + n.width / 2 - t.width / 2, a = n.y + n.height / 2 - t.height / 2;
1424
- let d;
1425
- switch (l) {
1778
+ function Do(n, t, e) {
1779
+ const [o, l] = e.split("-"), s = n.x + n.width / 2 - t.width / 2, a = n.y + n.height / 2 - t.height / 2;
1780
+ let r;
1781
+ switch (o) {
1426
1782
  case "top":
1427
- d = { x: s, y: n.y - t.height };
1783
+ r = { x: s, y: n.y - t.height };
1428
1784
  break;
1429
1785
  case "bottom":
1430
- d = { x: s, y: n.y + n.height };
1786
+ r = { x: s, y: n.y + n.height };
1431
1787
  break;
1432
1788
  case "left":
1433
- d = { x: n.x - t.width, y: a };
1789
+ r = { x: n.x - t.width, y: a };
1434
1790
  break;
1435
1791
  case "right":
1436
- d = { x: n.x + n.width, y: a };
1792
+ r = { x: n.x + n.width, y: a };
1437
1793
  break;
1438
1794
  default:
1439
1795
  throw new Error(`[Quidgest UI] Invalid placement value: ${e}`);
1440
1796
  }
1441
- if (!o)
1442
- return d;
1443
- const c = xe(e) === "y" ? "height" : "width", v = xe(e), k = n[c] / 2 - t[c] / 2;
1444
- switch (o) {
1797
+ if (!l)
1798
+ return r;
1799
+ const c = Ce(e) === "y" ? "height" : "width", b = Ce(e), m = n[c] / 2 - t[c] / 2;
1800
+ switch (l) {
1445
1801
  case "start":
1446
- d[v] -= k;
1802
+ r[b] -= m;
1447
1803
  break;
1448
1804
  case "end":
1449
- d[v] += k;
1805
+ r[b] += m;
1450
1806
  break;
1451
1807
  default:
1452
- throw new Error(`[Quidgest UI] Invalid alignment value: ${o}`);
1808
+ throw new Error(`[Quidgest UI] Invalid alignment value: ${l}`);
1453
1809
  }
1454
- return d;
1810
+ return r;
1455
1811
  }
1456
- function Xe(n, t, e, l) {
1457
- const o = be(e);
1812
+ function ot(n, t, e, o) {
1813
+ const l = be(e);
1458
1814
  let s = 0;
1459
- switch (o) {
1815
+ switch (l) {
1460
1816
  case "top":
1461
- s = n.top - (t.height + l);
1817
+ s = n.top - (t.height + o);
1462
1818
  break;
1463
1819
  case "bottom":
1464
- s = window.innerHeight - n.bottom - (t.height + l);
1820
+ s = window.innerHeight - n.bottom - (t.height + o);
1465
1821
  break;
1466
1822
  case "left":
1467
- s = n.left - (t.width + l);
1823
+ s = n.left - (t.width + o);
1468
1824
  break;
1469
1825
  case "right":
1470
- s = window.innerWidth - n.right - (t.width + l);
1826
+ s = window.innerWidth - n.right - (t.width + o);
1471
1827
  break;
1472
1828
  default:
1473
- throw new Error(`[Quidgest UI] Invalid side value: ${o}`);
1829
+ throw new Error(`[Quidgest UI] Invalid side value: ${l}`);
1474
1830
  }
1475
1831
  return s;
1476
1832
  }
1477
- function sl(n) {
1833
+ function Qo(n) {
1478
1834
  return n === "x" ? "y" : "x";
1479
1835
  }
1480
- function al(n) {
1836
+ function zo(n) {
1481
1837
  const t = be(n);
1482
1838
  return ["left", "right"].includes(t) ? "x" : "y";
1483
1839
  }
1484
- function xe(n) {
1485
- return sl(al(n));
1840
+ function Ce(n) {
1841
+ return Qo(zo(n));
1486
1842
  }
1487
1843
  function be(n) {
1488
1844
  const [t] = n.split("-");
1489
1845
  return t;
1490
1846
  }
1491
- function il(n) {
1847
+ function Fo(n) {
1492
1848
  const [, t] = n.split("-");
1493
1849
  return t;
1494
1850
  }
1495
- function Ye(n) {
1851
+ function lt(n) {
1496
1852
  return n < 0;
1497
1853
  }
1498
- function rl(n) {
1854
+ function Mo(n) {
1499
1855
  return typeof n == "string" ? document.querySelector(n) : n;
1500
1856
  }
1501
- const dl = ["role"], ul = /* @__PURE__ */ S({
1857
+ const Oo = ["role"], Uo = /* @__PURE__ */ I({
1502
1858
  inheritAttrs: !1,
1503
1859
  __name: "QOverlay",
1504
1860
  props: /* @__PURE__ */ G({
1505
- anchor: { default: void 0 },
1861
+ anchor: {},
1506
1862
  appearance: { default: "regular" },
1507
1863
  arrow: { type: Boolean },
1508
1864
  attach: { default: "body" },
1509
1865
  inline: { type: Boolean },
1510
1866
  backdropBlur: { type: Boolean },
1511
- backdropClass: { default: void 0 },
1867
+ backdropClass: {},
1512
1868
  delay: { default: 500 },
1513
1869
  nonModal: { type: Boolean },
1514
1870
  scrollLock: { type: Boolean },
@@ -1520,402 +1876,263 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
1520
1876
  transition: { default: "fade" },
1521
1877
  trigger: { default: "click" },
1522
1878
  width: { default: "auto" },
1523
- class: { default: void 0 }
1879
+ class: {}
1524
1880
  }, {
1525
1881
  modelValue: { type: Boolean },
1526
1882
  modelModifiers: {}
1527
1883
  }),
1528
1884
  emits: /* @__PURE__ */ G(["enter", "leave"], ["update:modelValue"]),
1529
1885
  setup(n, { emit: t }) {
1530
- const e = n, l = t, o = j(n, "modelValue"), s = y(() => [
1886
+ const e = n, o = t, l = K(n, "modelValue"), s = $t(), a = g(() => [
1531
1887
  "q-overlay",
1532
- `q-overlay--${be(c.placement)}`,
1888
+ `q-overlay--${be(b.placement)}`,
1533
1889
  {
1534
- "q-overlay--independent": a.value,
1890
+ "q-overlay--independent": r.value,
1535
1891
  "q-overlay--inverted": e.appearance === "inverted"
1536
1892
  },
1537
1893
  e.class
1538
- ]), a = y(() => e.anchor === void 0), d = y(() => (o.value || c.animating) && !e.nonModal), i = y(() => (o.value || c.animating) && e.scrollLock), c = Ke({
1894
+ ]), r = g(() => e.anchor === void 0), i = g(() => (l.value || b.animating) && !e.nonModal), c = g(() => (l.value || b.animating) && e.scrollLock), b = Ze({
1539
1895
  animating: !1,
1540
1896
  top: 0,
1541
1897
  left: 0,
1542
1898
  width: 0,
1543
1899
  placement: e.placement
1544
- }), v = Ke({
1900
+ }), m = Ze({
1545
1901
  top: void 0,
1546
1902
  left: void 0,
1547
1903
  hidden: !0
1548
- }), k = y(() => c.top !== 0 && c.left !== 0);
1549
- ne(o, () => c.animating = !0);
1550
- const H = y(() => {
1551
- if (a.value) return;
1552
- const r = b(), L = e.width === "anchor", T = L ? r == null ? void 0 : r.getBoundingClientRect().width : void 0;
1904
+ }), A = g(() => b.top !== 0 && b.left !== 0);
1905
+ Y(l, () => b.animating = !0);
1906
+ const P = g(() => {
1907
+ if (r.value) return;
1908
+ const v = u(), F = e.width === "anchor", M = F ? v == null ? void 0 : v.getBoundingClientRect().width : void 0;
1553
1909
  return {
1554
- top: `${c.top}px`,
1555
- left: `${c.left}px`,
1556
- width: T !== void 0 ? `${T}px` : void 0
1910
+ top: `${b.top}px`,
1911
+ left: `${b.left}px`,
1912
+ width: M !== void 0 ? `${M}px` : void 0
1557
1913
  };
1558
- }), K = y(() => {
1914
+ }), N = g(() => {
1559
1915
  if (e.arrow)
1560
1916
  return {
1561
- top: v.top !== void 0 ? `${v.top}px` : void 0,
1562
- left: v.left !== void 0 ? `${v.left}px` : void 0,
1563
- opacity: v.hidden ? 0 : 1
1917
+ top: m.top !== void 0 ? `${m.top}px` : void 0,
1918
+ left: m.left !== void 0 ? `${m.left}px` : void 0,
1919
+ opacity: m.hidden ? 0 : 1
1564
1920
  };
1565
- }), D = V(null), g = V(null);
1566
- function B() {
1567
- const r = b();
1568
- if (!r || !g.value)
1921
+ }), $ = B(null), V = B(null);
1922
+ function D() {
1923
+ const v = u();
1924
+ if (!v || !V.value)
1569
1925
  return;
1570
- const L = {
1926
+ const F = {
1571
1927
  placement: e.placement,
1572
1928
  width: e.width,
1573
1929
  offset: e.offset,
1574
1930
  crossOffset: e.crossOffset,
1575
1931
  arrow: e.arrow
1576
- }, T = Zn(
1577
- r,
1578
- g.value,
1579
- (D == null ? void 0 : D.value) ?? void 0,
1580
- L
1932
+ }, M = So(
1933
+ v,
1934
+ V.value,
1935
+ ($ == null ? void 0 : $.value) ?? void 0,
1936
+ F
1581
1937
  );
1582
- c.left = T.overlayCoords.x, c.top = T.overlayCoords.y, c.placement = T.placement, v.hidden = T.arrowCoords === void 0, T.arrowCoords && (v.top = T.arrowCoords.y, v.left = T.arrowCoords.x);
1938
+ b.left = M.overlayCoords.x, b.top = M.overlayCoords.y, b.placement = M.placement, m.hidden = M.arrowCoords === void 0, M.arrowCoords && (m.top = M.arrowCoords.y, m.left = M.arrowCoords.x);
1583
1939
  }
1584
- ne(
1940
+ Y(
1585
1941
  () => e.placement,
1586
- () => oe(B)
1942
+ () => le(D)
1587
1943
  );
1588
- let M;
1589
- function F() {
1590
- te(0);
1944
+ let Q;
1945
+ function j() {
1946
+ S(0);
1591
1947
  }
1592
- function ee() {
1593
- te(e.delay);
1948
+ function te() {
1949
+ S(e.delay);
1594
1950
  }
1595
- function te(r) {
1596
- M && E(), M = window.setTimeout(() => {
1597
- o.value = !0;
1598
- }, r);
1951
+ function S(v) {
1952
+ Q && R(), Q = window.setTimeout(() => {
1953
+ l.value = !0;
1954
+ }, v);
1599
1955
  }
1600
- function x() {
1601
- if (M && E(), o.value = !1, e.anchor && e.trigger === "click") {
1602
- const r = b();
1603
- r == null || r.focus();
1956
+ function E() {
1957
+ if (Q && R(), l.value = !1, e.anchor && e.trigger === "click") {
1958
+ const v = u();
1959
+ v == null || v.focus();
1604
1960
  }
1605
1961
  }
1606
- function E() {
1607
- clearTimeout(M), M = void 0;
1962
+ function R() {
1963
+ clearTimeout(Q), Q = void 0;
1608
1964
  }
1609
- ne(k, () => oe(P));
1610
- function P() {
1611
- l("enter");
1965
+ Y(A, () => le(ae));
1966
+ function ae() {
1967
+ o("enter");
1612
1968
  }
1613
- let le;
1614
- function ce() {
1615
- window.clearTimeout(le), le = window.setTimeout(() => c.animating = !1, 200), l("leave");
1969
+ let ce;
1970
+ function k() {
1971
+ window.clearTimeout(ce), ce = window.setTimeout(() => b.animating = !1, 200), o("leave");
1616
1972
  }
1617
- function b() {
1618
- return e.anchor ? rl(e.anchor) : null;
1973
+ function u() {
1974
+ return e.anchor ? Mo(e.anchor) : null;
1619
1975
  }
1620
- let f;
1621
- function q() {
1622
- const r = b();
1623
- if (r)
1624
- switch (f = new MutationObserver(B), f.observe(r, {
1976
+ let q;
1977
+ function O() {
1978
+ const v = u();
1979
+ if (v)
1980
+ switch (q = new MutationObserver(D), q.observe(v, {
1625
1981
  attributes: !1,
1626
1982
  childList: !0,
1627
1983
  characterData: !0,
1628
1984
  subtree: !0
1629
1985
  }), e.trigger) {
1630
1986
  case "click":
1631
- r.addEventListener("click", F);
1987
+ v.addEventListener("click", j);
1632
1988
  break;
1633
1989
  case "hover":
1634
- r.addEventListener("mouseenter", ee), r.addEventListener("mouseleave", x), r.addEventListener("focusin", F), r.addEventListener("focusout", x);
1990
+ v.addEventListener("mouseenter", te), v.addEventListener("mouseleave", E), v.addEventListener("focusin", j), v.addEventListener("focusout", E);
1635
1991
  break;
1636
1992
  }
1637
1993
  }
1638
- function z() {
1639
- const r = b();
1640
- if (r)
1641
- switch (f == null || f.disconnect(), e.trigger) {
1994
+ function H() {
1995
+ const v = u();
1996
+ if (v)
1997
+ switch (q == null || q.disconnect(), e.trigger) {
1642
1998
  case "click":
1643
- r.removeEventListener("click", F);
1999
+ v.removeEventListener("click", j);
1644
2000
  break;
1645
2001
  case "hover":
1646
- r.removeEventListener("mouseenter", ee), r.removeEventListener("mouseleave", x), r.removeEventListener("focusin", F), r.removeEventListener("focusout", x);
2002
+ v.removeEventListener("mouseenter", te), v.removeEventListener("mouseleave", E), v.removeEventListener("focusin", j), v.removeEventListener("focusout", E);
1647
2003
  break;
1648
2004
  }
1649
2005
  }
1650
- function U() {
1651
- window.addEventListener("resize", B), e.scrollLock || window.addEventListener("scroll", B);
2006
+ function J() {
2007
+ window.addEventListener("resize", D), e.scrollLock || window.addEventListener("scroll", D);
1652
2008
  }
1653
- function Y() {
1654
- window.removeEventListener("resize", B), e.scrollLock || window.removeEventListener("scroll", B);
2009
+ function ee() {
2010
+ window.removeEventListener("resize", D), e.scrollLock || window.removeEventListener("scroll", D);
1655
2011
  }
1656
- let W;
1657
- function ie() {
1658
- b() ? (B(), W = window.setTimeout(ie, 100)) : x();
2012
+ let oe;
2013
+ function ke() {
2014
+ u() ? (D(), oe = window.setTimeout(ke, 100)) : E();
1659
2015
  }
1660
- function Be() {
1661
- a.value || (U(), e.spy ? ie() : B()), (a.value || e.trigger === "click") && oe(() => {
1662
- var r;
1663
- return (r = g.value) == null ? void 0 : r.focus();
2016
+ function Ve() {
2017
+ r.value || (J(), e.spy ? ke() : D()), (r.value || e.trigger === "click") && le(() => {
2018
+ var v;
2019
+ return (v = V.value) == null ? void 0 : v.focus();
1664
2020
  });
1665
2021
  }
1666
- function we() {
1667
- a.value || Y(), e.spy && (clearTimeout(W), W = void 0), c.top = 0, c.left = 0;
1668
- }
1669
2022
  function ge() {
1670
- e.persistent || x();
2023
+ r.value || ee(), e.spy && (clearTimeout(oe), oe = void 0), b.top = 0, b.left = 0;
2024
+ }
2025
+ function f() {
2026
+ e.persistent || E();
1671
2027
  }
1672
2028
  return Oe(() => {
1673
- oe(q);
1674
- }), _t(() => {
1675
- z(), we();
1676
- }), ne(
1677
- o,
1678
- (r) => {
1679
- oe(() => r ? Be() : we());
2029
+ le(O);
2030
+ }), At(() => {
2031
+ H(), ge();
2032
+ }), Y(
2033
+ l,
2034
+ (v) => {
2035
+ le(() => v ? Ve() : ge());
1680
2036
  },
1681
2037
  { immediate: !0 }
1682
- ), (r, L) => (u(), m(R, null, [
1683
- (u(), I($t, {
1684
- disabled: !o.value && !c.animating || e.inline,
2038
+ ), (v, F) => (d(), h(W, null, [
2039
+ (d(), C(Et, {
2040
+ disabled: !l.value && !b.animating || e.inline,
1685
2041
  to: e.attach
1686
2042
  }, [
1687
- d.value ? (u(), m("div", {
1688
- key: 0,
1689
- class: A([
1690
- e.backdropClass,
1691
- "q-overlay__underlay",
1692
- { "q-overlay__underlay--blur": e.backdropBlur }
1693
- ])
1694
- }, null, 2)) : $("", !0),
1695
- O(kt, {
1696
- name: e.transition,
1697
- appear: "",
1698
- onLeave: ce
2043
+ U(y(kt), {
2044
+ theme: y(s).current.value.name
1699
2045
  }, {
1700
2046
  default: _(() => [
1701
- o.value ? (u(), m("div", {
2047
+ i.value ? (d(), h("div", {
1702
2048
  key: 0,
1703
- class: A(s.value),
1704
- style: fe(H.value)
1705
- }, [
1706
- w("div", X({
1707
- ref_key: "overlayRef",
1708
- ref: g,
1709
- class: "q-overlay__content",
1710
- tabindex: "-1",
1711
- role: d.value ? "dialog" : void 0
1712
- }, r.$attrs, {
1713
- onKeydown: Ee(ge, ["escape"]),
1714
- onBlur: ge
1715
- }), [
1716
- e.arrow ? (u(), m("div", {
2049
+ class: T([
2050
+ e.backdropClass,
2051
+ "q-overlay__underlay",
2052
+ { "q-overlay__underlay--blur": e.backdropBlur }
2053
+ ])
2054
+ }, null, 2)) : w("", !0),
2055
+ U(Dt, {
2056
+ name: e.transition,
2057
+ appear: "",
2058
+ onLeave: k
2059
+ }, {
2060
+ default: _(() => [
2061
+ l.value ? (d(), h("div", {
1717
2062
  key: 0,
1718
- ref_key: "arrowRef",
1719
- ref: D,
1720
- role: "presentation",
1721
- class: "q-overlay__arrow",
1722
- style: fe(K.value)
1723
- }, null, 4)) : $("", !0),
1724
- p(r.$slots, "default")
1725
- ], 16, dl)
1726
- ], 6)) : $("", !0)
2063
+ class: T(a.value),
2064
+ style: ue(P.value)
2065
+ }, [
2066
+ x("div", Z({
2067
+ ref_key: "overlayRef",
2068
+ ref: V,
2069
+ class: "q-overlay__content",
2070
+ tabindex: "-1",
2071
+ role: i.value ? "dialog" : void 0
2072
+ }, v.$attrs, {
2073
+ onKeydown: De(f, ["escape"]),
2074
+ onBlur: f
2075
+ }), [
2076
+ e.arrow ? (d(), h("div", {
2077
+ key: 0,
2078
+ ref_key: "arrowRef",
2079
+ ref: $,
2080
+ role: "presentation",
2081
+ class: "q-overlay__arrow",
2082
+ style: ue(N.value)
2083
+ }, null, 4)) : w("", !0),
2084
+ p(v.$slots, "default")
2085
+ ], 16, Oo)
2086
+ ], 6)) : w("", !0)
2087
+ ]),
2088
+ _: 3
2089
+ }, 8, ["name"])
1727
2090
  ]),
1728
2091
  _: 3
1729
- }, 8, ["name"])
2092
+ }, 8, ["theme"])
1730
2093
  ], 8, ["disabled", "to"])),
1731
- i.value ? (u(), I(h(Yn), { key: 0 })) : $("", !0)
2094
+ c.value ? (d(), C(y(qo), { key: 0 })) : w("", !0)
1732
2095
  ], 64));
1733
2096
  }
1734
- }), pe = C(ul), cl = ["id"], fl = {
1735
- key: 0,
1736
- class: "q-field__label"
1737
- }, pl = ["for"], ml = {
1738
- key: 0,
1739
- class: "q-field__prepend"
1740
- }, hl = {
1741
- key: 1,
1742
- class: "q-field__append"
1743
- }, vl = {
1744
- key: 1,
1745
- class: "q-field__extras"
1746
- }, yl = /* @__PURE__ */ S({
1747
- inheritAttrs: !1,
1748
- __name: "QField",
2097
+ }), me = L(Uo), Po = /* @__PURE__ */ I({
2098
+ __name: "QClearButton",
1749
2099
  props: {
1750
- id: { default: void 0 },
1751
- label: { default: "" },
1752
- for: { default: void 0 },
1753
- size: { default: "medium" },
1754
- readonly: { type: Boolean },
1755
- disabled: { type: Boolean },
1756
- required: { type: Boolean },
1757
- class: { default: void 0 }
2100
+ class: {},
2101
+ icons: { default: () => He },
2102
+ texts: { default: () => Ge }
1758
2103
  },
1759
- setup(n, { expose: t }) {
1760
- const e = n, l = ue(e.id), o = V(null), s = y(() => e.required && !e.readonly && !e.disabled);
1761
- return t({
1762
- fieldRef: o
1763
- }), (a, d) => (u(), m("div", {
1764
- id: h(l),
1765
- class: A([
1766
- "q-field",
1767
- `q-field--${e.size}`,
1768
- {
1769
- "q-field--readonly": e.readonly,
1770
- "q-field--disabled": e.disabled,
1771
- "q-field--required": s.value
1772
- },
1773
- e.class
1774
- ])
1775
- }, [
1776
- e.label ? (u(), m("div", fl, [
1777
- p(a.$slots, "label.prepend"),
1778
- w("label", {
1779
- for: e.for
1780
- }, Q(e.label), 9, pl),
1781
- p(a.$slots, "label.append")
1782
- ])) : $("", !0),
1783
- p(a.$slots, "control", {}, () => [
1784
- w("div", X({
1785
- ref_key: "fieldRef",
1786
- ref: o,
1787
- class: "q-field__control"
1788
- }, a.$attrs), [
1789
- a.$slots.prepend ? (u(), m("div", ml, [
1790
- p(a.$slots, "prepend")
1791
- ])) : $("", !0),
1792
- p(a.$slots, "default"),
1793
- a.$slots.append ? (u(), m("div", hl, [
1794
- p(a.$slots, "append")
1795
- ])) : $("", !0)
1796
- ], 16)
1797
- ]),
1798
- a.$slots.extras ? (u(), m("div", vl, [
1799
- p(a.$slots, "extras")
1800
- ])) : $("", !0)
1801
- ], 10, cl));
1802
- }
1803
- }), Se = C(yl), bl = ["id", "type", "role", "required", "placeholder", "readonly", "disabled", "maxlength"], gl = /* @__PURE__ */ S({
1804
- inheritAttrs: !1,
1805
- __name: "QTextField",
1806
- props: /* @__PURE__ */ G({
1807
- id: { default: void 0 },
1808
- placeholder: { default: "" },
1809
- label: { default: "" },
1810
- size: { default: void 0 },
1811
- maxLength: { default: void 0 },
1812
- readonly: { type: Boolean },
1813
- disabled: { type: Boolean },
1814
- required: { type: Boolean },
1815
- role: { default: void 0 },
1816
- type: { default: "text" },
1817
- class: { default: void 0 }
1818
- }, {
1819
- modelValue: {},
1820
- modelModifiers: {}
1821
- }),
1822
- emits: ["update:modelValue"],
1823
- setup(n, { expose: t }) {
1824
- const e = n, l = j(n, "modelValue"), o = ue(e.id), s = V(null), a = V(null), d = y(
1825
- () => e.readonly || e.disabled ? "" : e.placeholder
1826
- );
1827
- return t({
1828
- fieldRef: y(() => {
1829
- var i;
1830
- return (i = s.value) == null ? void 0 : i.fieldRef;
1831
- }),
1832
- inputRef: a
1833
- }), (i, c) => (u(), I(h(Se), {
1834
- ref_key: "fieldRef",
1835
- ref: s,
1836
- class: A(["q-text-field", e.class]),
1837
- for: h(o),
1838
- label: e.label,
1839
- size: e.size,
1840
- readonly: e.readonly,
1841
- disabled: e.disabled,
1842
- required: e.required
1843
- }, ye({
1844
- "label.prepend": _(() => [
1845
- p(i.$slots, "label.prepend")
1846
- ]),
1847
- "label.append": _(() => [
1848
- p(i.$slots, "label.append")
1849
- ]),
2104
+ emits: ["click"],
2105
+ setup(n, { emit: t }) {
2106
+ const e = n, o = t, l = (s) => o("click", s);
2107
+ return (s, a) => (d(), C(y(re), {
2108
+ class: "q-clear-btn",
2109
+ "aria-label": e.texts.clearValue,
2110
+ "b-style": "plain",
2111
+ borderless: "",
2112
+ tabindex: "-1",
2113
+ onClick: l
2114
+ }, {
1850
2115
  default: _(() => [
1851
- wt(w("input", X({
1852
- id: h(o),
1853
- ref_key: "inputRef",
1854
- ref: a,
1855
- "onUpdate:modelValue": c[0] || (c[0] = (v) => l.value = v),
1856
- class: "q-text-field__input",
1857
- type: e.type,
1858
- role: e.role,
1859
- required: e.required,
1860
- placeholder: d.value,
1861
- readonly: e.readonly,
1862
- disabled: e.disabled,
1863
- maxlength: e.maxLength
1864
- }, i.$attrs), null, 16, bl), [
1865
- [qt, l.value]
1866
- ])
2116
+ U(y(X), se(fe(e.icons.clear)), null, 16)
1867
2117
  ]),
1868
- _: 2
1869
- }, [
1870
- i.$slots.prepend ? {
1871
- name: "prepend",
1872
- fn: _(() => [
1873
- p(i.$slots, "prepend")
1874
- ]),
1875
- key: "0"
1876
- } : void 0,
1877
- i.$slots.append ? {
1878
- name: "append",
1879
- fn: _(() => [
1880
- p(i.$slots, "append")
1881
- ]),
1882
- key: "1"
1883
- } : void 0,
1884
- i.$slots.extras ? {
1885
- name: "extras",
1886
- fn: _(() => [
1887
- p(i.$slots, "extras")
1888
- ]),
1889
- key: "2"
1890
- } : void 0
1891
- ]), 1032, ["class", "for", "label", "size", "readonly", "disabled", "required"]));
2118
+ _: 1
2119
+ }, 8, ["aria-label"]));
1892
2120
  }
1893
- }), ft = C(gl), _l = {
1894
- noData: "No data available",
1895
- clearValue: "Clear value",
1896
- showOptions: "Show options"
1897
- }, $l = {
1898
- chevron: {
1899
- icon: "chevron-down"
1900
- },
1901
- clear: {
1902
- icon: "close"
1903
- }
1904
- }, kl = ["data-key"], wl = {
2121
+ }), wt = L(Po), No = ["data-key"], Ro = {
1905
2122
  key: 0,
1906
2123
  class: "q-select__loader"
1907
- }, ql = {
2124
+ }, Go = {
1908
2125
  key: 2,
1909
2126
  class: "q-select__loader"
1910
- }, xl = /* @__PURE__ */ S({
2127
+ }, Ho = /* @__PURE__ */ I({
1911
2128
  inheritAttrs: !1,
1912
2129
  __name: "QCombobox",
1913
2130
  props: /* @__PURE__ */ G({
1914
- id: { default: void 0 },
1915
- placeholder: { default: "" },
2131
+ id: {},
2132
+ placeholder: {},
1916
2133
  selectionMode: { default: "automatic" },
1917
2134
  filterMode: { default: "builtin" },
1918
- label: { default: "" },
2135
+ label: {},
1919
2136
  clearable: { type: Boolean },
1920
2137
  readonly: { type: Boolean },
1921
2138
  disabled: { type: Boolean },
@@ -1925,11 +2142,11 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
1925
2142
  groups: { default: () => [] },
1926
2143
  itemValue: { default: "key" },
1927
2144
  itemLabel: { default: "label" },
1928
- emptyValue: { type: [String, Number, Boolean, Symbol], default: void 0 },
1929
- size: { default: void 0 },
1930
- class: { default: void 0 },
1931
- icons: { default: () => $l },
1932
- texts: { default: () => _l }
2145
+ emptyValue: { type: [String, Number, Boolean, Symbol] },
2146
+ size: {},
2147
+ class: {},
2148
+ icons: { default: () => to },
2149
+ texts: { default: () => eo }
1933
2150
  }, {
1934
2151
  modelValue: {
1935
2152
  type: [String, Number, Boolean, Symbol]
@@ -1942,288 +2159,282 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
1942
2159
  }),
1943
2160
  emits: /* @__PURE__ */ G(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
1944
2161
  setup(n, { expose: t, emit: e }) {
1945
- const l = n, o = e, s = j(n, "modelValue"), a = j(n, "open"), d = j(n, "search"), i = V(void 0), c = V(null), v = V(null), k = V(null), H = V(null);
1946
- Oe(x);
1947
- const K = y(() => l.clearable && !l.readonly && !l.disabled), D = y(() => {
1948
- var r;
1949
- return l.filterMode === "manual" || !ee.value ? l.items : (r = l.items) == null ? void 0 : r.filter(
1950
- (L) => L[l.itemLabel].toLowerCase().startsWith(d.value.toLowerCase())
2162
+ const o = n, l = e, s = K(n, "modelValue"), a = K(n, "open"), r = K(n, "search"), i = B(void 0), c = B(null), b = B(null), m = B(null), A = B(null);
2163
+ Oe(S);
2164
+ const P = g(() => o.clearable && !o.readonly && !o.disabled), N = g(() => {
2165
+ var f;
2166
+ return o.filterMode === "manual" || !j.value ? o.items : (f = o.items) == null ? void 0 : f.filter(
2167
+ (v) => v[o.itemLabel].toLowerCase().startsWith(r.value.toLowerCase())
1951
2168
  );
1952
- }), g = y(() => {
1953
- var r;
1954
- return (r = l.items) == null ? void 0 : r.find((L) => L[l.itemValue] === s.value);
1955
- }), B = y(() => g.value === void 0), M = y(() => {
1956
- const r = i.value;
1957
- if (r !== void 0 && D.value[r])
1958
- return D.value[r];
1959
- }), F = y(() => {
1960
- var L;
2169
+ }), $ = g(() => {
2170
+ var f;
2171
+ return (f = o.items) == null ? void 0 : f.find((v) => v[o.itemValue] === s.value);
2172
+ }), V = g(() => $.value === void 0), D = g(() => {
2173
+ const f = i.value;
2174
+ if (f !== void 0 && N.value[f])
2175
+ return N.value[f];
2176
+ }), Q = g(() => {
2177
+ var v;
1961
2178
  if (i.value === void 0)
1962
2179
  return;
1963
- const r = (L = v.value) == null ? void 0 : L.getItem(i.value);
1964
- return r == null ? void 0 : r.id;
1965
- }), ee = y(() => {
1966
- var r;
1967
- return d.value.length > 0 && d.value !== ((r = g.value) == null ? void 0 : r[l.itemLabel]);
2180
+ const f = (v = b.value) == null ? void 0 : v.getItem(i.value);
2181
+ return f == null ? void 0 : f.id;
2182
+ }), j = g(() => {
2183
+ var f;
2184
+ return r.value.length > 0 && r.value !== ((f = $.value) == null ? void 0 : f[o.itemLabel]);
1968
2185
  });
1969
- function te(r) {
1970
- s.value = r, P();
2186
+ function te(f) {
2187
+ s.value = f, R();
1971
2188
  }
1972
- function x() {
1973
- var L;
1974
- const r = ((L = g.value) == null ? void 0 : L[l.itemLabel]) || "";
1975
- d.value !== r && (d.value = r);
2189
+ function S() {
2190
+ var v;
2191
+ const f = ((v = $.value) == null ? void 0 : v[o.itemLabel]) || "";
2192
+ r.value !== f && (r.value = f);
1976
2193
  }
1977
2194
  function E() {
1978
- a.value || l.readonly || l.disabled || (o("before-show"), a.value = !0, W());
2195
+ a.value || o.readonly || o.disabled || (l("before-show"), a.value = !0, ee());
1979
2196
  }
1980
- function P() {
1981
- a.value && (o("before-hide"), a.value = !1, i.value = void 0);
2197
+ function R() {
2198
+ a.value && (l("before-hide"), a.value = !1, i.value = void 0);
1982
2199
  }
1983
- function le() {
1984
- a.value ? P() : b();
2200
+ function ae() {
2201
+ a.value ? R() : k();
1985
2202
  }
1986
2203
  function ce() {
1987
- K.value && (s.value = l.emptyValue, i.value = void 0, W());
2204
+ P.value && (s.value = o.emptyValue, i.value = void 0, ee());
1988
2205
  }
1989
- function b() {
1990
- if (E(), g.value !== void 0) {
1991
- const r = D.value.indexOf(g.value);
1992
- r !== -1 && oe(() => ge(r));
2206
+ function k() {
2207
+ if (E(), $.value !== void 0) {
2208
+ const f = N.value.indexOf($.value);
2209
+ f !== -1 && le(() => ge(f));
1993
2210
  }
1994
2211
  }
1995
- function f(r) {
1996
- var L, T;
1997
- if (!(!r.key || l.readonly || l.disabled))
1998
- if (["ArrowDown", "ArrowUp", "Home", "End"].includes(r.key) && (r.preventDefault(), r.stopPropagation()), r.key === "Escape")
1999
- x(), a.value && P();
2000
- else if (["ArrowDown", "ArrowUp"].includes(r.key))
2001
- a.value ? oe(() => {
2212
+ function u(f) {
2213
+ var v, F;
2214
+ if (!(!f.key || o.readonly || o.disabled))
2215
+ if (["ArrowDown", "ArrowUp", "Home", "End"].includes(f.key) && (f.preventDefault(), f.stopPropagation()), f.key === "Escape")
2216
+ S(), a.value && R();
2217
+ else if (["ArrowDown", "ArrowUp"].includes(f.key))
2218
+ a.value ? le(() => {
2002
2219
  if (i.value === void 0)
2003
2220
  q();
2004
2221
  else {
2005
- const Z = r.key === "ArrowDown" ? "next" : "prev";
2006
- U(i.value, Z);
2222
+ const M = f.key === "ArrowDown" ? "next" : "prev";
2223
+ H(i.value, M);
2007
2224
  }
2008
- }) : (E(), oe(() => {
2009
- r.key === "ArrowDown" ? q() : z();
2225
+ }) : (E(), le(() => {
2226
+ f.key === "ArrowDown" ? q() : O();
2010
2227
  }));
2011
- else if (r.key === "Enter") {
2012
- if (M.value === void 0) return;
2013
- te(M.value[l.itemValue]);
2014
- } else r.key === "Home" ? i.value = (L = v.value) == null ? void 0 : L.getFirstFocusableItemIndex() : r.key === "End" ? i.value = (T = v.value) == null ? void 0 : T.getLastFocusableItemIndex() : (/^[a-z]$/i.test(r.key) || r.key === "Backspace") && E();
2228
+ else if (f.key === "Enter") {
2229
+ if (D.value === void 0) return;
2230
+ te(D.value[o.itemValue]);
2231
+ } else f.key === "Home" ? i.value = (v = b.value) == null ? void 0 : v.getFirstFocusableItemIndex() : f.key === "End" ? i.value = (F = b.value) == null ? void 0 : F.getLastFocusableItemIndex() : (/^[a-z]$/i.test(f.key) || f.key === "Backspace") && E();
2015
2232
  }
2016
2233
  function q() {
2017
- var r, L;
2018
- if (B.value)
2019
- i.value = (L = v.value) == null ? void 0 : L.getFirstFocusableItemIndex();
2234
+ var f, v;
2235
+ if (V.value)
2236
+ i.value = (v = b.value) == null ? void 0 : v.getFirstFocusableItemIndex();
2020
2237
  else {
2021
- const T = D.value.findIndex(
2022
- (Z) => Z[l.itemValue] === s.value
2238
+ const F = N.value.findIndex(
2239
+ (M) => M[o.itemValue] === s.value
2023
2240
  );
2024
- T === -1 ? i.value = (r = v.value) == null ? void 0 : r.getFirstFocusableItemIndex() : i.value = T;
2241
+ F === -1 ? i.value = (f = b.value) == null ? void 0 : f.getFirstFocusableItemIndex() : i.value = F;
2025
2242
  }
2026
2243
  }
2027
- function z() {
2028
- var r;
2029
- i.value = (r = v.value) == null ? void 0 : r.getLastFocusableItemIndex();
2244
+ function O() {
2245
+ var f;
2246
+ i.value = (f = b.value) == null ? void 0 : f.getLastFocusableItemIndex();
2030
2247
  }
2031
- function U(r, L) {
2032
- var T;
2033
- i.value = (T = v.value) == null ? void 0 : T.getAdjacentItemIndex(r, L);
2248
+ function H(f, v) {
2249
+ var F;
2250
+ i.value = (F = b.value) == null ? void 0 : F.getAdjacentItemIndex(f, v);
2034
2251
  }
2035
- function Y(r) {
2036
- var me, Ne, Re, Ge;
2037
- const L = ((me = k == null ? void 0 : k.value) == null ? void 0 : me.$el) === r.relatedTarget, T = (Re = (Ne = c == null ? void 0 : c.value) == null ? void 0 : Ne.$el) == null ? void 0 : Re.contains(r.relatedTarget), Z = (Ge = H == null ? void 0 : H.value) == null ? void 0 : Ge.contains(r.relatedTarget);
2038
- if (L || Z || T) {
2039
- r.preventDefault(), r.stopPropagation();
2252
+ function J(f) {
2253
+ var he, We, je, Xe;
2254
+ const v = ((he = m == null ? void 0 : m.value) == null ? void 0 : he.$el) === f.relatedTarget, F = (je = (We = c == null ? void 0 : c.value) == null ? void 0 : We.$el) == null ? void 0 : je.contains(f.relatedTarget), M = (Xe = A == null ? void 0 : A.value) == null ? void 0 : Xe.contains(f.relatedTarget);
2255
+ if (v || M || F) {
2256
+ f.preventDefault(), f.stopPropagation();
2040
2257
  return;
2041
2258
  }
2042
- P(), K.value && !d.value && (s.value = l.emptyValue), x();
2043
- }
2044
- function W() {
2045
- var r, L;
2046
- (L = (r = c.value) == null ? void 0 : r.inputRef) == null || L.focus();
2259
+ R(), P.value && !r.value && (s.value = o.emptyValue), S();
2047
2260
  }
2048
- function ie() {
2049
- W();
2261
+ function ee() {
2262
+ var f, v;
2263
+ (v = (f = c.value) == null ? void 0 : f.inputRef) == null || v.focus();
2050
2264
  }
2051
- function Be() {
2052
- o("show");
2265
+ function oe() {
2266
+ ee();
2053
2267
  }
2054
- function we() {
2055
- o("hide");
2268
+ function ke() {
2269
+ l("show");
2056
2270
  }
2057
- function ge(r) {
2058
- var T;
2059
- const L = (T = v.value) == null ? void 0 : T.getItem(r);
2060
- v.value && (v.value.$el.scrollTop = L == null ? void 0 : L.offsetTop);
2271
+ function Ve() {
2272
+ l("hide");
2061
2273
  }
2062
- return ne(s, x), ne(
2063
- () => l.items,
2064
- (r, L) => {
2065
- if (!B.value) {
2066
- const T = L.find((Z) => Z[l.itemValue] === s.value);
2067
- d.value === (T == null ? void 0 : T[l.itemLabel]) && x();
2274
+ function ge(f) {
2275
+ var F;
2276
+ const v = (F = b.value) == null ? void 0 : F.getItem(f);
2277
+ b.value && (b.value.$el.scrollTop = v == null ? void 0 : v.offsetTop);
2278
+ }
2279
+ return Y(s, S), Y(
2280
+ () => o.items,
2281
+ (f, v) => {
2282
+ if (!V.value) {
2283
+ const F = v.find((M) => M[o.itemValue] === s.value);
2284
+ r.value === (F == null ? void 0 : F[o.itemLabel]) && S();
2068
2285
  }
2069
2286
  },
2070
2287
  { deep: !0 }
2071
- ), ne(i, (r) => {
2072
- r !== void 0 && ge(r);
2073
- }), ne(d, (r) => {
2074
- r && a.value && l.selectionMode === "automatic" && oe(q);
2075
- }), ne(
2076
- () => l.loading,
2077
- (r) => {
2078
- !r && a.value && oe(q);
2288
+ ), Y(i, (f) => {
2289
+ f !== void 0 && ge(f);
2290
+ }), Y(r, (f) => {
2291
+ f && a.value && o.selectionMode === "automatic" && le(q);
2292
+ }), Y(
2293
+ () => o.loading,
2294
+ (f) => {
2295
+ !f && a.value && le(q);
2079
2296
  }
2080
2297
  ), t({
2081
2298
  triggerEl: c
2082
- }), (r, L) => {
2083
- var T;
2084
- return u(), m(R, null, [
2085
- O(h(ft), X({
2086
- id: l.id,
2299
+ }), (f, v) => {
2300
+ var F;
2301
+ return d(), h(W, null, [
2302
+ U(y(Re), Z({
2303
+ id: o.id,
2087
2304
  ref_key: "triggerEl",
2088
2305
  ref: c,
2089
- modelValue: d.value,
2090
- "onUpdate:modelValue": L[0] || (L[0] = (Z) => d.value = Z),
2091
- label: l.label,
2092
- required: l.required,
2306
+ modelValue: r.value,
2307
+ "onUpdate:modelValue": v[0] || (v[0] = (M) => r.value = M),
2308
+ label: o.label,
2309
+ required: o.required,
2093
2310
  role: "combobox",
2094
- placeholder: l.placeholder,
2311
+ placeholder: o.placeholder,
2095
2312
  class: [
2096
2313
  "q-combobox",
2097
2314
  {
2098
- "q-combobox--readonly": l.readonly,
2099
- "q-combobox--disabled": l.disabled,
2100
- "q-combobox--expanded": a.value
2315
+ "q-combobox--readonly": o.readonly,
2316
+ "q-combobox--disabled": o.disabled
2101
2317
  },
2102
- l.class
2318
+ o.class
2103
2319
  ],
2104
- readonly: l.readonly,
2105
- disabled: l.disabled,
2106
- "data-loading": l.loading,
2320
+ readonly: o.readonly,
2321
+ disabled: o.disabled,
2322
+ "data-loading": o.loading,
2107
2323
  autocomplete: "off",
2108
2324
  "aria-expanded": a.value,
2109
2325
  "aria-haspopup": "listbox",
2110
2326
  "aria-autocomplete": "list",
2111
- "aria-activedescendant": F.value,
2112
- size: l.size
2113
- }, r.$attrs, {
2114
- onClick: b,
2115
- onFocusout: Y,
2116
- onKeydown: re(f, ["stop"])
2117
- }), ye({
2327
+ "aria-activedescendant": Q.value,
2328
+ size: o.size
2329
+ }, f.$attrs, {
2330
+ onClick: k,
2331
+ onFocusout: J,
2332
+ onKeydown: ne(u, ["stop"])
2333
+ }), pe({
2118
2334
  "label.prepend": _(() => [
2119
- p(r.$slots, "label.prepend")
2335
+ p(f.$slots, "label.prepend")
2120
2336
  ]),
2121
2337
  "label.append": _(() => [
2122
- p(r.$slots, "label.append")
2338
+ p(f.$slots, "label.append")
2123
2339
  ]),
2124
2340
  append: _(() => [
2125
- p(r.$slots, "append"),
2126
- K.value && d.value ? (u(), I(h(ae), {
2341
+ p(f.$slots, "append"),
2342
+ P.value && r.value ? (d(), C(y(wt), {
2127
2343
  key: 0,
2128
- class: "q-combobox__clear",
2129
- "aria-label": l.texts.clearValue,
2130
- "b-style": "plain",
2131
- borderless: "",
2132
- tabindex: "-1",
2344
+ icons: o.icons,
2345
+ texts: o.texts,
2133
2346
  onClick: ce
2134
- }, {
2135
- default: _(() => [
2136
- O(h(N), J(se(l.icons.clear)), null, 16)
2137
- ]),
2138
- _: 1
2139
- }, 8, ["aria-label"])) : $("", !0),
2140
- l.readonly ? $("", !0) : (u(), I(h(ae), {
2347
+ }, null, 8, ["icons", "texts"])) : w("", !0),
2348
+ o.readonly ? w("", !0) : (d(), C(y(re), {
2141
2349
  key: 1,
2142
2350
  ref_key: "toggleRef",
2143
- ref: k,
2351
+ ref: m,
2144
2352
  class: "q-combobox__chevron",
2145
- "aria-label": l.texts.showOptions,
2353
+ "aria-label": o.texts.showOptions,
2146
2354
  "b-style": "plain",
2147
2355
  borderless: "",
2148
2356
  tabindex: "-1",
2149
- disabled: l.disabled,
2150
- onMousedown: re(le, ["stop", "prevent"])
2357
+ disabled: o.disabled,
2358
+ onMousedown: ne(ae, ["stop", "prevent"])
2151
2359
  }, {
2152
2360
  default: _(() => [
2153
- O(h(N), J(se(l.icons.chevron)), null, 16)
2361
+ U(y(xe), {
2362
+ "model-value": a.value,
2363
+ icons: o.icons
2364
+ }, null, 8, ["model-value", "icons"])
2154
2365
  ]),
2155
2366
  _: 1
2156
2367
  }, 8, ["aria-label", "disabled"]))
2157
2368
  ]),
2158
2369
  _: 2
2159
2370
  }, [
2160
- r.$slots.prepend ? {
2371
+ f.$slots.prepend ? {
2161
2372
  name: "prepend",
2162
2373
  fn: _(() => [
2163
- p(r.$slots, "prepend")
2374
+ p(f.$slots, "prepend")
2164
2375
  ]),
2165
2376
  key: "0"
2166
2377
  } : void 0,
2167
- r.$slots.extras ? {
2378
+ f.$slots.extras ? {
2168
2379
  name: "extras",
2169
2380
  fn: _(() => [
2170
- p(r.$slots, "extras")
2381
+ p(f.$slots, "extras")
2171
2382
  ]),
2172
2383
  key: "1"
2173
2384
  } : void 0
2174
2385
  ]), 1040, ["id", "modelValue", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
2175
- O(h(pe), {
2386
+ U(y(me), {
2176
2387
  modelValue: a.value,
2177
- "onUpdate:modelValue": L[2] || (L[2] = (Z) => a.value = Z),
2388
+ "onUpdate:modelValue": v[2] || (v[2] = (M) => a.value = M),
2178
2389
  spy: "",
2179
2390
  "non-modal": "",
2180
2391
  trigger: "manual",
2181
2392
  placement: "bottom-start",
2182
2393
  width: "anchor",
2183
2394
  offset: 4,
2184
- anchor: (T = c.value) == null ? void 0 : T.$el,
2185
- onEnter: Be,
2186
- onLeave: we
2395
+ anchor: (F = c.value) == null ? void 0 : F.$el,
2396
+ onEnter: ke,
2397
+ onLeave: Ve
2187
2398
  }, {
2188
2399
  default: _(() => {
2189
- var Z;
2400
+ var M;
2190
2401
  return [
2191
- w("div", {
2402
+ x("div", {
2192
2403
  ref_key: "contentRef",
2193
- ref: H,
2404
+ ref: A,
2194
2405
  class: "q-select__body",
2195
2406
  "data-testid": "combobox-dropdown",
2196
- "data-key": l.id,
2197
- onFocusout: Y
2407
+ "data-key": o.id,
2408
+ onFocusout: J
2198
2409
  }, [
2199
- p(r.$slots, "body.prepend"),
2200
- l.loading ? (u(), m("div", wl, [
2201
- O(h(ke), { size: 24 })
2202
- ])) : D.value.length ? (u(), I(h(Ie), {
2410
+ p(f.$slots, "body.prepend"),
2411
+ o.loading ? (d(), h("div", Ro, [
2412
+ U(y($e), { size: 24 })
2413
+ ])) : N.value.length ? (d(), C(y(Be), {
2203
2414
  key: 1,
2204
2415
  ref_key: "listRef",
2205
- ref: v,
2416
+ ref: b,
2206
2417
  modelValue: s.value,
2207
2418
  "onUpdate:modelValue": [
2208
- L[1] || (L[1] = (me) => s.value = me),
2419
+ v[1] || (v[1] = (he) => s.value = he),
2209
2420
  te
2210
2421
  ],
2211
2422
  class: "q-select__items",
2212
2423
  selectable: "",
2213
- highlighted: (Z = M.value) == null ? void 0 : Z[l.itemValue],
2214
- items: D.value,
2215
- groups: r.groups,
2216
- "item-label": l.itemLabel,
2217
- "item-value": l.itemValue,
2218
- onMouseup: ie
2424
+ highlighted: (M = D.value) == null ? void 0 : M[o.itemValue],
2425
+ items: N.value,
2426
+ groups: f.groups,
2427
+ "item-label": o.itemLabel,
2428
+ "item-value": o.itemValue,
2429
+ onMouseup: oe
2219
2430
  }, {
2220
- item: _(({ item: me }) => [
2221
- p(r.$slots, "item", { item: me })
2431
+ item: _(({ item: he }) => [
2432
+ p(f.$slots, "item", { item: he })
2222
2433
  ]),
2223
2434
  _: 3
2224
- }, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (u(), m("div", ql, Q(l.texts.noData), 1)),
2225
- p(r.$slots, "body.append")
2226
- ], 40, kl)
2435
+ }, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (d(), h("div", Go, z(o.texts.noData), 1)),
2436
+ p(f.$slots, "body.append")
2437
+ ], 40, No)
2227
2438
  ];
2228
2439
  }),
2229
2440
  _: 3
@@ -2231,7 +2442,7 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2231
2442
  ], 64);
2232
2443
  };
2233
2444
  }
2234
- }), Ll = C(xl), Il = [
2445
+ }), Ko = L(Ho), Wo = [
2235
2446
  {
2236
2447
  id: "button",
2237
2448
  icon: {
@@ -2242,46 +2453,46 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2242
2453
  label: "Ok"
2243
2454
  }
2244
2455
  }
2245
- ], Sl = {
2456
+ ], jo = {
2246
2457
  icon: "check-circle-outline"
2247
- }, Bl = {
2458
+ }, Xo = {
2248
2459
  close: {
2249
2460
  icon: "close"
2250
2461
  }
2251
- }, Cl = { class: "q-dialog__header" }, Vl = { class: "q-dialog__header-title" }, Tl = { class: "q-dialog__body" }, Al = {
2462
+ }, Yo = { class: "q-dialog__header" }, Zo = { class: "q-dialog__header-title" }, Jo = { class: "q-dialog__body" }, el = {
2252
2463
  key: 0,
2253
2464
  class: "q-dialog__body-icon"
2254
- }, El = { class: "q-dialog__body-text" }, Dl = ["innerHTML"], Ql = { key: 1 }, Ml = { class: "q-dialog__body-actions" }, zl = /* @__PURE__ */ S({
2465
+ }, tl = { class: "q-dialog__body-text" }, nl = ["innerHTML"], ol = { key: 1 }, ll = { class: "q-dialog__body-actions" }, sl = /* @__PURE__ */ I({
2255
2466
  __name: "QDialog",
2256
2467
  props: /* @__PURE__ */ G({
2257
- text: { default: "" },
2468
+ text: {},
2258
2469
  attach: { default: "body" },
2259
2470
  inline: { type: Boolean },
2260
2471
  backdropBlur: { type: Boolean, default: !0 },
2261
- buttons: { default: () => Il },
2472
+ buttons: { default: () => Wo },
2262
2473
  dismissible: { type: Boolean },
2263
2474
  html: { type: Boolean, default: !0 },
2264
- icon: { default: () => Sl },
2265
- id: { default: void 0 },
2266
- title: { default: "" },
2267
- class: { default: void 0 },
2268
- icons: { default: () => Bl }
2475
+ icon: { default: () => jo },
2476
+ id: {},
2477
+ title: {},
2478
+ class: {},
2479
+ icons: { default: () => Xo }
2269
2480
  }, {
2270
2481
  modelValue: { type: Boolean },
2271
2482
  modelModifiers: {}
2272
2483
  }),
2273
2484
  emits: ["update:modelValue"],
2274
2485
  setup(n) {
2275
- const t = n, e = j(n, "modelValue"), l = ue(t.id), o = y(() => ["q-dialog", t.class]);
2486
+ const t = n, e = K(n, "modelValue"), o = de(t.id), l = g(() => ["q-dialog", t.class]);
2276
2487
  function s() {
2277
2488
  e.value = !1;
2278
2489
  }
2279
- function a(d) {
2490
+ function a(r) {
2280
2491
  var i;
2281
- (i = d.action) == null || i.call(d), s();
2492
+ (i = r.action) == null || i.call(r), s();
2282
2493
  }
2283
- return (d, i) => (u(), I(h(pe), {
2284
- id: h(l),
2494
+ return (r, i) => (d(), C(y(me), {
2495
+ id: y(o),
2285
2496
  "model-value": e.value,
2286
2497
  inline: t.inline,
2287
2498
  attach: t.attach,
@@ -2291,48 +2502,48 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2291
2502
  persistent: ""
2292
2503
  }, {
2293
2504
  default: _(() => [
2294
- w("div", {
2295
- class: A(o.value)
2505
+ x("div", {
2506
+ class: T(l.value)
2296
2507
  }, [
2297
- w("div", Cl, [
2298
- w("span", Vl, Q(t.title), 1),
2299
- t.dismissible ? (u(), I(h(ae), {
2508
+ x("div", Yo, [
2509
+ x("span", Zo, z(t.title), 1),
2510
+ t.dismissible ? (d(), C(y(re), {
2300
2511
  key: 0,
2301
2512
  "b-style": "tertiary",
2302
2513
  onClick: s
2303
2514
  }, {
2304
2515
  default: _(() => [
2305
- O(h(N), J(se(t.icons.close)), null, 16)
2516
+ U(y(X), se(fe(t.icons.close)), null, 16)
2306
2517
  ]),
2307
2518
  _: 1
2308
- })) : $("", !0)
2519
+ })) : w("", !0)
2309
2520
  ]),
2310
- p(d.$slots, "body.content", {}, () => [
2311
- w("div", Tl, [
2312
- p(d.$slots, "body.icon", {}, () => [
2313
- t.icon ? (u(), m("span", Al, [
2314
- O(h(N), J(se(t.icon)), null, 16)
2315
- ])) : $("", !0)
2521
+ p(r.$slots, "body.content", {}, () => [
2522
+ x("div", Jo, [
2523
+ p(r.$slots, "body.icon", {}, () => [
2524
+ t.icon ? (d(), h("span", el, [
2525
+ U(y(X), se(fe(t.icon)), null, 16)
2526
+ ])) : w("", !0)
2316
2527
  ]),
2317
- w("div", El, [
2318
- t.html ? (u(), m("span", {
2528
+ x("div", tl, [
2529
+ t.html ? (d(), h("span", {
2319
2530
  key: 0,
2320
2531
  innerHTML: t.text
2321
- }, null, 8, Dl)) : (u(), m("span", Ql, Q(t.text), 1))
2532
+ }, null, 8, nl)) : (d(), h("span", ol, z(t.text), 1))
2322
2533
  ]),
2323
- p(d.$slots, "body.append")
2534
+ p(r.$slots, "body.append")
2324
2535
  ])
2325
2536
  ]),
2326
- w("div", Ml, [
2327
- (u(!0), m(R, null, ve(t.buttons, (c) => (u(), I(h(ae), X({ ref_for: !0 }, c.props, {
2537
+ x("div", ll, [
2538
+ (d(!0), h(W, null, ye(t.buttons, (c) => (d(), C(y(re), Z({ ref_for: !0 }, c.props, {
2328
2539
  key: c.id,
2329
2540
  onClick: () => a(c)
2330
2541
  }), {
2331
2542
  default: _(() => [
2332
- c.icon ? (u(), I(h(N), X({
2543
+ c.icon ? (d(), C(y(X), Z({
2333
2544
  key: 0,
2334
2545
  ref_for: !0
2335
- }, c.icon), null, 16)) : $("", !0)
2546
+ }, c.icon), null, 16)) : w("", !0)
2336
2547
  ]),
2337
2548
  _: 2
2338
2549
  }, 1040, ["onClick"]))), 128))
@@ -2342,28 +2553,28 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2342
2553
  _: 3
2343
2554
  }, 8, ["id", "model-value", "inline", "attach", "backdrop-blur"]));
2344
2555
  }
2345
- }), Ol = C(zl), Fl = {
2556
+ }), al = L(sl), il = {
2346
2557
  expand: {
2347
2558
  icon: "chevron-right"
2348
2559
  }
2349
- }, Pl = {
2560
+ }, rl = {
2350
2561
  key: 0,
2351
2562
  class: "q-dropdown-menu__extra"
2352
- }, Ul = /* @__PURE__ */ S({
2563
+ }, dl = /* @__PURE__ */ I({
2353
2564
  __name: "QDropdownMenuContent",
2354
2565
  props: /* @__PURE__ */ G({
2355
- activator: { default: void 0 },
2566
+ activator: {},
2356
2567
  appearance: { default: "regular" },
2357
2568
  inline: { type: Boolean },
2358
2569
  delay: { default: 500 },
2359
2570
  placement: { default: "right-start" },
2360
2571
  transition: { default: "fade" },
2361
- class: { default: void 0 },
2572
+ class: {},
2362
2573
  items: {},
2363
2574
  groups: { default: () => [] },
2364
2575
  itemValue: { default: "key" },
2365
2576
  itemLabel: { default: "label" },
2366
- icons: { default: () => Fl },
2577
+ icons: { default: () => il },
2367
2578
  trigger: { default: "click" },
2368
2579
  offset: { default: 0 },
2369
2580
  crossOffset: { default: -5 },
@@ -2374,58 +2585,58 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2374
2585
  }),
2375
2586
  emits: /* @__PURE__ */ G(["select"], ["update:modelValue"]),
2376
2587
  setup(n, { emit: t }) {
2377
- const e = n, l = t, o = j(n, "modelValue"), s = V(void 0), a = V([]), d = V(""), i = y(() => e.depth !== 0 ? e.offset : 4), c = y(() => e.depth !== 0 ? e.crossOffset : void 0);
2378
- let v;
2379
- const k = V(null), H = V(null);
2380
- function K(x) {
2381
- s.value = x;
2382
- const E = e.items.find((P) => P[e.itemValue] === x);
2383
- E && (a.value = (E == null ? void 0 : E.items) ?? []), a.value.length || (l("select", x), s.value = void 0, g());
2384
- }
2385
- function D() {
2386
- o.value || (o.value = !0);
2387
- }
2388
- function g() {
2389
- o.value && (o.value = !1);
2390
- }
2391
- function B() {
2392
- o.value ? g() : D();
2393
- }
2394
- function M(x) {
2395
- if (x.key) {
2396
- if (window.clearTimeout(v), ["Escape", "Tab", "Delete"].includes(x.key)) {
2397
- g();
2588
+ const e = n, o = t, l = K(n, "modelValue"), s = B(void 0), a = B([]), r = B(""), i = g(() => e.depth !== 0 ? e.offset : 4), c = g(() => e.depth !== 0 ? e.crossOffset : void 0);
2589
+ let b;
2590
+ const m = B(null), A = B(null);
2591
+ function P(S) {
2592
+ s.value = S;
2593
+ const E = e.items.find((R) => R[e.itemValue] === S);
2594
+ E && (a.value = (E == null ? void 0 : E.items) ?? []), a.value.length || (o("select", S), s.value = void 0, $());
2595
+ }
2596
+ function N() {
2597
+ l.value || (l.value = !0);
2598
+ }
2599
+ function $() {
2600
+ l.value && (l.value = !1);
2601
+ }
2602
+ function V() {
2603
+ l.value ? $() : N();
2604
+ }
2605
+ function D(S) {
2606
+ if (S.key) {
2607
+ if (window.clearTimeout(b), ["Escape", "Tab", "Delete"].includes(S.key)) {
2608
+ $();
2398
2609
  return;
2399
2610
  }
2400
- if (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(x.key) && (x.preventDefault(), x.stopPropagation()), /^[a-z]$/i.test(x.key)) {
2401
- d.value += x.key.toLowerCase();
2611
+ if (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(S.key) && (S.preventDefault(), S.stopPropagation()), /^[a-z]$/i.test(S.key)) {
2612
+ r.value += S.key.toLowerCase();
2402
2613
  for (let E = 0; E < e.items.length; E++) {
2403
- const P = e.items[E];
2404
- if (P[e.itemLabel] && P[e.itemLabel].toLowerCase().startsWith(d.value)) {
2614
+ const R = e.items[E];
2615
+ if (R[e.itemLabel] && R[e.itemLabel].toLowerCase().startsWith(r.value)) {
2405
2616
  te(E);
2406
2617
  break;
2407
2618
  }
2408
2619
  }
2409
2620
  }
2410
- v = window.setTimeout(function() {
2411
- d.value = "";
2621
+ b = window.setTimeout(function() {
2622
+ r.value = "";
2412
2623
  }, 500);
2413
2624
  }
2414
2625
  }
2415
- function F(x) {
2626
+ function Q(S) {
2416
2627
  var E;
2417
- (E = H.value) != null && E.contains(x.relatedTarget) || g();
2628
+ (E = A.value) != null && E.contains(S.relatedTarget) || $();
2418
2629
  }
2419
- function ee() {
2420
- var x;
2421
- (x = k.value) == null || x.$el.focus();
2630
+ function j() {
2631
+ var S;
2632
+ (S = m.value) == null || S.$el.focus();
2422
2633
  }
2423
- function te(x) {
2634
+ function te(S) {
2424
2635
  var E;
2425
- (E = k.value) == null || E.focusItem(x);
2636
+ (E = m.value) == null || E.focusItem(S);
2426
2637
  }
2427
- return (x, E) => (u(), I(h(pe), {
2428
- "model-value": o.value,
2638
+ return (S, E) => (d(), C(y(me), {
2639
+ "model-value": l.value,
2429
2640
  anchor: e.activator,
2430
2641
  appearance: e.appearance,
2431
2642
  inline: e.inline,
@@ -2434,40 +2645,40 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2434
2645
  "cross-offset": c.value,
2435
2646
  placement: e.placement,
2436
2647
  transition: e.transition,
2437
- class: A(e.class),
2648
+ class: T(e.class),
2438
2649
  trigger: e.trigger,
2439
2650
  "non-modal": "",
2440
2651
  "scroll-lock": "",
2441
2652
  persistent: "",
2442
- "onUpdate:modelValue": B,
2443
- onEnter: ee
2653
+ "onUpdate:modelValue": V,
2654
+ onEnter: j
2444
2655
  }, {
2445
2656
  default: _(() => [
2446
- w("div", {
2657
+ x("div", {
2447
2658
  ref_key: "contentRef",
2448
- ref: H,
2659
+ ref: A,
2449
2660
  "data-testid": "dropdown-content",
2450
2661
  tabindex: "-1",
2451
- onFocusout: F,
2452
- onKeydown: re(M, ["stop"])
2662
+ onFocusout: Q,
2663
+ onKeydown: ne(D, ["stop"])
2453
2664
  }, [
2454
- O(h(Ie), {
2665
+ U(y(Be), {
2455
2666
  ref_key: "listRef",
2456
- ref: k,
2667
+ ref: m,
2457
2668
  class: "q-dropdown-menu__items",
2458
2669
  highlighted: s.value,
2459
2670
  items: e.items,
2460
2671
  groups: e.groups,
2461
2672
  "item-label": e.itemLabel,
2462
2673
  "item-value": e.itemValue,
2463
- "onUpdate:modelValue": K
2674
+ "onUpdate:modelValue": P
2464
2675
  }, {
2465
- item: _(({ item: P }) => [
2466
- p(x.$slots, "item", { item: P })
2676
+ item: _(({ item: R }) => [
2677
+ p(S.$slots, "item", { item: R })
2467
2678
  ]),
2468
- "item.append": _(({ item: P }) => [
2469
- p(x.$slots, "item.append", { item: P }, () => [
2470
- P.extraInfo ? (u(), m("span", Pl, Q(P.extraInfo), 1)) : $("", !0)
2679
+ "item.append": _(({ item: R }) => [
2680
+ p(S.$slots, "item.append", { item: R }, () => [
2681
+ R.extraInfo ? (d(), h("span", rl, z(R.extraInfo), 1)) : w("", !0)
2471
2682
  ])
2472
2683
  ]),
2473
2684
  _: 3
@@ -2477,7 +2688,7 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2477
2688
  _: 3
2478
2689
  }, 8, ["model-value", "anchor", "appearance", "inline", "delay", "offset", "cross-offset", "placement", "transition", "class", "trigger"]));
2479
2690
  }
2480
- }), Nl = /* @__PURE__ */ S({
2691
+ }), cl = /* @__PURE__ */ I({
2481
2692
  inheritAttrs: !1,
2482
2693
  __name: "QDropdownMenu",
2483
2694
  props: /* @__PURE__ */ G({
@@ -2499,60 +2710,60 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2499
2710
  }),
2500
2711
  emits: /* @__PURE__ */ G(["select"], ["update:modelValue"]),
2501
2712
  setup(n, { emit: t }) {
2502
- const e = n, l = t, o = j(n, "modelValue");
2713
+ const e = n, o = t, l = K(n, "modelValue");
2503
2714
  function s(a) {
2504
- l("select", a);
2715
+ o("select", a);
2505
2716
  }
2506
- return (a, d) => (u(), I(Ul, X(e, {
2507
- modelValue: o.value,
2508
- "onUpdate:modelValue": d[0] || (d[0] = (i) => o.value = i),
2717
+ return (a, r) => (d(), C(dl, Z(e, {
2718
+ modelValue: l.value,
2719
+ "onUpdate:modelValue": r[0] || (r[0] = (i) => l.value = i),
2509
2720
  onSelect: s
2510
2721
  }), null, 16, ["modelValue"]));
2511
2722
  }
2512
- }), Rl = C(Nl), Gl = {
2723
+ }), ul = L(cl), fl = {
2513
2724
  key: 0,
2514
2725
  class: "q-input-group__prepend"
2515
- }, Hl = { key: 0 }, Kl = {
2726
+ }, pl = { key: 0 }, ml = {
2516
2727
  key: 1,
2517
2728
  class: "q-input-group__append"
2518
- }, Wl = { key: 0 }, jl = /* @__PURE__ */ S({
2729
+ }, hl = { key: 0 }, vl = /* @__PURE__ */ I({
2519
2730
  __name: "QInputGroup",
2520
2731
  props: {
2521
- id: { default: void 0 },
2522
- label: { default: "" },
2732
+ id: {},
2733
+ label: {},
2523
2734
  required: { type: Boolean },
2524
- prependIcon: { default: void 0 },
2525
- appendIcon: { default: void 0 },
2735
+ prependIcon: {},
2736
+ appendIcon: {},
2526
2737
  size: { default: "large" },
2527
- class: { default: void 0 }
2738
+ class: {}
2528
2739
  },
2529
2740
  setup(n) {
2530
2741
  const t = n;
2531
- return Ue({
2742
+ return Ne({
2532
2743
  QField: {
2533
2744
  size: "block"
2534
2745
  }
2535
- }), (e, l) => (u(), I(h(Se), {
2746
+ }), (e, o) => (d(), C(y(Se), {
2536
2747
  id: t.id,
2537
- class: A(["q-input-group", t.class]),
2748
+ class: T(["q-input-group", t.class]),
2538
2749
  label: t.label,
2539
2750
  required: t.required,
2540
2751
  size: t.size
2541
- }, ye({
2752
+ }, pe({
2542
2753
  default: _(() => [
2543
- e.$slots.prepend || t.prependIcon ? (u(), m("div", Gl, [
2544
- t.prependIcon ? (u(), m("span", Hl, [
2545
- O(h(N), J(se(t.prependIcon)), null, 16)
2546
- ])) : $("", !0),
2754
+ e.$slots.prepend || t.prependIcon ? (d(), h("div", fl, [
2755
+ t.prependIcon ? (d(), h("span", pl, [
2756
+ U(y(X), se(fe(t.prependIcon)), null, 16)
2757
+ ])) : w("", !0),
2547
2758
  p(e.$slots, "prepend")
2548
- ])) : $("", !0),
2759
+ ])) : w("", !0),
2549
2760
  p(e.$slots, "default"),
2550
- e.$slots.append || t.appendIcon ? (u(), m("div", Kl, [
2551
- t.appendIcon ? (u(), m("span", Wl, [
2552
- O(h(N), J(se(t.appendIcon)), null, 16)
2553
- ])) : $("", !0),
2761
+ e.$slots.append || t.appendIcon ? (d(), h("div", ml, [
2762
+ t.appendIcon ? (d(), h("span", hl, [
2763
+ U(y(X), se(fe(t.appendIcon)), null, 16)
2764
+ ])) : w("", !0),
2554
2765
  p(e.$slots, "append")
2555
- ])) : $("", !0)
2766
+ ])) : w("", !0)
2556
2767
  ]),
2557
2768
  _: 2
2558
2769
  }, [
@@ -2565,24 +2776,24 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2565
2776
  } : void 0
2566
2777
  ]), 1032, ["id", "class", "label", "required", "size"]));
2567
2778
  }
2568
- }), Xl = C(jl), Yl = /* @__PURE__ */ S({
2779
+ }), yl = L(vl), bl = /* @__PURE__ */ I({
2569
2780
  __name: "QLineLoader",
2570
2781
  props: {
2571
- class: { default: void 0 }
2782
+ class: {}
2572
2783
  },
2573
2784
  setup(n) {
2574
2785
  const t = n;
2575
- return (e, l) => (u(), m("div", {
2576
- class: A(["q-line-loader", t.class])
2786
+ return (e, o) => (d(), h("div", {
2787
+ class: T(["q-line-loader", t.class])
2577
2788
  }, null, 2));
2578
2789
  }
2579
- }), Zl = C(Yl), Jl = {
2790
+ }), gl = L(bl), _l = {
2580
2791
  key: 0,
2581
2792
  class: "q-popover__header"
2582
- }, eo = {
2793
+ }, $l = {
2583
2794
  key: 1,
2584
2795
  class: "q-popover__body"
2585
- }, to = ["innerHTML"], no = { key: 1 }, lo = /* @__PURE__ */ S({
2796
+ }, kl = ["innerHTML"], wl = { key: 1 }, ql = /* @__PURE__ */ I({
2586
2797
  inheritAttrs: !1,
2587
2798
  __name: "QPopover",
2588
2799
  props: /* @__PURE__ */ G({
@@ -2594,17 +2805,17 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2594
2805
  html: { type: Boolean, default: !0 },
2595
2806
  placement: { default: "right" },
2596
2807
  text: {},
2597
- title: { default: "" }
2808
+ title: {}
2598
2809
  }, {
2599
2810
  modelValue: { type: Boolean },
2600
2811
  modelModifiers: {}
2601
2812
  }),
2602
2813
  emits: ["update:modelValue"],
2603
2814
  setup(n) {
2604
- const t = n, e = j(n, "modelValue");
2605
- return (l, o) => (u(), I(h(pe), {
2815
+ const t = n, e = K(n, "modelValue");
2816
+ return (o, l) => (d(), C(y(me), {
2606
2817
  modelValue: e.value,
2607
- "onUpdate:modelValue": o[0] || (o[0] = (s) => e.value = s),
2818
+ "onUpdate:modelValue": l[0] || (l[0] = (s) => e.value = s),
2608
2819
  class: "q-popover",
2609
2820
  trigger: "click",
2610
2821
  anchor: t.anchor,
@@ -2615,31 +2826,31 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2615
2826
  placement: t.placement
2616
2827
  }, {
2617
2828
  default: _(() => [
2618
- t.title || l.$slots.header ? (u(), m("h3", Jl, [
2619
- de(Q(t.title) + " ", 1),
2620
- p(l.$slots, "header")
2621
- ])) : $("", !0),
2622
- t.text || l.$slots.body ? (u(), m("div", eo, [
2623
- t.html ? (u(), m("span", {
2829
+ t.title || o.$slots.header ? (d(), h("h3", _l, [
2830
+ ie(z(t.title) + " ", 1),
2831
+ p(o.$slots, "header")
2832
+ ])) : w("", !0),
2833
+ t.text || o.$slots.body ? (d(), h("div", $l, [
2834
+ t.html ? (d(), h("span", {
2624
2835
  key: 0,
2625
2836
  innerHTML: t.text
2626
- }, null, 8, to)) : (u(), m("span", no, Q(t.text), 1)),
2627
- p(l.$slots, "body")
2628
- ])) : $("", !0)
2837
+ }, null, 8, kl)) : (d(), h("span", wl, z(t.text), 1)),
2838
+ p(o.$slots, "body")
2839
+ ])) : w("", !0)
2629
2840
  ]),
2630
2841
  _: 3
2631
2842
  }, 8, ["modelValue", "anchor", "arrow", "attach", "inline", "disabled", "placement"]));
2632
2843
  }
2633
- }), oo = C(lo), pt = {
2844
+ }), xl = L(ql), qt = {
2634
2845
  emptyMessage: "Select a field to view details."
2635
- }, mt = {
2846
+ }, xt = {
2636
2847
  open: {
2637
2848
  icon: "minus-box"
2638
2849
  },
2639
2850
  close: {
2640
2851
  icon: "plus-box"
2641
2852
  }
2642
- }, so = { class: "q-property-list__table" }, ao = /* @__PURE__ */ S({
2853
+ }, Cl = { class: "q-property-list__table" }, Il = /* @__PURE__ */ I({
2643
2854
  __name: "QPropertyList",
2644
2855
  props: {
2645
2856
  fields: { default: () => [] },
@@ -2648,246 +2859,254 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2648
2859
  panelPosition: { default: "bottom" },
2649
2860
  groups: { default: () => [] },
2650
2861
  readonly: { type: Boolean },
2651
- class: { default: void 0 },
2652
- icons: { default: () => mt },
2653
- texts: { default: () => pt }
2862
+ class: {},
2863
+ icons: { default: () => xt },
2864
+ texts: { default: () => qt }
2654
2865
  },
2655
- emits: ["field-change"],
2866
+ emits: ["field-change", "select-field"],
2656
2867
  setup(n, { emit: t }) {
2657
- const e = n, l = t, o = V(e.groups.map((g) => g.id)), s = V(void 0), a = V(null), d = y(() => e.groups.length ? e.groups.filter(
2658
- (g) => e.fields.some((B) => B.group === g.id)
2659
- ) : [{ id: "", title: "" }]), i = y(() => [
2868
+ const e = n, o = t, l = B(e.groups.map(($) => $.id)), s = B(void 0), a = B(null), r = g(() => e.groups.length ? e.groups.filter(
2869
+ ($) => e.fields.some((V) => V.group === $.id)
2870
+ ) : [{ id: "", title: "" }]), i = g(() => [
2660
2871
  e.class,
2661
2872
  {
2662
2873
  "q-property-list--side-panel": e.panelPosition === "right"
2663
2874
  }
2664
2875
  ]);
2665
2876
  function c() {
2666
- var g;
2667
- (g = a.value) != null && g.contains(document.activeElement) || (s.value = void 0);
2877
+ var $;
2878
+ ($ = a.value) != null && $.contains(document.activeElement) || (s.value = void 0);
2668
2879
  }
2669
- function v(g) {
2670
- return g ? e.fields.filter((B) => B.group === g) : e.fields;
2880
+ function b($) {
2881
+ return $ ? e.fields.filter((V) => V.group === $) : e.fields;
2671
2882
  }
2672
- function k(g) {
2673
- const B = o.value.indexOf(g);
2674
- B === -1 ? o.value.push(g) : o.value.splice(B, 1);
2883
+ function m($) {
2884
+ const V = l.value.indexOf($);
2885
+ V === -1 ? l.value.push($) : l.value.splice(V, 1);
2675
2886
  }
2676
- function H(g) {
2677
- var F;
2678
- const B = g.group && !o.value.includes(g.group), M = ((F = s.value) == null ? void 0 : F.id) === g.id;
2887
+ function A($) {
2888
+ var Q;
2889
+ const V = $.group && !l.value.includes($.group), D = ((Q = s.value) == null ? void 0 : Q.id) === $.id;
2679
2890
  return [
2680
2891
  {
2681
- "q-property-list__row--closed": B,
2682
- "q-property-list__row--selected": M
2892
+ "q-property-list__row--closed": V,
2893
+ "q-property-list__row--selected": D
2683
2894
  }
2684
2895
  ];
2685
2896
  }
2686
- function K(g) {
2687
- s.value = g;
2897
+ function P($) {
2898
+ s.value = $, o("select-field", s.value.id);
2688
2899
  }
2689
- function D(g, B) {
2690
- e.readonly || (g.props.readonly ?? !1) || (g.props.modelValue = B, l("field-change", g));
2900
+ function N($, V) {
2901
+ e.readonly || ($.props.readonly ?? !1) || o("field-change", $, V);
2691
2902
  }
2692
- return (g, B) => (u(), m("div", {
2903
+ return ($, V) => (d(), h("div", {
2693
2904
  ref_key: "componentRoot",
2694
2905
  ref: a,
2695
2906
  tabindex: "0",
2696
- class: A(["q-property-list", i.value]),
2907
+ class: T(["q-property-list", i.value]),
2697
2908
  onFocusout: c
2698
2909
  }, [
2699
- w("table", so, [
2700
- B[0] || (B[0] = w("thead", { class: "q-property-list__header" }, [
2701
- w("tr", null, [
2702
- w("th", { colspan: "2" })
2910
+ x("table", Cl, [
2911
+ V[0] || (V[0] = x("thead", { class: "q-property-list__header" }, [
2912
+ x("tr", null, [
2913
+ x("th", { colspan: "2" })
2703
2914
  ])
2704
2915
  ], -1)),
2705
- w("tbody", null, [
2706
- (u(!0), m(R, null, ve(d.value, (M) => (u(), m(R, {
2707
- key: M.id
2916
+ x("tbody", null, [
2917
+ (d(!0), h(W, null, ye(r.value, (D) => (d(), h(W, {
2918
+ key: D.id
2708
2919
  }, [
2709
- M.title ? (u(), I(h(vt), {
2920
+ D.title ? (d(), C(y(It), {
2710
2921
  key: 0,
2711
- id: M.id,
2712
- title: M.title,
2922
+ id: D.id,
2923
+ title: D.title,
2713
2924
  icons: e.icons,
2714
2925
  "no-toggle": e.noToggle,
2715
- onToggleGroup: k
2716
- }, null, 8, ["id", "title", "icons", "no-toggle"])) : $("", !0),
2717
- (u(!0), m(R, null, ve(v(M.id), (F) => (u(), I(h(ht), {
2718
- key: F.id,
2719
- class: A(H(F)),
2720
- field: F,
2926
+ onToggleGroup: m
2927
+ }, null, 8, ["id", "title", "icons", "no-toggle"])) : w("", !0),
2928
+ (d(!0), h(W, null, ye(b(D.id), (Q) => (d(), C(y(Ct), {
2929
+ key: Q.id,
2930
+ class: T(A(Q)),
2931
+ field: Q,
2932
+ "model-value": Q.props.modelValue,
2721
2933
  readonly: e.readonly,
2722
- onFocus: K,
2723
- onFieldChange: D
2934
+ onFocus: P,
2935
+ "onUpdate:modelValue": (j) => N(Q, j)
2724
2936
  }, {
2725
2937
  default: _(() => [
2726
- p(g.$slots, F.id, { field: F })
2938
+ p($.$slots, Q.id, { field: Q })
2727
2939
  ]),
2728
2940
  _: 2
2729
- }, 1032, ["class", "field", "readonly"]))), 128))
2941
+ }, 1032, ["class", "field", "model-value", "readonly", "onUpdate:modelValue"]))), 128))
2730
2942
  ], 64))), 128))
2731
2943
  ])
2732
2944
  ]),
2733
- e.noPanel ? $("", !0) : (u(), I(h(yt), {
2945
+ e.noPanel ? w("", !0) : (d(), C(y(Lt), {
2734
2946
  key: 0,
2735
2947
  field: s.value,
2736
2948
  texts: e.texts
2737
2949
  }, {
2738
2950
  default: _(() => [
2739
- s.value ? p(g.$slots, "panel", {
2951
+ s.value ? p($.$slots, "panel", {
2740
2952
  key: 0,
2741
2953
  field: s.value
2742
- }) : $("", !0)
2954
+ }) : w("", !0)
2743
2955
  ]),
2744
2956
  _: 3
2745
2957
  }, 8, ["field", "texts"]))
2746
2958
  ], 34));
2747
2959
  }
2748
- }), io = {
2960
+ }), Ll = ["data-group"], Sl = {
2749
2961
  key: 0,
2750
2962
  class: "q-property-list-field__container"
2751
- }, ro = /* @__PURE__ */ S({
2963
+ }, Bl = /* @__PURE__ */ I({
2752
2964
  __name: "QPropertyListRow",
2753
- props: {
2965
+ props: /* @__PURE__ */ G({
2754
2966
  field: {},
2755
2967
  class: {},
2756
2968
  readonly: { type: Boolean }
2757
- },
2758
- emits: ["focus", "field-change"],
2969
+ }, {
2970
+ modelValue: {},
2971
+ modelModifiers: {}
2972
+ }),
2973
+ emits: /* @__PURE__ */ G(["focus"], ["update:modelValue"]),
2759
2974
  setup(n, { emit: t }) {
2760
- const e = n, l = t, o = y(() => ["q-property-list__row", e.class]), s = y(() => {
2761
- var k;
2762
- const v = ["q-property-list__cell", "q-property-list__cell--label"];
2763
- return (k = e.field.props) != null && k.required && v.push("q-property-list__cell--required"), v;
2764
- }), a = y(() => e.readonly || (e.field.props.readonly ?? !1));
2765
- function d() {
2766
- l("focus", e.field);
2767
- }
2768
- function i(v) {
2769
- l("field-change", e.field, v);
2770
- }
2771
- const c = y(() => ({
2975
+ const e = n, o = t, l = K(n, "modelValue"), s = g(() => ["q-property-list__row", e.class]), a = g(() => {
2976
+ var m;
2977
+ return [
2978
+ "q-property-list__cell",
2979
+ "q-property-list__cell-label",
2980
+ {
2981
+ "q-property-list__cell--required": (m = e.field.props) == null ? void 0 : m.required
2982
+ }
2983
+ ];
2984
+ }), r = g(() => e.readonly || (e.field.props.readonly ?? !1)), i = g(() => ({
2772
2985
  ...e.field.props,
2773
- readonly: a.value
2986
+ readonly: r.value
2774
2987
  }));
2775
- return (v, k) => (u(), m("tr", {
2776
- class: A(o.value),
2777
- onFocusin: d
2988
+ function c() {
2989
+ o("focus", e.field);
2990
+ }
2991
+ function b(m) {
2992
+ l.value = m;
2993
+ }
2994
+ return (m, A) => (d(), h("tr", {
2995
+ class: T(s.value),
2996
+ "data-group": e.field.group,
2997
+ onFocusin: c
2778
2998
  }, [
2779
- w("td", {
2780
- class: A(s.value),
2781
- onClick: d
2782
- }, Q(e.field.label), 3),
2783
- w("td", {
2999
+ x("td", {
3000
+ class: T(a.value),
3001
+ onClick: ne(c, ["prevent", "stop"])
3002
+ }, z(e.field.label), 3),
3003
+ x("td", {
2784
3004
  class: "q-property-list__cell",
2785
- onClick: d
3005
+ onClick: ne(c, ["prevent", "stop"])
2786
3006
  }, [
2787
- p(v.$slots, "default", {}, () => [
2788
- e.field.component ? (u(), m("div", io, [
2789
- (u(), I(Le(e.field.component), X(c.value, {
2790
- "model-value": e.field.props.modelValue,
2791
- "onUpdate:modelValue": i
2792
- }), null, 16, ["model-value"]))
2793
- ])) : $("", !0)
3007
+ p(m.$slots, "default", {}, () => [
3008
+ e.field.component ? (d(), h("div", Sl, [
3009
+ (d(), C(Ie(e.field.component), Z(i.value, {
3010
+ modelValue: l.value,
3011
+ "onUpdate:modelValue": [
3012
+ A[0] || (A[0] = (P) => l.value = P),
3013
+ b
3014
+ ]
3015
+ }), null, 16, ["modelValue"]))
3016
+ ])) : w("", !0)
2794
3017
  ])
2795
3018
  ])
2796
- ], 34));
3019
+ ], 42, Ll));
2797
3020
  }
2798
- }), uo = ["data-key", "aria-labelledby"], co = ["id"], fo = { class: "q-property-list-group__content" }, po = /* @__PURE__ */ S({
3021
+ }), Vl = ["data-key", "aria-labelledby"], Tl = ["id"], Al = { class: "q-property-list-group__content" }, El = /* @__PURE__ */ I({
2799
3022
  __name: "QPropertyListGroup",
2800
3023
  props: {
2801
3024
  id: {},
2802
3025
  title: {},
2803
- noToggle: { type: Boolean, default: !1 },
2804
- icons: { default: () => mt },
3026
+ noToggle: { type: Boolean },
3027
+ icons: { default: () => xt },
2805
3028
  texts: {}
2806
3029
  },
2807
3030
  emits: ["toggle-group"],
2808
3031
  setup(n, { emit: t }) {
2809
- const e = n, l = t, o = V(!0), s = ue(), a = y(() => o.value ? e.icons.open : e.icons.close), d = y(() => [
3032
+ const e = n, o = t, l = B(!0), s = de(), a = g(() => l.value ? e.icons.open : e.icons.close), r = g(() => [
2810
3033
  "q-property-list-group",
2811
3034
  {
2812
3035
  "q-property-list-group--no-toggle": e.noToggle
2813
3036
  }
2814
3037
  ]);
2815
3038
  function i() {
2816
- e.noToggle || (o.value = !o.value, l("toggle-group", e.id));
3039
+ e.noToggle || (l.value = !l.value, o("toggle-group", e.id));
2817
3040
  }
2818
- return (c, v) => (u(), m("tr", {
2819
- class: A(d.value),
3041
+ return (c, b) => (d(), h("tr", {
3042
+ class: T(r.value),
2820
3043
  role: "group",
2821
3044
  "data-key": e.id,
2822
- "aria-labelledby": h(s),
3045
+ "aria-labelledby": y(s),
2823
3046
  onClick: i
2824
3047
  }, [
2825
- w("td", {
2826
- id: h(s),
3048
+ x("td", {
3049
+ id: y(s),
2827
3050
  colspan: "2"
2828
3051
  }, [
2829
- w("div", fo, [
2830
- e.noToggle ? $("", !0) : (u(), I(h(ae), {
3052
+ x("div", Al, [
3053
+ e.noToggle ? w("", !0) : (d(), C(y(re), {
2831
3054
  key: 0,
2832
3055
  "b-style": "tertiary",
2833
3056
  borderless: "",
2834
3057
  onClick: i
2835
3058
  }, {
2836
3059
  default: _(() => [
2837
- O(h(N), J(se(a.value)), null, 16)
3060
+ U(y(X), se(fe(a.value)), null, 16)
2838
3061
  ]),
2839
3062
  _: 1
2840
3063
  })),
2841
- de(" " + Q(e.title), 1)
3064
+ ie(" " + z(e.title), 1)
2842
3065
  ])
2843
- ], 8, co)
2844
- ], 10, uo));
3066
+ ], 8, Tl)
3067
+ ], 10, Vl));
2845
3068
  }
2846
- }), mo = { class: "q-property-list-panel__container" }, ho = { class: "q-property-list-panel__label" }, vo = { class: "q-property-list-panel__description" }, yo = {
3069
+ }), Dl = { class: "q-property-list-panel__container" }, Ql = { class: "q-property-list-panel__label" }, zl = { class: "q-property-list-panel__description" }, Fl = {
2847
3070
  key: 1,
2848
3071
  class: "q-property-list-panel__empty"
2849
- }, bo = /* @__PURE__ */ S({
3072
+ }, Ml = /* @__PURE__ */ I({
2850
3073
  __name: "QPropertyListPanel",
2851
3074
  props: {
2852
- field: { default: void 0 },
3075
+ field: {},
2853
3076
  icons: {},
2854
- texts: { default: () => pt }
3077
+ texts: { default: () => qt }
2855
3078
  },
2856
3079
  setup(n) {
2857
3080
  const t = n;
2858
- return (e, l) => (u(), m("div", mo, [
3081
+ return (e, o) => (d(), h("div", Dl, [
2859
3082
  t.field ? p(e.$slots, "default", { key: 0 }, () => [
2860
- w("div", ho, Q(t.field.label), 1),
2861
- w("div", vo, Q(t.field.description), 1)
2862
- ]) : (u(), m("div", yo, Q(t.texts.emptyMessage), 1))
3083
+ x("div", Ql, z(t.field.label), 1),
3084
+ x("div", zl, z(t.field.description), 1)
3085
+ ]) : (d(), h("div", Fl, z(t.texts.emptyMessage), 1))
2863
3086
  ]));
2864
3087
  }
2865
- }), go = C(ao), ht = C(ro), vt = C(po), yt = C(bo), _o = {
3088
+ }), Ol = L(Il), Ct = L(Bl), It = L(El), Lt = L(Ml), Ul = {
3089
+ ...Ge,
2866
3090
  placeholder: "Choose...",
2867
- clearValue: "Clear value",
2868
3091
  showOptions: "Show options"
2869
- }, $o = {
2870
- chevron: {
2871
- icon: "chevron-down"
2872
- },
2873
- clear: {
2874
- icon: "close"
2875
- }
2876
- }, ko = {
3092
+ }, Pl = {
3093
+ ...Le,
3094
+ ...He
3095
+ }, Nl = {
2877
3096
  key: 0,
2878
3097
  class: "q-select__value"
2879
- }, wo = {
3098
+ }, Rl = {
2880
3099
  key: 1,
2881
3100
  class: "q-select__placeholder"
2882
- }, qo = ["data-key"], xo = {
3101
+ }, Gl = ["data-key"], Hl = {
2883
3102
  key: 0,
2884
3103
  class: "q-select__loader"
2885
- }, Lo = /* @__PURE__ */ S({
3104
+ }, Kl = /* @__PURE__ */ I({
2886
3105
  inheritAttrs: !1,
2887
3106
  __name: "QSelect",
2888
3107
  props: /* @__PURE__ */ G({
2889
- id: { default: void 0 },
2890
- label: { default: "" },
3108
+ id: {},
3109
+ label: {},
2891
3110
  clearable: { type: Boolean },
2892
3111
  readonly: { type: Boolean },
2893
3112
  disabled: { type: Boolean },
@@ -2897,11 +3116,11 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2897
3116
  groups: { default: () => [] },
2898
3117
  itemValue: { default: "key" },
2899
3118
  itemLabel: { default: "label" },
2900
- emptyValue: { type: [String, Number, Boolean, Symbol], default: void 0 },
2901
- size: { default: void 0 },
2902
- class: { default: "" },
2903
- icons: { default: () => $o },
2904
- texts: { default: () => _o }
3119
+ emptyValue: { type: [String, Number, Boolean, Symbol] },
3120
+ size: {},
3121
+ class: {},
3122
+ icons: { default: () => Pl },
3123
+ texts: { default: () => Ul }
2905
3124
  }, {
2906
3125
  modelValue: {
2907
3126
  type: [String, Number, Boolean, Symbol]
@@ -2910,43 +3129,43 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2910
3129
  }),
2911
3130
  emits: /* @__PURE__ */ G(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
2912
3131
  setup(n, { emit: t }) {
2913
- const e = n, l = t, o = j(n, "modelValue"), s = V(!1), a = V(""), d = V(null), i = V(null), c = V(null), v = y(() => k.value === void 0), k = y(
3132
+ const e = n, o = t, l = K(n, "modelValue"), s = B(!1), a = B(""), r = B(null), i = B(null), c = B(null), b = g(() => m.value === void 0), m = g(
2914
3133
  () => {
2915
- var f;
2916
- return (f = e.items) == null ? void 0 : f.find((q) => q[e.itemValue] === o.value);
3134
+ var u;
3135
+ return (u = e.items) == null ? void 0 : u.find((q) => q[e.itemValue] === l.value);
2917
3136
  }
2918
- ), H = y(
2919
- () => k.value ? k.value[e.itemLabel] : ""
2920
- ), K = y(
3137
+ ), A = g(
3138
+ () => m.value ? m.value[e.itemLabel] : ""
3139
+ ), P = g(
2921
3140
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
2922
3141
  );
2923
- function D(f) {
2924
- o.value = f, F();
3142
+ function N(u) {
3143
+ l.value = u, Q();
2925
3144
  }
2926
- function g() {
2927
- K.value && (D(e.emptyValue), le());
3145
+ function $() {
3146
+ P.value && (N(e.emptyValue), ae());
2928
3147
  }
2929
- function B(f) {
2930
- var q, z, U;
2931
- !((q = c.value) != null && q.contains(f.relatedTarget)) && !((U = (z = d.value) == null ? void 0 : z.fieldRef) != null && U.contains(f.relatedTarget)) && F();
3148
+ function V(u) {
3149
+ var q, O, H;
3150
+ !((q = c.value) != null && q.contains(u.relatedTarget)) && !((H = (O = r.value) == null ? void 0 : O.fieldRef) != null && H.contains(u.relatedTarget)) && Q();
2932
3151
  }
2933
- function M() {
2934
- s.value || (l("before-show"), s.value = !0);
3152
+ function D() {
3153
+ s.value || (o("before-show"), s.value = !0);
2935
3154
  }
2936
- function F() {
2937
- s.value && (l("before-hide"), s.value = !1);
3155
+ function Q() {
3156
+ s.value && (o("before-hide"), s.value = !1);
2938
3157
  }
2939
- function ee() {
2940
- e.readonly || e.disabled || (s.value ? F() : M());
3158
+ function j() {
3159
+ e.readonly || e.disabled || (s.value ? Q() : D());
2941
3160
  }
2942
3161
  let te;
2943
- function x(f) {
2944
- if (!(!f.key || e.readonly || e.disabled)) {
2945
- if (window.clearTimeout(te), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(f.key) && (f.preventDefault(), f.stopPropagation()), ["Enter", " "].includes(f.key) && (s.value = !0), ["Escape", "Tab"].includes(f.key) && (s.value ? s.value = !1 : K.value && f.key === "Escape" && g()), f.key === "Delete" && e.clearable && g(), /^[a-z]$/i.test(f.key)) {
2946
- a.value += f.key.toLowerCase();
3162
+ function S(u) {
3163
+ if (!(!u.key || e.readonly || e.disabled)) {
3164
+ if (window.clearTimeout(te), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(u.key) && (u.preventDefault(), u.stopPropagation()), ["Enter", " "].includes(u.key) && (s.value = !0), ["Escape", "Tab"].includes(u.key) && (s.value ? s.value = !1 : P.value && u.key === "Escape" && $()), u.key === "Delete" && e.clearable && $(), /^[a-z]$/i.test(u.key)) {
3165
+ a.value += u.key.toLowerCase();
2947
3166
  for (let q = 0; q < e.items.length; q++)
2948
3167
  if (e.items[q][e.itemLabel].toLowerCase().startsWith(a.value)) {
2949
- b(q);
3168
+ k(q);
2950
3169
  break;
2951
3170
  }
2952
3171
  }
@@ -2956,36 +3175,36 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2956
3175
  }
2957
3176
  }
2958
3177
  function E() {
2959
- var f;
2960
- e.loading ? (f = c.value) == null || f.focus() : ce(), l("show");
3178
+ var u;
3179
+ e.loading ? (u = c.value) == null || u.focus() : ce(), o("show");
2961
3180
  }
2962
- function P() {
2963
- le(), l("hide");
3181
+ function R() {
3182
+ ae(), o("hide");
2964
3183
  }
2965
- function le() {
2966
- var f, q;
2967
- (q = (f = d.value) == null ? void 0 : f.fieldRef) == null || q.focus();
3184
+ function ae() {
3185
+ var u, q;
3186
+ (q = (u = r.value) == null ? void 0 : u.fieldRef) == null || q.focus();
2968
3187
  }
2969
3188
  function ce() {
2970
- var f;
2971
- (f = i.value) == null || f.$el.focus();
3189
+ var u;
3190
+ (u = i.value) == null || u.$el.focus();
2972
3191
  }
2973
- function b(f) {
3192
+ function k(u) {
2974
3193
  var q;
2975
- (q = i.value) == null || q.focusItem(f);
3194
+ (q = i.value) == null || q.focusItem(u);
2976
3195
  }
2977
- return ne(
3196
+ return Y(
2978
3197
  () => e.loading,
2979
- (f) => {
2980
- !f && s.value && oe(ce);
3198
+ (u) => {
3199
+ !u && s.value && le(ce);
2981
3200
  }
2982
- ), (f, q) => {
2983
- var z, U;
2984
- return u(), m(R, null, [
2985
- O(h(Se), X({
3201
+ ), (u, q) => {
3202
+ var O, H;
3203
+ return d(), h(W, null, [
3204
+ U(y(Se), Z({
2986
3205
  id: e.id,
2987
3206
  ref_key: "triggerEl",
2988
- ref: d,
3207
+ ref: r,
2989
3208
  label: e.label,
2990
3209
  required: e.required,
2991
3210
  role: "combobox",
@@ -2994,8 +3213,7 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
2994
3213
  "q-select",
2995
3214
  {
2996
3215
  "q-select--readonly": e.readonly,
2997
- "q-select--disabled": e.disabled,
2998
- "q-select--expanded": s.value
3216
+ "q-select--disabled": e.disabled
2999
3217
  },
3000
3218
  e.class
3001
3219
  ],
@@ -3005,27 +3223,19 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
3005
3223
  "aria-expanded": s.value,
3006
3224
  "aria-haspopup": "listbox",
3007
3225
  size: e.size
3008
- }, f.$attrs, {
3009
- onClick: ee,
3010
- onKeydown: re(x, ["stop"])
3011
- }), ye({
3226
+ }, u.$attrs, {
3227
+ onClick: j,
3228
+ onKeydown: ne(S, ["stop"])
3229
+ }), pe({
3012
3230
  append: _(() => [
3013
- p(f.$slots, "append"),
3014
- K.value && o.value ? (u(), I(h(ae), {
3231
+ p(u.$slots, "append"),
3232
+ P.value && l.value ? (d(), C(y(wt), {
3015
3233
  key: 0,
3016
- class: "q-select__clear",
3017
- "aria-label": e.texts.clearValue,
3018
- "b-style": "plain",
3019
- borderless: "",
3020
- tabindex: "-1",
3021
- onClick: g
3022
- }, {
3023
- default: _(() => [
3024
- O(h(N), J(se(e.icons.clear)), null, 16)
3025
- ]),
3026
- _: 1
3027
- }, 8, ["aria-label"])) : $("", !0),
3028
- e.readonly ? $("", !0) : (u(), I(h(ae), {
3234
+ icons: e.icons,
3235
+ texts: e.texts,
3236
+ onClick: $
3237
+ }, null, 8, ["icons", "texts"])) : w("", !0),
3238
+ e.readonly ? w("", !0) : (d(), C(y(re), {
3029
3239
  key: 1,
3030
3240
  class: "q-select__chevron",
3031
3241
  "aria-label": e.texts.showOptions,
@@ -3033,135 +3243,125 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
3033
3243
  borderless: "",
3034
3244
  tabindex: "-1",
3035
3245
  disabled: e.disabled,
3036
- onClick: ee
3246
+ onClick: j
3037
3247
  }, {
3038
3248
  default: _(() => [
3039
- O(h(N), J(se(e.icons.chevron)), null, 16)
3249
+ U(y(xe), {
3250
+ "model-value": s.value,
3251
+ icons: e.icons
3252
+ }, null, 8, ["model-value", "icons"])
3040
3253
  ]),
3041
3254
  _: 1
3042
3255
  }, 8, ["aria-label", "disabled"]))
3043
3256
  ]),
3044
3257
  default: _(() => [
3045
- v.value ? (u(), m("span", wo, [
3046
- !e.readonly && !e.disabled ? (u(), m(R, { key: 0 }, [
3047
- de(Q(e.texts.placeholder), 1)
3048
- ], 64)) : $("", !0)
3049
- ])) : (u(), m("span", ko, Q(H.value), 1))
3258
+ b.value ? (d(), h("span", Rl, [
3259
+ !e.readonly && !e.disabled ? (d(), h(W, { key: 0 }, [
3260
+ ie(z(e.texts.placeholder), 1)
3261
+ ], 64)) : w("", !0)
3262
+ ])) : (d(), h("span", Nl, z(A.value), 1))
3050
3263
  ]),
3051
3264
  _: 2
3052
3265
  }, [
3053
- (z = k.value) != null && z.icon || f.$slots.prepend ? {
3266
+ (O = m.value) != null && O.icon || u.$slots.prepend ? {
3054
3267
  name: "prepend",
3055
3268
  fn: _(() => {
3056
- var Y, W;
3269
+ var J, ee;
3057
3270
  return [
3058
- p(f.$slots, "prepend"),
3059
- (Y = k.value) != null && Y.icon ? (u(), I(h(N), J(X({ key: 0 }, (W = k.value) == null ? void 0 : W.icon)), null, 16)) : $("", !0)
3271
+ p(u.$slots, "prepend"),
3272
+ (J = m.value) != null && J.icon ? (d(), C(y(X), se(Z({ key: 0 }, (ee = m.value) == null ? void 0 : ee.icon)), null, 16)) : w("", !0)
3060
3273
  ];
3061
3274
  }),
3062
3275
  key: "0"
3063
3276
  } : void 0,
3064
- f.$slots.extras ? {
3277
+ u.$slots.extras ? {
3065
3278
  name: "extras",
3066
3279
  fn: _(() => [
3067
- p(f.$slots, "extras")
3280
+ p(u.$slots, "extras")
3068
3281
  ]),
3069
3282
  key: "1"
3070
3283
  } : void 0
3071
3284
  ]), 1040, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size"]),
3072
- O(h(pe), {
3285
+ U(y(me), {
3073
3286
  modelValue: s.value,
3074
- "onUpdate:modelValue": q[0] || (q[0] = (Y) => s.value = Y),
3287
+ "onUpdate:modelValue": q[0] || (q[0] = (J) => s.value = J),
3075
3288
  spy: "",
3076
3289
  trigger: "manual",
3077
3290
  placement: "bottom-start",
3078
3291
  width: "anchor",
3079
3292
  "scroll-lock": "",
3080
- anchor: (U = d.value) == null ? void 0 : U.$el,
3293
+ anchor: (H = r.value) == null ? void 0 : H.$el,
3081
3294
  offset: 2,
3082
3295
  onEnter: E,
3083
- onLeave: P
3296
+ onLeave: R
3084
3297
  }, {
3085
3298
  default: _(() => [
3086
- w("div", {
3299
+ x("div", {
3087
3300
  ref_key: "contentRef",
3088
3301
  ref: c,
3089
3302
  "data-testid": "combobox-dropdown",
3090
3303
  "data-key": e.id,
3091
3304
  class: "q-select__body",
3092
3305
  tabindex: "-1",
3093
- onFocusout: B,
3094
- onKeydown: re(x, ["stop"])
3306
+ onFocusout: V,
3307
+ onKeydown: ne(S, ["stop"])
3095
3308
  }, [
3096
- p(f.$slots, "body.prepend"),
3097
- e.loading ? (u(), m("div", xo, [
3098
- O(h(ke), { size: 24 })
3099
- ])) : (u(), I(h(Ie), {
3309
+ p(u.$slots, "body.prepend"),
3310
+ e.loading ? (d(), h("div", Hl, [
3311
+ U(y($e), { size: 24 })
3312
+ ])) : (d(), C(y(Be), {
3100
3313
  key: 1,
3101
3314
  ref_key: "listRef",
3102
3315
  ref: i,
3103
3316
  class: "q-select__items",
3104
3317
  selectable: "",
3105
- "model-value": o.value,
3318
+ "model-value": l.value,
3106
3319
  items: e.items,
3107
- groups: f.groups,
3320
+ groups: u.groups,
3108
3321
  "item-label": e.itemLabel,
3109
3322
  "item-value": e.itemValue,
3110
- "onUpdate:modelValue": D
3323
+ "onUpdate:modelValue": N
3111
3324
  }, {
3112
- item: _(({ item: Y }) => [
3113
- p(f.$slots, "item", { item: Y })
3325
+ item: _(({ item: J }) => [
3326
+ p(u.$slots, "item", { item: J })
3114
3327
  ]),
3115
3328
  _: 3
3116
3329
  }, 8, ["model-value", "items", "groups", "item-label", "item-value"])),
3117
- p(f.$slots, "body.append")
3118
- ], 40, qo)
3330
+ p(u.$slots, "body.append")
3331
+ ], 40, Gl)
3119
3332
  ]),
3120
3333
  _: 3
3121
3334
  }, 8, ["modelValue", "anchor"])
3122
3335
  ], 64);
3123
3336
  };
3124
3337
  }
3125
- }), Io = C(Lo), So = /* @__PURE__ */ S({
3338
+ }), Wl = L(Kl), jl = /* @__PURE__ */ I({
3126
3339
  __name: "QSkeletonLoader",
3127
3340
  props: {
3128
- type: { default: void 0 },
3129
- width: { default: void 0 },
3130
- height: { default: void 0 }
3341
+ type: {},
3342
+ width: {},
3343
+ height: {}
3131
3344
  },
3132
3345
  setup(n) {
3133
- const t = n, e = y(() => t.type ? `q-skeleton-loader--${t.type}` : void 0), l = y(() => {
3134
- const o = typeof t.width == "number" ? `${t.width}px` : t.width, s = typeof t.height == "number" ? `${t.height}px` : t.height;
3346
+ const t = n, e = g(() => t.type ? `q-skeleton-loader--${t.type}` : void 0), o = g(() => {
3347
+ const l = typeof t.width == "number" ? `${t.width}px` : t.width, s = typeof t.height == "number" ? `${t.height}px` : t.height;
3135
3348
  return {
3136
- width: o,
3349
+ width: l,
3137
3350
  height: s
3138
3351
  };
3139
3352
  });
3140
- return (o, s) => (u(), m("div", {
3141
- class: A(["q-skeleton-loader", e.value]),
3142
- style: fe(l.value)
3353
+ return (l, s) => (d(), h("div", {
3354
+ class: T(["q-skeleton-loader", e.value]),
3355
+ style: ue(o.value)
3143
3356
  }, s[0] || (s[0] = [
3144
- w("div", { class: "q-skeleton-loader__bone" }, null, -1)
3357
+ x("div", { class: "q-skeleton-loader__bone" }, null, -1)
3145
3358
  ]), 6));
3146
3359
  }
3147
- }), Bo = C(So), Co = /* @__PURE__ */ S({
3148
- __name: "QThemeProvider",
3149
- props: {
3150
- theme: {}
3151
- },
3152
- setup(n) {
3153
- const t = n;
3154
- return (e, l) => (u(), m("div", {
3155
- class: A(["q-theme-provider", `q-theme--${t.theme}`])
3156
- }, [
3157
- p(e.$slots, "default")
3158
- ], 2));
3159
- }
3160
- }), Vo = C(Co), To = ["innerHTML"], Ao = /* @__PURE__ */ S({
3360
+ }), Xl = L(jl), Yl = ["innerHTML"], Zl = /* @__PURE__ */ I({
3161
3361
  __name: "QTooltip",
3162
3362
  props: /* @__PURE__ */ G({
3163
- id: { default: void 0 },
3164
- anchor: { default: void 0 },
3363
+ id: {},
3364
+ anchor: {},
3165
3365
  appearance: { default: "inverted" },
3166
3366
  arrow: { type: Boolean, default: !0 },
3167
3367
  attach: { default: "body" },
@@ -3171,22 +3371,22 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
3171
3371
  html: { type: Boolean, default: !0 },
3172
3372
  placement: { default: "right" },
3173
3373
  text: {},
3174
- icon: { default: void 0 },
3374
+ icon: {},
3175
3375
  trigger: { default: "hover" },
3176
- class: { default: void 0 }
3376
+ class: {}
3177
3377
  }, {
3178
3378
  modelValue: { type: Boolean },
3179
3379
  modelModifiers: {}
3180
3380
  }),
3181
3381
  emits: ["update:modelValue"],
3182
3382
  setup(n) {
3183
- const t = n, e = j(n, "modelValue"), l = ue(t.id);
3184
- return (o, s) => (u(), m(R, null, [
3185
- p(o.$slots, "anchor", {
3186
- props: { "aria-describedby": h(l) }
3383
+ const t = n, e = K(n, "modelValue"), o = de(t.id);
3384
+ return (l, s) => (d(), h(W, null, [
3385
+ p(l.$slots, "anchor", {
3386
+ props: { "aria-describedby": y(o) }
3187
3387
  }),
3188
- O(h(pe), {
3189
- id: h(l),
3388
+ U(y(me), {
3389
+ id: y(o),
3190
3390
  "model-value": e.value,
3191
3391
  anchor: t.anchor,
3192
3392
  role: "tooltip",
@@ -3195,20 +3395,20 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
3195
3395
  arrow: t.arrow,
3196
3396
  attach: t.attach,
3197
3397
  inline: t.inline,
3198
- class: A(["q-tooltip", t.class]),
3398
+ class: T(["q-tooltip", t.class]),
3199
3399
  delay: t.delay,
3200
3400
  disabled: t.disabled,
3201
3401
  placement: t.placement,
3202
3402
  trigger: t.trigger
3203
3403
  }, {
3204
3404
  default: _(() => [
3205
- p(o.$slots, "default", {}, () => [
3206
- t.icon ? (u(), I(h(N), J(X({ key: 0 }, t.icon)), null, 16)) : $("", !0),
3207
- t.html ? (u(), m("span", {
3405
+ p(l.$slots, "default", {}, () => [
3406
+ t.icon ? (d(), C(y(X), se(Z({ key: 0 }, t.icon)), null, 16)) : w("", !0),
3407
+ t.html ? (d(), h("span", {
3208
3408
  key: 1,
3209
3409
  innerHTML: t.text
3210
- }, null, 8, To)) : (u(), m(R, { key: 2 }, [
3211
- de(Q(t.text), 1)
3410
+ }, null, 8, Yl)) : (d(), h(W, { key: 2 }, [
3411
+ ie(z(t.text), 1)
3212
3412
  ], 64))
3213
3413
  ])
3214
3414
  ]),
@@ -3216,131 +3416,84 @@ const dl = ["role"], ul = /* @__PURE__ */ S({
3216
3416
  }, 8, ["id", "model-value", "anchor", "appearance", "arrow", "attach", "inline", "class", "delay", "disabled", "placement", "trigger"])
3217
3417
  ], 64));
3218
3418
  }
3219
- }), Eo = C(Ao), Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3419
+ }), Jl = L(Zl), es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3220
3420
  __proto__: null,
3221
- QAccordion: Vt,
3222
- QBadge: Zt,
3223
- QButton: ae,
3224
- QButtonGroup: rt,
3225
- QButtonToggle: tn,
3226
- QCard: dt,
3227
- QCheckbox: gn,
3228
- QCollapsible: Bn,
3229
- QCombobox: Ll,
3230
- QDialog: Ol,
3231
- QDropdownMenu: Rl,
3421
+ QAccordion: Pt,
3422
+ QBadge: dn,
3423
+ QButton: re,
3424
+ QButtonGroup: vt,
3425
+ QButtonToggle: fn,
3426
+ QCard: yt,
3427
+ QCheckbox: Sn,
3428
+ QCollapsible: On,
3429
+ QColorPicker: Jn,
3430
+ QCombobox: Ko,
3431
+ QDialog: al,
3432
+ QDropdownMenu: ul,
3232
3433
  QField: Se,
3233
- QIcon: N,
3234
- QIconFont: ot,
3235
- QIconImg: st,
3236
- QIconSvg: at,
3237
- QInputGroup: Xl,
3238
- QLineLoader: Zl,
3239
- QList: Ie,
3240
- QListItem: ut,
3241
- QListItemGroup: ct,
3242
- QOverlay: pe,
3243
- QPopover: oo,
3244
- QPropertyList: go,
3245
- QPropertyListGroup: vt,
3246
- QPropertyListPanel: yt,
3247
- QPropertyListRow: ht,
3248
- QSelect: Io,
3249
- QSkeletonLoader: Bo,
3250
- QSpinnerLoader: ke,
3251
- QTextField: ft,
3252
- QThemeProvider: Vo,
3253
- QTooltip: Eo
3254
- }, Symbol.toStringTag, { value: "Module" })), $e = "q-theme";
3255
- function Qo() {
3256
- const n = ze($e);
3257
- if (!n)
3258
- throw new Error("[Quidgest UI] Could not find theme instance");
3259
- return n;
3260
- }
3261
- function Ro(n) {
3262
- const t = Qo(), e = {
3263
- activeTheme: V(n),
3264
- themes: t.themes
3265
- };
3266
- return Me($e, e), e;
3267
- }
3268
- function Mo() {
3269
- let n = document.getElementById(
3270
- $e
3271
- );
3272
- return n || (n = document.createElement("style"), n.id = $e, document.head.appendChild(n)), n;
3273
- }
3274
- function zo(n) {
3275
- let t = "";
3276
- for (const l of n) {
3277
- t += `.q-theme--${l.name} {
3278
- `;
3279
- const o = l.scheme;
3280
- let s;
3281
- for (s in o) {
3282
- const a = o[s];
3283
- if (a) {
3284
- t += ` ${Ze(s)}: ${a};
3285
- `;
3286
- const d = it(a);
3287
- t += ` ${Ze(s)}-rgb: ${d.r} ${d.g} ${d.b};
3288
- `;
3289
- }
3290
- }
3291
- t += `}
3292
- `;
3293
- }
3294
- const e = Mo();
3295
- e.textContent = t;
3296
- }
3297
- function Ze(n) {
3298
- return n ? `--q-theme-${lt(n)}` : "";
3299
- }
3300
- function Oo(n = {}) {
3434
+ QIcon: X,
3435
+ QIconFont: ut,
3436
+ QIconImg: ft,
3437
+ QIconSvg: pt,
3438
+ QInputGroup: yl,
3439
+ QLineLoader: gl,
3440
+ QList: Be,
3441
+ QListItem: bt,
3442
+ QListItemGroup: gt,
3443
+ QOverlay: me,
3444
+ QPopover: xl,
3445
+ QPropertyList: Ol,
3446
+ QPropertyListGroup: It,
3447
+ QPropertyListPanel: Lt,
3448
+ QPropertyListRow: Ct,
3449
+ QSelect: Wl,
3450
+ QSkeletonLoader: Xl,
3451
+ QSpinnerLoader: $e,
3452
+ QTextField: Re,
3453
+ QThemeProvider: kt,
3454
+ QTooltip: Jl
3455
+ }, Symbol.toStringTag, { value: "Module" }));
3456
+ function ts(n = {}) {
3301
3457
  return { install: (e) => {
3302
- const l = n.components || {};
3303
- for (const s in l)
3304
- e.component(s, l[s]);
3305
- const o = n.defaults || {};
3306
- e.provide(Pe, V(o)), Fo(e, n.themes);
3458
+ const o = n.components || {};
3459
+ for (const s in o)
3460
+ e.component(s, o[s]);
3461
+ const l = n.defaults || {};
3462
+ e.provide(Pe, B(l)), ns(e, n.themes);
3307
3463
  } };
3308
3464
  }
3309
- function Fo(n, t) {
3465
+ function ns(n, t) {
3310
3466
  const e = [];
3311
- let l;
3467
+ let o;
3312
3468
  if (!t)
3313
- l = "default", e.push({
3314
- name: l,
3469
+ o = "default", e.push({
3470
+ name: o,
3315
3471
  mode: "light",
3316
- scheme: De
3472
+ scheme: Qe
3317
3473
  });
3318
3474
  else
3319
- for (const o of t.themes) {
3320
- const a = { ...o.mode === "light" ? De : et, ...o.colors };
3475
+ for (const l of t.themes) {
3476
+ const a = { ...l.mode === "light" ? Qe : it, ...l.colors };
3321
3477
  e.push({
3322
- name: o.name,
3323
- mode: o.mode,
3478
+ name: l.name,
3479
+ mode: l.mode,
3324
3480
  scheme: a
3325
- }), o.name === t.defaultTheme && (l = o.name);
3481
+ }), l.name === t.defaultTheme && (o = l.name);
3326
3482
  }
3327
- if (l) {
3328
- const o = {
3329
- activeTheme: V(l),
3330
- themes: e
3331
- };
3332
- zo(e), ne(o.activeTheme, Po, { immediate: !0 }), n.provide($e, o);
3483
+ if (o) {
3484
+ const l = B(o), s = _t(l, e);
3485
+ Co(e), Y(s.name, os, { immediate: !0 }), n.provide(Ke, s);
3333
3486
  }
3334
3487
  }
3335
- function Po(n) {
3336
- const t = document.documentElement, l = Array.from(t.classList).filter((o) => !o.startsWith("q-theme"));
3337
- t.className = l.join(" "), t.classList.add(`q-theme--${n}`);
3488
+ function os(n) {
3489
+ const t = document.documentElement, o = Array.from(t.classList).filter((l) => !l.startsWith("q-theme"));
3490
+ t.className = o.join(" "), t.classList.add(`q-theme--${n}`);
3338
3491
  }
3339
- const Go = (n = {}) => Oo({ components: Do, ...n });
3492
+ const as = (n = {}) => ts({ components: es, ...n });
3340
3493
  export {
3341
- Do as components,
3342
- Go as createFramework,
3343
- Ro as provideTheme,
3344
- No as templates,
3345
- Qo as useTheme
3494
+ es as components,
3495
+ as as createFramework,
3496
+ Io as provideTheme,
3497
+ ss as templates,
3498
+ $t as useTheme
3346
3499
  };