@quidgest/ui 0.16.15 → 0.16.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manifest/components.json +1 -0
- package/dist/ui.css +182 -9
- package/dist/ui.esm.js +4570 -4382
- package/dist/ui.js +12 -12
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +723 -710
- package/dist/ui.scss +200 -12
- package/esm/components/QCheckbox/QCheckbox.d.ts +6 -2
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +90 -79
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts +2 -3
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +32 -24
- package/esm/components/QCheckbox/index.d.ts +12 -4
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/types.d.ts +2 -7
- package/esm/components/QCheckbox/types.d.ts.map +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/QDropdownMenu/QDropdownMenu.vue.js +11 -9
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +22 -6
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +171 -84
- package/esm/components/QDropdownMenu/index.d.ts +4 -0
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +8 -8
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +9 -0
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +73 -68
- package/esm/components/QList/index.d.ts +8 -0
- package/esm/components/QList/index.d.ts.map +1 -1
- 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/components/QSwitch/QSwitch.d.ts +16 -0
- package/esm/components/QSwitch/QSwitch.d.ts.map +1 -0
- package/esm/components/QSwitch/QSwitch.vue.js +129 -0
- package/esm/components/QSwitch/QSwitch.vue2.js +4 -0
- package/esm/components/QSwitch/index.d.ts +33 -0
- package/esm/components/QSwitch/index.d.ts.map +1 -0
- package/esm/components/QSwitch/index.js +6 -0
- package/esm/components/QSwitch/types.d.ts +39 -0
- package/esm/components/QSwitch/types.d.ts.map +1 -0
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +31 -29
- package/esm/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { QListItemGroup as
|
|
3
|
-
import { useGroup as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as Y, mergeModels as _, useModel as Z, ref as p, computed as q, toRef as E, watch as ee, createBlock as y, openBlock as d, resolveDynamicComponent as te, normalizeClass as ne, withCtx as b, renderSlot as x, createElementBlock as T, Fragment as $, renderList as R, unref as G } from "vue";
|
|
2
|
+
import { QListItemGroup as le, QListItem as ie } from "./index.js";
|
|
3
|
+
import { useGroup as se } from "../../composables/useGroup/index.js";
|
|
4
|
+
const ae = /* @__PURE__ */ Y({
|
|
5
5
|
__name: "QList",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ _({
|
|
7
7
|
id: {},
|
|
8
8
|
class: {},
|
|
9
9
|
highlighted: {},
|
|
@@ -19,41 +19,44 @@ const re = /* @__PURE__ */ X({
|
|
|
19
19
|
modelValue: {},
|
|
20
20
|
modelModifiers: {}
|
|
21
21
|
}),
|
|
22
|
-
emits: /* @__PURE__ */
|
|
23
|
-
setup(A, { expose:
|
|
24
|
-
const n = A,
|
|
22
|
+
emits: /* @__PURE__ */ _(["click", "mouseenter:item"], ["update:modelValue"]),
|
|
23
|
+
setup(A, { expose: O, emit: Q }) {
|
|
24
|
+
const n = A, L = Q, f = Z(A, "modelValue"), v = p(!1), S = q(() => r.value.length > 1 ? "div" : "ul"), r = q(() => n.groups.length ? n.groups.filter(
|
|
25
25
|
(e) => {
|
|
26
26
|
var t;
|
|
27
27
|
return (t = n.items) == null ? void 0 : t.some((l) => l.group === e.id);
|
|
28
28
|
}
|
|
29
|
-
) : [{ id: "", title: "" }]), { active:
|
|
29
|
+
) : [{ id: "", title: "" }]), { active: U } = se({
|
|
30
30
|
active: f,
|
|
31
|
-
required:
|
|
32
|
-
multiple:
|
|
31
|
+
required: E(n, "required"),
|
|
32
|
+
multiple: E(n, "multiple")
|
|
33
33
|
}), g = p(null), h = p(null);
|
|
34
|
-
function
|
|
35
|
-
|
|
34
|
+
function j(e) {
|
|
35
|
+
L("click", e);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function z(e) {
|
|
38
|
+
L("mouseenter:item", e);
|
|
39
|
+
}
|
|
40
|
+
function H() {
|
|
38
41
|
v.value = !0;
|
|
39
42
|
}
|
|
40
|
-
function
|
|
43
|
+
function K() {
|
|
41
44
|
v.value = !1;
|
|
42
45
|
}
|
|
43
|
-
function
|
|
46
|
+
function P(e) {
|
|
44
47
|
var i;
|
|
45
48
|
if (!n.items || (i = g.value) != null && i.contains(e.relatedTarget))
|
|
46
49
|
return;
|
|
47
50
|
let t;
|
|
48
|
-
f.value ? t = n.items.findIndex((s) => s[n.itemValue] === f.value) : t =
|
|
51
|
+
f.value ? t = n.items.findIndex((s) => s[n.itemValue] === f.value) : t = k();
|
|
49
52
|
const l = v.value;
|
|
50
|
-
|
|
53
|
+
u(t, l);
|
|
51
54
|
}
|
|
52
|
-
const
|
|
53
|
-
let
|
|
54
|
-
function
|
|
55
|
+
const I = p("");
|
|
56
|
+
let M;
|
|
57
|
+
function W(e) {
|
|
55
58
|
var t;
|
|
56
|
-
switch (window.clearTimeout(
|
|
59
|
+
switch (window.clearTimeout(M), ["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && e.preventDefault(), e.key) {
|
|
57
60
|
case "ArrowDown":
|
|
58
61
|
m("next");
|
|
59
62
|
break;
|
|
@@ -68,34 +71,34 @@ const re = /* @__PURE__ */ X({
|
|
|
68
71
|
break;
|
|
69
72
|
}
|
|
70
73
|
if (/^[a-z]$/i.test(e.key)) {
|
|
71
|
-
|
|
74
|
+
I.value += e.key.toLowerCase();
|
|
72
75
|
const l = ((t = n.items) == null ? void 0 : t.length) || 0;
|
|
73
76
|
for (let i = 0; i < l; i++)
|
|
74
|
-
if (n.items[i][n.itemLabel].toLowerCase().startsWith(
|
|
75
|
-
|
|
77
|
+
if (n.items[i][n.itemLabel].toLowerCase().startsWith(I.value)) {
|
|
78
|
+
u(i);
|
|
76
79
|
break;
|
|
77
80
|
}
|
|
78
81
|
e.preventDefault(), e.stopPropagation();
|
|
79
82
|
}
|
|
80
|
-
|
|
81
|
-
|
|
83
|
+
M = window.setTimeout(function() {
|
|
84
|
+
I.value = "";
|
|
82
85
|
}, 500);
|
|
83
86
|
}
|
|
84
87
|
function m(e) {
|
|
85
88
|
switch (e) {
|
|
86
89
|
case "next":
|
|
87
90
|
case "prev":
|
|
88
|
-
|
|
91
|
+
u(N(e));
|
|
89
92
|
break;
|
|
90
93
|
case "first":
|
|
91
|
-
|
|
94
|
+
u(k());
|
|
92
95
|
break;
|
|
93
96
|
case "last":
|
|
94
|
-
|
|
97
|
+
u(C());
|
|
95
98
|
break;
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
|
-
function
|
|
101
|
+
function u(e, t = !1) {
|
|
99
102
|
var i;
|
|
100
103
|
(i = o()[e]) == null || i.focus({ preventScroll: t });
|
|
101
104
|
}
|
|
@@ -104,13 +107,13 @@ const re = /* @__PURE__ */ X({
|
|
|
104
107
|
const e = (t = g.value) == null ? void 0 : t.querySelectorAll("li");
|
|
105
108
|
return e ? Array.from(e) : [];
|
|
106
109
|
}
|
|
107
|
-
function
|
|
110
|
+
function J(e) {
|
|
108
111
|
return o()[e];
|
|
109
112
|
}
|
|
110
|
-
function
|
|
113
|
+
function V() {
|
|
111
114
|
return o().indexOf(document.activeElement);
|
|
112
115
|
}
|
|
113
|
-
function
|
|
116
|
+
function k() {
|
|
114
117
|
const e = o(), t = e.find((l) => w(l));
|
|
115
118
|
return t ? e.indexOf(t) : -1;
|
|
116
119
|
}
|
|
@@ -118,20 +121,20 @@ const re = /* @__PURE__ */ X({
|
|
|
118
121
|
const e = o(), t = [...e].reverse().find((l) => w(l));
|
|
119
122
|
return t ? e.indexOf(t) : -1;
|
|
120
123
|
}
|
|
121
|
-
function
|
|
124
|
+
function F(e, t, l) {
|
|
122
125
|
return t === "prev" && e <= 0 || t === "next" && e === l.length - 1;
|
|
123
126
|
}
|
|
124
|
-
function
|
|
125
|
-
const t =
|
|
126
|
-
return
|
|
127
|
+
function N(e) {
|
|
128
|
+
const t = V();
|
|
129
|
+
return B(t, e);
|
|
127
130
|
}
|
|
128
|
-
function
|
|
131
|
+
function B(e, t) {
|
|
129
132
|
const l = o();
|
|
130
|
-
if (
|
|
133
|
+
if (F(e, t, l))
|
|
131
134
|
return e;
|
|
132
135
|
let i = e + (t === "next" ? 1 : -1);
|
|
133
136
|
for (; !w(l[i]); ) {
|
|
134
|
-
if (
|
|
137
|
+
if (F(i, t, l))
|
|
135
138
|
return e;
|
|
136
139
|
i += t === "next" ? 1 : -1;
|
|
137
140
|
}
|
|
@@ -140,48 +143,49 @@ const re = /* @__PURE__ */ X({
|
|
|
140
143
|
function w(e) {
|
|
141
144
|
return e.tabIndex === -2;
|
|
142
145
|
}
|
|
143
|
-
function
|
|
146
|
+
function X(e) {
|
|
144
147
|
var t;
|
|
145
148
|
return e ? (t = n.items) == null ? void 0 : t.filter((l) => l.group === e) : n.items;
|
|
146
149
|
}
|
|
147
|
-
return
|
|
148
|
-
|
|
150
|
+
return ee(
|
|
151
|
+
U,
|
|
149
152
|
(e) => {
|
|
150
153
|
f.value = e;
|
|
151
154
|
},
|
|
152
155
|
{ deep: !0 }
|
|
153
|
-
),
|
|
154
|
-
getItem:
|
|
155
|
-
|
|
156
|
-
|
|
156
|
+
), O({
|
|
157
|
+
getItem: J,
|
|
158
|
+
getActiveItemIndex: V,
|
|
159
|
+
getAdjacentItemIndex: B,
|
|
160
|
+
getFirstFocusableItemIndex: k,
|
|
157
161
|
getLastFocusableItemIndex: C
|
|
158
|
-
}), (e, t) => (d(), y(
|
|
162
|
+
}), (e, t) => (d(), y(te(S.value), {
|
|
159
163
|
id: n.id,
|
|
160
164
|
ref_key: "listRef",
|
|
161
165
|
ref: g,
|
|
162
|
-
class:
|
|
166
|
+
class: ne(["q-list", { "q-list--disabled": n.disabled }, n.class]),
|
|
163
167
|
role: "listbox",
|
|
164
168
|
tabindex: n.disabled ? -1 : 0,
|
|
165
|
-
onFocus:
|
|
166
|
-
onMousedown:
|
|
167
|
-
onMouseup:
|
|
168
|
-
onKeydown:
|
|
169
|
+
onFocus: P,
|
|
170
|
+
onMousedown: H,
|
|
171
|
+
onMouseup: K,
|
|
172
|
+
onKeydown: W
|
|
169
173
|
}, {
|
|
170
174
|
default: b(() => [
|
|
171
175
|
x(e.$slots, "default", {}, () => [
|
|
172
|
-
(d(!0),
|
|
173
|
-
|
|
176
|
+
(d(!0), T(
|
|
177
|
+
$,
|
|
174
178
|
null,
|
|
175
|
-
|
|
179
|
+
R(r.value, (l, i) => (d(), y(G(le), {
|
|
176
180
|
id: l.id,
|
|
177
181
|
key: l.id,
|
|
178
|
-
title:
|
|
182
|
+
title: r.value.length === 1 ? void 0 : l.title
|
|
179
183
|
}, {
|
|
180
184
|
default: b(() => [
|
|
181
|
-
(d(!0),
|
|
182
|
-
|
|
185
|
+
(d(!0), T(
|
|
186
|
+
$,
|
|
183
187
|
null,
|
|
184
|
-
|
|
188
|
+
R(X(l.id), (s, D) => (d(), y(G(ie), {
|
|
185
189
|
key: s[n.itemValue],
|
|
186
190
|
ref_for: !0,
|
|
187
191
|
ref_key: "listItemsRef",
|
|
@@ -193,29 +197,30 @@ const re = /* @__PURE__ */ X({
|
|
|
193
197
|
disabled: n.disabled || l.disabled || s.disabled,
|
|
194
198
|
highlighted: n.highlighted === s[n.itemValue],
|
|
195
199
|
selectable: n.selectable || n.multiple || s.selectable,
|
|
196
|
-
onClick: () =>
|
|
200
|
+
onClick: () => j(s[n.itemValue]),
|
|
201
|
+
onMouseenter: () => z(s[n.itemValue])
|
|
197
202
|
}, {
|
|
198
203
|
append: b(() => {
|
|
199
|
-
var
|
|
204
|
+
var a, c;
|
|
200
205
|
return [
|
|
201
206
|
x(e.$slots, "item.append", {
|
|
202
207
|
item: s,
|
|
203
|
-
element: (c = (
|
|
208
|
+
element: (c = (a = h.value) == null ? void 0 : a[D + i * r.value.length]) == null ? void 0 : c.$el
|
|
204
209
|
})
|
|
205
210
|
];
|
|
206
211
|
}),
|
|
207
212
|
default: b(() => {
|
|
208
|
-
var
|
|
213
|
+
var a, c;
|
|
209
214
|
return [
|
|
210
215
|
x(e.$slots, "item", {
|
|
211
216
|
item: s,
|
|
212
|
-
element: (c = (
|
|
217
|
+
element: (c = (a = h.value) == null ? void 0 : a[D + i * r.value.length]) == null ? void 0 : c.$el
|
|
213
218
|
})
|
|
214
219
|
];
|
|
215
220
|
}),
|
|
216
221
|
_: 2
|
|
217
222
|
/* DYNAMIC */
|
|
218
|
-
}, 1032, ["value", "label", "description", "icon", "disabled", "highlighted", "selectable", "onClick"]))),
|
|
223
|
+
}, 1032, ["value", "label", "description", "icon", "disabled", "highlighted", "selectable", "onClick", "onMouseenter"]))),
|
|
219
224
|
128
|
|
220
225
|
/* KEYED_FRAGMENT */
|
|
221
226
|
))
|
|
@@ -234,5 +239,5 @@ const re = /* @__PURE__ */ X({
|
|
|
234
239
|
}
|
|
235
240
|
});
|
|
236
241
|
export {
|
|
237
|
-
|
|
242
|
+
ae as default
|
|
238
243
|
};
|
|
@@ -15,8 +15,10 @@ declare const QList: {
|
|
|
15
15
|
}> & Readonly<{
|
|
16
16
|
onClick?: ((key: any) => any) | undefined;
|
|
17
17
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
18
|
+
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
18
19
|
}>, {
|
|
19
20
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
21
|
+
getActiveItemIndex: () => number;
|
|
20
22
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
21
23
|
getFirstFocusableItemIndex: () => number;
|
|
22
24
|
getLastFocusableItemIndex: () => number;
|
|
@@ -24,6 +26,7 @@ declare const QList: {
|
|
|
24
26
|
"update:modelValue": (value: any) => any;
|
|
25
27
|
} & {
|
|
26
28
|
click: (key: any) => any;
|
|
29
|
+
"mouseenter:item": (key: any) => any;
|
|
27
30
|
}, import('vue').PublicProps, {
|
|
28
31
|
groups: import('./types').Group[];
|
|
29
32
|
itemValue: string;
|
|
@@ -127,8 +130,10 @@ declare const QList: {
|
|
|
127
130
|
}> & Readonly<{
|
|
128
131
|
onClick?: ((key: any) => any) | undefined;
|
|
129
132
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
133
|
+
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
130
134
|
}>, {
|
|
131
135
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
136
|
+
getActiveItemIndex: () => number;
|
|
132
137
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
133
138
|
getFirstFocusableItemIndex: () => number;
|
|
134
139
|
getLastFocusableItemIndex: () => number;
|
|
@@ -155,8 +160,10 @@ declare const QList: {
|
|
|
155
160
|
}> & Readonly<{
|
|
156
161
|
onClick?: ((key: any) => any) | undefined;
|
|
157
162
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
163
|
+
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
158
164
|
}>, {
|
|
159
165
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
166
|
+
getActiveItemIndex: () => number;
|
|
160
167
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
161
168
|
getFirstFocusableItemIndex: () => number;
|
|
162
169
|
getLastFocusableItemIndex: () => number;
|
|
@@ -164,6 +171,7 @@ declare const QList: {
|
|
|
164
171
|
"update:modelValue": (value: any) => any;
|
|
165
172
|
} & {
|
|
166
173
|
click: (key: any) => any;
|
|
174
|
+
"mouseenter:item": (key: any) => any;
|
|
167
175
|
}, string, {
|
|
168
176
|
groups: import('./types').Group[];
|
|
169
177
|
itemValue: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCASg1yB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAT56yB,CAAA;AACrC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAG3C,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -105,6 +105,7 @@ declare function __VLS_template(): {
|
|
|
105
105
|
readonly required?: boolean | undefined;
|
|
106
106
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
107
107
|
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
108
|
+
readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
108
109
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
109
110
|
$attrs: {
|
|
110
111
|
[x: string]: unknown;
|
|
@@ -195,7 +196,7 @@ declare function __VLS_template(): {
|
|
|
195
196
|
$root: import('vue').ComponentPublicInstance | null;
|
|
196
197
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
197
198
|
$host: Element | null;
|
|
198
|
-
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
199
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "mouseenter:item", key: any) => void);
|
|
199
200
|
$el: any;
|
|
200
201
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
201
202
|
modelValue?: any;
|
|
@@ -212,8 +213,10 @@ declare function __VLS_template(): {
|
|
|
212
213
|
}> & Readonly<{
|
|
213
214
|
onClick?: ((key: any) => any) | undefined;
|
|
214
215
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
216
|
+
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
215
217
|
}>, {
|
|
216
218
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
219
|
+
getActiveItemIndex: () => number;
|
|
217
220
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
218
221
|
getFirstFocusableItemIndex: () => number;
|
|
219
222
|
getLastFocusableItemIndex: () => number;
|
|
@@ -221,6 +224,7 @@ declare function __VLS_template(): {
|
|
|
221
224
|
"update:modelValue": (value: any) => any;
|
|
222
225
|
} & {
|
|
223
226
|
click: (key: any) => any;
|
|
227
|
+
"mouseenter:item": (key: any) => any;
|
|
224
228
|
}, string, {
|
|
225
229
|
groups: import('../QList/types').Group[];
|
|
226
230
|
itemValue: string;
|
|
@@ -264,8 +268,10 @@ declare function __VLS_template(): {
|
|
|
264
268
|
}> & Readonly<{
|
|
265
269
|
onClick?: ((key: any) => any) | undefined;
|
|
266
270
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
267
|
-
|
|
271
|
+
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
272
|
+
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
268
273
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
274
|
+
getActiveItemIndex: () => number;
|
|
269
275
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
270
276
|
getFirstFocusableItemIndex: () => number;
|
|
271
277
|
getLastFocusableItemIndex: () => number;
|
|
@@ -394,6 +400,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
394
400
|
readonly required?: boolean | undefined;
|
|
395
401
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
396
402
|
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
403
|
+
readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
397
404
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
398
405
|
$attrs: {
|
|
399
406
|
[x: string]: unknown;
|
|
@@ -484,7 +491,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
484
491
|
$root: import('vue').ComponentPublicInstance | null;
|
|
485
492
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
486
493
|
$host: Element | null;
|
|
487
|
-
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
494
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "mouseenter:item", key: any) => void);
|
|
488
495
|
$el: any;
|
|
489
496
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
490
497
|
modelValue?: any;
|
|
@@ -501,8 +508,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
501
508
|
}> & Readonly<{
|
|
502
509
|
onClick?: ((key: any) => any) | undefined;
|
|
503
510
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
511
|
+
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
504
512
|
}>, {
|
|
505
513
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
514
|
+
getActiveItemIndex: () => number;
|
|
506
515
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
507
516
|
getFirstFocusableItemIndex: () => number;
|
|
508
517
|
getLastFocusableItemIndex: () => number;
|
|
@@ -510,6 +519,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
510
519
|
"update:modelValue": (value: any) => any;
|
|
511
520
|
} & {
|
|
512
521
|
click: (key: any) => any;
|
|
522
|
+
"mouseenter:item": (key: any) => any;
|
|
513
523
|
}, string, {
|
|
514
524
|
groups: import('../QList/types').Group[];
|
|
515
525
|
itemValue: string;
|
|
@@ -553,8 +563,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
553
563
|
}> & Readonly<{
|
|
554
564
|
onClick?: ((key: any) => any) | undefined;
|
|
555
565
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
556
|
-
|
|
566
|
+
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
567
|
+
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
557
568
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
569
|
+
getActiveItemIndex: () => number;
|
|
558
570
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
559
571
|
getFirstFocusableItemIndex: () => number;
|
|
560
572
|
getLastFocusableItemIndex: () => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAoIA;AA6TC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAatD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAEpD,KAAK,WAAW,GAAG,YAAY,CAAC;AA6KjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyUT,OAAO,IAA6B;;yBAnBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwEhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG
|
|
1
|
+
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAoIA;AA6TC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAatD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAEpD,KAAK,WAAW,GAAG,YAAY,CAAC;AA6KjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyUT,OAAO,IAA6B;;yBAnBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwEhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAFhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAvDtC;AAmCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAiBE,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAFhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAFhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAVrC,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"}
|
|
@@ -130,6 +130,7 @@ declare const QSelect: {
|
|
|
130
130
|
readonly required?: boolean | undefined;
|
|
131
131
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
132
132
|
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
133
|
+
readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
133
134
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
134
135
|
$attrs: {
|
|
135
136
|
[x: string]: unknown;
|
|
@@ -220,7 +221,7 @@ declare const QSelect: {
|
|
|
220
221
|
$root: import('vue').ComponentPublicInstance | null;
|
|
221
222
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
222
223
|
$host: Element | null;
|
|
223
|
-
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
|
|
224
|
+
$emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "mouseenter:item", key: any) => void);
|
|
224
225
|
$el: any;
|
|
225
226
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
226
227
|
modelValue?: any;
|
|
@@ -237,8 +238,10 @@ declare const QSelect: {
|
|
|
237
238
|
}> & Readonly<{
|
|
238
239
|
onClick?: ((key: any) => any) | undefined;
|
|
239
240
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
241
|
+
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
240
242
|
}>, {
|
|
241
243
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
244
|
+
getActiveItemIndex: () => number;
|
|
242
245
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
243
246
|
getFirstFocusableItemIndex: () => number;
|
|
244
247
|
getLastFocusableItemIndex: () => number;
|
|
@@ -246,6 +249,7 @@ declare const QSelect: {
|
|
|
246
249
|
"update:modelValue": (value: any) => any;
|
|
247
250
|
} & {
|
|
248
251
|
click: (key: any) => any;
|
|
252
|
+
"mouseenter:item": (key: any) => any;
|
|
249
253
|
}, string, {
|
|
250
254
|
groups: import('../QList/types').Group[];
|
|
251
255
|
itemValue: string;
|
|
@@ -289,8 +293,10 @@ declare const QSelect: {
|
|
|
289
293
|
}> & Readonly<{
|
|
290
294
|
onClick?: ((key: any) => any) | undefined;
|
|
291
295
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
292
|
-
|
|
296
|
+
"onMouseenter:item"?: ((key: any) => any) | undefined;
|
|
297
|
+
}>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
|
|
293
298
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
299
|
+
getActiveItemIndex: () => number;
|
|
294
300
|
getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
|
|
295
301
|
getFirstFocusableItemIndex: () => number;
|
|
296
302
|
getLastFocusableItemIndex: () => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAIuwzB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAIuwzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAJj2zB,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { QSwitchProps } from './types';
|
|
2
|
+
type __VLS_Props = QSwitchProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: boolean;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: boolean) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
size: "small" | "medium" | "large";
|
|
12
|
+
trueLabel: string;
|
|
13
|
+
falseLabel: string;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=QSwitch.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QSwitch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSwitch/QSwitch.vue"],"names":[],"mappings":"AA0CA;AA+HC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAK3C,KAAK,WAAW,GAAG,YAAY,CAAC;AAqEjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;;AAgGhB,wBAQG"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { defineComponent as L, mergeModels as g, useModel as S, toRef as c, computed as w, createElementBlock as d, openBlock as i, createBlock as B, createCommentVNode as r, createElementVNode as a, unref as n, withCtx as V, createTextVNode as u, toDisplayString as h, normalizeStyle as z, normalizeClass as M, withDirectives as x, mergeProps as D, vModelCheckbox as I, Fragment as _ } from "vue";
|
|
2
|
+
import { QLabel as N } from "../QLabel/index.js";
|
|
3
|
+
import { useId as E } from "../../composables/uid.js";
|
|
4
|
+
import { useColor as q } from "../../composables/useColor/index.js";
|
|
5
|
+
const O = { class: "q-switch__container" }, P = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" }, $ = {
|
|
6
|
+
class: "q-switch__label q-switch__label--off",
|
|
7
|
+
"aria-hidden": "true"
|
|
8
|
+
}, A = {
|
|
9
|
+
class: "q-switch__label q-switch__label--on",
|
|
10
|
+
"aria-hidden": "true"
|
|
11
|
+
}, j = /* @__PURE__ */ L({
|
|
12
|
+
inheritAttrs: !1,
|
|
13
|
+
__name: "QSwitch",
|
|
14
|
+
props: /* @__PURE__ */ g({
|
|
15
|
+
id: {},
|
|
16
|
+
class: {},
|
|
17
|
+
label: {},
|
|
18
|
+
required: { type: Boolean },
|
|
19
|
+
showStateLabels: { type: Boolean },
|
|
20
|
+
trueLabel: { default: "On" },
|
|
21
|
+
falseLabel: { default: "Off" },
|
|
22
|
+
checkedColor: {},
|
|
23
|
+
uncheckedColor: {},
|
|
24
|
+
disabled: { type: Boolean },
|
|
25
|
+
readonly: { type: Boolean },
|
|
26
|
+
size: { default: "medium" }
|
|
27
|
+
}, {
|
|
28
|
+
modelValue: { type: Boolean },
|
|
29
|
+
modelModifiers: {}
|
|
30
|
+
}),
|
|
31
|
+
emits: ["update:modelValue"],
|
|
32
|
+
setup(m) {
|
|
33
|
+
const e = m, l = S(m, "modelValue"), v = (t) => {
|
|
34
|
+
e.readonly && (t.preventDefault(), t.stopImmediatePropagation(), t.target.checked = !!l.value);
|
|
35
|
+
}, b = E(c(e, "id")), { style: f } = q(c(e, "checkedColor")), { style: p } = q(c(e, "uncheckedColor")), y = w(() => [
|
|
36
|
+
"q-switch",
|
|
37
|
+
e.size !== "medium" ? `q-switch--${e.size}` : void 0,
|
|
38
|
+
{
|
|
39
|
+
"q-switch--checked": l.value,
|
|
40
|
+
"q-switch--disabled": e.disabled,
|
|
41
|
+
"q-switch--readonly": e.readonly,
|
|
42
|
+
"q-switch--with-labels": e.showStateLabels && (e.trueLabel || e.falseLabel)
|
|
43
|
+
},
|
|
44
|
+
e.class
|
|
45
|
+
]), C = w(() => {
|
|
46
|
+
var t, o, s, k;
|
|
47
|
+
return {
|
|
48
|
+
"--q-switch-checked-background": (t = f.value) == null ? void 0 : t.mainColor,
|
|
49
|
+
"--q-switch-on-checked-background": (o = f.value) == null ? void 0 : o.onMainColor,
|
|
50
|
+
"--q-switch-unchecked-background": (s = p.value) == null ? void 0 : s.mainColor,
|
|
51
|
+
"--q-switch-on-unchecked-background": (k = p.value) == null ? void 0 : k.onMainColor
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
return (t, o) => (i(), d("div", O, [
|
|
55
|
+
e.label ? (i(), B(n(N), {
|
|
56
|
+
key: 0,
|
|
57
|
+
for: n(b),
|
|
58
|
+
required: e.required
|
|
59
|
+
}, {
|
|
60
|
+
default: V(() => [
|
|
61
|
+
u(
|
|
62
|
+
h(e.label),
|
|
63
|
+
1
|
|
64
|
+
/* TEXT */
|
|
65
|
+
)
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
/* STABLE */
|
|
69
|
+
}, 8, ["for", "required"])) : r("v-if", !0),
|
|
70
|
+
a(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
class: M(y.value),
|
|
74
|
+
style: z(C.value)
|
|
75
|
+
},
|
|
76
|
+
[
|
|
77
|
+
x(a("input", D({
|
|
78
|
+
id: n(b),
|
|
79
|
+
"onUpdate:modelValue": o[0] || (o[0] = (s) => l.value = s),
|
|
80
|
+
class: "q-switch__input",
|
|
81
|
+
type: "checkbox",
|
|
82
|
+
role: "switch",
|
|
83
|
+
"aria-checked": l.value,
|
|
84
|
+
disabled: e.disabled
|
|
85
|
+
}, t.$attrs, { onInput: v }), null, 16, P), [
|
|
86
|
+
[I, l.value]
|
|
87
|
+
]),
|
|
88
|
+
a("div", Q, [
|
|
89
|
+
a("span", $, [
|
|
90
|
+
e.showStateLabels ? (i(), d(
|
|
91
|
+
_,
|
|
92
|
+
{ key: 0 },
|
|
93
|
+
[
|
|
94
|
+
u(
|
|
95
|
+
h(e.falseLabel),
|
|
96
|
+
1
|
|
97
|
+
/* TEXT */
|
|
98
|
+
)
|
|
99
|
+
],
|
|
100
|
+
64
|
|
101
|
+
/* STABLE_FRAGMENT */
|
|
102
|
+
)) : r("v-if", !0)
|
|
103
|
+
]),
|
|
104
|
+
a("span", A, [
|
|
105
|
+
e.showStateLabels ? (i(), d(
|
|
106
|
+
_,
|
|
107
|
+
{ key: 0 },
|
|
108
|
+
[
|
|
109
|
+
u(
|
|
110
|
+
h(e.trueLabel),
|
|
111
|
+
1
|
|
112
|
+
/* TEXT */
|
|
113
|
+
)
|
|
114
|
+
],
|
|
115
|
+
64
|
|
116
|
+
/* STABLE_FRAGMENT */
|
|
117
|
+
)) : r("v-if", !0)
|
|
118
|
+
])
|
|
119
|
+
])
|
|
120
|
+
],
|
|
121
|
+
6
|
|
122
|
+
/* CLASS, STYLE */
|
|
123
|
+
)
|
|
124
|
+
]));
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
export {
|
|
128
|
+
j as default
|
|
129
|
+
};
|