wave-ui 4.2.0 → 4.2.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/types/types/components/WBadge.d.ts +7 -0
- package/dist/types/types/components/WCard.d.ts +7 -0
- package/dist/types/types/components/WDrawer.d.ts +7 -0
- package/dist/types/types/components/WIcon.d.ts +7 -0
- package/dist/types/types/components/WProgress.d.ts +7 -0
- package/dist/types/types/components/WRating.d.ts +7 -0
- package/dist/types/types/components/WSpinner.d.ts +6 -0
- package/dist/types/types/components/WToolbar.d.ts +7 -0
- package/dist/wave-ui.cjs.js +2 -2
- package/dist/wave-ui.esm.js +479 -393
- package/dist/wave-ui.umd.js +2 -2
- package/package.json +1 -1
- package/src/wave-ui/components/w-alert.vue +7 -1
- package/src/wave-ui/components/w-badge.vue +6 -4
- package/src/wave-ui/components/w-breadcrumbs.vue +2 -2
- package/src/wave-ui/components/w-card.vue +3 -0
- package/src/wave-ui/components/w-checkbox.vue +1 -0
- package/src/wave-ui/components/w-dialog.vue +5 -0
- package/src/wave-ui/components/w-drawer.vue +7 -0
- package/src/wave-ui/components/w-icon.vue +4 -2
- package/src/wave-ui/components/w-input.vue +1 -0
- package/src/wave-ui/components/w-menu.vue +2 -2
- package/src/wave-ui/components/w-progress.vue +10 -1
- package/src/wave-ui/components/w-radio.vue +1 -0
- package/src/wave-ui/components/w-rating.vue +22 -19
- package/src/wave-ui/components/w-select.vue +11 -2
- package/src/wave-ui/components/w-spinner.vue +2 -1
- package/src/wave-ui/components/w-tag.vue +3 -3
- package/src/wave-ui/components/w-textarea.vue +1 -0
- package/src/wave-ui/components/w-toolbar.vue +2 -1
- package/src/wave-ui/components/w-tooltip.vue +3 -1
package/dist/wave-ui.esm.js
CHANGED
|
@@ -2026,12 +2026,14 @@ var mt = /* @__PURE__ */ q({
|
|
|
2026
2026
|
}
|
|
2027
2027
|
e.forEach((e, t) => (this.accordionItems[t] || {})._expanded = e);
|
|
2028
2028
|
} }
|
|
2029
|
-
}, [["render", pt]]), ht = { class: "w-alert__content" };
|
|
2030
|
-
function
|
|
2029
|
+
}, [["render", pt]]), ht = ["role"], gt = { class: "w-alert__content" };
|
|
2030
|
+
function _t(t, n, r, i, a, u) {
|
|
2031
2031
|
let f = E("w-icon"), p = E("w-button");
|
|
2032
2032
|
return a.show ? (b(), c("div", {
|
|
2033
2033
|
key: 0,
|
|
2034
|
-
class: _(["w-alert", u.classes])
|
|
2034
|
+
class: _(["w-alert", u.classes]),
|
|
2035
|
+
role: u.ariaRole,
|
|
2036
|
+
"aria-atomic": "true"
|
|
2035
2037
|
}, [u.type || r.icon || r.dismiss ? (b(), c(e, { key: 0 }, [
|
|
2036
2038
|
u.type || r.icon ? (b(), o(f, {
|
|
2037
2039
|
key: 0,
|
|
@@ -2040,21 +2042,22 @@ function gt(t, n, r, i, a, u) {
|
|
|
2040
2042
|
default: j(() => [d(O(u.type ? u.typeIcon : r.icon), 1)]),
|
|
2041
2043
|
_: 1
|
|
2042
2044
|
})) : s("", !0),
|
|
2043
|
-
l("div",
|
|
2045
|
+
l("div", gt, [T(t.$slots, "default")]),
|
|
2044
2046
|
r.dismiss ? (b(), o(p, {
|
|
2045
2047
|
key: 1,
|
|
2046
2048
|
class: "w-alert__dismiss",
|
|
2047
2049
|
onClick: n[0] ||= (e) => {
|
|
2048
2050
|
t.$emit("update:modelValue", a.show = !1), t.$emit("input", !1), t.$emit("close", !1);
|
|
2049
2051
|
},
|
|
2052
|
+
"aria-label": "Dismiss",
|
|
2050
2053
|
icon: "wi-cross",
|
|
2051
2054
|
color: "inherit",
|
|
2052
2055
|
sm: "",
|
|
2053
2056
|
text: ""
|
|
2054
2057
|
})) : s("", !0)
|
|
2055
|
-
], 64)) : T(t.$slots, "default", { key: 1 })],
|
|
2058
|
+
], 64)) : T(t.$slots, "default", { key: 1 })], 10, ht)) : s("", !0);
|
|
2056
2059
|
}
|
|
2057
|
-
var
|
|
2060
|
+
var vt = /* @__PURE__ */ q({
|
|
2058
2061
|
name: "w-alert",
|
|
2059
2062
|
props: {
|
|
2060
2063
|
modelValue: { default: !0 },
|
|
@@ -2099,6 +2102,9 @@ var _t = /* @__PURE__ */ q({
|
|
|
2099
2102
|
type() {
|
|
2100
2103
|
return this.success && "success" || this.info && "info" || this.warning && "warning" || this.error && "error" || null;
|
|
2101
2104
|
},
|
|
2105
|
+
ariaRole() {
|
|
2106
|
+
return this.error || this.warning ? "alert" : "status";
|
|
2107
|
+
},
|
|
2102
2108
|
presetSize() {
|
|
2103
2109
|
return this.xs && "xs" || this.sm && "sm" || this.md && "md" || this.lg && "lg" || this.xl && "xl" || null;
|
|
2104
2110
|
},
|
|
@@ -2132,7 +2138,7 @@ var _t = /* @__PURE__ */ q({
|
|
|
2132
2138
|
watch: { modelValue(e) {
|
|
2133
2139
|
this.show = e;
|
|
2134
2140
|
} }
|
|
2135
|
-
}, [["render",
|
|
2141
|
+
}, [["render", _t]]);
|
|
2136
2142
|
//#endregion
|
|
2137
2143
|
//#region src/wave-ui/mixins/form-elements.js
|
|
2138
2144
|
function Z() {
|
|
@@ -2196,15 +2202,15 @@ var Q = {
|
|
|
2196
2202
|
t() || this.$nextTick(() => t());
|
|
2197
2203
|
});
|
|
2198
2204
|
} }
|
|
2199
|
-
},
|
|
2205
|
+
}, yt = ["for"], bt = ["innerHTML"], xt = ["innerHTML"], St = [
|
|
2200
2206
|
"id",
|
|
2201
2207
|
"value",
|
|
2202
2208
|
"name",
|
|
2203
2209
|
"disabled",
|
|
2204
2210
|
"readonly",
|
|
2205
2211
|
"tabindex"
|
|
2206
|
-
],
|
|
2207
|
-
function
|
|
2212
|
+
], Ct = ["for"], wt = ["innerHTML"], Tt = ["innerHTML"], Et = ["for"];
|
|
2213
|
+
function Dt(t, n, r, i, a, u) {
|
|
2208
2214
|
let p = E("w-icon"), m = E("w-button"), g = E("w-list"), v = E("w-menu");
|
|
2209
2215
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
2210
2216
|
validators: t.validators,
|
|
@@ -2226,7 +2232,7 @@ function Et(t, n, r, i, a, u) {
|
|
|
2226
2232
|
key: 0,
|
|
2227
2233
|
class: _(["w-autocomplete__label w-autocomplete__label--left w-form-el-shakable", t.labelClasses]),
|
|
2228
2234
|
for: t.inputId
|
|
2229
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
2235
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, yt)) : s("", !0)], 64)) : s("", !0),
|
|
2230
2236
|
f(v, h({
|
|
2231
2237
|
ref: "menu",
|
|
2232
2238
|
modelValue: t.menuOpen,
|
|
@@ -2262,7 +2268,7 @@ function Et(t, n, r, i, a, u) {
|
|
|
2262
2268
|
item: j(({ item: e }) => [T(t.$slots, "item", {
|
|
2263
2269
|
item: e,
|
|
2264
2270
|
highlighted: t.highlightedItem === e.uid
|
|
2265
|
-
}, () => [l("span", { innerHTML: e[r.itemLabelKey] }, null, 8,
|
|
2271
|
+
}, () => [l("span", { innerHTML: e[r.itemLabelKey] }, null, 8, wt)])]),
|
|
2266
2272
|
_: 3
|
|
2267
2273
|
}, 8, [
|
|
2268
2274
|
"items",
|
|
@@ -2278,7 +2284,7 @@ function Et(t, n, r, i, a, u) {
|
|
|
2278
2284
|
}, [T(t.$slots, "no-match", {}, () => [l("div", {
|
|
2279
2285
|
class: "caption",
|
|
2280
2286
|
innerHTML: r.noMatch ?? "No match."
|
|
2281
|
-
}, null, 8,
|
|
2287
|
+
}, null, 8, Tt)])], 2)),
|
|
2282
2288
|
t.$slots["extra-item"] ? (b(), c("div", {
|
|
2283
2289
|
key: 2,
|
|
2284
2290
|
class: _(["w-autocomplete__extra-item", { highlighted: t.highlightedItem === "extra-item" }]),
|
|
@@ -2305,7 +2311,7 @@ function Et(t, n, r, i, a, u) {
|
|
|
2305
2311
|
}, [T(t.$slots, "selection", {
|
|
2306
2312
|
item: e,
|
|
2307
2313
|
unselect: () => u.unselectItem(n)
|
|
2308
|
-
}, () => [l("span", { innerHTML: e[r.itemLabelKey] }, null, 8,
|
|
2314
|
+
}, () => [l("span", { innerHTML: e[r.itemLabelKey] }, null, 8, bt), f(m, {
|
|
2309
2315
|
onClick: P((e) => u.unselectItem(n), ["stop"]),
|
|
2310
2316
|
icon: "wi-cross",
|
|
2311
2317
|
xs: "",
|
|
@@ -2316,7 +2322,7 @@ function Et(t, n, r, i, a, u) {
|
|
|
2316
2322
|
key: 1,
|
|
2317
2323
|
class: "w-autocomplete__placeholder",
|
|
2318
2324
|
innerHTML: r.placeholder
|
|
2319
|
-
}, null, 8,
|
|
2325
|
+
}, null, 8, xt)) : s("", !0),
|
|
2320
2326
|
l("input", h({
|
|
2321
2327
|
class: "w-autocomplete__input",
|
|
2322
2328
|
ref: "input",
|
|
@@ -2326,12 +2332,12 @@ function Et(t, n, r, i, a, u) {
|
|
|
2326
2332
|
disabled: t.isDisabled || null,
|
|
2327
2333
|
readonly: t.isReadonly || null,
|
|
2328
2334
|
tabindex: t.tabindex || null
|
|
2329
|
-
}, k(u.inputEventListeners, !0), u.inputAttrs), null, 16,
|
|
2335
|
+
}, k(u.inputEventListeners, !0), u.inputAttrs), null, 16, St),
|
|
2330
2336
|
r.labelPosition === "inside" && u.showLabelInside ? (b(), c(e, { key: 2 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
2331
2337
|
key: 0,
|
|
2332
2338
|
class: _(["w-autocomplete__label w-autocomplete__label--inside w-form-el-shakable", t.labelClasses]),
|
|
2333
2339
|
for: t.inputId
|
|
2334
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
2340
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, Ct)) : s("", !0)], 64)) : s("", !0),
|
|
2335
2341
|
T(t.$slots, "icon-right", {}, () => [r.innerIconRight ? (b(), o(p, {
|
|
2336
2342
|
key: 0,
|
|
2337
2343
|
class: "w-autocomplete__icon w-autocomplete__icon--inner-right",
|
|
@@ -2354,7 +2360,7 @@ function Et(t, n, r, i, a, u) {
|
|
|
2354
2360
|
key: 0,
|
|
2355
2361
|
class: _(["w-autocomplete__label w-autocomplete__label--right w-form-el-shakable", t.labelClasses]),
|
|
2356
2362
|
for: t.inputId
|
|
2357
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
2363
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, Et)) : s("", !0)], 64)) : s("", !0)
|
|
2358
2364
|
]),
|
|
2359
2365
|
_: 3
|
|
2360
2366
|
}, 16, [
|
|
@@ -2365,7 +2371,7 @@ function Et(t, n, r, i, a, u) {
|
|
|
2365
2371
|
"style"
|
|
2366
2372
|
]);
|
|
2367
2373
|
}
|
|
2368
|
-
var
|
|
2374
|
+
var Ot = /* @__PURE__ */ q({
|
|
2369
2375
|
name: "w-autocomplete",
|
|
2370
2376
|
expose: ["focus"],
|
|
2371
2377
|
mixins: [Q, $],
|
|
@@ -2660,25 +2666,33 @@ var Dt = /* @__PURE__ */ q({
|
|
|
2660
2666
|
this.menuOpen && e.length !== t.length && this.$nextTick(() => this.$refs.menu?.computeDetachableCoords());
|
|
2661
2667
|
}
|
|
2662
2668
|
}
|
|
2663
|
-
}, [["render",
|
|
2664
|
-
|
|
2665
|
-
|
|
2669
|
+
}, [["render", Dt]]), kt = { class: "w-badge-wrap" }, At = [
|
|
2670
|
+
"aria-hidden",
|
|
2671
|
+
"aria-atomic",
|
|
2672
|
+
"aria-label",
|
|
2673
|
+
"aria-live",
|
|
2674
|
+
"role"
|
|
2675
|
+
];
|
|
2676
|
+
function jt(e, t, n, i, a, o) {
|
|
2677
|
+
return b(), c("div", kt, [T(e.$slots, "default"), f(r, { name: `${n.transition}` }, {
|
|
2666
2678
|
default: j(() => [n.modelValue ? (b(), c("div", {
|
|
2667
2679
|
key: 0,
|
|
2668
2680
|
class: _(["w-badge", o.classes]),
|
|
2669
2681
|
style: y(o.styles),
|
|
2670
|
-
"aria-
|
|
2671
|
-
"aria-
|
|
2672
|
-
"aria-
|
|
2673
|
-
|
|
2674
|
-
|
|
2682
|
+
"aria-hidden": n.dot ? "true" : void 0,
|
|
2683
|
+
"aria-atomic": n.dot ? void 0 : "true",
|
|
2684
|
+
"aria-label": n.dot ? void 0 : n.ariaLabel || (n.modelValue === !0 ? "Badge" : String(n.modelValue)),
|
|
2685
|
+
"aria-live": n.dot ? void 0 : "polite",
|
|
2686
|
+
role: n.dot ? void 0 : "status"
|
|
2687
|
+
}, [n.dot ? s("", !0) : T(e.$slots, "badge", { key: 0 }, () => [d(O(n.modelValue === !0 ? "" : n.modelValue || ""), 1)])], 14, At)) : s("", !0)]),
|
|
2675
2688
|
_: 3
|
|
2676
2689
|
}, 8, ["name"])]);
|
|
2677
2690
|
}
|
|
2678
|
-
var
|
|
2691
|
+
var Mt = /* @__PURE__ */ q({
|
|
2679
2692
|
name: "w-badge",
|
|
2680
2693
|
props: {
|
|
2681
2694
|
modelValue: { default: !0 },
|
|
2695
|
+
ariaLabel: { type: String },
|
|
2682
2696
|
xs: { type: Boolean },
|
|
2683
2697
|
sm: { type: Boolean },
|
|
2684
2698
|
md: { type: Boolean },
|
|
@@ -2741,10 +2755,13 @@ var At = /* @__PURE__ */ q({
|
|
|
2741
2755
|
return this.forcedSize && `font-size: ${this.forcedSize}`;
|
|
2742
2756
|
}
|
|
2743
2757
|
}
|
|
2744
|
-
}, [["render",
|
|
2745
|
-
function
|
|
2758
|
+
}, [["render", jt]]), Nt = ["innerHTML"];
|
|
2759
|
+
function Pt(t, n, r, i, a, l) {
|
|
2746
2760
|
let u = E("w-icon");
|
|
2747
|
-
return b(), c("
|
|
2761
|
+
return b(), c("nav", {
|
|
2762
|
+
class: _(["w-breadcrumbs", l.classes]),
|
|
2763
|
+
"aria-label": "Breadcrumb"
|
|
2764
|
+
}, [(b(!0), c(e, null, w(r.items, (n, i) => (b(), c(e, null, [i && t.$slots.separator ? (b(), c("span", {
|
|
2748
2765
|
class: _(["w-breadcrumbs__separator", r.separatorColor]),
|
|
2749
2766
|
key: `${i}a`
|
|
2750
2767
|
}, [T(t.$slots, "separator", { index: i })], 2)) : i ? (b(), o(u, {
|
|
@@ -2791,10 +2808,11 @@ function Mt(t, n, r, i, a, l) {
|
|
|
2791
2808
|
isLast: i === r.items.length - 1
|
|
2792
2809
|
}) : (b(), c("span", {
|
|
2793
2810
|
key: `${i}f`,
|
|
2811
|
+
"aria-current": "page",
|
|
2794
2812
|
innerHTML: n[r.itemLabelKey]
|
|
2795
|
-
}, null, 8,
|
|
2813
|
+
}, null, 8, Nt))], 64))), 256))], 2);
|
|
2796
2814
|
}
|
|
2797
|
-
var
|
|
2815
|
+
var Ft = /* @__PURE__ */ q({
|
|
2798
2816
|
name: "w-breadcrumbs",
|
|
2799
2817
|
mixins: [X],
|
|
2800
2818
|
props: {
|
|
@@ -2841,11 +2859,11 @@ var Nt = /* @__PURE__ */ q({
|
|
|
2841
2859
|
return { [`size--${this.size}`]: !0 };
|
|
2842
2860
|
}
|
|
2843
2861
|
}
|
|
2844
|
-
}, [["render",
|
|
2862
|
+
}, [["render", Pt]]), It = {
|
|
2845
2863
|
key: 0,
|
|
2846
2864
|
class: "w-button__loader"
|
|
2847
2865
|
};
|
|
2848
|
-
function
|
|
2866
|
+
function Lt(e, t, n, i, a, u) {
|
|
2849
2867
|
let p = E("w-icon");
|
|
2850
2868
|
return b(), o(D(!n.disabled && n.route ? "a" : "button"), h({
|
|
2851
2869
|
class: ["w-button", u.classes],
|
|
@@ -2860,7 +2878,7 @@ function Ft(e, t, n, i, a, u) {
|
|
|
2860
2878
|
default: j(() => [d(O(n.icon), 1)]),
|
|
2861
2879
|
_: 1
|
|
2862
2880
|
}, 16)) : T(e.$slots, "default", { key: 1 }), f(r, { name: "scale-fade" }, {
|
|
2863
|
-
default: j(() => [n.loading ? (b(), c("div",
|
|
2881
|
+
default: j(() => [n.loading ? (b(), c("div", It, [T(e.$slots, "loading", {}, () => [t[0] ||= l("svg", { viewBox: "0 0 40 40" }, [l("circle", {
|
|
2864
2882
|
cx: "20",
|
|
2865
2883
|
cy: "20",
|
|
2866
2884
|
r: "18",
|
|
@@ -2881,7 +2899,7 @@ function Ft(e, t, n, i, a, u) {
|
|
|
2881
2899
|
"onPointerdown"
|
|
2882
2900
|
]);
|
|
2883
2901
|
}
|
|
2884
|
-
var
|
|
2902
|
+
var Rt = /* @__PURE__ */ q({
|
|
2885
2903
|
inheritAttrs: !1,
|
|
2886
2904
|
mixins: [X],
|
|
2887
2905
|
props: {
|
|
@@ -2984,11 +3002,11 @@ var It = /* @__PURE__ */ q({
|
|
|
2984
3002
|
};
|
|
2985
3003
|
}
|
|
2986
3004
|
}
|
|
2987
|
-
}, [["render",
|
|
2988
|
-
function
|
|
3005
|
+
}, [["render", Lt]]), zt = ["innerHTML"];
|
|
3006
|
+
function Bt(e, t, n, r, i, a) {
|
|
2989
3007
|
let s = E("button-partial");
|
|
2990
3008
|
return n.tooltip ? (b(), o(D("w-tooltip"), v(h({ key: 0 }, n.tooltipProps)), {
|
|
2991
|
-
tooltip: j(() => [l("div", { innerHTML: n.tooltip }, null, 8,
|
|
3009
|
+
tooltip: j(() => [l("div", { innerHTML: n.tooltip }, null, 8, zt)]),
|
|
2992
3010
|
default: j(() => [f(s, h({ ref: "button" }, a.buttonProps), {
|
|
2993
3011
|
default: j(() => [T(e.$slots, "default")]),
|
|
2994
3012
|
_: 3
|
|
@@ -3003,7 +3021,7 @@ function Rt(e, t, n, r, i, a) {
|
|
|
3003
3021
|
_: 3
|
|
3004
3022
|
}, 16));
|
|
3005
3023
|
}
|
|
3006
|
-
var
|
|
3024
|
+
var Vt = /* @__PURE__ */ q({
|
|
3007
3025
|
name: "w-button",
|
|
3008
3026
|
focusable: !0,
|
|
3009
3027
|
expose: ["focus"],
|
|
@@ -3057,7 +3075,7 @@ var zt = /* @__PURE__ */ q({
|
|
|
3057
3075
|
default: void 0
|
|
3058
3076
|
}
|
|
3059
3077
|
},
|
|
3060
|
-
components: { ButtonPartial:
|
|
3078
|
+
components: { ButtonPartial: Rt },
|
|
3061
3079
|
emits: [],
|
|
3062
3080
|
computed: { buttonProps() {
|
|
3063
3081
|
let { tooltip: e, tooltipProps: t = {}, ...n } = this.$props;
|
|
@@ -3069,8 +3087,8 @@ var zt = /* @__PURE__ */ q({
|
|
|
3069
3087
|
methods: { focus() {
|
|
3070
3088
|
this.disabled || J(this.$refs.button?.$el);
|
|
3071
3089
|
} }
|
|
3072
|
-
}, [["render",
|
|
3073
|
-
function
|
|
3090
|
+
}, [["render", Bt]]), Ht = ["id"], Ut = ["innerHTML", "id"];
|
|
3091
|
+
function Wt(e, t, n, r, i, a) {
|
|
3074
3092
|
let u = E("w-image");
|
|
3075
3093
|
return b(), c("div", { class: _(["w-card", a.classes]) }, [
|
|
3076
3094
|
e.$slots.title ? (b(), c("div", {
|
|
@@ -3078,15 +3096,17 @@ function Vt(e, t, n, r, i, a) {
|
|
|
3078
3096
|
class: _(["w-card__title", {
|
|
3079
3097
|
"w-card__title--has-toolbar": e.$slots.title && a.titleHasToolbar,
|
|
3080
3098
|
...a.titleClasses
|
|
3081
|
-
}])
|
|
3082
|
-
|
|
3099
|
+
}]),
|
|
3100
|
+
id: n.titleId || void 0
|
|
3101
|
+
}, [T(e.$slots, "title")], 10, Ht)) : n.title ? (b(), c("div", {
|
|
3083
3102
|
key: 1,
|
|
3084
3103
|
class: _(["w-card__title", {
|
|
3085
3104
|
"w-card__title--has-toolbar": e.$slots.title && a.titleHasToolbar,
|
|
3086
3105
|
...a.titleClasses
|
|
3087
3106
|
}]),
|
|
3088
|
-
innerHTML: n.title
|
|
3089
|
-
|
|
3107
|
+
innerHTML: n.title,
|
|
3108
|
+
id: n.titleId || void 0
|
|
3109
|
+
}, null, 10, Ut)) : s("", !0),
|
|
3090
3110
|
n.image ? (b(), o(u, h({
|
|
3091
3111
|
key: 2,
|
|
3092
3112
|
class: "w-card__image",
|
|
@@ -3102,7 +3122,7 @@ function Vt(e, t, n, r, i, a) {
|
|
|
3102
3122
|
}, [T(e.$slots, "actions")], 2)) : s("", !0)
|
|
3103
3123
|
], 2);
|
|
3104
3124
|
}
|
|
3105
|
-
var
|
|
3125
|
+
var Gt = /* @__PURE__ */ q({
|
|
3106
3126
|
name: "w-card",
|
|
3107
3127
|
props: {
|
|
3108
3128
|
color: { type: String },
|
|
@@ -3123,6 +3143,7 @@ var Ht = /* @__PURE__ */ q({
|
|
|
3123
3143
|
Object,
|
|
3124
3144
|
Array
|
|
3125
3145
|
] },
|
|
3146
|
+
titleId: { type: String },
|
|
3126
3147
|
dark: { type: Boolean },
|
|
3127
3148
|
light: { type: Boolean }
|
|
3128
3149
|
},
|
|
@@ -3162,16 +3183,17 @@ var Ht = /* @__PURE__ */ q({
|
|
|
3162
3183
|
};
|
|
3163
3184
|
}
|
|
3164
3185
|
}
|
|
3165
|
-
}, [["render",
|
|
3186
|
+
}, [["render", Wt]]), Kt = [
|
|
3166
3187
|
"id",
|
|
3167
3188
|
"name",
|
|
3168
3189
|
"checked",
|
|
3169
3190
|
"disabled",
|
|
3170
3191
|
"required",
|
|
3171
3192
|
"tabindex",
|
|
3172
|
-
"aria-checked"
|
|
3173
|
-
|
|
3174
|
-
|
|
3193
|
+
"aria-checked",
|
|
3194
|
+
"aria-invalid"
|
|
3195
|
+
], qt = ["for"], Jt = ["for", "innerHTML"], Yt = ["for"], Xt = ["for", "innerHTML"];
|
|
3196
|
+
function Zt(t, n, r, i, a, u) {
|
|
3175
3197
|
return b(), o(D(t.formRegister && !u.wCheckboxes ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
3176
3198
|
validators: t.validators,
|
|
3177
3199
|
inputValue: a.isChecked,
|
|
@@ -3201,18 +3223,19 @@ function Jt(t, n, r, i, a, u) {
|
|
|
3201
3223
|
onChange: n[2] ||= (e) => u.onInput(),
|
|
3202
3224
|
onKeypress: n[3] ||= N((...e) => u.onInput && u.onInput(...e), ["enter"]),
|
|
3203
3225
|
"aria-checked": a.isChecked || "false",
|
|
3226
|
+
"aria-invalid": t.valid === !1 ? "true" : void 0,
|
|
3204
3227
|
role: "checkbox"
|
|
3205
|
-
}, null, 40,
|
|
3228
|
+
}, null, 40, Kt),
|
|
3206
3229
|
u.hasLabel && r.labelOnLeft ? (b(), c(e, { key: 0 }, [t.$slots.default ? (b(), c("label", {
|
|
3207
3230
|
key: 0,
|
|
3208
3231
|
class: _(["w-checkbox__label w-form-el-shakable pr2", t.labelClasses]),
|
|
3209
3232
|
for: t.inputId
|
|
3210
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
3233
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, qt)) : r.label ? (b(), c("label", {
|
|
3211
3234
|
key: 1,
|
|
3212
3235
|
class: _(["w-checkbox__label w-form-el-shakable pr2", t.labelClasses]),
|
|
3213
3236
|
for: t.inputId,
|
|
3214
3237
|
innerHTML: r.label
|
|
3215
|
-
}, null, 10,
|
|
3238
|
+
}, null, 10, Jt)) : s("", !0)], 64)) : s("", !0),
|
|
3216
3239
|
l("div", {
|
|
3217
3240
|
class: _(["w-checkbox__input", this.color]),
|
|
3218
3241
|
onClick: n[4] ||= (e) => {
|
|
@@ -3223,17 +3246,17 @@ function Jt(t, n, r, i, a, u) {
|
|
|
3223
3246
|
key: 0,
|
|
3224
3247
|
class: _(["w-checkbox__label w-form-el-shakable pl2", t.labelClasses]),
|
|
3225
3248
|
for: t.inputId
|
|
3226
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
3249
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, Yt)) : r.label ? (b(), c("label", {
|
|
3227
3250
|
key: 1,
|
|
3228
3251
|
class: _(["w-checkbox__label w-form-el-shakable pl2", t.labelClasses]),
|
|
3229
3252
|
for: t.inputId,
|
|
3230
3253
|
innerHTML: r.label
|
|
3231
|
-
}, null, 10,
|
|
3254
|
+
}, null, 10, Xt)) : s("", !0)], 64)) : s("", !0)
|
|
3232
3255
|
]),
|
|
3233
3256
|
_: 3
|
|
3234
3257
|
}, 16, ["valid", "class"]);
|
|
3235
3258
|
}
|
|
3236
|
-
var
|
|
3259
|
+
var Qt = /* @__PURE__ */ q({
|
|
3237
3260
|
name: "w-checkbox",
|
|
3238
3261
|
expose: ["focus"],
|
|
3239
3262
|
mixins: [Q, $],
|
|
@@ -3313,8 +3336,8 @@ var Yt = /* @__PURE__ */ q({
|
|
|
3313
3336
|
watch: { modelValue(e) {
|
|
3314
3337
|
this.isChecked = e;
|
|
3315
3338
|
} }
|
|
3316
|
-
}, [["render",
|
|
3317
|
-
function
|
|
3339
|
+
}, [["render", Zt]]), $t = ["innerHTML"];
|
|
3340
|
+
function en(t, n, r, i, a, l) {
|
|
3318
3341
|
let u = E("w-checkbox");
|
|
3319
3342
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
3320
3343
|
validators: t.validators,
|
|
@@ -3357,7 +3380,7 @@ function Zt(t, n, r, i, a, l) {
|
|
|
3357
3380
|
}) : e.label ? (b(), c("div", {
|
|
3358
3381
|
key: 1,
|
|
3359
3382
|
innerHTML: e.label
|
|
3360
|
-
}, null, 8,
|
|
3383
|
+
}, null, 8, $t)) : s("", !0)]),
|
|
3361
3384
|
_: 2
|
|
3362
3385
|
}, 1040, [
|
|
3363
3386
|
"model-value",
|
|
@@ -3376,7 +3399,7 @@ function Zt(t, n, r, i, a, l) {
|
|
|
3376
3399
|
"class"
|
|
3377
3400
|
]);
|
|
3378
3401
|
}
|
|
3379
|
-
var
|
|
3402
|
+
var tn = /* @__PURE__ */ q({
|
|
3380
3403
|
name: "w-checkboxes",
|
|
3381
3404
|
focusable: !0,
|
|
3382
3405
|
expose: ["focus"],
|
|
@@ -3469,10 +3492,10 @@ var Qt = /* @__PURE__ */ q({
|
|
|
3469
3492
|
return this.items[e._index];
|
|
3470
3493
|
}
|
|
3471
3494
|
}
|
|
3472
|
-
}, [["render",
|
|
3495
|
+
}, [["render", en]]);
|
|
3473
3496
|
//#endregion
|
|
3474
3497
|
//#region src/wave-ui/components/w-confirm.vue?vue&type=template&lang.js
|
|
3475
|
-
function
|
|
3498
|
+
function nn(e, t, n, r, i, a) {
|
|
3476
3499
|
let c = E("w-button"), u = E("w-flex"), p = E("w-menu"), m = ne("focus");
|
|
3477
3500
|
return b(), o(p, h({
|
|
3478
3501
|
modelValue: e.showPopup,
|
|
@@ -3512,7 +3535,7 @@ function $t(e, t, n, r, i, a) {
|
|
|
3512
3535
|
_: 3
|
|
3513
3536
|
}, 16, ["modelValue", "disable"]);
|
|
3514
3537
|
}
|
|
3515
|
-
var
|
|
3538
|
+
var rn = /* @__PURE__ */ q({
|
|
3516
3539
|
name: "w-confirm",
|
|
3517
3540
|
inheritAttrs: !1,
|
|
3518
3541
|
props: {
|
|
@@ -3638,16 +3661,16 @@ var en = /* @__PURE__ */ q({
|
|
|
3638
3661
|
this.$emit("confirm"), this.showPopup = !1;
|
|
3639
3662
|
}
|
|
3640
3663
|
}
|
|
3641
|
-
}, [["render",
|
|
3664
|
+
}, [["render", nn]]);
|
|
3642
3665
|
//#endregion
|
|
3643
3666
|
//#region src/wave-ui/components/w-date-picker.vue?vue&type=template&lang.js
|
|
3644
|
-
function
|
|
3667
|
+
function an(e, t, n, r, i, a) {
|
|
3645
3668
|
return b(), c("div", {
|
|
3646
3669
|
class: _(["w-date-picker", a.classes]),
|
|
3647
3670
|
style: y(a.styles)
|
|
3648
3671
|
}, [T(e.$slots, "default")], 6);
|
|
3649
3672
|
}
|
|
3650
|
-
var
|
|
3673
|
+
var on = /* @__PURE__ */ q({
|
|
3651
3674
|
name: "w-date-picker",
|
|
3652
3675
|
props: {
|
|
3653
3676
|
dark: { type: Boolean },
|
|
@@ -3665,10 +3688,10 @@ var nn = /* @__PURE__ */ q({
|
|
|
3665
3688
|
return !1;
|
|
3666
3689
|
}
|
|
3667
3690
|
}
|
|
3668
|
-
}, [["render",
|
|
3691
|
+
}, [["render", an]]);
|
|
3669
3692
|
//#endregion
|
|
3670
3693
|
//#region src/wave-ui/components/w-dialog.vue?vue&type=template&lang.js
|
|
3671
|
-
function
|
|
3694
|
+
function sn(e, t, n, i, a, s) {
|
|
3672
3695
|
let c = E("w-card"), l = E("w-overlay");
|
|
3673
3696
|
return b(), o(l, {
|
|
3674
3697
|
class: _(["w-dialog", s.classes]),
|
|
@@ -3695,6 +3718,10 @@ function rn(e, t, n, i, a, s) {
|
|
|
3695
3718
|
"title-class": n.titleClass,
|
|
3696
3719
|
"content-class": n.contentClass,
|
|
3697
3720
|
title: n.title || void 0,
|
|
3721
|
+
"title-id": n.title || e.$slots.title ? a.titleId : void 0,
|
|
3722
|
+
role: "dialog",
|
|
3723
|
+
"aria-modal": "true",
|
|
3724
|
+
"aria-labelledby": n.title || e.$slots.title ? a.titleId : void 0,
|
|
3698
3725
|
style: y(s.contentStyles)
|
|
3699
3726
|
}, u({
|
|
3700
3727
|
default: j(() => [T(e.$slots, "default")]),
|
|
@@ -3714,6 +3741,8 @@ function rn(e, t, n, i, a, s) {
|
|
|
3714
3741
|
"title-class",
|
|
3715
3742
|
"content-class",
|
|
3716
3743
|
"title",
|
|
3744
|
+
"title-id",
|
|
3745
|
+
"aria-labelledby",
|
|
3717
3746
|
"style"
|
|
3718
3747
|
]), [[se, a.showContent]])]),
|
|
3719
3748
|
_: 3
|
|
@@ -3730,7 +3759,7 @@ function rn(e, t, n, i, a, s) {
|
|
|
3730
3759
|
"class"
|
|
3731
3760
|
]);
|
|
3732
3761
|
}
|
|
3733
|
-
var
|
|
3762
|
+
var cn = /* @__PURE__ */ q({
|
|
3734
3763
|
name: "w-dialog",
|
|
3735
3764
|
expose: ["focus"],
|
|
3736
3765
|
props: {
|
|
@@ -3785,6 +3814,7 @@ var an = /* @__PURE__ */ q({
|
|
|
3785
3814
|
},
|
|
3786
3815
|
data() {
|
|
3787
3816
|
return {
|
|
3817
|
+
titleId: `w-dialog-title-${Math.random().toString(36).slice(2, 9)}`,
|
|
3788
3818
|
showWrapper: this.modelValue,
|
|
3789
3819
|
showContent: this.modelValue
|
|
3790
3820
|
};
|
|
@@ -3831,15 +3861,15 @@ var an = /* @__PURE__ */ q({
|
|
|
3831
3861
|
watch: { modelValue(e) {
|
|
3832
3862
|
this.showWrapper = e, this.showContent = e;
|
|
3833
3863
|
} }
|
|
3834
|
-
}, [["render",
|
|
3835
|
-
function
|
|
3864
|
+
}, [["render", sn]]), ln = ["role", "aria-orientation"];
|
|
3865
|
+
function un(e, t, n, r, i, a) {
|
|
3836
3866
|
return b(), c("div", {
|
|
3837
3867
|
class: _(["w-divider", a.classes]),
|
|
3838
3868
|
role: e.$slots.default ? null : "presentation",
|
|
3839
3869
|
"aria-orientation": n.vertical ? "vertical" : "horizontal"
|
|
3840
|
-
}, [T(e.$slots, "default")], 10,
|
|
3870
|
+
}, [T(e.$slots, "default")], 10, ln);
|
|
3841
3871
|
}
|
|
3842
|
-
var
|
|
3872
|
+
var dn = /* @__PURE__ */ q({
|
|
3843
3873
|
name: "w-divider",
|
|
3844
3874
|
props: {
|
|
3845
3875
|
vertical: { type: Boolean },
|
|
@@ -3857,8 +3887,8 @@ var cn = /* @__PURE__ */ q({
|
|
|
3857
3887
|
"w-divider--light": this.light
|
|
3858
3888
|
};
|
|
3859
3889
|
} }
|
|
3860
|
-
}, [["render",
|
|
3861
|
-
function
|
|
3890
|
+
}, [["render", un]]), fn = { class: "w-drawer-wrap__pushable" };
|
|
3891
|
+
function pn(t, n, i, a, u, d) {
|
|
3862
3892
|
let p = E("w-overlay");
|
|
3863
3893
|
return u.showWrapper || i.pushContent ? (b(), c("div", {
|
|
3864
3894
|
key: 0,
|
|
@@ -3867,7 +3897,7 @@ function un(t, n, i, a, u, d) {
|
|
|
3867
3897
|
key: 0,
|
|
3868
3898
|
class: "w-drawer-wrap__track",
|
|
3869
3899
|
style: y(d.trackStyles)
|
|
3870
|
-
}, [l("div",
|
|
3900
|
+
}, [l("div", fn, [i.noOverlay ? s("", !0) : (b(), o(p, {
|
|
3871
3901
|
key: 0,
|
|
3872
3902
|
ref: "overlay",
|
|
3873
3903
|
modelValue: u.showDrawer,
|
|
@@ -3892,6 +3922,9 @@ function un(t, n, i, a, u, d) {
|
|
|
3892
3922
|
key: 0,
|
|
3893
3923
|
class: _(["w-drawer", d.drawerClasses]),
|
|
3894
3924
|
ref: "drawer",
|
|
3925
|
+
role: "dialog",
|
|
3926
|
+
"aria-modal": i.noOverlay ? void 0 : "true",
|
|
3927
|
+
"aria-label": i.ariaLabel || void 0,
|
|
3895
3928
|
style: y(d.styles),
|
|
3896
3929
|
tabindex: i.noOverlay ? 0 : null,
|
|
3897
3930
|
onKeydown: n[1] ||= N(P((e) => i.noOverlay && !i.persistent && d.onOutsideClick(), ["stop"]), ["escape"])
|
|
@@ -3899,6 +3932,8 @@ function un(t, n, i, a, u, d) {
|
|
|
3899
3932
|
default: j(() => [T(t.$slots, "default")]),
|
|
3900
3933
|
_: 3
|
|
3901
3934
|
}, 40, [
|
|
3935
|
+
"aria-modal",
|
|
3936
|
+
"aria-label",
|
|
3902
3937
|
"class",
|
|
3903
3938
|
"style",
|
|
3904
3939
|
"tabindex"
|
|
@@ -3930,6 +3965,9 @@ function un(t, n, i, a, u, d) {
|
|
|
3930
3965
|
key: 0,
|
|
3931
3966
|
class: _(["w-drawer", d.drawerClasses]),
|
|
3932
3967
|
ref: "drawer",
|
|
3968
|
+
role: "dialog",
|
|
3969
|
+
"aria-modal": i.noOverlay ? void 0 : "true",
|
|
3970
|
+
"aria-label": i.ariaLabel || void 0,
|
|
3933
3971
|
style: y(d.styles),
|
|
3934
3972
|
tabindex: i.noOverlay ? 0 : null,
|
|
3935
3973
|
onKeydown: n[3] ||= N(P((e) => i.noOverlay && !i.persistent && d.onOutsideClick(), ["stop"]), ["escape"])
|
|
@@ -3937,6 +3975,8 @@ function un(t, n, i, a, u, d) {
|
|
|
3937
3975
|
default: j(() => [T(t.$slots, "default")]),
|
|
3938
3976
|
_: 3
|
|
3939
3977
|
}, 40, [
|
|
3978
|
+
"aria-modal",
|
|
3979
|
+
"aria-label",
|
|
3940
3980
|
"class",
|
|
3941
3981
|
"style",
|
|
3942
3982
|
"tabindex"
|
|
@@ -3950,12 +3990,12 @@ function un(t, n, i, a, u, d) {
|
|
|
3950
3990
|
}
|
|
3951
3991
|
//#endregion
|
|
3952
3992
|
//#region src/wave-ui/components/w-drawer.vue
|
|
3953
|
-
var
|
|
3993
|
+
var mn = {
|
|
3954
3994
|
left: "right",
|
|
3955
3995
|
right: "left",
|
|
3956
3996
|
top: "down",
|
|
3957
3997
|
bottom: "up"
|
|
3958
|
-
},
|
|
3998
|
+
}, hn = /* @__PURE__ */ q({
|
|
3959
3999
|
name: "w-drawer",
|
|
3960
4000
|
expose: ["focus"],
|
|
3961
4001
|
props: {
|
|
@@ -3994,6 +4034,7 @@ var dn = {
|
|
|
3994
4034
|
Boolean
|
|
3995
4035
|
] },
|
|
3996
4036
|
drawerClass: { type: String },
|
|
4037
|
+
ariaLabel: { type: String },
|
|
3997
4038
|
tag: {
|
|
3998
4039
|
type: String,
|
|
3999
4040
|
default: "aside"
|
|
@@ -4062,7 +4103,7 @@ var dn = {
|
|
|
4062
4103
|
return !this.showWrapper;
|
|
4063
4104
|
},
|
|
4064
4105
|
transitionName() {
|
|
4065
|
-
return `slide-${
|
|
4106
|
+
return `slide-${mn[this.position]}`;
|
|
4066
4107
|
}
|
|
4067
4108
|
},
|
|
4068
4109
|
methods: {
|
|
@@ -4082,16 +4123,16 @@ var dn = {
|
|
|
4082
4123
|
watch: { modelValue(e) {
|
|
4083
4124
|
e && (this.showWrapper = !0), this.showDrawer = e;
|
|
4084
4125
|
} }
|
|
4085
|
-
}, [["render",
|
|
4126
|
+
}, [["render", pn]]);
|
|
4086
4127
|
//#endregion
|
|
4087
4128
|
//#region src/wave-ui/components/w-flex.vue?vue&type=template&lang.js
|
|
4088
|
-
function
|
|
4129
|
+
function gn(e, t, n, r, i, a) {
|
|
4089
4130
|
return b(), o(D(n.tag), { class: _(["w-flex", a.classes]) }, {
|
|
4090
4131
|
default: j(() => [T(e.$slots, "default")]),
|
|
4091
4132
|
_: 3
|
|
4092
4133
|
}, 8, ["class"]);
|
|
4093
4134
|
}
|
|
4094
|
-
var
|
|
4135
|
+
var _n = /* @__PURE__ */ q({
|
|
4095
4136
|
name: "w-flex",
|
|
4096
4137
|
props: {
|
|
4097
4138
|
tag: {
|
|
@@ -4142,10 +4183,10 @@ var mn = /* @__PURE__ */ q({
|
|
|
4142
4183
|
[`gap${this.gap}`]: ~~this.gap
|
|
4143
4184
|
};
|
|
4144
4185
|
} }
|
|
4145
|
-
}, [["render",
|
|
4186
|
+
}, [["render", gn]]);
|
|
4146
4187
|
//#endregion
|
|
4147
4188
|
//#region src/wave-ui/components/w-form.vue?vue&type=template&lang.js
|
|
4148
|
-
function
|
|
4189
|
+
function vn(e, t, n, r, i, a) {
|
|
4149
4190
|
return b(), c("form", {
|
|
4150
4191
|
class: _(["w-form", a.classes]),
|
|
4151
4192
|
onSubmit: t[0] ||= (...e) => a.onSubmit && a.onSubmit(...e),
|
|
@@ -4155,10 +4196,10 @@ function hn(e, t, n, r, i, a) {
|
|
|
4155
4196
|
}
|
|
4156
4197
|
//#endregion
|
|
4157
4198
|
//#region src/wave-ui/components/w-form.vue
|
|
4158
|
-
var
|
|
4199
|
+
var yn = async (e, t) => {
|
|
4159
4200
|
for (let n of e) if (await t(n)) return !0;
|
|
4160
4201
|
return !1;
|
|
4161
|
-
},
|
|
4202
|
+
}, bn = /* @__PURE__ */ q({
|
|
4162
4203
|
name: "w-form",
|
|
4163
4204
|
props: {
|
|
4164
4205
|
modelValue: {},
|
|
@@ -4233,7 +4274,7 @@ var gn = async (e, t) => {
|
|
|
4233
4274
|
},
|
|
4234
4275
|
async checkElementValidators(e) {
|
|
4235
4276
|
let t = !1, n = "";
|
|
4236
|
-
await
|
|
4277
|
+
await yn(e.validators, async (r) => {
|
|
4237
4278
|
let i = await (typeof r == "function" && r(e.inputValue));
|
|
4238
4279
|
return t = typeof i != "string", n = t ? "" : i, !t;
|
|
4239
4280
|
}), e.hasJustReset = !1, e.Validation.isValid = t, e.Validation.message = n;
|
|
@@ -4254,10 +4295,10 @@ var gn = async (e, t) => {
|
|
|
4254
4295
|
watch: { modelValue(e) {
|
|
4255
4296
|
(this.status === !1 && e || e === null && this.status !== null) && this.reset(), this.status = e;
|
|
4256
4297
|
} }
|
|
4257
|
-
}, [["render",
|
|
4298
|
+
}, [["render", vn]]);
|
|
4258
4299
|
//#endregion
|
|
4259
4300
|
//#region src/wave-ui/components/w-form-element.vue?vue&type=template&lang.js
|
|
4260
|
-
function
|
|
4301
|
+
function xn(e, t, n, r, i, a) {
|
|
4261
4302
|
let o = E("w-transition-expand");
|
|
4262
4303
|
return b(), c("div", { class: _(a.classes) }, [l("div", { class: _(["w-flex grow", [n.column ? "column" : "align-center", n.wrap ? "wrap" : ""]]) }, [T(e.$slots, "default")], 2), f(o, { y: "" }, {
|
|
4263
4304
|
default: j(() => [e.Validation.message ? (b(), c("div", {
|
|
@@ -4267,7 +4308,7 @@ function vn(e, t, n, r, i, a) {
|
|
|
4267
4308
|
_: 3
|
|
4268
4309
|
})], 2);
|
|
4269
4310
|
}
|
|
4270
|
-
var
|
|
4311
|
+
var Sn = /* @__PURE__ */ q({
|
|
4271
4312
|
name: "w-form-element",
|
|
4272
4313
|
props: {
|
|
4273
4314
|
valid: { required: !0 },
|
|
@@ -4335,16 +4376,16 @@ var yn = /* @__PURE__ */ q({
|
|
|
4335
4376
|
beforeUnmount() {
|
|
4336
4377
|
this.formUnregister && this.formUnregister(this);
|
|
4337
4378
|
}
|
|
4338
|
-
}, [["render",
|
|
4379
|
+
}, [["render", xn]]);
|
|
4339
4380
|
//#endregion
|
|
4340
4381
|
//#region src/wave-ui/components/w-grid.vue?vue&type=template&lang.js
|
|
4341
|
-
function
|
|
4382
|
+
function Cn(e, t, n, r, i, a) {
|
|
4342
4383
|
return b(), o(D(n.tag), { class: _(["w-grid", a.classes]) }, {
|
|
4343
4384
|
default: j(() => [T(e.$slots, "default")]),
|
|
4344
4385
|
_: 3
|
|
4345
4386
|
}, 8, ["class"]);
|
|
4346
4387
|
}
|
|
4347
|
-
var
|
|
4388
|
+
var wn = /* @__PURE__ */ q({
|
|
4348
4389
|
name: "w-grid",
|
|
4349
4390
|
props: {
|
|
4350
4391
|
tag: {
|
|
@@ -4416,27 +4457,35 @@ var xn = /* @__PURE__ */ q({
|
|
|
4416
4457
|
};
|
|
4417
4458
|
}
|
|
4418
4459
|
}
|
|
4419
|
-
}, [["render",
|
|
4460
|
+
}, [["render", Cn]]);
|
|
4420
4461
|
//#endregion
|
|
4421
4462
|
//#region src/wave-ui/components/w-icon.vue?vue&type=template&lang.js
|
|
4422
|
-
function
|
|
4463
|
+
function Tn(t, n, r, i, a, l) {
|
|
4423
4464
|
return b(), o(D(r.tag || "i"), {
|
|
4424
4465
|
class: _(["w-icon", l.classes]),
|
|
4425
|
-
role: "
|
|
4426
|
-
"aria-
|
|
4466
|
+
role: r.ariaLabel ? "img" : void 0,
|
|
4467
|
+
"aria-label": r.ariaLabel || void 0,
|
|
4468
|
+
"aria-hidden": r.ariaLabel ? void 0 : "true",
|
|
4427
4469
|
style: y(l.readIcon() && l.styles)
|
|
4428
4470
|
}, {
|
|
4429
4471
|
default: j(() => [l.hasLigature ? (b(), c(e, { key: 0 }, [d(O(t.icon), 1)], 64)) : s("", !0)]),
|
|
4430
4472
|
_: 1
|
|
4431
|
-
}, 8, [
|
|
4473
|
+
}, 8, [
|
|
4474
|
+
"class",
|
|
4475
|
+
"role",
|
|
4476
|
+
"aria-label",
|
|
4477
|
+
"aria-hidden",
|
|
4478
|
+
"style"
|
|
4479
|
+
]);
|
|
4432
4480
|
}
|
|
4433
|
-
var
|
|
4481
|
+
var En = /* @__PURE__ */ q({
|
|
4434
4482
|
name: "w-icon",
|
|
4435
4483
|
props: {
|
|
4436
4484
|
tag: {
|
|
4437
4485
|
type: String,
|
|
4438
4486
|
default: "i"
|
|
4439
4487
|
},
|
|
4488
|
+
ariaLabel: { type: String },
|
|
4440
4489
|
color: { type: String },
|
|
4441
4490
|
bgColor: { type: String },
|
|
4442
4491
|
xs: { type: Boolean },
|
|
@@ -4500,11 +4549,11 @@ var Cn = /* @__PURE__ */ q({
|
|
|
4500
4549
|
let { default: e } = this.$slots, [t = "", n = ""] = typeof e == "function" && e()?.[0]?.children?.trim()?.split(" ") || [];
|
|
4501
4550
|
return this.fontName = t, this.icon = n, !0;
|
|
4502
4551
|
} }
|
|
4503
|
-
}, [["render",
|
|
4552
|
+
}, [["render", Tn]]), Dn = {
|
|
4504
4553
|
key: 0,
|
|
4505
4554
|
class: "w-image__loader"
|
|
4506
|
-
},
|
|
4507
|
-
function
|
|
4555
|
+
}, On = ["innerHTML"];
|
|
4556
|
+
function kn(e, t, n, i, a, l) {
|
|
4508
4557
|
let u = E("w-progress");
|
|
4509
4558
|
return b(), o(D(l.wrapperTag), {
|
|
4510
4559
|
class: _(["w-image", l.wrapperClasses]),
|
|
@@ -4529,7 +4578,7 @@ function En(e, t, n, i, a, l) {
|
|
|
4529
4578
|
])) : s("", !0)]),
|
|
4530
4579
|
_: 1
|
|
4531
4580
|
}, 8, ["name"]),
|
|
4532
|
-
!n.noSpinner && a.loading ? (b(), c("span",
|
|
4581
|
+
!n.noSpinner && a.loading ? (b(), c("span", Dn, [e.$slots.loading ? T(e.$slots, "loading", { key: 0 }) : (b(), o(u, h({
|
|
4533
4582
|
key: 1,
|
|
4534
4583
|
circle: "",
|
|
4535
4584
|
indeterminate: ""
|
|
@@ -4548,12 +4597,12 @@ function En(e, t, n, i, a, l) {
|
|
|
4548
4597
|
key: 3,
|
|
4549
4598
|
class: _(["w-image__caption caption", n.captionClass]),
|
|
4550
4599
|
innerHTML: n.caption
|
|
4551
|
-
}, null, 10,
|
|
4600
|
+
}, null, 10, On)) : s("", !0)
|
|
4552
4601
|
]),
|
|
4553
4602
|
_: 3
|
|
4554
4603
|
}, 40, ["class", "style"]);
|
|
4555
4604
|
}
|
|
4556
|
-
var
|
|
4605
|
+
var An = /* @__PURE__ */ q({
|
|
4557
4606
|
name: "w-image",
|
|
4558
4607
|
props: {
|
|
4559
4608
|
tag: {
|
|
@@ -4666,7 +4715,7 @@ var Dn = /* @__PURE__ */ q({
|
|
|
4666
4715
|
watch: { src() {
|
|
4667
4716
|
this.loadImage();
|
|
4668
4717
|
} }
|
|
4669
|
-
}, [["render",
|
|
4718
|
+
}, [["render", kn]]), jn = ["name"], Mn = ["for"], Nn = [
|
|
4670
4719
|
"id",
|
|
4671
4720
|
"type",
|
|
4672
4721
|
"name",
|
|
@@ -4678,20 +4727,21 @@ var Dn = /* @__PURE__ */ q({
|
|
|
4678
4727
|
"maxlength",
|
|
4679
4728
|
"readonly",
|
|
4680
4729
|
"aria-readonly",
|
|
4730
|
+
"aria-invalid",
|
|
4681
4731
|
"disabled",
|
|
4682
4732
|
"required",
|
|
4683
4733
|
"tabindex"
|
|
4684
|
-
],
|
|
4734
|
+
], Pn = [
|
|
4685
4735
|
"id",
|
|
4686
4736
|
"name",
|
|
4687
4737
|
"multiple",
|
|
4688
4738
|
"disabled",
|
|
4689
4739
|
"data-progress"
|
|
4690
|
-
],
|
|
4740
|
+
], Fn = {
|
|
4691
4741
|
class: "w-input__no-file",
|
|
4692
4742
|
key: "no-file"
|
|
4693
|
-
},
|
|
4694
|
-
function
|
|
4743
|
+
}, In = ["for"], Ln = ["src"], Rn = ["for"];
|
|
4744
|
+
function zn(t, n, r, a, u, p) {
|
|
4695
4745
|
let m = E("w-icon"), g = E("w-progress");
|
|
4696
4746
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
4697
4747
|
validators: t.validators,
|
|
@@ -4715,12 +4765,12 @@ function In(t, n, r, a, u, p) {
|
|
|
4715
4765
|
type: "hidden",
|
|
4716
4766
|
name: t.name || null,
|
|
4717
4767
|
"onUpdate:modelValue": n[0] ||= (e) => u.inputValue = e
|
|
4718
|
-
}, null, 8,
|
|
4768
|
+
}, null, 8, jn)), [[A, u.inputValue]]) : (b(), c(e, { key: 1 }, [
|
|
4719
4769
|
r.labelPosition === "left" ? (b(), c(e, { key: 0 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
4720
4770
|
key: 0,
|
|
4721
4771
|
class: _(["w-input__label w-input__label--left w-form-el-shakable", t.labelClasses]),
|
|
4722
4772
|
for: t.inputId
|
|
4723
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
4773
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, Mn)) : s("", !0)], 64)) : s("", !0),
|
|
4724
4774
|
l("div", { class: _(["w-input__input-wrap", p.inputWrapClasses]) }, [
|
|
4725
4775
|
T(t.$slots, "icon-left", { inputId: t.inputId }, () => [r.innerIconLeft ? (b(), o(m, {
|
|
4726
4776
|
key: 0,
|
|
@@ -4744,13 +4794,13 @@ function In(t, n, r, a, u, p) {
|
|
|
4744
4794
|
}, p.attrs, {
|
|
4745
4795
|
disabled: t.isDisabled || null,
|
|
4746
4796
|
"data-progress": p.overallFilesProgress
|
|
4747
|
-
}), null, 16,
|
|
4797
|
+
}), null, 16, Pn), f(i, {
|
|
4748
4798
|
class: "w-input__input w-input__input--file",
|
|
4749
4799
|
tag: "label",
|
|
4750
4800
|
name: "fade",
|
|
4751
4801
|
for: t.inputId
|
|
4752
4802
|
}, {
|
|
4753
|
-
default: j(() => [!u.inputFiles.length && u.isFocused ? (b(), c("span",
|
|
4803
|
+
default: j(() => [!u.inputFiles.length && u.isFocused ? (b(), c("span", Fn, [T(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, w(u.inputFiles, (e, t) => (b(), c("span", { key: e.lastModified }, [
|
|
4754
4804
|
d(O(t ? ", " : ""), 1),
|
|
4755
4805
|
(b(), c("span", {
|
|
4756
4806
|
class: "filename",
|
|
@@ -4778,10 +4828,11 @@ function In(t, n, r, a, u, p) {
|
|
|
4778
4828
|
maxlength: r.maxlength || null,
|
|
4779
4829
|
readonly: t.isReadonly || null,
|
|
4780
4830
|
"aria-readonly": t.isReadonly ? "true" : "false",
|
|
4831
|
+
"aria-invalid": t.valid === !1 ? "true" : void 0,
|
|
4781
4832
|
disabled: t.isDisabled || null,
|
|
4782
4833
|
required: t.required || null,
|
|
4783
4834
|
tabindex: t.tabindex || null
|
|
4784
|
-
}, p.attrs, { class: r.inputClass }), null, 16,
|
|
4835
|
+
}, p.attrs, { class: r.inputClass }), null, 16, Nn)), [[oe, u.inputValue]]),
|
|
4785
4836
|
r.labelPosition === "inside" && p.showLabelInside ? (b(), c(e, { key: 2 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
4786
4837
|
key: 0,
|
|
4787
4838
|
class: _(["w-input__label w-input__label--inside w-form-el-shakable", t.labelClasses])
|
|
@@ -4816,15 +4867,15 @@ function In(t, n, r, a, u, p) {
|
|
|
4816
4867
|
key: `${n}b`,
|
|
4817
4868
|
src: t.preview,
|
|
4818
4869
|
alt: ""
|
|
4819
|
-
}, null, 8,
|
|
4870
|
+
}, null, 8, Ln)) : (b(), c("i", {
|
|
4820
4871
|
class: _(["w-icon w-input__file-preview primary size--md", r.preview && typeof r.preview == "string" ? r.preview : "wi-file"]),
|
|
4821
4872
|
key: `${n}c`
|
|
4822
|
-
}, null, 2))], 64))), 256))], 8,
|
|
4873
|
+
}, null, 2))], 64))), 256))], 8, In)) : s("", !0),
|
|
4823
4874
|
r.labelPosition === "right" ? (b(), c(e, { key: 2 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
4824
4875
|
key: 0,
|
|
4825
4876
|
class: _(["w-input__label w-input__label--right w-form-el-shakable", t.labelClasses]),
|
|
4826
4877
|
for: t.inputId
|
|
4827
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
4878
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, Rn)) : s("", !0)], 64)) : s("", !0)
|
|
4828
4879
|
], 64))]),
|
|
4829
4880
|
_: 3
|
|
4830
4881
|
}, 16, [
|
|
@@ -4834,7 +4885,7 @@ function In(t, n, r, a, u, p) {
|
|
|
4834
4885
|
"style"
|
|
4835
4886
|
]);
|
|
4836
4887
|
}
|
|
4837
|
-
var
|
|
4888
|
+
var Bn = /* @__PURE__ */ q({
|
|
4838
4889
|
name: "w-input",
|
|
4839
4890
|
expose: ["focus"],
|
|
4840
4891
|
mixins: [Q, $],
|
|
@@ -5035,10 +5086,10 @@ var Ln = /* @__PURE__ */ q({
|
|
|
5035
5086
|
watch: { modelValue(e) {
|
|
5036
5087
|
this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1, this.inputFiles = []);
|
|
5037
5088
|
} }
|
|
5038
|
-
}, [["render",
|
|
5089
|
+
}, [["render", zn]]);
|
|
5039
5090
|
//#endregion
|
|
5040
5091
|
//#region src/wave-ui/components/w-list.vue?vue&type=template&lang.js
|
|
5041
|
-
function
|
|
5092
|
+
function Vn(t, n, r, i, a, l) {
|
|
5042
5093
|
let f = E("w-icon"), p = E("w-list", !0);
|
|
5043
5094
|
return b(), c("ul", { class: _(["w-list", l.classes]) }, [(b(!0), c(e, null, w(t.listItems, (e, i) => (b(), c("li", {
|
|
5044
5095
|
class: _(["w-list__item", { "w-list__item--parent": (e.children || []).length }]),
|
|
@@ -5105,7 +5156,7 @@ function Rn(t, n, r, i, a, l) {
|
|
|
5105
5156
|
}]), 1040, ["items", "depth"])) : s("", !0)
|
|
5106
5157
|
], 2))), 128))], 2);
|
|
5107
5158
|
}
|
|
5108
|
-
var
|
|
5159
|
+
var Hn = /* @__PURE__ */ q({
|
|
5109
5160
|
name: "w-list",
|
|
5110
5161
|
focusable: !0,
|
|
5111
5162
|
expose: ["focus"],
|
|
@@ -5310,8 +5361,8 @@ var zn = /* @__PURE__ */ q({
|
|
|
5310
5361
|
}
|
|
5311
5362
|
}
|
|
5312
5363
|
}
|
|
5313
|
-
}, [["render",
|
|
5314
|
-
function
|
|
5364
|
+
}, [["render", Vn]]), Un = 4;
|
|
5365
|
+
function Wn(e) {
|
|
5315
5366
|
return {
|
|
5316
5367
|
top: "bottom",
|
|
5317
5368
|
bottom: "top",
|
|
@@ -5319,7 +5370,7 @@ function Vn(e) {
|
|
|
5319
5370
|
right: "left"
|
|
5320
5371
|
}[e] || "bottom";
|
|
5321
5372
|
}
|
|
5322
|
-
var
|
|
5373
|
+
var Gn = {
|
|
5323
5374
|
props: {
|
|
5324
5375
|
appendTo: { type: [
|
|
5325
5376
|
String,
|
|
@@ -5501,8 +5552,8 @@ var Hn = {
|
|
|
5501
5552
|
this.viewportPlacementOverride = null, this.detachableEl.style.display = "flex";
|
|
5502
5553
|
let e = window.getComputedStyle(this.detachableEl, null), t = this.detachableEl.offsetWidth, n = this.detachableEl.offsetHeight, r = this.position;
|
|
5503
5554
|
if (!this.noPosition) {
|
|
5504
|
-
let e =
|
|
5505
|
-
(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 =
|
|
5555
|
+
let e = Un, i = window.innerWidth, a = window.innerHeight, { top: o, left: s, width: c, height: l } = this.activatorEl.getBoundingClientRect();
|
|
5556
|
+
(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 = Wn(r), this.viewportPlacementOverride = r);
|
|
5506
5557
|
}
|
|
5507
5558
|
let i = this.getActivatorCoordinates(), { top: a, left: o } = this._applyDetachablePlacement(r, i, e);
|
|
5508
5559
|
this.detachableCoords = {
|
|
@@ -5558,10 +5609,10 @@ var Hn = {
|
|
|
5558
5609
|
};
|
|
5559
5610
|
//#endregion
|
|
5560
5611
|
//#region src/wave-ui/components/w-menu.vue?vue&type=template&lang.js
|
|
5561
|
-
function
|
|
5612
|
+
function Kn(t, i, a, l, d, p) {
|
|
5562
5613
|
let m = E("w-card"), g = E("w-overlay");
|
|
5563
5614
|
return b(), c(e, null, [
|
|
5564
|
-
T(t.$slots, "activator"),
|
|
5615
|
+
T(t.$slots, "activator", { isOpen: t.detachableVisible }),
|
|
5565
5616
|
t.$slots.activator ? s("", !0) : T(t.$slots, "default", { key: 0 }),
|
|
5566
5617
|
t.detachableDomReady ? (b(), o(n, {
|
|
5567
5618
|
key: 1,
|
|
@@ -5640,10 +5691,10 @@ function Un(t, i, a, l, d, p) {
|
|
|
5640
5691
|
])) : s("", !0)], 8, ["to", "disabled"])) : s("", !0)
|
|
5641
5692
|
], 64);
|
|
5642
5693
|
}
|
|
5643
|
-
var
|
|
5694
|
+
var qn = /* @__PURE__ */ q({
|
|
5644
5695
|
name: "w-menu",
|
|
5645
|
-
expose: ["focus"],
|
|
5646
|
-
mixins: [
|
|
5696
|
+
expose: ["focus", "computeDetachableCoords"],
|
|
5697
|
+
mixins: [Gn],
|
|
5647
5698
|
inheritAttrs: !1,
|
|
5648
5699
|
props: {
|
|
5649
5700
|
modelValue: {},
|
|
@@ -5791,10 +5842,10 @@ var Wn = /* @__PURE__ */ q({
|
|
|
5791
5842
|
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)));
|
|
5792
5843
|
}
|
|
5793
5844
|
}
|
|
5794
|
-
}, [["render",
|
|
5845
|
+
}, [["render", Kn]]);
|
|
5795
5846
|
//#endregion
|
|
5796
5847
|
//#region src/wave-ui/components/w-notification.vue?vue&type=template&lang.js
|
|
5797
|
-
function
|
|
5848
|
+
function Jn(e, t, n, i, a, l) {
|
|
5798
5849
|
let u = E("w-alert");
|
|
5799
5850
|
return b(), o(r, {
|
|
5800
5851
|
name: l.transitionName,
|
|
@@ -5816,7 +5867,7 @@ function Gn(e, t, n, i, a, l) {
|
|
|
5816
5867
|
_: 3
|
|
5817
5868
|
}, 8, ["name"]);
|
|
5818
5869
|
}
|
|
5819
|
-
var
|
|
5870
|
+
var Yn = /* @__PURE__ */ q({
|
|
5820
5871
|
name: "w-notification",
|
|
5821
5872
|
props: {
|
|
5822
5873
|
modelValue: { default: !0 },
|
|
@@ -5946,10 +5997,10 @@ var Kn = /* @__PURE__ */ q({
|
|
|
5946
5997
|
watch: { modelValue(e) {
|
|
5947
5998
|
clearTimeout(this.timeoutId), this.show = e, e && this.timeoutVal && this.countdown();
|
|
5948
5999
|
} }
|
|
5949
|
-
}, [["render",
|
|
6000
|
+
}, [["render", Jn]]);
|
|
5950
6001
|
//#endregion
|
|
5951
6002
|
//#region src/wave-ui/components/w-overlay.vue?vue&type=template&lang.js
|
|
5952
|
-
function
|
|
6003
|
+
function Xn(e, t, n, i, a, l) {
|
|
5953
6004
|
return b(), o(r, {
|
|
5954
6005
|
name: "fade",
|
|
5955
6006
|
appear: "",
|
|
@@ -5966,7 +6017,7 @@ function qn(e, t, n, i, a, l) {
|
|
|
5966
6017
|
_: 3
|
|
5967
6018
|
}, 8, ["onAfterLeave"]);
|
|
5968
6019
|
}
|
|
5969
|
-
var
|
|
6020
|
+
var Zn = /* @__PURE__ */ q({
|
|
5970
6021
|
name: "w-overlay",
|
|
5971
6022
|
expose: ["focus"],
|
|
5972
6023
|
props: {
|
|
@@ -6050,22 +6101,28 @@ var Jn = /* @__PURE__ */ q({
|
|
|
6050
6101
|
watch: { modelValue(e) {
|
|
6051
6102
|
e ? (this.showOverlay = !0, this.bindDocumentEscape()) : this.unbindDocumentEscape();
|
|
6052
6103
|
} }
|
|
6053
|
-
}, [["render",
|
|
6054
|
-
function
|
|
6055
|
-
return b(), c("div",
|
|
6104
|
+
}, [["render", Xn]]), Qn = { class: "w-parallax" };
|
|
6105
|
+
function $n(e, t, n, r, i, a) {
|
|
6106
|
+
return b(), c("div", Qn);
|
|
6056
6107
|
}
|
|
6057
|
-
var
|
|
6108
|
+
var er = /* @__PURE__ */ q({
|
|
6058
6109
|
name: "w-parallax",
|
|
6059
6110
|
props: {},
|
|
6060
6111
|
emits: [],
|
|
6061
6112
|
data: () => ({})
|
|
6062
|
-
}, [["render",
|
|
6113
|
+
}, [["render", $n]]), tr = [
|
|
6114
|
+
"aria-valuenow",
|
|
6115
|
+
"aria-valuemin",
|
|
6116
|
+
"aria-valuemax",
|
|
6117
|
+
"aria-valuetext",
|
|
6118
|
+
"aria-label"
|
|
6119
|
+
], nr = ["viewBox"], rr = [
|
|
6063
6120
|
"cx",
|
|
6064
6121
|
"cy",
|
|
6065
6122
|
"r",
|
|
6066
6123
|
"stroke-dasharray",
|
|
6067
6124
|
"stroke-width"
|
|
6068
|
-
],
|
|
6125
|
+
], ir = [
|
|
6069
6126
|
"cx",
|
|
6070
6127
|
"cy",
|
|
6071
6128
|
"r",
|
|
@@ -6073,9 +6130,15 @@ var Zn = /* @__PURE__ */ q({
|
|
|
6073
6130
|
"stroke-linecap",
|
|
6074
6131
|
"stroke-dasharray"
|
|
6075
6132
|
];
|
|
6076
|
-
function
|
|
6133
|
+
function ar(e, t, n, r, i, a) {
|
|
6077
6134
|
return b(), c("div", {
|
|
6078
6135
|
class: _(["w-progress", a.classes]),
|
|
6136
|
+
role: "progressbar",
|
|
6137
|
+
"aria-valuenow": a.progressValue > -1 ? a.progressValue : void 0,
|
|
6138
|
+
"aria-valuemin": a.progressValue > -1 ? 0 : void 0,
|
|
6139
|
+
"aria-valuemax": a.progressValue > -1 ? 100 : void 0,
|
|
6140
|
+
"aria-valuetext": a.progressValue === -1 ? "Loading" : void 0,
|
|
6141
|
+
"aria-label": n.ariaLabel || void 0,
|
|
6079
6142
|
style: y(a.styles)
|
|
6080
6143
|
}, [n.circle ? (b(), c("svg", {
|
|
6081
6144
|
key: 1,
|
|
@@ -6089,7 +6152,7 @@ function tr(e, t, n, r, i, a) {
|
|
|
6089
6152
|
fill: "transparent",
|
|
6090
6153
|
"stroke-dasharray": e.circleCircumference,
|
|
6091
6154
|
"stroke-width": n.stroke
|
|
6092
|
-
}, null, 10,
|
|
6155
|
+
}, null, 10, rr)) : s("", !0), l("circle", {
|
|
6093
6156
|
class: "w-progress__progress",
|
|
6094
6157
|
cx: a.circleCenter,
|
|
6095
6158
|
cy: a.circleCenter,
|
|
@@ -6099,18 +6162,18 @@ function tr(e, t, n, r, i, a) {
|
|
|
6099
6162
|
"stroke-linecap": n.roundCap && "round",
|
|
6100
6163
|
"stroke-dasharray": e.circleCircumference,
|
|
6101
6164
|
style: y(`stroke-dashoffset: ${(1 - a.progressValue / 100) * e.circleCircumference}`)
|
|
6102
|
-
}, null, 12,
|
|
6165
|
+
}, null, 12, ir)], 8, nr)) : (b(), c("div", {
|
|
6103
6166
|
key: 0,
|
|
6104
6167
|
class: _(["w-progress__progress", { full: a.progressValue === 100 }]),
|
|
6105
6168
|
style: y(`width: ${a.progressValue}%`)
|
|
6106
6169
|
}, null, 6)), n.label || e.$slots.default ? (b(), c("div", {
|
|
6107
6170
|
key: 2,
|
|
6108
6171
|
class: _(["w-progress__label", n.labelColor || !1])
|
|
6109
|
-
}, [T(e.$slots, "default", {}, () => [d(O(Math.round(a.progressValue)) + O(n.circle ? "" : "%"), 1)])], 2)) : s("", !0)],
|
|
6172
|
+
}, [T(e.$slots, "default", {}, () => [d(O(Math.round(a.progressValue)) + O(n.circle ? "" : "%"), 1)])], 2)) : s("", !0)], 14, tr);
|
|
6110
6173
|
}
|
|
6111
6174
|
//#endregion
|
|
6112
6175
|
//#region src/wave-ui/components/w-progress.vue
|
|
6113
|
-
var
|
|
6176
|
+
var or = 40, sr = or / 2, cr = Math.round(or * 3.14 * 100) / 100, lr = /* @__PURE__ */ q({
|
|
6114
6177
|
name: "w-progress",
|
|
6115
6178
|
props: {
|
|
6116
6179
|
modelValue: {
|
|
@@ -6121,6 +6184,7 @@ var nr = 40, rr = nr / 2, ir = Math.round(nr * 3.14 * 100) / 100, ar = /* @__PUR
|
|
|
6121
6184
|
],
|
|
6122
6185
|
default: -1
|
|
6123
6186
|
},
|
|
6187
|
+
ariaLabel: { type: String },
|
|
6124
6188
|
label: { type: Boolean },
|
|
6125
6189
|
roundCap: { type: Boolean },
|
|
6126
6190
|
color: {
|
|
@@ -6152,16 +6216,16 @@ var nr = 40, rr = nr / 2, ir = Math.round(nr * 3.14 * 100) / 100, ar = /* @__PUR
|
|
|
6152
6216
|
},
|
|
6153
6217
|
emits: [],
|
|
6154
6218
|
data: () => ({
|
|
6155
|
-
circleSize:
|
|
6156
|
-
circleRadius:
|
|
6157
|
-
circleCircumference:
|
|
6219
|
+
circleSize: or,
|
|
6220
|
+
circleRadius: sr,
|
|
6221
|
+
circleCircumference: cr
|
|
6158
6222
|
}),
|
|
6159
6223
|
computed: {
|
|
6160
6224
|
progressValue() {
|
|
6161
6225
|
return parseFloat(this.modelValue);
|
|
6162
6226
|
},
|
|
6163
6227
|
circleCenter() {
|
|
6164
|
-
return
|
|
6228
|
+
return or + this.stroke;
|
|
6165
6229
|
},
|
|
6166
6230
|
forcedSize() {
|
|
6167
6231
|
return this.size && (isNaN(this.size) ? this.size : `${this.size}px`);
|
|
@@ -6191,16 +6255,17 @@ var nr = 40, rr = nr / 2, ir = Math.round(nr * 3.14 * 100) / 100, ar = /* @__PUR
|
|
|
6191
6255
|
return { [this.circle ? "width" : "height"]: this.forcedSize || null };
|
|
6192
6256
|
}
|
|
6193
6257
|
}
|
|
6194
|
-
}, [["render",
|
|
6258
|
+
}, [["render", ar]]), ur = [
|
|
6195
6259
|
"id",
|
|
6196
6260
|
"name",
|
|
6197
6261
|
"checked",
|
|
6198
6262
|
"disabled",
|
|
6199
6263
|
"required",
|
|
6200
6264
|
"tabindex",
|
|
6201
|
-
"aria-checked"
|
|
6202
|
-
|
|
6203
|
-
|
|
6265
|
+
"aria-checked",
|
|
6266
|
+
"aria-invalid"
|
|
6267
|
+
], dr = ["for"], fr = ["for", "innerHTML"], pr = ["for"], mr = ["for", "innerHTML"];
|
|
6268
|
+
function hr(t, n, r, i, a, u) {
|
|
6204
6269
|
return b(), o(D(t.formRegister && !u.wRadios ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
6205
6270
|
validators: t.validators,
|
|
6206
6271
|
inputValue: t.inputValue,
|
|
@@ -6228,18 +6293,19 @@ function dr(t, n, r, i, a, u) {
|
|
|
6228
6293
|
onFocus: n[0] ||= (e) => t.$emit("focus", e),
|
|
6229
6294
|
onChange: n[1] ||= (e) => u.onInput(e),
|
|
6230
6295
|
"aria-checked": t.inputValue || "false",
|
|
6296
|
+
"aria-invalid": t.valid === !1 ? "true" : void 0,
|
|
6231
6297
|
role: "radio"
|
|
6232
|
-
}, null, 40,
|
|
6298
|
+
}, null, 40, ur),
|
|
6233
6299
|
u.hasLabel && r.labelOnLeft ? (b(), c(e, { key: 0 }, [t.$slots.default ? (b(), c("label", {
|
|
6234
6300
|
key: 0,
|
|
6235
6301
|
class: _(["w-radio__label w-form-el-shakable pr2", t.labelClasses]),
|
|
6236
6302
|
for: t.inputId
|
|
6237
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
6303
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, dr)) : r.label ? (b(), c("label", {
|
|
6238
6304
|
key: 1,
|
|
6239
6305
|
class: _(["w-radio__label w-form-el-shakable pr2", t.labelClasses]),
|
|
6240
6306
|
for: t.inputId,
|
|
6241
6307
|
innerHTML: r.label
|
|
6242
|
-
}, null, 10,
|
|
6308
|
+
}, null, 10, fr)) : s("", !0)], 64)) : s("", !0),
|
|
6243
6309
|
l("div", {
|
|
6244
6310
|
class: _(["w-radio__input", this.color]),
|
|
6245
6311
|
onClick: n[2] ||= (e) => {
|
|
@@ -6250,17 +6316,17 @@ function dr(t, n, r, i, a, u) {
|
|
|
6250
6316
|
key: 0,
|
|
6251
6317
|
class: _(["w-radio__label w-form-el-shakable pl2", t.labelClasses]),
|
|
6252
6318
|
for: t.inputId
|
|
6253
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
6319
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, pr)) : r.label ? (b(), c("label", {
|
|
6254
6320
|
key: 1,
|
|
6255
6321
|
class: _(["w-radio__label w-form-el-shakable pl2", t.labelClasses]),
|
|
6256
6322
|
for: t.inputId,
|
|
6257
6323
|
innerHTML: r.label
|
|
6258
|
-
}, null, 10,
|
|
6324
|
+
}, null, 10, mr)) : s("", !0)], 64)) : s("", !0)
|
|
6259
6325
|
]),
|
|
6260
6326
|
_: 3
|
|
6261
6327
|
}, 16, ["valid", "class"]);
|
|
6262
6328
|
}
|
|
6263
|
-
var
|
|
6329
|
+
var gr = /* @__PURE__ */ q({
|
|
6264
6330
|
name: "w-radio",
|
|
6265
6331
|
expose: ["focus"],
|
|
6266
6332
|
mixins: [Q, $],
|
|
@@ -6341,8 +6407,8 @@ var fr = /* @__PURE__ */ q({
|
|
|
6341
6407
|
watch: { modelValue() {
|
|
6342
6408
|
this.toggleFromOutside();
|
|
6343
6409
|
} }
|
|
6344
|
-
}, [["render",
|
|
6345
|
-
function
|
|
6410
|
+
}, [["render", hr]]), _r = ["innerHTML"];
|
|
6411
|
+
function vr(t, n, r, i, a, l) {
|
|
6346
6412
|
let u = E("w-radio");
|
|
6347
6413
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
6348
6414
|
validators: t.validators,
|
|
@@ -6386,7 +6452,7 @@ function mr(t, n, r, i, a, l) {
|
|
|
6386
6452
|
}) : e.label ? (b(), c("div", {
|
|
6387
6453
|
key: 1,
|
|
6388
6454
|
innerHTML: e.label
|
|
6389
|
-
}, null, 8,
|
|
6455
|
+
}, null, 8, _r)) : s("", !0)]),
|
|
6390
6456
|
_: 2
|
|
6391
6457
|
}, 1040, [
|
|
6392
6458
|
"model-value",
|
|
@@ -6404,7 +6470,7 @@ function mr(t, n, r, i, a, l) {
|
|
|
6404
6470
|
"class"
|
|
6405
6471
|
]);
|
|
6406
6472
|
}
|
|
6407
|
-
var
|
|
6473
|
+
var yr = /* @__PURE__ */ q({
|
|
6408
6474
|
name: "w-radios",
|
|
6409
6475
|
focusable: !0,
|
|
6410
6476
|
expose: ["focus"],
|
|
@@ -6491,17 +6557,19 @@ var hr = /* @__PURE__ */ q({
|
|
|
6491
6557
|
return this.items[e._index];
|
|
6492
6558
|
}
|
|
6493
6559
|
}
|
|
6494
|
-
}, [["render",
|
|
6560
|
+
}, [["render", vr]]), br = [
|
|
6495
6561
|
"id",
|
|
6496
6562
|
"name",
|
|
6497
6563
|
"value"
|
|
6498
|
-
],
|
|
6564
|
+
], xr = ["aria-label"], Sr = [
|
|
6499
6565
|
"disabled",
|
|
6500
6566
|
"onMouseenter",
|
|
6501
6567
|
"onClick",
|
|
6568
|
+
"aria-label",
|
|
6569
|
+
"aria-pressed",
|
|
6502
6570
|
"tabindex"
|
|
6503
6571
|
];
|
|
6504
|
-
function
|
|
6572
|
+
function Cr(t, n, r, i, a, u) {
|
|
6505
6573
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
6506
6574
|
validators: t.validators,
|
|
6507
6575
|
inputValue: a.rating,
|
|
@@ -6521,7 +6589,10 @@ function vr(t, n, r, i, a, u) {
|
|
|
6521
6589
|
name: t.inputName,
|
|
6522
6590
|
type: "hidden",
|
|
6523
6591
|
value: a.rating
|
|
6524
|
-
}, null, 8,
|
|
6592
|
+
}, null, 8, br), l("div", {
|
|
6593
|
+
role: "group",
|
|
6594
|
+
"aria-label": r.ariaLabel || "Rating"
|
|
6595
|
+
}, [(b(!0), c(e, null, w(r.max, (i) => (b(), c(e, { key: i }, [t.$slots.item ? T(t.$slots, "item", {
|
|
6525
6596
|
key: 0,
|
|
6526
6597
|
index: i + 1
|
|
6527
6598
|
}) : s("", !0), l("button", {
|
|
@@ -6533,19 +6604,20 @@ function vr(t, n, r, i, a, u) {
|
|
|
6533
6604
|
onFocus: n[1] ||= (...e) => u.onFocus && u.onFocus(...e),
|
|
6534
6605
|
onBlur: n[2] ||= (...e) => u.onBlur && u.onBlur(...e),
|
|
6535
6606
|
onKeydown: n[3] ||= (...e) => u.onKeydown && u.onKeydown(...e),
|
|
6607
|
+
"aria-label": `${i} of ${r.max}`,
|
|
6608
|
+
"aria-pressed": (a.rating >= i).toString(),
|
|
6536
6609
|
type: "button",
|
|
6537
6610
|
tabindex: i === 1 ? 0 : -1
|
|
6538
6611
|
}, [i - 1 === ~~a.rating && a.rating - ~~a.rating ? (b(), c("i", {
|
|
6539
6612
|
key: 0,
|
|
6540
6613
|
class: _(["w-icon", `${r.icon} ${r.color}`]),
|
|
6541
|
-
role: "icon",
|
|
6542
6614
|
"aria-hidden": "true",
|
|
6543
6615
|
style: y(u.halfStarStyle)
|
|
6544
|
-
}, null, 6)) : s("", !0)], 42,
|
|
6616
|
+
}, null, 6)) : s("", !0)], 42, Sr)], 64))), 128))], 8, xr)]),
|
|
6545
6617
|
_: 3
|
|
6546
6618
|
}, 16, ["valid", "class"]);
|
|
6547
6619
|
}
|
|
6548
|
-
var
|
|
6620
|
+
var wr = /* @__PURE__ */ q({
|
|
6549
6621
|
name: "w-rating",
|
|
6550
6622
|
focusable: !0,
|
|
6551
6623
|
expose: ["focus"],
|
|
@@ -6555,6 +6627,7 @@ var yr = /* @__PURE__ */ q({
|
|
|
6555
6627
|
},
|
|
6556
6628
|
props: {
|
|
6557
6629
|
modelValue: {},
|
|
6630
|
+
ariaLabel: { type: String },
|
|
6558
6631
|
max: {
|
|
6559
6632
|
type: [Number, String],
|
|
6560
6633
|
default: 5
|
|
@@ -6658,14 +6731,14 @@ var yr = /* @__PURE__ */ q({
|
|
|
6658
6731
|
watch: { value(e) {
|
|
6659
6732
|
this.rating = parseFloat(e);
|
|
6660
6733
|
} }
|
|
6661
|
-
}, [["render",
|
|
6734
|
+
}, [["render", Cr]]), Tr = ["tabindex", "aria-disabled"], Er = ["id"], Dr = [
|
|
6662
6735
|
"aria-controls",
|
|
6663
6736
|
"aria-orientation",
|
|
6664
6737
|
"aria-valuemax",
|
|
6665
6738
|
"aria-valuenow",
|
|
6666
6739
|
"aria-disabled",
|
|
6667
6740
|
"aria-label"
|
|
6668
|
-
],
|
|
6741
|
+
], Or = 120, kr = 450, Ar = /* @__PURE__ */ Object.assign({
|
|
6669
6742
|
name: "WScrollable",
|
|
6670
6743
|
focusable: !0
|
|
6671
6744
|
}, {
|
|
@@ -6824,7 +6897,7 @@ var yr = /* @__PURE__ */ q({
|
|
|
6824
6897
|
let t = we(e);
|
|
6825
6898
|
i("scroll", t), O.value || (O.value = !0, i("scroll-start", t)), A && window.clearTimeout(A), A = window.setTimeout(() => {
|
|
6826
6899
|
O.value = !1, i("scroll-end", we("native"));
|
|
6827
|
-
},
|
|
6900
|
+
}, Or);
|
|
6828
6901
|
}
|
|
6829
6902
|
function Te() {
|
|
6830
6903
|
v.value = !0;
|
|
@@ -6868,7 +6941,7 @@ var yr = /* @__PURE__ */ q({
|
|
|
6868
6941
|
function q() {
|
|
6869
6942
|
x.value = !0, j && window.clearTimeout(j), j = window.setTimeout(() => {
|
|
6870
6943
|
x.value = !1, j = null;
|
|
6871
|
-
},
|
|
6944
|
+
}, kr);
|
|
6872
6945
|
}
|
|
6873
6946
|
function Ae() {
|
|
6874
6947
|
let e = r.scrollPosition;
|
|
@@ -7075,7 +7148,7 @@ var yr = /* @__PURE__ */ q({
|
|
|
7075
7148
|
ref_key: "scrollableEl",
|
|
7076
7149
|
ref: f,
|
|
7077
7150
|
onScroll: Oe
|
|
7078
|
-
}, [T(e.$slots, "default")], 42,
|
|
7151
|
+
}, [T(e.$slots, "default")], 42, Er), M(l("div", {
|
|
7079
7152
|
class: _(["w-scrollable__scrollbar", fe.value]),
|
|
7080
7153
|
ref_key: "trackEl",
|
|
7081
7154
|
ref: p,
|
|
@@ -7096,17 +7169,17 @@ var yr = /* @__PURE__ */ q({
|
|
|
7096
7169
|
"aria-label": ve.value,
|
|
7097
7170
|
tabindex: "-1",
|
|
7098
7171
|
onPointerdown: P(Be, ["stop", "prevent"])
|
|
7099
|
-
}, null, 46,
|
|
7172
|
+
}, null, 46, Dr)], 34), [[se, z.value && R.value]])], 16, Tr));
|
|
7100
7173
|
}
|
|
7101
|
-
}),
|
|
7174
|
+
}), jr = [
|
|
7102
7175
|
"aria-expanded",
|
|
7103
7176
|
"aria-owns",
|
|
7104
7177
|
"aria-activedescendant"
|
|
7105
|
-
],
|
|
7178
|
+
], Mr = {
|
|
7106
7179
|
key: 0,
|
|
7107
7180
|
class: "w-select__selection-slot"
|
|
7108
|
-
},
|
|
7109
|
-
function
|
|
7181
|
+
}, Nr = ["innerHTML"], Pr = ["value", "name"];
|
|
7182
|
+
function Fr(t, n, r, i, a, p) {
|
|
7110
7183
|
let m = E("w-icon"), g = E("w-list"), v = E("w-menu");
|
|
7111
7184
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
7112
7185
|
validators: t.validators,
|
|
@@ -7190,7 +7263,7 @@ function Ar(t, n, r, i, a, p) {
|
|
|
7190
7263
|
"aria-haspopup": "listbox",
|
|
7191
7264
|
"aria-expanded": t.showMenu ? "true" : "false",
|
|
7192
7265
|
"aria-owns": i.selectListId,
|
|
7193
|
-
"aria-activedescendant":
|
|
7266
|
+
"aria-activedescendant": p.activeDescendantId
|
|
7194
7267
|
}, [
|
|
7195
7268
|
T(t.$slots, "icon-left", {}, () => [r.innerIconLeft ? (b(), o(m, {
|
|
7196
7269
|
key: 0,
|
|
@@ -7201,20 +7274,20 @@ function Ar(t, n, r, i, a, p) {
|
|
|
7201
7274
|
default: j(() => [d(O(r.innerIconLeft), 1)]),
|
|
7202
7275
|
_: 1
|
|
7203
7276
|
})) : s("", !0)]),
|
|
7204
|
-
t.$slots.selection ? (b(), c("div",
|
|
7277
|
+
t.$slots.selection ? (b(), c("div", Mr, [T(t.$slots, "selection", { item: r.multiple ? t.inputValue : t.inputValue[0] })])) : s("", !0),
|
|
7205
7278
|
l("div", h({
|
|
7206
7279
|
class: "w-select__selection",
|
|
7207
7280
|
ref: "selection-input",
|
|
7208
7281
|
onFocus: n[2] ||= (e) => !t.isDisabled && !t.isReadonly && p.onFocus(e),
|
|
7209
7282
|
onBlur: n[3] ||= (...e) => p.onBlur && p.onBlur(...e),
|
|
7210
7283
|
onKeydown: n[4] ||= (e) => !t.isDisabled && !t.isReadonly && p.onKeydown(e)
|
|
7211
|
-
}, p.selectionAttributes, { innerHTML: p.selectionHtml }), null, 16,
|
|
7284
|
+
}, p.selectionAttributes, { innerHTML: p.selectionHtml }), null, 16, Nr),
|
|
7212
7285
|
(b(!0), c(e, null, w(t.inputValue.length ? t.inputValue : [{}], (e, n) => (b(), c("input", {
|
|
7213
7286
|
key: n,
|
|
7214
7287
|
type: "hidden",
|
|
7215
7288
|
value: e.value === void 0 ? "" : e.value.toString(),
|
|
7216
7289
|
name: t.inputName + (r.multiple ? "[]" : "")
|
|
7217
|
-
}, null, 8,
|
|
7290
|
+
}, null, 8, Pr))), 128)),
|
|
7218
7291
|
r.labelPosition === "inside" && p.showLabelInside ? (b(), c(e, { key: 1 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
7219
7292
|
key: 0,
|
|
7220
7293
|
class: _(["w-select__label w-select__label--inside w-form-el-shakable", t.labelClasses])
|
|
@@ -7228,7 +7301,7 @@ function Ar(t, n, r, i, a, p) {
|
|
|
7228
7301
|
default: j(() => [d(O(r.innerIconRight), 1)]),
|
|
7229
7302
|
_: 1
|
|
7230
7303
|
})) : s("", !0)])
|
|
7231
|
-
], 10,
|
|
7304
|
+
], 10, jr)]),
|
|
7232
7305
|
_: 3
|
|
7233
7306
|
}, 16, [
|
|
7234
7307
|
"modelValue",
|
|
@@ -7250,7 +7323,7 @@ function Ar(t, n, r, i, a, p) {
|
|
|
7250
7323
|
"class"
|
|
7251
7324
|
]);
|
|
7252
7325
|
}
|
|
7253
|
-
var
|
|
7326
|
+
var Ir = /* @__PURE__ */ q({
|
|
7254
7327
|
name: "w-select",
|
|
7255
7328
|
expose: ["focus"],
|
|
7256
7329
|
mixins: [Q, $],
|
|
@@ -7362,7 +7435,7 @@ var jr = /* @__PURE__ */ q({
|
|
|
7362
7435
|
class: { "w-select__selection--placeholder": !this.$slots.selection && !this.selectionString && this.placeholder },
|
|
7363
7436
|
disabled: this.isDisabled || null,
|
|
7364
7437
|
readonly: !0,
|
|
7365
|
-
|
|
7438
|
+
"aria-readonly": "true",
|
|
7366
7439
|
tabindex: this.tabindex ?? null,
|
|
7367
7440
|
contenteditable: this.isDisabled || this.isReadonly ? "false" : "true"
|
|
7368
7441
|
};
|
|
@@ -7370,6 +7443,13 @@ var jr = /* @__PURE__ */ q({
|
|
|
7370
7443
|
selectionString() {
|
|
7371
7444
|
return this.inputValue.map((e) => e[this.itemValueKey] === void 0 ? e[this.itemLabelKey] ?? e : e[this.itemLabelKey]).join(", ");
|
|
7372
7445
|
},
|
|
7446
|
+
activeDescendantId() {
|
|
7447
|
+
if (!this.showMenu || !this.selectListId) return;
|
|
7448
|
+
let e = this.inputValue[0];
|
|
7449
|
+
if (!e) return `${this.selectListId}_item-1`;
|
|
7450
|
+
let t = this.selectItems.findIndex((t) => t.value === e[this.itemValueKey] || t.value === e._value);
|
|
7451
|
+
return `${this.selectListId}_item-${t >= 0 ? t + 1 : 1}`;
|
|
7452
|
+
},
|
|
7373
7453
|
selectionHtml() {
|
|
7374
7454
|
return this.inputValue.length ? this.$slots.selection ? "" : this.selectionString : this.placeholder || "";
|
|
7375
7455
|
},
|
|
@@ -7495,12 +7575,12 @@ var jr = /* @__PURE__ */ q({
|
|
|
7495
7575
|
this.inputValue = this.checkSelection(this.modelValue);
|
|
7496
7576
|
}
|
|
7497
7577
|
}
|
|
7498
|
-
}, [["render",
|
|
7578
|
+
}, [["render", Fr]]), Lr = ["for"], Rr = ["for", "innerHTML"], zr = { class: "w-slider__track-wrap" }, Br = [
|
|
7499
7579
|
"aria-valuemin",
|
|
7500
7580
|
"aria-valuemax",
|
|
7501
7581
|
"aria-valuenow",
|
|
7502
7582
|
"aria-readonly"
|
|
7503
|
-
],
|
|
7583
|
+
], Vr = [
|
|
7504
7584
|
"id",
|
|
7505
7585
|
"name",
|
|
7506
7586
|
"model-value",
|
|
@@ -7508,11 +7588,11 @@ var jr = /* @__PURE__ */ q({
|
|
|
7508
7588
|
"readonly",
|
|
7509
7589
|
"aria-readonly",
|
|
7510
7590
|
"tabindex"
|
|
7511
|
-
],
|
|
7591
|
+
], Hr = ["for"], Ur = { key: 0 }, Wr = {
|
|
7512
7592
|
key: 0,
|
|
7513
7593
|
class: "w-slider__step-labels"
|
|
7514
|
-
},
|
|
7515
|
-
function
|
|
7594
|
+
}, Gr = ["onClick"], Kr = ["for"], qr = ["for", "innerHTML"];
|
|
7595
|
+
function Jr(t, n, r, i, a, u) {
|
|
7516
7596
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
7517
7597
|
validators: t.validators,
|
|
7518
7598
|
inputValue: t.rangeValueScaled,
|
|
@@ -7533,13 +7613,13 @@ function Ur(t, n, r, i, a, u) {
|
|
|
7533
7613
|
key: 0,
|
|
7534
7614
|
class: _(["w-slider__label w-slider__label--left w-form-el-shakable", t.labelClasses]),
|
|
7535
7615
|
for: u.thumbId
|
|
7536
|
-
}, [T(t.$slots, "label-left")], 10,
|
|
7616
|
+
}, [T(t.$slots, "label-left")], 10, Lr)) : r.labelLeft ? (b(), c("label", {
|
|
7537
7617
|
key: 1,
|
|
7538
7618
|
class: _(["w-slider__label w-slider__label--left w-form-el-shakable", t.labelClasses]),
|
|
7539
7619
|
for: u.thumbId,
|
|
7540
7620
|
innerHTML: r.labelLeft
|
|
7541
|
-
}, null, 10,
|
|
7542
|
-
l("div",
|
|
7621
|
+
}, null, 10, Rr)) : s("", !0),
|
|
7622
|
+
l("div", zr, [l("div", {
|
|
7543
7623
|
class: _(["w-slider__track", u.trackClasses]),
|
|
7544
7624
|
ref: "track",
|
|
7545
7625
|
onMousedown: n[4] ||= (...e) => u.onTrackMouseDown && u.onTrackMouseDown(...e),
|
|
@@ -7570,14 +7650,14 @@ function Ur(t, n, r, i, a, u) {
|
|
|
7570
7650
|
onKeydown: [n[0] ||= N((e) => u.onKeyDown(e, -1), ["left"]), n[1] ||= N((e) => u.onKeyDown(e, 1), ["right"])],
|
|
7571
7651
|
onFocus: n[2] ||= (e) => t.$emit("focus", e),
|
|
7572
7652
|
onClick: n[3] ||= P(() => {}, ["prevent"])
|
|
7573
|
-
}, null, 42,
|
|
7653
|
+
}, null, 42, Vr), r.thumbLabel ? (b(), c("label", {
|
|
7574
7654
|
key: 0,
|
|
7575
7655
|
class: _(["w-slider__thumb-label", u.thumbClasses]),
|
|
7576
7656
|
for: u.thumbId
|
|
7577
|
-
}, [r.thumbLabel === "droplet" ? (b(), c("div",
|
|
7657
|
+
}, [r.thumbLabel === "droplet" ? (b(), c("div", Ur, [T(t.$slots, "label", { value: t.rangeValueScaled }, () => [d(O(~~t.rangeValueScaled), 1)])])) : T(t.$slots, "label", {
|
|
7578
7658
|
key: 1,
|
|
7579
7659
|
value: t.rangeValueScaled
|
|
7580
|
-
}, () => [d(O(~~t.rangeValueScaled), 1)])], 10,
|
|
7660
|
+
}, () => [d(O(~~t.rangeValueScaled), 1)])], 10, Hr)) : s("", !0)], 4)], 42, Br), r.stepLabels && r.step ? (b(), c("div", Wr, [
|
|
7581
7661
|
l("div", {
|
|
7582
7662
|
class: "w-slider__step-label",
|
|
7583
7663
|
onClick: n[6] ||= (e) => u.onStepLabelClick(0)
|
|
@@ -7587,7 +7667,7 @@ function Ur(t, n, r, i, a, u) {
|
|
|
7587
7667
|
key: e,
|
|
7588
7668
|
onClick: (t) => u.onStepLabelClick(e * (100 / u.numberOfSteps)),
|
|
7589
7669
|
style: y(`left: ${e * (100 / u.numberOfSteps)}%`)
|
|
7590
|
-
}, O(u.percentToScaled(e * (100 / u.numberOfSteps))), 13,
|
|
7670
|
+
}, O(u.percentToScaled(e * (100 / u.numberOfSteps))), 13, Gr))), 128)),
|
|
7591
7671
|
~~u.numberOfSteps === u.numberOfSteps ? s("", !0) : (b(), c("div", {
|
|
7592
7672
|
key: 0,
|
|
7593
7673
|
class: "w-slider__step-label",
|
|
@@ -7599,12 +7679,12 @@ function Ur(t, n, r, i, a, u) {
|
|
|
7599
7679
|
key: 2,
|
|
7600
7680
|
class: _(["w-slider__label w-slider__label--right w-form-el-shakable", t.labelClasses]),
|
|
7601
7681
|
for: u.thumbId
|
|
7602
|
-
}, [T(t.$slots, "label-right")], 10,
|
|
7682
|
+
}, [T(t.$slots, "label-right")], 10, Kr)) : r.labelRight ? (b(), c("label", {
|
|
7603
7683
|
key: 3,
|
|
7604
7684
|
class: _(["w-slider__label w-slider__label--right w-form-el-shakable", t.labelClasses]),
|
|
7605
7685
|
for: u.thumbId,
|
|
7606
7686
|
innerHTML: r.labelRight
|
|
7607
|
-
}, null, 10,
|
|
7687
|
+
}, null, 10, qr)) : s("", !0)
|
|
7608
7688
|
]),
|
|
7609
7689
|
_: 3
|
|
7610
7690
|
}, 16, [
|
|
@@ -7613,7 +7693,7 @@ function Ur(t, n, r, i, a, u) {
|
|
|
7613
7693
|
"class"
|
|
7614
7694
|
]);
|
|
7615
7695
|
}
|
|
7616
|
-
var
|
|
7696
|
+
var Yr = /* @__PURE__ */ q({
|
|
7617
7697
|
name: "w-slider",
|
|
7618
7698
|
expose: ["focus"],
|
|
7619
7699
|
focusTargetRef: "thumb",
|
|
@@ -7767,18 +7847,21 @@ var Wr = /* @__PURE__ */ q({
|
|
|
7767
7847
|
watch: { modelValue(e) {
|
|
7768
7848
|
this.rangeValueScaled !== e && (this.rangeValueScaled = e, this.rangeValuePercent = this.scaledToPercent(e));
|
|
7769
7849
|
} }
|
|
7770
|
-
}, [["render",
|
|
7771
|
-
function
|
|
7850
|
+
}, [["render", Jr]]), Xr = ["aria-label"], Zr = { key: 0 };
|
|
7851
|
+
function Qr(e, t, n, r, i, a) {
|
|
7772
7852
|
return n.modelValue || n.modelValue === void 0 ? (b(), c("div", {
|
|
7773
7853
|
key: 0,
|
|
7774
7854
|
class: _(["w-spinner", a.classes]),
|
|
7855
|
+
role: "status",
|
|
7856
|
+
"aria-label": n.ariaLabel || "Loading",
|
|
7775
7857
|
style: y(a.styles)
|
|
7776
|
-
}, [a.isThreeDots ? (b(), c("span",
|
|
7858
|
+
}, [a.isThreeDots ? (b(), c("span", Zr)) : s("", !0)], 14, Xr)) : s("", !0);
|
|
7777
7859
|
}
|
|
7778
|
-
var
|
|
7860
|
+
var $r = /* @__PURE__ */ q({
|
|
7779
7861
|
name: "w-spinner",
|
|
7780
7862
|
props: {
|
|
7781
7863
|
modelValue: {},
|
|
7864
|
+
ariaLabel: { type: String },
|
|
7782
7865
|
color: {
|
|
7783
7866
|
type: String,
|
|
7784
7867
|
default: "primary"
|
|
@@ -7816,13 +7899,13 @@ var qr = /* @__PURE__ */ q({
|
|
|
7816
7899
|
};
|
|
7817
7900
|
}
|
|
7818
7901
|
}
|
|
7819
|
-
}, [["render",
|
|
7902
|
+
}, [["render", Qr]]);
|
|
7820
7903
|
//#endregion
|
|
7821
7904
|
//#region src/wave-ui/components/w-steps.vue?vue&type=template&lang.js
|
|
7822
|
-
function
|
|
7905
|
+
function ei(e, t, n, r, i, a) {
|
|
7823
7906
|
return b(), c("div", { class: _(["w-steps", a.classes]) }, null, 2);
|
|
7824
7907
|
}
|
|
7825
|
-
var
|
|
7908
|
+
var ti = /* @__PURE__ */ q({
|
|
7826
7909
|
name: "w-steps",
|
|
7827
7910
|
props: {
|
|
7828
7911
|
dark: { type: Boolean },
|
|
@@ -7836,7 +7919,7 @@ var Yr = /* @__PURE__ */ q({
|
|
|
7836
7919
|
"w-steps--light": this.light
|
|
7837
7920
|
};
|
|
7838
7921
|
} }
|
|
7839
|
-
}, [["render",
|
|
7922
|
+
}, [["render", ei]]), ni = [
|
|
7840
7923
|
"id",
|
|
7841
7924
|
"name",
|
|
7842
7925
|
"checked",
|
|
@@ -7846,11 +7929,11 @@ var Yr = /* @__PURE__ */ q({
|
|
|
7846
7929
|
"required",
|
|
7847
7930
|
"tabindex",
|
|
7848
7931
|
"aria-checked"
|
|
7849
|
-
],
|
|
7932
|
+
], ri = ["for"], ii = {
|
|
7850
7933
|
key: 0,
|
|
7851
7934
|
class: "w-switch__track"
|
|
7852
|
-
},
|
|
7853
|
-
function
|
|
7935
|
+
}, ai = { class: "w-switch__thumb" }, oi = { class: "w-switch__thumb-content" }, si = ["for"];
|
|
7936
|
+
function ci(t, n, r, i, a, u) {
|
|
7854
7937
|
let f = E("w-progress");
|
|
7855
7938
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
7856
7939
|
validators: t.validators,
|
|
@@ -7887,18 +7970,18 @@ function ni(t, n, r, i, a, u) {
|
|
|
7887
7970
|
onBlur: n[2] ||= (e) => t.$emit("blur", e),
|
|
7888
7971
|
"aria-checked": a.isOn || "false",
|
|
7889
7972
|
role: "switch"
|
|
7890
|
-
}), null, 16,
|
|
7973
|
+
}), null, 16, ni),
|
|
7891
7974
|
u.hasLabel && r.labelOnLeft ? (b(), c(e, { key: 0 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
7892
7975
|
key: 0,
|
|
7893
7976
|
class: _(["w-switch__label w-switch__label--left w-form-el-shakable", t.labelClasses]),
|
|
7894
7977
|
for: t.inputId
|
|
7895
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
7978
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, ri)) : s("", !0)], 64)) : s("", !0),
|
|
7896
7979
|
l("div", {
|
|
7897
7980
|
class: _(["w-switch__input", u.inputClasses]),
|
|
7898
7981
|
onClick: n[3] ||= (e) => {
|
|
7899
7982
|
t.$refs.input.focus(), t.$refs.input.click();
|
|
7900
7983
|
}
|
|
7901
|
-
}, [t.$slots.track ? (b(), c("div",
|
|
7984
|
+
}, [t.$slots.track ? (b(), c("div", ii, [T(t.$slots, "track")])) : s("", !0), l("div", ai, [l("div", oi, [r.loading ? (b(), o(f, h({
|
|
7902
7985
|
key: 0,
|
|
7903
7986
|
circle: "",
|
|
7904
7987
|
color: "inherit"
|
|
@@ -7907,7 +7990,7 @@ function ni(t, n, r, i, a, u) {
|
|
|
7907
7990
|
key: 0,
|
|
7908
7991
|
class: _(["w-switch__label w-switch__label--right w-form-el-shakable", t.labelClasses]),
|
|
7909
7992
|
for: t.inputId
|
|
7910
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
7993
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, si)) : s("", !0)], 64)) : s("", !0)
|
|
7911
7994
|
]),
|
|
7912
7995
|
_: 3
|
|
7913
7996
|
}, 16, [
|
|
@@ -7916,7 +7999,7 @@ function ni(t, n, r, i, a, u) {
|
|
|
7916
7999
|
"style"
|
|
7917
8000
|
]);
|
|
7918
8001
|
}
|
|
7919
|
-
var
|
|
8002
|
+
var li = /* @__PURE__ */ q({
|
|
7920
8003
|
name: "w-switch",
|
|
7921
8004
|
expose: ["focus"],
|
|
7922
8005
|
mixins: [Q, $],
|
|
@@ -8012,28 +8095,28 @@ var ri = /* @__PURE__ */ q({
|
|
|
8012
8095
|
watch: { modelValue(e) {
|
|
8013
8096
|
this.isOn = e;
|
|
8014
8097
|
} }
|
|
8015
|
-
}, [["render",
|
|
8016
|
-
function
|
|
8017
|
-
return b(), c("div",
|
|
8098
|
+
}, [["render", ci]]), ui = { class: "w-tabs__content" };
|
|
8099
|
+
function di(e, t, n, r, i, a) {
|
|
8100
|
+
return b(), c("div", ui, [T(e.$slots, "default", { item: n.item })]);
|
|
8018
8101
|
}
|
|
8019
|
-
var
|
|
8102
|
+
var fi = /* @__PURE__ */ q({
|
|
8020
8103
|
name: "tab-content",
|
|
8021
8104
|
props: { item: Object }
|
|
8022
|
-
}, [["render",
|
|
8105
|
+
}, [["render", di]]), pi = [
|
|
8023
8106
|
"onPointerdown",
|
|
8024
8107
|
"onClick",
|
|
8025
8108
|
"onFocus",
|
|
8026
8109
|
"tabindex",
|
|
8027
8110
|
"onKeypress",
|
|
8028
8111
|
"aria-selected"
|
|
8029
|
-
],
|
|
8112
|
+
], mi = ["innerHTML"], hi = {
|
|
8030
8113
|
key: 0,
|
|
8031
8114
|
class: "w-tabs__bar-extra"
|
|
8032
|
-
},
|
|
8115
|
+
}, gi = {
|
|
8033
8116
|
key: 0,
|
|
8034
8117
|
class: "w-tabs__content-wrap"
|
|
8035
|
-
},
|
|
8036
|
-
function
|
|
8118
|
+
}, _i = ["innerHTML"], vi = ["innerHTML"];
|
|
8119
|
+
function yi(n, a, u, d, f, p) {
|
|
8037
8120
|
let m = E("tab-content");
|
|
8038
8121
|
return b(), c("div", { class: _(["w-tabs", p.tabsClasses]) }, [l("div", {
|
|
8039
8122
|
class: _(["w-tabs__bar", p.tabsBarClasses]),
|
|
@@ -8059,14 +8142,14 @@ function pi(n, a, u, d, f, p) {
|
|
|
8059
8142
|
item: p.getOriginalItem(e),
|
|
8060
8143
|
index: t + 1,
|
|
8061
8144
|
active: e._uid === n.activeTabUid
|
|
8062
|
-
}, () => [l("div", { innerHTML: e[u.itemTitleKey] }, null, 8,
|
|
8063
|
-
n.$slots["tabs-bar-extra"] ? (b(), c("div",
|
|
8145
|
+
}, () => [l("div", { innerHTML: e[u.itemTitleKey] }, null, 8, mi)])], 42, pi))), 128)),
|
|
8146
|
+
n.$slots["tabs-bar-extra"] ? (b(), c("div", hi, [T(n.$slots, "tabs-bar-extra")])) : s("", !0),
|
|
8064
8147
|
!u.noSlider && !u.card ? (b(), c("div", {
|
|
8065
8148
|
key: 1,
|
|
8066
8149
|
class: _(["w-tabs__slider", u.sliderColor]),
|
|
8067
8150
|
style: y(p.sliderStyles)
|
|
8068
8151
|
}, null, 6)) : s("", !0)
|
|
8069
|
-
], 2), n.tabs.length ? (b(), c("div",
|
|
8152
|
+
], 2), n.tabs.length ? (b(), c("div", gi, [u.keepInDom ? (b(), o(i, {
|
|
8070
8153
|
key: 0,
|
|
8071
8154
|
name: p.transitionName
|
|
8072
8155
|
}, {
|
|
@@ -8088,7 +8171,7 @@ function pi(n, a, u, d, f, p) {
|
|
|
8088
8171
|
}, () => [e[u.itemContentKey] ? (b(), c("div", {
|
|
8089
8172
|
key: 0,
|
|
8090
8173
|
innerHTML: e[u.itemContentKey]
|
|
8091
|
-
}, null, 8,
|
|
8174
|
+
}, null, 8, _i)) : s("", !0)])]),
|
|
8092
8175
|
_: 2
|
|
8093
8176
|
}, 1032, ["item", "class"])), [[se, e._uid === p.activeTab._uid]])), 128))]),
|
|
8094
8177
|
_: 3
|
|
@@ -8115,13 +8198,13 @@ function pi(n, a, u, d, f, p) {
|
|
|
8115
8198
|
}, () => [t[u.itemContentKey] ? (b(), c("div", {
|
|
8116
8199
|
key: 0,
|
|
8117
8200
|
innerHTML: t[u.itemContentKey]
|
|
8118
|
-
}, null, 8,
|
|
8201
|
+
}, null, 8, vi)) : s("", !0)])], 64)) : s("", !0)]),
|
|
8119
8202
|
_: 3
|
|
8120
8203
|
}, 8, ["item", "class"]))], 1032, ["exclude"]))]),
|
|
8121
8204
|
_: 3
|
|
8122
8205
|
}, 8, ["name", "mode"]))])) : s("", !0)], 2);
|
|
8123
8206
|
}
|
|
8124
|
-
var
|
|
8207
|
+
var bi = /* @__PURE__ */ q({
|
|
8125
8208
|
name: "w-tabs",
|
|
8126
8209
|
focusable: !0,
|
|
8127
8210
|
expose: ["focus"],
|
|
@@ -8189,7 +8272,7 @@ var mi = /* @__PURE__ */ q({
|
|
|
8189
8272
|
default: !1
|
|
8190
8273
|
}
|
|
8191
8274
|
},
|
|
8192
|
-
components: { TabContent:
|
|
8275
|
+
components: { TabContent: fi },
|
|
8193
8276
|
emits: [
|
|
8194
8277
|
"input",
|
|
8195
8278
|
"update:modelValue",
|
|
@@ -8374,45 +8457,45 @@ var mi = /* @__PURE__ */ q({
|
|
|
8374
8457
|
e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
|
|
8375
8458
|
}
|
|
8376
8459
|
}
|
|
8377
|
-
}, [["render",
|
|
8460
|
+
}, [["render", yi]]), xi = { class: "w-table__scroll-wrap" }, Si = { ref: "colgroup" }, Ci = ["width"], wi = { key: 0 }, Ti = ["onClick", "onPointerdown"], Ei = ["innerHTML"], Di = {
|
|
8378
8461
|
key: 0,
|
|
8379
8462
|
class: "w-table__progress-bar"
|
|
8380
|
-
},
|
|
8463
|
+
}, Oi = ["colspan"], ki = {
|
|
8381
8464
|
key: 0,
|
|
8382
8465
|
class: "w-table__progress-bar"
|
|
8383
|
-
},
|
|
8466
|
+
}, Ai = ["colspan"], ji = { class: "w-table__loading-text" }, Mi = {
|
|
8384
8467
|
key: 1,
|
|
8385
8468
|
class: "no-data"
|
|
8386
|
-
},
|
|
8469
|
+
}, Ni = ["colspan"], Pi = ["onClick"], Fi = ["data-label"], Ii = ["data-label"], Li = ["innerHTML"], Ri = {
|
|
8387
8470
|
key: 2,
|
|
8388
8471
|
class: "w-table__row w-table__row--expansion"
|
|
8389
|
-
},
|
|
8472
|
+
}, zi = ["colspan"], Bi = { key: 0 }, Vi = {
|
|
8390
8473
|
key: 3,
|
|
8391
8474
|
class: "w-table__extra-row"
|
|
8392
|
-
},
|
|
8475
|
+
}, Hi = {
|
|
8393
8476
|
key: 1,
|
|
8394
8477
|
class: "w-table__footer"
|
|
8395
|
-
},
|
|
8478
|
+
}, Ui = {
|
|
8396
8479
|
key: 1,
|
|
8397
8480
|
class: "w-table__row"
|
|
8398
|
-
},
|
|
8481
|
+
}, Wi = ["colspan"], Gi = {
|
|
8399
8482
|
key: 0,
|
|
8400
8483
|
class: "w-table__pagination w-pagination"
|
|
8401
|
-
},
|
|
8402
|
-
function
|
|
8484
|
+
}, Ki = { class: "pages-wrap" }, qi = { class: "w-pagination__results" };
|
|
8485
|
+
function Ji(t, n, r, i, a, u) {
|
|
8403
8486
|
let p = E("w-icon"), m = E("w-progress"), h = E("w-transition-fade"), g = E("w-transition-expand"), v = E("w-select"), y = E("w-button");
|
|
8404
|
-
return b(), c("div", { class: _(["w-table w-table--wrap", u.classes]) }, [l("div",
|
|
8487
|
+
return b(), c("div", { class: _(["w-table w-table--wrap", u.classes]) }, [l("div", xi, [l("table", {
|
|
8405
8488
|
class: "w-table__table",
|
|
8406
8489
|
onMousedown: n[2] ||= (...e) => u.onMouseDown && u.onMouseDown(...e),
|
|
8407
8490
|
onMouseover: n[3] ||= (...e) => u.onMouseOver && u.onMouseOver(...e),
|
|
8408
8491
|
onMouseout: n[4] ||= (...e) => u.onMouseOut && u.onMouseOut(...e)
|
|
8409
8492
|
}, [
|
|
8410
|
-
l("colgroup",
|
|
8493
|
+
l("colgroup", Si, [(b(!0), c(e, null, w(r.headers, (e, t) => (b(), c("col", {
|
|
8411
8494
|
class: _(["w-table__col", u.colClasses[t]]),
|
|
8412
8495
|
key: t,
|
|
8413
8496
|
width: e.width || null
|
|
8414
|
-
}, null, 10,
|
|
8415
|
-
r.noHeaders ? s("", !0) : (b(), c("thead",
|
|
8497
|
+
}, null, 10, Ci))), 128))], 512),
|
|
8498
|
+
r.noHeaders ? s("", !0) : (b(), c("thead", wi, [l("tr", null, [(b(!0), c(e, null, w(r.headers, (i, a) => (b(), c("th", {
|
|
8416
8499
|
class: _(["w-table__header", u.headerClasses(i)]),
|
|
8417
8500
|
key: a,
|
|
8418
8501
|
onClick: (e) => !t.colResizing.dragging && i.sortable !== !1 && u.sortTable(i),
|
|
@@ -8433,7 +8516,7 @@ function Hi(t, n, r, i, a, u) {
|
|
|
8433
8516
|
}, () => [d(O(i.label || ""), 1)]) : (b(), c("span", {
|
|
8434
8517
|
key: 1,
|
|
8435
8518
|
innerHTML: i.label || ""
|
|
8436
|
-
}, null, 8,
|
|
8519
|
+
}, null, 8, Ei))], 64)) : s("", !0),
|
|
8437
8520
|
i.sortable !== !1 && i.align !== "right" ? (b(), o(p, {
|
|
8438
8521
|
key: 2,
|
|
8439
8522
|
class: _(["w-table__header-sort", u.headerSortClasses(i)])
|
|
@@ -8449,15 +8532,15 @@ function Hi(t, n, r, i, a, u) {
|
|
|
8449
8532
|
}]),
|
|
8450
8533
|
onClick: n[0] ||= P(() => {}, ["stop"])
|
|
8451
8534
|
}, null, 2)) : s("", !0)
|
|
8452
|
-
], 42,
|
|
8453
|
-
default: j(() => [r.loading === "header" ? (b(), c("tr",
|
|
8535
|
+
], 42, Ti))), 128))]), f(h, null, {
|
|
8536
|
+
default: j(() => [r.loading === "header" ? (b(), c("tr", Di, [l("td", { colspan: r.headers.length }, [f(m, { tile: "" })], 8, Oi)])) : s("", !0)]),
|
|
8454
8537
|
_: 1
|
|
8455
8538
|
})])),
|
|
8456
8539
|
l("tbody", null, [
|
|
8457
|
-
r.loading === !0 ? (b(), c("tr",
|
|
8540
|
+
r.loading === !0 ? (b(), c("tr", ki, [l("td", { colspan: r.headers.length }, [f(m, { tile: "" }), l("div", ji, [T(t.$slots, "loading", {}, () => [n[11] ||= d("Loading...", -1)])])], 8, Ai)])) : u.tableItems.length ? s("", !0) : (b(), c("tr", Mi, [l("td", {
|
|
8458
8541
|
class: "w-table__cell text-center",
|
|
8459
8542
|
colspan: r.headers.length
|
|
8460
|
-
}, [T(t.$slots, "no-data", {}, () => [n[12] ||= d("No data to show.", -1)])], 8,
|
|
8543
|
+
}, [T(t.$slots, "no-data", {}, () => [n[12] ||= d("No data to show.", -1)])], 8, Ni)])),
|
|
8461
8544
|
u.tableItems.length && r.loading !== !0 ? (b(!0), c(e, { key: 2 }, w(u.paginatedItems, (i, a) => (b(), c(e, { key: a }, [t.$slots.item ? T(t.$slots, "item", {
|
|
8462
8545
|
key: 0,
|
|
8463
8546
|
item: i,
|
|
@@ -8505,21 +8588,21 @@ function Hi(t, n, r, i, a, u) {
|
|
|
8505
8588
|
"w-table__col-resizer--hover": t.colResizing.hover === o,
|
|
8506
8589
|
"w-table__col-resizer--active": t.colResizing.columnIndex === o
|
|
8507
8590
|
}])
|
|
8508
|
-
}, null, 2)) : s("", !0)], 10,
|
|
8591
|
+
}, null, 2)) : s("", !0)], 10, Fi)) : (b(), c("td", {
|
|
8509
8592
|
class: _(["w-table__cell", u.cellClasses(n)]),
|
|
8510
8593
|
key: `${o}-b`,
|
|
8511
8594
|
"data-label": n.label
|
|
8512
|
-
}, [l("div", { innerHTML: i[n.key] || "" }, null, 8,
|
|
8595
|
+
}, [l("div", { innerHTML: i[n.key] || "" }, null, 8, Li), o < r.headers.length - 1 && r.resizableColumns ? (b(), c("span", {
|
|
8513
8596
|
key: 0,
|
|
8514
8597
|
class: _(["w-table__col-resizer", {
|
|
8515
8598
|
"w-table__col-resizer--hover": t.colResizing.hover === o,
|
|
8516
8599
|
"w-table__col-resizer--active": t.colResizing.columnIndex === o
|
|
8517
8600
|
}])
|
|
8518
|
-
}, null, 2)) : s("", !0)], 10,
|
|
8601
|
+
}, null, 2)) : s("", !0)], 10, Ii))], 64))), 256))], 42, Pi)), u.expandedRowsByUid[i._uid] ? (b(), c("tr", Ri, [l("td", {
|
|
8519
8602
|
class: "w-table__cell",
|
|
8520
8603
|
colspan: r.headers.length
|
|
8521
8604
|
}, [f(g, { y: "" }, {
|
|
8522
|
-
default: j(() => [u.expandedRowsByUid[i._uid] ? (b(), c("div",
|
|
8605
|
+
default: j(() => [u.expandedRowsByUid[i._uid] ? (b(), c("div", Bi, [T(t.$slots, "row-expansion", {
|
|
8523
8606
|
item: i,
|
|
8524
8607
|
index: a + 1
|
|
8525
8608
|
})])) : s("", !0), a < r.headers.length - 1 && r.resizableColumns ? (b(), c("span", {
|
|
@@ -8530,14 +8613,14 @@ function Hi(t, n, r, i, a, u) {
|
|
|
8530
8613
|
}])
|
|
8531
8614
|
}, null, 2)) : s("", !0)]),
|
|
8532
8615
|
_: 2
|
|
8533
|
-
}, 1024)], 8,
|
|
8534
|
-
t.$slots["extra-row"] ? (b(), c("div",
|
|
8616
|
+
}, 1024)], 8, zi)])) : s("", !0)], 64))), 128)) : s("", !0),
|
|
8617
|
+
t.$slots["extra-row"] ? (b(), c("div", Vi, [T(t.$slots, "extra-row")])) : s("", !0)
|
|
8535
8618
|
]),
|
|
8536
|
-
t.$slots.footer || t.$slots["footer-row"] ? (b(), c("tfoot",
|
|
8619
|
+
t.$slots.footer || t.$slots["footer-row"] ? (b(), c("tfoot", Hi, [t.$slots["footer-row"] ? T(t.$slots, "footer-row", { key: 0 }) : t.$slots.footer ? (b(), c("tr", Ui, [l("td", {
|
|
8537
8620
|
class: "w-table__cell",
|
|
8538
8621
|
colspan: r.headers.length
|
|
8539
|
-
}, [T(t.$slots, "footer")], 8,
|
|
8540
|
-
], 32)]), r.pagination && t.paginationConfig ? (b(), c("div",
|
|
8622
|
+
}, [T(t.$slots, "footer")], 8, Wi)])) : s("", !0)])) : s("", !0)
|
|
8623
|
+
], 32)]), r.pagination && t.paginationConfig ? (b(), c("div", Gi, [T(t.$slots, "pagination", {
|
|
8541
8624
|
range: `${t.paginationConfig.start}-${t.paginationConfig.end}`,
|
|
8542
8625
|
total: t.paginationConfig.total,
|
|
8543
8626
|
pagesCount: t.paginationConfig.pagesCount,
|
|
@@ -8555,7 +8638,7 @@ function Hi(t, n, r, i, a, u) {
|
|
|
8555
8638
|
label: "Items per page",
|
|
8556
8639
|
"label-color": "inherit"
|
|
8557
8640
|
}, null, 8, ["modelValue", "items"])) : s("", !0),
|
|
8558
|
-
l("div",
|
|
8641
|
+
l("div", Ki, [
|
|
8559
8642
|
f(y, {
|
|
8560
8643
|
class: "w-pagination__arrow w-pagination__arrow--prev",
|
|
8561
8644
|
onClick: n[7] ||= (e) => u.goToPage("-1"),
|
|
@@ -8613,12 +8696,12 @@ function Hi(t, n, r, i, a, u) {
|
|
|
8613
8696
|
lg: ""
|
|
8614
8697
|
}, null, 8, ["disabled"])
|
|
8615
8698
|
]),
|
|
8616
|
-
l("span",
|
|
8699
|
+
l("span", qi, O(t.paginationConfig.start) + "-" + O(t.paginationConfig.end || t.paginationConfig.total) + " of " + O(t.paginationConfig.total), 1)
|
|
8617
8700
|
])])) : s("", !0)], 2);
|
|
8618
8701
|
}
|
|
8619
8702
|
//#endregion
|
|
8620
8703
|
//#region src/wave-ui/components/w-table.vue
|
|
8621
|
-
var
|
|
8704
|
+
var Yi = 15, Xi = /* @__PURE__ */ q({
|
|
8622
8705
|
name: "w-table",
|
|
8623
8706
|
mixins: [X],
|
|
8624
8707
|
props: {
|
|
@@ -8839,9 +8922,9 @@ var Ui = 15, Wi = /* @__PURE__ */ q({
|
|
|
8839
8922
|
this.colResizing.dragging = !0;
|
|
8840
8923
|
let o = e.pageX - t, s = i + a, c = i + o, l = a - o;
|
|
8841
8924
|
n.style.width = `${i + o}px`, r.style.width = `${a - o}px`;
|
|
8842
|
-
let u = o < 0 && n.offsetWidth > c || n.offsetWidth <=
|
|
8925
|
+
let u = o < 0 && n.offsetWidth > c || n.offsetWidth <= Yi, d = o > 0 && r.offsetWidth > l;
|
|
8843
8926
|
if (u) {
|
|
8844
|
-
let e = Math.max(n.offsetWidth,
|
|
8927
|
+
let e = Math.max(n.offsetWidth, Yi);
|
|
8845
8928
|
n.style.width = `${e}px`, r.style.width = `${s - e}px`;
|
|
8846
8929
|
} else d && (n.style.width = `${s - r.offsetWidth}px`, r.style.width = `${r.offsetWidth}px`);
|
|
8847
8930
|
},
|
|
@@ -8928,12 +9011,12 @@ var Ui = 15, Wi = /* @__PURE__ */ q({
|
|
|
8928
9011
|
this.updatePaginationConfig({ total: e });
|
|
8929
9012
|
}
|
|
8930
9013
|
}
|
|
8931
|
-
}, [["render",
|
|
9014
|
+
}, [["render", Ji]]), Zi = [
|
|
8932
9015
|
"role",
|
|
8933
9016
|
"aria-pressed",
|
|
8934
9017
|
"tabindex"
|
|
8935
9018
|
];
|
|
8936
|
-
function
|
|
9019
|
+
function Qi(e, t, n, r, i, a) {
|
|
8937
9020
|
return b(), c("span", {
|
|
8938
9021
|
class: _(["w-tag", a.classes]),
|
|
8939
9022
|
onClick: t[1] ||= (t) => {
|
|
@@ -8947,17 +9030,17 @@ function Ki(e, t, n, r, i, a) {
|
|
|
8947
9030
|
"aria-pressed": n.modelValue !== -1 && (n.modelValue ? "true" : "false"),
|
|
8948
9031
|
tabindex: n.modelValue !== -1 && 0,
|
|
8949
9032
|
style: y(a.styles)
|
|
8950
|
-
}, [T(e.$slots, "default"), n.closable && n.modelValue ? (b(), c("
|
|
9033
|
+
}, [T(e.$slots, "default"), n.closable && n.modelValue ? (b(), c("button", {
|
|
8951
9034
|
key: 0,
|
|
8952
9035
|
class: "w-icon w-tag__closable wi-cross",
|
|
8953
9036
|
onClick: t[0] ||= P((t) => {
|
|
8954
9037
|
e.$emit("update:modelValue", !1), e.$emit("input", !1);
|
|
8955
9038
|
}, ["stop"]),
|
|
8956
|
-
|
|
8957
|
-
"aria-
|
|
8958
|
-
})) : s("", !0)], 46,
|
|
9039
|
+
type: "button",
|
|
9040
|
+
"aria-label": "Remove"
|
|
9041
|
+
})) : s("", !0)], 46, Zi);
|
|
8959
9042
|
}
|
|
8960
|
-
var
|
|
9043
|
+
var $i = /* @__PURE__ */ q({
|
|
8961
9044
|
name: "w-tag",
|
|
8962
9045
|
focusable: !0,
|
|
8963
9046
|
expose: ["focus"],
|
|
@@ -9019,7 +9102,7 @@ var qi = /* @__PURE__ */ q({
|
|
|
9019
9102
|
methods: { onTagPointerDown(e) {
|
|
9020
9103
|
this.modelValue !== -1 && (e.target.closest?.(".w-tag__closable") || this.onRipple(e));
|
|
9021
9104
|
} }
|
|
9022
|
-
}, [["render",
|
|
9105
|
+
}, [["render", Qi]]), ea = ["for"], ta = [
|
|
9023
9106
|
"id",
|
|
9024
9107
|
"name",
|
|
9025
9108
|
"placeholder",
|
|
@@ -9027,11 +9110,12 @@ var qi = /* @__PURE__ */ q({
|
|
|
9027
9110
|
"cols",
|
|
9028
9111
|
"readonly",
|
|
9029
9112
|
"aria-readonly",
|
|
9113
|
+
"aria-invalid",
|
|
9030
9114
|
"disabled",
|
|
9031
9115
|
"required",
|
|
9032
9116
|
"tabindex"
|
|
9033
|
-
],
|
|
9034
|
-
function
|
|
9117
|
+
], na = ["for"];
|
|
9118
|
+
function ra(t, n, r, i, a, u) {
|
|
9035
9119
|
let f = E("w-icon");
|
|
9036
9120
|
return b(), o(D(t.formRegister ? "w-form-element" : "div"), h({ ref: "formEl" }, t.formRegister && {
|
|
9037
9121
|
validators: t.validators,
|
|
@@ -9055,7 +9139,7 @@ function Zi(t, n, r, i, a, u) {
|
|
|
9055
9139
|
key: 0,
|
|
9056
9140
|
class: _(["w-textarea__label w-textarea__label--left w-form-el-shakable", t.labelClasses]),
|
|
9057
9141
|
for: t.inputId
|
|
9058
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
9142
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, ea)) : s("", !0)], 64)) : s("", !0),
|
|
9059
9143
|
l("div", { class: _(["w-textarea__textarea-wrap", u.inputWrapClasses]) }, [
|
|
9060
9144
|
T(t.$slots, "icon-left", { inputId: t.inputId }, () => [r.innerIconLeft ? (b(), o(f, {
|
|
9061
9145
|
key: 0,
|
|
@@ -9082,10 +9166,11 @@ function Zi(t, n, r, i, a, u) {
|
|
|
9082
9166
|
cols: r.cols || null,
|
|
9083
9167
|
readonly: t.isReadonly || null,
|
|
9084
9168
|
"aria-readonly": t.isReadonly ? "true" : "false",
|
|
9169
|
+
"aria-invalid": t.valid === !1 ? "true" : void 0,
|
|
9085
9170
|
disabled: t.isDisabled || null,
|
|
9086
9171
|
required: t.required || null,
|
|
9087
9172
|
tabindex: t.tabindex || null
|
|
9088
|
-
}), null, 16,
|
|
9173
|
+
}), null, 16, ta), [[A, a.inputValue]]),
|
|
9089
9174
|
r.labelPosition === "inside" && u.showLabelInside ? (b(), c(e, { key: 0 }, [t.$slots.default || r.label ? (b(), c("label", {
|
|
9090
9175
|
key: 0,
|
|
9091
9176
|
class: _(["w-textarea__label w-textarea__label--inside w-form-el-shakable", t.labelClasses])
|
|
@@ -9105,7 +9190,7 @@ function Zi(t, n, r, i, a, u) {
|
|
|
9105
9190
|
key: 0,
|
|
9106
9191
|
class: _(["w-textarea__label w-textarea__label--right w-form-el-shakable", t.labelClasses]),
|
|
9107
9192
|
for: t.inputId
|
|
9108
|
-
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10,
|
|
9193
|
+
}, [T(t.$slots, "default", {}, () => [d(O(r.label), 1)])], 10, na)) : s("", !0)], 64)) : s("", !0)
|
|
9109
9194
|
]),
|
|
9110
9195
|
_: 3
|
|
9111
9196
|
}, 16, [
|
|
@@ -9115,7 +9200,7 @@ function Zi(t, n, r, i, a, u) {
|
|
|
9115
9200
|
"style"
|
|
9116
9201
|
]);
|
|
9117
9202
|
}
|
|
9118
|
-
var
|
|
9203
|
+
var ia = /* @__PURE__ */ q({
|
|
9119
9204
|
name: "w-textarea",
|
|
9120
9205
|
expose: ["focus"],
|
|
9121
9206
|
focusTargetRef: "textarea",
|
|
@@ -9255,8 +9340,8 @@ var Qi = /* @__PURE__ */ q({
|
|
|
9255
9340
|
e ? this.getLineHeight() : this.height = null;
|
|
9256
9341
|
}
|
|
9257
9342
|
}
|
|
9258
|
-
}, [["render",
|
|
9259
|
-
function
|
|
9343
|
+
}, [["render", ra]]), aa = ["innerHTML"], oa = ["innerHTML"];
|
|
9344
|
+
function sa(t, n, r, i, a, s) {
|
|
9260
9345
|
return b(), c("ul", { class: _(["w-timeline", s.classes]) }, [(b(!0), c(e, null, w(r.items, (e, n) => (b(), c("li", {
|
|
9261
9346
|
class: "w-timeline-item",
|
|
9262
9347
|
key: n
|
|
@@ -9274,12 +9359,12 @@ function ta(t, n, r, i, a, s) {
|
|
|
9274
9359
|
}, () => [l("div", {
|
|
9275
9360
|
class: _(["w-timeline-item__title", { [e[r.itemColorKey] || r.color]: e[r.itemColorKey] || r.color }]),
|
|
9276
9361
|
innerHTML: e[r.itemTitleKey]
|
|
9277
|
-
}, null, 10,
|
|
9362
|
+
}, null, 10, aa), l("div", {
|
|
9278
9363
|
class: "w-timeline-item__content",
|
|
9279
9364
|
innerHTML: e[r.itemContentKey]
|
|
9280
|
-
}, null, 8,
|
|
9365
|
+
}, null, 8, oa)])]))), 128))], 2);
|
|
9281
9366
|
}
|
|
9282
|
-
var
|
|
9367
|
+
var ca = /* @__PURE__ */ q({
|
|
9283
9368
|
name: "w-timeline",
|
|
9284
9369
|
props: {
|
|
9285
9370
|
items: {
|
|
@@ -9314,18 +9399,19 @@ var na = /* @__PURE__ */ q({
|
|
|
9314
9399
|
"w-timeline--light": this.light
|
|
9315
9400
|
};
|
|
9316
9401
|
} }
|
|
9317
|
-
}, [["render",
|
|
9318
|
-
|
|
9319
|
-
//#region src/wave-ui/components/w-toolbar.vue?vue&type=template&lang.js
|
|
9320
|
-
function ra(e, t, n, r, i, a) {
|
|
9402
|
+
}, [["render", sa]]), la = ["aria-label"];
|
|
9403
|
+
function ua(e, t, n, r, i, a) {
|
|
9321
9404
|
return b(), c("div", {
|
|
9322
9405
|
class: _(["w-toolbar", a.classes]),
|
|
9406
|
+
role: "toolbar",
|
|
9407
|
+
"aria-label": n.ariaLabel || void 0,
|
|
9323
9408
|
style: y(a.styles)
|
|
9324
|
-
}, [T(e.$slots, "default")],
|
|
9409
|
+
}, [T(e.$slots, "default")], 14, la);
|
|
9325
9410
|
}
|
|
9326
|
-
var
|
|
9411
|
+
var da = /* @__PURE__ */ q({
|
|
9327
9412
|
name: "w-toolbar",
|
|
9328
9413
|
props: {
|
|
9414
|
+
ariaLabel: { type: String },
|
|
9329
9415
|
color: { type: String },
|
|
9330
9416
|
bgColor: { type: String },
|
|
9331
9417
|
absolute: { type: Boolean },
|
|
@@ -9378,12 +9464,10 @@ var ia = /* @__PURE__ */ q({
|
|
|
9378
9464
|
};
|
|
9379
9465
|
}
|
|
9380
9466
|
}
|
|
9381
|
-
}, [["render",
|
|
9382
|
-
|
|
9383
|
-
//#region src/wave-ui/components/w-tooltip.vue?vue&type=template&lang.js
|
|
9384
|
-
function aa(t, i, a, l, u, p) {
|
|
9467
|
+
}, [["render", ua]]), fa = ["id"];
|
|
9468
|
+
function pa(t, i, a, l, u, p) {
|
|
9385
9469
|
return b(), c(e, null, [
|
|
9386
|
-
T(t.$slots, "activator"),
|
|
9470
|
+
T(t.$slots, "activator", { tooltipId: l.tooltipInstanceId }),
|
|
9387
9471
|
t.$slots.activator ? s("", !0) : T(t.$slots, "default", { key: 0 }),
|
|
9388
9472
|
t.detachableDomReady ? (b(), o(n, {
|
|
9389
9473
|
key: 1,
|
|
@@ -9398,9 +9482,11 @@ function aa(t, i, a, l, u, p) {
|
|
|
9398
9482
|
default: j(() => [t.detachableVisible ? (b(), c("div", {
|
|
9399
9483
|
class: _(["w-tooltip", p.classes]),
|
|
9400
9484
|
ref: "detachable",
|
|
9485
|
+
id: l.tooltipInstanceId,
|
|
9486
|
+
role: "tooltip",
|
|
9401
9487
|
key: l.tooltipInstanceId,
|
|
9402
9488
|
style: y(p.styles)
|
|
9403
|
-
}, [a.tooltip ? (b(), c(e, { key: 0 }, [d(O(a.tooltip), 1)], 64)) : t.$slots.tooltip ? T(t.$slots, "tooltip", { key: 1 }) : t.$slots.activator ? T(t.$slots, "default", { key: 2 }) : s("", !0)],
|
|
9489
|
+
}, [a.tooltip ? (b(), c(e, { key: 0 }, [d(O(a.tooltip), 1)], 64)) : t.$slots.tooltip ? T(t.$slots, "tooltip", { key: 1 }) : t.$slots.activator ? T(t.$slots, "default", { key: 2 }) : s("", !0)], 14, fa)) : s("", !0)]),
|
|
9404
9490
|
_: 3
|
|
9405
9491
|
}, 8, [
|
|
9406
9492
|
"name",
|
|
@@ -9409,9 +9495,9 @@ function aa(t, i, a, l, u, p) {
|
|
|
9409
9495
|
])], 8, ["to", "disabled"])) : s("", !0)
|
|
9410
9496
|
], 64);
|
|
9411
9497
|
}
|
|
9412
|
-
var
|
|
9498
|
+
var ma = /* @__PURE__ */ q({
|
|
9413
9499
|
name: "w-tooltip",
|
|
9414
|
-
mixins: [
|
|
9500
|
+
mixins: [Gn],
|
|
9415
9501
|
setup() {
|
|
9416
9502
|
return { tooltipInstanceId: ae() };
|
|
9417
9503
|
},
|
|
@@ -9526,26 +9612,26 @@ var oa = /* @__PURE__ */ q({
|
|
|
9526
9612
|
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)));
|
|
9527
9613
|
}
|
|
9528
9614
|
}
|
|
9529
|
-
}, [["render",
|
|
9615
|
+
}, [["render", pa]]);
|
|
9530
9616
|
//#endregion
|
|
9531
9617
|
//#region src/wave-ui/components/transitions/w-transition-bounce.vue?vue&type=template&lang.js
|
|
9532
|
-
function
|
|
9618
|
+
function ha(e, t, n, i, a, s) {
|
|
9533
9619
|
return b(), o(r, h({ name: "bounce" }, e.$props), {
|
|
9534
9620
|
default: j(() => [T(e.$slots, "default")]),
|
|
9535
9621
|
_: 3
|
|
9536
9622
|
}, 16);
|
|
9537
9623
|
}
|
|
9538
|
-
var
|
|
9624
|
+
var ga = /* @__PURE__ */ q({
|
|
9539
9625
|
name: "w-transition-bounce",
|
|
9540
9626
|
props: {
|
|
9541
9627
|
appear: { type: Boolean },
|
|
9542
9628
|
duration: { type: [Number, String] },
|
|
9543
9629
|
mode: { type: String }
|
|
9544
9630
|
}
|
|
9545
|
-
}, [["render",
|
|
9631
|
+
}, [["render", ha]]);
|
|
9546
9632
|
//#endregion
|
|
9547
9633
|
//#region src/wave-ui/components/transitions/w-transition-expand.vue?vue&type=template&lang.js
|
|
9548
|
-
function
|
|
9634
|
+
function _a(e, t, n, i, a, s) {
|
|
9549
9635
|
return b(), o(r, {
|
|
9550
9636
|
name: "expand",
|
|
9551
9637
|
mode: n.mode,
|
|
@@ -9575,7 +9661,7 @@ function la(e, t, n, i, a, s) {
|
|
|
9575
9661
|
"onAfterLeave"
|
|
9576
9662
|
]);
|
|
9577
9663
|
}
|
|
9578
|
-
var
|
|
9664
|
+
var va = /* @__PURE__ */ q({
|
|
9579
9665
|
name: "w-transition-expand",
|
|
9580
9666
|
props: {
|
|
9581
9667
|
x: { type: Boolean },
|
|
@@ -9672,64 +9758,64 @@ var ua = /* @__PURE__ */ q({
|
|
|
9672
9758
|
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;
|
|
9673
9759
|
}
|
|
9674
9760
|
}
|
|
9675
|
-
}, [["render",
|
|
9761
|
+
}, [["render", _a]]);
|
|
9676
9762
|
//#endregion
|
|
9677
9763
|
//#region src/wave-ui/components/transitions/w-transition-fade.vue?vue&type=template&lang.js
|
|
9678
|
-
function
|
|
9764
|
+
function ya(e, t, n, i, a, s) {
|
|
9679
9765
|
return b(), o(r, h({ name: "fade" }, e.$props), {
|
|
9680
9766
|
default: j(() => [T(e.$slots, "default")]),
|
|
9681
9767
|
_: 3
|
|
9682
9768
|
}, 16);
|
|
9683
9769
|
}
|
|
9684
|
-
var
|
|
9770
|
+
var ba = /* @__PURE__ */ q({
|
|
9685
9771
|
name: "w-transition-fade",
|
|
9686
9772
|
props: {
|
|
9687
9773
|
appear: { type: Boolean },
|
|
9688
9774
|
duration: { type: [Number, String] },
|
|
9689
9775
|
mode: { type: String }
|
|
9690
9776
|
}
|
|
9691
|
-
}, [["render",
|
|
9777
|
+
}, [["render", ya]]);
|
|
9692
9778
|
//#endregion
|
|
9693
9779
|
//#region src/wave-ui/components/transitions/w-transition-scale.vue?vue&type=template&lang.js
|
|
9694
|
-
function
|
|
9780
|
+
function xa(e, t, n, i, a, s) {
|
|
9695
9781
|
return b(), o(r, h({ name: "scale" }, e.$props), {
|
|
9696
9782
|
default: j(() => [T(e.$slots, "default")]),
|
|
9697
9783
|
_: 3
|
|
9698
9784
|
}, 16);
|
|
9699
9785
|
}
|
|
9700
|
-
var
|
|
9786
|
+
var Sa = /* @__PURE__ */ q({
|
|
9701
9787
|
name: "w-transition-scale",
|
|
9702
9788
|
props: {
|
|
9703
9789
|
appear: { type: Boolean },
|
|
9704
9790
|
duration: { type: [Number, String] },
|
|
9705
9791
|
mode: { type: String }
|
|
9706
9792
|
}
|
|
9707
|
-
}, [["render",
|
|
9793
|
+
}, [["render", xa]]);
|
|
9708
9794
|
//#endregion
|
|
9709
9795
|
//#region src/wave-ui/components/transitions/w-transition-scale-fade.vue?vue&type=template&lang.js
|
|
9710
|
-
function
|
|
9796
|
+
function Ca(e, t, n, i, a, s) {
|
|
9711
9797
|
return b(), o(r, h({ name: "scale-fade" }, e.$props), {
|
|
9712
9798
|
default: j(() => [T(e.$slots, "default")]),
|
|
9713
9799
|
_: 3
|
|
9714
9800
|
}, 16);
|
|
9715
9801
|
}
|
|
9716
|
-
var
|
|
9802
|
+
var wa = /* @__PURE__ */ q({
|
|
9717
9803
|
name: "w-transition-scale-fade",
|
|
9718
9804
|
props: {
|
|
9719
9805
|
appear: { type: Boolean },
|
|
9720
9806
|
duration: { type: [Number, String] },
|
|
9721
9807
|
mode: { type: String }
|
|
9722
9808
|
}
|
|
9723
|
-
}, [["render",
|
|
9809
|
+
}, [["render", Ca]]);
|
|
9724
9810
|
//#endregion
|
|
9725
9811
|
//#region src/wave-ui/components/transitions/w-transition-slide.vue?vue&type=template&lang.js
|
|
9726
|
-
function
|
|
9812
|
+
function Ta(e, t, n, i, a, s) {
|
|
9727
9813
|
return b(), o(r, h({ name: s.transitionName }, e.$props), {
|
|
9728
9814
|
default: j(() => [T(e.$slots, "default")]),
|
|
9729
9815
|
_: 3
|
|
9730
9816
|
}, 16, ["name"]);
|
|
9731
9817
|
}
|
|
9732
|
-
var
|
|
9818
|
+
var Ea = /* @__PURE__ */ q({
|
|
9733
9819
|
name: "w-transition-slide",
|
|
9734
9820
|
props: {
|
|
9735
9821
|
appear: { type: Boolean },
|
|
@@ -9748,16 +9834,16 @@ var va = /* @__PURE__ */ q({
|
|
|
9748
9834
|
return `slide-${this.direction}`;
|
|
9749
9835
|
}
|
|
9750
9836
|
}
|
|
9751
|
-
}, [["render",
|
|
9837
|
+
}, [["render", Ta]]);
|
|
9752
9838
|
//#endregion
|
|
9753
9839
|
//#region src/wave-ui/components/transitions/w-transition-slide-fade.vue?vue&type=template&lang.js
|
|
9754
|
-
function
|
|
9840
|
+
function Da(e, t, n, i, a, s) {
|
|
9755
9841
|
return b(), o(r, h({ name: s.transitionName }, e.$props), {
|
|
9756
9842
|
default: j(() => [T(e.$slots, "default")]),
|
|
9757
9843
|
_: 3
|
|
9758
9844
|
}, 16, ["name"]);
|
|
9759
9845
|
}
|
|
9760
|
-
var
|
|
9846
|
+
var Oa = /* @__PURE__ */ q({
|
|
9761
9847
|
name: "w-transition-slide-fade",
|
|
9762
9848
|
props: {
|
|
9763
9849
|
appear: { type: Boolean },
|
|
@@ -9776,27 +9862,27 @@ var ba = /* @__PURE__ */ q({
|
|
|
9776
9862
|
return `slide-fade-${this.direction}`;
|
|
9777
9863
|
}
|
|
9778
9864
|
}
|
|
9779
|
-
}, [["render",
|
|
9865
|
+
}, [["render", Da]]);
|
|
9780
9866
|
//#endregion
|
|
9781
9867
|
//#region src/wave-ui/components/transitions/w-transition-twist.vue?vue&type=template&lang.js
|
|
9782
|
-
function
|
|
9868
|
+
function ka(e, t, n, i, a, s) {
|
|
9783
9869
|
return b(), o(r, h({ name: "twist" }, e.$props), {
|
|
9784
9870
|
default: j(() => [T(e.$slots, "default")]),
|
|
9785
9871
|
_: 3
|
|
9786
9872
|
}, 16);
|
|
9787
9873
|
}
|
|
9788
|
-
var
|
|
9874
|
+
var Aa = /* @__PURE__ */ q({
|
|
9789
9875
|
name: "w-transition-twist",
|
|
9790
9876
|
props: {
|
|
9791
9877
|
appear: { type: Boolean },
|
|
9792
9878
|
duration: { type: [Number, String] },
|
|
9793
9879
|
mode: { type: String }
|
|
9794
9880
|
}
|
|
9795
|
-
}, [["render",
|
|
9881
|
+
}, [["render", ka]]), ja = ["innerHTML"], Ma = {
|
|
9796
9882
|
key: 1,
|
|
9797
9883
|
class: "ml1"
|
|
9798
9884
|
};
|
|
9799
|
-
function
|
|
9885
|
+
function Na(t, n, r, i, a, u) {
|
|
9800
9886
|
let f = E("w-button"), p = E("w-icon"), m = E("w-tree", !0);
|
|
9801
9887
|
return b(), c("ul", { class: _(["w-tree", u.classes]) }, [(b(!0), c(e, null, w(t.currentDepthItems, (e, i) => (b(), c("li", {
|
|
9802
9888
|
class: _(["w-tree__item", u.itemClasses(e)]),
|
|
@@ -9838,8 +9924,8 @@ function Ta(t, n, r, i, a, u) {
|
|
|
9838
9924
|
default: j(() => [d(O(u.itemIcon(e)), 1)]),
|
|
9839
9925
|
_: 2
|
|
9840
9926
|
}, 1032, ["color"])) : s("", !0),
|
|
9841
|
-
l("span", { innerHTML: e.label }, null, 8,
|
|
9842
|
-
r.counts && (e.children || e.branch) ? (b(), c("span",
|
|
9927
|
+
l("span", { innerHTML: e.label }, null, 8, ja),
|
|
9928
|
+
r.counts && (e.children || e.branch) ? (b(), c("span", Ma, "(" + O(e.originalItem.children?.length || 0) + ")", 1)) : s("", !0)
|
|
9843
9929
|
])]),
|
|
9844
9930
|
_: 2
|
|
9845
9931
|
}, 1040, [
|
|
@@ -9887,7 +9973,7 @@ function Ta(t, n, r, i, a, u) {
|
|
|
9887
9973
|
"onAfterLeave"
|
|
9888
9974
|
]))], 2))), 128))], 2);
|
|
9889
9975
|
}
|
|
9890
|
-
var
|
|
9976
|
+
var Pa = /* @__PURE__ */ q({
|
|
9891
9977
|
name: "w-tree",
|
|
9892
9978
|
focusable: !0,
|
|
9893
9979
|
expose: ["focus"],
|
|
@@ -10087,65 +10173,65 @@ var Ea = /* @__PURE__ */ q({
|
|
|
10087
10173
|
unmounted() {
|
|
10088
10174
|
this.dataPropUnwatch();
|
|
10089
10175
|
}
|
|
10090
|
-
}, [["render",
|
|
10176
|
+
}, [["render", Na]]), Fa = /* @__PURE__ */ F({
|
|
10091
10177
|
WAccordion: () => mt,
|
|
10092
10178
|
WAccordionItem: () => ft,
|
|
10093
|
-
WAlert: () =>
|
|
10094
|
-
WAutocomplete: () =>
|
|
10095
|
-
WBadge: () =>
|
|
10096
|
-
WBreadcrumbs: () =>
|
|
10097
|
-
WButton: () =>
|
|
10098
|
-
WCard: () =>
|
|
10099
|
-
WCheckbox: () =>
|
|
10100
|
-
WCheckboxes: () =>
|
|
10101
|
-
WConfirm: () =>
|
|
10102
|
-
WDatePicker: () =>
|
|
10103
|
-
WDialog: () =>
|
|
10104
|
-
WDivider: () =>
|
|
10105
|
-
WDrawer: () =>
|
|
10106
|
-
WFlex: () =>
|
|
10107
|
-
WForm: () =>
|
|
10108
|
-
WFormElement: () =>
|
|
10109
|
-
WGrid: () =>
|
|
10110
|
-
WIcon: () =>
|
|
10111
|
-
WImage: () =>
|
|
10112
|
-
WInput: () =>
|
|
10113
|
-
WList: () =>
|
|
10114
|
-
WMenu: () =>
|
|
10115
|
-
WNotification: () =>
|
|
10116
|
-
WOverlay: () =>
|
|
10117
|
-
WParallax: () =>
|
|
10118
|
-
WProgress: () =>
|
|
10119
|
-
WRadio: () =>
|
|
10120
|
-
WRadios: () =>
|
|
10121
|
-
WRating: () =>
|
|
10122
|
-
WScrollable: () =>
|
|
10123
|
-
WSelect: () =>
|
|
10124
|
-
WSlider: () =>
|
|
10125
|
-
WSpinner: () =>
|
|
10126
|
-
WSteps: () =>
|
|
10127
|
-
WSwitch: () =>
|
|
10128
|
-
WTable: () =>
|
|
10129
|
-
WTabs: () =>
|
|
10130
|
-
WTag: () =>
|
|
10131
|
-
WTextarea: () =>
|
|
10132
|
-
WTimeline: () =>
|
|
10133
|
-
WToolbar: () =>
|
|
10134
|
-
WTooltip: () =>
|
|
10135
|
-
WTransitionBounce: () =>
|
|
10136
|
-
WTransitionExpand: () =>
|
|
10137
|
-
WTransitionFade: () =>
|
|
10138
|
-
WTransitionScale: () =>
|
|
10139
|
-
WTransitionScaleFade: () =>
|
|
10140
|
-
WTransitionSlide: () =>
|
|
10141
|
-
WTransitionSlideFade: () =>
|
|
10142
|
-
WTransitionTwist: () =>
|
|
10143
|
-
WTree: () =>
|
|
10144
|
-
}),
|
|
10145
|
-
et.install = (e, t = {}) =>
|
|
10146
|
-
components:
|
|
10179
|
+
WAlert: () => vt,
|
|
10180
|
+
WAutocomplete: () => Ot,
|
|
10181
|
+
WBadge: () => Mt,
|
|
10182
|
+
WBreadcrumbs: () => Ft,
|
|
10183
|
+
WButton: () => Vt,
|
|
10184
|
+
WCard: () => Gt,
|
|
10185
|
+
WCheckbox: () => Qt,
|
|
10186
|
+
WCheckboxes: () => tn,
|
|
10187
|
+
WConfirm: () => rn,
|
|
10188
|
+
WDatePicker: () => on,
|
|
10189
|
+
WDialog: () => cn,
|
|
10190
|
+
WDivider: () => dn,
|
|
10191
|
+
WDrawer: () => hn,
|
|
10192
|
+
WFlex: () => _n,
|
|
10193
|
+
WForm: () => bn,
|
|
10194
|
+
WFormElement: () => Sn,
|
|
10195
|
+
WGrid: () => wn,
|
|
10196
|
+
WIcon: () => En,
|
|
10197
|
+
WImage: () => An,
|
|
10198
|
+
WInput: () => Bn,
|
|
10199
|
+
WList: () => Hn,
|
|
10200
|
+
WMenu: () => qn,
|
|
10201
|
+
WNotification: () => Yn,
|
|
10202
|
+
WOverlay: () => Zn,
|
|
10203
|
+
WParallax: () => er,
|
|
10204
|
+
WProgress: () => lr,
|
|
10205
|
+
WRadio: () => gr,
|
|
10206
|
+
WRadios: () => yr,
|
|
10207
|
+
WRating: () => wr,
|
|
10208
|
+
WScrollable: () => Ar,
|
|
10209
|
+
WSelect: () => Ir,
|
|
10210
|
+
WSlider: () => Yr,
|
|
10211
|
+
WSpinner: () => $r,
|
|
10212
|
+
WSteps: () => ti,
|
|
10213
|
+
WSwitch: () => li,
|
|
10214
|
+
WTable: () => Xi,
|
|
10215
|
+
WTabs: () => bi,
|
|
10216
|
+
WTag: () => $i,
|
|
10217
|
+
WTextarea: () => ia,
|
|
10218
|
+
WTimeline: () => ca,
|
|
10219
|
+
WToolbar: () => da,
|
|
10220
|
+
WTooltip: () => ma,
|
|
10221
|
+
WTransitionBounce: () => ga,
|
|
10222
|
+
WTransitionExpand: () => va,
|
|
10223
|
+
WTransitionFade: () => ba,
|
|
10224
|
+
WTransitionScale: () => Sa,
|
|
10225
|
+
WTransitionScaleFade: () => wa,
|
|
10226
|
+
WTransitionSlide: () => Ea,
|
|
10227
|
+
WTransitionSlideFade: () => Oa,
|
|
10228
|
+
WTransitionTwist: () => Aa,
|
|
10229
|
+
WTree: () => Pa
|
|
10230
|
+
}), Ia = et.install;
|
|
10231
|
+
et.install = (e, t = {}) => Ia.call(et, e, {
|
|
10232
|
+
components: Fa,
|
|
10147
10233
|
...t
|
|
10148
10234
|
});
|
|
10149
|
-
var
|
|
10235
|
+
var La = et;
|
|
10150
10236
|
//#endregion
|
|
10151
|
-
export {
|
|
10237
|
+
export { La as default };
|