wave-ui 3.4.3 → 3.4.5
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 +78 -65
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +15 -15
- package/src/wave-ui/components/w-select.vue +20 -10
- package/src/wave-ui/components/w-table.vue +12 -1
package/dist/wave-ui.es.js
CHANGED
|
@@ -9,7 +9,7 @@ var X = (e, t, l) => (ne(e, t, "read from private field"), l ? l.call(e) : t.get
|
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
t instanceof WeakSet ? t.add(e) : t.set(e, l);
|
|
11
11
|
}, te = (e, t, l, a) => (ne(e, t, "write to private field"), a ? a.call(e, l) : t.set(e, l), l);
|
|
12
|
-
import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as m, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as g, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as Se, inject as Be, withKeys as E, withModifiers as M, renderSlot as p, toHandlers as W, createTextVNode as S, toDisplayString as _, Transition as
|
|
12
|
+
import { reactive as Q, resolveComponent as $, openBlock as s, createBlock as m, Teleport as _e, createVNode as I, TransitionGroup as ae, normalizeClass as f, withCtx as g, createElementBlock as u, Fragment as k, renderList as L, mergeProps as C, createElementVNode as w, createCommentVNode as c, createApp as Ce, defineComponent as Se, inject as Be, withKeys as E, withModifiers as M, renderSlot as p, toHandlers as W, createTextVNode as S, toDisplayString as _, Transition as P, normalizeStyle as T, resolveDynamicComponent as V, normalizeProps as ie, resolveDirective as me, withDirectives as N, createSlots as Z, vShow as oe, vModelText as be, vModelDynamic as $e, KeepAlive as Ve } from "vue";
|
|
13
13
|
const Ie = Q({
|
|
14
14
|
on: "#app",
|
|
15
15
|
breakpoints: {
|
|
@@ -158,7 +158,7 @@ const F = class {
|
|
|
158
158
|
};
|
|
159
159
|
let Y = F;
|
|
160
160
|
H = new WeakMap(), ee(Y, H, void 0);
|
|
161
|
-
const
|
|
161
|
+
const Pe = (e, t, l) => {
|
|
162
162
|
const a = document.createElement("div");
|
|
163
163
|
e.appendChild(a);
|
|
164
164
|
const r = Ce(Se({
|
|
@@ -170,7 +170,7 @@ const Oe = (e, t, l) => {
|
|
|
170
170
|
r.component(o.name, { ...o, inject: ["$waveui"] });
|
|
171
171
|
}
|
|
172
172
|
r.mount(a), a.remove();
|
|
173
|
-
}, re = (e, t) => "#" + e.slice(1).match(/../g).map((l) => (l = +`0x${l}` + t, (l < 0 ? 0 : l > 255 ? 255 : l).toString(16).padStart(2, 0))).join(""),
|
|
173
|
+
}, re = (e, t) => "#" + e.slice(1).match(/../g).map((l) => (l = +`0x${l}` + t, (l < 0 ? 0 : l > 255 ? 255 : l).toString(16).padStart(2, 0))).join(""), Oe = (e) => {
|
|
174
174
|
["light", "dark"].forEach((t) => {
|
|
175
175
|
const l = e.colors[t];
|
|
176
176
|
l.shades = {};
|
|
@@ -703,7 +703,7 @@ const j = class {
|
|
|
703
703
|
l.colors.light || (l.colors.light = o), l.colors.dark || (l.colors.dark = o), l.colors = { light: l.colors.light, dark: l.colors.dark };
|
|
704
704
|
}
|
|
705
705
|
let { components: a, ...r } = l;
|
|
706
|
-
r = this.$waveui.config = ye(r), r.css.colorShades &&
|
|
706
|
+
r = this.$waveui.config = ye(r), r.css.colorShades && Oe(r);
|
|
707
707
|
const i = Q(this.$waveui);
|
|
708
708
|
t.config.globalProperties.$waveui = i, t.provide("$waveui", i), r.theme !== "auto" && (this.$waveui.colors = de(r.colors[r.theme], ue));
|
|
709
709
|
}
|
|
@@ -729,7 +729,7 @@ const j = class {
|
|
|
729
729
|
if (!pe) {
|
|
730
730
|
pe = !0;
|
|
731
731
|
const i = Be("$waveui"), { config: o } = i, n = document.querySelector(o.on) || document.body;
|
|
732
|
-
n.classList.add("w-app"), o.theme === "auto" ? Ke(i) : i.switchTheme(o.theme, !0), We(i),
|
|
732
|
+
n.classList.add("w-app"), o.theme === "auto" ? Ke(i) : i.switchTheme(o.theme, !0), We(i), Pe(n, a, i), t._context.mixins.find((d) => d.mounted && delete d.mounted);
|
|
733
733
|
}
|
|
734
734
|
}
|
|
735
735
|
}), new j(t, l), te(j, q, !0);
|
|
@@ -1049,7 +1049,7 @@ const lt = {
|
|
|
1049
1049
|
function st(e, t, l, a, r, i) {
|
|
1050
1050
|
return s(), u("div", C({ class: "w-badge-wrap" }, W(e.$attrs, !0)), [
|
|
1051
1051
|
p(e.$slots, "default"),
|
|
1052
|
-
I(
|
|
1052
|
+
I(P, {
|
|
1053
1053
|
name: `${l.transition}`
|
|
1054
1054
|
}, {
|
|
1055
1055
|
default: g(() => [
|
|
@@ -1248,7 +1248,7 @@ function pt(e, t, l, a, r, i) {
|
|
|
1248
1248
|
]),
|
|
1249
1249
|
_: 1
|
|
1250
1250
|
}, 16)) : p(e.$slots, "default", { key: 1 }),
|
|
1251
|
-
I(
|
|
1251
|
+
I(P, { name: "scale-fade" }, {
|
|
1252
1252
|
default: g(() => [
|
|
1253
1253
|
l.loading ? (s(), u("div", ht, [
|
|
1254
1254
|
p(e.$slots, "loading", {}, () => [
|
|
@@ -1682,7 +1682,7 @@ const xt = {
|
|
|
1682
1682
|
this.isChecked = e;
|
|
1683
1683
|
}
|
|
1684
1684
|
}
|
|
1685
|
-
},
|
|
1685
|
+
}, Pt = /* @__PURE__ */ v(xt, [["render", Lt]]), Ot = ["innerHTML"];
|
|
1686
1686
|
function zt(e, t, l, a, r, i) {
|
|
1687
1687
|
const o = $("w-checkbox");
|
|
1688
1688
|
return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.checkboxItems.some((n) => n._isChecked), disabled: e.isDisabled }, {
|
|
@@ -1715,7 +1715,7 @@ function zt(e, t, l, a, r, i) {
|
|
|
1715
1715
|
}) : n.label ? (s(), u("div", {
|
|
1716
1716
|
key: 1,
|
|
1717
1717
|
innerHTML: n.label
|
|
1718
|
-
}, null, 8,
|
|
1718
|
+
}, null, 8, Ot)) : c("", !0)
|
|
1719
1719
|
]),
|
|
1720
1720
|
_: 2
|
|
1721
1721
|
}, 1040, ["model-value", "onUpdate:modelValue", "name", "disabled", "readonly", "class"]))), 128))
|
|
@@ -1976,7 +1976,7 @@ function Ft(e, t, l, a, r, i) {
|
|
|
1976
1976
|
opacity: l.overlayOpacity
|
|
1977
1977
|
}, {
|
|
1978
1978
|
default: g(() => [
|
|
1979
|
-
I(
|
|
1979
|
+
I(P, {
|
|
1980
1980
|
name: l.transition,
|
|
1981
1981
|
appear: "",
|
|
1982
1982
|
onAfterLeave: i.onBeforeClose
|
|
@@ -2144,7 +2144,7 @@ function Qt(e, t, l, a, r, i) {
|
|
|
2144
2144
|
}, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
|
|
2145
2145
|
p(e.$slots, "pushable")
|
|
2146
2146
|
]),
|
|
2147
|
-
I(
|
|
2147
|
+
I(P, {
|
|
2148
2148
|
name: "fade",
|
|
2149
2149
|
onBeforeLeave: i.onBeforeClose,
|
|
2150
2150
|
onAfterLeave: i.onClose
|
|
@@ -2175,7 +2175,7 @@ function Qt(e, t, l, a, r, i) {
|
|
|
2175
2175
|
"bg-color": l.overlayColor,
|
|
2176
2176
|
opacity: l.overlayOpacity
|
|
2177
2177
|
}, null, 8, ["modelValue", "onClick", "persistent", "bg-color", "opacity"])),
|
|
2178
|
-
I(
|
|
2178
|
+
I(P, {
|
|
2179
2179
|
name: i.transitionName,
|
|
2180
2180
|
appear: "",
|
|
2181
2181
|
onBeforeLeave: i.onBeforeClose,
|
|
@@ -2713,7 +2713,7 @@ function wl(e, t, l, a, r, i) {
|
|
|
2713
2713
|
style: T(i.wrapperStyles)
|
|
2714
2714
|
}, {
|
|
2715
2715
|
default: g(() => [
|
|
2716
|
-
I(
|
|
2716
|
+
I(P, {
|
|
2717
2717
|
name: l.transition,
|
|
2718
2718
|
appear: ""
|
|
2719
2719
|
}, {
|
|
@@ -3193,8 +3193,8 @@ const xl = {
|
|
|
3193
3193
|
this.inputValue = e, !e && e !== 0 && (this.isAutofilled = !1);
|
|
3194
3194
|
}
|
|
3195
3195
|
}
|
|
3196
|
-
},
|
|
3197
|
-
function
|
|
3196
|
+
}, Pl = /* @__PURE__ */ v(xl, [["render", Ll]]);
|
|
3197
|
+
function Ol(e, t, l, a, r, i) {
|
|
3198
3198
|
const o = $("w-icon"), n = $("w-list", !0);
|
|
3199
3199
|
return s(), u("ul", {
|
|
3200
3200
|
class: f(["w-list", i.classes])
|
|
@@ -3441,7 +3441,7 @@ const zl = {
|
|
|
3441
3441
|
}
|
|
3442
3442
|
}
|
|
3443
3443
|
}
|
|
3444
|
-
}, Ml = /* @__PURE__ */ v(zl, [["render",
|
|
3444
|
+
}, Ml = /* @__PURE__ */ v(zl, [["render", Ol]]), we = {
|
|
3445
3445
|
props: {
|
|
3446
3446
|
appendTo: { type: [String, Boolean, Object] },
|
|
3447
3447
|
fixed: { type: Boolean },
|
|
@@ -3597,7 +3597,7 @@ function El(e, t, l, a, r, i) {
|
|
|
3597
3597
|
const o = $("w-card"), n = $("w-overlay");
|
|
3598
3598
|
return s(), u(k, null, [
|
|
3599
3599
|
p(e.$slots, "activator", { on: i.activatorEventHandlers }),
|
|
3600
|
-
I(
|
|
3600
|
+
I(P, {
|
|
3601
3601
|
name: i.transitionName,
|
|
3602
3602
|
appear: ""
|
|
3603
3603
|
}, {
|
|
@@ -3791,7 +3791,7 @@ const Wl = {
|
|
|
3791
3791
|
}, Al = /* @__PURE__ */ v(Wl, [["render", El]]);
|
|
3792
3792
|
function Nl(e, t, l, a, r, i) {
|
|
3793
3793
|
const o = $("w-alert");
|
|
3794
|
-
return s(), m(
|
|
3794
|
+
return s(), m(P, {
|
|
3795
3795
|
name: i.transitionName,
|
|
3796
3796
|
appear: ""
|
|
3797
3797
|
}, {
|
|
@@ -3940,7 +3940,7 @@ const Kl = {
|
|
|
3940
3940
|
}, Hl = /* @__PURE__ */ v(Kl, [["render", Nl]]);
|
|
3941
3941
|
function Dl(e, t, l, a, r, i) {
|
|
3942
3942
|
const o = me("focus");
|
|
3943
|
-
return s(), m(
|
|
3943
|
+
return s(), m(P, {
|
|
3944
3944
|
name: "fade",
|
|
3945
3945
|
appear: "",
|
|
3946
3946
|
onAfterLeave: i.onClose
|
|
@@ -4637,9 +4637,9 @@ const _i = {
|
|
|
4637
4637
|
}, Ii = ["contenteditable", "id", "disabled", "tabindex", "innerHTML"], Ri = ["value", "name"], Ti = ["for"], Li = ["for"];
|
|
4638
4638
|
function xi(e, t, l, a, r, i) {
|
|
4639
4639
|
const o = $("w-icon"), n = $("w-list"), d = $("w-menu");
|
|
4640
|
-
return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.selectionString, disabled: e.isDisabled, readonly: e.isReadonly }, {
|
|
4640
|
+
return s(), m(V(e.formRegister ? "w-form-element" : "div"), C({ ref: "formEl" }, e.formRegister && { validators: e.validators, inputValue: i.selectionString, disabled: e.isDisabled, readonly: e.isReadonly, isFocused: e.isFocused }, {
|
|
4641
4641
|
valid: e.valid,
|
|
4642
|
-
"onUpdate:valid": t[
|
|
4642
|
+
"onUpdate:valid": t[11] || (t[11] = (h) => e.valid = h),
|
|
4643
4643
|
onReset: i.onReset,
|
|
4644
4644
|
wrap: i.hasLabel && l.labelPosition !== "inside",
|
|
4645
4645
|
class: i.classes
|
|
@@ -4658,7 +4658,8 @@ function xi(e, t, l, a, r, i) {
|
|
|
4658
4658
|
], 64)) : c("", !0),
|
|
4659
4659
|
I(d, C({
|
|
4660
4660
|
modelValue: e.showMenu,
|
|
4661
|
-
"onUpdate:modelValue": t[
|
|
4661
|
+
"onUpdate:modelValue": t[9] || (t[9] = (h) => e.showMenu = h),
|
|
4662
|
+
onClose: t[10] || (t[10] = (h) => !h && i.closeMenu()),
|
|
4662
4663
|
"menu-class": `w-select__menu ${l.menuClass || ""}`,
|
|
4663
4664
|
transition: "slide-fade-down",
|
|
4664
4665
|
"append-to": (l.menuProps || {}).appendTo !== void 0 ? (l.menuProps || {}).appendTo : void 0,
|
|
@@ -4669,7 +4670,7 @@ function xi(e, t, l, a, r, i) {
|
|
|
4669
4670
|
activator: g(({ on: h }) => [
|
|
4670
4671
|
w("div", {
|
|
4671
4672
|
class: f(["w-select__selection-wrap", i.inputWrapClasses]),
|
|
4672
|
-
onClick: t[5] || (t[5] = (y) => !e.isDisabled && !e.isReadonly &&
|
|
4673
|
+
onClick: t[5] || (t[5] = (y) => !e.isDisabled && !e.isReadonly && i.onInputFieldClick()),
|
|
4673
4674
|
role: "button",
|
|
4674
4675
|
"aria-haspopup": "listbox",
|
|
4675
4676
|
"aria-expanded": e.showMenu ? "true" : "false",
|
|
@@ -4743,8 +4744,8 @@ function xi(e, t, l, a, r, i) {
|
|
|
4743
4744
|
"onUpdate:modelValue": i.onInput,
|
|
4744
4745
|
onItemClick: t[6] || (t[6] = (h) => e.$emit("item-click", h)),
|
|
4745
4746
|
onItemSelect: i.onListItemSelect,
|
|
4746
|
-
"onKeydown:enter": t[7] || (t[7] = (h) => l.noUnselect && !l.multiple && i.closeMenu()),
|
|
4747
|
-
"onKeydown:escape":
|
|
4747
|
+
"onKeydown:enter": t[7] || (t[7] = (h) => l.noUnselect && !l.multiple && i.closeMenu("la3")),
|
|
4748
|
+
"onKeydown:escape": t[8] || (t[8] = (h) => e.showMenu && (this.showMenu = !1)),
|
|
4748
4749
|
items: i.selectItems,
|
|
4749
4750
|
multiple: l.multiple,
|
|
4750
4751
|
"arrows-navigation": "",
|
|
@@ -4776,7 +4777,7 @@ function xi(e, t, l, a, r, i) {
|
|
|
4776
4777
|
])
|
|
4777
4778
|
])
|
|
4778
4779
|
}))
|
|
4779
|
-
]), 1032, ["model-value", "onUpdate:modelValue", "onItemSelect", "
|
|
4780
|
+
]), 1032, ["model-value", "onUpdate:modelValue", "onItemSelect", "items", "multiple", "add-ids", "no-unselect", "selection-color", "item-color-key"])
|
|
4780
4781
|
]),
|
|
4781
4782
|
_: 3
|
|
4782
4783
|
}, 16, ["modelValue", "menu-class", "append-to"]),
|
|
@@ -4795,7 +4796,7 @@ function xi(e, t, l, a, r, i) {
|
|
|
4795
4796
|
_: 3
|
|
4796
4797
|
}, 16, ["valid", "onReset", "wrap", "class"]);
|
|
4797
4798
|
}
|
|
4798
|
-
const
|
|
4799
|
+
const Pi = {
|
|
4799
4800
|
name: "w-select",
|
|
4800
4801
|
mixins: [z],
|
|
4801
4802
|
props: {
|
|
@@ -4893,14 +4894,15 @@ const Oi = {
|
|
|
4893
4894
|
},
|
|
4894
4895
|
methods: {
|
|
4895
4896
|
onFocus(e) {
|
|
4896
|
-
|
|
4897
|
+
if (!this.isFocused)
|
|
4898
|
+
return this.isFocused = !0, this.$emit("focus", e), !1;
|
|
4897
4899
|
},
|
|
4898
4900
|
onBlur(e) {
|
|
4899
|
-
this.isFocused = !1, this.$emit("blur", e);
|
|
4901
|
+
this.showMenu || (this.isFocused = !1, this.$emit("blur", e));
|
|
4900
4902
|
},
|
|
4901
4903
|
onKeydown(e) {
|
|
4902
|
-
if (e.
|
|
4903
|
-
this.closeMenu();
|
|
4904
|
+
if (!e.metaKey && !e.ctrlKey && e.keyCode !== 9 && e.preventDefault(), e.keyCode === 27 && this.showMenu)
|
|
4905
|
+
this.closeMenu("la5");
|
|
4904
4906
|
else if (e.keyCode === 13)
|
|
4905
4907
|
this.openMenu();
|
|
4906
4908
|
else if ([38, 40].includes(e.keyCode))
|
|
@@ -4923,8 +4925,11 @@ const Oi = {
|
|
|
4923
4925
|
const t = this.multiple ? e : e[0];
|
|
4924
4926
|
this.$emit("update:modelValue", t), this.$emit("input", t);
|
|
4925
4927
|
},
|
|
4928
|
+
onInputFieldClick() {
|
|
4929
|
+
this.showMenu ? this.showMenu = !1 : this.openMenu();
|
|
4930
|
+
},
|
|
4926
4931
|
onListItemSelect(e) {
|
|
4927
|
-
this.$emit("item-select", e), this.multiple || this.
|
|
4932
|
+
this.$emit("item-select", e), this.multiple || (this.showMenu = !1);
|
|
4928
4933
|
},
|
|
4929
4934
|
onReset() {
|
|
4930
4935
|
this.inputValue = [];
|
|
@@ -4947,7 +4952,8 @@ const Oi = {
|
|
|
4947
4952
|
}, 100);
|
|
4948
4953
|
},
|
|
4949
4954
|
closeMenu() {
|
|
4950
|
-
|
|
4955
|
+
var e;
|
|
4956
|
+
((e = this.menuProps) == null ? void 0 : e.hideOnMenuClick) !== !1 && (this.showMenu = !1, setTimeout(() => this.$refs["selection-input"].focus(), 50));
|
|
4951
4957
|
}
|
|
4952
4958
|
},
|
|
4953
4959
|
created() {
|
|
@@ -4961,7 +4967,7 @@ const Oi = {
|
|
|
4961
4967
|
this.inputValue = this.checkSelection(this.modelValue);
|
|
4962
4968
|
}
|
|
4963
4969
|
}
|
|
4964
|
-
},
|
|
4970
|
+
}, Oi = /* @__PURE__ */ v(Pi, [["render", xi]]), zi = ["for"], Mi = ["for", "innerHTML"], Ei = { class: "w-slider__track-wrap" }, Wi = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-readonly"], Ai = ["id", "name", "model-value", "disabled", "readonly", "aria-readonly", "tabindex"], Ni = ["for"], Ki = { key: 0 }, Hi = {
|
|
4965
4971
|
key: 0,
|
|
4966
4972
|
class: "w-slider__step-labels"
|
|
4967
4973
|
}, Di = ["onClick"], Fi = ["for"], ji = ["for", "innerHTML"];
|
|
@@ -5522,7 +5528,7 @@ function vs(e, t, l, a, r, i) {
|
|
|
5522
5528
|
])), 128))
|
|
5523
5529
|
]),
|
|
5524
5530
|
_: 3
|
|
5525
|
-
}, 8, ["name"])) : (s(), m(
|
|
5531
|
+
}, 8, ["name"])) : (s(), m(P, {
|
|
5526
5532
|
key: 1,
|
|
5527
5533
|
name: i.transitionName,
|
|
5528
5534
|
mode: i.transitionMode
|
|
@@ -5747,10 +5753,10 @@ const ks = {
|
|
|
5747
5753
|
}, Rs = ["colspan"], Ts = {
|
|
5748
5754
|
key: 0,
|
|
5749
5755
|
class: "w-table__progress-bar"
|
|
5750
|
-
}, Ls = ["colspan"], xs = { class: "w-table__loading-text" },
|
|
5756
|
+
}, Ls = ["colspan"], xs = { class: "w-table__loading-text" }, Ps = {
|
|
5751
5757
|
key: 1,
|
|
5752
5758
|
class: "no-data"
|
|
5753
|
-
},
|
|
5759
|
+
}, Os = ["colspan"], zs = ["onClick"], Ms = ["data-label"], Es = ["data-label"], Ws = ["innerHTML"], As = {
|
|
5754
5760
|
key: 2,
|
|
5755
5761
|
class: "w-table__row w-table__row--expansion"
|
|
5756
5762
|
}, Ns = ["colspan"], Ks = { key: 0 }, Hs = {
|
|
@@ -5855,7 +5861,7 @@ function Js(e, t, l, a, r, i) {
|
|
|
5855
5861
|
])
|
|
5856
5862
|
])
|
|
5857
5863
|
], 8, Ls)
|
|
5858
|
-
])) : i.tableItems.length ? c("", !0) : (s(), u("tr",
|
|
5864
|
+
])) : i.tableItems.length ? c("", !0) : (s(), u("tr", Ps, [
|
|
5859
5865
|
w("td", {
|
|
5860
5866
|
class: "w-table__cell text-center",
|
|
5861
5867
|
colspan: l.headers.length
|
|
@@ -5863,7 +5869,7 @@ function Js(e, t, l, a, r, i) {
|
|
|
5863
5869
|
p(e.$slots, "no-data", {}, () => [
|
|
5864
5870
|
S("No data to show.")
|
|
5865
5871
|
])
|
|
5866
|
-
], 8,
|
|
5872
|
+
], 8, Os)
|
|
5867
5873
|
])),
|
|
5868
5874
|
i.tableItems.length && l.loading !== !0 ? (s(!0), u(k, { key: 2 }, L(i.paginatedItems, (b, R) => (s(), u(k, { key: R }, [
|
|
5869
5875
|
e.$slots.item ? p(e.$slots, "item", {
|
|
@@ -5877,10 +5883,10 @@ function Js(e, t, l, a, r, i) {
|
|
|
5877
5883
|
class: f(["w-table__row", { "w-table__row--selected": i.selectedRowsByUid[b._uid] !== void 0, "w-table__row--expanded": i.expandedRowsByUid[b._uid] !== void 0 }]),
|
|
5878
5884
|
onClick: (x) => i.doSelectRow(b, R)
|
|
5879
5885
|
}, [
|
|
5880
|
-
(s(!0), u(k, null, L(l.headers, (x,
|
|
5881
|
-
e.$slots[`item-cell.${x.key}`] || e.$slots[`item-cell.${
|
|
5886
|
+
(s(!0), u(k, null, L(l.headers, (x, O) => (s(), u(k, null, [
|
|
5887
|
+
e.$slots[`item-cell.${x.key}`] || e.$slots[`item-cell.${O + 1}`] || e.$slots["item-cell"] ? (s(), u("td", {
|
|
5882
5888
|
class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
|
|
5883
|
-
key: `${
|
|
5889
|
+
key: `${O}-a`,
|
|
5884
5890
|
"data-label": x.label
|
|
5885
5891
|
}, [
|
|
5886
5892
|
e.$slots[`item-cell.${x.key}`] ? p(e.$slots, `item-cell.${x.key}`, {
|
|
@@ -5889,7 +5895,7 @@ function Js(e, t, l, a, r, i) {
|
|
|
5889
5895
|
item: b,
|
|
5890
5896
|
label: b[x.key] || "",
|
|
5891
5897
|
index: R + 1
|
|
5892
|
-
}) : e.$slots[`item-cell.${
|
|
5898
|
+
}) : e.$slots[`item-cell.${O + 1}`] ? p(e.$slots, `item-cell.${O + 1}`, {
|
|
5893
5899
|
key: 1,
|
|
5894
5900
|
header: x,
|
|
5895
5901
|
item: b,
|
|
@@ -5902,21 +5908,21 @@ function Js(e, t, l, a, r, i) {
|
|
|
5902
5908
|
label: b[x.key] || "",
|
|
5903
5909
|
index: R + 1
|
|
5904
5910
|
}) : c("", !0),
|
|
5905
|
-
|
|
5911
|
+
O < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
|
|
5906
5912
|
key: 3,
|
|
5907
|
-
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover ===
|
|
5913
|
+
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === O, "w-table__col-resizer--active": e.colResizing.columnIndex === O }])
|
|
5908
5914
|
}, null, 2)) : c("", !0)
|
|
5909
5915
|
], 10, Ms)) : (s(), u("td", {
|
|
5910
5916
|
class: f(["w-table__cell", { [`text-${x.align || "left"}`]: !0, "w-table__cell--sticky": x.sticky }]),
|
|
5911
|
-
key: `${
|
|
5917
|
+
key: `${O}-b`,
|
|
5912
5918
|
"data-label": x.label
|
|
5913
5919
|
}, [
|
|
5914
5920
|
w("div", {
|
|
5915
5921
|
innerHTML: b[x.key] || ""
|
|
5916
5922
|
}, null, 8, Ws),
|
|
5917
|
-
|
|
5923
|
+
O < l.headers.length - 1 && l.resizableColumns ? (s(), u("span", {
|
|
5918
5924
|
key: 0,
|
|
5919
|
-
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover ===
|
|
5925
|
+
class: f(["w-table__col-resizer", { "w-table__col-resizer--hover": e.colResizing.hover === O, "w-table__col-resizer--active": e.colResizing.columnIndex === O }])
|
|
5920
5926
|
}, null, 2)) : c("", !0)
|
|
5921
5927
|
], 10, Es))
|
|
5922
5928
|
], 64))), 256))
|
|
@@ -6086,7 +6092,14 @@ const ge = 15, Qs = {
|
|
|
6086
6092
|
columnEl: null,
|
|
6087
6093
|
nextColumnEl: null
|
|
6088
6094
|
},
|
|
6089
|
-
paginationConfig: {
|
|
6095
|
+
paginationConfig: {
|
|
6096
|
+
itemsPerPage: 0,
|
|
6097
|
+
itemsPerPageOptions: {},
|
|
6098
|
+
start: void 0,
|
|
6099
|
+
end: void 0,
|
|
6100
|
+
page: 1,
|
|
6101
|
+
total: 0
|
|
6102
|
+
}
|
|
6090
6103
|
}),
|
|
6091
6104
|
computed: {
|
|
6092
6105
|
tableItems() {
|
|
@@ -6707,7 +6720,7 @@ const ba = {
|
|
|
6707
6720
|
function wa(e, t, l, a, r, i) {
|
|
6708
6721
|
return s(), u(k, null, [
|
|
6709
6722
|
p(e.$slots, "activator", { on: i.activatorEventHandlers }),
|
|
6710
|
-
I(
|
|
6723
|
+
I(P, {
|
|
6711
6724
|
name: i.transitionName,
|
|
6712
6725
|
appear: ""
|
|
6713
6726
|
}, {
|
|
@@ -6813,7 +6826,7 @@ const va = {
|
|
|
6813
6826
|
}
|
|
6814
6827
|
}, ka = /* @__PURE__ */ v(va, [["render", wa]]);
|
|
6815
6828
|
function _a(e, t, l, a, r, i) {
|
|
6816
|
-
return s(), m(
|
|
6829
|
+
return s(), m(P, C({ name: "bounce" }, e.$props), {
|
|
6817
6830
|
default: g(() => [
|
|
6818
6831
|
p(e.$slots, "default")
|
|
6819
6832
|
]),
|
|
@@ -6828,7 +6841,7 @@ const Ca = {
|
|
|
6828
6841
|
}
|
|
6829
6842
|
}, Sa = /* @__PURE__ */ v(Ca, [["render", _a]]);
|
|
6830
6843
|
function Ba(e, t, l, a, r, i) {
|
|
6831
|
-
return s(), m(
|
|
6844
|
+
return s(), m(P, {
|
|
6832
6845
|
name: "expand",
|
|
6833
6846
|
mode: "out-in",
|
|
6834
6847
|
css: !1,
|
|
@@ -6940,7 +6953,7 @@ const $a = {
|
|
|
6940
6953
|
}
|
|
6941
6954
|
}, Va = /* @__PURE__ */ v($a, [["render", Ba]]);
|
|
6942
6955
|
function Ia(e, t, l, a, r, i) {
|
|
6943
|
-
return s(), m(
|
|
6956
|
+
return s(), m(P, C({ name: "fade" }, e.$props), {
|
|
6944
6957
|
default: g(() => [
|
|
6945
6958
|
p(e.$slots, "default")
|
|
6946
6959
|
]),
|
|
@@ -6955,7 +6968,7 @@ const Ra = {
|
|
|
6955
6968
|
}
|
|
6956
6969
|
}, Ta = /* @__PURE__ */ v(Ra, [["render", Ia]]);
|
|
6957
6970
|
function La(e, t, l, a, r, i) {
|
|
6958
|
-
return s(), m(
|
|
6971
|
+
return s(), m(P, C({ name: "scale" }, e.$props), {
|
|
6959
6972
|
default: g(() => [
|
|
6960
6973
|
p(e.$slots, "default")
|
|
6961
6974
|
]),
|
|
@@ -6968,9 +6981,9 @@ const xa = {
|
|
|
6968
6981
|
appear: { type: Boolean },
|
|
6969
6982
|
duration: { type: [Number, String] }
|
|
6970
6983
|
}
|
|
6971
|
-
},
|
|
6972
|
-
function
|
|
6973
|
-
return s(), m(
|
|
6984
|
+
}, Pa = /* @__PURE__ */ v(xa, [["render", La]]);
|
|
6985
|
+
function Oa(e, t, l, a, r, i) {
|
|
6986
|
+
return s(), m(P, C({ name: "scale-fade" }, e.$props), {
|
|
6974
6987
|
default: g(() => [
|
|
6975
6988
|
p(e.$slots, "default")
|
|
6976
6989
|
]),
|
|
@@ -6983,9 +6996,9 @@ const za = {
|
|
|
6983
6996
|
appear: { type: Boolean },
|
|
6984
6997
|
duration: { type: [Number, String] }
|
|
6985
6998
|
}
|
|
6986
|
-
}, Ma = /* @__PURE__ */ v(za, [["render",
|
|
6999
|
+
}, Ma = /* @__PURE__ */ v(za, [["render", Oa]]);
|
|
6987
7000
|
function Ea(e, t, l, a, r, i) {
|
|
6988
|
-
return s(), m(
|
|
7001
|
+
return s(), m(P, C({ name: i.transitionName }, e.$props), {
|
|
6989
7002
|
default: g(() => [
|
|
6990
7003
|
p(e.$slots, "default")
|
|
6991
7004
|
]),
|
|
@@ -7012,7 +7025,7 @@ const Wa = {
|
|
|
7012
7025
|
}
|
|
7013
7026
|
}, Aa = /* @__PURE__ */ v(Wa, [["render", Ea]]);
|
|
7014
7027
|
function Na(e, t, l, a, r, i) {
|
|
7015
|
-
return s(), m(
|
|
7028
|
+
return s(), m(P, C({ name: i.transitionName }, e.$props), {
|
|
7016
7029
|
default: g(() => [
|
|
7017
7030
|
p(e.$slots, "default")
|
|
7018
7031
|
]),
|
|
@@ -7039,7 +7052,7 @@ const Ka = {
|
|
|
7039
7052
|
}
|
|
7040
7053
|
}, Ha = /* @__PURE__ */ v(Ka, [["render", Na]]);
|
|
7041
7054
|
function Da(e, t, l, a, r, i) {
|
|
7042
|
-
return s(), m(
|
|
7055
|
+
return s(), m(P, C({ name: "twist" }, e.$props), {
|
|
7043
7056
|
default: g(() => [
|
|
7044
7057
|
p(e.$slots, "default")
|
|
7045
7058
|
]),
|
|
@@ -7307,7 +7320,7 @@ const Ya = {
|
|
|
7307
7320
|
WBreadcrumbs: ut,
|
|
7308
7321
|
WButton: wt,
|
|
7309
7322
|
WCard: Ct,
|
|
7310
|
-
WCheckbox:
|
|
7323
|
+
WCheckbox: Pt,
|
|
7311
7324
|
WCheckboxes: Et,
|
|
7312
7325
|
WConfirm: Nt,
|
|
7313
7326
|
WDatePicker: Dt,
|
|
@@ -7320,7 +7333,7 @@ const Ya = {
|
|
|
7320
7333
|
WGrid: fl,
|
|
7321
7334
|
WIcon: bl,
|
|
7322
7335
|
WImage: kl,
|
|
7323
|
-
WInput:
|
|
7336
|
+
WInput: Pl,
|
|
7324
7337
|
WList: Ml,
|
|
7325
7338
|
WMenu: Al,
|
|
7326
7339
|
WNotification: Hl,
|
|
@@ -7331,7 +7344,7 @@ const Ya = {
|
|
|
7331
7344
|
WRadios: gi,
|
|
7332
7345
|
WRating: vi,
|
|
7333
7346
|
WScrollable: Si,
|
|
7334
|
-
WSelect:
|
|
7347
|
+
WSelect: Oi,
|
|
7335
7348
|
WSlider: Xi,
|
|
7336
7349
|
WSpinner: Qi,
|
|
7337
7350
|
WSteps: ts,
|
|
@@ -7346,7 +7359,7 @@ const Ya = {
|
|
|
7346
7359
|
WTransitionBounce: Sa,
|
|
7347
7360
|
WTransitionExpand: Va,
|
|
7348
7361
|
WTransitionFade: Ta,
|
|
7349
|
-
WTransitionScale:
|
|
7362
|
+
WTransitionScale: Pa,
|
|
7350
7363
|
WTransitionScaleFade: Ma,
|
|
7351
7364
|
WTransitionSlide: Aa,
|
|
7352
7365
|
WTransitionSlideFade: Ha,
|