@quidgest/ui 0.28.0 → 0.29.0

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 (203) hide show
  1. package/CHANGELOG.md +51 -8
  2. package/README.md +19 -0
  3. package/dist/json/api.json +1517 -86
  4. package/dist/manifest/components.json +0 -1
  5. package/dist/ui.css +59 -68
  6. package/dist/ui.esm.js +1031 -1043
  7. package/dist/ui.js +1000 -1013
  8. package/dist/ui.min.css +1 -1
  9. package/dist/ui.min.js +1000 -1013
  10. package/dist/ui.scss +83 -27
  11. package/esm/components/QAccordion/QAccordion.d.ts +3 -3
  12. package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
  13. package/esm/components/QAccordion/QAccordion.vue.js +33 -30
  14. package/esm/components/QAccordion/QAccordionItem.d.ts +4 -1
  15. package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -1
  16. package/esm/components/QAccordion/QAccordionItem.vue.js +37 -6
  17. package/esm/components/QAccordion/index.d.ts +20 -11
  18. package/esm/components/QAccordion/index.d.ts.map +1 -1
  19. package/esm/components/QAvatar/QAvatar.d.ts.map +1 -1
  20. package/esm/components/QAvatar/QAvatar.vue.js +19 -12
  21. package/esm/components/QAvatar/types.d.ts +2 -1
  22. package/esm/components/QAvatar/types.d.ts.map +1 -1
  23. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  24. package/esm/components/QBadge/QBadge.vue.js +36 -37
  25. package/esm/components/QButtonGroup/QButtonGroup.vue.js +18 -18
  26. package/esm/components/QCarousel/QCarousel.d.ts +1 -1
  27. package/esm/components/QCarousel/QCarousel.d.ts.map +1 -1
  28. package/esm/components/QCarousel/QCarousel.vue.js +99 -95
  29. package/esm/components/QCarousel/constants.d.ts +1 -0
  30. package/esm/components/QCarousel/constants.d.ts.map +1 -1
  31. package/esm/components/QCarousel/constants.js +2 -1
  32. package/esm/components/QCarousel/index.d.ts +3 -3
  33. package/esm/components/QCheckbox/QCheckbox.d.ts +0 -2
  34. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  35. package/esm/components/QCheckbox/QCheckbox.vue.js +33 -36
  36. package/esm/components/QCheckbox/index.d.ts +0 -1
  37. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  38. package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
  39. package/esm/components/QColorPicker/QColorPicker.vue.js +1 -2
  40. package/esm/components/QCombobox/QCombobox.d.ts +9 -0
  41. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  42. package/esm/components/QCombobox/QCombobox.vue.js +142 -134
  43. package/esm/components/QCombobox/index.d.ts +10 -0
  44. package/esm/components/QCombobox/index.d.ts.map +1 -1
  45. package/esm/components/QCombobox/types.d.ts +8 -0
  46. package/esm/components/QCombobox/types.d.ts.map +1 -1
  47. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  48. package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +199 -219
  49. package/esm/components/QDialog/QDialog.d.ts +1 -1
  50. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  51. package/esm/components/QDialog/QDialog.vue.js +4 -4
  52. package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
  53. package/esm/components/QDialog/index.d.ts +6 -6
  54. package/esm/components/QDialog/types.d.ts +3 -3
  55. package/esm/components/QDialog/types.d.ts.map +1 -1
  56. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +8 -0
  57. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  58. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +136 -124
  59. package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
  60. package/esm/components/QFileUpload/QFileUpload.vue.js +82 -79
  61. package/esm/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
  62. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  63. package/esm/components/QIcon/QSvgSymbol.d.ts.map +1 -1
  64. package/esm/components/QIcon/QSvgSymbol.vue.js +31 -31
  65. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  66. package/esm/components/QInputGroup/QInputGroup.vue.js +67 -41
  67. package/esm/components/QInputGroup/types.d.ts +15 -1
  68. package/esm/components/QInputGroup/types.d.ts.map +1 -1
  69. package/esm/components/QList/QList.d.ts +6 -0
  70. package/esm/components/QList/QList.d.ts.map +1 -1
  71. package/esm/components/QList/QList.vue.js +4 -1
  72. package/esm/components/QList/QListItem.d.ts +6 -2
  73. package/esm/components/QList/QListItem.d.ts.map +1 -1
  74. package/esm/components/QList/QListItem.vue.js +54 -41
  75. package/esm/components/QList/index.d.ts +6 -1
  76. package/esm/components/QList/index.d.ts.map +1 -1
  77. package/esm/components/QList/types.d.ts +16 -0
  78. package/esm/components/QList/types.d.ts.map +1 -1
  79. package/esm/components/QOverflow/QOverflow.d.ts +6 -1
  80. package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
  81. package/esm/components/QOverflow/QOverflow.vue.js +90 -95
  82. package/esm/components/QOverflow/index.d.ts +3 -3
  83. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  84. package/esm/components/QOverlay/QOverlay.vue.js +125 -117
  85. package/esm/components/QOverlay/types.d.ts +9 -2
  86. package/esm/components/QOverlay/types.d.ts.map +1 -1
  87. package/esm/components/QPasswordField/QPasswordField.d.ts +1 -0
  88. package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
  89. package/esm/components/QPasswordField/QPasswordField.vue.js +5 -0
  90. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +1 -0
  91. package/esm/components/QPasswordField/index.d.ts +6 -0
  92. package/esm/components/QPasswordField/index.d.ts.map +1 -1
  93. package/esm/components/QPasswordField/types.d.ts +10 -0
  94. package/esm/components/QPasswordField/types.d.ts.map +1 -1
  95. package/esm/components/QPhoneField/QPhoneField.d.ts +184 -18
  96. package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
  97. package/esm/components/QPhoneField/index.d.ts +92 -9
  98. package/esm/components/QPhoneField/index.d.ts.map +1 -1
  99. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  100. package/esm/components/QPropertyList/QPropertyList.vue.js +62 -60
  101. package/esm/components/QPropertyList/QPropertyListRow.vue.js +2 -2
  102. package/esm/components/QPropertyList/index.d.ts.map +1 -1
  103. package/esm/components/QRadioGroup/QRadioButton.vue.js +2 -2
  104. package/esm/components/QRadioGroup/QRadioGroup.vue.js +46 -46
  105. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
  106. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +7 -7
  107. package/esm/components/QRemoveScrollBar/utils/gap.d.ts +0 -6
  108. package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -1
  109. package/esm/components/QRemoveScrollBar/utils/gap.js +12 -18
  110. package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts +11 -0
  111. package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts.map +1 -1
  112. package/esm/components/QRemoveScrollBar/utils/stylesheet.js +5 -5
  113. package/esm/components/QSelect/QSelect.d.ts +157 -0
  114. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  115. package/esm/components/QSelect/QSelect.vue.js +240 -212
  116. package/esm/components/QSelect/index.d.ts +84 -0
  117. package/esm/components/QSelect/index.d.ts.map +1 -1
  118. package/esm/components/QSelect/types.d.ts +8 -0
  119. package/esm/components/QSelect/types.d.ts.map +1 -1
  120. package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
  121. package/esm/components/QSidebar/QSidebar.vue.js +1 -2
  122. package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
  123. package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
  124. package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
  125. package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
  126. package/esm/components/QSidebar/QSidebarPanel.vue.js +5 -5
  127. package/esm/components/QSidebar/context.d.ts +3 -3
  128. package/esm/components/QSidebar/context.d.ts.map +1 -1
  129. package/esm/components/QSteps/QSteps.d.ts +4 -4
  130. package/esm/components/QSteps/QSteps.d.ts.map +1 -1
  131. package/esm/components/QSteps/QSteps.vue.js +9 -15
  132. package/esm/components/QSteps/index.d.ts +2 -2
  133. package/esm/components/QSteps/types.d.ts +2 -1
  134. package/esm/components/QSteps/types.d.ts.map +1 -1
  135. package/esm/components/QTabs/QTab.d.ts.map +1 -1
  136. package/esm/components/QTabs/QTab.vue.js +2 -2
  137. package/esm/components/QTabs/QTabs.d.ts +4 -4
  138. package/esm/components/QTabs/QTabs.d.ts.map +1 -1
  139. package/esm/components/QTabs/QTabs.vue.js +86 -85
  140. package/esm/components/QTabs/context.d.ts +3 -3
  141. package/esm/components/QTabs/context.d.ts.map +1 -1
  142. package/esm/components/QTabs/index.d.ts +2 -2
  143. package/esm/components/QTextArea/QTextArea.d.ts +1 -1
  144. package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
  145. package/esm/components/QTextArea/QTextArea.vue.js +25 -24
  146. package/esm/components/QTextArea/index.d.ts +3 -3
  147. package/esm/components/QToast/QToast.d.ts.map +1 -1
  148. package/esm/components/QToast/QToast.vue.js +7 -4
  149. package/esm/components/QToast/QToaster.d.ts.map +1 -1
  150. package/esm/components/QToast/types.d.ts +3 -3
  151. package/esm/components/QToggleGroup/QToggleGroup.d.ts +3 -3
  152. package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
  153. package/esm/components/QToggleGroup/QToggleGroup.vue.js +34 -31
  154. package/esm/components/QToggleGroup/index.d.ts +8 -8
  155. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  156. package/esm/components/QTooltip/QTooltip.vue.js +1 -1
  157. package/esm/composables/defaults.d.ts +10 -0
  158. package/esm/composables/defaults.d.ts.map +1 -1
  159. package/esm/composables/defaults.js +8 -5
  160. package/esm/composables/useDialog/_internal.js +8 -11
  161. package/esm/composables/useDialog/index.js +1 -2
  162. package/esm/composables/useDialog/types.d.ts.map +1 -1
  163. package/esm/composables/useDropZone/index.d.ts +1 -11
  164. package/esm/composables/useDropZone/index.d.ts.map +1 -1
  165. package/esm/composables/useDropZone/index.js +23 -26
  166. package/esm/composables/useGroup/index.d.ts.map +1 -1
  167. package/esm/composables/useGroup/index.js +15 -15
  168. package/esm/composables/useOverlayScope/index.d.ts +29 -0
  169. package/esm/composables/useOverlayScope/index.d.ts.map +1 -0
  170. package/esm/composables/useOverlayScope/index.js +23 -0
  171. package/esm/composables/useTextareaAutosize/index.d.ts +3 -1
  172. package/esm/composables/useTextareaAutosize/index.d.ts.map +1 -1
  173. package/esm/composables/useTextareaAutosize/index.js +6 -6
  174. package/esm/composables/useToast/_internal.js +10 -15
  175. package/esm/composables/useToast/index.js +1 -2
  176. package/esm/composables/useToast/types.d.ts.map +1 -1
  177. package/esm/framework.js +14 -12
  178. package/esm/index.d.ts +1 -2
  179. package/esm/index.d.ts.map +1 -1
  180. package/esm/symbols/overlayScope.d.ts +4 -0
  181. package/esm/symbols/overlayScope.d.ts.map +1 -0
  182. package/esm/symbols/overlayScope.js +4 -0
  183. package/esm/types/component.d.ts +8 -0
  184. package/esm/types/component.d.ts.map +1 -1
  185. package/esm/types/index.d.ts +1 -1
  186. package/esm/types/index.d.ts.map +1 -1
  187. package/esm/utils/color/parse.d.ts.map +1 -1
  188. package/esm/utils/color/parse.js +3 -10
  189. package/esm/utils/date.d.ts +35 -13
  190. package/esm/utils/date.d.ts.map +1 -1
  191. package/esm/utils/date.js +313 -253
  192. package/esm/utils/mask.d.ts +1 -0
  193. package/esm/utils/mask.d.ts.map +1 -1
  194. package/esm/utils/mask.js +42 -100
  195. package/esm/utils/overlay.d.ts +13 -1
  196. package/esm/utils/overlay.d.ts.map +1 -1
  197. package/esm/utils/overlay.js +55 -41
  198. package/esm/utils/safeTriangle.d.ts.map +1 -1
  199. package/esm/utils/safeTriangle.js +2 -2
  200. package/esm/utils/setupPropsProxy.d.ts +3 -1
  201. package/esm/utils/setupPropsProxy.d.ts.map +1 -1
  202. package/esm/utils/setupPropsProxy.js +2 -2
  203. package/package.json +9 -6
