wave-ui 3.5.2 → 3.6.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/wave-ui.cjs.js +1 -1
- package/dist/wave-ui.css +1 -1
- package/dist/wave-ui.es.js +180 -167
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +1 -1
- package/src/wave-ui/components/w-button/button.vue +4 -1
- package/src/wave-ui/components/w-input.vue +1 -0
- package/src/wave-ui/components/w-menu.vue +2 -2
- package/src/wave-ui/components/w-select.vue +1 -0
- package/src/wave-ui/components/w-textarea.vue +1 -0
- package/src/wave-ui/components/w-tooltip.vue +46 -12
- package/src/wave-ui/mixins/detachable.js +6 -3
package/dist/wave-ui.es.js
CHANGED
|
@@ -9,7 +9,7 @@ var Y = (e, t, l) => (ne(e, t, "read from private field"), l ? l.call(e) : t.get
|
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
t instanceof WeakSet ? t.add(e) : t.set(e, l);
|
|
11
11
|
}, te = (e, t, l, o) => (ne(e, t, "write to private field"), o ? o.call(e, l) : t.set(e, l), l);
|
|
12
|
-
import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as m, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as g, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as
|
|
12
|
+
import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as m, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as g, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as Be, inject as Se, withKeys as E, withModifiers as M, renderSlot as p, toHandlers as W, createTextVNode as B, toDisplayString as _, Transition as O, normalizeStyle as T, resolveDynamicComponent as V, normalizeProps as ie, resolveDirective as me, withDirectives as N, createSlots as Z, vShow as oe, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
|
|
13
13
|
const Ie = Q({
|
|
14
14
|
on: "#app",
|
|
15
15
|
breakpoints: {
|
|
@@ -447,10 +447,10 @@ const Te = (e) => {
|
|
|
447
447
|
const y = { ...d, info: o, warning: n, success: i, error: a };
|
|
448
448
|
for (const b in y)
|
|
449
449
|
l[b] = y[b];
|
|
450
|
-
let
|
|
450
|
+
let S = "";
|
|
451
451
|
return Object.entries(l).forEach(([b, R]) => {
|
|
452
|
-
|
|
453
|
-
}), `:root{${
|
|
452
|
+
S += `--w-${b}-color: ${R};`;
|
|
453
|
+
}), `:root{${S}}${t}`;
|
|
454
454
|
}, Le = (e, t) => {
|
|
455
455
|
let l = "";
|
|
456
456
|
const { cssScope: o } = q;
|
|
@@ -521,7 +521,7 @@ const Te = (e) => {
|
|
|
521
521
|
xl: o === "xl",
|
|
522
522
|
width: t
|
|
523
523
|
}), e.breakpoint.width = window.innerWidth;
|
|
524
|
-
},
|
|
524
|
+
}, Oe = (e) => {
|
|
525
525
|
const { config: t } = e;
|
|
526
526
|
if (se = { keys: Object.keys(t.breakpoints), values: Object.values(t.breakpoints) }, !document.getElementById("wave-ui-styles")) {
|
|
527
527
|
const l = document.createElement("style");
|
|
@@ -530,7 +530,7 @@ const Te = (e) => {
|
|
|
530
530
|
o ? o.before(l) : document.head.appendChild(l);
|
|
531
531
|
}
|
|
532
532
|
ce(e), window.addEventListener("resize", () => ce(e));
|
|
533
|
-
},
|
|
533
|
+
}, Pe = (e) => {
|
|
534
534
|
if (!document.getElementById("wave-ui-colors")) {
|
|
535
535
|
const t = document.createElement("style");
|
|
536
536
|
t.id = "wave-ui-colors", t.innerHTML = Te(e);
|
|
@@ -646,7 +646,7 @@ H = new WeakMap(), ee(G, H, void 0);
|
|
|
646
646
|
const Ne = (e, t, l) => {
|
|
647
647
|
const o = document.createElement("div");
|
|
648
648
|
e.appendChild(o);
|
|
649
|
-
const n = Ce(
|
|
649
|
+
const n = Ce(Be({
|
|
650
650
|
...Ae,
|
|
651
651
|
inject: ["$waveui"]
|
|
652
652
|
})).provide("$waveui", l);
|
|
@@ -705,7 +705,7 @@ const j = class {
|
|
|
705
705
|
var n, i;
|
|
706
706
|
this.theme = t, document.documentElement.setAttribute("data-theme", t), (i = (n = document.head.querySelector("#wave-ui-colors")) == null ? void 0 : n.remove) == null || i.call(n);
|
|
707
707
|
const o = this.config.colors[this.theme];
|
|
708
|
-
|
|
708
|
+
Pe(o), this.colors = de(o, ue);
|
|
709
709
|
}
|
|
710
710
|
});
|
|
711
711
|
if (Y(j, X)) {
|
|
@@ -742,8 +742,8 @@ const j = class {
|
|
|
742
742
|
beforeMount() {
|
|
743
743
|
if (!pe) {
|
|
744
744
|
pe = !0;
|
|
745
|
-
const i =
|
|
746
|
-
r.classList.add("w-app"), a.theme === "auto" ? Ke(i) : i.switchTheme(a.theme, !0),
|
|
745
|
+
const i = Se("$waveui"), { config: a } = i, r = document.querySelector(a.on) || document.body;
|
|
746
|
+
r.classList.add("w-app"), a.theme === "auto" ? Ke(i) : i.switchTheme(a.theme, !0), Oe(i), Ne(r, o, i), t._context.mixins.find((d) => d.mounted && delete d.mounted);
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
749
|
}), new j(t, l), te(j, X, !0);
|
|
@@ -938,7 +938,7 @@ function Je(e, t, l, o, n, i) {
|
|
|
938
938
|
class: "w-alert__icon mr2"
|
|
939
939
|
}, {
|
|
940
940
|
default: g(() => [
|
|
941
|
-
|
|
941
|
+
B(_(i.type ? i.typeIcon : l.icon), 1)
|
|
942
942
|
]),
|
|
943
943
|
_: 1
|
|
944
944
|
})) : c("", !0),
|
|
@@ -1063,7 +1063,7 @@ const lt = {
|
|
|
1063
1063
|
function st(e, t, l, o, n, i) {
|
|
1064
1064
|
return s(), u("div", C({ class: "w-badge-wrap" }, W(e.$attrs, !0)), [
|
|
1065
1065
|
p(e.$slots, "default"),
|
|
1066
|
-
I(
|
|
1066
|
+
I(O, {
|
|
1067
1067
|
name: `${l.transition}`
|
|
1068
1068
|
}, {
|
|
1069
1069
|
default: g(() => [
|
|
@@ -1077,7 +1077,7 @@ function st(e, t, l, o, n, i) {
|
|
|
1077
1077
|
role: "status"
|
|
1078
1078
|
}, [
|
|
1079
1079
|
l.dot ? c("", !0) : p(e.$slots, "badge", { key: 0 }, () => [
|
|
1080
|
-
|
|
1080
|
+
B(_(l.modelValue === !0 ? "" : l.modelValue || ""), 1)
|
|
1081
1081
|
])
|
|
1082
1082
|
], 6)) : c("", !0)
|
|
1083
1083
|
]),
|
|
@@ -1165,7 +1165,7 @@ function rt(e, t, l, o, n, i) {
|
|
|
1165
1165
|
key: `${d}b`
|
|
1166
1166
|
}, {
|
|
1167
1167
|
default: g(() => [
|
|
1168
|
-
|
|
1168
|
+
B(_(l.icon), 1)
|
|
1169
1169
|
]),
|
|
1170
1170
|
_: 2
|
|
1171
1171
|
}, 1032, ["class"])) : c("", !0),
|
|
@@ -1258,11 +1258,11 @@ function pt(e, t, l, o, n, i) {
|
|
|
1258
1258
|
default: g(() => [
|
|
1259
1259
|
l.icon ? (s(), m(a, ie(C({ key: 0 }, l.iconProps || {})), {
|
|
1260
1260
|
default: g(() => [
|
|
1261
|
-
|
|
1261
|
+
B(_(l.icon), 1)
|
|
1262
1262
|
]),
|
|
1263
1263
|
_: 1
|
|
1264
1264
|
}, 16)) : p(e.$slots, "default", { key: 1 }),
|
|
1265
|
-
I(
|
|
1265
|
+
I(O, { name: "scale-fade" }, {
|
|
1266
1266
|
default: g(() => [
|
|
1267
1267
|
l.loading ? (s(), u("div", ht, [
|
|
1268
1268
|
p(e.$slots, "loading", {}, () => [
|
|
@@ -1567,7 +1567,7 @@ const _t = {
|
|
|
1567
1567
|
this.$refs.formEl.validate(this);
|
|
1568
1568
|
}
|
|
1569
1569
|
}
|
|
1570
|
-
},
|
|
1570
|
+
}, Bt = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], St = ["for"], $t = ["for", "innerHTML"], Vt = /* @__PURE__ */ w("svg", { viewBox: "-0.5 0 12 10" }, [
|
|
1571
1571
|
/* @__PURE__ */ w("polyline", { points: "1 5 4 8 10 2" })
|
|
1572
1572
|
], -1), It = [
|
|
1573
1573
|
Vt
|
|
@@ -1597,7 +1597,7 @@ function Lt(e, t, l, o, n, i) {
|
|
|
1597
1597
|
onKeypress: t[3] || (t[3] = E((...a) => i.onInput && i.onInput(...a), ["enter"])),
|
|
1598
1598
|
"aria-checked": n.isChecked || "false",
|
|
1599
1599
|
role: "checkbox"
|
|
1600
|
-
}, null, 40,
|
|
1600
|
+
}, null, 40, Bt),
|
|
1601
1601
|
i.hasLabel && l.labelOnLeft ? (s(), u(k, { key: 0 }, [
|
|
1602
1602
|
e.$slots.default ? (s(), u("label", {
|
|
1603
1603
|
key: 0,
|
|
@@ -1605,9 +1605,9 @@ function Lt(e, t, l, o, n, i) {
|
|
|
1605
1605
|
for: `w-checkbox--${e._.uid}`
|
|
1606
1606
|
}, [
|
|
1607
1607
|
p(e.$slots, "default", {}, () => [
|
|
1608
|
-
|
|
1608
|
+
B(_(l.label), 1)
|
|
1609
1609
|
])
|
|
1610
|
-
], 10,
|
|
1610
|
+
], 10, St)) : l.label ? (s(), u("label", {
|
|
1611
1611
|
key: 1,
|
|
1612
1612
|
class: f(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
|
|
1613
1613
|
for: `w-checkbox--${e._.uid}`,
|
|
@@ -1627,7 +1627,7 @@ function Lt(e, t, l, o, n, i) {
|
|
|
1627
1627
|
for: `w-checkbox--${e._.uid}`
|
|
1628
1628
|
}, [
|
|
1629
1629
|
p(e.$slots, "default", {}, () => [
|
|
1630
|
-
|
|
1630
|
+
B(_(l.label), 1)
|
|
1631
1631
|
])
|
|
1632
1632
|
], 10, Rt)) : l.label ? (s(), u("label", {
|
|
1633
1633
|
key: 1,
|
|
@@ -1700,7 +1700,7 @@ const xt = {
|
|
|
1700
1700
|
this.isChecked = e;
|
|
1701
1701
|
}
|
|
1702
1702
|
}
|
|
1703
|
-
},
|
|
1703
|
+
}, Ot = /* @__PURE__ */ v(xt, [["render", Lt]]), Pt = ["innerHTML"];
|
|
1704
1704
|
function zt(e, t, l, o, n, i) {
|
|
1705
1705
|
const a = $("w-checkbox");
|
|
1706
1706
|
return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.checkboxItems.some((r) => r._isChecked), disabled: e.isDisabled }, {
|
|
@@ -1733,7 +1733,7 @@ function zt(e, t, l, o, n, i) {
|
|
|
1733
1733
|
}) : r.label ? (s(), u("div", {
|
|
1734
1734
|
key: 1,
|
|
1735
1735
|
innerHTML: r.label
|
|
1736
|
-
}, null, 8,
|
|
1736
|
+
}, null, 8, Pt)) : c("", !0)
|
|
1737
1737
|
]),
|
|
1738
1738
|
_: 2
|
|
1739
1739
|
}, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
|
|
@@ -1817,7 +1817,7 @@ function Wt(e, t, l, o, n, i) {
|
|
|
1817
1817
|
default: g(() => [
|
|
1818
1818
|
w("div", null, [
|
|
1819
1819
|
p(e.$slots, "question", {}, () => [
|
|
1820
|
-
|
|
1820
|
+
B(_(l.question), 1)
|
|
1821
1821
|
])
|
|
1822
1822
|
]),
|
|
1823
1823
|
w("div", {
|
|
@@ -1833,7 +1833,7 @@ function Wt(e, t, l, o, n, i) {
|
|
|
1833
1833
|
}), {
|
|
1834
1834
|
default: g(() => [
|
|
1835
1835
|
p(e.$slots, "cancel", {}, () => [
|
|
1836
|
-
|
|
1836
|
+
B(_(i.cancelButton.label), 1)
|
|
1837
1837
|
])
|
|
1838
1838
|
]),
|
|
1839
1839
|
_: 3
|
|
@@ -1845,7 +1845,7 @@ function Wt(e, t, l, o, n, i) {
|
|
|
1845
1845
|
}), {
|
|
1846
1846
|
default: g(() => [
|
|
1847
1847
|
p(e.$slots, "confirm", {}, () => [
|
|
1848
|
-
|
|
1848
|
+
B(_(i.confirmButton.label), 1)
|
|
1849
1849
|
])
|
|
1850
1850
|
]),
|
|
1851
1851
|
_: 3
|
|
@@ -1994,7 +1994,7 @@ function Ft(e, t, l, o, n, i) {
|
|
|
1994
1994
|
opacity: l.overlayOpacity
|
|
1995
1995
|
}, {
|
|
1996
1996
|
default: g(() => [
|
|
1997
|
-
I(
|
|
1997
|
+
I(O, {
|
|
1998
1998
|
name: l.transition,
|
|
1999
1999
|
appear: "",
|
|
2000
2000
|
onAfterLeave: i.onBeforeClose
|
|
@@ -2162,7 +2162,7 @@ function Qt(e, t, l, o, n, i) {
|
|
|
2162
2162
|
}, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
|
|
2163
2163
|
p(e.$slots, "pushable")
|
|
2164
2164
|
]),
|
|
2165
|
-
I(
|
|
2165
|
+
I(O, {
|
|
2166
2166
|
name: "fade",
|
|
2167
2167
|
onBeforeLeave: i.onBeforeClose,
|
|
2168
2168
|
onAfterLeave: i.onClose
|
|
@@ -2193,7 +2193,7 @@ function Qt(e, t, l, o, n, i) {
|
|
|
2193
2193
|
"bg-color": l.overlayColor,
|
|
2194
2194
|
opacity: l.overlayOpacity
|
|
2195
2195
|
}, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
|
|
2196
|
-
I(
|
|
2196
|
+
I(O, {
|
|
2197
2197
|
name: i.transitionName,
|
|
2198
2198
|
appear: "",
|
|
2199
2199
|
onBeforeLeave: i.onBeforeClose,
|
|
@@ -2506,7 +2506,7 @@ function dl(e, t, l, o, n, i) {
|
|
|
2506
2506
|
p(e.$slots, "error-message", {
|
|
2507
2507
|
message: e.Validation.message
|
|
2508
2508
|
}, () => [
|
|
2509
|
-
|
|
2509
|
+
B(_(e.Validation.message), 1)
|
|
2510
2510
|
])
|
|
2511
2511
|
], 2)) : c("", !0)
|
|
2512
2512
|
]),
|
|
@@ -2645,7 +2645,7 @@ function gl(e, t, l, o, n, i) {
|
|
|
2645
2645
|
}), {
|
|
2646
2646
|
default: g(() => [
|
|
2647
2647
|
i.hasLigature ? (s(), u(k, { key: 0 }, [
|
|
2648
|
-
|
|
2648
|
+
B(_(e.icon), 1)
|
|
2649
2649
|
], 64)) : c("", !0)
|
|
2650
2650
|
]),
|
|
2651
2651
|
_: 1
|
|
@@ -2731,7 +2731,7 @@ function wl(e, t, l, o, n, i) {
|
|
|
2731
2731
|
style: T(i.wrapperStyles)
|
|
2732
2732
|
}, {
|
|
2733
2733
|
default: g(() => [
|
|
2734
|
-
I(
|
|
2734
|
+
I(O, {
|
|
2735
2735
|
name: l.transition,
|
|
2736
2736
|
appear: ""
|
|
2737
2737
|
}, {
|
|
@@ -2861,7 +2861,7 @@ const vl = {
|
|
|
2861
2861
|
this.imgHeight = e;
|
|
2862
2862
|
}
|
|
2863
2863
|
}
|
|
2864
|
-
}, kl = /* @__PURE__ */ v(vl, [["render", wl]]), _l = ["name"], Cl = ["for"],
|
|
2864
|
+
}, kl = /* @__PURE__ */ v(vl, [["render", wl]]), _l = ["name"], Cl = ["for"], Bl = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Sl = ["id", "name", "multiple", "disabled", "data-progress"], $l = {
|
|
2865
2865
|
class: "w-input__no-file",
|
|
2866
2866
|
key: "no-file"
|
|
2867
2867
|
}, Vl = ["for"], Il = ["for"], Rl = ["src"], Tl = ["for"];
|
|
@@ -2892,7 +2892,7 @@ function Ll(e, t, l, o, n, i) {
|
|
|
2892
2892
|
for: `w-input--${e._.uid}`
|
|
2893
2893
|
}, [
|
|
2894
2894
|
p(e.$slots, "default", {}, () => [
|
|
2895
|
-
|
|
2895
|
+
B(_(l.label), 1)
|
|
2896
2896
|
])
|
|
2897
2897
|
], 10, Cl)) : c("", !0)
|
|
2898
2898
|
], 64)) : c("", !0),
|
|
@@ -2907,7 +2907,7 @@ function Ll(e, t, l, o, n, i) {
|
|
|
2907
2907
|
onClick: t[1] || (t[1] = (d) => e.$emit("click:inner-icon-left", d))
|
|
2908
2908
|
}, {
|
|
2909
2909
|
default: g(() => [
|
|
2910
|
-
|
|
2910
|
+
B(_(l.innerIconLeft), 1)
|
|
2911
2911
|
]),
|
|
2912
2912
|
_: 1
|
|
2913
2913
|
}, 8, ["for"])) : c("", !0),
|
|
@@ -2934,7 +2934,7 @@ function Ll(e, t, l, o, n, i) {
|
|
|
2934
2934
|
disabled: e.isDisabled || null,
|
|
2935
2935
|
required: e.required || null,
|
|
2936
2936
|
tabindex: e.tabindex || null
|
|
2937
|
-
}, i.attrs), null, 16,
|
|
2937
|
+
}, i.attrs), null, 16, Bl)), [
|
|
2938
2938
|
[$e, n.inputValue]
|
|
2939
2939
|
]) : (s(), u(k, { key: 2 }, [
|
|
2940
2940
|
w("input", C({
|
|
@@ -2949,7 +2949,7 @@ function Ll(e, t, l, o, n, i) {
|
|
|
2949
2949
|
}, i.attrs, {
|
|
2950
2950
|
disabled: e.isDisabled || null,
|
|
2951
2951
|
"data-progress": i.overallFilesProgress
|
|
2952
|
-
}), null, 16,
|
|
2952
|
+
}), null, 16, Sl),
|
|
2953
2953
|
I(ae, {
|
|
2954
2954
|
class: "w-input__input w-input__input--file",
|
|
2955
2955
|
tag: "label",
|
|
@@ -2960,19 +2960,19 @@ function Ll(e, t, l, o, n, i) {
|
|
|
2960
2960
|
!n.inputFiles.length && n.isFocused ? (s(), u("span", $l, [
|
|
2961
2961
|
p(e.$slots, "no-file", {}, () => [
|
|
2962
2962
|
e.$slots["no-file"] === void 0 ? (s(), u(k, { key: 0 }, [
|
|
2963
|
-
|
|
2963
|
+
B("No file")
|
|
2964
2964
|
], 64)) : c("", !0)
|
|
2965
2965
|
])
|
|
2966
2966
|
])) : c("", !0),
|
|
2967
2967
|
(s(!0), u(k, null, L(n.inputFiles, (d, h) => (s(), u("span", {
|
|
2968
2968
|
key: d.lastModified
|
|
2969
2969
|
}, [
|
|
2970
|
-
|
|
2970
|
+
B(_(h ? ", " : ""), 1),
|
|
2971
2971
|
(s(), u("span", {
|
|
2972
2972
|
class: "filename",
|
|
2973
2973
|
key: `${h}b`
|
|
2974
2974
|
}, _(d.base), 1)),
|
|
2975
|
-
|
|
2975
|
+
B(_(d.extension ? `.${d.extension}` : ""), 1)
|
|
2976
2976
|
]))), 128))
|
|
2977
2977
|
]),
|
|
2978
2978
|
_: 3
|
|
@@ -2985,7 +2985,7 @@ function Ll(e, t, l, o, n, i) {
|
|
|
2985
2985
|
for: `w-input--${e._.uid}`
|
|
2986
2986
|
}, [
|
|
2987
2987
|
p(e.$slots, "default", {}, () => [
|
|
2988
|
-
|
|
2988
|
+
B(_(l.label), 1)
|
|
2989
2989
|
])
|
|
2990
2990
|
], 10, Vl)) : c("", !0)
|
|
2991
2991
|
], 64)) : c("", !0),
|
|
@@ -2997,7 +2997,7 @@ function Ll(e, t, l, o, n, i) {
|
|
|
2997
2997
|
onClick: t[9] || (t[9] = (d) => e.$emit("click:inner-icon-right", d))
|
|
2998
2998
|
}, {
|
|
2999
2999
|
default: g(() => [
|
|
3000
|
-
|
|
3000
|
+
B(_(l.innerIconRight), 1)
|
|
3001
3001
|
]),
|
|
3002
3002
|
_: 1
|
|
3003
3003
|
}, 8, ["for"])) : c("", !0),
|
|
@@ -3036,7 +3036,7 @@ function Ll(e, t, l, o, n, i) {
|
|
|
3036
3036
|
for: `w-input--${e._.uid}`
|
|
3037
3037
|
}, [
|
|
3038
3038
|
p(e.$slots, "default", {}, () => [
|
|
3039
|
-
|
|
3039
|
+
B(_(l.label), 1)
|
|
3040
3040
|
])
|
|
3041
3041
|
], 10, Tl)) : c("", !0)
|
|
3042
3042
|
], 64)) : c("", !0)
|
|
@@ -3214,8 +3214,8 @@ const xl = {
|
|
|
3214
3214
|
this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1, this.inputFiles = []);
|
|
3215
3215
|
}
|
|
3216
3216
|
}
|
|
3217
|
-
},
|
|
3218
|
-
function
|
|
3217
|
+
}, Ol = /* @__PURE__ */ v(xl, [["render", Ll]]);
|
|
3218
|
+
function Pl(e, t, l, o, n, i) {
|
|
3219
3219
|
const a = $("w-icon"), r = $("w-list", !0);
|
|
3220
3220
|
return s(), u("ul", {
|
|
3221
3221
|
class: f(["w-list", i.classes])
|
|
@@ -3229,7 +3229,7 @@ function Ol(e, t, l, o, n, i) {
|
|
|
3229
3229
|
class: "w-list__item-bullet"
|
|
3230
3230
|
}, {
|
|
3231
3231
|
default: g(() => [
|
|
3232
|
-
|
|
3232
|
+
B(_(l.icon), 1)
|
|
3233
3233
|
]),
|
|
3234
3234
|
_: 1
|
|
3235
3235
|
})) : c("", !0),
|
|
@@ -3254,7 +3254,7 @@ function Ol(e, t, l, o, n, i) {
|
|
|
3254
3254
|
index: h + 1,
|
|
3255
3255
|
selected: d._selected
|
|
3256
3256
|
}, () => [
|
|
3257
|
-
|
|
3257
|
+
B(_(d._label), 1)
|
|
3258
3258
|
])
|
|
3259
3259
|
]),
|
|
3260
3260
|
_: 2
|
|
@@ -3272,23 +3272,23 @@ function Ol(e, t, l, o, n, i) {
|
|
|
3272
3272
|
}), Z({ _: 2 }, [
|
|
3273
3273
|
e.$slots.item ? {
|
|
3274
3274
|
name: "item",
|
|
3275
|
-
fn: g(({ item: y, index:
|
|
3275
|
+
fn: g(({ item: y, index: S, selected: b }) => [
|
|
3276
3276
|
p(e.$slots, "item", {
|
|
3277
3277
|
item: i.cleanLi(y),
|
|
3278
|
-
index:
|
|
3278
|
+
index: S,
|
|
3279
3279
|
selected: b
|
|
3280
3280
|
})
|
|
3281
3281
|
]),
|
|
3282
3282
|
key: "0"
|
|
3283
3283
|
} : {
|
|
3284
3284
|
name: "default",
|
|
3285
|
-
fn: g(({ item: y, index:
|
|
3285
|
+
fn: g(({ item: y, index: S, selected: b }) => [
|
|
3286
3286
|
p(e.$slots, "default", {
|
|
3287
3287
|
item: i.cleanLi(y),
|
|
3288
|
-
index:
|
|
3288
|
+
index: S,
|
|
3289
3289
|
selected: b
|
|
3290
3290
|
}, () => [
|
|
3291
|
-
|
|
3291
|
+
B(_(y[l.itemLabelKey]), 1)
|
|
3292
3292
|
])
|
|
3293
3293
|
]),
|
|
3294
3294
|
key: "1"
|
|
@@ -3462,7 +3462,7 @@ const zl = {
|
|
|
3462
3462
|
}
|
|
3463
3463
|
}
|
|
3464
3464
|
}
|
|
3465
|
-
}, Ml = /* @__PURE__ */ v(zl, [["render",
|
|
3465
|
+
}, Ml = /* @__PURE__ */ v(zl, [["render", Pl]]), we = {
|
|
3466
3466
|
props: {
|
|
3467
3467
|
appendTo: { type: [String, Boolean, Object] },
|
|
3468
3468
|
fixed: { type: Boolean },
|
|
@@ -3597,8 +3597,8 @@ const zl = {
|
|
|
3597
3597
|
mounted() {
|
|
3598
3598
|
var e;
|
|
3599
3599
|
this.activator ? this.bindActivatorEvents() : this.$nextTick(() => {
|
|
3600
|
-
this.activator && this.bindActivatorEvents(), this.modelValue && this.
|
|
3601
|
-
}), this.overlay && (this.overlayEl = (e = this.$refs.overlay) == null ? void 0 : e.$el), this.modelValue && this.activator
|
|
3600
|
+
this.activator && this.bindActivatorEvents(), this.modelValue && this.open({ target: this.activatorEl });
|
|
3601
|
+
}), this.overlay && (this.overlayEl = (e = this.$refs.overlay) == null ? void 0 : e.$el), this.modelValue && this.activator ? this.toggle({ type: this.showOnClick ? "click" : "mouseenter", target: this.activatorEl }) : this.modelValue && this.open({ target: this.activatorEl });
|
|
3602
3602
|
},
|
|
3603
3603
|
unmounted() {
|
|
3604
3604
|
this.close(), this.removeFromDOM(), this.docEventListenersHandlers.length && this.docEventListenersHandlers.forEach(({ eventName: e, handler: t }) => {
|
|
@@ -3607,7 +3607,7 @@ const zl = {
|
|
|
3607
3607
|
},
|
|
3608
3608
|
watch: {
|
|
3609
3609
|
modelValue(e) {
|
|
3610
|
-
!!e !== this.detachableVisible && this.toggle({ type: "click", target: this.activatorEl });
|
|
3610
|
+
!!e !== this.detachableVisible && this.toggle({ type: this.showOnClick ? "click" : "mouseenter", target: this.activatorEl });
|
|
3611
3611
|
},
|
|
3612
3612
|
appendTo() {
|
|
3613
3613
|
this.removeFromDOM(), this.insertInDOM();
|
|
@@ -3618,7 +3618,7 @@ function El(e, t, l, o, n, i) {
|
|
|
3618
3618
|
const a = $("w-card"), r = $("w-overlay");
|
|
3619
3619
|
return s(), u(k, null, [
|
|
3620
3620
|
p(e.$slots, "activator", { on: i.activatorEventHandlers }),
|
|
3621
|
-
I(
|
|
3621
|
+
I(O, {
|
|
3622
3622
|
name: i.transitionName,
|
|
3623
3623
|
appear: ""
|
|
3624
3624
|
}, {
|
|
@@ -3781,7 +3781,7 @@ const Wl = {
|
|
|
3781
3781
|
top: this.detachableCoords.top && `${~~this.detachableCoords.top}px` || null,
|
|
3782
3782
|
left: this.detachableCoords.left && `${~~this.detachableCoords.left}px` || null,
|
|
3783
3783
|
minWidth: this.minWidth && this.menuMinWidth || null,
|
|
3784
|
-
"--w-menu-bg-color": this.arrow && this.$waveui.colors[this.bgColor || "
|
|
3784
|
+
"--w-menu-bg-color": this.arrow && (this.$waveui.colors[this.bgColor] || "rgb(var(--w-base-bg-color-rgb))")
|
|
3785
3785
|
};
|
|
3786
3786
|
},
|
|
3787
3787
|
activatorEventHandlers() {
|
|
@@ -3812,7 +3812,7 @@ const Wl = {
|
|
|
3812
3812
|
}, Al = /* @__PURE__ */ v(Wl, [["render", El]]);
|
|
3813
3813
|
function Nl(e, t, l, o, n, i) {
|
|
3814
3814
|
const a = $("w-alert");
|
|
3815
|
-
return s(), m(
|
|
3815
|
+
return s(), m(O, {
|
|
3816
3816
|
name: i.transitionName,
|
|
3817
3817
|
appear: ""
|
|
3818
3818
|
}, {
|
|
@@ -3961,7 +3961,7 @@ const Kl = {
|
|
|
3961
3961
|
}, Hl = /* @__PURE__ */ v(Kl, [["render", Nl]]);
|
|
3962
3962
|
function Dl(e, t, l, o, n, i) {
|
|
3963
3963
|
const a = me("focus");
|
|
3964
|
-
return s(), m(
|
|
3964
|
+
return s(), m(O, {
|
|
3965
3965
|
name: "fade",
|
|
3966
3966
|
appear: "",
|
|
3967
3967
|
onAfterLeave: i.onClose
|
|
@@ -4089,7 +4089,7 @@ function Zl(e, t, l, o, n, i) {
|
|
|
4089
4089
|
class: f(["w-progress__label", l.labelColor || !1])
|
|
4090
4090
|
}, [
|
|
4091
4091
|
p(e.$slots, "default", {}, () => [
|
|
4092
|
-
|
|
4092
|
+
B(_(Math.round(i.progressValue)) + _(l.circle ? "" : "%"), 1)
|
|
4093
4093
|
])
|
|
4094
4094
|
], 2)) : c("", !0)
|
|
4095
4095
|
], 6);
|
|
@@ -4192,7 +4192,7 @@ function di(e, t, l, o, n, i) {
|
|
|
4192
4192
|
for: `w-radio--${e._.uid}`
|
|
4193
4193
|
}, [
|
|
4194
4194
|
p(e.$slots, "default", {}, () => [
|
|
4195
|
-
|
|
4195
|
+
B(_(l.label), 1)
|
|
4196
4196
|
])
|
|
4197
4197
|
], 10, ai)) : l.label ? (s(), u("label", {
|
|
4198
4198
|
key: 1,
|
|
@@ -4214,7 +4214,7 @@ function di(e, t, l, o, n, i) {
|
|
|
4214
4214
|
for: `w-radio--${e._.uid}`
|
|
4215
4215
|
}, [
|
|
4216
4216
|
p(e.$slots, "default", {}, () => [
|
|
4217
|
-
|
|
4217
|
+
B(_(l.label), 1)
|
|
4218
4218
|
])
|
|
4219
4219
|
], 10, ni)) : l.label ? (s(), u("label", {
|
|
4220
4220
|
key: 1,
|
|
@@ -4653,7 +4653,7 @@ const _i = {
|
|
|
4653
4653
|
const { top: e, left: t } = this.$refs.scrollable.getBoundingClientRect();
|
|
4654
4654
|
this.scrollable.top = e, this.scrollable.left = t, this.$el.parentNode.style.position = "relative", this.$el.parentNode.style[this.m.maxWidthOrHeight] = `${this[this.m.widthOrHeight]}px`;
|
|
4655
4655
|
}
|
|
4656
|
-
},
|
|
4656
|
+
}, Bi = /* @__PURE__ */ v(Ci, [["render", ki]]), Si = ["for"], $i = ["aria-expanded", "aria-owns", "aria-activedescendant"], Vi = {
|
|
4657
4657
|
key: 1,
|
|
4658
4658
|
class: "w-select__selection-slot"
|
|
4659
4659
|
}, Ii = ["contenteditable", "id", "disabled", "tabindex", "innerHTML"], Ri = ["value", "name"], Ti = ["for"], Li = ["for"];
|
|
@@ -4674,9 +4674,9 @@ function xi(e, t, l, o, n, i) {
|
|
|
4674
4674
|
for: `w-select--${e._.uid}`
|
|
4675
4675
|
}, [
|
|
4676
4676
|
p(e.$slots, "default", {}, () => [
|
|
4677
|
-
|
|
4677
|
+
B(_(l.label), 1)
|
|
4678
4678
|
])
|
|
4679
|
-
], 10,
|
|
4679
|
+
], 10, Si)) : c("", !0)
|
|
4680
4680
|
], 64)) : c("", !0),
|
|
4681
4681
|
I(d, C({
|
|
4682
4682
|
modelValue: e.showMenu,
|
|
@@ -4706,7 +4706,7 @@ function xi(e, t, l, o, n, i) {
|
|
|
4706
4706
|
onClick: t[0] || (t[0] = (y) => e.$emit("click:inner-icon-left", y))
|
|
4707
4707
|
}, {
|
|
4708
4708
|
default: g(() => [
|
|
4709
|
-
|
|
4709
|
+
B(_(l.innerIconLeft), 1)
|
|
4710
4710
|
]),
|
|
4711
4711
|
_: 1
|
|
4712
4712
|
})) : c("", !0),
|
|
@@ -4729,8 +4729,8 @@ function xi(e, t, l, o, n, i) {
|
|
|
4729
4729
|
tabindex: e.tabindex || null,
|
|
4730
4730
|
innerHTML: e.$slots.selection ? "" : i.selectionString || l.placeholder
|
|
4731
4731
|
}, null, 42, Ii),
|
|
4732
|
-
(s(!0), u(k, null, L(e.inputValue.length ? e.inputValue : [{}], (y,
|
|
4733
|
-
key:
|
|
4732
|
+
(s(!0), u(k, null, L(e.inputValue.length ? e.inputValue : [{}], (y, S) => (s(), u("input", {
|
|
4733
|
+
key: S,
|
|
4734
4734
|
type: "hidden",
|
|
4735
4735
|
value: y.value === void 0 ? "" : y.value.toString(),
|
|
4736
4736
|
name: e.inputName + (l.multiple ? "[]" : "")
|
|
@@ -4742,7 +4742,7 @@ function xi(e, t, l, o, n, i) {
|
|
|
4742
4742
|
for: `w-select--${e._.uid}`
|
|
4743
4743
|
}, [
|
|
4744
4744
|
p(e.$slots, "default", {}, () => [
|
|
4745
|
-
|
|
4745
|
+
B(_(l.label), 1)
|
|
4746
4746
|
])
|
|
4747
4747
|
], 10, Ti)) : c("", !0)
|
|
4748
4748
|
], 64)) : c("", !0),
|
|
@@ -4753,7 +4753,7 @@ function xi(e, t, l, o, n, i) {
|
|
|
4753
4753
|
onClick: t[4] || (t[4] = (y) => e.$emit("click:inner-icon-right", y))
|
|
4754
4754
|
}, {
|
|
4755
4755
|
default: g(() => [
|
|
4756
|
-
|
|
4756
|
+
B(_(l.innerIconRight), 1)
|
|
4757
4757
|
]),
|
|
4758
4758
|
_: 1
|
|
4759
4759
|
})) : c("", !0)
|
|
@@ -4781,21 +4781,21 @@ function xi(e, t, l, o, n, i) {
|
|
|
4781
4781
|
}, Z({ _: 2 }, [
|
|
4782
4782
|
L(l.items.length, (h) => ({
|
|
4783
4783
|
name: `item.${h}`,
|
|
4784
|
-
fn: g(({ item: y, selected:
|
|
4785
|
-
e.$slots[`item.${h}`] && e.$slots[`item.${h}`](y,
|
|
4784
|
+
fn: g(({ item: y, selected: S, index: b }) => [
|
|
4785
|
+
e.$slots[`item.${h}`] && e.$slots[`item.${h}`](y, S, b) ? p(e.$slots, `item.${h}`, {
|
|
4786
4786
|
key: 0,
|
|
4787
4787
|
item: y,
|
|
4788
|
-
selected:
|
|
4788
|
+
selected: S,
|
|
4789
4789
|
index: b
|
|
4790
4790
|
}, () => [
|
|
4791
|
-
|
|
4791
|
+
B(_(y[l.itemLabelKey]), 1)
|
|
4792
4792
|
]) : p(e.$slots, "item", {
|
|
4793
4793
|
key: 1,
|
|
4794
4794
|
item: y,
|
|
4795
|
-
selected:
|
|
4795
|
+
selected: S,
|
|
4796
4796
|
index: b
|
|
4797
4797
|
}, () => [
|
|
4798
|
-
|
|
4798
|
+
B(_(y[l.itemLabelKey]), 1)
|
|
4799
4799
|
])
|
|
4800
4800
|
])
|
|
4801
4801
|
}))
|
|
@@ -4810,7 +4810,7 @@ function xi(e, t, l, o, n, i) {
|
|
|
4810
4810
|
for: `w-select--${e._.uid}`
|
|
4811
4811
|
}, [
|
|
4812
4812
|
p(e.$slots, "default", {}, () => [
|
|
4813
|
-
|
|
4813
|
+
B(_(l.label), 1)
|
|
4814
4814
|
])
|
|
4815
4815
|
], 10, Li)) : c("", !0)
|
|
4816
4816
|
], 64)) : c("", !0)
|
|
@@ -4818,7 +4818,7 @@ function xi(e, t, l, o, n, i) {
|
|
|
4818
4818
|
_: 3
|
|
4819
4819
|
}, 16, ["valid", "onReset", "wrap", "class"]);
|
|
4820
4820
|
}
|
|
4821
|
-
const
|
|
4821
|
+
const Oi = {
|
|
4822
4822
|
name: "w-select",
|
|
4823
4823
|
mixins: [z],
|
|
4824
4824
|
props: {
|
|
@@ -4989,7 +4989,7 @@ const Pi = {
|
|
|
4989
4989
|
this.inputValue = this.checkSelection(this.modelValue);
|
|
4990
4990
|
}
|
|
4991
4991
|
}
|
|
4992
|
-
},
|
|
4992
|
+
}, Pi = /* @__PURE__ */ v(Oi, [["render", xi]]), zi = ["for"], Mi = ["for", "innerHTML"], Ei = { class: "w-slider__track-wrap" }, Wi = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], Ai = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], Ni = ["for"], Ki = { key: 0 }, Hi = {
|
|
4993
4993
|
key: 0,
|
|
4994
4994
|
class: "w-slider__step-labels"
|
|
4995
4995
|
}, Di = ["onClick"], Fi = ["for"], ji = ["for", "innerHTML"];
|
|
@@ -5063,13 +5063,13 @@ function Ui(e, t, l, o, n, i) {
|
|
|
5063
5063
|
}, [
|
|
5064
5064
|
l.thumbLabel === "droplet" ? (s(), u("div", Ki, [
|
|
5065
5065
|
p(e.$slots, "label", { value: e.rangeValueScaled }, () => [
|
|
5066
|
-
|
|
5066
|
+
B(_(~~e.rangeValueScaled), 1)
|
|
5067
5067
|
])
|
|
5068
5068
|
])) : p(e.$slots, "label", {
|
|
5069
5069
|
key: 1,
|
|
5070
5070
|
value: e.rangeValueScaled
|
|
5071
5071
|
}, () => [
|
|
5072
|
-
|
|
5072
|
+
B(_(~~e.rangeValueScaled), 1)
|
|
5073
5073
|
])
|
|
5074
5074
|
], 10, Ni)) : c("", !0)
|
|
5075
5075
|
], 4)
|
|
@@ -5354,7 +5354,7 @@ function ns(e, t, l, o, n, i) {
|
|
|
5354
5354
|
for: `w-switch--${e._.uid}`
|
|
5355
5355
|
}, [
|
|
5356
5356
|
p(e.$slots, "default", {}, () => [
|
|
5357
|
-
|
|
5357
|
+
B(_(l.label), 1)
|
|
5358
5358
|
])
|
|
5359
5359
|
], 10, is)) : c("", !0)
|
|
5360
5360
|
], 64)) : c("", !0),
|
|
@@ -5382,7 +5382,7 @@ function ns(e, t, l, o, n, i) {
|
|
|
5382
5382
|
for: `w-switch--${e._.uid}`
|
|
5383
5383
|
}, [
|
|
5384
5384
|
p(e.$slots, "default", {}, () => [
|
|
5385
|
-
|
|
5385
|
+
B(_(l.label), 1)
|
|
5386
5386
|
])
|
|
5387
5387
|
], 10, os)) : c("", !0)
|
|
5388
5388
|
], 64)) : c("", !0)
|
|
@@ -5550,7 +5550,7 @@ function vs(e, t, l, o, n, i) {
|
|
|
5550
5550
|
])), 128))
|
|
5551
5551
|
]),
|
|
5552
5552
|
_: 3
|
|
5553
|
-
}, 8, ["name"])) : (s(), m(
|
|
5553
|
+
}, 8, ["name"])) : (s(), m(O, {
|
|
5554
5554
|
key: 1,
|
|
5555
5555
|
name: i.transitionName,
|
|
5556
5556
|
mode: i.transitionMode
|
|
@@ -5769,16 +5769,16 @@ const ks = {
|
|
|
5769
5769
|
e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
|
|
5770
5770
|
}
|
|
5771
5771
|
}
|
|
5772
|
-
}, _s = /* @__PURE__ */ v(ks, [["render", vs]]), Cs = { ref: "colgroup" },
|
|
5772
|
+
}, _s = /* @__PURE__ */ v(ks, [["render", vs]]), Cs = { ref: "colgroup" }, Bs = ["width"], Ss = { key: 0 }, $s = ["onClick"], Vs = ["innerHTML"], Is = {
|
|
5773
5773
|
key: 0,
|
|
5774
5774
|
class: "w-table__progress-bar"
|
|
5775
5775
|
}, Rs = ["colspan"], Ts = {
|
|
5776
5776
|
key: 0,
|
|
5777
5777
|
class: "w-table__progress-bar"
|
|
5778
|
-
}, Ls = ["colspan"], xs = { class: "w-table__loading-text" },
|
|
5778
|
+
}, Ls = ["colspan"], xs = { class: "w-table__loading-text" }, Os = {
|
|
5779
5779
|
key: 1,
|
|
5780
5780
|
class: "no-data"
|
|
5781
|
-
},
|
|
5781
|
+
}, Ps = ["colspan"], zs = ["onClick"], Ms = ["data-label"], Es = ["data-label"], Ws = ["innerHTML"], As = {
|
|
5782
5782
|
key: 2,
|
|
5783
5783
|
class: "w-table__row w-table__row--expansion"
|
|
5784
5784
|
}, Ns = ["colspan"], Ks = { key: 0 }, Hs = {
|
|
@@ -5795,7 +5795,7 @@ const ks = {
|
|
|
5795
5795
|
class: "w-table__row w-table__pagination-wrap"
|
|
5796
5796
|
}, qs = ["colspan"], Xs = { class: "w-table__pagination w-pagination" }, Ys = { class: "pages-wrap" }, Gs = { class: "w-pagination__results" };
|
|
5797
5797
|
function Js(e, t, l, o, n, i) {
|
|
5798
|
-
const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"),
|
|
5798
|
+
const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), S = $("w-button");
|
|
5799
5799
|
return s(), u("div", {
|
|
5800
5800
|
class: f(["w-table-wrap", i.wrapClasses])
|
|
5801
5801
|
}, [
|
|
@@ -5810,9 +5810,9 @@ function Js(e, t, l, o, n, i) {
|
|
|
5810
5810
|
class: f(["w-table__col", i.colClasses[R]]),
|
|
5811
5811
|
key: R,
|
|
5812
5812
|
width: b.width || null
|
|
5813
|
-
}, null, 10,
|
|
5813
|
+
}, null, 10, Bs))), 128))
|
|
5814
5814
|
], 512),
|
|
5815
|
-
l.noHeaders ? c("", !0) : (s(), u("thead",
|
|
5815
|
+
l.noHeaders ? c("", !0) : (s(), u("thead", Ss, [
|
|
5816
5816
|
w("tr", null, [
|
|
5817
5817
|
(s(!0), u(k, null, L(l.headers, (b, R) => (s(), u("th", {
|
|
5818
5818
|
class: f(["w-table__header", i.headerClasses(b)]),
|
|
@@ -5824,7 +5824,7 @@ function Js(e, t, l, o, n, i) {
|
|
|
5824
5824
|
class: f(["w-table__header-sort", i.headerSortClasses(b)])
|
|
5825
5825
|
}, {
|
|
5826
5826
|
default: g(() => [
|
|
5827
|
-
|
|
5827
|
+
B("wi-arrow-down")
|
|
5828
5828
|
]),
|
|
5829
5829
|
_: 2
|
|
5830
5830
|
}, 1032, ["class"])) : c("", !0),
|
|
@@ -5835,7 +5835,7 @@ function Js(e, t, l, o, n, i) {
|
|
|
5835
5835
|
label: b.label,
|
|
5836
5836
|
index: R + 1
|
|
5837
5837
|
}, () => [
|
|
5838
|
-
|
|
5838
|
+
B(_(b.label || ""), 1)
|
|
5839
5839
|
]) : (s(), u("span", {
|
|
5840
5840
|
key: 1,
|
|
5841
5841
|
innerHTML: b.label || ""
|
|
@@ -5846,7 +5846,7 @@ function Js(e, t, l, o, n, i) {
|
|
|
5846
5846
|
class: f(["w-table__header-sort", i.headerSortClasses(b)])
|
|
5847
5847
|
}, {
|
|
5848
5848
|
default: g(() => [
|
|
5849
|
-
|
|
5849
|
+
B("wi-arrow-down")
|
|
5850
5850
|
]),
|
|
5851
5851
|
_: 2
|
|
5852
5852
|
}, 1032, ["class"])) : c("", !0),
|
|
@@ -5879,19 +5879,19 @@ function Js(e, t, l, o, n, i) {
|
|
|
5879
5879
|
I(r, { tile: "" }),
|
|
5880
5880
|
w("div", xs, [
|
|
5881
5881
|
p(e.$slots, "loading", {}, () => [
|
|
5882
|
-
|
|
5882
|
+
B("Loading...")
|
|
5883
5883
|
])
|
|
5884
5884
|
])
|
|
5885
5885
|
], 8, Ls)
|
|
5886
|
-
])) : i.tableItems.length ? c("", !0) : (s(), u("tr",
|
|
5886
|
+
])) : i.tableItems.length ? c("", !0) : (s(), u("tr", Os, [
|
|
5887
5887
|
w("td", {
|
|
5888
5888
|
class: "w-table__cell text-center",
|
|
5889
5889
|
colspan: l.headers.length
|
|
5890
5890
|
}, [
|
|
5891
5891
|
p(e.$slots, "no-data", {}, () => [
|
|
5892
|
-
|
|
5892
|
+
B("No data to show.")
|
|
5893
5893
|
])
|
|
5894
|
-
], 8,
|
|
5894
|
+
], 8, Ps)
|
|
5895
5895
|
])),
|
|
5896
5896
|
i.tableItems.length && l.loading !== !0 ? (s(!0), u(k, { key: 2 }, L(i.paginatedItems, (b, R) => (s(), u(k, { key: R }, [
|
|
5897
5897
|
e.$slots.item ? p(e.$slots, "item", {
|
|
@@ -5905,10 +5905,10 @@ function Js(e, t, l, o, n, i) {
|
|
|
5905
5905
|
class: f(["w-table__row", { "w-table__row--selected": i.selectedRowsByUid[b._uid] !== void 0, "w-table__row--expanded": i.expandedRowsByUid[b._uid] !== void 0 }]),
|
|
5906
5906
|
onClick: (x) => i.doSelectRow(b, R)
|
|
5907
5907
|
}, [
|
|
5908
|
-
(s(!0), u(k, null, L(l.headers, (x,
|
|
5909
|
-
e.$slots[`item-cell.${x.key}`] || e.$slots[`item-cell.${
|
|
5908
|
+
(s(!0), u(k, null, L(l.headers, (x, P) => (s(), u(k, null, [
|
|
5909
|
+
e.$slots[`item-cell.${x.key}`] || e.$slots[`item-cell.${P + 1}`] || e.$slots["item-cell"] ? (s(), u("td", {
|
|
5910
5910
|
class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
|
|
5911
|
-
key: `${
|
|
5911
|
+
key: `${P}-a`,
|
|
5912
5912
|
"data-label": x.label
|
|
5913
5913
|
}, [
|
|
5914
5914
|
e.$slots[`item-cell.${x.key}`] ? p(e.$slots, `item-cell.${x.key}`, {
|
|
@@ -5917,7 +5917,7 @@ function Js(e, t, l, o, n, i) {
|
|
|
5917
5917
|
item: b,
|
|
5918
5918
|
label: b[x.key] || "",
|
|
5919
5919
|
index: R + 1
|
|
5920
|
-
}) : e.$slots[`item-cell.${
|
|
5920
|
+
}) : e.$slots[`item-cell.${P + 1}`] ? p(e.$slots, `item-cell.${P + 1}`, {
|
|
5921
5921
|
key: 1,
|
|
5922
5922
|
header: x,
|
|
5923
5923
|
item: b,
|
|
@@ -5930,21 +5930,21 @@ function Js(e, t, l, o, n, i) {
|
|
|
5930
5930
|
label: b[x.key] || "",
|
|
5931
5931
|
index: R + 1
|
|
5932
5932
|
}) : c("", !0),
|
|
5933
|
-
|
|
5933
|
+
P < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
|
|
5934
5934
|
key: 3,
|
|
5935
|
-
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover ===
|
|
5935
|
+
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === P, "w-table__col-resizer--active": e.colResizing.columnIndex === P }])
|
|
5936
5936
|
}, null, 2)) : c("", !0)
|
|
5937
5937
|
], 10, Ms)) : (s(), u("td", {
|
|
5938
5938
|
class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
|
|
5939
|
-
key: `${
|
|
5939
|
+
key: `${P}-b`,
|
|
5940
5940
|
"data-label": x.label
|
|
5941
5941
|
}, [
|
|
5942
5942
|
w("div", {
|
|
5943
5943
|
innerHTML: b[x.key] || ""
|
|
5944
5944
|
}, null, 8, Ws),
|
|
5945
|
-
|
|
5945
|
+
P < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
|
|
5946
5946
|
key: 0,
|
|
5947
|
-
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover ===
|
|
5947
|
+
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === P, "w-table__col-resizer--active": e.colResizing.columnIndex === P }])
|
|
5948
5948
|
}, null, 2)) : c("", !0)
|
|
5949
5949
|
], 10, Es))
|
|
5950
5950
|
], 64))), 256))
|
|
@@ -6007,7 +6007,7 @@ function Js(e, t, l, o, n, i) {
|
|
|
6007
6007
|
"label-color": "inherit"
|
|
6008
6008
|
}, null, 8, ["modelValue", "items"])) : c("", !0),
|
|
6009
6009
|
w("div", Ys, [
|
|
6010
|
-
I(
|
|
6010
|
+
I(S, {
|
|
6011
6011
|
class: "w-pagination__arrow w-pagination__arrow--prev",
|
|
6012
6012
|
onClick: t[3] || (t[3] = (b) => i.goToPage("-1")),
|
|
6013
6013
|
disabled: e.paginationConfig.page <= 1,
|
|
@@ -6015,7 +6015,7 @@ function Js(e, t, l, o, n, i) {
|
|
|
6015
6015
|
text: "",
|
|
6016
6016
|
lg: ""
|
|
6017
6017
|
}, null, 8, ["disabled"]),
|
|
6018
|
-
(s(!0), u(k, null, L(e.paginationConfig.pagesCount, (b) => (s(), m(
|
|
6018
|
+
(s(!0), u(k, null, L(e.paginationConfig.pagesCount, (b) => (s(), m(S, {
|
|
6019
6019
|
class: f(["w-pagination__page", { "w-pagination__page--active": b === e.paginationConfig.page }]),
|
|
6020
6020
|
key: b,
|
|
6021
6021
|
onClick: (R) => b !== e.paginationConfig.page && i.goToPage(b),
|
|
@@ -6023,11 +6023,11 @@ function Js(e, t, l, o, n, i) {
|
|
|
6023
6023
|
lg: ""
|
|
6024
6024
|
}, {
|
|
6025
6025
|
default: g(() => [
|
|
6026
|
-
|
|
6026
|
+
B(_(b), 1)
|
|
6027
6027
|
]),
|
|
6028
6028
|
_: 2
|
|
6029
6029
|
}, 1032, ["onClick", "class"]))), 128)),
|
|
6030
|
-
I(
|
|
6030
|
+
I(S, {
|
|
6031
6031
|
class: "w-pagination__arrow w-pagination__arrow--next",
|
|
6032
6032
|
onClick: t[4] || (t[4] = (b) => i.goToPage("+1")),
|
|
6033
6033
|
disabled: e.paginationConfig.page >= e.paginationConfig.pagesCount,
|
|
@@ -6244,12 +6244,12 @@ const ge = 15, Qs = {
|
|
|
6244
6244
|
this.colResizing.dragging = !0;
|
|
6245
6245
|
const a = e.pageX - t, r = n + i, d = n + a, h = i - a;
|
|
6246
6246
|
l.style.width = n + a + "px", o.style.width = i - a + "px";
|
|
6247
|
-
const y = a < 0 && l.offsetWidth > d || l.offsetWidth <= ge,
|
|
6247
|
+
const y = a < 0 && l.offsetWidth > d || l.offsetWidth <= ge, S = a > 0 && o.offsetWidth > h;
|
|
6248
6248
|
if (y) {
|
|
6249
6249
|
const b = Math.max(l.offsetWidth, ge);
|
|
6250
6250
|
l.style.width = b + "px", o.style.width = r - b + "px";
|
|
6251
6251
|
} else
|
|
6252
|
-
|
|
6252
|
+
S && (l.style.width = r - o.offsetWidth + "px", o.style.width = o.offsetWidth + "px");
|
|
6253
6253
|
},
|
|
6254
6254
|
onResizerMouseUp() {
|
|
6255
6255
|
document.removeEventListener("mousemove", this.onResizerMouseMove), document.removeEventListener("mouseup", this.onResizerMouseUp), setTimeout(() => {
|
|
@@ -6425,7 +6425,7 @@ function ra(e, t, l, o, n, i) {
|
|
|
6425
6425
|
for: `w-textarea--${e._.uid}`
|
|
6426
6426
|
}, [
|
|
6427
6427
|
p(e.$slots, "default", {}, () => [
|
|
6428
|
-
|
|
6428
|
+
B(_(l.label), 1)
|
|
6429
6429
|
])
|
|
6430
6430
|
], 10, sa)) : c("", !0)
|
|
6431
6431
|
], 64)) : c("", !0),
|
|
@@ -6440,7 +6440,7 @@ function ra(e, t, l, o, n, i) {
|
|
|
6440
6440
|
onClick: t[0] || (t[0] = (r) => e.$emit("click:inner-icon-left", r))
|
|
6441
6441
|
}, {
|
|
6442
6442
|
default: g(() => [
|
|
6443
|
-
|
|
6443
|
+
B(_(l.innerIconLeft), 1)
|
|
6444
6444
|
]),
|
|
6445
6445
|
_: 1
|
|
6446
6446
|
}, 8, ["for"])) : c("", !0),
|
|
@@ -6472,7 +6472,7 @@ function ra(e, t, l, o, n, i) {
|
|
|
6472
6472
|
for: `w-textarea--${e._.uid}`
|
|
6473
6473
|
}, [
|
|
6474
6474
|
p(e.$slots, "default", {}, () => [
|
|
6475
|
-
|
|
6475
|
+
B(_(l.label), 1)
|
|
6476
6476
|
])
|
|
6477
6477
|
], 10, oa)) : c("", !0)
|
|
6478
6478
|
], 64)) : c("", !0),
|
|
@@ -6484,7 +6484,7 @@ function ra(e, t, l, o, n, i) {
|
|
|
6484
6484
|
onClick: t[5] || (t[5] = (r) => e.$emit("click:inner-icon-right", r))
|
|
6485
6485
|
}, {
|
|
6486
6486
|
default: g(() => [
|
|
6487
|
-
|
|
6487
|
+
B(_(l.innerIconRight), 1)
|
|
6488
6488
|
]),
|
|
6489
6489
|
_: 1
|
|
6490
6490
|
}, 8, ["for"])) : c("", !0)
|
|
@@ -6496,7 +6496,7 @@ function ra(e, t, l, o, n, i) {
|
|
|
6496
6496
|
for: `w-textarea--${e._.uid}`
|
|
6497
6497
|
}, [
|
|
6498
6498
|
p(e.$slots, "default", {}, () => [
|
|
6499
|
-
|
|
6499
|
+
B(_(l.label), 1)
|
|
6500
6500
|
])
|
|
6501
6501
|
], 10, na)) : c("", !0)
|
|
6502
6502
|
], 64)) : c("", !0)
|
|
@@ -6633,7 +6633,7 @@ function pa(e, t, l, o, n, i) {
|
|
|
6633
6633
|
class: f(["w-timeline-item__bullet", { [a[l.itemColorKey] || l.color]: a[l.itemColorKey] || l.color }])
|
|
6634
6634
|
}, {
|
|
6635
6635
|
default: g(() => [
|
|
6636
|
-
|
|
6636
|
+
B(_(a[l.itemIconKey] || l.icon), 1)
|
|
6637
6637
|
]),
|
|
6638
6638
|
_: 2
|
|
6639
6639
|
}, 1032, ["class"])),
|
|
@@ -6742,7 +6742,7 @@ const ba = {
|
|
|
6742
6742
|
function wa(e, t, l, o, n, i) {
|
|
6743
6743
|
return s(), u(k, null, [
|
|
6744
6744
|
p(e.$slots, "activator", { on: i.activatorEventHandlers }),
|
|
6745
|
-
I(
|
|
6745
|
+
I(O, {
|
|
6746
6746
|
name: i.transitionName,
|
|
6747
6747
|
appear: ""
|
|
6748
6748
|
}, {
|
|
@@ -6777,7 +6777,14 @@ const va = {
|
|
|
6777
6777
|
persistent: { type: Boolean },
|
|
6778
6778
|
delay: { type: Number },
|
|
6779
6779
|
dark: { type: Boolean },
|
|
6780
|
-
light: { type: Boolean }
|
|
6780
|
+
light: { type: Boolean },
|
|
6781
|
+
caption: { type: Boolean },
|
|
6782
|
+
xs: { type: Boolean },
|
|
6783
|
+
sm: { type: Boolean },
|
|
6784
|
+
md: { type: Boolean },
|
|
6785
|
+
lg: { type: Boolean },
|
|
6786
|
+
xl: { type: Boolean },
|
|
6787
|
+
enableTouch: { type: Boolean }
|
|
6781
6788
|
},
|
|
6782
6789
|
emits: ["input", "update:modelValue", "open", "close"],
|
|
6783
6790
|
data: () => ({
|
|
@@ -6798,6 +6805,9 @@ const va = {
|
|
|
6798
6805
|
const e = this.position.replace(/top|bottom/, (t) => ({ top: "up", bottom: "down" })[t]);
|
|
6799
6806
|
return this.transition || `w-tooltip-slide-fade-${e}`;
|
|
6800
6807
|
},
|
|
6808
|
+
size() {
|
|
6809
|
+
return this.xs && "xs" || this.sm && "sm" || this.sm && "md" || this.lg && "lg" || this.xl && "xl" || (this.caption ? "sm" : "md");
|
|
6810
|
+
},
|
|
6801
6811
|
classes() {
|
|
6802
6812
|
return {
|
|
6803
6813
|
[this.color]: this.color,
|
|
@@ -6809,6 +6819,8 @@ const va = {
|
|
|
6809
6819
|
"w-tooltip--light": this.light,
|
|
6810
6820
|
"w-tooltip--tile": this.tile,
|
|
6811
6821
|
"w-tooltip--round": this.round,
|
|
6822
|
+
caption: this.caption,
|
|
6823
|
+
[`size--${this.size}`]: !0,
|
|
6812
6824
|
"w-tooltip--shadow": this.shadow,
|
|
6813
6825
|
"w-tooltip--fixed": this.fixed,
|
|
6814
6826
|
"w-tooltip--no-border": this.noBorder || this.bgColor,
|
|
@@ -6820,27 +6832,28 @@ const va = {
|
|
|
6820
6832
|
zIndex: this.zIndex || this.zIndex === 0 || null,
|
|
6821
6833
|
top: this.detachableCoords.top && `${~~this.detachableCoords.top}px` || null,
|
|
6822
6834
|
left: this.detachableCoords.left && `${~~this.detachableCoords.left}px` || null,
|
|
6823
|
-
"--w-tooltip-bg-color": this.$waveui.colors[this.bgColor || "
|
|
6835
|
+
"--w-tooltip-bg-color": this.$waveui.colors[this.bgColor] || "rgb(var(--w-base-bg-color-rgb))"
|
|
6824
6836
|
};
|
|
6825
6837
|
},
|
|
6826
6838
|
activatorEventHandlers() {
|
|
6827
6839
|
let e = {};
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
6832
|
-
|
|
6840
|
+
const t = typeof window < "u" && "ontouchstart" in window;
|
|
6841
|
+
return !this.showOnClick && !t ? e = {
|
|
6842
|
+
focus: this.open,
|
|
6843
|
+
blur: this.close,
|
|
6844
|
+
mouseenter: (l) => {
|
|
6845
|
+
this.hoveringActivator = !0, this.open(l);
|
|
6833
6846
|
},
|
|
6834
|
-
mouseleave: (
|
|
6847
|
+
mouseleave: (l) => {
|
|
6835
6848
|
this.hoveringActivator = !1, this.close();
|
|
6836
6849
|
}
|
|
6837
|
-
}
|
|
6850
|
+
} : (this.enableTouch || this.showOnClick) && (e = { click: this.toggle }), e;
|
|
6838
6851
|
}
|
|
6839
6852
|
},
|
|
6840
6853
|
methods: {
|
|
6841
6854
|
toggle(e) {
|
|
6842
6855
|
let t = this.detachableVisible;
|
|
6843
|
-
typeof window < "u" && "ontouchstart" in window ?
|
|
6856
|
+
typeof window < "u" && "ontouchstart" in window ? !this.enableTouch && !this.showOnClick ? t = !1 : t = !t : e.type === "click" && this.showOnClick ? t = !t : ["mouseenter", "focus"].includes(e.type) && !this.showOnClick ? t = !0 : ["mouseleave", "blur"].includes(e.type) && !this.showOnClick && (t = !1), this.timeoutId = clearTimeout(this.timeoutId), t ? this.open(e) : this.close();
|
|
6844
6857
|
},
|
|
6845
6858
|
async close(e = !1) {
|
|
6846
6859
|
!this.detachableVisible || this.showOnHover && !e && (await new Promise((t) => setTimeout(t, 10)), this.showOnHover && this.hoveringActivator) || (this.$emit("update:modelValue", this.detachableVisible = !1), this.$emit("input", !1), this.$emit("close"), document.removeEventListener("mousedown", this.onOutsideMousedown), window.removeEventListener("resize", this.onResize));
|
|
@@ -6848,7 +6861,7 @@ const va = {
|
|
|
6848
6861
|
}
|
|
6849
6862
|
}, ka = /* @__PURE__ */ v(va, [["render", wa]]);
|
|
6850
6863
|
function _a(e, t, l, o, n, i) {
|
|
6851
|
-
return s(), m(
|
|
6864
|
+
return s(), m(O, C({ name: "bounce" }, e.$props), {
|
|
6852
6865
|
default: g(() => [
|
|
6853
6866
|
p(e.$slots, "default")
|
|
6854
6867
|
]),
|
|
@@ -6861,9 +6874,9 @@ const Ca = {
|
|
|
6861
6874
|
appear: { type: Boolean },
|
|
6862
6875
|
duration: { type: [Number, String] }
|
|
6863
6876
|
}
|
|
6864
|
-
},
|
|
6865
|
-
function
|
|
6866
|
-
return s(), m(
|
|
6877
|
+
}, Ba = /* @__PURE__ */ v(Ca, [["render", _a]]);
|
|
6878
|
+
function Sa(e, t, l, o, n, i) {
|
|
6879
|
+
return s(), m(O, {
|
|
6867
6880
|
name: "expand",
|
|
6868
6881
|
mode: "out-in",
|
|
6869
6882
|
css: !1,
|
|
@@ -6973,9 +6986,9 @@ const $a = {
|
|
|
6973
6986
|
this.animX && (this.el.width = e.offsetWidth, this.el.marginLeft = t.getPropertyValue("marginLeft"), this.el.marginRight = t.getPropertyValue("marginRight"), this.el.paddingLeft = t.getPropertyValue("paddingLeft"), this.el.paddingRight = t.getPropertyValue("paddingRight"), this.el.borderLeftWidth = t.getPropertyValue("borderLeftWidth"), this.el.borderRightWidth = t.getPropertyValue("borderRightWidth")), this.animY && (this.el.height = e.offsetHeight, this.el.marginTop = t.getPropertyValue("marginTop"), this.el.marginBottom = t.getPropertyValue("marginBottom"), this.el.paddingTop = t.getPropertyValue("paddingTop"), this.el.paddingBottom = t.getPropertyValue("paddingBottom"), this.el.borderTopWidth = t.getPropertyValue("borderTopWidth"), this.el.borderBottomWidth = t.getPropertyValue("borderBottomWidth")), this.el.savedState = !0;
|
|
6974
6987
|
}
|
|
6975
6988
|
}
|
|
6976
|
-
}, Va = /* @__PURE__ */ v($a, [["render",
|
|
6989
|
+
}, Va = /* @__PURE__ */ v($a, [["render", Sa]]);
|
|
6977
6990
|
function Ia(e, t, l, o, n, i) {
|
|
6978
|
-
return s(), m(
|
|
6991
|
+
return s(), m(O, C({ name: "fade" }, e.$props), {
|
|
6979
6992
|
default: g(() => [
|
|
6980
6993
|
p(e.$slots, "default")
|
|
6981
6994
|
]),
|
|
@@ -6990,7 +7003,7 @@ const Ra = {
|
|
|
6990
7003
|
}
|
|
6991
7004
|
}, Ta = /* @__PURE__ */ v(Ra, [["render", Ia]]);
|
|
6992
7005
|
function La(e, t, l, o, n, i) {
|
|
6993
|
-
return s(), m(
|
|
7006
|
+
return s(), m(O, C({ name: "scale" }, e.$props), {
|
|
6994
7007
|
default: g(() => [
|
|
6995
7008
|
p(e.$slots, "default")
|
|
6996
7009
|
]),
|
|
@@ -7003,9 +7016,9 @@ const xa = {
|
|
|
7003
7016
|
appear: { type: Boolean },
|
|
7004
7017
|
duration: { type: [Number, String] }
|
|
7005
7018
|
}
|
|
7006
|
-
},
|
|
7007
|
-
function
|
|
7008
|
-
return s(), m(
|
|
7019
|
+
}, Oa = /* @__PURE__ */ v(xa, [["render", La]]);
|
|
7020
|
+
function Pa(e, t, l, o, n, i) {
|
|
7021
|
+
return s(), m(O, C({ name: "scale-fade" }, e.$props), {
|
|
7009
7022
|
default: g(() => [
|
|
7010
7023
|
p(e.$slots, "default")
|
|
7011
7024
|
]),
|
|
@@ -7018,9 +7031,9 @@ const za = {
|
|
|
7018
7031
|
appear: { type: Boolean },
|
|
7019
7032
|
duration: { type: [Number, String] }
|
|
7020
7033
|
}
|
|
7021
|
-
}, Ma = /* @__PURE__ */ v(za, [["render",
|
|
7034
|
+
}, Ma = /* @__PURE__ */ v(za, [["render", Pa]]);
|
|
7022
7035
|
function Ea(e, t, l, o, n, i) {
|
|
7023
|
-
return s(), m(
|
|
7036
|
+
return s(), m(O, C({ name: i.transitionName }, e.$props), {
|
|
7024
7037
|
default: g(() => [
|
|
7025
7038
|
p(e.$slots, "default")
|
|
7026
7039
|
]),
|
|
@@ -7047,7 +7060,7 @@ const Wa = {
|
|
|
7047
7060
|
}
|
|
7048
7061
|
}, Aa = /* @__PURE__ */ v(Wa, [["render", Ea]]);
|
|
7049
7062
|
function Na(e, t, l, o, n, i) {
|
|
7050
|
-
return s(), m(
|
|
7063
|
+
return s(), m(O, C({ name: i.transitionName }, e.$props), {
|
|
7051
7064
|
default: g(() => [
|
|
7052
7065
|
p(e.$slots, "default")
|
|
7053
7066
|
]),
|
|
@@ -7074,7 +7087,7 @@ const Ka = {
|
|
|
7074
7087
|
}
|
|
7075
7088
|
}, Ha = /* @__PURE__ */ v(Ka, [["render", Na]]);
|
|
7076
7089
|
function Da(e, t, l, o, n, i) {
|
|
7077
|
-
return s(), m(
|
|
7090
|
+
return s(), m(O, C({ name: "twist" }, e.$props), {
|
|
7078
7091
|
default: g(() => [
|
|
7079
7092
|
p(e.$slots, "default")
|
|
7080
7093
|
]),
|
|
@@ -7101,15 +7114,15 @@ function Xa(e, t, l, o, n, i) {
|
|
|
7101
7114
|
key: y
|
|
7102
7115
|
}, [
|
|
7103
7116
|
(s(), m(V(i.getTreeItemComponent(h)), C({ class: "w-tree__item-label" }, h.route && { [!e.$router || i.hasExternalLink(h) ? "href" : "to"]: h.route }, {
|
|
7104
|
-
onClick: (
|
|
7105
|
-
onKeydown: (
|
|
7117
|
+
onClick: (S) => !l.disabled && !h.disabled && i.onLabelClick(h, S),
|
|
7118
|
+
onKeydown: (S) => !l.disabled && !h.disabled && i.onLabelKeydown(h, S),
|
|
7106
7119
|
tabindex: i.getTreeItemTabindex(h)
|
|
7107
7120
|
}), {
|
|
7108
7121
|
default: g(() => [
|
|
7109
7122
|
(h.children || h.branch) && (l.expandOpenIcon && h.open || l.expandIcon) && !(l.unexpandableEmpty && !h.children) ? (s(), m(a, {
|
|
7110
7123
|
key: 0,
|
|
7111
7124
|
class: "w-tree__item-expand",
|
|
7112
|
-
onClick: M((
|
|
7125
|
+
onClick: M((S) => !l.disabled && !h.disabled && i.onLabelClick(h, S), ["stop"]),
|
|
7113
7126
|
color: "inherit",
|
|
7114
7127
|
icon: h.open && l.expandOpenIcon || l.expandIcon,
|
|
7115
7128
|
"icon-props": { rotate90a: !h.open },
|
|
@@ -7124,7 +7137,7 @@ function Xa(e, t, l, o, n, i) {
|
|
|
7124
7137
|
path: h.path,
|
|
7125
7138
|
open: h.open
|
|
7126
7139
|
}, () => {
|
|
7127
|
-
var
|
|
7140
|
+
var S;
|
|
7128
7141
|
return [
|
|
7129
7142
|
i.itemIcon(h) ? (s(), m(r, {
|
|
7130
7143
|
key: 0,
|
|
@@ -7132,14 +7145,14 @@ function Xa(e, t, l, o, n, i) {
|
|
|
7132
7145
|
color: h.originalItem[l.itemIconColorKey] || l.iconColor
|
|
7133
7146
|
}, {
|
|
7134
7147
|
default: g(() => [
|
|
7135
|
-
|
|
7148
|
+
B(_(i.itemIcon(h)), 1)
|
|
7136
7149
|
]),
|
|
7137
7150
|
_: 2
|
|
7138
7151
|
}, 1032, ["color"])) : c("", !0),
|
|
7139
7152
|
w("span", {
|
|
7140
7153
|
innerHTML: h.label
|
|
7141
7154
|
}, null, 8, Ua),
|
|
7142
|
-
l.counts && (h.children || h.branch) ? (s(), u("span", qa, "(" + _(((
|
|
7155
|
+
l.counts && (h.children || h.branch) ? (s(), u("span", qa, "(" + _(((S = h.originalItem.children) == null ? void 0 : S.length) || 0) + ")", 1)) : c("", !0)
|
|
7143
7156
|
];
|
|
7144
7157
|
})
|
|
7145
7158
|
]),
|
|
@@ -7147,25 +7160,25 @@ function Xa(e, t, l, o, n, i) {
|
|
|
7147
7160
|
}, 1040, ["onClick", "onKeydown", "tabindex"])),
|
|
7148
7161
|
(s(), m(V(l.noTransition ? "div" : "w-transition-expand"), {
|
|
7149
7162
|
y: !l.noTransition || null,
|
|
7150
|
-
onAfterEnter: (
|
|
7151
|
-
onAfterLeave: (
|
|
7163
|
+
onAfterEnter: (S) => e.$emit("open", i.emitPayload(h)),
|
|
7164
|
+
onAfterLeave: (S) => e.$emit("close", i.emitPayload(h))
|
|
7152
7165
|
}, {
|
|
7153
7166
|
default: g(() => [
|
|
7154
7167
|
h.children && h.open ? (s(), m(d, C({ key: 0 }, e.$props, {
|
|
7155
7168
|
depth: l.depth + 1,
|
|
7156
7169
|
data: h.originalItem.children,
|
|
7157
7170
|
parent: h,
|
|
7158
|
-
onBeforeOpen: t[0] || (t[0] = (
|
|
7159
|
-
onOpen: t[1] || (t[1] = (
|
|
7160
|
-
onBeforeClose: t[2] || (t[2] = (
|
|
7161
|
-
onClose: t[3] || (t[3] = (
|
|
7162
|
-
onClick: t[4] || (t[4] = (
|
|
7163
|
-
onSelect: t[5] || (t[5] = (
|
|
7164
|
-
"onUpdate:modelValue": t[6] || (t[6] = (
|
|
7171
|
+
onBeforeOpen: t[0] || (t[0] = (S) => e.$emit("before-open", S)),
|
|
7172
|
+
onOpen: t[1] || (t[1] = (S) => e.$emit("open", S)),
|
|
7173
|
+
onBeforeClose: t[2] || (t[2] = (S) => e.$emit("before-close", S)),
|
|
7174
|
+
onClose: t[3] || (t[3] = (S) => e.$emit("close", S)),
|
|
7175
|
+
onClick: t[4] || (t[4] = (S) => e.$emit("click", S)),
|
|
7176
|
+
onSelect: t[5] || (t[5] = (S) => e.$emit("select", S)),
|
|
7177
|
+
"onUpdate:modelValue": t[6] || (t[6] = (S) => e.$emit("update:model-value", S))
|
|
7165
7178
|
}), {
|
|
7166
|
-
item: g(({ item:
|
|
7179
|
+
item: g(({ item: S, depth: b, path: R, open: x }) => [
|
|
7167
7180
|
p(e.$slots, "item", {
|
|
7168
|
-
item:
|
|
7181
|
+
item: S,
|
|
7169
7182
|
depth: b,
|
|
7170
7183
|
path: R,
|
|
7171
7184
|
open: x
|
|
@@ -7342,7 +7355,7 @@ const Ya = {
|
|
|
7342
7355
|
WBreadcrumbs: ut,
|
|
7343
7356
|
WButton: wt,
|
|
7344
7357
|
WCard: Ct,
|
|
7345
|
-
WCheckbox:
|
|
7358
|
+
WCheckbox: Ot,
|
|
7346
7359
|
WCheckboxes: Et,
|
|
7347
7360
|
WConfirm: Nt,
|
|
7348
7361
|
WDatePicker: Dt,
|
|
@@ -7355,7 +7368,7 @@ const Ya = {
|
|
|
7355
7368
|
WGrid: fl,
|
|
7356
7369
|
WIcon: bl,
|
|
7357
7370
|
WImage: kl,
|
|
7358
|
-
WInput:
|
|
7371
|
+
WInput: Ol,
|
|
7359
7372
|
WList: Ml,
|
|
7360
7373
|
WMenu: Al,
|
|
7361
7374
|
WNotification: Hl,
|
|
@@ -7365,8 +7378,8 @@ const Ya = {
|
|
|
7365
7378
|
WRadio: hi,
|
|
7366
7379
|
WRadios: gi,
|
|
7367
7380
|
WRating: vi,
|
|
7368
|
-
WScrollable:
|
|
7369
|
-
WSelect:
|
|
7381
|
+
WScrollable: Bi,
|
|
7382
|
+
WSelect: Pi,
|
|
7370
7383
|
WSlider: Xi,
|
|
7371
7384
|
WSpinner: Qi,
|
|
7372
7385
|
WSteps: ts,
|
|
@@ -7378,10 +7391,10 @@ const Ya = {
|
|
|
7378
7391
|
WTimeline: ga,
|
|
7379
7392
|
WToolbar: ya,
|
|
7380
7393
|
WTooltip: ka,
|
|
7381
|
-
WTransitionBounce:
|
|
7394
|
+
WTransitionBounce: Ba,
|
|
7382
7395
|
WTransitionExpand: Va,
|
|
7383
7396
|
WTransitionFade: Ta,
|
|
7384
|
-
WTransitionScale:
|
|
7397
|
+
WTransitionScale: Oa,
|
|
7385
7398
|
WTransitionScaleFade: Ma,
|
|
7386
7399
|
WTransitionSlide: Aa,
|
|
7387
7400
|
WTransitionSlideFade: Ha,
|