wave-ui 3.14.3 → 3.16.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 +492 -468
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +23 -24
- package/src/wave-ui/components/w-alert.vue +18 -18
- package/src/wave-ui/components/w-image.vue +85 -51
- package/src/wave-ui/scss/_layout.scss +5 -5
- package/src/wave-ui/scss/_typography.scss +0 -1
package/dist/wave-ui.es.js
CHANGED
|
@@ -5,7 +5,7 @@ var de = (e) => {
|
|
|
5
5
|
var $e = (e, t, i) => t in e ? _e(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
|
|
6
6
|
var H = (e, t, i) => $e(e, typeof t != "symbol" ? t + "" : t, i), ue = (e, t, i) => t.has(e) || de("Cannot " + i);
|
|
7
7
|
var Y = (e, t, i) => (ue(e, t, "read from private field"), i ? i.call(e) : t.get(e)), te = (e, t, i) => t.has(e) ? de("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, i), ie = (e, t, i, s) => (ue(e, t, "write to private field"), s ? s.call(e, i) : t.set(e, i), i);
|
|
8
|
-
import { reactive as Z, resolveComponent as $, openBlock as o, createBlock as b, Teleport as
|
|
8
|
+
import { reactive as Z, resolveComponent as $, openBlock as o, createBlock as b, Teleport as Ie, createVNode as T, TransitionGroup as ae, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as k, renderList as x, mergeProps as _, createElementVNode as w, createCommentVNode as p, createApp as Ve, defineComponent as Te, inject as Le, withKeys as E, withModifiers as O, renderSlot as c, createTextVNode as B, toDisplayString as C, normalizeStyle as R, toHandlers as ne, Transition as P, resolveDynamicComponent as L, normalizeProps as le, resolveDirective as ke, withDirectives as W, createSlots as ee, vShow as re, vModelText as ve, vModelDynamic as Re, KeepAlive as xe } from "vue";
|
|
9
9
|
const Pe = Z({
|
|
10
10
|
on: "#app",
|
|
11
11
|
// Sets the Wave UI root node. If not found, will default to `body`.
|
|
@@ -74,7 +74,7 @@ const Pe = Z({
|
|
|
74
74
|
typeof s == "object" && typeof t[i] == "object" ? Ce(e[i], t[i]) : t[i] = s;
|
|
75
75
|
}
|
|
76
76
|
return t;
|
|
77
|
-
}, j = (e) => console.warn(`Wave UI: ${e}`), F = (e) => console.error(`Wave UI: ${e}`),
|
|
77
|
+
}, j = (e) => console.warn(`Wave UI: ${e}`), F = (e) => console.error(`Wave UI: ${e}`), ze = (e) => {
|
|
78
78
|
["light", "dark"].forEach((t) => {
|
|
79
79
|
var s, n, l;
|
|
80
80
|
const i = e.colors[t];
|
|
@@ -108,17 +108,17 @@ function J(e) {
|
|
|
108
108
|
const t = e.toString(16);
|
|
109
109
|
return t.length === 1 && `0${t}` || t.length === 2 && t || F(`expected value from 0~255, got: ${e}`) || "";
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Oe(e) {
|
|
112
112
|
return /^#[0-9a-f]{6}([0-9a-f]{2})?$/i.test(e);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Me(e) {
|
|
115
115
|
return /^#[0-9a-f]{3}([0-9a-f])?$/i.test(e);
|
|
116
116
|
}
|
|
117
117
|
function Ee(e) {
|
|
118
118
|
return `#${e.substring(1).split("").map((t) => `${t}${t}`).join("")}`;
|
|
119
119
|
}
|
|
120
120
|
function Ae(e) {
|
|
121
|
-
return
|
|
121
|
+
return Oe(e) && e || Me(e) && Ee(e) || F(`expected color hex string, got '${e}'`) || "";
|
|
122
122
|
}
|
|
123
123
|
function ce(e) {
|
|
124
124
|
const t = Ae(e), i = parseInt(t.substring(1, 3), 16), s = parseInt(t.substring(3, 5), 16), n = parseInt(t.substring(5, 7), 16), l = t.length === 9 ? parseInt(t.substring(7, 9), 16) / 255 : 1;
|
|
@@ -134,8 +134,8 @@ function pe(e, t, i, s) {
|
|
|
134
134
|
return `#${J(e)}${J(t)}${J(i)}${s ? J(Math.floor(s * 255)) : ""}`;
|
|
135
135
|
}
|
|
136
136
|
function Se(e, t, i = 50) {
|
|
137
|
-
const s = ce(e), n = ce(t), l = G(i, 0, 100) / 100, a = 2 * l - 1, r = s.alpha - n.alpha, d = ((a * r === -1 ? a : (a + r) / (1 + a * r)) + 1) / 2, h = 1 - d, y = G(Math.round(s.red * d + n.red * h), 0, 255), S = G(Math.round(s.green * d + n.green * h), 0, 255), g = G(Math.round(s.blue * d + n.blue * h), 0, 255),
|
|
138
|
-
return s.hasAlpha || n.hasAlpha ||
|
|
137
|
+
const s = ce(e), n = ce(t), l = G(i, 0, 100) / 100, a = 2 * l - 1, r = s.alpha - n.alpha, d = ((a * r === -1 ? a : (a + r) / (1 + a * r)) + 1) / 2, h = 1 - d, y = G(Math.round(s.red * d + n.red * h), 0, 255), S = G(Math.round(s.green * d + n.green * h), 0, 255), g = G(Math.round(s.blue * d + n.blue * h), 0, 255), V = s.alpha * l + n.alpha * (1 - l);
|
|
138
|
+
return s.hasAlpha || n.hasAlpha || V !== 1 ? pe(y, S, g, V) : pe(y, S, g);
|
|
139
139
|
}
|
|
140
140
|
function We(e, t = 15) {
|
|
141
141
|
return Se("#ffffff", e, t);
|
|
@@ -496,20 +496,20 @@ const fe = [
|
|
|
496
496
|
};
|
|
497
497
|
let se = { keys: [], values: [] }, me = null;
|
|
498
498
|
const Ne = (e, t) => {
|
|
499
|
-
var
|
|
499
|
+
var V;
|
|
500
500
|
let i = "";
|
|
501
501
|
const s = {}, { info: n, warning: l, success: a, error: r, shades: d, ...h } = e, { cssScope: y } = U;
|
|
502
|
-
for (const
|
|
503
|
-
i += `${y} .${
|
|
504
|
-
for (const
|
|
505
|
-
i += `${y} .${
|
|
502
|
+
for (const I in h)
|
|
503
|
+
i += `${y} .${I}--bg{background-color:var(--w-${I}-color)}${y} .${I}{color:var(--w-${I}-color)}`;
|
|
504
|
+
for (const I in d)
|
|
505
|
+
i += `${y} .${I}--bg{background-color:${d[I]}}${y} .${I}{color:${d[I]}}`;
|
|
506
506
|
const S = { ...h, info: n, warning: l, success: a, error: r };
|
|
507
|
-
for (const
|
|
507
|
+
for (const I in S) s[I] = ((V = S[I]) == null ? void 0 : V.color) ?? S[I];
|
|
508
508
|
if (t)
|
|
509
|
-
for (const
|
|
509
|
+
for (const I in d) s[I] = d[I];
|
|
510
510
|
let g = "";
|
|
511
|
-
return Object.entries(s).forEach(([
|
|
512
|
-
g += `--w-${
|
|
511
|
+
return Object.entries(s).forEach(([I, z]) => {
|
|
512
|
+
g += `--w-${I}-color: ${z};`;
|
|
513
513
|
}), `:root{${g}}${i}`;
|
|
514
514
|
}, De = (e, t) => {
|
|
515
515
|
let i = "";
|
|
@@ -614,7 +614,7 @@ const Ne = (e, t) => {
|
|
|
614
614
|
}, qe = ["innerHTML"];
|
|
615
615
|
function Xe(e, t, i, s, n, l) {
|
|
616
616
|
const a = $("w-alert");
|
|
617
|
-
return o(), b(
|
|
617
|
+
return o(), b(Ie, { to: ".w-app" }, [
|
|
618
618
|
T(ae, {
|
|
619
619
|
class: f(["w-notification-manager", { "w-notification-manager--left": l.conf.align === "left" }]),
|
|
620
620
|
tag: "div",
|
|
@@ -715,7 +715,7 @@ let oe = K;
|
|
|
715
715
|
const Je = (e, t, i) => {
|
|
716
716
|
const s = document.createElement("div");
|
|
717
717
|
e.appendChild(s);
|
|
718
|
-
const n =
|
|
718
|
+
const n = Ve(Te({
|
|
719
719
|
...Ge,
|
|
720
720
|
inject: ["$waveui"]
|
|
721
721
|
})).provide("$waveui", i);
|
|
@@ -790,7 +790,7 @@ const N = class N {
|
|
|
790
790
|
i.colors.light || (i.colors.light = a), i.colors.dark || (i.colors.dark = a), i.colors = { light: i.colors.light, dark: i.colors.dark };
|
|
791
791
|
}
|
|
792
792
|
let { components: s, ...n } = i;
|
|
793
|
-
n = this.$waveui.config = Ce(n), n.css.colorShades &&
|
|
793
|
+
n = this.$waveui.config = Ce(n), n.css.colorShades && ze(n);
|
|
794
794
|
const l = Z(this.$waveui);
|
|
795
795
|
t.config.globalProperties.$waveui = l, t.provide("$waveui", l), n.theme !== "auto" && (this.$waveui.colors = he(n.colors[n.theme], fe));
|
|
796
796
|
}
|
|
@@ -852,9 +852,9 @@ function st(e, t, i, s, n, l) {
|
|
|
852
852
|
disabled: d._disabled || null,
|
|
853
853
|
tabindex: -1,
|
|
854
854
|
text: "",
|
|
855
|
-
onKeypress: t[0] || (t[0] =
|
|
855
|
+
onKeypress: t[0] || (t[0] = O(() => {
|
|
856
856
|
}, ["stop"])),
|
|
857
|
-
onClick:
|
|
857
|
+
onClick: O((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
|
|
858
858
|
}, null, 8, ["icon", "icon-props", "disabled", "onClick", "class"])) : p("", !0),
|
|
859
859
|
e.$slots[`item-title.${d.id || h + 1}`] ? c(e.$slots, `item-title.${d.id || h + 1}`, {
|
|
860
860
|
key: 1,
|
|
@@ -877,9 +877,9 @@ function st(e, t, i, s, n, l) {
|
|
|
877
877
|
class: f(["w-accordion__expand-icon", { "w-accordion__expand-icon--expanded": d._expanded, "w-accordion__expand-icon--rotate90": i.expandIconRotate90 }]),
|
|
878
878
|
icon: d._expanded && i.collapseIcon || i.expandIcon,
|
|
879
879
|
text: "",
|
|
880
|
-
onKeypress: t[1] || (t[1] =
|
|
880
|
+
onKeypress: t[1] || (t[1] = O(() => {
|
|
881
881
|
}, ["stop"])),
|
|
882
|
-
onClick:
|
|
882
|
+
onClick: O((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
|
|
883
883
|
}, null, 8, ["icon", "onClick", "class"])) : p("", !0)
|
|
884
884
|
], 42, tt),
|
|
885
885
|
T(r, {
|
|
@@ -1012,7 +1012,7 @@ function rt(e, t, i, s, n, l) {
|
|
|
1012
1012
|
l.type || i.icon || i.dismiss ? (o(), u(k, { key: 0 }, [
|
|
1013
1013
|
l.type || i.icon ? (o(), b(a, {
|
|
1014
1014
|
key: 0,
|
|
1015
|
-
class: "w-alert__icon
|
|
1015
|
+
class: "w-alert__icon"
|
|
1016
1016
|
}, {
|
|
1017
1017
|
default: m(() => [
|
|
1018
1018
|
B(C(l.type ? l.typeIcon : i.icon), 1)
|
|
@@ -1050,6 +1050,7 @@ const dt = {
|
|
|
1050
1050
|
iconOutside: { type: Boolean },
|
|
1051
1051
|
plain: { type: Boolean },
|
|
1052
1052
|
dismiss: { type: Boolean },
|
|
1053
|
+
bold: { type: Boolean },
|
|
1053
1054
|
// Types (with icon).
|
|
1054
1055
|
success: { type: Boolean },
|
|
1055
1056
|
info: { type: Boolean },
|
|
@@ -1062,14 +1063,12 @@ const dt = {
|
|
|
1062
1063
|
lg: { type: Boolean },
|
|
1063
1064
|
xl: { type: Boolean },
|
|
1064
1065
|
// Borders.
|
|
1065
|
-
|
|
1066
|
+
border: { type: Boolean },
|
|
1066
1067
|
borderLeft: { type: Boolean },
|
|
1067
1068
|
borderRight: { type: Boolean },
|
|
1068
1069
|
borderTop: { type: Boolean },
|
|
1069
1070
|
borderBottom: { type: Boolean },
|
|
1070
|
-
outline: { type: Boolean }
|
|
1071
|
-
dark: { type: Boolean },
|
|
1072
|
-
light: { type: Boolean }
|
|
1071
|
+
outline: { type: Boolean }
|
|
1073
1072
|
},
|
|
1074
1073
|
emits: ["input", "update:modelValue", "close"],
|
|
1075
1074
|
data() {
|
|
@@ -1091,9 +1090,10 @@ const dt = {
|
|
|
1091
1090
|
return this.borderLeft || this.borderRight || this.borderTop || this.borderBottom;
|
|
1092
1091
|
},
|
|
1093
1092
|
classes() {
|
|
1093
|
+
const e = this.bgColor || this.plain && this.type, t = this.color || !this.plain && this.type || !e && "primary";
|
|
1094
1094
|
return {
|
|
1095
|
-
[`${
|
|
1096
|
-
[
|
|
1095
|
+
[`${e}--bg w-alert--bg`]: e,
|
|
1096
|
+
[t]: t,
|
|
1097
1097
|
[`size--${this.presetSize}`]: this.presetSize,
|
|
1098
1098
|
[`w-alert--${this.type}`]: this.type,
|
|
1099
1099
|
"w-alert--has-icon": this.type || this.icon || this.dismiss,
|
|
@@ -1102,15 +1102,14 @@ const dt = {
|
|
|
1102
1102
|
"w-alert--outline": this.outline,
|
|
1103
1103
|
"w-alert--tile": this.tile,
|
|
1104
1104
|
"w-alert--round": this.round,
|
|
1105
|
-
"w-alert--no-border": this.noBorder || this.plain && this.type,
|
|
1106
1105
|
"w-alert--one-border": this.hasSingleBorder || this.iconOutside,
|
|
1107
1106
|
"w-alert--border-left": !this.noBorder && this.borderLeft || this.iconOutside,
|
|
1108
1107
|
"w-alert--border-right": !this.noBorder && this.borderRight,
|
|
1109
1108
|
"w-alert--border-top": !this.noBorder && this.borderTop,
|
|
1110
1109
|
"w-alert--border-bottom": !this.noBorder && this.borderBottom,
|
|
1110
|
+
"w-alert--border": this.border && !this.hasSingleBorder,
|
|
1111
1111
|
"w-alert--shadow": this.shadow,
|
|
1112
|
-
"w-alert--
|
|
1113
|
-
"w-alert--light": this.light
|
|
1112
|
+
"w-alert--bold": this.bold
|
|
1114
1113
|
};
|
|
1115
1114
|
}
|
|
1116
1115
|
},
|
|
@@ -1136,7 +1135,7 @@ function yt(e, t, i, s, n, l) {
|
|
|
1136
1135
|
innerHTML: d[i.itemLabelKey]
|
|
1137
1136
|
}, null, 8, ct),
|
|
1138
1137
|
T(a, {
|
|
1139
|
-
onClick:
|
|
1138
|
+
onClick: O((y) => l.unselectItem(h), ["stop"]),
|
|
1140
1139
|
icon: "wi-cross",
|
|
1141
1140
|
xs: "",
|
|
1142
1141
|
text: "",
|
|
@@ -1167,7 +1166,7 @@ function yt(e, t, i, s, n, l) {
|
|
|
1167
1166
|
}, [
|
|
1168
1167
|
(o(!0), u(k, null, x(l.filteredItems, (d, h) => (o(), u("li", {
|
|
1169
1168
|
key: h,
|
|
1170
|
-
onClick:
|
|
1169
|
+
onClick: O((y) => (l.selectItem(d), e.$emit("item-click", d)), ["stop"]),
|
|
1171
1170
|
class: f({ highlighted: e.highlightedItem === d.uid })
|
|
1172
1171
|
}, [
|
|
1173
1172
|
c(e.$slots, "item", {
|
|
@@ -1434,7 +1433,7 @@ function $t(e, t, i, s, n, l) {
|
|
|
1434
1433
|
}, 8, ["name"])
|
|
1435
1434
|
]);
|
|
1436
1435
|
}
|
|
1437
|
-
const
|
|
1436
|
+
const It = {
|
|
1438
1437
|
name: "w-badge",
|
|
1439
1438
|
props: {
|
|
1440
1439
|
modelValue: { default: !0 },
|
|
@@ -1497,7 +1496,7 @@ const Vt = {
|
|
|
1497
1496
|
return this.forcedSize && `font-size: ${this.forcedSize}`;
|
|
1498
1497
|
}
|
|
1499
1498
|
}
|
|
1500
|
-
},
|
|
1499
|
+
}, Vt = /* @__PURE__ */ v(It, [["render", $t]]), Tt = ["innerHTML"];
|
|
1501
1500
|
function Lt(e, t, i, s, n, l) {
|
|
1502
1501
|
const a = $("w-icon");
|
|
1503
1502
|
return o(), u("div", {
|
|
@@ -1586,18 +1585,8 @@ const Rt = {
|
|
|
1586
1585
|
}, xt = /* @__PURE__ */ v(Rt, [["render", Lt]]), Pt = {
|
|
1587
1586
|
key: 0,
|
|
1588
1587
|
class: "w-button__loader"
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
|
-
cx: "20",
|
|
1592
|
-
cy: "20",
|
|
1593
|
-
r: "18",
|
|
1594
|
-
fill: "transparent",
|
|
1595
|
-
stroke: "currentColor",
|
|
1596
|
-
"stroke-width": "4",
|
|
1597
|
-
"stroke-linecap": "round"
|
|
1598
|
-
})
|
|
1599
|
-
], -1);
|
|
1600
|
-
function Mt(e, t, i, s, n, l) {
|
|
1588
|
+
};
|
|
1589
|
+
function zt(e, t, i, s, n, l) {
|
|
1601
1590
|
const a = $("w-icon");
|
|
1602
1591
|
return o(), b(L(!i.disabled && i.route ? "a" : "button"), _({
|
|
1603
1592
|
class: ["w-button", l.classes],
|
|
@@ -1616,7 +1605,17 @@ function Mt(e, t, i, s, n, l) {
|
|
|
1616
1605
|
default: m(() => [
|
|
1617
1606
|
i.loading ? (o(), u("div", Pt, [
|
|
1618
1607
|
c(e.$slots, "loading", {}, () => [
|
|
1619
|
-
|
|
1608
|
+
t[0] || (t[0] = w("svg", { viewBox: "0 0 40 40" }, [
|
|
1609
|
+
w("circle", {
|
|
1610
|
+
cx: "20",
|
|
1611
|
+
cy: "20",
|
|
1612
|
+
r: "18",
|
|
1613
|
+
fill: "transparent",
|
|
1614
|
+
stroke: "currentColor",
|
|
1615
|
+
"stroke-width": "4",
|
|
1616
|
+
"stroke-linecap": "round"
|
|
1617
|
+
})
|
|
1618
|
+
], -1))
|
|
1620
1619
|
])
|
|
1621
1620
|
])) : p("", !0)
|
|
1622
1621
|
]),
|
|
@@ -1626,7 +1625,7 @@ function Mt(e, t, i, s, n, l) {
|
|
|
1626
1625
|
_: 3
|
|
1627
1626
|
}, 16, ["type", "href", "class", "disabled", "style"]);
|
|
1628
1627
|
}
|
|
1629
|
-
const
|
|
1628
|
+
const Ot = {
|
|
1630
1629
|
// Fully handle the attrs and listeners manually for the case of a router link that has both a
|
|
1631
1630
|
// route and onClick.
|
|
1632
1631
|
inheritAttrs: !1,
|
|
@@ -1727,8 +1726,8 @@ const zt = {
|
|
|
1727
1726
|
};
|
|
1728
1727
|
}
|
|
1729
1728
|
}
|
|
1730
|
-
},
|
|
1731
|
-
function
|
|
1729
|
+
}, Mt = /* @__PURE__ */ v(Ot, [["render", zt]]), Et = ["innerHTML"];
|
|
1730
|
+
function At(e, t, i, s, n, l) {
|
|
1732
1731
|
const a = $("button-partial");
|
|
1733
1732
|
return i.tooltip ? (o(), b(L("w-tooltip"), le(_({ key: 0 }, i.tooltipProps)), {
|
|
1734
1733
|
activator: m(({ on: r }) => [
|
|
@@ -1740,7 +1739,7 @@ function Wt(e, t, i, s, n, l) {
|
|
|
1740
1739
|
}, 1040)
|
|
1741
1740
|
]),
|
|
1742
1741
|
default: m(() => [
|
|
1743
|
-
w("div", { innerHTML: i.tooltip }, null, 8,
|
|
1742
|
+
w("div", { innerHTML: i.tooltip }, null, 8, Et)
|
|
1744
1743
|
]),
|
|
1745
1744
|
_: 3
|
|
1746
1745
|
}, 16)) : (o(), b(a, le(_({ key: 1 }, l.buttonProps)), {
|
|
@@ -1753,7 +1752,7 @@ function Wt(e, t, i, s, n, l) {
|
|
|
1753
1752
|
_: 3
|
|
1754
1753
|
}, 16));
|
|
1755
1754
|
}
|
|
1756
|
-
const
|
|
1755
|
+
const Wt = {
|
|
1757
1756
|
name: "w-button",
|
|
1758
1757
|
inheritAttrs: !1,
|
|
1759
1758
|
// The attrs are only bound to the button-partial, not the root.
|
|
@@ -1796,7 +1795,7 @@ const Kt = {
|
|
|
1796
1795
|
lg: { type: Boolean },
|
|
1797
1796
|
xl: { type: Boolean }
|
|
1798
1797
|
},
|
|
1799
|
-
components: { ButtonPartial:
|
|
1798
|
+
components: { ButtonPartial: Mt },
|
|
1800
1799
|
emits: [],
|
|
1801
1800
|
computed: {
|
|
1802
1801
|
buttonProps() {
|
|
@@ -1804,8 +1803,8 @@ const Kt = {
|
|
|
1804
1803
|
return { ...i, ...this.$attrs };
|
|
1805
1804
|
}
|
|
1806
1805
|
}
|
|
1807
|
-
},
|
|
1808
|
-
function
|
|
1806
|
+
}, Kt = /* @__PURE__ */ v(Wt, [["render", At]]), A = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), Nt = ["innerHTML"];
|
|
1807
|
+
function Dt(e, t, i, s, n, l) {
|
|
1809
1808
|
const a = $("w-image");
|
|
1810
1809
|
return o(), u("div", {
|
|
1811
1810
|
class: f(["w-card", l.classes])
|
|
@@ -1819,7 +1818,7 @@ function Ht(e, t, i, s, n, l) {
|
|
|
1819
1818
|
key: 1,
|
|
1820
1819
|
class: f(["w-card__title", { "w-card__title--has-toolbar": e.$slots.title && l.titleHasToolbar, ...l.titleClasses }]),
|
|
1821
1820
|
innerHTML: i.title
|
|
1822
|
-
}, null, 10,
|
|
1821
|
+
}, null, 10, Nt)) : p("", !0),
|
|
1823
1822
|
i.image ? (o(), b(a, _({
|
|
1824
1823
|
key: 2,
|
|
1825
1824
|
class: "w-card__image",
|
|
@@ -1843,7 +1842,7 @@ function Ht(e, t, i, s, n, l) {
|
|
|
1843
1842
|
], 2)) : p("", !0)
|
|
1844
1843
|
], 2);
|
|
1845
1844
|
}
|
|
1846
|
-
const
|
|
1845
|
+
const Ht = {
|
|
1847
1846
|
name: "w-card",
|
|
1848
1847
|
props: {
|
|
1849
1848
|
color: { type: String },
|
|
@@ -1894,7 +1893,7 @@ const Ft = {
|
|
|
1894
1893
|
};
|
|
1895
1894
|
}
|
|
1896
1895
|
}
|
|
1897
|
-
},
|
|
1896
|
+
}, Ft = /* @__PURE__ */ v(Ht, [["render", Dt]]), M = {
|
|
1898
1897
|
inject: {
|
|
1899
1898
|
// Used in each form component to determine whether to use the w-form-element wrap or not.
|
|
1900
1899
|
// So, if a form component is in a form, use the w-form-element wrap.
|
|
@@ -1941,12 +1940,8 @@ const Ft = {
|
|
|
1941
1940
|
this.$refs.formEl.validate(this);
|
|
1942
1941
|
}
|
|
1943
1942
|
}
|
|
1944
|
-
},
|
|
1945
|
-
|
|
1946
|
-
], -1), Gt = [
|
|
1947
|
-
Yt
|
|
1948
|
-
], Jt = ["for"], Qt = ["for", "innerHTML"];
|
|
1949
|
-
function Zt(e, t, i, s, n, l) {
|
|
1943
|
+
}, jt = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], Ut = ["for"], qt = ["for", "innerHTML"], Xt = ["for"], Yt = ["for", "innerHTML"];
|
|
1944
|
+
function Gt(e, t, i, s, n, l) {
|
|
1950
1945
|
return o(), b(L(e.formRegister && !l.wCheckboxes ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isChecked, disabled: e.isDisabled, readonly: e.isReadonly }, {
|
|
1951
1946
|
valid: e.valid,
|
|
1952
1947
|
"onUpdate:valid": t[5] || (t[5] = (a) => e.valid = a),
|
|
@@ -1971,7 +1966,7 @@ function Zt(e, t, i, s, n, l) {
|
|
|
1971
1966
|
onKeypress: t[3] || (t[3] = E((...a) => l.onInput && l.onInput(...a), ["enter"])),
|
|
1972
1967
|
"aria-checked": n.isChecked || "false",
|
|
1973
1968
|
role: "checkbox"
|
|
1974
|
-
}, null, 40,
|
|
1969
|
+
}, null, 40, jt),
|
|
1975
1970
|
l.hasLabel && i.labelOnLeft ? (o(), u(k, { key: 0 }, [
|
|
1976
1971
|
e.$slots.default ? (o(), u("label", {
|
|
1977
1972
|
key: 0,
|
|
@@ -1981,19 +1976,23 @@ function Zt(e, t, i, s, n, l) {
|
|
|
1981
1976
|
c(e.$slots, "default", {}, () => [
|
|
1982
1977
|
B(C(i.label), 1)
|
|
1983
1978
|
])
|
|
1984
|
-
], 10,
|
|
1979
|
+
], 10, Ut)) : i.label ? (o(), u("label", {
|
|
1985
1980
|
key: 1,
|
|
1986
1981
|
class: f(["w-checkbox__label w-form-el-shakable pr2", e.labelClasses]),
|
|
1987
1982
|
for: `w-checkbox--${e._.uid}`,
|
|
1988
1983
|
innerHTML: i.label
|
|
1989
|
-
}, null, 10,
|
|
1984
|
+
}, null, 10, qt)) : p("", !0)
|
|
1990
1985
|
], 64)) : p("", !0),
|
|
1991
1986
|
w("div", {
|
|
1992
1987
|
class: f(["w-checkbox__input", this.color]),
|
|
1993
1988
|
onClick: t[4] || (t[4] = (a) => {
|
|
1994
1989
|
e.$refs.input.focus(), e.$refs.input.click();
|
|
1995
1990
|
})
|
|
1996
|
-
},
|
|
1991
|
+
}, t[7] || (t[7] = [
|
|
1992
|
+
w("svg", { viewBox: "-0.5 0 12 10" }, [
|
|
1993
|
+
w("polyline", { points: "1 5 4 8 10 2" })
|
|
1994
|
+
], -1)
|
|
1995
|
+
]), 2),
|
|
1997
1996
|
l.hasLabel && !i.labelOnLeft ? (o(), u(k, { key: 1 }, [
|
|
1998
1997
|
e.$slots.default ? (o(), u("label", {
|
|
1999
1998
|
key: 0,
|
|
@@ -2003,20 +2002,20 @@ function Zt(e, t, i, s, n, l) {
|
|
|
2003
2002
|
c(e.$slots, "default", {}, () => [
|
|
2004
2003
|
B(C(i.label), 1)
|
|
2005
2004
|
])
|
|
2006
|
-
], 10,
|
|
2005
|
+
], 10, Xt)) : i.label ? (o(), u("label", {
|
|
2007
2006
|
key: 1,
|
|
2008
2007
|
class: f(["w-checkbox__label w-form-el-shakable pl2", e.labelClasses]),
|
|
2009
2008
|
for: `w-checkbox--${e._.uid}`,
|
|
2010
2009
|
innerHTML: i.label
|
|
2011
|
-
}, null, 10,
|
|
2010
|
+
}, null, 10, Yt)) : p("", !0)
|
|
2012
2011
|
], 64)) : p("", !0)
|
|
2013
2012
|
]),
|
|
2014
2013
|
_: 3
|
|
2015
2014
|
}, 16, ["valid", "class"]);
|
|
2016
2015
|
}
|
|
2017
|
-
const
|
|
2016
|
+
const Jt = {
|
|
2018
2017
|
name: "w-checkbox",
|
|
2019
|
-
mixins: [
|
|
2018
|
+
mixins: [M],
|
|
2020
2019
|
inject: {
|
|
2021
2020
|
wCheckboxes: { default: null }
|
|
2022
2021
|
},
|
|
@@ -2081,8 +2080,8 @@ const ei = {
|
|
|
2081
2080
|
this.isChecked = e;
|
|
2082
2081
|
}
|
|
2083
2082
|
}
|
|
2084
|
-
},
|
|
2085
|
-
function
|
|
2083
|
+
}, Qt = /* @__PURE__ */ v(Jt, [["render", Gt]]), Zt = ["innerHTML"];
|
|
2084
|
+
function ei(e, t, i, s, n, l) {
|
|
2086
2085
|
const a = $("w-checkbox");
|
|
2087
2086
|
return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.checkboxItems.some((r) => r._isChecked), disabled: e.isDisabled }, {
|
|
2088
2087
|
valid: e.valid,
|
|
@@ -2115,7 +2114,7 @@ function li(e, t, i, s, n, l) {
|
|
|
2115
2114
|
}) : r.label ? (o(), u("div", {
|
|
2116
2115
|
key: 1,
|
|
2117
2116
|
innerHTML: r.label
|
|
2118
|
-
}, null, 8,
|
|
2117
|
+
}, null, 8, Zt)) : p("", !0)
|
|
2119
2118
|
]),
|
|
2120
2119
|
_: 2
|
|
2121
2120
|
}, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
|
|
@@ -2123,9 +2122,9 @@ function li(e, t, i, s, n, l) {
|
|
|
2123
2122
|
_: 3
|
|
2124
2123
|
}, 16, ["valid", "onReset", "column", "wrap", "class"]);
|
|
2125
2124
|
}
|
|
2126
|
-
const
|
|
2125
|
+
const ti = {
|
|
2127
2126
|
name: "w-checkboxes",
|
|
2128
|
-
mixins: [
|
|
2127
|
+
mixins: [M],
|
|
2129
2128
|
props: {
|
|
2130
2129
|
items: { type: Array, required: !0 },
|
|
2131
2130
|
// All the possible options.
|
|
@@ -2186,8 +2185,8 @@ const si = {
|
|
|
2186
2185
|
return this.items[e._index];
|
|
2187
2186
|
}
|
|
2188
2187
|
}
|
|
2189
|
-
},
|
|
2190
|
-
function
|
|
2188
|
+
}, ii = /* @__PURE__ */ v(ti, [["render", ei]]);
|
|
2189
|
+
function li(e, t, i, s, n, l) {
|
|
2191
2190
|
const a = $("w-button"), r = $("w-flex"), d = $("w-menu"), h = ke("focus");
|
|
2192
2191
|
return o(), b(d, _({
|
|
2193
2192
|
modelValue: e.showPopup,
|
|
@@ -2252,7 +2251,7 @@ function ai(e, t, i, s, n, l) {
|
|
|
2252
2251
|
_: 3
|
|
2253
2252
|
}, 16, ["modelValue"]);
|
|
2254
2253
|
}
|
|
2255
|
-
const
|
|
2254
|
+
const si = {
|
|
2256
2255
|
name: "w-confirm",
|
|
2257
2256
|
inheritAttrs: !1,
|
|
2258
2257
|
// The attrs are only bound to the button, not the w-menu.
|
|
@@ -2365,8 +2364,8 @@ const ni = {
|
|
|
2365
2364
|
this.$emit("confirm"), this.showPopup = !1;
|
|
2366
2365
|
}
|
|
2367
2366
|
}
|
|
2368
|
-
},
|
|
2369
|
-
function
|
|
2367
|
+
}, oi = /* @__PURE__ */ v(si, [["render", li]]);
|
|
2368
|
+
function ai(e, t, i, s, n, l) {
|
|
2370
2369
|
return o(), u("div", {
|
|
2371
2370
|
class: f(["w-date-picker", l.classes]),
|
|
2372
2371
|
style: R(l.styles)
|
|
@@ -2374,7 +2373,7 @@ function di(e, t, i, s, n, l) {
|
|
|
2374
2373
|
c(e.$slots, "default")
|
|
2375
2374
|
], 6);
|
|
2376
2375
|
}
|
|
2377
|
-
const
|
|
2376
|
+
const ni = {
|
|
2378
2377
|
name: "w-date-picker",
|
|
2379
2378
|
props: {
|
|
2380
2379
|
dark: { type: Boolean },
|
|
@@ -2392,8 +2391,8 @@ const ui = {
|
|
|
2392
2391
|
return !1;
|
|
2393
2392
|
}
|
|
2394
2393
|
}
|
|
2395
|
-
},
|
|
2396
|
-
function
|
|
2394
|
+
}, ri = /* @__PURE__ */ v(ni, [["render", ai]]);
|
|
2395
|
+
function di(e, t, i, s, n, l) {
|
|
2397
2396
|
const a = $("w-card"), r = $("w-overlay");
|
|
2398
2397
|
return o(), b(r, {
|
|
2399
2398
|
class: f(["w-dialog", l.classes]),
|
|
@@ -2452,7 +2451,7 @@ function ci(e, t, i, s, n, l) {
|
|
|
2452
2451
|
_: 3
|
|
2453
2452
|
}, 8, ["model-value", "persistent", "persistent-no-animation", "onClick", "onClose", "bg-color", "opacity", "class"]);
|
|
2454
2453
|
}
|
|
2455
|
-
const
|
|
2454
|
+
const ui = {
|
|
2456
2455
|
name: "w-dialog",
|
|
2457
2456
|
props: {
|
|
2458
2457
|
modelValue: { default: !0 },
|
|
@@ -2522,17 +2521,17 @@ const pi = {
|
|
|
2522
2521
|
this.showWrapper = e, this.showContent = e;
|
|
2523
2522
|
}
|
|
2524
2523
|
}
|
|
2525
|
-
},
|
|
2526
|
-
function
|
|
2524
|
+
}, hi = /* @__PURE__ */ v(ui, [["render", di]]), ci = ["role", "aria-orientation"];
|
|
2525
|
+
function pi(e, t, i, s, n, l) {
|
|
2527
2526
|
return o(), u("div", {
|
|
2528
2527
|
class: f(["w-divider", l.classes]),
|
|
2529
2528
|
role: e.$slots.default ? null : "presentation",
|
|
2530
2529
|
"aria-orientation": i.vertical ? "vertical" : "horizontal"
|
|
2531
2530
|
}, [
|
|
2532
2531
|
c(e.$slots, "default")
|
|
2533
|
-
], 10,
|
|
2532
|
+
], 10, ci);
|
|
2534
2533
|
}
|
|
2535
|
-
const
|
|
2534
|
+
const fi = {
|
|
2536
2535
|
name: "w-divider",
|
|
2537
2536
|
props: {
|
|
2538
2537
|
vertical: { type: Boolean },
|
|
@@ -2552,8 +2551,8 @@ const bi = {
|
|
|
2552
2551
|
};
|
|
2553
2552
|
}
|
|
2554
2553
|
}
|
|
2555
|
-
},
|
|
2556
|
-
function
|
|
2554
|
+
}, mi = /* @__PURE__ */ v(fi, [["render", pi]]), gi = { class: "w-drawer-wrap__pushable" };
|
|
2555
|
+
function bi(e, t, i, s, n, l) {
|
|
2557
2556
|
const a = $("w-overlay");
|
|
2558
2557
|
return n.showWrapper || i.pushContent ? (o(), u("div", {
|
|
2559
2558
|
key: 0,
|
|
@@ -2564,7 +2563,7 @@ function ki(e, t, i, s, n, l) {
|
|
|
2564
2563
|
class: "w-drawer-wrap__track",
|
|
2565
2564
|
style: R(l.trackStyles)
|
|
2566
2565
|
}, [
|
|
2567
|
-
w("div",
|
|
2566
|
+
w("div", gi, [
|
|
2568
2567
|
i.noOverlay ? p("", !0) : (o(), b(a, {
|
|
2569
2568
|
key: 0,
|
|
2570
2569
|
modelValue: n.showDrawer,
|
|
@@ -2632,7 +2631,7 @@ function ki(e, t, i, s, n, l) {
|
|
|
2632
2631
|
], 64))
|
|
2633
2632
|
], 2)) : p("", !0);
|
|
2634
2633
|
}
|
|
2635
|
-
const
|
|
2634
|
+
const yi = { left: "right", right: "left", top: "down", bottom: "up" }, wi = {
|
|
2636
2635
|
name: "w-drawer",
|
|
2637
2636
|
props: {
|
|
2638
2637
|
modelValue: { default: !0 },
|
|
@@ -2726,7 +2725,7 @@ const vi = { left: "right", right: "left", top: "down", bottom: "up" }, Ci = {
|
|
|
2726
2725
|
return !this.showWrapper;
|
|
2727
2726
|
},
|
|
2728
2727
|
transitionName() {
|
|
2729
|
-
return `slide-${
|
|
2728
|
+
return `slide-${yi[this.position]}`;
|
|
2730
2729
|
}
|
|
2731
2730
|
},
|
|
2732
2731
|
methods: {
|
|
@@ -2745,8 +2744,8 @@ const vi = { left: "right", right: "left", top: "down", bottom: "up" }, Ci = {
|
|
|
2745
2744
|
e && (this.showWrapper = !0), this.showDrawer = e;
|
|
2746
2745
|
}
|
|
2747
2746
|
}
|
|
2748
|
-
},
|
|
2749
|
-
function
|
|
2747
|
+
}, ki = /* @__PURE__ */ v(wi, [["render", bi]]);
|
|
2748
|
+
function vi(e, t, i, s, n, l) {
|
|
2750
2749
|
return o(), b(L(i.tag), {
|
|
2751
2750
|
class: f(["w-flex", l.classes])
|
|
2752
2751
|
}, {
|
|
@@ -2756,7 +2755,7 @@ function Bi(e, t, i, s, n, l) {
|
|
|
2756
2755
|
_: 3
|
|
2757
2756
|
}, 8, ["class"]);
|
|
2758
2757
|
}
|
|
2759
|
-
const
|
|
2758
|
+
const Ci = {
|
|
2760
2759
|
name: "w-flex",
|
|
2761
2760
|
props: {
|
|
2762
2761
|
tag: { type: String, default: "div" },
|
|
@@ -2803,8 +2802,8 @@ const _i = {
|
|
|
2803
2802
|
};
|
|
2804
2803
|
}
|
|
2805
2804
|
}
|
|
2806
|
-
},
|
|
2807
|
-
function
|
|
2805
|
+
}, Si = /* @__PURE__ */ v(Ci, [["render", vi]]);
|
|
2806
|
+
function Bi(e, t, i, s, n, l) {
|
|
2808
2807
|
return o(), u("form", {
|
|
2809
2808
|
class: f(["w-form", l.classes]),
|
|
2810
2809
|
onSubmit: t[0] || (t[0] = (...a) => l.onSubmit && l.onSubmit(...a)),
|
|
@@ -2814,11 +2813,11 @@ function Vi(e, t, i, s, n, l) {
|
|
|
2814
2813
|
c(e.$slots, "default")
|
|
2815
2814
|
], 34);
|
|
2816
2815
|
}
|
|
2817
|
-
const
|
|
2816
|
+
const _i = async (e, t) => {
|
|
2818
2817
|
for (const i of e)
|
|
2819
2818
|
if (await t(i)) return !0;
|
|
2820
2819
|
return !1;
|
|
2821
|
-
},
|
|
2820
|
+
}, $i = {
|
|
2822
2821
|
name: "w-form",
|
|
2823
2822
|
props: {
|
|
2824
2823
|
modelValue: {},
|
|
@@ -2898,7 +2897,7 @@ const Ii = async (e, t) => {
|
|
|
2898
2897
|
// message in the form element.
|
|
2899
2898
|
async checkElementValidators(e) {
|
|
2900
2899
|
let t = !1, i = "";
|
|
2901
|
-
await
|
|
2900
|
+
await _i(e.validators, async (s) => {
|
|
2902
2901
|
const n = await (typeof s == "function" && s(e.inputValue));
|
|
2903
2902
|
return t = typeof n != "string", i = t ? "" : n, !t;
|
|
2904
2903
|
}), e.hasJustReset = !1, e.Validation.isValid = t, e.Validation.message = i;
|
|
@@ -2924,8 +2923,8 @@ const Ii = async (e, t) => {
|
|
|
2924
2923
|
(this.status === !1 && e || e === null && this.status !== null) && this.reset(), this.status = e;
|
|
2925
2924
|
}
|
|
2926
2925
|
}
|
|
2927
|
-
},
|
|
2928
|
-
function
|
|
2926
|
+
}, Ii = /* @__PURE__ */ v($i, [["render", Bi]]);
|
|
2927
|
+
function Vi(e, t, i, s, n, l) {
|
|
2929
2928
|
const a = $("w-transition-expand");
|
|
2930
2929
|
return o(), u("div", {
|
|
2931
2930
|
class: f(l.classes)
|
|
@@ -2952,7 +2951,7 @@ function Ri(e, t, i, s, n, l) {
|
|
|
2952
2951
|
})
|
|
2953
2952
|
], 2);
|
|
2954
2953
|
}
|
|
2955
|
-
const
|
|
2954
|
+
const Ti = {
|
|
2956
2955
|
name: "w-form-element",
|
|
2957
2956
|
props: {
|
|
2958
2957
|
valid: { required: !0 },
|
|
@@ -3025,8 +3024,8 @@ const xi = {
|
|
|
3025
3024
|
beforeUnmount() {
|
|
3026
3025
|
this.formUnregister && this.formUnregister(this);
|
|
3027
3026
|
}
|
|
3028
|
-
},
|
|
3029
|
-
function
|
|
3027
|
+
}, Li = /* @__PURE__ */ v(Ti, [["render", Vi]]);
|
|
3028
|
+
function Ri(e, t, i, s, n, l) {
|
|
3030
3029
|
return o(), b(L(i.tag), {
|
|
3031
3030
|
class: f(["w-grid", l.classes])
|
|
3032
3031
|
}, {
|
|
@@ -3036,7 +3035,7 @@ function Oi(e, t, i, s, n, l) {
|
|
|
3036
3035
|
_: 3
|
|
3037
3036
|
}, 8, ["class"]);
|
|
3038
3037
|
}
|
|
3039
|
-
const
|
|
3038
|
+
const xi = {
|
|
3040
3039
|
name: "w-grid",
|
|
3041
3040
|
props: {
|
|
3042
3041
|
tag: { type: String, default: "div" },
|
|
@@ -3080,8 +3079,8 @@ const Mi = {
|
|
|
3080
3079
|
};
|
|
3081
3080
|
}
|
|
3082
3081
|
}
|
|
3083
|
-
},
|
|
3084
|
-
function
|
|
3082
|
+
}, Pi = /* @__PURE__ */ v(xi, [["render", Ri]]);
|
|
3083
|
+
function zi(e, t, i, s, n, l) {
|
|
3085
3084
|
return o(), b(L(i.tag || "i"), {
|
|
3086
3085
|
class: f(["w-icon", l.classes]),
|
|
3087
3086
|
role: "icon",
|
|
@@ -3096,7 +3095,7 @@ function Ei(e, t, i, s, n, l) {
|
|
|
3096
3095
|
_: 1
|
|
3097
3096
|
}, 8, ["class", "style"]);
|
|
3098
3097
|
}
|
|
3099
|
-
const
|
|
3098
|
+
const Oi = {
|
|
3100
3099
|
name: "w-icon",
|
|
3101
3100
|
props: {
|
|
3102
3101
|
tag: { type: String, default: "i" },
|
|
@@ -3165,14 +3164,14 @@ const Ai = {
|
|
|
3165
3164
|
return this.fontName = t, this.icon = i, !0;
|
|
3166
3165
|
}
|
|
3167
3166
|
}
|
|
3168
|
-
},
|
|
3167
|
+
}, Mi = /* @__PURE__ */ v(Oi, [["render", zi]]), Ei = {
|
|
3169
3168
|
key: 0,
|
|
3170
3169
|
class: "w-image__loader"
|
|
3171
|
-
};
|
|
3172
|
-
function
|
|
3170
|
+
}, Ai = ["innerHTML"];
|
|
3171
|
+
function Wi(e, t, i, s, n, l) {
|
|
3173
3172
|
const a = $("w-progress");
|
|
3174
3173
|
return o(), b(L(l.wrapperTag), {
|
|
3175
|
-
class: f(["w-image
|
|
3174
|
+
class: f(["w-image", l.wrapperClasses]),
|
|
3176
3175
|
style: R(l.wrapperStyles)
|
|
3177
3176
|
}, {
|
|
3178
3177
|
default: m(() => [
|
|
@@ -3181,16 +3180,16 @@ function Ni(e, t, i, s, n, l) {
|
|
|
3181
3180
|
appear: ""
|
|
3182
3181
|
}, {
|
|
3183
3182
|
default: m(() => [
|
|
3184
|
-
n.loaded ? (o(), b(L(
|
|
3183
|
+
n.loaded ? (o(), b(L(l.normalized.tag), {
|
|
3185
3184
|
key: 0,
|
|
3186
|
-
class: f(["w-
|
|
3185
|
+
class: f(["w-image__image", l.imageClasses]),
|
|
3187
3186
|
style: R(l.imageStyles),
|
|
3188
|
-
src:
|
|
3187
|
+
src: l.normalized.tag === "img" ? n.computedImg.src : null
|
|
3189
3188
|
}, null, 8, ["class", "style", "src"])) : p("", !0)
|
|
3190
3189
|
]),
|
|
3191
3190
|
_: 1
|
|
3192
3191
|
}, 8, ["name"]),
|
|
3193
|
-
!i.noSpinner && n.loading ? (o(), u("
|
|
3192
|
+
!i.noSpinner && n.loading ? (o(), u("span", Ei, [
|
|
3194
3193
|
e.$slots.loading ? c(e.$slots, "loading", { key: 0 }) : (o(), b(a, _({
|
|
3195
3194
|
key: 1,
|
|
3196
3195
|
circle: "",
|
|
@@ -3205,18 +3204,31 @@ function Ni(e, t, i, s, n, l) {
|
|
|
3205
3204
|
c(e.$slots, "default")
|
|
3206
3205
|
]),
|
|
3207
3206
|
_: 3
|
|
3208
|
-
}, 8, ["class"])) : p("", !0)
|
|
3207
|
+
}, 8, ["class"])) : p("", !0),
|
|
3208
|
+
e.$slots.caption ? (o(), u("figcaption", {
|
|
3209
|
+
key: 2,
|
|
3210
|
+
class: f(["w-image__caption caption", i.captionClass])
|
|
3211
|
+
}, [
|
|
3212
|
+
c(e.$slots, "caption")
|
|
3213
|
+
], 2)) : i.caption ? (o(), u("figcaption", {
|
|
3214
|
+
key: 3,
|
|
3215
|
+
class: f(["w-image__caption caption", i.captionClass]),
|
|
3216
|
+
innerHTML: i.caption
|
|
3217
|
+
}, null, 10, Ai)) : p("", !0)
|
|
3209
3218
|
]),
|
|
3210
3219
|
_: 3
|
|
3211
3220
|
}, 8, ["class", "style"]);
|
|
3212
3221
|
}
|
|
3213
|
-
const
|
|
3222
|
+
const Ki = {
|
|
3214
3223
|
name: "w-image",
|
|
3215
3224
|
props: {
|
|
3216
3225
|
tag: { type: String, default: "span" },
|
|
3226
|
+
// span, div, figure, img.
|
|
3217
3227
|
src: { type: String },
|
|
3218
3228
|
width: { type: [Number, String] },
|
|
3219
3229
|
height: { type: [Number, String] },
|
|
3230
|
+
maxWidth: { type: [Number, String] },
|
|
3231
|
+
maxHeight: { type: [Number, String] },
|
|
3220
3232
|
ratio: { type: [Number, String] },
|
|
3221
3233
|
lazy: { type: Boolean },
|
|
3222
3234
|
absolute: { type: Boolean },
|
|
@@ -3226,50 +3238,68 @@ const Di = {
|
|
|
3226
3238
|
spinnerColor: { type: String },
|
|
3227
3239
|
fallback: { type: String },
|
|
3228
3240
|
transition: { type: String, default: "fade" },
|
|
3229
|
-
contentClass: { type: [String, Array, Object] }
|
|
3241
|
+
contentClass: { type: [String, Array, Object] },
|
|
3242
|
+
caption: { type: String },
|
|
3243
|
+
captionClass: { type: String }
|
|
3230
3244
|
},
|
|
3231
3245
|
emits: ["loading", "loaded", "error"],
|
|
3232
3246
|
data() {
|
|
3233
3247
|
return {
|
|
3234
3248
|
loading: !1,
|
|
3235
3249
|
loaded: !1,
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3250
|
+
// The computed image source, and real image dimensions.
|
|
3251
|
+
computedImg: {
|
|
3252
|
+
src: "",
|
|
3253
|
+
width: 0,
|
|
3254
|
+
height: 0,
|
|
3255
|
+
ratio: 0
|
|
3256
|
+
}
|
|
3240
3257
|
};
|
|
3241
3258
|
},
|
|
3242
3259
|
computed: {
|
|
3243
|
-
|
|
3244
|
-
|
|
3260
|
+
// Normalized props.
|
|
3261
|
+
normalized() {
|
|
3262
|
+
return {
|
|
3263
|
+
width: (isNaN(this.width) ? this.width : `${this.width}px`) || null,
|
|
3264
|
+
height: (isNaN(this.height) ? this.height : `${this.height}px`) || null,
|
|
3265
|
+
maxWidth: (isNaN(this.maxWidth) ? this.maxWidth : `${this.maxWidth}px`) || null,
|
|
3266
|
+
maxHeight: (isNaN(this.maxHeight) ? this.maxHeight : `${this.maxHeight}px`) || null,
|
|
3267
|
+
ratio: parseFloat(this.ratio) || void 0,
|
|
3268
|
+
tag: this.tag === "img" || this.tag === "figure" || this.caption ? "img" : "span"
|
|
3269
|
+
};
|
|
3245
3270
|
},
|
|
3246
3271
|
wrapperTag() {
|
|
3247
|
-
return ["span", "div"].includes(this.tag) ? this.tag : "span";
|
|
3272
|
+
return this.caption || this.tag === "figure" ? "figure" : ["span", "div"].includes(this.tag) ? this.tag : "span";
|
|
3248
3273
|
},
|
|
3249
3274
|
wrapperClasses() {
|
|
3250
3275
|
return {
|
|
3251
|
-
"w-image
|
|
3252
|
-
"w-image
|
|
3253
|
-
"w-image
|
|
3276
|
+
"w-image--absolute": this.absolute,
|
|
3277
|
+
"w-image--fixed": this.fixed,
|
|
3278
|
+
"w-image--has-ratio": this.normalized.ratio
|
|
3254
3279
|
};
|
|
3255
3280
|
},
|
|
3256
3281
|
wrapperStyles() {
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3282
|
+
let e = this.normalized.width;
|
|
3283
|
+
const t = this.normalized.height;
|
|
3284
|
+
let i = this.normalized.maxWidth, s = this.normalized.ratio;
|
|
3285
|
+
return s && !e && !t ? e = "100%" : !e && !t ? (e = "100%", i = this.normalized.maxWidth || `${this.computedImg.width}px`, s = s || this.computedImg.width / this.computedImg.height) : (e && !t || t && !e) && (s = s || this.computedImg.width / this.computedImg.height), {
|
|
3286
|
+
width: e,
|
|
3287
|
+
height: t,
|
|
3288
|
+
maxWidth: i,
|
|
3289
|
+
maxHeight: this.normalized.maxHeight,
|
|
3290
|
+
aspectRatio: s
|
|
3261
3291
|
};
|
|
3262
3292
|
},
|
|
3263
3293
|
imageClasses() {
|
|
3264
3294
|
return {
|
|
3265
|
-
"w-
|
|
3266
|
-
"w-
|
|
3267
|
-
"w-
|
|
3295
|
+
"w-image__image--loading": this.loading,
|
|
3296
|
+
"w-image__image--loaded": this.loaded,
|
|
3297
|
+
"w-image__image--contain": this.contain
|
|
3268
3298
|
};
|
|
3269
3299
|
},
|
|
3270
3300
|
imageStyles() {
|
|
3271
3301
|
return {
|
|
3272
|
-
"background-image": this.tag !== "img" && this.loaded ? `url('${this.
|
|
3302
|
+
"background-image": this.normalized.tag !== "img" && this.loaded ? `url('${this.computedImg.src}')` : null
|
|
3273
3303
|
};
|
|
3274
3304
|
}
|
|
3275
3305
|
},
|
|
@@ -3278,7 +3308,7 @@ const Di = {
|
|
|
3278
3308
|
if (!this.loading)
|
|
3279
3309
|
return this.loading = !0, this.loaded = !1, this.$emit("loading", e ? this.fallback : this.src), new Promise((t) => {
|
|
3280
3310
|
const i = new Image();
|
|
3281
|
-
i.onload = (s) => (
|
|
3311
|
+
i.onload = (s) => (this.computedImg.width = s.target.width, this.computedImg.height = s.target.height, this.computedImg.ratio = s.target.height / s.target.width, this.loading = !1, this.loaded = !0, this.computedImg.src = e ? this.fallback : this.src, this.$emit("loaded", this.computedImg.src), t(i)), i.onerror = (s) => {
|
|
3282
3312
|
this.$emit("error", s), this.fallback && !e ? (this.loading = !1, this.loadImage(!0)) : (this.loading = !1, this.loaded = !1);
|
|
3283
3313
|
}, i.src = e ? this.fallback : this.src;
|
|
3284
3314
|
});
|
|
@@ -3296,19 +3326,13 @@ const Di = {
|
|
|
3296
3326
|
watch: {
|
|
3297
3327
|
src() {
|
|
3298
3328
|
this.loadImage();
|
|
3299
|
-
},
|
|
3300
|
-
width(e) {
|
|
3301
|
-
this.imgWidth = e;
|
|
3302
|
-
},
|
|
3303
|
-
height(e) {
|
|
3304
|
-
this.imgHeight = e;
|
|
3305
3329
|
}
|
|
3306
3330
|
}
|
|
3307
|
-
},
|
|
3331
|
+
}, Ni = /* @__PURE__ */ v(Ki, [["render", Wi]]), Di = ["name"], Hi = ["for"], Fi = ["id", "type", "name", "placeholder", "step", "min", "max", "minlength", "maxlength", "readonly", "aria-readonly", "disabled", "required", "tabindex"], ji = ["id", "name", "multiple", "disabled", "data-progress"], Ui = {
|
|
3308
3332
|
class: "w-input__no-file",
|
|
3309
3333
|
key: "no-file"
|
|
3310
|
-
},
|
|
3311
|
-
function
|
|
3334
|
+
}, qi = ["for"], Xi = ["src"], Yi = ["for"];
|
|
3335
|
+
function Gi(e, t, i, s, n, l) {
|
|
3312
3336
|
const a = $("w-icon"), r = $("w-progress");
|
|
3313
3337
|
return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
|
|
3314
3338
|
valid: e.valid,
|
|
@@ -3326,7 +3350,7 @@ function Qi(e, t, i, s, n, l) {
|
|
|
3326
3350
|
type: "hidden",
|
|
3327
3351
|
name: e.name || null,
|
|
3328
3352
|
"onUpdate:modelValue": t[0] || (t[0] = (d) => n.inputValue = d)
|
|
3329
|
-
}, null, 8,
|
|
3353
|
+
}, null, 8, Di)), [
|
|
3330
3354
|
[ve, n.inputValue]
|
|
3331
3355
|
]) : (o(), u(k, { key: 1 }, [
|
|
3332
3356
|
i.labelPosition === "left" ? (o(), u(k, { key: 0 }, [
|
|
@@ -3338,7 +3362,7 @@ function Qi(e, t, i, s, n, l) {
|
|
|
3338
3362
|
c(e.$slots, "default", {}, () => [
|
|
3339
3363
|
B(C(i.label), 1)
|
|
3340
3364
|
])
|
|
3341
|
-
], 10,
|
|
3365
|
+
], 10, Hi)) : p("", !0)
|
|
3342
3366
|
], 64)) : p("", !0),
|
|
3343
3367
|
w("div", {
|
|
3344
3368
|
class: f(["w-input__input-wrap", l.inputWrapClasses])
|
|
@@ -3381,7 +3405,7 @@ function Qi(e, t, i, s, n, l) {
|
|
|
3381
3405
|
disabled: e.isDisabled || null,
|
|
3382
3406
|
required: e.required || null,
|
|
3383
3407
|
tabindex: e.tabindex || null
|
|
3384
|
-
}, l.attrs), null, 16,
|
|
3408
|
+
}, l.attrs), null, 16, Fi)), [
|
|
3385
3409
|
[Re, n.inputValue]
|
|
3386
3410
|
]) : (o(), u(k, { key: 1 }, [
|
|
3387
3411
|
w("input", _({
|
|
@@ -3397,7 +3421,7 @@ function Qi(e, t, i, s, n, l) {
|
|
|
3397
3421
|
disabled: e.isDisabled || null,
|
|
3398
3422
|
"data-progress": l.overallFilesProgress
|
|
3399
3423
|
/* Needed to emit the overallProgress. */
|
|
3400
|
-
}), null, 16,
|
|
3424
|
+
}), null, 16, ji),
|
|
3401
3425
|
T(ae, {
|
|
3402
3426
|
class: "w-input__input w-input__input--file",
|
|
3403
3427
|
tag: "label",
|
|
@@ -3405,7 +3429,7 @@ function Qi(e, t, i, s, n, l) {
|
|
|
3405
3429
|
for: `w-input--${e._.uid}`
|
|
3406
3430
|
}, {
|
|
3407
3431
|
default: m(() => [
|
|
3408
|
-
!n.inputFiles.length && n.isFocused ? (o(), u("span",
|
|
3432
|
+
!n.inputFiles.length && n.isFocused ? (o(), u("span", Ui, [
|
|
3409
3433
|
c(e.$slots, "no-file", {}, () => [
|
|
3410
3434
|
e.$slots["no-file"] === void 0 ? (o(), u(k, { key: 0 }, [
|
|
3411
3435
|
B("No file")
|
|
@@ -3474,12 +3498,12 @@ function Qi(e, t, i, s, n, l) {
|
|
|
3474
3498
|
key: `${h}b`,
|
|
3475
3499
|
src: d.preview,
|
|
3476
3500
|
alt: ""
|
|
3477
|
-
}, null, 8,
|
|
3501
|
+
}, null, 8, Xi)) : (o(), u("i", {
|
|
3478
3502
|
class: f(["w-icon w-input__file-preview primary size--md", i.preview && typeof i.preview == "string" ? i.preview : "wi-file"]),
|
|
3479
3503
|
key: `${h}c`
|
|
3480
3504
|
}, null, 2))
|
|
3481
3505
|
], 64))), 256))
|
|
3482
|
-
], 8,
|
|
3506
|
+
], 8, qi)) : p("", !0),
|
|
3483
3507
|
i.labelPosition === "right" ? (o(), u(k, { key: 2 }, [
|
|
3484
3508
|
e.$slots.default || i.label ? (o(), u("label", {
|
|
3485
3509
|
key: 0,
|
|
@@ -3489,16 +3513,16 @@ function Qi(e, t, i, s, n, l) {
|
|
|
3489
3513
|
c(e.$slots, "default", {}, () => [
|
|
3490
3514
|
B(C(i.label), 1)
|
|
3491
3515
|
])
|
|
3492
|
-
], 10,
|
|
3516
|
+
], 10, Yi)) : p("", !0)
|
|
3493
3517
|
], 64)) : p("", !0)
|
|
3494
3518
|
], 64))
|
|
3495
3519
|
]),
|
|
3496
3520
|
_: 3
|
|
3497
3521
|
}, 16, ["valid", "wrap", "class", "style"]);
|
|
3498
3522
|
}
|
|
3499
|
-
const
|
|
3523
|
+
const Ji = {
|
|
3500
3524
|
name: "w-input",
|
|
3501
|
-
mixins: [
|
|
3525
|
+
mixins: [M],
|
|
3502
3526
|
inheritAttrs: !1,
|
|
3503
3527
|
// The attrs should only be added to the input not the wrapper.
|
|
3504
3528
|
props: {
|
|
@@ -3681,8 +3705,8 @@ const Zi = {
|
|
|
3681
3705
|
this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1, this.inputFiles = []);
|
|
3682
3706
|
}
|
|
3683
3707
|
}
|
|
3684
|
-
},
|
|
3685
|
-
function
|
|
3708
|
+
}, Qi = /* @__PURE__ */ v(Ji, [["render", Gi]]);
|
|
3709
|
+
function Zi(e, t, i, s, n, l) {
|
|
3686
3710
|
const a = $("w-icon"), r = $("w-list", !0);
|
|
3687
3711
|
return o(), u("ul", {
|
|
3688
3712
|
class: f(["w-list", l.classes])
|
|
@@ -3769,7 +3793,7 @@ function tl(e, t, i, s, n, l) {
|
|
|
3769
3793
|
], 2))), 128))
|
|
3770
3794
|
], 2);
|
|
3771
3795
|
}
|
|
3772
|
-
const
|
|
3796
|
+
const el = {
|
|
3773
3797
|
name: "w-list",
|
|
3774
3798
|
props: {
|
|
3775
3799
|
items: { type: [Array, Number], required: !0 },
|
|
@@ -3963,7 +3987,7 @@ const il = {
|
|
|
3963
3987
|
}
|
|
3964
3988
|
}
|
|
3965
3989
|
}
|
|
3966
|
-
},
|
|
3990
|
+
}, tl = /* @__PURE__ */ v(el, [["render", Zi]]), Be = {
|
|
3967
3991
|
props: {
|
|
3968
3992
|
// Position.
|
|
3969
3993
|
appendTo: { type: [String, Boolean, Object] },
|
|
@@ -4140,7 +4164,7 @@ const il = {
|
|
|
4140
4164
|
}
|
|
4141
4165
|
}
|
|
4142
4166
|
};
|
|
4143
|
-
function
|
|
4167
|
+
function il(e, t, i, s, n, l) {
|
|
4144
4168
|
const a = $("w-card"), r = $("w-overlay");
|
|
4145
4169
|
return o(), u(k, null, [
|
|
4146
4170
|
c(e.$slots, "activator", { on: l.activatorEventHandlers }),
|
|
@@ -4212,7 +4236,7 @@ function sl(e, t, i, s, n, l) {
|
|
|
4212
4236
|
}), null, 16, ["model-value", "persistent", "class", "z-index"])) : p("", !0)
|
|
4213
4237
|
], 64);
|
|
4214
4238
|
}
|
|
4215
|
-
const
|
|
4239
|
+
const ll = {
|
|
4216
4240
|
name: "w-menu",
|
|
4217
4241
|
mixins: [Be],
|
|
4218
4242
|
inheritAttrs: !1,
|
|
@@ -4385,8 +4409,8 @@ const ol = {
|
|
|
4385
4409
|
}
|
|
4386
4410
|
}
|
|
4387
4411
|
// watch, mounted & beforeDestroy hooks are set in the detachable.js mixin.
|
|
4388
|
-
},
|
|
4389
|
-
function
|
|
4412
|
+
}, sl = /* @__PURE__ */ v(ll, [["render", il]]);
|
|
4413
|
+
function ol(e, t, i, s, n, l) {
|
|
4390
4414
|
const a = $("w-alert");
|
|
4391
4415
|
return o(), b(P, {
|
|
4392
4416
|
name: l.transitionName,
|
|
@@ -4414,7 +4438,7 @@ function nl(e, t, i, s, n, l) {
|
|
|
4414
4438
|
_: 3
|
|
4415
4439
|
}, 8, ["name"]);
|
|
4416
4440
|
}
|
|
4417
|
-
const
|
|
4441
|
+
const al = {
|
|
4418
4442
|
name: "w-notification",
|
|
4419
4443
|
props: {
|
|
4420
4444
|
// Notification props.
|
|
@@ -4537,8 +4561,8 @@ const rl = {
|
|
|
4537
4561
|
clearTimeout(this.timeoutId), this.show = e, e && this.timeoutVal && this.countdown();
|
|
4538
4562
|
}
|
|
4539
4563
|
}
|
|
4540
|
-
},
|
|
4541
|
-
function
|
|
4564
|
+
}, nl = /* @__PURE__ */ v(al, [["render", ol]]);
|
|
4565
|
+
function rl(e, t, i, s, n, l) {
|
|
4542
4566
|
const a = ke("focus");
|
|
4543
4567
|
return o(), b(P, {
|
|
4544
4568
|
name: "fade",
|
|
@@ -4551,7 +4575,7 @@ function ul(e, t, i, s, n, l) {
|
|
|
4551
4575
|
class: f(["w-overlay", l.classes]),
|
|
4552
4576
|
ref: "overlay",
|
|
4553
4577
|
style: R(i.modelValue && l.styles || null),
|
|
4554
|
-
onKeydown: t[0] || (t[0] = E(
|
|
4578
|
+
onKeydown: t[0] || (t[0] = E(O((...r) => l.onClick && l.onClick(...r), ["stop"]), ["escape"])),
|
|
4555
4579
|
onClick: t[1] || (t[1] = (...r) => l.onClick && l.onClick(...r)),
|
|
4556
4580
|
tabindex: "0"
|
|
4557
4581
|
}, [
|
|
@@ -4564,7 +4588,7 @@ function ul(e, t, i, s, n, l) {
|
|
|
4564
4588
|
_: 3
|
|
4565
4589
|
}, 8, ["onAfterLeave"]);
|
|
4566
4590
|
}
|
|
4567
|
-
const
|
|
4591
|
+
const dl = {
|
|
4568
4592
|
name: "w-overlay",
|
|
4569
4593
|
props: {
|
|
4570
4594
|
modelValue: {},
|
|
@@ -4622,17 +4646,17 @@ const hl = {
|
|
|
4622
4646
|
e && (this.showOverlay = !0);
|
|
4623
4647
|
}
|
|
4624
4648
|
}
|
|
4625
|
-
},
|
|
4626
|
-
function
|
|
4627
|
-
return o(), u("div",
|
|
4649
|
+
}, ul = /* @__PURE__ */ v(dl, [["render", rl]]), hl = { class: "w-parallax" };
|
|
4650
|
+
function cl(e, t, i, s, n, l) {
|
|
4651
|
+
return o(), u("div", hl);
|
|
4628
4652
|
}
|
|
4629
|
-
const
|
|
4653
|
+
const pl = {
|
|
4630
4654
|
name: "w-parallax",
|
|
4631
4655
|
props: {},
|
|
4632
4656
|
emits: [],
|
|
4633
4657
|
data: () => ({})
|
|
4634
|
-
},
|
|
4635
|
-
function
|
|
4658
|
+
}, fl = /* @__PURE__ */ v(pl, [["render", cl]]), ml = ["viewBox"], gl = ["cx", "cy", "r", "stroke-dasharray", "stroke-width"], bl = ["cx", "cy", "r", "stroke-width", "stroke-linecap", "stroke-dasharray"];
|
|
4659
|
+
function yl(e, t, i, s, n, l) {
|
|
4636
4660
|
return o(), u("div", {
|
|
4637
4661
|
class: f(["w-progress", l.classes]),
|
|
4638
4662
|
style: R(l.styles)
|
|
@@ -4650,7 +4674,7 @@ function kl(e, t, i, s, n, l) {
|
|
|
4650
4674
|
fill: "transparent",
|
|
4651
4675
|
"stroke-dasharray": e.circleCircumference,
|
|
4652
4676
|
"stroke-width": i.stroke
|
|
4653
|
-
}, null, 10,
|
|
4677
|
+
}, null, 10, gl)) : p("", !0),
|
|
4654
4678
|
w("circle", {
|
|
4655
4679
|
class: "w-progress__progress",
|
|
4656
4680
|
cx: l.circleCenter,
|
|
@@ -4661,8 +4685,8 @@ function kl(e, t, i, s, n, l) {
|
|
|
4661
4685
|
"stroke-linecap": i.roundCap && "round",
|
|
4662
4686
|
"stroke-dasharray": e.circleCircumference,
|
|
4663
4687
|
style: R(`stroke-dashoffset: ${(1 - l.progressValue / 100) * e.circleCircumference}`)
|
|
4664
|
-
}, null, 12,
|
|
4665
|
-
], 8,
|
|
4688
|
+
}, null, 12, bl)
|
|
4689
|
+
], 8, ml)) : (o(), u("div", {
|
|
4666
4690
|
key: 0,
|
|
4667
4691
|
class: f(["w-progress__progress", { full: l.progressValue === 100 }]),
|
|
4668
4692
|
style: R(`width: ${l.progressValue}%`)
|
|
@@ -4677,7 +4701,7 @@ function kl(e, t, i, s, n, l) {
|
|
|
4677
4701
|
], 2)) : p("", !0)
|
|
4678
4702
|
], 6);
|
|
4679
4703
|
}
|
|
4680
|
-
const Q = 40,
|
|
4704
|
+
const Q = 40, wl = Q / 2, kl = Math.round(Q * 3.14 * 100) / 100, vl = {
|
|
4681
4705
|
name: "w-progress",
|
|
4682
4706
|
props: {
|
|
4683
4707
|
modelValue: { type: [Number, String, Boolean], default: -1 },
|
|
@@ -4705,8 +4729,8 @@ const Q = 40, vl = Q / 2, Cl = Math.round(Q * 3.14 * 100) / 100, Sl = {
|
|
|
4705
4729
|
emits: [],
|
|
4706
4730
|
data: () => ({
|
|
4707
4731
|
circleSize: Q,
|
|
4708
|
-
circleRadius:
|
|
4709
|
-
circleCircumference:
|
|
4732
|
+
circleRadius: wl,
|
|
4733
|
+
circleCircumference: kl
|
|
4710
4734
|
}),
|
|
4711
4735
|
computed: {
|
|
4712
4736
|
progressValue() {
|
|
@@ -4746,8 +4770,8 @@ const Q = 40, vl = Q / 2, Cl = Math.round(Q * 3.14 * 100) / 100, Sl = {
|
|
|
4746
4770
|
};
|
|
4747
4771
|
}
|
|
4748
4772
|
}
|
|
4749
|
-
},
|
|
4750
|
-
function
|
|
4773
|
+
}, Cl = /* @__PURE__ */ v(vl, [["render", yl]]), Sl = ["id", "name", "checked", "disabled", "required", "tabindex", "aria-checked"], Bl = ["for"], _l = ["for", "innerHTML"], $l = ["for"], Il = ["for", "innerHTML"];
|
|
4774
|
+
function Vl(e, t, i, s, n, l) {
|
|
4751
4775
|
return o(), b(L(e.formRegister && !l.wRadios ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled, readonly: e.isReadonly }, {
|
|
4752
4776
|
valid: e.valid,
|
|
4753
4777
|
"onUpdate:valid": t[3] || (t[3] = (a) => e.valid = a),
|
|
@@ -4770,7 +4794,7 @@ function Ll(e, t, i, s, n, l) {
|
|
|
4770
4794
|
onChange: t[1] || (t[1] = (a) => l.onInput(a)),
|
|
4771
4795
|
"aria-checked": e.inputValue || "false",
|
|
4772
4796
|
role: "radio"
|
|
4773
|
-
}, null, 40,
|
|
4797
|
+
}, null, 40, Sl),
|
|
4774
4798
|
l.hasLabel && i.labelOnLeft ? (o(), u(k, { key: 0 }, [
|
|
4775
4799
|
e.$slots.default ? (o(), u("label", {
|
|
4776
4800
|
key: 0,
|
|
@@ -4780,12 +4804,12 @@ function Ll(e, t, i, s, n, l) {
|
|
|
4780
4804
|
c(e.$slots, "default", {}, () => [
|
|
4781
4805
|
B(C(i.label), 1)
|
|
4782
4806
|
])
|
|
4783
|
-
], 10,
|
|
4807
|
+
], 10, Bl)) : i.label ? (o(), u("label", {
|
|
4784
4808
|
key: 1,
|
|
4785
4809
|
class: f(["w-radio__label w-form-el-shakable pr2", e.labelClasses]),
|
|
4786
4810
|
for: `w-radio--${e._.uid}`,
|
|
4787
4811
|
innerHTML: i.label
|
|
4788
|
-
}, null, 10,
|
|
4812
|
+
}, null, 10, _l)) : p("", !0)
|
|
4789
4813
|
], 64)) : p("", !0),
|
|
4790
4814
|
w("div", {
|
|
4791
4815
|
class: f(["w-radio__input", this.color]),
|
|
@@ -4802,20 +4826,20 @@ function Ll(e, t, i, s, n, l) {
|
|
|
4802
4826
|
c(e.$slots, "default", {}, () => [
|
|
4803
4827
|
B(C(i.label), 1)
|
|
4804
4828
|
])
|
|
4805
|
-
], 10,
|
|
4829
|
+
], 10, $l)) : i.label ? (o(), u("label", {
|
|
4806
4830
|
key: 1,
|
|
4807
4831
|
class: f(["w-radio__label w-form-el-shakable pl2", e.labelClasses]),
|
|
4808
4832
|
for: `w-radio--${e._.uid}`,
|
|
4809
4833
|
innerHTML: i.label
|
|
4810
|
-
}, null, 10,
|
|
4834
|
+
}, null, 10, Il)) : p("", !0)
|
|
4811
4835
|
], 64)) : p("", !0)
|
|
4812
4836
|
]),
|
|
4813
4837
|
_: 3
|
|
4814
4838
|
}, 16, ["valid", "class"]);
|
|
4815
4839
|
}
|
|
4816
|
-
const
|
|
4840
|
+
const Tl = {
|
|
4817
4841
|
name: "w-radio",
|
|
4818
|
-
mixins: [
|
|
4842
|
+
mixins: [M],
|
|
4819
4843
|
inject: { wRadios: { default: null } },
|
|
4820
4844
|
props: {
|
|
4821
4845
|
modelValue: { default: !1 },
|
|
@@ -4878,8 +4902,8 @@ const Rl = {
|
|
|
4878
4902
|
this.toggleFromOutside();
|
|
4879
4903
|
}
|
|
4880
4904
|
}
|
|
4881
|
-
},
|
|
4882
|
-
function
|
|
4905
|
+
}, Ll = /* @__PURE__ */ v(Tl, [["render", Vl]]), Rl = ["innerHTML"];
|
|
4906
|
+
function xl(e, t, i, s, n, l) {
|
|
4883
4907
|
const a = $("w-radio");
|
|
4884
4908
|
return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.inputValue, disabled: e.isDisabled }, {
|
|
4885
4909
|
valid: e.valid,
|
|
@@ -4914,7 +4938,7 @@ function Ol(e, t, i, s, n, l) {
|
|
|
4914
4938
|
}) : r.label ? (o(), u("div", {
|
|
4915
4939
|
key: 1,
|
|
4916
4940
|
innerHTML: r.label
|
|
4917
|
-
}, null, 8,
|
|
4941
|
+
}, null, 8, Rl)) : p("", !0)
|
|
4918
4942
|
]),
|
|
4919
4943
|
_: 2
|
|
4920
4944
|
}, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
|
|
@@ -4922,9 +4946,9 @@ function Ol(e, t, i, s, n, l) {
|
|
|
4922
4946
|
_: 3
|
|
4923
4947
|
}, 16, ["valid", "column", "wrap", "class"]);
|
|
4924
4948
|
}
|
|
4925
|
-
const
|
|
4949
|
+
const Pl = {
|
|
4926
4950
|
name: "w-radios",
|
|
4927
|
-
mixins: [
|
|
4951
|
+
mixins: [M],
|
|
4928
4952
|
props: {
|
|
4929
4953
|
items: { type: Array, required: !0 },
|
|
4930
4954
|
// All the possible options.
|
|
@@ -4975,8 +4999,8 @@ const Ml = {
|
|
|
4975
4999
|
return this.items[e._index];
|
|
4976
5000
|
}
|
|
4977
5001
|
}
|
|
4978
|
-
}, zl = /* @__PURE__ */ v(
|
|
4979
|
-
function
|
|
5002
|
+
}, zl = /* @__PURE__ */ v(Pl, [["render", xl]]), Ol = ["id", "name", "value"], Ml = ["disabled", "onMouseenter", "onClick", "tabindex"];
|
|
5003
|
+
function El(e, t, i, s, n, l) {
|
|
4980
5004
|
return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.rating, disabled: e.isDisabled, readonly: e.isReadonly }, {
|
|
4981
5005
|
valid: e.valid,
|
|
4982
5006
|
"onUpdate:valid": t[4] || (t[4] = (a) => e.valid = a),
|
|
@@ -4991,7 +5015,7 @@ function Wl(e, t, i, s, n, l) {
|
|
|
4991
5015
|
name: e.inputName,
|
|
4992
5016
|
type: "hidden",
|
|
4993
5017
|
value: n.rating
|
|
4994
|
-
}, null, 8,
|
|
5018
|
+
}, null, 8, Ol),
|
|
4995
5019
|
(o(!0), u(k, null, x(i.max, (a) => (o(), u(k, { key: a }, [
|
|
4996
5020
|
e.$slots.item ? c(e.$slots, "item", {
|
|
4997
5021
|
key: 0,
|
|
@@ -5016,15 +5040,15 @@ function Wl(e, t, i, s, n, l) {
|
|
|
5016
5040
|
"aria-hidden": "true",
|
|
5017
5041
|
style: R(l.halfStarStyle)
|
|
5018
5042
|
}, null, 6)) : p("", !0)
|
|
5019
|
-
], 42,
|
|
5043
|
+
], 42, Ml)
|
|
5020
5044
|
], 64))), 128))
|
|
5021
5045
|
]),
|
|
5022
5046
|
_: 3
|
|
5023
5047
|
}, 16, ["valid", "class"]);
|
|
5024
5048
|
}
|
|
5025
|
-
const
|
|
5049
|
+
const Al = {
|
|
5026
5050
|
name: "w-rating",
|
|
5027
|
-
mixins: [
|
|
5051
|
+
mixins: [M],
|
|
5028
5052
|
props: {
|
|
5029
5053
|
modelValue: {},
|
|
5030
5054
|
max: { type: [Number, String], default: 5 },
|
|
@@ -5116,8 +5140,8 @@ const Kl = {
|
|
|
5116
5140
|
this.rating = parseFloat(e);
|
|
5117
5141
|
}
|
|
5118
5142
|
}
|
|
5119
|
-
},
|
|
5120
|
-
function
|
|
5143
|
+
}, Wl = /* @__PURE__ */ v(Al, [["render", El]]);
|
|
5144
|
+
function Kl(e, t, i, s, n, l) {
|
|
5121
5145
|
return o(), u(k, null, [
|
|
5122
5146
|
w("div", _({
|
|
5123
5147
|
class: ["w-scrollable", l.scrollableClasses],
|
|
@@ -5141,7 +5165,7 @@ function Dl(e, t, i, s, n, l) {
|
|
|
5141
5165
|
], 34)
|
|
5142
5166
|
], 64);
|
|
5143
5167
|
}
|
|
5144
|
-
const
|
|
5168
|
+
const Nl = {
|
|
5145
5169
|
h: {
|
|
5146
5170
|
direction: "horizontal",
|
|
5147
5171
|
topOrLeft: "left",
|
|
@@ -5164,7 +5188,7 @@ const Hl = {
|
|
|
5164
5188
|
deltaXorY: "deltaY",
|
|
5165
5189
|
scrollTopOrLeft: "scrollTop"
|
|
5166
5190
|
}
|
|
5167
|
-
},
|
|
5191
|
+
}, Dl = {
|
|
5168
5192
|
name: "w-scrollable",
|
|
5169
5193
|
props: {
|
|
5170
5194
|
color: { type: String, default: "primary" },
|
|
@@ -5188,7 +5212,7 @@ const Hl = {
|
|
|
5188
5212
|
return this.mounted ? (console.log("💂♂️", (e = this.$refs.scrollable) == null ? void 0 : e.scrollWidth, (t = this.$refs.scrollable) == null ? void 0 : t.offsetWidth), this.width && !this.height || ((i = this.$refs.scrollable) == null ? void 0 : i.scrollWidth) > ((s = this.$refs.scrollable) == null ? void 0 : s.offsetWidth)) : !1;
|
|
5189
5213
|
},
|
|
5190
5214
|
m() {
|
|
5191
|
-
return
|
|
5215
|
+
return Nl[this.isHorizontal ? "h" : "v"];
|
|
5192
5216
|
},
|
|
5193
5217
|
scrollableClasses() {
|
|
5194
5218
|
return {
|
|
@@ -5257,11 +5281,11 @@ const Hl = {
|
|
|
5257
5281
|
const { top: e, left: t } = this.$refs.scrollable.getBoundingClientRect();
|
|
5258
5282
|
this.scrollable.top = e, this.scrollable.left = t, this.$el.parentNode.style.position = "relative", this.$el.parentNode.style.padding = 0, window.addEventListener("resize", this.onResize);
|
|
5259
5283
|
}
|
|
5260
|
-
},
|
|
5284
|
+
}, Hl = /* @__PURE__ */ v(Dl, [["render", Kl]]), Fl = ["aria-expanded", "aria-owns", "aria-activedescendant"], jl = {
|
|
5261
5285
|
key: 0,
|
|
5262
5286
|
class: "w-select__selection-slot"
|
|
5263
|
-
},
|
|
5264
|
-
function
|
|
5287
|
+
}, Ul = ["innerHTML"], ql = ["value", "name"];
|
|
5288
|
+
function Xl(e, t, i, s, n, l) {
|
|
5265
5289
|
const a = $("w-icon"), r = $("w-list"), d = $("w-menu");
|
|
5266
5290
|
return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.selectionString, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: e.isFocused }, {
|
|
5267
5291
|
valid: e.valid,
|
|
@@ -5316,7 +5340,7 @@ function Gl(e, t, i, s, n, l) {
|
|
|
5316
5340
|
_: 1
|
|
5317
5341
|
})) : p("", !0)
|
|
5318
5342
|
]),
|
|
5319
|
-
e.$slots.selection ? (o(), u("div",
|
|
5343
|
+
e.$slots.selection ? (o(), u("div", jl, [
|
|
5320
5344
|
c(e.$slots, "selection", {
|
|
5321
5345
|
item: i.multiple ? e.inputValue : e.inputValue[0]
|
|
5322
5346
|
})
|
|
@@ -5327,13 +5351,13 @@ function Gl(e, t, i, s, n, l) {
|
|
|
5327
5351
|
onFocus: t[2] || (t[2] = (h) => !e.isDisabled && !e.isReadonly && l.onFocus(h)),
|
|
5328
5352
|
onBlur: t[3] || (t[3] = (...h) => l.onBlur && l.onBlur(...h)),
|
|
5329
5353
|
onKeydown: t[4] || (t[4] = (h) => !e.isDisabled && !e.isReadonly && l.onKeydown(h))
|
|
5330
|
-
}, l.selectionAttributes, { innerHTML: l.selectionHtml }), null, 16,
|
|
5354
|
+
}, l.selectionAttributes, { innerHTML: l.selectionHtml }), null, 16, Ul),
|
|
5331
5355
|
(o(!0), u(k, null, x(e.inputValue.length ? e.inputValue : [{}], (h, y) => (o(), u("input", {
|
|
5332
5356
|
key: y,
|
|
5333
5357
|
type: "hidden",
|
|
5334
5358
|
value: h.value === void 0 ? "" : h.value.toString(),
|
|
5335
5359
|
name: e.inputName + (i.multiple ? "[]" : "")
|
|
5336
|
-
}, null, 8,
|
|
5360
|
+
}, null, 8, ql))), 128)),
|
|
5337
5361
|
i.labelPosition === "inside" && l.showLabelInside ? (o(), u(k, { key: 1 }, [
|
|
5338
5362
|
e.$slots.default || i.label ? (o(), u("label", {
|
|
5339
5363
|
key: 0,
|
|
@@ -5357,7 +5381,7 @@ function Gl(e, t, i, s, n, l) {
|
|
|
5357
5381
|
_: 1
|
|
5358
5382
|
})) : p("", !0)
|
|
5359
5383
|
])
|
|
5360
|
-
], 10,
|
|
5384
|
+
], 10, Fl)
|
|
5361
5385
|
]),
|
|
5362
5386
|
default: m(() => [
|
|
5363
5387
|
T(r, {
|
|
@@ -5419,9 +5443,9 @@ function Gl(e, t, i, s, n, l) {
|
|
|
5419
5443
|
_: 3
|
|
5420
5444
|
}, 16, ["valid", "onReset", "wrap", "class"]);
|
|
5421
5445
|
}
|
|
5422
|
-
const
|
|
5446
|
+
const Yl = {
|
|
5423
5447
|
name: "w-select",
|
|
5424
|
-
mixins: [
|
|
5448
|
+
mixins: [M],
|
|
5425
5449
|
props: {
|
|
5426
5450
|
items: { type: Array, required: !0 },
|
|
5427
5451
|
modelValue: {},
|
|
@@ -5649,11 +5673,11 @@ const Jl = {
|
|
|
5649
5673
|
this.inputValue = this.checkSelection(this.modelValue);
|
|
5650
5674
|
}
|
|
5651
5675
|
}
|
|
5652
|
-
},
|
|
5676
|
+
}, Gl = /* @__PURE__ */ v(Yl, [["render", Xl]]), Jl = ["for"], Ql = ["for", "innerHTML"], Zl = { class: "w-slider__track-wrap" }, es = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], ts = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], is = ["for"], ls = { key: 0 }, ss = {
|
|
5653
5677
|
key: 0,
|
|
5654
5678
|
class: "w-slider__step-labels"
|
|
5655
|
-
},
|
|
5656
|
-
function
|
|
5679
|
+
}, os = ["onClick"], as = ["for"], ns = ["for", "innerHTML"];
|
|
5680
|
+
function rs(e, t, i, s, n, l) {
|
|
5657
5681
|
return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.rangeValueScaled, disabled: e.isDisabled, readonly: e.isReadonly }, {
|
|
5658
5682
|
valid: e.valid,
|
|
5659
5683
|
"onUpdate:valid": t[8] || (t[8] = (a) => e.valid = a),
|
|
@@ -5670,13 +5694,13 @@ function us(e, t, i, s, n, l) {
|
|
|
5670
5694
|
for: `button--${e._.uid}`
|
|
5671
5695
|
}, [
|
|
5672
5696
|
c(e.$slots, "label-left")
|
|
5673
|
-
], 10,
|
|
5697
|
+
], 10, Jl)) : i.labelLeft ? (o(), u("label", {
|
|
5674
5698
|
key: 1,
|
|
5675
5699
|
class: f(["w-slider__label w-slider__label--left w-form-el-shakable", e.labelClasses]),
|
|
5676
5700
|
for: `button--${e._.uid}`,
|
|
5677
5701
|
innerHTML: i.labelLeft
|
|
5678
|
-
}, null, 10,
|
|
5679
|
-
w("div",
|
|
5702
|
+
}, null, 10, Ql)) : p("", !0),
|
|
5703
|
+
w("div", Zl, [
|
|
5680
5704
|
w("div", {
|
|
5681
5705
|
class: f(["w-slider__track", l.trackClasses]),
|
|
5682
5706
|
ref: "track",
|
|
@@ -5713,15 +5737,15 @@ function us(e, t, i, s, n, l) {
|
|
|
5713
5737
|
t[1] || (t[1] = E((a) => l.onKeyDown(a, 1), ["right"]))
|
|
5714
5738
|
],
|
|
5715
5739
|
onFocus: t[2] || (t[2] = (a) => e.$emit("focus", a)),
|
|
5716
|
-
onClick: t[3] || (t[3] =
|
|
5740
|
+
onClick: t[3] || (t[3] = O(() => {
|
|
5717
5741
|
}, ["prevent"]))
|
|
5718
|
-
}, null, 42,
|
|
5742
|
+
}, null, 42, ts),
|
|
5719
5743
|
i.thumbLabel ? (o(), u("label", {
|
|
5720
5744
|
key: 0,
|
|
5721
5745
|
class: f(["w-slider__thumb-label", l.thumbClasses]),
|
|
5722
5746
|
for: `button--${e._.uid}`
|
|
5723
5747
|
}, [
|
|
5724
|
-
i.thumbLabel === "droplet" ? (o(), u("div",
|
|
5748
|
+
i.thumbLabel === "droplet" ? (o(), u("div", ls, [
|
|
5725
5749
|
c(e.$slots, "label", { value: e.rangeValueScaled }, () => [
|
|
5726
5750
|
B(C(~~e.rangeValueScaled), 1)
|
|
5727
5751
|
])
|
|
@@ -5731,10 +5755,10 @@ function us(e, t, i, s, n, l) {
|
|
|
5731
5755
|
}, () => [
|
|
5732
5756
|
B(C(~~e.rangeValueScaled), 1)
|
|
5733
5757
|
])
|
|
5734
|
-
], 10,
|
|
5758
|
+
], 10, is)) : p("", !0)
|
|
5735
5759
|
], 4)
|
|
5736
|
-
], 42,
|
|
5737
|
-
i.stepLabels && i.step ? (o(), u("div",
|
|
5760
|
+
], 42, es),
|
|
5761
|
+
i.stepLabels && i.step ? (o(), u("div", ss, [
|
|
5738
5762
|
w("div", {
|
|
5739
5763
|
class: "w-slider__step-label",
|
|
5740
5764
|
onClick: t[6] || (t[6] = (a) => l.onStepLabelClick(0))
|
|
@@ -5744,7 +5768,7 @@ function us(e, t, i, s, n, l) {
|
|
|
5744
5768
|
key: a,
|
|
5745
5769
|
onClick: (r) => l.onStepLabelClick(a * (100 / l.numberOfSteps)),
|
|
5746
5770
|
style: R(`left: ${a * (100 / l.numberOfSteps)}%`)
|
|
5747
|
-
}, C(l.percentToScaled(a * (100 / l.numberOfSteps))), 13,
|
|
5771
|
+
}, C(l.percentToScaled(a * (100 / l.numberOfSteps))), 13, os))), 128)),
|
|
5748
5772
|
~~l.numberOfSteps !== l.numberOfSteps ? (o(), u("div", {
|
|
5749
5773
|
key: 0,
|
|
5750
5774
|
class: "w-slider__step-label",
|
|
@@ -5759,19 +5783,19 @@ function us(e, t, i, s, n, l) {
|
|
|
5759
5783
|
for: `button--${e._.uid}`
|
|
5760
5784
|
}, [
|
|
5761
5785
|
c(e.$slots, "label-right")
|
|
5762
|
-
], 10,
|
|
5786
|
+
], 10, as)) : i.labelRight ? (o(), u("label", {
|
|
5763
5787
|
key: 3,
|
|
5764
5788
|
class: f(["w-slider__label w-slider__label--right w-form-el-shakable", e.labelClasses]),
|
|
5765
5789
|
for: `button--${e._.uid}`,
|
|
5766
5790
|
innerHTML: i.labelRight
|
|
5767
|
-
}, null, 10,
|
|
5791
|
+
}, null, 10, ns)) : p("", !0)
|
|
5768
5792
|
]),
|
|
5769
5793
|
_: 3
|
|
5770
5794
|
}, 16, ["valid", "wrap", "class"]);
|
|
5771
5795
|
}
|
|
5772
|
-
const
|
|
5796
|
+
const ds = {
|
|
5773
5797
|
name: "w-slider",
|
|
5774
|
-
mixins: [
|
|
5798
|
+
mixins: [M],
|
|
5775
5799
|
props: {
|
|
5776
5800
|
modelValue: { type: Number, default: 0 },
|
|
5777
5801
|
color: { type: String, default: "primary" },
|
|
@@ -5906,17 +5930,17 @@ const hs = {
|
|
|
5906
5930
|
this.rangeValueScaled !== e && (this.rangeValueScaled = e, this.rangeValuePercent = this.scaledToPercent(e));
|
|
5907
5931
|
}
|
|
5908
5932
|
}
|
|
5909
|
-
},
|
|
5910
|
-
function
|
|
5933
|
+
}, us = /* @__PURE__ */ v(ds, [["render", rs]]), hs = { key: 0 };
|
|
5934
|
+
function cs(e, t, i, s, n, l) {
|
|
5911
5935
|
return i.modelValue || i.modelValue === void 0 ? (o(), u("div", {
|
|
5912
5936
|
key: 0,
|
|
5913
5937
|
class: f(["w-spinner", l.classes]),
|
|
5914
5938
|
style: R(l.styles)
|
|
5915
5939
|
}, [
|
|
5916
|
-
l.isThreeDots ? (o(), u("span",
|
|
5940
|
+
l.isThreeDots ? (o(), u("span", hs)) : p("", !0)
|
|
5917
5941
|
], 6)) : p("", !0);
|
|
5918
5942
|
}
|
|
5919
|
-
const
|
|
5943
|
+
const ps = {
|
|
5920
5944
|
name: "w-spinner",
|
|
5921
5945
|
props: {
|
|
5922
5946
|
modelValue: {},
|
|
@@ -5954,13 +5978,13 @@ const ms = {
|
|
|
5954
5978
|
};
|
|
5955
5979
|
}
|
|
5956
5980
|
}
|
|
5957
|
-
},
|
|
5958
|
-
function
|
|
5981
|
+
}, fs = /* @__PURE__ */ v(ps, [["render", cs]]);
|
|
5982
|
+
function ms(e, t, i, s, n, l) {
|
|
5959
5983
|
return o(), u("div", {
|
|
5960
5984
|
class: f(["w-steps", l.classes])
|
|
5961
5985
|
}, null, 2);
|
|
5962
5986
|
}
|
|
5963
|
-
const
|
|
5987
|
+
const gs = {
|
|
5964
5988
|
name: "w-steps",
|
|
5965
5989
|
props: {
|
|
5966
5990
|
dark: { type: Boolean },
|
|
@@ -5976,14 +6000,14 @@ const ys = {
|
|
|
5976
6000
|
};
|
|
5977
6001
|
}
|
|
5978
6002
|
}
|
|
5979
|
-
},
|
|
6003
|
+
}, bs = /* @__PURE__ */ v(gs, [["render", ms]]), ys = ["id", "name", "checked", "disabled", "readonly", "aria-readonly", "required", "tabindex", "aria-checked"], ws = ["for"], ks = {
|
|
5980
6004
|
key: 0,
|
|
5981
6005
|
class: "w-switch__track"
|
|
5982
|
-
},
|
|
6006
|
+
}, vs = {
|
|
5983
6007
|
key: 1,
|
|
5984
6008
|
class: "w-switch__thumb"
|
|
5985
|
-
},
|
|
5986
|
-
function
|
|
6009
|
+
}, Cs = ["for"];
|
|
6010
|
+
function Ss(e, t, i, s, n, l) {
|
|
5987
6011
|
const a = $("w-progress");
|
|
5988
6012
|
return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
|
|
5989
6013
|
valid: e.valid,
|
|
@@ -6011,7 +6035,7 @@ function _s(e, t, i, s, n, l) {
|
|
|
6011
6035
|
onFocus: t[1] || (t[1] = (r) => e.$emit("focus", r)),
|
|
6012
6036
|
"aria-checked": n.isOn || "false",
|
|
6013
6037
|
role: "switch"
|
|
6014
|
-
}), null, 16,
|
|
6038
|
+
}), null, 16, ys),
|
|
6015
6039
|
l.hasLabel && i.labelOnLeft ? (o(), u(k, { key: 0 }, [
|
|
6016
6040
|
e.$slots.default || i.label ? (o(), u("label", {
|
|
6017
6041
|
key: 0,
|
|
@@ -6021,7 +6045,7 @@ function _s(e, t, i, s, n, l) {
|
|
|
6021
6045
|
c(e.$slots, "default", {}, () => [
|
|
6022
6046
|
B(C(i.label), 1)
|
|
6023
6047
|
])
|
|
6024
|
-
], 10,
|
|
6048
|
+
], 10, ws)) : p("", !0)
|
|
6025
6049
|
], 64)) : p("", !0),
|
|
6026
6050
|
w("div", {
|
|
6027
6051
|
class: f(["w-switch__input", l.inputClasses]),
|
|
@@ -6029,10 +6053,10 @@ function _s(e, t, i, s, n, l) {
|
|
|
6029
6053
|
e.$refs.input.focus(), e.$refs.input.click();
|
|
6030
6054
|
})
|
|
6031
6055
|
}, [
|
|
6032
|
-
e.$slots.track ? (o(), u("div",
|
|
6056
|
+
e.$slots.track ? (o(), u("div", ks, [
|
|
6033
6057
|
c(e.$slots, "track")
|
|
6034
6058
|
])) : p("", !0),
|
|
6035
|
-
e.$slots.thumb || i.loading ? (o(), u("div",
|
|
6059
|
+
e.$slots.thumb || i.loading ? (o(), u("div", vs, [
|
|
6036
6060
|
i.loading ? (o(), b(a, _({
|
|
6037
6061
|
key: 0,
|
|
6038
6062
|
circle: "",
|
|
@@ -6049,15 +6073,15 @@ function _s(e, t, i, s, n, l) {
|
|
|
6049
6073
|
c(e.$slots, "default", {}, () => [
|
|
6050
6074
|
B(C(i.label), 1)
|
|
6051
6075
|
])
|
|
6052
|
-
], 10,
|
|
6076
|
+
], 10, Cs)) : p("", !0)
|
|
6053
6077
|
], 64)) : p("", !0)
|
|
6054
6078
|
]),
|
|
6055
6079
|
_: 3
|
|
6056
6080
|
}, 16, ["valid", "class", "style"]);
|
|
6057
6081
|
}
|
|
6058
|
-
const
|
|
6082
|
+
const Bs = {
|
|
6059
6083
|
name: "w-switch",
|
|
6060
|
-
mixins: [
|
|
6084
|
+
mixins: [M],
|
|
6061
6085
|
inheritAttrs: !1,
|
|
6062
6086
|
// The attrs should only be added to the input not the wrapper.
|
|
6063
6087
|
props: {
|
|
@@ -6131,24 +6155,24 @@ const $s = {
|
|
|
6131
6155
|
this.isOn = e;
|
|
6132
6156
|
}
|
|
6133
6157
|
}
|
|
6134
|
-
},
|
|
6135
|
-
function
|
|
6136
|
-
return o(), u("div",
|
|
6158
|
+
}, _s = /* @__PURE__ */ v(Bs, [["render", Ss]]), $s = { class: "w-tabs__content" };
|
|
6159
|
+
function Is(e, t, i, s, n, l) {
|
|
6160
|
+
return o(), u("div", $s, [
|
|
6137
6161
|
c(e.$slots, "default", { item: i.item })
|
|
6138
6162
|
]);
|
|
6139
6163
|
}
|
|
6140
|
-
const
|
|
6164
|
+
const Vs = {
|
|
6141
6165
|
name: "tab-content",
|
|
6142
6166
|
// Keep-alive include/exclude mechanism is component-name-based.
|
|
6143
6167
|
props: { item: Object }
|
|
6144
|
-
},
|
|
6168
|
+
}, Ts = /* @__PURE__ */ v(Vs, [["render", Is]]), Ls = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], Rs = ["innerHTML"], xs = {
|
|
6145
6169
|
key: 0,
|
|
6146
6170
|
class: "w-tabs__bar-extra"
|
|
6147
|
-
},
|
|
6171
|
+
}, Ps = {
|
|
6148
6172
|
key: 0,
|
|
6149
6173
|
class: "w-tabs__content-wrap"
|
|
6150
|
-
}, zs = ["innerHTML"],
|
|
6151
|
-
function
|
|
6174
|
+
}, zs = ["innerHTML"], Os = ["innerHTML"];
|
|
6175
|
+
function Ms(e, t, i, s, n, l) {
|
|
6152
6176
|
const a = $("tab-content");
|
|
6153
6177
|
return o(), u("div", {
|
|
6154
6178
|
class: f(["w-tabs", l.tabsClasses])
|
|
@@ -6180,10 +6204,10 @@ function As(e, t, i, s, n, l) {
|
|
|
6180
6204
|
}, () => [
|
|
6181
6205
|
w("div", {
|
|
6182
6206
|
innerHTML: r[i.itemTitleKey]
|
|
6183
|
-
}, null, 8,
|
|
6207
|
+
}, null, 8, Rs)
|
|
6184
6208
|
])
|
|
6185
|
-
], 42,
|
|
6186
|
-
e.$slots["tabs-bar-extra"] ? (o(), u("div",
|
|
6209
|
+
], 42, Ls))), 128)),
|
|
6210
|
+
e.$slots["tabs-bar-extra"] ? (o(), u("div", xs, [
|
|
6187
6211
|
c(e.$slots, "tabs-bar-extra")
|
|
6188
6212
|
])) : p("", !0),
|
|
6189
6213
|
!i.noSlider && !i.card ? (o(), u("div", {
|
|
@@ -6192,7 +6216,7 @@ function As(e, t, i, s, n, l) {
|
|
|
6192
6216
|
style: R(l.sliderStyles)
|
|
6193
6217
|
}, null, 6)) : p("", !0)
|
|
6194
6218
|
], 2),
|
|
6195
|
-
e.tabs.length ? (o(), u("div",
|
|
6219
|
+
e.tabs.length ? (o(), u("div", Ps, [
|
|
6196
6220
|
i.keepInDom ? (o(), b(ae, {
|
|
6197
6221
|
key: 0,
|
|
6198
6222
|
name: l.transitionName
|
|
@@ -6257,7 +6281,7 @@ function As(e, t, i, s, n, l) {
|
|
|
6257
6281
|
r[i.itemContentKey] ? (o(), u("div", {
|
|
6258
6282
|
key: 0,
|
|
6259
6283
|
innerHTML: r[i.itemContentKey]
|
|
6260
|
-
}, null, 8,
|
|
6284
|
+
}, null, 8, Os)) : p("", !0)
|
|
6261
6285
|
])
|
|
6262
6286
|
], 64)) : p("", !0)
|
|
6263
6287
|
]),
|
|
@@ -6271,7 +6295,7 @@ function As(e, t, i, s, n, l) {
|
|
|
6271
6295
|
], 2);
|
|
6272
6296
|
}
|
|
6273
6297
|
let ye = 0;
|
|
6274
|
-
const
|
|
6298
|
+
const Es = {
|
|
6275
6299
|
name: "w-tabs",
|
|
6276
6300
|
props: {
|
|
6277
6301
|
modelValue: { type: [Number, String] },
|
|
@@ -6297,7 +6321,7 @@ const Ws = {
|
|
|
6297
6321
|
keepAlive: { type: Boolean, default: !0 },
|
|
6298
6322
|
keepInDom: { type: Boolean, default: !1 }
|
|
6299
6323
|
},
|
|
6300
|
-
components: { TabContent:
|
|
6324
|
+
components: { TabContent: Ts },
|
|
6301
6325
|
emits: ["input", "update:modelValue", "focus"],
|
|
6302
6326
|
data: () => ({
|
|
6303
6327
|
tabs: [],
|
|
@@ -6446,64 +6470,64 @@ const Ws = {
|
|
|
6446
6470
|
e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
|
|
6447
6471
|
}
|
|
6448
6472
|
}
|
|
6449
|
-
},
|
|
6473
|
+
}, As = /* @__PURE__ */ v(Es, [["render", Ms]]), Ws = { class: "w-table__scroll-wrap" }, Ks = { ref: "colgroup" }, Ns = ["width"], Ds = { key: 0 }, Hs = ["onClick"], Fs = ["innerHTML"], js = {
|
|
6450
6474
|
key: 0,
|
|
6451
6475
|
class: "w-table__progress-bar"
|
|
6452
|
-
},
|
|
6476
|
+
}, Us = ["colspan"], qs = {
|
|
6453
6477
|
key: 0,
|
|
6454
6478
|
class: "w-table__progress-bar"
|
|
6455
|
-
},
|
|
6479
|
+
}, Xs = ["colspan"], Ys = { class: "w-table__loading-text" }, Gs = {
|
|
6456
6480
|
key: 1,
|
|
6457
6481
|
class: "no-data"
|
|
6458
|
-
},
|
|
6482
|
+
}, Js = ["colspan"], Qs = ["onClick"], Zs = ["data-label"], eo = ["data-label"], to = ["innerHTML"], io = {
|
|
6459
6483
|
key: 2,
|
|
6460
6484
|
class: "w-table__row w-table__row--expansion"
|
|
6461
|
-
},
|
|
6485
|
+
}, lo = ["colspan"], so = { key: 0 }, oo = {
|
|
6462
6486
|
key: 3,
|
|
6463
6487
|
class: "w-table__extra-row"
|
|
6464
|
-
},
|
|
6488
|
+
}, ao = {
|
|
6465
6489
|
key: 1,
|
|
6466
6490
|
class: "w-table__footer"
|
|
6467
|
-
},
|
|
6491
|
+
}, no = {
|
|
6468
6492
|
key: 1,
|
|
6469
6493
|
class: "w-table__row"
|
|
6470
|
-
},
|
|
6494
|
+
}, ro = ["colspan"], uo = {
|
|
6471
6495
|
key: 0,
|
|
6472
6496
|
class: "w-table__pagination w-pagination"
|
|
6473
|
-
},
|
|
6474
|
-
function
|
|
6497
|
+
}, ho = { class: "pages-wrap" }, co = { class: "w-pagination__results" };
|
|
6498
|
+
function po(e, t, i, s, n, l) {
|
|
6475
6499
|
const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), S = $("w-button");
|
|
6476
6500
|
return o(), u("div", {
|
|
6477
6501
|
class: f(["w-table w-table--wrap", l.classes])
|
|
6478
6502
|
}, [
|
|
6479
|
-
w("div",
|
|
6503
|
+
w("div", Ws, [
|
|
6480
6504
|
w("table", {
|
|
6481
6505
|
class: "w-table__table",
|
|
6482
6506
|
onMousedown: t[1] || (t[1] = (...g) => l.onMouseDown && l.onMouseDown(...g)),
|
|
6483
6507
|
onMouseover: t[2] || (t[2] = (...g) => l.onMouseOver && l.onMouseOver(...g)),
|
|
6484
6508
|
onMouseout: t[3] || (t[3] = (...g) => l.onMouseOut && l.onMouseOut(...g))
|
|
6485
6509
|
}, [
|
|
6486
|
-
w("colgroup",
|
|
6487
|
-
(o(!0), u(k, null, x(i.headers, (g,
|
|
6488
|
-
class: f(["w-table__col", l.colClasses[
|
|
6489
|
-
key:
|
|
6510
|
+
w("colgroup", Ks, [
|
|
6511
|
+
(o(!0), u(k, null, x(i.headers, (g, V) => (o(), u("col", {
|
|
6512
|
+
class: f(["w-table__col", l.colClasses[V]]),
|
|
6513
|
+
key: V,
|
|
6490
6514
|
width: g.width || null
|
|
6491
|
-
}, null, 10,
|
|
6515
|
+
}, null, 10, Ns))), 128))
|
|
6492
6516
|
], 512),
|
|
6493
|
-
i.noHeaders ? p("", !0) : (o(), u("thead",
|
|
6517
|
+
i.noHeaders ? p("", !0) : (o(), u("thead", Ds, [
|
|
6494
6518
|
w("tr", null, [
|
|
6495
|
-
(o(!0), u(k, null, x(i.headers, (g,
|
|
6519
|
+
(o(!0), u(k, null, x(i.headers, (g, V) => (o(), u("th", {
|
|
6496
6520
|
class: f(["w-table__header", l.headerClasses(g)]),
|
|
6497
|
-
key:
|
|
6498
|
-
onClick: (
|
|
6521
|
+
key: V,
|
|
6522
|
+
onClick: (I) => !e.colResizing.dragging && g.sortable !== !1 && l.sortTable(g)
|
|
6499
6523
|
}, [
|
|
6500
6524
|
g.sortable !== !1 && g.align === "right" ? (o(), b(a, {
|
|
6501
6525
|
key: 0,
|
|
6502
6526
|
class: f(["w-table__header-sort", l.headerSortClasses(g)])
|
|
6503
6527
|
}, {
|
|
6504
|
-
default: m(() => [
|
|
6528
|
+
default: m(() => t[8] || (t[8] = [
|
|
6505
6529
|
B("wi-arrow-down")
|
|
6506
|
-
]),
|
|
6530
|
+
])),
|
|
6507
6531
|
_: 2
|
|
6508
6532
|
}, 1032, ["class"])) : p("", !0),
|
|
6509
6533
|
g.label ? (o(), u(k, { key: 1 }, [
|
|
@@ -6511,162 +6535,162 @@ function mo(e, t, i, s, n, l) {
|
|
|
6511
6535
|
key: 0,
|
|
6512
6536
|
header: g,
|
|
6513
6537
|
label: g.label,
|
|
6514
|
-
index:
|
|
6538
|
+
index: V + 1
|
|
6515
6539
|
}, () => [
|
|
6516
6540
|
B(C(g.label || ""), 1)
|
|
6517
6541
|
]) : (o(), u("span", {
|
|
6518
6542
|
key: 1,
|
|
6519
6543
|
innerHTML: g.label || ""
|
|
6520
|
-
}, null, 8,
|
|
6544
|
+
}, null, 8, Fs))
|
|
6521
6545
|
], 64)) : p("", !0),
|
|
6522
6546
|
g.sortable !== !1 && g.align !== "right" ? (o(), b(a, {
|
|
6523
6547
|
key: 2,
|
|
6524
6548
|
class: f(["w-table__header-sort", l.headerSortClasses(g)])
|
|
6525
6549
|
}, {
|
|
6526
|
-
default: m(() => [
|
|
6550
|
+
default: m(() => t[9] || (t[9] = [
|
|
6527
6551
|
B("wi-arrow-down")
|
|
6528
|
-
]),
|
|
6552
|
+
])),
|
|
6529
6553
|
_: 2
|
|
6530
6554
|
}, 1032, ["class"])) : p("", !0),
|
|
6531
|
-
|
|
6555
|
+
V < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
|
|
6532
6556
|
key: 3,
|
|
6533
|
-
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover ===
|
|
6534
|
-
onClick: t[0] || (t[0] =
|
|
6557
|
+
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === V, "w-table__col-resizer--active": e.colResizing.columnIndex === V }]),
|
|
6558
|
+
onClick: t[0] || (t[0] = O(() => {
|
|
6535
6559
|
}, ["stop"]))
|
|
6536
6560
|
}, null, 2)) : p("", !0)
|
|
6537
|
-
], 10,
|
|
6561
|
+
], 10, Hs))), 128))
|
|
6538
6562
|
]),
|
|
6539
6563
|
T(d, null, {
|
|
6540
6564
|
default: m(() => [
|
|
6541
|
-
i.loading === "header" ? (o(), u("tr",
|
|
6565
|
+
i.loading === "header" ? (o(), u("tr", js, [
|
|
6542
6566
|
w("td", {
|
|
6543
6567
|
colspan: i.headers.length
|
|
6544
6568
|
}, [
|
|
6545
6569
|
T(r, { tile: "" })
|
|
6546
|
-
], 8,
|
|
6570
|
+
], 8, Us)
|
|
6547
6571
|
])) : p("", !0)
|
|
6548
6572
|
]),
|
|
6549
6573
|
_: 1
|
|
6550
6574
|
})
|
|
6551
6575
|
])),
|
|
6552
6576
|
w("tbody", null, [
|
|
6553
|
-
i.loading === !0 ? (o(), u("tr",
|
|
6577
|
+
i.loading === !0 ? (o(), u("tr", qs, [
|
|
6554
6578
|
w("td", {
|
|
6555
6579
|
colspan: i.headers.length
|
|
6556
6580
|
}, [
|
|
6557
6581
|
T(r, { tile: "" }),
|
|
6558
|
-
w("div",
|
|
6582
|
+
w("div", Ys, [
|
|
6559
6583
|
c(e.$slots, "loading", {}, () => [
|
|
6560
|
-
B("Loading...")
|
|
6584
|
+
t[10] || (t[10] = B("Loading..."))
|
|
6561
6585
|
])
|
|
6562
6586
|
])
|
|
6563
|
-
], 8,
|
|
6564
|
-
])) : l.tableItems.length ? p("", !0) : (o(), u("tr",
|
|
6587
|
+
], 8, Xs)
|
|
6588
|
+
])) : l.tableItems.length ? p("", !0) : (o(), u("tr", Gs, [
|
|
6565
6589
|
w("td", {
|
|
6566
6590
|
class: "w-table__cell text-center",
|
|
6567
6591
|
colspan: i.headers.length
|
|
6568
6592
|
}, [
|
|
6569
6593
|
c(e.$slots, "no-data", {}, () => [
|
|
6570
|
-
B("No data to show.")
|
|
6594
|
+
t[11] || (t[11] = B("No data to show."))
|
|
6571
6595
|
])
|
|
6572
|
-
], 8,
|
|
6596
|
+
], 8, Js)
|
|
6573
6597
|
])),
|
|
6574
|
-
l.tableItems.length && i.loading !== !0 ? (o(!0), u(k, { key: 2 }, x(l.paginatedItems, (g,
|
|
6598
|
+
l.tableItems.length && i.loading !== !0 ? (o(!0), u(k, { key: 2 }, x(l.paginatedItems, (g, V) => (o(), u(k, { key: V }, [
|
|
6575
6599
|
e.$slots.item ? c(e.$slots, "item", {
|
|
6576
6600
|
key: 0,
|
|
6577
6601
|
item: g,
|
|
6578
|
-
index:
|
|
6579
|
-
select: () => l.doSelectRow(g,
|
|
6602
|
+
index: V + 1,
|
|
6603
|
+
select: () => l.doSelectRow(g, V),
|
|
6580
6604
|
classes: { "w-table__row": !0, "w-table__row--selected": l.selectedRowsByUid[g._uid] !== void 0, "w-table__row--expanded": l.expandedRowsByUid[g._uid] !== void 0 }
|
|
6581
6605
|
}) : (o(), u("tr", {
|
|
6582
6606
|
key: 1,
|
|
6583
6607
|
class: f(["w-table__row", { "w-table__row--selected": l.selectedRowsByUid[g._uid] !== void 0, "w-table__row--expanded": l.expandedRowsByUid[g._uid] !== void 0 }]),
|
|
6584
|
-
onClick: (
|
|
6608
|
+
onClick: (I) => l.doSelectRow(g, V)
|
|
6585
6609
|
}, [
|
|
6586
|
-
(o(!0), u(k, null, x(i.headers, (
|
|
6587
|
-
e.$slots[`item-cell.${
|
|
6588
|
-
class: f(["w-table__cell", { [`text-${
|
|
6589
|
-
key: `${
|
|
6590
|
-
"data-label":
|
|
6610
|
+
(o(!0), u(k, null, x(i.headers, (I, z) => (o(), u(k, null, [
|
|
6611
|
+
e.$slots[`item-cell.${I.key}`] || e.$slots[`item-cell.${z + 1}`] || e.$slots["item-cell"] ? (o(), u("td", {
|
|
6612
|
+
class: f(["w-table__cell", { [`text-${I.align || "left"}`]: !0, "w-table__cell--sticky": I.sticky }]),
|
|
6613
|
+
key: `${z}-a`,
|
|
6614
|
+
"data-label": I.label
|
|
6591
6615
|
}, [
|
|
6592
|
-
e.$slots[`item-cell.${
|
|
6616
|
+
e.$slots[`item-cell.${I.key}`] ? c(e.$slots, `item-cell.${I.key}`, {
|
|
6593
6617
|
key: 0,
|
|
6594
|
-
header:
|
|
6618
|
+
header: I,
|
|
6595
6619
|
item: g,
|
|
6596
|
-
label: g[
|
|
6597
|
-
index:
|
|
6598
|
-
}) : e.$slots[`item-cell.${
|
|
6620
|
+
label: g[I.key] || "",
|
|
6621
|
+
index: V + 1
|
|
6622
|
+
}) : e.$slots[`item-cell.${z + 1}`] ? c(e.$slots, `item-cell.${z + 1}`, {
|
|
6599
6623
|
key: 1,
|
|
6600
|
-
header:
|
|
6624
|
+
header: I,
|
|
6601
6625
|
item: g,
|
|
6602
|
-
label: g[
|
|
6603
|
-
index:
|
|
6626
|
+
label: g[I.key] || "",
|
|
6627
|
+
index: V + 1
|
|
6604
6628
|
}) : e.$slots["item-cell"] ? c(e.$slots, "item-cell", {
|
|
6605
6629
|
key: 2,
|
|
6606
|
-
header:
|
|
6630
|
+
header: I,
|
|
6607
6631
|
item: g,
|
|
6608
|
-
label: g[
|
|
6609
|
-
index:
|
|
6632
|
+
label: g[I.key] || "",
|
|
6633
|
+
index: V + 1
|
|
6610
6634
|
}) : p("", !0),
|
|
6611
|
-
|
|
6635
|
+
z < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
|
|
6612
6636
|
key: 3,
|
|
6613
|
-
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover ===
|
|
6637
|
+
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === z, "w-table__col-resizer--active": e.colResizing.columnIndex === z }])
|
|
6614
6638
|
}, null, 2)) : p("", !0)
|
|
6615
|
-
], 10,
|
|
6616
|
-
class: f(["w-table__cell", { [`text-${
|
|
6617
|
-
key: `${
|
|
6618
|
-
"data-label":
|
|
6639
|
+
], 10, Zs)) : (o(), u("td", {
|
|
6640
|
+
class: f(["w-table__cell", { [`text-${I.align || "left"}`]: !0, "w-table__cell--sticky": I.sticky }]),
|
|
6641
|
+
key: `${z}-b`,
|
|
6642
|
+
"data-label": I.label
|
|
6619
6643
|
}, [
|
|
6620
6644
|
w("div", {
|
|
6621
|
-
innerHTML: g[
|
|
6622
|
-
}, null, 8,
|
|
6623
|
-
|
|
6645
|
+
innerHTML: g[I.key] || ""
|
|
6646
|
+
}, null, 8, to),
|
|
6647
|
+
z < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
|
|
6624
6648
|
key: 0,
|
|
6625
|
-
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover ===
|
|
6649
|
+
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === z, "w-table__col-resizer--active": e.colResizing.columnIndex === z }])
|
|
6626
6650
|
}, null, 2)) : p("", !0)
|
|
6627
|
-
], 10,
|
|
6651
|
+
], 10, eo))
|
|
6628
6652
|
], 64))), 256))
|
|
6629
|
-
], 10,
|
|
6630
|
-
l.expandedRowsByUid[g._uid] ? (o(), u("tr",
|
|
6653
|
+
], 10, Qs)),
|
|
6654
|
+
l.expandedRowsByUid[g._uid] ? (o(), u("tr", io, [
|
|
6631
6655
|
w("td", {
|
|
6632
6656
|
class: "w-table__cell",
|
|
6633
6657
|
colspan: i.headers.length
|
|
6634
6658
|
}, [
|
|
6635
6659
|
T(h, { y: "" }, {
|
|
6636
6660
|
default: m(() => [
|
|
6637
|
-
l.expandedRowsByUid[g._uid] ? (o(), u("div",
|
|
6661
|
+
l.expandedRowsByUid[g._uid] ? (o(), u("div", so, [
|
|
6638
6662
|
c(e.$slots, "row-expansion", {
|
|
6639
6663
|
item: g,
|
|
6640
|
-
index:
|
|
6664
|
+
index: V + 1
|
|
6641
6665
|
})
|
|
6642
6666
|
])) : p("", !0),
|
|
6643
|
-
|
|
6667
|
+
V < i.headers.length - 1 && i.resizableColumns ? (o(), u("span", {
|
|
6644
6668
|
key: 1,
|
|
6645
|
-
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover ===
|
|
6669
|
+
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === V, "w-table__col-resizer--active": e.colResizing.columnIndex === e.j }])
|
|
6646
6670
|
}, null, 2)) : p("", !0)
|
|
6647
6671
|
]),
|
|
6648
6672
|
_: 2
|
|
6649
6673
|
}, 1024)
|
|
6650
|
-
], 8,
|
|
6674
|
+
], 8, lo)
|
|
6651
6675
|
])) : p("", !0)
|
|
6652
6676
|
], 64))), 128)) : p("", !0),
|
|
6653
|
-
e.$slots["extra-row"] ? (o(), u("div",
|
|
6677
|
+
e.$slots["extra-row"] ? (o(), u("div", oo, [
|
|
6654
6678
|
c(e.$slots, "extra-row")
|
|
6655
6679
|
])) : p("", !0)
|
|
6656
6680
|
]),
|
|
6657
|
-
e.$slots.footer || e.$slots["footer-row"] ? (o(), u("tfoot",
|
|
6658
|
-
e.$slots["footer-row"] ? c(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (o(), u("tr",
|
|
6681
|
+
e.$slots.footer || e.$slots["footer-row"] ? (o(), u("tfoot", ao, [
|
|
6682
|
+
e.$slots["footer-row"] ? c(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (o(), u("tr", no, [
|
|
6659
6683
|
w("td", {
|
|
6660
6684
|
class: "w-table__cell",
|
|
6661
6685
|
colspan: i.headers.length
|
|
6662
6686
|
}, [
|
|
6663
6687
|
c(e.$slots, "footer")
|
|
6664
|
-
], 8,
|
|
6688
|
+
], 8, ro)
|
|
6665
6689
|
])) : p("", !0)
|
|
6666
6690
|
])) : p("", !0)
|
|
6667
6691
|
], 32)
|
|
6668
6692
|
]),
|
|
6669
|
-
i.pagination && e.paginationConfig ? (o(), u("div",
|
|
6693
|
+
i.pagination && e.paginationConfig ? (o(), u("div", uo, [
|
|
6670
6694
|
c(e.$slots, "pagination", {
|
|
6671
6695
|
range: `${e.paginationConfig.start}-${e.paginationConfig.end}`,
|
|
6672
6696
|
total: e.paginationConfig.total,
|
|
@@ -6685,7 +6709,7 @@ function mo(e, t, i, s, n, l) {
|
|
|
6685
6709
|
label: "Items per page",
|
|
6686
6710
|
"label-color": "inherit"
|
|
6687
6711
|
}, null, 8, ["modelValue", "items"])) : p("", !0),
|
|
6688
|
-
w("div",
|
|
6712
|
+
w("div", ho, [
|
|
6689
6713
|
T(S, {
|
|
6690
6714
|
class: "w-pagination__arrow w-pagination__arrow--prev",
|
|
6691
6715
|
onClick: t[6] || (t[6] = (g) => l.goToPage("-1")),
|
|
@@ -6698,7 +6722,7 @@ function mo(e, t, i, s, n, l) {
|
|
|
6698
6722
|
[1, e.paginationConfig.pagesCount, e.paginationConfig.page - 1, e.paginationConfig.page, e.paginationConfig.page + 1].includes(g) ? (o(), b(S, {
|
|
6699
6723
|
key: 0,
|
|
6700
6724
|
class: f(["w-pagination__page", { "w-pagination__page--active": g === e.paginationConfig.page }]),
|
|
6701
|
-
onClick: (
|
|
6725
|
+
onClick: (V) => g !== e.paginationConfig.page && l.goToPage(g),
|
|
6702
6726
|
round: "",
|
|
6703
6727
|
lg: ""
|
|
6704
6728
|
}, {
|
|
@@ -6709,19 +6733,19 @@ function mo(e, t, i, s, n, l) {
|
|
|
6709
6733
|
}, 1032, ["onClick", "class"])) : [1, e.paginationConfig.pagesCount, e.paginationConfig.page - 1, e.paginationConfig.page, e.paginationConfig.page + 1].includes(g - 1) ? (o(), b(S, {
|
|
6710
6734
|
key: 1,
|
|
6711
6735
|
class: f(["w-pagination__page", { "w-pagination__page--active": g === e.paginationConfig.page }]),
|
|
6712
|
-
onClick: (
|
|
6736
|
+
onClick: (V) => g !== e.paginationConfig.page && l.goToPage(g),
|
|
6713
6737
|
round: "",
|
|
6714
6738
|
lg: ""
|
|
6715
6739
|
}, {
|
|
6716
|
-
default: m(() => [
|
|
6740
|
+
default: m(() => t[12] || (t[12] = [
|
|
6717
6741
|
B("...")
|
|
6718
|
-
]),
|
|
6742
|
+
])),
|
|
6719
6743
|
_: 2
|
|
6720
6744
|
}, 1032, ["onClick", "class"])) : p("", !0)
|
|
6721
6745
|
], 64))), 128)) : (o(!0), u(k, { key: 1 }, x(e.paginationConfig.pagesCount, (g) => (o(), b(S, {
|
|
6722
6746
|
class: f(["w-pagination__page", { "w-pagination__page--active": g === e.paginationConfig.page }]),
|
|
6723
6747
|
key: g,
|
|
6724
|
-
onClick: (
|
|
6748
|
+
onClick: (V) => g !== e.paginationConfig.page && l.goToPage(g),
|
|
6725
6749
|
round: "",
|
|
6726
6750
|
lg: ""
|
|
6727
6751
|
}, {
|
|
@@ -6739,12 +6763,12 @@ function mo(e, t, i, s, n, l) {
|
|
|
6739
6763
|
lg: ""
|
|
6740
6764
|
}, null, 8, ["disabled"])
|
|
6741
6765
|
]),
|
|
6742
|
-
w("span",
|
|
6766
|
+
w("span", co, C(e.paginationConfig.start) + "-" + C(e.paginationConfig.end || e.paginationConfig.total) + " of " + C(e.paginationConfig.total), 1)
|
|
6743
6767
|
])
|
|
6744
6768
|
])) : p("", !0)
|
|
6745
6769
|
], 2);
|
|
6746
6770
|
}
|
|
6747
|
-
const we = 15,
|
|
6771
|
+
const we = 15, fo = {
|
|
6748
6772
|
name: "w-table",
|
|
6749
6773
|
props: {
|
|
6750
6774
|
items: { type: Array, required: !0 },
|
|
@@ -7073,8 +7097,8 @@ const we = 15, go = {
|
|
|
7073
7097
|
this.updatePaginationConfig({ total: e });
|
|
7074
7098
|
}
|
|
7075
7099
|
}
|
|
7076
|
-
},
|
|
7077
|
-
function
|
|
7100
|
+
}, mo = /* @__PURE__ */ v(fo, [["render", po]]), go = ["role", "aria-pressed", "tabindex"];
|
|
7101
|
+
function bo(e, t, i, s, n, l) {
|
|
7078
7102
|
return o(), u("span", {
|
|
7079
7103
|
class: f(["w-tag", l.classes]),
|
|
7080
7104
|
onClick: t[1] || (t[1] = (a) => {
|
|
@@ -7092,15 +7116,15 @@ function wo(e, t, i, s, n, l) {
|
|
|
7092
7116
|
i.closable && i.modelValue ? (o(), u("i", {
|
|
7093
7117
|
key: 0,
|
|
7094
7118
|
class: "w-icon w-tag__closable wi-cross",
|
|
7095
|
-
onClick: t[0] || (t[0] =
|
|
7119
|
+
onClick: t[0] || (t[0] = O((a) => {
|
|
7096
7120
|
e.$emit("update:modelValue", !1), e.$emit("input", !1);
|
|
7097
7121
|
}, ["stop"])),
|
|
7098
7122
|
role: "icon",
|
|
7099
7123
|
"aria-hidden": "true"
|
|
7100
7124
|
})) : p("", !0)
|
|
7101
|
-
], 46,
|
|
7125
|
+
], 46, go);
|
|
7102
7126
|
}
|
|
7103
|
-
const
|
|
7127
|
+
const yo = {
|
|
7104
7128
|
name: "w-tag",
|
|
7105
7129
|
props: {
|
|
7106
7130
|
modelValue: { type: [Boolean, Number], default: -1 },
|
|
@@ -7149,8 +7173,8 @@ const ko = {
|
|
|
7149
7173
|
};
|
|
7150
7174
|
}
|
|
7151
7175
|
}
|
|
7152
|
-
},
|
|
7153
|
-
function
|
|
7176
|
+
}, wo = /* @__PURE__ */ v(yo, [["render", bo]]), ko = ["for"], vo = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], Co = ["for"];
|
|
7177
|
+
function So(e, t, i, s, n, l) {
|
|
7154
7178
|
const a = $("w-icon");
|
|
7155
7179
|
return o(), b(L(e.formRegister ? "w-form-element" : "div"), _({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
|
|
7156
7180
|
valid: e.valid,
|
|
@@ -7172,7 +7196,7 @@ function _o(e, t, i, s, n, l) {
|
|
|
7172
7196
|
c(e.$slots, "default", {}, () => [
|
|
7173
7197
|
B(C(i.label), 1)
|
|
7174
7198
|
])
|
|
7175
|
-
], 10,
|
|
7199
|
+
], 10, ko)) : p("", !0)
|
|
7176
7200
|
], 64)) : p("", !0),
|
|
7177
7201
|
w("div", {
|
|
7178
7202
|
class: f(["w-textarea__textarea-wrap", l.inputWrapClasses])
|
|
@@ -7211,7 +7235,7 @@ function _o(e, t, i, s, n, l) {
|
|
|
7211
7235
|
disabled: e.isDisabled || null,
|
|
7212
7236
|
required: e.required || null,
|
|
7213
7237
|
tabindex: e.tabindex || null
|
|
7214
|
-
}), null, 16,
|
|
7238
|
+
}), null, 16, vo), [
|
|
7215
7239
|
[ve, n.inputValue]
|
|
7216
7240
|
]),
|
|
7217
7241
|
i.labelPosition === "inside" && l.showLabelInside ? (o(), u(k, { key: 0 }, [
|
|
@@ -7250,15 +7274,15 @@ function _o(e, t, i, s, n, l) {
|
|
|
7250
7274
|
c(e.$slots, "default", {}, () => [
|
|
7251
7275
|
B(C(i.label), 1)
|
|
7252
7276
|
])
|
|
7253
|
-
], 10,
|
|
7277
|
+
], 10, Co)) : p("", !0)
|
|
7254
7278
|
], 64)) : p("", !0)
|
|
7255
7279
|
]),
|
|
7256
7280
|
_: 3
|
|
7257
7281
|
}, 16, ["valid", "wrap", "class", "style"]);
|
|
7258
7282
|
}
|
|
7259
|
-
const
|
|
7283
|
+
const Bo = {
|
|
7260
7284
|
name: "w-textarea",
|
|
7261
|
-
mixins: [
|
|
7285
|
+
mixins: [M],
|
|
7262
7286
|
inheritAttrs: !1,
|
|
7263
7287
|
// The attrs should only be added to the textarea not the wrapper.
|
|
7264
7288
|
props: {
|
|
@@ -7382,8 +7406,8 @@ const $o = {
|
|
|
7382
7406
|
e ? this.getLineHeight() : this.height = null;
|
|
7383
7407
|
}
|
|
7384
7408
|
}
|
|
7385
|
-
},
|
|
7386
|
-
function
|
|
7409
|
+
}, _o = /* @__PURE__ */ v(Bo, [["render", So]]), $o = ["innerHTML"], Io = ["innerHTML"];
|
|
7410
|
+
function Vo(e, t, i, s, n, l) {
|
|
7387
7411
|
return o(), u("ul", {
|
|
7388
7412
|
class: f(["w-timeline", l.classes])
|
|
7389
7413
|
}, [
|
|
@@ -7411,16 +7435,16 @@ function Lo(e, t, i, s, n, l) {
|
|
|
7411
7435
|
w("div", {
|
|
7412
7436
|
class: f(["w-timeline-item__title", { [a[i.itemColorKey] || i.color]: a[i.itemColorKey] || i.color }]),
|
|
7413
7437
|
innerHTML: a[i.itemTitleKey]
|
|
7414
|
-
}, null, 10,
|
|
7438
|
+
}, null, 10, $o),
|
|
7415
7439
|
w("div", {
|
|
7416
7440
|
class: "w-timeline-item__content",
|
|
7417
7441
|
innerHTML: a[i.itemContentKey]
|
|
7418
|
-
}, null, 8,
|
|
7442
|
+
}, null, 8, Io)
|
|
7419
7443
|
])
|
|
7420
7444
|
]))), 128))
|
|
7421
7445
|
], 2);
|
|
7422
7446
|
}
|
|
7423
|
-
const
|
|
7447
|
+
const To = {
|
|
7424
7448
|
name: "w-timeline",
|
|
7425
7449
|
props: {
|
|
7426
7450
|
items: { type: [Array, Number], required: !0 },
|
|
@@ -7442,8 +7466,8 @@ const Ro = {
|
|
|
7442
7466
|
};
|
|
7443
7467
|
}
|
|
7444
7468
|
}
|
|
7445
|
-
},
|
|
7446
|
-
function
|
|
7469
|
+
}, Lo = /* @__PURE__ */ v(To, [["render", Vo]]);
|
|
7470
|
+
function Ro(e, t, i, s, n, l) {
|
|
7447
7471
|
return o(), u("div", {
|
|
7448
7472
|
class: f(["w-toolbar", l.classes]),
|
|
7449
7473
|
style: R(l.styles)
|
|
@@ -7451,7 +7475,7 @@ function Po(e, t, i, s, n, l) {
|
|
|
7451
7475
|
c(e.$slots, "default")
|
|
7452
7476
|
], 6);
|
|
7453
7477
|
}
|
|
7454
|
-
const
|
|
7478
|
+
const xo = {
|
|
7455
7479
|
name: "w-toolbar",
|
|
7456
7480
|
props: {
|
|
7457
7481
|
color: { type: String },
|
|
@@ -7502,7 +7526,7 @@ const Oo = {
|
|
|
7502
7526
|
};
|
|
7503
7527
|
}
|
|
7504
7528
|
}
|
|
7505
|
-
},
|
|
7529
|
+
}, Po = /* @__PURE__ */ v(xo, [["render", Ro]]);
|
|
7506
7530
|
function zo(e, t, i, s, n, l) {
|
|
7507
7531
|
return o(), u(k, null, [
|
|
7508
7532
|
c(e.$slots, "activator", { on: l.activatorEventHandlers }),
|
|
@@ -7524,7 +7548,7 @@ function zo(e, t, i, s, n, l) {
|
|
|
7524
7548
|
}, 8, ["name"])
|
|
7525
7549
|
], 64);
|
|
7526
7550
|
}
|
|
7527
|
-
const
|
|
7551
|
+
const Oo = {
|
|
7528
7552
|
name: "w-tooltip",
|
|
7529
7553
|
mixins: [Be],
|
|
7530
7554
|
props: {
|
|
@@ -7660,8 +7684,8 @@ const Eo = {
|
|
|
7660
7684
|
}
|
|
7661
7685
|
}
|
|
7662
7686
|
// watch, mounted & beforeDestroy hooks are set in the detachable.js mixin.
|
|
7663
|
-
},
|
|
7664
|
-
function
|
|
7687
|
+
}, Mo = /* @__PURE__ */ v(Oo, [["render", zo]]);
|
|
7688
|
+
function Eo(e, t, i, s, n, l) {
|
|
7665
7689
|
return o(), b(P, _({ name: "bounce" }, e.$props), {
|
|
7666
7690
|
default: m(() => [
|
|
7667
7691
|
c(e.$slots, "default")
|
|
@@ -7669,14 +7693,14 @@ function Wo(e, t, i, s, n, l) {
|
|
|
7669
7693
|
_: 3
|
|
7670
7694
|
}, 16);
|
|
7671
7695
|
}
|
|
7672
|
-
const
|
|
7696
|
+
const Ao = {
|
|
7673
7697
|
name: "w-transition-bounce",
|
|
7674
7698
|
props: {
|
|
7675
7699
|
appear: { type: Boolean },
|
|
7676
7700
|
duration: { type: [Number, String] }
|
|
7677
7701
|
}
|
|
7678
|
-
},
|
|
7679
|
-
function
|
|
7702
|
+
}, Wo = /* @__PURE__ */ v(Ao, [["render", Eo]]);
|
|
7703
|
+
function Ko(e, t, i, s, n, l) {
|
|
7680
7704
|
return o(), b(P, {
|
|
7681
7705
|
name: "expand",
|
|
7682
7706
|
mode: "out-in",
|
|
@@ -7697,7 +7721,7 @@ function Do(e, t, i, s, n, l) {
|
|
|
7697
7721
|
_: 3
|
|
7698
7722
|
}, 8, ["onBeforeAppear", "onAppear", "onAfterAppear", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"]);
|
|
7699
7723
|
}
|
|
7700
|
-
const
|
|
7724
|
+
const No = {
|
|
7701
7725
|
name: "w-transition-expand",
|
|
7702
7726
|
props: {
|
|
7703
7727
|
x: { type: Boolean },
|
|
@@ -7787,8 +7811,8 @@ const Ho = {
|
|
|
7787
7811
|
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;
|
|
7788
7812
|
}
|
|
7789
7813
|
}
|
|
7790
|
-
},
|
|
7791
|
-
function
|
|
7814
|
+
}, Do = /* @__PURE__ */ v(No, [["render", Ko]]);
|
|
7815
|
+
function Ho(e, t, i, s, n, l) {
|
|
7792
7816
|
return o(), b(P, _({ name: "fade" }, e.$props), {
|
|
7793
7817
|
default: m(() => [
|
|
7794
7818
|
c(e.$slots, "default")
|
|
@@ -7796,14 +7820,14 @@ function jo(e, t, i, s, n, l) {
|
|
|
7796
7820
|
_: 3
|
|
7797
7821
|
}, 16);
|
|
7798
7822
|
}
|
|
7799
|
-
const
|
|
7823
|
+
const Fo = {
|
|
7800
7824
|
name: "w-transition-fade",
|
|
7801
7825
|
props: {
|
|
7802
7826
|
appear: { type: Boolean },
|
|
7803
7827
|
duration: { type: [Number, String] }
|
|
7804
7828
|
}
|
|
7805
|
-
},
|
|
7806
|
-
function
|
|
7829
|
+
}, jo = /* @__PURE__ */ v(Fo, [["render", Ho]]);
|
|
7830
|
+
function Uo(e, t, i, s, n, l) {
|
|
7807
7831
|
return o(), b(P, _({ name: "scale" }, e.$props), {
|
|
7808
7832
|
default: m(() => [
|
|
7809
7833
|
c(e.$slots, "default")
|
|
@@ -7811,14 +7835,14 @@ function Xo(e, t, i, s, n, l) {
|
|
|
7811
7835
|
_: 3
|
|
7812
7836
|
}, 16);
|
|
7813
7837
|
}
|
|
7814
|
-
const
|
|
7838
|
+
const qo = {
|
|
7815
7839
|
name: "w-transition-scale",
|
|
7816
7840
|
props: {
|
|
7817
7841
|
appear: { type: Boolean },
|
|
7818
7842
|
duration: { type: [Number, String] }
|
|
7819
7843
|
}
|
|
7820
|
-
},
|
|
7821
|
-
function
|
|
7844
|
+
}, Xo = /* @__PURE__ */ v(qo, [["render", Uo]]);
|
|
7845
|
+
function Yo(e, t, i, s, n, l) {
|
|
7822
7846
|
return o(), b(P, _({ name: "scale-fade" }, e.$props), {
|
|
7823
7847
|
default: m(() => [
|
|
7824
7848
|
c(e.$slots, "default")
|
|
@@ -7826,14 +7850,14 @@ function Jo(e, t, i, s, n, l) {
|
|
|
7826
7850
|
_: 3
|
|
7827
7851
|
}, 16);
|
|
7828
7852
|
}
|
|
7829
|
-
const
|
|
7853
|
+
const Go = {
|
|
7830
7854
|
name: "w-transition-scale-fade",
|
|
7831
7855
|
props: {
|
|
7832
7856
|
appear: { type: Boolean },
|
|
7833
7857
|
duration: { type: [Number, String] }
|
|
7834
7858
|
}
|
|
7835
|
-
},
|
|
7836
|
-
function
|
|
7859
|
+
}, Jo = /* @__PURE__ */ v(Go, [["render", Yo]]);
|
|
7860
|
+
function Qo(e, t, i, s, n, l) {
|
|
7837
7861
|
return o(), b(P, _({ name: l.transitionName }, e.$props), {
|
|
7838
7862
|
default: m(() => [
|
|
7839
7863
|
c(e.$slots, "default")
|
|
@@ -7841,7 +7865,7 @@ function ea(e, t, i, s, n, l) {
|
|
|
7841
7865
|
_: 3
|
|
7842
7866
|
}, 16, ["name"]);
|
|
7843
7867
|
}
|
|
7844
|
-
const
|
|
7868
|
+
const Zo = {
|
|
7845
7869
|
name: "w-transition-slide",
|
|
7846
7870
|
props: {
|
|
7847
7871
|
appear: { type: Boolean },
|
|
@@ -7859,8 +7883,8 @@ const ta = {
|
|
|
7859
7883
|
return `slide-${this.direction}`;
|
|
7860
7884
|
}
|
|
7861
7885
|
}
|
|
7862
|
-
},
|
|
7863
|
-
function
|
|
7886
|
+
}, ea = /* @__PURE__ */ v(Zo, [["render", Qo]]);
|
|
7887
|
+
function ta(e, t, i, s, n, l) {
|
|
7864
7888
|
return o(), b(P, _({ name: l.transitionName }, e.$props), {
|
|
7865
7889
|
default: m(() => [
|
|
7866
7890
|
c(e.$slots, "default")
|
|
@@ -7868,7 +7892,7 @@ function la(e, t, i, s, n, l) {
|
|
|
7868
7892
|
_: 3
|
|
7869
7893
|
}, 16, ["name"]);
|
|
7870
7894
|
}
|
|
7871
|
-
const
|
|
7895
|
+
const ia = {
|
|
7872
7896
|
name: "w-transition-slide-fade",
|
|
7873
7897
|
props: {
|
|
7874
7898
|
appear: { type: Boolean },
|
|
@@ -7886,8 +7910,8 @@ const sa = {
|
|
|
7886
7910
|
return `slide-fade-${this.direction}`;
|
|
7887
7911
|
}
|
|
7888
7912
|
}
|
|
7889
|
-
},
|
|
7890
|
-
function
|
|
7913
|
+
}, la = /* @__PURE__ */ v(ia, [["render", ta]]);
|
|
7914
|
+
function sa(e, t, i, s, n, l) {
|
|
7891
7915
|
return o(), b(P, _({ name: "twist" }, e.$props), {
|
|
7892
7916
|
default: m(() => [
|
|
7893
7917
|
c(e.$slots, "default")
|
|
@@ -7895,17 +7919,17 @@ function aa(e, t, i, s, n, l) {
|
|
|
7895
7919
|
_: 3
|
|
7896
7920
|
}, 16);
|
|
7897
7921
|
}
|
|
7898
|
-
const
|
|
7922
|
+
const oa = {
|
|
7899
7923
|
name: "w-transition-twist",
|
|
7900
7924
|
props: {
|
|
7901
7925
|
appear: { type: Boolean },
|
|
7902
7926
|
duration: { type: [Number, String] }
|
|
7903
7927
|
}
|
|
7904
|
-
},
|
|
7928
|
+
}, aa = /* @__PURE__ */ v(oa, [["render", sa]]), na = ["innerHTML"], ra = {
|
|
7905
7929
|
key: 1,
|
|
7906
7930
|
class: "ml1"
|
|
7907
7931
|
};
|
|
7908
|
-
function
|
|
7932
|
+
function da(e, t, i, s, n, l) {
|
|
7909
7933
|
const a = $("w-button"), r = $("w-icon"), d = $("w-tree", !0);
|
|
7910
7934
|
return o(), u("ul", {
|
|
7911
7935
|
class: f(["w-tree", l.classes])
|
|
@@ -7926,7 +7950,7 @@ function ha(e, t, i, s, n, l) {
|
|
|
7926
7950
|
(h.children || h.branch) && (i.expandOpenIcon && h.open || i.expandIcon) && !(i.unexpandableEmpty && !h.children) ? (o(), b(a, {
|
|
7927
7951
|
key: 0,
|
|
7928
7952
|
class: "w-tree__item-expand",
|
|
7929
|
-
onClick:
|
|
7953
|
+
onClick: O((S) => !i.disabled && !h.disabled && l.onLabelClick(h, S), ["stop"]),
|
|
7930
7954
|
color: "inherit",
|
|
7931
7955
|
icon: h.open && i.expandOpenIcon || i.expandIcon,
|
|
7932
7956
|
"icon-props": { rotate90a: !h.open },
|
|
@@ -7955,8 +7979,8 @@ function ha(e, t, i, s, n, l) {
|
|
|
7955
7979
|
}, 1032, ["color"])) : p("", !0),
|
|
7956
7980
|
w("span", {
|
|
7957
7981
|
innerHTML: h.label
|
|
7958
|
-
}, null, 8,
|
|
7959
|
-
i.counts && (h.children || h.branch) ? (o(), u("span",
|
|
7982
|
+
}, null, 8, na),
|
|
7983
|
+
i.counts && (h.children || h.branch) ? (o(), u("span", ra, "(" + C(((S = h.originalItem.children) == null ? void 0 : S.length) || 0) + ")", 1)) : p("", !0)
|
|
7960
7984
|
];
|
|
7961
7985
|
})
|
|
7962
7986
|
]),
|
|
@@ -7983,12 +8007,12 @@ function ha(e, t, i, s, n, l) {
|
|
|
7983
8007
|
onSelect: t[5] || (t[5] = (S) => e.$emit("select", S)),
|
|
7984
8008
|
"onUpdate:modelValue": t[6] || (t[6] = (S) => e.$emit("update:model-value", S))
|
|
7985
8009
|
}), {
|
|
7986
|
-
item: m(({ item: S, depth: g, path:
|
|
8010
|
+
item: m(({ item: S, depth: g, path: V, open: I }) => [
|
|
7987
8011
|
c(e.$slots, "item", {
|
|
7988
8012
|
item: S,
|
|
7989
8013
|
depth: g,
|
|
7990
|
-
path:
|
|
7991
|
-
open:
|
|
8014
|
+
path: V,
|
|
8015
|
+
open: I
|
|
7992
8016
|
})
|
|
7993
8017
|
]),
|
|
7994
8018
|
_: 2
|
|
@@ -7999,7 +8023,7 @@ function ha(e, t, i, s, n, l) {
|
|
|
7999
8023
|
], 2))), 128))
|
|
8000
8024
|
], 2);
|
|
8001
8025
|
}
|
|
8002
|
-
const
|
|
8026
|
+
const ua = {
|
|
8003
8027
|
name: "w-tree",
|
|
8004
8028
|
props: {
|
|
8005
8029
|
modelValue: { type: [Object, Array] },
|
|
@@ -8197,63 +8221,63 @@ const ca = {
|
|
|
8197
8221
|
unmounted() {
|
|
8198
8222
|
this.dataPropUnwatch();
|
|
8199
8223
|
}
|
|
8200
|
-
},
|
|
8224
|
+
}, ha = /* @__PURE__ */ v(ua, [["render", da]]), ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8201
8225
|
__proto__: null,
|
|
8202
8226
|
WAccordion: at,
|
|
8203
8227
|
WAlert: ut,
|
|
8204
8228
|
WApp: Bt,
|
|
8205
8229
|
WAutocomplete: kt,
|
|
8206
|
-
WBadge:
|
|
8230
|
+
WBadge: Vt,
|
|
8207
8231
|
WBreadcrumbs: xt,
|
|
8208
|
-
WButton:
|
|
8209
|
-
WCard:
|
|
8210
|
-
WCheckbox:
|
|
8211
|
-
WCheckboxes:
|
|
8212
|
-
WConfirm:
|
|
8213
|
-
WDatePicker:
|
|
8214
|
-
WDialog:
|
|
8215
|
-
WDivider:
|
|
8216
|
-
WDrawer:
|
|
8217
|
-
WFlex:
|
|
8218
|
-
WForm:
|
|
8219
|
-
WFormElement:
|
|
8220
|
-
WGrid:
|
|
8221
|
-
WIcon:
|
|
8222
|
-
WImage:
|
|
8223
|
-
WInput:
|
|
8224
|
-
WList:
|
|
8225
|
-
WMenu:
|
|
8226
|
-
WNotification:
|
|
8227
|
-
WOverlay:
|
|
8228
|
-
WParallax:
|
|
8229
|
-
WProgress:
|
|
8230
|
-
WRadio:
|
|
8232
|
+
WButton: Kt,
|
|
8233
|
+
WCard: Ft,
|
|
8234
|
+
WCheckbox: Qt,
|
|
8235
|
+
WCheckboxes: ii,
|
|
8236
|
+
WConfirm: oi,
|
|
8237
|
+
WDatePicker: ri,
|
|
8238
|
+
WDialog: hi,
|
|
8239
|
+
WDivider: mi,
|
|
8240
|
+
WDrawer: ki,
|
|
8241
|
+
WFlex: Si,
|
|
8242
|
+
WForm: Ii,
|
|
8243
|
+
WFormElement: Li,
|
|
8244
|
+
WGrid: Pi,
|
|
8245
|
+
WIcon: Mi,
|
|
8246
|
+
WImage: Ni,
|
|
8247
|
+
WInput: Qi,
|
|
8248
|
+
WList: tl,
|
|
8249
|
+
WMenu: sl,
|
|
8250
|
+
WNotification: nl,
|
|
8251
|
+
WOverlay: ul,
|
|
8252
|
+
WParallax: fl,
|
|
8253
|
+
WProgress: Cl,
|
|
8254
|
+
WRadio: Ll,
|
|
8231
8255
|
WRadios: zl,
|
|
8232
|
-
WRating:
|
|
8233
|
-
WScrollable:
|
|
8234
|
-
WSelect:
|
|
8235
|
-
WSlider:
|
|
8236
|
-
WSpinner:
|
|
8237
|
-
WSteps:
|
|
8238
|
-
WSwitch:
|
|
8239
|
-
WTable:
|
|
8240
|
-
WTabs:
|
|
8241
|
-
WTag:
|
|
8242
|
-
WTextarea:
|
|
8243
|
-
WTimeline:
|
|
8244
|
-
WToolbar:
|
|
8245
|
-
WTooltip:
|
|
8246
|
-
WTransitionBounce:
|
|
8247
|
-
WTransitionExpand:
|
|
8248
|
-
WTransitionFade:
|
|
8249
|
-
WTransitionScale:
|
|
8250
|
-
WTransitionScaleFade:
|
|
8251
|
-
WTransitionSlide:
|
|
8252
|
-
WTransitionSlideFade:
|
|
8253
|
-
WTransitionTwist:
|
|
8254
|
-
WTree:
|
|
8255
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8256
|
-
q.install = (e, t = {}) =>
|
|
8256
|
+
WRating: Wl,
|
|
8257
|
+
WScrollable: Hl,
|
|
8258
|
+
WSelect: Gl,
|
|
8259
|
+
WSlider: us,
|
|
8260
|
+
WSpinner: fs,
|
|
8261
|
+
WSteps: bs,
|
|
8262
|
+
WSwitch: _s,
|
|
8263
|
+
WTable: mo,
|
|
8264
|
+
WTabs: As,
|
|
8265
|
+
WTag: wo,
|
|
8266
|
+
WTextarea: _o,
|
|
8267
|
+
WTimeline: Lo,
|
|
8268
|
+
WToolbar: Po,
|
|
8269
|
+
WTooltip: Mo,
|
|
8270
|
+
WTransitionBounce: Wo,
|
|
8271
|
+
WTransitionExpand: Do,
|
|
8272
|
+
WTransitionFade: jo,
|
|
8273
|
+
WTransitionScale: Xo,
|
|
8274
|
+
WTransitionScaleFade: Jo,
|
|
8275
|
+
WTransitionSlide: ea,
|
|
8276
|
+
WTransitionSlideFade: la,
|
|
8277
|
+
WTransitionTwist: aa,
|
|
8278
|
+
WTree: ha
|
|
8279
|
+
}, Symbol.toStringTag, { value: "Module" })), pa = q.install;
|
|
8280
|
+
q.install = (e, t = {}) => pa.call(q, e, { components: ca, ...t });
|
|
8257
8281
|
export {
|
|
8258
8282
|
q as default
|
|
8259
8283
|
};
|