@qikdev/vue-ui 0.2.133 → 0.2.135
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 +46 -23
- 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 Vi, ref as Zt, toRefs as ba, onMounted as ka, onBeforeUnmount as zo, watch as Ci, computed as di, openBlock as o, createElementBlock as d, renderSlot as B, createCommentVNode as _, useSlots as Ho, reactive as Sr, provide as $r, resolveComponent as y, normalizeClass as U, Fragment as w, unref as Bn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as v, withDirectives as K, vShow as ci, createElementVNode as x, withModifiers as W, createTextVNode as S, h as fi, resolveDynamicComponent as Ot, mergeProps as Ei, toHandlers as xa, vModelSelect as Tt, pushScopeId as tt, popScopeId as nt, normalizeStyle as ut, Teleport as qo, vModelText as se, withKeys as ge, TransitionGroup as Go, nextTick as wa, vModelDynamic as zn } from "vue";
|
|
3
3
|
import { EventDispatcher as Wo } from "@qikdev/sdk";
|
|
4
|
-
const Ko = "0.2.
|
|
4
|
+
const Ko = "0.2.135";
|
|
5
5
|
class Lt extends Error {
|
|
6
6
|
}
|
|
7
7
|
class Yo extends Lt {
|
|
@@ -6840,11 +6840,14 @@ const ne = {
|
|
|
6840
6840
|
removeLabel() {
|
|
6841
6841
|
return "Remove";
|
|
6842
6842
|
},
|
|
6843
|
+
size() {
|
|
6844
|
+
return this.field.size;
|
|
6845
|
+
},
|
|
6843
6846
|
numValues() {
|
|
6844
6847
|
return this.singleValue ? 1 : (this.value || []).length || 0;
|
|
6845
6848
|
},
|
|
6846
6849
|
showLabel() {
|
|
6847
|
-
return this.field.title;
|
|
6850
|
+
return this.field.title && !this.field.hideTitle;
|
|
6848
6851
|
},
|
|
6849
6852
|
showDescription() {
|
|
6850
6853
|
return this.description;
|
|
@@ -7106,7 +7109,7 @@ const c_ = {
|
|
|
7106
7109
|
}));
|
|
7107
7110
|
}
|
|
7108
7111
|
}
|
|
7109
|
-
}, f_ = (e) => (tt("data-v-
|
|
7112
|
+
}, f_ = (e) => (tt("data-v-0525e84f"), e = e(), nt(), e), m_ = {
|
|
7110
7113
|
key: 0,
|
|
7111
7114
|
class: "ux-field-title"
|
|
7112
7115
|
}, h_ = {
|
|
@@ -7178,12 +7181,15 @@ function M_(e, t, n, i, s, r) {
|
|
|
7178
7181
|
e.canAddValue ? (o(), d(w, { key: 0 }, [
|
|
7179
7182
|
x("div", b_, [
|
|
7180
7183
|
B(e.$slots, "default", {}, () => [
|
|
7181
|
-
m(f, {
|
|
7184
|
+
m(f, {
|
|
7185
|
+
size: e.size,
|
|
7186
|
+
tag: "div"
|
|
7187
|
+
}, {
|
|
7182
7188
|
default: h(() => [
|
|
7183
7189
|
S(v(r.summary), 1)
|
|
7184
7190
|
]),
|
|
7185
7191
|
_: 1
|
|
7186
|
-
})
|
|
7192
|
+
}, 8, ["size"])
|
|
7187
7193
|
], !0)
|
|
7188
7194
|
]),
|
|
7189
7195
|
K(x("select", {
|
|
@@ -7208,12 +7214,15 @@ function M_(e, t, n, i, s, r) {
|
|
|
7208
7214
|
], 64)) : (o(), d(w, { key: 1 }, [
|
|
7209
7215
|
x("div", O_, [
|
|
7210
7216
|
B(e.$slots, "default", {}, () => [
|
|
7211
|
-
m(f, {
|
|
7217
|
+
m(f, {
|
|
7218
|
+
size: e.size,
|
|
7219
|
+
tag: "div"
|
|
7220
|
+
}, {
|
|
7212
7221
|
default: h(() => [
|
|
7213
7222
|
S(v(r.summary), 1)
|
|
7214
7223
|
]),
|
|
7215
7224
|
_: 1
|
|
7216
|
-
})
|
|
7225
|
+
}, 8, ["size"])
|
|
7217
7226
|
], !0)
|
|
7218
7227
|
]),
|
|
7219
7228
|
K(x("select", {
|
|
@@ -7239,7 +7248,7 @@ function M_(e, t, n, i, s, r) {
|
|
|
7239
7248
|
]))
|
|
7240
7249
|
], 2);
|
|
7241
7250
|
}
|
|
7242
|
-
const Ct = /* @__PURE__ */ V(c_, [["render", M_], ["__scopeId", "data-v-
|
|
7251
|
+
const Ct = /* @__PURE__ */ V(c_, [["render", M_], ["__scopeId", "data-v-0525e84f"]]);
|
|
7243
7252
|
const I_ = {
|
|
7244
7253
|
props: {
|
|
7245
7254
|
total: {
|
|
@@ -7637,7 +7646,7 @@ function K_(e, t, n, i, s, r) {
|
|
|
7637
7646
|
_: 3
|
|
7638
7647
|
}, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
7639
7648
|
}
|
|
7640
|
-
const Y_ = /* @__PURE__ */ V(G_, [["render", K_], ["__scopeId", "data-v-
|
|
7649
|
+
const Y_ = /* @__PURE__ */ V(G_, [["render", K_], ["__scopeId", "data-v-42d52daf"]]);
|
|
7641
7650
|
const Z_ = {
|
|
7642
7651
|
props: {
|
|
7643
7652
|
value: {
|
|
@@ -7784,12 +7793,15 @@ const rg = {
|
|
|
7784
7793
|
},
|
|
7785
7794
|
right: {
|
|
7786
7795
|
type: Boolean
|
|
7796
|
+
},
|
|
7797
|
+
fixed: {
|
|
7798
|
+
type: Boolean
|
|
7787
7799
|
}
|
|
7788
7800
|
},
|
|
7789
7801
|
computed: {
|
|
7790
7802
|
classes() {
|
|
7791
7803
|
var e = [];
|
|
7792
|
-
return e.push(this.icon), this.spin && e.push("fa-spin"), this.left && e.push("ux-icon-left"), this.right && e.push("ux-icon-right"), e;
|
|
7804
|
+
return e.push(this.icon), this.spin && e.push("fa-spin"), this.left && e.push("ux-icon-left"), this.right && e.push("ux-icon-right"), this.fixed && e.push("ux-icon-fixed"), e;
|
|
7793
7805
|
},
|
|
7794
7806
|
element() {
|
|
7795
7807
|
return "i";
|
|
@@ -7801,7 +7813,7 @@ function ig(e, t, n, i, s, r) {
|
|
|
7801
7813
|
class: U(["ux-icon fa", r.classes])
|
|
7802
7814
|
}, null, 8, ["class"]);
|
|
7803
7815
|
}
|
|
7804
|
-
const sg = /* @__PURE__ */ V(rg, [["render", ig], ["__scopeId", "data-v-
|
|
7816
|
+
const sg = /* @__PURE__ */ V(rg, [["render", ig], ["__scopeId", "data-v-028189aa"]]), Zn = {
|
|
7805
7817
|
cache: {}
|
|
7806
7818
|
};
|
|
7807
7819
|
const ag = {
|
|
@@ -12593,6 +12605,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12593
12605
|
}, {
|
|
12594
12606
|
default: h(() => [
|
|
12595
12607
|
m(u, {
|
|
12608
|
+
size: e.size,
|
|
12596
12609
|
tag: "a",
|
|
12597
12610
|
icon: "",
|
|
12598
12611
|
onClick: (g) => r.toggleMask(p)
|
|
@@ -12603,7 +12616,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12603
12616
|
}, null, 8, ["icon"])
|
|
12604
12617
|
]),
|
|
12605
12618
|
_: 2
|
|
12606
|
-
}, 1032, ["onClick"])
|
|
12619
|
+
}, 1032, ["size", "onClick"])
|
|
12607
12620
|
]),
|
|
12608
12621
|
_: 2
|
|
12609
12622
|
}, 1024)) : _("", !0),
|
|
@@ -12614,6 +12627,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12614
12627
|
}, {
|
|
12615
12628
|
default: h(() => [
|
|
12616
12629
|
m(u, {
|
|
12630
|
+
size: e.size,
|
|
12617
12631
|
tag: "a",
|
|
12618
12632
|
icon: "",
|
|
12619
12633
|
onClick: (g) => r.copy(p)
|
|
@@ -12622,7 +12636,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12622
12636
|
m(l, { icon: "fa-copy" })
|
|
12623
12637
|
]),
|
|
12624
12638
|
_: 2
|
|
12625
|
-
}, 1032, ["onClick"])
|
|
12639
|
+
}, 1032, ["size", "onClick"])
|
|
12626
12640
|
]),
|
|
12627
12641
|
_: 2
|
|
12628
12642
|
}, 1024)) : _("", !0),
|
|
@@ -12633,6 +12647,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12633
12647
|
default: h(() => [
|
|
12634
12648
|
e.canRemoveValue ? (o(), k(u, {
|
|
12635
12649
|
key: 0,
|
|
12650
|
+
size: e.size,
|
|
12636
12651
|
tag: "a",
|
|
12637
12652
|
icon: "",
|
|
12638
12653
|
onClick: (g) => e.remove(c)
|
|
@@ -12641,7 +12656,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12641
12656
|
m(l, { icon: "fa-times" })
|
|
12642
12657
|
]),
|
|
12643
12658
|
_: 2
|
|
12644
|
-
}, 1032, ["onClick"])) : _("", !0)
|
|
12659
|
+
}, 1032, ["size", "onClick"])) : _("", !0)
|
|
12645
12660
|
]),
|
|
12646
12661
|
_: 2
|
|
12647
12662
|
}, 1024)
|
|
@@ -12650,6 +12665,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12650
12665
|
}, 1024))), 128)),
|
|
12651
12666
|
e.canAddValue ? (o(), k(u, {
|
|
12652
12667
|
key: 0,
|
|
12668
|
+
size: e.size,
|
|
12653
12669
|
onClick: t[4] || (t[4] = (c) => e.add())
|
|
12654
12670
|
}, {
|
|
12655
12671
|
default: h(() => [
|
|
@@ -12660,7 +12676,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12660
12676
|
})
|
|
12661
12677
|
]),
|
|
12662
12678
|
_: 1
|
|
12663
|
-
})) : _("", !0)
|
|
12679
|
+
}, 8, ["size"])) : _("", !0)
|
|
12664
12680
|
])) : (o(), k(f, { key: 3 }, {
|
|
12665
12681
|
default: h(() => [
|
|
12666
12682
|
m(a, null, {
|
|
@@ -12706,6 +12722,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12706
12722
|
}, {
|
|
12707
12723
|
default: h(() => [
|
|
12708
12724
|
m(u, {
|
|
12725
|
+
size: e.size,
|
|
12709
12726
|
tag: "a",
|
|
12710
12727
|
icon: "",
|
|
12711
12728
|
onClick: r.toggleMask
|
|
@@ -12716,7 +12733,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12716
12733
|
}, null, 8, ["icon"])
|
|
12717
12734
|
]),
|
|
12718
12735
|
_: 1
|
|
12719
|
-
}, 8, ["onClick"])
|
|
12736
|
+
}, 8, ["size", "onClick"])
|
|
12720
12737
|
]),
|
|
12721
12738
|
_: 1
|
|
12722
12739
|
})) : _("", !0),
|
|
@@ -12727,6 +12744,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12727
12744
|
}, {
|
|
12728
12745
|
default: h(() => [
|
|
12729
12746
|
m(u, {
|
|
12747
|
+
size: e.size,
|
|
12730
12748
|
tag: "a",
|
|
12731
12749
|
icon: "",
|
|
12732
12750
|
onClick: r.copy
|
|
@@ -12735,7 +12753,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12735
12753
|
m(l, { icon: "fa-copy" })
|
|
12736
12754
|
]),
|
|
12737
12755
|
_: 1
|
|
12738
|
-
}, 8, ["onClick"])
|
|
12756
|
+
}, 8, ["size", "onClick"])
|
|
12739
12757
|
]),
|
|
12740
12758
|
_: 1
|
|
12741
12759
|
})) : _("", !0)
|
|
@@ -12744,7 +12762,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12744
12762
|
}))
|
|
12745
12763
|
], 64);
|
|
12746
12764
|
}
|
|
12747
|
-
const uo = /* @__PURE__ */ V(nb, [["render", _b], ["__scopeId", "data-v-
|
|
12765
|
+
const uo = /* @__PURE__ */ V(nb, [["render", _b], ["__scopeId", "data-v-ab981ae3"]]);
|
|
12748
12766
|
const gb = {
|
|
12749
12767
|
props: {
|
|
12750
12768
|
modelValue: {
|
|
@@ -14199,6 +14217,7 @@ const tk = {
|
|
|
14199
14217
|
arrayField() {
|
|
14200
14218
|
return {
|
|
14201
14219
|
title: this.field.title,
|
|
14220
|
+
hideTitle: !0,
|
|
14202
14221
|
type: this.fieldType,
|
|
14203
14222
|
maximum: 0,
|
|
14204
14223
|
minimum: 1
|
|
@@ -16456,6 +16475,9 @@ const Zx = {
|
|
|
16456
16475
|
}
|
|
16457
16476
|
},
|
|
16458
16477
|
computed: {
|
|
16478
|
+
size() {
|
|
16479
|
+
return this.field.size;
|
|
16480
|
+
},
|
|
16459
16481
|
selectionHash() {
|
|
16460
16482
|
const e = this;
|
|
16461
16483
|
var t = {};
|
|
@@ -16492,6 +16514,7 @@ function tw(e, t, n, i, s, r) {
|
|
|
16492
16514
|
(o(!0), d(w, null, $(e.selectableOptions, (f) => (o(), k(u, { option: f }, {
|
|
16493
16515
|
default: h(({ plainValue: c }) => [
|
|
16494
16516
|
m(l, {
|
|
16517
|
+
size: r.size,
|
|
16495
16518
|
class: U({ active: r.selectionHash[String(c)] }),
|
|
16496
16519
|
onClick: (p) => r.toggle(c)
|
|
16497
16520
|
}, {
|
|
@@ -16503,14 +16526,14 @@ function tw(e, t, n, i, s, r) {
|
|
|
16503
16526
|
})
|
|
16504
16527
|
]),
|
|
16505
16528
|
_: 2
|
|
16506
|
-
}, 1032, ["class", "onClick"])
|
|
16529
|
+
}, 1032, ["size", "class", "onClick"])
|
|
16507
16530
|
]),
|
|
16508
16531
|
_: 2
|
|
16509
16532
|
}, 1032, ["option"]))), 256))
|
|
16510
16533
|
])
|
|
16511
16534
|
], 64);
|
|
16512
16535
|
}
|
|
16513
|
-
const nw = /* @__PURE__ */ V(Zx, [["render", tw], ["__scopeId", "data-v-
|
|
16536
|
+
const nw = /* @__PURE__ */ V(Zx, [["render", tw], ["__scopeId", "data-v-7ec6958f"]]);
|
|
16514
16537
|
const rw = {
|
|
16515
16538
|
props: {
|
|
16516
16539
|
modelValue: {
|
|
@@ -22117,7 +22140,7 @@ const aE = {
|
|
|
22117
22140
|
actualOptions: this.options
|
|
22118
22141
|
};
|
|
22119
22142
|
}
|
|
22120
|
-
}, No = (e) => (tt("data-v-
|
|
22143
|
+
}, No = (e) => (tt("data-v-f1b962cd"), e = e(), nt(), e), lE = { class: "footer" }, oE = /* @__PURE__ */ No(() => /* @__PURE__ */ x("p", null, null, -1)), uE = { key: 0 }, dE = /* @__PURE__ */ No(() => /* @__PURE__ */ x("p", null, null, -1));
|
|
22121
22144
|
function cE(e, t, n, i, s, r) {
|
|
22122
22145
|
const a = y("ux-icon"), l = y("ux-panel-body"), u = y("ux-panel"), f = y("flex-column"), c = y("ux-button"), p = y("ux-list-item"), g = y("ux-list"), b = y("ux-menu"), T = y("native-table"), O = y("pager"), C = y("flex-footer"), z = y("flex-row"), Q = y("search"), re = y("ux-field"), oe = y("filter-builder"), ue = y("flex-body"), H = y("spinner");
|
|
22123
22146
|
return r.actualDefinition ? (o(), k(f, {
|
|
@@ -22196,7 +22219,7 @@ function cE(e, t, n, i, s, r) {
|
|
|
22196
22219
|
activator: h(({ on: F }) => [
|
|
22197
22220
|
m(c, Ei({ icon: "" }, xa(F)), {
|
|
22198
22221
|
default: h(() => [
|
|
22199
|
-
m(a, { icon: "fa-
|
|
22222
|
+
m(a, { icon: "fa-plus-minus" })
|
|
22200
22223
|
]),
|
|
22201
22224
|
_: 2
|
|
22202
22225
|
}, 1040)
|
|
@@ -22338,7 +22361,7 @@ function cE(e, t, n, i, s, r) {
|
|
|
22338
22361
|
_: 3
|
|
22339
22362
|
})) : _("", !0);
|
|
22340
22363
|
}
|
|
22341
|
-
const fE = /* @__PURE__ */ V(aE, [["render", cE], ["__scopeId", "data-v-
|
|
22364
|
+
const fE = /* @__PURE__ */ V(aE, [["render", cE], ["__scopeId", "data-v-f1b962cd"]]), Un = {
|
|
22342
22365
|
props: {
|
|
22343
22366
|
options: {
|
|
22344
22367
|
type: Object,
|