@quidgest/ui 0.16.51 → 0.16.53

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 (49) hide show
  1. package/dist/json/api.json +34 -31
  2. package/dist/ui.esm.js +5407 -5400
  3. package/dist/ui.js +7 -7
  4. package/dist/ui.min.js +157 -156
  5. package/dist/ui.scss +1 -1
  6. package/esm/components/QCombobox/QCombobox.d.ts +16 -4
  7. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  8. package/esm/components/QCombobox/index.d.ts +8 -2
  9. package/esm/components/QCombobox/index.d.ts.map +1 -1
  10. package/esm/components/QDialog/QDialog.d.ts +4 -13
  11. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  12. package/esm/components/QDialog/QDialog.vue.js +71 -78
  13. package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
  14. package/esm/components/QDialog/QDialogProvider.vue.js +16 -17
  15. package/esm/components/QDialog/index.d.ts +10 -85
  16. package/esm/components/QDialog/index.d.ts.map +1 -1
  17. package/esm/components/QDialog/types.d.ts +6 -0
  18. package/esm/components/QDialog/types.d.ts.map +1 -1
  19. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  20. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +27 -18
  21. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +18 -4
  22. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  23. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +40 -36
  24. package/esm/components/QList/QList.d.ts +9 -2
  25. package/esm/components/QList/QList.d.ts.map +1 -1
  26. package/esm/components/QList/QList.vue.js +27 -25
  27. package/esm/components/QList/QListItem.d.ts +1 -0
  28. package/esm/components/QList/QListItem.d.ts.map +1 -1
  29. package/esm/components/QList/QListItem.vue.js +25 -24
  30. package/esm/components/QList/index.d.ts +10 -1
  31. package/esm/components/QList/index.d.ts.map +1 -1
  32. package/esm/components/QList/types.d.ts +12 -0
  33. package/esm/components/QList/types.d.ts.map +1 -1
  34. package/esm/components/QOverlay/QOverlay.d.ts +4 -9
  35. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  36. package/esm/components/QOverlay/QOverlay.vue.js +156 -158
  37. package/esm/components/QOverlay/index.d.ts +10 -93
  38. package/esm/components/QOverlay/index.d.ts.map +1 -1
  39. package/esm/components/QOverlay/types.d.ts +6 -0
  40. package/esm/components/QOverlay/types.d.ts.map +1 -1
  41. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +14 -13
  42. package/esm/components/QSelect/QSelect.d.ts +16 -4
  43. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  44. package/esm/components/QSelect/index.d.ts +8 -2
  45. package/esm/components/QSelect/index.d.ts.map +1 -1
  46. package/esm/composables/useDialog/index.d.ts +1 -0
  47. package/esm/composables/useDialog/index.d.ts.map +1 -1
  48. package/esm/composables/useDialog/index.js +11 -11
  49. package/package.json +1 -1
@@ -1,34 +1,8 @@
1
1
  declare const QDialog: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
