@quidgest/ui 0.16.14 → 0.16.16

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 (67) hide show
  1. package/dist/manifest/components.json +1 -0
  2. package/dist/ui.css +195 -9
  3. package/dist/ui.esm.js +5163 -4930
  4. package/dist/ui.js +12 -12
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +735 -720
  7. package/dist/ui.scss +215 -12
  8. package/esm/components/QCheckbox/QCheckbox.d.ts +6 -2
  9. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  10. package/esm/components/QCheckbox/QCheckbox.vue.js +90 -79
  11. package/esm/components/QCheckbox/QCheckboxLabel.d.ts +2 -3
  12. package/esm/components/QCheckbox/QCheckboxLabel.d.ts.map +1 -1
  13. package/esm/components/QCheckbox/QCheckboxLabel.vue.js +32 -24
  14. package/esm/components/QCheckbox/index.d.ts +12 -4
  15. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  16. package/esm/components/QCheckbox/types.d.ts +2 -7
  17. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  18. package/esm/components/QCombobox/QCombobox.d.ts +16 -4
  19. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  20. package/esm/components/QCombobox/index.d.ts +8 -2
  21. package/esm/components/QCombobox/index.d.ts.map +1 -1
  22. package/esm/components/QDialog/QDialog.d.ts +3 -1
  23. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  24. package/esm/components/QDialog/QDialog.vue.js +151 -108
  25. package/esm/components/QDialog/QDialogProvider.d.ts +6 -1
  26. package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
  27. package/esm/components/QDialog/QDialogProvider.vue.js +22 -14
  28. package/esm/components/QDialog/index.d.ts +11 -2
  29. package/esm/components/QDialog/index.d.ts.map +1 -1
  30. package/esm/components/QDialog/types.d.ts +31 -1
  31. package/esm/components/QDialog/types.d.ts.map +1 -1
  32. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +11 -9
  33. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +22 -6
  34. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  35. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +171 -84
  36. package/esm/components/QDropdownMenu/index.d.ts +4 -0
  37. package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
  38. package/esm/components/QDropdownMenu/types.d.ts +8 -8
  39. package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
  40. package/esm/components/QList/QList.d.ts +9 -0
  41. package/esm/components/QList/QList.d.ts.map +1 -1
  42. package/esm/components/QList/QList.vue.js +73 -68
  43. package/esm/components/QList/index.d.ts +8 -0
  44. package/esm/components/QList/index.d.ts.map +1 -1
  45. package/esm/components/QSelect/QSelect.d.ts +16 -4
  46. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  47. package/esm/components/QSelect/index.d.ts +8 -2
  48. package/esm/components/QSelect/index.d.ts.map +1 -1
  49. package/esm/components/QSwitch/QSwitch.d.ts +16 -0
  50. package/esm/components/QSwitch/QSwitch.d.ts.map +1 -0
  51. package/esm/components/QSwitch/QSwitch.vue.js +129 -0
  52. package/esm/components/QSwitch/QSwitch.vue2.js +4 -0
  53. package/esm/components/QSwitch/index.d.ts +33 -0
  54. package/esm/components/QSwitch/index.d.ts.map +1 -0
  55. package/esm/components/QSwitch/index.js +6 -0
  56. package/esm/components/QSwitch/types.d.ts +39 -0
  57. package/esm/components/QSwitch/types.d.ts.map +1 -0
  58. package/esm/components/index.d.ts +1 -0
  59. package/esm/components/index.d.ts.map +1 -1
  60. package/esm/components/index.js +31 -29
  61. package/esm/composables/useDialog/index.d.ts +15 -3
  62. package/esm/composables/useDialog/index.d.ts.map +1 -1
  63. package/esm/composables/useDialog/index.js +14 -14
  64. package/esm/composables/useDialog/types.d.ts +6 -3
  65. package/esm/composables/useDialog/types.d.ts.map +1 -1
  66. package/esm/index.d.ts +1 -0
  67. package/package.json +1 -1
