@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,4 +1,4 @@
1
- import { defineComponent as N, ref as b, computed as M, toRef as V, watch as X, createBlock as A, openBlock as m, resolveDynamicComponent as Y, normalizeClass as Z, withCtx as v, renderSlot as L, createElementBlock as q, Fragment as E, renderList as T, unref as $ } from "vue";
1
+ import { defineComponent as N, ref as b, computed as D, toRef as V, watch as X, createBlock as A, openBlock as m, resolveDynamicComponent as Y, normalizeClass as Z, withCtx as v, renderSlot as L, createElementBlock as M, Fragment as q, renderList as E, unref as $ } from "vue";
2
2
  import { QListItemGroup as ee, QListItem as te } from "./index.js";
3
3
  import { useGroup as ne } from "../../composables/useGroup/index.js";
4
4
  const oe = /* @__PURE__ */ N({
@@ -11,6 +11,7 @@ const oe = /* @__PURE__ */ N({
11
11
  items: {},
12
12
  groups: { default: () => [] },
13
13
  selectable: { type: Boolean },
14
+ selectOnTab: { type: Boolean, default: !0 },
14
15
  multiple: { type: Boolean },
15
16
  disabled: { type: Boolean },
16
17
  required: { type: Boolean },
@@ -18,8 +19,8 @@ const oe = /* @__PURE__ */ N({
18
19
  itemLabel: { default: "label" }
19
20
  },
20
21
  emits: ["update:modelValue", "click", "mouseenter:item"],
21
- setup(R, { expose: G, emit: O }) {
22
- const n = R, g = O, h = b(!1), Q = M(() => a.value.length > 1 ? "div" : "ul"), a = M(() => n.groups.length ? n.groups.filter(
22
+ setup(O, { expose: R, emit: G }) {
23
+ const n = O, g = G, h = b(!1), Q = D(() => u.value.length > 1 ? "div" : "ul"), u = D(() => n.groups.length ? n.groups.filter(
23
24
  (e) => {
24
25
  var t;
25
26
  return (t = n.items) == null ? void 0 : t.some((l) => l.group === e.id);
@@ -47,8 +48,8 @@ const oe = /* @__PURE__ */ N({
47
48
  return;
48
49
  let t = -1;
49
50
  n.multiple ? ((s = r.value) == null ? void 0 : s.length) > 0 && (t = n.items.findIndex(
50
- (u) => r.value.includes(u[n.itemValue])
51
- )) : r.value && (t = n.items.findIndex((u) => u[n.itemValue] === r.value)), t === -1 && (t = y());
51
+ (a) => r.value.includes(a[n.itemValue])
52
+ )) : r.value && (t = n.items.findIndex((a) => a[n.itemValue] === r.value)), t === -1 && (t = y());
52
53
  const l = h.value;
53
54
  c(t, l);
54
55
  }
@@ -94,7 +95,7 @@ const oe = /* @__PURE__ */ N({
94
95
  c(y());
95
96
  break;
96
97
  case "last":
97
- c(F());
98
+ c(B());
98
99
  break;
99
100
  }
100
101
  }
@@ -117,24 +118,24 @@ const oe = /* @__PURE__ */ N({
117
118
  const e = o(), t = e.find((l) => x(l));
118
119
  return t ? e.indexOf(t) : -1;
119
120
  }
120
- function F() {
121
+ function B() {
121
122
  const e = o(), t = [...e].reverse().find((l) => x(l));
122
123
  return t ? e.indexOf(t) : -1;
123
124
  }
124
- function B(e, t, l) {
125
+ function F(e, t, l) {
125
126
  return t === "prev" && e <= 0 || t === "next" && e === l.length - 1;
126
127
  }
127
128
  function W(e) {
128
129
  const t = _();
129
- return D(t, e);
130
+ return T(t, e);
130
131
  }
131
- function D(e, t) {
132
+ function T(e, t) {
132
133
  const l = o();
133
- if (B(e, t, l))
134
+ if (F(e, t, l))
134
135
  return e;
135
136
  let i = e + (t === "next" ? 1 : -1);
136
137
  for (; !x(l[i]); ) {
137
- if (B(i, t, l))
138
+ if (F(i, t, l))
138
139
  return e;
139
140
  i += t === "next" ? 1 : -1;
140
141
  }
@@ -149,12 +150,12 @@ const oe = /* @__PURE__ */ N({
149
150
  }
150
151
  return X(r, (e) => {
151
152
  g("update:modelValue", e);
152
- }), G({
153
+ }), R({
153
154
  getItem: P,
154
155
  getActiveItemIndex: _,
155
- getAdjacentItemIndex: D,
156
+ getAdjacentItemIndex: T,
156
157
  getFirstFocusableItemIndex: y,
157
- getLastFocusableItemIndex: F
158
+ getLastFocusableItemIndex: B
158
159
  }), (e, t) => (m(), A(Y(Q.value), {
159
160
  id: n.id,
160
161
  ref_key: "listRef",
@@ -169,19 +170,19 @@ const oe = /* @__PURE__ */ N({
169
170
  }, {
170
171
  default: v(() => [
171
172
  L(e.$slots, "default", {}, () => [
172
- (m(!0), q(
173
- E,
173
+ (m(!0), M(
174
+ q,
174
175
  null,
175
- T(a.value, (l, i) => (m(), A($(ee), {
176
+ E(u.value, (l, i) => (m(), A($(ee), {
176
177
  id: l.id,
177
178
  key: l.id,
178
- title: a.value.length === 1 ? void 0 : l.title
179
+ title: u.value.length === 1 ? void 0 : l.title
179
180
  }, {
180
181
  default: v(() => [
181
- (m(!0), q(
182
- E,
182
+ (m(!0), M(
183
+ q,
183
184
  null,
184
- T(J(l.id), (s, u) => (m(), A($(te), {
185
+ E(J(l.id), (s, a) => (m(), A($(te), {
185
186
  key: s[n.itemValue],
186
187
  ref_for: !0,
187
188
  ref_key: "listItemsRef",
@@ -193,6 +194,7 @@ const oe = /* @__PURE__ */ N({
193
194
  disabled: n.disabled || l.disabled || s.disabled,
194
195
  highlighted: n.highlighted === s[n.itemValue],
195
196
  selectable: n.selectable || n.multiple || s.selectable,
197
+ "select-on-tab": n.selectOnTab,
196
198
  onClick: () => S(s[n.itemValue]),
197
199
  onMouseenter: () => U(s[n.itemValue])
198
200
  }, {
@@ -201,7 +203,7 @@ const oe = /* @__PURE__ */ N({
201
203
  return [
202
204
  L(e.$slots, "item.append", {
203
205
  item: s,
204
- element: (f = (d = k.value) == null ? void 0 : d[u + i * a.value.length]) == null ? void 0 : f.$el
206
+ element: (f = (d = k.value) == null ? void 0 : d[a + i * u.value.length]) == null ? void 0 : f.$el
205
207
  })
206
208
  ];
207
209
  }),
@@ -210,13 +212,13 @@ const oe = /* @__PURE__ */ N({
210
212
  return [
211
213
  L(e.$slots, "item", {
212
214
  item: s,
213
- element: (f = (d = k.value) == null ? void 0 : d[u + i * a.value.length]) == null ? void 0 : f.$el
215
+ element: (f = (d = k.value) == null ? void 0 : d[a + i * u.value.length]) == null ? void 0 : f.$el
214
216
  })
215
217
  ];
216
218
  }),
217
219
  _: 2
218
220
  /* DYNAMIC */
219
- }, 1032, ["value", "label", "description", "icon", "disabled", "highlighted", "selectable", "onClick", "onMouseenter"]))),
221
+ }, 1032, ["value", "label", "description", "icon", "disabled", "highlighted", "selectable", "select-on-tab", "onClick", "onMouseenter"]))),
220
222
  128
221
223
  /* KEYED_FRAGMENT */
222
224
  ))
@@ -24,6 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
24
24
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
25
25
  }>, {
26
26
  icons: typeof DEFAULT_ICONS;
27
+ selectOnTab: boolean;
27
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
28
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
30
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"QListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QListItem.vue"],"names":[],"mappings":"AAiDA;AA0HC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAM3C,OAAO,KA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AAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,15 +1,15 @@
1
- import { defineComponent as q, mergeModels as p, useModel as w, watch as B, createElementBlock as d, openBlock as o, withModifiers as V, normalizeClass as C, unref as s, renderSlot as c, createElementVNode as r, createCommentVNode as n, createBlock as f, createTextVNode as E, normalizeProps as h, mergeProps as _, toDisplayString as v, createVNode as I, guardReactiveProps as N } from "vue";
2
- import { DEFAULT_ICONS as D } from "./constants.js";
1
+ import { defineComponent as q, mergeModels as p, useModel as B, watch as w, createElementBlock as c, openBlock as o, withModifiers as V, normalizeClass as C, unref as s, renderSlot as d, createElementVNode as r, createCommentVNode as n, createBlock as f, createTextVNode as E, normalizeProps as h, mergeProps as _, toDisplayString as b, createVNode as I, guardReactiveProps as N } from "vue";
2
+ import { DEFAULT_ICONS as T } from "./constants.js";
3
3
  import { QIcon as m } from "../QIcon/index.js";
4
- import { useId as L } from "../../composables/uid.js";
5
- import { useGroupItem as M } from "../../composables/useGroup/index.js";
6
- const P = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Q = { class: "q-list-item__container" }, x = { class: "q-list-item__content" }, S = {
4
+ import { useId as D } from "../../composables/uid.js";
5
+ import { useGroupItem as L } from "../../composables/useGroup/index.js";
6
+ const M = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], P = { class: "q-list-item__container" }, Q = { class: "q-list-item__content" }, x = {
7
7
  key: 0,
8
8
  class: "q-list-item__description"
9
- }, T = {
9
+ }, O = {
10
10
  key: 0,
11
11
  class: "q-list-item__check-container"
12
- }, O = /* @__PURE__ */ q({
12
+ }, G = /* @__PURE__ */ q({
13
13
  __name: "QListItem",
14
14
  props: /* @__PURE__ */ p({
15
15
  value: {},
@@ -17,16 +17,17 @@ const P = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Q = { c
17
17
  icon: {},
18
18
  description: {},
19
19
  selectable: { type: Boolean },
20
+ selectOnTab: { type: Boolean, default: !0 },
20
21
  highlighted: { type: Boolean },
21
22
  disabled: { type: Boolean },
22
- icons: { default: () => D }
23
+ icons: { default: () => T }
23
24
  }, {
24
25
  modelValue: { type: Boolean },
25
26
  modelModifiers: {}
26
27
  }),
27
28
  emits: /* @__PURE__ */ p(["click"], ["update:modelValue"]),
28
- setup(u, { emit: b }) {
29
- const e = u, k = b, l = w(u, "modelValue"), y = L(), i = M(e.value);
29
+ setup(u, { emit: v }) {
30
+ const e = u, k = v, l = B(u, "modelValue"), y = D(), i = L(e.value);
30
31
  if (!i)
31
32
  throw new Error(
32
33
  "QListItem: Failed to retrieve group item. Ensure the component is used within a QList context."
@@ -35,9 +36,9 @@ const P = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Q = { c
35
36
  e.disabled || (k("click"), e.selectable && (i == null || i.toggle()));
36
37
  }
37
38
  function g(t) {
38
- t.key === "Tab" && a(), (t.key === "Enter" || t.key === " ") && (t.preventDefault(), t.stopPropagation(), a());
39
+ t.key === "Tab" && e.selectOnTab && a(), (t.key === "Enter" || t.key === " ") && (t.preventDefault(), t.stopPropagation(), a());
39
40
  }
40
- return B(
41
+ return w(
41
42
  i.isActive,
42
43
  (t) => {
43
44
  l.value = t;
@@ -45,7 +46,7 @@ const P = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Q = { c
45
46
  {
46
47
  immediate: !0
47
48
  }
48
- ), (t, $) => (o(), d("li", {
49
+ ), (t, S) => (o(), c("li", {
49
50
  id: s(y),
50
51
  "data-key": e.value,
51
52
  role: "option",
@@ -64,10 +65,10 @@ const P = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Q = { c
64
65
  onKeydown: g,
65
66
  onClick: V(a, ["stop", "prevent"])
66
67
  }, [
67
- c(t.$slots, "prepend"),
68
- r("div", Q, [
69
- r("div", x, [
70
- c(t.$slots, "default", {}, () => [
68
+ d(t.$slots, "prepend"),
69
+ r("div", P, [
70
+ r("div", Q, [
71
+ d(t.$slots, "default", {}, () => [
71
72
  e.icon ? (o(), f(
72
73
  s(m),
73
74
  h(_({ key: 0 }, e.icon)),
@@ -76,13 +77,13 @@ const P = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Q = { c
76
77
  /* FULL_PROPS */
77
78
  )) : n("v-if", !0),
78
79
  E(
79
- " " + v(e.label),
80
+ " " + b(e.label),
80
81
  1
81
82
  /* TEXT */
82
83
  )
83
84
  ])
84
85
  ]),
85
- e.description ? (o(), d("div", S, [
86
+ e.description ? (o(), c("div", x, [
86
87
  I(
87
88
  s(m),
88
89
  h(N(e.icons.description)),
@@ -93,14 +94,14 @@ const P = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Q = { c
93
94
  r(
94
95
  "span",
95
96
  null,
96
- v(e.description),
97
+ b(e.description),
97
98
  1
98
99
  /* TEXT */
99
100
  )
100
101
  ])) : n("v-if", !0)
101
102
  ]),
102
- c(t.$slots, "append"),
103
- e.selectable ? (o(), d("div", T, [
103
+ d(t.$slots, "append"),
104
+ e.selectable ? (o(), c("div", O, [
104
105
  l.value ? (o(), f(
105
106
  s(m),
106
107
  _({ key: 0 }, e.icons.check, { class: "q-list-item__check" }),
@@ -109,9 +110,9 @@ const P = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Q = { c
109
110
  /* FULL_PROPS */
110
111
  )) : n("v-if", !0)
111
112
  ])) : n("v-if", !0)
112
- ], 42, P));
113
+ ], 42, M));
113
114
  }
114
115
  });
115
116
  export {
116
- O as default
117
+ G as default
117
118
  };
@@ -14,6 +14,7 @@ declare const QList: {
14
14
  "update:modelValue": (val: any) => any;
15
15
  "mouseenter:item": (key: any) => any;
16
16
  }, import('vue').PublicProps, {
17
+ selectOnTab: boolean;
17
18
  groups: import('./types').Group[];
18
19
  itemValue: string;
19
20
  itemLabel: string;
@@ -29,6 +30,7 @@ declare const QList: {
29
30
  readonly icon?: import('..').Icon | undefined;
30
31
  readonly description?: string | undefined;
31
32
  readonly selectable?: boolean | undefined;
33
+ readonly selectOnTab?: boolean | undefined;
32
34
  readonly highlighted?: boolean | undefined;
33
35
  readonly disabled?: boolean | undefined;
34
36
  readonly icons?: typeof import('./constants').DEFAULT_ICONS | undefined;
@@ -60,6 +62,7 @@ declare const QList: {
60
62
  click: () => any;
61
63
  }, string, {
62
64
  icons: typeof import('./constants').DEFAULT_ICONS;
65
+ selectOnTab: boolean;
63
66
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
64
67
  beforeCreate?: (() => void) | (() => void)[];
65
68
  created?: (() => void) | (() => void)[];
@@ -82,12 +85,13 @@ declare const QList: {
82
85
  $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;
83
86
  } & Readonly<{
84
87
  icons: typeof import('./constants').DEFAULT_ICONS;
88
+ selectOnTab: boolean;
85
89
  }> & Omit<Readonly<{
86
90
  modelValue?: boolean;
87
91
  } & import('./types').QListItemProps> & Readonly<{
88
92
  onClick?: (() => any) | undefined;
89
93
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
90
- }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
94
+ }>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
91
95
  $slots: {
92
96
  prepend?(_: {}): any;
93
97
  default?(_: {}): any;
@@ -112,6 +116,7 @@ declare const QList: {
112
116
  getFirstFocusableItemIndex: () => number;
113
117
  getLastFocusableItemIndex: () => number;
114
118
  }, {}, {}, {}, {
119
+ selectOnTab: boolean;
115
120
  groups: import('./types').Group[];
116
121
  itemValue: string;
117
122
  itemLabel: string;
@@ -134,6 +139,7 @@ declare const QList: {
134
139
  "update:modelValue": (val: any) => any;
135
140
  "mouseenter:item": (key: any) => any;
136
141
  }, string, {
142
+ selectOnTab: boolean;
137
143
  groups: import('./types').Group[];
138
144
  itemValue: string;
139
145
  itemLabel: string;
@@ -162,6 +168,7 @@ declare const QListItem: {
162
168
  click: () => any;
163
169
  }, import('vue').PublicProps, {
164
170
  icons: typeof import('./constants').DEFAULT_ICONS;
171
+ selectOnTab: boolean;
165
172
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLLIElement, import('vue').ComponentProvideOptions, {
166
173
  P: {};
167
174
  B: {};
@@ -176,6 +183,7 @@ declare const QListItem: {
176
183
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
177
184
  }>, {}, {}, {}, {}, {
178
185
  icons: typeof import('./constants').DEFAULT_ICONS;
186
+ selectOnTab: boolean;
179
187
  }>;
180
188
  __isFragment?: never;
181
189
  __isTeleport?: never;
@@ -191,6 +199,7 @@ declare const QListItem: {
191
199
  click: () => any;
192
200
  }, string, {
193
201
  icons: typeof import('./constants').DEFAULT_ICONS;
202
+ selectOnTab: boolean;
194
203
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
195
204
  $slots: {
196
205
  prepend?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAS6gzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EATzmzB,CAAA;AACrC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAG3C,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAS6gzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EATzmzB,CAAA;AACrC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAG3C,cAAc,SAAS,CAAA"}
@@ -41,6 +41,12 @@ export type QListProps = QBaseComponentProps & {
41
41
  * @category Behavior
42
42
  */
43
43
  selectable?: boolean;
44
+ /**
45
+ * Indicates whether the item is selected when pressing tab.
46
+ *
47
+ * @category Behavior
48
+ */
49
+ selectOnTab?: boolean;
44
50
  /**
45
51
  * Indicates whether multiple options can be selected.
46
52
  *
@@ -103,6 +109,12 @@ export type QListItemProps = {
103
109
  * @category Behavior
104
110
  */
105
111
  selectable?: boolean;
112
+ /**
113
+ * Indicates whether the list items are selected when pressing tab.
114
+ *
115
+ * @category Behavior
116
+ */
117
+ selectOnTab?: boolean;
106
118
  /**
107
119
  * Whether this item is highlighted.
108
120
  *
@@ -1 +1 @@
1
- {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EpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B;;;;OAIG;IAEH,KAAK,EAAE,GAAG,CAAA;IAEV;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IACjC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA"}
@@ -1,8 +1,4 @@
1
1
  import { QOverlayProps } from './types';
2
- type __VLS_Props = QOverlayProps;
3
- type __VLS_PublicProps = {
4
- modelValue?: boolean;
5
- } & __VLS_Props;
6
2
  declare function __VLS_template(): {
7
3
  attrs: Partial<{}>;
8
4
  slots: {
@@ -16,13 +12,12 @@ declare function __VLS_template(): {
16
12
  rootEl: any;
17
13
  };
18
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- "update:modelValue": (value: boolean) => any;
21
- } & {
15
+ declare const __VLS_component: import('vue').DefineComponent<QOverlayProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ "update:modelValue": (val: boolean) => any;
22
17
  enter: () => any;
23
18
  leave: () => any;
24
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
19
+ }, string, import('vue').PublicProps, Readonly<QOverlayProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
26
21
  onEnter?: (() => any) | undefined;
27
22
  onLeave?: (() => any) | undefined;
28
23
  }>, {
@@ -1 +1 @@
1
- {"version":3,"file":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue"],"names":[],"mappings":"AAgEA;AA0hBC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAM5C,KAAK,WAAW,GAAG,aAAa,CAAC;AA4clC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgLT,OAAO,IAA6B;;yBAdpB,GAAG;;;;;;;;EAmBhC;AA8BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;OASnB,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
+ {"version":3,"file":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue"],"names":[],"mappings":"AAgEA;AAyhBC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAgd7C,iBAAS,cAAc;WAgLT,OAAO,IAA6B;;yBAdpB,GAAG;;;;;;;;EAmBhC;AA6BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;OASnB,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"}