@quidgest/ui 0.16.0 → 0.16.2
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/ui.css +2 -6
- package/dist/ui.esm.js +374 -370
- package/dist/ui.js +7 -7
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +107 -107
- package/dist/ui.scss +24 -25
- package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +5 -4
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +59 -57
- package/esm/components/QCombobox/index.d.ts +3 -0
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +4 -0
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +15 -16
- package/esm/components/QOverlay/index.d.ts +0 -3
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +0 -4
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +12 -13
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +31 -34
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +58 -56
- package/esm/components/QSelect/index.d.ts +3 -0
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +4 -0
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.vue.js +10 -7
- package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +8 -9
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +42 -40
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as g, mergeModels as V, useModel as v, onMounted as B, onUnmounted as
|
|
1
|
+
import { defineComponent as g, mergeModels as V, useModel as v, onMounted as B, onUnmounted as _, watch as k, createElementBlock as l, openBlock as a, Fragment as m, renderSlot as p, createVNode as M, unref as n, normalizeClass as w, withCtx as x, createElementVNode as C, createBlock as N, createCommentVNode as T, normalizeProps as A, mergeProps as D, createTextVNode as Q, toDisplayString as q } from "vue";
|
|
2
2
|
import { QIcon as z } from "../QIcon/index.js";
|
|
3
3
|
import { QOverlay as H } from "../QOverlay/index.js";
|
|
4
4
|
import { useId as I } from "../../composables/uid.js";
|
|
5
|
-
import { getElement as
|
|
6
|
-
const L = ["innerHTML"],
|
|
5
|
+
import { getElement as u } from "../../utils/getElement.js";
|
|
6
|
+
const L = { class: "q-tooltip__content" }, P = ["innerHTML"], O = /* @__PURE__ */ g({
|
|
7
7
|
__name: "QTooltip",
|
|
8
8
|
props: /* @__PURE__ */ V({
|
|
9
9
|
id: {},
|
|
@@ -26,35 +26,35 @@ const L = ["innerHTML"], F = /* @__PURE__ */ g({
|
|
|
26
26
|
}),
|
|
27
27
|
emits: ["update:modelValue"],
|
|
28
28
|
setup(i) {
|
|
29
|
-
const e = i, d = v(i, "modelValue"),
|
|
29
|
+
const e = i, d = v(i, "modelValue"), r = I(e.id);
|
|
30
30
|
function c(o) {
|
|
31
|
-
const t =
|
|
32
|
-
t == null || t.setAttribute("aria-describedby",
|
|
31
|
+
const t = u(o);
|
|
32
|
+
t == null || t.setAttribute("aria-describedby", r);
|
|
33
33
|
}
|
|
34
34
|
function f() {
|
|
35
35
|
e.anchor && c(e.anchor);
|
|
36
36
|
}
|
|
37
37
|
B(f);
|
|
38
38
|
function s(o) {
|
|
39
|
-
const t =
|
|
39
|
+
const t = u(o);
|
|
40
40
|
t == null || t.removeAttribute("aria-describedby");
|
|
41
41
|
}
|
|
42
42
|
function y() {
|
|
43
43
|
e.anchor && s(e.anchor);
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
_(y);
|
|
46
46
|
function h(o, t) {
|
|
47
47
|
t && s(t), o && c(o);
|
|
48
48
|
}
|
|
49
|
-
return
|
|
49
|
+
return k(() => e.anchor, h), (o, t) => (a(), l(
|
|
50
50
|
m,
|
|
51
51
|
null,
|
|
52
52
|
[
|
|
53
|
-
|
|
54
|
-
props: { "aria-describedby": r
|
|
53
|
+
p(o.$slots, "anchor", {
|
|
54
|
+
props: { "aria-describedby": n(r) }
|
|
55
55
|
}),
|
|
56
|
-
|
|
57
|
-
id: r
|
|
56
|
+
M(n(H), {
|
|
57
|
+
id: n(r),
|
|
58
58
|
modelValue: d.value,
|
|
59
59
|
"onUpdate:modelValue": t[0] || (t[0] = (b) => d.value = b),
|
|
60
60
|
anchor: e.anchor,
|
|
@@ -64,37 +64,39 @@ const L = ["innerHTML"], F = /* @__PURE__ */ g({
|
|
|
64
64
|
arrow: e.arrow,
|
|
65
65
|
attach: e.attach,
|
|
66
66
|
inline: e.inline,
|
|
67
|
-
class:
|
|
67
|
+
class: w(["q-tooltip", e.class]),
|
|
68
68
|
delay: e.delay,
|
|
69
69
|
disabled: e.disabled,
|
|
70
70
|
placement: e.placement,
|
|
71
71
|
trigger: e.trigger
|
|
72
72
|
}, {
|
|
73
|
-
default:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
73
|
+
default: x(() => [
|
|
74
|
+
C("div", L, [
|
|
75
|
+
p(o.$slots, "default", {}, () => [
|
|
76
|
+
e.icon ? (a(), N(
|
|
77
|
+
n(z),
|
|
78
|
+
A(D({ key: 0 }, e.icon)),
|
|
79
|
+
null,
|
|
80
|
+
16
|
|
81
|
+
/* FULL_PROPS */
|
|
82
|
+
)) : T("v-if", !0),
|
|
83
|
+
e.html ? (a(), l("span", {
|
|
84
|
+
key: 1,
|
|
85
|
+
innerHTML: e.text
|
|
86
|
+
}, null, 8, P)) : (a(), l(
|
|
87
|
+
m,
|
|
88
|
+
{ key: 2 },
|
|
89
|
+
[
|
|
90
|
+
Q(
|
|
91
|
+
q(e.text),
|
|
92
|
+
1
|
|
93
|
+
/* TEXT */
|
|
94
|
+
)
|
|
95
|
+
],
|
|
96
|
+
64
|
|
97
|
+
/* STABLE_FRAGMENT */
|
|
98
|
+
))
|
|
99
|
+
])
|
|
98
100
|
])
|
|
99
101
|
]),
|
|
100
102
|
_: 3
|
|
@@ -107,5 +109,5 @@ const L = ["innerHTML"], F = /* @__PURE__ */ g({
|
|
|
107
109
|
}
|
|
108
110
|
});
|
|
109
111
|
export {
|
|
110
|
-
|
|
112
|
+
O as default
|
|
111
113
|
};
|