wave-ui 3.27.1 → 3.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wave-ui.cjs.js +3 -3
- package/dist/wave-ui.esm.js +495 -461
- package/dist/wave-ui.umd.js +3 -3
- package/package.json +1 -1
- package/src/wave-ui/components/w-checkbox.vue +5 -1
- package/src/wave-ui/components/w-checkboxes.vue +5 -1
- package/src/wave-ui/components/w-input.vue +5 -1
- package/src/wave-ui/components/w-radio.vue +6 -1
- package/src/wave-ui/components/w-radios.vue +5 -1
- package/src/wave-ui/components/w-rating.vue +5 -1
- package/src/wave-ui/components/w-select.vue +11 -7
- package/src/wave-ui/components/w-slider.vue +5 -1
- package/src/wave-ui/components/w-switch.vue +5 -1
- package/src/wave-ui/components/w-textarea.vue +5 -1
- package/src/wave-ui/mixins/form-elements.js +5 -8
package/dist/wave-ui.esm.js
CHANGED
|
@@ -70,13 +70,13 @@ var R = Object.defineProperty, ne = (e, t) => {
|
|
|
70
70
|
if (i) {
|
|
71
71
|
i.length === 3 && (r.color = `${i[0]}${i[0]}${i[1]}${i[1]}${i[2]}${i[2]}`);
|
|
72
72
|
for (let e = 1; e <= 6; e++) {
|
|
73
|
-
let i =
|
|
73
|
+
let i = fe(`#${r.color}`, e * (t?.lightIncrement ?? 16) + (t?.lightOffset ?? 0)), a = pe(`#${r.color}`, e * (t?.darkIncrement ?? 12.4) + (t?.darkOffset ?? 0));
|
|
74
74
|
n.shades[`${r.label}-light${e}`] = i, n.shades[`${r.label}-dark${e}`] = a;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
});
|
|
79
|
-
},
|
|
79
|
+
}, oe = (e, t) => {
|
|
80
80
|
let n = { ...t.reduce((e, t) => {
|
|
81
81
|
e[t.label] = t.color;
|
|
82
82
|
let n = (t.shades || []).reduce((e, t) => (e[t.label] = t.color, e), {});
|
|
@@ -90,27 +90,27 @@ var R = Object.defineProperty, ne = (e, t) => {
|
|
|
90
90
|
}) };
|
|
91
91
|
return delete n.shades, n;
|
|
92
92
|
};
|
|
93
|
-
function
|
|
93
|
+
function V(e, t, n) {
|
|
94
94
|
return Math.min(Math.max(e, t), n);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function H(e) {
|
|
97
97
|
let t = e.toString(16);
|
|
98
98
|
return t.length === 1 && `0${t}` || t.length === 2 && t || B(`expected value from 0~255, got: ${e}`) || "";
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function se(e) {
|
|
101
101
|
return /^#[0-9a-f]{6}([0-9a-f]{2})?$/i.test(e);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function ce(e) {
|
|
104
104
|
return /^#[0-9a-f]{3}([0-9a-f])?$/i.test(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function le(e) {
|
|
107
107
|
return `#${e.substring(1).split("").map((e) => `${e}${e}`).join("")}`;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
return
|
|
109
|
+
function ue(e) {
|
|
110
|
+
return se(e) && e || ce(e) && le(e) || B(`expected color hex string, got '${e}'`) || "";
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
let t =
|
|
112
|
+
function U(e) {
|
|
113
|
+
let t = ue(e);
|
|
114
114
|
return {
|
|
115
115
|
red: parseInt(t.substring(1, 3), 16),
|
|
116
116
|
green: parseInt(t.substring(3, 5), 16),
|
|
@@ -119,24 +119,24 @@ function W(e) {
|
|
|
119
119
|
hasAlpha: t.length === 9
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
return `#${
|
|
122
|
+
function de(e, t, n, r) {
|
|
123
|
+
return `#${H(e)}${H(t)}${H(n)}${r ? H(Math.floor(r * 255)) : ""}`;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
let r =
|
|
125
|
+
function W(e, t, n = 50) {
|
|
126
|
+
let r = U(e), i = U(t), a = V(n, 0, 100) / 100, o = 2 * a - 1, s = r.alpha - i.alpha, c = ((o * s === -1 ? o : (o + s) / (1 + o * s)) + 1) / 2, l = 1 - c, u = V(Math.round(r.red * c + i.red * l), 0, 255), d = V(Math.round(r.green * c + i.green * l), 0, 255), f = V(Math.round(r.blue * c + i.blue * l), 0, 255), p = r.alpha * a + i.alpha * (1 - a), m = [
|
|
127
127
|
u,
|
|
128
128
|
d,
|
|
129
129
|
f
|
|
130
130
|
];
|
|
131
|
-
return (r.hasAlpha || i.hasAlpha || p !== 1) && m.push(p),
|
|
131
|
+
return (r.hasAlpha || i.hasAlpha || p !== 1) && m.push(p), de(...m);
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
133
|
+
function fe(e, t = 15) {
|
|
134
|
+
return W("#ffffff", e, t);
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
return
|
|
136
|
+
function pe(e, t = 12.4) {
|
|
137
|
+
return W("#000000", e, t);
|
|
138
138
|
}
|
|
139
|
-
var
|
|
139
|
+
var G = [
|
|
140
140
|
{
|
|
141
141
|
label: "pink",
|
|
142
142
|
color: "#e91e63",
|
|
@@ -1179,14 +1179,14 @@ var K = [
|
|
|
1179
1179
|
label: "inherit",
|
|
1180
1180
|
color: "inherit"
|
|
1181
1181
|
}
|
|
1182
|
-
],
|
|
1182
|
+
], K = {
|
|
1183
1183
|
cssScope: ".w-app",
|
|
1184
1184
|
baseIncrement: 4
|
|
1185
|
-
},
|
|
1185
|
+
}, q = {
|
|
1186
1186
|
keys: [],
|
|
1187
1187
|
values: []
|
|
1188
|
-
},
|
|
1189
|
-
let n = "", r = {}, { info: i, warning: a, success: o, error: s, shades: c, ...l } = e, { cssScope: u } =
|
|
1188
|
+
}, me = null, he = (e, t) => {
|
|
1189
|
+
let n = "", r = {}, { info: i, warning: a, success: o, error: s, shades: c, ...l } = e, { cssScope: u } = K;
|
|
1190
1190
|
for (let e in l) n += `${u} .${e}--bg{background-color:var(--w-${e}-color)}${u} .${e}{color:var(--w-${e}-color)}`;
|
|
1191
1191
|
for (let e in c) n += `${u} .${e}--bg{background-color:${c[e]}}${u} .${e}{color:${c[e]}}`;
|
|
1192
1192
|
let d = {
|
|
@@ -1202,8 +1202,8 @@ var K = [
|
|
|
1202
1202
|
return Object.entries(r).forEach(([e, t]) => {
|
|
1203
1203
|
f += `--w-${e}-color: ${t};`;
|
|
1204
1204
|
}), `:root{${f}}${n}`;
|
|
1205
|
-
},
|
|
1206
|
-
let n = "", { cssScope: r } =
|
|
1205
|
+
}, ge = (e, t) => {
|
|
1206
|
+
let n = "", { cssScope: r } = K;
|
|
1207
1207
|
return e.forEach(({ min: e, label: i }) => {
|
|
1208
1208
|
if (i === "xs") for (let e = 0; e < t; e++) n += `${r} .${i}${t - e}{width:${parseFloat(((t - e) * 100 / t).toFixed(4))}%;}`;
|
|
1209
1209
|
else {
|
|
@@ -1212,8 +1212,8 @@ var K = [
|
|
|
1212
1212
|
n += "}";
|
|
1213
1213
|
}
|
|
1214
1214
|
}), n;
|
|
1215
|
-
},
|
|
1216
|
-
let t = "", { cssScope: n, baseIncrement: r } =
|
|
1215
|
+
}, _e = (e) => {
|
|
1216
|
+
let t = "", { cssScope: n, baseIncrement: r } = K, i = /* @__PURE__ */ "show{display:block}.hide{display:none}.d-flex{display:flex}.d-iflex{display:inline-flex}.d-block{display:block}.d-iblock{display:inline-block}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-nowrap{white-space:nowrap}.row{flex-direction:row}.column{flex-direction:column}.column-reverse{flex-direction:column-reverse}.grow{flex-grow:1;flex-basis:auto}.no-grow{flex-grow:0}.shrink{flex-shrink:1;margin-left:auto;margin-right:auto}.no-shrink{flex-shrink:0}.wrap{flex-wrap: wrap}.no-wrap{flex-wrap: nowrap}.fill-width{width:100%}.fill-height{height:100%}.h-auto{height:auto}.h-screen{height:100vh}.basis-zero{flex-basis:0}.align-start{align-items:flex-start}.align-center{align-items:center}.align-end{align-items:flex-end}.align-self-start{align-self:flex-start}.align-self-center{align-self:center}.align-self-end{align-self:flex-end}.align-self-stretch{align-self:stretch}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-space-between{justify-content:space-between}.justify-space-around{justify-content:space-around}.justify-space-evenly{justify-content:space-evenly}".split("."), a = Array(12).fill();
|
|
1217
1217
|
return e.forEach(({ label: e, min: o }) => {
|
|
1218
1218
|
e !== "xs" && (t += `@media(min-width:${o}px){` + i.map((t) => `${n} .${e}u-${t}`).join("") + a.map((t, n) => `.w-grid.${e}u-columns${n + 1}{grid-template-columns:repeat(${n + 1},1fr);}`).join("") + a.map((t, n) => `.w-flex.${e}u-gap${n + 1},.w-grid.${e}u-gap${n + 1}{gap:${(n + 1) * r}px;}`).join("") + `.w-flex.${e}u-gap0,.w-flex.${e}u-gap0{gap:0}}`);
|
|
1219
1219
|
}), e.forEach(({ label: e, min: o, max: s }) => {
|
|
@@ -1221,11 +1221,11 @@ var K = [
|
|
|
1221
1221
|
}), e.forEach(({ label: e, max: o }) => {
|
|
1222
1222
|
e !== "xl" && (t += `@media (max-width:${o}px){` + i.map((t) => `${n} .${e}d-${t}`).join("") + a.map((t, n) => `.w-grid.${e}d-columns${n + 1}{grid-template-columns:repeat(${n + 1},1fr);}`).join("") + a.map((t, n) => `.w-flex.${e}d-gap${n + 1},.w-grid.${e}d-gap${n + 1}{gap:${(n + 1) * r}px;}`).join("") + `.w-flex.${e}d-gap0,.w-flex.${e}d-gap0{gap:0}}`);
|
|
1223
1223
|
}), t;
|
|
1224
|
-
},
|
|
1225
|
-
let t = window.innerWidth, n =
|
|
1224
|
+
}, ve = (e) => {
|
|
1225
|
+
let t = window.innerWidth, n = q.values.slice(0);
|
|
1226
1226
|
n.push(t), n.sort((e, t) => e - t);
|
|
1227
|
-
let r =
|
|
1228
|
-
r !==
|
|
1227
|
+
let r = q.keys[n.indexOf(t)] || "xl";
|
|
1228
|
+
r !== me && (me = r, e.breakpoint = {
|
|
1229
1229
|
name: r,
|
|
1230
1230
|
xs: r === "xs",
|
|
1231
1231
|
sm: r === "sm",
|
|
@@ -1234,14 +1234,14 @@ var K = [
|
|
|
1234
1234
|
xl: r === "xl",
|
|
1235
1235
|
width: t
|
|
1236
1236
|
}), e.breakpoint.width = window.innerWidth;
|
|
1237
|
-
},
|
|
1237
|
+
}, ye = (e) => {
|
|
1238
1238
|
let { config: t } = e;
|
|
1239
|
-
if (
|
|
1239
|
+
if (q = {
|
|
1240
1240
|
keys: Object.keys(t.breakpoints),
|
|
1241
1241
|
values: Object.values(t.breakpoints)
|
|
1242
1242
|
}, !document.getElementById("wave-ui-styles")) {
|
|
1243
1243
|
let e = document.createElement("style");
|
|
1244
|
-
e.id = "wave-ui-styles", e.innerHTML =
|
|
1244
|
+
e.id = "wave-ui-styles", e.innerHTML = xe(t);
|
|
1245
1245
|
let n = document.head.querySelectorAll("style,link[rel=\"stylesheet\"]");
|
|
1246
1246
|
if (t.css.prependCss) {
|
|
1247
1247
|
let t = n[0];
|
|
@@ -1251,15 +1251,15 @@ var K = [
|
|
|
1251
1251
|
t ? t.after(e) : document.head.appendChild(e);
|
|
1252
1252
|
}
|
|
1253
1253
|
}
|
|
1254
|
-
|
|
1255
|
-
},
|
|
1254
|
+
ve(e), window.addEventListener("resize", () => ve(e));
|
|
1255
|
+
}, be = (e, t, n) => {
|
|
1256
1256
|
if (!document.getElementById("wave-ui-colors")) {
|
|
1257
1257
|
let r = document.createElement("style");
|
|
1258
|
-
r.id = "wave-ui-colors", r.innerHTML =
|
|
1258
|
+
r.id = "wave-ui-colors", r.innerHTML = he(e, t, n);
|
|
1259
1259
|
let i = document.head.querySelectorAll("style,link[rel=\"stylesheet\"]")[0];
|
|
1260
1260
|
i ? i.before(r) : document.head.appendChild(r);
|
|
1261
1261
|
}
|
|
1262
|
-
},
|
|
1262
|
+
}, xe = (e) => {
|
|
1263
1263
|
let t = Object.entries(e.breakpoints), n = t.map(([e, n], r) => {
|
|
1264
1264
|
let [, i = 0] = t[r - 1] || [];
|
|
1265
1265
|
return {
|
|
@@ -1268,11 +1268,11 @@ var K = [
|
|
|
1268
1268
|
max: n
|
|
1269
1269
|
};
|
|
1270
1270
|
}), r = getComputedStyle(document.documentElement);
|
|
1271
|
-
|
|
1271
|
+
K.cssScope = r.getPropertyValue("--w-css-scope"), K.baseIncrement = parseInt(r.getPropertyValue("--w-base-increment"));
|
|
1272
1272
|
let i = "";
|
|
1273
|
-
return i +=
|
|
1274
|
-
},
|
|
1275
|
-
function
|
|
1273
|
+
return i += ge(n, e.css.grid), e.css.breakpointLayoutClasses && (i += _e(n)), i;
|
|
1274
|
+
}, Se = ["innerHTML"];
|
|
1275
|
+
function Ce(t, r, a, u, d, p) {
|
|
1276
1276
|
let m = T("w-alert");
|
|
1277
1277
|
return b(), o(n, { to: ".w-app" }, [f(i, {
|
|
1278
1278
|
class: g(["w-notification-manager", { "w-notification-manager--left": p.conf.align === "left" }]),
|
|
@@ -1287,7 +1287,7 @@ function Se(t, r, a, u, d, p) {
|
|
|
1287
1287
|
"onUpdate:modelValue": (e) => t._value = e,
|
|
1288
1288
|
onClose: t.dismiss
|
|
1289
1289
|
}, { ref_for: !0 }, p.notifProps(t)), {
|
|
1290
|
-
default: P(() => [l("div", { innerHTML: t.message }, null, 8,
|
|
1290
|
+
default: P(() => [l("div", { innerHTML: t.message }, null, 8, Se)]),
|
|
1291
1291
|
_: 2
|
|
1292
1292
|
}, 1040, [
|
|
1293
1293
|
"modelValue",
|
|
@@ -1299,11 +1299,11 @@ function Se(t, r, a, u, d, p) {
|
|
|
1299
1299
|
}
|
|
1300
1300
|
//#endregion
|
|
1301
1301
|
//#region \0plugin-vue:export-helper
|
|
1302
|
-
var
|
|
1302
|
+
var J = (e, t) => {
|
|
1303
1303
|
let n = e.__vccOpts || e;
|
|
1304
1304
|
for (let [e, r] of t) n[e] = r;
|
|
1305
1305
|
return n;
|
|
1306
|
-
},
|
|
1306
|
+
}, we = /* @__PURE__ */ J({
|
|
1307
1307
|
name: "w-notification-manager",
|
|
1308
1308
|
computed: {
|
|
1309
1309
|
conf() {
|
|
@@ -1320,7 +1320,7 @@ var Y = (e, t) => {
|
|
|
1320
1320
|
let { _value: t, _uid: n, message: r, timeout: i, ...a } = e;
|
|
1321
1321
|
return a.dismiss &&= !0, a;
|
|
1322
1322
|
} }
|
|
1323
|
-
}, [["render",
|
|
1323
|
+
}, [["render", Ce]]), Te = class e {
|
|
1324
1324
|
static #e;
|
|
1325
1325
|
notifications;
|
|
1326
1326
|
_uid;
|
|
@@ -1358,17 +1358,17 @@ var Y = (e, t) => {
|
|
|
1358
1358
|
dismiss(e) {
|
|
1359
1359
|
this.notifications = this.notifications.filter((t) => t._uid !== e);
|
|
1360
1360
|
}
|
|
1361
|
-
},
|
|
1361
|
+
}, Ee = (e) => {
|
|
1362
1362
|
let t = document.createElement("div");
|
|
1363
1363
|
document.body.appendChild(t);
|
|
1364
|
-
let n = p(
|
|
1364
|
+
let n = p(we);
|
|
1365
1365
|
n.appContext = e._context, te(n, t), t.remove();
|
|
1366
|
-
},
|
|
1366
|
+
}, De = !1, Oe = (e) => {
|
|
1367
1367
|
let t = window.matchMedia("(prefers-color-scheme: dark)");
|
|
1368
1368
|
e.preferredTheme = t.matches ? "dark" : "light", e.switchTheme(e.preferredTheme), t.addEventListener("change", (t) => {
|
|
1369
1369
|
e.preferredTheme = t.matches ? "dark" : "light", e.switchTheme(e.preferredTheme);
|
|
1370
1370
|
});
|
|
1371
|
-
},
|
|
1371
|
+
}, ke = (e, t) => {
|
|
1372
1372
|
for (let n in t) if (e.props?.[n]) e.props[n].default = t[n];
|
|
1373
1373
|
else {
|
|
1374
1374
|
let r = !1;
|
|
@@ -1380,7 +1380,7 @@ var Y = (e, t) => {
|
|
|
1380
1380
|
r || z(`Attempting to set a preset on a prop that doesn't exist: \`${e.name}.${n}\`.`);
|
|
1381
1381
|
}
|
|
1382
1382
|
}
|
|
1383
|
-
},
|
|
1383
|
+
}, Y = class e {
|
|
1384
1384
|
$waveui = {
|
|
1385
1385
|
breakpoint: {
|
|
1386
1386
|
name: "",
|
|
@@ -1402,7 +1402,7 @@ var Y = (e, t) => {
|
|
|
1402
1402
|
switchTheme(e) {
|
|
1403
1403
|
this.theme = e, document.documentElement.setAttribute("data-theme", e), document.head.querySelector("#wave-ui-colors")?.remove?.();
|
|
1404
1404
|
let t = this.config.colors[this.theme];
|
|
1405
|
-
|
|
1405
|
+
be(t, this.config.css.colorShadeCssVariables), this.colors = oe(t, G);
|
|
1406
1406
|
},
|
|
1407
1407
|
setAppClasses(...e) {
|
|
1408
1408
|
let t = document.querySelector(".w-app");
|
|
@@ -1419,19 +1419,19 @@ var Y = (e, t) => {
|
|
|
1419
1419
|
let { components: r = {} } = n || {};
|
|
1420
1420
|
for (let e in r) {
|
|
1421
1421
|
let i = r[e];
|
|
1422
|
-
n.presets?.[i.name] &&
|
|
1422
|
+
n.presets?.[i.name] && ke(i, n.presets[i.name]), t.component(i.name, i);
|
|
1423
1423
|
}
|
|
1424
1424
|
t.mixin({ beforeMount() {
|
|
1425
|
-
if (!
|
|
1426
|
-
|
|
1425
|
+
if (!De) {
|
|
1426
|
+
De = !0;
|
|
1427
1427
|
let e = m("$waveui"), { config: n } = e;
|
|
1428
|
-
(document.querySelector(n.on) || document.body).classList.add("w-app"), n.theme === "auto" ?
|
|
1428
|
+
(document.querySelector(n.on) || document.body).classList.add("w-app"), n.theme === "auto" ? Oe(e) : e.switchTheme(n.theme, !0), ye(e), Ee(t), t._context.mixins.find((e) => e.mounted &&= void 0);
|
|
1429
1429
|
}
|
|
1430
1430
|
} }), new e(t, n);
|
|
1431
1431
|
}
|
|
1432
1432
|
constructor(e, t = {}) {
|
|
1433
1433
|
if (e.config.globalProperties.$waveui) return;
|
|
1434
|
-
if (this.$waveui._notificationManager = new
|
|
1434
|
+
if (this.$waveui._notificationManager = new Te(), t.theme ||= "light", t.colors) {
|
|
1435
1435
|
let e = { ...t.colors };
|
|
1436
1436
|
t.colors.light || (t.colors.light = e), t.colors.dark || (t.colors.dark = e), t.colors = {
|
|
1437
1437
|
light: t.colors.light,
|
|
@@ -1441,20 +1441,20 @@ var Y = (e, t) => {
|
|
|
1441
1441
|
let { components: n, ...r } = t;
|
|
1442
1442
|
r = this.$waveui.config = ie(r), r.css.colorShades && ae(r);
|
|
1443
1443
|
let i = x(this.$waveui);
|
|
1444
|
-
e.config.globalProperties.$waveui = i, e.provide("$waveui", i), r.theme !== "auto" && (this.$waveui.colors =
|
|
1444
|
+
e.config.globalProperties.$waveui = i, e.provide("$waveui", i), r.theme !== "auto" && (this.$waveui.colors = oe(r.colors[r.theme], G));
|
|
1445
1445
|
}
|
|
1446
|
-
},
|
|
1447
|
-
function
|
|
1448
|
-
return b(), c("div",
|
|
1446
|
+
}, X = (e = {}) => (typeof e == "string" ? e = { [e]: !0 } : Array.isArray(e) && (e = { [e.join(" ")]: !0 }), e), Ae = { class: "w-accordion__item-content" };
|
|
1447
|
+
function je(e, t, n, r, i, a) {
|
|
1448
|
+
return b(), c("div", Ae, [w(e.$slots, "default")]);
|
|
1449
1449
|
}
|
|
1450
|
-
var
|
|
1450
|
+
var Me = /* @__PURE__ */ J({
|
|
1451
1451
|
name: "accordion-content",
|
|
1452
1452
|
props: { item: {
|
|
1453
1453
|
type: Object,
|
|
1454
1454
|
default: () => ({})
|
|
1455
1455
|
} }
|
|
1456
|
-
}, [["render",
|
|
1457
|
-
function
|
|
1456
|
+
}, [["render", je]]), Ne = ["aria-expanded"], Pe = ["tabindex"], Fe = ["innerHTML"], Ie = ["innerHTML"], Le = ["innerHTML"];
|
|
1457
|
+
function Re(e, n, r, i, a, u) {
|
|
1458
1458
|
let d = T("w-button"), p = T("accordion-content"), m = T("w-transition-expand");
|
|
1459
1459
|
return b(), c("div", {
|
|
1460
1460
|
class: g(["w-accordion__item", u.itemClasses]),
|
|
@@ -1492,7 +1492,7 @@ function Le(e, n, r, i, a, u) {
|
|
|
1492
1492
|
}, () => [l("div", {
|
|
1493
1493
|
class: "grow",
|
|
1494
1494
|
innerHTML: u.accordionItem[u.options.itemTitleKey]
|
|
1495
|
-
}, null, 8,
|
|
1495
|
+
}, null, 8, Fe)]),
|
|
1496
1496
|
u.options.expandIcon && u.options.expandIconRight ? (b(), o(d, {
|
|
1497
1497
|
key: 1,
|
|
1498
1498
|
class: g(["w-accordion__expand-icon", {
|
|
@@ -1504,7 +1504,7 @@ function Le(e, n, r, i, a, u) {
|
|
|
1504
1504
|
onKeypress: n[2] ||= L(() => {}, ["stop"]),
|
|
1505
1505
|
onClick: n[3] ||= L((e) => !u.accordionItem._disabled && u.toggleItem(u.accordionItem, e), ["stop"])
|
|
1506
1506
|
}, null, 8, ["icon", "class"])) : s("", !0)
|
|
1507
|
-
], 42,
|
|
1507
|
+
], 42, Pe), u.options.keepInDom ? (b(), o(m, {
|
|
1508
1508
|
key: 0,
|
|
1509
1509
|
y: "",
|
|
1510
1510
|
onAfterLeave: n[7] ||= (e) => u.onEndOfCollapse(u.accordionItem),
|
|
@@ -1518,7 +1518,7 @@ function Le(e, n, r, i, a, u) {
|
|
|
1518
1518
|
item: u.getOriginalItem(u.accordionItem),
|
|
1519
1519
|
expanded: u.accordionItem._expanded,
|
|
1520
1520
|
index: u.accordionItem._index + 1
|
|
1521
|
-
}, () => [l("div", { innerHTML: u.accordionItem[u.options.itemContentKey] }, null, 8,
|
|
1521
|
+
}, () => [l("div", { innerHTML: u.accordionItem[u.options.itemContentKey] }, null, 8, Ie)])]),
|
|
1522
1522
|
_: 3
|
|
1523
1523
|
}, 8, ["item", "class"]), [[N, u.accordionItem._expanded]])]),
|
|
1524
1524
|
_: 3
|
|
@@ -1537,18 +1537,18 @@ function Le(e, n, r, i, a, u) {
|
|
|
1537
1537
|
item: u.getOriginalItem(u.accordionItem),
|
|
1538
1538
|
expanded: u.accordionItem._expanded,
|
|
1539
1539
|
index: u.accordionItem._index + 1
|
|
1540
|
-
}, () => [l("div", { innerHTML: u.accordionItem[u.options.itemContentKey] }, null, 8,
|
|
1540
|
+
}, () => [l("div", { innerHTML: u.accordionItem[u.options.itemContentKey] }, null, 8, Le)])]),
|
|
1541
1541
|
_: 3
|
|
1542
1542
|
}, 8, ["item", "class"])) : s("", !0)], 1032, ["exclude"]))]),
|
|
1543
1543
|
_: 3
|
|
1544
|
-
}, 8, ["duration"]))], 10,
|
|
1544
|
+
}, 8, ["duration"]))], 10, Ne);
|
|
1545
1545
|
}
|
|
1546
|
-
var
|
|
1546
|
+
var ze = /* @__PURE__ */ J({
|
|
1547
1547
|
name: "w-accordion-item",
|
|
1548
1548
|
setup() {
|
|
1549
1549
|
return { accordionItemUid: A() };
|
|
1550
1550
|
},
|
|
1551
|
-
components: { AccordionContent:
|
|
1551
|
+
components: { AccordionContent: Me },
|
|
1552
1552
|
props: {
|
|
1553
1553
|
title: { type: String },
|
|
1554
1554
|
content: { type: String },
|
|
@@ -1598,10 +1598,10 @@ var Re = /* @__PURE__ */ Y({
|
|
|
1598
1598
|
beforeUnmount() {
|
|
1599
1599
|
this.unregisterItem(this.accordionItemUid);
|
|
1600
1600
|
}
|
|
1601
|
-
}, [["render",
|
|
1601
|
+
}, [["render", Re]]);
|
|
1602
1602
|
//#endregion
|
|
1603
1603
|
//#region src/wave-ui/components/w-accordion/index.vue?vue&type=template&lang.js
|
|
1604
|
-
function
|
|
1604
|
+
function Be(t, n, r, i, a, l) {
|
|
1605
1605
|
let u = T("w-accordion-item");
|
|
1606
1606
|
return b(), c("div", { class: g(["w-accordion", l.accordionClasses]) }, [l.accordionItemsProvided ? w(t.$slots, "default", { key: 0 }) : (r.items || []).length ? (b(!0), c(e, { key: 1 }, C(r.items.length ? r.items : t.accordionItems, (e, r) => (b(), o(u, {
|
|
1607
1607
|
key: r,
|
|
@@ -1643,7 +1643,7 @@ function ze(t, n, r, i, a, l) {
|
|
|
1643
1643
|
"disabled"
|
|
1644
1644
|
]))), 128)) : s("", !0)], 2);
|
|
1645
1645
|
}
|
|
1646
|
-
var
|
|
1646
|
+
var Ve = /* @__PURE__ */ J({
|
|
1647
1647
|
name: "w-accordion",
|
|
1648
1648
|
props: {
|
|
1649
1649
|
modelValue: { type: Array },
|
|
@@ -1705,7 +1705,7 @@ var Be = /* @__PURE__ */ Y({
|
|
|
1705
1705
|
default: !1
|
|
1706
1706
|
}
|
|
1707
1707
|
},
|
|
1708
|
-
components: { WAccordionItem:
|
|
1708
|
+
components: { WAccordionItem: ze },
|
|
1709
1709
|
emits: [
|
|
1710
1710
|
"input",
|
|
1711
1711
|
"update:modelValue",
|
|
@@ -1747,13 +1747,13 @@ var Be = /* @__PURE__ */ Y({
|
|
|
1747
1747
|
};
|
|
1748
1748
|
},
|
|
1749
1749
|
itemClasses() {
|
|
1750
|
-
return
|
|
1750
|
+
return X(this.itemClass);
|
|
1751
1751
|
},
|
|
1752
1752
|
titleClasses() {
|
|
1753
|
-
return
|
|
1753
|
+
return X(this.titleClass);
|
|
1754
1754
|
},
|
|
1755
1755
|
contentClasses() {
|
|
1756
|
-
return
|
|
1756
|
+
return X(this.contentClass);
|
|
1757
1757
|
}
|
|
1758
1758
|
},
|
|
1759
1759
|
methods: {
|
|
@@ -1798,8 +1798,8 @@ var Be = /* @__PURE__ */ Y({
|
|
|
1798
1798
|
}
|
|
1799
1799
|
e.forEach((e, t) => (this.accordionItems[t] || {})._expanded = e);
|
|
1800
1800
|
} }
|
|
1801
|
-
}, [["render",
|
|
1802
|
-
function
|
|
1801
|
+
}, [["render", Be]]), He = { class: "w-alert__content" };
|
|
1802
|
+
function Ue(t, n, r, i, a, u) {
|
|
1803
1803
|
let f = T("w-icon"), p = T("w-button");
|
|
1804
1804
|
return a.show ? (b(), c("div", {
|
|
1805
1805
|
key: 0,
|
|
@@ -1812,7 +1812,7 @@ function He(t, n, r, i, a, u) {
|
|
|
1812
1812
|
default: P(() => [d(O(u.type ? u.typeIcon : r.icon), 1)]),
|
|
1813
1813
|
_: 1
|
|
1814
1814
|
})) : s("", !0),
|
|
1815
|
-
l("div",
|
|
1815
|
+
l("div", He, [w(t.$slots, "default")]),
|
|
1816
1816
|
r.dismiss ? (b(), o(p, {
|
|
1817
1817
|
key: 1,
|
|
1818
1818
|
class: "w-alert__dismiss",
|
|
@@ -1826,7 +1826,7 @@ function He(t, n, r, i, a, u) {
|
|
|
1826
1826
|
})) : s("", !0)
|
|
1827
1827
|
], 64)) : w(t.$slots, "default", { key: 1 })], 2)) : s("", !0);
|
|
1828
1828
|
}
|
|
1829
|
-
var
|
|
1829
|
+
var We = /* @__PURE__ */ J({
|
|
1830
1830
|
name: "w-alert",
|
|
1831
1831
|
props: {
|
|
1832
1832
|
modelValue: { default: !0 },
|
|
@@ -1904,18 +1904,18 @@ var Ue = /* @__PURE__ */ Y({
|
|
|
1904
1904
|
watch: { modelValue(e) {
|
|
1905
1905
|
this.show = e;
|
|
1906
1906
|
} }
|
|
1907
|
-
}, [["render",
|
|
1908
|
-
function
|
|
1907
|
+
}, [["render", Ue]]), Ge = { class: "w-autocomplete__selection" }, Ke = ["innerHTML"], qe = ["innerHTML"], Je = ["value"], Ye = ["onClick"], Xe = ["innerHTML"], Ze = ["innerHTML"];
|
|
1908
|
+
function Qe(t, n, r, i, a, o) {
|
|
1909
1909
|
let u = T("w-button"), d = T("w-transition-slide-fade");
|
|
1910
1910
|
return b(), c("div", {
|
|
1911
1911
|
class: g(["w-autocomplete", o.classes]),
|
|
1912
1912
|
onClick: n[5] ||= (...e) => o.onClick && o.onClick(...e),
|
|
1913
1913
|
style: v(t.$attrs.style)
|
|
1914
1914
|
}, [
|
|
1915
|
-
t.selection.length ? (b(!0), c(e, { key: 0 }, C(t.selection, (e, n) => (b(), c("div",
|
|
1915
|
+
t.selection.length ? (b(!0), c(e, { key: 0 }, C(t.selection, (e, n) => (b(), c("div", Ge, [w(t.$slots, "selection", {
|
|
1916
1916
|
item: e,
|
|
1917
1917
|
unselect: (e) => o.unselectItem(e)
|
|
1918
|
-
}, () => [l("span", { innerHTML: e[r.itemLabelKey] }, null, 8,
|
|
1918
|
+
}, () => [l("span", { innerHTML: e[r.itemLabelKey] }, null, 8, Ke), f(u, {
|
|
1919
1919
|
onClick: L((e) => o.unselectItem(n), ["stop"]),
|
|
1920
1920
|
icon: "wi-cross",
|
|
1921
1921
|
xs: "",
|
|
@@ -1926,12 +1926,12 @@ function Ze(t, n, r, i, a, o) {
|
|
|
1926
1926
|
key: 1,
|
|
1927
1927
|
class: "w-autocomplete__placeholder",
|
|
1928
1928
|
innerHTML: r.placeholder
|
|
1929
|
-
}, null, 8,
|
|
1929
|
+
}, null, 8, qe)) : s("", !0),
|
|
1930
1930
|
l("input", h({
|
|
1931
1931
|
class: "w-autocomplete__input",
|
|
1932
1932
|
ref: "input",
|
|
1933
1933
|
value: t.keywords
|
|
1934
|
-
}, k(o.inputEventListeners, !0), o.inputAttrs), null, 16,
|
|
1934
|
+
}, k(o.inputEventListeners, !0), o.inputAttrs), null, 16, Je),
|
|
1935
1935
|
f(d, null, {
|
|
1936
1936
|
default: P(() => [t.menuOpen ? (b(), c("ul", {
|
|
1937
1937
|
key: 0,
|
|
@@ -1949,14 +1949,14 @@ function Ze(t, n, r, i, a, o) {
|
|
|
1949
1949
|
}, [w(t.$slots, "item", {
|
|
1950
1950
|
item: e,
|
|
1951
1951
|
highlighted: t.highlightedItem === e.uid
|
|
1952
|
-
}, () => [l("span", { innerHTML: e[r.itemLabelKey] }, null, 8,
|
|
1952
|
+
}, () => [l("span", { innerHTML: e[r.itemLabelKey] }, null, 8, Xe)])], 10, Ye))), 128)),
|
|
1953
1953
|
o.filteredItems.length ? s("", !0) : (b(), c("li", {
|
|
1954
1954
|
key: 0,
|
|
1955
1955
|
class: g(["w-autocomplete__no-match", { "w-autocomplete__no-match--default": !t.$slots.noMatch }])
|
|
1956
1956
|
}, [w(t.$slots, "no-match", {}, () => [l("div", {
|
|
1957
1957
|
class: "caption",
|
|
1958
1958
|
innerHTML: r.noMatch ?? "No match."
|
|
1959
|
-
}, null, 8,
|
|
1959
|
+
}, null, 8, Ze)])], 2)),
|
|
1960
1960
|
t.$slots["extra-item"] ? (b(), c("li", {
|
|
1961
1961
|
key: 1,
|
|
1962
1962
|
class: g(["w-autocomplete__extra-item", { highlighted: t.highlightedItem === "extra-item" }]),
|
|
@@ -1967,7 +1967,7 @@ function Ze(t, n, r, i, a, o) {
|
|
|
1967
1967
|
})
|
|
1968
1968
|
], 6);
|
|
1969
1969
|
}
|
|
1970
|
-
var
|
|
1970
|
+
var $e = /* @__PURE__ */ J({
|
|
1971
1971
|
name: "w-autocomplete",
|
|
1972
1972
|
inheritAttrs: !1,
|
|
1973
1973
|
props: {
|
|
@@ -2146,11 +2146,11 @@ var Qe = /* @__PURE__ */ Y({
|
|
|
2146
2146
|
this.selection.push(this.optimizedItemsForSearch.find((t) => t[this.itemValueKey] === +e));
|
|
2147
2147
|
});
|
|
2148
2148
|
} }
|
|
2149
|
-
}, [["render",
|
|
2150
|
-
function
|
|
2151
|
-
return b(), c("div",
|
|
2149
|
+
}, [["render", Qe]]), et = { class: "w-app" };
|
|
2150
|
+
function tt(e, t, n, r, i, a) {
|
|
2151
|
+
return b(), c("div", et, [w(e.$slots, "default")]);
|
|
2152
2152
|
}
|
|
2153
|
-
var
|
|
2153
|
+
var nt = /* @__PURE__ */ J({
|
|
2154
2154
|
name: "w-app",
|
|
2155
2155
|
props: {
|
|
2156
2156
|
block: { type: Boolean },
|
|
@@ -2165,9 +2165,9 @@ var tt = /* @__PURE__ */ Y({
|
|
|
2165
2165
|
textCenter: { type: Boolean },
|
|
2166
2166
|
textRight: { type: Boolean }
|
|
2167
2167
|
}
|
|
2168
|
-
}, [["render",
|
|
2169
|
-
function
|
|
2170
|
-
return b(), c("div",
|
|
2168
|
+
}, [["render", tt]]), rt = { class: "w-badge-wrap" };
|
|
2169
|
+
function it(e, t, n, i, a, o) {
|
|
2170
|
+
return b(), c("div", rt, [w(e.$slots, "default"), f(r, { name: `${n.transition}` }, {
|
|
2171
2171
|
default: P(() => [n.modelValue ? (b(), c("div", {
|
|
2172
2172
|
key: 0,
|
|
2173
2173
|
class: g(["w-badge", o.classes]),
|
|
@@ -2180,7 +2180,7 @@ function rt(e, t, n, i, a, o) {
|
|
|
2180
2180
|
_: 3
|
|
2181
2181
|
}, 8, ["name"])]);
|
|
2182
2182
|
}
|
|
2183
|
-
var
|
|
2183
|
+
var at = /* @__PURE__ */ J({
|
|
2184
2184
|
name: "w-badge",
|
|
2185
2185
|
props: {
|
|
2186
2186
|
modelValue: { default: !0 },
|
|
@@ -2246,8 +2246,8 @@ var it = /* @__PURE__ */ Y({
|
|
|
2246
2246
|
return this.forcedSize && `font-size: ${this.forcedSize}`;
|
|
2247
2247
|
}
|
|
2248
2248
|
}
|
|
2249
|
-
}, [["render",
|
|
2250
|
-
function
|
|
2249
|
+
}, [["render", it]]), ot = ["innerHTML"];
|
|
2250
|
+
function st(t, n, r, i, a, l) {
|
|
2251
2251
|
let u = T("w-icon");
|
|
2252
2252
|
return b(), c("div", { class: g(["w-breadcrumbs", l.classes]) }, [(b(!0), c(e, null, C(r.items, (n, i) => (b(), c(e, null, [i && t.$slots.separator ? (b(), c("span", {
|
|
2253
2253
|
class: g(["w-breadcrumbs__separator", r.separatorColor]),
|
|
@@ -2293,9 +2293,9 @@ function ot(t, n, r, i, a, l) {
|
|
|
2293
2293
|
}) : (b(), c("span", {
|
|
2294
2294
|
key: `${i}f`,
|
|
2295
2295
|
innerHTML: n[r.itemLabelKey]
|
|
2296
|
-
}, null, 8,
|
|
2296
|
+
}, null, 8, ot))], 64))), 256))], 2);
|
|
2297
2297
|
}
|
|
2298
|
-
var
|
|
2298
|
+
var ct = /* @__PURE__ */ J({
|
|
2299
2299
|
name: "w-breadcrumbs",
|
|
2300
2300
|
props: {
|
|
2301
2301
|
items: {
|
|
@@ -2338,11 +2338,11 @@ var st = /* @__PURE__ */ Y({
|
|
|
2338
2338
|
return { [`size--${this.size}`]: !0 };
|
|
2339
2339
|
}
|
|
2340
2340
|
}
|
|
2341
|
-
}, [["render",
|
|
2341
|
+
}, [["render", st]]), lt = {
|
|
2342
2342
|
key: 0,
|
|
2343
2343
|
class: "w-button__loader"
|
|
2344
2344
|
};
|
|
2345
|
-
function
|
|
2345
|
+
function ut(e, t, n, i, a, u) {
|
|
2346
2346
|
let p = T("w-icon");
|
|
2347
2347
|
return b(), o(D(!n.disabled && n.route ? "a" : "button"), h({
|
|
2348
2348
|
class: ["w-button", u.classes],
|
|
@@ -2354,7 +2354,7 @@ function lt(e, t, n, i, a, u) {
|
|
|
2354
2354
|
default: P(() => [d(O(n.icon), 1)]),
|
|
2355
2355
|
_: 1
|
|
2356
2356
|
}, 16)) : w(e.$slots, "default", { key: 1 }), f(r, { name: "scale-fade" }, {
|
|
2357
|
-
default: P(() => [n.loading ? (b(), c("div",
|
|
2357
|
+
default: P(() => [n.loading ? (b(), c("div", lt, [w(e.$slots, "loading", {}, () => [t[0] ||= l("svg", { viewBox: "0 0 40 40" }, [l("circle", {
|
|
2358
2358
|
cx: "20",
|
|
2359
2359
|
cy: "20",
|
|
2360
2360
|
r: "18",
|
|
@@ -2374,7 +2374,7 @@ function lt(e, t, n, i, a, u) {
|
|
|
2374
2374
|
"style"
|
|
2375
2375
|
]);
|
|
2376
2376
|
}
|
|
2377
|
-
var
|
|
2377
|
+
var dt = /* @__PURE__ */ J({
|
|
2378
2378
|
inheritAttrs: !1,
|
|
2379
2379
|
props: {
|
|
2380
2380
|
color: { type: String },
|
|
@@ -2472,15 +2472,15 @@ var ut = /* @__PURE__ */ Y({
|
|
|
2472
2472
|
};
|
|
2473
2473
|
}
|
|
2474
2474
|
}
|
|
2475
|
-
}, [["render",
|
|
2476
|
-
function
|
|
2475
|
+
}, [["render", ut]]), ft = ["innerHTML"];
|
|
2476
|
+
function pt(e, t, n, r, i, a) {
|
|
2477
2477
|
let s = T("button-partial");
|
|
2478
2478
|
return n.tooltip ? (b(), o(D("w-tooltip"), _(h({ key: 0 }, n.tooltipProps)), {
|
|
2479
2479
|
activator: P(({ on: t }) => [f(s, h(a.buttonProps, k(t)), {
|
|
2480
2480
|
default: P(() => [w(e.$slots, "default")]),
|
|
2481
2481
|
_: 3
|
|
2482
2482
|
}, 16)]),
|
|
2483
|
-
default: P(() => [l("div", { innerHTML: n.tooltip }, null, 8,
|
|
2483
|
+
default: P(() => [l("div", { innerHTML: n.tooltip }, null, 8, ft)]),
|
|
2484
2484
|
_: 3
|
|
2485
2485
|
}, 16)) : (b(), o(s, _(h({ key: 1 }, a.buttonProps)), {
|
|
2486
2486
|
loading: P(() => [w(e.$slots, "loading")]),
|
|
@@ -2488,7 +2488,7 @@ function ft(e, t, n, r, i, a) {
|
|
|
2488
2488
|
_: 3
|
|
2489
2489
|
}, 16));
|
|
2490
2490
|
}
|
|
2491
|
-
var
|
|
2491
|
+
var mt = /* @__PURE__ */ J({
|
|
2492
2492
|
name: "w-button",
|
|
2493
2493
|
inheritAttrs: !1,
|
|
2494
2494
|
props: {
|
|
@@ -2536,7 +2536,7 @@ var pt = /* @__PURE__ */ Y({
|
|
|
2536
2536
|
lg: { type: Boolean },
|
|
2537
2537
|
xl: { type: Boolean }
|
|
2538
2538
|
},
|
|
2539
|
-
components: { ButtonPartial:
|
|
2539
|
+
components: { ButtonPartial: dt },
|
|
2540
2540
|
emits: [],
|
|
2541
2541
|
computed: { buttonProps() {
|
|
2542
2542
|
let { tooltip: e, tooltipProps: t = {}, ...n } = this.$props;
|
|
@@ -2545,8 +2545,8 @@ var pt = /* @__PURE__ */ Y({
|
|
|
2545
2545
|
...this.$attrs
|
|
2546
2546
|
};
|
|
2547
2547
|
} }
|
|
2548
|
-
}, [["render",
|
|
2549
|
-
function
|
|
2548
|
+
}, [["render", pt]]), ht = ["innerHTML"];
|
|
2549
|
+
function gt(e, t, n, r, i, a) {
|
|
2550
2550
|
let u = T("w-image");
|
|
2551
2551
|
return b(), c("div", { class: g(["w-card", a.classes]) }, [
|
|
2552
2552
|
e.$slots.title ? (b(), c("div", {
|
|
@@ -2562,7 +2562,7 @@ function ht(e, t, n, r, i, a) {
|
|
|
2562
2562
|
...a.titleClasses
|
|
2563
2563
|
}]),
|
|
2564
2564
|
innerHTML: n.title
|
|
2565
|
-
}, null, 10,
|
|
2565
|
+
}, null, 10, ht)) : s("", !0),
|
|
2566
2566
|
n.image ? (b(), o(u, h({
|
|
2567
2567
|
key: 2,
|
|
2568
2568
|
class: "w-card__image",
|
|
@@ -2578,7 +2578,7 @@ function ht(e, t, n, r, i, a) {
|
|
|
2578
2578
|
}, [w(e.$slots, "actions")], 2)) : s("", !0)
|
|
2579
2579
|
], 2);
|
|
2580
2580
|
}
|
|
2581
|
-
var
|
|
2581
|
+
var _t = /* @__PURE__ */ J({
|
|
2582
2582
|
name: "w-card",
|
|
2583
2583
|
props: {
|
|
2584
2584
|
color: { type: String },
|
|
@@ -2605,10 +2605,10 @@ var gt = /* @__PURE__ */ Y({
|
|
|
2605
2605
|
emits: [],
|
|
2606
2606
|
computed: {
|
|
2607
2607
|
titleClasses() {
|
|
2608
|
-
return
|
|
2608
|
+
return X(this.titleClass);
|
|
2609
2609
|
},
|
|
2610
2610
|
contentClasses() {
|
|
2611
|
-
return
|
|
2611
|
+
return X(this.contentClass);
|
|
2612
2612
|
},
|
|
2613
2613
|
titleHasToolbar() {
|
|
2614
2614
|
let { title: e } = this.$slots;
|
|
@@ -2637,7 +2637,13 @@ var gt = /* @__PURE__ */ Y({
|
|
|
2637
2637
|
};
|
|
2638
2638
|
}
|
|
2639
2639
|
}
|
|
2640
|
-
}, [["render",
|
|
2640
|
+
}, [["render", gt]]);
|
|
2641
|
+
//#endregion
|
|
2642
|
+
//#region src/wave-ui/mixins/form-elements.js
|
|
2643
|
+
function Z() {
|
|
2644
|
+
return { waveUiUseId: A() };
|
|
2645
|
+
}
|
|
2646
|
+
var Q = {
|
|
2641
2647
|
inject: {
|
|
2642
2648
|
formRegister: { default: null },
|
|
2643
2649
|
formProps: { default: () => ({
|
|
@@ -2645,9 +2651,6 @@ var gt = /* @__PURE__ */ Y({
|
|
|
2645
2651
|
readonly: !1
|
|
2646
2652
|
}) }
|
|
2647
2653
|
},
|
|
2648
|
-
setup() {
|
|
2649
|
-
return { waveUiUseId: A() };
|
|
2650
|
-
},
|
|
2651
2654
|
props: {
|
|
2652
2655
|
id: { type: String },
|
|
2653
2656
|
name: { type: String },
|
|
@@ -2686,7 +2689,7 @@ var gt = /* @__PURE__ */ Y({
|
|
|
2686
2689
|
methods: { validate() {
|
|
2687
2690
|
this.$refs.formEl.validate(this);
|
|
2688
2691
|
} }
|
|
2689
|
-
},
|
|
2692
|
+
}, vt = [
|
|
2690
2693
|
"id",
|
|
2691
2694
|
"name",
|
|
2692
2695
|
"checked",
|
|
@@ -2694,8 +2697,8 @@ var gt = /* @__PURE__ */ Y({
|
|
|
2694
2697
|
"required",
|
|
2695
2698
|
"tabindex",
|
|
2696
2699
|
"aria-checked"
|
|
2697
|
-
],
|
|
2698
|
-
function
|
|
2700
|
+
], yt = ["for"], bt = ["for", "innerHTML"], xt = ["for"], St = ["for", "innerHTML"];
|
|
2701
|
+
function Ct(t, n, r, i, a, u) {
|
|
2699
2702
|
return b(), o(D(t.formRegister && !u.wCheckboxes ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
2700
2703
|
validators: t.validators,
|
|
2701
2704
|
inputValue: a.isChecked,
|
|
@@ -2726,17 +2729,17 @@ function St(t, n, r, i, a, u) {
|
|
|
2726
2729
|
onKeypress: n[3] ||= I((...e) => u.onInput && u.onInput(...e), ["enter"]),
|
|
2727
2730
|
"aria-checked": a.isChecked || "false",
|
|
2728
2731
|
role: "checkbox"
|
|
2729
|
-
}, null, 40,
|
|
2732
|
+
}, null, 40, vt),
|
|
2730
2733
|
u.hasLabel && r.labelOnLeft ? (b(), c(e, { key: 0 }, [t.$slots.default ? (b(), c("label", {
|
|
2731
2734
|
key: 0,
|
|
2732
2735
|
class: g(["w-checkbox__label w-form-el-shakable pr2", t.labelClasses]),
|
|
2733
2736
|
for: t.inputId
|
|
2734
|
-
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
2737
|
+
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, yt)) : r.label ? (b(), c("label", {
|
|
2735
2738
|
key: 1,
|
|
2736
2739
|
class: g(["w-checkbox__label w-form-el-shakable pr2", t.labelClasses]),
|
|
2737
2740
|
for: t.inputId,
|
|
2738
2741
|
innerHTML: r.label
|
|
2739
|
-
}, null, 10,
|
|
2742
|
+
}, null, 10, bt)) : s("", !0)], 64)) : s("", !0),
|
|
2740
2743
|
l("div", {
|
|
2741
2744
|
class: g(["w-checkbox__input", this.color]),
|
|
2742
2745
|
onClick: n[4] ||= (e) => {
|
|
@@ -2747,19 +2750,22 @@ function St(t, n, r, i, a, u) {
|
|
|
2747
2750
|
key: 0,
|
|
2748
2751
|
class: g(["w-checkbox__label w-form-el-shakable pl2", t.labelClasses]),
|
|
2749
2752
|
for: t.inputId
|
|
2750
|
-
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
2753
|
+
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, xt)) : r.label ? (b(), c("label", {
|
|
2751
2754
|
key: 1,
|
|
2752
2755
|
class: g(["w-checkbox__label w-form-el-shakable pl2", t.labelClasses]),
|
|
2753
2756
|
for: t.inputId,
|
|
2754
2757
|
innerHTML: r.label
|
|
2755
|
-
}, null, 10,
|
|
2758
|
+
}, null, 10, St)) : s("", !0)], 64)) : s("", !0)
|
|
2756
2759
|
]),
|
|
2757
2760
|
_: 3
|
|
2758
2761
|
}, 16, ["valid", "class"]);
|
|
2759
2762
|
}
|
|
2760
|
-
var
|
|
2763
|
+
var wt = /* @__PURE__ */ J({
|
|
2761
2764
|
name: "w-checkbox",
|
|
2762
2765
|
mixins: [Q],
|
|
2766
|
+
setup() {
|
|
2767
|
+
return Z();
|
|
2768
|
+
},
|
|
2763
2769
|
inject: { wCheckboxes: { default: null } },
|
|
2764
2770
|
props: {
|
|
2765
2771
|
modelValue: { default: !1 },
|
|
@@ -2824,8 +2830,8 @@ var Ct = /* @__PURE__ */ Y({
|
|
|
2824
2830
|
watch: { modelValue(e) {
|
|
2825
2831
|
this.isChecked = e;
|
|
2826
2832
|
} }
|
|
2827
|
-
}, [["render",
|
|
2828
|
-
function
|
|
2833
|
+
}, [["render", Ct]]), Tt = ["innerHTML"];
|
|
2834
|
+
function Et(t, n, r, i, a, l) {
|
|
2829
2835
|
let u = T("w-checkbox");
|
|
2830
2836
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
2831
2837
|
validators: t.validators,
|
|
@@ -2866,7 +2872,7 @@ function Tt(t, n, r, i, a, l) {
|
|
|
2866
2872
|
}) : e.label ? (b(), c("div", {
|
|
2867
2873
|
key: 1,
|
|
2868
2874
|
innerHTML: e.label
|
|
2869
|
-
}, null, 8,
|
|
2875
|
+
}, null, 8, Tt)) : s("", !0)]),
|
|
2870
2876
|
_: 2
|
|
2871
2877
|
}, 1040, [
|
|
2872
2878
|
"model-value",
|
|
@@ -2885,9 +2891,12 @@ function Tt(t, n, r, i, a, l) {
|
|
|
2885
2891
|
"class"
|
|
2886
2892
|
]);
|
|
2887
2893
|
}
|
|
2888
|
-
var
|
|
2894
|
+
var Dt = /* @__PURE__ */ J({
|
|
2889
2895
|
name: "w-checkboxes",
|
|
2890
2896
|
mixins: [Q],
|
|
2897
|
+
setup() {
|
|
2898
|
+
return Z();
|
|
2899
|
+
},
|
|
2891
2900
|
props: {
|
|
2892
2901
|
items: {
|
|
2893
2902
|
type: Array,
|
|
@@ -2958,10 +2967,10 @@ var Et = /* @__PURE__ */ Y({
|
|
|
2958
2967
|
return this.items[e._index];
|
|
2959
2968
|
}
|
|
2960
2969
|
}
|
|
2961
|
-
}, [["render",
|
|
2970
|
+
}, [["render", Et]]);
|
|
2962
2971
|
//#endregion
|
|
2963
2972
|
//#region src/wave-ui/components/w-confirm.vue?vue&type=template&lang.js
|
|
2964
|
-
function
|
|
2973
|
+
function Ot(e, t, n, r, i, a) {
|
|
2965
2974
|
let c = T("w-button"), u = T("w-flex"), p = T("w-menu"), m = E("focus");
|
|
2966
2975
|
return b(), o(p, h({
|
|
2967
2976
|
modelValue: e.showPopup,
|
|
@@ -3001,7 +3010,7 @@ function Dt(e, t, n, r, i, a) {
|
|
|
3001
3010
|
_: 3
|
|
3002
3011
|
}, 16, ["modelValue"]);
|
|
3003
3012
|
}
|
|
3004
|
-
var
|
|
3013
|
+
var kt = /* @__PURE__ */ J({
|
|
3005
3014
|
name: "w-confirm",
|
|
3006
3015
|
inheritAttrs: !1,
|
|
3007
3016
|
props: {
|
|
@@ -3127,16 +3136,16 @@ var Ot = /* @__PURE__ */ Y({
|
|
|
3127
3136
|
this.$emit("confirm"), this.showPopup = !1;
|
|
3128
3137
|
}
|
|
3129
3138
|
}
|
|
3130
|
-
}, [["render",
|
|
3139
|
+
}, [["render", Ot]]);
|
|
3131
3140
|
//#endregion
|
|
3132
3141
|
//#region src/wave-ui/components/w-date-picker.vue?vue&type=template&lang.js
|
|
3133
|
-
function
|
|
3142
|
+
function At(e, t, n, r, i, a) {
|
|
3134
3143
|
return b(), c("div", {
|
|
3135
3144
|
class: g(["w-date-picker", a.classes]),
|
|
3136
3145
|
style: v(a.styles)
|
|
3137
3146
|
}, [w(e.$slots, "default")], 6);
|
|
3138
3147
|
}
|
|
3139
|
-
var
|
|
3148
|
+
var jt = /* @__PURE__ */ J({
|
|
3140
3149
|
name: "w-date-picker",
|
|
3141
3150
|
props: {
|
|
3142
3151
|
dark: { type: Boolean },
|
|
@@ -3154,10 +3163,10 @@ var At = /* @__PURE__ */ Y({
|
|
|
3154
3163
|
return !1;
|
|
3155
3164
|
}
|
|
3156
3165
|
}
|
|
3157
|
-
}, [["render",
|
|
3166
|
+
}, [["render", At]]);
|
|
3158
3167
|
//#endregion
|
|
3159
3168
|
//#region src/wave-ui/components/w-dialog.vue?vue&type=template&lang.js
|
|
3160
|
-
function
|
|
3169
|
+
function Mt(e, t, n, i, a, s) {
|
|
3161
3170
|
let c = T("w-card"), l = T("w-overlay");
|
|
3162
3171
|
return b(), o(l, {
|
|
3163
3172
|
class: g(["w-dialog", s.classes]),
|
|
@@ -3218,7 +3227,7 @@ function jt(e, t, n, i, a, s) {
|
|
|
3218
3227
|
"class"
|
|
3219
3228
|
]);
|
|
3220
3229
|
}
|
|
3221
|
-
var
|
|
3230
|
+
var Nt = /* @__PURE__ */ J({
|
|
3222
3231
|
name: "w-dialog",
|
|
3223
3232
|
props: {
|
|
3224
3233
|
modelValue: { default: !0 },
|
|
@@ -3278,13 +3287,13 @@ var Mt = /* @__PURE__ */ Y({
|
|
|
3278
3287
|
},
|
|
3279
3288
|
computed: {
|
|
3280
3289
|
titleClasses() {
|
|
3281
|
-
return
|
|
3290
|
+
return X(this.titleClass);
|
|
3282
3291
|
},
|
|
3283
3292
|
contentClasses() {
|
|
3284
|
-
return
|
|
3293
|
+
return X(this.contentClass);
|
|
3285
3294
|
},
|
|
3286
3295
|
dialogClasses() {
|
|
3287
|
-
return
|
|
3296
|
+
return X(this.dialogClass);
|
|
3288
3297
|
},
|
|
3289
3298
|
maxWidth() {
|
|
3290
3299
|
let e = this.width;
|
|
@@ -3315,15 +3324,15 @@ var Mt = /* @__PURE__ */ Y({
|
|
|
3315
3324
|
watch: { modelValue(e) {
|
|
3316
3325
|
this.showWrapper = e, this.showContent = e;
|
|
3317
3326
|
} }
|
|
3318
|
-
}, [["render",
|
|
3319
|
-
function
|
|
3327
|
+
}, [["render", Mt]]), Pt = ["role", "aria-orientation"];
|
|
3328
|
+
function Ft(e, t, n, r, i, a) {
|
|
3320
3329
|
return b(), c("div", {
|
|
3321
3330
|
class: g(["w-divider", a.classes]),
|
|
3322
3331
|
role: e.$slots.default ? null : "presentation",
|
|
3323
3332
|
"aria-orientation": n.vertical ? "vertical" : "horizontal"
|
|
3324
|
-
}, [w(e.$slots, "default")], 10,
|
|
3333
|
+
}, [w(e.$slots, "default")], 10, Pt);
|
|
3325
3334
|
}
|
|
3326
|
-
var
|
|
3335
|
+
var It = /* @__PURE__ */ J({
|
|
3327
3336
|
name: "w-divider",
|
|
3328
3337
|
props: {
|
|
3329
3338
|
vertical: { type: Boolean },
|
|
@@ -3341,8 +3350,8 @@ var Ft = /* @__PURE__ */ Y({
|
|
|
3341
3350
|
"w-divider--light": this.light
|
|
3342
3351
|
};
|
|
3343
3352
|
} }
|
|
3344
|
-
}, [["render",
|
|
3345
|
-
function
|
|
3353
|
+
}, [["render", Ft]]), Lt = { class: "w-drawer-wrap__pushable" };
|
|
3354
|
+
function Rt(t, n, i, a, u, d) {
|
|
3346
3355
|
let p = T("w-overlay");
|
|
3347
3356
|
return u.showWrapper || i.pushContent ? (b(), c("div", {
|
|
3348
3357
|
key: 0,
|
|
@@ -3351,7 +3360,7 @@ function Lt(t, n, i, a, u, d) {
|
|
|
3351
3360
|
key: 0,
|
|
3352
3361
|
class: "w-drawer-wrap__track",
|
|
3353
3362
|
style: v(d.trackStyles)
|
|
3354
|
-
}, [l("div",
|
|
3363
|
+
}, [l("div", Lt, [i.noOverlay ? s("", !0) : (b(), o(p, {
|
|
3355
3364
|
key: 0,
|
|
3356
3365
|
modelValue: u.showDrawer,
|
|
3357
3366
|
"onUpdate:modelValue": n[0] ||= (e) => u.showDrawer = e,
|
|
@@ -3420,12 +3429,12 @@ function Lt(t, n, i, a, u, d) {
|
|
|
3420
3429
|
}
|
|
3421
3430
|
//#endregion
|
|
3422
3431
|
//#region src/wave-ui/components/w-drawer.vue
|
|
3423
|
-
var
|
|
3432
|
+
var zt = {
|
|
3424
3433
|
left: "right",
|
|
3425
3434
|
right: "left",
|
|
3426
3435
|
top: "down",
|
|
3427
3436
|
bottom: "up"
|
|
3428
|
-
},
|
|
3437
|
+
}, Bt = /* @__PURE__ */ J({
|
|
3429
3438
|
name: "w-drawer",
|
|
3430
3439
|
props: {
|
|
3431
3440
|
modelValue: { default: !0 },
|
|
@@ -3531,7 +3540,7 @@ var Rt = {
|
|
|
3531
3540
|
return !this.showWrapper;
|
|
3532
3541
|
},
|
|
3533
3542
|
transitionName() {
|
|
3534
|
-
return `slide-${
|
|
3543
|
+
return `slide-${zt[this.position]}`;
|
|
3535
3544
|
}
|
|
3536
3545
|
},
|
|
3537
3546
|
methods: {
|
|
@@ -3548,16 +3557,16 @@ var Rt = {
|
|
|
3548
3557
|
watch: { modelValue(e) {
|
|
3549
3558
|
e && (this.showWrapper = !0), this.showDrawer = e;
|
|
3550
3559
|
} }
|
|
3551
|
-
}, [["render",
|
|
3560
|
+
}, [["render", Rt]]);
|
|
3552
3561
|
//#endregion
|
|
3553
3562
|
//#region src/wave-ui/components/w-flex.vue?vue&type=template&lang.js
|
|
3554
|
-
function
|
|
3563
|
+
function Vt(e, t, n, r, i, a) {
|
|
3555
3564
|
return b(), o(D(n.tag), { class: g(["w-flex", a.classes]) }, {
|
|
3556
3565
|
default: P(() => [w(e.$slots, "default")]),
|
|
3557
3566
|
_: 3
|
|
3558
3567
|
}, 8, ["class"]);
|
|
3559
3568
|
}
|
|
3560
|
-
var
|
|
3569
|
+
var Ht = /* @__PURE__ */ J({
|
|
3561
3570
|
name: "w-flex",
|
|
3562
3571
|
props: {
|
|
3563
3572
|
tag: {
|
|
@@ -3608,10 +3617,10 @@ var Vt = /* @__PURE__ */ Y({
|
|
|
3608
3617
|
[`gap${this.gap}`]: ~~this.gap
|
|
3609
3618
|
};
|
|
3610
3619
|
} }
|
|
3611
|
-
}, [["render",
|
|
3620
|
+
}, [["render", Vt]]);
|
|
3612
3621
|
//#endregion
|
|
3613
3622
|
//#region src/wave-ui/components/w-form.vue?vue&type=template&lang.js
|
|
3614
|
-
function
|
|
3623
|
+
function Ut(e, t, n, r, i, a) {
|
|
3615
3624
|
return b(), c("form", {
|
|
3616
3625
|
class: g(["w-form", a.classes]),
|
|
3617
3626
|
onSubmit: t[0] ||= (...e) => a.onSubmit && a.onSubmit(...e),
|
|
@@ -3621,10 +3630,10 @@ function Ht(e, t, n, r, i, a) {
|
|
|
3621
3630
|
}
|
|
3622
3631
|
//#endregion
|
|
3623
3632
|
//#region src/wave-ui/components/w-form.vue
|
|
3624
|
-
var
|
|
3633
|
+
var Wt = async (e, t) => {
|
|
3625
3634
|
for (let n of e) if (await t(n)) return !0;
|
|
3626
3635
|
return !1;
|
|
3627
|
-
},
|
|
3636
|
+
}, Gt = /* @__PURE__ */ J({
|
|
3628
3637
|
name: "w-form",
|
|
3629
3638
|
props: {
|
|
3630
3639
|
modelValue: {},
|
|
@@ -3699,7 +3708,7 @@ var Ut = async (e, t) => {
|
|
|
3699
3708
|
},
|
|
3700
3709
|
async checkElementValidators(e) {
|
|
3701
3710
|
let t = !1, n = "";
|
|
3702
|
-
await
|
|
3711
|
+
await Wt(e.validators, async (r) => {
|
|
3703
3712
|
let i = await (typeof r == "function" && r(e.inputValue));
|
|
3704
3713
|
return t = typeof i != "string", n = t ? "" : i, !t;
|
|
3705
3714
|
}), e.hasJustReset = !1, e.Validation.isValid = t, e.Validation.message = n;
|
|
@@ -3720,10 +3729,10 @@ var Ut = async (e, t) => {
|
|
|
3720
3729
|
watch: { modelValue(e) {
|
|
3721
3730
|
(this.status === !1 && e || e === null && this.status !== null) && this.reset(), this.status = e;
|
|
3722
3731
|
} }
|
|
3723
|
-
}, [["render",
|
|
3732
|
+
}, [["render", Ut]]);
|
|
3724
3733
|
//#endregion
|
|
3725
3734
|
//#region src/wave-ui/components/w-form-element.vue?vue&type=template&lang.js
|
|
3726
|
-
function
|
|
3735
|
+
function Kt(e, t, n, r, i, a) {
|
|
3727
3736
|
let o = T("w-transition-expand");
|
|
3728
3737
|
return b(), c("div", { class: g(a.classes) }, [l("div", { class: g(["w-flex grow", [n.column ? "column" : "align-center", n.wrap ? "wrap" : ""]]) }, [w(e.$slots, "default")], 2), f(o, { y: "" }, {
|
|
3729
3738
|
default: P(() => [e.Validation.message ? (b(), c("div", {
|
|
@@ -3733,7 +3742,7 @@ function Gt(e, t, n, r, i, a) {
|
|
|
3733
3742
|
_: 3
|
|
3734
3743
|
})], 2);
|
|
3735
3744
|
}
|
|
3736
|
-
var
|
|
3745
|
+
var qt = /* @__PURE__ */ J({
|
|
3737
3746
|
name: "w-form-element",
|
|
3738
3747
|
props: {
|
|
3739
3748
|
valid: { required: !0 },
|
|
@@ -3801,16 +3810,16 @@ var Kt = /* @__PURE__ */ Y({
|
|
|
3801
3810
|
beforeUnmount() {
|
|
3802
3811
|
this.formUnregister && this.formUnregister(this);
|
|
3803
3812
|
}
|
|
3804
|
-
}, [["render",
|
|
3813
|
+
}, [["render", Kt]]);
|
|
3805
3814
|
//#endregion
|
|
3806
3815
|
//#region src/wave-ui/components/w-grid.vue?vue&type=template&lang.js
|
|
3807
|
-
function
|
|
3816
|
+
function Jt(e, t, n, r, i, a) {
|
|
3808
3817
|
return b(), o(D(n.tag), { class: g(["w-grid", a.classes]) }, {
|
|
3809
3818
|
default: P(() => [w(e.$slots, "default")]),
|
|
3810
3819
|
_: 3
|
|
3811
3820
|
}, 8, ["class"]);
|
|
3812
3821
|
}
|
|
3813
|
-
var
|
|
3822
|
+
var Yt = /* @__PURE__ */ J({
|
|
3814
3823
|
name: "w-grid",
|
|
3815
3824
|
props: {
|
|
3816
3825
|
tag: {
|
|
@@ -3882,10 +3891,10 @@ var Jt = /* @__PURE__ */ Y({
|
|
|
3882
3891
|
};
|
|
3883
3892
|
}
|
|
3884
3893
|
}
|
|
3885
|
-
}, [["render",
|
|
3894
|
+
}, [["render", Jt]]);
|
|
3886
3895
|
//#endregion
|
|
3887
3896
|
//#region src/wave-ui/components/w-icon.vue?vue&type=template&lang.js
|
|
3888
|
-
function
|
|
3897
|
+
function Xt(t, n, r, i, a, l) {
|
|
3889
3898
|
return b(), o(D(r.tag || "i"), {
|
|
3890
3899
|
class: g(["w-icon", l.classes]),
|
|
3891
3900
|
role: "icon",
|
|
@@ -3896,7 +3905,7 @@ function Yt(t, n, r, i, a, l) {
|
|
|
3896
3905
|
_: 1
|
|
3897
3906
|
}, 8, ["class", "style"]);
|
|
3898
3907
|
}
|
|
3899
|
-
var
|
|
3908
|
+
var Zt = /* @__PURE__ */ J({
|
|
3900
3909
|
name: "w-icon",
|
|
3901
3910
|
props: {
|
|
3902
3911
|
tag: {
|
|
@@ -3966,11 +3975,11 @@ var Xt = /* @__PURE__ */ Y({
|
|
|
3966
3975
|
let { default: e } = this.$slots, [t = "", n = ""] = typeof e == "function" && e()?.[0]?.children?.trim()?.split(" ") || [];
|
|
3967
3976
|
return this.fontName = t, this.icon = n, !0;
|
|
3968
3977
|
} }
|
|
3969
|
-
}, [["render",
|
|
3978
|
+
}, [["render", Xt]]), Qt = {
|
|
3970
3979
|
key: 0,
|
|
3971
3980
|
class: "w-image__loader"
|
|
3972
|
-
},
|
|
3973
|
-
function
|
|
3981
|
+
}, $t = ["innerHTML"];
|
|
3982
|
+
function en(e, t, n, i, a, l) {
|
|
3974
3983
|
let u = T("w-progress");
|
|
3975
3984
|
return b(), o(D(l.wrapperTag), {
|
|
3976
3985
|
class: g(["w-image", l.wrapperClasses]),
|
|
@@ -3995,7 +4004,7 @@ function $t(e, t, n, i, a, l) {
|
|
|
3995
4004
|
])) : s("", !0)]),
|
|
3996
4005
|
_: 1
|
|
3997
4006
|
}, 8, ["name"]),
|
|
3998
|
-
!n.noSpinner && a.loading ? (b(), c("span",
|
|
4007
|
+
!n.noSpinner && a.loading ? (b(), c("span", Qt, [e.$slots.loading ? w(e.$slots, "loading", { key: 0 }) : (b(), o(u, h({
|
|
3999
4008
|
key: 1,
|
|
4000
4009
|
circle: "",
|
|
4001
4010
|
indeterminate: ""
|
|
@@ -4014,12 +4023,12 @@ function $t(e, t, n, i, a, l) {
|
|
|
4014
4023
|
key: 3,
|
|
4015
4024
|
class: g(["w-image__caption caption", n.captionClass]),
|
|
4016
4025
|
innerHTML: n.caption
|
|
4017
|
-
}, null, 10,
|
|
4026
|
+
}, null, 10, $t)) : s("", !0)
|
|
4018
4027
|
]),
|
|
4019
4028
|
_: 3
|
|
4020
4029
|
}, 40, ["class", "style"]);
|
|
4021
4030
|
}
|
|
4022
|
-
var
|
|
4031
|
+
var tn = /* @__PURE__ */ J({
|
|
4023
4032
|
name: "w-image",
|
|
4024
4033
|
props: {
|
|
4025
4034
|
tag: {
|
|
@@ -4132,7 +4141,7 @@ var en = /* @__PURE__ */ Y({
|
|
|
4132
4141
|
watch: { src() {
|
|
4133
4142
|
this.loadImage();
|
|
4134
4143
|
} }
|
|
4135
|
-
}, [["render",
|
|
4144
|
+
}, [["render", en]]), nn = ["name"], rn = ["for"], an = [
|
|
4136
4145
|
"id",
|
|
4137
4146
|
"type",
|
|
4138
4147
|
"name",
|
|
@@ -4147,17 +4156,17 @@ var en = /* @__PURE__ */ Y({
|
|
|
4147
4156
|
"disabled",
|
|
4148
4157
|
"required",
|
|
4149
4158
|
"tabindex"
|
|
4150
|
-
],
|
|
4159
|
+
], on = [
|
|
4151
4160
|
"id",
|
|
4152
4161
|
"name",
|
|
4153
4162
|
"multiple",
|
|
4154
4163
|
"disabled",
|
|
4155
4164
|
"data-progress"
|
|
4156
|
-
],
|
|
4165
|
+
], sn = {
|
|
4157
4166
|
class: "w-input__no-file",
|
|
4158
4167
|
key: "no-file"
|
|
4159
|
-
},
|
|
4160
|
-
function
|
|
4168
|
+
}, cn = ["for"], ln = ["src"], un = ["for"];
|
|
4169
|
+
function dn(t, n, r, a, u, p) {
|
|
4161
4170
|
let m = T("w-icon"), _ = T("w-progress");
|
|
4162
4171
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
4163
4172
|
validators: t.validators,
|
|
@@ -4181,12 +4190,12 @@ function un(t, n, r, a, u, p) {
|
|
|
4181
4190
|
type: "hidden",
|
|
4182
4191
|
name: t.name || null,
|
|
4183
4192
|
"onUpdate:modelValue": n[0] ||= (e) => u.inputValue = e
|
|
4184
|
-
}, null, 8,
|
|
4193
|
+
}, null, 8, nn)), [[M, u.inputValue]]) : (b(), c(e, { key: 1 }, [
|
|
4185
4194
|
r.labelPosition === "left" ? (b(), c(e, { key: 0 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
4186
4195
|
key: 0,
|
|
4187
4196
|
class: g(["w-input__label w-input__label--left w-form-el-shakable", t.labelClasses]),
|
|
4188
4197
|
for: t.inputId
|
|
4189
|
-
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
4198
|
+
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, rn)) : s("", !0)], 64)) : s("", !0),
|
|
4190
4199
|
l("div", { class: g(["w-input__input-wrap", p.inputWrapClasses]) }, [
|
|
4191
4200
|
w(t.$slots, "icon-left", { inputId: t.inputId }, () => [r.innerIconLeft ? (b(), o(m, {
|
|
4192
4201
|
key: 0,
|
|
@@ -4210,13 +4219,13 @@ function un(t, n, r, a, u, p) {
|
|
|
4210
4219
|
}, p.attrs, {
|
|
4211
4220
|
disabled: t.isDisabled || null,
|
|
4212
4221
|
"data-progress": p.overallFilesProgress
|
|
4213
|
-
}), null, 16,
|
|
4222
|
+
}), null, 16, on), f(i, {
|
|
4214
4223
|
class: "w-input__input w-input__input--file",
|
|
4215
4224
|
tag: "label",
|
|
4216
4225
|
name: "fade",
|
|
4217
4226
|
for: t.inputId
|
|
4218
4227
|
}, {
|
|
4219
|
-
default: P(() => [!u.inputFiles.length && u.isFocused ? (b(), c("span",
|
|
4228
|
+
default: P(() => [!u.inputFiles.length && u.isFocused ? (b(), c("span", sn, [w(t.$slots, "no-file", {}, () => [t.$slots["no-file"] === void 0 ? (b(), c(e, { key: 0 }, [d("No file")], 64)) : s("", !0)])])) : s("", !0), (b(!0), c(e, null, C(u.inputFiles, (e, t) => (b(), c("span", { key: e.lastModified }, [
|
|
4220
4229
|
d(O(t ? ", " : ""), 1),
|
|
4221
4230
|
(b(), c("span", {
|
|
4222
4231
|
class: "filename",
|
|
@@ -4247,7 +4256,7 @@ function un(t, n, r, a, u, p) {
|
|
|
4247
4256
|
disabled: t.isDisabled || null,
|
|
4248
4257
|
required: t.required || null,
|
|
4249
4258
|
tabindex: t.tabindex || null
|
|
4250
|
-
}, p.attrs, { class: r.inputClass }), null, 16,
|
|
4259
|
+
}, p.attrs, { class: r.inputClass }), null, 16, an)), [[j, u.inputValue]]),
|
|
4251
4260
|
r.labelPosition === "inside" && p.showLabelInside ? (b(), c(e, { key: 2 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
4252
4261
|
key: 0,
|
|
4253
4262
|
class: g(["w-input__label w-input__label--inside w-form-el-shakable", t.labelClasses])
|
|
@@ -4282,15 +4291,15 @@ function un(t, n, r, a, u, p) {
|
|
|
4282
4291
|
key: `${n}b`,
|
|
4283
4292
|
src: t.preview,
|
|
4284
4293
|
alt: ""
|
|
4285
|
-
}, null, 8,
|
|
4294
|
+
}, null, 8, ln)) : (b(), c("i", {
|
|
4286
4295
|
class: g(["w-icon w-input__file-preview primary size--md", r.preview && typeof r.preview == "string" ? r.preview : "wi-file"]),
|
|
4287
4296
|
key: `${n}c`
|
|
4288
|
-
}, null, 2))], 64))), 256))], 8,
|
|
4297
|
+
}, null, 2))], 64))), 256))], 8, cn)) : s("", !0),
|
|
4289
4298
|
r.labelPosition === "right" ? (b(), c(e, { key: 2 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
4290
4299
|
key: 0,
|
|
4291
4300
|
class: g(["w-input__label w-input__label--right w-form-el-shakable", t.labelClasses]),
|
|
4292
4301
|
for: t.inputId
|
|
4293
|
-
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
4302
|
+
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, un)) : s("", !0)], 64)) : s("", !0)
|
|
4294
4303
|
], 64))]),
|
|
4295
4304
|
_: 3
|
|
4296
4305
|
}, 16, [
|
|
@@ -4300,10 +4309,13 @@ function un(t, n, r, a, u, p) {
|
|
|
4300
4309
|
"style"
|
|
4301
4310
|
]);
|
|
4302
4311
|
}
|
|
4303
|
-
var
|
|
4312
|
+
var fn = /* @__PURE__ */ J({
|
|
4304
4313
|
name: "w-input",
|
|
4305
4314
|
mixins: [Q],
|
|
4306
4315
|
inheritAttrs: !1,
|
|
4316
|
+
setup() {
|
|
4317
|
+
return Z();
|
|
4318
|
+
},
|
|
4307
4319
|
props: {
|
|
4308
4320
|
modelValue: { default: "" },
|
|
4309
4321
|
type: {
|
|
@@ -4488,10 +4500,10 @@ var dn = /* @__PURE__ */ Y({
|
|
|
4488
4500
|
watch: { modelValue(e) {
|
|
4489
4501
|
this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1, this.inputFiles = []);
|
|
4490
4502
|
} }
|
|
4491
|
-
}, [["render",
|
|
4503
|
+
}, [["render", dn]]);
|
|
4492
4504
|
//#endregion
|
|
4493
4505
|
//#region src/wave-ui/components/w-list.vue?vue&type=template&lang.js
|
|
4494
|
-
function
|
|
4506
|
+
function pn(t, n, r, i, a, l) {
|
|
4495
4507
|
let f = T("w-icon"), p = T("w-list", !0);
|
|
4496
4508
|
return b(), c("ul", { class: g(["w-list", l.classes]) }, [(b(!0), c(e, null, C(t.listItems, (e, i) => (b(), c("li", {
|
|
4497
4509
|
class: g(["w-list__item", { "w-list__item--parent": (e.children || []).length }]),
|
|
@@ -4558,7 +4570,7 @@ function fn(t, n, r, i, a, l) {
|
|
|
4558
4570
|
}]), 1040, ["items", "depth"])) : s("", !0)
|
|
4559
4571
|
], 2))), 128))], 2);
|
|
4560
4572
|
}
|
|
4561
|
-
var
|
|
4573
|
+
var mn = /* @__PURE__ */ J({
|
|
4562
4574
|
name: "w-list",
|
|
4563
4575
|
setup() {
|
|
4564
4576
|
return { waveUiUseId: A() };
|
|
@@ -4755,8 +4767,8 @@ var pn = /* @__PURE__ */ Y({
|
|
|
4755
4767
|
}
|
|
4756
4768
|
}
|
|
4757
4769
|
}
|
|
4758
|
-
}, [["render",
|
|
4759
|
-
function
|
|
4770
|
+
}, [["render", pn]]), hn = 4;
|
|
4771
|
+
function gn(e) {
|
|
4760
4772
|
return {
|
|
4761
4773
|
top: "bottom",
|
|
4762
4774
|
bottom: "top",
|
|
@@ -4764,7 +4776,7 @@ function hn(e) {
|
|
|
4764
4776
|
right: "left"
|
|
4765
4777
|
}[e] || "bottom";
|
|
4766
4778
|
}
|
|
4767
|
-
var
|
|
4779
|
+
var _n = {
|
|
4768
4780
|
props: {
|
|
4769
4781
|
appendTo: { type: [
|
|
4770
4782
|
String,
|
|
@@ -4901,8 +4913,8 @@ var gn = {
|
|
|
4901
4913
|
this.viewportPlacementOverride = null, this.detachableEl.style.display = "flex";
|
|
4902
4914
|
let e = window.getComputedStyle(this.detachableEl, null), t = this.detachableEl.offsetWidth, n = this.detachableEl.offsetHeight, r = this.position;
|
|
4903
4915
|
if (!this.noPosition) {
|
|
4904
|
-
let e =
|
|
4905
|
-
(r === "bottom" && o + l + n > a - e && o - n >= e || r === "top" && o - n < e && o + l + n <= a - e || r === "right" && s + c + t > i - e && s - t >= e || r === "left" && s - t < e && s + c + t <= i - e) && (r =
|
|
4916
|
+
let e = hn, i = window.innerWidth, a = window.innerHeight, { top: o, left: s, width: c, height: l } = this.activatorEl.getBoundingClientRect();
|
|
4917
|
+
(r === "bottom" && o + l + n > a - e && o - n >= e || r === "top" && o - n < e && o + l + n <= a - e || r === "right" && s + c + t > i - e && s - t >= e || r === "left" && s - t < e && s + c + t <= i - e) && (r = gn(r), this.viewportPlacementOverride = r);
|
|
4906
4918
|
}
|
|
4907
4919
|
let i = this.getActivatorCoordinates(), { top: a, left: o } = this._applyDetachablePlacement(r, i, e);
|
|
4908
4920
|
this.detachableCoords = {
|
|
@@ -4966,7 +4978,7 @@ var gn = {
|
|
|
4966
4978
|
};
|
|
4967
4979
|
//#endregion
|
|
4968
4980
|
//#region src/wave-ui/components/w-menu.vue?vue&type=template&lang.js
|
|
4969
|
-
function
|
|
4981
|
+
function vn(t, n, i, a, l, d) {
|
|
4970
4982
|
let p = T("w-card"), m = T("w-overlay");
|
|
4971
4983
|
return b(), c(e, null, [
|
|
4972
4984
|
w(t.$slots, "activator", { on: d.activatorEventHandlers }),
|
|
@@ -5039,9 +5051,9 @@ function _n(t, n, i, a, l, d) {
|
|
|
5039
5051
|
])) : s("", !0)
|
|
5040
5052
|
], 64);
|
|
5041
5053
|
}
|
|
5042
|
-
var
|
|
5054
|
+
var yn = /* @__PURE__ */ J({
|
|
5043
5055
|
name: "w-menu",
|
|
5044
|
-
mixins: [
|
|
5056
|
+
mixins: [_n],
|
|
5045
5057
|
inheritAttrs: !1,
|
|
5046
5058
|
props: {
|
|
5047
5059
|
modelValue: {},
|
|
@@ -5117,17 +5129,17 @@ var vn = /* @__PURE__ */ Y({
|
|
|
5117
5129
|
return this.maxWidth === "activator" ? this.activatorWidth ? `${this.activatorWidth}px` : 0 : isNaN(this.maxWidth) ? this.maxWidth : this.maxWidth ? `${this.maxWidth}px` : 0;
|
|
5118
5130
|
},
|
|
5119
5131
|
menuClasses() {
|
|
5120
|
-
return
|
|
5132
|
+
return X(this.menuClass);
|
|
5121
5133
|
},
|
|
5122
5134
|
titleClasses() {
|
|
5123
|
-
return
|
|
5135
|
+
return X(this.titleClass);
|
|
5124
5136
|
},
|
|
5125
5137
|
contentClasses() {
|
|
5126
|
-
return
|
|
5138
|
+
return X(this.contentClass);
|
|
5127
5139
|
},
|
|
5128
5140
|
overlayClasses() {
|
|
5129
5141
|
return {
|
|
5130
|
-
...
|
|
5142
|
+
...X(this.overlayClass),
|
|
5131
5143
|
"w-overlay--no-pointer-event": this.showOnHover
|
|
5132
5144
|
};
|
|
5133
5145
|
},
|
|
@@ -5186,10 +5198,10 @@ var vn = /* @__PURE__ */ Y({
|
|
|
5186
5198
|
this.openTimeout = clearTimeout(this.openTimeout), this.detachableVisible && (this.showOnHover && !e && (await new Promise((e) => setTimeout(e, 10)), this.showOnHover && (this.hoveringMenu || this.hoveringActivator)) || (this.$emit("update:modelValue", this.detachableVisible = !1), this.$emit("input", !1), this.$emit("close"), this.viewportPlacementOverride = null, typeof document < "u" && document.removeEventListener("mousedown", this.onOutsideMousedown), typeof window < "u" && window.removeEventListener("resize", this.onResize)));
|
|
5187
5199
|
}
|
|
5188
5200
|
}
|
|
5189
|
-
}, [["render",
|
|
5201
|
+
}, [["render", vn]]);
|
|
5190
5202
|
//#endregion
|
|
5191
5203
|
//#region src/wave-ui/components/w-notification.vue?vue&type=template&lang.js
|
|
5192
|
-
function
|
|
5204
|
+
function bn(e, t, n, i, a, l) {
|
|
5193
5205
|
let u = T("w-alert");
|
|
5194
5206
|
return b(), o(r, {
|
|
5195
5207
|
name: l.transitionName,
|
|
@@ -5211,7 +5223,7 @@ function yn(e, t, n, i, a, l) {
|
|
|
5211
5223
|
_: 3
|
|
5212
5224
|
}, 8, ["name"]);
|
|
5213
5225
|
}
|
|
5214
|
-
var
|
|
5226
|
+
var xn = /* @__PURE__ */ J({
|
|
5215
5227
|
name: "w-notification",
|
|
5216
5228
|
props: {
|
|
5217
5229
|
modelValue: { default: !0 },
|
|
@@ -5341,10 +5353,10 @@ var bn = /* @__PURE__ */ Y({
|
|
|
5341
5353
|
watch: { modelValue(e) {
|
|
5342
5354
|
clearTimeout(this.timeoutId), this.show = e, e && this.timeoutVal && this.countdown();
|
|
5343
5355
|
} }
|
|
5344
|
-
}, [["render",
|
|
5356
|
+
}, [["render", bn]]);
|
|
5345
5357
|
//#endregion
|
|
5346
5358
|
//#region src/wave-ui/components/w-overlay.vue?vue&type=template&lang.js
|
|
5347
|
-
function
|
|
5359
|
+
function Sn(e, t, n, i, a, l) {
|
|
5348
5360
|
let u = E("focus");
|
|
5349
5361
|
return b(), o(r, {
|
|
5350
5362
|
name: "fade",
|
|
@@ -5363,7 +5375,7 @@ function xn(e, t, n, i, a, l) {
|
|
|
5363
5375
|
_: 3
|
|
5364
5376
|
}, 8, ["onAfterLeave"]);
|
|
5365
5377
|
}
|
|
5366
|
-
var
|
|
5378
|
+
var Cn = /* @__PURE__ */ J({
|
|
5367
5379
|
name: "w-overlay",
|
|
5368
5380
|
props: {
|
|
5369
5381
|
modelValue: {},
|
|
@@ -5427,22 +5439,22 @@ var Sn = /* @__PURE__ */ Y({
|
|
|
5427
5439
|
watch: { modelValue(e) {
|
|
5428
5440
|
e && (this.showOverlay = !0);
|
|
5429
5441
|
} }
|
|
5430
|
-
}, [["render",
|
|
5431
|
-
function
|
|
5432
|
-
return b(), c("div",
|
|
5442
|
+
}, [["render", Sn]]), wn = { class: "w-parallax" };
|
|
5443
|
+
function Tn(e, t, n, r, i, a) {
|
|
5444
|
+
return b(), c("div", wn);
|
|
5433
5445
|
}
|
|
5434
|
-
var
|
|
5446
|
+
var En = /* @__PURE__ */ J({
|
|
5435
5447
|
name: "w-parallax",
|
|
5436
5448
|
props: {},
|
|
5437
5449
|
emits: [],
|
|
5438
5450
|
data: () => ({})
|
|
5439
|
-
}, [["render",
|
|
5451
|
+
}, [["render", Tn]]), Dn = ["viewBox"], On = [
|
|
5440
5452
|
"cx",
|
|
5441
5453
|
"cy",
|
|
5442
5454
|
"r",
|
|
5443
5455
|
"stroke-dasharray",
|
|
5444
5456
|
"stroke-width"
|
|
5445
|
-
],
|
|
5457
|
+
], kn = [
|
|
5446
5458
|
"cx",
|
|
5447
5459
|
"cy",
|
|
5448
5460
|
"r",
|
|
@@ -5450,7 +5462,7 @@ var Tn = /* @__PURE__ */ Y({
|
|
|
5450
5462
|
"stroke-linecap",
|
|
5451
5463
|
"stroke-dasharray"
|
|
5452
5464
|
];
|
|
5453
|
-
function
|
|
5465
|
+
function An(e, t, n, r, i, a) {
|
|
5454
5466
|
return b(), c("div", {
|
|
5455
5467
|
class: g(["w-progress", a.classes]),
|
|
5456
5468
|
style: v(a.styles)
|
|
@@ -5466,7 +5478,7 @@ function kn(e, t, n, r, i, a) {
|
|
|
5466
5478
|
fill: "transparent",
|
|
5467
5479
|
"stroke-dasharray": e.circleCircumference,
|
|
5468
5480
|
"stroke-width": n.stroke
|
|
5469
|
-
}, null, 10,
|
|
5481
|
+
}, null, 10, On)) : s("", !0), l("circle", {
|
|
5470
5482
|
class: "w-progress__progress",
|
|
5471
5483
|
cx: a.circleCenter,
|
|
5472
5484
|
cy: a.circleCenter,
|
|
@@ -5476,7 +5488,7 @@ function kn(e, t, n, r, i, a) {
|
|
|
5476
5488
|
"stroke-linecap": n.roundCap && "round",
|
|
5477
5489
|
"stroke-dasharray": e.circleCircumference,
|
|
5478
5490
|
style: v(`stroke-dashoffset: ${(1 - a.progressValue / 100) * e.circleCircumference}`)
|
|
5479
|
-
}, null, 12,
|
|
5491
|
+
}, null, 12, kn)], 8, Dn)) : (b(), c("div", {
|
|
5480
5492
|
key: 0,
|
|
5481
5493
|
class: g(["w-progress__progress", { full: a.progressValue === 100 }]),
|
|
5482
5494
|
style: v(`width: ${a.progressValue}%`)
|
|
@@ -5487,7 +5499,7 @@ function kn(e, t, n, r, i, a) {
|
|
|
5487
5499
|
}
|
|
5488
5500
|
//#endregion
|
|
5489
5501
|
//#region src/wave-ui/components/w-progress.vue
|
|
5490
|
-
var $ = 40,
|
|
5502
|
+
var $ = 40, jn = $ / 2, Mn = Math.round($ * 3.14 * 100) / 100, Nn = /* @__PURE__ */ J({
|
|
5491
5503
|
name: "w-progress",
|
|
5492
5504
|
props: {
|
|
5493
5505
|
modelValue: {
|
|
@@ -5530,8 +5542,8 @@ var $ = 40, An = $ / 2, jn = Math.round($ * 3.14 * 100) / 100, Mn = /* @__PURE__
|
|
|
5530
5542
|
emits: [],
|
|
5531
5543
|
data: () => ({
|
|
5532
5544
|
circleSize: $,
|
|
5533
|
-
circleRadius:
|
|
5534
|
-
circleCircumference:
|
|
5545
|
+
circleRadius: jn,
|
|
5546
|
+
circleCircumference: Mn
|
|
5535
5547
|
}),
|
|
5536
5548
|
computed: {
|
|
5537
5549
|
progressValue() {
|
|
@@ -5568,7 +5580,7 @@ var $ = 40, An = $ / 2, jn = Math.round($ * 3.14 * 100) / 100, Mn = /* @__PURE__
|
|
|
5568
5580
|
return { [this.circle ? "width" : "height"]: this.forcedSize || null };
|
|
5569
5581
|
}
|
|
5570
5582
|
}
|
|
5571
|
-
}, [["render",
|
|
5583
|
+
}, [["render", An]]), Pn = [
|
|
5572
5584
|
"id",
|
|
5573
5585
|
"name",
|
|
5574
5586
|
"checked",
|
|
@@ -5576,8 +5588,8 @@ var $ = 40, An = $ / 2, jn = Math.round($ * 3.14 * 100) / 100, Mn = /* @__PURE__
|
|
|
5576
5588
|
"required",
|
|
5577
5589
|
"tabindex",
|
|
5578
5590
|
"aria-checked"
|
|
5579
|
-
],
|
|
5580
|
-
function
|
|
5591
|
+
], Fn = ["for"], In = ["for", "innerHTML"], Ln = ["for"], Rn = ["for", "innerHTML"];
|
|
5592
|
+
function zn(t, n, r, i, a, u) {
|
|
5581
5593
|
return b(), o(D(t.formRegister && !u.wRadios ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
5582
5594
|
validators: t.validators,
|
|
5583
5595
|
inputValue: t.inputValue,
|
|
@@ -5606,17 +5618,17 @@ function Rn(t, n, r, i, a, u) {
|
|
|
5606
5618
|
onChange: n[1] ||= (e) => u.onInput(e),
|
|
5607
5619
|
"aria-checked": t.inputValue || "false",
|
|
5608
5620
|
role: "radio"
|
|
5609
|
-
}, null, 40,
|
|
5621
|
+
}, null, 40, Pn),
|
|
5610
5622
|
u.hasLabel && r.labelOnLeft ? (b(), c(e, { key: 0 }, [t.$slots.default ? (b(), c("label", {
|
|
5611
5623
|
key: 0,
|
|
5612
5624
|
class: g(["w-radio__label w-form-el-shakable pr2", t.labelClasses]),
|
|
5613
5625
|
for: t.inputId
|
|
5614
|
-
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
5626
|
+
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, Fn)) : r.label ? (b(), c("label", {
|
|
5615
5627
|
key: 1,
|
|
5616
5628
|
class: g(["w-radio__label w-form-el-shakable pr2", t.labelClasses]),
|
|
5617
5629
|
for: t.inputId,
|
|
5618
5630
|
innerHTML: r.label
|
|
5619
|
-
}, null, 10,
|
|
5631
|
+
}, null, 10, In)) : s("", !0)], 64)) : s("", !0),
|
|
5620
5632
|
l("div", {
|
|
5621
5633
|
class: g(["w-radio__input", this.color]),
|
|
5622
5634
|
onClick: n[2] ||= (e) => {
|
|
@@ -5627,19 +5639,22 @@ function Rn(t, n, r, i, a, u) {
|
|
|
5627
5639
|
key: 0,
|
|
5628
5640
|
class: g(["w-radio__label w-form-el-shakable pl2", t.labelClasses]),
|
|
5629
5641
|
for: t.inputId
|
|
5630
|
-
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
5642
|
+
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, Ln)) : r.label ? (b(), c("label", {
|
|
5631
5643
|
key: 1,
|
|
5632
5644
|
class: g(["w-radio__label w-form-el-shakable pl2", t.labelClasses]),
|
|
5633
5645
|
for: t.inputId,
|
|
5634
5646
|
innerHTML: r.label
|
|
5635
|
-
}, null, 10,
|
|
5647
|
+
}, null, 10, Rn)) : s("", !0)], 64)) : s("", !0)
|
|
5636
5648
|
]),
|
|
5637
5649
|
_: 3
|
|
5638
5650
|
}, 16, ["valid", "class"]);
|
|
5639
5651
|
}
|
|
5640
|
-
var
|
|
5652
|
+
var Bn = /* @__PURE__ */ J({
|
|
5641
5653
|
name: "w-radio",
|
|
5642
5654
|
mixins: [Q],
|
|
5655
|
+
setup() {
|
|
5656
|
+
return Z();
|
|
5657
|
+
},
|
|
5643
5658
|
inject: { wRadios: { default: null } },
|
|
5644
5659
|
props: {
|
|
5645
5660
|
modelValue: { default: !1 },
|
|
@@ -5705,8 +5720,8 @@ var zn = /* @__PURE__ */ Y({
|
|
|
5705
5720
|
watch: { modelValue() {
|
|
5706
5721
|
this.toggleFromOutside();
|
|
5707
5722
|
} }
|
|
5708
|
-
}, [["render",
|
|
5709
|
-
function
|
|
5723
|
+
}, [["render", zn]]), Vn = ["innerHTML"];
|
|
5724
|
+
function Hn(t, n, r, i, a, l) {
|
|
5710
5725
|
let u = T("w-radio");
|
|
5711
5726
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
5712
5727
|
validators: t.validators,
|
|
@@ -5748,7 +5763,7 @@ function Vn(t, n, r, i, a, l) {
|
|
|
5748
5763
|
}) : e.label ? (b(), c("div", {
|
|
5749
5764
|
key: 1,
|
|
5750
5765
|
innerHTML: e.label
|
|
5751
|
-
}, null, 8,
|
|
5766
|
+
}, null, 8, Vn)) : s("", !0)]),
|
|
5752
5767
|
_: 2
|
|
5753
5768
|
}, 1040, [
|
|
5754
5769
|
"model-value",
|
|
@@ -5766,9 +5781,12 @@ function Vn(t, n, r, i, a, l) {
|
|
|
5766
5781
|
"class"
|
|
5767
5782
|
]);
|
|
5768
5783
|
}
|
|
5769
|
-
var
|
|
5784
|
+
var Un = /* @__PURE__ */ J({
|
|
5770
5785
|
name: "w-radios",
|
|
5771
5786
|
mixins: [Q],
|
|
5787
|
+
setup() {
|
|
5788
|
+
return Z();
|
|
5789
|
+
},
|
|
5772
5790
|
props: {
|
|
5773
5791
|
items: {
|
|
5774
5792
|
type: Array,
|
|
@@ -5833,17 +5851,17 @@ var Hn = /* @__PURE__ */ Y({
|
|
|
5833
5851
|
return this.items[e._index];
|
|
5834
5852
|
}
|
|
5835
5853
|
}
|
|
5836
|
-
}, [["render",
|
|
5854
|
+
}, [["render", Hn]]), Wn = [
|
|
5837
5855
|
"id",
|
|
5838
5856
|
"name",
|
|
5839
5857
|
"value"
|
|
5840
|
-
],
|
|
5858
|
+
], Gn = [
|
|
5841
5859
|
"disabled",
|
|
5842
5860
|
"onMouseenter",
|
|
5843
5861
|
"onClick",
|
|
5844
5862
|
"tabindex"
|
|
5845
5863
|
];
|
|
5846
|
-
function
|
|
5864
|
+
function Kn(t, n, r, i, a, u) {
|
|
5847
5865
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
5848
5866
|
validators: t.validators,
|
|
5849
5867
|
inputValue: a.rating,
|
|
@@ -5863,7 +5881,7 @@ function Gn(t, n, r, i, a, u) {
|
|
|
5863
5881
|
name: t.inputName,
|
|
5864
5882
|
type: "hidden",
|
|
5865
5883
|
value: a.rating
|
|
5866
|
-
}, null, 8,
|
|
5884
|
+
}, null, 8, Wn), (b(!0), c(e, null, C(r.max, (i) => (b(), c(e, { key: i }, [t.$slots.item ? w(t.$slots, "item", {
|
|
5867
5885
|
key: 0,
|
|
5868
5886
|
index: i + 1
|
|
5869
5887
|
}) : s("", !0), l("button", {
|
|
@@ -5883,13 +5901,16 @@ function Gn(t, n, r, i, a, u) {
|
|
|
5883
5901
|
role: "icon",
|
|
5884
5902
|
"aria-hidden": "true",
|
|
5885
5903
|
style: v(u.halfStarStyle)
|
|
5886
|
-
}, null, 6)) : s("", !0)], 42,
|
|
5904
|
+
}, null, 6)) : s("", !0)], 42, Gn)], 64))), 128))]),
|
|
5887
5905
|
_: 3
|
|
5888
5906
|
}, 16, ["valid", "class"]);
|
|
5889
5907
|
}
|
|
5890
|
-
var
|
|
5908
|
+
var qn = /* @__PURE__ */ J({
|
|
5891
5909
|
name: "w-rating",
|
|
5892
5910
|
mixins: [Q],
|
|
5911
|
+
setup() {
|
|
5912
|
+
return Z();
|
|
5913
|
+
},
|
|
5893
5914
|
props: {
|
|
5894
5915
|
modelValue: {},
|
|
5895
5916
|
max: {
|
|
@@ -5992,7 +6013,7 @@ var Kn = /* @__PURE__ */ Y({
|
|
|
5992
6013
|
watch: { value(e) {
|
|
5993
6014
|
this.rating = parseFloat(e);
|
|
5994
6015
|
} }
|
|
5995
|
-
}, [["render",
|
|
6016
|
+
}, [["render", Kn]]), Jn = /* @__PURE__ */ Object.assign({ name: "WScrollable" }, {
|
|
5996
6017
|
__name: "w-scrollable",
|
|
5997
6018
|
props: {
|
|
5998
6019
|
color: {
|
|
@@ -6100,15 +6121,15 @@ var Kn = /* @__PURE__ */ Y({
|
|
|
6100
6121
|
style: v(k.value)
|
|
6101
6122
|
}, null, 4)], 34)], 16));
|
|
6102
6123
|
}
|
|
6103
|
-
}),
|
|
6124
|
+
}), Yn = [
|
|
6104
6125
|
"aria-expanded",
|
|
6105
6126
|
"aria-owns",
|
|
6106
6127
|
"aria-activedescendant"
|
|
6107
|
-
],
|
|
6128
|
+
], Xn = {
|
|
6108
6129
|
key: 0,
|
|
6109
6130
|
class: "w-select__selection-slot"
|
|
6110
|
-
},
|
|
6111
|
-
function
|
|
6131
|
+
}, Zn = ["innerHTML"], Qn = ["value", "name"];
|
|
6132
|
+
function $n(t, n, r, i, a, p) {
|
|
6112
6133
|
let m = T("w-icon"), _ = T("w-list"), v = T("w-menu");
|
|
6113
6134
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
6114
6135
|
validators: t.validators,
|
|
@@ -6147,8 +6168,8 @@ function Qn(t, n, r, i, a, p) {
|
|
|
6147
6168
|
role: "button",
|
|
6148
6169
|
"aria-haspopup": "listbox",
|
|
6149
6170
|
"aria-expanded": t.showMenu ? "true" : "false",
|
|
6150
|
-
"aria-owns":
|
|
6151
|
-
"aria-activedescendant": `${
|
|
6171
|
+
"aria-owns": i.selectListId,
|
|
6172
|
+
"aria-activedescendant": `${i.selectListId}_item-1`
|
|
6152
6173
|
}, [
|
|
6153
6174
|
w(t.$slots, "icon-left", {}, () => [r.innerIconLeft ? (b(), o(m, {
|
|
6154
6175
|
key: 0,
|
|
@@ -6159,20 +6180,20 @@ function Qn(t, n, r, i, a, p) {
|
|
|
6159
6180
|
default: P(() => [d(O(r.innerIconLeft), 1)]),
|
|
6160
6181
|
_: 1
|
|
6161
6182
|
})) : s("", !0)]),
|
|
6162
|
-
t.$slots.selection ? (b(), c("div",
|
|
6183
|
+
t.$slots.selection ? (b(), c("div", Xn, [w(t.$slots, "selection", { item: r.multiple ? t.inputValue : t.inputValue[0] })])) : s("", !0),
|
|
6163
6184
|
l("div", h({
|
|
6164
6185
|
class: "w-select__selection",
|
|
6165
6186
|
ref: "selection-input",
|
|
6166
6187
|
onFocus: n[2] ||= (e) => !t.isDisabled && !t.isReadonly && p.onFocus(e),
|
|
6167
6188
|
onBlur: n[3] ||= (...e) => p.onBlur && p.onBlur(...e),
|
|
6168
6189
|
onKeydown: n[4] ||= (e) => !t.isDisabled && !t.isReadonly && p.onKeydown(e)
|
|
6169
|
-
}, p.selectionAttributes, { innerHTML: p.selectionHtml }), null, 16,
|
|
6190
|
+
}, p.selectionAttributes, { innerHTML: p.selectionHtml }), null, 16, Zn),
|
|
6170
6191
|
(b(!0), c(e, null, C(t.inputValue.length ? t.inputValue : [{}], (e, n) => (b(), c("input", {
|
|
6171
6192
|
key: n,
|
|
6172
6193
|
type: "hidden",
|
|
6173
6194
|
value: e.value === void 0 ? "" : e.value.toString(),
|
|
6174
6195
|
name: t.inputName + (r.multiple ? "[]" : "")
|
|
6175
|
-
}, null, 8,
|
|
6196
|
+
}, null, 8, Qn))), 128)),
|
|
6176
6197
|
r.labelPosition === "inside" && p.showLabelInside ? (b(), c(e, { key: 1 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
6177
6198
|
key: 0,
|
|
6178
6199
|
class: g(["w-select__label w-select__label--inside w-form-el-shakable", t.labelClasses])
|
|
@@ -6186,7 +6207,7 @@ function Qn(t, n, r, i, a, p) {
|
|
|
6186
6207
|
default: P(() => [d(O(r.innerIconRight), 1)]),
|
|
6187
6208
|
_: 1
|
|
6188
6209
|
})) : s("", !0)])
|
|
6189
|
-
], 10,
|
|
6210
|
+
], 10, Yn)]),
|
|
6190
6211
|
default: P(() => [f(_, {
|
|
6191
6212
|
ref: "w-list",
|
|
6192
6213
|
"model-value": t.inputValue,
|
|
@@ -6200,7 +6221,7 @@ function Qn(t, n, r, i, a, p) {
|
|
|
6200
6221
|
multiple: r.multiple,
|
|
6201
6222
|
"arrows-navigation": "",
|
|
6202
6223
|
"return-object": "",
|
|
6203
|
-
"add-ids":
|
|
6224
|
+
"add-ids": i.selectListId,
|
|
6204
6225
|
"no-unselect": r.noUnselect,
|
|
6205
6226
|
"selection-color": r.selectionColor,
|
|
6206
6227
|
"item-color-key": r.itemColorKey,
|
|
@@ -6252,9 +6273,16 @@ function Qn(t, n, r, i, a, p) {
|
|
|
6252
6273
|
"class"
|
|
6253
6274
|
]);
|
|
6254
6275
|
}
|
|
6255
|
-
var
|
|
6276
|
+
var er = /* @__PURE__ */ J({
|
|
6256
6277
|
name: "w-select",
|
|
6257
6278
|
mixins: [Q],
|
|
6279
|
+
setup(e) {
|
|
6280
|
+
let { waveUiUseId: t } = Z();
|
|
6281
|
+
return {
|
|
6282
|
+
waveUiUseId: t,
|
|
6283
|
+
selectListId: a(() => e.id ? `${e.id}__listbox` : `w-select-menu--${t}`)
|
|
6284
|
+
};
|
|
6285
|
+
},
|
|
6258
6286
|
props: {
|
|
6259
6287
|
items: {
|
|
6260
6288
|
type: Array,
|
|
@@ -6334,9 +6362,6 @@ var $n = /* @__PURE__ */ Y({
|
|
|
6334
6362
|
}
|
|
6335
6363
|
}),
|
|
6336
6364
|
computed: {
|
|
6337
|
-
selectListId() {
|
|
6338
|
-
return this.id ? `${this.id}__listbox` : `w-select-menu--${this.waveUiUseId}`;
|
|
6339
|
-
},
|
|
6340
6365
|
selectItems() {
|
|
6341
6366
|
return this.items.map((e, t) => {
|
|
6342
6367
|
let n = { ...e };
|
|
@@ -6480,12 +6505,12 @@ var $n = /* @__PURE__ */ Y({
|
|
|
6480
6505
|
this.inputValue = this.checkSelection(this.modelValue);
|
|
6481
6506
|
}
|
|
6482
6507
|
}
|
|
6483
|
-
}, [["render",
|
|
6508
|
+
}, [["render", $n]]), tr = ["for"], nr = ["for", "innerHTML"], rr = { class: "w-slider__track-wrap" }, ir = [
|
|
6484
6509
|
"aria-valuemin",
|
|
6485
6510
|
"aria-valuemax",
|
|
6486
6511
|
"aria-valuenow",
|
|
6487
6512
|
"aria-readonly"
|
|
6488
|
-
],
|
|
6513
|
+
], ar = [
|
|
6489
6514
|
"id",
|
|
6490
6515
|
"name",
|
|
6491
6516
|
"model-value",
|
|
@@ -6493,11 +6518,11 @@ var $n = /* @__PURE__ */ Y({
|
|
|
6493
6518
|
"readonly",
|
|
6494
6519
|
"aria-readonly",
|
|
6495
6520
|
"tabindex"
|
|
6496
|
-
],
|
|
6521
|
+
], or = ["for"], sr = { key: 0 }, cr = {
|
|
6497
6522
|
key: 0,
|
|
6498
6523
|
class: "w-slider__step-labels"
|
|
6499
|
-
},
|
|
6500
|
-
function
|
|
6524
|
+
}, lr = ["onClick"], ur = ["for"], dr = ["for", "innerHTML"];
|
|
6525
|
+
function fr(t, n, r, i, a, u) {
|
|
6501
6526
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
6502
6527
|
validators: t.validators,
|
|
6503
6528
|
inputValue: t.rangeValueScaled,
|
|
@@ -6518,13 +6543,13 @@ function dr(t, n, r, i, a, u) {
|
|
|
6518
6543
|
key: 0,
|
|
6519
6544
|
class: g(["w-slider__label w-slider__label--left w-form-el-shakable", t.labelClasses]),
|
|
6520
6545
|
for: u.thumbId
|
|
6521
|
-
}, [w(t.$slots, "label-left")], 10,
|
|
6546
|
+
}, [w(t.$slots, "label-left")], 10, tr)) : r.labelLeft ? (b(), c("label", {
|
|
6522
6547
|
key: 1,
|
|
6523
6548
|
class: g(["w-slider__label w-slider__label--left w-form-el-shakable", t.labelClasses]),
|
|
6524
6549
|
for: u.thumbId,
|
|
6525
6550
|
innerHTML: r.labelLeft
|
|
6526
|
-
}, null, 10,
|
|
6527
|
-
l("div",
|
|
6551
|
+
}, null, 10, nr)) : s("", !0),
|
|
6552
|
+
l("div", rr, [l("div", {
|
|
6528
6553
|
class: g(["w-slider__track", u.trackClasses]),
|
|
6529
6554
|
ref: "track",
|
|
6530
6555
|
onMousedown: n[4] ||= (...e) => u.onTrackMouseDown && u.onTrackMouseDown(...e),
|
|
@@ -6555,14 +6580,14 @@ function dr(t, n, r, i, a, u) {
|
|
|
6555
6580
|
onKeydown: [n[0] ||= I((e) => u.onKeyDown(e, -1), ["left"]), n[1] ||= I((e) => u.onKeyDown(e, 1), ["right"])],
|
|
6556
6581
|
onFocus: n[2] ||= (e) => t.$emit("focus", e),
|
|
6557
6582
|
onClick: n[3] ||= L(() => {}, ["prevent"])
|
|
6558
|
-
}, null, 42,
|
|
6583
|
+
}, null, 42, ar), r.thumbLabel ? (b(), c("label", {
|
|
6559
6584
|
key: 0,
|
|
6560
6585
|
class: g(["w-slider__thumb-label", u.thumbClasses]),
|
|
6561
6586
|
for: u.thumbId
|
|
6562
|
-
}, [r.thumbLabel === "droplet" ? (b(), c("div",
|
|
6587
|
+
}, [r.thumbLabel === "droplet" ? (b(), c("div", sr, [w(t.$slots, "label", { value: t.rangeValueScaled }, () => [d(O(~~t.rangeValueScaled), 1)])])) : w(t.$slots, "label", {
|
|
6563
6588
|
key: 1,
|
|
6564
6589
|
value: t.rangeValueScaled
|
|
6565
|
-
}, () => [d(O(~~t.rangeValueScaled), 1)])], 10,
|
|
6590
|
+
}, () => [d(O(~~t.rangeValueScaled), 1)])], 10, or)) : s("", !0)], 4)], 42, ir), r.stepLabels && r.step ? (b(), c("div", cr, [
|
|
6566
6591
|
l("div", {
|
|
6567
6592
|
class: "w-slider__step-label",
|
|
6568
6593
|
onClick: n[6] ||= (e) => u.onStepLabelClick(0)
|
|
@@ -6572,7 +6597,7 @@ function dr(t, n, r, i, a, u) {
|
|
|
6572
6597
|
key: e,
|
|
6573
6598
|
onClick: (t) => u.onStepLabelClick(e * (100 / u.numberOfSteps)),
|
|
6574
6599
|
style: v(`left: ${e * (100 / u.numberOfSteps)}%`)
|
|
6575
|
-
}, O(u.percentToScaled(e * (100 / u.numberOfSteps))), 13,
|
|
6600
|
+
}, O(u.percentToScaled(e * (100 / u.numberOfSteps))), 13, lr))), 128)),
|
|
6576
6601
|
~~u.numberOfSteps === u.numberOfSteps ? s("", !0) : (b(), c("div", {
|
|
6577
6602
|
key: 0,
|
|
6578
6603
|
class: "w-slider__step-label",
|
|
@@ -6584,12 +6609,12 @@ function dr(t, n, r, i, a, u) {
|
|
|
6584
6609
|
key: 2,
|
|
6585
6610
|
class: g(["w-slider__label w-slider__label--right w-form-el-shakable", t.labelClasses]),
|
|
6586
6611
|
for: u.thumbId
|
|
6587
|
-
}, [w(t.$slots, "label-right")], 10,
|
|
6612
|
+
}, [w(t.$slots, "label-right")], 10, ur)) : r.labelRight ? (b(), c("label", {
|
|
6588
6613
|
key: 3,
|
|
6589
6614
|
class: g(["w-slider__label w-slider__label--right w-form-el-shakable", t.labelClasses]),
|
|
6590
6615
|
for: u.thumbId,
|
|
6591
6616
|
innerHTML: r.labelRight
|
|
6592
|
-
}, null, 10,
|
|
6617
|
+
}, null, 10, dr)) : s("", !0)
|
|
6593
6618
|
]),
|
|
6594
6619
|
_: 3
|
|
6595
6620
|
}, 16, [
|
|
@@ -6598,9 +6623,12 @@ function dr(t, n, r, i, a, u) {
|
|
|
6598
6623
|
"class"
|
|
6599
6624
|
]);
|
|
6600
6625
|
}
|
|
6601
|
-
var
|
|
6626
|
+
var pr = /* @__PURE__ */ J({
|
|
6602
6627
|
name: "w-slider",
|
|
6603
6628
|
mixins: [Q],
|
|
6629
|
+
setup() {
|
|
6630
|
+
return Z();
|
|
6631
|
+
},
|
|
6604
6632
|
props: {
|
|
6605
6633
|
modelValue: {
|
|
6606
6634
|
type: Number,
|
|
@@ -6747,15 +6775,15 @@ var fr = /* @__PURE__ */ Y({
|
|
|
6747
6775
|
watch: { modelValue(e) {
|
|
6748
6776
|
this.rangeValueScaled !== e && (this.rangeValueScaled = e, this.rangeValuePercent = this.scaledToPercent(e));
|
|
6749
6777
|
} }
|
|
6750
|
-
}, [["render",
|
|
6751
|
-
function
|
|
6778
|
+
}, [["render", fr]]), mr = { key: 0 };
|
|
6779
|
+
function hr(e, t, n, r, i, a) {
|
|
6752
6780
|
return n.modelValue || n.modelValue === void 0 ? (b(), c("div", {
|
|
6753
6781
|
key: 0,
|
|
6754
6782
|
class: g(["w-spinner", a.classes]),
|
|
6755
6783
|
style: v(a.styles)
|
|
6756
|
-
}, [a.isThreeDots ? (b(), c("span",
|
|
6784
|
+
}, [a.isThreeDots ? (b(), c("span", mr)) : s("", !0)], 6)) : s("", !0);
|
|
6757
6785
|
}
|
|
6758
|
-
var
|
|
6786
|
+
var gr = /* @__PURE__ */ J({
|
|
6759
6787
|
name: "w-spinner",
|
|
6760
6788
|
props: {
|
|
6761
6789
|
modelValue: {},
|
|
@@ -6796,13 +6824,13 @@ var hr = /* @__PURE__ */ Y({
|
|
|
6796
6824
|
};
|
|
6797
6825
|
}
|
|
6798
6826
|
}
|
|
6799
|
-
}, [["render",
|
|
6827
|
+
}, [["render", hr]]);
|
|
6800
6828
|
//#endregion
|
|
6801
6829
|
//#region src/wave-ui/components/w-steps.vue?vue&type=template&lang.js
|
|
6802
|
-
function
|
|
6830
|
+
function _r(e, t, n, r, i, a) {
|
|
6803
6831
|
return b(), c("div", { class: g(["w-steps", a.classes]) }, null, 2);
|
|
6804
6832
|
}
|
|
6805
|
-
var
|
|
6833
|
+
var vr = /* @__PURE__ */ J({
|
|
6806
6834
|
name: "w-steps",
|
|
6807
6835
|
props: {
|
|
6808
6836
|
dark: { type: Boolean },
|
|
@@ -6816,7 +6844,7 @@ var _r = /* @__PURE__ */ Y({
|
|
|
6816
6844
|
"w-steps--light": this.light
|
|
6817
6845
|
};
|
|
6818
6846
|
} }
|
|
6819
|
-
}, [["render",
|
|
6847
|
+
}, [["render", _r]]), yr = [
|
|
6820
6848
|
"id",
|
|
6821
6849
|
"name",
|
|
6822
6850
|
"checked",
|
|
@@ -6826,14 +6854,14 @@ var _r = /* @__PURE__ */ Y({
|
|
|
6826
6854
|
"required",
|
|
6827
6855
|
"tabindex",
|
|
6828
6856
|
"aria-checked"
|
|
6829
|
-
],
|
|
6857
|
+
], br = ["for"], xr = {
|
|
6830
6858
|
key: 0,
|
|
6831
6859
|
class: "w-switch__track"
|
|
6832
|
-
},
|
|
6860
|
+
}, Sr = {
|
|
6833
6861
|
key: 1,
|
|
6834
6862
|
class: "w-switch__thumb"
|
|
6835
|
-
},
|
|
6836
|
-
function
|
|
6863
|
+
}, Cr = ["for"];
|
|
6864
|
+
function wr(t, n, r, i, a, u) {
|
|
6837
6865
|
let f = T("w-progress");
|
|
6838
6866
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
6839
6867
|
validators: t.validators,
|
|
@@ -6870,18 +6898,18 @@ function Cr(t, n, r, i, a, u) {
|
|
|
6870
6898
|
onBlur: n[2] ||= (e) => t.$emit("blur", e),
|
|
6871
6899
|
"aria-checked": a.isOn || "false",
|
|
6872
6900
|
role: "switch"
|
|
6873
|
-
}), null, 16,
|
|
6901
|
+
}), null, 16, yr),
|
|
6874
6902
|
u.hasLabel && r.labelOnLeft ? (b(), c(e, { key: 0 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
6875
6903
|
key: 0,
|
|
6876
6904
|
class: g(["w-switch__label w-switch__label--left w-form-el-shakable", t.labelClasses]),
|
|
6877
6905
|
for: t.inputId
|
|
6878
|
-
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
6906
|
+
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, br)) : s("", !0)], 64)) : s("", !0),
|
|
6879
6907
|
l("div", {
|
|
6880
6908
|
class: g(["w-switch__input", u.inputClasses]),
|
|
6881
6909
|
onClick: n[3] ||= (e) => {
|
|
6882
6910
|
t.$refs.input.focus(), t.$refs.input.click();
|
|
6883
6911
|
}
|
|
6884
|
-
}, [t.$slots.track ? (b(), c("div",
|
|
6912
|
+
}, [t.$slots.track ? (b(), c("div", xr, [w(t.$slots, "track")])) : s("", !0), t.$slots.thumb || r.loading ? (b(), c("div", Sr, [r.loading ? (b(), o(f, h({
|
|
6885
6913
|
key: 0,
|
|
6886
6914
|
circle: "",
|
|
6887
6915
|
color: "inherit"
|
|
@@ -6890,7 +6918,7 @@ function Cr(t, n, r, i, a, u) {
|
|
|
6890
6918
|
key: 0,
|
|
6891
6919
|
class: g(["w-switch__label w-switch__label--right w-form-el-shakable", t.labelClasses]),
|
|
6892
6920
|
for: t.inputId
|
|
6893
|
-
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
6921
|
+
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, Cr)) : s("", !0)], 64)) : s("", !0)
|
|
6894
6922
|
]),
|
|
6895
6923
|
_: 3
|
|
6896
6924
|
}, 16, [
|
|
@@ -6899,10 +6927,13 @@ function Cr(t, n, r, i, a, u) {
|
|
|
6899
6927
|
"style"
|
|
6900
6928
|
]);
|
|
6901
6929
|
}
|
|
6902
|
-
var
|
|
6930
|
+
var Tr = /* @__PURE__ */ J({
|
|
6903
6931
|
name: "w-switch",
|
|
6904
6932
|
mixins: [Q],
|
|
6905
6933
|
inheritAttrs: !1,
|
|
6934
|
+
setup() {
|
|
6935
|
+
return Z();
|
|
6936
|
+
},
|
|
6906
6937
|
props: {
|
|
6907
6938
|
modelValue: { default: !1 },
|
|
6908
6939
|
label: {
|
|
@@ -6982,27 +7013,27 @@ var wr = /* @__PURE__ */ Y({
|
|
|
6982
7013
|
watch: { modelValue(e) {
|
|
6983
7014
|
this.isOn = e;
|
|
6984
7015
|
} }
|
|
6985
|
-
}, [["render",
|
|
6986
|
-
function
|
|
6987
|
-
return b(), c("div",
|
|
7016
|
+
}, [["render", wr]]), Er = { class: "w-tabs__content" };
|
|
7017
|
+
function Dr(e, t, n, r, i, a) {
|
|
7018
|
+
return b(), c("div", Er, [w(e.$slots, "default", { item: n.item })]);
|
|
6988
7019
|
}
|
|
6989
|
-
var
|
|
7020
|
+
var Or = /* @__PURE__ */ J({
|
|
6990
7021
|
name: "tab-content",
|
|
6991
7022
|
props: { item: Object }
|
|
6992
|
-
}, [["render",
|
|
7023
|
+
}, [["render", Dr]]), kr = [
|
|
6993
7024
|
"onClick",
|
|
6994
7025
|
"onFocus",
|
|
6995
7026
|
"tabindex",
|
|
6996
7027
|
"onKeypress",
|
|
6997
7028
|
"aria-selected"
|
|
6998
|
-
],
|
|
7029
|
+
], Ar = ["innerHTML"], jr = {
|
|
6999
7030
|
key: 0,
|
|
7000
7031
|
class: "w-tabs__bar-extra"
|
|
7001
|
-
},
|
|
7032
|
+
}, Mr = {
|
|
7002
7033
|
key: 0,
|
|
7003
7034
|
class: "w-tabs__content-wrap"
|
|
7004
|
-
},
|
|
7005
|
-
function
|
|
7035
|
+
}, Nr = ["innerHTML"], Pr = ["innerHTML"];
|
|
7036
|
+
function Fr(n, a, u, d, f, p) {
|
|
7006
7037
|
let m = T("tab-content");
|
|
7007
7038
|
return b(), c("div", { class: g(["w-tabs", p.tabsClasses]) }, [l("div", {
|
|
7008
7039
|
class: g(["w-tabs__bar", p.tabsBarClasses]),
|
|
@@ -7027,14 +7058,14 @@ function Pr(n, a, u, d, f, p) {
|
|
|
7027
7058
|
item: p.getOriginalItem(e),
|
|
7028
7059
|
index: t + 1,
|
|
7029
7060
|
active: e._uid === n.activeTabUid
|
|
7030
|
-
}, () => [l("div", { innerHTML: e[u.itemTitleKey] }, null, 8,
|
|
7031
|
-
n.$slots["tabs-bar-extra"] ? (b(), c("div",
|
|
7061
|
+
}, () => [l("div", { innerHTML: e[u.itemTitleKey] }, null, 8, Ar)])], 42, kr))), 128)),
|
|
7062
|
+
n.$slots["tabs-bar-extra"] ? (b(), c("div", jr, [w(n.$slots, "tabs-bar-extra")])) : s("", !0),
|
|
7032
7063
|
!u.noSlider && !u.card ? (b(), c("div", {
|
|
7033
7064
|
key: 1,
|
|
7034
7065
|
class: g(["w-tabs__slider", u.sliderColor]),
|
|
7035
7066
|
style: v(p.sliderStyles)
|
|
7036
7067
|
}, null, 6)) : s("", !0)
|
|
7037
|
-
], 2), n.tabs.length ? (b(), c("div",
|
|
7068
|
+
], 2), n.tabs.length ? (b(), c("div", Mr, [u.keepInDom ? (b(), o(i, {
|
|
7038
7069
|
key: 0,
|
|
7039
7070
|
name: p.transitionName
|
|
7040
7071
|
}, {
|
|
@@ -7056,7 +7087,7 @@ function Pr(n, a, u, d, f, p) {
|
|
|
7056
7087
|
}, () => [e[u.itemContentKey] ? (b(), c("div", {
|
|
7057
7088
|
key: 0,
|
|
7058
7089
|
innerHTML: e[u.itemContentKey]
|
|
7059
|
-
}, null, 8,
|
|
7090
|
+
}, null, 8, Nr)) : s("", !0)])]),
|
|
7060
7091
|
_: 2
|
|
7061
7092
|
}, 1032, ["item", "class"])), [[N, e._uid === p.activeTab._uid]])), 128))]),
|
|
7062
7093
|
_: 3
|
|
@@ -7083,13 +7114,13 @@ function Pr(n, a, u, d, f, p) {
|
|
|
7083
7114
|
}, () => [t[u.itemContentKey] ? (b(), c("div", {
|
|
7084
7115
|
key: 0,
|
|
7085
7116
|
innerHTML: t[u.itemContentKey]
|
|
7086
|
-
}, null, 8,
|
|
7117
|
+
}, null, 8, Pr)) : s("", !0)])], 64)) : s("", !0)]),
|
|
7087
7118
|
_: 3
|
|
7088
7119
|
}, 8, ["item", "class"]))], 1032, ["exclude"]))]),
|
|
7089
7120
|
_: 3
|
|
7090
7121
|
}, 8, ["name", "mode"]))])) : s("", !0)], 2);
|
|
7091
7122
|
}
|
|
7092
|
-
var
|
|
7123
|
+
var Ir = /* @__PURE__ */ J({
|
|
7093
7124
|
name: "w-tabs",
|
|
7094
7125
|
setup() {
|
|
7095
7126
|
return { tabsStableId: A() };
|
|
@@ -7154,7 +7185,7 @@ var Fr = /* @__PURE__ */ Y({
|
|
|
7154
7185
|
default: !1
|
|
7155
7186
|
}
|
|
7156
7187
|
},
|
|
7157
|
-
components: { TabContent:
|
|
7188
|
+
components: { TabContent: Or },
|
|
7158
7189
|
emits: [
|
|
7159
7190
|
"input",
|
|
7160
7191
|
"update:modelValue",
|
|
@@ -7174,7 +7205,7 @@ var Fr = /* @__PURE__ */ Y({
|
|
|
7174
7205
|
}),
|
|
7175
7206
|
computed: {
|
|
7176
7207
|
contentClasses() {
|
|
7177
|
-
return
|
|
7208
|
+
return X(this.contentClass);
|
|
7178
7209
|
},
|
|
7179
7210
|
transitionName() {
|
|
7180
7211
|
return this.transition === !1 ? "" : this.transition || `w-tabs-slide-${this.direction}`;
|
|
@@ -7248,8 +7279,8 @@ var Fr = /* @__PURE__ */ Y({
|
|
|
7248
7279
|
[this.color]: this.color && !e._disabled && !(this.activeClass && t),
|
|
7249
7280
|
"w-tabs__bar-item--active": t,
|
|
7250
7281
|
"w-tabs__bar-item--disabled": e._disabled,
|
|
7251
|
-
...
|
|
7252
|
-
...t ?
|
|
7282
|
+
...X(this.titleClass),
|
|
7283
|
+
...t ? X(this.activeClass) : {}
|
|
7253
7284
|
};
|
|
7254
7285
|
},
|
|
7255
7286
|
openTab(e) {
|
|
@@ -7306,45 +7337,45 @@ var Fr = /* @__PURE__ */ Y({
|
|
|
7306
7337
|
e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
|
|
7307
7338
|
}
|
|
7308
7339
|
}
|
|
7309
|
-
}, [["render",
|
|
7340
|
+
}, [["render", Fr]]), Lr = { class: "w-table__scroll-wrap" }, Rr = { ref: "colgroup" }, zr = ["width"], Br = { key: 0 }, Vr = ["onClick"], Hr = ["innerHTML"], Ur = {
|
|
7310
7341
|
key: 0,
|
|
7311
7342
|
class: "w-table__progress-bar"
|
|
7312
|
-
},
|
|
7343
|
+
}, Wr = ["colspan"], Gr = {
|
|
7313
7344
|
key: 0,
|
|
7314
7345
|
class: "w-table__progress-bar"
|
|
7315
|
-
},
|
|
7346
|
+
}, Kr = ["colspan"], qr = { class: "w-table__loading-text" }, Jr = {
|
|
7316
7347
|
key: 1,
|
|
7317
7348
|
class: "no-data"
|
|
7318
|
-
},
|
|
7349
|
+
}, Yr = ["colspan"], Xr = ["onClick"], Zr = ["data-label"], Qr = ["data-label"], $r = ["innerHTML"], ei = {
|
|
7319
7350
|
key: 2,
|
|
7320
7351
|
class: "w-table__row w-table__row--expansion"
|
|
7321
|
-
},
|
|
7352
|
+
}, ti = ["colspan"], ni = { key: 0 }, ri = {
|
|
7322
7353
|
key: 3,
|
|
7323
7354
|
class: "w-table__extra-row"
|
|
7324
|
-
},
|
|
7355
|
+
}, ii = {
|
|
7325
7356
|
key: 1,
|
|
7326
7357
|
class: "w-table__footer"
|
|
7327
|
-
},
|
|
7358
|
+
}, ai = {
|
|
7328
7359
|
key: 1,
|
|
7329
7360
|
class: "w-table__row"
|
|
7330
|
-
},
|
|
7361
|
+
}, oi = ["colspan"], si = {
|
|
7331
7362
|
key: 0,
|
|
7332
7363
|
class: "w-table__pagination w-pagination"
|
|
7333
|
-
},
|
|
7334
|
-
function
|
|
7364
|
+
}, ci = { class: "pages-wrap" }, li = { class: "w-pagination__results" };
|
|
7365
|
+
function ui(t, n, r, i, a, u) {
|
|
7335
7366
|
let p = T("w-icon"), m = T("w-progress"), h = T("w-transition-fade"), _ = T("w-transition-expand"), v = T("w-select"), y = T("w-button");
|
|
7336
|
-
return b(), c("div", { class: g(["w-table w-table--wrap", u.classes]) }, [l("div",
|
|
7367
|
+
return b(), c("div", { class: g(["w-table w-table--wrap", u.classes]) }, [l("div", Lr, [l("table", {
|
|
7337
7368
|
class: "w-table__table",
|
|
7338
7369
|
onMousedown: n[1] ||= (...e) => u.onMouseDown && u.onMouseDown(...e),
|
|
7339
7370
|
onMouseover: n[2] ||= (...e) => u.onMouseOver && u.onMouseOver(...e),
|
|
7340
7371
|
onMouseout: n[3] ||= (...e) => u.onMouseOut && u.onMouseOut(...e)
|
|
7341
7372
|
}, [
|
|
7342
|
-
l("colgroup",
|
|
7373
|
+
l("colgroup", Rr, [(b(!0), c(e, null, C(r.headers, (e, t) => (b(), c("col", {
|
|
7343
7374
|
class: g(["w-table__col", u.colClasses[t]]),
|
|
7344
7375
|
key: t,
|
|
7345
7376
|
width: e.width || null
|
|
7346
|
-
}, null, 10,
|
|
7347
|
-
r.noHeaders ? s("", !0) : (b(), c("thead",
|
|
7377
|
+
}, null, 10, zr))), 128))], 512),
|
|
7378
|
+
r.noHeaders ? s("", !0) : (b(), c("thead", Br, [l("tr", null, [(b(!0), c(e, null, C(r.headers, (i, a) => (b(), c("th", {
|
|
7348
7379
|
class: g(["w-table__header", u.headerClasses(i)]),
|
|
7349
7380
|
key: a,
|
|
7350
7381
|
onClick: (e) => !t.colResizing.dragging && i.sortable !== !1 && u.sortTable(i)
|
|
@@ -7364,7 +7395,7 @@ function li(t, n, r, i, a, u) {
|
|
|
7364
7395
|
}, () => [d(O(i.label || ""), 1)]) : (b(), c("span", {
|
|
7365
7396
|
key: 1,
|
|
7366
7397
|
innerHTML: i.label || ""
|
|
7367
|
-
}, null, 8,
|
|
7398
|
+
}, null, 8, Hr))], 64)) : s("", !0),
|
|
7368
7399
|
i.sortable !== !1 && i.align !== "right" ? (b(), o(p, {
|
|
7369
7400
|
key: 2,
|
|
7370
7401
|
class: g(["w-table__header-sort", u.headerSortClasses(i)])
|
|
@@ -7380,15 +7411,15 @@ function li(t, n, r, i, a, u) {
|
|
|
7380
7411
|
}]),
|
|
7381
7412
|
onClick: n[0] ||= L(() => {}, ["stop"])
|
|
7382
7413
|
}, null, 2)) : s("", !0)
|
|
7383
|
-
], 10,
|
|
7384
|
-
default: P(() => [r.loading === "header" ? (b(), c("tr",
|
|
7414
|
+
], 10, Vr))), 128))]), f(h, null, {
|
|
7415
|
+
default: P(() => [r.loading === "header" ? (b(), c("tr", Ur, [l("td", { colspan: r.headers.length }, [f(m, { tile: "" })], 8, Wr)])) : s("", !0)]),
|
|
7385
7416
|
_: 1
|
|
7386
7417
|
})])),
|
|
7387
7418
|
l("tbody", null, [
|
|
7388
|
-
r.loading === !0 ? (b(), c("tr",
|
|
7419
|
+
r.loading === !0 ? (b(), c("tr", Gr, [l("td", { colspan: r.headers.length }, [f(m, { tile: "" }), l("div", qr, [w(t.$slots, "loading", {}, () => [n[10] ||= d("Loading...", -1)])])], 8, Kr)])) : u.tableItems.length ? s("", !0) : (b(), c("tr", Jr, [l("td", {
|
|
7389
7420
|
class: "w-table__cell text-center",
|
|
7390
7421
|
colspan: r.headers.length
|
|
7391
|
-
}, [w(t.$slots, "no-data", {}, () => [n[11] ||= d("No data to show.", -1)])], 8,
|
|
7422
|
+
}, [w(t.$slots, "no-data", {}, () => [n[11] ||= d("No data to show.", -1)])], 8, Yr)])),
|
|
7392
7423
|
u.tableItems.length && r.loading !== !0 ? (b(!0), c(e, { key: 2 }, C(u.paginatedItems, (n, i) => (b(), c(e, { key: i }, [t.$slots.item ? w(t.$slots, "item", {
|
|
7393
7424
|
key: 0,
|
|
7394
7425
|
item: n,
|
|
@@ -7438,24 +7469,24 @@ function li(t, n, r, i, a, u) {
|
|
|
7438
7469
|
"w-table__col-resizer--hover": t.colResizing.hover === o,
|
|
7439
7470
|
"w-table__col-resizer--active": t.colResizing.columnIndex === o
|
|
7440
7471
|
}])
|
|
7441
|
-
}, null, 2)) : s("", !0)], 10,
|
|
7472
|
+
}, null, 2)) : s("", !0)], 10, Zr)) : (b(), c("td", {
|
|
7442
7473
|
class: g(["w-table__cell", {
|
|
7443
7474
|
[`text-${a.align || "left"}`]: !0,
|
|
7444
7475
|
"w-table__cell--sticky": a.sticky
|
|
7445
7476
|
}]),
|
|
7446
7477
|
key: `${o}-b`,
|
|
7447
7478
|
"data-label": a.label
|
|
7448
|
-
}, [l("div", { innerHTML: n[a.key] || "" }, null, 8,
|
|
7479
|
+
}, [l("div", { innerHTML: n[a.key] || "" }, null, 8, $r), o < r.headers.length - 1 && r.resizableColumns ? (b(), c("span", {
|
|
7449
7480
|
key: 0,
|
|
7450
7481
|
class: g(["w-table__col-resizer", {
|
|
7451
7482
|
"w-table__col-resizer--hover": t.colResizing.hover === o,
|
|
7452
7483
|
"w-table__col-resizer--active": t.colResizing.columnIndex === o
|
|
7453
7484
|
}])
|
|
7454
|
-
}, null, 2)) : s("", !0)], 10,
|
|
7485
|
+
}, null, 2)) : s("", !0)], 10, Qr))], 64))), 256))], 10, Xr)), u.expandedRowsByUid[n._uid] ? (b(), c("tr", ei, [l("td", {
|
|
7455
7486
|
class: "w-table__cell",
|
|
7456
7487
|
colspan: r.headers.length
|
|
7457
7488
|
}, [f(_, { y: "" }, {
|
|
7458
|
-
default: P(() => [u.expandedRowsByUid[n._uid] ? (b(), c("div",
|
|
7489
|
+
default: P(() => [u.expandedRowsByUid[n._uid] ? (b(), c("div", ni, [w(t.$slots, "row-expansion", {
|
|
7459
7490
|
item: n,
|
|
7460
7491
|
index: i + 1
|
|
7461
7492
|
})])) : s("", !0), i < r.headers.length - 1 && r.resizableColumns ? (b(), c("span", {
|
|
@@ -7466,14 +7497,14 @@ function li(t, n, r, i, a, u) {
|
|
|
7466
7497
|
}])
|
|
7467
7498
|
}, null, 2)) : s("", !0)]),
|
|
7468
7499
|
_: 2
|
|
7469
|
-
}, 1024)], 8,
|
|
7470
|
-
t.$slots["extra-row"] ? (b(), c("div",
|
|
7500
|
+
}, 1024)], 8, ti)])) : s("", !0)], 64))), 128)) : s("", !0),
|
|
7501
|
+
t.$slots["extra-row"] ? (b(), c("div", ri, [w(t.$slots, "extra-row")])) : s("", !0)
|
|
7471
7502
|
]),
|
|
7472
|
-
t.$slots.footer || t.$slots["footer-row"] ? (b(), c("tfoot",
|
|
7503
|
+
t.$slots.footer || t.$slots["footer-row"] ? (b(), c("tfoot", ii, [t.$slots["footer-row"] ? w(t.$slots, "footer-row", { key: 0 }) : t.$slots.footer ? (b(), c("tr", ai, [l("td", {
|
|
7473
7504
|
class: "w-table__cell",
|
|
7474
7505
|
colspan: r.headers.length
|
|
7475
|
-
}, [w(t.$slots, "footer")], 8,
|
|
7476
|
-
], 32)]), r.pagination && t.paginationConfig ? (b(), c("div",
|
|
7506
|
+
}, [w(t.$slots, "footer")], 8, oi)])) : s("", !0)])) : s("", !0)
|
|
7507
|
+
], 32)]), r.pagination && t.paginationConfig ? (b(), c("div", si, [w(t.$slots, "pagination", {
|
|
7477
7508
|
range: `${t.paginationConfig.start}-${t.paginationConfig.end}`,
|
|
7478
7509
|
total: t.paginationConfig.total,
|
|
7479
7510
|
pagesCount: t.paginationConfig.pagesCount,
|
|
@@ -7491,7 +7522,7 @@ function li(t, n, r, i, a, u) {
|
|
|
7491
7522
|
label: "Items per page",
|
|
7492
7523
|
"label-color": "inherit"
|
|
7493
7524
|
}, null, 8, ["modelValue", "items"])) : s("", !0),
|
|
7494
|
-
l("div",
|
|
7525
|
+
l("div", ci, [
|
|
7495
7526
|
f(y, {
|
|
7496
7527
|
class: "w-pagination__arrow w-pagination__arrow--prev",
|
|
7497
7528
|
onClick: n[6] ||= (e) => u.goToPage("-1"),
|
|
@@ -7549,12 +7580,12 @@ function li(t, n, r, i, a, u) {
|
|
|
7549
7580
|
lg: ""
|
|
7550
7581
|
}, null, 8, ["disabled"])
|
|
7551
7582
|
]),
|
|
7552
|
-
l("span",
|
|
7583
|
+
l("span", li, O(t.paginationConfig.start) + "-" + O(t.paginationConfig.end || t.paginationConfig.total) + " of " + O(t.paginationConfig.total), 1)
|
|
7553
7584
|
])])) : s("", !0)], 2);
|
|
7554
7585
|
}
|
|
7555
7586
|
//#endregion
|
|
7556
7587
|
//#region src/wave-ui/components/w-table.vue
|
|
7557
|
-
var
|
|
7588
|
+
var di = 15, fi = /* @__PURE__ */ J({
|
|
7558
7589
|
name: "w-table",
|
|
7559
7590
|
props: {
|
|
7560
7591
|
items: {
|
|
@@ -7753,9 +7784,9 @@ var ui = 15, di = /* @__PURE__ */ Y({
|
|
|
7753
7784
|
this.colResizing.dragging = !0;
|
|
7754
7785
|
let o = e.pageX - t, s = i + a, c = i + o, l = a - o;
|
|
7755
7786
|
n.style.width = `${i + o}px`, r.style.width = `${a - o}px`;
|
|
7756
|
-
let u = o < 0 && n.offsetWidth > c || n.offsetWidth <=
|
|
7787
|
+
let u = o < 0 && n.offsetWidth > c || n.offsetWidth <= di, d = o > 0 && r.offsetWidth > l;
|
|
7757
7788
|
if (u) {
|
|
7758
|
-
let e = Math.max(n.offsetWidth,
|
|
7789
|
+
let e = Math.max(n.offsetWidth, di);
|
|
7759
7790
|
n.style.width = `${e}px`, r.style.width = `${s - e}px`;
|
|
7760
7791
|
} else d && (n.style.width = `${s - r.offsetWidth}px`, r.style.width = `${r.offsetWidth}px`);
|
|
7761
7792
|
},
|
|
@@ -7842,12 +7873,12 @@ var ui = 15, di = /* @__PURE__ */ Y({
|
|
|
7842
7873
|
this.updatePaginationConfig({ total: e });
|
|
7843
7874
|
}
|
|
7844
7875
|
}
|
|
7845
|
-
}, [["render",
|
|
7876
|
+
}, [["render", ui]]), pi = [
|
|
7846
7877
|
"role",
|
|
7847
7878
|
"aria-pressed",
|
|
7848
7879
|
"tabindex"
|
|
7849
7880
|
];
|
|
7850
|
-
function
|
|
7881
|
+
function mi(e, t, n, r, i, a) {
|
|
7851
7882
|
return b(), c("span", {
|
|
7852
7883
|
class: g(["w-tag", a.classes]),
|
|
7853
7884
|
onClick: t[1] ||= (t) => {
|
|
@@ -7868,9 +7899,9 @@ function pi(e, t, n, r, i, a) {
|
|
|
7868
7899
|
}, ["stop"]),
|
|
7869
7900
|
role: "icon",
|
|
7870
7901
|
"aria-hidden": "true"
|
|
7871
|
-
})) : s("", !0)], 46,
|
|
7902
|
+
})) : s("", !0)], 46, pi);
|
|
7872
7903
|
}
|
|
7873
|
-
var
|
|
7904
|
+
var hi = /* @__PURE__ */ J({
|
|
7874
7905
|
name: "w-tag",
|
|
7875
7906
|
props: {
|
|
7876
7907
|
modelValue: {
|
|
@@ -7922,7 +7953,7 @@ var mi = /* @__PURE__ */ Y({
|
|
|
7922
7953
|
};
|
|
7923
7954
|
}
|
|
7924
7955
|
}
|
|
7925
|
-
}, [["render",
|
|
7956
|
+
}, [["render", mi]]), gi = ["for"], _i = [
|
|
7926
7957
|
"id",
|
|
7927
7958
|
"name",
|
|
7928
7959
|
"placeholder",
|
|
@@ -7933,8 +7964,8 @@ var mi = /* @__PURE__ */ Y({
|
|
|
7933
7964
|
"disabled",
|
|
7934
7965
|
"required",
|
|
7935
7966
|
"tabindex"
|
|
7936
|
-
],
|
|
7937
|
-
function
|
|
7967
|
+
], vi = ["for"];
|
|
7968
|
+
function yi(t, n, r, i, a, u) {
|
|
7938
7969
|
let f = T("w-icon");
|
|
7939
7970
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
7940
7971
|
validators: t.validators,
|
|
@@ -7958,7 +7989,7 @@ function vi(t, n, r, i, a, u) {
|
|
|
7958
7989
|
key: 0,
|
|
7959
7990
|
class: g(["w-textarea__label w-textarea__label--left w-form-el-shakable", t.labelClasses]),
|
|
7960
7991
|
for: t.inputId
|
|
7961
|
-
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
7992
|
+
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, gi)) : s("", !0)], 64)) : s("", !0),
|
|
7962
7993
|
l("div", { class: g(["w-textarea__textarea-wrap", u.inputWrapClasses]) }, [
|
|
7963
7994
|
w(t.$slots, "icon-left", { inputId: t.inputId }, () => [r.innerIconLeft ? (b(), o(f, {
|
|
7964
7995
|
key: 0,
|
|
@@ -7988,7 +8019,7 @@ function vi(t, n, r, i, a, u) {
|
|
|
7988
8019
|
disabled: t.isDisabled || null,
|
|
7989
8020
|
required: t.required || null,
|
|
7990
8021
|
tabindex: t.tabindex || null
|
|
7991
|
-
}), null, 16,
|
|
8022
|
+
}), null, 16, _i), [[M, a.inputValue]]),
|
|
7992
8023
|
r.labelPosition === "inside" && u.showLabelInside ? (b(), c(e, { key: 0 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
7993
8024
|
key: 0,
|
|
7994
8025
|
class: g(["w-textarea__label w-textarea__label--inside w-form-el-shakable", t.labelClasses])
|
|
@@ -8008,7 +8039,7 @@ function vi(t, n, r, i, a, u) {
|
|
|
8008
8039
|
key: 0,
|
|
8009
8040
|
class: g(["w-textarea__label w-textarea__label--right w-form-el-shakable", t.labelClasses]),
|
|
8010
8041
|
for: t.inputId
|
|
8011
|
-
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
8042
|
+
}, [w(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, vi)) : s("", !0)], 64)) : s("", !0)
|
|
8012
8043
|
]),
|
|
8013
8044
|
_: 3
|
|
8014
8045
|
}, 16, [
|
|
@@ -8018,10 +8049,13 @@ function vi(t, n, r, i, a, u) {
|
|
|
8018
8049
|
"style"
|
|
8019
8050
|
]);
|
|
8020
8051
|
}
|
|
8021
|
-
var
|
|
8052
|
+
var bi = /* @__PURE__ */ J({
|
|
8022
8053
|
name: "w-textarea",
|
|
8023
8054
|
mixins: [Q],
|
|
8024
8055
|
inheritAttrs: !1,
|
|
8056
|
+
setup() {
|
|
8057
|
+
return Z();
|
|
8058
|
+
},
|
|
8025
8059
|
props: {
|
|
8026
8060
|
modelValue: { default: "" },
|
|
8027
8061
|
label: { type: String },
|
|
@@ -8153,8 +8187,8 @@ var yi = /* @__PURE__ */ Y({
|
|
|
8153
8187
|
e ? this.getLineHeight() : this.height = null;
|
|
8154
8188
|
}
|
|
8155
8189
|
}
|
|
8156
|
-
}, [["render",
|
|
8157
|
-
function
|
|
8190
|
+
}, [["render", yi]]), xi = ["innerHTML"], Si = ["innerHTML"];
|
|
8191
|
+
function Ci(t, n, r, i, a, s) {
|
|
8158
8192
|
return b(), c("ul", { class: g(["w-timeline", s.classes]) }, [(b(!0), c(e, null, C(r.items, (e, n) => (b(), c("li", {
|
|
8159
8193
|
class: "w-timeline-item",
|
|
8160
8194
|
key: n
|
|
@@ -8172,12 +8206,12 @@ function Si(t, n, r, i, a, s) {
|
|
|
8172
8206
|
}, () => [l("div", {
|
|
8173
8207
|
class: g(["w-timeline-item__title", { [e[r.itemColorKey] || r.color]: e[r.itemColorKey] || r.color }]),
|
|
8174
8208
|
innerHTML: e[r.itemTitleKey]
|
|
8175
|
-
}, null, 10,
|
|
8209
|
+
}, null, 10, xi), l("div", {
|
|
8176
8210
|
class: "w-timeline-item__content",
|
|
8177
8211
|
innerHTML: e[r.itemContentKey]
|
|
8178
|
-
}, null, 8,
|
|
8212
|
+
}, null, 8, Si)])]))), 128))], 2);
|
|
8179
8213
|
}
|
|
8180
|
-
var
|
|
8214
|
+
var wi = /* @__PURE__ */ J({
|
|
8181
8215
|
name: "w-timeline",
|
|
8182
8216
|
props: {
|
|
8183
8217
|
items: {
|
|
@@ -8212,16 +8246,16 @@ var Ci = /* @__PURE__ */ Y({
|
|
|
8212
8246
|
"w-timeline--light": this.light
|
|
8213
8247
|
};
|
|
8214
8248
|
} }
|
|
8215
|
-
}, [["render",
|
|
8249
|
+
}, [["render", Ci]]);
|
|
8216
8250
|
//#endregion
|
|
8217
8251
|
//#region src/wave-ui/components/w-toolbar.vue?vue&type=template&lang.js
|
|
8218
|
-
function
|
|
8252
|
+
function Ti(e, t, n, r, i, a) {
|
|
8219
8253
|
return b(), c("div", {
|
|
8220
8254
|
class: g(["w-toolbar", a.classes]),
|
|
8221
8255
|
style: v(a.styles)
|
|
8222
8256
|
}, [w(e.$slots, "default")], 6);
|
|
8223
8257
|
}
|
|
8224
|
-
var
|
|
8258
|
+
var Ei = /* @__PURE__ */ J({
|
|
8225
8259
|
name: "w-toolbar",
|
|
8226
8260
|
props: {
|
|
8227
8261
|
color: { type: String },
|
|
@@ -8276,10 +8310,10 @@ var Ti = /* @__PURE__ */ Y({
|
|
|
8276
8310
|
};
|
|
8277
8311
|
}
|
|
8278
8312
|
}
|
|
8279
|
-
}, [["render",
|
|
8313
|
+
}, [["render", Ti]]);
|
|
8280
8314
|
//#endregion
|
|
8281
8315
|
//#region src/wave-ui/components/w-tooltip.vue?vue&type=template&lang.js
|
|
8282
|
-
function
|
|
8316
|
+
function Di(t, n, i, a, o, l) {
|
|
8283
8317
|
return b(), c(e, null, [w(t.$slots, "activator", { on: l.activatorEventHandlers }), f(r, {
|
|
8284
8318
|
name: l.transitionName,
|
|
8285
8319
|
appear: "",
|
|
@@ -8294,9 +8328,9 @@ function Ei(t, n, i, a, o, l) {
|
|
|
8294
8328
|
_: 3
|
|
8295
8329
|
}, 8, ["name", "onAfterLeave"])], 64);
|
|
8296
8330
|
}
|
|
8297
|
-
var
|
|
8331
|
+
var Oi = /* @__PURE__ */ J({
|
|
8298
8332
|
name: "w-tooltip",
|
|
8299
|
-
mixins: [
|
|
8333
|
+
mixins: [_n],
|
|
8300
8334
|
setup() {
|
|
8301
8335
|
return { tooltipInstanceId: A() };
|
|
8302
8336
|
},
|
|
@@ -8345,7 +8379,7 @@ var Di = /* @__PURE__ */ Y({
|
|
|
8345
8379
|
}),
|
|
8346
8380
|
computed: {
|
|
8347
8381
|
tooltipClasses() {
|
|
8348
|
-
return
|
|
8382
|
+
return X(this.tooltipClass);
|
|
8349
8383
|
},
|
|
8350
8384
|
transitionName() {
|
|
8351
8385
|
let e = this.effectiveDetachablePosition.replace(/top|bottom/, (e) => ({
|
|
@@ -8410,25 +8444,25 @@ var Di = /* @__PURE__ */ Y({
|
|
|
8410
8444
|
this.detachableVisible && (this.showOnHover && !e && (await new Promise((e) => setTimeout(e, 10)), this.showOnHover && this.hoveringActivator) || (this.$emit("update:modelValue", this.detachableVisible = !1), this.$emit("input", !1), this.$emit("close"), this.viewportPlacementOverride = null, typeof document < "u" && document.removeEventListener("mousedown", this.onOutsideMousedown), typeof window < "u" && window.removeEventListener("resize", this.onResize)));
|
|
8411
8445
|
}
|
|
8412
8446
|
}
|
|
8413
|
-
}, [["render",
|
|
8447
|
+
}, [["render", Di]]);
|
|
8414
8448
|
//#endregion
|
|
8415
8449
|
//#region src/wave-ui/components/transitions/w-transition-bounce.vue?vue&type=template&lang.js
|
|
8416
|
-
function
|
|
8450
|
+
function ki(e, t, n, i, a, s) {
|
|
8417
8451
|
return b(), o(r, h({ name: "bounce" }, e.$props), {
|
|
8418
8452
|
default: P(() => [w(e.$slots, "default")]),
|
|
8419
8453
|
_: 3
|
|
8420
8454
|
}, 16);
|
|
8421
8455
|
}
|
|
8422
|
-
var
|
|
8456
|
+
var Ai = /* @__PURE__ */ J({
|
|
8423
8457
|
name: "w-transition-bounce",
|
|
8424
8458
|
props: {
|
|
8425
8459
|
appear: { type: Boolean },
|
|
8426
8460
|
duration: { type: [Number, String] }
|
|
8427
8461
|
}
|
|
8428
|
-
}, [["render",
|
|
8462
|
+
}, [["render", ki]]);
|
|
8429
8463
|
//#endregion
|
|
8430
8464
|
//#region src/wave-ui/components/transitions/w-transition-expand.vue?vue&type=template&lang.js
|
|
8431
|
-
function
|
|
8465
|
+
function ji(e, t, n, i, a, s) {
|
|
8432
8466
|
return b(), o(r, {
|
|
8433
8467
|
name: "expand",
|
|
8434
8468
|
mode: "out-in",
|
|
@@ -8457,7 +8491,7 @@ function Ai(e, t, n, i, a, s) {
|
|
|
8457
8491
|
"onAfterLeave"
|
|
8458
8492
|
]);
|
|
8459
8493
|
}
|
|
8460
|
-
var
|
|
8494
|
+
var Mi = /* @__PURE__ */ J({
|
|
8461
8495
|
name: "w-transition-expand",
|
|
8462
8496
|
props: {
|
|
8463
8497
|
x: { type: Boolean },
|
|
@@ -8550,61 +8584,61 @@ var ji = /* @__PURE__ */ Y({
|
|
|
8550
8584
|
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;
|
|
8551
8585
|
}
|
|
8552
8586
|
}
|
|
8553
|
-
}, [["render",
|
|
8587
|
+
}, [["render", ji]]);
|
|
8554
8588
|
//#endregion
|
|
8555
8589
|
//#region src/wave-ui/components/transitions/w-transition-fade.vue?vue&type=template&lang.js
|
|
8556
|
-
function
|
|
8590
|
+
function Ni(e, t, n, i, a, s) {
|
|
8557
8591
|
return b(), o(r, h({ name: "fade" }, e.$props), {
|
|
8558
8592
|
default: P(() => [w(e.$slots, "default")]),
|
|
8559
8593
|
_: 3
|
|
8560
8594
|
}, 16);
|
|
8561
8595
|
}
|
|
8562
|
-
var
|
|
8596
|
+
var Pi = /* @__PURE__ */ J({
|
|
8563
8597
|
name: "w-transition-fade",
|
|
8564
8598
|
props: {
|
|
8565
8599
|
appear: { type: Boolean },
|
|
8566
8600
|
duration: { type: [Number, String] }
|
|
8567
8601
|
}
|
|
8568
|
-
}, [["render",
|
|
8602
|
+
}, [["render", Ni]]);
|
|
8569
8603
|
//#endregion
|
|
8570
8604
|
//#region src/wave-ui/components/transitions/w-transition-scale.vue?vue&type=template&lang.js
|
|
8571
|
-
function
|
|
8605
|
+
function Fi(e, t, n, i, a, s) {
|
|
8572
8606
|
return b(), o(r, h({ name: "scale" }, e.$props), {
|
|
8573
8607
|
default: P(() => [w(e.$slots, "default")]),
|
|
8574
8608
|
_: 3
|
|
8575
8609
|
}, 16);
|
|
8576
8610
|
}
|
|
8577
|
-
var
|
|
8611
|
+
var Ii = /* @__PURE__ */ J({
|
|
8578
8612
|
name: "w-transition-scale",
|
|
8579
8613
|
props: {
|
|
8580
8614
|
appear: { type: Boolean },
|
|
8581
8615
|
duration: { type: [Number, String] }
|
|
8582
8616
|
}
|
|
8583
|
-
}, [["render",
|
|
8617
|
+
}, [["render", Fi]]);
|
|
8584
8618
|
//#endregion
|
|
8585
8619
|
//#region src/wave-ui/components/transitions/w-transition-scale-fade.vue?vue&type=template&lang.js
|
|
8586
|
-
function
|
|
8620
|
+
function Li(e, t, n, i, a, s) {
|
|
8587
8621
|
return b(), o(r, h({ name: "scale-fade" }, e.$props), {
|
|
8588
8622
|
default: P(() => [w(e.$slots, "default")]),
|
|
8589
8623
|
_: 3
|
|
8590
8624
|
}, 16);
|
|
8591
8625
|
}
|
|
8592
|
-
var
|
|
8626
|
+
var Ri = /* @__PURE__ */ J({
|
|
8593
8627
|
name: "w-transition-scale-fade",
|
|
8594
8628
|
props: {
|
|
8595
8629
|
appear: { type: Boolean },
|
|
8596
8630
|
duration: { type: [Number, String] }
|
|
8597
8631
|
}
|
|
8598
|
-
}, [["render",
|
|
8632
|
+
}, [["render", Li]]);
|
|
8599
8633
|
//#endregion
|
|
8600
8634
|
//#region src/wave-ui/components/transitions/w-transition-slide.vue?vue&type=template&lang.js
|
|
8601
|
-
function
|
|
8635
|
+
function zi(e, t, n, i, a, s) {
|
|
8602
8636
|
return b(), o(r, h({ name: s.transitionName }, e.$props), {
|
|
8603
8637
|
default: P(() => [w(e.$slots, "default")]),
|
|
8604
8638
|
_: 3
|
|
8605
8639
|
}, 16, ["name"]);
|
|
8606
8640
|
}
|
|
8607
|
-
var
|
|
8641
|
+
var Bi = /* @__PURE__ */ J({
|
|
8608
8642
|
name: "w-transition-slide",
|
|
8609
8643
|
props: {
|
|
8610
8644
|
appear: { type: Boolean },
|
|
@@ -8622,16 +8656,16 @@ var zi = /* @__PURE__ */ Y({
|
|
|
8622
8656
|
return `slide-${this.direction}`;
|
|
8623
8657
|
}
|
|
8624
8658
|
}
|
|
8625
|
-
}, [["render",
|
|
8659
|
+
}, [["render", zi]]);
|
|
8626
8660
|
//#endregion
|
|
8627
8661
|
//#region src/wave-ui/components/transitions/w-transition-slide-fade.vue?vue&type=template&lang.js
|
|
8628
|
-
function
|
|
8662
|
+
function Vi(e, t, n, i, a, s) {
|
|
8629
8663
|
return b(), o(r, h({ name: s.transitionName }, e.$props), {
|
|
8630
8664
|
default: P(() => [w(e.$slots, "default")]),
|
|
8631
8665
|
_: 3
|
|
8632
8666
|
}, 16, ["name"]);
|
|
8633
8667
|
}
|
|
8634
|
-
var
|
|
8668
|
+
var Hi = /* @__PURE__ */ J({
|
|
8635
8669
|
name: "w-transition-slide-fade",
|
|
8636
8670
|
props: {
|
|
8637
8671
|
appear: { type: Boolean },
|
|
@@ -8649,26 +8683,26 @@ var Vi = /* @__PURE__ */ Y({
|
|
|
8649
8683
|
return `slide-fade-${this.direction}`;
|
|
8650
8684
|
}
|
|
8651
8685
|
}
|
|
8652
|
-
}, [["render",
|
|
8686
|
+
}, [["render", Vi]]);
|
|
8653
8687
|
//#endregion
|
|
8654
8688
|
//#region src/wave-ui/components/transitions/w-transition-twist.vue?vue&type=template&lang.js
|
|
8655
|
-
function
|
|
8689
|
+
function Ui(e, t, n, i, a, s) {
|
|
8656
8690
|
return b(), o(r, h({ name: "twist" }, e.$props), {
|
|
8657
8691
|
default: P(() => [w(e.$slots, "default")]),
|
|
8658
8692
|
_: 3
|
|
8659
8693
|
}, 16);
|
|
8660
8694
|
}
|
|
8661
|
-
var
|
|
8695
|
+
var Wi = /* @__PURE__ */ J({
|
|
8662
8696
|
name: "w-transition-twist",
|
|
8663
8697
|
props: {
|
|
8664
8698
|
appear: { type: Boolean },
|
|
8665
8699
|
duration: { type: [Number, String] }
|
|
8666
8700
|
}
|
|
8667
|
-
}, [["render",
|
|
8701
|
+
}, [["render", Ui]]), Gi = ["innerHTML"], Ki = {
|
|
8668
8702
|
key: 1,
|
|
8669
8703
|
class: "ml1"
|
|
8670
8704
|
};
|
|
8671
|
-
function
|
|
8705
|
+
function qi(t, n, r, i, a, u) {
|
|
8672
8706
|
let f = T("w-button"), p = T("w-icon"), m = T("w-tree", !0);
|
|
8673
8707
|
return b(), c("ul", { class: g(["w-tree", u.classes]) }, [(b(!0), c(e, null, C(t.currentDepthItems, (e, i) => (b(), c("li", {
|
|
8674
8708
|
class: g(["w-tree__item", u.itemClasses(e)]),
|
|
@@ -8708,8 +8742,8 @@ function Ki(t, n, r, i, a, u) {
|
|
|
8708
8742
|
default: P(() => [d(O(u.itemIcon(e)), 1)]),
|
|
8709
8743
|
_: 2
|
|
8710
8744
|
}, 1032, ["color"])) : s("", !0),
|
|
8711
|
-
l("span", { innerHTML: e.label }, null, 8,
|
|
8712
|
-
r.counts && (e.children || e.branch) ? (b(), c("span",
|
|
8745
|
+
l("span", { innerHTML: e.label }, null, 8, Gi),
|
|
8746
|
+
r.counts && (e.children || e.branch) ? (b(), c("span", Ki, "(" + O(e.originalItem.children?.length || 0) + ")", 1)) : s("", !0)
|
|
8713
8747
|
])]),
|
|
8714
8748
|
_: 2
|
|
8715
8749
|
}, 1040, [
|
|
@@ -8755,7 +8789,7 @@ function Ki(t, n, r, i, a, u) {
|
|
|
8755
8789
|
"onAfterLeave"
|
|
8756
8790
|
]))], 2))), 128))], 2);
|
|
8757
8791
|
}
|
|
8758
|
-
var
|
|
8792
|
+
var Ji = /* @__PURE__ */ J({
|
|
8759
8793
|
name: "w-tree",
|
|
8760
8794
|
props: {
|
|
8761
8795
|
modelValue: { type: [Object, Array] },
|
|
@@ -8940,66 +8974,66 @@ var qi = /* @__PURE__ */ Y({
|
|
|
8940
8974
|
unmounted() {
|
|
8941
8975
|
this.dataPropUnwatch();
|
|
8942
8976
|
}
|
|
8943
|
-
}, [["render",
|
|
8944
|
-
WAccordion: () =>
|
|
8945
|
-
WAccordionItem: () =>
|
|
8946
|
-
WAlert: () =>
|
|
8947
|
-
WApp: () =>
|
|
8948
|
-
WAutocomplete: () =>
|
|
8949
|
-
WBadge: () =>
|
|
8950
|
-
WBreadcrumbs: () =>
|
|
8951
|
-
WButton: () =>
|
|
8952
|
-
WCard: () =>
|
|
8953
|
-
WCheckbox: () =>
|
|
8954
|
-
WCheckboxes: () =>
|
|
8955
|
-
WConfirm: () =>
|
|
8956
|
-
WDatePicker: () =>
|
|
8957
|
-
WDialog: () =>
|
|
8958
|
-
WDivider: () =>
|
|
8959
|
-
WDrawer: () =>
|
|
8960
|
-
WFlex: () =>
|
|
8961
|
-
WForm: () =>
|
|
8962
|
-
WFormElement: () =>
|
|
8963
|
-
WGrid: () =>
|
|
8964
|
-
WIcon: () =>
|
|
8965
|
-
WImage: () =>
|
|
8966
|
-
WInput: () =>
|
|
8967
|
-
WList: () =>
|
|
8968
|
-
WMenu: () =>
|
|
8969
|
-
WNotification: () =>
|
|
8970
|
-
WOverlay: () =>
|
|
8971
|
-
WParallax: () =>
|
|
8972
|
-
WProgress: () =>
|
|
8973
|
-
WRadio: () =>
|
|
8974
|
-
WRadios: () =>
|
|
8975
|
-
WRating: () =>
|
|
8976
|
-
WScrollable: () =>
|
|
8977
|
-
WSelect: () =>
|
|
8978
|
-
WSlider: () =>
|
|
8979
|
-
WSpinner: () =>
|
|
8980
|
-
WSteps: () =>
|
|
8981
|
-
WSwitch: () =>
|
|
8982
|
-
WTable: () =>
|
|
8983
|
-
WTabs: () =>
|
|
8984
|
-
WTag: () =>
|
|
8985
|
-
WTextarea: () =>
|
|
8986
|
-
WTimeline: () =>
|
|
8987
|
-
WToolbar: () =>
|
|
8988
|
-
WTooltip: () =>
|
|
8989
|
-
WTransitionBounce: () =>
|
|
8990
|
-
WTransitionExpand: () =>
|
|
8991
|
-
WTransitionFade: () =>
|
|
8992
|
-
WTransitionScale: () =>
|
|
8993
|
-
WTransitionScaleFade: () =>
|
|
8994
|
-
WTransitionSlide: () =>
|
|
8995
|
-
WTransitionSlideFade: () =>
|
|
8996
|
-
WTransitionTwist: () =>
|
|
8997
|
-
WTree: () =>
|
|
8998
|
-
}),
|
|
8999
|
-
|
|
9000
|
-
components:
|
|
8977
|
+
}, [["render", qi]]), Yi = /* @__PURE__ */ ne({
|
|
8978
|
+
WAccordion: () => Ve,
|
|
8979
|
+
WAccordionItem: () => ze,
|
|
8980
|
+
WAlert: () => We,
|
|
8981
|
+
WApp: () => nt,
|
|
8982
|
+
WAutocomplete: () => $e,
|
|
8983
|
+
WBadge: () => at,
|
|
8984
|
+
WBreadcrumbs: () => ct,
|
|
8985
|
+
WButton: () => mt,
|
|
8986
|
+
WCard: () => _t,
|
|
8987
|
+
WCheckbox: () => wt,
|
|
8988
|
+
WCheckboxes: () => Dt,
|
|
8989
|
+
WConfirm: () => kt,
|
|
8990
|
+
WDatePicker: () => jt,
|
|
8991
|
+
WDialog: () => Nt,
|
|
8992
|
+
WDivider: () => It,
|
|
8993
|
+
WDrawer: () => Bt,
|
|
8994
|
+
WFlex: () => Ht,
|
|
8995
|
+
WForm: () => Gt,
|
|
8996
|
+
WFormElement: () => qt,
|
|
8997
|
+
WGrid: () => Yt,
|
|
8998
|
+
WIcon: () => Zt,
|
|
8999
|
+
WImage: () => tn,
|
|
9000
|
+
WInput: () => fn,
|
|
9001
|
+
WList: () => mn,
|
|
9002
|
+
WMenu: () => yn,
|
|
9003
|
+
WNotification: () => xn,
|
|
9004
|
+
WOverlay: () => Cn,
|
|
9005
|
+
WParallax: () => En,
|
|
9006
|
+
WProgress: () => Nn,
|
|
9007
|
+
WRadio: () => Bn,
|
|
9008
|
+
WRadios: () => Un,
|
|
9009
|
+
WRating: () => qn,
|
|
9010
|
+
WScrollable: () => Jn,
|
|
9011
|
+
WSelect: () => er,
|
|
9012
|
+
WSlider: () => pr,
|
|
9013
|
+
WSpinner: () => gr,
|
|
9014
|
+
WSteps: () => vr,
|
|
9015
|
+
WSwitch: () => Tr,
|
|
9016
|
+
WTable: () => fi,
|
|
9017
|
+
WTabs: () => Ir,
|
|
9018
|
+
WTag: () => hi,
|
|
9019
|
+
WTextarea: () => bi,
|
|
9020
|
+
WTimeline: () => wi,
|
|
9021
|
+
WToolbar: () => Ei,
|
|
9022
|
+
WTooltip: () => Oi,
|
|
9023
|
+
WTransitionBounce: () => Ai,
|
|
9024
|
+
WTransitionExpand: () => Mi,
|
|
9025
|
+
WTransitionFade: () => Pi,
|
|
9026
|
+
WTransitionScale: () => Ii,
|
|
9027
|
+
WTransitionScaleFade: () => Ri,
|
|
9028
|
+
WTransitionSlide: () => Bi,
|
|
9029
|
+
WTransitionSlideFade: () => Hi,
|
|
9030
|
+
WTransitionTwist: () => Wi,
|
|
9031
|
+
WTree: () => Ji
|
|
9032
|
+
}), Xi = Y.install;
|
|
9033
|
+
Y.install = (e, t = {}) => Xi.call(Y, e, {
|
|
9034
|
+
components: Yi,
|
|
9001
9035
|
...t
|
|
9002
9036
|
});
|
|
9003
|
-
var
|
|
9037
|
+
var Zi = Y;
|
|
9004
9038
|
//#endregion
|
|
9005
|
-
export {
|
|
9039
|
+
export { Zi as default };
|