y-admin-ui 0.0.4 → 0.0.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/lib/index.03d1cf37.js +6 -0
- package/lib/{index.8b4a267b.js → index.2ee1a9e4.js} +48 -46
- package/lib/index.2ee1a9e4.js.gz +0 -0
- package/lib/y-admin-ui.js +1 -1
- package/lib/y-admin-ui.umd.cjs +13 -13
- package/package.json +1 -1
- package/lib/index.8b4a267b.js.gz +0 -0
- package/lib/index.bfe80c74.js +0 -6
@@ -1,5 +1,5 @@
|
|
1
1
|
import Pu, { defineComponent as Re, h as vo, getCurrentInstance as Za, effectScope as wu, inject as bo, onMounted as ya, onUnmounted as Fu, shallowRef as fo, ref as gl, computed as he, onBeforeMount as _u, watch as ul, Fragment as _l, isRef as Ru, createVNode as me, Text as Mu, reactive as Yl, resolveComponent as Ue, openBlock as Q, createElementBlock as ye, renderSlot as je, renderList as zl, unref as Me, withCtx as q, createCommentVNode as ke, createElementVNode as Pe, normalizeClass as Tl, toDisplayString as He, createTextVNode as hl, createBlock as Be, normalizeStyle as Vl, createSlots as Ra, nextTick as Hl, resolveDirective as ku, withDirectives as Bu, defineAsyncComponent as sr, onActivated as Uu, onDeactivated as po, withModifiers as ln, normalizeProps as Vu, guardReactiveProps as $u, useSlots as ju, mergeProps as ka, resolveDynamicComponent as cr, toHandlers as Wu } from "vue";
|
2
|
-
function
|
2
|
+
function Nb(e, l = 500, a, n) {
|
3
3
|
let r = null, o = !1;
|
4
4
|
const t = function(...u) {
|
5
5
|
return new Promise((i, s) => {
|
@@ -27,7 +27,7 @@ function Cb(e, l = 500, a, n) {
|
|
27
27
|
r && clearTimeout(r), o = !1, r = null;
|
28
28
|
}, t;
|
29
29
|
}
|
30
|
-
function
|
30
|
+
function xb(e, l, a = { leading: !1, trailing: !0 }) {
|
31
31
|
let n = null, r = 0;
|
32
32
|
const { leading: o, trailing: t } = a, u = function(...i) {
|
33
33
|
const s = Date.now();
|
@@ -41,7 +41,7 @@ function Ib(e, l, a = { leading: !1, trailing: !0 }) {
|
|
41
41
|
n && clearTimeout(n), n = null, r = 0;
|
42
42
|
}, u;
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function Ab(e, l = 2, a = ",", n = ".", r = "", o = "") {
|
45
45
|
if (Number(e) === 0)
|
46
46
|
return Number(e).toFixed(l);
|
47
47
|
if (!e)
|
@@ -23127,7 +23127,7 @@ const bu = /* @__PURE__ */ kc(eu.exports), Ov = { class: "y-tool" }, Tv = /* @__
|
|
23127
23127
|
"before-leave"
|
23128
23128
|
],
|
23129
23129
|
setup(e, { emit: l }) {
|
23130
|
-
const a = e, n = sr(() => import("./index.fcb0faf9.js")), r = sr(() => import("./index.
|
23130
|
+
const a = e, n = sr(() => import("./index.fcb0faf9.js")), r = sr(() => import("./index.03d1cf37.js")), o = Yl({
|
23131
23131
|
selectedLabel: "",
|
23132
23132
|
selected: [],
|
23133
23133
|
visible: !1,
|
@@ -24360,7 +24360,7 @@ const pt = (e) => e, $0 = {
|
|
24360
24360
|
]);
|
24361
24361
|
};
|
24362
24362
|
}
|
24363
|
-
}),
|
24363
|
+
}), lb = Sa(eb), ab = {
|
24364
24364
|
opts: {
|
24365
24365
|
type: Object,
|
24366
24366
|
required: !0,
|
@@ -24439,7 +24439,7 @@ const pt = (e) => e, $0 = {
|
|
24439
24439
|
default: () => ({})
|
24440
24440
|
}
|
24441
24441
|
};
|
24442
|
-
function
|
24442
|
+
function tb() {
|
24443
24443
|
const e = he(() => (u) => {
|
24444
24444
|
switch (u.type) {
|
24445
24445
|
case "checkbox":
|
@@ -24501,7 +24501,7 @@ function ab() {
|
|
24501
24501
|
}
|
24502
24502
|
};
|
24503
24503
|
}
|
24504
|
-
const
|
24504
|
+
const nb = ["innerHTML"], rb = /* @__PURE__ */ Re({
|
24505
24505
|
__name: "render-comp",
|
24506
24506
|
props: {
|
24507
24507
|
render: Function
|
@@ -24510,12 +24510,12 @@ const tb = ["innerHTML"], nb = /* @__PURE__ */ Re({
|
|
24510
24510
|
const l = e;
|
24511
24511
|
return (a, n) => (Q(), ye("div", {
|
24512
24512
|
innerHTML: l.render()
|
24513
|
-
}, null, 8,
|
24513
|
+
}, null, 8, nb));
|
24514
24514
|
}
|
24515
|
-
}),
|
24515
|
+
}), ob = { class: "inside-box" }, ub = { class: "inside-box-title" }, ib = { class: "check-box" }, sb = { class: "more-dropdown-icon" }, cb = { class: "out_box" }, vb = Re({
|
24516
24516
|
name: "MoreChoose"
|
24517
|
-
}),
|
24518
|
-
...
|
24517
|
+
}), bb = /* @__PURE__ */ Re({
|
24518
|
+
...vb,
|
24519
24519
|
props: {
|
24520
24520
|
moreCheckList: {
|
24521
24521
|
type: Array,
|
@@ -24594,8 +24594,8 @@ const tb = ["innerHTML"], nb = /* @__PURE__ */ Re({
|
|
24594
24594
|
ref: "popover"
|
24595
24595
|
}, {
|
24596
24596
|
reference: q(() => [
|
24597
|
-
Pe("div",
|
24598
|
-
Pe("span",
|
24597
|
+
Pe("div", sb, [
|
24598
|
+
Pe("span", cb, He(e.popoverAttrsBind.showTxt || "\u66F4\u591A"), 1),
|
24599
24599
|
me(p, null, {
|
24600
24600
|
default: q(() => [
|
24601
24601
|
me(Me(Eu))
|
@@ -24605,10 +24605,10 @@ const tb = ["innerHTML"], nb = /* @__PURE__ */ Re({
|
|
24605
24605
|
])
|
24606
24606
|
]),
|
24607
24607
|
default: q(() => [
|
24608
|
-
Pe("div",
|
24609
|
-
Pe("div",
|
24608
|
+
Pe("div", ob, [
|
24609
|
+
Pe("div", ub, [
|
24610
24610
|
Pe("div", null, He(e.popoverAttrsBind.title || "\u6240\u6709\u6761\u4EF6"), 1),
|
24611
|
-
Pe("div",
|
24611
|
+
Pe("div", ib, [
|
24612
24612
|
me(f, {
|
24613
24613
|
size: "small",
|
24614
24614
|
link: "",
|
@@ -24662,14 +24662,14 @@ const tb = ["innerHTML"], nb = /* @__PURE__ */ Re({
|
|
24662
24662
|
}, 8, ["bind"])) : ke("", !0);
|
24663
24663
|
};
|
24664
24664
|
}
|
24665
|
-
}),
|
24665
|
+
}), fb = Re({
|
24666
24666
|
name: "YQueryCondition"
|
24667
|
-
}),
|
24668
|
-
...
|
24669
|
-
props:
|
24667
|
+
}), db = /* @__PURE__ */ Re({
|
24668
|
+
...fb,
|
24669
|
+
props: ab,
|
24670
24670
|
emits: ["handleEvent", "submit", "reset"],
|
24671
24671
|
setup(e, { expose: l, emit: a }) {
|
24672
|
-
const n = e, { compChildName: r, selectListType: o, compChildLabel: t, compChildValue: u, compChildShowLabel: i, getPlaceholder: s, getColLength: v } =
|
24672
|
+
const n = e, { compChildName: r, selectListType: o, compChildLabel: t, compChildValue: u, compChildShowLabel: i, getPlaceholder: s, getColLength: v } = tb(), c = Yl({
|
24673
24673
|
colLength: 4,
|
24674
24674
|
showOpen: !1,
|
24675
24675
|
open: !1
|
@@ -24819,7 +24819,7 @@ const tb = ["innerHTML"], nb = /* @__PURE__ */ Re({
|
|
24819
24819
|
M.labelRender ? {
|
24820
24820
|
name: "label",
|
24821
24821
|
fn: q(() => [
|
24822
|
-
me(
|
24822
|
+
me(rb, {
|
24823
24823
|
form: f.form,
|
24824
24824
|
render: M.labelRender
|
24825
24825
|
}, null, 8, ["form", "render"])
|
@@ -24878,7 +24878,7 @@ const tb = ["innerHTML"], nb = /* @__PURE__ */ Re({
|
|
24878
24878
|
]),
|
24879
24879
|
_: 1
|
24880
24880
|
})) : ke("", !0),
|
24881
|
-
me(
|
24881
|
+
me(bb, {
|
24882
24882
|
isDropDownSelectMore: D.isDropDownSelectMore,
|
24883
24883
|
moreCheckList: D.moreCheckList,
|
24884
24884
|
popoverAttrsBind: D.popoverAttrsBind,
|
@@ -24894,7 +24894,7 @@ const tb = ["innerHTML"], nb = /* @__PURE__ */ Re({
|
|
24894
24894
|
}, 16, ["form", "label-width", "style"]);
|
24895
24895
|
};
|
24896
24896
|
}
|
24897
|
-
}),
|
24897
|
+
}), pb = Sa(db);
|
24898
24898
|
var Su = { exports: {} };
|
24899
24899
|
/*! Element Plus v2.9.1 */
|
24900
24900
|
(function(e, l) {
|
@@ -25083,8 +25083,8 @@ var Su = { exports: {} };
|
|
25083
25083
|
return a;
|
25084
25084
|
});
|
25085
25085
|
})(Su);
|
25086
|
-
const
|
25087
|
-
...
|
25086
|
+
const mb = Su.exports, Ou = {
|
25087
|
+
...mb,
|
25088
25088
|
y: {
|
25089
25089
|
name: "en",
|
25090
25090
|
upload: {
|
@@ -25120,7 +25120,7 @@ const db = Su.exports, Ou = {
|
|
25120
25120
|
finish: "finish"
|
25121
25121
|
}
|
25122
25122
|
}
|
25123
|
-
},
|
25123
|
+
}, hb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
25124
25124
|
__proto__: null,
|
25125
25125
|
default: Ou
|
25126
25126
|
}, Symbol.toStringTag, { value: "Module" }));
|
@@ -25311,8 +25311,8 @@ var Tu = { exports: {} };
|
|
25311
25311
|
return a;
|
25312
25312
|
});
|
25313
25313
|
})(Tu);
|
25314
|
-
const
|
25315
|
-
...
|
25314
|
+
const gb = Tu.exports, Un = {
|
25315
|
+
...gb,
|
25316
25316
|
y: {
|
25317
25317
|
name: "zh-cn",
|
25318
25318
|
upload: {
|
@@ -25348,7 +25348,7 @@ const mb = Tu.exports, Un = {
|
|
25348
25348
|
finish: "\u5B8C\u6210"
|
25349
25349
|
}
|
25350
25350
|
}
|
25351
|
-
},
|
25351
|
+
}, yb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
25352
25352
|
__proto__: null,
|
25353
25353
|
default: Un
|
25354
25354
|
}, Symbol.toStringTag, { value: "Module" }));
|
@@ -25539,8 +25539,8 @@ var Cu = { exports: {} };
|
|
25539
25539
|
return a;
|
25540
25540
|
});
|
25541
25541
|
})(Cu);
|
25542
|
-
const
|
25543
|
-
...
|
25542
|
+
const Eb = Cu.exports, Iu = {
|
25543
|
+
...Eb,
|
25544
25544
|
y: {
|
25545
25545
|
name: "zh-tw",
|
25546
25546
|
upload: {
|
@@ -25576,15 +25576,15 @@ const gb = Cu.exports, Iu = {
|
|
25576
25576
|
finish: "\u5B8C\u6210"
|
25577
25577
|
}
|
25578
25578
|
}
|
25579
|
-
},
|
25579
|
+
}, Sb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
25580
25580
|
__proto__: null,
|
25581
25581
|
default: Iu
|
25582
|
-
}, Symbol.toStringTag, { value: "Module" })), Nu = {}, so = { en: Ou, "zh-cn": Un, "zh-tw": Iu }, Qa = { en: [], "zh-cn": [], "zh-tw": [] }, en = /* @__PURE__ */ Object.assign({ "./lang/en.ts":
|
25582
|
+
}, Symbol.toStringTag, { value: "Module" })), Nu = {}, so = { en: Ou, "zh-cn": Un, "zh-tw": Iu }, Qa = { en: [], "zh-cn": [], "zh-tw": [] }, en = /* @__PURE__ */ Object.assign({ "./lang/en.ts": hb, "./lang/zh-cn.ts": yb, "./lang/zh-tw.ts": Sb });
|
25583
25583
|
for (const e in en) {
|
25584
25584
|
const l = e.match(/(\S+)\/(\S+).ts/);
|
25585
25585
|
Qa[l[2]] ? Qa[l[2]].push(en[e].default) : Qa[l[2]] = en[e];
|
25586
25586
|
}
|
25587
|
-
function
|
25587
|
+
function Ob(e, l) {
|
25588
25588
|
let a = {};
|
25589
25589
|
return e[l].forEach((n) => {
|
25590
25590
|
a = Object.assign({}, a, n);
|
@@ -25595,9 +25595,9 @@ for (const e in Qa)
|
|
25595
25595
|
name: e,
|
25596
25596
|
el: so[e].el,
|
25597
25597
|
y: so[e].y,
|
25598
|
-
message:
|
25598
|
+
message: Ob(Qa, e)
|
25599
25599
|
};
|
25600
|
-
const
|
25600
|
+
const Tb = yc({
|
25601
25601
|
legacy: !1,
|
25602
25602
|
silentTranslationWarn: !0,
|
25603
25603
|
missingWarn: !1,
|
@@ -25611,13 +25611,15 @@ const Sb = yc({
|
|
25611
25611
|
YRegionsSelect: Kv,
|
25612
25612
|
YTableSelect: Qv,
|
25613
25613
|
YTour: u0,
|
25614
|
-
YModal: L0
|
25615
|
-
|
25614
|
+
YModal: L0,
|
25615
|
+
YImageUpload: lb,
|
25616
|
+
YQueryCondition: pb
|
25617
|
+
}, Cb = (e) => {
|
25616
25618
|
for (const l in co)
|
25617
25619
|
e.component(l, co[l]);
|
25618
|
-
e.use(
|
25620
|
+
e.use(Tb);
|
25619
25621
|
}, xu = (e, l) => {
|
25620
|
-
|
25622
|
+
Cb(e);
|
25621
25623
|
};
|
25622
25624
|
typeof window < "u" && window.Vue && xu(window.Vue);
|
25623
25625
|
const Lb = {
|
@@ -25630,10 +25632,10 @@ export {
|
|
25630
25632
|
Qv as b,
|
25631
25633
|
u0 as c,
|
25632
25634
|
L0 as d,
|
25633
|
-
|
25634
|
-
|
25635
|
-
|
25636
|
-
|
25635
|
+
lb as e,
|
25636
|
+
pb as f,
|
25637
|
+
Nb as g,
|
25638
|
+
Ab as h,
|
25637
25639
|
Lb as i,
|
25638
|
-
|
25640
|
+
xb as t
|
25639
25641
|
};
|
Binary file
|
package/lib/y-admin-ui.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { e as s, d as t, f as l, a as r, Y, b as d, c as b, g as i, i as m, h as u, t as c } from "./index.
|
1
|
+
import { e as s, d as t, f as l, a as r, Y, b as d, c as b, g as i, i as m, h as u, t as c } from "./index.2ee1a9e4.js";
|
2
2
|
import "vue";
|
3
3
|
export {
|
4
4
|
s as YImageUpload,
|