ele-admin-plus 1.4.0-beta.1 → 1.4.0
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/es/ele-admin-layout/components/layout-skeleton.js +2 -2
- package/es/ele-basic-select/index.js +1 -1
- package/es/ele-cascader/index.d.ts +3 -3
- package/es/ele-cascader/props.d.ts +1 -1
- package/es/ele-config-provider/components/receiver-view.d.ts +2 -13
- package/es/ele-config-provider/components/receiver-view.js +101 -117
- package/es/ele-crud-builder/index.js +2 -2
- package/es/ele-drawer/index.js +1 -1
- package/es/ele-dropdown/components/pro-dropdown.d.ts +2 -2
- package/es/ele-dropdown/index.d.ts +2 -2
- package/es/ele-dropdown/props.d.ts +2 -2
- package/es/ele-file-list/components/file-grid.js +2 -2
- package/es/ele-file-list/components/file-table.js +2 -2
- package/es/ele-loading/index.js +2 -2
- package/es/ele-modal/index.js +1 -1
- package/es/ele-popconfirm/index.d.ts +2 -2
- package/es/ele-printer/index.js +2 -2
- package/es/ele-pro-form/index.d.ts +0 -5
- package/es/ele-pro-form/props.d.ts +0 -2
- package/es/ele-select/index.d.ts +3 -3
- package/es/ele-select/props.d.ts +1 -1
- package/es/ele-select-tree/index.d.ts +3 -3
- package/es/ele-select-tree/props.d.ts +1 -1
- package/es/ele-split-panel/index.js +2 -2
- package/es/ele-tour/index.js +2 -2
- package/es/ele-tree-select/index.d.ts +1 -1
- package/lib/ele-admin-layout/components/layout-skeleton.cjs +1 -1
- package/lib/ele-basic-select/index.cjs +1 -1
- package/lib/ele-cascader/index.d.ts +3 -3
- package/lib/ele-cascader/props.d.ts +1 -1
- package/lib/ele-config-provider/components/receiver-view.cjs +2 -2
- package/lib/ele-config-provider/components/receiver-view.d.ts +2 -13
- package/lib/ele-crud-builder/index.cjs +2 -2
- package/lib/ele-drawer/index.cjs +1 -1
- package/lib/ele-dropdown/components/pro-dropdown.d.ts +2 -2
- package/lib/ele-dropdown/index.d.ts +2 -2
- package/lib/ele-dropdown/props.d.ts +2 -2
- package/lib/ele-file-list/components/file-grid.cjs +1 -1
- package/lib/ele-file-list/components/file-table.cjs +1 -1
- package/lib/ele-loading/index.cjs +1 -1
- package/lib/ele-modal/index.cjs +1 -1
- package/lib/ele-popconfirm/index.d.ts +2 -2
- package/lib/ele-printer/index.cjs +1 -1
- package/lib/ele-pro-form/index.d.ts +0 -5
- package/lib/ele-pro-form/props.d.ts +0 -2
- package/lib/ele-select/index.d.ts +3 -3
- package/lib/ele-select/props.d.ts +1 -1
- package/lib/ele-select-tree/index.d.ts +3 -3
- package/lib/ele-select-tree/props.d.ts +1 -1
- package/lib/ele-split-panel/index.cjs +1 -1
- package/lib/ele-tour/index.cjs +1 -1
- package/lib/ele-tree-select/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot, createVNode, withCtx, createElementVNode } from "vue";
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot, createVNode, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import ReceiverView from "../../ele-config-provider/components/receiver-view";
|
|
3
3
|
const _hoisted_1 = { class: "ele-admin-body" };
|
|
4
4
|
const _hoisted_2 = { class: "ele-admin-wrapper" };
|
|
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
15
|
class: normalizeClass(["ele-admin-layout", { "is-row-direction": !__props.isHeaderLogo }])
|
|
16
16
|
}, [
|
|
17
17
|
__props.isHeaderLogo ? renderSlot(_ctx.$slots, "head", { key: 0 }) : renderSlot(_ctx.$slots, "side", { key: 1 }),
|
|
18
|
-
createVNode(ReceiverView, {
|
|
18
|
+
createVNode(unref(ReceiverView), {
|
|
19
19
|
class: normalizeClass(["ele-admin-main", { "is-row-direction": __props.isHeaderLogo }]),
|
|
20
20
|
wrapPosition: false
|
|
21
21
|
}, {
|
|
@@ -189,7 +189,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
189
189
|
"onUpdate:visible": handleUpdatePopoverVisible
|
|
190
190
|
}, {
|
|
191
191
|
body: withCtx(() => [
|
|
192
|
-
_ctx.persistent || _ctx.visible ? (openBlock(), createBlock(ReceiverView, {
|
|
192
|
+
_ctx.persistent || _ctx.visible ? (openBlock(), createBlock(unref(ReceiverView), {
|
|
193
193
|
key: 0,
|
|
194
194
|
class: "ele-popover-body",
|
|
195
195
|
onClick: focusSearchInput,
|
|
@@ -115,7 +115,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
115
115
|
};
|
|
116
116
|
tagType: {
|
|
117
117
|
default: string;
|
|
118
|
-
type: import('vue').PropType<"
|
|
118
|
+
type: import('vue').PropType<"success" | "warning" | "info" | "primary" | "danger">;
|
|
119
119
|
required: false;
|
|
120
120
|
validator: ((val: unknown) => boolean) | undefined;
|
|
121
121
|
__epPropKey: true;
|
|
@@ -282,7 +282,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
282
282
|
};
|
|
283
283
|
tagType: {
|
|
284
284
|
default: string;
|
|
285
|
-
type: import('vue').PropType<"
|
|
285
|
+
type: import('vue').PropType<"success" | "warning" | "info" | "primary" | "danger">;
|
|
286
286
|
required: false;
|
|
287
287
|
validator: ((val: unknown) => boolean) | undefined;
|
|
288
288
|
__epPropKey: true;
|
|
@@ -350,7 +350,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
350
350
|
collapseTagsTooltip: boolean;
|
|
351
351
|
beforeFilter: (value: string) => boolean | Promise<any>;
|
|
352
352
|
fallbackPlacements: import('element-plus').Placement[];
|
|
353
|
-
tagType: "
|
|
353
|
+
tagType: "success" | "warning" | "info" | "primary" | "danger";
|
|
354
354
|
tagEffect: "dark" | "light" | "plain";
|
|
355
355
|
validateEvent: boolean;
|
|
356
356
|
persistent: boolean;
|
|
@@ -120,7 +120,7 @@ export declare const cascaderProps: {
|
|
|
120
120
|
};
|
|
121
121
|
tagType: {
|
|
122
122
|
default: string;
|
|
123
|
-
type: PropType<"
|
|
123
|
+
type: PropType<"success" | "warning" | "info" | "primary" | "danger">;
|
|
124
124
|
required: false;
|
|
125
125
|
validator: ((val: unknown) => boolean) | undefined;
|
|
126
126
|
__epPropKey: true;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
declare
|
|
2
|
-
default?(_: {
|
|
3
|
-
isDisabled: boolean;
|
|
4
|
-
}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
2
|
wrapPosition: {
|
|
8
3
|
type: BooleanConstructor;
|
|
9
4
|
default: boolean;
|
|
10
5
|
};
|
|
11
|
-
}>,
|
|
6
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
7
|
wrapPosition: {
|
|
13
8
|
type: BooleanConstructor;
|
|
14
9
|
default: boolean;
|
|
@@ -16,10 +11,4 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
16
11
|
}>> & Readonly<{}>, {
|
|
17
12
|
wrapPosition: boolean;
|
|
18
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
14
|
export default _default;
|
|
21
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
-
new (): {
|
|
23
|
-
$slots: S;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -1,142 +1,126 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useReceiver as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as G, ref as O, computed as W, watch as b, createVNode as z } from "vue";
|
|
2
|
+
import A from "../../ele-watermark/index";
|
|
3
|
+
import { useReceiver as S } from "../receiver";
|
|
4
|
+
const n = (Y, h, i) => {
|
|
5
|
+
const v = (d, D, c) => {
|
|
6
|
+
const l = ((s, F) => {
|
|
7
|
+
const K = s.length - F;
|
|
8
|
+
if (K <= 0)
|
|
9
|
+
return s;
|
|
10
|
+
const N = new Array(s.length);
|
|
11
|
+
for (let w = 0; w < s.length; w++)
|
|
12
|
+
w < F ? N[w] = s[K + w] : N[w] = s[w - F];
|
|
13
|
+
return N;
|
|
14
|
+
})(d.split(""), c).join(""), p = [];
|
|
15
|
+
let I = 0;
|
|
16
|
+
for (; I < l.length; ) {
|
|
17
|
+
let s = I + D;
|
|
18
|
+
s > l.length && (s = l.length);
|
|
19
|
+
const F = l.substring(I, s);
|
|
20
|
+
p.push(F.split("").reverse().join("")), I = s;
|
|
21
|
+
}
|
|
22
|
+
return p.join("");
|
|
23
|
+
}, J = h.indexOf("="), R = J === -1 ? h : h.substring(0, J), t = J === -1 ? "" : h.substring(J), T = (i == null ? R : v(R, 12, 3) + t).replace(/[^A-Za-z0-9\+\/\=]/g, ""), r = v(Y, 3, 1) + "=";
|
|
24
|
+
let U = "", e, m, g, f, u, a, x, C = 0;
|
|
25
|
+
for (; C < T.length; )
|
|
26
|
+
f = r.indexOf(T.charAt(C++)), u = r.indexOf(T.charAt(C++)), a = r.indexOf(T.charAt(C++)), x = r.indexOf(T.charAt(C++)), e = f << 2 | u >> 4, m = (u & 15) << 4 | a >> 2, g = (a & 3) << 6 | x, U = U + String.fromCharCode(e), a != 64 && (U = U + String.fromCharCode(m)), x != 64 && (U = U + String.fromCharCode(g));
|
|
27
|
+
return U = ((d) => {
|
|
28
|
+
let D = "", c = 0, l = 0, p = 0, I = 0;
|
|
29
|
+
for (; c < d.length; )
|
|
30
|
+
l = d.charCodeAt(c), l < 128 ? (D += String.fromCharCode(l), c++) : l > 191 && l < 224 ? (p = d.charCodeAt(c + 1), D += String.fromCharCode((l & 31) << 6 | p & 63), c += 2) : (p = d.charCodeAt(c + 1), I = d.charCodeAt(c + 2), D += String.fromCharCode((l & 15) << 12 | (p & 63) << 6 | I & 63), c += 3);
|
|
31
|
+
return D;
|
|
32
|
+
})(U), i == null ? decodeURIComponent(U) : U;
|
|
33
|
+
}, o = "BAFEDIHGLKJONMRQPUTSXWVaZYdcbgfejihmlkponsrqvutyxw10z432765+98/C", B = n(o, "RWxlQWRtaW5QbHVzJUU5JTlDJTgwJUU4JUE2JTgxJUU2JThFJTg4JUU2JTlEJTgzJUU0JUJEJUJGJUU3JTk0JUE4JTJDJUU4JUFGJUI3JUU1JTg5JThEJUU1JUJFJTgwZWxlYWRtaW4uY29tJUU4JUI0JUFEJUU0JUI5JUIwJUU2JThFJTg4JUU2JTlEJTgz="), k = n(o, "JUU4JUFGJUI3JUU1JTg1JTg4JUU5JTg1JThEJUU3JUJEJUFFJUU4JTg3JUFBJUU1JUI3JUIxJUU3JTlBJTg0JUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJTNC="), $ = n(o, "JUU4JUFGJUI3JUU0JUJEJUJGJUU3JTk0JUE4JUU2JUFEJUEzJUU3JUExJUFFJUU2JUEwJUJDJUU1JUJDJThGJUU3JTlBJTg0JUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJTNC="), j = n(o, "JUU2JThFJTg4JUU2JTlEJTgzJUU3JTg5JTg4JUU2JTlDJUFDJUU1JThGJUI3JUU0JUI4JThEJUU1JThDJUI5JUU5JTg1JThEJTJDJTIwJUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJUU3JTg5JTg4JUU2JTlDJUFDJTNB="), P = n(o, "JTJDJTIwJUU1JUFFJTg5JUU4JUEzJTg1JUU3JTg5JTg4JUU2JTlDJUFDJTNB="), L = n(o, "JUU2JThFJTg4JUU2JTlEJTgzJUU1JUI3JUIyJUU1JUE0JUIxJUU2JTk1JTg4JTJDJTIwJUU1JTg4JUIwJUU2JTlDJTlGJUU2JTk3JUI2JUU5JTk3JUI0JTNB="), V = n(o, "JUU1JTlGJTlGJUU1JTkwJThEJUU0JUI4JThEJUU1JThDJUI5JUU5JTg1JThEJTJDJTIwJUU4JUFGJUI3JUU5JTgzJUE4JUU3JUJEJUIyJUU1JTlDJUE4JTNB="), Q = n(o, "JUU0JUI4JThCJTJDJTIwJUU1JUJEJTkzJUU1JTg5JThEJUU1JTlGJTlGJUU1JTkwJThEJTNB="), M = n(o, "RWxlQWRtaW5QbHVz="), H = n(o, "bG9jYWxob3N0="), y = n(o, "MTI3LjAuMC4x="), Z = n(o, "d3d3="), _ = n(o, "MS40="), X = n(o, "RUxFJTIwQURNSU4lMjBQTFVT="), eJ = /* @__PURE__ */ G({
|
|
5
34
|
name: "ReceiverView",
|
|
6
|
-
__name: "receiver-view",
|
|
7
35
|
props: {
|
|
8
36
|
wrapPosition: {
|
|
9
37
|
type: Boolean,
|
|
10
38
|
default: !0
|
|
11
39
|
}
|
|
12
40
|
},
|
|
13
|
-
setup(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
for (let p = 0; p < i.length; p++)
|
|
22
|
-
p < w ? x[p] = i[S + p] : x[p] = i[p - w];
|
|
23
|
-
return x;
|
|
24
|
-
})(E.split(""), c).join(""), f = [];
|
|
25
|
-
let d = 0;
|
|
26
|
-
for (; d < l.length; ) {
|
|
27
|
-
let i = d + I;
|
|
28
|
-
i > l.length && (i = l.length);
|
|
29
|
-
const w = l.substring(d, i);
|
|
30
|
-
f.push(w.split("").reverse().join("")), d = i;
|
|
31
|
-
}
|
|
32
|
-
return f.join("");
|
|
33
|
-
}, s = "BAFEDIHGLKJONMRQPUTSXWVaZYdcbgfejihmlkponsrqvutyxw10z432765+98/C", r = J.indexOf("="), h = r === -1 ? J : J.substring(0, r), U = r === -1 ? "" : J.substring(r), o = (T(h, 12, 3) + U).replace(/[^A-Za-z0-9\+\/\=]/g, ""), a = T(s, 3, 1) + "=";
|
|
34
|
-
let t = "", u, _, R, b, F, D, v, m = 0;
|
|
35
|
-
for (; m < o.length; )
|
|
36
|
-
b = a.indexOf(o.charAt(m++)), F = a.indexOf(o.charAt(m++)), D = a.indexOf(o.charAt(m++)), v = a.indexOf(o.charAt(m++)), u = b << 2 | F >> 4, _ = (F & 15) << 4 | D >> 2, R = (D & 3) << 6 | v, t = t + String.fromCharCode(u), D != 64 && (t = t + String.fromCharCode(_)), v != 64 && (t = t + String.fromCharCode(R));
|
|
37
|
-
return t = ((E) => {
|
|
38
|
-
let I = "", c = 0, l = 0, f = 0, d = 0;
|
|
39
|
-
for (; c < E.length; )
|
|
40
|
-
l = E.charCodeAt(c), l < 128 ? (I += String.fromCharCode(l), c++) : l > 191 && l < 224 ? (f = E.charCodeAt(c + 1), I += String.fromCharCode((l & 31) << 6 | f & 63), c += 2) : (f = E.charCodeAt(c + 1), d = E.charCodeAt(c + 2), I += String.fromCharCode(
|
|
41
|
-
(l & 15) << 12 | (f & 63) << 6 | d & 63
|
|
42
|
-
), c += 3);
|
|
43
|
-
return I;
|
|
44
|
-
})(t), t;
|
|
45
|
-
}
|
|
46
|
-
function e(J) {
|
|
47
|
-
return decodeURIComponent(atob(J));
|
|
48
|
-
}
|
|
49
|
-
const K = e("RUxFJTIwQURNSU4lMjBQTFVT"), W = e(
|
|
50
|
-
"RWxlQWRtaW5QbHVzJUU5JTlDJTgwJUU4JUE2JTgxJUU2JThFJTg4JUU2JTlEJTgzJUU0JUJEJUJGJUU3JTk0JUE4JTJDJUU4JUFGJUI3JUU1JTg5JThEJUU1JUJFJTgwZWxlYWRtaW4uY29tJUU4JUI0JUFEJUU0JUI5JUIwJUU2JThFJTg4JUU2JTlEJTgz"
|
|
51
|
-
), A = e(
|
|
52
|
-
"JUU4JUFGJUI3JUU1JTg1JTg4JUU5JTg1JThEJUU3JUJEJUFFJUU4JTg3JUFBJUU1JUI3JUIxJUU3JTlBJTg0JUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJTNC"
|
|
53
|
-
), N = e(
|
|
54
|
-
"JUU4JUFGJUI3JUU0JUJEJUJGJUU3JTk0JUE4JUU2JUFEJUEzJUU3JUExJUFFJUU2JUEwJUJDJUU1JUJDJThGJUU3JTlBJTg0JUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJTNC"
|
|
55
|
-
), B = e(
|
|
56
|
-
"JUU2JThFJTg4JUU2JTlEJTgzJUU3JTg5JTg4JUU2JTlDJUFDJUU1JThGJUI3JUU0JUI4JThEJUU1JThDJUI5JUU5JTg1JThEJTJDJTIwJUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJUU3JTg5JTg4JUU2JTlDJUFDJTNB"
|
|
57
|
-
), O = e(
|
|
58
|
-
"JTJDJTIwJUU1JUFFJTg5JUU4JUEzJTg1JUU3JTg5JTg4JUU2JTlDJUFDJTNB"
|
|
59
|
-
), k = e(
|
|
60
|
-
"JUU2JThFJTg4JUU2JTlEJTgzJUU1JUI3JUIyJUU1JUE0JUIxJUU2JTk1JTg4JTJDJTIwJUU1JTg4JUIwJUU2JTlDJTlGJUU2JTk3JUI2JUU5JTk3JUI0JTNB"
|
|
61
|
-
), $ = e(
|
|
62
|
-
"JUU1JTlGJTlGJUU1JTkwJThEJUU0JUI4JThEJUU1JThDJUI5JUU5JTg1JThEJTJDJTIwJUU4JUFGJUI3JUU5JTgzJUE4JUU3JUJEJUIyJUU1JTlDJUE4JTNB"
|
|
63
|
-
), j = e(
|
|
64
|
-
"JUU0JUI4JThCJTJDJTIwJUU1JUJEJTkzJUU1JTg5JThEJUU1JTlGJTlGJUU1JTkwJThEJTNB"
|
|
65
|
-
), L = e("RWxlQWRtaW5QbHVz"), P = e("bG9jYWxob3N0"), Q = e("MTI3LjAuMC4x"), M = e("d3d3"), Y = e("MS40");
|
|
66
|
-
function g(J, T, s, r) {
|
|
67
|
-
const h = new Array(60).join("*"), U = [h];
|
|
68
|
-
if (U.push(W), J == null && T == null && s == null && r == null && U.push(A), !J && T == null && !s && U.push(N), J && U.push(`${B} ${J}${O} ${Y};`), typeof T == "number") {
|
|
69
|
-
const C = new Date(T * 1e3).toLocaleString();
|
|
70
|
-
U.push(`${k} ${C};`);
|
|
41
|
+
setup(Y, {
|
|
42
|
+
slots: h
|
|
43
|
+
}) {
|
|
44
|
+
const i = (t, E, T, r) => {
|
|
45
|
+
const U = new Array(60).join("*"), e = [U];
|
|
46
|
+
if (e.push(B), t == null && E == null && T == null && r == null && e.push(k), !t && E == null && !T && e.push($), t && e.push(`${j} ${t}${P} ${_};`), typeof E == "number") {
|
|
47
|
+
const m = new Date(E * 1e3).toLocaleString();
|
|
48
|
+
e.push(`${L} ${m};`);
|
|
71
49
|
}
|
|
72
|
-
|
|
50
|
+
T && e.push(`${V} ${T} ${Q} ${r};`), e.push(U), console.error(e.join(`
|
|
73
51
|
`));
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
return J ? J.trim() : void 0;
|
|
52
|
+
}, v = S(), J = O(!1), R = W(() => {
|
|
53
|
+
const t = v.license;
|
|
54
|
+
return t ? t.trim() : void 0;
|
|
78
55
|
});
|
|
79
|
-
return
|
|
80
|
-
|
|
81
|
-
(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
56
|
+
return b(R, (t) => {
|
|
57
|
+
var E;
|
|
58
|
+
if (typeof t != "string" || !t) {
|
|
59
|
+
J.value = !1, i();
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
try {
|
|
63
|
+
const T = JSON.parse(n(o, t, 0)), {
|
|
64
|
+
version: r,
|
|
65
|
+
expiration: U,
|
|
66
|
+
domain: e,
|
|
67
|
+
product: m
|
|
68
|
+
} = T;
|
|
69
|
+
if (r && r !== _) {
|
|
70
|
+
J.value = !1, i(r);
|
|
85
71
|
return;
|
|
86
72
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
if (
|
|
98
|
-
|
|
73
|
+
if (M !== m) {
|
|
74
|
+
J.value = !1, i("");
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
if (U && U < Date.now() / 1e3) {
|
|
78
|
+
J.value = !1, i(void 0, U);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
if (e) {
|
|
82
|
+
const g = (E = window == null ? void 0 : window.location) == null ? void 0 : E.hostname;
|
|
83
|
+
if (!g) {
|
|
84
|
+
J.value = !1, i(void 0, void 0, e, "");
|
|
99
85
|
return;
|
|
100
86
|
}
|
|
101
|
-
if (
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
if (P !== o && Q !== o) {
|
|
108
|
-
const a = U.split("."), t = o.split(".");
|
|
109
|
-
for (let u = a.length - 1; u >= 0; u--)
|
|
110
|
-
if (a[u] !== t[u]) {
|
|
111
|
-
n.value = !1, g(void 0, void 0, U, o);
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
if (t.length > a.length && t[t.length - a.length - 1] !== M) {
|
|
115
|
-
n.value = !1, g(void 0, void 0, U, o);
|
|
87
|
+
if (H !== g && y !== g) {
|
|
88
|
+
const f = e.split("."), u = g.split(".");
|
|
89
|
+
for (let a = f.length - 1; a >= 0; a--)
|
|
90
|
+
if (f[a] !== u[a]) {
|
|
91
|
+
J.value = !1, i(void 0, void 0, e, g);
|
|
116
92
|
return;
|
|
117
93
|
}
|
|
94
|
+
if (u.length > f.length && u[u.length - f.length - 1] !== Z) {
|
|
95
|
+
J.value = !1, i(void 0, void 0, e, g);
|
|
96
|
+
return;
|
|
118
97
|
}
|
|
119
98
|
}
|
|
120
|
-
} catch (s) {
|
|
121
|
-
n.value = !1, console.error(s), g("");
|
|
122
|
-
return;
|
|
123
99
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
100
|
+
} catch (T) {
|
|
101
|
+
J.value = !1, console.error(T), i("");
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
J.value = !0;
|
|
105
|
+
}, {
|
|
106
|
+
immediate: !0
|
|
107
|
+
}), () => z(A, {
|
|
128
108
|
wrapPosition: !1,
|
|
129
|
-
style:
|
|
130
|
-
|
|
131
|
-
|
|
109
|
+
style: !Y.wrapPosition || J.value ? void 0 : {
|
|
110
|
+
position: "relative"
|
|
111
|
+
},
|
|
112
|
+
disabled: J.value,
|
|
113
|
+
content: X
|
|
132
114
|
}, {
|
|
133
|
-
default:
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
115
|
+
default: () => {
|
|
116
|
+
var t;
|
|
117
|
+
return [(t = h.default) == null ? void 0 : t.call(h, {
|
|
118
|
+
isDisabled: J.value
|
|
119
|
+
})];
|
|
120
|
+
}
|
|
121
|
+
});
|
|
138
122
|
}
|
|
139
123
|
});
|
|
140
124
|
export {
|
|
141
|
-
|
|
125
|
+
eJ as default
|
|
142
126
|
};
|
|
@@ -2,6 +2,7 @@ import { defineComponent, useModel, ref, onBeforeUnmount, resolveComponent, crea
|
|
|
2
2
|
import { useMobile } from "../utils/hook";
|
|
3
3
|
import { eachTree, findTree, omit } from "../utils/common";
|
|
4
4
|
import EleSplitPanel from "../ele-split-panel/index";
|
|
5
|
+
import EleTabBar from "../ele-tab-bar/index";
|
|
5
6
|
import { getValue, setValue } from "../ele-pro-form/util";
|
|
6
7
|
import { deepCloneObject } from "../ele-pro-form-builder/components/build-core";
|
|
7
8
|
import EleCrud from "../ele-crud/index";
|
|
@@ -246,7 +247,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
246
247
|
stopStoreHistoryTimer();
|
|
247
248
|
});
|
|
248
249
|
return (_ctx, _cache) => {
|
|
249
|
-
const _component_EleTabBar = resolveComponent("EleTabBar");
|
|
250
250
|
const _component_ElEmpty = resolveComponent("ElEmpty");
|
|
251
251
|
return openBlock(), createBlock(EleSplitPanel, mergeProps({
|
|
252
252
|
space: "0px",
|
|
@@ -327,7 +327,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
327
327
|
default: withCtx(() => {
|
|
328
328
|
var _a;
|
|
329
329
|
return [
|
|
330
|
-
createVNode(
|
|
330
|
+
createVNode(EleTabBar, {
|
|
331
331
|
modelValue: leftTabActive.value,
|
|
332
332
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => leftTabActive.value = $event),
|
|
333
333
|
items: [
|
package/es/ele-drawer/index.js
CHANGED
|
@@ -148,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
148
|
], 4)
|
|
149
149
|
]),
|
|
150
150
|
default: withCtx(() => [
|
|
151
|
-
createVNode(ReceiverView, {
|
|
151
|
+
createVNode(unref(ReceiverView), {
|
|
152
152
|
wrapPosition: false,
|
|
153
153
|
class: "ele-drawer-body",
|
|
154
154
|
style: normalizeStyle(_ctx.bodyStyle)
|
|
@@ -29,7 +29,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
29
29
|
};
|
|
30
30
|
id: StringConstructor;
|
|
31
31
|
type: {
|
|
32
|
-
readonly type: PropType<"" | "text" | "
|
|
32
|
+
readonly type: PropType<"" | "text" | "success" | "warning" | "info" | "default" | "primary" | "danger">;
|
|
33
33
|
readonly required: false;
|
|
34
34
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
35
|
__epPropKey: true;
|
|
@@ -266,7 +266,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
266
266
|
};
|
|
267
267
|
id: StringConstructor;
|
|
268
268
|
type: {
|
|
269
|
-
readonly type: PropType<"" | "text" | "
|
|
269
|
+
readonly type: PropType<"" | "text" | "success" | "warning" | "info" | "default" | "primary" | "danger">;
|
|
270
270
|
readonly required: false;
|
|
271
271
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
272
272
|
__epPropKey: true;
|
|
@@ -30,7 +30,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
30
30
|
default: boolean;
|
|
31
31
|
};
|
|
32
32
|
type: {
|
|
33
|
-
readonly type: import('vue').PropType<"" | "
|
|
33
|
+
readonly type: import('vue').PropType<"" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text">;
|
|
34
34
|
readonly required: false;
|
|
35
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
36
|
__epPropKey: true;
|
|
@@ -264,7 +264,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
264
264
|
default: boolean;
|
|
265
265
|
};
|
|
266
266
|
type: {
|
|
267
|
-
readonly type: import('vue').PropType<"" | "
|
|
267
|
+
readonly type: import('vue').PropType<"" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text">;
|
|
268
268
|
readonly required: false;
|
|
269
269
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
270
270
|
__epPropKey: true;
|
|
@@ -29,7 +29,7 @@ declare const normalizeDropdownProps: import('../ele-app/types').Mutable<Omit<{
|
|
|
29
29
|
readonly __epPropKey: true;
|
|
30
30
|
};
|
|
31
31
|
readonly type: {
|
|
32
|
-
readonly type: PropType<"" | "
|
|
32
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text">;
|
|
33
33
|
readonly required: false;
|
|
34
34
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
35
|
__epPropKey: true;
|
|
@@ -179,7 +179,7 @@ export declare const dropdownProps: {
|
|
|
179
179
|
default: boolean;
|
|
180
180
|
};
|
|
181
181
|
type: {
|
|
182
|
-
readonly type: PropType<"" | "
|
|
182
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text">;
|
|
183
183
|
readonly required: false;
|
|
184
184
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
185
185
|
__epPropKey: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createBlock, openBlock, withCtx, createElementBlock, createCommentVNode, createElementVNode, withModifiers, normalizeClass, toDisplayString, Fragment, renderList, createSlots, renderSlot, mergeProps } from "vue";
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, withCtx, createElementBlock, createCommentVNode, createElementVNode, withModifiers, normalizeClass, toDisplayString, Fragment, renderList, createSlots, renderSlot, mergeProps } from "vue";
|
|
2
2
|
import ReceiverView from "../../ele-config-provider/components/receiver-view";
|
|
3
3
|
import FileGridItem from "./file-grid-item";
|
|
4
4
|
const _hoisted_1 = {
|
|
@@ -67,7 +67,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
67
67
|
emit("itemContextOpen", option);
|
|
68
68
|
};
|
|
69
69
|
return (_ctx, _cache) => {
|
|
70
|
-
return openBlock(), createBlock(ReceiverView, { class: "ele-file-list" }, {
|
|
70
|
+
return openBlock(), createBlock(unref(ReceiverView), { class: "ele-file-list" }, {
|
|
71
71
|
default: withCtx(() => [
|
|
72
72
|
__props.selectionType === "checkbox" ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
73
73
|
createElementVNode("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createBlock, openBlock, withCtx, createElementVNode, createElementBlock, createCommentVNode, withModifiers, normalizeClass, toDisplayString, Fragment, renderList, normalizeStyle, renderSlot, createTextVNode, createSlots, mergeProps } from "vue";
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, withCtx, createElementVNode, createElementBlock, createCommentVNode, withModifiers, normalizeClass, toDisplayString, Fragment, renderList, normalizeStyle, renderSlot, createTextVNode, createSlots, mergeProps } from "vue";
|
|
2
2
|
import ReceiverView from "../../ele-config-provider/components/receiver-view";
|
|
3
3
|
import FileTableItem from "./file-table-item";
|
|
4
4
|
import FileSort from "./file-sort";
|
|
@@ -106,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
emit("itemContextOpen", option);
|
|
107
107
|
};
|
|
108
108
|
return (_ctx, _cache) => {
|
|
109
|
-
return openBlock(), createBlock(ReceiverView, { class: "ele-file-list-table" }, {
|
|
109
|
+
return openBlock(), createBlock(unref(ReceiverView), { class: "ele-file-list-table" }, {
|
|
110
110
|
default: withCtx(() => [
|
|
111
111
|
createElementVNode("div", _hoisted_1, [
|
|
112
112
|
createElementVNode("div", _hoisted_2, [
|
package/es/ele-loading/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, withDirectives, createBlock, openBlock, normalizeClass, withCtx, renderSlot, createCommentVNode, createElementBlock, normalizeStyle, createElementVNode, toDisplayString, vShow
|
|
1
|
+
import { defineComponent, computed, withDirectives, createBlock, openBlock, unref, normalizeClass, withCtx, renderSlot, createCommentVNode, createElementBlock, normalizeStyle, createElementVNode, toDisplayString, vShow } from "vue";
|
|
2
2
|
import { vLoading } from "element-plus";
|
|
3
3
|
import ReceiverView from "../ele-config-provider/components/receiver-view";
|
|
4
4
|
import { loadingProps } from "./props";
|
|
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
return props.type === "circle";
|
|
13
13
|
});
|
|
14
14
|
return (_ctx, _cache) => {
|
|
15
|
-
return withDirectives((openBlock(), createBlock(ReceiverView, {
|
|
15
|
+
return withDirectives((openBlock(), createBlock(unref(ReceiverView), {
|
|
16
16
|
"element-loading-text": isCircle.value ? _ctx.text : void 0,
|
|
17
17
|
"element-loading-background": isCircle.value ? _ctx.background : void 0,
|
|
18
18
|
"element-loading-spinner": isCircle.value ? _ctx.spinner : void 0,
|
package/es/ele-modal/index.js
CHANGED
|
@@ -282,7 +282,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
282
282
|
], 38)) : createCommentVNode("", true)
|
|
283
283
|
]),
|
|
284
284
|
default: withCtx(() => [
|
|
285
|
-
createVNode(ReceiverView, {
|
|
285
|
+
createVNode(unref(ReceiverView), {
|
|
286
286
|
wrapPosition: false,
|
|
287
287
|
class: normalizeClass(["ele-modal-body", { "is-form": _ctx.form }, _ctx.modalBodyClass]),
|
|
288
288
|
style: normalizeStyle(_ctx.bodyStyle)
|
|
@@ -460,8 +460,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
460
460
|
arrowOffset: number;
|
|
461
461
|
virtualTriggering: boolean;
|
|
462
462
|
gpuAcceleration: boolean;
|
|
463
|
-
confirmButtonType: ("" | "
|
|
464
|
-
cancelButtonType: ("" | "
|
|
463
|
+
confirmButtonType: ("" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text") | undefined;
|
|
464
|
+
cancelButtonType: ("" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text") | undefined;
|
|
465
465
|
iconColor: string;
|
|
466
466
|
hideIcon: boolean;
|
|
467
467
|
hideConfirmButton: boolean;
|
package/es/ele-printer/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, shallowRef, computed, watch, onMounted, createBlock, openBlock, Teleport, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, normalizeStyle, renderSlot, createVNode, withCtx, nextTick } from "vue";
|
|
1
|
+
import { defineComponent, ref, shallowRef, computed, watch, onMounted, createBlock, openBlock, Teleport, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, normalizeStyle, renderSlot, createVNode, unref, withCtx, nextTick } from "vue";
|
|
2
2
|
import ReceiverView from "../ele-config-provider/components/receiver-view";
|
|
3
3
|
import { usePrinter, getPrintContainer, mergeOptions } from "./util";
|
|
4
4
|
import { printerEmits, printerProps } from "./props";
|
|
@@ -85,7 +85,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
createElementVNode("tbody", null, [
|
|
86
86
|
createElementVNode("tr", null, [
|
|
87
87
|
createElementVNode("td", null, [
|
|
88
|
-
createVNode(ReceiverView, {
|
|
88
|
+
createVNode(unref(ReceiverView), {
|
|
89
89
|
class: "ele-printer-body",
|
|
90
90
|
style: normalizeStyle(_ctx.bodyStyle)
|
|
91
91
|
}, {
|
|
@@ -96,8 +96,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
96
96
|
readonly required: false;
|
|
97
97
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
98
|
__epPropKey: true;
|
|
99
|
-
} & {
|
|
100
|
-
readonly default: true;
|
|
101
99
|
};
|
|
102
100
|
size: {
|
|
103
101
|
readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
@@ -214,8 +212,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
214
212
|
readonly required: false;
|
|
215
213
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
216
214
|
__epPropKey: true;
|
|
217
|
-
} & {
|
|
218
|
-
readonly default: true;
|
|
219
215
|
};
|
|
220
216
|
size: {
|
|
221
217
|
readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
@@ -246,7 +242,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
246
242
|
validateOnRuleChange: boolean;
|
|
247
243
|
hideRequiredAsterisk: boolean;
|
|
248
244
|
scrollToError: boolean;
|
|
249
|
-
scrollIntoViewOptions: boolean | Record<string, any>;
|
|
250
245
|
editable: boolean;
|
|
251
246
|
autoFooterCol: boolean;
|
|
252
247
|
showSearchExpand: boolean;
|
|
@@ -121,8 +121,6 @@ export declare const proFormProps: {
|
|
|
121
121
|
readonly required: false;
|
|
122
122
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
123
123
|
__epPropKey: true;
|
|
124
|
-
} & {
|
|
125
|
-
readonly default: true;
|
|
126
124
|
};
|
|
127
125
|
size: {
|
|
128
126
|
readonly type: PropType<"" | "small" | "default" | "large">;
|
package/es/ele-select/index.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
63
63
|
};
|
|
64
64
|
tagType: {
|
|
65
65
|
default: string;
|
|
66
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
66
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
67
67
|
required: false;
|
|
68
68
|
validator: ((val: unknown) => boolean) | undefined;
|
|
69
69
|
__epPropKey: true;
|
|
@@ -160,7 +160,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
160
160
|
};
|
|
161
161
|
tagType: {
|
|
162
162
|
default: string;
|
|
163
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
163
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
164
164
|
required: false;
|
|
165
165
|
validator: ((val: unknown) => boolean) | undefined;
|
|
166
166
|
__epPropKey: true;
|
|
@@ -211,7 +211,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
211
211
|
maxCollapseTags: number;
|
|
212
212
|
collapseTagsTooltip: boolean;
|
|
213
213
|
fallbackPlacements: import('element-plus').Placement[];
|
|
214
|
-
tagType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
214
|
+
tagType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
215
215
|
tagEffect: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "dark" | "light" | "plain", unknown>;
|
|
216
216
|
validateEvent: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
217
217
|
persistent: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
package/es/ele-select/props.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export declare const selectProps: {
|
|
|
66
66
|
};
|
|
67
67
|
tagType: {
|
|
68
68
|
default: string;
|
|
69
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
69
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
70
70
|
required: false;
|
|
71
71
|
validator: ((val: unknown) => boolean) | undefined;
|
|
72
72
|
__epPropKey: true;
|
|
@@ -122,7 +122,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
122
122
|
};
|
|
123
123
|
tagType: {
|
|
124
124
|
default: string;
|
|
125
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
125
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
126
126
|
required: false;
|
|
127
127
|
validator: ((val: unknown) => boolean) | undefined;
|
|
128
128
|
__epPropKey: true;
|
|
@@ -273,7 +273,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
273
273
|
};
|
|
274
274
|
tagType: {
|
|
275
275
|
default: string;
|
|
276
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
276
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
277
277
|
required: false;
|
|
278
278
|
validator: ((val: unknown) => boolean) | undefined;
|
|
279
279
|
__epPropKey: true;
|
|
@@ -318,7 +318,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
318
318
|
maxCollapseTags: number;
|
|
319
319
|
collapseTagsTooltip: boolean;
|
|
320
320
|
fallbackPlacements: import('element-plus').Placement[];
|
|
321
|
-
tagType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
321
|
+
tagType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
322
322
|
tagEffect: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "dark" | "light" | "plain", unknown>;
|
|
323
323
|
validateEvent: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
324
324
|
persistent: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -193,7 +193,7 @@ export declare const selectTreeProps: {
|
|
|
193
193
|
};
|
|
194
194
|
tagType: {
|
|
195
195
|
default: string;
|
|
196
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
196
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
197
197
|
required: false;
|
|
198
198
|
validator: ((val: unknown) => boolean) | undefined;
|
|
199
199
|
__epPropKey: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, createBlock, openBlock, normalizeStyle, normalizeClass,
|
|
1
|
+
import { defineComponent, ref, watch, createBlock, openBlock, unref, normalizeStyle, normalizeClass, withCtx, createElementVNode, createElementBlock, createCommentVNode, renderSlot, createVNode } from "vue";
|
|
2
2
|
import { ElIcon } from "element-plus";
|
|
3
3
|
import { ArrowUp, ArrowLeft } from "../icons/index";
|
|
4
4
|
import ReceiverView from "../ele-config-provider/components/receiver-view";
|
|
@@ -109,7 +109,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
109
109
|
resetSize
|
|
110
110
|
});
|
|
111
111
|
return (_ctx, _cache) => {
|
|
112
|
-
return openBlock(), createBlock(ReceiverView, {
|
|
112
|
+
return openBlock(), createBlock(unref(ReceiverView), {
|
|
113
113
|
ref_key: "rootRef",
|
|
114
114
|
ref: rootRef,
|
|
115
115
|
class: normalizeClass([
|
package/es/ele-tour/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, shallowRef, onMounted, watch, createBlock, openBlock, Teleport, createElementVNode, normalizeStyle, normalizeClass, createVNode, mergeProps, withCtx, createCommentVNode, createElementBlock, renderSlot, createTextVNode, toDisplayString,
|
|
1
|
+
import { defineComponent, ref, shallowRef, onMounted, watch, createBlock, openBlock, Teleport, createElementVNode, normalizeStyle, normalizeClass, createVNode, mergeProps, withCtx, createCommentVNode, unref, createElementBlock, renderSlot, createTextVNode, toDisplayString, nextTick } from "vue";
|
|
2
2
|
import { ElButton } from "element-plus";
|
|
3
3
|
import EleTooltip from "../ele-tooltip/index";
|
|
4
4
|
import ReceiverView from "../ele-config-provider/components/receiver-view";
|
|
@@ -131,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
131
|
hideAfter: 0
|
|
132
132
|
}), {
|
|
133
133
|
body: withCtx(() => [
|
|
134
|
-
_ctx.steps && step.value ? (openBlock(), createBlock(ReceiverView, {
|
|
134
|
+
_ctx.steps && step.value ? (openBlock(), createBlock(unref(ReceiverView), {
|
|
135
135
|
key: 0,
|
|
136
136
|
class: "ele-popover-body"
|
|
137
137
|
}, {
|
|
@@ -79,7 +79,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
79
79
|
clearable: boolean;
|
|
80
80
|
disabled: boolean;
|
|
81
81
|
filterable: boolean;
|
|
82
|
-
tagType: ("
|
|
82
|
+
tagType: ("success" | "warning" | "info" | "primary" | "danger") | undefined;
|
|
83
83
|
persistent: boolean;
|
|
84
84
|
transition: string;
|
|
85
85
|
automaticDropdown: boolean;
|
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
16
16
|
class: vue.normalizeClass(["ele-admin-layout", { "is-row-direction": !__props.isHeaderLogo }])
|
|
17
17
|
}, [
|
|
18
18
|
__props.isHeaderLogo ? vue.renderSlot(_ctx.$slots, "head", { key: 0 }) : vue.renderSlot(_ctx.$slots, "side", { key: 1 }),
|
|
19
|
-
vue.createVNode(ReceiverView, {
|
|
19
|
+
vue.createVNode(vue.unref(ReceiverView), {
|
|
20
20
|
class: vue.normalizeClass(["ele-admin-main", { "is-row-direction": __props.isHeaderLogo }]),
|
|
21
21
|
wrapPosition: false
|
|
22
22
|
}, {
|
|
@@ -190,7 +190,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
190
190
|
"onUpdate:visible": handleUpdatePopoverVisible
|
|
191
191
|
}, {
|
|
192
192
|
body: vue.withCtx(() => [
|
|
193
|
-
_ctx.persistent || _ctx.visible ? (vue.openBlock(), vue.createBlock(ReceiverView, {
|
|
193
|
+
_ctx.persistent || _ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(ReceiverView), {
|
|
194
194
|
key: 0,
|
|
195
195
|
class: "ele-popover-body",
|
|
196
196
|
onClick: focusSearchInput,
|
|
@@ -115,7 +115,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
115
115
|
};
|
|
116
116
|
tagType: {
|
|
117
117
|
default: string;
|
|
118
|
-
type: import('vue').PropType<"
|
|
118
|
+
type: import('vue').PropType<"success" | "warning" | "info" | "primary" | "danger">;
|
|
119
119
|
required: false;
|
|
120
120
|
validator: ((val: unknown) => boolean) | undefined;
|
|
121
121
|
__epPropKey: true;
|
|
@@ -282,7 +282,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
282
282
|
};
|
|
283
283
|
tagType: {
|
|
284
284
|
default: string;
|
|
285
|
-
type: import('vue').PropType<"
|
|
285
|
+
type: import('vue').PropType<"success" | "warning" | "info" | "primary" | "danger">;
|
|
286
286
|
required: false;
|
|
287
287
|
validator: ((val: unknown) => boolean) | undefined;
|
|
288
288
|
__epPropKey: true;
|
|
@@ -350,7 +350,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
350
350
|
collapseTagsTooltip: boolean;
|
|
351
351
|
beforeFilter: (value: string) => boolean | Promise<any>;
|
|
352
352
|
fallbackPlacements: import('element-plus').Placement[];
|
|
353
|
-
tagType: "
|
|
353
|
+
tagType: "success" | "warning" | "info" | "primary" | "danger";
|
|
354
354
|
tagEffect: "dark" | "light" | "plain";
|
|
355
355
|
validateEvent: boolean;
|
|
356
356
|
persistent: boolean;
|
|
@@ -120,7 +120,7 @@ export declare const cascaderProps: {
|
|
|
120
120
|
};
|
|
121
121
|
tagType: {
|
|
122
122
|
default: string;
|
|
123
|
-
type: PropType<"
|
|
123
|
+
type: PropType<"success" | "warning" | "info" | "primary" | "danger">;
|
|
124
124
|
required: false;
|
|
125
125
|
validator: ((val: unknown) => boolean) | undefined;
|
|
126
126
|
__epPropKey: true;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
2
|
-
`))}
|
|
1
|
+
"use strict";const m=require("vue"),O=require("../../ele-watermark/index"),W=require("../receiver"),n=(x,u,i)=>{const R=(d,C,c)=>{const l=((s,F)=>{const _=s.length-F;if(_<=0)return s;const K=new Array(s.length);for(let w=0;w<s.length;w++)w<F?K[w]=s[_+w]:K[w]=s[w-F];return K})(d.split(""),c).join(""),I=[];let p=0;for(;p<l.length;){let s=p+C;s>l.length&&(s=l.length);const F=l.substring(p,s);I.push(F.split("").reverse().join("")),p=s}return I.join("")},J=u.indexOf("="),Y=J===-1?u:u.substring(0,J),t=J===-1?"":u.substring(J),o=(i==null?Y:R(Y,12,3)+t).replace(/[^A-Za-z0-9\+\/\=]/g,""),r=R(x,3,1)+"=";let U="",e,D,g,f,E,h,N,v=0;for(;v<o.length;)f=r.indexOf(o.charAt(v++)),E=r.indexOf(o.charAt(v++)),h=r.indexOf(o.charAt(v++)),N=r.indexOf(o.charAt(v++)),e=f<<2|E>>4,D=(E&15)<<4|h>>2,g=(h&3)<<6|N,U=U+String.fromCharCode(e),h!=64&&(U=U+String.fromCharCode(D)),N!=64&&(U=U+String.fromCharCode(g));return U=(d=>{let C="",c=0,l=0,I=0,p=0;for(;c<d.length;)l=d.charCodeAt(c),l<128?(C+=String.fromCharCode(l),c++):l>191&&l<224?(I=d.charCodeAt(c+1),C+=String.fromCharCode((l&31)<<6|I&63),c+=2):(I=d.charCodeAt(c+1),p=d.charCodeAt(c+2),C+=String.fromCharCode((l&15)<<12|(I&63)<<6|p&63),c+=3);return C})(U),i==null?decodeURIComponent(U):U},T="BAFEDIHGLKJONMRQPUTSXWVaZYdcbgfejihmlkponsrqvutyxw10z432765+98/C",b=n(T,"RWxlQWRtaW5QbHVzJUU5JTlDJTgwJUU4JUE2JTgxJUU2JThFJTg4JUU2JTlEJTgzJUU0JUJEJUJGJUU3JTk0JUE4JTJDJUU4JUFGJUI3JUU1JTg5JThEJUU1JUJFJTgwZWxlYWRtaW4uY29tJUU4JUI0JUFEJUU0JUI5JUIwJUU2JThFJTg4JUU2JTlEJTgz="),z=n(T,"JUU4JUFGJUI3JUU1JTg1JTg4JUU5JTg1JThEJUU3JUJEJUFFJUU4JTg3JUFBJUU1JUI3JUIxJUU3JTlBJTg0JUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJTNC="),A=n(T,"JUU4JUFGJUI3JUU0JUJEJUJGJUU3JTk0JUE4JUU2JUFEJUEzJUU3JUExJUFFJUU2JUEwJUJDJUU1JUJDJThGJUU3JTlBJTg0JUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJTNC="),S=n(T,"JUU2JThFJTg4JUU2JTlEJTgzJUU3JTg5JTg4JUU2JTlDJUFDJUU1JThGJUI3JUU0JUI4JThEJUU1JThDJUI5JUU5JTg1JThEJTJDJTIwJUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJUU3JTg5JTg4JUU2JTlDJUFDJTNB="),B=n(T,"JTJDJTIwJUU1JUFFJTg5JUU4JUEzJTg1JUU3JTg5JTg4JUU2JTlDJUFDJTNB="),k=n(T,"JUU2JThFJTg4JUU2JTlEJTgzJUU1JUI3JUIyJUU1JUE0JUIxJUU2JTk1JTg4JTJDJTIwJUU1JTg4JUIwJUU2JTlDJTlGJUU2JTk3JUI2JUU5JTk3JUI0JTNB="),$=n(T,"JUU1JTlGJTlGJUU1JTkwJThEJUU0JUI4JThEJUU1JThDJUI5JUU5JTg1JThEJTJDJTIwJUU4JUFGJUI3JUU5JTgzJUE4JUU3JUJEJUIyJUU1JTlDJUE4JTNB="),j=n(T,"JUU0JUI4JThCJTJDJTIwJUU1JUJEJTkzJUU1JTg5JThEJUU1JTlGJTlGJUU1JTkwJThEJTNB="),P=n(T,"RWxlQWRtaW5QbHVz="),L=n(T,"bG9jYWxob3N0="),V=n(T,"MTI3LjAuMC4x="),Q=n(T,"d3d3="),G=n(T,"MS40="),M=n(T,"RUxFJTIwQURNSU4lMjBQTFVT="),q=m.defineComponent({name:"ReceiverView",props:{wrapPosition:{type:Boolean,default:!0}},setup(x,{slots:u}){const i=(t,a,o,r)=>{const U=new Array(60).join("*"),e=[U];if(e.push(b),t==null&&a==null&&o==null&&r==null&&e.push(z),!t&&a==null&&!o&&e.push(A),t&&e.push(`${S} ${t}${B} ${G};`),typeof a=="number"){const D=new Date(a*1e3).toLocaleString();e.push(`${k} ${D};`)}o&&e.push(`${$} ${o} ${j} ${r};`),e.push(U),console.error(e.join(`
|
|
2
|
+
`))},R=W.useReceiver(),J=m.ref(!1),Y=m.computed(()=>{const t=R.license;return t?t.trim():void 0});return m.watch(Y,t=>{var a;if(typeof t!="string"||!t){J.value=!1,i();return}try{const o=JSON.parse(n(T,t,0)),{version:r,expiration:U,domain:e,product:D}=o;if(r&&r!==G){J.value=!1,i(r);return}if(P!==D){J.value=!1,i("");return}if(U&&U<Date.now()/1e3){J.value=!1,i(void 0,U);return}if(e){const g=(a=window==null?void 0:window.location)==null?void 0:a.hostname;if(!g){J.value=!1,i(void 0,void 0,e,"");return}if(L!==g&&V!==g){const f=e.split("."),E=g.split(".");for(let h=f.length-1;h>=0;h--)if(f[h]!==E[h]){J.value=!1,i(void 0,void 0,e,g);return}if(E.length>f.length&&E[E.length-f.length-1]!==Q){J.value=!1,i(void 0,void 0,e,g);return}}}}catch(o){J.value=!1,console.error(o),i("");return}J.value=!0},{immediate:!0}),()=>m.createVNode(O,{wrapPosition:!1,style:!x.wrapPosition||J.value?void 0:{position:"relative"},disabled:J.value,content:M},{default:()=>{var t;return[(t=u.default)==null?void 0:t.call(u,{isDisabled:J.value})]}})}});module.exports=q;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
declare
|
|
2
|
-
default?(_: {
|
|
3
|
-
isDisabled: boolean;
|
|
4
|
-
}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
2
|
wrapPosition: {
|
|
8
3
|
type: BooleanConstructor;
|
|
9
4
|
default: boolean;
|
|
10
5
|
};
|
|
11
|
-
}>,
|
|
6
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
7
|
wrapPosition: {
|
|
13
8
|
type: BooleanConstructor;
|
|
14
9
|
default: boolean;
|
|
@@ -16,10 +11,4 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
16
11
|
}>> & Readonly<{}>, {
|
|
17
12
|
wrapPosition: boolean;
|
|
18
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
14
|
export default _default;
|
|
21
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
-
new (): {
|
|
23
|
-
$slots: S;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -3,6 +3,7 @@ const vue = require("vue");
|
|
|
3
3
|
const hook = require("../utils/hook");
|
|
4
4
|
const common = require("../utils/common");
|
|
5
5
|
const EleSplitPanel = require("../ele-split-panel/index");
|
|
6
|
+
const EleTabBar = require("../ele-tab-bar/index");
|
|
6
7
|
const util = require("../ele-pro-form/util");
|
|
7
8
|
const buildCore = require("../ele-pro-form-builder/components/build-core");
|
|
8
9
|
const EleCrud = require("../ele-crud/index");
|
|
@@ -247,7 +248,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
247
248
|
stopStoreHistoryTimer();
|
|
248
249
|
});
|
|
249
250
|
return (_ctx, _cache) => {
|
|
250
|
-
const _component_EleTabBar = vue.resolveComponent("EleTabBar");
|
|
251
251
|
const _component_ElEmpty = vue.resolveComponent("ElEmpty");
|
|
252
252
|
return vue.openBlock(), vue.createBlock(EleSplitPanel, vue.mergeProps({
|
|
253
253
|
space: "0px",
|
|
@@ -328,7 +328,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
328
328
|
default: vue.withCtx(() => {
|
|
329
329
|
var _a;
|
|
330
330
|
return [
|
|
331
|
-
vue.createVNode(
|
|
331
|
+
vue.createVNode(EleTabBar, {
|
|
332
332
|
modelValue: leftTabActive.value,
|
|
333
333
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => leftTabActive.value = $event),
|
|
334
334
|
items: [
|
package/lib/ele-drawer/index.cjs
CHANGED
|
@@ -149,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
149
149
|
], 4)
|
|
150
150
|
]),
|
|
151
151
|
default: vue.withCtx(() => [
|
|
152
|
-
vue.createVNode(ReceiverView, {
|
|
152
|
+
vue.createVNode(vue.unref(ReceiverView), {
|
|
153
153
|
wrapPosition: false,
|
|
154
154
|
class: "ele-drawer-body",
|
|
155
155
|
style: vue.normalizeStyle(_ctx.bodyStyle)
|
|
@@ -29,7 +29,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
29
29
|
};
|
|
30
30
|
id: StringConstructor;
|
|
31
31
|
type: {
|
|
32
|
-
readonly type: PropType<"" | "text" | "
|
|
32
|
+
readonly type: PropType<"" | "text" | "success" | "warning" | "info" | "default" | "primary" | "danger">;
|
|
33
33
|
readonly required: false;
|
|
34
34
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
35
|
__epPropKey: true;
|
|
@@ -266,7 +266,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
266
266
|
};
|
|
267
267
|
id: StringConstructor;
|
|
268
268
|
type: {
|
|
269
|
-
readonly type: PropType<"" | "text" | "
|
|
269
|
+
readonly type: PropType<"" | "text" | "success" | "warning" | "info" | "default" | "primary" | "danger">;
|
|
270
270
|
readonly required: false;
|
|
271
271
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
272
272
|
__epPropKey: true;
|
|
@@ -30,7 +30,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
30
30
|
default: boolean;
|
|
31
31
|
};
|
|
32
32
|
type: {
|
|
33
|
-
readonly type: import('vue').PropType<"" | "
|
|
33
|
+
readonly type: import('vue').PropType<"" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text">;
|
|
34
34
|
readonly required: false;
|
|
35
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
36
|
__epPropKey: true;
|
|
@@ -264,7 +264,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
264
264
|
default: boolean;
|
|
265
265
|
};
|
|
266
266
|
type: {
|
|
267
|
-
readonly type: import('vue').PropType<"" | "
|
|
267
|
+
readonly type: import('vue').PropType<"" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text">;
|
|
268
268
|
readonly required: false;
|
|
269
269
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
270
270
|
__epPropKey: true;
|
|
@@ -29,7 +29,7 @@ declare const normalizeDropdownProps: import('../ele-app/types').Mutable<Omit<{
|
|
|
29
29
|
readonly __epPropKey: true;
|
|
30
30
|
};
|
|
31
31
|
readonly type: {
|
|
32
|
-
readonly type: PropType<"" | "
|
|
32
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text">;
|
|
33
33
|
readonly required: false;
|
|
34
34
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
35
|
__epPropKey: true;
|
|
@@ -179,7 +179,7 @@ export declare const dropdownProps: {
|
|
|
179
179
|
default: boolean;
|
|
180
180
|
};
|
|
181
181
|
type: {
|
|
182
|
-
readonly type: PropType<"" | "
|
|
182
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text">;
|
|
183
183
|
readonly required: false;
|
|
184
184
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
185
185
|
__epPropKey: true;
|
|
@@ -68,7 +68,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
68
68
|
emit("itemContextOpen", option);
|
|
69
69
|
};
|
|
70
70
|
return (_ctx, _cache) => {
|
|
71
|
-
return vue.openBlock(), vue.createBlock(ReceiverView, { class: "ele-file-list" }, {
|
|
71
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ReceiverView), { class: "ele-file-list" }, {
|
|
72
72
|
default: vue.withCtx(() => [
|
|
73
73
|
__props.selectionType === "checkbox" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
74
74
|
vue.createElementVNode("div", {
|
|
@@ -107,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
107
107
|
emit("itemContextOpen", option);
|
|
108
108
|
};
|
|
109
109
|
return (_ctx, _cache) => {
|
|
110
|
-
return vue.openBlock(), vue.createBlock(ReceiverView, { class: "ele-file-list-table" }, {
|
|
110
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ReceiverView), { class: "ele-file-list-table" }, {
|
|
111
111
|
default: vue.withCtx(() => [
|
|
112
112
|
vue.createElementVNode("div", _hoisted_1, [
|
|
113
113
|
vue.createElementVNode("div", _hoisted_2, [
|
|
@@ -13,7 +13,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
13
13
|
return props2.type === "circle";
|
|
14
14
|
});
|
|
15
15
|
return (_ctx, _cache) => {
|
|
16
|
-
return vue.withDirectives((vue.openBlock(), vue.createBlock(ReceiverView, {
|
|
16
|
+
return vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(ReceiverView), {
|
|
17
17
|
"element-loading-text": isCircle.value ? _ctx.text : void 0,
|
|
18
18
|
"element-loading-background": isCircle.value ? _ctx.background : void 0,
|
|
19
19
|
"element-loading-spinner": isCircle.value ? _ctx.spinner : void 0,
|
package/lib/ele-modal/index.cjs
CHANGED
|
@@ -283,7 +283,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
283
283
|
], 38)) : vue.createCommentVNode("", true)
|
|
284
284
|
]),
|
|
285
285
|
default: vue.withCtx(() => [
|
|
286
|
-
vue.createVNode(ReceiverView, {
|
|
286
|
+
vue.createVNode(vue.unref(ReceiverView), {
|
|
287
287
|
wrapPosition: false,
|
|
288
288
|
class: vue.normalizeClass(["ele-modal-body", { "is-form": _ctx.form }, _ctx.modalBodyClass]),
|
|
289
289
|
style: vue.normalizeStyle(_ctx.bodyStyle)
|
|
@@ -460,8 +460,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
460
460
|
arrowOffset: number;
|
|
461
461
|
virtualTriggering: boolean;
|
|
462
462
|
gpuAcceleration: boolean;
|
|
463
|
-
confirmButtonType: ("" | "
|
|
464
|
-
cancelButtonType: ("" | "
|
|
463
|
+
confirmButtonType: ("" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text") | undefined;
|
|
464
|
+
cancelButtonType: ("" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text") | undefined;
|
|
465
465
|
iconColor: string;
|
|
466
466
|
hideIcon: boolean;
|
|
467
467
|
hideConfirmButton: boolean;
|
|
@@ -86,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
86
86
|
vue.createElementVNode("tbody", null, [
|
|
87
87
|
vue.createElementVNode("tr", null, [
|
|
88
88
|
vue.createElementVNode("td", null, [
|
|
89
|
-
vue.createVNode(ReceiverView, {
|
|
89
|
+
vue.createVNode(vue.unref(ReceiverView), {
|
|
90
90
|
class: "ele-printer-body",
|
|
91
91
|
style: vue.normalizeStyle(_ctx.bodyStyle)
|
|
92
92
|
}, {
|
|
@@ -96,8 +96,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
96
96
|
readonly required: false;
|
|
97
97
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
98
|
__epPropKey: true;
|
|
99
|
-
} & {
|
|
100
|
-
readonly default: true;
|
|
101
99
|
};
|
|
102
100
|
size: {
|
|
103
101
|
readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
@@ -214,8 +212,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
214
212
|
readonly required: false;
|
|
215
213
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
216
214
|
__epPropKey: true;
|
|
217
|
-
} & {
|
|
218
|
-
readonly default: true;
|
|
219
215
|
};
|
|
220
216
|
size: {
|
|
221
217
|
readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
@@ -246,7 +242,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
246
242
|
validateOnRuleChange: boolean;
|
|
247
243
|
hideRequiredAsterisk: boolean;
|
|
248
244
|
scrollToError: boolean;
|
|
249
|
-
scrollIntoViewOptions: boolean | Record<string, any>;
|
|
250
245
|
editable: boolean;
|
|
251
246
|
autoFooterCol: boolean;
|
|
252
247
|
showSearchExpand: boolean;
|
|
@@ -121,8 +121,6 @@ export declare const proFormProps: {
|
|
|
121
121
|
readonly required: false;
|
|
122
122
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
123
123
|
__epPropKey: true;
|
|
124
|
-
} & {
|
|
125
|
-
readonly default: true;
|
|
126
124
|
};
|
|
127
125
|
size: {
|
|
128
126
|
readonly type: PropType<"" | "small" | "default" | "large">;
|
|
@@ -63,7 +63,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
63
63
|
};
|
|
64
64
|
tagType: {
|
|
65
65
|
default: string;
|
|
66
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
66
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
67
67
|
required: false;
|
|
68
68
|
validator: ((val: unknown) => boolean) | undefined;
|
|
69
69
|
__epPropKey: true;
|
|
@@ -160,7 +160,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
160
160
|
};
|
|
161
161
|
tagType: {
|
|
162
162
|
default: string;
|
|
163
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
163
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
164
164
|
required: false;
|
|
165
165
|
validator: ((val: unknown) => boolean) | undefined;
|
|
166
166
|
__epPropKey: true;
|
|
@@ -211,7 +211,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
211
211
|
maxCollapseTags: number;
|
|
212
212
|
collapseTagsTooltip: boolean;
|
|
213
213
|
fallbackPlacements: import('element-plus').Placement[];
|
|
214
|
-
tagType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
214
|
+
tagType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
215
215
|
tagEffect: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "dark" | "light" | "plain", unknown>;
|
|
216
216
|
validateEvent: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
217
217
|
persistent: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -66,7 +66,7 @@ export declare const selectProps: {
|
|
|
66
66
|
};
|
|
67
67
|
tagType: {
|
|
68
68
|
default: string;
|
|
69
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
69
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
70
70
|
required: false;
|
|
71
71
|
validator: ((val: unknown) => boolean) | undefined;
|
|
72
72
|
__epPropKey: true;
|
|
@@ -122,7 +122,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
122
122
|
};
|
|
123
123
|
tagType: {
|
|
124
124
|
default: string;
|
|
125
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
125
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
126
126
|
required: false;
|
|
127
127
|
validator: ((val: unknown) => boolean) | undefined;
|
|
128
128
|
__epPropKey: true;
|
|
@@ -273,7 +273,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
273
273
|
};
|
|
274
274
|
tagType: {
|
|
275
275
|
default: string;
|
|
276
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
276
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
277
277
|
required: false;
|
|
278
278
|
validator: ((val: unknown) => boolean) | undefined;
|
|
279
279
|
__epPropKey: true;
|
|
@@ -318,7 +318,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
318
318
|
maxCollapseTags: number;
|
|
319
319
|
collapseTagsTooltip: boolean;
|
|
320
320
|
fallbackPlacements: import('element-plus').Placement[];
|
|
321
|
-
tagType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
321
|
+
tagType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
322
322
|
tagEffect: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "dark" | "light" | "plain", unknown>;
|
|
323
323
|
validateEvent: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
324
324
|
persistent: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -193,7 +193,7 @@ export declare const selectTreeProps: {
|
|
|
193
193
|
};
|
|
194
194
|
tagType: {
|
|
195
195
|
default: string;
|
|
196
|
-
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "
|
|
196
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
197
197
|
required: false;
|
|
198
198
|
validator: ((val: unknown) => boolean) | undefined;
|
|
199
199
|
__epPropKey: true;
|
|
@@ -110,7 +110,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
110
110
|
resetSize
|
|
111
111
|
});
|
|
112
112
|
return (_ctx, _cache) => {
|
|
113
|
-
return vue.openBlock(), vue.createBlock(ReceiverView, {
|
|
113
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ReceiverView), {
|
|
114
114
|
ref_key: "rootRef",
|
|
115
115
|
ref: rootRef,
|
|
116
116
|
class: vue.normalizeClass([
|
package/lib/ele-tour/index.cjs
CHANGED
|
@@ -132,7 +132,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
132
132
|
hideAfter: 0
|
|
133
133
|
}), {
|
|
134
134
|
body: vue.withCtx(() => [
|
|
135
|
-
_ctx.steps && step.value ? (vue.openBlock(), vue.createBlock(ReceiverView, {
|
|
135
|
+
_ctx.steps && step.value ? (vue.openBlock(), vue.createBlock(vue.unref(ReceiverView), {
|
|
136
136
|
key: 0,
|
|
137
137
|
class: "ele-popover-body"
|
|
138
138
|
}, {
|
|
@@ -79,7 +79,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
79
79
|
clearable: boolean;
|
|
80
80
|
disabled: boolean;
|
|
81
81
|
filterable: boolean;
|
|
82
|
-
tagType: ("
|
|
82
|
+
tagType: ("success" | "warning" | "info" | "primary" | "danger") | undefined;
|
|
83
83
|
persistent: boolean;
|
|
84
84
|
transition: string;
|
|
85
85
|
automaticDropdown: boolean;
|