@@ -15,6 +15,7 @@ declare const QDialog: {
15
15
  icons?: typeof import('./types').DEFAULT_ICONS;
16
16
  size?: import('./types').QDialogSize;
17
17
  centerVertically?: boolean;
18
+ input?: import('./types').QDialogInputOption;
18
19
  }> & Readonly<{
19
20
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
20
21
  onEnter?: (() => any) | undefined;
@@ -54,6 +55,7 @@ declare const QDialog: {
54
55
  icons?: typeof import('./types').DEFAULT_ICONS;
55
56
  size?: import('./types').QDialogSize;
56
57
  centerVertically?: boolean;
58
+ input?: import('./types').QDialogInputOption;
57
59
  }> & Readonly<{
58
60
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
59
61
  onEnter?: (() => any) | undefined;
@@ -85,6 +87,7 @@ declare const QDialog: {
85
87
  icons?: typeof import('./types').DEFAULT_ICONS;
86
88
  size?: import('./types').QDialogSize;
87
89
  centerVertically?: boolean;
90
+ input?: import('./types').QDialogInputOption;
88
91
  }> & Readonly<{
89
92
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
90
93
  onEnter?: (() => any) | undefined;
@@ -105,13 +108,19 @@ declare const QDialog: {
105
108
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
106
109
  $slots: {
107
110
  header?(_: {}): any;
111
+ 'header.prepend'?(_: {}): any;
112
+ 'header.append'?(_: {}): any;
108
113
  body?(_: {}): any;
109
114
  'body.icon'?(_: {}): any;
110
115
  'body.append'?(_: {}): any;
111
- footer?(_: {}): any;
116
+ 'footer.append'?(_: {}): any;
112
117
  };
113
118
  });
114
- declare const QDialogProvider: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
119
+ declare const QDialogProvider: import('vue').DefineComponent<import('./types').QDialogProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
120
+ leave: (id: string) => any;
121
+ }, string, import('vue').PublicProps, Readonly<import('./types').QDialogProviderProps> & Readonly<{
122
+ onLeave?: ((id: string) => any) | undefined;
123
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
115
124
  export { QDialog, QDialogProvider };
116
125
  export type { DialogButton };
117
126
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAK3C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AACzC,QAAA,MAAM,eAAe,+QAAoC,CAAA;AAGzD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAA;AAGnC,YAAY,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAK3C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AACzC,QAAA,MAAM,eAAe;;;;kFAAoC,CAAA;AAGzD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAA;AAGnC,YAAY,EAAE,YAAY,EAAE,CAAA"}
@@ -53,6 +53,10 @@ export type QDialogProps = QBaseComponentProps & {
53
53
  * Whether to vertically align the dialog to the center (true) or top (false)
54
54
  */
55
55
  centerVertically?: boolean;
56
+ /**
57
+ * The input control configuration.
58
+ */
59
+ input?: QDialogInputOption;
56
60
  };
57
61
  export type DialogButton = {
58
62
  /**
@@ -67,13 +71,39 @@ export type DialogButton = {
67
71
  * The action that the button performs when clicked.
68
72
  */
69
73
  action?: {
70
- (): void;
74
+ (value?: string): void;
71
75
  };
72
76
  /**
73
77
  * The generic button props.
74
78
  */
75
79
  props: QButtonProps;
76
80
  };
81
+ export type QDialogOptions = {
82
+ /**
83
+ * Options for input control to add.
84
+ */
85
+ input?: QDialogInputOption;
86
+ };
87
+ export type QDialogInputOption = {
88
+ /**
89
+ * Control type.
90
+ */
91
+ type: string;
92
+ /**
93
+ * Control placeholder text.
94
+ */
95
+ placeholder?: string;
96
+ /**
97
+ * Function to validate value entered.
98
+ */
99
+ validator?: (value: string) => string | undefined;
100
+ };
101
+ export type QDialogProviderProps = {
102
+ /**
103
+ * Whether to inline the dialogs
104
+ */
105
+ inline?: boolean;
106
+ };
77
107
  export declare const DEFAULT_BUTTONS: Array<DialogButton>;
78
108
  export declare const DEFAULT_ICON: Icon;
79
109
  export declare const DEFAULT_ICONS: {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEjE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,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W,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAA;CACjD,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAGD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,YAAY,CAW/C,CAAA;AAGD,eAAO,MAAM,YAAY,EAAE,IAE1B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
@@ -1,6 +1,6 @@
1
- import { defineComponent as u, mergeModels as n, useModel as d, createBlock as p, openBlock as c, mergeProps as f } from "vue";
1
+ import { defineComponent as d, mergeModels as n, useModel as p, createBlock as u, openBlock as c, mergeProps as f } from "vue";
2
2
  import V from "./QDropdownMenuContent.vue.js";
3
- const _ = /* @__PURE__ */ u({
3
+ const M = /* @__PURE__ */ d({
4
4
  inheritAttrs: !1,
5
5
  __name: "QDropdownMenu",
6
6
  props: /* @__PURE__ */ n({
@@ -16,6 +16,8 @@ const _ = /* @__PURE__ */ u({
16
16
  groups: {},
17
17
  itemValue: {},
18
18
  itemLabel: {},
19
+ trigger: {},
20
+ depth: {},
19
21
  icons: {}
20
22
  }, {
21
23
  modelValue: { type: Boolean },
@@ -23,17 +25,17 @@ const _ = /* @__PURE__ */ u({
23
25
  }),
24
26
  emits: /* @__PURE__ */ n(["select"], ["update:modelValue"]),
25
27
  setup(e, { emit: a }) {
26
- const m = e, s = a, o = d(e, "modelValue");
27
- function i(t) {
28
- s("select", t);
28
+ const m = e, i = a, o = p(e, "modelValue");
29
+ function r(t) {
30
+ i("select", t);
29
31
  }
30
- return (t, l) => (c(), p(V, f(m, {
32
+ return (t, l) => (c(), u(V, f(m, {
31
33
  modelValue: o.value,
32
- "onUpdate:modelValue": l[0] || (l[0] = (r) => o.value = r),
33
- onSelect: i
34
+ "onUpdate:modelValue": l[0] || (l[0] = (s) => o.value = s),
35
+ onSelect: r
34
36
  }), null, 16, ["modelValue"]));
35
37
  }
36
38
  });
37
39
  export {
38
- _ as default
40
+ M as default
39
41
  };
@@ -17,7 +17,7 @@ declare function __VLS_template(): {
17
17
  }): any;
18
18
  };
19
19
  refs: {
20
- listRef: ({
20
+ qListRef: ({
21
21
  $: import('vue').ComponentInternalInstance;
22
22
  $data: {};
23
23
  $props: {
@@ -35,6 +35,7 @@ declare function __VLS_template(): {
35
35
  readonly required?: boolean | undefined;
36
36
  readonly onClick?: ((key: any) => any) | undefined;
37
37
  readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
38
+ readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
38
39
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
39
40
  $attrs: {
40
41
  [x: string]: unknown;
@@ -125,7 +126,7 @@ declare function __VLS_template(): {
125
126
  $root: import('vue').ComponentPublicInstance | null;
126
127
  $parent: import('vue').ComponentPublicInstance | null;
127
128
  $host: Element | null;
128
- $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
129
+ $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "mouseenter:item", key: any) => void);
129
130
  $el: any;
130
131
  $options: import('vue').ComponentOptionsBase<Readonly<{
131
132
  modelValue?: any;
@@ -142,8 +143,10 @@ declare function __VLS_template(): {
142
143
  }> & Readonly<{
143
144
  onClick?: ((key: any) => any) | undefined;
144
145
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
146
+ "onMouseenter:item"?: ((key: any) => any) | undefined;
145
147
  }>, {
146
148
  getItem: (idx: number) => HTMLElement | undefined;
149
+ getActiveItemIndex: () => number;
147
150
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
148
151
  getFirstFocusableItemIndex: () => number;
149
152
  getLastFocusableItemIndex: () => number;
@@ -151,6 +154,7 @@ declare function __VLS_template(): {
151
154
  "update:modelValue": (value: any) => any;
152
155
  } & {
153
156
  click: (key: any) => any;
157
+ "mouseenter:item": (key: any) => any;
154
158
  }, string, {
155
159
  groups: import('../QList/types').Group[];
156
160
  itemValue: string;
@@ -194,8 +198,10 @@ declare function __VLS_template(): {
194
198
  }> & Readonly<{
195
199
  onClick?: ((key: any) => any) | undefined;
196
200
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
197
- }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
201
+ "onMouseenter:item"?: ((key: any) => any) | undefined;
202
+ }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
198
203
  getItem: (idx: number) => HTMLElement | undefined;
204
+ getActiveItemIndex: () => number;
199
205
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
200
206
  getFirstFocusableItemIndex: () => number;
201
207
  getLastFocusableItemIndex: () => number;
@@ -221,9 +227,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
221
227
  "update:highlighted": (value: any) => any;
222
228
  } & {
223
229
  select: (item: any) => any;
230
+ hide: () => any;
231
+ "focus-previous": () => any;
224
232
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
225
233
  onSelect?: ((item: any) => any) | undefined;
226
234
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
235
+ onHide?: (() => any) | undefined;
236
+ "onFocus-previous"?: (() => any) | undefined;
227
237
  "onUpdate:highlighted"?: ((value: any) => any) | undefined;
228
238
  }>, {
229
239
  transition: string;
@@ -239,7 +249,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
239
249
  trigger: import('../../composables/overlay').Trigger;
240
250
  depth: number;
241
251
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
242
- listRef: ({
252
+ qListRef: ({
243
253
  $: import('vue').ComponentInternalInstance;
244
254
  $data: {};
245
255
  $props: {
@@ -257,6 +267,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
257
267
  readonly required?: boolean | undefined;
258
268
  readonly onClick?: ((key: any) => any) | undefined;
259
269
  readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
270
+ readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
260
271
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
261
272
  $attrs: {
262
273
  [x: string]: unknown;
@@ -347,7 +358,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
347
358
  $root: import('vue').ComponentPublicInstance | null;
348
359
  $parent: import('vue').ComponentPublicInstance | null;
349
360
  $host: Element | null;
350
- $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
361
+ $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "mouseenter:item", key: any) => void);
351
362
  $el: any;
352
363
  $options: import('vue').ComponentOptionsBase<Readonly<{
353
364
  modelValue?: any;
@@ -364,8 +375,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
364
375
  }> & Readonly<{
365
376
  onClick?: ((key: any) => any) | undefined;
366
377
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
378
+ "onMouseenter:item"?: ((key: any) => any) | undefined;
367
379
  }>, {
368
380
  getItem: (idx: number) => HTMLElement | undefined;
381
+ getActiveItemIndex: () => number;
369
382
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
370
383
  getFirstFocusableItemIndex: () => number;
371
384
  getLastFocusableItemIndex: () => number;
@@ -373,6 +386,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
373
386
  "update:modelValue": (value: any) => any;
374
387
  } & {
375
388
  click: (key: any) => any;
389
+ "mouseenter:item": (key: any) => any;
376
390
  }, string, {
377
391
  groups: import('../QList/types').Group[];
378
392
  itemValue: string;
@@ -416,8 +430,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
416
430
  }> & Readonly<{
417
431
  onClick?: ((key: any) => any) | undefined;
418
432
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
419
- }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
433
+ "onMouseenter:item"?: ((key: any) => any) | undefined;
434
+ }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
420
435
  getItem: (idx: number) => HTMLElement | undefined;
436
+ getActiveItemIndex: () => number;
421
437
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
422
438
  getFirstFocusableItemIndex: () => number;
423
439
  getLastFocusableItemIndex: () => number;
@@ -1 +1 @@
1
- {"version":3,"file":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"AAiDA;AA2IC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAGxD,OAAO,EAAY,QAAQ,EAAO,MAAM,KAAK,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,WAAW,GAAG,yBAAyB,CAAC;AAwF9C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,GAAG,CAAC;CACnB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WA8HT,OAAO,IAA6B;;;;YAZvB,GAAG;;;YACM,GAAG;;;;;;;;;;;;;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;OArBx+I,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,17 +1,14 @@
1
- import { defineComponent as B, mergeModels as c, useModel as m, ref as p, computed as h, createBlock as L, openBlock as g, unref as v, normalizeClass as M, withCtx as i, createElementVNode as O, createVNode as E, renderSlot as y, createElementBlock as I, createCommentVNode as N, toDisplayString as S, nextTick as q } from "vue";
2
- import { QList as D } from "../QList/index.js";
3
- import { QOverlay as Q } from "../QOverlay/index.js";
4
- import { DEFAULT_ICONS as $ } from "./types.js";
5
- const R = {
6
- class: "q-dropdown-menu__body",
7
- "data-testid": "dropdown-content",
8
- tabindex: "-1"
9
- }, T = {
1
+ import { defineComponent as Q, mergeModels as V, useModel as _, ref as x, computed as I, useTemplateRef as T, resolveComponent as F, createBlock as L, openBlock as u, unref as v, normalizeClass as U, withCtx as g, createElementVNode as $, withModifiers as z, createVNode as C, renderSlot as A, createElementBlock as M, createCommentVNode as w, toDisplayString as H, Fragment as j, normalizeProps as G, guardReactiveProps as J, mergeProps as W, nextTick as X } from "vue";
2
+ import { QList as Y } from "../QList/index.js";
3
+ import { QOverlay as Z } from "../QOverlay/index.js";
4
+ import { QIcon as K } from "../QIcon/index.js";
5
+ import { DEFAULT_ICONS as ee } from "./types.js";
6
+ const te = {
10
7
  key: 0,
11
8
  class: "q-dropdown-menu__extra"
12
- }, j = /* @__PURE__ */ B({
9
+ }, se = /* @__PURE__ */ Q({
13
10
  __name: "QDropdownMenuContent",
14
- props: /* @__PURE__ */ c({
11
+ props: /* @__PURE__ */ V({
15
12
  id: {},
16
13
  class: {},
17
14
  activator: {},
@@ -24,91 +21,181 @@ const R = {
24
21
  groups: { default: () => [] },
25
22
  itemValue: { default: "key" },
26
23
  itemLabel: { default: "label" },
27
- icons: { default: () => $ },
28
- trigger: { default: "click" },
24
+ trigger: { default: "hover" },
25
+ depth: { default: 0 },
26
+ icons: { default: () => ee },
29
27
  offset: { default: 0 },
30
- crossOffset: { default: -5 },
31
- depth: { default: 0 }
28
+ crossOffset: { default: -5 }
32
29
  }, {
33
30
  modelValue: { type: Boolean },
34
31
  modelModifiers: {},
35
32
  highlighted: {},
36
33
  highlightedModifiers: {}
37
34
  }),
38
- emits: /* @__PURE__ */ c(["select"], ["update:modelValue", "update:highlighted"]),
39
- setup(l, { emit: V }) {
40
- const e = l, _ = V, s = m(l, "modelValue"), n = m(l, "highlighted"), d = p([]), b = h(() => e.depth !== 0 ? e.offset : 4), k = h(() => e.depth !== 0 ? e.crossOffset : void 0), r = p(null);
41
- function C(o) {
42
- var u;
43
- _("select", o);
44
- const a = (u = e.items) == null ? void 0 : u.find((f) => f[e.itemValue] === f);
45
- d.value = (a == null ? void 0 : a.items) ?? [];
46
- const t = d.value.length > 0;
47
- n.value = t ? o : void 0, t || w();
35
+ emits: /* @__PURE__ */ V(["select", "hide", "focus-previous"], ["update:modelValue", "update:highlighted"]),
36
+ setup(r, { emit: q }) {
37
+ const e = r, d = q, c = _(r, "modelValue"), l = _(r, "highlighted"), i = x(void 0), y = x([]), E = I(() => e.depth !== 0 ? e.offset : 4), R = I(() => e.depth !== 0 ? e.crossOffset : void 0), f = T("qListRef");
38
+ function P(t) {
39
+ var o;
40
+ const n = (o = e.items) == null ? void 0 : o.find((s) => s[e.itemValue] === t);
41
+ y.value = (n == null ? void 0 : n.items) ?? [];
42
+ const a = y.value.length > 0;
43
+ l.value = t, a ? h(t) : k(t);
48
44
  }
49
- function w() {
50
- s.value = !1;
45
+ function S(t) {
46
+ var n;
47
+ if (t.key)
48
+ switch (["Enter", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"].includes(t.key) && (t.preventDefault(), t.stopPropagation()), t.key) {
49
+ case "ArrowRight":
50
+ const a = (n = f.value) == null ? void 0 : n.getActiveItemIndex();
51
+ e.items && (a || a === 0) && e.items[a] && (l.value = e.items[a].key, h(e.items[a].key));
52
+ break;
53
+ case "ArrowLeft":
54
+ m();
55
+ break;
56
+ case "Escape":
57
+ case "Tab":
58
+ p();
59
+ break;
60
+ }
51
61
  }
52
- function x() {
53
- q(() => {
54
- var o;
55
- return (o = r.value) == null ? void 0 : o.$el.focus();
62
+ function B(t) {
63
+ e.trigger === "hover" && (l.value = t, h(t));
64
+ }
65
+ function k(t) {
66
+ d("select", t), p();
67
+ }
68
+ function D() {
69
+ m();
70
+ }
71
+ function m() {
72
+ i.value = void 0, l.value = void 0, c.value = !1, d("focus-previous");
73
+ }
74
+ function p() {
75
+ m(), d("hide");
76
+ }
77
+ function h(t) {
78
+ i.value = t;
79
+ }
80
+ function O() {
81
+ var a, o;
82
+ const t = (a = e.items) == null ? void 0 : a.findIndex(
83
+ (s) => s[e.itemValue] === i.value
84
+ );
85
+ if (!t && t !== 0) return;
86
+ const n = (o = f.value) == null ? void 0 : o.getItem(t);
87
+ i.value = void 0, l.value = void 0, n == null || n.focus();
88
+ }
89
+ function N() {
90
+ X(() => {
91
+ var t;
92
+ return (t = f.value) == null ? void 0 : t.$el.focus();
56
93
  });
57
94
  }
58
- return (o, a) => (g(), L(v(Q), {
59
- id: e.id,
60
- modelValue: s.value,
61
- "onUpdate:modelValue": a[0] || (a[0] = (t) => s.value = t),
62
- anchor: e.activator,
63
- appearance: e.appearance,
64
- inline: e.inline,
65
- delay: e.delay,
66
- offset: b.value,
67
- "cross-offset": k.value,
68
- placement: e.placement,
69
- transition: e.transition,
70
- class: M(e.class),
71
- trigger: e.trigger,
72
- "scroll-lock": "",
73
- onEnter: x
74
- }, {
75
- default: i(() => [
76
- O("div", R, [
77
- E(v(D), {
78
- ref_key: "listRef",
79
- ref: r,
80
- class: "q-dropdown-menu__items",
81
- highlighted: n.value,
82
- items: e.items,
83
- groups: e.groups,
84
- "item-label": e.itemLabel,
85
- "item-value": e.itemValue,
86
- onClick: C
87
- }, {
88
- item: i(({ item: t }) => [
89
- y(o.$slots, "item", { item: t })
90
- ]),
91
- "item.append": i(({ item: t }) => [
92
- y(o.$slots, "item.append", { item: t }, () => [
93
- t.extraInfo ? (g(), I(
94
- "span",
95
- T,
96
- S(t.extraInfo),
97
- 1
98
- /* TEXT */
99
- )) : N("v-if", !0)
100
- ])
101
- ]),
102
- _: 3
103
- /* FORWARDED */
104
- }, 8, ["highlighted", "items", "groups", "item-label", "item-value"])
105
- ])
106
- ]),
107
- _: 3
108
- /* FORWARDED */
109
- }, 8, ["id", "modelValue", "anchor", "appearance", "inline", "delay", "offset", "cross-offset", "placement", "transition", "class", "trigger"]));
95
+ return (t, n) => {
96
+ const a = F("q-dropdown-menu-content", !0);
97
+ return u(), L(v(Z), {
98
+ id: e.id,
99
+ modelValue: c.value,
100
+ "onUpdate:modelValue": n[0] || (n[0] = (o) => c.value = o),
101
+ anchor: e.activator,
102
+ appearance: e.appearance,
103
+ inline: e.inline,
104
+ delay: e.delay,
105
+ offset: E.value,
106
+ "cross-offset": R.value,
107
+ placement: e.placement,
108
+ transition: e.transition,
109
+ class: U(e.class),
110
+ "scroll-lock": "",
111
+ "non-modal": "",
112
+ onEnter: N,
113
+ onLeave: D
114
+ }, {
115
+ default: g(() => [
116
+ $(
117
+ "div",
118
+ {
119
+ class: "q-dropdown-menu__body",
120
+ "data-testid": "dropdown-content",
121
+ tabindex: "-1",
122
+ onKeydown: z(S, ["stop"])
123
+ },
124
+ [
125
+ C(v(Y), {
126
+ ref: "qListRef",
127
+ class: "q-dropdown-menu__items",
128
+ highlighted: l.value,
129
+ items: e.items,
130
+ groups: e.groups,
131
+ "item-label": e.itemLabel,
132
+ "item-value": e.itemValue,
133
+ selectable: !1,
134
+ onClick: P,
135
+ "onMouseenter:item": B
136
+ }, {
137
+ item: g(({ item: o }) => [
138
+ A(t.$slots, "item", { item: o })
139
+ ]),
140
+ "item.append": g(({ item: o, element: s }) => {
141
+ var b;
142
+ return [
143
+ A(t.$slots, "item.append", { item: o }, () => [
144
+ o.extraInfo ? (u(), M(
145
+ "span",
146
+ te,
147
+ H(o.extraInfo),
148
+ 1
149
+ /* TEXT */
150
+ )) : w("v-if", !0)
151
+ ]),
152
+ ((b = o.items) == null ? void 0 : b.length) > 0 ? (u(), M(
153
+ j,
154
+ { key: 0 },
155
+ [
156
+ C(
157
+ v(K),
158
+ G(J(e.icons.expand)),
159
+ null,
160
+ 16
161
+ /* FULL_PROPS */
162
+ ),
163
+ i.value === o.key ? (u(), L(a, W({
164
+ key: 0,
165
+ "model-value": r.modelValue
166
+ }, e, {
167
+ activator: s,
168
+ items: o.items,
169
+ groups: o.groups,
170
+ depth: e.depth + 1,
171
+ delay: e.delay,
172
+ placement: "right-start",
173
+ "non-modal": "",
174
+ inline: "",
175
+ onHide: p,
176
+ onSelect: k,
177
+ onFocusPrevious: O
178
+ }), null, 16, ["model-value", "activator", "items", "groups", "depth", "delay"])) : w("v-if", !0)
179
+ ],
180
+ 64
181
+ /* STABLE_FRAGMENT */
182
+ )) : w("v-if", !0)
183
+ ];
184
+ }),
185
+ _: 3
186
+ /* FORWARDED */
187
+ }, 8, ["highlighted", "items", "groups", "item-label", "item-value"])
188
+ ],
189
+ 32
190
+ /* NEED_HYDRATION */
191
+ )
192
+ ]),
193
+ _: 3
194
+ /* FORWARDED */
195
+ }, 8, ["id", "modelValue", "anchor", "appearance", "inline", "delay", "offset", "cross-offset", "placement", "transition", "class"]);
196
+ };
110
197
  }
111
198
  });
112
199
  export {
113
- j as default
200
+ se as default
114
201
  };
@@ -11,6 +11,8 @@ declare const QDropdownMenu: import('vue').DefineComponent<{
11
11
  groups?: import('../QList/types').Group[];
12
12
  itemValue?: string;
13
13
  itemLabel?: string;
14
+ trigger?: import('../../composables/overlay').Trigger;
15
+ depth?: number;
14
16
  icons?: typeof import('./types').DEFAULT_ICONS;
15
17
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
18
  "update:modelValue": (value: boolean) => any;
@@ -29,6 +31,8 @@ declare const QDropdownMenu: import('vue').DefineComponent<{
29
31
  groups?: import('../QList/types').Group[];
30
32
  itemValue?: string;
31
33
  itemLabel?: string;
34
+ trigger?: import('../../composables/overlay').Trigger;
35
+ depth?: number;
32
36
  icons?: typeof import('./types').DEFAULT_ICONS;
33
37
  }> & Readonly<{
34
38
  onSelect?: ((item: any) => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAAkC,CAAA;AAGrD,OAAO,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAAkC,CAAA;AAGrD,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -45,16 +45,20 @@ export type QDropdownMenuProps = QBaseComponentProps & {
45
45
  * Property on each item that contains its title.
46
46
  */
47
47
  itemLabel?: string;
48
+ /**
49
+ * The method to trigger the dropdown submenus.
50
+ */
51
+ trigger?: Trigger;
52
+ /**
53
+ * Depth for recursive nesting
54
+ */
55
+ depth?: number;
48
56
  /**
49
57
  * Custom icon configurations.
50
58
  */
51
59
  icons?: typeof DEFAULT_ICONS;
52
60
  };
53
61
  export type QDropdownMenuContentProps = QDropdownMenuProps & {
54
- /**
55
- * The method to trigger the dropdown menu.
56
- */
57
- trigger?: Trigger;
58
62
  /**
59
63
  * Offset the dropdown menu in the given amount of pixels.
60
64
  */
@@ -63,10 +67,6 @@ export type QDropdownMenuContentProps = QDropdownMenuProps & {
63
67
  * Offset the dropdown menu in the given amount of pixels (opposite to the main axis).
64
68
  */
65
69
  crossOffset?: number;
66
- /**
67
- * Depth for recursive nesting
68
- */
69
- depth?: number;
70
70
  };
71
71
  export declare const DEFAULT_ICONS: {
72
72
  expand: {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAEjD,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG;IACtD;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAA;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,GAAG;IAC5D;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAA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