@quidgest/ui 0.16.74 → 0.16.75
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 +31 -1
- package/dist/ui.css +45 -5
- package/dist/ui.esm.js +6614 -6541
- package/dist/ui.js +25 -25
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +142 -137
- package/dist/ui.scss +50 -3
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +18 -16
- package/esm/components/QCheckbox/index.d.ts +3 -0
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/types.d.ts +6 -0
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +2 -0
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/index.d.ts +1 -0
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +2 -0
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +2 -0
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +17 -16
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +50 -49
- package/esm/components/QList/index.d.ts +1 -0
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +6 -0
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +154 -2
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +410 -310
- package/esm/components/QSelect/index.d.ts +77 -1
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { DEFAULT_ICONS as
|
|
3
|
-
import { QIcon as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
1
|
+
import { defineComponent as g, mergeModels as u, useModel as q, watch as B, createElementBlock as n, openBlock as s, withModifiers as V, normalizeClass as w, unref as a, renderSlot as d, createElementVNode as r, createCommentVNode as c, createBlock as C, createTextVNode as x, normalizeProps as p, mergeProps as E, toDisplayString as b, createVNode as f, guardReactiveProps as I } from "vue";
|
|
2
|
+
import { DEFAULT_ICONS as N } from "./constants.js";
|
|
3
|
+
import { QIcon as h } from "../QIcon/index.js";
|
|
4
|
+
import { QCheckbox as Q } from "../QCheckbox/index.js";
|
|
5
|
+
import { useId as T } from "../../composables/uid.js";
|
|
6
|
+
import { useGroupItem as D } from "../../composables/useGroup/index.js";
|
|
7
|
+
const L = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], M = { class: "q-list-item__container" }, P = { class: "q-list-item__content" }, O = {
|
|
7
8
|
key: 0,
|
|
8
9
|
class: "q-list-item__description"
|
|
9
|
-
},
|
|
10
|
+
}, S = {
|
|
10
11
|
key: 0,
|
|
11
12
|
class: "q-list-item__check-container"
|
|
12
|
-
},
|
|
13
|
+
}, R = /* @__PURE__ */ g({
|
|
13
14
|
__name: "QListItem",
|
|
14
|
-
props: /* @__PURE__ */
|
|
15
|
+
props: /* @__PURE__ */ u({
|
|
15
16
|
value: {},
|
|
16
17
|
label: {},
|
|
17
18
|
icon: {},
|
|
@@ -20,73 +21,74 @@ const M = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], P = { c
|
|
|
20
21
|
selectOnTab: { type: Boolean, default: !0 },
|
|
21
22
|
highlighted: { type: Boolean },
|
|
22
23
|
disabled: { type: Boolean },
|
|
23
|
-
icons: { default: () =>
|
|
24
|
+
icons: { default: () => N },
|
|
25
|
+
checkboxless: { type: Boolean }
|
|
24
26
|
}, {
|
|
25
27
|
modelValue: { type: Boolean },
|
|
26
28
|
modelModifiers: {}
|
|
27
29
|
}),
|
|
28
|
-
emits: /* @__PURE__ */
|
|
29
|
-
setup(
|
|
30
|
-
const e =
|
|
30
|
+
emits: /* @__PURE__ */ u(["click"], ["update:modelValue"]),
|
|
31
|
+
setup(m, { emit: v }) {
|
|
32
|
+
const e = m, _ = v, o = q(m, "modelValue"), k = T(), i = D(e.value);
|
|
31
33
|
if (!i)
|
|
32
34
|
throw new Error(
|
|
33
35
|
"QListItem: Failed to retrieve group item. Ensure the component is used within a QList context."
|
|
34
36
|
);
|
|
35
|
-
function
|
|
36
|
-
e.disabled || (
|
|
37
|
+
function l() {
|
|
38
|
+
e.disabled || (_("click"), e.selectable && (i == null || i.toggle()));
|
|
37
39
|
}
|
|
38
|
-
function
|
|
39
|
-
t.key === "Tab" && e.selectOnTab &&
|
|
40
|
+
function y(t) {
|
|
41
|
+
t.key === "Tab" && e.selectOnTab && l(), (t.key === "Enter" || t.key === " ") && (t.preventDefault(), t.stopPropagation(), l());
|
|
40
42
|
}
|
|
41
|
-
return
|
|
43
|
+
return B(
|
|
42
44
|
i.isActive,
|
|
43
45
|
(t) => {
|
|
44
|
-
|
|
46
|
+
o.value = t;
|
|
45
47
|
},
|
|
46
48
|
{
|
|
47
49
|
immediate: !0
|
|
48
50
|
}
|
|
49
|
-
), (t,
|
|
50
|
-
id:
|
|
51
|
+
), (t, $) => (s(), n("li", {
|
|
52
|
+
id: a(k),
|
|
51
53
|
"data-key": e.value,
|
|
52
54
|
role: "option",
|
|
53
55
|
tabindex: e.disabled ? void 0 : -2,
|
|
54
|
-
class:
|
|
56
|
+
class: w([
|
|
55
57
|
"q-list-item",
|
|
56
58
|
{
|
|
57
|
-
"q-list-item--selected":
|
|
59
|
+
"q-list-item--selected": o.value,
|
|
58
60
|
"q-list-item--selectable": e.selectable,
|
|
59
61
|
"q-list-item--disabled": e.disabled,
|
|
60
62
|
"q-list-item--highlighted": e.highlighted
|
|
61
63
|
}
|
|
62
64
|
]),
|
|
63
65
|
"aria-label": e.label,
|
|
64
|
-
"aria-selected": e.disabled ? void 0 :
|
|
65
|
-
onKeydown:
|
|
66
|
-
onClick: V(
|
|
66
|
+
"aria-selected": e.disabled ? void 0 : o.value,
|
|
67
|
+
onKeydown: y,
|
|
68
|
+
onClick: V(l, ["stop", "prevent"])
|
|
67
69
|
}, [
|
|
68
70
|
d(t.$slots, "prepend"),
|
|
69
|
-
r("div",
|
|
70
|
-
r("div",
|
|
71
|
+
r("div", M, [
|
|
72
|
+
r("div", P, [
|
|
71
73
|
d(t.$slots, "default", {}, () => [
|
|
72
|
-
e.icon ? (
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
e.icon ? (s(), C(
|
|
75
|
+
a(h),
|
|
76
|
+
p(E({ key: 0 }, e.icon)),
|
|
75
77
|
null,
|
|
76
78
|
16
|
|
77
79
|
/* FULL_PROPS */
|
|
78
|
-
)) :
|
|
79
|
-
|
|
80
|
+
)) : c("v-if", !0),
|
|
81
|
+
x(
|
|
80
82
|
" " + b(e.label),
|
|
81
83
|
1
|
|
82
84
|
/* TEXT */
|
|
83
85
|
)
|
|
84
86
|
])
|
|
85
87
|
]),
|
|
86
|
-
e.description ? (
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
e.description ? (s(), n("div", O, [
|
|
89
|
+
f(
|
|
90
|
+
a(h),
|
|
91
|
+
p(I(e.icons.description)),
|
|
90
92
|
null,
|
|
91
93
|
16
|
|
92
94
|
/* FULL_PROPS */
|
|
@@ -98,21 +100,20 @@ const M = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], P = { c
|
|
|
98
100
|
1
|
|
99
101
|
/* TEXT */
|
|
100
102
|
)
|
|
101
|
-
])) :
|
|
103
|
+
])) : c("v-if", !0)
|
|
102
104
|
]),
|
|
103
105
|
d(t.$slots, "append"),
|
|
104
|
-
e.selectable ? (
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
], 42, M));
|
|
106
|
+
e.selectable ? (s(), n("div", S, [
|
|
107
|
+
f(a(Q), {
|
|
108
|
+
borderless: e.checkboxless,
|
|
109
|
+
disabled: e.disabled,
|
|
110
|
+
"model-value": o.value,
|
|
111
|
+
"onUpdate:modelValue": l
|
|
112
|
+
}, null, 8, ["borderless", "disabled", "model-value"])
|
|
113
|
+
])) : c("v-if", !0)
|
|
114
|
+
], 42, L));
|
|
114
115
|
}
|
|
115
116
|
});
|
|
116
117
|
export {
|
|
117
|
-
|
|
118
|
+
R as default
|
|
118
119
|
};
|
|
@@ -34,6 +34,7 @@ declare const QList: {
|
|
|
34
34
|
readonly highlighted?: boolean | undefined;
|
|
35
35
|
readonly disabled?: boolean | undefined;
|
|
36
36
|
readonly icons?: typeof import('./constants').DEFAULT_ICONS | undefined;
|
|
37
|
+
readonly checkboxless?: boolean | undefined;
|
|
37
38
|
readonly onClick?: (() => any) | undefined;
|
|
38
39
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
39
40
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,KAAK
|
|
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"}
|
|
@@ -133,6 +133,12 @@ export type QListItemProps = {
|
|
|
133
133
|
* @category Configuration
|
|
134
134
|
*/
|
|
135
135
|
icons?: typeof DEFAULT_ICONS;
|
|
136
|
+
/**
|
|
137
|
+
* If true, the checkbox has no borders
|
|
138
|
+
*
|
|
139
|
+
* @category Presentation
|
|
140
|
+
*/
|
|
141
|
+
checkboxless?: boolean;
|
|
136
142
|
};
|
|
137
143
|
export type QListItemGroupProps = {
|
|
138
144
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QList/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;IAG5D,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,KAAK,GAAG,mBAAmB,GAAG;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,mBAAmB,GAAG;IAC9C;;;;OAIG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;;;OAIG;IAEH,WAAW,CAAC,EAAE,GAAG,CAAA;IAEjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;;;OAIG;IACH,MAAM,CAAC,EAA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CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IACjC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -91,7 +91,81 @@ declare function __VLS_template(): {
|
|
|
91
91
|
extras?(_: {}): any;
|
|
92
92
|
};
|
|
93
93
|
}) | null;
|
|
94
|
-
|
|
94
|
+
valueContainer: HTMLSpanElement;
|
|
95
|
+
hiddenItemsCountBadge: ({
|
|
96
|
+
$: import('vue').ComponentInternalInstance;
|
|
97
|
+
$data: {};
|
|
98
|
+
$props: {
|
|
99
|
+
readonly id?: string | undefined;
|
|
100
|
+
readonly class?: string | unknown[] | undefined;
|
|
101
|
+
readonly variant?: import('..').QBadgeVariant | undefined;
|
|
102
|
+
readonly color?: string | undefined;
|
|
103
|
+
readonly pill?: boolean | undefined;
|
|
104
|
+
readonly size?: import('..').QBadgeSize | undefined;
|
|
105
|
+
readonly disabled?: boolean | undefined;
|
|
106
|
+
readonly removable?: boolean | undefined;
|
|
107
|
+
readonly icons?: typeof import('../QBadge/constants').DEFAULT_ICONS | undefined;
|
|
108
|
+
readonly texts?: typeof import('../QBadge/constants').DEFAULT_TEXTS | undefined;
|
|
109
|
+
readonly "onClick:remove"?: (() => any) | undefined;
|
|
110
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
111
|
+
$attrs: {
|
|
112
|
+
[x: string]: unknown;
|
|
113
|
+
};
|
|
114
|
+
$refs: {
|
|
115
|
+
[x: string]: unknown;
|
|
116
|
+
};
|
|
117
|
+
$slots: Readonly<{
|
|
118
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
119
|
+
}>;
|
|
120
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
121
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
122
|
+
$host: Element | null;
|
|
123
|
+
$emit: (event: "click:remove") => void;
|
|
124
|
+
$el: any;
|
|
125
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QBadgeProps> & Readonly<{
|
|
126
|
+
"onClick:remove"?: (() => any) | undefined;
|
|
127
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
128
|
+
"click:remove": () => any;
|
|
129
|
+
}, string, {
|
|
130
|
+
size: import('..').QBadgeSize;
|
|
131
|
+
color: string;
|
|
132
|
+
variant: import('..').QBadgeVariant;
|
|
133
|
+
icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
|
|
134
|
+
texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
|
|
135
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
136
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
137
|
+
created?: (() => void) | (() => void)[];
|
|
138
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
139
|
+
mounted?: (() => void) | (() => void)[];
|
|
140
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
141
|
+
updated?: (() => void) | (() => void)[];
|
|
142
|
+
activated?: (() => void) | (() => void)[];
|
|
143
|
+
deactivated?: (() => void) | (() => void)[];
|
|
144
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
145
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
146
|
+
destroyed?: (() => void) | (() => void)[];
|
|
147
|
+
unmounted?: (() => void) | (() => void)[];
|
|
148
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
149
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
150
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
151
|
+
};
|
|
152
|
+
$forceUpdate: () => void;
|
|
153
|
+
$nextTick: typeof nextTick;
|
|
154
|
+
$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;
|
|
155
|
+
} & Readonly<{
|
|
156
|
+
size: import('..').QBadgeSize;
|
|
157
|
+
color: string;
|
|
158
|
+
variant: import('..').QBadgeVariant;
|
|
159
|
+
icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
|
|
160
|
+
texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
|
|
161
|
+
}> & Omit<Readonly<import('..').QBadgeProps> & Readonly<{
|
|
162
|
+
"onClick:remove"?: (() => any) | undefined;
|
|
163
|
+
}>, "size" | "color" | "variant" | "icons" | "texts"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
164
|
+
$slots: {
|
|
165
|
+
default?(_: {}): any;
|
|
166
|
+
default?(_: {}): any;
|
|
167
|
+
};
|
|
168
|
+
}) | null;
|
|
95
169
|
allBadges: (({
|
|
96
170
|
$: import('vue').ComponentInternalInstance;
|
|
97
171
|
$data: {};
|
|
@@ -166,6 +240,7 @@ declare function __VLS_template(): {
|
|
|
166
240
|
default?(_: {}): any;
|
|
167
241
|
};
|
|
168
242
|
}) | null)[];
|
|
243
|
+
allPlainTexts: HTMLSpanElement;
|
|
169
244
|
input: HTMLInputElement;
|
|
170
245
|
content: HTMLDivElement;
|
|
171
246
|
list: ({
|
|
@@ -210,6 +285,7 @@ declare function __VLS_template(): {
|
|
|
210
285
|
readonly highlighted?: boolean | undefined;
|
|
211
286
|
readonly disabled?: boolean | undefined;
|
|
212
287
|
readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
|
|
288
|
+
readonly checkboxless?: boolean | undefined;
|
|
213
289
|
readonly onClick?: (() => any) | undefined;
|
|
214
290
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
215
291
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -446,7 +522,81 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
446
522
|
extras?(_: {}): any;
|
|
447
523
|
};
|
|
448
524
|
}) | null;
|
|
449
|
-
|
|
525
|
+
valueContainer: HTMLSpanElement;
|
|
526
|
+
hiddenItemsCountBadge: ({
|
|
527
|
+
$: import('vue').ComponentInternalInstance;
|
|
528
|
+
$data: {};
|
|
529
|
+
$props: {
|
|
530
|
+
readonly id?: string | undefined;
|
|
531
|
+
readonly class?: string | unknown[] | undefined;
|
|
532
|
+
readonly variant?: import('..').QBadgeVariant | undefined;
|
|
533
|
+
readonly color?: string | undefined;
|
|
534
|
+
readonly pill?: boolean | undefined;
|
|
535
|
+
readonly size?: import('..').QBadgeSize | undefined;
|
|
536
|
+
readonly disabled?: boolean | undefined;
|
|
537
|
+
readonly removable?: boolean | undefined;
|
|
538
|
+
readonly icons?: typeof import('../QBadge/constants').DEFAULT_ICONS | undefined;
|
|
539
|
+
readonly texts?: typeof import('../QBadge/constants').DEFAULT_TEXTS | undefined;
|
|
540
|
+
readonly "onClick:remove"?: (() => any) | undefined;
|
|
541
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
542
|
+
$attrs: {
|
|
543
|
+
[x: string]: unknown;
|
|
544
|
+
};
|
|
545
|
+
$refs: {
|
|
546
|
+
[x: string]: unknown;
|
|
547
|
+
};
|
|
548
|
+
$slots: Readonly<{
|
|
549
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
550
|
+
}>;
|
|
551
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
552
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
553
|
+
$host: Element | null;
|
|
554
|
+
$emit: (event: "click:remove") => void;
|
|
555
|
+
$el: any;
|
|
556
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QBadgeProps> & Readonly<{
|
|
557
|
+
"onClick:remove"?: (() => any) | undefined;
|
|
558
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
559
|
+
"click:remove": () => any;
|
|
560
|
+
}, string, {
|
|
561
|
+
size: import('..').QBadgeSize;
|
|
562
|
+
color: string;
|
|
563
|
+
variant: import('..').QBadgeVariant;
|
|
564
|
+
icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
|
|
565
|
+
texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
|
|
566
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
567
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
568
|
+
created?: (() => void) | (() => void)[];
|
|
569
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
570
|
+
mounted?: (() => void) | (() => void)[];
|
|
571
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
572
|
+
updated?: (() => void) | (() => void)[];
|
|
573
|
+
activated?: (() => void) | (() => void)[];
|
|
574
|
+
deactivated?: (() => void) | (() => void)[];
|
|
575
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
576
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
577
|
+
destroyed?: (() => void) | (() => void)[];
|
|
578
|
+
unmounted?: (() => void) | (() => void)[];
|
|
579
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
580
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
581
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
582
|
+
};
|
|
583
|
+
$forceUpdate: () => void;
|
|
584
|
+
$nextTick: typeof nextTick;
|
|
585
|
+
$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;
|
|
586
|
+
} & Readonly<{
|
|
587
|
+
size: import('..').QBadgeSize;
|
|
588
|
+
color: string;
|
|
589
|
+
variant: import('..').QBadgeVariant;
|
|
590
|
+
icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
|
|
591
|
+
texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
|
|
592
|
+
}> & Omit<Readonly<import('..').QBadgeProps> & Readonly<{
|
|
593
|
+
"onClick:remove"?: (() => any) | undefined;
|
|
594
|
+
}>, "size" | "color" | "variant" | "icons" | "texts"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
595
|
+
$slots: {
|
|
596
|
+
default?(_: {}): any;
|
|
597
|
+
default?(_: {}): any;
|
|
598
|
+
};
|
|
599
|
+
}) | null;
|
|
450
600
|
allBadges: (({
|
|
451
601
|
$: import('vue').ComponentInternalInstance;
|
|
452
602
|
$data: {};
|
|
@@ -521,6 +671,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
521
671
|
default?(_: {}): any;
|
|
522
672
|
};
|
|
523
673
|
}) | null)[];
|
|
674
|
+
allPlainTexts: HTMLSpanElement;
|
|
524
675
|
input: HTMLInputElement;
|
|
525
676
|
content: HTMLDivElement;
|
|
526
677
|
list: ({
|
|
@@ -565,6 +716,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
565
716
|
readonly highlighted?: boolean | undefined;
|
|
566
717
|
readonly disabled?: boolean | undefined;
|
|
567
718
|
readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
|
|
719
|
+
readonly checkboxless?: boolean | undefined;
|
|
568
720
|
readonly onClick?: (() => any) | undefined;
|
|
569
721
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
570
722
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AA4OA;AA6qBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAgB1D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAEN,QAAQ,EAOR,MAAM,KAAK,CAAA;AAMZ,KAAK,WAAW,GAAG,YAAY,CAAC;AAoajC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA+iBT,OAAO,IAA6B;;yBAxBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACM,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAjrBrB,GAAG,8CAEO,GAAG,yBACnB,GAAE,6DACT,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAJU,GAAG,8CAEO,GAAG,yBACnB,GAAE,6DACT,GAAG;;;;;;;;;;;;;;;;;;;;;;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