@quidgest/ui 0.13.0 → 0.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/ui.css +10 -2
  2. package/dist/ui.esm.js +645 -629
  3. package/dist/ui.js +6 -6
  4. package/dist/ui.min.css +1 -1
  5. package/dist/ui.min.js +35 -35
  6. package/dist/ui.scss +10 -3
  7. package/esm/components/QBadge/QBadge.d.ts +12 -6
  8. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  9. package/esm/components/QBadge/QBadge.vue.js +6 -6
  10. package/esm/components/QBadge/index.d.ts +37 -15
  11. package/esm/components/QBadge/index.d.ts.map +1 -1
  12. package/esm/components/QCombobox/QCombobox.d.ts +22 -39
  13. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  14. package/esm/components/QCombobox/QCombobox.vue.js +29 -29
  15. package/esm/components/QCombobox/index.d.ts +48 -56
  16. package/esm/components/QCombobox/index.d.ts.map +1 -1
  17. package/esm/components/QDialog/QDialog.d.ts +29 -7
  18. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  19. package/esm/components/QDialog/QDialog.vue.js +121 -102
  20. package/esm/components/QDialog/index.d.ts +41 -7
  21. package/esm/components/QDialog/index.d.ts.map +1 -1
  22. package/esm/components/QList/QList.d.ts +10 -0
  23. package/esm/components/QList/QList.d.ts.map +1 -1
  24. package/esm/components/QList/QList.vue.js +23 -22
  25. package/esm/components/QList/QListItem.d.ts +14 -8
  26. package/esm/components/QList/QListItem.d.ts.map +1 -1
  27. package/esm/components/QList/QListItem.vue.js +17 -17
  28. package/esm/components/QList/index.d.ts +49 -15
  29. package/esm/components/QList/index.d.ts.map +1 -1
  30. package/esm/components/QOverlay/QOverlay.d.ts +13 -0
  31. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  32. package/esm/components/QOverlay/QOverlay.vue.js +2 -0
  33. package/esm/components/QOverlay/index.d.ts +19 -0
  34. package/esm/components/QOverlay/index.d.ts.map +1 -1
  35. package/esm/components/QSelect/QSelect.d.ts +22 -39
  36. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  37. package/esm/components/QSelect/QSelect.vue.js +37 -37
  38. package/esm/components/QSelect/index.d.ts +48 -56
  39. package/esm/components/QSelect/index.d.ts.map +1 -1
  40. package/esm/components/QTooltip/QTooltip.d.ts +15 -0
  41. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  42. package/esm/components/QTooltip/QTooltip.vue.js +44 -27
  43. package/esm/components/QTooltip/index.d.ts +20 -0
  44. package/esm/components/QTooltip/index.d.ts.map +1 -1
  45. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent as v, openBlock as i, createElementBlock as a, unref as o, normalizeClass as b, withModifiers as y, createElementVNode as l, renderSlot as g, createBlock as d, normalizeProps as r, mergeProps as m, createCommentVNode as n, createTextVNode as q, toDisplayString as p, createVNode as B, guardReactiveProps as N } from "vue";
2
- import { QIcon as c } from "../QIcon/index.js";
1
+ import { defineComponent as v, openBlock as i, createElementBlock as c, unref as o, normalizeClass as b, withModifiers as y, createElementVNode as l, renderSlot as g, createBlock as d, normalizeProps as r, mergeProps as m, createCommentVNode as s, createTextVNode as q, toDisplayString as p, createVNode as B, guardReactiveProps as N } from "vue";
2
+ import { QIcon as a } from "../QIcon/index.js";
3
3
  import { useId as S } from "../../composables/uid.js";
