@qikdev/vue-ui 0.2.166 → 0.2.168
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/lib.es.js +28 -14
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +3 -3
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './style.css';
|
|
2
2
|
import { defineComponent as Vr, ref as Zt, toRefs as xa, onMounted as wa, onBeforeUnmount as Ho, watch as Er, computed as fr, openBlock as o, createElementBlock as d, renderSlot as H, createCommentVNode as _, normalizeClass as L, useSlots as qo, reactive as Ti, provide as Li, resolveComponent as y, Fragment as S, unref as zn, createBlock as k, withCtx as h, createVNode as m, renderList as F, toDisplayString as b, withDirectives as K, vShow as di, createElementVNode as x, withModifiers as z, createTextVNode as T, h as mr, mergeProps as Oi, toHandlers as Ar, normalizeStyle as ze, resolveDynamicComponent as ft, vModelSelect as Tt, pushScopeId as He, popScopeId as qe, Teleport as Wo, vModelText as se, withKeys as ge, TransitionGroup as Go, nextTick as Sa, vModelDynamic as Hn } from "vue";
|
|
3
3
|
import { EventDispatcher as Ko } from "@qikdev/sdk";
|
|
4
|
-
const Yo = "0.2.
|
|
4
|
+
const Yo = "0.2.168";
|
|
5
5
|
class Lt extends Error {
|
|
6
6
|
}
|
|
7
7
|
class Zo extends Lt {
|
|
@@ -5697,6 +5697,19 @@ const ny = {
|
|
|
5697
5697
|
},
|
|
5698
5698
|
mixins: [Pe],
|
|
5699
5699
|
computed: {
|
|
5700
|
+
enabled() {
|
|
5701
|
+
var t, n;
|
|
5702
|
+
const e = this;
|
|
5703
|
+
switch (typeof ((n = (t = e.column) == null ? void 0 : t.button) == null ? void 0 : n.enabled)) {
|
|
5704
|
+
case "function":
|
|
5705
|
+
return e.column.button.enabled(e.row, e.column);
|
|
5706
|
+
case "undefined":
|
|
5707
|
+
case "null":
|
|
5708
|
+
return !0;
|
|
5709
|
+
default:
|
|
5710
|
+
return e.button.enabled;
|
|
5711
|
+
}
|
|
5712
|
+
},
|
|
5700
5713
|
button() {
|
|
5701
5714
|
return this.column.button;
|
|
5702
5715
|
},
|
|
@@ -5718,7 +5731,8 @@ const ny = {
|
|
|
5718
5731
|
function ry(e, t, n, r, s, i) {
|
|
5719
5732
|
const a = y("ux-icon"), l = y("ux-button");
|
|
5720
5733
|
return o(), d("td", iy, [
|
|
5721
|
-
|
|
5734
|
+
i.enabled ? (o(), k(l, {
|
|
5735
|
+
key: 0,
|
|
5722
5736
|
color: i.button.color,
|
|
5723
5737
|
size: i.button.size,
|
|
5724
5738
|
loading: s.processing,
|
|
@@ -5735,10 +5749,10 @@ function ry(e, t, n, r, s, i) {
|
|
|
5735
5749
|
}, null, 8, ["icon"])) : _("", !0)
|
|
5736
5750
|
]),
|
|
5737
5751
|
_: 1
|
|
5738
|
-
}, 8, ["color", "size", "loading", "onClick"])
|
|
5752
|
+
}, 8, ["color", "size", "loading", "onClick"])) : _("", !0)
|
|
5739
5753
|
]);
|
|
5740
5754
|
}
|
|
5741
|
-
const sy = /* @__PURE__ */ C(ny, [["render", ry], ["__scopeId", "data-v-
|
|
5755
|
+
const sy = /* @__PURE__ */ C(ny, [["render", ry], ["__scopeId", "data-v-160b5461"]]);
|
|
5742
5756
|
const ay = {
|
|
5743
5757
|
mixins: [Pe],
|
|
5744
5758
|
methods: {
|
|
@@ -8762,7 +8776,7 @@ const Ig = {
|
|
|
8762
8776
|
return "i";
|
|
8763
8777
|
}
|
|
8764
8778
|
}
|
|
8765
|
-
}, Fg = (e) => (He("data-v-
|
|
8779
|
+
}, Fg = (e) => (He("data-v-b9019dd2"), e = e(), qe(), e), $g = { class: "ux-progress" }, Ng = /* @__PURE__ */ Fg(() => /* @__PURE__ */ x("div", { class: "ux-progress-bg" }, null, -1));
|
|
8766
8780
|
function Lg(e, t, n, r, s, i) {
|
|
8767
8781
|
return o(), d("div", $g, [
|
|
8768
8782
|
Ng,
|
|
@@ -8772,7 +8786,7 @@ function Lg(e, t, n, r, s, i) {
|
|
|
8772
8786
|
}, null, 4)
|
|
8773
8787
|
]);
|
|
8774
8788
|
}
|
|
8775
|
-
const Pg = /* @__PURE__ */ C(Ig, [["render", Lg], ["__scopeId", "data-v-
|
|
8789
|
+
const Pg = /* @__PURE__ */ C(Ig, [["render", Lg], ["__scopeId", "data-v-b9019dd2"]]);
|
|
8776
8790
|
const Ug = {
|
|
8777
8791
|
props: {
|
|
8778
8792
|
value: {},
|
|
@@ -11732,7 +11746,7 @@ function V1(e, t, n, r, s, i) {
|
|
|
11732
11746
|
key: 0,
|
|
11733
11747
|
class: "items",
|
|
11734
11748
|
modelValue: e.model,
|
|
11735
|
-
"onUpdate:modelValue": t[
|
|
11749
|
+
"onUpdate:modelValue": t[0] || (t[0] = (v) => e.model = v)
|
|
11736
11750
|
}, {
|
|
11737
11751
|
item: h(({ element: v, index: w }) => [
|
|
11738
11752
|
(o(), k(u, {
|
|
@@ -11744,13 +11758,13 @@ function V1(e, t, n, r, s, i) {
|
|
|
11744
11758
|
key: 0,
|
|
11745
11759
|
size: "sm",
|
|
11746
11760
|
icon: "",
|
|
11747
|
-
onClick:
|
|
11761
|
+
onClick: z((O) => e.$actions.open([v]), ["stop", "prevent"])
|
|
11748
11762
|
}, {
|
|
11749
11763
|
default: h(() => [
|
|
11750
11764
|
m(a, { icon: "fa-ellipsis" })
|
|
11751
11765
|
]),
|
|
11752
|
-
_:
|
|
11753
|
-
})) : _("", !0),
|
|
11766
|
+
_: 2
|
|
11767
|
+
}, 1032, ["onClick"])) : _("", !0),
|
|
11754
11768
|
i.canEdit(v) ? (o(), k(l, {
|
|
11755
11769
|
key: 1,
|
|
11756
11770
|
size: "sm",
|
|
@@ -11784,7 +11798,7 @@ function V1(e, t, n, r, s, i) {
|
|
|
11784
11798
|
m(l, {
|
|
11785
11799
|
size: "sm",
|
|
11786
11800
|
icon: "",
|
|
11787
|
-
onClick: t[
|
|
11801
|
+
onClick: t[1] || (t[1] = z((v) => i.swap(e.model), ["stop", "prevent"]))
|
|
11788
11802
|
}, {
|
|
11789
11803
|
default: h(() => [
|
|
11790
11804
|
m(a, { icon: "fa-retweet" })
|
|
@@ -11795,7 +11809,7 @@ function V1(e, t, n, r, s, i) {
|
|
|
11795
11809
|
key: 0,
|
|
11796
11810
|
size: "sm",
|
|
11797
11811
|
icon: "",
|
|
11798
|
-
onClick: t[
|
|
11812
|
+
onClick: t[2] || (t[2] = z((v) => e.$actions.open([e.model]), ["stop", "prevent"]))
|
|
11799
11813
|
}, {
|
|
11800
11814
|
default: h(() => [
|
|
11801
11815
|
m(a, { icon: "fa-ellipsis" })
|
|
@@ -11806,7 +11820,7 @@ function V1(e, t, n, r, s, i) {
|
|
|
11806
11820
|
key: 1,
|
|
11807
11821
|
size: "sm",
|
|
11808
11822
|
icon: "",
|
|
11809
|
-
onClick: t[
|
|
11823
|
+
onClick: t[3] || (t[3] = z((v) => i.edit(e.model), ["stop", "prevent"]))
|
|
11810
11824
|
}, {
|
|
11811
11825
|
default: h(() => [
|
|
11812
11826
|
m(a, { icon: "fa-pencil" })
|
|
@@ -11871,7 +11885,7 @@ function V1(e, t, n, r, s, i) {
|
|
|
11871
11885
|
})) : _("", !0)
|
|
11872
11886
|
], 64);
|
|
11873
11887
|
}
|
|
11874
|
-
const oo = /* @__PURE__ */ C(w1, [["render", V1], ["__scopeId", "data-v-
|
|
11888
|
+
const oo = /* @__PURE__ */ C(w1, [["render", V1], ["__scopeId", "data-v-46548829"]]);
|
|
11875
11889
|
function E1(e) {
|
|
11876
11890
|
return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
|
|
11877
11891
|
}
|