@quidgest/ui 0.15.9 → 0.16.0
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/manifest/components.json +4 -1
- package/dist/ui.css +9 -6
- package/dist/ui.esm.js +3554 -3451
- package/dist/ui.js +26 -26
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +738 -731
- package/dist/ui.scss +11 -7
- package/esm/components/QAccordion/QAccordion.d.ts +4 -3
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +21 -17
- package/esm/components/QAccordion/QAccordionItem.d.ts +19 -0
- package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -0
- package/esm/components/QAccordion/QAccordionItem.vue.js +42 -0
- package/esm/components/QAccordion/QAccordionItem.vue2.js +4 -0
- package/esm/components/QAccordion/index.d.ts +35 -15
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/index.js +6 -4
- package/esm/components/QAccordion/types.d.ts +25 -5
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +9 -11
- package/esm/components/QButton/types.d.ts +0 -4
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +60 -65
- package/esm/components/QCollapsible/index.d.ts +14 -14
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +16 -18
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/index.d.ts +8 -9
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +16 -16
- package/esm/components/QList/QList.d.ts +9 -9
- package/esm/components/QList/QListItem.d.ts +1 -1
- package/esm/components/QList/index.d.ts +10 -10
- package/esm/components/QRadioGroup/QRadioButton.vue.js +3 -3
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +1 -1
- package/esm/components/QSelect/QSelect.d.ts +16 -16
- package/esm/components/QSelect/index.d.ts +8 -8
- package/esm/components/{QButtonToggle/QButtonToggle.d.ts → QToggle/QToggle.d.ts} +11 -9
- package/esm/components/QToggle/QToggle.d.ts.map +1 -0
- package/esm/components/QToggle/QToggle.vue.js +40 -0
- package/esm/components/QToggle/QToggle.vue2.js +4 -0
- package/esm/components/QToggle/index.d.ts +71 -0
- package/esm/components/QToggle/index.d.ts.map +1 -0
- package/esm/components/{QButtonToggle → QToggle}/index.js +3 -3
- package/esm/components/QToggle/types.d.ts +3 -0
- package/esm/components/QToggle/types.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroup.d.ts +28 -0
- package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +49 -0
- package/esm/components/QToggleGroup/QToggleGroup.vue2.js +4 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts +19 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +44 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.vue2.js +4 -0
- package/esm/components/QToggleGroup/index.d.ts +75 -0
- package/esm/components/QToggleGroup/index.d.ts.map +1 -0
- package/esm/components/QToggleGroup/index.js +8 -0
- package/esm/components/QToggleGroup/types.d.ts +19 -0
- package/esm/components/QToggleGroup/types.d.ts.map +1 -0
- package/esm/components/index.d.ts +2 -1
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +83 -79
- package/esm/composables/{group.d.ts → useGroup/index.d.ts} +11 -3
- package/esm/composables/useGroup/index.d.ts.map +1 -0
- package/esm/composables/useGroup/index.js +38 -0
- package/esm/index.d.ts +4 -1
- package/package.json +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +0 -1
- package/esm/components/QButtonToggle/QButtonToggle.vue.js +0 -62
- package/esm/components/QButtonToggle/QButtonToggle.vue2.js +0 -4
- package/esm/components/QButtonToggle/index.d.ts +0 -51
- package/esm/components/QButtonToggle/index.d.ts.map +0 -1
- package/esm/components/QButtonToggle/types.d.ts +0 -29
- package/esm/components/QButtonToggle/types.d.ts.map +0 -1
- package/esm/composables/group.d.ts.map +0 -1
- package/esm/composables/group.js +0 -31
|
@@ -31,8 +31,8 @@ declare function __VLS_template(): {
|
|
|
31
31
|
readonly itemLabel?: string | undefined;
|
|
32
32
|
readonly disabled?: boolean | undefined;
|
|
33
33
|
readonly selectable?: boolean | undefined;
|
|
34
|
-
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
35
34
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
35
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
36
36
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
37
37
|
$attrs: {
|
|
38
38
|
[x: string]: unknown;
|
|
@@ -54,8 +54,8 @@ declare function __VLS_template(): {
|
|
|
54
54
|
readonly disabled?: boolean | undefined;
|
|
55
55
|
readonly description?: string | undefined;
|
|
56
56
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
57
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
58
57
|
readonly onClick?: (() => any) | undefined;
|
|
58
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
59
59
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
60
60
|
$attrs: {
|
|
61
61
|
[x: string]: unknown;
|
|
@@ -69,13 +69,13 @@ declare function __VLS_template(): {
|
|
|
69
69
|
$root: import('vue').ComponentPublicInstance | null;
|
|
70
70
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
71
71
|
$host: Element | null;
|
|
72
|
-
$emit: ((event: "
|
|
72
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
73
73
|
$el: HTMLLIElement;
|
|
74
74
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
75
75
|
modelValue?: boolean;
|
|
76
76
|
} & import('..').QListItemProps> & Readonly<{
|
|
77
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
78
77
|
onClick?: (() => any) | undefined;
|
|
78
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
79
79
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
80
80
|
"update:modelValue": (value: boolean) => any;
|
|
81
81
|
} & {
|
|
@@ -107,8 +107,8 @@ declare function __VLS_template(): {
|
|
|
107
107
|
}> & Omit<Readonly<{
|
|
108
108
|
modelValue?: boolean;
|
|
109
109
|
} & import('..').QListItemProps> & Readonly<{
|
|
110
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
111
110
|
onClick?: (() => any) | undefined;
|
|
111
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
112
112
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
113
113
|
$slots: {
|
|
114
114
|
prepend?(_: {}): any;
|
|
@@ -123,7 +123,7 @@ declare function __VLS_template(): {
|
|
|
123
123
|
$root: import('vue').ComponentPublicInstance | null;
|
|
124
124
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
125
125
|
$host: Element | null;
|
|
126
|
-
$emit: ((event: "
|
|
126
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
127
127
|
$el: any;
|
|
128
128
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
129
129
|
modelValue?: any;
|
|
@@ -136,8 +136,8 @@ declare function __VLS_template(): {
|
|
|
136
136
|
disabled?: boolean;
|
|
137
137
|
selectable?: boolean;
|
|
138
138
|
}> & Readonly<{
|
|
139
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
140
139
|
onClick?: ((key: any) => any) | undefined;
|
|
140
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
141
141
|
}>, {
|
|
142
142
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
143
143
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -186,8 +186,8 @@ declare function __VLS_template(): {
|
|
|
186
186
|
disabled?: boolean;
|
|
187
187
|
selectable?: boolean;
|
|
188
188
|
}> & Readonly<{
|
|
189
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
190
189
|
onClick?: ((key: any) => any) | undefined;
|
|
190
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
191
191
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
192
192
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
193
193
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -246,8 +246,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
246
246
|
readonly itemLabel?: string | undefined;
|
|
247
247
|
readonly disabled?: boolean | undefined;
|
|
248
248
|
readonly selectable?: boolean | undefined;
|
|
249
|
-
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
250
249
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
250
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
251
251
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
252
252
|
$attrs: {
|
|
253
253
|
[x: string]: unknown;
|
|
@@ -269,8 +269,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
269
269
|
readonly disabled?: boolean | undefined;
|
|
270
270
|
readonly description?: string | undefined;
|
|
271
271
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
272
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
273
272
|
readonly onClick?: (() => any) | undefined;
|
|
273
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
274
274
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
275
275
|
$attrs: {
|
|
276
276
|
[x: string]: unknown;
|
|
@@ -284,13 +284,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
284
284
|
$root: import('vue').ComponentPublicInstance | null;
|
|
285
285
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
286
286
|
$host: Element | null;
|
|
287
|
-
$emit: ((event: "
|
|
287
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
288
288
|
$el: HTMLLIElement;
|
|
289
289
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
290
290
|
modelValue?: boolean;
|
|
291
291
|
} & import('..').QListItemProps> & Readonly<{
|
|
292
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
293
292
|
onClick?: (() => any) | undefined;
|
|
293
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
294
294
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
295
295
|
"update:modelValue": (value: boolean) => any;
|
|
296
296
|
} & {
|
|
@@ -322,8 +322,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
322
322
|
}> & Omit<Readonly<{
|
|
323
323
|
modelValue?: boolean;
|
|
324
324
|
} & import('..').QListItemProps> & Readonly<{
|
|
325
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
326
325
|
onClick?: (() => any) | undefined;
|
|
326
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
327
327
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
328
328
|
$slots: {
|
|
329
329
|
prepend?(_: {}): any;
|
|
@@ -338,7 +338,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
338
338
|
$root: import('vue').ComponentPublicInstance | null;
|
|
339
339
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
340
340
|
$host: Element | null;
|
|
341
|
-
$emit: ((event: "
|
|
341
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
342
342
|
$el: any;
|
|
343
343
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
344
344
|
modelValue?: any;
|
|
@@ -351,8 +351,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
351
351
|
disabled?: boolean;
|
|
352
352
|
selectable?: boolean;
|
|
353
353
|
}> & Readonly<{
|
|
354
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
355
354
|
onClick?: ((key: any) => any) | undefined;
|
|
355
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
356
356
|
}>, {
|
|
357
357
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
358
358
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -401,8 +401,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
401
401
|
disabled?: boolean;
|
|
402
402
|
selectable?: boolean;
|
|
403
403
|
}> & Readonly<{
|
|
404
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
405
404
|
onClick?: ((key: any) => any) | undefined;
|
|
405
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
406
406
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
407
407
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
408
408
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -57,8 +57,8 @@ declare function __VLS_template(): {
|
|
|
57
57
|
readonly disabled?: boolean | undefined;
|
|
58
58
|
readonly description?: string | undefined;
|
|
59
59
|
readonly icons?: typeof import('./types').DEFAULT_ICONS | undefined;
|
|
60
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
61
60
|
readonly onClick?: (() => any) | undefined;
|
|
61
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
62
62
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
63
63
|
$attrs: {
|
|
64
64
|
[x: string]: unknown;
|
|
@@ -72,13 +72,13 @@ declare function __VLS_template(): {
|
|
|
72
72
|
$root: import('vue').ComponentPublicInstance | null;
|
|
73
73
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
74
74
|
$host: Element | null;
|
|
75
|
-
$emit: ((event: "
|
|
75
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
76
76
|
$el: HTMLLIElement;
|
|
77
77
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
78
78
|
modelValue?: boolean;
|
|
79
79
|
} & import('./types').QListItemProps> & Readonly<{
|
|
80
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
81
80
|
onClick?: (() => any) | undefined;
|
|
81
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
82
82
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
83
83
|
"update:modelValue": (value: boolean) => any;
|
|
84
84
|
} & {
|
|
@@ -110,8 +110,8 @@ declare function __VLS_template(): {
|
|
|
110
110
|
}> & Omit<Readonly<{
|
|
111
111
|
modelValue?: boolean;
|
|
112
112
|
} & import('./types').QListItemProps> & Readonly<{
|
|
113
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
114
113
|
onClick?: (() => any) | undefined;
|
|
114
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
115
115
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
116
116
|
$slots: {
|
|
117
117
|
prepend?(_: {}): any;
|
|
@@ -133,8 +133,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
133
133
|
} & {
|
|
134
134
|
click: (key: any) => any;
|
|
135
135
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
136
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
137
136
|
onClick?: ((key: any) => any) | undefined;
|
|
137
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
138
138
|
}>, {
|
|
139
139
|
groups: Group[];
|
|
140
140
|
itemValue: string;
|
|
@@ -154,8 +154,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
154
154
|
readonly disabled?: boolean | undefined;
|
|
155
155
|
readonly description?: string | undefined;
|
|
156
156
|
readonly icons?: typeof import('./types').DEFAULT_ICONS | undefined;
|
|
157
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
158
157
|
readonly onClick?: (() => any) | undefined;
|
|
158
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
159
159
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
160
160
|
$attrs: {
|
|
161
161
|
[x: string]: unknown;
|
|
@@ -169,13 +169,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
169
169
|
$root: import('vue').ComponentPublicInstance | null;
|
|
170
170
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
171
171
|
$host: Element | null;
|
|
172
|
-
$emit: ((event: "
|
|
172
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
173
173
|
$el: HTMLLIElement;
|
|
174
174
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
175
175
|
modelValue?: boolean;
|
|
176
176
|
} & import('./types').QListItemProps> & Readonly<{
|
|
177
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
178
177
|
onClick?: (() => any) | undefined;
|
|
178
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
179
179
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
180
180
|
"update:modelValue": (value: boolean) => any;
|
|
181
181
|
} & {
|
|
@@ -207,8 +207,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
207
207
|
}> & Omit<Readonly<{
|
|
208
208
|
modelValue?: boolean;
|
|
209
209
|
} & import('./types').QListItemProps> & Readonly<{
|
|
210
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
211
210
|
onClick?: (() => any) | undefined;
|
|
211
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
212
212
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
213
213
|
$slots: {
|
|
214
214
|
prepend?(_: {}): any;
|
|
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
19
19
|
} & {
|
|
20
20
|
click: () => any;
|
|
21
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
23
22
|
onClick?: (() => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
icons: typeof DEFAULT_ICONS;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
@@ -11,8 +11,8 @@ declare const QList: {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
selectable?: boolean;
|
|
13
13
|
}> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
15
14
|
onClick?: ((key: any) => any) | undefined;
|
|
15
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
18
18
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -41,8 +41,8 @@ declare const QList: {
|
|
|
41
41
|
readonly disabled?: boolean | undefined;
|
|
42
42
|
readonly description?: string | undefined;
|
|
43
43
|
readonly icons?: typeof import('./types').DEFAULT_ICONS | undefined;
|
|
44
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
45
44
|
readonly onClick?: (() => any) | undefined;
|
|
45
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
46
46
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
47
47
|
$attrs: {
|
|
48
48
|
[x: string]: unknown;
|
|
@@ -56,13 +56,13 @@ declare const QList: {
|
|
|
56
56
|
$root: import('vue').ComponentPublicInstance | null;
|
|
57
57
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
58
58
|
$host: Element | null;
|
|
59
|
-
$emit: ((event: "
|
|
59
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
60
60
|
$el: HTMLLIElement;
|
|
61
61
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
62
62
|
modelValue?: boolean;
|
|
63
63
|
} & QListItemProps> & Readonly<{
|
|
64
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
65
64
|
onClick?: (() => any) | undefined;
|
|
65
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
66
66
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
67
|
"update:modelValue": (value: boolean) => any;
|
|
68
68
|
} & {
|
|
@@ -94,8 +94,8 @@ declare const QList: {
|
|
|
94
94
|
}> & Omit<Readonly<{
|
|
95
95
|
modelValue?: boolean;
|
|
96
96
|
} & QListItemProps> & Readonly<{
|
|
97
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
98
97
|
onClick?: (() => any) | undefined;
|
|
98
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
99
99
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
100
100
|
$slots: {
|
|
101
101
|
prepend?(_: {}): any;
|
|
@@ -121,8 +121,8 @@ declare const QList: {
|
|
|
121
121
|
disabled?: boolean;
|
|
122
122
|
selectable?: boolean;
|
|
123
123
|
}> & Readonly<{
|
|
124
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
125
124
|
onClick?: ((key: any) => any) | undefined;
|
|
125
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
126
126
|
}>, {
|
|
127
127
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
128
128
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -147,8 +147,8 @@ declare const QList: {
|
|
|
147
147
|
disabled?: boolean;
|
|
148
148
|
selectable?: boolean;
|
|
149
149
|
}> & Readonly<{
|
|
150
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
151
150
|
onClick?: ((key: any) => any) | undefined;
|
|
151
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
152
152
|
}>, {
|
|
153
153
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
154
154
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -178,8 +178,8 @@ declare const QListItem: {
|
|
|
178
178
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
179
179
|
modelValue?: boolean;
|
|
180
180
|
} & QListItemProps> & Readonly<{
|
|
181
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
182
181
|
onClick?: (() => any) | undefined;
|
|
182
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
183
183
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
184
184
|
"update:modelValue": (value: boolean) => any;
|
|
185
185
|
} & {
|
|
@@ -196,8 +196,8 @@ declare const QListItem: {
|
|
|
196
196
|
}, Readonly<{
|
|
197
197
|
modelValue?: boolean;
|
|
198
198
|
} & QListItemProps> & Readonly<{
|
|
199
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
200
199
|
onClick?: (() => any) | undefined;
|
|
200
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
201
201
|
}>, {}, {}, {}, {}, {
|
|
202
202
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
203
203
|
}>;
|
|
@@ -207,8 +207,8 @@ declare const QListItem: {
|
|
|
207
207
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
208
208
|
modelValue?: boolean;
|
|
209
209
|
} & QListItemProps> & Readonly<{
|
|
210
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
211
210
|
onClick?: (() => any) | undefined;
|
|
211
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
212
212
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
213
213
|
"update:modelValue": (value: boolean) => any;
|
|
214
214
|
} & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as m, computed as r, createBlock as b, openBlock as f, unref as o, normalizeClass as v, createSlots as y, withCtx as d, createElementVNode as g, renderSlot as i, createCommentVNode as q, mergeProps as B } from "vue";
|
|
2
2
|
import { QLabel as h } from "../QLabel/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { useId as C } from "../../composables/uid.js";
|
|
4
|
+
import { useGroupItem as k } from "../../composables/useGroup/index.js";
|
|
5
5
|
const z = ["id", "checked", "name", "value", "disabled"], w = /* @__PURE__ */ m({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "QRadioButton",
|
|
@@ -21,7 +21,7 @@ const z = ["id", "checked", "name", "value", "disabled"], w = /* @__PURE__ */ m(
|
|
|
21
21
|
name: {}
|
|
22
22
|
},
|
|
23
23
|
setup(s) {
|
|
24
|
-
const e = s, n =
|
|
24
|
+
const e = s, n = C(e.id), t = k(e.value);
|
|
25
25
|
if (!t)
|
|
26
26
|
throw new Error("QRadioButton must be used inside a QRadioGroup");
|
|
27
27
|
const u = r(() => e.labelPlacement === "start" ? "append" : "prepend"), p = r(() => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as b, mergeModels as y, useModel as g, watch as q, computed as d, toRef as r, createElementBlock as n, openBlock as a, normalizeClass as B, createBlock as _, createCommentVNode as u, createElementVNode as h, unref as l, mergeProps as z, renderSlot as m } from "vue";
|
|
2
2
|
import { QLabel as k } from "../QLabel/index.js";
|
|
3
3
|
import { provideDefaults as V } from "../../composables/defaults.js";
|
|
4
|
-
import { useGroup as $ } from "../../composables/group.js";
|
|
5
4
|
import { useId as c } from "../../composables/uid.js";
|
|
5
|
+
import { useGroup as $ } from "../../composables/useGroup/index.js";
|
|
6
6
|
const C = ["id"], M = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "q-field__extras"
|
|
@@ -101,8 +101,8 @@ declare function __VLS_template(): {
|
|
|
101
101
|
readonly itemLabel?: string | undefined;
|
|
102
102
|
readonly disabled?: boolean | undefined;
|
|
103
103
|
readonly selectable?: boolean | undefined;
|
|
104
|
-
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
105
104
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
105
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
106
106
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
107
107
|
$attrs: {
|
|
108
108
|
[x: string]: unknown;
|
|
@@ -124,8 +124,8 @@ declare function __VLS_template(): {
|
|
|
124
124
|
readonly disabled?: boolean | undefined;
|
|
125
125
|
readonly description?: string | undefined;
|
|
126
126
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
127
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
128
127
|
readonly onClick?: (() => any) | undefined;
|
|
128
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
129
129
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
130
130
|
$attrs: {
|
|
131
131
|
[x: string]: unknown;
|
|
@@ -139,13 +139,13 @@ declare function __VLS_template(): {
|
|
|
139
139
|
$root: import('vue').ComponentPublicInstance | null;
|
|
140
140
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
141
141
|
$host: Element | null;
|
|
142
|
-
$emit: ((event: "
|
|
142
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
143
143
|
$el: HTMLLIElement;
|
|
144
144
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
145
145
|
modelValue?: boolean;
|
|
146
146
|
} & import('..').QListItemProps> & Readonly<{
|
|
147
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
148
147
|
onClick?: (() => any) | undefined;
|
|
148
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
150
150
|
"update:modelValue": (value: boolean) => any;
|
|
151
151
|
} & {
|
|
@@ -177,8 +177,8 @@ declare function __VLS_template(): {
|
|
|
177
177
|
}> & Omit<Readonly<{
|
|
178
178
|
modelValue?: boolean;
|
|
179
179
|
} & import('..').QListItemProps> & Readonly<{
|
|
180
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
181
180
|
onClick?: (() => any) | undefined;
|
|
181
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
182
182
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
183
183
|
$slots: {
|
|
184
184
|
prepend?(_: {}): any;
|
|
@@ -193,7 +193,7 @@ declare function __VLS_template(): {
|
|
|
193
193
|
$root: import('vue').ComponentPublicInstance | null;
|
|
194
194
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
195
195
|
$host: Element | null;
|
|
196
|
-
$emit: ((event: "
|
|
196
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
197
197
|
$el: any;
|
|
198
198
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
199
199
|
modelValue?: any;
|
|
@@ -206,8 +206,8 @@ declare function __VLS_template(): {
|
|
|
206
206
|
disabled?: boolean;
|
|
207
207
|
selectable?: boolean;
|
|
208
208
|
}> & Readonly<{
|
|
209
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
210
209
|
onClick?: ((key: any) => any) | undefined;
|
|
210
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
211
211
|
}>, {
|
|
212
212
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
213
213
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -256,8 +256,8 @@ declare function __VLS_template(): {
|
|
|
256
256
|
disabled?: boolean;
|
|
257
257
|
selectable?: boolean;
|
|
258
258
|
}> & Readonly<{
|
|
259
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
260
259
|
onClick?: ((key: any) => any) | undefined;
|
|
260
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
261
261
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
262
262
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
263
263
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -383,8 +383,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
383
383
|
readonly itemLabel?: string | undefined;
|
|
384
384
|
readonly disabled?: boolean | undefined;
|
|
385
385
|
readonly selectable?: boolean | undefined;
|
|
386
|
-
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
387
386
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
387
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
388
388
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
389
389
|
$attrs: {
|
|
390
390
|
[x: string]: unknown;
|
|
@@ -406,8 +406,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
406
406
|
readonly disabled?: boolean | undefined;
|
|
407
407
|
readonly description?: string | undefined;
|
|
408
408
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
409
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
410
409
|
readonly onClick?: (() => any) | undefined;
|
|
410
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
411
411
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
412
412
|
$attrs: {
|
|
413
413
|
[x: string]: unknown;
|
|
@@ -421,13 +421,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
421
421
|
$root: import('vue').ComponentPublicInstance | null;
|
|
422
422
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
423
423
|
$host: Element | null;
|
|
424
|
-
$emit: ((event: "
|
|
424
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
425
425
|
$el: HTMLLIElement;
|
|
426
426
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
427
427
|
modelValue?: boolean;
|
|
428
428
|
} & import('..').QListItemProps> & Readonly<{
|
|
429
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
430
429
|
onClick?: (() => any) | undefined;
|
|
430
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
431
431
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
432
432
|
"update:modelValue": (value: boolean) => any;
|
|
433
433
|
} & {
|
|
@@ -459,8 +459,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
459
459
|
}> & Omit<Readonly<{
|
|
460
460
|
modelValue?: boolean;
|
|
461
461
|
} & import('..').QListItemProps> & Readonly<{
|
|
462
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
463
462
|
onClick?: (() => any) | undefined;
|
|
463
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
464
464
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
465
465
|
$slots: {
|
|
466
466
|
prepend?(_: {}): any;
|
|
@@ -475,7 +475,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
475
475
|
$root: import('vue').ComponentPublicInstance | null;
|
|
476
476
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
477
477
|
$host: Element | null;
|
|
478
|
-
$emit: ((event: "
|
|
478
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
479
479
|
$el: any;
|
|
480
480
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
481
481
|
modelValue?: any;
|
|
@@ -488,8 +488,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
488
488
|
disabled?: boolean;
|
|
489
489
|
selectable?: boolean;
|
|
490
490
|
}> & Readonly<{
|
|
491
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
492
491
|
onClick?: ((key: any) => any) | undefined;
|
|
492
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
493
493
|
}>, {
|
|
494
494
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
495
495
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -538,8 +538,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
538
538
|
disabled?: boolean;
|
|
539
539
|
selectable?: boolean;
|
|
540
540
|
}> & Readonly<{
|
|
541
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
542
541
|
onClick?: ((key: any) => any) | undefined;
|
|
542
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
543
543
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
544
544
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
545
545
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -125,8 +125,8 @@ declare const QSelect: {
|
|
|
125
125
|
readonly itemLabel?: string | undefined;
|
|
126
126
|
readonly disabled?: boolean | undefined;
|
|
127
127
|
readonly selectable?: boolean | undefined;
|
|
128
|
-
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
129
128
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
129
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
130
130
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
131
131
|
$attrs: {
|
|
132
132
|
[x: string]: unknown;
|
|
@@ -148,8 +148,8 @@ declare const QSelect: {
|
|
|
148
148
|
readonly disabled?: boolean | undefined;
|
|
149
149
|
readonly description?: string | undefined;
|
|
150
150
|
readonly icons?: typeof import('../QList/types').DEFAULT_ICONS | undefined;
|
|
151
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
152
151
|
readonly onClick?: (() => any) | undefined;
|
|
152
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
153
153
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
154
154
|
$attrs: {
|
|
155
155
|
[x: string]: unknown;
|
|
@@ -163,13 +163,13 @@ declare const QSelect: {
|
|
|
163
163
|
$root: import('vue').ComponentPublicInstance | null;
|
|
164
164
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
165
165
|
$host: Element | null;
|
|
166
|
-
$emit: ((event: "
|
|
166
|
+
$emit: ((event: "click") => void) & ((event: "update:modelValue", value: boolean) => void);
|
|
167
167
|
$el: HTMLLIElement;
|
|
168
168
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
169
169
|
modelValue?: boolean;
|
|
170
170
|
} & import('..').QListItemProps> & Readonly<{
|
|
171
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
172
171
|
onClick?: (() => any) | undefined;
|
|
172
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
173
173
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
174
174
|
"update:modelValue": (value: boolean) => any;
|
|
175
175
|
} & {
|
|
@@ -201,8 +201,8 @@ declare const QSelect: {
|
|
|
201
201
|
}> & Omit<Readonly<{
|
|
202
202
|
modelValue?: boolean;
|
|
203
203
|
} & import('..').QListItemProps> & Readonly<{
|
|
204
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
205
204
|
onClick?: (() => any) | undefined;
|
|
205
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
206
206
|
}>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
207
207
|
$slots: {
|
|
208
208
|
prepend?(_: {}): any;
|
|
@@ -217,7 +217,7 @@ declare const QSelect: {
|
|
|
217
217
|
$root: import('vue').ComponentPublicInstance | null;
|
|
218
218
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
219
219
|
$host: Element | null;
|
|
220
|
-
$emit: ((event: "
|
|
220
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
221
221
|
$el: any;
|
|
222
222
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
223
223
|
modelValue?: any;
|
|
@@ -230,8 +230,8 @@ declare const QSelect: {
|
|
|
230
230
|
disabled?: boolean;
|
|
231
231
|
selectable?: boolean;
|
|
232
232
|
}> & Readonly<{
|
|
233
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
234
233
|
onClick?: ((key: any) => any) | undefined;
|
|
234
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
235
235
|
}>, {
|
|
236
236
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
237
237
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -280,8 +280,8 @@ declare const QSelect: {
|
|
|
280
280
|
disabled?: boolean;
|
|
281
281
|
selectable?: boolean;
|
|
282
282
|
}> & Readonly<{
|
|
283
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
284
283
|
onClick?: ((key: any) => any) | undefined;
|
|
284
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
285
285
|
}>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
286
286
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
287
287
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type __VLS_Props =
|
|
1
|
+
import { QToggleProps } from './types';
|
|
2
|
+
type __VLS_Props = QToggleProps;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?:
|
|
4
|
+
modelValue?: boolean;
|
|
5
5
|
} & __VLS_Props;
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
attrs: Partial<{}>;
|
|
8
|
-
slots:
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
9
11
|
refs: {};
|
|
10
|
-
rootEl:
|
|
12
|
+
rootEl: HTMLButtonElement;
|
|
11
13
|
};
|
|
12
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
"update:modelValue": (value:
|
|
16
|
+
"update:modelValue": (value: boolean) => any;
|
|
15
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
-
"onUpdate:modelValue"?: ((value:
|
|
17
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
18
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
18
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
21
|
export default _default;
|
|
20
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -22,4 +24,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
22
24
|
$slots: S;
|
|
23
25
|
};
|
|
24
26
|
};
|
|
25
|
-
//# sourceMappingURL=
|
|
27
|
+
//# sourceMappingURL=QToggle.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QToggle/QToggle.vue"],"names":[],"mappings":"AAQA;AAyCC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAK3C,KAAK,WAAW,GAAG,YAAY,CAAC;AAoBjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;gGAQnB,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"}
|