3
- modelValue?: boolean;
4
- } & import('../../types/component').QBaseComponentProps & {
5
- title?: string;
6
- text?: string;
7
- icon?: import('..').Icon;
8
- buttons?: import('./types').DialogButton[];
9
- backdropBlur?: boolean;
10
- size?: import('./types').QDialogSize;
11
- centerVertically?: boolean;
12
- attach?: string;
13
- inline?: boolean;
14
- focusWrap?: boolean;
15
- initialFocus?: HTMLElement | string | null;
16
- focusWithinOnActivate?: boolean;
17
- closingFocus?: HTMLElement | string;
18
- returnFocusOnDeactivate?: boolean;
19
- dismissible?: boolean;
20
- html?: boolean;
21
- input?: import('./types').QDialogInputOption;
22
- icons?: typeof import('./constants').DEFAULT_ICONS;
23
- }> & Readonly<{
24
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
25
- onEnter?: (() => any) | undefined;
26
- onLeave?: (() => any) | undefined;
27
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
- "update:modelValue": (value: boolean) => any;
29
- } & {
30
- enter: () => any;
31
- leave: () => any;
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QDialogProps> & Readonly<{
3
+ "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
4
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
5
+ "update:modelValue": (val: boolean) => any;
32
6
  }, import('vue').PublicProps, {
33
7
  size: import('./types').QDialogSize;
34
8
  html: boolean;
@@ -47,31 +21,8 @@ declare const QDialog: {
47
21
  C: {};
48
22
  M: {};
49
23
  Defaults: {};
50
- }, Readonly<{
51
- modelValue?: boolean;
52
- } & import('../../types/component').QBaseComponentProps & {
53
- title?: string;
54
- text?: string;
55
- icon?: import('..').Icon;
56
- buttons?: import('./types').DialogButton[];
57
- backdropBlur?: boolean;
58
- size?: import('./types').QDialogSize;
59
- centerVertically?: boolean;
60
- attach?: string;
61
- inline?: boolean;
62
- focusWrap?: boolean;
63
- initialFocus?: HTMLElement | string | null;
64
- focusWithinOnActivate?: boolean;
65
- closingFocus?: HTMLElement | string;
66
- returnFocusOnDeactivate?: boolean;
67
- dismissible?: boolean;
68
- html?: boolean;
69
- input?: import('./types').QDialogInputOption;
70
- icons?: typeof import('./constants').DEFAULT_ICONS;
71
- }> & Readonly<{
72
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
73
- onEnter?: (() => any) | undefined;
74
- onLeave?: (() => any) | undefined;
24
+ }, Readonly<import('./types').QDialogProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
75
26
  }>, {}, {}, {}, {}, {
76
27
  size: import('./types').QDialogSize;
77
28
  html: boolean;
@@ -87,36 +38,10 @@ declare const QDialog: {
87
38
  __isFragment?: never;
88
39
  __isTeleport?: never;
89
40
  __isSuspense?: never;
90
- } & import('vue').ComponentOptionsBase<Readonly<{
91
- modelValue?: boolean;
92
- } & import('../../types/component').QBaseComponentProps & {
93
- title?: string;
94
- text?: string;
95
- icon?: import('..').Icon;
96
- buttons?: import('./types').DialogButton[];
97
- backdropBlur?: boolean;
98
- size?: import('./types').QDialogSize;
99
- centerVertically?: boolean;
100
- attach?: string;
101
- inline?: boolean;
102
- focusWrap?: boolean;
103
- initialFocus?: HTMLElement | string | null;
104
- focusWithinOnActivate?: boolean;
105
- closingFocus?: HTMLElement | string;
106
- returnFocusOnDeactivate?: boolean;
107
- dismissible?: boolean;
108
- html?: boolean;
109
- input?: import('./types').QDialogInputOption;
110
- icons?: typeof import('./constants').DEFAULT_ICONS;
111
- }> & Readonly<{
112
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
113
- onEnter?: (() => any) | undefined;
114
- onLeave?: (() => any) | undefined;
115
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
116
- "update:modelValue": (value: boolean) => any;
117
- } & {
118
- enter: () => any;
119
- leave: () => any;
41
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').QDialogProps> & Readonly<{
42
+ "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
43
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
44
+ "update:modelValue": (val: boolean) => any;
120
45
  }, string, {
121
46
  size: import('./types').QDialogSize;
122
47
  html: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AACzC,QAAA,MAAM,eAAe;;;;kFAAoC,CAAA;AAGzD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAA;AAGnC,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AACzC,QAAA,MAAM,eAAe;;;;kFAAoC,CAAA;AAGzD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAA;AAGnC,cAAc,SAAS,CAAA"}
@@ -4,6 +4,12 @@ import { Icon } from '../QIcon';
4
4
  import { DEFAULT_ICONS } from './constants';
5
5
  export type QDialogSize = 'small' | 'medium' | 'large' | 'xlarge';
6
6
  export type QDialogProps = QBaseComponentProps & {
7
+ /**
8
+ * The value of the selected item.
9
+ *
10
+ * @category Content
11
+ */
12
+ modelValue?: boolean;
7
13
  /**
8
14
  * The title of the dialog window.
9
15
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEjE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,IAAI,CAAC,EAA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AAE,OAAO,CAAA;CAChB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"QDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenu.vue"],"names":[],"mappings":"AAuBA;AA6DC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAEjD,KAAK,WAAW,GAAG,kBAAkB,CAAC;AA6BvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAwET,OAAO,IAA6B;;yBAbrB,GAAG;wBACJ,GAAG;;;YACL,GAAG;;;YACO,GAAG;;;;EAetC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenu.vue"],"names":[],"mappings":"AAyBA;AAqFC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAKjD,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAgDvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgFT,OAAO,IAA6B;;yBAbrB,GAAG;wBACH,GAAG;;;YACL,GAAG;;;YACM,GAAG;;;;EAetC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,6 +1,6 @@
1
- import { defineComponent as u, mergeModels as p, useModel as c, createBlock as f, openBlock as V, mergeProps as g, withCtx as t, renderSlot as l } from "vue";
2
- import $ from "./QDropdownMenuContent.vue.js";
3
- const v = /* @__PURE__ */ u({
1
+ import { defineComponent as V, mergeModels as p, useModel as g, createBlock as v, openBlock as $, mergeProps as y, withCtx as n, renderSlot as l, nextTick as M } from "vue";
2
+ import k from "./QDropdownMenuContent.vue.js";
3
+ const h = /* @__PURE__ */ V({
4
4
  inheritAttrs: !1,
5
5
  __name: "QDropdownMenu",
6
6
  props: /* @__PURE__ */ p({
@@ -24,27 +24,36 @@ const v = /* @__PURE__ */ u({
24
24
  modelModifiers: {}
25
25
  }),
26
26
  emits: /* @__PURE__ */ p(["select"], ["update:modelValue"]),
27
- setup(n, { emit: i }) {
28
- const m = n, r = i, a = c(n, "modelValue");
29
- function d(e) {
30
- r("select", e);
27
+ setup(a, { emit: m }) {
28
+ const r = a, d = m, s = g(a, "modelValue");
29
+ let o;
30
+ function u(e) {
31
+ d("select", e);
31
32
  }
32
- return (e, s) => (V(), f($, g(m, {
33
- modelValue: a.value,
34
- "onUpdate:modelValue": s[0] || (s[0] = (o) => a.value = o),
35
- onSelect: d
33
+ function c() {
34
+ o = document.activeElement;
35
+ }
36
+ async function f() {
37
+ await M(), o == null || o.focus();
38
+ }
39
+ return (e, i) => ($(), v(k, y(r, {
40
+ modelValue: s.value,
41
+ "onUpdate:modelValue": i[0] || (i[0] = (t) => s.value = t),
42
+ onSelect: u,
43
+ onOpen: c,
44
+ onFocusPrevious: f
36
45
  }), {
37
- prepend: t(() => [
46
+ prepend: n(() => [
38
47
  l(e.$slots, "prepend")
39
48
  ]),
40
- append: t(() => [
49
+ append: n(() => [
41
50
  l(e.$slots, "append")
42
51
  ]),
43
- item: t(({ item: o }) => [
44
- l(e.$slots, "item", { item: o })
52
+ item: n(({ item: t }) => [
53
+ l(e.$slots, "item", { item: t })
45
54
  ]),
46
- "item.append": t(({ item: o }) => [
47
- l(e.$slots, "item.append", { item: o })
55
+ "item.append": n(({ item: t }) => [
56
+ l(e.$slots, "item.append", { item: t })
48
57
  ]),
49
58
  _: 3
50
59
  /* FORWARDED */
@@ -52,5 +61,5 @@ const v = /* @__PURE__ */ u({
52
61
  }
53
62
  });
54
63
  export {
55
- v as default
64
+ h as default
56
65
  };
@@ -40,6 +40,7 @@ declare function __VLS_template(): {
40
40
  readonly items?: Item[] | undefined;
41
41
  readonly groups?: import('..').Group[] | undefined;
42
42
  readonly selectable?: boolean | undefined;
43
+ readonly selectOnTab?: boolean | undefined;
43
44
  readonly multiple?: boolean | undefined;
44
45
  readonly disabled?: boolean | undefined;
45
46
  readonly required?: boolean | undefined;
@@ -66,6 +67,7 @@ declare function __VLS_template(): {
66
67
  readonly icon?: import('..').Icon | undefined;
67
68
  readonly description?: string | undefined;
68
69
  readonly selectable?: boolean | undefined;
70
+ readonly selectOnTab?: boolean | undefined;
69
71
  readonly highlighted?: boolean | undefined;
70
72
  readonly disabled?: boolean | undefined;
71
73
  readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
@@ -97,6 +99,7 @@ declare function __VLS_template(): {
97
99
  click: () => any;
98
100
  }, string, {
99
101
  icons: typeof import('../QList/constants').DEFAULT_ICONS;
102
+ selectOnTab: boolean;
100
103
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
101
104
  beforeCreate?: (() => void) | (() => void)[];
102
105
  created?: (() => void) | (() => void)[];
@@ -119,12 +122,13 @@ declare function __VLS_template(): {
119
122
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
120
123
  } & Readonly<{
121
124
  icons: typeof import('../QList/constants').DEFAULT_ICONS;
125
+ selectOnTab: boolean;
122
126
  }> & Omit<Readonly<{
123
127
  modelValue?: boolean;
124
128
  } & import('..').QListItemProps> & Readonly<{
125
129
  onClick?: (() => any) | undefined;
126
130
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
127
- }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
131
+ }>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
128
132
  $slots: {
129
133
  prepend?(_: {}): any;
130
134
  default?(_: {}): any;
@@ -155,6 +159,7 @@ declare function __VLS_template(): {
155
159
  "update:modelValue": (val: any) => any;
156
160
  "mouseenter:item": (key: any) => any;
157
161
  }, string, {
162
+ selectOnTab: boolean;
158
163
  groups: import('..').Group[];
159
164
  itemValue: string;
160
165
  itemLabel: string;
@@ -179,6 +184,7 @@ declare function __VLS_template(): {
179
184
  $nextTick: typeof nextTick;
180
185
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
181
186
  } & Readonly<{
187
+ selectOnTab: boolean;
182
188
  groups: import('..').Group[];
183
189
  itemValue: string;
184
190
  itemLabel: string;
@@ -186,7 +192,7 @@ declare function __VLS_template(): {
186
192
  onClick?: ((key: any) => any) | undefined;
187
193
  "onUpdate:modelValue"?: ((val: any) => any) | undefined;
188
194
  "onMouseenter:item"?: ((key: any) => any) | undefined;
189
- }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
195
+ }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
190
196
  getItem: (idx: number) => HTMLElement | undefined;
191
197
  getActiveItemIndex: () => number;
192
198
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -215,11 +221,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
215
221
  } & {
216
222
  select: (item: any) => any;
217
223
  hide: () => any;
224
+ open: () => any;
218
225
  "focus-previous": () => any;
219
226
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
220
227
  onSelect?: ((item: any) => any) | undefined;
221
228
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
222
229
  onHide?: (() => any) | undefined;
230
+ onOpen?: (() => any) | undefined;
223
231
  "onFocus-previous"?: (() => any) | undefined;
224
232
  "onUpdate:highlighted"?: ((value: any) => any) | undefined;
225
233
  }>, {
@@ -247,6 +255,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
247
255
  readonly items?: Item[] | undefined;
248
256
  readonly groups?: import('..').Group[] | undefined;
249
257
  readonly selectable?: boolean | undefined;
258
+ readonly selectOnTab?: boolean | undefined;
250
259
  readonly multiple?: boolean | undefined;
251
260
  readonly disabled?: boolean | undefined;
252
261
  readonly required?: boolean | undefined;
@@ -273,6 +282,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
273
282
  readonly icon?: import('..').Icon | undefined;
274
283
  readonly description?: string | undefined;
275
284
  readonly selectable?: boolean | undefined;
285
+ readonly selectOnTab?: boolean | undefined;
276
286
  readonly highlighted?: boolean | undefined;
277
287
  readonly disabled?: boolean | undefined;
278
288
  readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
@@ -304,6 +314,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
304
314
  click: () => any;
305
315
  }, string, {
306
316
  icons: typeof import('../QList/constants').DEFAULT_ICONS;
317
+ selectOnTab: boolean;
307
318
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
308
319
  beforeCreate?: (() => void) | (() => void)[];
309
320
  created?: (() => void) | (() => void)[];
@@ -326,12 +337,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
326
337
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
327
338
  } & Readonly<{
328
339
  icons: typeof import('../QList/constants').DEFAULT_ICONS;
340
+ selectOnTab: boolean;
329
341
  }> & Omit<Readonly<{
330
342
  modelValue?: boolean;
331
343
  } & import('..').QListItemProps> & Readonly<{
332
344
  onClick?: (() => any) | undefined;
333
345
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
334
- }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
346
+ }>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
335
347
  $slots: {
336
348
  prepend?(_: {}): any;
337
349
  default?(_: {}): any;
@@ -362,6 +374,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
362
374
  "update:modelValue": (val: any) => any;
363
375
  "mouseenter:item": (key: any) => any;
364
376
  }, string, {
377
+ selectOnTab: boolean;
365
378
  groups: import('..').Group[];
366
379
  itemValue: string;
367
380
  itemLabel: string;
@@ -386,6 +399,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
386
399
  $nextTick: typeof nextTick;
387
400
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
388
401
  } & Readonly<{
402
+ selectOnTab: boolean;
389
403
  groups: import('..').Group[];
390
404
  itemValue: string;
391
405
  itemLabel: string;
@@ -393,7 +407,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
393
407
  onClick?: ((key: any) => any) | undefined;
394
408
  "onUpdate:modelValue"?: ((val: any) => any) | undefined;
395
409
  "onMouseenter:item"?: ((key: any) => any) | undefined;
396
- }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
410
+ }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
397
411
  getItem: (idx: number) => HTMLElement | undefined;
398
412
  getActiveItemIndex: () => number;
399
413
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -1 +1 @@
1
- {"version":3,"file":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"AAoFA;AAgSC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAGxD,OAAO,EAAiB,QAAQ,EAAkB,MAAM,KAAK,CAAA;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,KAAK,WAAW,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA1Dv1F;AA0BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA+B6sF,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArBt1F,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,12 +1,12 @@
1
- import { defineComponent as F, mergeModels as _, useModel as A, ref as M, computed as q, useTemplateRef as U, resolveComponent as z, createBlock as x, openBlock as f, unref as y, normalizeClass as H, withCtx as d, createElementVNode as j, withModifiers as G, renderSlot as l, createVNode as E, createElementBlock as R, createCommentVNode as k, toDisplayString as J, Fragment as W, normalizeProps as b, guardReactiveProps as V, mergeProps as X, nextTick as Y } from "vue";
2
- import { QList as Z } from "../QList/index.js";
3
- import { QOverlay as K } from "../QOverlay/index.js";
4
- import { QIcon as ee } from "../QIcon/index.js";
5
- import { DEFAULT_ICONS as te } from "./constants.js";
6
- const oe = {
1
+ import { defineComponent as U, mergeModels as _, useModel as A, ref as M, computed as q, useTemplateRef as z, resolveComponent as H, createBlock as x, openBlock as c, unref as y, normalizeClass as j, withCtx as u, createElementVNode as G, withModifiers as J, renderSlot as l, createVNode as E, createElementBlock as R, createCommentVNode as k, toDisplayString as W, Fragment as X, normalizeProps as b, guardReactiveProps as V, mergeProps as Y, nextTick as Z } from "vue";
2
+ import { QList as K } from "../QList/index.js";
3
+ import { QOverlay as ee } from "../QOverlay/index.js";
4
+ import { QIcon as te } from "../QIcon/index.js";
5
+ import { DEFAULT_ICONS as oe } from "./constants.js";
6
+ const ne = {
7
7
  key: 0,
8
8
  class: "q-dropdown-menu__extra"
9
- }, re = /* @__PURE__ */ F({
9
+ }, ue = /* @__PURE__ */ U({
10
10
  __name: "QDropdownMenuContent",
11
11
  props: /* @__PURE__ */ _({
12
12
  id: {},
@@ -23,7 +23,7 @@ const oe = {
23
23
  delay: { default: 500 },
24
24
  trigger: { default: "hover" },
25
25
  depth: { default: 0 },
26
- icons: { default: () => te },
26
+ icons: { default: () => oe },
27
27
  offset: { default: 0 },
28
28
  crossOffset: { default: -5 }
29
29
  }, {
@@ -32,9 +32,9 @@ const oe = {
32
32
  highlighted: {},
33
33
  highlightedModifiers: {}
34
34
  }),
35
- emits: /* @__PURE__ */ _(["select", "hide", "focus-previous"], ["update:modelValue", "update:highlighted"]),
36
- setup(u, { emit: $ }) {
37
- const t = u, c = $, m = A(u, "modelValue"), s = A(u, "highlighted"), i = M(void 0), I = M([]), P = q(() => t.depth !== 0 ? t.offset : 4), S = q(() => t.depth !== 0 ? t.crossOffset : void 0), p = U("qListRef");
35
+ emits: /* @__PURE__ */ _(["select", "open", "hide", "focus-previous"], ["update:modelValue", "update:highlighted"]),
36
+ setup(d, { emit: $ }) {
37
+ const t = d, f = $, m = A(d, "modelValue"), s = A(d, "highlighted"), i = M(void 0), I = M([]), P = q(() => t.depth !== 0 ? t.offset : 4), S = q(() => t.depth !== 0 ? t.crossOffset : void 0), p = z("qListRef");
38
38
  function B(e) {
39
39
  var o;
40
40
  const n = (o = t.items) == null ? void 0 : o.find((r) => r[t.itemValue] === e);
@@ -63,16 +63,16 @@ const oe = {
63
63
  t.trigger === "hover" && (s.value = e, g(e));
64
64
  }
65
65
  function L(e) {
66
- c("select", e), v();
66
+ f("select", e), v();
67
67
  }
68
68
  function N() {
69
69
  h();
70
70
  }
71
71
  function h() {
72
- i.value = void 0, s.value = void 0, m.value = !1, c("focus-previous");
72
+ i.value = void 0, s.value = void 0, m.value = !1, f("focus-previous");
73
73
  }
74
74
  function v() {
75
- h(), c("hide");
75
+ h(), f("hide");
76
76
  }
77
77
  function g(e) {
78
78
  i.value = e;
@@ -87,14 +87,17 @@ const oe = {
87
87
  i.value = void 0, s.value = void 0, n == null || n.focus();
88
88
  }
89
89
  function T() {
90
- Y(() => {
90
+ Z(() => {
91
91
  var e;
92
92
  return (e = p.value) == null ? void 0 : e.$el.focus();
93
93
  });
94
94
  }
95
+ function F() {
96
+ f("open"), T();
97
+ }
95
98
  return (e, n) => {
96
- const a = z("q-dropdown-menu-content", !0);
97
- return f(), x(y(K), {
99
+ const a = H("q-dropdown-menu-content", !0);
100
+ return c(), x(y(ee), {
98
101
  id: t.id,
99
102
  modelValue: m.value,
100
103
  "onUpdate:modelValue": n[0] || (n[0] = (o) => m.value = o),
@@ -106,24 +109,24 @@ const oe = {
106
109
  "cross-offset": S.value,
107
110
  placement: t.placement,
108
111
  transition: t.transition,
109
- class: H(t.class),
112
+ class: j(t.class),
110
113
  "scroll-lock": "",
111
114
  "non-modal": "",
112
- onEnter: T,
115
+ onEnter: F,
113
116
  onLeave: N
114
117
  }, {
115
- default: d(() => [
116
- j(
118
+ default: u(() => [
119
+ G(
117
120
  "div",
118
121
  {
119
122
  class: "q-dropdown-menu__body",
120
123
  "data-testid": "dropdown-content",
121
124
  tabindex: "-1",
122
- onKeydown: G(D, ["stop"])
125
+ onKeydown: J(D, ["stop"])
123
126
  },
124
127
  [
125
128
  l(e.$slots, "prepend"),
126
- E(y(Z), {
129
+ E(y(K), {
127
130
  ref: "qListRef",
128
131
  class: "q-dropdown-menu__items",
129
132
  highlighted: s.value,
@@ -132,38 +135,39 @@ const oe = {
132
135
  "item-label": t.itemLabel,
133
136
  "item-value": t.itemValue,
134
137
  selectable: !1,
138
+ "select-on-tab": !1,
135
139
  onClick: B,
136
140
  "onMouseenter:item": O
137
141
  }, {
138
- item: d(({ item: o }) => [
142
+ item: u(({ item: o }) => [
139
143
  l(e.$slots, "item", { item: o })
140
144
  ]),
141
- "item.append": d(({ item: o, element: r }) => {
145
+ "item.append": u(({ item: o, element: r }) => {
142
146
  var C;
143
147
  return [
144
148
  l(e.$slots, "item.append", { item: o }, () => [
145
- o.extraInfo ? (f(), R(
149
+ o.extraInfo ? (c(), R(
146
150
  "span",
147
- oe,
148
- J(o.extraInfo),
151
+ ne,
152
+ W(o.extraInfo),
149
153
  1
150
154
  /* TEXT */
151
155
  )) : k("v-if", !0)
152
156
  ]),
153
- ((C = o.items) == null ? void 0 : C.length) > 0 ? (f(), R(
154
- W,
157
+ ((C = o.items) == null ? void 0 : C.length) > 0 ? (c(), R(
158
+ X,
155
159
  { key: 0 },
156
160
  [
157
161
  E(
158
- y(ee),
162
+ y(te),
159
163
  b(V(t.icons.expand)),
160
164
  null,
161
165
  16
162
166
  /* FULL_PROPS */
163
167
  ),
164
- i.value === o.key ? (f(), x(a, X({
168
+ i.value === o.key ? (c(), x(a, Y({
165
169
  key: 0,
166
- "model-value": u.modelValue
170
+ "model-value": d.modelValue
167
171
  }, t, {
168
172
  activator: r,
169
173
  items: o.items,
@@ -177,10 +181,10 @@ const oe = {
177
181
  onSelect: L,
178
182
  onFocusPrevious: Q
179
183
  }), {
180
- item: d((w) => [
184
+ item: u((w) => [
181
185
  l(e.$slots, "item", b(V(w)))
182
186
  ]),
183
- "item.append": d((w) => [
187
+ "item.append": u((w) => [
184
188
  l(e.$slots, "item.append", b(V(w)))
185
189
  ]),
186
190
  _: 2
@@ -208,5 +212,5 @@ const oe = {
208
212
  }
209
213
  });
210
214
  export {
211
- re as default
215
+ ue as default
212
216
  };
@@ -57,6 +57,7 @@ declare function __VLS_template(): {
57
57
  readonly icon?: import('..').Icon | undefined;
58
58
  readonly description?: string | undefined;
59
59
  readonly selectable?: boolean | undefined;
60
+ readonly selectOnTab?: boolean | undefined;
60
61
  readonly highlighted?: boolean | undefined;
61
62
  readonly disabled?: boolean | undefined;
62
63
  readonly icons?: typeof import('./constants').DEFAULT_ICONS | undefined;
@@ -88,6 +89,7 @@ declare function __VLS_template(): {
88
89
  click: () => any;
89
90
  }, string, {
90
91
  icons: typeof import('./constants').DEFAULT_ICONS;
92
+ selectOnTab: boolean;
91
93
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
92
94
  beforeCreate?: (() => void) | (() => void)[];
93
95
  created?: (() => void) | (() => void)[];
@@ -110,12 +112,13 @@ declare function __VLS_template(): {
110
112
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
111
113
  } & Readonly<{
112
114
  icons: typeof import('./constants').DEFAULT_ICONS;
115
+ selectOnTab: boolean;
113
116
  }> & Omit<Readonly<{
114
117
  modelValue?: boolean;
115
118
  } & import('./types').QListItemProps> & Readonly<{
116
119
  onClick?: (() => any) | undefined;
117
120
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
118
- }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
121
+ }>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
119
122
  $slots: {
120
123
  prepend?(_: {}): any;
121
124
  default?(_: {}): any;
@@ -141,6 +144,7 @@ declare const __VLS_component: import('vue').DefineComponent<QListProps, {
141
144
  "onUpdate:modelValue"?: ((val: any) => any) | undefined;
142
145
  "onMouseenter:item"?: ((key: any) => any) | undefined;
143
146
  }>, {
147
+ selectOnTab: boolean;
144
148
  groups: Group[];
145
149
  itemValue: string;
146
150
  itemLabel: string;
@@ -156,6 +160,7 @@ declare const __VLS_component: import('vue').DefineComponent<QListProps, {
156
160
  readonly icon?: import('..').Icon | undefined;
157
161
  readonly description?: string | undefined;
158
162
  readonly selectable?: boolean | undefined;
163
+ readonly selectOnTab?: boolean | undefined;
159
164
  readonly highlighted?: boolean | undefined;
160
165
  readonly disabled?: boolean | undefined;
161
166
  readonly icons?: typeof import('./constants').DEFAULT_ICONS | undefined;
@@ -187,6 +192,7 @@ declare const __VLS_component: import('vue').DefineComponent<QListProps, {
187
192
  click: () => any;
188
193
  }, string, {
189
194
  icons: typeof import('./constants').DEFAULT_ICONS;
195
+ selectOnTab: boolean;
190
196
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
191
197
  beforeCreate?: (() => void) | (() => void)[];
192
198
  created?: (() => void) | (() => void)[];
@@ -209,12 +215,13 @@ declare const __VLS_component: import('vue').DefineComponent<QListProps, {
209
215
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
210
216
  } & Readonly<{
211
217
  icons: typeof import('./constants').DEFAULT_ICONS;
218
+ selectOnTab: boolean;
212
219
  }> & Omit<Readonly<{
213
220
  modelValue?: boolean;
214
221
  } & import('./types').QListItemProps> & Readonly<{
215
222
  onClick?: (() => any) | undefined;
216
223
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
217
- }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
224
+ }>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
218
225
  $slots: {
219
226
  prepend?(_: {}): any;
220
227
  default?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"QList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QList.vue"],"names":[],"mappings":"AA8CA;AAmcC,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AA8OhD,iBAAS,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAIrD;AAED;;;;GAIG;AACH,iBAAS,kBAAkB,IAAI,MAAM,CAIpC;AAED;;;;;;GAMG;AACH,iBAAS,0BAA0B,IAAI,MAAM,CAO5C;AAED;;;;;;GAMG;AACH,iBAAS,yBAAyB,IAAI,MAAM,CAO3C;AAmCD;;;;;;;;GAQG;AACH,iBAAS,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAuB7E;AAyDF,iBAAS,cAAc;WA0IT,OAAO,IAA6B;;yBAdpB,GAAG;;;;YACN,GAAG;;;;YACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA3FoD,GAAG,8CAE9F,GAAE,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;EA0GnE;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCApIsE,GAAG,8CAE9F,GAAE,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;OA6IlE,CAAC;wBACkB,uBAAuB,CAAC,OAAO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