@quidgest/ui 0.32.0 → 0.32.1
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/CHANGELOG.md +24 -0
- package/dist/json/api.json +198 -28
- package/dist/ui.css +291 -108
- package/dist/ui.esm.js +989 -966
- package/dist/ui.min.css +1 -1
- package/dist/ui.scss +433 -105
- package/lib/components/QAlert/QAlert.d.ts.map +1 -1
- package/lib/components/QAlert/QAlert.vue.js +13 -3
- package/lib/components/QAlert/types.d.ts +12 -0
- package/lib/components/QAlert/types.d.ts.map +1 -1
- package/lib/components/QBadge/QBadge.d.ts.map +1 -1
- package/lib/components/QBadge/QBadge.vue.js +20 -12
- package/lib/components/QBadge/types.d.ts +11 -0
- package/lib/components/QBadge/types.d.ts.map +1 -1
- package/lib/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/lib/components/QDateTimePicker/QDateTimePicker.vue.js +596 -574
- package/lib/components/QDefaultsProvider/QDefaultsProvider.vue.js +4 -2
- package/lib/components/QDefaultsProvider/types.d.ts +10 -0
- package/lib/components/QDefaultsProvider/types.d.ts.map +1 -1
- package/lib/components/QDrawer/QDrawer.d.ts.map +1 -1
- package/lib/components/QDrawer/QDrawer.vue.js +204 -201
- package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/lib/components/QDropdownMenu/QDropdownMenuContent.vue.js +95 -83
- package/lib/components/QField/types.d.ts +4 -4
- package/lib/components/QGauge/QGauge.d.ts.map +1 -1
- package/lib/components/QGauge/QGauge.vue.js +149 -121
- package/lib/components/QGauge/types.d.ts +16 -1
- package/lib/components/QGauge/types.d.ts.map +1 -1
- package/lib/components/QInputGroup/QInputGroup.d.ts +8 -7
- package/lib/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/lib/components/QInputGroup/QInputGroup.vue.js +82 -43
- package/lib/components/QLabel/QLabel.d.ts.map +1 -1
- package/lib/components/QLabel/QLabel.vue.js +1 -0
- package/lib/components/QList/QListItem.d.ts.map +1 -1
- package/lib/components/QList/QListItem.vue.js +39 -32
- package/lib/components/QMeter/types.d.ts +3 -0
- package/lib/components/QMeter/types.d.ts.map +1 -1
- package/lib/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/lib/components/QOverlay/QOverlay.vue.js +88 -85
- package/lib/components/QPhoneField/QPhoneField.d.ts +6 -0
- package/lib/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/lib/components/QPhoneField/QPhoneField.vue.js +1 -1
- package/lib/components/QPhoneField/index.d.ts +3 -0
- package/lib/components/QPhoneField/index.d.ts.map +1 -1
- package/lib/components/QProgress/QProgress.d.ts.map +1 -1
- package/lib/components/QProgress/QProgress.vue.js +66 -47
- package/lib/components/QProgress/types.d.ts +3 -0
- package/lib/components/QProgress/types.d.ts.map +1 -1
- package/lib/components/QRadioGroup/QRadioGroup.d.ts +1 -1
- package/lib/components/QRadioGroup/index.d.ts +3 -3
- package/lib/components/QSelect/QSelect.d.ts +6 -0
- package/lib/components/QSelect/QSelect.d.ts.map +1 -1
- package/lib/components/QSelect/index.d.ts +3 -0
- package/lib/components/QSelect/index.d.ts.map +1 -1
- package/lib/components/QToast/QToaster.d.ts.map +1 -1
- package/lib/components/QToast/QToaster.vue.js +61 -58
- package/lib/composables/defaults.d.ts +25 -1
- package/lib/composables/defaults.d.ts.map +1 -1
- package/lib/composables/defaults.js +15 -7
- package/lib/composables/useColor/index.d.ts +2 -0
- package/lib/composables/useColor/index.d.ts.map +1 -1
- package/lib/composables/useColor/index.js +25 -19
- package/lib/composables/useColor/types.d.ts +12 -0
- package/lib/composables/useColor/types.d.ts.map +1 -1
- package/lib/utils/bidi.d.ts +27 -0
- package/lib/utils/bidi.d.ts.map +1 -0
- package/lib/utils/bidi.js +15 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"AAqHA;AA6wBC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAY3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,KAAK,EAA+B,yBAAyB,EAAE,MAAM,GAAG,CAAA;AAC/E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAA;AAGlD,OAAO,EAAiB,QAAQ,EAAgC,MAAM,KAAK,CAAA;AAO3E;;;GAGG;AACH,KAAK,kBAAkB,GAAG,UAAU,GAAG,MAAM,CAAA;AAE7C,KAAK,WAAW,GAAG,yBAAyB,CAAC;AA0S7C;;;;;;;GAOG;AACH,iBAAS,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,QAQ3D;AAmWF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,GAAG,CAAC;CACnB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WAoRT,OAAO,IAA6B;;mBA/5BrC,IAAI;kBACL,IAAI;oBACF;YAAE,IAAI,EAAE,aAAa,CAAA;SAAE,GAAG,IAAI;8BACpB;YAAE,IAAI,EAAE,aAAa,CAAA;SAAE,GAAG,IAAI;;mBAHzC,IAAI;kBACL,IAAI;oBACF;YAAE,IAAI,EAAE,aAAa,CAAA;SAAE,GAAG,IAAI;8BACpB;YAAE,IAAI,EAAE,aAAa,CAAA;SAAE,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAuBlC,GAAG,8CAEjB,GAAG,yBAER,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAJtB,GAAG,8CAEjB,GAAG,yBAER,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAs4BzC;AA6CD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;wCA3gCpB,oBA5rBe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA+wBI,GAAG,8CAEjB,GAAG,yBAER,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAJtB,GAAG,8CAEjB,GAAG,yBAER,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+7BxC,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"}
|
|
@@ -67,82 +67,88 @@ var pe = ["id"], T = /*@__PURE__*/ d({
|
|
|
67
67
|
function P(e) {
|
|
68
68
|
return T.items?.find((t) => t[T.itemValue] === e[T.itemValue]) ?? e;
|
|
69
69
|
}
|
|
70
|
-
let F = o(() => ee(T.items, T.groups)),
|
|
71
|
-
function
|
|
70
|
+
let F = o(() => ee(T.items, T.groups)), _e = o(() => T.depth === 0 ? "click" : "manual"), ve = o(() => T.depth === 0 ? 4 : T.offset), ye = o(() => T.depth === 0 ? void 0 : T.crossOffset), I = S("list"), L = S("body"), R = v(null), be = o(() => "right-start"), z = o(() => T.trigger !== "hover" || j.value === void 0 ? !1 : ((T.items?.find((e) => e[T.itemValue] === j.value))?.items?.length ?? 0) > 0);
|
|
71
|
+
function xe(e) {
|
|
72
72
|
return "syncHoverFromPoint" in e && "getMenuRect" in e && "getMenuRoot" in e && "hasOpenSubmenu" in e;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
if (e && j.value === t &&
|
|
76
|
-
|
|
74
|
+
function Se(e, t) {
|
|
75
|
+
if (e && j.value === t && xe(e)) {
|
|
76
|
+
R.value = e;
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
|
-
!e && j.value === t && (
|
|
79
|
+
!e && j.value === t && (R.value = null);
|
|
80
80
|
}
|
|
81
|
-
async function
|
|
82
|
-
await m(), await m(),
|
|
83
|
-
let { x: e, y: t } =
|
|
84
|
-
|
|
81
|
+
async function Ce() {
|
|
82
|
+
await m(), await m(), V();
|
|
83
|
+
let { x: e, y: t } = Me();
|
|
84
|
+
R.value?.syncHoverFromPoint(e, t);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
88
|
-
}
|
|
89
|
-
function Ce() {
|
|
90
|
-
return B.value?.getMenuRoot() ?? null;
|
|
86
|
+
function B() {
|
|
87
|
+
return R.value?.getMenuRect() ?? null;
|
|
91
88
|
}
|
|
92
89
|
function we() {
|
|
93
|
-
return
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
90
|
+
return R.value?.getMenuRoot() ?? null;
|
|
91
|
+
}
|
|
92
|
+
function Te() {
|
|
93
|
+
return R.value?.hasOpenSubmenu() ?? !1;
|
|
94
|
+
}
|
|
95
|
+
let { visible: Ee, top: De, left: Oe, width: ke, height: Ae, path: je, refresh: V, getLastPointer: Me } = re({
|
|
96
|
+
enabled: z,
|
|
97
|
+
placement: be,
|
|
98
|
+
getParentRect: () => L.value?.getBoundingClientRect() ?? null,
|
|
99
|
+
getContentRect: B,
|
|
100
|
+
getContentRoot: we,
|
|
101
|
+
shouldSuppressLeave: Te,
|
|
102
102
|
onLeave: J,
|
|
103
103
|
onEnterContent: (e, t) => {
|
|
104
|
-
|
|
104
|
+
R.value?.syncHoverFromPoint(e, t);
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
107
|
C(j, (e, t) => {
|
|
108
|
-
let n =
|
|
109
|
-
t !== void 0 && n?.contains(document.activeElement) &&
|
|
108
|
+
let n = R.value?.getMenuRoot();
|
|
109
|
+
t !== void 0 && n?.contains(document.activeElement) && H(k.value ?? t), R.value = null;
|
|
110
110
|
});
|
|
111
|
-
function
|
|
112
|
-
let
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
function
|
|
116
|
-
let n
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
for (let e of r) {
|
|
120
|
-
if (!(e instanceof Element)) continue;
|
|
121
|
-
let t = e.closest(".q-list-item");
|
|
122
|
-
if (!t || !n.contains(t) || t.closest(".q-dropdown-menu__body") !== n) continue;
|
|
123
|
-
let r = t.getAttribute("data-key");
|
|
124
|
-
if (r === null) continue;
|
|
125
|
-
let i = T.items?.find((e) => String(e[T.itemValue]) === r);
|
|
126
|
-
if (i) return i[T.itemValue];
|
|
111
|
+
function H(e, t = !1) {
|
|
112
|
+
let n = F.value.findIndex((t) => t[T.itemValue] === e);
|
|
113
|
+
I.value?.getItem(n)?.focus({ preventScroll: t });
|
|
114
|
+
}
|
|
115
|
+
function Ne(e, t) {
|
|
116
|
+
for (let n of document.elementsFromPoint(e, t)) {
|
|
117
|
+
let e = U(n);
|
|
118
|
+
if (e !== void 0) return e;
|
|
127
119
|
}
|
|
128
120
|
}
|
|
121
|
+
function U(e) {
|
|
122
|
+
let t = L.value;
|
|
123
|
+
if (!t || !(e instanceof Element)) return;
|
|
124
|
+
let n = e.closest(".q-list-item");
|
|
125
|
+
if (!n || n.closest(".q-dropdown-menu__body") !== t) return;
|
|
126
|
+
let r = n.getAttribute("data-key");
|
|
127
|
+
if (r !== null) return T.items?.find((e) => String(e[T.itemValue]) === r)?.[T.itemValue];
|
|
128
|
+
}
|
|
129
129
|
function W(e, t) {
|
|
130
130
|
if (T.trigger !== "hover") return;
|
|
131
|
-
let n =
|
|
131
|
+
let n = Ne(e, t);
|
|
132
132
|
n !== void 0 && G(n);
|
|
133
133
|
}
|
|
134
|
-
function Ne(e) {
|
|
135
|
-
U(e.clientX, e.clientY), W(e.clientX, e.clientY);
|
|
136
|
-
}
|
|
137
134
|
function Pe(e) {
|
|
138
|
-
V
|
|
135
|
+
V(e.clientX, e.clientY), W(e.clientX, e.clientY);
|
|
139
136
|
}
|
|
140
137
|
function Fe(e) {
|
|
138
|
+
z.value ? W(e.clientX, e.clientY) : Ie(e), V(e.clientX, e.clientY);
|
|
139
|
+
}
|
|
140
|
+
function Ie(e) {
|
|
141
|
+
let t = F.value[I.value?.getActiveItemIndex() ?? -1];
|
|
142
|
+
if (!t) return;
|
|
143
|
+
let n = U(e.target);
|
|
144
|
+
n === void 0 || n === t[T.itemValue] || G(n);
|
|
145
|
+
}
|
|
146
|
+
function Le(e) {
|
|
141
147
|
M.value = T.items?.find((t) => t[T.itemValue] === e)?.items ?? [];
|
|
142
148
|
let t = M.value.length > 0;
|
|
143
149
|
k.value = e, t ? $(e) : K(e);
|
|
144
150
|
}
|
|
145
|
-
function
|
|
151
|
+
function Re(e) {
|
|
146
152
|
if (!(e.altKey || e.ctrlKey || e.metaKey)) switch ([
|
|
147
153
|
"Enter",
|
|
148
154
|
"ArrowDown",
|
|
@@ -151,10 +157,11 @@ var pe = ["id"], T = /*@__PURE__*/ d({
|
|
|
151
157
|
"ArrowRight",
|
|
152
158
|
"Tab"
|
|
153
159
|
].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key) {
|
|
154
|
-
case "ArrowRight":
|
|
155
|
-
let
|
|
156
|
-
|
|
160
|
+
case "ArrowRight": {
|
|
161
|
+
let e = F.value[I.value?.getActiveItemIndex() ?? -1];
|
|
162
|
+
e && (k.value = e[T.itemValue], $(e[T.itemValue]));
|
|
157
163
|
break;
|
|
164
|
+
}
|
|
158
165
|
case "ArrowLeft":
|
|
159
166
|
T.depth > 0 && Y();
|
|
160
167
|
break;
|
|
@@ -167,16 +174,20 @@ var pe = ["id"], T = /*@__PURE__*/ d({
|
|
|
167
174
|
}
|
|
168
175
|
}
|
|
169
176
|
function G(e) {
|
|
170
|
-
T.trigger === "hover" && (k.value = e, $(e));
|
|
177
|
+
T.trigger === "hover" && (k.value = e, $(e), j.value !== e && H(e, !0));
|
|
178
|
+
}
|
|
179
|
+
function ze() {
|
|
180
|
+
let e = F.value[I.value?.getActiveItemIndex() ?? -1];
|
|
181
|
+
e && e[T.itemValue] !== k.value && J();
|
|
171
182
|
}
|
|
172
183
|
function K(e) {
|
|
173
184
|
E("select", e), X();
|
|
174
185
|
}
|
|
175
|
-
function
|
|
186
|
+
function Be() {
|
|
176
187
|
q?.contains(document.activeElement) ? Y() : J();
|
|
177
188
|
}
|
|
178
189
|
let q = null;
|
|
179
|
-
C(
|
|
190
|
+
C(L, (e) => {
|
|
180
191
|
e && (q = e);
|
|
181
192
|
});
|
|
182
193
|
function J() {
|
|
@@ -190,7 +201,7 @@ var pe = ["id"], T = /*@__PURE__*/ d({
|
|
|
190
201
|
}
|
|
191
202
|
function Z(e) {
|
|
192
203
|
let t = e.target;
|
|
193
|
-
|
|
204
|
+
L.value?.contains(t) || T.activator && n(T.activator)?.contains(t) || X();
|
|
194
205
|
}
|
|
195
206
|
let Q = ["mousedown", "touchstart"];
|
|
196
207
|
T.depth === 0 && C(() => j.value !== void 0, (e, t, n) => {
|
|
@@ -202,22 +213,22 @@ var pe = ["id"], T = /*@__PURE__*/ d({
|
|
|
202
213
|
function $(e) {
|
|
203
214
|
j.value = (T.items?.find((t) => t[T.itemValue] === e))?.items?.length ? e : void 0;
|
|
204
215
|
}
|
|
205
|
-
function
|
|
206
|
-
let e = F.value.findIndex((e) => e[T.itemValue] === j.value), t =
|
|
216
|
+
function Ve() {
|
|
217
|
+
let e = F.value.findIndex((e) => e[T.itemValue] === j.value), t = I.value?.getItem(e);
|
|
207
218
|
j.value = void 0, k.value = void 0, t?.focus();
|
|
208
219
|
}
|
|
209
|
-
function
|
|
210
|
-
m(() =>
|
|
220
|
+
function He() {
|
|
221
|
+
m(() => I.value?.$el.focus());
|
|
211
222
|
}
|
|
212
|
-
function
|
|
213
|
-
E("open"),
|
|
223
|
+
function Ue() {
|
|
224
|
+
E("open"), He();
|
|
214
225
|
}
|
|
215
226
|
return d({
|
|
216
227
|
getMenuRect: () => {
|
|
217
|
-
let e =
|
|
228
|
+
let e = L.value;
|
|
218
229
|
return e ? (e.closest(".q-overlay") ?? e).getBoundingClientRect() : null;
|
|
219
230
|
},
|
|
220
|
-
getMenuRoot: () =>
|
|
231
|
+
getMenuRoot: () => L.value?.closest(".q-overlay") ?? L.value,
|
|
221
232
|
hasOpenSubmenu: () => j.value === void 0 ? !1 : ((T.items?.find((e) => e[T.itemValue] === j.value))?.items?.length ?? 0) > 0,
|
|
222
233
|
syncHoverFromPoint: W
|
|
223
234
|
}), (e, n) => {
|
|
@@ -230,25 +241,26 @@ var pe = ["id"], T = /*@__PURE__*/ d({
|
|
|
230
241
|
appearance: T.appearance,
|
|
231
242
|
inline: T.inline,
|
|
232
243
|
delay: T.delay,
|
|
233
|
-
offset:
|
|
234
|
-
"cross-offset":
|
|
244
|
+
offset: ve.value,
|
|
245
|
+
"cross-offset": ye.value,
|
|
235
246
|
placement: T.placement,
|
|
236
247
|
transition: T.transition,
|
|
237
248
|
class: h(T.class),
|
|
238
|
-
trigger:
|
|
249
|
+
trigger: _e.value,
|
|
239
250
|
"scroll-lock": "",
|
|
240
251
|
"non-modal": "",
|
|
241
|
-
onEnter:
|
|
242
|
-
onLeave:
|
|
252
|
+
onEnter: Ue,
|
|
253
|
+
onLeave: Be
|
|
243
254
|
}, {
|
|
244
255
|
default: w(() => [oe("div", {
|
|
245
256
|
ref: "body",
|
|
246
257
|
class: "q-dropdown-menu__body",
|
|
247
258
|
"data-testid": "dropdown-content",
|
|
248
259
|
tabindex: "-1",
|
|
249
|
-
onPointerenter:
|
|
250
|
-
onPointermove:
|
|
251
|
-
|
|
260
|
+
onPointerenter: Pe,
|
|
261
|
+
onPointermove: Fe,
|
|
262
|
+
onFocusin: ze,
|
|
263
|
+
onKeydown: fe(Re, ["stop"])
|
|
252
264
|
}, [
|
|
253
265
|
y(e.$slots, "prepend"),
|
|
254
266
|
u(b(te), {
|
|
@@ -265,7 +277,7 @@ var pe = ["id"], T = /*@__PURE__*/ d({
|
|
|
265
277
|
selectable: !1,
|
|
266
278
|
"select-on-tab": !1,
|
|
267
279
|
icons: T.icons,
|
|
268
|
-
onClick:
|
|
280
|
+
onClick: Le,
|
|
269
281
|
"onMouseenter:item": G
|
|
270
282
|
}, {
|
|
271
283
|
item: w(({ item: t }) => [y(e.$slots, "item", { item: P(t) })]),
|
|
@@ -273,10 +285,10 @@ var pe = ["id"], T = /*@__PURE__*/ d({
|
|
|
273
285
|
key: 0,
|
|
274
286
|
id: N(n),
|
|
275
287
|
class: "q-dropdown-menu__extra"
|
|
276
|
-
}, le(n.extraInfo), 9, pe)) : c("", !0)]), n.items?.length > 0 ? (_(), l(ae, { key: 0 }, [u(b(t), g(f(T.icons.expand)), null, 16), j.value === n.
|
|
288
|
+
}, le(n.extraInfo), 9, pe)) : c("", !0)]), n.items?.length > 0 ? (_(), l(ae, { key: 0 }, [u(b(t), g(f(T.icons.expand)), null, 16), j.value === n[T.itemValue] ? (_(), s(i, {
|
|
277
289
|
key: 0,
|
|
278
290
|
id: `${b(A)}_submenu`,
|
|
279
|
-
ref: (e) =>
|
|
291
|
+
ref: (e) => Se(e, n[T.itemValue]),
|
|
280
292
|
"model-value": "",
|
|
281
293
|
class: h(T.class),
|
|
282
294
|
activator: r,
|
|
@@ -293,10 +305,10 @@ var pe = ["id"], T = /*@__PURE__*/ d({
|
|
|
293
305
|
placement: "right-start",
|
|
294
306
|
"non-modal": "",
|
|
295
307
|
inline: "",
|
|
296
|
-
onOpen:
|
|
308
|
+
onOpen: Ce,
|
|
297
309
|
onHide: X,
|
|
298
310
|
onSelect: K,
|
|
299
|
-
onFocusPrevious:
|
|
311
|
+
onFocusPrevious: Ve
|
|
300
312
|
}, se({
|
|
301
313
|
item: w((t) => [y(e.$slots, "item", g(f(t)))]),
|
|
302
314
|
_: 2
|
|
@@ -331,13 +343,13 @@ var pe = ["id"], T = /*@__PURE__*/ d({
|
|
|
331
343
|
"icons"
|
|
332
344
|
]),
|
|
333
345
|
y(e.$slots, "append")
|
|
334
|
-
], 544), b(
|
|
346
|
+
], 544), b(Ee) ? (_(), s(b(ne), {
|
|
335
347
|
key: 0,
|
|
336
|
-
top: b(
|
|
337
|
-
left: b(
|
|
338
|
-
width: b(
|
|
339
|
-
height: b(
|
|
340
|
-
path: b(
|
|
348
|
+
top: b(De),
|
|
349
|
+
left: b(Oe),
|
|
350
|
+
width: b(ke),
|
|
351
|
+
height: b(Ae),
|
|
352
|
+
path: b(je)
|
|
341
353
|
}, null, 8, [
|
|
342
354
|
"top",
|
|
343
355
|
"left",
|
|
@@ -68,10 +68,10 @@ export type QFieldProps = QLabelProps & QFieldHelpProps & {
|
|
|
68
68
|
*/
|
|
69
69
|
required?: boolean;
|
|
70
70
|
/**
|
|
71
|
-
* Whether the input is invalid. Shows a danger border
|
|
72
|
-
* control. Put the message in the `errors` slot: it shows under the
|
|
73
|
-
* icon and `texts.error`, and describes the control, only while
|
|
74
|
-
* Without a message, the field shows only the border.
|
|
71
|
+
* Whether the input is invalid. Shows a danger border with a shadow of its color, and sets
|
|
72
|
+
* `aria-invalid` on the control. Put the message in the `errors` slot: it shows under the
|
|
73
|
+
* control, after an icon and `texts.error`, and describes the control, only while
|
|
74
|
+
* `invalid` is true. Without a message, the field shows only the border and its shadow.
|
|
75
75
|
*
|
|
76
76
|
* @category State
|
|
77
77
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QGauge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGauge/QGauge.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QGauge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGauge/QGauge.vue"],"names":[],"mappings":"AA8LA;AAklBC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAO3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AA8BpC,KAAK,WAAW,GAAG,WAAW,CAAC;AAuXhC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA+NT,OAAO,IAA6B;;QA/kBhD;;;;WAIG;gBACK,CAAC,KAAK,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;QALvE;;;;WAIG;gBACK,CAAC,KAAK,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;;;EA+kBxE;AAqCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;wFASnB,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"}
|