@@ -1,46 +1,49 @@
1
- import { useGroup as e } from "../../composables/useGroup/index.js";
2
- import { useId as t } from "../../composables/useId/index.js";
3
- import { QIcon as n } from "../QIcon/index.js";
4
- import { QOverlay as r } from "../QOverlay/index.js";
5
- import { QPopover as i } from "../QPopover/index.js";
6
- import { QSpinnerLoader as a } from "../QSpinnerLoader/index.js";
7
- import { mergeDescribedBy as ee } from "../__internal__/QHelpPopover/resolveHelp.js";
8
- import { QButton as te } from "../QButton/index.js";
9
- import { QChevron as ne } from "../__internal__/QChevron/index.js";
10
- import { QBadge as o } from "../QBadge/index.js";
11
- import { QList as re } from "../QList/index.js";
12
- import { QField as ie } from "../QField/index.js";
13
- import { QClearButton as ae } from "../__internal__/QClearButton/index.js";
14
- import { DEFAULT_ICONS as s, DEFAULT_TEXTS as oe } from "./constants.js";
15
- import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as se, createSlots as ce, createTextVNode as p, createVNode as m, defineComponent as le, mergeModels as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeProps as y, onBeforeUnmount as ue, onMounted as de, openBlock as b, ref as fe, renderList as pe, renderSlot as x, toDisplayString as S, toRef as C, unref as w, useAttrs as me, useModel as he, useTemplateRef as T, vModelText as ge, watch as E, withCtx as D, withDirectives as _e, withModifiers as ve } from "vue";
1
+ import { useId as e } from "../../composables/useId/index.js";
2
+ import { QIcon as t } from "../QIcon/index.js";
3
+ import { QOverlay as n } from "../QOverlay/index.js";
4
+ import { QPopover as ee } from "../QPopover/index.js";
5
+ import { QSpinnerLoader as r } from "../QSpinnerLoader/index.js";
6
+ import { mergeDescribedBy as i } from "../__internal__/QHelpPopover/resolveHelp.js";
7
+ import { QButton as a } from "../QButton/index.js";
8
+ import { QChevron as o } from "../__internal__/QChevron/index.js";
9
+ import { QBadge as s } from "../QBadge/index.js";
10
+ import { QList as te } from "../QList/index.js";
11
+ import { QField as ne } from "../QField/index.js";
12
+ import { QClearButton as re } from "../__internal__/QClearButton/index.js";
13
+ import { DEFAULT_ICONS as c, DEFAULT_TEXTS as l } from "./constants.js";
14
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ie, createTextVNode as g, createVNode as _, defineComponent as ae, mergeModels as v, mergeProps as y, nextTick as b, normalizeClass as x, normalizeProps as oe, onBeforeUnmount as se, onMounted as ce, openBlock as S, ref as le, renderList as ue, renderSlot as C, toDisplayString as w, toRef as de, unref as T, useAttrs as fe, useModel as pe, useTemplateRef as E, vModelText as me, watch as D, withCtx as O, withDirectives as he, withModifiers as ge } from "vue";
16
15
  //#region src/components/QSelect/QSelect.vue?vue&type=script&setup=true&lang.ts
