@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.
- package/dist/json/api.json +34 -31
- package/dist/ui.esm.js +5407 -5400
- package/dist/ui.js +7 -7
- package/dist/ui.min.js +157 -156
- package/dist/ui.scss +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +16 -4
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/index.d.ts +8 -2
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +4 -13
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +71 -78
- package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
- package/esm/components/QDialog/QDialogProvider.vue.js +16 -17
- package/esm/components/QDialog/index.d.ts +10 -85
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +6 -0
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +27 -18
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +18 -4
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +40 -36
- package/esm/components/QList/QList.d.ts +9 -2
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +27 -25
- package/esm/components/QList/QListItem.d.ts +1 -0
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +25 -24
- package/esm/components/QList/index.d.ts +10 -1
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +12 -0
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +4 -9
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +156 -158
- package/esm/components/QOverlay/index.d.ts +10 -93
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +6 -0
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +14 -13
- package/esm/components/QSelect/QSelect.d.ts +16 -4
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/index.d.ts +8 -2
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/composables/useDialog/index.d.ts +1 -0
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/esm/composables/useDialog/index.js +11 -11
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as p, mergeModels as u, useModel as f, computed as y, createBlock as i, openBlock as
|
|
2
|
-
import { QMeter as
|
|
3
|
-
import { QOverlay as
|
|
1
|
+
import { defineComponent as p, mergeModels as u, useModel as f, computed as y, createBlock as i, openBlock as s, unref as c, withCtx as h, createElementVNode as d, createElementBlock as v, createCommentVNode as m, createVNode as B, toDisplayString as g } from "vue";
|
|
2
|
+
import { QMeter as V } from "../QMeter/index.js";
|
|
3
|
+
import { QOverlay as _ } from "../QOverlay/index.js";
|
|
4
4
|
import k from "./QPasswordFieldMessages.vue.js";
|
|
5
5
|
const w = { class: "q-password-field__meter" }, M = {
|
|
6
6
|
key: 0,
|
|
@@ -11,6 +11,7 @@ const w = { class: "q-password-field__meter" }, M = {
|
|
|
11
11
|
props: /* @__PURE__ */ u({
|
|
12
12
|
id: {},
|
|
13
13
|
class: {},
|
|
14
|
+
modelValue: { type: Boolean },
|
|
14
15
|
anchor: {},
|
|
15
16
|
appearance: {},
|
|
16
17
|
arrow: { type: Boolean },
|
|
@@ -43,8 +44,8 @@ const w = { class: "q-password-field__meter" }, M = {
|
|
|
43
44
|
modelModifiers: {}
|
|
44
45
|
}),
|
|
45
46
|
emits: ["update:modelValue"],
|
|
46
|
-
setup(
|
|
47
|
-
const o =
|
|
47
|
+
setup(n) {
|
|
48
|
+
const o = n, r = f(n, "modelValue"), a = y(() => {
|
|
48
49
|
if (!o.levels.length) {
|
|
49
50
|
console.warn("Levels array is empty.");
|
|
50
51
|
return;
|
|
@@ -59,9 +60,9 @@ const w = { class: "q-password-field__meter" }, M = {
|
|
|
59
60
|
}
|
|
60
61
|
return o.levels[o.levels.length - 1];
|
|
61
62
|
});
|
|
62
|
-
return (t, l) => (
|
|
63
|
-
modelValue:
|
|
64
|
-
"onUpdate:modelValue": l[0] || (l[0] = (e) =>
|
|
63
|
+
return (t, l) => (s(), i(c(_), {
|
|
64
|
+
modelValue: r.value,
|
|
65
|
+
"onUpdate:modelValue": l[0] || (l[0] = (e) => r.value = e),
|
|
65
66
|
trigger: "manual",
|
|
66
67
|
anchor: o.anchor,
|
|
67
68
|
width: "anchor",
|
|
@@ -72,21 +73,21 @@ const w = { class: "q-password-field__meter" }, M = {
|
|
|
72
73
|
var e;
|
|
73
74
|
return [
|
|
74
75
|
d("div", w, [
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
a.value ? (s(), v("div", M, [
|
|
77
|
+
B(c(V), {
|
|
77
78
|
"model-value": o.score,
|
|
78
79
|
max: 1,
|
|
79
|
-
color:
|
|
80
|
+
color: a.value.color
|
|
80
81
|
}, null, 8, ["model-value", "color"]),
|
|
81
82
|
d(
|
|
82
83
|
"span",
|
|
83
84
|
null,
|
|
84
|
-
|
|
85
|
+
g(a.value.label),
|
|
85
86
|
1
|
|
86
87
|
/* TEXT */
|
|
87
88
|
)
|
|
88
89
|
])) : m("v-if", !0),
|
|
89
|
-
(e = t.messages) != null && e.length ? (
|
|
90
|
+
(e = t.messages) != null && e.length ? (s(), i(k, {
|
|
90
91
|
key: 1,
|
|
91
92
|
messages: t.messages
|
|
92
93
|
}, null, 8, ["messages"])) : m("v-if", !0)
|
|
@@ -175,6 +175,7 @@ declare function __VLS_template(): {
|
|
|
175
175
|
readonly items?: Item[] | undefined;
|
|
176
176
|
readonly groups?: import('..').Group[] | undefined;
|
|
177
177
|
readonly selectable?: boolean | undefined;
|
|
178
|
+
readonly selectOnTab?: boolean | undefined;
|
|
178
179
|
readonly multiple?: boolean | undefined;
|
|
179
180
|
readonly disabled?: boolean | undefined;
|
|
180
181
|
readonly required?: boolean | undefined;
|
|
@@ -201,6 +202,7 @@ declare function __VLS_template(): {
|
|
|
201
202
|
readonly icon?: import('..').Icon | undefined;
|
|
202
203
|
readonly description?: string | undefined;
|
|
203
204
|
readonly selectable?: boolean | undefined;
|
|
205
|
+
readonly selectOnTab?: boolean | undefined;
|
|
204
206
|
readonly highlighted?: boolean | undefined;
|
|
205
207
|
readonly disabled?: boolean | undefined;
|
|
206
208
|
readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
|
|
@@ -232,6 +234,7 @@ declare function __VLS_template(): {
|
|
|
232
234
|
click: () => any;
|
|
233
235
|
}, string, {
|
|
234
236
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
237
|
+
selectOnTab: boolean;
|
|
235
238
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
236
239
|
beforeCreate?: (() => void) | (() => void)[];
|
|
237
240
|
created?: (() => void) | (() => void)[];
|
|
@@ -254,12 +257,13 @@ declare function __VLS_template(): {
|
|
|
254
257
|
$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;
|
|
255
258
|
} & Readonly<{
|
|
256
259
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
260
|
+
selectOnTab: boolean;
|
|
257
261
|
}> & Omit<Readonly<{
|
|
258
262
|
modelValue?: boolean;
|
|
259
263
|
} & import('..').QListItemProps> & Readonly<{
|
|
260
264
|
onClick?: (() => any) | undefined;
|
|
261
265
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
262
|
-
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
266
|
+
}>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
263
267
|
$slots: {
|
|
264
268
|
prepend?(_: {}): any;
|
|
265
269
|
default?(_: {}): any;
|
|
@@ -290,6 +294,7 @@ declare function __VLS_template(): {
|
|
|
290
294
|
"update:modelValue": (val: any) => any;
|
|
291
295
|
"mouseenter:item": (key: any) => any;
|
|
292
296
|
}, string, {
|
|
297
|
+
selectOnTab: boolean;
|
|
293
298
|
groups: import('..').Group[];
|
|
294
299
|
itemValue: string;
|
|
295
300
|
itemLabel: string;
|
|
@@ -314,6 +319,7 @@ declare function __VLS_template(): {
|
|
|
314
319
|
$nextTick: typeof nextTick;
|
|
315
320
|
$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;
|
|
316
321
|
} & Readonly<{
|
|
322
|
+
selectOnTab: boolean;
|
|
317
323
|
groups: import('..').Group[];
|
|
318
324
|
itemValue: string;
|
|
319
325
|
itemLabel: string;
|
|
@@ -321,7 +327,7 @@ declare function __VLS_template(): {
|
|
|
321
327
|
onClick?: ((key: any) => any) | undefined;
|
|
322
328
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
323
329
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
324
|
-
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
330
|
+
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
325
331
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
326
332
|
getActiveItemIndex: () => number;
|
|
327
333
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -520,6 +526,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
520
526
|
readonly items?: Item[] | undefined;
|
|
521
527
|
readonly groups?: import('..').Group[] | undefined;
|
|
522
528
|
readonly selectable?: boolean | undefined;
|
|
529
|
+
readonly selectOnTab?: boolean | undefined;
|
|
523
530
|
readonly multiple?: boolean | undefined;
|
|
524
531
|
readonly disabled?: boolean | undefined;
|
|
525
532
|
readonly required?: boolean | undefined;
|
|
@@ -546,6 +553,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
546
553
|
readonly icon?: import('..').Icon | undefined;
|
|
547
554
|
readonly description?: string | undefined;
|
|
548
555
|
readonly selectable?: boolean | undefined;
|
|
556
|
+
readonly selectOnTab?: boolean | undefined;
|
|
549
557
|
readonly highlighted?: boolean | undefined;
|
|
550
558
|
readonly disabled?: boolean | undefined;
|
|
551
559
|
readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
|
|
@@ -577,6 +585,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
577
585
|
click: () => any;
|
|
578
586
|
}, string, {
|
|
579
587
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
588
|
+
selectOnTab: boolean;
|
|
580
589
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
581
590
|
beforeCreate?: (() => void) | (() => void)[];
|
|
582
591
|
created?: (() => void) | (() => void)[];
|
|
@@ -599,12 +608,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
599
608
|
$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;
|
|
600
609
|
} & Readonly<{
|
|
601
610
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
611
|
+
selectOnTab: boolean;
|
|
602
612
|
}> & Omit<Readonly<{
|
|
603
613
|
modelValue?: boolean;
|
|
604
614
|
} & import('..').QListItemProps> & Readonly<{
|
|
605
615
|
onClick?: (() => any) | undefined;
|
|
606
616
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
607
|
-
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
617
|
+
}>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
608
618
|
$slots: {
|
|
609
619
|
prepend?(_: {}): any;
|
|
610
620
|
default?(_: {}): any;
|
|
@@ -635,6 +645,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
635
645
|
"update:modelValue": (val: any) => any;
|
|
636
646
|
"mouseenter:item": (key: any) => any;
|
|
637
647
|
}, string, {
|
|
648
|
+
selectOnTab: boolean;
|
|
638
649
|
groups: import('..').Group[];
|
|
639
650
|
itemValue: string;
|
|
640
651
|
itemLabel: string;
|
|
@@ -659,6 +670,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
659
670
|
$nextTick: typeof nextTick;
|
|
660
671
|
$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;
|
|
661
672
|
} & Readonly<{
|
|
673
|
+
selectOnTab: boolean;
|
|
662
674
|
groups: import('..').Group[];
|
|
663
675
|
itemValue: string;
|
|
664
676
|
itemLabel: string;
|
|
@@ -666,7 +678,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
666
678
|
onClick?: ((key: any) => any) | undefined;
|
|
667
679
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
668
680
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
669
|
-
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
681
|
+
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
670
682
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
671
683
|
getActiveItemIndex: () => number;
|
|
672
684
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAoMA;AAgiBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAe1D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAgD,MAAM,KAAK,CAAA;AAMtF,KAAK,WAAW,GAAG,YAAY,CAAC;AAyUjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC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CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -200,6 +200,7 @@ declare const QSelect: {
|
|
|
200
200
|
readonly items?: import('..').Item[] | undefined;
|
|
201
201
|
readonly groups?: import('..').Group[] | undefined;
|
|
202
202
|
readonly selectable?: boolean | undefined;
|
|
203
|
+
readonly selectOnTab?: boolean | undefined;
|
|
203
204
|
readonly multiple?: boolean | undefined;
|
|
204
205
|
readonly disabled?: boolean | undefined;
|
|
205
206
|
readonly required?: boolean | undefined;
|
|
@@ -226,6 +227,7 @@ declare const QSelect: {
|
|
|
226
227
|
readonly icon?: import('..').Icon | undefined;
|
|
227
228
|
readonly description?: string | undefined;
|
|
228
229
|
readonly selectable?: boolean | undefined;
|
|
230
|
+
readonly selectOnTab?: boolean | undefined;
|
|
229
231
|
readonly highlighted?: boolean | undefined;
|
|
230
232
|
readonly disabled?: boolean | undefined;
|
|
231
233
|
readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
|
|
@@ -257,6 +259,7 @@ declare const QSelect: {
|
|
|
257
259
|
click: () => any;
|
|
258
260
|
}, string, {
|
|
259
261
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
262
|
+
selectOnTab: boolean;
|
|
260
263
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
261
264
|
beforeCreate?: (() => void) | (() => void)[];
|
|
262
265
|
created?: (() => void) | (() => void)[];
|
|
@@ -279,12 +282,13 @@ declare const QSelect: {
|
|
|
279
282
|
$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;
|
|
280
283
|
} & Readonly<{
|
|
281
284
|
icons: typeof import('../QList/constants').DEFAULT_ICONS;
|
|
285
|
+
selectOnTab: boolean;
|
|
282
286
|
}> & Omit<Readonly<{
|
|
283
287
|
modelValue?: boolean;
|
|
284
288
|
} & import('..').QListItemProps> & Readonly<{
|
|
285
289
|
onClick?: (() => any) | undefined;
|
|
286
290
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
287
|
-
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
291
|
+
}>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
288
292
|
$slots: {
|
|
289
293
|
prepend?(_: {}): any;
|
|
290
294
|
default?(_: {}): any;
|
|
@@ -315,6 +319,7 @@ declare const QSelect: {
|
|
|
315
319
|
"update:modelValue": (val: any) => any;
|
|
316
320
|
"mouseenter:item": (key: any) => any;
|
|
317
321
|
}, string, {
|
|
322
|
+
selectOnTab: boolean;
|
|
318
323
|
groups: import('..').Group[];
|
|
319
324
|
itemValue: string;
|
|
320
325
|
itemLabel: string;
|
|
@@ -339,6 +344,7 @@ declare const QSelect: {
|
|
|
339
344
|
$nextTick: typeof import('vue').nextTick;
|
|
340
345
|
$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;
|
|
341
346
|
} & Readonly<{
|
|
347
|
+
selectOnTab: boolean;
|
|
342
348
|
groups: import('..').Group[];
|
|
343
349
|
itemValue: string;
|
|
344
350
|
itemLabel: string;
|
|
@@ -346,7 +352,7 @@ declare const QSelect: {
|
|
|
346
352
|
onClick?: ((key: any) => any) | undefined;
|
|
347
353
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
348
354
|
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
349
|
-
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
355
|
+
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
350
356
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
351
357
|
getActiveItemIndex: () => number;
|
|
352
358
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAO8tzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAO8tzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAPxzzB,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,cAAc,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useDialog/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AASrF;;;;GAIG;AACH,wBAAgB,SAAS;uBASE,YAAY,OAAO,MAAM,YAAY,cAAc;uBAgBnD,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useDialog/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AASrF;;;;GAIG;AACH,wBAAgB,SAAS;uBASE,YAAY,OAAO,MAAM,YAAY,cAAc;uBAgBnD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAaq4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EADt6C"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { useId as
|
|
3
|
-
const
|
|
1
|
+
import { reactive as r } from "vue";
|
|
2
|
+
import { useId as s } from "../uid.js";
|
|
3
|
+
const i = r({ dialogs: [] });
|
|
4
4
|
function c() {
|
|
5
|
-
function
|
|
6
|
-
const
|
|
7
|
-
return
|
|
5
|
+
function n(e, o, d) {
|
|
6
|
+
const t = s(o).value;
|
|
7
|
+
return i.dialogs.push({ id: t, props: { ...e, modelValue: !0 }, options: d }), t;
|
|
8
8
|
}
|
|
9
|
-
function a(
|
|
10
|
-
const
|
|
11
|
-
|
|
9
|
+
function a(e) {
|
|
10
|
+
const o = i.dialogs.findIndex((d) => d.id === e);
|
|
11
|
+
o !== -1 && i.dialogs.splice(o, 1);
|
|
12
12
|
}
|
|
13
13
|
return {
|
|
14
|
-
...
|
|
15
|
-
addDialog:
|
|
14
|
+
...i,
|
|
15
|
+
addDialog: n,
|
|
16
16
|
removeDialog: a
|
|
17
17
|
};
|
|
18
18
|
}
|