4
4
  const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { class: "q-list-item__container" }, D = { class: "q-list-item__content" }, E = {
5
5
  key: 0,
@@ -19,20 +19,20 @@ const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { c
19
19
  icon: { default: void 0 },
20
20
  selected: { type: Boolean },
21
21
  highlighted: { type: Boolean },
22
- icons: { default: () => P },
23
22
  disabled: { type: Boolean },
24
- description: { default: void 0 }
23
+ description: { default: void 0 },
24
+ internals: { default: () => ({ icons: P }) }
25
25
  },
26
26
  emits: ["select"],
27
27
  setup(u, { emit: _ }) {
28
28
  const e = u, f = _, h = S();
29
- function s() {
29
+ function n() {
30
30
  e.disabled || f("select", e.value);
31
31
  }
32
32
  function k(t) {
33
- t.key === "Tab" && s(), (t.key === "Enter" || t.key === " ") && (t.preventDefault(), t.stopPropagation(), s());
33
+ t.key === "Tab" && n(), (t.key === "Enter" || t.key === " ") && (t.preventDefault(), t.stopPropagation(), n());
34
34
  }
35
- return (t, V) => (i(), a("li", {
35
+ return (t, V) => (i(), c("li", {
36
36
  id: o(h),
37
37
  "data-key": e.value,
38
38
  role: "option",
@@ -48,18 +48,18 @@ const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { c
48
48
  "aria-label": e.label,
49
49
  "aria-selected": e.disabled ? void 0 : e.selected,
50
50
  onKeydown: k,
51
- onClick: y(s, ["stop", "prevent"])
51
+ onClick: y(n, ["stop", "prevent"])
52
52
  }, [
53
53
  l("div", x, [
54
54
  l("div", D, [
55
55
  g(t.$slots, "default", {}, () => [
56
56
  e.icon ? (i(), d(
57
- o(c),
57
+ o(a),
58
58
  r(m({ key: 0 }, e.icon)),
59
59
  null,
60
60
  16
61
61
  /* FULL_PROPS */
62
- )) : n("v-if", !0),
62
+ )) : s("v-if", !0),
63
63
  q(
64
64
  " " + p(e.label),
65
65
  1
@@ -67,10 +67,10 @@ const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { c
67
67
  )
68
68
  ])
69
69
  ]),
70
- e.description ? (i(), a("div", E, [
70
+ e.description ? (i(), c("div", E, [
71
71
  B(
72
- o(c),
73
- r(N(e.icons.description)),
72
+ o(a),
73
+ r(N(e.internals.icons.description)),
74
74
  null,
75
75
  16
76
76
  /* FULL_PROPS */
@@ -82,16 +82,16 @@ const C = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], x = { c
82
82
  1
83
83
  /* TEXT */
84
84
  )
85
- ])) : n("v-if", !0)
85
+ ])) : s("v-if", !0)
86
86
  ]),
87
87
  l("div", I, [
88
88
  e.selected ? (i(), d(
89
- o(c),
90
- m({ key: 0 }, e.icons.check, { class: "q-list-item__check" }),
89
+ o(a),
90
+ m({ key: 0 }, e.internals.icons.check, { class: "q-list-item__check" }),
91
91
  null,
92
92
  16
93
93
  /* FULL_PROPS */
94
- )) : n("v-if", !0)
94
+ )) : s("v-if", !0)
95
95
  ])
96
96
  ], 42, C));
97
97
  }
@@ -36,6 +36,9 @@ declare const QList: {
36
36
  type: import('vue').PropType<string>;
37
37
  default: string;
38
38
  };
39
+ selectable: {
40
+ type: import('vue').PropType<boolean>;
41
+ };
39
42
  }>>, {
40
43
  focusItem: (itemIdx: number, preventScroll?: boolean) => void;
41
44
  getItem: (idx: number) => HTMLElement | undefined;
@@ -75,6 +78,9 @@ declare const QList: {
75
78
  type: import('vue').PropType<string>;
76
79
  default: string;
77
80
  };
81
+ selectable: {
82
+ type: import('vue').PropType<boolean>;
83
+ };
78
84
  }>>, {
79
85
  class: string | unknown[];
80
86
  highlighted: import('../../types/primitive').Primitive;
@@ -123,6 +129,9 @@ declare const QList: {
123
129
  type: import('vue').PropType<string>;
124
130
  default: string;
125
131
  };
132
+ selectable: {
133
+ type: import('vue').PropType<boolean>;
134
+ };
126
135
  }>>, {
127
136
  focusItem: (itemIdx: number, preventScroll?: boolean) => void;
128
137
  getItem: (idx: number) => HTMLElement | undefined;
@@ -174,6 +183,9 @@ declare const QList: {
174
183
  type: import('vue').PropType<string>;
175
184
  default: string;
176
185
  };
186
+ selectable: {
187
+ type: import('vue').PropType<boolean>;
188
+ };
177
189
  }>>, {
178
190
  focusItem: (itemIdx: number, preventScroll?: boolean) => void;
179
191
  getItem: (idx: number) => HTMLElement | undefined;
@@ -214,9 +226,13 @@ declare const QListItem: {
214
226
  type: import('vue').PropType<import('../../types/primitive').Primitive>;
215
227
  required: true;
216
228
  };
217
- icons: {
218
- type: import('vue').PropType<Record<string, import('..').Icon>>;
219
- default: () => Record<string, import('..').Icon>;
229
+ internals: {
230
+ type: import('vue').PropType<{
231
+ icons: Record<string, import('..').Icon>;
232
+ }>;
233
+ default: () => {
234
+ icons: Record<string, import('..').Icon>;
235
+ };
220
236
  };
221
237
  selected: {
222
238
  type: import('vue').PropType<boolean>;
@@ -248,9 +264,13 @@ declare const QListItem: {
248
264
  type: import('vue').PropType<import('../../types/primitive').Primitive>;
249
265
  required: true;
250
266
  };
251
- icons: {
252
- type: import('vue').PropType<Record<string, import('..').Icon>>;
253
- default: () => Record<string, import('..').Icon>;
267
+ internals: {
268
+ type: import('vue').PropType<{
269
+ icons: Record<string, import('..').Icon>;
270
+ }>;
271
+ default: () => {
272
+ icons: Record<string, import('..').Icon>;
273
+ };
254
274
  };
255
275
  selected: {
256
276
  type: import('vue').PropType<boolean>;
@@ -266,7 +286,9 @@ declare const QListItem: {
266
286
  onSelect?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
267
287
  }, {
268
288
  icon: import('..').Icon;
269
- icons: Record<string, import('..').Icon>;
289
+ internals: {
290
+ icons: Record<string, import('..').Icon>;
291
+ };
270
292
  description: string;
271
293
  }, true, {}, {}, {
272
294
  P: {};
@@ -291,9 +313,13 @@ declare const QListItem: {
291
313
  type: import('vue').PropType<import('../../types/primitive').Primitive>;
292
314
  required: true;
293
315
  };
294
- icons: {
295
- type: import('vue').PropType<Record<string, import('..').Icon>>;
296
- default: () => Record<string, import('..').Icon>;
316
+ internals: {
317
+ type: import('vue').PropType<{
318
+ icons: Record<string, import('..').Icon>;
319
+ }>;
320
+ default: () => {
321
+ icons: Record<string, import('..').Icon>;
322
+ };
297
323
  };
298
324
  selected: {
299
325
  type: import('vue').PropType<boolean>;
@@ -309,7 +335,9 @@ declare const QListItem: {
309
335
  onSelect?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
310
336
  }, {}, {}, {}, {}, {
311
337
  icon: import('..').Icon;
312
- icons: Record<string, import('..').Icon>;
338
+ internals: {
339
+ icons: Record<string, import('..').Icon>;
340
+ };
313
341
  description: string;
314
342
  }>;
315
343
  __isFragment?: undefined;
@@ -331,9 +359,13 @@ declare const QListItem: {
331
359
  type: import('vue').PropType<import('../../types/primitive').Primitive>;
332
360
  required: true;
333
361
  };
334
- icons: {
335
- type: import('vue').PropType<Record<string, import('..').Icon>>;
336
- default: () => Record<string, import('..').Icon>;
362
+ internals: {
363
+ type: import('vue').PropType<{
364
+ icons: Record<string, import('..').Icon>;
365
+ }>;
366
+ default: () => {
367
+ icons: Record<string, import('..').Icon>;
368
+ };
337
369
  };
338
370
  selected: {
339
371
  type: import('vue').PropType<boolean>;
@@ -351,7 +383,9 @@ declare const QListItem: {
351
383
  select: (value: import('../../types/primitive').Primitive) => void;
352
384
  }, string, {
353
385
  icon: import('..').Icon;
354
- icons: Record<string, import('..').Icon>;
386
+ internals: {
387
+ icons: Record<string, import('..').Icon>;
388
+ };
355
389
  description: string;
356
390
  }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
357
391
  $slots: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAK/D,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2C,CAAA;AACtD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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A;AAGjF,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAG3C,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAA"}
@@ -30,6 +30,10 @@ export type QOverlayProps = {
30
30
  * Applies a backdrop blur effect behind the overlay.
31
31
  */
32
32
  backdropBlur?: boolean;
33
+ /**
34
+ * Custom set of classes to apply to the dialog's underlay.
35
+ */
36
+ backdropClass?: string | unknown[];
33
37
  /**
34
38
  * The delay in milliseconds before showing the overlay.
35
39
  */
@@ -124,6 +128,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
124
128
  backdropBlur: {
125
129
  type: import('vue').PropType<boolean>;
126
130
  };
131
+ backdropClass: {
132
+ type: import('vue').PropType<string | unknown[]>;
133
+ default: undefined;
134
+ };
127
135
  delay: {
128
136
  type: import('vue').PropType<number>;
129
137
  default: number;
@@ -190,6 +198,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
190
198
  backdropBlur: {
191
199
  type: import('vue').PropType<boolean>;
192
200
  };
201
+ backdropClass: {
202
+ type: import('vue').PropType<string | unknown[]>;
203
+ default: undefined;
204
+ };
193
205
  delay: {
194
206
  type: import('vue').PropType<number>;
195
207
  default: number;
@@ -222,6 +234,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
222
234
  width: "anchor" | "auto";
223
235
  appearance: Appearance;
224
236
  attach: string;
237
+ backdropClass: string | unknown[];
225
238
  delay: number;
226
239
  trigger: Trigger;
227
240
  }, {}>, {
@@ -1 +1 @@
1
- {"version":3,"file":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue"],"names":[],"mappings":"AAsCA;AAMC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAMl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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAufF,wBAAwG;AAUxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -11,6 +11,7 @@ const ce = ["role"], me = /* @__PURE__ */ G({
11
11
  attach: { default: "body" },
12
12
  inline: { type: Boolean },
13
13
  backdropBlur: { type: Boolean },
14
+ backdropClass: { default: void 0 },
14
15
  delay: { default: 500 },
15
16
  nonModal: { type: Boolean },
16
17
  scrollLock: { type: Boolean },
@@ -186,6 +187,7 @@ const ce = ["role"], me = /* @__PURE__ */ G({
186
187
  {
187
188
  key: 0,
188
189
  class: V([
190
+ t.backdropClass,
189
191
  "q-overlay__underlay",
190
192
  { "q-overlay__underlay--blur": t.backdropBlur }
191
193
  ])
@@ -42,6 +42,10 @@ declare const QOverlay: {
42
42
  backdropBlur: {
43
43
  type: import('vue').PropType<boolean>;
44
44
  };
45
+ backdropClass: {
46
+ type: import('vue').PropType<string | unknown[]>;
47
+ default: undefined;
48
+ };
45
49
  delay: {
46
50
  type: import('vue').PropType<number>;
47
51
  default: number;
@@ -111,6 +115,10 @@ declare const QOverlay: {
111
115
  backdropBlur: {
112
116
  type: import('vue').PropType<boolean>;
113
117
  };
118
+ backdropClass: {
119
+ type: import('vue').PropType<string | unknown[]>;
120
+ default: undefined;
121
+ };
114
122
  delay: {
115
123
  type: import('vue').PropType<number>;
116
124
  default: number;
@@ -143,6 +151,7 @@ declare const QOverlay: {
143
151
  width: "anchor" | "auto";
144
152
  appearance: import('../../composables/overlay').Appearance;
145
153
  attach: string;
154
+ backdropClass: string | unknown[];
146
155
  delay: number;
147
156
  trigger: import('../../composables/overlay').Trigger;
148
157
  }, true, {}, {}, {
@@ -195,6 +204,10 @@ declare const QOverlay: {
195
204
  backdropBlur: {
196
205
  type: import('vue').PropType<boolean>;
197
206
  };
207
+ backdropClass: {
208
+ type: import('vue').PropType<string | unknown[]>;
209
+ default: undefined;
210
+ };
198
211
  delay: {
199
212
  type: import('vue').PropType<number>;
200
213
  default: number;
@@ -227,6 +240,7 @@ declare const QOverlay: {
227
240
  width: "anchor" | "auto";
228
241
  appearance: import('../../composables/overlay').Appearance;
229
242
  attach: string;
243
+ backdropClass: string | unknown[];
230
244
  delay: number;
231
245
  trigger: import('../../composables/overlay').Trigger;
232
246
  }>;
@@ -276,6 +290,10 @@ declare const QOverlay: {
276
290
  backdropBlur: {
277
291
  type: import('vue').PropType<boolean>;
278
292
  };
293
+ backdropClass: {
294
+ type: import('vue').PropType<string | unknown[]>;
295
+ default: undefined;
296
+ };
279
297
  delay: {
280
298
  type: import('vue').PropType<number>;
281
299
  default: number;
@@ -311,6 +329,7 @@ declare const QOverlay: {
311
329
  width: "anchor" | "auto";
312
330
  appearance: import('../../composables/overlay').Appearance;
313
331
  attach: string;
332
+ backdropClass: string | unknown[];
314
333
  delay: number;
315
334
  trigger: import('../../composables/overlay').Trigger;
316
335
  }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiD,CAAA;AAG/D,OAAO,EAAE,QAAQ,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiD,CAAA;AAG/D,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -33,10 +33,6 @@ export type QSelectProps = {
33
33
  * Whether the items of the list are being loaded.
34
34
  */
35
35
  loading?: boolean;
36
- /**
37
- * The icons of the component.
38
- */
39
- icons?: Icons;
40
36
  /**
41
37
  * The list of available items for selection.
42
38
  */
@@ -66,21 +62,21 @@ export type QSelectProps = {
66
62
  * The size category of the input.
67
63
  */
68
64
  size?: QFieldSize;
69
- /**
70
- * Necessary strings to be used in labels and buttons of the component.
71
- */
72
- texts?: Texts;
73
65
  /**
74
66
  * Custom set of classes to apply to the component.
75
67
  */
76
68
  class?: string | unknown[];
69
+ /**
70
+ * The internal elements of the component
71
+ */
72
+ internals?: Internals;
77
73
  };
78
- declare const DEFAULT_TEXTS: {
79
- placeholder: string;
80
- };
74
+ declare const DEFAULT_TEXTS: Record<string, string>;
81
75
  declare const DEFAULT_ICONS: Record<string, Icon>;
82
- type Texts = typeof DEFAULT_TEXTS;
83
- type Icons = typeof DEFAULT_ICONS;
76
+ type Internals = {
77
+ icons: typeof DEFAULT_ICONS;
78
+ texts: typeof DEFAULT_TEXTS;
79
+ };
84
80
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
85
81
  modelValue: import('vue').PropType<any>;
86
82
  size: {
@@ -104,9 +100,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
104
100
  required: {
105
101
  type: import('vue').PropType<boolean>;
106
102
  };
107
- icons: {
108
- type: import('vue').PropType<Record<string, Icon>>;
109
- default: () => Record<string, Icon>;
103
+ internals: {
104
+ type: import('vue').PropType<Internals>;
105
+ default: () => {
106
+ icons: Record<string, Icon>;
107
+ texts: Record<string, string>;
108
+ };
110
109
  };
111
110
  items: {
112
111
  type: import('vue').PropType<(Omit<QListItemProps, "label" | "value"> & {
@@ -142,14 +141,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
142
141
  type: import('vue').PropType<Primitive>;
143
142
  default: undefined;
144
143
  };
145
- texts: {
146
- type: import('vue').PropType<{
147
- placeholder: string;
148
- }>;
149
- default: () => {
150
- placeholder: string;
151
- };
152
- };
153
144
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
154
145
  "before-show": () => void;
155
146
  "before-hide": () => void;
@@ -178,9 +169,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
178
169
  required: {
179
170
  type: import('vue').PropType<boolean>;
180
171
  };
181
- icons: {
182
- type: import('vue').PropType<Record<string, Icon>>;
183
- default: () => Record<string, Icon>;
172
+ internals: {
173
+ type: import('vue').PropType<Internals>;
174
+ default: () => {
175
+ icons: Record<string, Icon>;
176
+ texts: Record<string, string>;
177
+ };
184
178
  };
185
179
  items: {
186
180
  type: import('vue').PropType<(Omit<QListItemProps, "label" | "value"> & {
@@ -216,14 +210,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
216
210
  type: import('vue').PropType<Primitive>;
217
211
  default: undefined;
218
212
  };
219
- texts: {
220
- type: import('vue').PropType<{
221
- placeholder: string;
222
- }>;
223
- default: () => {
224
- placeholder: string;
225
- };
226
- };
227
213
  }>> & {
228
214
  "onBefore-show"?: (() => any) | undefined;
229
215
  "onBefore-hide"?: (() => any) | undefined;
@@ -233,7 +219,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
233
219
  size: QFieldSize;
234
220
  class: string | unknown[];
235
221
  label: string;
236
- icons: Record<string, Icon>;
222
+ internals: Internals;
237
223
  groups: (QListItemGroupProps & {
238
224
  id: string;
239
225
  })[];
@@ -241,9 +227,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
241
227
  itemLabel: string;
242
228
  id: string;
243
229
  emptyValue: Primitive;
244
- texts: {
245
- placeholder: string;
246
- };
247
230
  }, {}>, {
248
231
  prepend?(_: {}): any;
249
232
  append?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAuHA;AAWC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAC7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAMlD,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAA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