17
- var ye = {
16
+ var _e = {
18
17
  key: 0,
19
18
  ref: "valueContainer",
20
19
  class: "q-select__value-container"
21
- }, be = {
20
+ }, ve = {
22
21
  key: 1,
23
22
  class: "q-select__multi-value"
24
- }, xe = {
23
+ }, ye = {
24
+ key: 1,
25
+ ref: "separatorMeasure",
26
+ class: "q-select__separator-measure q-select__multi-value--hidden"
27
+ }, be = {
25
28
  key: 1,
26
29
  class: "q-select__value"
27
- }, Se = {
30
+ }, xe = {
28
31
  key: 1,
29
32
  class: "q-select__placeholder"
30
- }, Ce = [
33
+ }, Se = [
31
34
  "id",
32
35
  "aria-describedby",
33
36
  "tabindex",
34
37
  "aria-expanded",
35
38
  "aria-controls",
36
39
  "aria-keyshortcuts"
37
- ], we = ["data-key"], Te = {
40
+ ], Ce = ["data-key"], we = {
38
41
  key: 0,
39
42
  class: "q-select__loader"
40
- }, O = /*@__PURE__*/ le({
43
+ }, k = ", ", A = /*@__PURE__*/ ae({
41
44
  inheritAttrs: !1,
42
45
  __name: "QSelect",
43
- props: /*@__PURE__*/ h({
46
+ props: /*@__PURE__*/ v({
44
47
  id: {},
45
48
  class: {},
46
49
  label: {},
@@ -49,8 +52,8 @@ var ye = {
49
52
  labelPosition: {},
50
53
  help: {},
51
54
  helpDisplay: {},
52
- icons: { default: () => s },
53
- texts: { default: () => oe },
55
+ icons: { default: () => c },
56
+ texts: { default: () => l },
54
57
  size: {},
55
58
  readonly: { type: Boolean },
56
59
  disabled: { type: Boolean },
@@ -65,6 +68,7 @@ var ye = {
65
68
  default: !0
66
69
  },
67
70
  multiple: { type: Boolean },
71
+ overflow: { default: "wrap" },
68
72
  badges: { type: Boolean },
69
73
  loading: { type: Boolean },
70
74
  emptyValue: {},
@@ -79,75 +83,81 @@ var ye = {
79
83
  },
80
84
  openModifiers: {}
81
85
  }),
82
- emits: /*@__PURE__*/ h([
86
+ emits: /*@__PURE__*/ v([
83
87
  "before-show",
84
88
  "before-hide",
85
89
  "show",
86
90
  "hide"
87
91
  ], ["update:modelValue", "update:open"]),
88
- setup(s, { expose: oe, emit: le }) {
89
- let h = s, O = le, k = he(s, "modelValue"), A = t(C(h, "id")), j = me(), M = l(() => `${A.value}_input`), N = l(() => `${A.value}_listbox`), { active: P } = e({
90
- active: k,
91
- required: C(h, "required"),
92
- multiple: C(h, "multiple")
93
- }), F = he(s, "open"), I = fe(0), L = !0, R = T("trigger"), Ee = l(() => typeof j["aria-describedby"] == "string" ? j["aria-describedby"] : void 0), De = T("input"), Oe = T("list"), ke = T("content"), Ae = T("valueContainer"), je = T("allBadges"), Me = T("allPlainTexts"), Ne = T("hiddenItemsCountBadge"), z = null, B = null;
94
- function Pe() {
95
- B && clearTimeout(B), B = setTimeout(() => {
92
+ setup(c, { expose: l, emit: ae }) {
93
+ let v = c, A = ae, j = pe(c, "modelValue"), M = e(de(v, "id")), Te = fe(), N = d(() => `${M.value}_input`), Ee = d(() => `${M.value}_listbox`), P = pe(c, "open"), De = d(() => v.overflow === "fit-content" ? "auto" : "anchor"), F = le(0), I = !0, L = E("trigger"), Oe = d(() => typeof Te["aria-describedby"] == "string" ? Te["aria-describedby"] : void 0), ke = E("input"), Ae = E("list"), je = E("content"), Me = E("valueContainer"), Ne = E("allBadges"), Pe = E("allPlainTexts"), Fe = E("hiddenItemsCountBadge"), R = E("counterMeasure"), Ie = E("separatorMeasure"), z = null, B = /* @__PURE__ */ new Set(), V = null;
94
+ function Le() {
95
+ V && clearTimeout(V), V = setTimeout(() => {
96
96
  $();
97
97
  }, 120);
98
98
  }
99
- de(() => {
99
+ function Re(e) {
100
+ if (!z) return;
101
+ let t = new Set(e);
102
+ for (let e of B) t.has(e) || (z.unobserve(e), B.delete(e));
103
+ for (let e of t) B.has(e) || (z.observe(e), B.add(e));
104
+ }
105
+ ce(() => {
100
106
  $();
101
- let e = R.value?.fieldRef;
107
+ let e = L.value?.fieldRef;
102
108
  e && (z = new ResizeObserver(() => {
103
- Pe();
109
+ Le();
104
110
  }), z.observe(e));
105
- }), ue(() => {
106
- z?.disconnect(), B && clearTimeout(B);
111
+ }), se(() => {
112
+ z?.disconnect(), B.clear(), V && clearTimeout(V);
107
113
  });
108
- let V = l(() => H.value.length === 0), H = l(() => {
109
- if (h.multiple) return (k.value ?? []).map((e) => Ie(e)).filter((e) => !!e);
110
- let e = k.value === void 0 ? void 0 : Ie(k.value);
114
+ let H = d(() => U.value.length === 0), U = d(() => {
115
+ if (v.multiple) return (j.value ?? []).map((e) => Be(e)).filter((e) => !!e);
116
+ let e = j.value === void 0 ? void 0 : Be(j.value);
111
117
  return e ? [e] : [];
112
- }), Fe = l(() => {
118
+ }), ze = d(() => {
113
119
  let e = /* @__PURE__ */ new Map();
114
- return h.items?.forEach((t, n) => {
120
+ return v.items?.forEach((t, n) => {
115
121
  e.set(t.key, n);
116
122
  }), e;
117
- }), U = l(() => H.value?.map(G).filter(Boolean).join(", ")), W = l(() => h.clearable && !h.readonly && !h.disabled && !h.loading && !V.value);
118
- function Ie(e) {
119
- return h.items?.find((t) => t[h.itemValue] === e);
123
+ }), W = d(() => U.value?.map(K).filter(Boolean).join(", ")), G = d(() => v.clearable && !v.readonly && !v.disabled && !v.loading && !H.value);
124
+ function Be(e) {
125
+ return v.items?.find((t) => t[v.itemValue] === e);
120
126
  }
121
- function Le(e) {
122
- h.multiple && e < k.value.length && (!h.required || k.value.length > 1) ? P.value = k.value.toSpliced(e, 1) : q();
127
+ function Ve(e) {
128
+ let t = U.value[e]?.[v.itemValue];
129
+ q(j.value.filter((e) => e !== t));
123
130
  }
124
- function G(e) {
125
- return e?.[h.itemLabel] ?? "";
131
+ function K(e) {
132
+ return e?.[v.itemLabel] ?? "";
126
133
  }
127
- function Re(e) {
128
- return e + 1 < H.value.length - I.value ? ", " : "";
134
+ function He(e) {
135
+ return e + 1 < U.value.length - F.value ? k : "";
129
136
  }
130
- function K(e) {
131
- Array.isArray(e) ? k.value = e.sort((e, t) => Fe.value.get(e) - Fe.value.get(t)) : (k.value = e, Y());
137
+ function q(e) {
138
+ Array.isArray(e) ? j.value = e.sort((e, t) => ze.value.get(e) - ze.value.get(t)) : (j.value = e, Y());
132
139
  }
133
- function q() {
134
- K(h.emptyValue), Z();
140
+ function J() {
141
+ q(v.emptyValue), Z();
135
142
  }
136
- function ze(e) {
143
+ function Ue(e) {
137
144
  let t = e.relatedTarget;
138
- !ke.value?.contains(t) && !R.value?.fieldRef?.contains(t) && Y(!1);
145
+ !je.value?.contains(t) && !L.value?.fieldRef?.contains(t) && Y(!1);
139
146
  }
140
- function J() {
141
- F.value || h.readonly || h.disabled || (L = !0, O("before-show"), F.value = !0);
147
+ function We() {
148
+ P.value || v.readonly || v.disabled || (I = !0, A("before-show"), P.value = !0);
142
149
  }
143
150
  function Y(e = !0) {
144
- F.value &&= (L = e, O("before-hide"), !1);
151
+ P.value &&= (I = e, A("before-hide"), !1);
152
+ }
153
+ function Ge(e) {
154
+ P.value && (e.target?.closest("input, button, a, [tabindex]") || e.preventDefault());
145
155
  }
146
- function Be() {
147
- h.readonly || h.disabled || (F.value ? Y() : J());
156
+ function Ke() {
157
+ v.readonly || v.disabled || (P.value ? Y() : We());
148
158
  }
149
159
  function X(e) {
150
- !e.key || h.readonly || h.disabled || ([
160
+ !e.key || v.readonly || v.disabled || ([
151
161
  "Enter",
152
162
  " ",
153
163
  "ArrowDown",
@@ -159,100 +169,100 @@ var ye = {
159
169
  "Enter",
160
170
  " ",
161
171
  "ArrowDown"
162
- ].includes(e.key) && J(), ["Escape", "Tab"].includes(e.key) && (F.value ? Y(e.key !== "Tab") : W.value && e.key === "Escape" && q()), W.value && e.key === "Delete" && q());
172
+ ].includes(e.key) && We(), ["Escape", "Tab"].includes(e.key) && (P.value ? Y(e.key !== "Tab") : G.value && e.key === "Escape" && J()), G.value && e.key === "Delete" && J());
163
173
  }
164
- function Ve(e) {
174
+ function qe(e) {
165
175
  e.key.length === 1 && e.preventDefault(), X(e);
166
176
  }
167
- async function He() {
168
- await _(), h.loading ? ke.value?.focus() : Q(), O("show");
177
+ async function Je() {
178
+ await b(), v.loading ? je.value?.focus() : Q(), A("show");
169
179
  }
170
- function Ue() {
171
- L && Z(), L = !0, O("hide");
180
+ function Ye() {
181
+ I && Z(), I = !0, A("hide");
172
182
  }
173
183
  function Z() {
174
- De.value?.focus();
184
+ ke.value?.focus();
175
185
  }
176
186
  function Q() {
177
- Oe.value?.$el.focus();
187
+ Ae.value?.$el.focus();
178
188
  }
179
189
  async function $() {
180
- if (await _(), await _(), !h.multiple || !Ae.value || V.value) {
181
- I.value = 0;
190
+ if (await b(), await b(), !v.multiple || !Me.value || H.value) {
191
+ F.value = 0;
182
192
  return;
183
193
  }
184
- let e = Ae.value.offsetWidth, t = Ne.value?.$el.scrollWidth ?? 30, n = t, r = 0;
185
- if (h.badges) for (let i of je.value ?? []) {
186
- let a = i.$el.scrollWidth + 4;
187
- if (n + t + a <= e) n += a, r++;
188
- else break;
194
+ let e = Me.value, t = e.getBoundingClientRect().width, n = parseFloat(getComputedStyle(e).columnGap) || 0, ee = R.value?.$el.getBoundingClientRect().width ?? 0, r = v.badges ? (Ne.value ?? []).map((e) => e.$el) : Pe.value ?? [], i = r.map((e) => e.getBoundingClientRect().width), a = Ie.value?.getBoundingClientRect().width ?? 0;
195
+ if (Re(R.value ? [...r, R.value.$el] : r), i.reduce((e, t) => e + t, 0) + n * (i.length - 1) - a <= t) {
196
+ F.value = 0;
197
+ return;
189
198
  }
190
- else for (let i of Me.value ?? []) {
191
- let a = i.scrollWidth + 4;
192
- if (n + t + a <= e) n += a, r++;
193
- else break;
199
+ let o = ee, s = 0;
200
+ for (let e of i) {
201
+ if (o + n + e - a > t) break;
202
+ o += n + e, s++;
194
203
  }
195
- I.value = (h.badges ? je.value?.length ?? 0 : Me.value?.length ?? 0) - r;
204
+ F.value = i.length - s;
196
205
  }
197
- return E(() => h.loading, (e) => {
198
- !e && F.value && _(Q);
199
- }), E(() => h.badges, $), E(H, $, { deep: !0 }), E(() => h.clearable, $), E([
200
- F,
201
- () => h.readonly,
202
- () => h.disabled
206
+ return D(() => v.loading, (e) => {
207
+ !e && P.value && b(Q);
208
+ }), D(() => v.badges, $), D(U, $, { deep: !0 }), D(() => v.clearable, $), D([
209
+ P,
210
+ () => v.readonly,
211
+ () => v.disabled
203
212
  ], ([e, t, n]) => {
204
213
  e && (t || n) && Y(!1);
205
214
  }, {
206
215
  flush: "sync",
207
216
  immediate: !0
208
- }), E(P, K), oe({ focusList: Q }), (e, t) => (b(), f(c, null, [m(w(ie), {
209
- id: w(A),
217
+ }), l({ focusList: Q }), (e, l) => (S(), m(u, null, [_(T(ne), {
218
+ id: T(M),
210
219
  ref: "trigger",
211
- label: h.label,
212
- for: M.value,
213
- "label-position": h.labelPosition,
214
- required: h.required,
215
- class: v([
220
+ label: v.label,
221
+ for: N.value,
222
+ "label-position": v.labelPosition,
223
+ required: v.required,
224
+ class: x([
216
225
  "q-select",
217
226
  {
218
- "q-select--readonly": h.readonly,
219
- "q-select--disabled": h.disabled
227
+ "q-select--readonly": v.readonly,
228
+ "q-select--disabled": v.disabled
220
229
  },
221
- h.class
230
+ v.class
222
231
  ]),
223
- readonly: h.readonly,
224
- disabled: h.disabled,
225
- "data-loading": h.loading,
226
- size: h.size,
227
- invalid: h.invalid,
228
- help: h.help,
229
- "help-display": h.helpDisplay,
230
- icons: h.icons,
231
- texts: h.texts,
232
- onClick: Be,
232
+ readonly: v.readonly,
233
+ disabled: v.disabled,
234
+ "data-loading": v.loading,
235
+ size: v.size,
236
+ invalid: v.invalid,
237
+ help: v.help,
238
+ "help-display": v.helpDisplay,
239
+ icons: v.icons,
240
+ texts: v.texts,
241
+ onMousedown: Ge,
242
+ onClick: Ke,
233
243
  onKeydown: X
234
- }, ce({
235
- default: D(({ describedBy: r }) => [x(e.$slots, "value", {
236
- empty: V.value,
237
- items: H.value,
238
- value: k.value
239
- }, () => [V.value ? (b(), f("span", Se, [!h.readonly && !h.disabled ? (b(), f(c, { key: 0 }, [p(S(h.texts.placeholder), 1)], 64)) : d("v-if", !0)])) : (b(), f(c, { key: 0 }, [h.badges || h.multiple ? (b(), f("span", ye, [h.multiple ? (b(), f(c, { key: 0 }, [
240
- (b(!0), f(c, null, pe(H.value, (e, t) => (b(), f(c, { key: `visible-${t}` }, [t < H.value.length - I.value ? (b(), f(c, { key: 0 }, [h.badges ? (b(), u(w(o), {
244
+ }, ie({
245
+ default: O(({ describedBy: n }) => [C(e.$slots, "value", {
246
+ empty: H.value,
247
+ items: U.value,
248
+ value: j.value
249
+ }, () => [H.value ? (S(), m("span", xe, [!v.readonly && !v.disabled ? (S(), m(u, { key: 0 }, [g(w(v.texts.placeholder), 1)], 64)) : p("v-if", !0)])) : (S(), m(u, { key: 0 }, [v.badges || v.multiple ? (S(), m("span", _e, [v.multiple ? (S(), m(u, { key: 0 }, [
250
+ (S(!0), m(u, null, ue(U.value, (e, n) => (S(), m(u, { key: `visible-${n}` }, [n < U.value.length - F.value ? (S(), m(u, { key: 0 }, [v.badges ? (S(), f(T(s), {
241
251
  key: 0,
242
252
  pill: "",
243
253
  size: "small",
244
254
  focusable: !1,
245
- color: h.readonly || h.disabled ? "neutral" : void 0,
246
- disabled: h.readonly || h.disabled,
247
- removable: !h.readonly && !h.disabled && (!h.required || H.value.length > 1),
248
- icons: h.icons,
249
- texts: h.texts,
250
- "onClick:remove": () => Le(t)
255
+ color: v.readonly || v.disabled ? "neutral" : void 0,
256
+ disabled: v.readonly || v.disabled,
257
+ removable: !v.readonly && !v.disabled && (!v.required || U.value.length > 1),
258
+ icons: v.icons,
259
+ texts: v.texts,
260
+ "onClick:remove": () => Ve(n)
251
261
  }, {
252
- default: D(() => [e?.icon ? (b(), u(w(n), g({
262
+ default: O(() => [e?.icon ? (S(), f(T(t), y({
253
263
  key: 0,
254
264
  ref_for: !0
255
- }, e.icon), null, 16)) : d("v-if", !0), p(" " + S(G(e)), 1)]),
265
+ }, e.icon), null, 16)) : p("v-if", !0), g(" " + w(K(e)), 1)]),
256
266
  _: 2
257
267
  }, 1032, [
258
268
  "color",
@@ -261,131 +271,145 @@ var ye = {
261
271
  "icons",
262
272
  "texts",
263
273
  "onClick:remove"
264
- ])) : h.multiple ? (b(), f("span", be, S(G(e) + Re(t)), 1)) : d("v-if", !0)], 64)) : d("v-if", !0)], 64))), 128)),
265
- I.value > 0 ? (b(), f(c, { key: 0 }, [m(w(o), {
274
+ ])) : v.multiple ? (S(), m("span", ve, w(K(e) + He(n)), 1)) : p("v-if", !0)], 64)) : p("v-if", !0)], 64))), 128)),
275
+ F.value > 0 ? (S(), m(u, { key: 0 }, [_(T(s), {
266
276
  ref: "hiddenItemsCountBadge",
267
277
  pill: "",
268
278
  size: "small",
269
279
  focusable: !1,
270
- icons: h.icons,
271
- texts: h.texts,
272
- class: v(["q-select__badge-count", { "q-select__badge-count--clickable": h.readonly || h.disabled }])
280
+ icons: v.icons,
281
+ texts: v.texts,
282
+ class: x(["q-select__badge-count", { "q-select__badge-count--clickable": v.readonly || v.disabled }])
273
283
  }, {
274
- default: D(() => [p(" +" + S(I.value), 1)]),
284
+ default: O(() => [g(" +" + w(F.value), 1)]),
275
285
  _: 1
276
286
  }, 8, [
277
287
  "icons",
278
288
  "texts",
279
289
  "class"
280
- ]), h.readonly || h.disabled ? (b(), u(w(i), {
290
+ ]), v.readonly || v.disabled ? (S(), f(T(ee), {
281
291
  key: 0,
282
- anchor: Ne.value?.$el,
283
- text: U.value,
292
+ anchor: Fe.value?.$el,
293
+ text: W.value,
284
294
  placement: "bottom-start"
285
295
  }, {
286
- default: D(() => [p(S(U.value), 1)]),
296
+ default: O(() => [g(w(W.value), 1)]),
287
297
  _: 1
288
- }, 8, ["anchor", "text"])) : d("v-if", !0)], 64)) : d("v-if", !0),
289
- (b(!0), f(c, null, pe(H.value, (e, t) => (b(), f(c, { key: `measure-${t}` }, [h.badges ? (b(), u(w(o), {
298
+ }, 8, ["anchor", "text"])) : p("v-if", !0)], 64)) : p("v-if", !0),
299
+ (S(!0), m(u, null, ue(U.value, (e, n) => (S(), m(u, { key: `measure-${n}` }, [v.badges ? (S(), f(T(s), {
290
300
  key: 0,
291
301
  ref_for: !0,
292
302
  ref: "allBadges",
293
303
  pill: "",
294
304
  size: "small",
295
305
  focusable: !1,
296
- color: h.readonly || h.disabled ? "neutral" : void 0,
306
+ color: v.readonly || v.disabled ? "neutral" : void 0,
297
307
  disabled: "",
298
308
  class: "q-select__badge-hidden",
299
- icons: h.icons,
300
- texts: h.texts,
301
- removable: !h.readonly && !h.disabled && (!h.required || H.value.length > 1)
309
+ icons: v.icons,
310
+ texts: v.texts,
311
+ removable: !v.readonly && !v.disabled && (!v.required || U.value.length > 1)
302
312
  }, {
303
- default: D(() => [e?.icon ? (b(), u(w(n), g({
313
+ default: O(() => [e?.icon ? (S(), f(T(t), y({
304
314
  key: 0,
305
315
  ref_for: !0
306
- }, e.icon), null, 16)) : d("v-if", !0), p(" " + S(G(e)), 1)]),
316
+ }, e.icon), null, 16)) : p("v-if", !0), g(" " + w(K(e)), 1)]),
307
317
  _: 2
308
318
  }, 1032, [
309
319
  "color",
310
320
  "icons",
311
321
  "texts",
312
322
  "removable"
313
- ])) : h.multiple ? (b(), f("span", {
314
- key: 1,
323
+ ])) : v.multiple ? (S(), m(u, { key: 1 }, [p(" Always with the separator, so its width does not change with the count "), h("span", {
315
324
  ref_for: !0,
316
325
  ref: "allPlainTexts",
317
326
  class: "q-select__multi-value--hidden"
318
- }, S(G(e) + Re(t)), 513)) : d("v-if", !0)], 64))), 128))
319
- ], 64)) : (b(), u(w(o), {
327
+ }, w(K(e) + k), 513)], 2112)) : p("v-if", !0)], 64))), 128)),
328
+ p(" The separator alone, which the last item shown goes without "),
329
+ v.badges ? p("v-if", !0) : (S(), m("span", ye, w(k), 512)),
330
+ p(" The widest counter it can show, so the count keeps room for it "),
331
+ _(T(s), {
332
+ ref: "counterMeasure",
333
+ pill: "",
334
+ size: "small",
335
+ focusable: !1,
336
+ icons: v.icons,
337
+ texts: v.texts,
338
+ class: "q-select__badge-count-measure q-select__badge-hidden"
339
+ }, {
340
+ default: O(() => [g(" +" + w(U.value.length), 1)]),
341
+ _: 1
342
+ }, 8, ["icons", "texts"])
343
+ ], 64)) : (S(), f(T(s), {
320
344
  key: 1,
321
345
  pill: "",
322
346
  size: "small",
323
347
  focusable: !1,
324
- disabled: h.readonly || h.disabled,
325
- removable: !h.readonly && !h.disabled && !h.required,
326
- icons: h.icons,
327
- texts: h.texts,
328
- "onClick:remove": q
348
+ disabled: v.readonly || v.disabled,
349
+ removable: !v.readonly && !v.disabled && !v.required,
350
+ icons: v.icons,
351
+ texts: v.texts,
352
+ "onClick:remove": J
329
353
  }, {
330
- default: D(() => [H.value[0]?.icon ? (b(), u(w(n), y(g({ key: 0 }, H.value[0].icon)), null, 16)) : d("v-if", !0), p(" " + S(G(H.value[0])), 1)]),
354
+ default: O(() => [U.value[0]?.icon ? (S(), f(T(t), oe(y({ key: 0 }, U.value[0].icon)), null, 16)) : p("v-if", !0), g(" " + w(K(U.value[0])), 1)]),
331
355
  _: 1
332
356
  }, 8, [
333
357
  "disabled",
334
358
  "removable",
335
359
  "icons",
336
360
  "texts"
337
- ]))], 512)) : (b(), f("span", xe, S(U.value), 1))], 64))]), _e(se("input", g({
338
- id: M.value,
361
+ ]))], 512)) : (S(), m("span", be, w(W.value), 1))], 64))]), he(h("input", y({
362
+ id: N.value,
339
363
  ref: "input",
340
- "onUpdate:modelValue": t[0] ||= (e) => U.value = e
364
+ "onUpdate:modelValue": l[0] ||= (e) => W.value = e
341
365
  }, e.$attrs, {
342
- "aria-describedby": w(ee)(r, Ee.value),
366
+ "aria-describedby": T(i)(n, Oe.value),
343
367
  class: "q-select__input",
344
368
  inputmode: "none",
345
369
  type: "text",
346
370
  autocomplete: "off",
347
- tabindex: h.disabled ? -1 : 0,
371
+ tabindex: v.disabled ? -1 : 0,
348
372
  role: "combobox",
349
- "aria-expanded": F.value,
350
- "aria-controls": F.value ? N.value : void 0,
373
+ "aria-expanded": P.value,
374
+ "aria-controls": P.value ? Ee.value : void 0,
351
375
  "aria-haspopup": "listbox",
352
- "aria-keyshortcuts": W.value ? "Delete" : void 0,
353
- onKeydown: Ve
354
- }), null, 16, Ce), [[ge, U.value]])]),
355
- append: D(() => [
356
- x(e.$slots, "append"),
357
- W.value ? (b(), u(w(ae), {
376
+ "aria-keyshortcuts": G.value ? "Delete" : void 0,
377
+ onKeydown: qe
378
+ }), null, 16, Se), [[me, W.value]])]),
379
+ append: O(() => [
380
+ C(e.$slots, "append"),
381
+ G.value ? (S(), f(T(re), {
358
382
  key: 0,
359
- icons: h.icons,
360
- texts: h.texts,
361
- onClick: q
362
- }, null, 8, ["icons", "texts"])) : d("v-if", !0),
363
- h.readonly ? d("v-if", !0) : (b(), u(w(te), {
383
+ icons: v.icons,
384
+ texts: v.texts,
385
+ onClick: J
386
+ }, null, 8, ["icons", "texts"])) : p("v-if", !0),
387
+ v.readonly ? p("v-if", !0) : (S(), f(T(a), {
364
388
  key: 1,
365
389
  class: "q-select__chevron",
366
- "aria-label": h.texts.showOptions,
390
+ "aria-label": v.texts.showOptions,
367
391
  variant: "ghost",
368
392
  color: "neutral",
369
393
  borderless: "",
370
394
  tabindex: -1,
371
- disabled: h.disabled,
372
- onClick: Be
395
+ disabled: v.disabled,
396
+ onClick: Ke
373
397
  }, {
374
- default: D(() => [m(w(ne), {
375
- "model-value": F.value,
376
- icons: h.icons
398
+ default: O(() => [_(T(o), {
399
+ "model-value": P.value,
400
+ icons: v.icons
377
401
  }, null, 8, ["model-value", "icons"])]),
378
402
  _: 1
379
403
  }, 8, ["aria-label", "disabled"]))
380
404
  ]),
381
405
  _: 2
382
- }, [H.value.length === 1 && H.value[0].icon && !h.badges || e.$slots.prepend ? {
406
+ }, [U.value.length === 1 && U.value[0].icon && !v.badges || e.$slots.prepend ? {
383
407
  name: "prepend",
384
- fn: D(() => [x(e.$slots, "prepend"), H.value.length === 1 && H.value[0].icon && !h.badges ? (b(), u(w(n), y(g({ key: 0 }, H.value[0].icon)), null, 16)) : d("v-if", !0)]),
408
+ fn: O(() => [C(e.$slots, "prepend"), U.value.length === 1 && U.value[0].icon && !v.badges ? (S(), f(T(t), oe(y({ key: 0 }, U.value[0].icon)), null, 16)) : p("v-if", !0)]),
385
409
  key: "0"
386
410
  } : void 0, e.$slots.extras ? {
387
411
  name: "extras",
388
- fn: D(() => [x(e.$slots, "extras")]),
412
+ fn: O(() => [C(e.$slots, "extras")]),
389
413
  key: "1"
390
414
  } : void 0]), 1032, [
391
415
  "id",
@@ -403,53 +427,55 @@ var ye = {
403
427
  "help-display",
404
428
  "icons",
405
429
  "texts"
406
- ]), m(w(r), {
407
- modelValue: F.value,
408
- "onUpdate:modelValue": t[1] ||= (e) => F.value = e,
430
+ ]), _(T(n), {
431
+ modelValue: P.value,
432
+ "onUpdate:modelValue": l[1] ||= (e) => P.value = e,
409
433
  spy: "",
410
434
  "non-modal": "",
411
435
  trigger: "manual",
412
436
  placement: "bottom-start",
413
- width: "anchor",
437
+ width: De.value,
414
438
  "scroll-lock": "",
415
- inline: h.inline,
416
- anchor: h.overlayAnchor ?? R.value?.fieldRef,
439
+ inline: v.inline,
440
+ anchor: v.overlayAnchor ?? L.value?.fieldRef,
417
441
  offset: 2,
418
- onEnter: He,
419
- onLeave: Ue
442
+ onEnter: Je,
443
+ onLeave: Ye
420
444
  }, {
421
- default: D(() => [se("div", {
445
+ default: O(() => [h("div", {
422
446
  ref: "content",
423
447
  "data-testid": "combobox-dropdown",
424
- "data-key": w(A),
448
+ "data-key": T(M),
425
449
  class: "q-select__body",
426
450
  tabindex: "-1",
427
- onFocusout: ze,
428
- onKeydown: ve(X, ["stop"])
451
+ onFocusout: Ue,
452
+ onKeydown: ge(X, ["stop"])
429
453
  }, [
430
- x(e.$slots, "body.prepend"),
431
- h.loading ? (b(), f("div", Te, [m(w(a), { size: 24 })])) : (b(), u(w(re), {
454
+ C(e.$slots, "body.prepend"),
455
+ v.loading ? (S(), m("div", we, [_(T(r), { size: 24 })])) : (S(), f(T(te), {
432
456
  key: 1,
433
- id: N.value,
457
+ id: Ee.value,
434
458
  ref: "list",
435
- class: "q-select__items",
436
- label: h.label,
459
+ class: x(["q-select__items", `q-select__items--${v.overflow}`]),
460
+ label: v.label,
437
461
  selectable: "",
438
- icons: h.icons,
439
- required: h.required,
440
- multiple: h.multiple,
441
- "model-value": k.value,
442
- items: h.items,
443
- groups: s.groups,
444
- "item-label": h.itemLabel,
445
- "item-value": h.itemValue,
446
- "select-on-tab": h.selectOnTab,
447
- "onUpdate:modelValue": K
462
+ icons: v.icons,
463
+ required: v.required,
464
+ multiple: v.multiple,
465
+ "model-value": j.value,
466
+ items: v.items,
467
+ groups: c.groups,
468
+ "item-label": v.itemLabel,
469
+ "item-value": v.itemValue,
470
+ "item-title": v.overflow === "truncate",
471
+ "select-on-tab": v.selectOnTab,
472
+ "onUpdate:modelValue": q
448
473
  }, {
449
- item: D(({ item: t }) => [x(e.$slots, "item", { item: t })]),
474
+ item: O(({ item: t }) => [C(e.$slots, "item", { item: t })]),
450
475
  _: 3
451
476
  }, 8, [
452
477
  "id",
478
+ "class",
453
479
  "label",
454
480
  "icons",
455
481
  "required",
@@ -459,17 +485,19 @@ var ye = {
459
485
  "groups",
460
486
  "item-label",
461
487
  "item-value",
488
+ "item-title",
462
489
  "select-on-tab"
463
490
  ])),
464
- x(e.$slots, "body.append")
465
- ], 40, we)]),
491
+ C(e.$slots, "body.append")
492
+ ], 40, Ce)]),
466
493
  _: 3
467
494
  }, 8, [
468
495
  "modelValue",
496
+ "width",
469
497
  "inline",
470
498
  "anchor"
471
499
  ])], 64));
472
500
  }
473
501
  });
474
502
  //#endregion
475
- export { O as default };
503
+ export { A as default };