wave-ui 3.7.0 → 3.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wave-ui.cjs.js +1 -1
- package/dist/wave-ui.css +1 -1
- package/dist/wave-ui.es.js +244 -236
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +12 -13
- package/src/wave-ui/components/w-list.vue +2 -2
- package/src/wave-ui/components/w-select.vue +25 -13
- package/src/wave-ui/components/w-table.vue +1 -1
package/dist/wave-ui.es.js
CHANGED
|
@@ -9,7 +9,7 @@ var Y = (e, t, i) => (ne(e, t, "read from private field"), i ? i.call(e) : t.get
|
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
t instanceof WeakSet ? t.add(e) : t.set(e, i);
|
|
11
11
|
}, te = (e, t, i, o) => (ne(e, t, "write to private field"), o ? o.call(e, i) : t.set(e, i), i);
|
|
12
|
-
import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as g, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as Se, inject as Be, withKeys as
|
|
12
|
+
import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as g, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as m, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as Se, inject as Be, withKeys as E, withModifiers as M, renderSlot as p, toHandlers as W, createTextVNode as S, toDisplayString as _, Transition as O, normalizeStyle as R, resolveDynamicComponent as V, normalizeProps as le, resolveDirective as ge, withDirectives as N, createSlots as Z, vShow as oe, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
|
|
13
13
|
const Ie = Q({
|
|
14
14
|
on: "#app",
|
|
15
15
|
breakpoints: {
|
|
@@ -767,7 +767,7 @@ function qe(e, t, i, o, n, l) {
|
|
|
767
767
|
class: f(["w-accordion__item-title", i.titleClass]),
|
|
768
768
|
onClick: (y) => !d._disabled && l.toggleItem(d, y),
|
|
769
769
|
onFocus: (y) => e.$emit("focus", l.getOriginalItem(d)),
|
|
770
|
-
onKeypress:
|
|
770
|
+
onKeypress: E((y) => !d._disabled && l.toggleItem(d, y), ["enter"]),
|
|
771
771
|
tabindex: !d._disabled && 0
|
|
772
772
|
}, [
|
|
773
773
|
i.expandIcon && !i.expandIconRight ? (s(), g(a, {
|
|
@@ -778,9 +778,9 @@ function qe(e, t, i, o, n, l) {
|
|
|
778
778
|
disabled: d._disabled || null,
|
|
779
779
|
tabindex: -1,
|
|
780
780
|
text: "",
|
|
781
|
-
onKeypress: t[0] || (t[0] =
|
|
781
|
+
onKeypress: t[0] || (t[0] = M(() => {
|
|
782
782
|
}, ["stop"])),
|
|
783
|
-
onClick:
|
|
783
|
+
onClick: M((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
|
|
784
784
|
}, null, 8, ["icon", "icon-props", "disabled", "onClick", "class"])) : c("", !0),
|
|
785
785
|
e.$slots[`item-title.${d.id || h + 1}`] ? p(e.$slots, `item-title.${d.id || h + 1}`, {
|
|
786
786
|
key: 1,
|
|
@@ -803,9 +803,9 @@ function qe(e, t, i, o, n, l) {
|
|
|
803
803
|
class: f(["w-accordion__expand-icon", { "w-accordion__expand-icon--expanded": d._expanded, "w-accordion__expand-icon--rotate90": i.expandIconRotate90 }]),
|
|
804
804
|
icon: d._expanded && i.collapseIcon || i.expandIcon,
|
|
805
805
|
text: "",
|
|
806
|
-
onKeypress: t[1] || (t[1] =
|
|
806
|
+
onKeypress: t[1] || (t[1] = M(() => {
|
|
807
807
|
}, ["stop"])),
|
|
808
|
-
onClick:
|
|
808
|
+
onClick: M((y) => !d._disabled && l.toggleItem(d, y), ["stop"])
|
|
809
809
|
}, null, 8, ["icon", "onClick", "class"])) : c("", !0)
|
|
810
810
|
], 42, Fe),
|
|
811
811
|
I(r, {
|
|
@@ -932,7 +932,7 @@ function Je(e, t, i, o, n, l) {
|
|
|
932
932
|
return n.show ? (s(), u("div", C({
|
|
933
933
|
key: 0,
|
|
934
934
|
class: "w-alert"
|
|
935
|
-
},
|
|
935
|
+
}, W(e.$attrs, !0), { class: l.classes }), [
|
|
936
936
|
l.type || i.icon || i.dismiss ? (s(), u(k, { key: 0 }, [
|
|
937
937
|
l.type || i.icon ? (s(), g(a, {
|
|
938
938
|
key: 0,
|
|
@@ -1062,7 +1062,7 @@ const it = {
|
|
|
1062
1062
|
}
|
|
1063
1063
|
}, lt = /* @__PURE__ */ v(it, [["render", tt]]);
|
|
1064
1064
|
function st(e, t, i, o, n, l) {
|
|
1065
|
-
return s(), u("div", C({ class: "w-badge-wrap" },
|
|
1065
|
+
return s(), u("div", C({ class: "w-badge-wrap" }, W(e.$attrs, !0)), [
|
|
1066
1066
|
p(e.$slots, "default"),
|
|
1067
1067
|
I(O, {
|
|
1068
1068
|
name: `${i.transition}`
|
|
@@ -1255,7 +1255,7 @@ function pt(e, t, i, o, n, l) {
|
|
|
1255
1255
|
type: !i.route && i.type,
|
|
1256
1256
|
href: i.route && (l.externalLink ? i.route : l.resolvedRoute) || null,
|
|
1257
1257
|
disabled: !!i.disabled || null
|
|
1258
|
-
},
|
|
1258
|
+
}, W(l.listeners), { style: l.styles }), {
|
|
1259
1259
|
default: m(() => [
|
|
1260
1260
|
i.icon ? (s(), g(a, le(C({ key: 0 }, i.iconProps || {})), {
|
|
1261
1261
|
default: m(() => [
|
|
@@ -1372,7 +1372,7 @@ function bt(e, t, i, o, n, l) {
|
|
|
1372
1372
|
const a = $("button-partial");
|
|
1373
1373
|
return i.tooltip ? (s(), g(V("w-tooltip"), le(C({ key: 0 }, i.tooltipProps || {})), {
|
|
1374
1374
|
activator: m(({ on: r }) => [
|
|
1375
|
-
I(a, C(l.buttonProps,
|
|
1375
|
+
I(a, C(l.buttonProps, W(r)), {
|
|
1376
1376
|
default: m(() => [
|
|
1377
1377
|
p(e.$slots, "default")
|
|
1378
1378
|
]),
|
|
@@ -1527,7 +1527,7 @@ const _t = {
|
|
|
1527
1527
|
};
|
|
1528
1528
|
}
|
|
1529
1529
|
}
|
|
1530
|
-
}, Ct = /* @__PURE__ */ v(_t, [["render", kt]]),
|
|
1530
|
+
}, Ct = /* @__PURE__ */ v(_t, [["render", kt]]), z = {
|
|
1531
1531
|
inject: {
|
|
1532
1532
|
formRegister: { default: null },
|
|
1533
1533
|
formProps: { default: () => ({ disabled: !1, readonly: !1 }) }
|
|
@@ -1595,7 +1595,7 @@ function Lt(e, t, i, o, n, l) {
|
|
|
1595
1595
|
onFocus: t[0] || (t[0] = (a) => e.$emit("focus", a)),
|
|
1596
1596
|
onBlur: t[1] || (t[1] = (a) => e.$emit("blur", a)),
|
|
1597
1597
|
onChange: t[2] || (t[2] = (a) => l.onInput()),
|
|
1598
|
-
onKeypress: t[3] || (t[3] =
|
|
1598
|
+
onKeypress: t[3] || (t[3] = E((...a) => l.onInput && l.onInput(...a), ["enter"])),
|
|
1599
1599
|
"aria-checked": n.isChecked || "false",
|
|
1600
1600
|
role: "checkbox"
|
|
1601
1601
|
}, null, 40, St),
|
|
@@ -1643,7 +1643,7 @@ function Lt(e, t, i, o, n, l) {
|
|
|
1643
1643
|
}
|
|
1644
1644
|
const xt = {
|
|
1645
1645
|
name: "w-checkbox",
|
|
1646
|
-
mixins: [
|
|
1646
|
+
mixins: [z],
|
|
1647
1647
|
inject: {
|
|
1648
1648
|
wCheckboxes: { default: null }
|
|
1649
1649
|
},
|
|
@@ -1746,7 +1746,7 @@ function zt(e, t, i, o, n, l) {
|
|
|
1746
1746
|
}
|
|
1747
1747
|
const Mt = {
|
|
1748
1748
|
name: "w-checkboxes",
|
|
1749
|
-
mixins: [
|
|
1749
|
+
mixins: [z],
|
|
1750
1750
|
props: {
|
|
1751
1751
|
items: { type: Array, required: !0 },
|
|
1752
1752
|
modelValue: { type: Array },
|
|
@@ -1832,7 +1832,7 @@ function Wt(e, t, i, o, n, l) {
|
|
|
1832
1832
|
class: "mr2"
|
|
1833
1833
|
}, l.cancelButtonProps, {
|
|
1834
1834
|
"bg-color": (l.cancelButton || {}).bgColor || "error",
|
|
1835
|
-
onKeyup: t[0] || (t[0] =
|
|
1835
|
+
onKeyup: t[0] || (t[0] = E((y) => !i.persistent && l.onCancel(), ["escape"])),
|
|
1836
1836
|
onClick: l.onCancel
|
|
1837
1837
|
}), {
|
|
1838
1838
|
default: m(() => [
|
|
@@ -1844,7 +1844,7 @@ function Wt(e, t, i, o, n, l) {
|
|
|
1844
1844
|
}, 16, ["bg-color", "onClick"])) : c("", !0),
|
|
1845
1845
|
N((s(), g(a, C(l.confirmButtonProps, {
|
|
1846
1846
|
"bg-color": (l.confirmButton || {}).bgColor || "success",
|
|
1847
|
-
onKeyup: t[1] || (t[1] =
|
|
1847
|
+
onKeyup: t[1] || (t[1] = E((y) => !i.persistent && l.onCancel(), ["escape"])),
|
|
1848
1848
|
onClick: l.onConfirm
|
|
1849
1849
|
}), {
|
|
1850
1850
|
default: m(() => [
|
|
@@ -2641,7 +2641,7 @@ const pi = {
|
|
|
2641
2641
|
}
|
|
2642
2642
|
}, fi = /* @__PURE__ */ v(pi, [["render", ci]]);
|
|
2643
2643
|
function mi(e, t, i, o, n, l) {
|
|
2644
|
-
return s(), g(V(i.tag || "i"), C({ class: "w-icon" },
|
|
2644
|
+
return s(), g(V(i.tag || "i"), C({ class: "w-icon" }, W(e.$attrs), {
|
|
2645
2645
|
class: l.classes,
|
|
2646
2646
|
role: "icon",
|
|
2647
2647
|
"aria-hidden": "true",
|
|
@@ -2920,7 +2920,7 @@ function Li(e, t, i, o, n, l) {
|
|
|
2920
2920
|
class: "w-input__input",
|
|
2921
2921
|
ref: "input",
|
|
2922
2922
|
"onUpdate:modelValue": t[2] || (t[2] = (d) => n.inputValue = d)
|
|
2923
|
-
},
|
|
2923
|
+
}, W(l.listeners, !0), {
|
|
2924
2924
|
onInput: t[3] || (t[3] = (...d) => l.onInput && l.onInput(...d)),
|
|
2925
2925
|
onFocus: t[4] || (t[4] = (...d) => l.onFocus && l.onFocus(...d)),
|
|
2926
2926
|
onBlur: t[5] || (t[5] = (...d) => l.onBlur && l.onBlur(...d)),
|
|
@@ -3051,7 +3051,7 @@ function Li(e, t, i, o, n, l) {
|
|
|
3051
3051
|
}
|
|
3052
3052
|
const xi = {
|
|
3053
3053
|
name: "w-input",
|
|
3054
|
-
mixins: [
|
|
3054
|
+
mixins: [z],
|
|
3055
3055
|
props: {
|
|
3056
3056
|
modelValue: { default: "" },
|
|
3057
3057
|
type: { type: String, default: "text" },
|
|
@@ -3379,8 +3379,8 @@ const zi = {
|
|
|
3379
3379
|
"w-list__item-label--focused": e._focused,
|
|
3380
3380
|
"w-list__item-label--hoverable": this.hover,
|
|
3381
3381
|
"w-list__item-label--selectable": this.isSelectable,
|
|
3382
|
-
[e.
|
|
3383
|
-
[this.SelectionColor]: e._selected && !e.
|
|
3382
|
+
[e[this.itemColorKey]]: !!e[this.itemColorKey],
|
|
3383
|
+
[this.SelectionColor]: e._selected && !e[this.itemColorKey] && this.SelectionColor,
|
|
3384
3384
|
[e[this.itemClassKey] || this.itemClass]: e[this.itemClassKey] || this.itemClass
|
|
3385
3385
|
};
|
|
3386
3386
|
},
|
|
@@ -3986,7 +3986,7 @@ function Di(e, t, i, o, n, l) {
|
|
|
3986
3986
|
class: f(["w-overlay", l.classes]),
|
|
3987
3987
|
ref: "overlay",
|
|
3988
3988
|
style: R(i.modelValue && l.styles || null),
|
|
3989
|
-
onKeydown: t[0] || (t[0] =
|
|
3989
|
+
onKeydown: t[0] || (t[0] = E(M((...r) => l.onClick && l.onClick(...r), ["stop"]), ["escape"])),
|
|
3990
3990
|
onClick: t[1] || (t[1] = (...r) => l.onClick && l.onClick(...r)),
|
|
3991
3991
|
tabindex: "0"
|
|
3992
3992
|
}, [
|
|
@@ -4243,7 +4243,7 @@ function dl(e, t, i, o, n, l) {
|
|
|
4243
4243
|
}
|
|
4244
4244
|
const ul = {
|
|
4245
4245
|
name: "w-radio",
|
|
4246
|
-
mixins: [
|
|
4246
|
+
mixins: [z],
|
|
4247
4247
|
inject: { wRadios: { default: null } },
|
|
4248
4248
|
props: {
|
|
4249
4249
|
modelValue: { default: !1 },
|
|
@@ -4346,7 +4346,7 @@ function pl(e, t, i, o, n, l) {
|
|
|
4346
4346
|
}
|
|
4347
4347
|
const fl = {
|
|
4348
4348
|
name: "w-radios",
|
|
4349
|
-
mixins: [
|
|
4349
|
+
mixins: [z],
|
|
4350
4350
|
props: {
|
|
4351
4351
|
items: { type: Array, required: !0 },
|
|
4352
4352
|
modelValue: { type: [String, Number, Boolean] },
|
|
@@ -4439,7 +4439,7 @@ function yl(e, t, i, o, n, l) {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
const wl = {
|
|
4441
4441
|
name: "w-rating",
|
|
4442
|
-
mixins: [
|
|
4442
|
+
mixins: [z],
|
|
4443
4443
|
props: {
|
|
4444
4444
|
modelValue: {},
|
|
4445
4445
|
max: { type: [Number, String], default: 5 },
|
|
@@ -4667,15 +4667,15 @@ const _l = {
|
|
|
4667
4667
|
const { top: e, left: t } = this.$refs.scrollable.getBoundingClientRect();
|
|
4668
4668
|
this.scrollable.top = e, this.scrollable.left = t, this.$el.parentNode.style.position = "relative", this.$el.parentNode.style[this.m.maxWidthOrHeight] = `${this[this.m.widthOrHeight]}px`;
|
|
4669
4669
|
}
|
|
4670
|
-
}, Sl = /* @__PURE__ */ v(Cl, [["render", kl]]), Bl = ["
|
|
4670
|
+
}, Sl = /* @__PURE__ */ v(Cl, [["render", kl]]), Bl = ["aria-expanded", "aria-owns", "aria-activedescendant"], $l = {
|
|
4671
4671
|
key: 1,
|
|
4672
4672
|
class: "w-select__selection-slot"
|
|
4673
|
-
},
|
|
4674
|
-
function
|
|
4673
|
+
}, Vl = ["contenteditable", "disabled", "tabindex", "innerHTML"], Il = ["value", "name"];
|
|
4674
|
+
function Tl(e, t, i, o, n, l) {
|
|
4675
4675
|
const a = $("w-icon"), r = $("w-list"), d = $("w-menu");
|
|
4676
4676
|
return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: l.selectionString, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: e.isFocused }, {
|
|
4677
4677
|
valid: e.valid,
|
|
4678
|
-
"onUpdate:valid": t[
|
|
4678
|
+
"onUpdate:valid": t[12] || (t[12] = (h) => e.valid = h),
|
|
4679
4679
|
onReset: l.onReset,
|
|
4680
4680
|
wrap: l.hasLabel && i.labelPosition !== "inside",
|
|
4681
4681
|
class: l.classes
|
|
@@ -4685,16 +4685,16 @@ function xl(e, t, i, o, n, l) {
|
|
|
4685
4685
|
e.$slots.default || i.label ? (s(), u("label", {
|
|
4686
4686
|
key: 0,
|
|
4687
4687
|
class: f(["w-select__label w-select__label--left w-form-el-shakable", e.labelClasses]),
|
|
4688
|
-
|
|
4688
|
+
onClick: t[0] || (t[0] = (h) => e.$refs["selection-input"].click())
|
|
4689
4689
|
}, [
|
|
4690
4690
|
p(e.$slots, "default", {}, () => [
|
|
4691
4691
|
S(_(i.label), 1)
|
|
4692
4692
|
])
|
|
4693
|
-
],
|
|
4693
|
+
], 2)) : c("", !0)
|
|
4694
4694
|
], 64)) : c("", !0),
|
|
4695
4695
|
I(d, C({
|
|
4696
4696
|
modelValue: e.showMenu,
|
|
4697
|
-
"onUpdate:modelValue": t[
|
|
4697
|
+
"onUpdate:modelValue": t[10] || (t[10] = (h) => e.showMenu = h),
|
|
4698
4698
|
onClose: l.closeMenu,
|
|
4699
4699
|
"menu-class": `w-select__menu ${i.menuClass || ""}`,
|
|
4700
4700
|
transition: "slide-fade-down",
|
|
@@ -4704,27 +4704,27 @@ function xl(e, t, i, o, n, l) {
|
|
|
4704
4704
|
"min-width": "activator"
|
|
4705
4705
|
}, i.menuProps || {}), {
|
|
4706
4706
|
activator: m(({ on: h }) => [
|
|
4707
|
-
w("div",
|
|
4708
|
-
|
|
4707
|
+
w("div", {
|
|
4708
|
+
class: f(["w-select__selection-wrap", l.inputWrapClasses]),
|
|
4709
|
+
onClick: t[6] || (t[6] = (y) => !e.isDisabled && !e.isReadonly && l.onInputFieldClick()),
|
|
4709
4710
|
role: "button",
|
|
4710
4711
|
"aria-haspopup": "listbox",
|
|
4711
4712
|
"aria-expanded": e.showMenu ? "true" : "false",
|
|
4712
4713
|
"aria-owns": `w-select-menu--${e._.uid}`,
|
|
4713
|
-
"aria-activedescendant": `w-select-menu--${e._.uid}_item-1
|
|
4714
|
-
|
|
4715
|
-
}), [
|
|
4714
|
+
"aria-activedescendant": `w-select-menu--${e._.uid}_item-1`
|
|
4715
|
+
}, [
|
|
4716
4716
|
i.innerIconLeft ? (s(), g(a, {
|
|
4717
4717
|
key: 0,
|
|
4718
4718
|
class: "w-select__icon w-select__icon--inner-left",
|
|
4719
4719
|
tag: "label",
|
|
4720
|
-
onClick: t[
|
|
4720
|
+
onClick: t[1] || (t[1] = (y) => e.$emit("click:inner-icon-left", y))
|
|
4721
4721
|
}, {
|
|
4722
4722
|
default: m(() => [
|
|
4723
4723
|
S(_(i.innerIconLeft), 1)
|
|
4724
4724
|
]),
|
|
4725
4725
|
_: 1
|
|
4726
4726
|
})) : c("", !0),
|
|
4727
|
-
e.$slots.selection ? (s(), u("div",
|
|
4727
|
+
e.$slots.selection ? (s(), u("div", $l, [
|
|
4728
4728
|
p(e.$slots, "selection", {
|
|
4729
4729
|
item: i.multiple ? e.inputValue : e.inputValue[0]
|
|
4730
4730
|
})
|
|
@@ -4733,55 +4733,53 @@ function xl(e, t, i, o, n, l) {
|
|
|
4733
4733
|
class: f(["w-select__selection", { "w-select__selection--placeholder": !e.$slots.selection && !l.selectionString && i.placeholder }]),
|
|
4734
4734
|
ref: "selection-input",
|
|
4735
4735
|
contenteditable: e.isDisabled || e.isReadonly ? "false" : "true",
|
|
4736
|
-
onFocus: t[
|
|
4737
|
-
onBlur: t[
|
|
4738
|
-
onKeydown: t[
|
|
4739
|
-
id: `w-select--${e._.uid}`,
|
|
4736
|
+
onFocus: t[2] || (t[2] = (y) => !e.isDisabled && !e.isReadonly && l.onFocus(y)),
|
|
4737
|
+
onBlur: t[3] || (t[3] = (...y) => l.onBlur && l.onBlur(...y)),
|
|
4738
|
+
onKeydown: t[4] || (t[4] = (y) => !e.isDisabled && !e.isReadonly && l.onKeydown(y)),
|
|
4740
4739
|
disabled: e.isDisabled || null,
|
|
4741
4740
|
readonly: "",
|
|
4742
4741
|
"aria-readonly": "true",
|
|
4743
4742
|
tabindex: e.tabindex || null,
|
|
4744
4743
|
innerHTML: e.$slots.selection ? "" : l.selectionString || i.placeholder
|
|
4745
|
-
}, null, 42,
|
|
4744
|
+
}, null, 42, Vl),
|
|
4746
4745
|
(s(!0), u(k, null, L(e.inputValue.length ? e.inputValue : [{}], (y, B) => (s(), u("input", {
|
|
4747
4746
|
key: B,
|
|
4748
4747
|
type: "hidden",
|
|
4749
4748
|
value: y.value === void 0 ? "" : y.value.toString(),
|
|
4750
4749
|
name: e.inputName + (i.multiple ? "[]" : "")
|
|
4751
|
-
}, null, 8,
|
|
4750
|
+
}, null, 8, Il))), 128)),
|
|
4752
4751
|
i.labelPosition === "inside" && l.showLabelInside ? (s(), u(k, { key: 2 }, [
|
|
4753
4752
|
e.$slots.default || i.label ? (s(), u("label", {
|
|
4754
4753
|
key: 0,
|
|
4755
|
-
class: f(["w-select__label w-select__label--inside w-form-el-shakable", e.labelClasses])
|
|
4756
|
-
for: `w-select--${e._.uid}`
|
|
4754
|
+
class: f(["w-select__label w-select__label--inside w-form-el-shakable", e.labelClasses])
|
|
4757
4755
|
}, [
|
|
4758
4756
|
p(e.$slots, "default", {}, () => [
|
|
4759
4757
|
S(_(i.label), 1)
|
|
4760
4758
|
])
|
|
4761
|
-
],
|
|
4759
|
+
], 2)) : c("", !0)
|
|
4762
4760
|
], 64)) : c("", !0),
|
|
4763
4761
|
i.innerIconRight ? (s(), g(a, {
|
|
4764
4762
|
key: 3,
|
|
4765
4763
|
class: "w-select__icon w-select__icon--inner-right",
|
|
4766
4764
|
tag: "label",
|
|
4767
|
-
onClick: t[
|
|
4765
|
+
onClick: t[5] || (t[5] = (y) => e.$emit("click:inner-icon-right", y))
|
|
4768
4766
|
}, {
|
|
4769
4767
|
default: m(() => [
|
|
4770
4768
|
S(_(i.innerIconRight), 1)
|
|
4771
4769
|
]),
|
|
4772
4770
|
_: 1
|
|
4773
4771
|
})) : c("", !0)
|
|
4774
|
-
],
|
|
4772
|
+
], 10, Bl)
|
|
4775
4773
|
]),
|
|
4776
4774
|
default: m(() => [
|
|
4777
4775
|
I(r, {
|
|
4778
4776
|
ref: "w-list",
|
|
4779
4777
|
"model-value": e.inputValue,
|
|
4780
4778
|
"onUpdate:modelValue": l.onInput,
|
|
4781
|
-
onItemClick: t[
|
|
4779
|
+
onItemClick: t[7] || (t[7] = (h) => e.$emit("item-click", h)),
|
|
4782
4780
|
onItemSelect: l.onListItemSelect,
|
|
4783
|
-
"onKeydown:enter": t[
|
|
4784
|
-
"onKeydown:escape": t[
|
|
4781
|
+
"onKeydown:enter": t[8] || (t[8] = (h) => i.noUnselect && !i.multiple && l.closeMenu()),
|
|
4782
|
+
"onKeydown:escape": t[9] || (t[9] = (h) => e.showMenu && (this.showMenu = !1)),
|
|
4785
4783
|
items: l.selectItems,
|
|
4786
4784
|
multiple: i.multiple,
|
|
4787
4785
|
"arrows-navigation": "",
|
|
@@ -4821,20 +4819,20 @@ function xl(e, t, i, o, n, l) {
|
|
|
4821
4819
|
e.$slots.default || i.label ? (s(), u("label", {
|
|
4822
4820
|
key: 0,
|
|
4823
4821
|
class: f(["w-select__label w-select__label--right w-form-el-shakable", e.labelClasses]),
|
|
4824
|
-
|
|
4822
|
+
onClick: t[11] || (t[11] = (h) => e.$refs["selection-input"].click())
|
|
4825
4823
|
}, [
|
|
4826
4824
|
p(e.$slots, "default", {}, () => [
|
|
4827
4825
|
S(_(i.label), 1)
|
|
4828
4826
|
])
|
|
4829
|
-
],
|
|
4827
|
+
], 2)) : c("", !0)
|
|
4830
4828
|
], 64)) : c("", !0)
|
|
4831
4829
|
]),
|
|
4832
4830
|
_: 3
|
|
4833
4831
|
}, 16, ["valid", "onReset", "wrap", "class"]);
|
|
4834
4832
|
}
|
|
4835
|
-
const
|
|
4833
|
+
const Rl = {
|
|
4836
4834
|
name: "w-select",
|
|
4837
|
-
mixins: [
|
|
4835
|
+
mixins: [z],
|
|
4838
4836
|
props: {
|
|
4839
4837
|
items: { type: Array, required: !0 },
|
|
4840
4838
|
modelValue: {},
|
|
@@ -4950,10 +4948,20 @@ const Ol = {
|
|
|
4950
4948
|
if (t === void 0)
|
|
4951
4949
|
t = e.keyCode === 38 ? i.length - 1 : 0;
|
|
4952
4950
|
else {
|
|
4953
|
-
const
|
|
4954
|
-
t = (t + i.length +
|
|
4951
|
+
const n = e.keyCode === 38 ? -1 : 1;
|
|
4952
|
+
t = (t + i.length + n) % i.length;
|
|
4953
|
+
}
|
|
4954
|
+
let o = !1;
|
|
4955
|
+
if (i[t].disabled) {
|
|
4956
|
+
const n = e.keyCode === 38 ? -1 : 1;
|
|
4957
|
+
let l = (t + n + i.length) % i.length;
|
|
4958
|
+
const a = i.length;
|
|
4959
|
+
let r = 0;
|
|
4960
|
+
for (; r < a && i[l].disabled; )
|
|
4961
|
+
l = (l + i.length + n) % i.length, r++;
|
|
4962
|
+
r >= a && (o = !0), t = l;
|
|
4955
4963
|
}
|
|
4956
|
-
this.onInput(i[t]);
|
|
4964
|
+
o || this.onInput(i[t]);
|
|
4957
4965
|
}
|
|
4958
4966
|
},
|
|
4959
4967
|
onInput(e) {
|
|
@@ -5003,11 +5011,11 @@ const Ol = {
|
|
|
5003
5011
|
this.inputValue = this.checkSelection(this.modelValue);
|
|
5004
5012
|
}
|
|
5005
5013
|
}
|
|
5006
|
-
},
|
|
5014
|
+
}, Ll = /* @__PURE__ */ v(Rl, [["render", Tl]]), xl = ["for"], Ol = ["for", "innerHTML"], Pl = { class: "w-slider__track-wrap" }, zl = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], Ml = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], El = ["for"], Wl = { key: 0 }, Al = {
|
|
5007
5015
|
key: 0,
|
|
5008
5016
|
class: "w-slider__step-labels"
|
|
5009
|
-
},
|
|
5010
|
-
function
|
|
5017
|
+
}, Nl = ["onClick"], Kl = ["for"], Hl = ["for", "innerHTML"];
|
|
5018
|
+
function Dl(e, t, i, o, n, l) {
|
|
5011
5019
|
return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: e.rangeValueScaled, disabled: e.isDisabled, readonly: e.isReadonly }, {
|
|
5012
5020
|
valid: e.valid,
|
|
5013
5021
|
"onUpdate:valid": t[8] || (t[8] = (a) => e.valid = a),
|
|
@@ -5024,13 +5032,13 @@ function Ul(e, t, i, o, n, l) {
|
|
|
5024
5032
|
for: `button--${e._.uid}`
|
|
5025
5033
|
}, [
|
|
5026
5034
|
p(e.$slots, "label-left")
|
|
5027
|
-
], 10,
|
|
5035
|
+
], 10, xl)) : i.labelLeft ? (s(), u("label", {
|
|
5028
5036
|
key: 1,
|
|
5029
5037
|
class: f(["w-slider__label w-slider__label--left w-form-el-shakable", e.labelClasses]),
|
|
5030
5038
|
for: `button--${e._.uid}`,
|
|
5031
5039
|
innerHTML: i.labelLeft
|
|
5032
|
-
}, null, 10,
|
|
5033
|
-
w("div",
|
|
5040
|
+
}, null, 10, Ol)) : c("", !0),
|
|
5041
|
+
w("div", Pl, [
|
|
5034
5042
|
w("div", {
|
|
5035
5043
|
class: f(["w-slider__track", l.trackClasses]),
|
|
5036
5044
|
ref: "track",
|
|
@@ -5063,19 +5071,19 @@ function Ul(e, t, i, o, n, l) {
|
|
|
5063
5071
|
"aria-readonly": e.isReadonly ? "true" : "false",
|
|
5064
5072
|
tabindex: e.isDisabled || e.isReadonly ? -1 : null,
|
|
5065
5073
|
onKeydown: [
|
|
5066
|
-
t[0] || (t[0] =
|
|
5067
|
-
t[1] || (t[1] =
|
|
5074
|
+
t[0] || (t[0] = E((a) => l.onKeyDown(a, -1), ["left"])),
|
|
5075
|
+
t[1] || (t[1] = E((a) => l.onKeyDown(a, 1), ["right"]))
|
|
5068
5076
|
],
|
|
5069
5077
|
onFocus: t[2] || (t[2] = (a) => e.$emit("focus", a)),
|
|
5070
|
-
onClick: t[3] || (t[3] =
|
|
5078
|
+
onClick: t[3] || (t[3] = M(() => {
|
|
5071
5079
|
}, ["prevent"]))
|
|
5072
|
-
}, null, 42,
|
|
5080
|
+
}, null, 42, Ml),
|
|
5073
5081
|
i.thumbLabel ? (s(), u("label", {
|
|
5074
5082
|
key: 0,
|
|
5075
5083
|
class: f(["w-slider__thumb-label", l.thumbClasses]),
|
|
5076
5084
|
for: `button--${e._.uid}`
|
|
5077
5085
|
}, [
|
|
5078
|
-
i.thumbLabel === "droplet" ? (s(), u("div",
|
|
5086
|
+
i.thumbLabel === "droplet" ? (s(), u("div", Wl, [
|
|
5079
5087
|
p(e.$slots, "label", { value: e.rangeValueScaled }, () => [
|
|
5080
5088
|
S(_(~~e.rangeValueScaled), 1)
|
|
5081
5089
|
])
|
|
@@ -5085,10 +5093,10 @@ function Ul(e, t, i, o, n, l) {
|
|
|
5085
5093
|
}, () => [
|
|
5086
5094
|
S(_(~~e.rangeValueScaled), 1)
|
|
5087
5095
|
])
|
|
5088
|
-
], 10,
|
|
5096
|
+
], 10, El)) : c("", !0)
|
|
5089
5097
|
], 4)
|
|
5090
|
-
], 42,
|
|
5091
|
-
i.stepLabels && i.step ? (s(), u("div",
|
|
5098
|
+
], 42, zl),
|
|
5099
|
+
i.stepLabels && i.step ? (s(), u("div", Al, [
|
|
5092
5100
|
w("div", {
|
|
5093
5101
|
class: "w-slider__step-label",
|
|
5094
5102
|
onClick: t[6] || (t[6] = (a) => l.onStepLabelClick(0))
|
|
@@ -5098,7 +5106,7 @@ function Ul(e, t, i, o, n, l) {
|
|
|
5098
5106
|
key: a,
|
|
5099
5107
|
onClick: (r) => l.onStepLabelClick(a * (100 / l.numberOfSteps)),
|
|
5100
5108
|
style: R(`left: ${a * (100 / l.numberOfSteps)}%`)
|
|
5101
|
-
}, _(l.percentToScaled(a * (100 / l.numberOfSteps))), 13,
|
|
5109
|
+
}, _(l.percentToScaled(a * (100 / l.numberOfSteps))), 13, Nl))), 128)),
|
|
5102
5110
|
~~l.numberOfSteps !== l.numberOfSteps ? (s(), u("div", {
|
|
5103
5111
|
key: 0,
|
|
5104
5112
|
class: "w-slider__step-label",
|
|
@@ -5113,19 +5121,19 @@ function Ul(e, t, i, o, n, l) {
|
|
|
5113
5121
|
for: `button--${e._.uid}`
|
|
5114
5122
|
}, [
|
|
5115
5123
|
p(e.$slots, "label-right")
|
|
5116
|
-
], 10,
|
|
5124
|
+
], 10, Kl)) : i.labelRight ? (s(), u("label", {
|
|
5117
5125
|
key: 3,
|
|
5118
5126
|
class: f(["w-slider__label w-slider__label--right w-form-el-shakable", e.labelClasses]),
|
|
5119
5127
|
for: `button--${e._.uid}`,
|
|
5120
5128
|
innerHTML: i.labelRight
|
|
5121
|
-
}, null, 10,
|
|
5129
|
+
}, null, 10, Hl)) : c("", !0)
|
|
5122
5130
|
]),
|
|
5123
5131
|
_: 3
|
|
5124
5132
|
}, 16, ["valid", "wrap", "class"]);
|
|
5125
5133
|
}
|
|
5126
|
-
const
|
|
5134
|
+
const Fl = {
|
|
5127
5135
|
name: "w-slider",
|
|
5128
|
-
mixins: [
|
|
5136
|
+
mixins: [z],
|
|
5129
5137
|
props: {
|
|
5130
5138
|
modelValue: { type: Number, default: 0 },
|
|
5131
5139
|
color: { type: String, default: "primary" },
|
|
@@ -5257,17 +5265,17 @@ const ql = {
|
|
|
5257
5265
|
this.rangeValueScaled !== e && (this.rangeValueScaled = e, this.rangeValuePercent = this.scaledToPercent(e));
|
|
5258
5266
|
}
|
|
5259
5267
|
}
|
|
5260
|
-
},
|
|
5261
|
-
function
|
|
5268
|
+
}, jl = /* @__PURE__ */ v(Fl, [["render", Dl]]), Ul = { key: 0 };
|
|
5269
|
+
function ql(e, t, i, o, n, l) {
|
|
5262
5270
|
return i.modelValue || i.modelValue === void 0 ? (s(), u("div", {
|
|
5263
5271
|
key: 0,
|
|
5264
5272
|
class: f(["w-spinner", l.classes]),
|
|
5265
5273
|
style: R(l.styles)
|
|
5266
5274
|
}, [
|
|
5267
|
-
l.isThreeDots ? (s(), u("span",
|
|
5275
|
+
l.isThreeDots ? (s(), u("span", Ul)) : c("", !0)
|
|
5268
5276
|
], 6)) : c("", !0);
|
|
5269
5277
|
}
|
|
5270
|
-
const
|
|
5278
|
+
const Xl = {
|
|
5271
5279
|
name: "w-spinner",
|
|
5272
5280
|
props: {
|
|
5273
5281
|
modelValue: {},
|
|
@@ -5305,13 +5313,13 @@ const Jl = {
|
|
|
5305
5313
|
};
|
|
5306
5314
|
}
|
|
5307
5315
|
}
|
|
5308
|
-
},
|
|
5309
|
-
function
|
|
5316
|
+
}, Yl = /* @__PURE__ */ v(Xl, [["render", ql]]);
|
|
5317
|
+
function Gl(e, t, i, o, n, l) {
|
|
5310
5318
|
return s(), u("div", {
|
|
5311
5319
|
class: f(["w-steps", l.classes])
|
|
5312
5320
|
}, null, 2);
|
|
5313
5321
|
}
|
|
5314
|
-
const
|
|
5322
|
+
const Jl = {
|
|
5315
5323
|
name: "w-steps",
|
|
5316
5324
|
props: {
|
|
5317
5325
|
dark: { type: Boolean },
|
|
@@ -5327,14 +5335,14 @@ const es = {
|
|
|
5327
5335
|
};
|
|
5328
5336
|
}
|
|
5329
5337
|
}
|
|
5330
|
-
},
|
|
5338
|
+
}, Ql = /* @__PURE__ */ v(Jl, [["render", Gl]]), Zl = ["id", "name", "checked", "disabled", "readonly", "aria-readonly", "required", "tabindex", "aria-checked"], es = ["for"], ts = {
|
|
5331
5339
|
key: 0,
|
|
5332
5340
|
class: "w-switch__track"
|
|
5333
|
-
},
|
|
5341
|
+
}, is = {
|
|
5334
5342
|
key: 1,
|
|
5335
5343
|
class: "w-switch__thumb"
|
|
5336
|
-
},
|
|
5337
|
-
function
|
|
5344
|
+
}, ls = ["for"];
|
|
5345
|
+
function ss(e, t, i, o, n, l) {
|
|
5338
5346
|
const a = $("w-progress");
|
|
5339
5347
|
return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.isOn, disabled: e.isDisabled, readonly: e.isReadonly }, {
|
|
5340
5348
|
valid: e.valid,
|
|
@@ -5360,7 +5368,7 @@ function ns(e, t, i, o, n, l) {
|
|
|
5360
5368
|
onFocus: t[1] || (t[1] = (r) => e.$emit("focus", r)),
|
|
5361
5369
|
"aria-checked": n.isOn || "false",
|
|
5362
5370
|
role: "switch"
|
|
5363
|
-
}, null, 40,
|
|
5371
|
+
}, null, 40, Zl),
|
|
5364
5372
|
l.hasLabel && i.labelOnLeft ? (s(), u(k, { key: 0 }, [
|
|
5365
5373
|
e.$slots.default || i.label ? (s(), u("label", {
|
|
5366
5374
|
key: 0,
|
|
@@ -5370,18 +5378,18 @@ function ns(e, t, i, o, n, l) {
|
|
|
5370
5378
|
p(e.$slots, "default", {}, () => [
|
|
5371
5379
|
S(_(i.label), 1)
|
|
5372
5380
|
])
|
|
5373
|
-
], 10,
|
|
5381
|
+
], 10, es)) : c("", !0)
|
|
5374
5382
|
], 64)) : c("", !0),
|
|
5375
5383
|
w("div", C({
|
|
5376
5384
|
class: "w-switch__input",
|
|
5377
5385
|
onClick: t[2] || (t[2] = (r) => {
|
|
5378
5386
|
e.$refs.input.focus(), e.$refs.input.click();
|
|
5379
5387
|
})
|
|
5380
|
-
},
|
|
5381
|
-
e.$slots.track ? (s(), u("div",
|
|
5388
|
+
}, W(e.$attrs, !0), { class: l.inputClasses }), [
|
|
5389
|
+
e.$slots.track ? (s(), u("div", ts, [
|
|
5382
5390
|
p(e.$slots, "track")
|
|
5383
5391
|
])) : c("", !0),
|
|
5384
|
-
e.$slots.thumb || i.loading ? (s(), u("div",
|
|
5392
|
+
e.$slots.thumb || i.loading ? (s(), u("div", is, [
|
|
5385
5393
|
i.loading ? (s(), g(a, C({
|
|
5386
5394
|
key: 0,
|
|
5387
5395
|
circle: "",
|
|
@@ -5398,15 +5406,15 @@ function ns(e, t, i, o, n, l) {
|
|
|
5398
5406
|
p(e.$slots, "default", {}, () => [
|
|
5399
5407
|
S(_(i.label), 1)
|
|
5400
5408
|
])
|
|
5401
|
-
], 10,
|
|
5409
|
+
], 10, ls)) : c("", !0)
|
|
5402
5410
|
], 64)) : c("", !0)
|
|
5403
5411
|
]),
|
|
5404
5412
|
_: 3
|
|
5405
5413
|
}, 16, ["valid", "class"]);
|
|
5406
5414
|
}
|
|
5407
|
-
const
|
|
5415
|
+
const as = {
|
|
5408
5416
|
name: "w-switch",
|
|
5409
|
-
mixins: [
|
|
5417
|
+
mixins: [z],
|
|
5410
5418
|
props: {
|
|
5411
5419
|
modelValue: { default: !1 },
|
|
5412
5420
|
label: { type: String, default: "" },
|
|
@@ -5469,23 +5477,23 @@ const rs = {
|
|
|
5469
5477
|
this.isOn = e;
|
|
5470
5478
|
}
|
|
5471
5479
|
}
|
|
5472
|
-
},
|
|
5473
|
-
function
|
|
5474
|
-
return s(), u("div",
|
|
5480
|
+
}, os = /* @__PURE__ */ v(as, [["render", ss]]), ns = { class: "w-tabs__content" };
|
|
5481
|
+
function rs(e, t, i, o, n, l) {
|
|
5482
|
+
return s(), u("div", ns, [
|
|
5475
5483
|
p(e.$slots, "default", { item: i.item })
|
|
5476
5484
|
]);
|
|
5477
5485
|
}
|
|
5478
|
-
const
|
|
5486
|
+
const ds = {
|
|
5479
5487
|
name: "tab-content",
|
|
5480
5488
|
props: { item: Object }
|
|
5481
|
-
},
|
|
5489
|
+
}, us = /* @__PURE__ */ v(ds, [["render", rs]]), hs = ["onClick", "onFocus", "tabindex", "onKeypress", "aria-selected"], cs = ["innerHTML"], ps = {
|
|
5482
5490
|
key: 0,
|
|
5483
5491
|
class: "w-tabs__bar-extra"
|
|
5484
|
-
},
|
|
5492
|
+
}, fs = {
|
|
5485
5493
|
key: 0,
|
|
5486
5494
|
class: "w-tabs__content-wrap"
|
|
5487
|
-
},
|
|
5488
|
-
function
|
|
5495
|
+
}, ms = ["innerHTML"], gs = ["innerHTML"];
|
|
5496
|
+
function bs(e, t, i, o, n, l) {
|
|
5489
5497
|
const a = $("tab-content");
|
|
5490
5498
|
return s(), u("div", {
|
|
5491
5499
|
class: f(["w-tabs", l.tabsClasses])
|
|
@@ -5500,7 +5508,7 @@ function vs(e, t, i, o, n, l) {
|
|
|
5500
5508
|
onClick: (h) => !r._disabled && r._uid !== e.activeTabUid && l.openTab(r._uid),
|
|
5501
5509
|
onFocus: (h) => e.$emit("focus", l.getOriginalItem(r)),
|
|
5502
5510
|
tabindex: !r._disabled && 0,
|
|
5503
|
-
onKeypress:
|
|
5511
|
+
onKeypress: E((h) => !r._disabled && l.openTab(r._uid), ["enter"]),
|
|
5504
5512
|
"aria-selected": r._uid === e.activeTabUid ? "true" : "false",
|
|
5505
5513
|
role: "tab"
|
|
5506
5514
|
}, [
|
|
@@ -5517,10 +5525,10 @@ function vs(e, t, i, o, n, l) {
|
|
|
5517
5525
|
}, () => [
|
|
5518
5526
|
w("div", {
|
|
5519
5527
|
innerHTML: r[i.itemTitleKey]
|
|
5520
|
-
}, null, 8,
|
|
5528
|
+
}, null, 8, cs)
|
|
5521
5529
|
])
|
|
5522
|
-
], 42,
|
|
5523
|
-
e.$slots["tabs-bar-extra"] ? (s(), u("div",
|
|
5530
|
+
], 42, hs))), 128)),
|
|
5531
|
+
e.$slots["tabs-bar-extra"] ? (s(), u("div", ps, [
|
|
5524
5532
|
p(e.$slots, "tabs-bar-extra")
|
|
5525
5533
|
])) : c("", !0),
|
|
5526
5534
|
!i.noSlider && !i.card ? (s(), u("div", {
|
|
@@ -5529,7 +5537,7 @@ function vs(e, t, i, o, n, l) {
|
|
|
5529
5537
|
style: R(l.sliderStyles)
|
|
5530
5538
|
}, null, 6)) : c("", !0)
|
|
5531
5539
|
], 2),
|
|
5532
|
-
e.tabs.length ? (s(), u("div",
|
|
5540
|
+
e.tabs.length ? (s(), u("div", fs, [
|
|
5533
5541
|
i.keepInDom ? (s(), g(ae, {
|
|
5534
5542
|
key: 0,
|
|
5535
5543
|
name: l.transitionName
|
|
@@ -5555,7 +5563,7 @@ function vs(e, t, i, o, n, l) {
|
|
|
5555
5563
|
r[i.itemContentKey] ? (s(), u("div", {
|
|
5556
5564
|
key: 0,
|
|
5557
5565
|
innerHTML: r[i.itemContentKey]
|
|
5558
|
-
}, null, 8,
|
|
5566
|
+
}, null, 8, ms)) : c("", !0)
|
|
5559
5567
|
])
|
|
5560
5568
|
]),
|
|
5561
5569
|
_: 2
|
|
@@ -5594,7 +5602,7 @@ function vs(e, t, i, o, n, l) {
|
|
|
5594
5602
|
r[i.itemContentKey] ? (s(), u("div", {
|
|
5595
5603
|
key: 0,
|
|
5596
5604
|
innerHTML: r[i.itemContentKey]
|
|
5597
|
-
}, null, 8,
|
|
5605
|
+
}, null, 8, gs)) : c("", !0)
|
|
5598
5606
|
])
|
|
5599
5607
|
], 64)) : c("", !0)
|
|
5600
5608
|
]),
|
|
@@ -5608,7 +5616,7 @@ function vs(e, t, i, o, n, l) {
|
|
|
5608
5616
|
], 2);
|
|
5609
5617
|
}
|
|
5610
5618
|
let fe = 0;
|
|
5611
|
-
const
|
|
5619
|
+
const ys = {
|
|
5612
5620
|
name: "w-tabs",
|
|
5613
5621
|
props: {
|
|
5614
5622
|
modelValue: { type: [Number, String] },
|
|
@@ -5634,7 +5642,7 @@ const ks = {
|
|
|
5634
5642
|
keepAlive: { type: Boolean, default: !0 },
|
|
5635
5643
|
keepInDom: { type: Boolean, default: !1 }
|
|
5636
5644
|
},
|
|
5637
|
-
components: { TabContent:
|
|
5645
|
+
components: { TabContent: us },
|
|
5638
5646
|
emits: ["input", "update:modelValue", "focus"],
|
|
5639
5647
|
data: () => ({
|
|
5640
5648
|
tabs: [],
|
|
@@ -5783,32 +5791,32 @@ const ks = {
|
|
|
5783
5791
|
e ? window.removeEventListener("resize", this.onResize) : (this.updateSlider(), window.addEventListener("resize", this.onResize));
|
|
5784
5792
|
}
|
|
5785
5793
|
}
|
|
5786
|
-
},
|
|
5794
|
+
}, ws = /* @__PURE__ */ v(ys, [["render", bs]]), vs = { ref: "colgroup" }, ks = ["width"], _s = { key: 0 }, Cs = ["onClick"], Ss = ["innerHTML"], Bs = {
|
|
5787
5795
|
key: 0,
|
|
5788
5796
|
class: "w-table__progress-bar"
|
|
5789
|
-
},
|
|
5797
|
+
}, $s = ["colspan"], Vs = {
|
|
5790
5798
|
key: 0,
|
|
5791
5799
|
class: "w-table__progress-bar"
|
|
5792
|
-
},
|
|
5800
|
+
}, Is = ["colspan"], Ts = { class: "w-table__loading-text" }, Rs = {
|
|
5793
5801
|
key: 1,
|
|
5794
5802
|
class: "no-data"
|
|
5795
|
-
},
|
|
5803
|
+
}, Ls = ["colspan"], xs = ["onClick"], Os = ["data-label"], Ps = ["data-label"], zs = ["innerHTML"], Ms = {
|
|
5796
5804
|
key: 2,
|
|
5797
5805
|
class: "w-table__row w-table__row--expansion"
|
|
5798
|
-
},
|
|
5806
|
+
}, Es = ["colspan"], Ws = { key: 0 }, As = {
|
|
5799
5807
|
key: 3,
|
|
5800
5808
|
class: "w-table__extra-row"
|
|
5801
|
-
},
|
|
5809
|
+
}, Ns = {
|
|
5802
5810
|
key: 1,
|
|
5803
5811
|
class: "w-table__footer"
|
|
5804
|
-
},
|
|
5812
|
+
}, Ks = {
|
|
5805
5813
|
key: 1,
|
|
5806
5814
|
class: "w-table__row"
|
|
5807
|
-
},
|
|
5815
|
+
}, Hs = ["colspan"], Ds = {
|
|
5808
5816
|
key: 2,
|
|
5809
5817
|
class: "w-table__row w-table__pagination-wrap"
|
|
5810
|
-
},
|
|
5811
|
-
function
|
|
5818
|
+
}, Fs = ["colspan"], js = { class: "w-table__pagination w-pagination" }, Us = { class: "pages-wrap" }, qs = { class: "w-pagination__results" };
|
|
5819
|
+
function Xs(e, t, i, o, n, l) {
|
|
5812
5820
|
const a = $("w-icon"), r = $("w-progress"), d = $("w-transition-fade"), h = $("w-transition-expand"), y = $("w-select"), B = $("w-button");
|
|
5813
5821
|
return s(), u("div", {
|
|
5814
5822
|
class: f(["w-table-wrap", l.wrapClasses])
|
|
@@ -5819,14 +5827,14 @@ function Js(e, t, i, o, n, l) {
|
|
|
5819
5827
|
onMouseover: t[6] || (t[6] = (...b) => l.onMouseOver && l.onMouseOver(...b)),
|
|
5820
5828
|
onMouseout: t[7] || (t[7] = (...b) => l.onMouseOut && l.onMouseOut(...b))
|
|
5821
5829
|
}, [
|
|
5822
|
-
w("colgroup",
|
|
5830
|
+
w("colgroup", vs, [
|
|
5823
5831
|
(s(!0), u(k, null, L(i.headers, (b, T) => (s(), u("col", {
|
|
5824
5832
|
class: f(["w-table__col", l.colClasses[T]]),
|
|
5825
5833
|
key: T,
|
|
5826
5834
|
width: b.width || null
|
|
5827
|
-
}, null, 10,
|
|
5835
|
+
}, null, 10, ks))), 128))
|
|
5828
5836
|
], 512),
|
|
5829
|
-
i.noHeaders ? c("", !0) : (s(), u("thead",
|
|
5837
|
+
i.noHeaders ? c("", !0) : (s(), u("thead", _s, [
|
|
5830
5838
|
w("tr", null, [
|
|
5831
5839
|
(s(!0), u(k, null, L(i.headers, (b, T) => (s(), u("th", {
|
|
5832
5840
|
class: f(["w-table__header", l.headerClasses(b)]),
|
|
@@ -5853,7 +5861,7 @@ function Js(e, t, i, o, n, l) {
|
|
|
5853
5861
|
]) : (s(), u("span", {
|
|
5854
5862
|
key: 1,
|
|
5855
5863
|
innerHTML: b.label || ""
|
|
5856
|
-
}, null, 8,
|
|
5864
|
+
}, null, 8, Ss))
|
|
5857
5865
|
], 64)) : c("", !0),
|
|
5858
5866
|
b.sortable !== !1 && b.align !== "right" ? (s(), g(a, {
|
|
5859
5867
|
key: 2,
|
|
@@ -5867,37 +5875,37 @@ function Js(e, t, i, o, n, l) {
|
|
|
5867
5875
|
T < i.headers.length - 1 && i.resizableColumns ? (s(), u("span", {
|
|
5868
5876
|
key: 3,
|
|
5869
5877
|
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === T, "w-table__col-resizer--active": e.colResizing.columnIndex === T }]),
|
|
5870
|
-
onClick: t[0] || (t[0] =
|
|
5878
|
+
onClick: t[0] || (t[0] = M(() => {
|
|
5871
5879
|
}, ["stop"]))
|
|
5872
5880
|
}, null, 2)) : c("", !0)
|
|
5873
|
-
], 10,
|
|
5881
|
+
], 10, Cs))), 128))
|
|
5874
5882
|
]),
|
|
5875
5883
|
I(d, null, {
|
|
5876
5884
|
default: m(() => [
|
|
5877
|
-
i.loading === "header" ? (s(), u("tr",
|
|
5885
|
+
i.loading === "header" ? (s(), u("tr", Bs, [
|
|
5878
5886
|
w("td", {
|
|
5879
5887
|
colspan: i.headers.length
|
|
5880
5888
|
}, [
|
|
5881
5889
|
I(r, { tile: "" })
|
|
5882
|
-
], 8,
|
|
5890
|
+
], 8, $s)
|
|
5883
5891
|
])) : c("", !0)
|
|
5884
5892
|
]),
|
|
5885
5893
|
_: 1
|
|
5886
5894
|
})
|
|
5887
5895
|
])),
|
|
5888
5896
|
w("tbody", null, [
|
|
5889
|
-
i.loading === !0 ? (s(), u("tr",
|
|
5897
|
+
i.loading === !0 ? (s(), u("tr", Vs, [
|
|
5890
5898
|
w("td", {
|
|
5891
5899
|
colspan: i.headers.length
|
|
5892
5900
|
}, [
|
|
5893
5901
|
I(r, { tile: "" }),
|
|
5894
|
-
w("div",
|
|
5902
|
+
w("div", Ts, [
|
|
5895
5903
|
p(e.$slots, "loading", {}, () => [
|
|
5896
5904
|
S("Loading...")
|
|
5897
5905
|
])
|
|
5898
5906
|
])
|
|
5899
|
-
], 8,
|
|
5900
|
-
])) : l.tableItems.length ? c("", !0) : (s(), u("tr",
|
|
5907
|
+
], 8, Is)
|
|
5908
|
+
])) : l.tableItems.length ? c("", !0) : (s(), u("tr", Rs, [
|
|
5901
5909
|
w("td", {
|
|
5902
5910
|
class: "w-table__cell text-center",
|
|
5903
5911
|
colspan: i.headers.length
|
|
@@ -5905,7 +5913,7 @@ function Js(e, t, i, o, n, l) {
|
|
|
5905
5913
|
p(e.$slots, "no-data", {}, () => [
|
|
5906
5914
|
S("No data to show.")
|
|
5907
5915
|
])
|
|
5908
|
-
], 8,
|
|
5916
|
+
], 8, Ls)
|
|
5909
5917
|
])),
|
|
5910
5918
|
l.tableItems.length && i.loading !== !0 ? (s(!0), u(k, { key: 2 }, L(l.paginatedItems, (b, T) => (s(), u(k, { key: T }, [
|
|
5911
5919
|
e.$slots.item ? p(e.$slots, "item", {
|
|
@@ -5948,29 +5956,29 @@ function Js(e, t, i, o, n, l) {
|
|
|
5948
5956
|
key: 3,
|
|
5949
5957
|
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === P, "w-table__col-resizer--active": e.colResizing.columnIndex === P }])
|
|
5950
5958
|
}, null, 2)) : c("", !0)
|
|
5951
|
-
], 10,
|
|
5959
|
+
], 10, Os)) : (s(), u("td", {
|
|
5952
5960
|
class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
|
|
5953
5961
|
key: `${P}-b`,
|
|
5954
5962
|
"data-label": x.label
|
|
5955
5963
|
}, [
|
|
5956
5964
|
w("div", {
|
|
5957
5965
|
innerHTML: b[x.key] || ""
|
|
5958
|
-
}, null, 8,
|
|
5966
|
+
}, null, 8, zs),
|
|
5959
5967
|
P < i.headers.length - 1 && i.resizableColumns ? (s(), u("span", {
|
|
5960
5968
|
key: 0,
|
|
5961
5969
|
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === P, "w-table__col-resizer--active": e.colResizing.columnIndex === P }])
|
|
5962
5970
|
}, null, 2)) : c("", !0)
|
|
5963
|
-
], 10,
|
|
5971
|
+
], 10, Ps))
|
|
5964
5972
|
], 64))), 256))
|
|
5965
|
-
], 10,
|
|
5966
|
-
l.expandedRowsByUid[b._uid] ? (s(), u("tr",
|
|
5973
|
+
], 10, xs)),
|
|
5974
|
+
l.expandedRowsByUid[b._uid] ? (s(), u("tr", Ms, [
|
|
5967
5975
|
w("td", {
|
|
5968
5976
|
class: "w-table__cell",
|
|
5969
5977
|
colspan: i.headers.length
|
|
5970
5978
|
}, [
|
|
5971
5979
|
I(h, { y: "" }, {
|
|
5972
5980
|
default: m(() => [
|
|
5973
|
-
l.expandedRowsByUid[b._uid] ? (s(), u("div",
|
|
5981
|
+
l.expandedRowsByUid[b._uid] ? (s(), u("div", Ws, [
|
|
5974
5982
|
p(e.$slots, "row-expansion", {
|
|
5975
5983
|
item: b,
|
|
5976
5984
|
index: T + 1
|
|
@@ -5983,28 +5991,28 @@ function Js(e, t, i, o, n, l) {
|
|
|
5983
5991
|
]),
|
|
5984
5992
|
_: 2
|
|
5985
5993
|
}, 1024)
|
|
5986
|
-
], 8,
|
|
5994
|
+
], 8, Es)
|
|
5987
5995
|
])) : c("", !0)
|
|
5988
5996
|
], 64))), 128)) : c("", !0),
|
|
5989
|
-
e.$slots["extra-row"] ? (s(), u("div",
|
|
5997
|
+
e.$slots["extra-row"] ? (s(), u("div", As, [
|
|
5990
5998
|
p(e.$slots, "extra-row")
|
|
5991
5999
|
])) : c("", !0)
|
|
5992
6000
|
]),
|
|
5993
|
-
e.$slots.footer || e.$slots["footer-row"] || i.pagination ? (s(), u("tfoot",
|
|
5994
|
-
e.$slots["footer-row"] ? p(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (s(), u("tr",
|
|
6001
|
+
e.$slots.footer || e.$slots["footer-row"] || i.pagination ? (s(), u("tfoot", Ns, [
|
|
6002
|
+
e.$slots["footer-row"] ? p(e.$slots, "footer-row", { key: 0 }) : e.$slots.footer ? (s(), u("tr", Ks, [
|
|
5995
6003
|
w("td", {
|
|
5996
6004
|
class: "w-table__cell",
|
|
5997
6005
|
colspan: i.headers.length
|
|
5998
6006
|
}, [
|
|
5999
6007
|
p(e.$slots, "footer")
|
|
6000
|
-
], 8,
|
|
6008
|
+
], 8, Hs)
|
|
6001
6009
|
])) : c("", !0),
|
|
6002
|
-
i.pagination && e.paginationConfig ? (s(), u("tr",
|
|
6010
|
+
i.pagination && e.paginationConfig ? (s(), u("tr", Ds, [
|
|
6003
6011
|
w("td", {
|
|
6004
6012
|
class: "w-table__cell",
|
|
6005
6013
|
colspan: i.headers.length
|
|
6006
6014
|
}, [
|
|
6007
|
-
w("div",
|
|
6015
|
+
w("div", js, [
|
|
6008
6016
|
p(e.$slots, "pagination", {
|
|
6009
6017
|
range: `${e.paginationConfig.start}-${e.paginationConfig.end}`,
|
|
6010
6018
|
total: e.paginationConfig.total
|
|
@@ -6020,7 +6028,7 @@ function Js(e, t, i, o, n, l) {
|
|
|
6020
6028
|
label: "Items per page",
|
|
6021
6029
|
"label-color": "inherit"
|
|
6022
6030
|
}, null, 8, ["modelValue", "items"])) : c("", !0),
|
|
6023
|
-
w("div",
|
|
6031
|
+
w("div", Us, [
|
|
6024
6032
|
I(B, {
|
|
6025
6033
|
class: "w-pagination__arrow w-pagination__arrow--prev",
|
|
6026
6034
|
onClick: t[3] || (t[3] = (b) => l.goToPage("-1")),
|
|
@@ -6050,16 +6058,16 @@ function Js(e, t, i, o, n, l) {
|
|
|
6050
6058
|
lg: ""
|
|
6051
6059
|
}, null, 8, ["disabled"])
|
|
6052
6060
|
]),
|
|
6053
|
-
w("span",
|
|
6061
|
+
w("span", qs, _(e.paginationConfig.start) + "-" + _(e.paginationConfig.end || e.paginationConfig.total) + " of " + _(e.paginationConfig.total), 1)
|
|
6054
6062
|
])
|
|
6055
6063
|
])
|
|
6056
|
-
], 8,
|
|
6064
|
+
], 8, Fs)
|
|
6057
6065
|
])) : c("", !0)
|
|
6058
6066
|
])) : c("", !0)
|
|
6059
6067
|
], 34)
|
|
6060
6068
|
], 2);
|
|
6061
6069
|
}
|
|
6062
|
-
const me = 15,
|
|
6070
|
+
const me = 15, Ys = {
|
|
6063
6071
|
name: "w-table",
|
|
6064
6072
|
props: {
|
|
6065
6073
|
items: { type: Array, required: !0 },
|
|
@@ -6343,13 +6351,13 @@ const me = 15, Qs = {
|
|
|
6343
6351
|
this.updatePaginationConfig({ total: e });
|
|
6344
6352
|
}
|
|
6345
6353
|
}
|
|
6346
|
-
},
|
|
6347
|
-
function
|
|
6348
|
-
return s(), u("span", C({ class: "w-tag" },
|
|
6354
|
+
}, Gs = /* @__PURE__ */ v(Ys, [["render", Xs]]), Js = ["role", "aria-pressed", "tabindex"];
|
|
6355
|
+
function Qs(e, t, i, o, n, l) {
|
|
6356
|
+
return s(), u("span", C({ class: "w-tag" }, W(e.$attrs, !0), {
|
|
6349
6357
|
onClick: t[1] || (t[1] = (a) => {
|
|
6350
6358
|
e.$emit("update:modelValue", !i.modelValue), e.$emit("input", !i.modelValue);
|
|
6351
6359
|
}),
|
|
6352
|
-
onKeypress: t[2] || (t[2] =
|
|
6360
|
+
onKeypress: t[2] || (t[2] = E((a) => {
|
|
6353
6361
|
e.$emit("update:modelValue", !i.modelValue), e.$emit("input", !i.modelValue);
|
|
6354
6362
|
}, ["enter"])),
|
|
6355
6363
|
class: l.classes,
|
|
@@ -6362,15 +6370,15 @@ function ta(e, t, i, o, n, l) {
|
|
|
6362
6370
|
i.closable && i.modelValue ? (s(), u("i", {
|
|
6363
6371
|
key: 0,
|
|
6364
6372
|
class: "w-icon w-tag__closable wi-cross",
|
|
6365
|
-
onClick: t[0] || (t[0] =
|
|
6373
|
+
onClick: t[0] || (t[0] = M((a) => {
|
|
6366
6374
|
e.$emit("update:modelValue", !1), e.$emit("input", !1);
|
|
6367
6375
|
}, ["stop"])),
|
|
6368
6376
|
role: "icon",
|
|
6369
6377
|
"aria-hidden": "true"
|
|
6370
6378
|
})) : c("", !0)
|
|
6371
|
-
], 16,
|
|
6379
|
+
], 16, Js);
|
|
6372
6380
|
}
|
|
6373
|
-
const
|
|
6381
|
+
const Zs = {
|
|
6374
6382
|
name: "w-tag",
|
|
6375
6383
|
props: {
|
|
6376
6384
|
modelValue: { type: [Boolean, Number], default: -1 },
|
|
@@ -6419,8 +6427,8 @@ const ia = {
|
|
|
6419
6427
|
};
|
|
6420
6428
|
}
|
|
6421
6429
|
}
|
|
6422
|
-
},
|
|
6423
|
-
function
|
|
6430
|
+
}, ea = /* @__PURE__ */ v(Zs, [["render", Qs]]), ta = ["for"], ia = ["id", "name", "placeholder", "rows", "cols", "readonly", "aria-readonly", "disabled", "required", "tabindex"], la = ["for"], sa = ["for"];
|
|
6431
|
+
function aa(e, t, i, o, n, l) {
|
|
6424
6432
|
const a = $("w-icon");
|
|
6425
6433
|
return s(), g(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: n.inputValue, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: n.isFocused }, {
|
|
6426
6434
|
valid: e.valid,
|
|
@@ -6441,7 +6449,7 @@ function ra(e, t, i, o, n, l) {
|
|
|
6441
6449
|
p(e.$slots, "default", {}, () => [
|
|
6442
6450
|
S(_(i.label), 1)
|
|
6443
6451
|
])
|
|
6444
|
-
], 10,
|
|
6452
|
+
], 10, ta)) : c("", !0)
|
|
6445
6453
|
], 64)) : c("", !0),
|
|
6446
6454
|
w("div", {
|
|
6447
6455
|
class: f(["w-textarea__textarea-wrap", l.inputWrapClasses])
|
|
@@ -6462,7 +6470,7 @@ function ra(e, t, i, o, n, l) {
|
|
|
6462
6470
|
class: "w-textarea__textarea",
|
|
6463
6471
|
ref: "textarea",
|
|
6464
6472
|
"onUpdate:modelValue": t[1] || (t[1] = (r) => n.inputValue = r)
|
|
6465
|
-
},
|
|
6473
|
+
}, W(l.listeners, !0), {
|
|
6466
6474
|
onInput: t[2] || (t[2] = (...r) => l.onInput && l.onInput(...r)),
|
|
6467
6475
|
onFocus: t[3] || (t[3] = (...r) => l.onFocus && l.onFocus(...r)),
|
|
6468
6476
|
onBlur: t[4] || (t[4] = (...r) => l.onBlur && l.onBlur(...r)),
|
|
@@ -6476,7 +6484,7 @@ function ra(e, t, i, o, n, l) {
|
|
|
6476
6484
|
disabled: e.isDisabled || null,
|
|
6477
6485
|
required: e.required || null,
|
|
6478
6486
|
tabindex: e.tabindex || null
|
|
6479
|
-
}), null, 16,
|
|
6487
|
+
}), null, 16, ia), [
|
|
6480
6488
|
[be, n.inputValue]
|
|
6481
6489
|
]),
|
|
6482
6490
|
i.labelPosition === "inside" && l.showLabelInside ? (s(), u(k, { key: 1 }, [
|
|
@@ -6488,7 +6496,7 @@ function ra(e, t, i, o, n, l) {
|
|
|
6488
6496
|
p(e.$slots, "default", {}, () => [
|
|
6489
6497
|
S(_(i.label), 1)
|
|
6490
6498
|
])
|
|
6491
|
-
], 10,
|
|
6499
|
+
], 10, la)) : c("", !0)
|
|
6492
6500
|
], 64)) : c("", !0),
|
|
6493
6501
|
i.innerIconRight ? (s(), g(a, {
|
|
6494
6502
|
key: 2,
|
|
@@ -6512,15 +6520,15 @@ function ra(e, t, i, o, n, l) {
|
|
|
6512
6520
|
p(e.$slots, "default", {}, () => [
|
|
6513
6521
|
S(_(i.label), 1)
|
|
6514
6522
|
])
|
|
6515
|
-
], 10,
|
|
6523
|
+
], 10, sa)) : c("", !0)
|
|
6516
6524
|
], 64)) : c("", !0)
|
|
6517
6525
|
]),
|
|
6518
6526
|
_: 3
|
|
6519
6527
|
}, 16, ["valid", "wrap", "class"]);
|
|
6520
6528
|
}
|
|
6521
|
-
const
|
|
6529
|
+
const oa = {
|
|
6522
6530
|
name: "w-textarea",
|
|
6523
|
-
mixins: [
|
|
6531
|
+
mixins: [z],
|
|
6524
6532
|
props: {
|
|
6525
6533
|
modelValue: { default: "" },
|
|
6526
6534
|
label: { type: String },
|
|
@@ -6634,8 +6642,8 @@ const da = {
|
|
|
6634
6642
|
e ? this.getLineHeight() : this.height = null;
|
|
6635
6643
|
}
|
|
6636
6644
|
}
|
|
6637
|
-
},
|
|
6638
|
-
function
|
|
6645
|
+
}, na = /* @__PURE__ */ v(oa, [["render", aa]]), ra = ["innerHTML"], da = ["innerHTML"];
|
|
6646
|
+
function ua(e, t, i, o, n, l) {
|
|
6639
6647
|
return s(), u("ul", {
|
|
6640
6648
|
class: f(["w-timeline", l.classes])
|
|
6641
6649
|
}, [
|
|
@@ -6663,16 +6671,16 @@ function pa(e, t, i, o, n, l) {
|
|
|
6663
6671
|
w("div", {
|
|
6664
6672
|
class: f(["w-timeline-item__title", { [a[i.itemColorKey] || i.color]: a[i.itemColorKey] || i.color }]),
|
|
6665
6673
|
innerHTML: a[i.itemTitleKey]
|
|
6666
|
-
}, null, 10,
|
|
6674
|
+
}, null, 10, ra),
|
|
6667
6675
|
w("div", {
|
|
6668
6676
|
class: "w-timeline-item__content",
|
|
6669
6677
|
innerHTML: a[i.itemContentKey]
|
|
6670
|
-
}, null, 8,
|
|
6678
|
+
}, null, 8, da)
|
|
6671
6679
|
])
|
|
6672
6680
|
]))), 128))
|
|
6673
6681
|
], 2);
|
|
6674
6682
|
}
|
|
6675
|
-
const
|
|
6683
|
+
const ha = {
|
|
6676
6684
|
name: "w-timeline",
|
|
6677
6685
|
props: {
|
|
6678
6686
|
items: { type: [Array, Number], required: !0 },
|
|
@@ -6694,8 +6702,8 @@ const fa = {
|
|
|
6694
6702
|
};
|
|
6695
6703
|
}
|
|
6696
6704
|
}
|
|
6697
|
-
},
|
|
6698
|
-
function
|
|
6705
|
+
}, ca = /* @__PURE__ */ v(ha, [["render", ua]]);
|
|
6706
|
+
function pa(e, t, i, o, n, l) {
|
|
6699
6707
|
return s(), u("div", {
|
|
6700
6708
|
class: f(["w-toolbar", l.classes]),
|
|
6701
6709
|
style: R(l.styles)
|
|
@@ -6703,7 +6711,7 @@ function ga(e, t, i, o, n, l) {
|
|
|
6703
6711
|
p(e.$slots, "default")
|
|
6704
6712
|
], 6);
|
|
6705
6713
|
}
|
|
6706
|
-
const
|
|
6714
|
+
const fa = {
|
|
6707
6715
|
name: "w-toolbar",
|
|
6708
6716
|
props: {
|
|
6709
6717
|
color: { type: String },
|
|
@@ -6752,8 +6760,8 @@ const ba = {
|
|
|
6752
6760
|
};
|
|
6753
6761
|
}
|
|
6754
6762
|
}
|
|
6755
|
-
},
|
|
6756
|
-
function
|
|
6763
|
+
}, ma = /* @__PURE__ */ v(fa, [["render", pa]]);
|
|
6764
|
+
function ga(e, t, i, o, n, l) {
|
|
6757
6765
|
return s(), u(k, null, [
|
|
6758
6766
|
p(e.$slots, "activator", { on: l.activatorEventHandlers }),
|
|
6759
6767
|
I(O, {
|
|
@@ -6774,7 +6782,7 @@ function wa(e, t, i, o, n, l) {
|
|
|
6774
6782
|
}, 8, ["name"])
|
|
6775
6783
|
], 64);
|
|
6776
6784
|
}
|
|
6777
|
-
const
|
|
6785
|
+
const ba = {
|
|
6778
6786
|
name: "w-tooltip",
|
|
6779
6787
|
mixins: [we],
|
|
6780
6788
|
props: {
|
|
@@ -6873,8 +6881,8 @@ const va = {
|
|
|
6873
6881
|
!this.detachableVisible || this.showOnHover && !e && (await new Promise((t) => setTimeout(t, 10)), this.showOnHover && this.hoveringActivator) || (this.$emit("update:modelValue", this.detachableVisible = !1), this.$emit("input", !1), this.$emit("close"), document.removeEventListener("mousedown", this.onOutsideMousedown), window.removeEventListener("resize", this.onResize));
|
|
6874
6882
|
}
|
|
6875
6883
|
}
|
|
6876
|
-
},
|
|
6877
|
-
function
|
|
6884
|
+
}, ya = /* @__PURE__ */ v(ba, [["render", ga]]);
|
|
6885
|
+
function wa(e, t, i, o, n, l) {
|
|
6878
6886
|
return s(), g(O, C({ name: "bounce" }, e.$props), {
|
|
6879
6887
|
default: m(() => [
|
|
6880
6888
|
p(e.$slots, "default")
|
|
@@ -6882,14 +6890,14 @@ function _a(e, t, i, o, n, l) {
|
|
|
6882
6890
|
_: 3
|
|
6883
6891
|
}, 16);
|
|
6884
6892
|
}
|
|
6885
|
-
const
|
|
6893
|
+
const va = {
|
|
6886
6894
|
name: "w-transition-bounce",
|
|
6887
6895
|
props: {
|
|
6888
6896
|
appear: { type: Boolean },
|
|
6889
6897
|
duration: { type: [Number, String] }
|
|
6890
6898
|
}
|
|
6891
|
-
},
|
|
6892
|
-
function
|
|
6899
|
+
}, ka = /* @__PURE__ */ v(va, [["render", wa]]);
|
|
6900
|
+
function _a(e, t, i, o, n, l) {
|
|
6893
6901
|
return s(), g(O, {
|
|
6894
6902
|
name: "expand",
|
|
6895
6903
|
mode: "out-in",
|
|
@@ -6910,7 +6918,7 @@ function Ba(e, t, i, o, n, l) {
|
|
|
6910
6918
|
_: 3
|
|
6911
6919
|
}, 8, ["onBeforeAppear", "onAppear", "onAfterAppear", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"]);
|
|
6912
6920
|
}
|
|
6913
|
-
const
|
|
6921
|
+
const Ca = {
|
|
6914
6922
|
name: "w-transition-expand",
|
|
6915
6923
|
props: {
|
|
6916
6924
|
x: { type: Boolean },
|
|
@@ -7000,8 +7008,8 @@ const $a = {
|
|
|
7000
7008
|
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;
|
|
7001
7009
|
}
|
|
7002
7010
|
}
|
|
7003
|
-
},
|
|
7004
|
-
function
|
|
7011
|
+
}, Sa = /* @__PURE__ */ v(Ca, [["render", _a]]);
|
|
7012
|
+
function Ba(e, t, i, o, n, l) {
|
|
7005
7013
|
return s(), g(O, C({ name: "fade" }, e.$props), {
|
|
7006
7014
|
default: m(() => [
|
|
7007
7015
|
p(e.$slots, "default")
|
|
@@ -7009,14 +7017,14 @@ function Ia(e, t, i, o, n, l) {
|
|
|
7009
7017
|
_: 3
|
|
7010
7018
|
}, 16);
|
|
7011
7019
|
}
|
|
7012
|
-
const
|
|
7020
|
+
const $a = {
|
|
7013
7021
|
name: "w-transition-fade",
|
|
7014
7022
|
props: {
|
|
7015
7023
|
appear: { type: Boolean },
|
|
7016
7024
|
duration: { type: [Number, String] }
|
|
7017
7025
|
}
|
|
7018
|
-
},
|
|
7019
|
-
function
|
|
7026
|
+
}, Va = /* @__PURE__ */ v($a, [["render", Ba]]);
|
|
7027
|
+
function Ia(e, t, i, o, n, l) {
|
|
7020
7028
|
return s(), g(O, C({ name: "scale" }, e.$props), {
|
|
7021
7029
|
default: m(() => [
|
|
7022
7030
|
p(e.$slots, "default")
|
|
@@ -7024,14 +7032,14 @@ function La(e, t, i, o, n, l) {
|
|
|
7024
7032
|
_: 3
|
|
7025
7033
|
}, 16);
|
|
7026
7034
|
}
|
|
7027
|
-
const
|
|
7035
|
+
const Ta = {
|
|
7028
7036
|
name: "w-transition-scale",
|
|
7029
7037
|
props: {
|
|
7030
7038
|
appear: { type: Boolean },
|
|
7031
7039
|
duration: { type: [Number, String] }
|
|
7032
7040
|
}
|
|
7033
|
-
},
|
|
7034
|
-
function
|
|
7041
|
+
}, Ra = /* @__PURE__ */ v(Ta, [["render", Ia]]);
|
|
7042
|
+
function La(e, t, i, o, n, l) {
|
|
7035
7043
|
return s(), g(O, C({ name: "scale-fade" }, e.$props), {
|
|
7036
7044
|
default: m(() => [
|
|
7037
7045
|
p(e.$slots, "default")
|
|
@@ -7039,14 +7047,14 @@ function Pa(e, t, i, o, n, l) {
|
|
|
7039
7047
|
_: 3
|
|
7040
7048
|
}, 16);
|
|
7041
7049
|
}
|
|
7042
|
-
const
|
|
7050
|
+
const xa = {
|
|
7043
7051
|
name: "w-transition-scale-fade",
|
|
7044
7052
|
props: {
|
|
7045
7053
|
appear: { type: Boolean },
|
|
7046
7054
|
duration: { type: [Number, String] }
|
|
7047
7055
|
}
|
|
7048
|
-
},
|
|
7049
|
-
function
|
|
7056
|
+
}, Oa = /* @__PURE__ */ v(xa, [["render", La]]);
|
|
7057
|
+
function Pa(e, t, i, o, n, l) {
|
|
7050
7058
|
return s(), g(O, C({ name: l.transitionName }, e.$props), {
|
|
7051
7059
|
default: m(() => [
|
|
7052
7060
|
p(e.$slots, "default")
|
|
@@ -7054,7 +7062,7 @@ function Ea(e, t, i, o, n, l) {
|
|
|
7054
7062
|
_: 3
|
|
7055
7063
|
}, 16, ["name"]);
|
|
7056
7064
|
}
|
|
7057
|
-
const
|
|
7065
|
+
const za = {
|
|
7058
7066
|
name: "w-transition-slide",
|
|
7059
7067
|
props: {
|
|
7060
7068
|
appear: { type: Boolean },
|
|
@@ -7072,8 +7080,8 @@ const Wa = {
|
|
|
7072
7080
|
return `slide-${this.direction}`;
|
|
7073
7081
|
}
|
|
7074
7082
|
}
|
|
7075
|
-
},
|
|
7076
|
-
function
|
|
7083
|
+
}, Ma = /* @__PURE__ */ v(za, [["render", Pa]]);
|
|
7084
|
+
function Ea(e, t, i, o, n, l) {
|
|
7077
7085
|
return s(), g(O, C({ name: l.transitionName }, e.$props), {
|
|
7078
7086
|
default: m(() => [
|
|
7079
7087
|
p(e.$slots, "default")
|
|
@@ -7081,7 +7089,7 @@ function Na(e, t, i, o, n, l) {
|
|
|
7081
7089
|
_: 3
|
|
7082
7090
|
}, 16, ["name"]);
|
|
7083
7091
|
}
|
|
7084
|
-
const
|
|
7092
|
+
const Wa = {
|
|
7085
7093
|
name: "w-transition-slide-fade",
|
|
7086
7094
|
props: {
|
|
7087
7095
|
appear: { type: Boolean },
|
|
@@ -7099,8 +7107,8 @@ const Ka = {
|
|
|
7099
7107
|
return `slide-fade-${this.direction}`;
|
|
7100
7108
|
}
|
|
7101
7109
|
}
|
|
7102
|
-
},
|
|
7103
|
-
function
|
|
7110
|
+
}, Aa = /* @__PURE__ */ v(Wa, [["render", Ea]]);
|
|
7111
|
+
function Na(e, t, i, o, n, l) {
|
|
7104
7112
|
return s(), g(O, C({ name: "twist" }, e.$props), {
|
|
7105
7113
|
default: m(() => [
|
|
7106
7114
|
p(e.$slots, "default")
|
|
@@ -7108,17 +7116,17 @@ function Da(e, t, i, o, n, l) {
|
|
|
7108
7116
|
_: 3
|
|
7109
7117
|
}, 16);
|
|
7110
7118
|
}
|
|
7111
|
-
const
|
|
7119
|
+
const Ka = {
|
|
7112
7120
|
name: "w-transition-twist",
|
|
7113
7121
|
props: {
|
|
7114
7122
|
appear: { type: Boolean },
|
|
7115
7123
|
duration: { type: [Number, String] }
|
|
7116
7124
|
}
|
|
7117
|
-
},
|
|
7125
|
+
}, Ha = /* @__PURE__ */ v(Ka, [["render", Na]]), Da = ["innerHTML"], Fa = {
|
|
7118
7126
|
key: 1,
|
|
7119
7127
|
class: "ml1"
|
|
7120
7128
|
};
|
|
7121
|
-
function
|
|
7129
|
+
function ja(e, t, i, o, n, l) {
|
|
7122
7130
|
const a = $("w-button"), r = $("w-icon"), d = $("w-tree", !0);
|
|
7123
7131
|
return s(), u("ul", {
|
|
7124
7132
|
class: f(["w-tree", l.classes])
|
|
@@ -7136,7 +7144,7 @@ function Xa(e, t, i, o, n, l) {
|
|
|
7136
7144
|
(h.children || h.branch) && (i.expandOpenIcon && h.open || i.expandIcon) && !(i.unexpandableEmpty && !h.children) ? (s(), g(a, {
|
|
7137
7145
|
key: 0,
|
|
7138
7146
|
class: "w-tree__item-expand",
|
|
7139
|
-
onClick:
|
|
7147
|
+
onClick: M((B) => !i.disabled && !h.disabled && l.onLabelClick(h, B), ["stop"]),
|
|
7140
7148
|
color: "inherit",
|
|
7141
7149
|
icon: h.open && i.expandOpenIcon || i.expandIcon,
|
|
7142
7150
|
"icon-props": { rotate90a: !h.open },
|
|
@@ -7165,8 +7173,8 @@ function Xa(e, t, i, o, n, l) {
|
|
|
7165
7173
|
}, 1032, ["color"])) : c("", !0),
|
|
7166
7174
|
w("span", {
|
|
7167
7175
|
innerHTML: h.label
|
|
7168
|
-
}, null, 8,
|
|
7169
|
-
i.counts && (h.children || h.branch) ? (s(), u("span",
|
|
7176
|
+
}, null, 8, Da),
|
|
7177
|
+
i.counts && (h.children || h.branch) ? (s(), u("span", Fa, "(" + _(((B = h.originalItem.children) == null ? void 0 : B.length) || 0) + ")", 1)) : c("", !0)
|
|
7170
7178
|
];
|
|
7171
7179
|
})
|
|
7172
7180
|
]),
|
|
@@ -7206,7 +7214,7 @@ function Xa(e, t, i, o, n, l) {
|
|
|
7206
7214
|
], 2))), 128))
|
|
7207
7215
|
], 2);
|
|
7208
7216
|
}
|
|
7209
|
-
const
|
|
7217
|
+
const Ua = {
|
|
7210
7218
|
name: "w-tree",
|
|
7211
7219
|
props: {
|
|
7212
7220
|
modelValue: { type: [Object, Array] },
|
|
@@ -7360,7 +7368,7 @@ const Ya = {
|
|
|
7360
7368
|
unmounted() {
|
|
7361
7369
|
this.dataPropUnwatch();
|
|
7362
7370
|
}
|
|
7363
|
-
},
|
|
7371
|
+
}, qa = /* @__PURE__ */ v(Ua, [["render", ja]]), Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7364
7372
|
__proto__: null,
|
|
7365
7373
|
WAccordion: Ye,
|
|
7366
7374
|
WAlert: Ze,
|
|
@@ -7393,29 +7401,29 @@ const Ya = {
|
|
|
7393
7401
|
WRadios: ml,
|
|
7394
7402
|
WRating: vl,
|
|
7395
7403
|
WScrollable: Sl,
|
|
7396
|
-
WSelect:
|
|
7397
|
-
WSlider:
|
|
7398
|
-
WSpinner:
|
|
7399
|
-
WSteps:
|
|
7400
|
-
WSwitch:
|
|
7401
|
-
WTabs:
|
|
7402
|
-
WTable:
|
|
7403
|
-
WTag:
|
|
7404
|
-
WTextarea:
|
|
7405
|
-
WTimeline:
|
|
7406
|
-
WToolbar:
|
|
7407
|
-
WTooltip:
|
|
7408
|
-
WTransitionBounce:
|
|
7409
|
-
WTransitionExpand:
|
|
7410
|
-
WTransitionFade:
|
|
7411
|
-
WTransitionScale:
|
|
7412
|
-
WTransitionScaleFade:
|
|
7413
|
-
WTransitionSlide:
|
|
7414
|
-
WTransitionSlideFade:
|
|
7415
|
-
WTransitionTwist:
|
|
7416
|
-
WTree:
|
|
7417
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7418
|
-
K.install = (e, t = {}) =>
|
|
7404
|
+
WSelect: Ll,
|
|
7405
|
+
WSlider: jl,
|
|
7406
|
+
WSpinner: Yl,
|
|
7407
|
+
WSteps: Ql,
|
|
7408
|
+
WSwitch: os,
|
|
7409
|
+
WTabs: ws,
|
|
7410
|
+
WTable: Gs,
|
|
7411
|
+
WTag: ea,
|
|
7412
|
+
WTextarea: na,
|
|
7413
|
+
WTimeline: ca,
|
|
7414
|
+
WToolbar: ma,
|
|
7415
|
+
WTooltip: ya,
|
|
7416
|
+
WTransitionBounce: ka,
|
|
7417
|
+
WTransitionExpand: Sa,
|
|
7418
|
+
WTransitionFade: Va,
|
|
7419
|
+
WTransitionScale: Ra,
|
|
7420
|
+
WTransitionScaleFade: Oa,
|
|
7421
|
+
WTransitionSlide: Ma,
|
|
7422
|
+
WTransitionSlideFade: Aa,
|
|
7423
|
+
WTransitionTwist: Ha,
|
|
7424
|
+
WTree: qa
|
|
7425
|
+
}, Symbol.toStringTag, { value: "Module" })), Ya = K.install;
|
|
7426
|
+
K.install = (e, t = {}) => Ya.call(K, e, { components: Xa, ...t });
|
|
7419
7427
|
export {
|
|
7420
7428
|
K as default
|
|
7421
7429
|
};
|